Skip to content

Cancel Statement

redshiftdataapiservice_cancel_statement R Documentation

Cancels a running query

Description

Cancels a running query. To be canceled, a query must be running.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

Usage

redshiftdataapiservice_cancel_statement(Id)

Arguments

Id

[required] The identifier of the SQL statement to cancel. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and list_statements.

Value

A list with the following syntax:

list(
  Status = TRUE|FALSE
)

Request syntax

svc$cancel_statement(
  Id = "string"
)