From a4037c904773687a4e6b2dd1a4a4b467fec0b696 Mon Sep 17 00:00:00 2001 From: Eric Laurello Date: Wed, 16 Apr 2025 10:18:32 -0400 Subject: [PATCH] api int update --- macros/streamline/streamline_udfs.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/streamline/streamline_udfs.sql b/macros/streamline/streamline_udfs.sql index d359c15..e42fc2e 100644 --- a/macros/streamline/streamline_udfs.sql +++ b/macros/streamline/streamline_udfs.sql @@ -3,7 +3,7 @@ OR REPLACE EXTERNAL FUNCTION streamline.udf_bulk_rest_api_v2( json OBJECT ) returns ARRAY {% if target.database == 'TON' -%} - api_integration = aws_ton_api_prod AS 'https://e2rz7s6i8j.execute-api.us-east-1.amazonaws.com/prod/udf_bulk_rest_api' + api_integration = aws_ton_api_prod_v2 AS 'https://e2rz7s6i8j.execute-api.us-east-1.amazonaws.com/prod/udf_bulk_rest_api' {% else %} api_integration = aws_ton_api_stg_v2 AS 'https://f1nw4eppf9.execute-api.us-east-1.amazonaws.com/stg/udf_bulk_rest_api' {%- endif %}