Class: Aws::IAM::Types::EntityDetails

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

Overview

An object that contains details about when the IAM entities (users or roles) were last used in an attempt to access the specified Amazon Web Services service.

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entity_infoTypes::EntityInfo

The ‘EntityInfo` object that contains details about the entity (user or role).

Returns:



2608
2609
2610
2611
2612
2613
# File 'lib/aws-sdk-iam/types.rb', line 2608

class EntityDetails < Struct.new(
  :entity_info,
  :last_authenticated)
  SENSITIVE = []
  include Aws::Structure
end

#last_authenticatedTime

The date and time, in [ISO 8601 date-time format], when the authenticated entity last attempted to access Amazon Web Services. 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)


2608
2609
2610
2611
2612
2613
# File 'lib/aws-sdk-iam/types.rb', line 2608

class EntityDetails < Struct.new(
  :entity_info,
  :last_authenticated)
  SENSITIVE = []
  include Aws::Structure
end