code: public static boolean isThrottlingException(SdkBaseException exception) {
          if (!isAse(exception)) {
              return false;
          }
          final AmazonServiceException ase = toAse(exception);
          return THROTTLING_ERROR_CODES.contains(ase.getErrorCode()) || ase.getStatusCode() == 429;
      }
docs: Returns true if the specified exception is a throttling error.
  
  @param exception The exception to test.
  @return True if the exception resulted from a throttling error message from a service, otherwise false.