Class: Aws::EMR::Types::CancelStepsInput

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

Overview

Note:

When making an API call, you may pass CancelStepsInput data as a hash:

{
  cluster_id: "XmlStringMaxLen256", # required
  step_ids: ["XmlStringMaxLen256"], # required
  step_cancellation_option: "SEND_INTERRUPT", # accepts SEND_INTERRUPT, TERMINATE_PROCESS
}

The input argument to the CancelSteps operation.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

The ClusterID for which specified steps will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.

Returns:

  • (String)


679
680
681
682
683
684
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 679

class CancelStepsInput < Struct.new(
  :cluster_id,
  :step_ids,
  :step_cancellation_option)
  include Aws::Structure
end

#step_cancellation_optionString

The option to choose for cancelling RUNNING steps. By default, the value is SEND_INTERRUPT.

Returns:

  • (String)


679
680
681
682
683
684
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 679

class CancelStepsInput < Struct.new(
  :cluster_id,
  :step_ids,
  :step_cancellation_option)
  include Aws::Structure
end

#step_idsArray<String>

The list of StepIDs to cancel. Use ListSteps to get steps and their states for the specified cluster.

Returns:

  • (Array<String>)


679
680
681
682
683
684
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 679

class CancelStepsInput < Struct.new(
  :cluster_id,
  :step_ids,
  :step_cancellation_option)
  include Aws::Structure
end