Class: Aws::IoT::Types::CancelJobRequest
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::CancelJobRequest
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-iot/types.rb
 
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #comment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An optional comment string describing why the job was canceled.
 - 
  
    
      #force  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
(Optional) If ‘true` job executions with status “IN_PROGRESS” and “QUEUED” are canceled, otherwise only job executions with status “QUEUED” are canceled.
 - 
  
    
      #job_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unique identifier you assigned to this job when it was created.
 - 
  
    
      #reason_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
(Optional)A reason code string that explains why the job was canceled.
 
Instance Attribute Details
#comment ⇒ String
An optional comment string describing why the job was canceled.
      1713 1714 1715 1716 1717 1718 1719 1720  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 1713 class CancelJobRequest < Struct.new( :job_id, :reason_code, :comment, :force) SENSITIVE = [] include Aws::Structure end  | 
  
#force ⇒ Boolean
(Optional) If ‘true` job executions with status “IN_PROGRESS” and “QUEUED” are canceled, otherwise only job executions with status “QUEUED” are canceled. The default is `false`.
Canceling a job which is “IN_PROGRESS”, will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.
      1713 1714 1715 1716 1717 1718 1719 1720  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 1713 class CancelJobRequest < Struct.new( :job_id, :reason_code, :comment, :force) SENSITIVE = [] include Aws::Structure end  | 
  
#job_id ⇒ String
The unique identifier you assigned to this job when it was created.
      1713 1714 1715 1716 1717 1718 1719 1720  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 1713 class CancelJobRequest < Struct.new( :job_id, :reason_code, :comment, :force) SENSITIVE = [] include Aws::Structure end  | 
  
#reason_code ⇒ String
(Optional)A reason code string that explains why the job was canceled.
      1713 1714 1715 1716 1717 1718 1719 1720  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 1713 class CancelJobRequest < Struct.new( :job_id, :reason_code, :comment, :force) SENSITIVE = [] include Aws::Structure end  |