code: @Override
      public ComposeEnvironmentsResult composeEnvironments(ComposeEnvironmentsRequest request) {
          request = beforeClientExecution(request);
          return executeComposeEnvironments(request);
      }
docs: <p>
  Create or update a group of environments that each run a separate component of a single application. Takes a list
  of version labels that specify application source bundles for each of the environments to create or update. The
  name of each environment and other required information must be included in the source bundles in an environment
  manifest named <code>env.yaml</code>. See <a
  href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-mgmt-compose.html">Compose
  Environments</a> for details.
  </p>
  
  @param composeEnvironmentsRequest
  Request to create or update a group of environments.
  @return Result of the ComposeEnvironments operation returned by the service.
  @throws TooManyEnvironmentsException
  The specified account has reached its limit of environments.
  @throws InsufficientPrivilegesException
  The specified account does not have sufficient privileges for one or more AWS services.
  @sample AWSElasticBeanstalk.ComposeEnvironments
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments"
  target="_top">AWS API Documentation</a>