aws-partitions 1.493.0 → 1.497.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9618ccb7786af1f04d754c228cc109f218627afe3ff325eb7d159b83a5c3acdd
4
- data.tar.gz: d788a4f5d5998a63f62112156a898f2dec342bb8a0dee4a30313a88aa7c1df45
3
+ metadata.gz: dbd11e8e74eb9176ab96470c7eaefd81da40b406e16188b3cc65737d8dba1bfa
4
+ data.tar.gz: 5bb58390f96ffcd7c934bcef04a6b87ee5ab30c59d271d5b62798ab199dbc0df
5
5
  SHA512:
6
- metadata.gz: 690cc3d34c0811deec6f9b715ebf53cb02fc638bc2f6dec4d8fa35486c1fd2eb7ec2c925947205456b02cf9eaf1696d8865e177096d8966bfb5504610dd68c94
7
- data.tar.gz: 94bf725fd18c19445ad7a4d45ac68ce0e25da2f464f86f5fd5a2b96b335e3f1a6db60fdfd02f8c34cf7ba4042e875338997a06034d10212ab1fd79957d1c182c
6
+ metadata.gz: cb1ca05628eab9b11e04bf34e10ba607e4cb477e3fa69f820c55dbf7fa17526b7d0c62b5bbb9386e5a463d59f02f24e66a12d8e9361486c4779b22542b04b04d
7
+ data.tar.gz: 72b471a43edcb14c4ff3871174bdccbd6f7d0afc355689d435cb5a0e9b35b6d404d568f1aef0b925b453d96512b4739b2632ad46a4966c866fa2547bb77701fb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,28 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.497.0 (2021-09-07)
5
+ ------------------
6
+
7
+ * Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
8
+
9
+ 1.496.0 (2021-09-03)
10
+ ------------------
11
+
12
+ * Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
13
+
14
+ 1.495.0 (2021-09-02)
15
+ ------------------
16
+
17
+ * Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
18
+
19
+ 1.494.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
23
+
24
+ * Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 1.9, 2.0, 2.1, and 2.2.
25
+
4
26
  1.493.0 (2021-08-31)
5
27
  ------------------
6
28
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.493.0
1
+ 1.497.0
@@ -96,9 +96,10 @@ module Aws
96
96
  .sub('{dnsSuffix}', partition['dnsSuffix'])
97
97
  end
98
98
 
99
- def get_partition(region)
100
- partition_containing_region(region) ||
101
- partition_matching_region(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" : { },
@@ -1021,6 +1028,13 @@
1021
1028
  "us-west-2" : { }
1022
1029
  }
1023
1030
  },
1031
+ "braket" : {
1032
+ "endpoints" : {
1033
+ "us-east-1" : { },
1034
+ "us-west-1" : { },
1035
+ "us-west-2" : { }
1036
+ }
1037
+ },
1024
1038
  "budgets" : {
1025
1039
  "endpoints" : {
1026
1040
  "aws-global" : {
@@ -1063,9 +1077,11 @@
1063
1077
  },
1064
1078
  "cloud9" : {
1065
1079
  "endpoints" : {
1080
+ "af-south-1" : { },
1066
1081
  "ap-east-1" : { },
1067
1082
  "ap-northeast-1" : { },
1068
1083
  "ap-northeast-2" : { },
1084
+ "ap-northeast-3" : { },
1069
1085
  "ap-south-1" : { },
1070
1086
  "ap-southeast-1" : { },
1071
1087
  "ap-southeast-2" : { },
@@ -3945,6 +3961,13 @@
3945
3961
  }
3946
3962
  }
3947
3963
  },
3964
+ "ivs" : {
3965
+ "endpoints" : {
3966
+ "eu-west-1" : { },
3967
+ "us-east-1" : { },
3968
+ "us-west-2" : { }
3969
+ }
3970
+ },
3948
3971
  "kafka" : {
3949
3972
  "endpoints" : {
3950
3973
  "ap-east-1" : { },
@@ -5100,6 +5123,7 @@
5100
5123
  },
5101
5124
  "polly" : {
5102
5125
  "endpoints" : {
5126
+ "af-south-1" : { },
5103
5127
  "ap-east-1" : { },
5104
5128
  "ap-northeast-1" : { },
5105
5129
  "ap-northeast-2" : { },
@@ -5627,6 +5651,7 @@
5627
5651
  "ap-east-1" : { },
5628
5652
  "ap-northeast-1" : { },
5629
5653
  "ap-northeast-2" : { },
5654
+ "ap-northeast-3" : { },
5630
5655
  "ap-south-1" : { },
5631
5656
  "ap-southeast-1" : { },
5632
5657
  "ap-southeast-2" : { },
@@ -6759,6 +6784,19 @@
6759
6784
  "us-west-2" : { }
6760
6785
  }
6761
6786
  },
6787
+ "ssm-incidents" : {
6788
+ "endpoints" : {
6789
+ "ap-northeast-1" : { },
6790
+ "ap-southeast-1" : { },
6791
+ "ap-southeast-2" : { },
6792
+ "eu-central-1" : { },
6793
+ "eu-north-1" : { },
6794
+ "eu-west-1" : { },
6795
+ "us-east-1" : { },
6796
+ "us-east-2" : { },
6797
+ "us-west-2" : { }
6798
+ }
6799
+ },
6762
6800
  "states" : {
6763
6801
  "endpoints" : {
6764
6802
  "af-south-1" : { },
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.493.0
4
+ version: 1.497.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-08-31 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides interfaces to enumerate AWS partitions, regions, and services.
14
14
  email:
@@ -40,7 +40,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '0'
43
+ version: '2.3'
44
44
  required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="