IAM / Client / reject_delegation_request
reject_delegation_request¶
- IAM.Client.reject_delegation_request(**kwargs)¶
Rejects a delegation request, denying the requested temporary access.
Once a request is rejected, it cannot be accepted or updated later. Rejected requests expire after 7 days.
When rejecting a request, an optional explanation can be added using the
Notesrequest parameter.For more details, see Managing Permissions for Delegation Requests.
See also: AWS API Documentation
Request Syntax
response = client.reject_delegation_request( DelegationRequestId='string', Notes='string' )
- Parameters:
DelegationRequestId (string) –
[REQUIRED]
The unique identifier of the delegation request to reject.
Notes (string) – Optional notes explaining the reason for rejecting the delegation request.
- Returns:
None
Exceptions
IAM.Client.exceptions.NoSuchEntityExceptionIAM.Client.exceptions.ServiceFailureExceptionIAM.Client.exceptions.ConcurrentModificationExceptionIAM.Client.exceptions.InvalidInputException