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

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

Overview

Contains the parameters for ‘TerminateJob`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#job_idString

The Batch job ID of the job to terminate.

Returns:

  • (String)


7865
7866
7867
7868
7869
7870
# File 'lib/aws-sdk-batch/types.rb', line 7865

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

#reasonString

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

Returns:

  • (String)


7865
7866
7867
7868
7869
7870
# File 'lib/aws-sdk-batch/types.rb', line 7865

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