Class RedshiftDataAPIServiceException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\RedshiftDataAPIService\Exception\RedshiftDataAPIServiceException
- Namespace: Aws\RedshiftDataAPIService\Exception
- Located at RedshiftDataAPIService/Exception/RedshiftDataAPIServiceException.php
Represents an error interacting with the Redshift Data API Service 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
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
ActiveStatementsExceededException
[ 'Message' => '<string>', ]
Description
The number of active statements exceeds the limit.
Members
- Message
-
- Type: string
BatchExecuteStatementException
[ 'Message' => '<string>', 'StatementId' => '<string>', ]
Description
An SQL statement encountered an environmental error while running.
Members
- Message
-
- Required: Yes
- Type: string
- StatementId
-
- Required: Yes
- Type: string
Statement identifier of the exception.
DatabaseConnectionException
[ 'Message' => '<string>', ]
Description
Connection to a database failed.
Members
- Message
-
- Required: Yes
- Type: string
ExecuteStatementException
[ 'Message' => '<string>', 'StatementId' => '<string>', ]
Description
The SQL statement encountered an environmental error while running.
Members
- Message
-
- Required: Yes
- Type: string
The exception message.
- StatementId
-
- Required: Yes
- Type: string
Statement identifier of the exception.
InternalServerException
[ 'Message' => '<string>', ]
Description
The Amazon Redshift Data API operation failed due to invalid input.
Members
- Message
-
- Required: Yes
- Type: string
The exception message.
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', ]
Description
The Amazon Redshift Data API operation failed due to a missing resource.
Members
- Message
-
- Required: Yes
- Type: string
The exception message.
- ResourceId
-
- Required: Yes
- Type: string
Resource identifier associated with the exception.
ValidationException
[ 'Message' => '<string>', ]
Description
The Amazon Redshift Data API operation failed due to invalid input.
Members
- Message
-
- Type: string
The exception message.