(args)
| 754 | |
| 755 | @staticmethod |
| 756 | def delete(args): |
| 757 | cf = CloudFront(Config()) |
| 758 | cfuris = Cmd._parse_args(args) |
| 759 | for cfuri in cfuris: |
| 760 | response = cf.DeleteDistribution(cfuri) |
| 761 | if response['status'] >= 400: |
| 762 | error("Distribution %s could not be deleted: %s" % (cfuri, response['reason'])) |
| 763 | output("Distribution %s deleted" % cfuri) |
| 764 | |
| 765 | @staticmethod |
| 766 | def modify(args): |
nothing calls this directly
no test coverage detected