import { _SqlParameter } from "./_SqlParameter"; import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** *

The request parameters represent the input of a request to run a SQL statement against * a database.

*/ export interface ExecuteStatementInput { /** *

A value that indicates whether to continue running the statement after * the call times out. By default, the statement stops running when the call * times out.

* *

For DDL statements, we recommend continuing to run the statement after * the call times out. When a DDL statement terminates before it is finished * running, it can result in errors and possibly corrupted data structures.

*
*/ continueAfterTimeout?: boolean; /** *

The name of the database.

*/ database?: string; /** *

A value that indicates whether to include metadata in the results.

*/ includeResultMetadata?: boolean; /** *

The parameters for the SQL statement.

*/ parameters?: Array<_SqlParameter> | Iterable<_SqlParameter>; /** *

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

*/ resourceArn: string; /** *

The name of the database schema.

*/ schema?: string; /** *

The name or ARN of the secret that enables access to the DB cluster.

*/ secretArn: string; /** *

The SQL statement to run.

*/ sql: string; /** *

The identifier of a transaction that was started by using the * BeginTransaction operation. Specify the transaction ID of the * transaction that you want to include the SQL statement in.

*

If the SQL statement is not part of a transaction, don't set this parameter.

*/ transactionId?: string; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }