Class mgnException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\mgn\Exception\mgnException
- Namespace: Aws\mgn\Exception
- Located at mgn/Exception/mgnException.php
Represents an error interacting with the Application Migration 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
Operating denied due to a file permission or access check error.
Members
- code
-
- Type: string
- message
-
- Type: string
ConflictException
[ 'code' => '<string>', 'errors' => [ [ 'code' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<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
- errors
-
- Type: Array of ErrorDetails structures
Conflict Exception specific errors.
- message
-
- Type: string
- resourceId
-
- Type: string
A conflict occurred when prompting for the Resource ID.
- resourceType
-
- Type: string
A conflict occurred when prompting for resource type.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The server encountered an unexpected condition that prevented it from fulfilling the request.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: long (int|float)
The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.
ResourceNotFoundException
[ 'code' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
Resource not found exception.
Members
- code
-
- Type: string
- message
-
- Type: string
- resourceId
-
- Type: string
Resource ID not found error.
- resourceType
-
- Type: string
Resource type not found error.
ServiceQuotaExceededException
[ 'code' => '<string>', 'message' => '<string>', 'quotaCode' => '<string>', 'quotaValue' => <integer>, '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
Exceeded the service quota code.
- quotaValue
-
- Type: int
Exceeded the service quota value.
- resourceId
-
- Type: string
Exceeded the service quota resource ID.
- resourceType
-
- Type: string
Exceeded the service quota resource type.
- serviceCode
-
- Type: string
Exceeded the service quota service code.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => '<string>', 'serviceCode' => '<string>', ]
Description
Reached throttling quota exception.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
Reached throttling quota exception.
- retryAfterSeconds
-
- Type: string
Reached throttling quota exception will retry after x seconds.
- serviceCode
-
- Type: string
Reached throttling quota exception service code.
UninitializedAccountException
[ 'code' => '<string>', 'message' => '<string>', ]
Description
Uninitialized account exception.
Members
- code
-
- Type: string
- message
-
- Type: string
ValidationException
[ 'code' => '<string>', 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
Validate exception.
Members
- code
-
- Type: string
- fieldList
-
- Type: Array of ValidationExceptionField structures
Validate exception field list.
- message
-
- Type: string
- reason
-
- Type: string
Validate exception reason.