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

Defined in Network.AWS.CloudFront.UpdatePublicKey

Data UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

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

Defined in Network.AWS.CloudFront.UpdatePublicKey

Show UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Generic UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Associated Types

type Rep UpdatePublicKey :: Type -> Type #

Hashable UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

AWSRequest UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Associated Types

type Rs UpdatePublicKey :: Type #

ToElement UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

ToHeaders UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

ToPath UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

ToQuery UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

NFData UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Methods

rnf :: UpdatePublicKey -> () #

type Rep UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

type Rep UpdatePublicKey = D1 (MetaData "UpdatePublicKey" "Network.AWS.CloudFront.UpdatePublicKey" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "UpdatePublicKey'" PrefixI True) (S1 (MetaSel (Just "_upkIfMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_upkPublicKeyConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PublicKeyConfig) :*: S1 (MetaSel (Just "_upkId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdatePublicKey Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

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

Defined in Network.AWS.CloudFront.UpdatePublicKey

Data UpdatePublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

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

Defined in Network.AWS.CloudFront.UpdatePublicKey

Show UpdatePublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Generic UpdatePublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Associated Types

type Rep UpdatePublicKeyResponse :: Type -> Type #

NFData UpdatePublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

Methods

rnf :: UpdatePublicKeyResponse -> () #

type Rep UpdatePublicKeyResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.UpdatePublicKey

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