Class RecycleBinException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\RecycleBin\Exception\RecycleBinException
- Namespace: Aws\RecycleBin\Exception
- Located at RecycleBin/Exception/RecycleBinException.php
Represents an error interacting with the Amazon Recycle Bin 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.
ConflictException
[ 'Message' => '<string>', 'Reason' => 'INVALID_RULE_STATE', ]
Description
The specified retention rule lock request can't be completed.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
InternalServerException
[ 'Message' => '<string>', ]
Description
The service could not respond to the request due to an internal problem.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', 'Reason' => 'RULE_NOT_FOUND', ]
Description
The specified resource was not found.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ServiceQuotaExceededException
[ 'Message' => '<string>', 'Reason' => 'SERVICE_QUOTA_EXCEEDED', ]
Description
The request would cause a service quota for the number of tags per resource to be exceeded.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ValidationException
[ 'Message' => '<string>', 'Reason' => 'INVALID_PAGE_TOKEN|INVALID_PARAMETER_VALUE', ]
Description
One or more of the parameters in the request is not valid.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.