code: @Override
      public ListProtectionsResult listProtections(ListProtectionsRequest request) {
          request = beforeClientExecution(request);
          return executeListProtections(request);
      }
docs: <p>
  Lists all <a>Protection</a> objects for the account.
  </p>
  
  @param listProtectionsRequest
  @return Result of the ListProtections operation returned by the service.
  @throws InternalErrorException
  Exception that indicates that a problem occurred with the service infrastructure. You can retry the
  request.
  @throws ResourceNotFoundException
  Exception indicating the specified resource does not exist.
  @throws InvalidPaginationTokenException
  Exception that indicates that the NextToken specified in the request is invalid. Submit the request using
  the NextToken value that was returned in the response.
  @sample AWSShield.ListProtections
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections" target="_top">AWS API
  Documentation</a>