IAM / Client / accept_delegation_request
accept_delegation_request¶
- IAM.Client.accept_delegation_request(**kwargs)¶
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.
See also: AWS API Documentation
Request Syntax
response = client.accept_delegation_request( DelegationRequestId='string' )
- Parameters:
DelegationRequestId (string) –
[REQUIRED]
The unique identifier of the delegation request to accept.
- Returns:
None
Exceptions
IAM.Client.exceptions.NoSuchEntityExceptionIAM.Client.exceptions.ServiceFailureExceptionIAM.Client.exceptions.ConcurrentModificationException