libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.APIGateway.GetClientCertificate

Description

Gets information about the current ClientCertificate resource.

Synopsis

Creating a Request

data GetClientCertificate Source #

A request to get information about the current ClientCertificate resource.

See: newGetClientCertificate smart constructor.

Constructors

GetClientCertificate' 

Fields

Instances

Instances details
Eq GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Read GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Show GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Generic GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Associated Types

type Rep GetClientCertificate :: Type -> Type #

NFData GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Methods

rnf :: GetClientCertificate -> () #

Hashable GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

AWSRequest GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Associated Types

type AWSResponse GetClientCertificate #

ToHeaders GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

ToPath GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

ToQuery GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

type Rep GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

type Rep GetClientCertificate = D1 ('MetaData "GetClientCertificate" "Amazonka.APIGateway.GetClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetClientCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

newGetClientCertificate Source #

Create a value of GetClientCertificate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientCertificateId:GetClientCertificate', getClientCertificate_clientCertificateId - [Required] The identifier of the ClientCertificate resource to be described.

Request Lenses

getClientCertificate_clientCertificateId :: Lens' GetClientCertificate Text Source #

Required
The identifier of the ClientCertificate resource to be described.

Destructuring the Response

data ClientCertificate Source #

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

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.

Use Client-Side Certificate

See: newClientCertificate smart constructor.

Constructors

ClientCertificate' 

Fields

Instances

Instances details
Eq ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Read ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Show ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Generic ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Associated Types

type Rep ClientCertificate :: Type -> Type #

NFData ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Methods

rnf :: ClientCertificate -> () #

Hashable ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

FromJSON ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate = D1 ('MetaData "ClientCertificate" "Amazonka.APIGateway.Types.ClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ClientCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pemEncodedCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newClientCertificate :: ClientCertificate Source #

Create a value of ClientCertificate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:pemEncodedCertificate:ClientCertificate', clientCertificate_pemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

$sel:clientCertificateId:ClientCertificate', clientCertificate_clientCertificateId - The identifier of the client certificate.

$sel:createdDate:ClientCertificate', clientCertificate_createdDate - The timestamp when the client certificate was created.

$sel:expirationDate:ClientCertificate', clientCertificate_expirationDate - The timestamp when the client certificate will expire.

$sel:description:ClientCertificate', clientCertificate_description - The description of the client certificate.

$sel:tags:ClientCertificate', clientCertificate_tags - The collection of tags. Each tag element is associated with a given resource.

Response Lenses

clientCertificate_pemEncodedCertificate :: Lens' ClientCertificate (Maybe Text) Source #

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

clientCertificate_clientCertificateId :: Lens' ClientCertificate (Maybe Text) Source #

The identifier of the client certificate.

clientCertificate_createdDate :: Lens' ClientCertificate (Maybe UTCTime) Source #

The timestamp when the client certificate was created.

clientCertificate_expirationDate :: Lens' ClientCertificate (Maybe UTCTime) Source #

The timestamp when the client certificate will expire.

clientCertificate_description :: Lens' ClientCertificate (Maybe Text) Source #

The description of the client certificate.

clientCertificate_tags :: Lens' ClientCertificate (Maybe (HashMap Text Text)) Source #

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