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

Method GetDistConfig

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

Source from the content-addressed store, hash-verified

441 return response
442
443 def GetDistConfig(self, cfuri):
444 if cfuri.type != "cf":
445 raise ValueError("Expected CFUri instead of: %s" % cfuri)
446 response = self.send_request("GetDistConfig", dist_id = cfuri.dist_id())
447 response['dist_config'] = DistributionConfig(response['data'])
448 return response
449
450 def SetDistConfig(self, cfuri, dist_config, etag = None):
451 if etag == None:

Callers 3

ModifyDistributionMethod · 0.95
DeleteDistributionMethod · 0.95
SetDistConfigMethod · 0.95

Calls 3

send_requestMethod · 0.95
DistributionConfigClass · 0.85
dist_idMethod · 0.80

Tested by

no test coverage detected