list_packaging_groups

MediaPackageVod.Client.list_packaging_groups(**kwargs)

Returns a collection of MediaPackage VOD PackagingGroup resources.

See also: AWS API Documentation

Request Syntax

response = client.list_packaging_groups(
    MaxResults=123,
    NextToken='string'
)
Parameters
  • MaxResults (integer) -- Upper bound on number of records to return.
  • NextToken (string) -- A token used to resume pagination from the end of a previous request.
Return type

dict

Returns

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

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