code: @Override
      public StopDeploymentResult stopDeployment(StopDeploymentRequest request) {
          request = beforeClientExecution(request);
          return executeStopDeployment(request);
      }
docs: <p>
  Attempts to stop an ongoing deployment.
  </p>
  
  @param stopDeploymentRequest
  Represents the input of a StopDeployment operation.
  @return Result of the StopDeployment 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 DeploymentGroupDoesNotExistException
  The named deployment group with the IAM user or AWS account does not exist.
  @throws DeploymentAlreadyCompletedException
  The deployment is already complete.
  @throws InvalidDeploymentIdException
  At least one of the deployment IDs was specified in an invalid format.
  @sample AmazonCodeDeploy.StopDeployment
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment" target="_top">AWS API
  Documentation</a>