Class: Aws::Batch::Types::CancelJobsRequest

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

Overview

Specifies the jobs to cancel and the reason for the cancellation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#jobsArray<String>

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

Returns:

  • (Array<String>)


330
331
332
333
334
335
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 330

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

#reasonString

A message to attach to the job that explains the reason for cancelling 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)


330
331
332
333
334
335
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 330

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