Class LookoutforVisionException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\LookoutforVision\Exception\LookoutforVisionException
- Namespace: Aws\LookoutforVision\Exception
- Located at LookoutforVision/Exception/LookoutforVisionException.php
Represents an error interacting with the Amazon Lookout for Vision 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 are not authorized to perform the action.
Members
- Message
-
- Required: Yes
- Type: string
ConflictException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'PROJECT|DATASET|MODEL|TRIAL|MODEL_PACKAGE_JOB', ]
Description
The update or deletion of a resource caused an inconsistent state.
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- ResourceType
-
- Required: Yes
- Type: string
The type of the resource.
InternalServerException
[ 'Message' => '<string>', 'RetryAfterSeconds' => <integer>, ]
Description
Amazon Lookout for Vision experienced a service issue. Try your call again.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
The period of time, in seconds, before the operation can be retried.
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'PROJECT|DATASET|MODEL|TRIAL|MODEL_PACKAGE_JOB', ]
Description
The resource could not be found.
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- ResourceType
-
- Required: Yes
- Type: string
The type of the resource.
ServiceQuotaExceededException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'PROJECT|DATASET|MODEL|TRIAL|MODEL_PACKAGE_JOB', 'ServiceCode' => '<string>', ]
Description
A service quota was exceeded the allowed limit. For more information, see Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.
Members
- Message
-
- Required: Yes
- Type: string
- QuotaCode
-
- Required: Yes
- Type: string
The quota code.
- ResourceId
-
- Type: string
The ID of the resource.
- ResourceType
-
- Type: string
The type of the resource.
- ServiceCode
-
- Required: Yes
- Type: string
The service code.
ThrottlingException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'RetryAfterSeconds' => <integer>, 'ServiceCode' => '<string>', ]
Description
Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.
Members
- Message
-
- Required: Yes
- Type: string
- QuotaCode
-
- Type: string
The quota code.
- RetryAfterSeconds
-
- Type: int
The period of time, in seconds, before the operation can be retried.
- ServiceCode
-
- Type: string
The service code.
ValidationException
[ 'Message' => '<string>', ]
Description
An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.
Members
- Message
-
- Required: Yes
- Type: string