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 AccessKeyMetadata = AccessKeyMetadata' {}
- newAccessKeyMetadata :: AccessKeyMetadata
- accessKeyMetadata_status :: Lens' AccessKeyMetadata (Maybe StatusType)
- accessKeyMetadata_createDate :: Lens' AccessKeyMetadata (Maybe UTCTime)
- accessKeyMetadata_userName :: Lens' AccessKeyMetadata (Maybe Text)
- accessKeyMetadata_accessKeyId :: Lens' AccessKeyMetadata (Maybe AccessKey)
Documentation
data AccessKeyMetadata Source #
Contains information about an Amazon Web Services access key, without its secret key.
This data type is used as a response element in the ListAccessKeys operation.
See: newAccessKeyMetadata
smart constructor.
AccessKeyMetadata' | |
|
Instances
newAccessKeyMetadata :: AccessKeyMetadata Source #
Create a value of AccessKeyMetadata
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:status:AccessKeyMetadata'
, accessKeyMetadata_status
- The status of the access key. Active
means that the key is valid for
API calls; Inactive
means it is not.
$sel:createDate:AccessKeyMetadata'
, accessKeyMetadata_createDate
- The date when the access key was created.
$sel:userName:AccessKeyMetadata'
, accessKeyMetadata_userName
- The name of the IAM user that the key is associated with.
$sel:accessKeyId:AccessKeyMetadata'
, accessKeyMetadata_accessKeyId
- The ID for this access key.
accessKeyMetadata_status :: Lens' AccessKeyMetadata (Maybe StatusType) Source #
The status of the access key. Active
means that the key is valid for
API calls; Inactive
means it is not.
accessKeyMetadata_createDate :: Lens' AccessKeyMetadata (Maybe UTCTime) Source #
The date when the access key was created.
accessKeyMetadata_userName :: Lens' AccessKeyMetadata (Maybe Text) Source #
The name of the IAM user that the key is associated with.
accessKeyMetadata_accessKeyId :: Lens' AccessKeyMetadata (Maybe AccessKey) Source #
The ID for this access key.