:doc:`MediaPackageVod <../../mediapackage-vod>` / Client / list_packaging_groups

*********************
list_packaging_groups
*********************



.. py:method:: MediaPackageVod.Client.list_packaging_groups(**kwargs)

  Returns a collection of MediaPackage VOD PackagingGroup resources.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups>`_  


  **Request Syntax**
  ::

    response = client.list_packaging_groups(
        MaxResults=123,
        NextToken='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: Upper bound on number of records to return.

  
  :type NextToken: string
  :param NextToken: A token used to resume pagination from the end of a previous request.

  
  
  :rtype: 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**
  
  *   :py:class:`MediaPackageVod.Client.exceptions.UnprocessableEntityException`

  
  *   :py:class:`MediaPackageVod.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaPackageVod.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaPackageVod.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaPackageVod.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`MediaPackageVod.Client.exceptions.TooManyRequestsException`

  