amazonka-cloudfront-1.6.0: Amazon CloudFront 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.CloudFront.GetPublicKey

Contents

Description

Get the public key information.

Synopsis

Creating a Request

getPublicKey Source #

Arguments

:: Text

gpkId

-> GetPublicKey 

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

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

  • gpkId - Request the ID for the public key.

data GetPublicKey Source #

See: getPublicKey smart constructor.

Instances

Eq GetPublicKey Source # 
Data GetPublicKey Source # 

Methods

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

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

toConstr :: GetPublicKey -> Constr #

dataTypeOf :: GetPublicKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPublicKey Source # 
Show GetPublicKey Source # 
Generic GetPublicKey Source # 

Associated Types

type Rep GetPublicKey :: * -> * #

Hashable GetPublicKey Source # 
NFData GetPublicKey Source # 

Methods

rnf :: GetPublicKey -> () #

AWSRequest GetPublicKey Source # 
ToHeaders GetPublicKey Source # 
ToPath GetPublicKey Source # 
ToQuery GetPublicKey Source # 
type Rep GetPublicKey Source # 
type Rep GetPublicKey = D1 * (MetaData "GetPublicKey" "Network.AWS.CloudFront.GetPublicKey" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" True) (C1 * (MetaCons "GetPublicKey'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gpkId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetPublicKey Source # 

Request Lenses

gpkId :: Lens' GetPublicKey Text Source #

Request the ID for the public key.

Destructuring the Response

getPublicKeyResponse Source #

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

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

data GetPublicKeyResponse Source #

See: getPublicKeyResponse smart constructor.

Instances

Eq GetPublicKeyResponse Source # 
Data GetPublicKeyResponse Source # 

Methods

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

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

toConstr :: GetPublicKeyResponse -> Constr #

dataTypeOf :: GetPublicKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPublicKeyResponse Source # 
Show GetPublicKeyResponse Source # 
Generic GetPublicKeyResponse Source # 
NFData GetPublicKeyResponse Source # 

Methods

rnf :: GetPublicKeyResponse -> () #

type Rep GetPublicKeyResponse Source # 
type Rep GetPublicKeyResponse = D1 * (MetaData "GetPublicKeyResponse" "Network.AWS.CloudFront.GetPublicKey" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "GetPublicKeyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpkrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpkrsPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PublicKey))) (S1 * (MetaSel (Just Symbol "_gpkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gpkrsETag :: Lens' GetPublicKeyResponse (Maybe Text) Source #

The current version of the public key. For example: E2QWRUHAPOMQZL .

gpkrsResponseStatus :: Lens' GetPublicKeyResponse Int Source #

  • - | The response status code.