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

Contents

Description

Update public key information. Note that the only value you can change is the comment.

Synopsis

Creating a Request

updatePublicKey Source #

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

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

  • upkIfMatch - The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL .
  • upkPublicKeyConfig - Request to update public key information.
  • upkId - ID of the public key to be updated.

data UpdatePublicKey Source #

See: updatePublicKey smart constructor.

Instances

Eq UpdatePublicKey Source # 
Data UpdatePublicKey Source # 

Methods

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

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

toConstr :: UpdatePublicKey -> Constr #

dataTypeOf :: UpdatePublicKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePublicKey Source # 
Show UpdatePublicKey Source # 
Generic UpdatePublicKey Source # 
Hashable UpdatePublicKey Source # 
NFData UpdatePublicKey Source # 

Methods

rnf :: UpdatePublicKey -> () #

AWSRequest UpdatePublicKey Source # 
ToElement UpdatePublicKey Source # 
ToHeaders UpdatePublicKey Source # 
ToPath UpdatePublicKey Source # 
ToQuery UpdatePublicKey Source # 
type Rep UpdatePublicKey Source # 
type Rep UpdatePublicKey = D1 * (MetaData "UpdatePublicKey" "Network.AWS.CloudFront.UpdatePublicKey" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "UpdatePublicKey'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_upkIfMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upkPublicKeyConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * PublicKeyConfig)) (S1 * (MetaSel (Just Symbol "_upkId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdatePublicKey Source # 

Request Lenses

upkIfMatch :: Lens' UpdatePublicKey (Maybe Text) Source #

The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL .

upkPublicKeyConfig :: Lens' UpdatePublicKey PublicKeyConfig Source #

Request to update public key information.

upkId :: Lens' UpdatePublicKey Text Source #

ID of the public key to be updated.

Destructuring the Response

updatePublicKeyResponse Source #

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

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

data UpdatePublicKeyResponse Source #

See: updatePublicKeyResponse smart constructor.

Instances

Eq UpdatePublicKeyResponse Source # 
Data UpdatePublicKeyResponse Source # 

Methods

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

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

toConstr :: UpdatePublicKeyResponse -> Constr #

dataTypeOf :: UpdatePublicKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePublicKeyResponse Source # 
Show UpdatePublicKeyResponse Source # 
Generic UpdatePublicKeyResponse Source # 
NFData UpdatePublicKeyResponse Source # 

Methods

rnf :: UpdatePublicKeyResponse -> () #

type Rep UpdatePublicKeyResponse Source # 
type Rep UpdatePublicKeyResponse = D1 * (MetaData "UpdatePublicKeyResponse" "Network.AWS.CloudFront.UpdatePublicKey" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "UpdatePublicKeyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_upkrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upkrsPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PublicKey))) (S1 * (MetaSel (Just Symbol "_upkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

upkrsETag :: Lens' UpdatePublicKeyResponse (Maybe Text) Source #

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

upkrsPublicKey :: Lens' UpdatePublicKeyResponse (Maybe PublicKey) Source #

Return the results of updating the public key.