amazonka-apigateway-1.4.5: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.GenerateClientCertificate

Contents

Description

Generates a ClientCertificate resource.

Synopsis

Creating a Request

generateClientCertificate :: GenerateClientCertificate Source #

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

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

data GenerateClientCertificate Source #

A request to generate a ClientCertificate resource.

See: generateClientCertificate smart constructor.

Instances

Eq GenerateClientCertificate Source # 
Data GenerateClientCertificate Source # 

Methods

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

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

toConstr :: GenerateClientCertificate -> Constr #

dataTypeOf :: GenerateClientCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GenerateClientCertificate Source # 
Show GenerateClientCertificate Source # 
Generic GenerateClientCertificate Source # 
Hashable GenerateClientCertificate Source # 
ToJSON GenerateClientCertificate Source # 
NFData GenerateClientCertificate Source # 
AWSRequest GenerateClientCertificate Source # 
ToPath GenerateClientCertificate Source # 
ToHeaders GenerateClientCertificate Source # 
ToQuery GenerateClientCertificate Source # 
type Rep GenerateClientCertificate Source # 
type Rep GenerateClientCertificate = D1 (MetaData "GenerateClientCertificate" "Network.AWS.APIGateway.GenerateClientCertificate" "amazonka-apigateway-1.4.5-BIK2fycuXdJFBbWQ9Hqf16" True) (C1 (MetaCons "GenerateClientCertificate'" PrefixI True) (S1 (MetaSel (Just Symbol "_gccDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GenerateClientCertificate Source # 

Request Lenses

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:

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 authenticate an API by the back-end server. To authenticate an API client (or user), use a custom Authorizer .Use Client-Side Certificate

See: clientCertificate smart constructor.

Instances

Eq ClientCertificate Source # 
Data ClientCertificate Source # 

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 # 
Show ClientCertificate Source # 
Generic ClientCertificate Source # 
Hashable ClientCertificate Source # 
FromJSON ClientCertificate Source # 
NFData ClientCertificate Source # 

Methods

rnf :: ClientCertificate -> () #

type Rep ClientCertificate Source # 
type Rep ClientCertificate = D1 (MetaData "ClientCertificate" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.5-BIK2fycuXdJFBbWQ9Hqf16" False) (C1 (MetaCons "ClientCertificate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ccPemEncodedCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ccClientCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ccCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_ccExpirationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_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 date when the client certificate was created, in ISO 8601 format .

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

The date when the client certificate will expire, in ISO 8601 format .

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

The description of the client certificate.