Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
See: newPublicKey
smart constructor.
PublicKey' | |
|
Instances
Eq PublicKey Source # | |
Read PublicKey Source # | |
Show PublicKey Source # | |
Generic PublicKey Source # | |
NFData PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey | |
Hashable PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey | |
FromXML PublicKey Source # | |
type Rep PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudFront.Types.PublicKey" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "publicKeyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PublicKeyConfig)))) |
:: Text | |
-> UTCTime | |
-> PublicKeyConfig | |
-> PublicKey |
Create a value of PublicKey
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:id:PublicKey'
, publicKey_id
- The identifier of the public key.
$sel:createdTime:PublicKey'
, publicKey_createdTime
- The date and time when the public key was uploaded.
$sel:publicKeyConfig:PublicKey'
, publicKey_publicKeyConfig
- Configuration information about a public key that you can use with
signed URLs and signed cookies,
or with
field-level encryption.
publicKey_createdTime :: Lens' PublicKey UTCTime Source #
The date and time when the public key was uploaded.
publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig Source #
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.