RDSDataService.Client.commit_transaction(**kwargs)¶Ends a SQL transaction started with the BeginTransaction operation and commits the changes.
See also: AWS API Documentation
Request Syntax
response = client.commit_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 end and commit.
dict
Response Syntax
{
'transactionStatus': 'string'
}
Response Structure
(dict) --
The response elements represent the output of a commit transaction request.
transactionStatus (string) --
The status of the commit operation.
Exceptions
RDSDataService.Client.exceptions.AccessDeniedExceptionRDSDataService.Client.exceptions.BadRequestExceptionRDSDataService.Client.exceptions.StatementTimeoutExceptionRDSDataService.Client.exceptions.InternalServerErrorExceptionRDSDataService.Client.exceptions.ForbiddenExceptionRDSDataService.Client.exceptions.ServiceUnavailableErrorRDSDataService.Client.exceptions.NotFoundException