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.Types.PublicKeyConfig

Description

 
Synopsis

Documentation

data PublicKeyConfig Source #

Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

See: newPublicKeyConfig smart constructor.

Constructors

PublicKeyConfig' 

Fields

Instances

Instances details
Eq PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Read PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Show PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Generic PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Associated Types

type Rep PublicKeyConfig :: Type -> Type #

NFData PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Methods

rnf :: PublicKeyConfig -> () #

Hashable PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

FromXML PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

ToXML PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Methods

toXML :: PublicKeyConfig -> XML #

type Rep PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

type Rep PublicKeyConfig = D1 ('MetaData "PublicKeyConfig" "Amazonka.CloudFront.Types.PublicKeyConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKeyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encodedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPublicKeyConfig Source #

Create a value of PublicKeyConfig 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:comment:PublicKeyConfig', publicKeyConfig_comment - A comment to describe the public key. The comment cannot be longer than 128 characters.

$sel:callerReference:PublicKeyConfig', publicKeyConfig_callerReference - A string included in the request to help make sure that the request can’t be replayed.

$sel:name:PublicKeyConfig', publicKeyConfig_name - A name to help identify the public key.

$sel:encodedKey:PublicKeyConfig', publicKeyConfig_encodedKey - The public key that you can use with signed URLs and signed cookies, or with field-level encryption.

publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text) Source #

A comment to describe the public key. The comment cannot be longer than 128 characters.

publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text Source #

A string included in the request to help make sure that the request can’t be replayed.

publicKeyConfig_name :: Lens' PublicKeyConfig Text Source #

A name to help identify the public key.