def delete_vpc(self): vpc_id = self.querystring.get('VpcId')[0] vpc = ec2_backend.delete_vpc(vpc_id) if vpc: template = Template(DELETE_VPC_RESPONSE) return template.render(vpc=vpc) else: return "", dict(status=404)
def delete_vpc(self): vpc_id = self.querystring.get('VpcId')[0] vpc = ec2_backend.delete_vpc(vpc_id) template = Template(DELETE_VPC_RESPONSE) return template.render(vpc=vpc)