Class SmsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Sms\Exception\SmsException
- Namespace: Aws\Sms\Exception
- Located at Sms/Exception/SmsException.php
Represents an error interacting with the AWS Server 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
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
DryRunOperationException
[ 'message' => '<string>', ]
Description
The user has the required permissions, so the request would have succeeded, but a dry run was performed.
Members
- message
-
- Type: string
InternalError
[ 'message' => '<string>', ]
Description
An internal error occurred.
Members
- message
-
- Type: string
InvalidParameterException
[ 'message' => '<string>', ]
Description
A specified parameter is not valid.
Members
- message
-
- Type: string
MissingRequiredParameterException
[ 'message' => '<string>', ]
Description
A required parameter is missing.
Members
- message
-
- Type: string
NoConnectorsAvailableException
[ 'message' => '<string>', ]
Description
There are no connectors available.
Members
- message
-
- Type: string
OperationNotPermittedException
[ 'message' => '<string>', ]
Description
This operation is not allowed.
Members
- message
-
- Type: string
ReplicationJobAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified replication job already exists.
Members
- message
-
- Type: string
ReplicationJobNotFoundException
[ 'message' => '<string>', ]
Description
The specified replication job does not exist.
Members
- message
-
- Type: string
ReplicationRunLimitExceededException
[ 'message' => '<string>', ]
Description
You have exceeded the number of on-demand replication runs you can request in a 24-hour period.
Members
- message
-
- Type: string
ServerCannotBeReplicatedException
[ 'message' => '<string>', ]
Description
The specified server cannot be replicated.
Members
- message
-
- Type: string
TemporarilyUnavailableException
[ ]
Description
The service is temporarily unavailable.
Members
UnauthorizedOperationException
[ 'message' => '<string>', ]
Description
You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.
Members
- message
-
- Type: string