Esempio n. 1
0
 def revoke_security_group_ingress(self):
     ec2_backend.revoke_security_group_ingress(*process_rules_from_querystring(self.querystring))
     return REVOKE_SECURITY_GROUP_INGRESS_REPONSE
Esempio n. 2
0
 def revoke_security_group_ingress(self):
     success = ec2_backend.revoke_security_group_ingress(*process_rules_from_querystring(self.querystring))
     if not success:
         return "Could not find a matching ingress rule", dict(status=404)
     return REVOKE_SECURITY_GROUP_INGRESS_REPONSE
Esempio n. 3
0
 def revoke_security_group_ingress(self):
     ec2_backend.revoke_security_group_ingress(
         *process_rules_from_querystring(self.querystring))
     return REVOKE_SECURITY_GROUP_INGRESS_REPONSE
Esempio n. 4
0
 def revoke_security_group_ingress(self):
     success = ec2_backend.revoke_security_group_ingress(
         *process_rules_from_querystring(self.querystring))
     if not success:
         return "Could not find a matching ingress rule", dict(status=404)
     return REVOKE_SECURITY_GROUP_INGRESS_REPONSE