:doc:`CloudFront <../../cloudfront>` / Client / list_trust_stores

*****************
list_trust_stores
*****************



.. py:method:: CloudFront.Client.list_trust_stores(**kwargs)

  

  Lists trust stores.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTrustStores>`_  


  **Request Syntax**
  ::

    response = client.list_trust_stores(
        Marker='string',
        MaxItems=123
    )
    
  :type Marker: string
  :param Marker: 

    Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of ``NextMarker`` from the current page's response.

    

  
  :type MaxItems: integer
  :param MaxItems: 

    The maximum number of trust stores that you want returned in the response.

    

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

    
    ::

      {
          'NextMarker': 'string',
          'TrustStoreList': [
              {
                  'Id': 'string',
                  'Arn': 'string',
                  'Name': 'string',
                  'Status': 'pending'|'active'|'failed',
                  'NumberOfCaCertificates': 123,
                  'LastModifiedTime': datetime(2015, 1, 1),
                  'Reason': 'string',
                  'ETag': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextMarker** *(string) --* 

        Indicates the next page of trust stores. To get the next page of the list, use this value in the ``Marker`` field of your request.

        
      

      - **TrustStoreList** *(list) --* 

        The trust store list.

        
        

        - *(dict) --* 

          A trust store summary.

          
          

          - **Id** *(string) --* 

            The trust store's ID.

            
          

          - **Arn** *(string) --* 

            The trust store's Amazon Resource Name (ARN).

            
          

          - **Name** *(string) --* 

            The trust store's name.

            
          

          - **Status** *(string) --* 

            The trust store's status.

            
          

          - **NumberOfCaCertificates** *(integer) --* 

            The trust store's number of CA certificates.

            
          

          - **LastModifiedTime** *(datetime) --* 

            The trust store's last modified time.

            
          

          - **Reason** *(string) --* 

            The trust store's reason.

            
          

          - **ETag** *(string) --* 

            The version identifier for the current version of the trust store.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`CloudFront.Client.exceptions.AccessDenied`

  
  *   :py:class:`CloudFront.Client.exceptions.EntityNotFound`

  
  *   :py:class:`CloudFront.Client.exceptions.InvalidArgument`

  