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

Contents

Description

Remove a public key you previously added to CloudFront.

Synopsis

Creating a Request

deletePublicKey Source #

Arguments

:: Text

dpkId

-> DeletePublicKey 

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

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

  • dpkIfMatch - The value of the ETag header that you received when retrieving the public key identity to delete. For example: E2QWRUHAPOMQZL .
  • dpkId - The ID of the public key you want to remove from CloudFront.

data DeletePublicKey Source #

See: deletePublicKey smart constructor.

Instances

Eq DeletePublicKey Source # 
Data DeletePublicKey Source # 

Methods

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

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

toConstr :: DeletePublicKey -> Constr #

dataTypeOf :: DeletePublicKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePublicKey Source # 
Show DeletePublicKey Source # 
Generic DeletePublicKey Source # 
Hashable DeletePublicKey Source # 
NFData DeletePublicKey Source # 

Methods

rnf :: DeletePublicKey -> () #

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

Request Lenses

dpkIfMatch :: Lens' DeletePublicKey (Maybe Text) Source #

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

dpkId :: Lens' DeletePublicKey Text Source #

The ID of the public key you want to remove from CloudFront.

Destructuring the Response

deletePublicKeyResponse :: DeletePublicKeyResponse Source #

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

data DeletePublicKeyResponse Source #

See: deletePublicKeyResponse smart constructor.

Instances

Eq DeletePublicKeyResponse Source # 
Data DeletePublicKeyResponse Source # 

Methods

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

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

toConstr :: DeletePublicKeyResponse -> Constr #

dataTypeOf :: DeletePublicKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePublicKeyResponse Source # 
Show DeletePublicKeyResponse Source # 
Generic DeletePublicKeyResponse Source # 
NFData DeletePublicKeyResponse Source # 

Methods

rnf :: DeletePublicKeyResponse -> () #

type Rep DeletePublicKeyResponse Source # 
type Rep DeletePublicKeyResponse = D1 * (MetaData "DeletePublicKeyResponse" "Network.AWS.CloudFront.DeletePublicKey" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "DeletePublicKeyResponse'" PrefixI False) (U1 *))