amazonka-apigateway-1.6.1: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.GetClientCertificate

Contents

Description

Gets information about the current ClientCertificate resource.

Synopsis

Creating a Request

getClientCertificate Source #

Creates a value of GetClientCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetClientCertificate Source #

A request to get information about the current ClientCertificate resource.

See: getClientCertificate smart constructor.

Instances
Eq GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Data GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetClientCertificate -> c GetClientCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetClientCertificate #

toConstr :: GetClientCertificate -> Constr #

dataTypeOf :: GetClientCertificate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetClientCertificate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetClientCertificate) #

gmapT :: (forall b. Data b => b -> b) -> GetClientCertificate -> GetClientCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetClientCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetClientCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetClientCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetClientCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetClientCertificate -> m GetClientCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetClientCertificate -> m GetClientCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetClientCertificate -> m GetClientCertificate #

Read GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Show GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Generic GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Associated Types

type Rep GetClientCertificate :: Type -> Type #

Hashable GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

AWSRequest GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Associated Types

type Rs GetClientCertificate :: Type #

ToHeaders GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

ToPath GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

ToQuery GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

NFData GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Methods

rnf :: GetClientCertificate -> () #

type Rep GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

type Rep GetClientCertificate = D1 (MetaData "GetClientCertificate" "Network.AWS.APIGateway.GetClientCertificate" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" True) (C1 (MetaCons "GetClientCertificate'" PrefixI True) (S1 (MetaSel (Just "_gccClientCertificateId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.GetClientCertificate

Request Lenses

gccClientCertificateId :: Lens' GetClientCertificate Text Source #

Required
The identifier of the ClientCertificate resource to be described.

Destructuring the Response

clientCertificate :: ClientCertificate Source #

Creates a value of ClientCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ccPemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .
  • ccClientCertificateId - The identifier of the client certificate.
  • ccCreatedDate - The timestamp when the client certificate was created.
  • ccExpirationDate - The timestamp when the client certificate will expire.
  • ccDescription - The description of the client certificate.

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: clientCertificate smart constructor.

Instances
Eq ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClientCertificate -> c ClientCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClientCertificate #

toConstr :: ClientCertificate -> Constr #

dataTypeOf :: ClientCertificate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ClientCertificate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClientCertificate) #

gmapT :: (forall b. Data b => b -> b) -> ClientCertificate -> ClientCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClientCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClientCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ClientCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ClientCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClientCertificate -> m ClientCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClientCertificate -> m ClientCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClientCertificate -> m ClientCertificate #

Read ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep ClientCertificate :: Type -> Type #

Hashable ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: ClientCertificate -> () #

type Rep ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep ClientCertificate = D1 (MetaData "ClientCertificate" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "ClientCertificate'" PrefixI True) ((S1 (MetaSel (Just "_ccPemEncodedCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccClientCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ccCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_ccExpirationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_ccDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

Response Lenses

ccPemEncodedCertificate :: 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 .

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

The identifier of the client certificate.

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

The timestamp when the client certificate was created.

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

The timestamp when the client certificate will expire.

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

The description of the client certificate.