AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::AccessDetail

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

An object that contains details about when a principal in the reported AWS Organizations entity last attempted to access an AWS service. A principal can be an IAM user, an IAM role, or the AWS account root user within the reported Organizations entity.

This data type is a response element in the GetOrganizationsAccessReport operation.

Instance Attribute Summary collapse

Instance Attribute Details

#entity_pathString

The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. AWS 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.

Returns:

  • (String)

    The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service.

#last_authenticated_timeTime

The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. AWS 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.

Returns:

  • (Time)

    The date and time, in [ISO 8601 date-time format][1], when an authenticated principal most recently attempted to access the service.

#regionString

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.

Returns:

  • (String)

    The Region where the last service access attempt occurred.

#service_nameString

The name of the service in which access was attempted.

Returns:

  • (String)

    The name of the service in which access was attempted.

#service_namespaceString

The namespace of the service in which access was attempted.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. 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 AWS Service Namespaces in the AWS General Reference.

Returns:

  • (String)

    The namespace of the service in which access was attempted.

#total_authenticated_entitiesInteger

The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.

Returns:

  • (Integer)

    The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.