libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
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.CloudTrail.Types.PublicKey

Description

 
Synopsis

Documentation

data PublicKey Source #

Contains information about a returned public key.

See: newPublicKey smart constructor.

Constructors

PublicKey' 

Fields

Instances

Instances details
Eq PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Read PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Show PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Generic PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Associated Types

type Rep PublicKey :: Type -> Type #

NFData PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Methods

rnf :: PublicKey -> () #

Hashable PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

FromJSON PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

type Rep PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudTrail.Types.PublicKey" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "PublicKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "validityEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "validityStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newPublicKey :: PublicKey Source #

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:fingerprint:PublicKey', publicKey_fingerprint - The fingerprint of the public key.

$sel:validityEndTime:PublicKey', publicKey_validityEndTime - The ending time of validity of the public key.

$sel:value:PublicKey', publicKey_value - The DER encoded public key value in PKCS#1 format.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:validityStartTime:PublicKey', publicKey_validityStartTime - The starting time of validity of the public key.

publicKey_fingerprint :: Lens' PublicKey (Maybe Text) Source #

The fingerprint of the public key.

publicKey_validityEndTime :: Lens' PublicKey (Maybe UTCTime) Source #

The ending time of validity of the public key.

publicKey_value :: Lens' PublicKey (Maybe ByteString) Source #

The DER encoded public key value in PKCS#1 format.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

publicKey_validityStartTime :: Lens' PublicKey (Maybe UTCTime) Source #

The starting time of validity of the public key.