Class: Aws::RDSDataService::Types::ExecuteSqlRequest

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

Overview

The request parameters represent the input of a request to run one or more SQL statements.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_secret_store_arnString

The Amazon Resource Name (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.

Returns:

  • (String)


414
415
416
417
418
419
420
421
422
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 414

class ExecuteSqlRequest < Struct.new(
  :db_cluster_or_instance_arn,
  :aws_secret_store_arn,
  :sql_statements,
  :database,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#databaseString

The name of the database.

Returns:

  • (String)


414
415
416
417
418
419
420
421
422
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 414

class ExecuteSqlRequest < Struct.new(
  :db_cluster_or_instance_arn,
  :aws_secret_store_arn,
  :sql_statements,
  :database,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#db_cluster_or_instance_arnString

The ARN of the Aurora Serverless DB cluster.

Returns:

  • (String)


414
415
416
417
418
419
420
421
422
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 414

class ExecuteSqlRequest < Struct.new(
  :db_cluster_or_instance_arn,
  :aws_secret_store_arn,
  :sql_statements,
  :database,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#schemaString

The name of the database schema.

Returns:

  • (String)


414
415
416
417
418
419
420
421
422
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 414

class ExecuteSqlRequest < Struct.new(
  :db_cluster_or_instance_arn,
  :aws_secret_store_arn,
  :sql_statements,
  :database,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#sql_statementsString

One or more SQL statements to run on the DB cluster.

You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.

Returns:

  • (String)


414
415
416
417
418
419
420
421
422
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 414

class ExecuteSqlRequest < Struct.new(
  :db_cluster_or_instance_arn,
  :aws_secret_store_arn,
  :sql_statements,
  :database,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end