class Amazonite::Iam::EntityDetails

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.

Defined in:

iam/entity_details.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(entity_info : EntityInfo, last_authenticated : Time | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def entity_info : EntityInfo #

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


[View source]
def entity_info=(entity_info : EntityInfo) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last_authenticated : Time | Nil #

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.


[View source]
def last_authenticated=(last_authenticated : Time | Nil) #

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.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]