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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Note:

When making an API call, you may pass ClassifyDocumentRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_arnString

The Amazon Resource Number (ARN) of the endpoint.

Returns:

  • (String)


526
527
528
529
530
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 526

class ClassifyDocumentRequest < Struct.new(
  :text,
  :endpoint_arn)
  include Aws::Structure
end

#textString

The document text to be analyzed.

Returns:

  • (String)


526
527
528
529
530
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 526

class ClassifyDocumentRequest < Struct.new(
  :text,
  :endpoint_arn)
  include Aws::Structure
end