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
AccessDeniedException
[ 'Message' => '<string>', 'Reason' => 'UNAUTHORIZED_ACCOUNT|DEPENDENCY_ACCESS_DENIED', ]
Description
You do not have sufficient access to perform this action.
Members
- Message
-
- Type: string
- Reason
-
- Required: Yes
- Type: string
The reason for the exception.
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
- Message
-
- Type: string
ConflictException
[ 'Message' => '<string>', ]
Description
The request uses the same client token as a previous, but non-identical request.
Members
- Message
-
- Type: string
InternalServerException
[ 'Message' => '<string>', ]
Description
An internal error has occurred. For more information see Error retries.
Members
- Message
-
- Type: string
RequestThrottledException
[ 'Message' => '<string>', 'Reason' => 'ACCOUNT_THROTTLED|DEPENDENCY_REQUEST_THROTTLED|RESOURCE_LEVEL_THROTTLE', ]
Description
The number of API requests has exceeded the maximum allowed API request throttling limit for the snapshot. For more information see Error retries.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ResourceNotFoundException
[ 'Message' => '<string>', 'Reason' => 'SNAPSHOT_NOT_FOUND|GRANT_NOT_FOUND|DEPENDENCY_RESOURCE_NOT_FOUND|IMAGE_NOT_FOUND', ]
Description
The specified resource does not exist.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ServiceQuotaExceededException
[ 'Message' => '<string>', 'Reason' => 'DEPENDENCY_SERVICE_QUOTA_EXCEEDED', ]
Description
Your current service quotas do not allow you to perform this action.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ValidationException
[ 'Message' => '<string>', 'Reason' => 'INVALID_CUSTOMER_KEY|INVALID_PAGE_TOKEN|INVALID_BLOCK_TOKEN|INVALID_GRANT_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|INVALID_IMAGE_ID|WRITE_REQUEST_TIMEOUT', ]
Description
The input fails to satisfy the constraints of the EBS direct APIs.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the validation exception.