Class: Aws::Comprehend::Types::DocumentClassifierFilter

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 DocumentClassifierFilter data as a hash:

{
  status: "SUBMITTED", # accepts SUBMITTED, TRAINING, DELETING, STOP_REQUESTED, STOPPED, IN_ERROR, TRAINED
  submit_time_before: Time.now,
  submit_time_after: Time.now,
}

Provides information for filtering a list of document classifiers. You can only specify one filtering parameter in a request. For more information, see the operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#statusString

Filters the list of classifiers based on status.

Returns:

  • (String)


1702
1703
1704
1705
1706
1707
1708
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1702

class DocumentClassifierFilter < Struct.new(
  :status,
  :submit_time_before,
  :submit_time_after)
  SENSITIVE = []
  include Aws::Structure
end

#submit_time_afterTime

Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted after the specified time. Classifiers are returned in descending order, newest to oldest.

Returns:

  • (Time)


1702
1703
1704
1705
1706
1707
1708
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1702

class DocumentClassifierFilter < Struct.new(
  :status,
  :submit_time_before,
  :submit_time_after)
  SENSITIVE = []
  include Aws::Structure
end

#submit_time_beforeTime

Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted before the specified time. Classifiers are returned in ascending order, oldest to newest.

Returns:

  • (Time)


1702
1703
1704
1705
1706
1707
1708
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1702

class DocumentClassifierFilter < Struct.new(
  :status,
  :submit_time_before,
  :submit_time_after)
  SENSITIVE = []
  include Aws::Structure
end