| 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.IAM.Types.SSHPublicKeyMetadata
Description
Synopsis
- data SSHPublicKeyMetadata = SSHPublicKeyMetadata' {
- userName :: Text
- sSHPublicKeyId :: Text
- status :: StatusType
- uploadDate :: ISO8601
- newSSHPublicKeyMetadata :: Text -> Text -> StatusType -> UTCTime -> SSHPublicKeyMetadata
- sSHPublicKeyMetadata_userName :: Lens' SSHPublicKeyMetadata Text
- sSHPublicKeyMetadata_sSHPublicKeyId :: Lens' SSHPublicKeyMetadata Text
- sSHPublicKeyMetadata_status :: Lens' SSHPublicKeyMetadata StatusType
- sSHPublicKeyMetadata_uploadDate :: Lens' SSHPublicKeyMetadata UTCTime
Documentation
data SSHPublicKeyMetadata Source #
Contains information about an SSH public key, without the key's body or fingerprint.
This data type is used as a response element in the ListSSHPublicKeys operation.
See: newSSHPublicKeyMetadata smart constructor.
Constructors
| SSHPublicKeyMetadata' | |
Fields
| |
Instances
newSSHPublicKeyMetadata Source #
Arguments
| :: Text | |
| -> Text | |
| -> StatusType | |
| -> UTCTime | |
| -> SSHPublicKeyMetadata |
Create a value of SSHPublicKeyMetadata 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:userName:SSHPublicKeyMetadata', sSHPublicKeyMetadata_userName - The name of the IAM user associated with the SSH public key.
$sel:sSHPublicKeyId:SSHPublicKeyMetadata', sSHPublicKeyMetadata_sSHPublicKeyId - The unique identifier for the SSH public key.
$sel:status:SSHPublicKeyMetadata', sSHPublicKeyMetadata_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.
$sel:uploadDate:SSHPublicKeyMetadata', sSHPublicKeyMetadata_uploadDate - The date and time, in
ISO 8601 date-time format, when the SSH
public key was uploaded.
sSHPublicKeyMetadata_userName :: Lens' SSHPublicKeyMetadata Text Source #
The name of the IAM user associated with the SSH public key.
sSHPublicKeyMetadata_sSHPublicKeyId :: Lens' SSHPublicKeyMetadata Text Source #
The unique identifier for the SSH public key.
sSHPublicKeyMetadata_status :: Lens' SSHPublicKeyMetadata 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.
sSHPublicKeyMetadata_uploadDate :: Lens' SSHPublicKeyMetadata UTCTime Source #
The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.