You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Comprehend::Types::ClassifyDocumentRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ClassifyDocumentRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  text: "CustomerInputString", # required
  endpoint_arn: "DocumentClassifierEndpointArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_arnString

The Amazon Resource Number (ARN) of the endpoint.

Returns:

  • (String)

    The Amazon Resource Number (ARN) of the endpoint.

#textString

The document text to be analyzed.

Returns:

  • (String)

    The document text to be analyzed.