accept_delegation_request¶
Operation¶
accept_delegation_request
¶
accept_delegation_request(request: AcceptDelegationRequestInput | AcceptDelegationRequestInputDict | None = None, /, *, 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 |
|---|---|---|---|
request
|
AcceptDelegationRequestInput | AcceptDelegationRequestInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[AcceptDelegationRequestInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
AcceptDelegationRequestOutput
|
An instance of |
accept_delegation_request
async
¶
accept_delegation_request(request: AcceptDelegationRequestInput | AcceptDelegationRequestInputDict | None = None, /, *, 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 |
|---|---|---|---|
request
|
AcceptDelegationRequestInput | AcceptDelegationRequestInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[AcceptDelegationRequestInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
AcceptDelegationRequestOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
AcceptDelegationRequestOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for AcceptDelegationRequestOutput structure.