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 AccessKeyLastUsed = AccessKeyLastUsed' {
- lastUsedDate :: ISO8601
- serviceName :: Text
- region :: Text
- newAccessKeyLastUsed :: UTCTime -> Text -> Text -> AccessKeyLastUsed
- accessKeyLastUsed_lastUsedDate :: Lens' AccessKeyLastUsed UTCTime
- accessKeyLastUsed_serviceName :: Lens' AccessKeyLastUsed Text
- accessKeyLastUsed_region :: Lens' AccessKeyLastUsed Text
Documentation
data AccessKeyLastUsed Source #
Contains information about the last time an Amazon Web Services access key was used since IAM began tracking this information on April 22, 2015.
This data type is used as a response element in the GetAccessKeyLastUsed operation.
See: newAccessKeyLastUsed
smart constructor.
AccessKeyLastUsed' | |
|
Instances
:: UTCTime | |
-> Text | |
-> Text | |
-> AccessKeyLastUsed |
Create a value of AccessKeyLastUsed
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:lastUsedDate:AccessKeyLastUsed'
, accessKeyLastUsed_lastUsedDate
- The date and time, in
ISO 8601 date-time format, when the
access key was most recently used. This field is null in the following
situations:
- The user does not have an access key.
- An access key exists but has not been used since IAM began tracking this information.
- There is no sign-in data associated with the user.
$sel:serviceName:AccessKeyLastUsed'
, accessKeyLastUsed_serviceName
- The name of the Amazon Web Services service with which this access key
was most recently used. The value of this field is "N/A" in the
following situations:
- The user does not have an access key.
- An access key exists but has not been used since IAM started tracking this information.
- There is no sign-in data associated with the user.
$sel:region:AccessKeyLastUsed'
, accessKeyLastUsed_region
- The Amazon Web Services Region where this access key was most recently
used. The value for this field is "N/A" in the following situations:
- The user does not have an access key.
- An access key exists but has not been used since IAM began tracking this information.
- There is no sign-in data associated with the user.
For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.
accessKeyLastUsed_lastUsedDate :: Lens' AccessKeyLastUsed UTCTime Source #
The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:
- The user does not have an access key.
- An access key exists but has not been used since IAM began tracking this information.
- There is no sign-in data associated with the user.
accessKeyLastUsed_serviceName :: Lens' AccessKeyLastUsed Text Source #
The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:
- The user does not have an access key.
- An access key exists but has not been used since IAM started tracking this information.
- There is no sign-in data associated with the user.
accessKeyLastUsed_region :: Lens' AccessKeyLastUsed Text Source #
The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:
- The user does not have an access key.
- An access key exists but has not been used since IAM began tracking this information.
- There is no sign-in data associated with the user.
For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.