class Amazonite::Iam::DelegationRequest

Overview

Contains information about a delegation request, including its status, permissions, and associated metadata.

Defined in:

iam/delegation_request.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(delegation_request_id : String | Nil = nil, owner_account_id : String | Nil = nil, description : String | Nil = nil, request_message : String | Nil = nil, permissions : DelegationPermission | Nil = nil, permission_policy : String | Nil = nil, role_permission_restriction_arns : Array(String) | Nil = nil, owner_id : String | Nil = nil, approver_id : String | Nil = nil, state : StateType | Nil = nil, expiration_time : Time | Nil = nil, requestor_id : String | Nil = nil, requestor_name : String | Nil = nil, create_date : Time | Nil = nil, session_duration : Int32 | Nil = nil, redirect_url : String | Nil = nil, notes : String | Nil = nil, rejection_reason : String | Nil = nil, only_send_by_owner : Bool | Nil = nil, updated_time : 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 approver_id : String | Nil #

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

[View source]
def create_date : Time | Nil #

Creation date (timestamp) of this delegation request.


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

Creation date (timestamp) of this delegation request.


[View source]
def delegation_request_id : String | Nil #

The unique identifier for the delegation request.


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

The unique identifier for the delegation request.


[View source]
def description : String | Nil #

Description of the delegation request. This is a message that is provided by the Amazon Web Services partner that filed the delegation request.


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

Description of the delegation request. This is a message that is provided by the Amazon Web Services partner that filed the delegation request.


[View source]
def expiration_time : Time | Nil #

The expiry time of this delegation request

See the Understanding the Request Lifecycle for details on the life time of a delegation request at each state.


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

The expiry time of this delegation request

See the Understanding the Request Lifecycle for details on the life time of a delegation request at each state.


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

See Object#hash(hasher)


def notes : String | Nil #

Notes added to this delegation request, if this request was updated via the UpdateDelegationRequest API.


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

Notes added to this delegation request, if this request was updated via the UpdateDelegationRequest API.


[View source]
def only_send_by_owner : Bool | Nil #

A flag indicating whether the SendDelegationToken must be called by the owner of this delegation request. This is set by the requesting partner.


[View source]
def only_send_by_owner=(only_send_by_owner : Bool | Nil) #

A flag indicating whether the SendDelegationToken must be called by the owner of this delegation request. This is set by the requesting partner.


[View source]
def owner_account_id : String | Nil #

Amazon Web Services account ID of the owner of the delegation request.


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

Amazon Web Services account ID of the owner of the delegation request.


[View source]
def owner_id : String | Nil #

ARN of the owner of this delegation request.


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

ARN of the owner of this delegation request.


[View source]
def permission_policy : String | Nil #

JSON content of the associated permission policy of this delegation request.


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

JSON content of the associated permission policy of this delegation request.


[View source]
def permissions : DelegationPermission | Nil #

[View source]
def permissions=(permissions : DelegationPermission | Nil) #

[View source]
def redirect_url : String | Nil #

A URL to be redirected to once the delegation request is approved. Partners provide this URL when creating the delegation request.


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

A URL to be redirected to once the delegation request is approved. Partners provide this URL when creating the delegation request.


[View source]
def rejection_reason : String | Nil #

Reasons for rejecting this delegation request, if this request was rejected. See also RejectDelegationRequest API documentation.


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

Reasons for rejecting this delegation request, if this request was rejected. See also RejectDelegationRequest API documentation.


[View source]
def request_message : String | Nil #

A custom message that is added to the delegation request by the partner.

This element is different from the Description element such that this is a request specific message injected by the partner. The Description is typically a generic explanation of what the delegation request is targeted to do.


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

A custom message that is added to the delegation request by the partner.

This element is different from the Description element such that this is a request specific message injected by the partner. The Description is typically a generic explanation of what the delegation request is targeted to do.


[View source]
def requestor_id : String | Nil #

Identity of the requestor of this delegation request. This will be an Amazon Web Services account ID.


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

Identity of the requestor of this delegation request. This will be an Amazon Web Services account ID.


[View source]
def requestor_name : String | Nil #

A friendly name of the requestor.


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

A friendly name of the requestor.


[View source]
def role_permission_restriction_arns : Array(String) | Nil #

If the PermissionPolicy includes role creation permissions, this element will include the list of permissions boundary policies associated with the role creation. See Permissions boundaries for IAM entities for more details about IAM permission boundaries.


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

If the PermissionPolicy includes role creation permissions, this element will include the list of permissions boundary policies associated with the role creation. See Permissions boundaries for IAM entities for more details about IAM permission boundaries.


[View source]
def session_duration : Int32 | Nil #

The life-time of the requested session credential.


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

The life-time of the requested session credential.


[View source]
def state : StateType | Nil #

The state of this delegation request.

See the Understanding the Request Lifecycle for an explanation of how these states are transitioned.


[View source]
def state=(state : StateType | Nil) #

The state of this delegation request.

See the Understanding the Request Lifecycle for an explanation of how these states are transitioned.


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

[View source]
def updated_time : Time | Nil #

Last updated timestamp of the request.


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

Last updated timestamp of the request.


[View source]
def validate! : Nil #

[View source]