libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.UpdatePublicKey

Description

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

Synopsis

Creating a Request

data UpdatePublicKey Source #

See: newUpdatePublicKey smart constructor.

Constructors

UpdatePublicKey' 

Fields

  • ifMatch :: Maybe Text

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

  • publicKeyConfig :: PublicKeyConfig

    A public key configuration.

  • id :: Text

    The identifier of the public key that you are updating.

Instances

Instances details
Eq UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Read UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Show UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Generic UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Associated Types

type Rep UpdatePublicKey :: Type -> Type #

NFData UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Methods

rnf :: UpdatePublicKey -> () #

Hashable UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

AWSRequest UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Associated Types

type AWSResponse UpdatePublicKey #

ToHeaders UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

ToPath UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

ToQuery UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

ToElement UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

type Rep UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

type Rep UpdatePublicKey = D1 ('MetaData "UpdatePublicKey" "Amazonka.CloudFront.UpdatePublicKey" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "UpdatePublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ifMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "publicKeyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PublicKeyConfig) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

newUpdatePublicKey Source #

Create a value of UpdatePublicKey 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:UpdatePublicKey', updatePublicKey_ifMatch - The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL.

$sel:publicKeyConfig:UpdatePublicKey', updatePublicKey_publicKeyConfig - A public key configuration.

$sel:id:UpdatePublicKey', updatePublicKey_id - The identifier of the public key that you are updating.

Request Lenses

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

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

updatePublicKey_id :: Lens' UpdatePublicKey Text Source #

The identifier of the public key that you are updating.

Destructuring the Response

data UpdatePublicKeyResponse Source #

See: newUpdatePublicKeyResponse smart constructor.

Constructors

UpdatePublicKeyResponse' 

Fields

Instances

Instances details
Eq UpdatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Read UpdatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Show UpdatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Generic UpdatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Associated Types

type Rep UpdatePublicKeyResponse :: Type -> Type #

NFData UpdatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

Methods

rnf :: UpdatePublicKeyResponse -> () #

type Rep UpdatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdatePublicKey

type Rep UpdatePublicKeyResponse = D1 ('MetaData "UpdatePublicKeyResponse" "Amazonka.CloudFront.UpdatePublicKey" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "UpdatePublicKeyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "publicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PublicKey)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdatePublicKeyResponse Source #

Create a value of UpdatePublicKeyResponse 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:eTag:UpdatePublicKeyResponse', updatePublicKeyResponse_eTag - The identifier of the current version of the public key.

$sel:publicKey:UpdatePublicKeyResponse', updatePublicKeyResponse_publicKey - The public key.

$sel:httpStatus:UpdatePublicKeyResponse', updatePublicKeyResponse_httpStatus - The response's http status code.

Response Lenses

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

The identifier of the current version of the public key.