v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1466849.6 KB

Runs one or more SQL statements.

This operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.

post/ExecuteSql

Request body

dbClusterOrInstanceArnstring required

The ARN of the Aurora Serverless DB cluster.

awsSecretStoreArnstring required
<p>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.</p> <p>For information about creating the secret, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create_database_secret.html">Create a database secret</a>.</p>
sqlStatementsstring required
<p>One or more SQL statements to run on the DB cluster.</p> <p>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. </p>
databasestring

The name of the database.

schemastring

The name of the database schema.

Response

Success