code: @Override
      public CompleteLifecycleActionResult completeLifecycleAction(CompleteLifecycleActionRequest request) {
          request = beforeClientExecution(request);
          return executeCompleteLifecycleAction(request);
      }
docs: <p>
  Completes the lifecycle action for the specified token or instance with the specified result.
  </p>
  <p>
  This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
  </p>
  <ol>
  <li>
  <p>
  (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when
  Amazon EC2 Auto Scaling launches or terminates instances.
  </p>
  </li>
  <li>
  <p>
  (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an
  Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.
  </p>
  </li>
  <li>
  <p>
  Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
  </p>
  </li>
  <li>
  <p>
  If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
  </p>
  </li>
  <li>
  <p>
  <b>If you finish before the timeout period ends, complete the lifecycle action.</b>
  </p>
  </li>
  </ol>
  <p>
  For more information, see <a
  href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling
  Lifecycle Hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
  </p>
  
  @param completeLifecycleActionRequest
  @return Result of the CompleteLifecycleAction operation returned by the service.
  @throws ResourceContentionException
  You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling
  group, instance, or load balancer).
  @sample AmazonAutoScaling.CompleteLifecycleAction
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction"
  target="_top">AWS API Documentation</a>