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
false
For more information, go to Protecting a Job Flow from Termination in the Amazon Elastic MapReduce Developer's Guide.
C# |
public SetTerminationProtectionResponse SetTerminationProtection( SetTerminationProtectionRequest request )
- request (SetTerminationProtectionRequest)
- 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.
|