RDSDataService#
Client#
- class RDSDataService.Client#
A low-level client representing AWS RDS DataService
Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these statements, you use the RDS Data API (Data API).
Data API is available with the following types of Aurora databases:
Aurora PostgreSQL - Serverless v2, provisioned, and Serverless v1
Aurora MySQL - Serverless v2, provisioned, and Serverless v1
For more information about the Data API, see Using RDS Data API in the Amazon Aurora User Guide.
client = session.create_client('rds-data')
These are the available methods:
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- AccessDeniedException
- BadRequestException
- DatabaseErrorException
- DatabaseNotFoundException
- DatabaseUnavailableException
- ForbiddenException
- HttpEndpointNotEnabledException
- InternalServerErrorException
- InvalidSecretException
- NotFoundException
- SecretsErrorException
- ServiceUnavailableError
- StatementTimeoutException
- TransactionNotFoundException
- UnsupportedResultException