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: "CustomerInputString", # required
  endpoint_arn: "DocumentClassifierEndpointArn", # required
}

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_arnString

The Amazon Resource Number (ARN) of the endpoint.

Returns:

  • (String)


547
548
549
550
551
552
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 547

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

#textString

The document text to be analyzed.

Returns:

  • (String)


547
548
549
550
551
552
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 547

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