Class ComprehendException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\Comprehend\Exception\ComprehendException
- Namespace: Aws\Comprehend\Exception
- Located at Comprehend/Exception/ComprehendException.php
Represents an error interacting with the Amazon Comprehend 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
BatchSizeLimitExceededException
[ 'Message' => '<string>', ]
Description
The number of documents in the request exceeds the limit of 25. Try your request again with fewer documents.
Members
- Message
-
- Type: string
ConcurrentModificationException
[ 'Message' => '<string>', ]
Description
Concurrent modification of the tags associated with an Amazon Comprehend resource is not supported.
Members
- Message
-
- Type: string
InternalServerException
[ 'Message' => '<string>', ]
Description
An internal server error occurred. Retry your request.
Members
- Message
-
- Type: string
InvalidFilterException
[ 'Message' => '<string>', ]
Description
The filter specified for the operation is invalid. Specify a different filter.
Members
- Message
-
- Type: string
InvalidRequestException
[ 'Detail' => [ 'Reason' => 'DOCUMENT_SIZE_EXCEEDED|UNSUPPORTED_DOC_TYPE|PAGE_LIMIT_EXCEEDED|TEXTRACT_ACCESS_DENIED', ], 'Message' => '<string>', 'Reason' => 'INVALID_DOCUMENT', ]
Description
The request is invalid.
Members
- Detail
-
- Type: InvalidRequestDetail structure
Provides additional detail about why the request failed.
- Message
-
- Type: string
- Reason
-
- Type: string
JobNotFoundException
[ 'Message' => '<string>', ]
Description
The specified job was not found. Check the job ID and try again.
Members
- Message
-
- Type: string
KmsKeyValidationException
[ 'Message' => '<string>', ]
Description
The KMS customer managed key (CMK) entered cannot be validated. Verify the key and re-enter it.
Members
- Message
-
- Type: string
ResourceInUseException
[ 'Message' => '<string>', ]
Description
The specified resource name is already in use. Use a different name and try your request again.
Members
- Message
-
- Type: string
ResourceLimitExceededException
[ 'Message' => '<string>', ]
Description
The maximum number of resources per account has been exceeded. Review the resources, and then try your request again.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The specified resource ARN was not found. Check the ARN and try your request again.
Members
- Message
-
- Type: string
ResourceUnavailableException
[ 'Message' => '<string>', ]
Description
The specified resource is not available. Check the resource and try your request again.
Members
- Message
-
- Type: string
TextSizeLimitExceededException
[ 'Message' => '<string>', ]
Description
The size of the input text exceeds the limit. Use a smaller document.
Members
- Message
-
- Type: string
TooManyRequestsException
[ 'Message' => '<string>', ]
Description
The number of requests exceeds the limit. Resubmit your request later.
Members
- Message
-
- Type: string
TooManyTagKeysException
[ 'Message' => '<string>', ]
Description
The request contains more tag keys than can be associated with a resource (50 tag keys per resource).
Members
- Message
-
- Type: string
TooManyTagsException
[ 'Message' => '<string>', ]
Description
The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
Members
- Message
-
- Type: string
UnsupportedLanguageException
[ 'Message' => '<string>', ]
Description
Amazon Comprehend can't process the language of the input text. For a list of supported languages, Supported languages in the Comprehend Developer Guide.
Members
- Message
-
- Type: string