Class RDSDataServiceException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\RDSDataService\Exception\RDSDataServiceException
- Namespace: Aws\RDSDataService\Exception
- Located at RDSDataService/Exception/RDSDataServiceException.php
Represents an error interacting with the AWS RDS DataService service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AccessDeniedException
[ 'message' => '<string>', ]
Description
You don't have sufficient access to perform this action.
Members
- message
-
- Type: string
BadRequestException
[ 'message' => '<string>', ]
Description
There is an error in the call or in a SQL statement. (This error only appears in calls from Aurora Serverless v1 databases.)
Members
- message
-
- Type: string
The error message returned by this
BadRequestException
error.
DatabaseErrorException
[ 'message' => '<string>', ]
Description
There was an error in processing the SQL statement.
Members
- message
-
- Type: string
DatabaseNotFoundException
[ 'message' => '<string>', ]
Description
The DB cluster doesn't have a DB instance.
Members
- message
-
- Type: string
DatabaseUnavailableException
[ ]
Description
The writer instance in the DB cluster isn't available.
Members
ForbiddenException
[ 'message' => '<string>', ]
Description
There are insufficient privileges to make the call.
Members
- message
-
- Type: string
The error message returned by this
ForbiddenException
error.
HttpEndpointNotEnabledException
[ 'message' => '<string>', ]
Description
The HTTP endpoint for using RDS Data API isn't enabled for the DB cluster.
Members
- message
-
- Type: string
InternalServerErrorException
[ ]
Description
An internal error occurred.
Members
InvalidSecretException
[ 'message' => '<string>', ]
Description
The Secrets Manager secret used with the request isn't valid.
Members
- message
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
The resourceArn
, secretArn
, or transactionId
value can't be found.
Members
- message
-
- Type: string
The error message returned by this
NotFoundException
error.
SecretsErrorException
[ 'message' => '<string>', ]
Description
There was a problem with the Secrets Manager secret used with the request, caused by one of the following conditions:
-
RDS Data API timed out retrieving the secret.
-
The secret provided wasn't found.
-
The secret couldn't be decrypted.
Members
- message
-
- Type: string
ServiceUnavailableError
[ ]
Description
The service specified by the resourceArn
parameter isn't available.
Members
StatementTimeoutException
[ 'dbConnectionId' => <integer>, 'message' => '<string>', ]
Description
The execution of the SQL statement timed out.
Members
- dbConnectionId
-
- Type: long (int|float)
The database connection ID that executed the SQL statement.
- message
-
- Type: string
The error message returned by this
StatementTimeoutException
error.
TransactionNotFoundException
[ 'message' => '<string>', ]
Description
The transaction ID wasn't found.
Members
- message
-
- Type: string
UnsupportedResultException
[ 'message' => '<string>', ]
Description
There was a problem with the result because of one of the following conditions:
-
It contained an unsupported data type.
-
It contained a multidimensional array.
-
The size was too large.
Members
- message
-
- Type: string