Class: Aws::Batch::Types::TerminateJobsRequest

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

Overview

Specifies the jobs to terminate and the reason for the termination.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#jobs ⇒ Array<String>

An array of up to 50 Batch job IDs of the jobs to terminate.

Returns:

  • (Array<String>)


11668
11669
11670
11671
11672
11673
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 11668

class TerminateJobsRequest < Struct.new(
  :jobs,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

A message to attach to the job that explains the reason for terminating it. This message is returned by future DescribeJobs operations on the job. It is also recorded in the Batch activity logs.

This parameter has a limit of 1024 characters.

Returns:

  • (String)


11668
11669
11670
11671
11672
11673
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 11668

class TerminateJobsRequest < Struct.new(
  :jobs,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end