code: @Override
      public TerminateEnvironmentResult terminateEnvironment(TerminateEnvironmentRequest request) {
          request = beforeClientExecution(request);
          return executeTerminateEnvironment(request);
      }
docs: <p>
  Terminates the specified environment.
  </p>
  
  @param terminateEnvironmentRequest
  Request to terminate an environment.
  @return Result of the TerminateEnvironment operation returned by the service.
  @throws InsufficientPrivilegesException
  The specified account does not have sufficient privileges for one or more AWS services.
  @sample AWSElasticBeanstalk.TerminateEnvironment
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment"
  target="_top">AWS API Documentation</a>