MCPcopy Create free account
hub / github.com/s3tools/s3cmd / GetList

Method GetList

S3/CloudFront.py:351–357  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

349 ## --------------------------------------------------
350
351 def GetList(self):
352 response = self.send_request("GetList")
353 response['dist_list'] = DistributionList(response['data'])
354 if response['dist_list'].info['IsTruncated']:
355 raise NotImplementedError("List is truncated. Ask s3cmd author to add support.")
356 ## TODO: handle Truncated
357 return response
358
359 def CreateDistribution(self, uri, cnames_add = [], comment = None, logging = None, default_root_object = None):
360 dist_config = DistributionConfig()

Callers 2

infoMethod · 0.95

Calls 2

send_requestMethod · 0.95
DistributionListClass · 0.85

Tested by

no test coverage detected