Class ResilienceHubException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ResilienceHub\Exception\ResilienceHubException
- Namespace: Aws\ResilienceHub\Exception
- Located at ResilienceHub/Exception/ResilienceHubException.php
Represents an error interacting with the AWS Resilience Hub 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
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
Members
- message
-
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
Members
- message
-
- Type: string
- resourceId
-
- Type: string
The identifier of the resource that the exception applies to.
- resourceType
-
- Type: string
The type of the resource that the exception applies to.
InternalServerException
[ 'message' => '<string>', ]
Description
This exception occurs when there is an internal failure in the Resilience Hub service.
Members
- message
-
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
This exception occurs when the specified resource could not be found.
Members
- message
-
- Type: string
- resourceId
-
- Type: string
The identifier of the resource that the exception applies to.
- resourceType
-
- Type: string
The type of the resource that the exception applies to.
ServiceQuotaExceededException
[ 'message' => '<string>', ]
Description
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
Members
- message
-
- Type: string
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
This exception occurs when you have exceeded the limit on the number of requests per second.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying the operation.
ValidationException
[ 'message' => '<string>', ]
Description
This exception occurs when a request is not valid.
Members
- message
-
- Type: string