CloudFront / Client / list_trust_stores

list_trust_stores

CloudFront.Client.list_trust_stores(**kwargs)

Lists trust stores.

See also: AWS API Documentation

Request Syntax

response = client.list_trust_stores(
    Marker='string',
    MaxItems=123
)
Parameters:
  • Marker (string) – 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.

  • MaxItems (integer) – The maximum number of trust stores that you want returned in the response.

Return type:

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

  • CloudFront.Client.exceptions.AccessDenied

  • CloudFront.Client.exceptions.EntityNotFound

  • CloudFront.Client.exceptions.InvalidArgument