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::TrackedActionLastAccessed

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

Overview

Contains details about the most recent attempt to access an action within the service.

This data type is used as a response element in the GetServiceLastAccessedDetails operation.

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

The name of the tracked action to which access was attempted. Tracked actions are actions that report activity to IAM.

Returns:

  • (String)

    The name of the tracked action to which access was attempted.

#last_accessed_entityString

The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.

For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Returns:

  • (String)

    The Amazon Resource Name (ARN).

#last_accessed_regionString

The Region from which the authenticated entity (user or role) last attempted to access the tracked action. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period.

Returns:

  • (String)

    The Region from which the authenticated entity (user or role) last attempted to access the tracked action.

#last_accessed_timeTime

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the tracked service. AWS does not report unauthenticated requests.

This field is null if no IAM entities 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 entity most recently attempted to access the tracked service.