Class OAMException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\OAM\Exception\OAMException
- Namespace: Aws\OAM\Exception
- Located at OAM/Exception/OAMException.php
Represents an error interacting with the CloudWatch Observability Access Manager 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>', 'amznErrorType' => '<string>', ]
Description
A resource was in an inconsistent state during an update or a deletion.
Members
- Message
-
- Type: string
- amznErrorType
-
- Type: string
The name of the exception.
InternalServiceFault
[ 'Message' => '<string>', 'amznErrorType' => '<string>', ]
Description
Unexpected error while processing the request. Retry the request.
Members
- Message
-
- Type: string
- amznErrorType
-
- Type: string
The name of the exception.
InvalidParameterException
[ 'amznErrorType' => '<string>', 'message' => '<string>', ]
Description
A parameter is specified incorrectly.
Members
- amznErrorType
-
- Type: string
The name of the exception.
- message
-
- Type: string
MissingRequiredParameterException
[ 'amznErrorType' => '<string>', 'message' => '<string>', ]
Description
A required parameter is missing from the request.
Members
- amznErrorType
-
- Type: string
The name of the exception.
- message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', 'amznErrorType' => '<string>', ]
Description
The request references a resource that does not exist.
Members
- Message
-
- Type: string
- amznErrorType
-
- Type: string
The name of the exception.
ServiceQuotaExceededException
[ 'Message' => '<string>', 'amznErrorType' => '<string>', ]
Description
The request would cause a service quota to be exceeded.
Members
- Message
-
- Type: string
- amznErrorType
-
- Type: string
The name of the exception.
TooManyTagsException
[ 'Message' => '<string>', ]
Description
A resource can have no more than 50 tags.
Members
- Message
-
- Type: string
ValidationException
[ 'Message' => '<string>', ]
Description
The value of a parameter in the request caused an error.
Members
- Message
-
- Type: string