RDSDataService.Client.
rollback_transaction
(**kwargs)¶Performs a rollback of a transaction. Rolling back a transaction cancels its changes.
See also: AWS API Documentation
Request Syntax
response = client.rollback_transaction(
resourceArn='string',
secretArn='string',
transactionId='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
[REQUIRED]
The name or ARN of the secret that enables access to the DB cluster.
[REQUIRED]
The identifier of the transaction to roll back.
dict
Response Syntax
{
'transactionStatus': 'string'
}
Response Structure
(dict) --
The response elements represent the output of a request to perform a rollback of a transaction.
transactionStatus (string) --
The status of the rollback operation.
Exceptions
RDSDataService.Client.exceptions.AccessDeniedException
RDSDataService.Client.exceptions.BadRequestException
RDSDataService.Client.exceptions.StatementTimeoutException
RDSDataService.Client.exceptions.InternalServerErrorException
RDSDataService.Client.exceptions.ForbiddenException
RDSDataService.Client.exceptions.ServiceUnavailableError
RDSDataService.Client.exceptions.NotFoundException