You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CancelStepsInput as input to an Aws::Client method, you can use a vanilla 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)

    The ClusterID for which specified steps will be canceled.

#step_cancellation_optionString

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

Possible values:

  • SEND_INTERRUPT
  • TERMINATE_PROCESS

Returns:

  • (String)

    The option to choose for cancelling RUNNING steps.

#step_idsArray<String>

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

Returns:

  • (Array<String>)

    The list of StepIDs to cancel.