IAM / Client / send_delegation_token
send_delegation_token¶
- IAM.Client.send_delegation_token(**kwargs)¶
Sends the exchange token for an accepted delegation request.
The exchange token is sent to the partner via an asynchronous notification channel, established by the partner.
The delegation request must be in the
ACCEPTEDstate when calling this API. After theSendDelegationTokenAPI call is successful, the request transitions to aFINALIZEDstate and cannot be rolled back. However, a user may reject an accepted request before theSendDelegationTokenAPI is called.For more details, see Managing Permissions for Delegation Requests.
See also: AWS API Documentation
Request Syntax
response = client.send_delegation_token( DelegationRequestId='string' )
- Parameters:
DelegationRequestId (string) –
[REQUIRED]
The unique identifier of the delegation request for which to send the token.
- Returns:
None
Exceptions
IAM.Client.exceptions.NoSuchEntityExceptionIAM.Client.exceptions.ServiceFailureExceptionIAM.Client.exceptions.ConcurrentModificationExceptionIAM.Client.exceptions.InvalidInputException