Class: Aws::Translate::Types::TextTranslationJobFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Translate::Types::TextTranslationJobFilter
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-translate/types.rb
Overview
When making an API call, you may pass TextTranslationJobFilter data as a hash:
{
job_name: "JobName",
job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
submitted_before_time: Time.now,
submitted_after_time: Time.now,
}
Provides information for filtering a list of translation jobs. For more information, see ListTextTranslationJobs.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#job_name ⇒ String
Filters the list of jobs by name.
-
#job_status ⇒ String
Filters the list of jobs based by job status.
-
#submitted_after_time ⇒ Time
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time.
-
#submitted_before_time ⇒ Time
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time.
Instance Attribute Details
#job_name ⇒ String
Filters the list of jobs by name.
1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/aws-sdk-translate/types.rb', line 1472 class TextTranslationJobFilter < Struct.new( :job_name, :job_status, :submitted_before_time, :submitted_after_time) SENSITIVE = [] include Aws::Structure end |
#job_status ⇒ String
Filters the list of jobs based by job status.
1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/aws-sdk-translate/types.rb', line 1472 class TextTranslationJobFilter < Struct.new( :job_name, :job_status, :submitted_before_time, :submitted_after_time) SENSITIVE = [] include Aws::Structure end |
#submitted_after_time ⇒ Time
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/aws-sdk-translate/types.rb', line 1472 class TextTranslationJobFilter < Struct.new( :job_name, :job_status, :submitted_before_time, :submitted_after_time) SENSITIVE = [] include Aws::Structure end |
#submitted_before_time ⇒ Time
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/aws-sdk-translate/types.rb', line 1472 class TextTranslationJobFilter < Struct.new( :job_name, :job_status, :submitted_before_time, :submitted_after_time) SENSITIVE = [] include Aws::Structure end |