list_trust_store_certificates

WorkSpacesWeb.Client.list_trust_store_certificates(**kwargs)

Retrieves a list of trust store certificates.

See also: AWS API Documentation

Request Syntax

response = client.list_trust_store_certificates(
    maxResults=123,
    nextToken='string',
    trustStoreArn='string'
)
Parameters
  • maxResults (integer) -- The maximum number of results to be included in the next page.
  • nextToken (string) -- The pagination token used to retrieve the next page of results for this operation.
  • trustStoreArn (string) --

    [REQUIRED]

    The ARN of the trust store

Return type

dict

Returns

Response Syntax

{
    'certificateList': [
        {
            'issuer': 'string',
            'notValidAfter': datetime(2015, 1, 1),
            'notValidBefore': datetime(2015, 1, 1),
            'subject': 'string',
            'thumbprint': 'string'
        },
    ],
    'nextToken': 'string',
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • certificateList (list) --

      The certificate list.

      • (dict) --

        The summary of the certificate.

        • issuer (string) --

          The entity that issued the certificate.

        • notValidAfter (datetime) --

          The certificate is not valid after this date.

        • notValidBefore (datetime) --

          The certificate is not valid before this date.

        • subject (string) --

          The entity the certificate belongs to.

        • thumbprint (string) --

          A hexadecimal identifier for the certificate.

    • nextToken (string) --

      The pagination token used to retrieve the next page of results for this operation.>

    • trustStoreArn (string) --

      The ARN of the trust store.

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException
  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException
  • WorkSpacesWeb.Client.exceptions.AccessDeniedException
  • WorkSpacesWeb.Client.exceptions.ThrottlingException
  • WorkSpacesWeb.Client.exceptions.ValidationException