Class: Aws::IAM::Types::TrackedActionLastAccessed

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

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)


10471
10472
10473
10474
10475
10476
10477
10478
# File 'lib/aws-sdk-iam/types.rb', line 10471

class TrackedActionLastAccessed < Struct.new(
  :action_name,
  :last_accessed_entity,
  :last_accessed_time,
  :last_accessed_region)
  SENSITIVE = []
  include Aws::Structure
end

#last_accessed_entityString

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

For more information about ARNs, go to [Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
# File 'lib/aws-sdk-iam/types.rb', line 10471

class TrackedActionLastAccessed < Struct.new(
  :action_name,
  :last_accessed_entity,
  :last_accessed_time,
  :last_accessed_region)
  SENSITIVE = []
  include Aws::Structure
end

#last_accessed_regionString

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

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

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
# File 'lib/aws-sdk-iam/types.rb', line 10471

class TrackedActionLastAccessed < Struct.new(
  :action_name,
  :last_accessed_entity,
  :last_accessed_time,
  :last_accessed_region)
  SENSITIVE = []
  include Aws::Structure
end

#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. Amazon Web Services does not report unauthenticated requests.

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

[1]: www.iso.org/iso/iso8601 [2]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period

Returns:

  • (Time)


10471
10472
10473
10474
10475
10476
10477
10478
# File 'lib/aws-sdk-iam/types.rb', line 10471

class TrackedActionLastAccessed < Struct.new(
  :action_name,
  :last_accessed_entity,
  :last_accessed_time,
  :last_accessed_region)
  SENSITIVE = []
  include Aws::Structure
end