AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws . mediapackage ]
describe-origin-endpoint
--id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--id
(string)
The ID of the OriginEndpoint.
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command's default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
To use the following examples, you must have the AWS CLI installed and configured. See the Getting started guide in the AWS CLI User Guide for more information.
Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal's quoting rules. See Using quotation marks with strings in the AWS CLI User Guide .
To describe an origin endpoint
The following describe-origin-endpoint
command displays all of the details of the origin endpoint named cmaf_sports
.
aws mediapackage describe-origin-endpoint \
--id cmaf_sports
Output:
{
"Arn": "arn:aws:mediapackage:us-west-2:111222333:origin_endpoints/1dc6718be36f4f34bb9cd86bc50925e6",
"ChannelId": "sportschannel",
"CmafPackage": {
"HlsManifests": [
{
"AdMarkers": "NONE",
"Id": "cmaf_sports_endpoint",
"IncludeIframeOnlyStream": false,
"PlaylistType": "EVENT",
"PlaylistWindowSeconds": 60,
"ProgramDateTimeIntervalSeconds": 0,
"Url": "https://c4af3793bf76b33c.mediapackage.us-west-2.amazonaws.com/out/v1/1dc6718be36f4f34bb9cd86bc50925e6/cmaf_sports_endpoint/index.m3u8"
}
],
"SegmentDurationSeconds": 2,
"SegmentPrefix": "sportschannel"
},
"Id": "cmaf_sports",
"ManifestName": "index",
"StartoverWindowSeconds": 0,
"Tags": {
"region": "west",
"media": "sports"
},
"TimeDelaySeconds": 0,
"Url": "",
"Whitelist": []
}
For more information, see Viewing a Single Endpoint in the AWS Elemental MediaPackage User Guide.
Arn -> (string)
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
Authorization -> (structure)
CDN Authorization credentials
CdnIdentifierSecret -> (string)
The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.SecretsRoleArn -> (string)
The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
ChannelId -> (string)
The ID of the Channel the OriginEndpoint is associated with.
CmafPackage -> (structure)
A Common Media Application Format (CMAF) packaging configuration.
Encryption -> (structure)
A Common Media Application Format (CMAF) encryption configuration.
ConstantInitializationVector -> (string)
An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).EncryptionMethod -> (string)
The encryption method to use.KeyRotationIntervalSeconds -> (integer)
Time (in seconds) between each encryption key rotation.SpekeKeyProvider -> (structure)
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
CertificateArn -> (string)
An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.EncryptionContractConfiguration -> (structure)
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.
PresetSpeke20Audio -> (string)
A collection of audio encryption presets.PresetSpeke20Video -> (string)
A collection of video encryption presets.ResourceId -> (string)
The resource ID to include in key requests.RoleArn -> (string)
An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.SystemIds -> (list)
The system IDs to include in key requests.
(string)
Url -> (string)
The URL of the external key provider service.HlsManifests -> (list)
A list of HLS manifest configurations
(structure)
A HTTP Live Streaming (HLS) manifest configuration.
AdMarkers -> (string)
This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.Id -> (string)
The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.IncludeIframeOnlyStream -> (boolean)
When enabled, an I-Frame only stream will be included in the output.ManifestName -> (string)
An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.PlaylistType -> (string)
The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistWindowSeconds -> (integer)
Time window (in seconds) contained in each parent manifest.ProgramDateTimeIntervalSeconds -> (integer)
The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.Url -> (string)
The URL of the packaged OriginEndpoint for consumption.AdTriggers -> (list)
A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
(string)
AdsOnDeliveryRestrictions -> (string)
This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.SegmentDurationSeconds -> (integer)
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.SegmentPrefix -> (string)
An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.StreamSelection -> (structure)
A StreamSelection configuration.
MaxVideoBitsPerSecond -> (integer)
The maximum video bitrate (bps) to include in output.MinVideoBitsPerSecond -> (integer)
The minimum video bitrate (bps) to include in output.StreamOrder -> (string)
A directive that determines the order of streams in the output.
CreatedAt -> (string)
The date and time the OriginEndpoint was created.
DashPackage -> (structure)
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
AdTriggers -> (list)
A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
(string)
AdsOnDeliveryRestrictions -> (string)
This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.Encryption -> (structure)
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
KeyRotationIntervalSeconds -> (integer)
Time (in seconds) between each encryption key rotation.SpekeKeyProvider -> (structure)
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
CertificateArn -> (string)
An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.EncryptionContractConfiguration -> (structure)
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.
PresetSpeke20Audio -> (string)
A collection of audio encryption presets.PresetSpeke20Video -> (string)
A collection of video encryption presets.ResourceId -> (string)
The resource ID to include in key requests.RoleArn -> (string)
An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.SystemIds -> (list)
The system IDs to include in key requests.
(string)
Url -> (string)
The URL of the external key provider service.IncludeIframeOnlyStream -> (boolean)
When enabled, an I-Frame only stream will be included in the output.ManifestLayout -> (string)
Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level. When set to DRM_TOP_LEVEL_COMPACT, content protection elements are placed the MPD level and referenced at the AdaptationSet level.ManifestWindowSeconds -> (integer)
Time window (in seconds) contained in each manifest.MinBufferTimeSeconds -> (integer)
Minimum duration (in seconds) that a player will buffer media before starting the presentation.MinUpdatePeriodSeconds -> (integer)
Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).PeriodTriggers -> (list)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Channel source contains SCTE-35 ad markers.
(string)
Profile -> (string)
The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. When set to "DVB-DASH_2014", DVB-DASH 2014 compliant output is enabled.SegmentDurationSeconds -> (integer)
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.SegmentTemplateFormat -> (string)
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.StreamSelection -> (structure)
A StreamSelection configuration.
MaxVideoBitsPerSecond -> (integer)
The maximum video bitrate (bps) to include in output.MinVideoBitsPerSecond -> (integer)
The minimum video bitrate (bps) to include in output.StreamOrder -> (string)
A directive that determines the order of streams in the output.SuggestedPresentationDelaySeconds -> (integer)
Duration (in seconds) to delay live content before presentation.UtcTiming -> (string)
Determines the type of UTCTiming included in the Media Presentation Description (MPD)UtcTimingUri -> (string)
Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO, HTTP-HEAD or HTTP-XSDATE
Description -> (string)
A short text description of the OriginEndpoint.
HlsPackage -> (structure)
An HTTP Live Streaming (HLS) packaging configuration.
AdMarkers -> (string)
This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.AdTriggers -> (list)
A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
(string)
AdsOnDeliveryRestrictions -> (string)
This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.Encryption -> (structure)
An HTTP Live Streaming (HLS) encryption configuration.
ConstantInitializationVector -> (string)
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.EncryptionMethod -> (string)
The encryption method to use.KeyRotationIntervalSeconds -> (integer)
Interval (in seconds) between each encryption key rotation.RepeatExtXKey -> (boolean)
When enabled, the EXT-X-KEY tag will be repeated in output manifests.SpekeKeyProvider -> (structure)
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
CertificateArn -> (string)
An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.EncryptionContractConfiguration -> (structure)
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.
PresetSpeke20Audio -> (string)
A collection of audio encryption presets.PresetSpeke20Video -> (string)
A collection of video encryption presets.ResourceId -> (string)
The resource ID to include in key requests.RoleArn -> (string)
An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.SystemIds -> (list)
The system IDs to include in key requests.
(string)
Url -> (string)
The URL of the external key provider service.IncludeDvbSubtitles -> (boolean)
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.IncludeIframeOnlyStream -> (boolean)
When enabled, an I-Frame only stream will be included in the output.PlaylistType -> (string)
The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistWindowSeconds -> (integer)
Time window (in seconds) contained in each parent manifest.ProgramDateTimeIntervalSeconds -> (integer)
The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.SegmentDurationSeconds -> (integer)
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.StreamSelection -> (structure)
A StreamSelection configuration.
MaxVideoBitsPerSecond -> (integer)
The maximum video bitrate (bps) to include in output.MinVideoBitsPerSecond -> (integer)
The minimum video bitrate (bps) to include in output.StreamOrder -> (string)
A directive that determines the order of streams in the output.UseAudioRenditionGroup -> (boolean)
When enabled, audio streams will be placed in rendition groups in the output.
Id -> (string)
The ID of the OriginEndpoint.
ManifestName -> (string)
A short string appended to the end of the OriginEndpoint URL.
MssPackage -> (structure)
A Microsoft Smooth Streaming (MSS) packaging configuration.
Encryption -> (structure)
A Microsoft Smooth Streaming (MSS) encryption configuration.
SpekeKeyProvider -> (structure)
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
CertificateArn -> (string)
An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.EncryptionContractConfiguration -> (structure)
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.
PresetSpeke20Audio -> (string)
A collection of audio encryption presets.PresetSpeke20Video -> (string)
A collection of video encryption presets.ResourceId -> (string)
The resource ID to include in key requests.RoleArn -> (string)
An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.SystemIds -> (list)
The system IDs to include in key requests.
(string)
Url -> (string)
The URL of the external key provider service.ManifestWindowSeconds -> (integer)
The time window (in seconds) contained in each manifest.SegmentDurationSeconds -> (integer)
The duration (in seconds) of each segment.StreamSelection -> (structure)
A StreamSelection configuration.
MaxVideoBitsPerSecond -> (integer)
The maximum video bitrate (bps) to include in output.MinVideoBitsPerSecond -> (integer)
The minimum video bitrate (bps) to include in output.StreamOrder -> (string)
A directive that determines the order of streams in the output.
Origination -> (string)
Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
StartoverWindowSeconds -> (integer)
Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
Tags -> (map)
A collection of tags associated with a resource
key -> (string)
value -> (string)
TimeDelaySeconds -> (integer)
Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
Url -> (string)
The URL of the packaged OriginEndpoint for consumption.
Whitelist -> (list)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
(string)