From 8e8cbb6fe8b7b005da062e62be728a71306b9456 Mon Sep 17 00:00:00 2001 From: Riivo Parts Date: Wed, 22 May 2024 11:21:01 +0300 Subject: [PATCH] Add redshift data endpoints According to the documentation, sending SQL statements to redshift is handled with different API: https://docs.aws.amazon.com/redshift-data/latest/APIReference/Welcome.html instead of https://docs.aws.amazon.com/redshift/latest/APIReference/Welcome.html so new service must be defined in the fork. --- priv/endpoints.exs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/priv/endpoints.exs b/priv/endpoints.exs index 731f1d12..4e1d12b3 100644 --- a/priv/endpoints.exs +++ b/priv/endpoints.exs @@ -1953,6 +1953,27 @@ chime_voice_regions = [ "us-west-2" => %{} } }, + "redshift-data" => %{ + "endpoints" => %{ + "ap-northeast-1" => %{}, + "ap-northeast-2" => %{}, + "ap-east-1" => %{}, + "ap-south-1" => %{}, + "ap-southeast-1" => %{}, + "ap-southeast-2" => %{}, + "ca-central-1" => %{}, + "eu-central-1" => %{}, + "eu-west-1" => %{}, + "eu-west-2" => %{}, + "eu-west-3" => %{}, + "eu-north-1" => %{}, + "sa-east-1" => %{}, + "us-east-1" => %{}, + "us-east-2" => %{}, + "us-west-1" => %{}, + "us-west-2" => %{} + } + }, "email" => %{ "endpoints" => %{ "af-south-1" => %{}, @@ -2718,6 +2739,7 @@ chime_voice_regions = [ }, "tagging" => %{"endpoints" => %{"cn-north-1" => %{}, "cn-northwest-1" => %{}}}, "redshift" => %{"endpoints" => %{"cn-north-1" => %{}, "cn-northwest-1" => %{}}}, + "redshift-data" => %{"endpoints" => %{"cn-north-1" => %{}, "cn-northwest-1" => %{}}}, "storagegateway" => %{"endpoints" => %{"cn-north-1" => %{}}}, "autoscaling" => %{ "defaults" => %{"protocols" => ["http", "https"]}, @@ -2913,6 +2935,7 @@ chime_voice_regions = [ }, "tagging" => %{"endpoints" => %{"us-gov-east-1" => %{}, "us-gov-west-1" => %{}}}, "redshift" => %{"endpoints" => %{"us-gov-east-1" => %{}, "us-gov-west-1" => %{}}}, + "redshift-data" => %{"endpoints" => %{"us-gov-east-1" => %{}, "us-gov-west-1" => %{}}}, "storagegateway" => %{"endpoints" => %{"us-gov-east-1" => %{}, "us-gov-west-1" => %{}}}, "autoscaling" => %{ "endpoints" => %{