IAM / Client / associate_delegation_request
associate_delegation_request¶
- IAM.Client.associate_delegation_request(**kwargs)¶
Associates a delegation request with the current identity.
If the partner that created the delegation request has specified the owner account during creation, only an identity from that owner account can call the
AssociateDelegationRequestAPI for the specified delegation request. Once theAssociateDelegationRequestAPI call is successful, the ARN of the current calling identity will be stored as theownerIdof the request.If the partner that created the delegation request has not specified the owner account during creation, any caller from any account can call the
AssociateDelegationRequestAPI for the delegation request. Once this API call is successful, the ARN of the current calling identity will be stored as theownerIdand the Amazon Web Services account ID of the current calling identity will be stored as theownerAccountof the request.For more details, see Managing Permissions for Delegation Requests.
See also: AWS API Documentation
Request Syntax
response = client.associate_delegation_request( DelegationRequestId='string' )
- Parameters:
DelegationRequestId (string) –
[REQUIRED]
The unique identifier of the delegation request to associate.
- Returns:
None
Exceptions