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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ExecuteSqlRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_secret_store_arn: "Arn", # required
  database: "DbName",
  db_cluster_or_instance_arn: "Arn", # required
  schema: "DbName",
  sql_statements: "SqlStatement", # required
}

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

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.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.

#databaseString

The name of the database.

Returns:

  • (String)

    The name of the database.

#db_cluster_or_instance_arnString

The ARN of the Aurora Serverless DB cluster.

Returns:

  • (String)

    The ARN of the Aurora Serverless DB cluster.

#schemaString

The name of the database schema.

Returns:

  • (String)

    The name of the database schema.

#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)

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