From 5951fd0c1663e61d7bb9e2e428969f467441dad3 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Thu, 20 Jul 2023 03:06:12 +0000 Subject: [PATCH] Regenerated Clients --- .changelog/31eb6676bb6246a58063176389daa2aa.json | 8 ++++++++ .../savingsplans/internal/endpoints/endpoints.go | 15 ++------------- 2 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 .changelog/31eb6676bb6246a58063176389daa2aa.json diff --git a/.changelog/31eb6676bb6246a58063176389daa2aa.json b/.changelog/31eb6676bb6246a58063176389daa2aa.json new file mode 100644 index 00000000000..865a0a24ca1 --- /dev/null +++ b/.changelog/31eb6676bb6246a58063176389daa2aa.json @@ -0,0 +1,8 @@ +{ + "id": "31eb6676-bb62-46a5-8063-176389daa2aa", + "type": "documentation", + "description": "Savings Plans endpoints update", + "modules": [ + "service/savingsplans" + ] +} \ No newline at end of file diff --git a/service/savingsplans/internal/endpoints/endpoints.go b/service/savingsplans/internal/endpoints/endpoints.go index 2117a6b7048..ee44aafe131 100644 --- a/service/savingsplans/internal/endpoints/endpoints.go +++ b/service/savingsplans/internal/endpoints/endpoints.go @@ -312,18 +312,7 @@ var defaultPartitions = endpoints.Partitions{ SignatureVersions: []string{"v4"}, }, }, - RegionRegex: partitionRegexp.AwsUsGov, - IsRegionalized: false, - PartitionEndpoint: "aws-us-gov-global", - Endpoints: endpoints.Endpoints{ - endpoints.EndpointKey{ - Region: "aws-us-gov-global", - }: endpoints.Endpoint{ - Hostname: "savingsplans.amazonaws.com", - CredentialScope: endpoints.CredentialScope{ - Region: "us-gov-west-1", - }, - }, - }, + RegionRegex: partitionRegexp.AwsUsGov, + IsRegionalized: true, }, }