amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.DeletePublicKey

Description

Remove a public key you previously added to CloudFront.

Synopsis

Creating a Request

data DeletePublicKey Source #

See: newDeletePublicKey smart constructor.

Constructors

DeletePublicKey' 

Fields

  • ifMatch :: Maybe Text

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

  • id :: Text

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

Instances

Instances details
ToHeaders DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

ToPath DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

ToQuery DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

AWSRequest DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Associated Types

type AWSResponse DeletePublicKey #

Generic DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Associated Types

type Rep DeletePublicKey :: Type -> Type #

Read DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Show DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

NFData DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Methods

rnf :: DeletePublicKey -> () #

Eq DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Hashable DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

type AWSResponse DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

type Rep DeletePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

type Rep DeletePublicKey = D1 ('MetaData "DeletePublicKey" "Amazonka.CloudFront.DeletePublicKey" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DeletePublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ifMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeletePublicKey Source #

Create a value of DeletePublicKey with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ifMatch:DeletePublicKey', deletePublicKey_ifMatch - The value of the ETag header that you received when retrieving the public key identity to delete. For example: E2QWRUHAPOMQZL.

DeletePublicKey, deletePublicKey_id - The ID of the public key you want to remove from CloudFront.

Request Lenses

deletePublicKey_ifMatch :: 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.

deletePublicKey_id :: Lens' DeletePublicKey Text Source #

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

Destructuring the Response

data DeletePublicKeyResponse Source #

See: newDeletePublicKeyResponse smart constructor.

Instances

Instances details
Generic DeletePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Associated Types

type Rep DeletePublicKeyResponse :: Type -> Type #

Read DeletePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Show DeletePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

NFData DeletePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

Methods

rnf :: DeletePublicKeyResponse -> () #

Eq DeletePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

type Rep DeletePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.DeletePublicKey

type Rep DeletePublicKeyResponse = D1 ('MetaData "DeletePublicKeyResponse" "Amazonka.CloudFront.DeletePublicKey" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DeletePublicKeyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeletePublicKeyResponse :: DeletePublicKeyResponse Source #

Create a value of DeletePublicKeyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.