Class: Aws::Batch::Types::TerminateJobRequest

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

Overview

Contains the parameters for TerminateJob.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#job_id ⇒ String

The Batch job ID of the job to terminate.

Returns:

  • (String)


11772
11773
11774
11775
11776
11777
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 11772

class TerminateJobRequest < Struct.new(
  :job_id,
  :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)


11772
11773
11774
11775
11776
11777
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 11772

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