Class EBSException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\EBS\Exception\EBSException
- Namespace: Aws\EBS\Exception
- Located at EBS/Exception/EBSException.php
Represents an error interacting with the Amazon Elastic Block Store 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.
AccessDeniedException
[ 'Message' => '<string>', 'Reason' => 'UNAUTHORIZED_ACCOUNT|DEPENDENCY_ACCESS_DENIED', ]
Description
You do not have sufficient access to perform this action.
Members
ConcurrentLimitExceededException
[ 'Message' => '<string>', ]
Description
You have reached the limit for concurrent API requests. For more information, see Optimizing performance of the EBS direct APIs in the Amazon Elastic Compute Cloud User Guide.
Members
ConflictException
[ 'Message' => '<string>', ]
Description
The request uses the same client token as a previous, but non-identical request.
Members
InternalServerException
[ 'Message' => '<string>', ]
RequestThrottledException
[ 'Message' => '<string>', 'Reason' => 'ACCOUNT_THROTTLED|DEPENDENCY_REQUEST_THROTTLED|RESOURCE_LEVEL_THROTTLE', ]
Description
The number of API requests has exceed the maximum allowed API request throttling limit.
Members
ResourceNotFoundException
[ 'Message' => '<string>', 'Reason' => 'SNAPSHOT_NOT_FOUND|DEPENDENCY_RESOURCE_NOT_FOUND', ]
Description
The specified resource does not exist.
Members
ServiceQuotaExceededException
[ 'Message' => '<string>', 'Reason' => 'DEPENDENCY_SERVICE_QUOTA_EXCEEDED', ]
Description
Your current service quotas do not allow you to perform this action.
Members
ValidationException
[ 'Message' => '<string>', 'Reason' => 'INVALID_CUSTOMER_KEY|INVALID_PAGE_TOKEN|INVALID_BLOCK_TOKEN|INVALID_SNAPSHOT_ID|UNRELATED_SNAPSHOTS|INVALID_BLOCK|INVALID_CONTENT_ENCODING|INVALID_TAG|INVALID_DEPENDENCY_REQUEST|INVALID_PARAMETER_VALUE|INVALID_VOLUME_SIZE|CONFLICTING_BLOCK_UPDATE', ]