Skip to content

List Delegation Requests

iam_list_delegation_requests R Documentation

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

iam_list_delegation_requests(OwnerId, Marker, MaxItems)

Arguments

OwnerId

The owner ID to filter delegation requests by.

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 Marker element in the response that you received to indicate where the next call should start.

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 IsTruncated response element is true.

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 IsTruncated response element returns true, and Marker contains 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
)

Request syntax

svc$list_delegation_requests(
  OwnerId = "string",
  Marker = "string",
  MaxItems = 123
)