Skip to content

List Replace Permission Associations Work

ram_list_replace_permission_associations_work R Documentation

Retrieves the current status of the asynchronous tasks performed by RAM when you perform the ReplacePermissionAssociationsWork operation

Description

Retrieves the current status of the asynchronous tasks performed by RAM when you perform the ReplacePermissionAssociationsWork operation.

Usage

ram_list_replace_permission_associations_work(workIds, status,
  nextToken, maxResults)

Arguments

workIds

A list of IDs. These values come from the idfield of the replacePermissionAssociationsWorkstructure returned by the replace_permission_associations operation.

status

Specifies that you want to see only the details about requests with a status that matches this value.

nextToken

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

maxResults

Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

Value

A list with the following syntax:

list(
  replacePermissionAssociationsWorks = list(
    list(
      id = "string",
      fromPermissionArn = "string",
      fromPermissionVersion = "string",
      toPermissionArn = "string",
      toPermissionVersion = "string",
      status = "IN_PROGRESS"|"COMPLETED"|"FAILED",
      statusMessage = "string",
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      lastUpdatedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_replace_permission_associations_work(
  workIds = list(
    "string"
  ),
  status = "IN_PROGRESS"|"COMPLETED"|"FAILED",
  nextToken = "string",
  maxResults = 123
)