accept_delegation_request¶
Operation¶
accept_delegation_request
async
¶
accept_delegation_request(request: AcceptDelegationRequestInput | AcceptDelegationRequestInputDict, /, *, plugins: list[Plugin] | None = None) -> AcceptDelegationRequestOutput
accept_delegation_request(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[AcceptDelegationRequestInputDict]) -> 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 |
|---|---|---|---|
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¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
AcceptDelegationRequestInput
dataclass
¶
Dictionaries¶
AcceptDelegationRequestInputDict
¶
Output¶
AcceptDelegationRequestOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for AcceptDelegationRequestOutput structure.