Class drsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\drs\Exception\drsException
- Namespace: Aws\drs\Exception
- Located at drs/Exception/drsException.php
Represents an error interacting with the Elastic Disaster Recovery 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
[ 'code' => '<string>', 'message' => '<string>', ]
Description
You do not have sufficient access to perform this action.
Members
- code
-
- Type: string
- message
-
- Type: string
ConflictException
[ 'code' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The request could not be completed due to a conflict with the current state of the target resource.
Members
- code
-
- Type: string
- message
-
- Type: string
- resourceId
-
- Type: string
The ID of the resource.
- resourceType
-
- Type: string
The type of the resource.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The request processing has failed because of an unknown error, exception or failure.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: long (int|float)
The number of seconds after which the request should be safe to retry.
ResourceNotFoundException
[ 'code' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The resource for this operation was not found.
Members
- code
-
- Type: string
- message
-
- Type: string
- resourceId
-
- Type: string
The ID of the resource.
- resourceType
-
- Type: string
The type of the resource.
ServiceQuotaExceededException
[ 'code' => '<string>', 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
The request could not be completed because its exceeded the service quota.
Members
- code
-
- Type: string
- message
-
- Type: string
- quotaCode
-
- Type: string
Quota code.
- resourceId
-
- Type: string
The ID of the resource.
- resourceType
-
- Type: string
The type of the resource.
- serviceCode
-
- Type: string
Service code.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => '<string>', 'serviceCode' => '<string>', ]
Description
The request was denied due to request throttling.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
Quota code.
- retryAfterSeconds
-
- Type: string
The number of seconds after which the request should be safe to retry.
- serviceCode
-
- Type: string
Service code.
UninitializedAccountException
[ 'code' => '<string>', 'message' => '<string>', ]
Description
The account performing the request has not been initialized.
Members
- code
-
- Type: string
- message
-
- Type: string
ValidationException
[ 'code' => '<string>', 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
The input fails to satisfy the constraints specified by the AWS service.
Members
- code
-
- Type: string
- fieldList
-
- Type: Array of ValidationExceptionField structures
A list of fields that failed validation.
- message
-
- Type: string
- reason
-
- Type: string
Validation exception reason.