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

***********
list_assets
***********



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

  Returns a collection of MediaPackage VOD Asset resources.

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


  **Request Syntax**
  ::

    response = client.list_assets(
        MaxResults=123,
        NextToken='string',
        PackagingGroupId='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.

  
  :type PackagingGroupId: string
  :param PackagingGroupId: Returns Assets associated with the specified PackagingGroup.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Assets': [
              {
                  'Arn': 'string',
                  'CreatedAt': 'string',
                  'Id': 'string',
                  'PackagingGroupId': 'string',
                  'ResourceId': 'string',
                  'SourceArn': 'string',
                  'SourceRoleArn': 'string',
                  'Tags': {
                      'string': 'string'
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* A collection of MediaPackage VOD Asset resources.
      

      - **Assets** *(list) --* A list of MediaPackage VOD Asset resources.
        

        - *(dict) --* A MediaPackage VOD Asset resource.
          

          - **Arn** *(string) --* The ARN of the Asset.
          

          - **CreatedAt** *(string) --* The time the Asset was initially submitted for Ingest.
          

          - **Id** *(string) --* The unique identifier for the Asset.
          

          - **PackagingGroupId** *(string) --* The ID of the PackagingGroup for the Asset.
          

          - **ResourceId** *(string) --* The resource ID to include in SPEKE key requests.
          

          - **SourceArn** *(string) --* ARN of the source object in S3.
          

          - **SourceRoleArn** *(string) --* The IAM role ARN used to access the source S3 bucket.
          

          - **Tags** *(dict) --* A collection of tags associated with a resource
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    
      

      - **NextToken** *(string) --* A token that can be used to resume pagination from the end of the collection.
  
  **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`

  