libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.Types.SSHPublicKey

Description

 
Synopsis

Documentation

data SSHPublicKey Source #

Contains information about an SSH public key.

This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey operations.

See: newSSHPublicKey smart constructor.

Constructors

SSHPublicKey' 

Fields

Instances

Instances details
Eq SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

Read SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

Show SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

Generic SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

Associated Types

type Rep SSHPublicKey :: Type -> Type #

NFData SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

Methods

rnf :: SSHPublicKey -> () #

Hashable SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

FromXML SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

type Rep SSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.Types.SSHPublicKey

type Rep SSHPublicKey = D1 ('MetaData "SSHPublicKey" "Amazonka.IAM.Types.SSHPublicKey" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "SSHPublicKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "uploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sSHPublicKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "fingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "sSHPublicKeyBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StatusType)))))

newSSHPublicKey Source #

Create a value of SSHPublicKey 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:uploadDate:SSHPublicKey', sSHPublicKey_uploadDate - The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.

$sel:userName:SSHPublicKey', sSHPublicKey_userName - The name of the IAM user associated with the SSH public key.

$sel:sSHPublicKeyId:SSHPublicKey', sSHPublicKey_sSHPublicKeyId - The unique identifier for the SSH public key.

$sel:fingerprint:SSHPublicKey', sSHPublicKey_fingerprint - The MD5 message digest of the SSH public key.

$sel:sSHPublicKeyBody:SSHPublicKey', sSHPublicKey_sSHPublicKeyBody - The SSH public key.

$sel:status:SSHPublicKey', sSHPublicKey_status - The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.

sSHPublicKey_uploadDate :: Lens' SSHPublicKey (Maybe UTCTime) Source #

The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.

sSHPublicKey_userName :: Lens' SSHPublicKey Text Source #

The name of the IAM user associated with the SSH public key.

sSHPublicKey_sSHPublicKeyId :: Lens' SSHPublicKey Text Source #

The unique identifier for the SSH public key.

sSHPublicKey_fingerprint :: Lens' SSHPublicKey Text Source #

The MD5 message digest of the SSH public key.

sSHPublicKey_status :: Lens' SSHPublicKey StatusType Source #

The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.