Class ComputeOptimizerException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ComputeOptimizer\Exception\ComputeOptimizerException
- Namespace: Aws\ComputeOptimizer\Exception
- Located at ComputeOptimizer/Exception/ComputeOptimizerException.php
Represents an error interacting with the AWS Compute Optimizer 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>', ]
Description
You do not have sufficient access to perform this action.
Members
- message
-
- Type: string
InternalServerException
[ 'message' => '<string>', ]
Description
An internal error has occurred. Try your call again.
Members
- message
-
- Type: string
InvalidParameterValueException
[ 'message' => '<string>', ]
Description
The value supplied for the input parameter is out of range or not valid.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', ]
Description
The request exceeds a limit of the service.
Members
- message
-
- Type: string
MissingAuthenticationToken
[ 'message' => '<string>', ]
Description
The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
Members
- message
-
- Type: string
OptInRequiredException
[ 'message' => '<string>', ]
Description
The account is not opted in to Compute Optimizer.
Members
- message
-
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
A resource that is required for the action doesn't exist.
Members
- message
-
- Type: string
ServiceUnavailableException
[ 'message' => '<string>', ]
Description
The request has failed due to a temporary failure of the server.
Members
- message
-
- Type: string
ThrottlingException
[ 'message' => '<string>', ]
Description
The request was denied due to request throttling.
Members
- message
-
- Required: Yes
- Type: string