ListDelegationRequests
Lists delegation requests based on the specified criteria.
If a delegation request has no owner, even if it is assigned to a specific account, it will not be part of the
ListDelegationRequests output for that account.
For more details, see Managing Permissions for Delegation Requests.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- Marker
-
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the
Markerelement in the response that you received to indicate where the next call should start.Type: String
Length Constraints: Minimum length of 1. Maximum length of 320.
Pattern:
[\u0020-\u00FF]+Required: No
- MaxItems
-
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the
IsTruncatedresponse element istrue.If you do not include this parameter, the number of items defaults to 100. Note that IAM may return fewer results, even when there are more results available. In that case, the
IsTruncatedresponse element returnstrue, andMarkercontains a value to include in the subsequent call that tells the service where to continue from.Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000.
Required: No
- OwnerId
-
The owner ID to filter delegation requests by.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
^[a-zA-Z0-9:/+=,.@_-]+$Required: No
Response Elements
The following elements are returned by the service.
- DelegationRequests.member.N
-
A list of delegation requests that match the specified criteria.
Type: Array of DelegationRequest objects
- isTruncated
-
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the
Markerrequest parameter to retrieve more items.Type: Boolean
- Marker
-
When
isTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.Type: String
Length Constraints: Minimum length of 1. Maximum length of 320.
Pattern:
[\u0020-\u00FF]+
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidInput
-
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
HTTP Status Code: 400
- NoSuchEntity
-
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
HTTP Status Code: 404
- ServiceFailure
-
The request processing has failed because of an unknown error, exception or failure.
HTTP Status Code: 500
Examples
Example
This example illustrates one usage of ListDelegationRequests.
Sample Request
https://iam.amazonaws.com/?Action=ListDelegationRequests
&Version=2010-05-08
&AUTHPARAMS
Sample Response
<ListDelegationRequestsResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<ListDelegationRequestsResult>
<isTruncated>false</isTruncated>
<DelegationRequests>
<member>
<UpdatedTime>2025-11-16T00:00:00.00Z</UpdatedTime>
<DelegationRequestId>e4bdcdae-4f66-11eD-ELEG-ATIONEXAMPLE</DelegationRequestId>
<ApproverId>arn:aws:iam::112233445566:user/Admin</ApproverId>
<Description>Example Request</Description>
<OwnerId>arn:aws:iam::112233445566:user/Alice</OwnerId>
<SessionDuration>3600</SessionDuration>
<RequestorId>665544332211</RequestorId>
<OwnerAccountId>112233445566</OwnerAccountId>
<OnlySendByOwner>false</OnlySendByOwner>
<State>REJECTED</State>
<CreateDate>2025-11-16T01:00:00.00Z</CreateDate>
</member>
</DelegationRequests>
</ListDelegationRequestsResult>
<ResponseMetadata>
<RequestId>e4bdcdae-4f66-11e4-aefa-bfd6aEXAMPLE</RequestId>
</ResponseMetadata>
</ListDelegationRequestsResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: