update_packaging_group

update_packaging_group(**kwargs)

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'
)
Parameters
  • Authorization (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.
  • Id (string) -- [REQUIRED] The ID of a MediaPackage VOD PackagingGroup resource.
Return type

dict

Returns

Response Syntax

{
    'ApproximateAssetCount': 123,
    'Arn': 'string',
    'Authorization': {
        'CdnIdentifierSecret': 'string',
        'SecretsRoleArn': '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.
    • 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) --

Exceptions

  • MediaPackageVod.Client.exceptions.UnprocessableEntityException
  • MediaPackageVod.Client.exceptions.InternalServerErrorException
  • MediaPackageVod.Client.exceptions.ForbiddenException
  • MediaPackageVod.Client.exceptions.NotFoundException
  • MediaPackageVod.Client.exceptions.ServiceUnavailableException
  • MediaPackageVod.Client.exceptions.TooManyRequestsException