Class PrometheusServiceException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\PrometheusService\Exception\PrometheusServiceException
- Namespace: Aws\PrometheusService\Exception
- Located at PrometheusService/Exception/PrometheusServiceException.php
Represents an error interacting with the Amazon Prometheus Service 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>', ]
Description
User does not have sufficient access to perform this action.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
Updating or deleting a resource can cause an inconsistent state.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- resourceId
-
- Required: Yes
- Type: string
Identifier of the resource affected.
- resourceType
-
- Required: Yes
- Type: string
Type of the resource affected.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
Unexpected error during processing of request.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- retryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
Request references a resource which does not exist.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- resourceId
-
- Required: Yes
- Type: string
Identifier of the resource affected.
- resourceType
-
- Required: Yes
- Type: string
Type of the resource affected.
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
Request would cause a service quota to be exceeded.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- quotaCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating quota.
- resourceId
-
- Required: Yes
- Type: string
Identifier of the resource affected.
- resourceType
-
- Required: Yes
- Type: string
Type of the resource affected.
- serviceCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating service.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => <integer>, 'serviceCode' => '<string>', ]
Description
Request was denied due to request throttling.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- quotaCode
-
- Type: string
Service Quotas requirement to identify originating quota.
- retryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried.
- serviceCode
-
- Type: string
Service Quotas requirement to identify originating service.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'UNKNOWN_OPERATION|CANNOT_PARSE|FIELD_VALIDATION_FAILED|OTHER', ]
Description
The input fails to satisfy the constraints specified by an AWS service.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
- message
-
- Required: Yes
- Type: string
Description of the error.
- reason
-
- Required: Yes
- Type: string
Reason the request failed validation.