aws-partitions 1.494.0 → 1.496.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-partitions/endpoint_provider.rb +8 -3
- data/partitions.json +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d83950fd3e41f59d014cb673b72615cfe2ef9358abca4b2920b042dc79f112c0
|
4
|
+
data.tar.gz: 0dfd8552a7e80f9e02c245d77de5b3f0c262de7e37c7cc8b57fd977dd5e38601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1433c2ccf2c00cecc4e30ebcc6af0ace8eafba18655f9cca5dec0e59526f641e67b97ad0f76db240f46e00af5ff3a840853a8fc02fe8c9544d6481f7050523d
|
7
|
+
data.tar.gz: 5384c1860970ade729d7e84c0c8770c2ee8f186ad6bc27fac7cad87970ff70ba21e8e1efbe0c54bc6a88733d5e78037c9f521ec3f72f54dc6642e42134e971d6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.496.0 (2021-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
|
8
|
+
|
9
|
+
1.495.0 (2021-09-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
|
13
|
+
|
4
14
|
1.494.0 (2021-09-01)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.496.0
|
@@ -96,9 +96,10 @@ module Aws
|
|
96
96
|
.sub('{dnsSuffix}', partition['dnsSuffix'])
|
97
97
|
end
|
98
98
|
|
99
|
-
def get_partition(
|
100
|
-
partition_containing_region(
|
101
|
-
partition_matching_region(
|
99
|
+
def get_partition(region_or_partition)
|
100
|
+
partition_containing_region(region_or_partition) ||
|
101
|
+
partition_matching_region(region_or_partition) ||
|
102
|
+
partition_matching_name(region_or_partition) ||
|
102
103
|
default_partition
|
103
104
|
end
|
104
105
|
|
@@ -117,6 +118,10 @@ module Aws
|
|
117
118
|
end
|
118
119
|
end
|
119
120
|
|
121
|
+
def partition_matching_name(partition_name)
|
122
|
+
@rules['partitions'].find { |p| p['partition'] == partition_name }
|
123
|
+
end
|
124
|
+
|
120
125
|
def default_partition
|
121
126
|
@rules['partitions'].find { |p| p['partition'] == 'aws' } ||
|
122
127
|
@rules['partitions'].first
|
data/partitions.json
CHANGED
@@ -251,11 +251,17 @@
|
|
251
251
|
"airflow" : {
|
252
252
|
"endpoints" : {
|
253
253
|
"ap-northeast-1" : { },
|
254
|
+
"ap-northeast-2" : { },
|
255
|
+
"ap-south-1" : { },
|
254
256
|
"ap-southeast-1" : { },
|
255
257
|
"ap-southeast-2" : { },
|
258
|
+
"ca-central-1" : { },
|
256
259
|
"eu-central-1" : { },
|
257
260
|
"eu-north-1" : { },
|
258
261
|
"eu-west-1" : { },
|
262
|
+
"eu-west-2" : { },
|
263
|
+
"eu-west-3" : { },
|
264
|
+
"sa-east-1" : { },
|
259
265
|
"us-east-1" : { },
|
260
266
|
"us-east-2" : { },
|
261
267
|
"us-west-2" : { }
|
@@ -620,6 +626,7 @@
|
|
620
626
|
"ap-east-1" : { },
|
621
627
|
"ap-northeast-1" : { },
|
622
628
|
"ap-northeast-2" : { },
|
629
|
+
"ap-northeast-3" : { },
|
623
630
|
"ap-south-1" : { },
|
624
631
|
"ap-southeast-1" : { },
|
625
632
|
"ap-southeast-2" : { },
|
@@ -1063,9 +1070,11 @@
|
|
1063
1070
|
},
|
1064
1071
|
"cloud9" : {
|
1065
1072
|
"endpoints" : {
|
1073
|
+
"af-south-1" : { },
|
1066
1074
|
"ap-east-1" : { },
|
1067
1075
|
"ap-northeast-1" : { },
|
1068
1076
|
"ap-northeast-2" : { },
|
1077
|
+
"ap-northeast-3" : { },
|
1069
1078
|
"ap-south-1" : { },
|
1070
1079
|
"ap-southeast-1" : { },
|
1071
1080
|
"ap-southeast-2" : { },
|
@@ -5107,6 +5116,7 @@
|
|
5107
5116
|
},
|
5108
5117
|
"polly" : {
|
5109
5118
|
"endpoints" : {
|
5119
|
+
"af-south-1" : { },
|
5110
5120
|
"ap-east-1" : { },
|
5111
5121
|
"ap-northeast-1" : { },
|
5112
5122
|
"ap-northeast-2" : { },
|
@@ -5634,6 +5644,7 @@
|
|
5634
5644
|
"ap-east-1" : { },
|
5635
5645
|
"ap-northeast-1" : { },
|
5636
5646
|
"ap-northeast-2" : { },
|
5647
|
+
"ap-northeast-3" : { },
|
5637
5648
|
"ap-south-1" : { },
|
5638
5649
|
"ap-southeast-1" : { },
|
5639
5650
|
"ap-southeast-2" : { },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-partitions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.496.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides interfaces to enumerate AWS partitions, regions, and services.
|
14
14
|
email:
|