code: @Override
      public BatchGetDeploymentTargetsResult batchGetDeploymentTargets(BatchGetDeploymentTargetsRequest request) {
          request = beforeClientExecution(request);
          return executeBatchGetDeploymentTargets(request);
      }
docs: <p>
  Returns an array of targets associated with a deployment. This method works with all compute types and should be
  used instead of the deprecated <code>BatchGetDeploymentInstances</code>.
  </p>
  <p>
  The type of targets returned depends on the deployment's compute platform:
  </p>
  <ul>
  <li>
  <p>
  <b>EC2/On-premises</b>: Information about EC2 instance targets.
  </p>
  </li>
  <li>
  <p>
  <b>AWS Lambda</b>: Information about Lambda functions targets.
  </p>
  </li>
  <li>
  <p>
  <b>Amazon ECS</b>: Information about Amazon ECS service targets.
  </p>
  </li>
  </ul>
  
  @param batchGetDeploymentTargetsRequest
  @return Result of the BatchGetDeploymentTargets operation returned by the service.
  @throws InvalidDeploymentIdException
  At least one of the deployment IDs was specified in an invalid format.
  @throws DeploymentIdRequiredException
  At least one deployment ID must be specified.
  @throws DeploymentDoesNotExistException
  The deployment with the IAM user or AWS account does not exist.
  @throws DeploymentTargetIdRequiredException
  A deployment target ID was not provided.
  @throws InvalidDeploymentTargetIdException
  The target ID provided was not valid.
  @throws DeploymentTargetDoesNotExistException
  The provided target ID does not belong to the attempted deployment.
  @throws DeploymentTargetListSizeExceededException
  The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda deployment was
  exceeded. The target list of both types of deployments must have exactly one item. This exception does
  not apply to EC2/On-premises deployments.
  @sample AmazonCodeDeploy.BatchGetDeploymentTargets
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets"
  target="_top">AWS API Documentation</a>