AWSComprehendWarningsListItem

Objective-C

@interface AWSComprehendWarningsListItem

Swift

class AWSComprehendWarningsListItem

The system identified one of the following warnings while processing the input document:

  • The document to classify is plain text, but the classifier is a native document model.

  • The document to classify is semi-structured, but the classifier is a plain-text model.

  • Page number in the input document.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable page;

    Swift

    var page: NSNumber? { get set }
  • The type of warning.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendPageBasedWarningCode warnCode;

    Swift

    var warnCode: AWSComprehendPageBasedWarningCode { get set }
  • Text message associated with the warning.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable warnMessage;

    Swift

    var warnMessage: String? { get set }