Class: Aws::RDSDataService::Types::BatchExecuteStatementRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDSDataService::Types::BatchExecuteStatementRequest
- Defined in:
- gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb
Overview
The request parameters represent the input of a SQL statement over an array of data.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#database ⇒ String
The name of the database.
-
#parameter_sets ⇒ Array<Array<Types::SqlParameter>>
The parameter set for the batch operation.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
-
#schema ⇒ String
The name of the database schema.
-
#secret_arn ⇒ String
The ARN of the secret that enables access to the DB cluster.
-
#sql ⇒ String
The SQL statement to run.
-
#transaction_id ⇒ String
The identifier of a transaction that was started by using the
BeginTransaction
operation.
Instance Attribute Details
#database ⇒ String
The name of the database.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |
#parameter_sets ⇒ Array<Array<Types::SqlParameter>>
The parameter set for the batch operation.
The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
Specify one or more empty parameter sets.
Use the
ExecuteStatement
operation instead of theBatchExecuteStatement
operation.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |
#schema ⇒ String
The name of the database schema.
schema
parameter isn't supported.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |
#secret_arn ⇒ String
The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |
#sql ⇒ String
The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |
#transaction_id ⇒ 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.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 152 class BatchExecuteStatementRequest < Struct.new( :resource_arn, :secret_arn, :sql, :database, :schema, :parameter_sets, :transaction_id) SENSITIVE = [] include Aws::Structure end |