AWSComprehendInvalidRequestDetail
Objective-C
@interface AWSComprehendInvalidRequestDetail
Swift
class AWSComprehendInvalidRequestDetail
Provides additional detail about why the request failed:
Document size is too large - Check the size of your file and resubmit the request.
Document type is not supported - Check the file type and resubmit the request.
Too many pages in the document - Check the number of pages in your file and resubmit the request.
Access denied to Amazon Textract - Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
-
Reason code is
INVALID_DOCUMENT
.Declaration
Objective-C
@property (nonatomic) AWSComprehendInvalidRequestDetailReason reason;
Swift
var reason: AWSComprehendInvalidRequestDetailReason { get set }