Class RekognitionException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Rekognition\Exception\RekognitionException
- Namespace: Aws\Rekognition\Exception
- Located at Rekognition/Exception/RekognitionException.php
Represents an error interacting with the Amazon Rekognition 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
[ ]
Description
You are not authorized to perform the action.
Members
HumanLoopQuotaExceededException
[ 'QuotaCode' => '<string>', 'ResourceType' => '<string>', 'ServiceCode' => '<string>', ]
Description
The number of in-progress human reviews you have has exceeded the number allowed.
Members
- QuotaCode
-
- Type: string
The quota code.
- ResourceType
-
- Type: string
The resource type.
- ServiceCode
-
- Type: string
The service code.
IdempotentParameterMismatchException
[ ]
Description
A ClientRequestToken
input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.
Members
ImageTooLargeException
[ ]
Description
The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
Members
InternalServerError
[ ]
Description
Amazon Rekognition experienced a service issue. Try your call again.
Members
InvalidImageFormatException
[ ]
Description
The provided image format is not supported.
Members
InvalidPaginationTokenException
[ ]
Description
Pagination token in the request is not valid.
Members
InvalidParameterException
[ ]
Description
Input parameter violated a constraint. Validate your parameter before calling the API operation again.
Members
InvalidPolicyRevisionIdException
[ ]
Description
The supplied revision id for the project policy is invalid.
Members
InvalidS3ObjectException
[ ]
Description
Amazon Rekognition is unable to access the S3 object specified in the request.
Members
LimitExceededException
[ ]
Description
An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations (StartLabelDetection
, for example) will raise a LimitExceededException
exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Rekognition service limit.
Members
MalformedPolicyDocumentException
[ ]
Description
The format of the project policy document that you supplied to PutProjectPolicy
is incorrect.
Members
ProvisionedThroughputExceededException
[ ]
Description
The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.
Members
ResourceAlreadyExistsException
[ ]
Description
A resource with the specified ID already exists.
Members
ResourceInUseException
[ ]
Description
The specified resource is already being used.
Members
ResourceNotFoundException
[ ]
Description
The resource specified in the request cannot be found.
Members
ResourceNotReadyException
[ ]
Description
The requested resource isn't ready. For example, this exception occurs when you call DetectCustomLabels
with a model version that isn't deployed.
Members
ServiceQuotaExceededException
[ ]
Description
The size of the collection exceeds the allowed limit. For more information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
Members
SessionNotFoundException
[ ]
Description
Occurs when a given sessionId is not found.
Members
ThrottlingException
[ ]
Description
Amazon Rekognition is temporarily unable to process the request. Try your call again.
Members
VideoTooLargeException
[ ]
Description
The file size or duration of the supplied media is too large. The maximum file size is 10GB. The maximum duration is 6 hours.