amazonka-cloudfront-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Data GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

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 # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Show GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Generic GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Associated Types

type Rep GetPublicKey :: Type -> Type #

Hashable GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

AWSRequest GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Associated Types

type Rs GetPublicKey :: Type #

ToHeaders GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

ToPath GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

ToQuery GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

NFData GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Methods

rnf :: GetPublicKey -> () #

type Rep GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

type Rep GetPublicKey = D1 (MetaData "GetPublicKey" "Network.AWS.CloudFront.GetPublicKey" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" True) (C1 (MetaCons "GetPublicKey'" PrefixI True) (S1 (MetaSel (Just "_gpkId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetPublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

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 # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Data GetPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

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 # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Show GetPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Generic GetPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Associated Types

type Rep GetPublicKeyResponse :: Type -> Type #

NFData GetPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

Methods

rnf :: GetPublicKeyResponse -> () #

type Rep GetPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetPublicKey

type Rep GetPublicKeyResponse = D1 (MetaData "GetPublicKeyResponse" "Network.AWS.CloudFront.GetPublicKey" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "GetPublicKeyResponse'" PrefixI True) (S1 (MetaSel (Just "_gpkrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gpkrsPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PublicKey)) :*: S1 (MetaSel (Just "_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.