code: @Override
      public ApplyEnvironmentManagedActionResult applyEnvironmentManagedAction(ApplyEnvironmentManagedActionRequest request) {
          request = beforeClientExecution(request);
          return executeApplyEnvironmentManagedAction(request);
      }
docs: <p>
  Applies a scheduled managed action immediately. A managed action can be applied only if its status is
  <code>Scheduled</code>. Get the status and action ID of a managed action with
  <a>DescribeEnvironmentManagedActions</a>.
  </p>
  
  @param applyEnvironmentManagedActionRequest
  Request to execute a scheduled managed action immediately.
  @return Result of the ApplyEnvironmentManagedAction operation returned by the service.
  @throws ElasticBeanstalkServiceException
  A generic service exception has occurred.
  @throws ManagedActionInvalidStateException
  Cannot modify the managed action in its current state.
  @sample AWSElasticBeanstalk.ApplyEnvironmentManagedAction
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction"
  target="_top">AWS API Documentation</a>