CmdID

CmdID / aws / aws rds-data

aws rds-data begin-transaction

Starts a SQL transaction. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To start a SQL transaction

The following begin-transaction example starts a SQL transaction.

aws rds-data begin-transaction --resource-arn "arn:aws:rds:us-west-2:123456789012:cluster:mydbcluster" --database "mydb" --secret-arn "arn:aws:secretsmanager:us-west-2:123456789012:secret:mysecret"Identify
--resource-arnThe Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
--databaseThe name of the database.
--secret-arnThe name or ARN of the secret that enables access to the DB cluster.
Its output
{
    "transactionId": "ABC1234567890xyz"
}

For more information, see Using the Data API for Aurora Serverless in the Amazon RDS User Guide.

Options

4 in the AWS CLI reference
--databaseThe name of the database.
--resource-arnThe Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
--schemaThe name of the database schema.
--secret-arnThe name or ARN of the secret that enables access to the DB cluster.