Table of Contents
A low-level client representing AWS Elemental MediaPackage VOD AWS Elemental MediaPackage VOD:
import boto3
client = boto3.client('mediapackage-vod')
These are the available methods:
Check if an operation can be paginated.
Changes the packaging group's properities to configure log subscription
See also: AWS API Documentation
Request Syntax
response = client.configure_logs(
EgressAccessLogs={
'LogGroupName': 'string'
},
Id='string'
)
Configure egress access logging.
dict
Response Syntax
{
'Arn': 'string',
'Authorization': {
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
'DomainName': 'string',
'EgressAccessLogs': {
'LogGroupName': 'string'
},
'Id': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Creates a new MediaPackage VOD Asset resource.
See also: AWS API Documentation
Request Syntax
response = client.create_asset(
Id='string',
PackagingGroupId='string',
ResourceId='string',
SourceArn='string',
SourceRoleArn='string',
Tags={
'string': 'string'
}
)
A collection of tags associated with a resource
dict
Response Syntax
{
'Arn': 'string',
'CreatedAt': 'string',
'EgressEndpoints': [
{
'PackagingConfigurationId': 'string',
'Status': 'string',
'Url': 'string'
},
],
'Id': 'string',
'PackagingGroupId': 'string',
'ResourceId': 'string',
'SourceArn': 'string',
'SourceRoleArn': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Creates a new MediaPackage VOD PackagingConfiguration resource.
See also: AWS API Documentation
Request Syntax
response = client.create_packaging_configuration(
CmafPackage={
'Encryption': {
'ConstantInitializationVector': 'string',
'SpekeKeyProvider': {
'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',
'StreamSelection': {
'MaxVideoBitsPerSecond': 123,
'MinVideoBitsPerSecond': 123,
'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING'
}
},
],
'Encryption': {
'SpekeKeyProvider': {
'RoleArn': 'string',
'SystemIds': [
'string',
],
'Url': 'string'
}
},
'IncludeEncoderConfigurationInSegments': 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': {
'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': {
'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'
}
)
A CMAF packaging configuration.
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
An HTTP Live Streaming (HLS) packaging configuration.
A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
A collection of tags associated with a resource
dict
Response Syntax
{
'Arn': 'string',
'CmafPackage': {
'Encryption': {
'ConstantInitializationVector': 'string',
'SpekeKeyProvider': {
'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',
'StreamSelection': {
'MaxVideoBitsPerSecond': 123,
'MinVideoBitsPerSecond': 123,
'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING'
}
},
],
'Encryption': {
'SpekeKeyProvider': {
'RoleArn': 'string',
'SystemIds': [
'string',
],
'Url': 'string'
}
},
'IncludeEncoderConfigurationInSegments': 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': {
'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': {
'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
Exceptions
Creates a new MediaPackage VOD PackagingGroup resource.
See also: AWS API Documentation
Request Syntax
response = client.create_packaging_group(
Authorization={
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
EgressAccessLogs={
'LogGroupName': 'string'
},
Id='string',
Tags={
'string': 'string'
}
)
CDN Authorization credentials
Configure egress access logging.
A collection of tags associated with a resource
dict
Response Syntax
{
'Arn': 'string',
'Authorization': {
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
'DomainName': 'string',
'EgressAccessLogs': {
'LogGroupName': 'string'
},
'Id': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Deletes an existing MediaPackage VOD Asset resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_asset(
Id='string'
)
{}
Response Structure
Exceptions
Deletes a MediaPackage VOD PackagingConfiguration resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_packaging_configuration(
Id='string'
)
{}
Response Structure
Exceptions
Deletes a MediaPackage VOD PackagingGroup resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_packaging_group(
Id='string'
)
{}
Response Structure
Exceptions
Returns a description of a MediaPackage VOD Asset resource.
See also: AWS API Documentation
Request Syntax
response = client.describe_asset(
Id='string'
)
{
'Arn': 'string',
'CreatedAt': 'string',
'EgressEndpoints': [
{
'PackagingConfigurationId': 'string',
'Status': 'string',
'Url': 'string'
},
],
'Id': 'string',
'PackagingGroupId': 'string',
'ResourceId': 'string',
'SourceArn': 'string',
'SourceRoleArn': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
See also: AWS API Documentation
Request Syntax
response = client.describe_packaging_configuration(
Id='string'
)
{
'Arn': 'string',
'CmafPackage': {
'Encryption': {
'ConstantInitializationVector': 'string',
'SpekeKeyProvider': {
'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',
'StreamSelection': {
'MaxVideoBitsPerSecond': 123,
'MinVideoBitsPerSecond': 123,
'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING'
}
},
],
'Encryption': {
'SpekeKeyProvider': {
'RoleArn': 'string',
'SystemIds': [
'string',
],
'Url': 'string'
}
},
'IncludeEncoderConfigurationInSegments': 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': {
'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': {
'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
Exceptions
Returns a description of a MediaPackage VOD PackagingGroup resource.
See also: AWS API Documentation
Request Syntax
response = client.describe_packaging_group(
Id='string'
)
{
'Arn': 'string',
'Authorization': {
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
'DomainName': 'string',
'EgressAccessLogs': {
'LogGroupName': 'string'
},
'Id': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
Exceptions
Create a paginator for an operation.
Returns an object that can wait for some condition.
Returns a collection of MediaPackage VOD Asset resources.
See also: AWS API Documentation
Request Syntax
response = client.list_assets(
MaxResults=123,
NextToken='string',
PackagingGroupId='string'
)
dict
Response Syntax
{
'Assets': [
{
'Arn': 'string',
'CreatedAt': 'string',
'Id': 'string',
'PackagingGroupId': 'string',
'ResourceId': 'string',
'SourceArn': 'string',
'SourceRoleArn': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
Exceptions
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
See also: AWS API Documentation
Request Syntax
response = client.list_packaging_configurations(
MaxResults=123,
NextToken='string',
PackagingGroupId='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'PackagingConfigurations': [
{
'Arn': 'string',
'CmafPackage': {
'Encryption': {
'ConstantInitializationVector': 'string',
'SpekeKeyProvider': {
'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',
'StreamSelection': {
'MaxVideoBitsPerSecond': 123,
'MinVideoBitsPerSecond': 123,
'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING'
}
},
],
'Encryption': {
'SpekeKeyProvider': {
'RoleArn': 'string',
'SystemIds': [
'string',
],
'Url': 'string'
}
},
'IncludeEncoderConfigurationInSegments': 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': {
'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': {
'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
Exceptions
Returns a collection of MediaPackage VOD PackagingGroup resources.
See also: AWS API Documentation
Request Syntax
response = client.list_packaging_groups(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'PackagingGroups': [
{
'Arn': 'string',
'Authorization': {
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
'DomainName': 'string',
'EgressAccessLogs': {
'LogGroupName': 'string'
},
'Id': 'string',
'Tags': {
'string': 'string'
}
},
]
}
Response Structure
Exceptions
Returns a list of the tags assigned to the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
{
'Tags': {
'string': 'string'
}
}
Response Structure
Adds tags to the specified resource. You can specify one or more tags to add.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED] A collection of tags associated with a resource
None
Removes tags from the specified resource. You can specify one or more tags to remove.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
[REQUIRED] A comma-separated list of the tag keys to remove from the resource.
None
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
response = client.update_packaging_group(
Authorization={
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
Id='string'
)
CDN Authorization credentials
dict
Response Syntax
{
'Arn': 'string',
'Authorization': {
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
'DomainName': 'string',
'EgressAccessLogs': {
'LogGroupName': 'string'
},
'Id': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
Exceptions
The available paginators are:
paginator = client.get_paginator('list_assets')
Creates an iterator that will paginate through responses from MediaPackageVod.Client.list_assets().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PackagingGroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Assets': [
{
'Arn': 'string',
'CreatedAt': 'string',
'Id': 'string',
'PackagingGroupId': 'string',
'ResourceId': 'string',
'SourceArn': 'string',
'SourceRoleArn': 'string',
'Tags': {
'string': 'string'
}
},
],
}
Response Structure
paginator = client.get_paginator('list_packaging_configurations')
Creates an iterator that will paginate through responses from MediaPackageVod.Client.list_packaging_configurations().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PackagingGroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'PackagingConfigurations': [
{
'Arn': 'string',
'CmafPackage': {
'Encryption': {
'ConstantInitializationVector': 'string',
'SpekeKeyProvider': {
'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',
'StreamSelection': {
'MaxVideoBitsPerSecond': 123,
'MinVideoBitsPerSecond': 123,
'StreamOrder': 'ORIGINAL'|'VIDEO_BITRATE_ASCENDING'|'VIDEO_BITRATE_DESCENDING'
}
},
],
'Encryption': {
'SpekeKeyProvider': {
'RoleArn': 'string',
'SystemIds': [
'string',
],
'Url': 'string'
}
},
'IncludeEncoderConfigurationInSegments': 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': {
'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': {
'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
paginator = client.get_paginator('list_packaging_groups')
Creates an iterator that will paginate through responses from MediaPackageVod.Client.list_packaging_groups().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'PackagingGroups': [
{
'Arn': 'string',
'Authorization': {
'CdnIdentifierSecret': 'string',
'SecretsRoleArn': 'string'
},
'DomainName': 'string',
'EgressAccessLogs': {
'LogGroupName': 'string'
},
'Id': 'string',
'Tags': {
'string': 'string'
}
},
]
}
Response Structure