Class: Aws::Batch::Types::CancelJobRequest

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

Overview

Contains the parameters for ‘CancelJob`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#job_idString

The Batch job ID of the job to cancel.

Returns:

  • (String)


245
246
247
248
249
250
# File 'lib/aws-sdk-batch/types.rb', line 245

class CancelJobRequest < 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. It is also recorded in the Batch activity logs.

This parameter has as limit of 1024 characters.

Returns:

  • (String)


245
246
247
248
249
250
# File 'lib/aws-sdk-batch/types.rb', line 245

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