Class IotException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Iot\Exception\IotException
- Namespace: Aws\Iot\Exception
- Located at Iot/Exception/IotException.php
Represents an error interacting with the AWS IoT 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
CertificateConflictException
[ 'message' => '<string>', ]
Description
Unable to verify the CA certificate used to sign the device certificate you are attempting to register. This is happens when you have registered more than one CA certificate that has the same subject field and public key.
Members
- message
-
- Type: string
The message for the exception.
CertificateStateException
[ 'message' => '<string>', ]
Description
The certificate operation is not allowed.
Members
- message
-
- Type: string
The message for the exception.
CertificateValidationException
[ 'message' => '<string>', ]
Description
The certificate is invalid.
Members
- message
-
- Type: string
Additional information about the exception.
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', ]
Description
A resource with the same name already exists.
Members
- message
-
- Type: string
- resourceId
-
- Type: string
A resource with the same name already exists.
ConflictingResourceUpdateException
[ 'message' => '<string>', ]
Description
A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.
Members
- message
-
- Type: string
The message for the exception.
DeleteConflictException
[ 'message' => '<string>', ]
Description
You can't delete the resource because it is attached to one or more resources.
Members
- message
-
- Type: string
The message for the exception.
IndexNotReadyException
[ 'message' => '<string>', ]
Description
The index is not ready.
Members
- message
-
- Type: string
The message for the exception.
InternalException
[ 'message' => '<string>', ]
Description
An unexpected error has occurred.
Members
- message
-
- Type: string
The message for the exception.
InternalFailureException
[ 'message' => '<string>', ]
Description
An unexpected error has occurred.
Members
- message
-
- Type: string
The message for the exception.
InternalServerException
[ 'message' => '<string>', ]
Description
Internal error from the service that indicates an unexpected error or that the service is unavailable.
Members
- message
-
- Type: string
InvalidAggregationException
[ 'message' => '<string>', ]
Description
The aggregation is invalid.
Members
- message
-
- Type: string
InvalidQueryException
[ 'message' => '<string>', ]
Description
The query is invalid.
Members
- message
-
- Type: string
The message for the exception.
InvalidRequestException
[ 'message' => '<string>', ]
Description
The request is not valid.
Members
- message
-
- Type: string
The message for the exception.
InvalidResponseException
[ 'message' => '<string>', ]
Description
The response is invalid.
Members
- message
-
- Type: string
The message for the exception.
InvalidStateTransitionException
[ 'message' => '<string>', ]
Description
An attempt was made to change to an invalid state, for example by deleting a job or a job execution which is "IN_PROGRESS" without setting the force
parameter.
Members
- message
-
- Type: string
The message for the exception.
LimitExceededException
[ 'message' => '<string>', ]
Description
A limit has been exceeded.
Members
- message
-
- Type: string
The message for the exception.
MalformedPolicyException
[ 'message' => '<string>', ]
Description
The policy documentation is not valid.
Members
- message
-
- Type: string
The message for the exception.
NotConfiguredException
[ 'message' => '<string>', ]
Description
The resource is not configured.
Members
- message
-
- Type: string
The message for the exception.
RegistrationCodeValidationException
[ 'message' => '<string>', ]
Description
The registration code is invalid.
Members
- message
-
- Type: string
Additional information about the exception.
ResourceAlreadyExistsException
[ 'message' => '<string>', 'resourceArn' => '<string>', 'resourceId' => '<string>', ]
Description
The resource already exists.
Members
- message
-
- Type: string
The message for the exception.
- resourceArn
-
- Type: string
The ARN of the resource that caused the exception.
- resourceId
-
- Type: string
The ID of the resource that caused the exception.
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
The specified resource does not exist.
Members
- message
-
- Type: string
The message for the exception.
ResourceRegistrationFailureException
[ 'message' => '<string>', ]
Description
The resource registration failed.
Members
- message
-
- Type: string
The message for the exception.
ServiceQuotaExceededException
[ 'message' => '<string>', ]
Description
A limit has been exceeded.
Members
- message
-
- Type: string
ServiceUnavailableException
[ 'message' => '<string>', ]
Description
The service is temporarily unavailable.
Members
- message
-
- Type: string
The message for the exception.
SqlParseException
[ 'message' => '<string>', ]
Description
The Rule-SQL expression can't be parsed correctly.
Members
- message
-
- Type: string
The message for the exception.
TaskAlreadyExistsException
[ 'message' => '<string>', ]
Description
This exception occurs if you attempt to start a task with the same task-id as an existing task but with a different clientRequestToken.
Members
- message
-
- Type: string
ThrottlingException
[ 'message' => '<string>', ]
Description
The rate exceeds the limit.
Members
- message
-
- Type: string
The message for the exception.
TransferAlreadyCompletedException
[ 'message' => '<string>', ]
Description
You can't revert the certificate transfer because the transfer is already complete.
Members
- message
-
- Type: string
The message for the exception.
TransferConflictException
[ 'message' => '<string>', ]
Description
You can't transfer the certificate because authorization policies are still attached.
Members
- message
-
- Type: string
The message for the exception.
UnauthorizedException
[ 'message' => '<string>', ]
Description
You are not authorized to perform this operation.
Members
- message
-
- Type: string
The message for the exception.
ValidationException
[ 'message' => '<string>', ]
Description
The request is not valid.
Members
- message
-
- Type: string
VersionConflictException
[ 'message' => '<string>', ]
Description
An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.
Members
- message
-
- Type: string
The message for the exception.
VersionsLimitExceededException
[ 'message' => '<string>', ]
Description
The number of policy versions exceeds the limit.
Members
- message
-
- Type: string
The message for the exception.