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

Description

Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption.

Synopsis

Creating a Request

data CreatePublicKey Source #

See: newCreatePublicKey smart constructor.

Constructors

CreatePublicKey' 

Fields

Instances

Instances details
Eq CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Read CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Show CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Generic CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Associated Types

type Rep CreatePublicKey :: Type -> Type #

NFData CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Methods

rnf :: CreatePublicKey -> () #

Hashable CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

AWSRequest CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Associated Types

type AWSResponse CreatePublicKey #

ToHeaders CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

ToPath CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

ToQuery CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

ToElement CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

type Rep CreatePublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

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

Defined in Amazonka.CloudFront.CreatePublicKey

newCreatePublicKey Source #

Create a value of CreatePublicKey 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:publicKeyConfig:CreatePublicKey', createPublicKey_publicKeyConfig - A CloudFront public key configuration.

Request Lenses

Destructuring the Response

data CreatePublicKeyResponse Source #

See: newCreatePublicKeyResponse smart constructor.

Constructors

CreatePublicKeyResponse' 

Fields

Instances

Instances details
Eq CreatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Read CreatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Show CreatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Generic CreatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Associated Types

type Rep CreatePublicKeyResponse :: Type -> Type #

NFData CreatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

Methods

rnf :: CreatePublicKeyResponse -> () #

type Rep CreatePublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.CreatePublicKey

type Rep CreatePublicKeyResponse = D1 ('MetaData "CreatePublicKeyResponse" "Amazonka.CloudFront.CreatePublicKey" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CreatePublicKeyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "location") '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))))

newCreatePublicKeyResponse Source #

Create a value of CreatePublicKeyResponse 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:CreatePublicKeyResponse', createPublicKeyResponse_eTag - The identifier for this version of the public key.

$sel:location:CreatePublicKeyResponse', createPublicKeyResponse_location - The URL of the public key.

$sel:publicKey:CreatePublicKeyResponse', createPublicKeyResponse_publicKey - The public key.

$sel:httpStatus:CreatePublicKeyResponse', createPublicKeyResponse_httpStatus - The response's http status code.

Response Lenses

createPublicKeyResponse_eTag :: Lens' CreatePublicKeyResponse (Maybe Text) Source #

The identifier for this version of the public key.