class
Amazonite::Iam::DelegationRequest
- Amazonite::Iam::DelegationRequest
- Reference
- Object
Overview
Contains information about a delegation request, including its status, permissions, and associated metadata.
Defined in:
iam/delegation_request.crConstructors
- .from_xml(node : XML::Node) : 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)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. - #approver_id : String | Nil
- #approver_id=(approver_id : String | Nil)
-
#create_date : Time | Nil
Creation date (timestamp) of this delegation request.
-
#create_date=(create_date : Time | Nil)
Creation date (timestamp) of this delegation request.
-
#delegation_request_id : String | Nil
The unique identifier for the delegation request.
-
#delegation_request_id=(delegation_request_id : String | Nil)
The unique identifier for the delegation request.
-
#description : String | Nil
Description of the delegation request.
-
#description=(description : String | Nil)
Description of the delegation request.
-
#expiration_time : Time | Nil
The expiry time of this delegation request
-
#expiration_time=(expiration_time : Time | Nil)
The expiry time of this delegation request
-
#hash(hasher)
See
Object#hash(hasher) -
#notes : String | Nil
Notes added to this delegation request, if this request was updated via the UpdateDelegationRequest API.
-
#notes=(notes : String | Nil)
Notes added to this delegation request, if this request was updated via the UpdateDelegationRequest API.
-
#only_send_by_owner : Bool | Nil
A flag indicating whether the SendDelegationToken must be called by the owner of this delegation request.
-
#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.
-
#owner_account_id : String | Nil
Amazon Web Services account ID of the owner of the delegation request.
-
#owner_account_id=(owner_account_id : String | Nil)
Amazon Web Services account ID of the owner of the delegation request.
-
#owner_id : String | Nil
ARN of the owner of this delegation request.
-
#owner_id=(owner_id : String | Nil)
ARN of the owner of this delegation request.
-
#permission_policy : String | Nil
JSON content of the associated permission policy of this delegation request.
-
#permission_policy=(permission_policy : String | Nil)
JSON content of the associated permission policy of this delegation request.
- #permissions : DelegationPermission | Nil
- #permissions=(permissions : DelegationPermission | Nil)
-
#redirect_url : String | Nil
A URL to be redirected to once the delegation request is approved.
-
#redirect_url=(redirect_url : String | Nil)
A URL to be redirected to once the delegation request is approved.
-
#rejection_reason : String | Nil
Reasons for rejecting this delegation request, if this request was rejected.
-
#rejection_reason=(rejection_reason : String | Nil)
Reasons for rejecting this delegation request, if this request was rejected.
-
#request_message : String | Nil
A custom message that is added to the delegation request by the partner.
-
#request_message=(request_message : String | Nil)
A custom message that is added to the delegation request by the partner.
-
#requestor_id : String | Nil
Identity of the requestor of this delegation request.
-
#requestor_id=(requestor_id : String | Nil)
Identity of the requestor of this delegation request.
-
#requestor_name : String | Nil
A friendly name of the requestor.
-
#requestor_name=(requestor_name : String | Nil)
A friendly name of the requestor.
-
#role_permission_restriction_arns : Array(String) | Nil
If the
PermissionPolicyincludes role creation permissions, this element will include the list of permissions boundary policies associated with the role creation. -
#role_permission_restriction_arns=(role_permission_restriction_arns : Array(String) | Nil)
If the
PermissionPolicyincludes role creation permissions, this element will include the list of permissions boundary policies associated with the role creation. -
#session_duration : Int32 | Nil
The life-time of the requested session credential.
-
#session_duration=(session_duration : Int32 | Nil)
The life-time of the requested session credential.
-
#state : StateType | Nil
The state of this delegation request.
-
#state=(state : StateType | Nil)
The state of this delegation request.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#updated_time : Time | Nil
Last updated timestamp of the request.
-
#updated_time=(updated_time : Time | Nil)
Last updated timestamp of the request.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The unique identifier for the delegation request.
Description of the delegation request. This is a message that is provided by the Amazon Web Services partner that filed the delegation request.
Description of the delegation request. This is a message that is provided by the Amazon Web Services partner that filed the delegation request.
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.
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.
Notes added to this delegation request, if this request was updated via the UpdateDelegationRequest API.
Notes added to this delegation request, if this request was updated via the UpdateDelegationRequest API.
A flag indicating whether the SendDelegationToken must be called by the owner of this delegation request. This is set by the requesting partner.
A flag indicating whether the SendDelegationToken must be called by the owner of this delegation request. This is set by the requesting partner.
Amazon Web Services account ID of the owner of the delegation request.
Amazon Web Services account ID of the owner of the delegation request.
JSON content of the associated permission policy of this delegation request.
JSON content of the associated permission policy of this delegation request.
A URL to be redirected to once the delegation request is approved. Partners provide this URL when creating the delegation request.
A URL to be redirected to once the delegation request is approved. Partners provide this URL when creating the delegation request.
Reasons for rejecting this delegation request, if this request was rejected. See also RejectDelegationRequest API documentation.
Reasons for rejecting this delegation request, if this request was rejected. See also RejectDelegationRequest API documentation.
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.
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.
Identity of the requestor of this delegation request. This will be an Amazon Web Services account ID.
Identity of the requestor of this delegation request. This will be an Amazon Web Services account ID.
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.
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.
The life-time of the requested session credential.
The state of this delegation request.
See the Understanding the Request Lifecycle for an explanation of how these states are transitioned.
The state of this delegation request.
See the Understanding the Request Lifecycle for an explanation of how these states are transitioned.