Class MigrationHubException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\MigrationHub\Exception\MigrationHubException
- Namespace: Aws\MigrationHub\Exception
- Located at MigrationHub/Exception/MigrationHubException.php
Represents an error interacting with the AWS Migration 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 do not have sufficient access to perform this action.
Members
- Message
-
- Type: string
DryRunOperation
[ 'Message' => '<string>', ]
Description
Exception raised to indicate a successfully authorized action when the DryRun
flag is set to "true".
Members
- Message
-
- Type: string
HomeRegionNotSetException
[ 'Message' => '<string>', ]
Description
The home region is not set. Set the home region to continue.
Members
- Message
-
- Type: string
InternalServerError
[ 'Message' => '<string>', ]
Description
Exception raised when an internal, configuration, or dependency error is encountered.
Members
- Message
-
- Type: string
InvalidInputException
[ 'Message' => '<string>', ]
Description
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
Members
- Message
-
- Type: string
PolicyErrorException
[ 'Message' => '<string>', ]
Description
Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery
role is missing or not configured correctly.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
Members
- Message
-
- Type: string
ServiceUnavailableException
[ 'Message' => '<string>', ]
Description
Exception raised when there is an internal, configuration, or dependency error encountered.
Members
- Message
-
- Type: string
ThrottlingException
[ 'Message' => '<string>', 'RetryAfterSeconds' => <integer>, ]
Description
The request was denied due to request throttling.
Members
- Message
-
- Required: Yes
- Type: string
A message that provides information about the exception.
- RetryAfterSeconds
-
- Type: int
The number of seconds the caller should wait before retrying.
UnauthorizedOperation
[ 'Message' => '<string>', ]
Description
Exception raised to indicate a request was not authorized when the DryRun
flag is set to "true".
Members
- Message
-
- Type: string