class Amazonite::Sts::GetCallerIdentityResponse

Overview

Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.

Defined in:

sts/get_caller_identity_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(user_id : String | Nil = nil, account : String | Nil = nil, arn : String | 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 account : String | Nil #

The Amazon Web Services account ID number of the account that owns or contains the calling entity.


[View source]
def account=(account : String | Nil) #

The Amazon Web Services account ID number of the account that owns or contains the calling entity.


[View source]
def arn : String | Nil #

The Amazon Web Services ARN associated with the calling entity.


[View source]
def arn=(arn : String | Nil) #

The Amazon Web Services ARN associated with the calling entity.


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

See Object#hash(hasher)


def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def user_id : String | Nil #

The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.


[View source]
def user_id=(user_id : String | Nil) #

The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.


[View source]
def validate! : Nil #

[View source]