aws-partitions 1.987.0 → 1.993.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-partitions/metadata.rb +32 -0
- data/lib/aws-partitions.rb +2 -1
- data/partitions.json +262 -21
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c1aa83f2d518a8095fea89c64218d98ba5ae72e219de551627d0fcc69f464ec
|
4
|
+
data.tar.gz: dc26646310d95ee473cc5153a335b8c7f1a4971084e9085a6c881a3ea71eea01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31cef5a22b2bb312b98ddd2d02c96e4be1d90dfbbe052a28d3baaf40be66420c3ccc98bf2ef6f22c3f384969049debb19b6fe4966ede021fa0792942e92d408b
|
7
|
+
data.tar.gz: 0bd9d130fba5072060b5168c1357ebcf636b73c43d3ddc282f91dc4ae2c509e34d503dfbc2c8a1e7ae1cee3a77b505defa42306d0f41249426f8778b2b05bb0c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,36 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.993.0 (2024-10-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
|
8
|
+
|
9
|
+
1.992.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add partition metadata module, allowing access without loading entire partitions.json.
|
13
|
+
|
14
|
+
1.991.0 (2024-10-15)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
|
18
|
+
|
19
|
+
1.990.0 (2024-10-14)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
|
23
|
+
|
24
|
+
1.989.0 (2024-10-10)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Added support for enumerating regions for `Aws::SocialMessaging`.
|
28
|
+
|
29
|
+
1.988.0 (2024-10-09)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
|
33
|
+
|
4
34
|
1.987.0 (2024-10-08)
|
5
35
|
------------------
|
6
36
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.993.0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Aws
|
4
|
+
module Partitions
|
5
|
+
# @api private
|
6
|
+
module Metadata
|
7
|
+
class << self
|
8
|
+
|
9
|
+
# aws.partition(region: string) Option<Partition>
|
10
|
+
def partition(region)
|
11
|
+
partition =
|
12
|
+
partitions.find { |p| p['regions']&.fetch(region, nil) } ||
|
13
|
+
partitions.find { |p| region.match(p['regionRegex']) } ||
|
14
|
+
partitions.find { |p| p['id'] == 'aws' }
|
15
|
+
|
16
|
+
return nil unless partition
|
17
|
+
|
18
|
+
partition['outputs']
|
19
|
+
end
|
20
|
+
|
21
|
+
def partitions
|
22
|
+
@partitions ||= default_partition_metadata
|
23
|
+
end
|
24
|
+
|
25
|
+
def default_partition_metadata
|
26
|
+
path = File.expand_path('../../../partitions-metadata.json', __FILE__)
|
27
|
+
JSON.parse(File.read(path), freeze: true)['partitions']
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
data/lib/aws-partitions.rb
CHANGED
@@ -5,6 +5,7 @@ require_relative 'aws-partitions/partition'
|
|
5
5
|
require_relative 'aws-partitions/partition_list'
|
6
6
|
require_relative 'aws-partitions/region'
|
7
7
|
require_relative 'aws-partitions/service'
|
8
|
+
require_relative 'aws-partitions/metadata'
|
8
9
|
|
9
10
|
require 'json'
|
10
11
|
|
@@ -501,7 +502,6 @@ module Aws
|
|
501
502
|
'NetworkFirewall' => 'network-firewall',
|
502
503
|
'NetworkManager' => 'networkmanager',
|
503
504
|
'NetworkMonitor' => 'networkmonitor',
|
504
|
-
'NimbleStudio' => 'nimble',
|
505
505
|
'OAM' => 'oam',
|
506
506
|
'OSIS' => 'osis',
|
507
507
|
'Omics' => 'omics',
|
@@ -598,6 +598,7 @@ module Aws
|
|
598
598
|
'SimpleDB' => 'sdb',
|
599
599
|
'SnowDeviceManagement' => 'snow-device-management',
|
600
600
|
'Snowball' => 'snowball',
|
601
|
+
'SocialMessaging' => 'social-messaging',
|
601
602
|
'SsmSap' => 'ssm-sap',
|
602
603
|
'States' => 'states',
|
603
604
|
'StorageGateway' => 'storagegateway',
|
data/partitions.json
CHANGED
@@ -2055,20 +2055,76 @@
|
|
2055
2055
|
"protocols" : [ "https" ]
|
2056
2056
|
},
|
2057
2057
|
"endpoints" : {
|
2058
|
-
"ap-northeast-1" : {
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
"
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
"
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2058
|
+
"ap-northeast-1" : {
|
2059
|
+
"variants" : [ {
|
2060
|
+
"tags" : [ "dualstack" ]
|
2061
|
+
} ]
|
2062
|
+
},
|
2063
|
+
"ap-northeast-2" : {
|
2064
|
+
"variants" : [ {
|
2065
|
+
"tags" : [ "dualstack" ]
|
2066
|
+
} ]
|
2067
|
+
},
|
2068
|
+
"ap-south-1" : {
|
2069
|
+
"variants" : [ {
|
2070
|
+
"tags" : [ "dualstack" ]
|
2071
|
+
} ]
|
2072
|
+
},
|
2073
|
+
"ap-southeast-1" : {
|
2074
|
+
"variants" : [ {
|
2075
|
+
"tags" : [ "dualstack" ]
|
2076
|
+
} ]
|
2077
|
+
},
|
2078
|
+
"ap-southeast-2" : {
|
2079
|
+
"variants" : [ {
|
2080
|
+
"tags" : [ "dualstack" ]
|
2081
|
+
} ]
|
2082
|
+
},
|
2083
|
+
"eu-central-1" : {
|
2084
|
+
"variants" : [ {
|
2085
|
+
"tags" : [ "dualstack" ]
|
2086
|
+
} ]
|
2087
|
+
},
|
2088
|
+
"eu-north-1" : {
|
2089
|
+
"variants" : [ {
|
2090
|
+
"tags" : [ "dualstack" ]
|
2091
|
+
} ]
|
2092
|
+
},
|
2093
|
+
"eu-west-1" : {
|
2094
|
+
"variants" : [ {
|
2095
|
+
"tags" : [ "dualstack" ]
|
2096
|
+
} ]
|
2097
|
+
},
|
2098
|
+
"eu-west-2" : {
|
2099
|
+
"variants" : [ {
|
2100
|
+
"tags" : [ "dualstack" ]
|
2101
|
+
} ]
|
2102
|
+
},
|
2103
|
+
"eu-west-3" : {
|
2104
|
+
"variants" : [ {
|
2105
|
+
"tags" : [ "dualstack" ]
|
2106
|
+
} ]
|
2107
|
+
},
|
2108
|
+
"sa-east-1" : {
|
2109
|
+
"variants" : [ {
|
2110
|
+
"tags" : [ "dualstack" ]
|
2111
|
+
} ]
|
2112
|
+
},
|
2113
|
+
"us-east-1" : {
|
2114
|
+
"variants" : [ {
|
2115
|
+
"tags" : [ "dualstack" ]
|
2116
|
+
} ]
|
2117
|
+
},
|
2118
|
+
"us-east-2" : {
|
2119
|
+
"variants" : [ {
|
2120
|
+
"tags" : [ "dualstack" ]
|
2121
|
+
} ]
|
2122
|
+
},
|
2123
|
+
"us-west-2" : {
|
2124
|
+
"variants" : [ {
|
2125
|
+
"tags" : [ "dualstack" ]
|
2126
|
+
} ]
|
2127
|
+
}
|
2072
2128
|
}
|
2073
2129
|
},
|
2074
2130
|
"arc-zonal-shift" : {
|
@@ -2576,6 +2632,7 @@
|
|
2576
2632
|
"ap-southeast-2" : { },
|
2577
2633
|
"ap-southeast-3" : { },
|
2578
2634
|
"ap-southeast-4" : { },
|
2635
|
+
"ap-southeast-5" : { },
|
2579
2636
|
"ca-central-1" : { },
|
2580
2637
|
"ca-west-1" : { },
|
2581
2638
|
"eu-central-1" : { },
|
@@ -4922,6 +4979,7 @@
|
|
4922
4979
|
"ap-southeast-2" : { },
|
4923
4980
|
"ap-southeast-3" : { },
|
4924
4981
|
"ap-southeast-4" : { },
|
4982
|
+
"ap-southeast-5" : { },
|
4925
4983
|
"ca-central-1" : {
|
4926
4984
|
"variants" : [ {
|
4927
4985
|
"hostname" : "controltower-fips.ca-central-1.amazonaws.com",
|
@@ -16196,8 +16254,24 @@
|
|
16196
16254
|
"ap-southeast-2" : { },
|
16197
16255
|
"ap-southeast-3" : { },
|
16198
16256
|
"ap-southeast-4" : { },
|
16199
|
-
"ca-central-1" : {
|
16200
|
-
|
16257
|
+
"ca-central-1" : {
|
16258
|
+
"variants" : [ {
|
16259
|
+
"hostname" : "resource-explorer-2-fips.ca-central-1.amazonaws.com",
|
16260
|
+
"tags" : [ "fips" ]
|
16261
|
+
}, {
|
16262
|
+
"hostname" : "resource-explorer-2-fips.ca-central-1.api.aws",
|
16263
|
+
"tags" : [ "dualstack", "fips" ]
|
16264
|
+
} ]
|
16265
|
+
},
|
16266
|
+
"ca-west-1" : {
|
16267
|
+
"variants" : [ {
|
16268
|
+
"hostname" : "resource-explorer-2-fips.ca-west-1.amazonaws.com",
|
16269
|
+
"tags" : [ "fips" ]
|
16270
|
+
}, {
|
16271
|
+
"hostname" : "resource-explorer-2-fips.ca-west-1.api.aws",
|
16272
|
+
"tags" : [ "dualstack", "fips" ]
|
16273
|
+
} ]
|
16274
|
+
},
|
16201
16275
|
"eu-central-1" : { },
|
16202
16276
|
"eu-central-2" : { },
|
16203
16277
|
"eu-north-1" : { },
|
@@ -16206,14 +16280,88 @@
|
|
16206
16280
|
"eu-west-1" : { },
|
16207
16281
|
"eu-west-2" : { },
|
16208
16282
|
"eu-west-3" : { },
|
16283
|
+
"fips-ca-central-1" : {
|
16284
|
+
"credentialScope" : {
|
16285
|
+
"region" : "ca-central-1"
|
16286
|
+
},
|
16287
|
+
"deprecated" : true,
|
16288
|
+
"hostname" : "resource-explorer-2-fips.ca-central-1.amazonaws.com"
|
16289
|
+
},
|
16290
|
+
"fips-ca-west-1" : {
|
16291
|
+
"credentialScope" : {
|
16292
|
+
"region" : "ca-west-1"
|
16293
|
+
},
|
16294
|
+
"deprecated" : true,
|
16295
|
+
"hostname" : "resource-explorer-2-fips.ca-west-1.amazonaws.com"
|
16296
|
+
},
|
16297
|
+
"fips-us-east-1" : {
|
16298
|
+
"credentialScope" : {
|
16299
|
+
"region" : "us-east-1"
|
16300
|
+
},
|
16301
|
+
"deprecated" : true,
|
16302
|
+
"hostname" : "resource-explorer-2-fips.us-east-1.amazonaws.com"
|
16303
|
+
},
|
16304
|
+
"fips-us-east-2" : {
|
16305
|
+
"credentialScope" : {
|
16306
|
+
"region" : "us-east-2"
|
16307
|
+
},
|
16308
|
+
"deprecated" : true,
|
16309
|
+
"hostname" : "resource-explorer-2-fips.us-east-2.amazonaws.com"
|
16310
|
+
},
|
16311
|
+
"fips-us-west-1" : {
|
16312
|
+
"credentialScope" : {
|
16313
|
+
"region" : "us-west-1"
|
16314
|
+
},
|
16315
|
+
"deprecated" : true,
|
16316
|
+
"hostname" : "resource-explorer-2-fips.us-west-1.amazonaws.com"
|
16317
|
+
},
|
16318
|
+
"fips-us-west-2" : {
|
16319
|
+
"credentialScope" : {
|
16320
|
+
"region" : "us-west-2"
|
16321
|
+
},
|
16322
|
+
"deprecated" : true,
|
16323
|
+
"hostname" : "resource-explorer-2-fips.us-west-2.amazonaws.com"
|
16324
|
+
},
|
16209
16325
|
"il-central-1" : { },
|
16210
16326
|
"me-central-1" : { },
|
16211
16327
|
"me-south-1" : { },
|
16212
16328
|
"sa-east-1" : { },
|
16213
|
-
"us-east-1" : {
|
16214
|
-
|
16215
|
-
|
16216
|
-
|
16329
|
+
"us-east-1" : {
|
16330
|
+
"variants" : [ {
|
16331
|
+
"hostname" : "resource-explorer-2-fips.us-east-1.amazonaws.com",
|
16332
|
+
"tags" : [ "fips" ]
|
16333
|
+
}, {
|
16334
|
+
"hostname" : "resource-explorer-2-fips.us-east-1.api.aws",
|
16335
|
+
"tags" : [ "dualstack", "fips" ]
|
16336
|
+
} ]
|
16337
|
+
},
|
16338
|
+
"us-east-2" : {
|
16339
|
+
"variants" : [ {
|
16340
|
+
"hostname" : "resource-explorer-2-fips.us-east-2.amazonaws.com",
|
16341
|
+
"tags" : [ "fips" ]
|
16342
|
+
}, {
|
16343
|
+
"hostname" : "resource-explorer-2-fips.us-east-2.api.aws",
|
16344
|
+
"tags" : [ "dualstack", "fips" ]
|
16345
|
+
} ]
|
16346
|
+
},
|
16347
|
+
"us-west-1" : {
|
16348
|
+
"variants" : [ {
|
16349
|
+
"hostname" : "resource-explorer-2-fips.us-west-1.amazonaws.com",
|
16350
|
+
"tags" : [ "fips" ]
|
16351
|
+
}, {
|
16352
|
+
"hostname" : "resource-explorer-2-fips.us-west-1.api.aws",
|
16353
|
+
"tags" : [ "dualstack", "fips" ]
|
16354
|
+
} ]
|
16355
|
+
},
|
16356
|
+
"us-west-2" : {
|
16357
|
+
"variants" : [ {
|
16358
|
+
"hostname" : "resource-explorer-2-fips.us-west-2.amazonaws.com",
|
16359
|
+
"tags" : [ "fips" ]
|
16360
|
+
}, {
|
16361
|
+
"hostname" : "resource-explorer-2-fips.us-west-2.api.aws",
|
16362
|
+
"tags" : [ "dualstack", "fips" ]
|
16363
|
+
} ]
|
16364
|
+
}
|
16217
16365
|
}
|
16218
16366
|
},
|
16219
16367
|
"resource-groups" : {
|
@@ -19697,6 +19845,86 @@
|
|
19697
19845
|
}
|
19698
19846
|
}
|
19699
19847
|
},
|
19848
|
+
"ssm-quicksetup" : {
|
19849
|
+
"endpoints" : {
|
19850
|
+
"ap-northeast-1" : { },
|
19851
|
+
"ap-northeast-2" : { },
|
19852
|
+
"ap-south-1" : { },
|
19853
|
+
"ap-southeast-1" : { },
|
19854
|
+
"ap-southeast-2" : { },
|
19855
|
+
"ca-central-1" : {
|
19856
|
+
"variants" : [ {
|
19857
|
+
"hostname" : "ssm-quicksetup-fips.ca-central-1.amazonaws.com",
|
19858
|
+
"tags" : [ "fips" ]
|
19859
|
+
} ]
|
19860
|
+
},
|
19861
|
+
"eu-central-1" : { },
|
19862
|
+
"eu-north-1" : { },
|
19863
|
+
"eu-west-1" : { },
|
19864
|
+
"eu-west-2" : { },
|
19865
|
+
"eu-west-3" : { },
|
19866
|
+
"fips-ca-central-1" : {
|
19867
|
+
"credentialScope" : {
|
19868
|
+
"region" : "ca-central-1"
|
19869
|
+
},
|
19870
|
+
"deprecated" : true,
|
19871
|
+
"hostname" : "ssm-quicksetup-fips.ca-central-1.amazonaws.com"
|
19872
|
+
},
|
19873
|
+
"fips-us-east-1" : {
|
19874
|
+
"credentialScope" : {
|
19875
|
+
"region" : "us-east-1"
|
19876
|
+
},
|
19877
|
+
"deprecated" : true,
|
19878
|
+
"hostname" : "ssm-quicksetup-fips.us-east-1.amazonaws.com"
|
19879
|
+
},
|
19880
|
+
"fips-us-east-2" : {
|
19881
|
+
"credentialScope" : {
|
19882
|
+
"region" : "us-east-2"
|
19883
|
+
},
|
19884
|
+
"deprecated" : true,
|
19885
|
+
"hostname" : "ssm-quicksetup-fips.us-east-2.amazonaws.com"
|
19886
|
+
},
|
19887
|
+
"fips-us-west-1" : {
|
19888
|
+
"credentialScope" : {
|
19889
|
+
"region" : "us-west-1"
|
19890
|
+
},
|
19891
|
+
"deprecated" : true,
|
19892
|
+
"hostname" : "ssm-quicksetup-fips.us-west-1.amazonaws.com"
|
19893
|
+
},
|
19894
|
+
"fips-us-west-2" : {
|
19895
|
+
"credentialScope" : {
|
19896
|
+
"region" : "us-west-2"
|
19897
|
+
},
|
19898
|
+
"deprecated" : true,
|
19899
|
+
"hostname" : "ssm-quicksetup-fips.us-west-2.amazonaws.com"
|
19900
|
+
},
|
19901
|
+
"sa-east-1" : { },
|
19902
|
+
"us-east-1" : {
|
19903
|
+
"variants" : [ {
|
19904
|
+
"hostname" : "ssm-quicksetup-fips.us-east-1.amazonaws.com",
|
19905
|
+
"tags" : [ "fips" ]
|
19906
|
+
} ]
|
19907
|
+
},
|
19908
|
+
"us-east-2" : {
|
19909
|
+
"variants" : [ {
|
19910
|
+
"hostname" : "ssm-quicksetup-fips.us-east-2.amazonaws.com",
|
19911
|
+
"tags" : [ "fips" ]
|
19912
|
+
} ]
|
19913
|
+
},
|
19914
|
+
"us-west-1" : {
|
19915
|
+
"variants" : [ {
|
19916
|
+
"hostname" : "ssm-quicksetup-fips.us-west-1.amazonaws.com",
|
19917
|
+
"tags" : [ "fips" ]
|
19918
|
+
} ]
|
19919
|
+
},
|
19920
|
+
"us-west-2" : {
|
19921
|
+
"variants" : [ {
|
19922
|
+
"hostname" : "ssm-quicksetup-fips.us-west-2.amazonaws.com",
|
19923
|
+
"tags" : [ "fips" ]
|
19924
|
+
} ]
|
19925
|
+
}
|
19926
|
+
}
|
19927
|
+
},
|
19700
19928
|
"ssm-sap" : {
|
19701
19929
|
"endpoints" : {
|
19702
19930
|
"af-south-1" : { },
|
@@ -22174,9 +22402,16 @@
|
|
22174
22402
|
"ap-northeast-2" : { },
|
22175
22403
|
"ap-southeast-1" : { },
|
22176
22404
|
"ap-southeast-2" : { },
|
22177
|
-
"ca-central-1" : {
|
22405
|
+
"ca-central-1" : {
|
22406
|
+
"variants" : [ {
|
22407
|
+
"tags" : [ "fips" ]
|
22408
|
+
} ]
|
22409
|
+
},
|
22178
22410
|
"eu-central-1" : { },
|
22179
22411
|
"eu-west-2" : { },
|
22412
|
+
"fips-ca-central-1" : {
|
22413
|
+
"deprecated" : true
|
22414
|
+
},
|
22180
22415
|
"fips-us-east-1" : {
|
22181
22416
|
"deprecated" : true
|
22182
22417
|
},
|
@@ -27995,6 +28230,12 @@
|
|
27995
28230
|
}
|
27996
28231
|
}
|
27997
28232
|
},
|
28233
|
+
"schemas" : {
|
28234
|
+
"endpoints" : {
|
28235
|
+
"us-gov-east-1" : { },
|
28236
|
+
"us-gov-west-1" : { }
|
28237
|
+
}
|
28238
|
+
},
|
27998
28239
|
"secretsmanager" : {
|
27999
28240
|
"endpoints" : {
|
28000
28241
|
"us-gov-east-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.
|
4
|
+
version: 1.993.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: 2024-10-
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides interfaces to enumerate AWS partitions, regions, and services.
|
14
14
|
email:
|
@@ -21,6 +21,7 @@ files:
|
|
21
21
|
- VERSION
|
22
22
|
- lib/aws-partitions.rb
|
23
23
|
- lib/aws-partitions/endpoint_provider.rb
|
24
|
+
- lib/aws-partitions/metadata.rb
|
24
25
|
- lib/aws-partitions/partition.rb
|
25
26
|
- lib/aws-partitions/partition_list.rb
|
26
27
|
- lib/aws-partitions/region.rb
|