get_trust_store_certificate

WorkSpacesWeb.Client.get_trust_store_certificate(**kwargs)

Gets the trust store certificate.

See also: AWS API Documentation

Request Syntax

response = client.get_trust_store_certificate(
    thumbprint='string',
    trustStoreArn='string'
)
Parameters
  • thumbprint (string) --

    [REQUIRED]

    The thumbprint of the trust store certificate.

  • trustStoreArn (string) --

    [REQUIRED]

    The ARN of the trust store certificate.

Return type

dict

Returns

Response Syntax

{
    'certificate': {
        'body': b'bytes',
        'issuer': 'string',
        'notValidAfter': datetime(2015, 1, 1),
        'notValidBefore': datetime(2015, 1, 1),
        'subject': 'string',
        'thumbprint': 'string'
    },
    'trustStoreArn': 'string'
}

Response Structure

  • (dict) --

    • certificate (dict) --

      The certificate of the trust store certificate.

      • body (bytes) --

        The body 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.

    • trustStoreArn (string) --

      The ARN of the trust store certificate.

Exceptions

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