class Aws::RDSDataService::Types::ExecuteStatementRequest


@see docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteStatementRequest AWS API Documentation
@return [String]
parameter.
If the SQL statement is not part of a transaction, don’t set this
transaction that you want to include the SQL statement in.
‘BeginTransaction` operation. Specify the transaction ID of the
The identifier of a transaction that was started by using the
@!attribute [rw] transaction_id
@return [String]
The SQL statement to run.
@!attribute [rw] sql
@return [String]
The name or ARN of the secret that enables access to the DB cluster.
@!attribute [rw] secret_arn
@return [String]
The name of the database schema.
@!attribute [rw] schema
@return [Types::ResultSetOptions]
Options that control how the result set is returned.
@!attribute [rw] result_set_options
@return [String]
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
@!attribute [rw] resource_arn
@return [Array<Types::SqlParameter>]
</note>
<note markdown=“1”> Array parameters are not supported.
The parameters for the SQL statement.
@!attribute [rw] parameters
@return [Boolean]
A value that indicates whether to include metadata in the results.
@!attribute [rw] include_result_metadata
@return [String]
The name of the database.
@!attribute [rw] database
@return [Boolean]
data structures.
is finished running, it can result in errors and possibly corrupted
after the call times out. When a DDL statement terminates before it
For DDL statements, we recommend continuing to run the statement
when the call times out.
after the call times out. By default, the statement stops running
A value that indicates whether to continue running the statement
@!attribute [rw] continue_after_timeout
}
transaction_id: “Id”,
sql: “SqlStatement”, # required
secret_arn: “Arn”, # required
schema: “DbName”,
},
decimal_return_type: “DOUBLE_OR_LONG”, # accepts DOUBLE_OR_LONG, STRING
result_set_options: {
resource_arn: “Arn”, # required
],
},
},
string_value: “String”,
long_value: 1,
is_null: false,
double_value: 1.0,
boolean_value: false,
blob_value: “data”,
},
string_values: [“String”],
long_values: [1],
double_values: [1.0],
boolean_values: [false],
],
},
# recursive ArrayValue
{
array_values: [
array_value: {
value: {
type_hint: “DATE”, # accepts DATE, DECIMAL, TIME, TIMESTAMP
name: “ParameterName”,
{
parameters: [
include_result_metadata: false,
database: “DbName”,
continue_after_timeout: false,
{
data as a hash:
@note When making an API call, you may pass ExecuteStatementRequest
statement against a database.
The request parameters represent the input of a request to run a SQL