2023/03/08 - AWS Elemental MediaPackage VOD - 8 updated api methods
Changes This release provides the date and time VOD resources were created.
{'CreatedAt': 'string'}
Changes the packaging group's properities to configure log subscription
See also: AWS API Documentation
Request Syntax
client.configure_logs( EgressAccessLogs={ 'LogGroupName': 'string' }, Id='string' )
dict
Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
string
[REQUIRED] The ID of a MediaPackage VOD PackagingGroup resource.
dict
Response Syntax
{ 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'CreatedAt': 'string', 'DomainName': 'string', 'EgressAccessLogs': { 'LogGroupName': 'string' }, 'Id': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- The updated MediaPackage VOD PackagingGroup resource.
Arn (string) -- The ARN of the PackagingGroup.
Authorization (dict) -- CDN Authorization credentials
CdnIdentifierSecret (string) -- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
CreatedAt (string) -- The time the PackagingGroup was created.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
EgressAccessLogs (dict) -- Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'CreatedAt': 'string'}
Creates a new MediaPackage VOD PackagingConfiguration resource.
See also: AWS API Documentation
Request Syntax
client.create_packaging_configuration( CmafPackage={ 'Encryption': { 'ConstantInitializationVector': 'string', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeEncoderConfigurationInSegments': True|False, 'SegmentDurationSeconds': 123 }, DashPackage={ 'DashManifests': [ { 'ManifestLayout': 'FULL'|'COMPACT', 'ManifestName': 'string', 'MinBufferTimeSeconds': 123, 'Profile': 'NONE'|'HBBTV_1_5', 'ScteMarkersSource': 'SEGMENTS'|'MANIFEST', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'IncludeEncoderConfigurationInSegments': True|False, 'IncludeIframeOnlyStream': True|False, 'PeriodTriggers': [ 'ADS', ], 'SegmentDurationSeconds': 123, 'SegmentTemplateFormat': 'NUMBER_WITH_TIMELINE'|'TIME_WITH_TIMELINE'|'NUMBER_WITH_DURATION' }, HlsPackage={ 'Encryption': { 'ConstantInitializationVector': 'string', 'EncryptionMethod': 'AES_128'|'SAMPLE_AES', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeDvbSubtitles': True|False, 'SegmentDurationSeconds': 123, 'UseAudioRenditionGroup': True|False }, Id='string', MssPackage={ 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'MssManifests': [ { 'ManifestName': 'string', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'SegmentDurationSeconds': 123 }, PackagingGroupId='string', Tags={ 'string': 'string' } )
dict
A CMAF packaging configuration.
Encryption (dict) -- A 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).
SpekeKeyProvider (dict) -- [REQUIRED] A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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) -- [REQUIRED] A collection of audio encryption presets.
PresetSpeke20Video (string) -- [REQUIRED] A collection of video encryption presets.
RoleArn (string) -- [REQUIRED] An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
SystemIds (list) -- [REQUIRED] The system IDs to include in key requests.
(string) --
Url (string) -- [REQUIRED] The URL of the external key provider service.
HlsManifests (list) -- [REQUIRED] A list of HLS manifest configurations.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
dict
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
DashManifests (list) -- [REQUIRED] A list of DASH manifest configurations.
(dict) -- A DASH manifest configuration.
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.
ManifestName (string) -- An optional string to include in the name of the manifest.
MinBufferTimeSeconds (integer) -- Minimum duration (in seconds) that a player will buffer media before starting the presentation.
Profile (string) -- The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
ScteMarkersSource (string) -- The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
StreamSelection (dict) -- 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.
Encryption (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
SpekeKeyProvider (dict) -- [REQUIRED] A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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) -- [REQUIRED] A collection of audio encryption presets.
PresetSpeke20Video (string) -- [REQUIRED] A collection of video encryption presets.
RoleArn (string) -- [REQUIRED] An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
SystemIds (list) -- [REQUIRED] The system IDs to include in key requests.
(string) --
Url (string) -- [REQUIRED] The URL of the external key provider service.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
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 Asset contains SCTE-35 ad markers.
(string) --
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.
dict
An HTTP Live Streaming (HLS) packaging configuration.
Encryption (dict) -- 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.
SpekeKeyProvider (dict) -- [REQUIRED] A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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) -- [REQUIRED] A collection of audio encryption presets.
PresetSpeke20Video (string) -- [REQUIRED] A collection of video encryption presets.
RoleArn (string) -- [REQUIRED] An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
SystemIds (list) -- [REQUIRED] The system IDs to include in key requests.
(string) --
Url (string) -- [REQUIRED] The URL of the external key provider service.
HlsManifests (list) -- [REQUIRED] A list of HLS manifest configurations.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeDvbSubtitles (boolean) -- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
UseAudioRenditionGroup (boolean) -- When enabled, audio streams will be placed in rendition groups in the output.
string
[REQUIRED] The ID of the PackagingConfiguration.
dict
A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
Encryption (dict) -- A Microsoft Smooth Streaming (MSS) encryption configuration.
SpekeKeyProvider (dict) -- [REQUIRED] A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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) -- [REQUIRED] A collection of audio encryption presets.
PresetSpeke20Video (string) -- [REQUIRED] A collection of video encryption presets.
RoleArn (string) -- [REQUIRED] An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
SystemIds (list) -- [REQUIRED] The system IDs to include in key requests.
(string) --
Url (string) -- [REQUIRED] The URL of the external key provider service.
MssManifests (list) -- [REQUIRED] A list of MSS manifest configurations.
(dict) -- A Microsoft Smooth Streaming (MSS) manifest configuration.
ManifestName (string) -- An optional string to include in the name of the manifest.
StreamSelection (dict) -- 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.
SegmentDurationSeconds (integer) -- The duration (in seconds) of each segment.
string
[REQUIRED] The ID of a PackagingGroup.
dict
A collection of tags associated with a resource
(string) --
(string) --
dict
Response Syntax
{ 'Arn': 'string', 'CmafPackage': { 'Encryption': { 'ConstantInitializationVector': 'string', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeEncoderConfigurationInSegments': True|False, 'SegmentDurationSeconds': 123 }, 'CreatedAt': 'string', 'DashPackage': { 'DashManifests': [ { 'ManifestLayout': 'FULL'|'COMPACT', 'ManifestName': 'string', 'MinBufferTimeSeconds': 123, 'Profile': 'NONE'|'HBBTV_1_5', 'ScteMarkersSource': 'SEGMENTS'|'MANIFEST', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'IncludeEncoderConfigurationInSegments': True|False, 'IncludeIframeOnlyStream': True|False, 'PeriodTriggers': [ 'ADS', ], 'SegmentDurationSeconds': 123, 'SegmentTemplateFormat': 'NUMBER_WITH_TIMELINE'|'TIME_WITH_TIMELINE'|'NUMBER_WITH_DURATION' }, 'HlsPackage': { 'Encryption': { 'ConstantInitializationVector': 'string', 'EncryptionMethod': 'AES_128'|'SAMPLE_AES', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeDvbSubtitles': True|False, 'SegmentDurationSeconds': 123, 'UseAudioRenditionGroup': True|False }, 'Id': 'string', 'MssPackage': { 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'MssManifests': [ { 'ManifestName': 'string', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'SegmentDurationSeconds': 123 }, 'PackagingGroupId': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- The new MediaPackage VOD PackagingConfiguration resource.
Arn (string) -- The ARN of the PackagingConfiguration.
CmafPackage (dict) -- A CMAF packaging configuration.
Encryption (dict) -- A 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).
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
CreatedAt (string) -- The time the PackagingConfiguration was created.
DashPackage (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
DashManifests (list) -- A list of DASH manifest configurations.
(dict) -- A DASH manifest configuration.
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.
ManifestName (string) -- An optional string to include in the name of the manifest.
MinBufferTimeSeconds (integer) -- Minimum duration (in seconds) that a player will buffer media before starting the presentation.
Profile (string) -- The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
ScteMarkersSource (string) -- The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
StreamSelection (dict) -- 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.
Encryption (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
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 Asset contains SCTE-35 ad markers.
(string) --
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.
HlsPackage (dict) -- An HTTP Live Streaming (HLS) packaging configuration.
Encryption (dict) -- 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.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeDvbSubtitles (boolean) -- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
UseAudioRenditionGroup (boolean) -- When enabled, audio streams will be placed in rendition groups in the output.
Id (string) -- The ID of the PackagingConfiguration.
MssPackage (dict) -- A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
Encryption (dict) -- A Microsoft Smooth Streaming (MSS) encryption configuration.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
MssManifests (list) -- A list of MSS manifest configurations.
(dict) -- A Microsoft Smooth Streaming (MSS) manifest configuration.
ManifestName (string) -- An optional string to include in the name of the manifest.
StreamSelection (dict) -- 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.
SegmentDurationSeconds (integer) -- The duration (in seconds) of each segment.
PackagingGroupId (string) -- The ID of a PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'CreatedAt': 'string'}
Creates a new MediaPackage VOD PackagingGroup resource.
See also: AWS API Documentation
Request Syntax
client.create_packaging_group( Authorization={ 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, EgressAccessLogs={ 'LogGroupName': 'string' }, Id='string', Tags={ 'string': 'string' } )
dict
CDN Authorization credentials
CdnIdentifierSecret (string) -- [REQUIRED] The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- [REQUIRED] The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
dict
Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
string
[REQUIRED] The ID of the PackagingGroup.
dict
A collection of tags associated with a resource
(string) --
(string) --
dict
Response Syntax
{ 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'CreatedAt': 'string', 'DomainName': 'string', 'EgressAccessLogs': { 'LogGroupName': 'string' }, 'Id': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- The new MediaPackage VOD PackagingGroup resource.
Arn (string) -- The ARN of the PackagingGroup.
Authorization (dict) -- CDN Authorization credentials
CdnIdentifierSecret (string) -- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
CreatedAt (string) -- The time the PackagingGroup was created.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
EgressAccessLogs (dict) -- Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'CreatedAt': 'string'}
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
See also: AWS API Documentation
Request Syntax
client.describe_packaging_configuration( Id='string' )
string
[REQUIRED] The ID of a MediaPackage VOD PackagingConfiguration resource.
dict
Response Syntax
{ 'Arn': 'string', 'CmafPackage': { 'Encryption': { 'ConstantInitializationVector': 'string', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeEncoderConfigurationInSegments': True|False, 'SegmentDurationSeconds': 123 }, 'CreatedAt': 'string', 'DashPackage': { 'DashManifests': [ { 'ManifestLayout': 'FULL'|'COMPACT', 'ManifestName': 'string', 'MinBufferTimeSeconds': 123, 'Profile': 'NONE'|'HBBTV_1_5', 'ScteMarkersSource': 'SEGMENTS'|'MANIFEST', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'IncludeEncoderConfigurationInSegments': True|False, 'IncludeIframeOnlyStream': True|False, 'PeriodTriggers': [ 'ADS', ], 'SegmentDurationSeconds': 123, 'SegmentTemplateFormat': 'NUMBER_WITH_TIMELINE'|'TIME_WITH_TIMELINE'|'NUMBER_WITH_DURATION' }, 'HlsPackage': { 'Encryption': { 'ConstantInitializationVector': 'string', 'EncryptionMethod': 'AES_128'|'SAMPLE_AES', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeDvbSubtitles': True|False, 'SegmentDurationSeconds': 123, 'UseAudioRenditionGroup': True|False }, 'Id': 'string', 'MssPackage': { 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'MssManifests': [ { 'ManifestName': 'string', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'SegmentDurationSeconds': 123 }, 'PackagingGroupId': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- A MediaPackage VOD PackagingConfiguration resource.
Arn (string) -- The ARN of the PackagingConfiguration.
CmafPackage (dict) -- A CMAF packaging configuration.
Encryption (dict) -- A 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).
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
CreatedAt (string) -- The time the PackagingConfiguration was created.
DashPackage (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
DashManifests (list) -- A list of DASH manifest configurations.
(dict) -- A DASH manifest configuration.
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.
ManifestName (string) -- An optional string to include in the name of the manifest.
MinBufferTimeSeconds (integer) -- Minimum duration (in seconds) that a player will buffer media before starting the presentation.
Profile (string) -- The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
ScteMarkersSource (string) -- The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
StreamSelection (dict) -- 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.
Encryption (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
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 Asset contains SCTE-35 ad markers.
(string) --
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.
HlsPackage (dict) -- An HTTP Live Streaming (HLS) packaging configuration.
Encryption (dict) -- 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.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeDvbSubtitles (boolean) -- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
UseAudioRenditionGroup (boolean) -- When enabled, audio streams will be placed in rendition groups in the output.
Id (string) -- The ID of the PackagingConfiguration.
MssPackage (dict) -- A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
Encryption (dict) -- A Microsoft Smooth Streaming (MSS) encryption configuration.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
MssManifests (list) -- A list of MSS manifest configurations.
(dict) -- A Microsoft Smooth Streaming (MSS) manifest configuration.
ManifestName (string) -- An optional string to include in the name of the manifest.
StreamSelection (dict) -- 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.
SegmentDurationSeconds (integer) -- The duration (in seconds) of each segment.
PackagingGroupId (string) -- The ID of a PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'CreatedAt': 'string'}
Returns a description of a MediaPackage VOD PackagingGroup resource.
See also: AWS API Documentation
Request Syntax
client.describe_packaging_group( Id='string' )
string
[REQUIRED] The ID of a MediaPackage VOD PackagingGroup resource.
dict
Response Syntax
{ 'ApproximateAssetCount': 123, 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'CreatedAt': 'string', 'DomainName': 'string', 'EgressAccessLogs': { 'LogGroupName': 'string' }, 'Id': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- A MediaPackage VOD PackagingGroup resource.
ApproximateAssetCount (integer) -- The approximate asset count of the PackagingGroup.
Arn (string) -- The ARN of the PackagingGroup.
Authorization (dict) -- CDN Authorization credentials
CdnIdentifierSecret (string) -- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
CreatedAt (string) -- The time the PackagingGroup was created.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
EgressAccessLogs (dict) -- Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'PackagingConfigurations': {'CreatedAt': 'string'}}
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
See also: AWS API Documentation
Request Syntax
client.list_packaging_configurations( MaxResults=123, NextToken='string', PackagingGroupId='string' )
integer
Upper bound on number of records to return.
string
A token used to resume pagination from the end of a previous request.
string
Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
dict
Response Syntax
{ 'NextToken': 'string', 'PackagingConfigurations': [ { 'Arn': 'string', 'CmafPackage': { 'Encryption': { 'ConstantInitializationVector': 'string', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeEncoderConfigurationInSegments': True|False, 'SegmentDurationSeconds': 123 }, 'CreatedAt': 'string', 'DashPackage': { 'DashManifests': [ { 'ManifestLayout': 'FULL'|'COMPACT', 'ManifestName': 'string', 'MinBufferTimeSeconds': 123, 'Profile': 'NONE'|'HBBTV_1_5', 'ScteMarkersSource': 'SEGMENTS'|'MANIFEST', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'IncludeEncoderConfigurationInSegments': True|False, 'IncludeIframeOnlyStream': True|False, 'PeriodTriggers': [ 'ADS', ], 'SegmentDurationSeconds': 123, 'SegmentTemplateFormat': 'NUMBER_WITH_TIMELINE'|'TIME_WITH_TIMELINE'|'NUMBER_WITH_DURATION' }, 'HlsPackage': { 'Encryption': { 'ConstantInitializationVector': 'string', 'EncryptionMethod': 'AES_128'|'SAMPLE_AES', 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'HlsManifests': [ { 'AdMarkers': 'NONE'|'SCTE35_ENHANCED'|'PASSTHROUGH', 'IncludeIframeOnlyStream': True|False, 'ManifestName': 'string', 'ProgramDateTimeIntervalSeconds': 123, 'RepeatExtXKey': True|False, 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'IncludeDvbSubtitles': True|False, 'SegmentDurationSeconds': 123, 'UseAudioRenditionGroup': True|False }, 'Id': 'string', 'MssPackage': { 'Encryption': { 'SpekeKeyProvider': { 'EncryptionContractConfiguration': { 'PresetSpeke20Audio': 'PRESET-AUDIO-1'|'PRESET-AUDIO-2'|'PRESET-AUDIO-3'|'SHARED'|'UNENCRYPTED', 'PresetSpeke20Video': 'PRESET-VIDEO-1'|'PRESET-VIDEO-2'|'PRESET-VIDEO-3'|'PRESET-VIDEO-4'|'PRESET-VIDEO-5'|'PRESET-VIDEO-6'|'PRESET-VIDEO-7'|'PRESET-VIDEO-8'|'SHARED'|'UNENCRYPTED' }, 'RoleArn': 'string', 'SystemIds': [ 'string', ], 'Url': 'string' } }, 'MssManifests': [ { 'ManifestName': 'string', 'StreamSelection': { 'MaxVideoBitsPerSecond': 123, 'MinVideoBitsPerSecond': 123, 'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING' } }, ], 'SegmentDurationSeconds': 123 }, 'PackagingGroupId': 'string', 'Tags': { 'string': 'string' } }, ] }
Response Structure
(dict) -- A collection of MediaPackage VOD PackagingConfiguration resources.
NextToken (string) -- A token that can be used to resume pagination from the end of the collection.
PackagingConfigurations (list) -- A list of MediaPackage VOD PackagingConfiguration resources.
(dict) -- A MediaPackage VOD PackagingConfiguration resource.
Arn (string) -- The ARN of the PackagingConfiguration.
CmafPackage (dict) -- A CMAF packaging configuration.
Encryption (dict) -- A 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).
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
CreatedAt (string) -- The time the PackagingConfiguration was created.
DashPackage (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
DashManifests (list) -- A list of DASH manifest configurations.
(dict) -- A DASH manifest configuration.
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.
ManifestName (string) -- An optional string to include in the name of the manifest.
MinBufferTimeSeconds (integer) -- Minimum duration (in seconds) that a player will buffer media before starting the presentation.
Profile (string) -- The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
ScteMarkersSource (string) -- The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
StreamSelection (dict) -- 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.
Encryption (dict) -- A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
IncludeEncoderConfigurationInSegments (boolean) -- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
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 Asset contains SCTE-35 ad markers.
(string) --
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.
HlsPackage (dict) -- An HTTP Live Streaming (HLS) packaging configuration.
Encryption (dict) -- 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.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
(dict) -- An 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.
IncludeIframeOnlyStream (boolean) -- When enabled, an I-Frame only stream will be included in the output.
ManifestName (string) -- An optional string to include in the name of the 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.
RepeatExtXKey (boolean) -- When enabled, the EXT-X-KEY tag will be repeated in output manifests.
StreamSelection (dict) -- 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.
IncludeDvbSubtitles (boolean) -- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
SegmentDurationSeconds (integer) -- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
UseAudioRenditionGroup (boolean) -- When enabled, audio streams will be placed in rendition groups in the output.
Id (string) -- The ID of the PackagingConfiguration.
MssPackage (dict) -- A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
Encryption (dict) -- A Microsoft Smooth Streaming (MSS) encryption configuration.
SpekeKeyProvider (dict) -- A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
EncryptionContractConfiguration (dict) -- 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 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.
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.
MssManifests (list) -- A list of MSS manifest configurations.
(dict) -- A Microsoft Smooth Streaming (MSS) manifest configuration.
ManifestName (string) -- An optional string to include in the name of the manifest.
StreamSelection (dict) -- 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.
SegmentDurationSeconds (integer) -- The duration (in seconds) of each segment.
PackagingGroupId (string) -- The ID of a PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'PackagingGroups': {'CreatedAt': 'string'}}
Returns a collection of MediaPackage VOD PackagingGroup resources.
See also: AWS API Documentation
Request Syntax
client.list_packaging_groups( MaxResults=123, NextToken='string' )
integer
Upper bound on number of records to return.
string
A token used to resume pagination from the end of a previous request.
dict
Response Syntax
{ 'NextToken': 'string', 'PackagingGroups': [ { 'ApproximateAssetCount': 123, 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'CreatedAt': 'string', 'DomainName': 'string', 'EgressAccessLogs': { 'LogGroupName': 'string' }, 'Id': 'string', 'Tags': { 'string': 'string' } }, ] }
Response Structure
(dict) -- A collection of MediaPackage VOD PackagingGroup resources.
NextToken (string) -- A token that can be used to resume pagination from the end of the collection.
PackagingGroups (list) -- A list of MediaPackage VOD PackagingGroup resources.
(dict) -- A MediaPackage VOD PackagingGroup resource.
ApproximateAssetCount (integer) -- The approximate asset count of the PackagingGroup.
Arn (string) -- The ARN of the PackagingGroup.
Authorization (dict) -- CDN Authorization credentials
CdnIdentifierSecret (string) -- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
CreatedAt (string) -- The time the PackagingGroup was created.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
EgressAccessLogs (dict) -- Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'CreatedAt': 'string'}
Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
See also: AWS API Documentation
Request Syntax
client.update_packaging_group( Authorization={ 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, Id='string' )
dict
CDN Authorization credentials
CdnIdentifierSecret (string) -- [REQUIRED] The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- [REQUIRED] The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
string
[REQUIRED] The ID of a MediaPackage VOD PackagingGroup resource.
dict
Response Syntax
{ 'ApproximateAssetCount': 123, 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'CreatedAt': 'string', 'DomainName': 'string', 'EgressAccessLogs': { 'LogGroupName': 'string' }, 'Id': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- The updated MediaPackage VOD PackagingGroup resource.
ApproximateAssetCount (integer) -- The approximate asset count of the PackagingGroup.
Arn (string) -- The ARN of the PackagingGroup.
Authorization (dict) -- CDN Authorization credentials
CdnIdentifierSecret (string) -- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
SecretsRoleArn (string) -- The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
CreatedAt (string) -- The time the PackagingGroup was created.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
EgressAccessLogs (dict) -- Configure egress access logging.
LogGroupName (string) -- Customize the log group name.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --