[ aws . mediapackage ]
Returns a collection of OriginEndpoint records.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
list-origin-endpoints
is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate
argument.
When using --output text
and the --query
argument on a paginated response, the --query
argument must extract data from the results of the following query expressions: OriginEndpoints
list-origin-endpoints
[--channel-id <value>]
[--cli-input-json | --cli-input-yaml]
[--starting-token <value>]
[--page-size <value>]
[--max-items <value>]
[--generate-cli-skeleton <value>]
--channel-id
(string)
When specified, the request will return only OriginEndpoints associated with the given Channel ID.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those 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. This may not be specified along with --cli-input-yaml
.
--starting-token
(string)
A token to specify where to start paginating. This is the
NextToken
from a previously truncated response.For usage examples, see Pagination in the AWS Command Line Interface User Guide .
--page-size
(integer)
The size of each page to get in the AWS service call. This does not affect the number of items returned in the command’s output. Setting a smaller page size results in more calls to the AWS service, retrieving fewer items in each call. This can help prevent the AWS service calls from timing out.
For usage examples, see Pagination in the AWS Command Line Interface User Guide .
--max-items
(integer)
The total number of items to return in the command’s output. If the total number of items available is more than the value specified, a
NextToken
is provided in the command’s output. To resume pagination, provide theNextToken
value in thestarting-token
argument of a subsequent command. Do not use theNextToken
response element directly outside of the AWS CLI.For usage examples, see Pagination in the AWS Command Line Interface User Guide .
--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
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
To list all origin-endpoints on a channel
The following list-origin-endpoints
command lists all of the origin endpoints that are configured on the channel named test
.
aws mediapackage list-origin-endpoints \
--channel-id test
Output:
{
"OriginEndpoints": [
{
"Arn": "arn:aws:mediapackage:us-west-2:111222333:origin_endpoints/247cff871f2845d3805129be22f2c0a2",
"ChannelId": "test",
"DashPackage": {
"ManifestLayout": "FULL",
"ManifestWindowSeconds": 60,
"MinBufferTimeSeconds": 30,
"MinUpdatePeriodSeconds": 15,
"PeriodTriggers": [],
"Profile": "NONE",
"SegmentDurationSeconds": 2,
"SegmentTemplateFormat": "NUMBER_WITH_TIMELINE",
"StreamSelection": {
"MaxVideoBitsPerSecond": 2147483647,
"MinVideoBitsPerSecond": 0,
"StreamOrder": "ORIGINAL"
},
"SuggestedPresentationDelaySeconds": 25
},
"Id": "tester2",
"ManifestName": "index",
"StartoverWindowSeconds": 0,
"Tags": {},
"TimeDelaySeconds": 0,
"Url": "https://8343f7014c0ea438.mediapackage.us-west-2.amazonaws.com/out/v1/247cff871f2845d3805129be22f2c0a2/index.mpd",
"Whitelist": []
},
{
"Arn": "arn:aws:mediapackage:us-west-2:111222333:origin_endpoints/869e237f851549e9bcf10e3bc2830839",
"ChannelId": "test",
"HlsPackage": {
"AdMarkers": "NONE",
"IncludeIframeOnlyStream": false,
"PlaylistType": "EVENT",
"PlaylistWindowSeconds": 60,
"ProgramDateTimeIntervalSeconds": 0,
"SegmentDurationSeconds": 6,
"StreamSelection": {
"MaxVideoBitsPerSecond": 2147483647,
"MinVideoBitsPerSecond": 0,
"StreamOrder": "ORIGINAL"
},
"UseAudioRenditionGroup": false
},
"Id": "tester",
"ManifestName": "index",
"StartoverWindowSeconds": 0,
"Tags": {},
"TimeDelaySeconds": 0,
"Url": "https://8343f7014c0ea438.mediapackage.us-west-2.amazonaws.com/out/v1/869e237f851549e9bcf10e3bc2830839/index.m3u8",
"Whitelist": []
}
]
}
For more information, see Viewing all Endpoints Associated with a Channel in the AWS Elemental MediaPackage User Guide.
NextToken -> (string)
A token that can be used to resume pagination from the end of the collection.
OriginEndpoints -> (list)
A list of OriginEndpoint records.
(structure)
An OriginEndpoint resource configuration.
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.
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.
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.
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.
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.
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.
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.
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.
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 or HTTP-HEAD
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.
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.
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.
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)