RDSDataService / Client / commit_transaction
commit_transaction#
- RDSDataService.Client.commit_transaction(**kwargs)#
- Ends a SQL transaction started with the - BeginTransactionoperation and commits the changes.- See also: AWS API Documentation - Request Syntax- response = client.commit_transaction( resourceArn='string', secretArn='string', transactionId='string' ) - Parameters:
- resourceArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster. 
- secretArn (string) – - [REQUIRED] - The name or ARN of the secret that enables access to the DB cluster. 
- transactionId (string) – - [REQUIRED] - The identifier of the transaction to end and commit. 
 
- Return type:
- dict 
- Returns:
- 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.SecretsErrorException
- RDSDataService.Client.exceptions.HttpEndpointNotEnabledException
- RDSDataService.Client.exceptions.DatabaseErrorException
- RDSDataService.Client.exceptions.DatabaseUnavailableException
- RDSDataService.Client.exceptions.TransactionNotFoundException
- RDSDataService.Client.exceptions.InvalidSecretException
- RDSDataService.Client.exceptions.ServiceUnavailableError
- RDSDataService.Client.exceptions.ForbiddenException
- RDSDataService.Client.exceptions.DatabaseNotFoundException
- RDSDataService.Client.exceptions.AccessDeniedException
- RDSDataService.Client.exceptions.BadRequestException
- RDSDataService.Client.exceptions.StatementTimeoutException
- RDSDataService.Client.exceptions.InternalServerErrorException
- RDSDataService.Client.exceptions.NotFoundException