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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

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

Returns:

  • (String)


707
708
709
710
711
712
713
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 707

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

#step_cancellation_optionString

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

Returns:

  • (String)


707
708
709
710
711
712
713
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 707

class CancelStepsInput < Struct.new(
  :cluster_id,
  :step_ids,
  :step_cancellation_option)
  SENSITIVE = []
  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>)


707
708
709
710
711
712
713
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 707

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