Class TextractException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Textract\Exception\TextractException
- Namespace: Aws\Textract\Exception
- Located at Textract/Exception/TextractException.php
Represents an error interacting with the Amazon Textract 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 aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.
Members
BadDocumentException
[ ]
Description
Amazon Textract isn't able to read the document. For more information on the document limits in Amazon Textract, see limits.
Members
ConflictException
[ ]
Description
Updating or deleting a resource can cause an inconsistent state.
Members
DocumentTooLargeException
[ ]
Description
The document can't be processed because it's too large. The maximum document size for synchronous operations 10 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.
Members
HumanLoopQuotaExceededException
[ 'QuotaCode' => '<string>', 'ResourceType' => '<string>', 'ServiceCode' => '<string>', ]
Description
Indicates you have exceeded the maximum number of active human in the loop workflows available
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
InternalServerError
[ ]
Description
Amazon Textract experienced a service issue. Try your call again.
Members
InvalidJobIdException
[ ]
Description
An invalid job identifier was passed to an asynchronous analysis operation.
Members
InvalidKMSKeyException
[ ]
Description
Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key was entered incorrectly.
Members
InvalidParameterException
[ ]
Description
An input parameter violated a constraint. For example, in synchronous operations, an InvalidParameterException
exception occurs when neither of the S3Object
or Bytes
values are supplied in the Document
request parameter. Validate your parameter before calling the API operation again.
Members
InvalidS3ObjectException
[ ]
Description
Amazon Textract is unable to access the S3 object that's specified in the request. for more information, Configure Access to Amazon S3 For troubleshooting information, see Troubleshooting Amazon S3
Members
LimitExceededException
[ ]
Description
An Amazon Textract service limit was exceeded. For example, if you start too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection
, for example) raise a LimitExceededException exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Textract service limit.
Members
ProvisionedThroughputExceededException
[ ]
Description
The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Textract.
Members
ResourceNotFoundException
[ ]
Description
Returned when an operation tried to access a nonexistent resource.
Members
ServiceQuotaExceededException
[ ]
Description
Returned when a request cannot be completed as it would exceed a maximum service quota.
Members
ThrottlingException
[ ]
Description
Amazon Textract is temporarily unable to process the request. Try your call again.
Members
UnsupportedDocumentException
[ ]
Description
The format of the input document isn't supported. Documents for operations can be in PNG, JPEG, PDF, or TIFF format.
Members
ValidationException
[ ]
Description
Indicates that a request was not valid. Check request for proper formatting.