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.
SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage.
To terminate a job flow that has been locked by setting SetTerminationProtection
to true
, you must first unlock the job flow by a subsequent call to SetTerminationProtection
in which you set the value to false
.
For more information, go to Protecting a Job Flow from Termination in the Amazon Elastic MapReduce Developer's Guide.
Namespace: Amazon.ElasticMapReduce
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual SetTerminationProtectionResponse SetTerminationProtection( SetTerminationProtectionRequest request )
Container for the necessary parameters to execute the SetTerminationProtection service method.
Exception | Condition |
---|---|
InternalServerErrorException | Indicates that an error occurred while processing the request and that the request was not completed. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5