Class: Aws::Batch::Types::CancelJobsResponse

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

Overview

The result of a CancelJobs request, including the jobs whose cancellation request was accepted and the errors for jobs that couldn't be cancelled.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#errorsArray<Types::CancelJobsErrorDetail>

A list of CancelJobsErrorDetail items, one for each job that couldn't be cancelled. Each item includes the job ID along with a code and message that describe why the job wasn't cancelled.

Returns:



353
354
355
356
357
358
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 353

class CancelJobsResponse < Struct.new(
  :successful,
  :errors)
  SENSITIVE = []
  include Aws::Structure
end

#successfulArray<String>

A list of the job IDs whose cancellation request was accepted.

Returns:

  • (Array<String>)


353
354
355
356
357
358
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 353

class CancelJobsResponse < Struct.new(
  :successful,
  :errors)
  SENSITIVE = []
  include Aws::Structure
end