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  CopyC#
CopyC#true CopyC#
CopyC#false
For more information, go to Protecting a Job Flow from Termination in the Amazon Elastic MapReduce Developer's Guide.
 Declaration Syntax
 Declaration Syntax| C# | 
public SetTerminationProtectionResponse SetTerminationProtection( SetTerminationProtectionRequest request )
 Parameters
 Parameters- request (SetTerminationProtectionRequest)
- Container for the necessary parameters to execute the SetTerminationProtection service method.
 Return Value
 Return Value Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerErrorException | Indicates that an error occurred while processing the request and that the request
            was not         completed. |