create_packaging_group

MediaPackageVod.Client.create_packaging_group(**kwargs)

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'
    }
)
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.
  • EgressAccessLogs (dict) --

    Configure egress access logging.

    • LogGroupName (string) -- Customize the log group name.
  • Id (string) -- [REQUIRED] The ID of the PackagingGroup.
  • Tags (dict) --

    A collection of tags associated with a resource

    • (string) --
      • (string) --
Return type

dict

Returns

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) --

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