def get_securities_info(vpc_id, ec2, type): securities = security_service.security_groups(ec2, type) get_securities_info = securities.describe_ips(vpc_id) finish = str(time.perf_counter()) print('get_securities_info' + finish) return get_securities_info
def get_securities_info(vpc_id, ec2, type): securities = security_service.security_groups(ec2, type) get_securities_info = securities.describe_ips(vpc_id) return get_securities_info