From 07239490b79359e12f7e1e23f75b68f82bd2caf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anu=20Ka=CC=88ver?= Date: Mon, 11 Nov 2024 14:08:11 +0200 Subject: [PATCH] Add Bedrock Agent endpoints Map the Bedrock Agent and Bedrock Agent Runtime endpoints. This allows to start using the services with the `ex_aws` library. The PR is identical to the one which introduced endpoints for Bedrock and Bedrock Runtime: https://github.com/ex-aws/ex_aws/pull/1023. The list of supported endpoints relies on https://docs.aws.amazon.com/general/latest/gr/bedrock.html#bedrock_region. --- priv/endpoints.exs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/priv/endpoints.exs b/priv/endpoints.exs index bfe9da4e..41ccebbd 100644 --- a/priv/endpoints.exs +++ b/priv/endpoints.exs @@ -156,6 +156,40 @@ chime_voice_regions = [ "us-west-2" => %{} } }, + "bedrock-agent" => %{ + "defaults" => %{"credentialScope" => %{"service" => "bedrock"}}, + "endpoints" => %{ + "ap-northeast-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" => %{}, + "sa-east-1" => %{}, + "us-east-1" => %{}, + "us-west-2" => %{} + } + }, + "bedrock-agent-runtime" => %{ + "defaults" => %{"credentialScope" => %{"service" => "bedrock"}}, + "endpoints" => %{ + "ap-northeast-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" => %{}, + "sa-east-1" => %{}, + "us-east-1" => %{}, + "us-west-2" => %{} + } + }, "connect" => %{ "endpoints" => %{ "ap-northeast-1" => %{},