APIGateway / Client / get_client_certificate

get_client_certificate#

APIGateway.Client.get_client_certificate(**kwargs)#

Gets information about the current ClientCertificate resource.

See also: AWS API Documentation

Request Syntax

response = client.get_client_certificate(
    clientCertificateId='string'
)
Parameters:

clientCertificateId (string) –

[REQUIRED]

The identifier of the ClientCertificate resource to be described.

Return type:

dict

Returns:

Response Syntax

{
    'clientCertificateId': 'string',
    'description': 'string',
    'pemEncodedCertificate': 'string',
    'createdDate': datetime(2015, 1, 1),
    'expirationDate': datetime(2015, 1, 1),
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

    • clientCertificateId (string) –

      The identifier of the client certificate.

    • description (string) –

      The description of the client certificate.

    • pemEncodedCertificate (string) –

      The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

    • createdDate (datetime) –

      The timestamp when the client certificate was created.

    • expirationDate (datetime) –

      The timestamp when the client certificate will expire.

    • tags (dict) –

      The collection of tags. Each tag element is associated with a given resource.

      • (string) –

        • (string) –

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException