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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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 AWS service.

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

Instance Attribute Summary collapse

Instance Attribute Details

#entity_infoTypes::EntityInfo

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

Returns:



2748
2749
2750
2751
2752
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2748

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

#last_authenticatedTime

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


2748
2749
2750
2751
2752
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2748

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