class Aws::IAM::Types::AccessDetail
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.
@!attribute [rw] service_name
The name of the service in which access was attempted. @return [String]
@!attribute [rw] service_namespace
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][1] 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][2] in the *Amazon Web Services General Reference*. [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces @return [String]
@!attribute [rw] 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][1]. [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period @return [String]
@!attribute [rw] entity_path
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][1]. [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period @return [String]
@!attribute [rw] last_authenticated_time
The date and time, in [ISO 8601 date-time format][1], 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][2]. [1]: http://www.iso.org/iso/iso8601 [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period @return [Time]
@!attribute [rw] total_authenticated_entities
The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period. @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessDetail AWS API Documentation
Constants
- SENSITIVE