Class: Aws::Translate::Types::TextTranslationJobFilter

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-translate/types.rb

Overview

Note:

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

Instance Attribute Details

#job_nameString

Filters the list of jobs by name.

Returns:

  • (String)


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_statusString

Filters the list of jobs based by job status.

Returns:

  • (String)


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_timeTime

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.

Returns:

  • (Time)


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_timeTime

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.

Returns:

  • (Time)


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