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 ACCEPTED state when calling this API. After the SendDelegationToken API call is successful, the request transitions to a FINALIZED state and cannot be rolled back. However, a user may reject an accepted request before the SendDelegationToken API 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.NoSuchEntityException

  • IAM.Client.exceptions.ServiceFailureException

  • IAM.Client.exceptions.ConcurrentModificationException

  • IAM.Client.exceptions.InvalidInputException