| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.Types.PublicKey
Description
Synopsis
Documentation
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
See: newPublicKey smart constructor.
Constructors
| PublicKey' | |
Fields
| |
Instances
| FromXML PublicKey Source # | |
| Generic PublicKey Source # | |
| Read PublicKey Source # | |
| Show PublicKey Source # | |
| NFData PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey | |
| Eq PublicKey Source # | |
| Hashable PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey | |
| type Rep PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudFront.Types.PublicKey" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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)))) | |
Arguments
| :: 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.