NAME

Paws::EMR::CancelSteps - Arguments for method CancelSteps on Paws::EMR

DESCRIPTION

This class represents the parameters used for calling the method CancelSteps on the Amazon Elastic MapReduce service. Use the attributes of this class as arguments to method CancelSteps.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CancelSteps.

SYNOPSIS

my $elasticmapreduce = Paws->service('EMR');
my $CancelStepsOutput = $elasticmapreduce->CancelSteps(
  ClusterId => 'MyXmlStringMaxLen256',
  StepIds   => [
    'MyXmlStringMaxLen256', ...    # max: 256
  ],
  StepCancellationOption => 'SEND_INTERRUPT',    # OPTIONAL
);

# Results:
my $CancelStepsInfoList = $CancelStepsOutput->CancelStepsInfoList;

# Returns a L<Paws::EMR::CancelStepsOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/CancelSteps

ATTRIBUTES

REQUIRED ClusterId => Str

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

StepCancellationOption => Str

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

Valid values are: "SEND_INTERRUPT", "TERMINATE_PROCESS"

REQUIRED StepIds => ArrayRef[Str|Undef]

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

SEE ALSO

This class forms part of Paws, documenting arguments for method CancelSteps in Paws::EMR

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues