code: @Override
      public ListDeploymentGroupsResult listDeploymentGroups(ListDeploymentGroupsRequest request) {
          request = beforeClientExecution(request);
          return executeListDeploymentGroups(request);
      }
docs: <p>
  Lists the deployment groups for an application registered with the IAM user or AWS account.
  </p>
  
  @param listDeploymentGroupsRequest
  Represents the input of a ListDeploymentGroups operation.
  @return Result of the ListDeploymentGroups operation returned by the service.
  @throws ApplicationNameRequiredException
  The minimum number of required application names was not specified.
  @throws InvalidApplicationNameException
  The application name was specified in an invalid format.
  @throws ApplicationDoesNotExistException
  The application does not exist with the IAM user or AWS account.
  @throws InvalidNextTokenException
  The next token was specified in an invalid format.
  @sample AmazonCodeDeploy.ListDeploymentGroups
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups"
  target="_top">AWS API Documentation</a>