code: @Override
      @Deprecated
      public ListDeploymentInstancesResult listDeploymentInstances(ListDeploymentInstancesRequest request) {
          request = beforeClientExecution(request);
          return executeListDeploymentInstances(request);
      }
docs: <note>
  <p>
  The newer BatchGetDeploymentTargets should be used instead because it works with all compute types.
  <code>ListDeploymentInstances</code> throws an exception if it is used with a compute platform other than
  EC2/On-premises or AWS Lambda.
  </p>
  </note>
  <p>
  Lists the instance for a deployment associated with the IAM user or AWS account.
  </p>
  
  @param listDeploymentInstancesRequest
  Represents the input of a ListDeploymentInstances operation.
  @return Result of the ListDeploymentInstances operation returned by the service.
  @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 DeploymentNotStartedException
  The specified deployment has not started.
  @throws InvalidNextTokenException
  The next token was specified in an invalid format.
  @throws InvalidDeploymentIdException
  At least one of the deployment IDs was specified in an invalid format.
  @throws InvalidInstanceStatusException
  The specified instance status does not exist.
  @throws InvalidInstanceTypeException
  An invalid instance type was specified for instances in a blue/green deployment. Valid values include
  "Blue" for an original environment and "Green" for a replacement environment.
  @throws InvalidDeploymentInstanceTypeException
  An instance type was specified for an in-place deployment. Instance types are supported for blue/green
  deployments only.
  @throws InvalidTargetFilterNameException
  The target filter name is invalid.
  @throws InvalidComputePlatformException
  The computePlatform is invalid. The computePlatform should be <code>Lambda</code> or <code>Server</code>.
  @sample AmazonCodeDeploy.ListDeploymentInstances
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances"
  target="_top">AWS API Documentation</a>