Skip to content

Cancel Resource Request

cloudcontrolapi_cancel_resource_request R Documentation

Cancels the specified resource operation request

Description

Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the Amazon Web Services Cloud Control API User Guide.

Only resource operations requests with a status of PENDING or IN_PROGRESS can be canceled.

Usage

cloudcontrolapi_cancel_resource_request(RequestToken)

Arguments

RequestToken

[required] The RequestToken of the ProgressEvent object returned by the resource operation request.

Value

A list with the following syntax:

list(
  ProgressEvent = 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"
    )
  )
)

Request syntax

svc$cancel_resource_request(
  RequestToken = "string"
)