Class DocDBElasticException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\DocDBElastic\Exception\DocDBElasticException
- Namespace: Aws\DocDBElastic\Exception
- Located at DocDBElastic/Exception/DocDBElasticException.php
Represents an error interacting with the Amazon DocumentDB Elastic Clusters 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
An exception that occurs when there are not sufficient permissions to perform an action.
Members
- message
-
- Required: Yes
- Type: string
An error message explaining why access was denied.
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
There was an access conflict.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The ID of the resource where there was an access conflict.
- resourceType
-
- Required: Yes
- Type: string
The type of the resource where there was an access conflict.
InternalServerException
[ 'message' => '<string>', ]
Description
There was an internal server error.
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The specified resource could not be located.
Members
- message
-
- Required: Yes
- Type: string
An error message describing the failure.
- resourceId
-
- Required: Yes
- Type: string
The ID of the resource that could not be located.
- resourceType
-
- Required: Yes
- Type: string
The type of the resource that could not be found.
ServiceQuotaExceededException
[ 'message' => '<string>', ]
Description
The service quota for the action was exceeded.
Members
- message
-
- Required: Yes
- Type: string
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
ThrottlingException will be thrown when request was denied due to request throttling.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying the operation.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
A structure defining a validation exception.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
A list of the fields in which the validation exception occurred.
- message
-
- Required: Yes
- Type: string
An error message describing the validation exception.
- reason
-
- Required: Yes
- Type: string
The reason why the validation exception occurred (one of
unknownOperation
,cannotParse
,fieldValidationFailed
, orother
).