You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RDSDataService::Types::BatchExecuteStatementRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb

Overview

Note:

When making an API call, you may pass BatchExecuteStatementRequest data as a hash:

{
  database: "DbName",
  parameter_sets: [
    [
      {
        name: "ParameterName",
        value: {
          blob_value: "data",
          boolean_value: false,
          double_value: 1.0,
          is_null: false,
          long_value: 1,
          string_value: "String",
        },
      },
    ],
  ],
  resource_arn: "Arn", # required
  schema: "DbName",
  secret_arn: "Arn", # required
  sql: "SqlStatement", # required
  transaction_id: "Id",
}

The request parameters represent the input of a SQL statement over an array of data.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

The name of the database.

Returns:

  • (String)


108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end

#parameter_setsArray<Array<Types::SqlParameter>>

The parameter set for the batch operation.

Returns:



108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end

#resource_arnString

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

Returns:

  • (String)


108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end

#schemaString

The name of the database schema.

Returns:

  • (String)


108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end

#secret_arnString

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

Returns:

  • (String)


108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end

#sqlString

The SQL statement to run.

Returns:

  • (String)


108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end

#transaction_idString

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.

Returns:

  • (String)


108
109
110
111
112
113
114
115
116
117
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 108

class BatchExecuteStatementRequest < Struct.new(
  :database,
  :parameter_sets,
  :resource_arn,
  :schema,
  :secret_arn,
  :sql,
  :transaction_id)
  include Aws::Structure
end