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

Method GetDistInfo

S3/CloudFront.py:436–441  ·  view source on GitHub ↗
(self, cfuri)

Source from the content-addressed store, hash-verified

434 return response
435
436 def GetDistInfo(self, cfuri):
437 if cfuri.type != "cf":
438 raise ValueError("Expected CFUri instead of: %s" % cfuri)
439 response = self.send_request("GetDistInfo", dist_id = cfuri.dist_id())
440 response['distribution'] = Distribution(response['data'])
441 return response
442
443 def GetDistConfig(self, cfuri):
444 if cfuri.type != "cf":

Callers 3

DeleteDistributionMethod · 0.95
infoMethod · 0.95
modifyMethod · 0.95

Calls 3

send_requestMethod · 0.95
DistributionClass · 0.85
dist_idMethod · 0.80

Tested by

no test coverage detected