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
- data SSHPublicKey = SSHPublicKey' {}
- newSSHPublicKey :: Text -> Text -> Text -> Text -> StatusType -> SSHPublicKey
- sSHPublicKey_uploadDate :: Lens' SSHPublicKey (Maybe UTCTime)
- sSHPublicKey_userName :: Lens' SSHPublicKey Text
- sSHPublicKey_sSHPublicKeyId :: Lens' SSHPublicKey Text
- sSHPublicKey_fingerprint :: Lens' SSHPublicKey Text
- sSHPublicKey_sSHPublicKeyBody :: Lens' SSHPublicKey Text
- sSHPublicKey_status :: Lens' SSHPublicKey StatusType
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.
SSHPublicKey' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> StatusType | |
-> SSHPublicKey |
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_sSHPublicKeyBody :: Lens' SSHPublicKey Text Source #
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.