code: @Override
      public ListDeploymentsResult listDeployments(ListDeploymentsRequest request) {
          request = beforeClientExecution(request);
          return executeListDeployments(request);
      }
docs: Returns a history of deployments for the group.
  
  @param listDeploymentsRequest
  @return Result of the ListDeployments operation returned by the service.
  @throws BadRequestException
  invalid request
  @sample AWSGreengrass.ListDeployments
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeployments" target="_top">AWS API
  Documentation</a>