code: public ListBucketHandler parseListBucketObjectsResponse(InputStream inputStream, final boolean shouldSDKDecodeResponse)
              throws IOException {
          ListBucketHandler handler = new ListBucketHandler(shouldSDKDecodeResponse);
          parseXmlInputStream(handler, sanitizeXmlDocument(handler, inputStream));
  
          return handler;
      }
docs: Parses a ListBucket response XML document from an input stream.
  
  @param inputStream
  XML data input stream.
  @return the XML handler object populated with data parsed from the XML
  stream.
  @throws SdkClientException