class Aws::Batch::Types::TerminateJobRequest

Contains the parameters for `TerminateJob`.

@note When making an API call, you may pass TerminateJobRequest

data as a hash:

    {
      job_id: "String", # required
      reason: "String", # required
    }

@!attribute [rw] job_id

The Batch job ID of the job to terminate.
@return [String]

@!attribute [rw] reason

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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobRequest AWS API Documentation

Constants

SENSITIVE