@Override
    public PutAutoTerminationPolicyResult putAutoTerminationPolicy(PutAutoTerminationPolicyRequest request) {
        request = beforeClientExecution(request);
        return executePutAutoTerminationPolicy(request);
    }
<note>
<p>
Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For more information, see <a
href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html">Using an
auto-termination policy</a>.
</p>
</note>
<p>
Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the
amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster
termination options, see <a
href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html">Control cluster
termination</a>.
</p>

@param putAutoTerminationPolicyRequest
@return Result of the PutAutoTerminationPolicy operation returned by the service.
@sample AmazonElasticMapReduce.PutAutoTerminationPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoTerminationPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/AmazonElasticMapReduceClient.java