Amazon RDS Data Service
API Reference (API Version 2018-08-01)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

RollbackTransaction

Performs a rollback of a transaction. Rolling back a transaction cancels its changes.

Request Syntax

POST /RollbackTransaction HTTP/1.1 Content-type: application/json { "resourceArn": "string", "secretArn": "string", "transactionId": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

resourceArn

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

Type: String

Length Constraints: Minimum length of 11. Maximum length of 100.

Required: Yes

secretArn

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

Type: String

Length Constraints: Minimum length of 11. Maximum length of 100.

Required: Yes

transactionId

The identifier of the transaction to roll back.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 192.

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "transactionStatus": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

transactionStatus

The status of the rollback operation.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 128.

Errors

BadRequestException

There is an error in the call or in a SQL statement.

HTTP Status Code: 400

ForbiddenException

There are insufficient privileges to make the call.

HTTP Status Code: 403

InternalServerErrorException

An internal error occurred.

HTTP Status Code: 500

NotFoundException

The resourceArn, secretArn, or transactionId value can't be found.

HTTP Status Code: 404

ServiceUnavailableError

The service specified by the resourceArn parameter is not available.

HTTP Status Code: 503

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: