accept_delegation_request¶
Operation¶
accept_delegation_request
async
¶
accept_delegation_request(input: AcceptDelegationRequestInput, plugins: list[Plugin] | None = None) -> AcceptDelegationRequestOutput
Accepts a delegation request, granting the requested temporary access.
Once the delegation request is accepted, it is eligible to send the exchange token to the partner. The SendDelegationToken API has to be explicitly called to send the delegation token.
At the time of acceptance, IAM records the details and the state of the identity that called this API. This is the identity that gets mapped to the delegated credential.
An accepted request may be rejected before the exchange token is sent to the partner.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
AcceptDelegationRequestInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
AcceptDelegationRequestOutput
|
An instance of |
Input¶
AcceptDelegationRequestInput
dataclass
¶
Output¶
AcceptDelegationRequestOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for AcceptDelegationRequestOutput structure.