AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CancelSteps operation. Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR releases 5.28.0 and later, you can cancel steps that are in a PENDING or RUNNING state. In earlier versions of Amazon EMR, you can only cancel steps that are in a PENDING state.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticMapReduce.AmazonElasticMapReduceRequest
      Amazon.ElasticMapReduce.Model.CancelStepsRequest

Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z

Syntax

C#
public class CancelStepsRequest : AmazonElasticMapReduceRequest
         IAmazonWebServiceRequest

The CancelStepsRequest type exposes the following members

Constructors

NameDescription
Public Method CancelStepsRequest()

Properties

NameTypeDescription
Public Property ClusterId System.String

Gets and sets the property ClusterId.

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

Public Property StepCancellationOption Amazon.ElasticMapReduce.StepCancellationOption

Gets and sets the property StepCancellationOption.

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

Public Property StepIds System.Collections.Generic.List<System.String>

Gets and sets the property StepIds.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5