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.GetPublicKeyConfig

Contents

Description

Return public key configuration informaation

Synopsis

Creating a Request

getPublicKeyConfig Source #

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

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

  • gpkcId - Request the ID for the public key configuration.

data GetPublicKeyConfig Source #

See: getPublicKeyConfig smart constructor.

Instances

Eq GetPublicKeyConfig Source # 
Data GetPublicKeyConfig Source # 

Methods

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

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

toConstr :: GetPublicKeyConfig -> Constr #

dataTypeOf :: GetPublicKeyConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPublicKeyConfig Source # 
Show GetPublicKeyConfig Source # 
Generic GetPublicKeyConfig Source # 
Hashable GetPublicKeyConfig Source # 
NFData GetPublicKeyConfig Source # 

Methods

rnf :: GetPublicKeyConfig -> () #

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

Request Lenses

gpkcId :: Lens' GetPublicKeyConfig Text Source #

Request the ID for the public key configuration.

Destructuring the Response

getPublicKeyConfigResponse Source #

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

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

data GetPublicKeyConfigResponse Source #

See: getPublicKeyConfigResponse smart constructor.

Instances

Eq GetPublicKeyConfigResponse Source # 
Data GetPublicKeyConfigResponse Source # 

Methods

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

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

toConstr :: GetPublicKeyConfigResponse -> Constr #

dataTypeOf :: GetPublicKeyConfigResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPublicKeyConfigResponse Source # 
Show GetPublicKeyConfigResponse Source # 
Generic GetPublicKeyConfigResponse Source # 
NFData GetPublicKeyConfigResponse Source # 
type Rep GetPublicKeyConfigResponse Source # 
type Rep GetPublicKeyConfigResponse = D1 * (MetaData "GetPublicKeyConfigResponse" "Network.AWS.CloudFront.GetPublicKeyConfig" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "GetPublicKeyConfigResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpkcrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpkcrsPublicKeyConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PublicKeyConfig))) (S1 * (MetaSel (Just Symbol "_gpkcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gpkcrsETag :: Lens' GetPublicKeyConfigResponse (Maybe Text) Source #

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

gpkcrsPublicKeyConfig :: Lens' GetPublicKeyConfigResponse (Maybe PublicKeyConfig) Source #

Return the result for the public key configuration.