Lists delegation requests based on the specified criteria¶
Description¶
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 list_delegation_requests output for that account.
For more details, see Managing Permissions for Delegation Requests.
Usage¶
Arguments¶
-
OwnerIdThe owner ID to filter delegation requests by.
-
MarkerUse 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. -
MaxItemsUse 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.
Value¶
A list with the following syntax:
list(
DelegationRequests = list(
list(
DelegationRequestId = "string",
OwnerAccountId = "string",
Description = "string",
RequestMessage = "string",
Permissions = list(
PolicyTemplateArn = "string",
Parameters = list(
list(
Name = "string",
Values = list(
"string"
),
Type = "string"|"stringList"
)
)
),
PermissionPolicy = "string",
RolePermissionRestrictionArns = list(
"string"
),
OwnerId = "string",
ApproverId = "string",
State = "UNASSIGNED"|"ASSIGNED"|"PENDING_APPROVAL"|"FINALIZED"|"ACCEPTED"|"REJECTED"|"EXPIRED",
ExpirationTime = as.POSIXct(
"2015-01-01"
),
RequestorId = "string",
RequestorName = "string",
CreateDate = as.POSIXct(
"2015-01-01"
),
SessionDuration = 123,
RedirectUrl = "string",
Notes = "string",
RejectionReason = "string",
OnlySendByOwner = TRUE|FALSE,
UpdatedTime = as.POSIXct(
"2015-01-01"
)
)
),
Marker = "string",
isTruncated = TRUE|FALSE
)