class Aws::Batch::Types::CancelJobRequest
Contains the parameters for `CancelJob`.
@note When making an API call, you may pass CancelJobRequest
data as a hash: { job_id: "String", # required reason: "String", # required }
@!attribute [rw] job_id
The Batch job ID of the job to cancel. @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/CancelJobRequest AWS API Documentation
Constants
- SENSITIVE