2020/06/04 - AWS Elemental MediaPackage VOD - 1 new 3 updated api methods
Changes You can now restrict direct access to AWS Elemental MediaPackage by securing requests for VOD content using CDN authorization. With CDN authorization, content requests require a specific HTTP header and authorization code.
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
{ 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'DomainName': '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.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'Authorization': {'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string'}}
Creates a new MediaPackage VOD PackagingGroup resource.
See also: AWS API Documentation
Request Syntax
client.create_packaging_group( Authorization={ 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': '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.
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' }, 'DomainName': '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.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'Authorization': {'CdnIdentifierSecret': 'string', 'SecretsRoleArn': '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
{ 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'DomainName': 'string', 'Id': 'string', 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- A 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.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --
{'PackagingGroups': {'Authorization': {'CdnIdentifierSecret': 'string', 'SecretsRoleArn': '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': [ { 'Arn': 'string', 'Authorization': { 'CdnIdentifierSecret': 'string', 'SecretsRoleArn': 'string' }, 'DomainName': '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.
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.
DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
Id (string) -- The ID of the PackagingGroup.
Tags (dict) -- A collection of tags associated with a resource
(string) --
(string) --