class Amazonite::Sts::GetDelegatedAccessTokenResponse

Defined in:

sts/get_delegated_access_token_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(credentials : Credentials | Nil = nil, packed_policy_size : Int32 | Nil = nil, assumed_principal : 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 assumed_principal : String | Nil #

The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.


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

The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.


[View source]
def credentials : Credentials | Nil #

[View source]
def credentials=(credentials : Credentials | Nil) #

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

See Object#hash(hasher)


def packed_policy_size : Int32 | Nil #

The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.


[View source]
def packed_policy_size=(packed_policy_size : Int32 | Nil) #

The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.


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

[View source]
def validate! : Nil #

[View source]