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 AccessDetail = AccessDetail' {}
- newAccessDetail :: Text -> Text -> AccessDetail
- accessDetail_entityPath :: Lens' AccessDetail (Maybe Text)
- accessDetail_region :: Lens' AccessDetail (Maybe Text)
- accessDetail_lastAuthenticatedTime :: Lens' AccessDetail (Maybe UTCTime)
- accessDetail_totalAuthenticatedEntities :: Lens' AccessDetail (Maybe Int)
- accessDetail_serviceName :: Lens' AccessDetail Text
- accessDetail_serviceNamespace :: Lens' AccessDetail Text
Documentation
data AccessDetail Source #
An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service. A principal can be an IAM user, an IAM role, or the Amazon Web Services account root user within the reported Organizations entity.
This data type is a response element in the GetOrganizationsAccessReport operation.
See: newAccessDetail
smart constructor.
AccessDetail' | |
|
Instances
Create a value of AccessDetail
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:entityPath:AccessDetail'
, accessDetail_entityPath
- The path of the Organizations entity (root, organizational unit, or
account) from which an authenticated principal last attempted to access
the service. Amazon Web Services does not report unauthenticated
requests.
This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.
$sel:region:AccessDetail'
, accessDetail_region
- The Region where the last service access attempt occurred.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
$sel:lastAuthenticatedTime:AccessDetail'
, accessDetail_lastAuthenticatedTime
- The date and time,
in ISO 8601 date-time format, when an
authenticated principal most recently attempted to access the service.
Amazon Web Services does not report unauthenticated requests.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
$sel:totalAuthenticatedEntities:AccessDetail'
, accessDetail_totalAuthenticatedEntities
- The number of accounts with authenticated principals (root users, IAM
users, and IAM roles) that attempted to access the service in the
reporting period.
$sel:serviceName:AccessDetail'
, accessDetail_serviceName
- The name of the service in which access was attempted.
$sel:serviceNamespace:AccessDetail'
, accessDetail_serviceNamespace
- The namespace of the service in which access was attempted.
To learn the service namespace of a service, see
Actions, resources, and condition keys for Amazon Web Services services
in the Service Authorization Reference. Choose the name of the service
to view details for that service. In the first paragraph, find the
service prefix. For example, (service prefix: a4b)
. For more
information about service namespaces, see
Amazon Web Services service namespaces
in the Amazon Web Services General Reference.
accessDetail_entityPath :: Lens' AccessDetail (Maybe Text) Source #
The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.
accessDetail_region :: Lens' AccessDetail (Maybe Text) Source #
The Region where the last service access attempt occurred.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
accessDetail_lastAuthenticatedTime :: Lens' AccessDetail (Maybe UTCTime) Source #
The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
accessDetail_totalAuthenticatedEntities :: Lens' AccessDetail (Maybe Int) Source #
The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.
accessDetail_serviceName :: Lens' AccessDetail Text Source #
The name of the service in which access was attempted.
accessDetail_serviceNamespace :: Lens' AccessDetail Text Source #
The namespace of the service in which access was attempted.
To learn the service namespace of a service, see
Actions, resources, and condition keys for Amazon Web Services services
in the Service Authorization Reference. Choose the name of the service
to view details for that service. In the first paragraph, find the
service prefix. For example, (service prefix: a4b)
. For more
information about service namespaces, see
Amazon Web Services service namespaces
in the Amazon Web Services General Reference.