def delete_dhcp_options(self): # TODO InvalidDhcpOptionsId.Malformed delete_status = False if "DhcpOptionsId" in self.querystring: dhcp_opt_id = self.querystring["DhcpOptionsId"][0] delete_status = ec2_backend.delete_dhcp_options_set(dhcp_opt_id) template = Template(DELETE_DHCP_OPTIONS_RESPONSE) return template.render(delete_status=delete_status)
def delete_dhcp_options(self): # TODO InvalidDhcpOptionsId.Malformed delete_status = False if "DhcpOptionsId" in self.querystring: dhcp_opt_id = self.querystring["DhcpOptionsId"][0] delete_status = ec2_backend.delete_dhcp_options_set(dhcp_opt_id) template = Template(DELETE_DHCP_OPTIONS_RESPONSE) return template.render(delete_status=delete_status)
def delete_dhcp_options(self): dhcp_opt_id = self.querystring.get("DhcpOptionsId", [None])[0] delete_status = ec2_backend.delete_dhcp_options_set(dhcp_opt_id) template = Template(DELETE_DHCP_OPTIONS_RESPONSE) return template.render(delete_status=delete_status)
def delete_dhcp_options(self): dhcp_opt_id = self.querystring.get("DhcpOptionsId", [None])[0] delete_status = ec2_backend.delete_dhcp_options_set(dhcp_opt_id) template = Template(DELETE_DHCP_OPTIONS_RESPONSE) return template.render(delete_status=delete_status)