Skip to content

List Resource Requests

cloudcontrolapi_list_resource_requests R Documentation

Returns existing resource operation requests

Description

Returns existing resource operation requests. This includes requests of all status types. For more information, see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide.

Resource operation requests expire after 7 days.

Usage

cloudcontrolapi_list_resource_requests(MaxResults, NextToken,
  ResourceRequestStatusFilter)

Arguments

MaxResults

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

The default is 20.

NextToken

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

ResourceRequestStatusFilter

The filter criteria to apply to the requests returned.

Value

A list with the following syntax:

list(
  ResourceRequestStatusSummaries = list(
    list(
      TypeName = "string",
      Identifier = "string",
      RequestToken = "string",
      Operation = "CREATE"|"DELETE"|"UPDATE",
      OperationStatus = "PENDING"|"IN_PROGRESS"|"SUCCESS"|"FAILED"|"CANCEL_IN_PROGRESS"|"CANCEL_COMPLETE",
      EventTime = as.POSIXct(
        "2015-01-01"
      ),
      ResourceModel = "string",
      StatusMessage = "string",
      ErrorCode = "NotUpdatable"|"InvalidRequest"|"AccessDenied"|"InvalidCredentials"|"AlreadyExists"|"NotFound"|"ResourceConflict"|"Throttling"|"ServiceLimitExceeded"|"NotStabilized"|"GeneralServiceException"|"ServiceInternalError"|"ServiceTimeout"|"NetworkFailure"|"InternalFailure",
      RetryAfter = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_resource_requests(
  MaxResults = 123,
  NextToken = "string",
  ResourceRequestStatusFilter = list(
    Operations = list(
      "CREATE"|"DELETE"|"UPDATE"
    ),
    OperationStatuses = list(
      "PENDING"|"IN_PROGRESS"|"SUCCESS"|"FAILED"|"CANCEL_IN_PROGRESS"|"CANCEL_COMPLETE"
    )
  )
)