aws-partitions 1.616.0 → 1.714.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +506 -0
- data/VERSION +1 -1
- data/lib/aws-partitions/partition.rb +10 -2
- data/lib/aws-partitions/partition_list.rb +50 -0
- data/lib/aws-partitions.rb +49 -1
- data/partitions-metadata.json +181 -0
- data/partitions.json +3168 -254
- metadata +3 -2
data/lib/aws-partitions.rb
CHANGED
|
@@ -195,6 +195,12 @@ module Aws
|
|
|
195
195
|
end
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
+
# @param [Hash] partition metadata
|
|
199
|
+
# @api private For Internal use only
|
|
200
|
+
def merge_metadata(partition_metadata)
|
|
201
|
+
default_partition_list.merge_metadata(partition_metadata)
|
|
202
|
+
end
|
|
203
|
+
|
|
198
204
|
# @api private For internal use only.
|
|
199
205
|
def clear
|
|
200
206
|
default_partition_list.clear
|
|
@@ -204,7 +210,11 @@ module Aws
|
|
|
204
210
|
# @return [PartitionList]
|
|
205
211
|
# @api private
|
|
206
212
|
def default_partition_list
|
|
207
|
-
@default_partition_list ||=
|
|
213
|
+
@default_partition_list ||= begin
|
|
214
|
+
partitions = PartitionList.build(defaults)
|
|
215
|
+
partitions.merge_metadata(default_metadata)
|
|
216
|
+
partitions
|
|
217
|
+
end
|
|
208
218
|
end
|
|
209
219
|
|
|
210
220
|
# @return [Hash]
|
|
@@ -217,6 +227,16 @@ module Aws
|
|
|
217
227
|
end
|
|
218
228
|
end
|
|
219
229
|
|
|
230
|
+
# @return [Hash]
|
|
231
|
+
# @api private
|
|
232
|
+
def default_metadata
|
|
233
|
+
@default_metadata ||= begin
|
|
234
|
+
path = File.expand_path('../../partitions-metadata.json', __FILE__)
|
|
235
|
+
defaults = JSON.parse(File.read(path), freeze: true)
|
|
236
|
+
defaults.merge('partitions' => defaults['partitions'].dup)
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
220
240
|
# @return [Hash<String,String>] Returns a map of service module names
|
|
221
241
|
# to their id as used in the endpoints.json document.
|
|
222
242
|
# @api private For internal use only.
|
|
@@ -227,6 +247,7 @@ module Aws
|
|
|
227
247
|
'ACM' => 'acm',
|
|
228
248
|
'ACMPCA' => 'acm-pca',
|
|
229
249
|
'APIGateway' => 'apigateway',
|
|
250
|
+
'ARCZonalShift' => 'arc-zonal-shift',
|
|
230
251
|
'AccessAnalyzer' => 'access-analyzer',
|
|
231
252
|
'Account' => 'account',
|
|
232
253
|
'AlexaForBusiness' => 'a4b',
|
|
@@ -255,6 +276,7 @@ module Aws
|
|
|
255
276
|
'AutoScalingPlans' => 'autoscaling-plans',
|
|
256
277
|
'Backup' => 'backup',
|
|
257
278
|
'BackupGateway' => 'backup-gateway',
|
|
279
|
+
'BackupStorage' => 'backupstorage',
|
|
258
280
|
'Batch' => 'batch',
|
|
259
281
|
'BillingConductor' => 'billingconductor',
|
|
260
282
|
'Braket' => 'braket',
|
|
@@ -264,6 +286,8 @@ module Aws
|
|
|
264
286
|
'ChimeSDKMediaPipelines' => 'media-pipelines-chime',
|
|
265
287
|
'ChimeSDKMeetings' => 'meetings-chime',
|
|
266
288
|
'ChimeSDKMessaging' => 'messaging-chime',
|
|
289
|
+
'ChimeSDKVoice' => 'voice-chime',
|
|
290
|
+
'CleanRooms' => 'cleanrooms',
|
|
267
291
|
'Cloud9' => 'cloud9',
|
|
268
292
|
'CloudControlApi' => 'cloudcontrolapi',
|
|
269
293
|
'CloudDirectory' => 'clouddirectory',
|
|
@@ -273,6 +297,7 @@ module Aws
|
|
|
273
297
|
'CloudHSMV2' => 'cloudhsmv2',
|
|
274
298
|
'CloudSearch' => 'cloudsearch',
|
|
275
299
|
'CloudTrail' => 'cloudtrail',
|
|
300
|
+
'CloudTrailData' => 'cloudtrail-data',
|
|
276
301
|
'CloudWatch' => 'monitoring',
|
|
277
302
|
'CloudWatchEvents' => 'events',
|
|
278
303
|
'CloudWatchEvidently' => 'evidently',
|
|
@@ -280,6 +305,7 @@ module Aws
|
|
|
280
305
|
'CloudWatchRUM' => 'rum',
|
|
281
306
|
'CodeArtifact' => 'codeartifact',
|
|
282
307
|
'CodeBuild' => 'codebuild',
|
|
308
|
+
'CodeCatalyst' => 'codecatalyst',
|
|
283
309
|
'CodeCommit' => 'codecommit',
|
|
284
310
|
'CodeDeploy' => 'codedeploy',
|
|
285
311
|
'CodeGuruProfiler' => 'codeguru-profiler',
|
|
@@ -297,9 +323,11 @@ module Aws
|
|
|
297
323
|
'ConfigService' => 'config',
|
|
298
324
|
'Connect' => 'connect',
|
|
299
325
|
'ConnectCampaignService' => 'connect-campaigns',
|
|
326
|
+
'ConnectCases' => 'cases',
|
|
300
327
|
'ConnectContactLens' => 'contact-lens',
|
|
301
328
|
'ConnectParticipant' => 'participant.connect',
|
|
302
329
|
'ConnectWisdomService' => 'wisdom',
|
|
330
|
+
'ControlTower' => 'controltower',
|
|
303
331
|
'CostExplorer' => 'ce',
|
|
304
332
|
'CostandUsageReportService' => 'cur',
|
|
305
333
|
'CustomerProfiles' => 'profile',
|
|
@@ -315,6 +343,7 @@ module Aws
|
|
|
315
343
|
'DirectConnect' => 'directconnect',
|
|
316
344
|
'DirectoryService' => 'ds',
|
|
317
345
|
'DocDB' => 'rds',
|
|
346
|
+
'DocDBElastic' => 'docdb-elastic',
|
|
318
347
|
'Drs' => 'drs',
|
|
319
348
|
'DynamoDB' => 'dynamodb',
|
|
320
349
|
'DynamoDBStreams' => 'streams.dynamodb',
|
|
@@ -374,7 +403,9 @@ module Aws
|
|
|
374
403
|
'IoTEvents' => 'iotevents',
|
|
375
404
|
'IoTEventsData' => 'data.iotevents',
|
|
376
405
|
'IoTFleetHub' => 'api.fleethub.iot',
|
|
406
|
+
'IoTFleetWise' => 'iotfleetwise',
|
|
377
407
|
'IoTJobsDataPlane' => 'data.jobs.iot',
|
|
408
|
+
'IoTRoboRunner' => 'iotroborunner',
|
|
378
409
|
'IoTSecureTunneling' => 'api.tunneling.iot',
|
|
379
410
|
'IoTSiteWise' => 'iotsitewise',
|
|
380
411
|
'IoTThingsGraph' => 'iotthingsgraph',
|
|
@@ -385,6 +416,7 @@ module Aws
|
|
|
385
416
|
'Kafka' => 'kafka',
|
|
386
417
|
'KafkaConnect' => 'kafkaconnect',
|
|
387
418
|
'Kendra' => 'kendra',
|
|
419
|
+
'KendraRanking' => 'kendra-ranking',
|
|
388
420
|
'Keyspaces' => 'cassandra',
|
|
389
421
|
'Kinesis' => 'kinesis',
|
|
390
422
|
'KinesisAnalytics' => 'kinesisanalytics',
|
|
@@ -393,6 +425,7 @@ module Aws
|
|
|
393
425
|
'KinesisVideoArchivedMedia' => 'kinesisvideo',
|
|
394
426
|
'KinesisVideoMedia' => 'kinesisvideo',
|
|
395
427
|
'KinesisVideoSignalingChannels' => 'kinesisvideo',
|
|
428
|
+
'KinesisVideoWebRTCStorage' => 'kinesisvideo',
|
|
396
429
|
'LakeFormation' => 'lakeformation',
|
|
397
430
|
'Lambda' => 'lambda',
|
|
398
431
|
'LambdaPreview' => 'lambda',
|
|
@@ -401,6 +434,7 @@ module Aws
|
|
|
401
434
|
'LexModelsV2' => 'models-v2-lex',
|
|
402
435
|
'LexRuntimeV2' => 'runtime-v2-lex',
|
|
403
436
|
'LicenseManager' => 'license-manager',
|
|
437
|
+
'LicenseManagerLinuxSubscriptions' => 'license-manager-linux-subscriptions',
|
|
404
438
|
'LicenseManagerUserSubscriptions' => 'license-manager-user-subscriptions',
|
|
405
439
|
'Lightsail' => 'lightsail',
|
|
406
440
|
'LocationService' => 'geo',
|
|
@@ -432,6 +466,7 @@ module Aws
|
|
|
432
466
|
'Mgn' => 'mgn',
|
|
433
467
|
'MigrationHub' => 'mgh',
|
|
434
468
|
'MigrationHubConfig' => 'migrationhub-config',
|
|
469
|
+
'MigrationHubOrchestrator' => 'migrationhub-orchestrator',
|
|
435
470
|
'MigrationHubRefactorSpaces' => 'refactor-spaces',
|
|
436
471
|
'MigrationHubStrategyRecommendations' => 'migrationhub-strategy',
|
|
437
472
|
'Mobile' => 'mobile',
|
|
@@ -439,6 +474,9 @@ module Aws
|
|
|
439
474
|
'NetworkFirewall' => 'network-firewall',
|
|
440
475
|
'NetworkManager' => 'networkmanager',
|
|
441
476
|
'NimbleStudio' => 'nimble',
|
|
477
|
+
'OAM' => 'oam',
|
|
478
|
+
'Omics' => 'omics',
|
|
479
|
+
'OpenSearchServerless' => 'aoss',
|
|
442
480
|
'OpenSearchService' => 'es',
|
|
443
481
|
'OpsWorks' => 'opsworks',
|
|
444
482
|
'OpsWorksCM' => 'opsworks-cm',
|
|
@@ -453,8 +491,10 @@ module Aws
|
|
|
453
491
|
'PinpointEmail' => 'email',
|
|
454
492
|
'PinpointSMSVoice' => 'sms-voice.pinpoint',
|
|
455
493
|
'PinpointSMSVoiceV2' => 'sms-voice',
|
|
494
|
+
'Pipes' => 'pipes',
|
|
456
495
|
'Polly' => 'polly',
|
|
457
496
|
'Pricing' => 'api.pricing',
|
|
497
|
+
'PrivateNetworks' => 'private-networks',
|
|
458
498
|
'PrometheusService' => 'aps',
|
|
459
499
|
'Proton' => 'proton',
|
|
460
500
|
'QLDB' => 'qldb',
|
|
@@ -469,6 +509,7 @@ module Aws
|
|
|
469
509
|
'RedshiftServerless' => 'redshift-serverless',
|
|
470
510
|
'Rekognition' => 'rekognition',
|
|
471
511
|
'ResilienceHub' => 'resiliencehub',
|
|
512
|
+
'ResourceExplorer2' => 'resource-explorer-2',
|
|
472
513
|
'ResourceGroups' => 'resource-groups',
|
|
473
514
|
'ResourceGroupsTaggingAPI' => 'tagging',
|
|
474
515
|
'RoboMaker' => 'robomaker',
|
|
@@ -497,24 +538,31 @@ module Aws
|
|
|
497
538
|
'SWF' => 'swf',
|
|
498
539
|
'SageMaker' => 'api.sagemaker',
|
|
499
540
|
'SageMakerFeatureStoreRuntime' => 'featurestore-runtime.sagemaker',
|
|
541
|
+
'SageMakerGeospatial' => 'sagemaker-geospatial',
|
|
542
|
+
'SageMakerMetrics' => 'metrics.sagemaker',
|
|
500
543
|
'SageMakerRuntime' => 'runtime.sagemaker',
|
|
501
544
|
'SagemakerEdgeManager' => 'edge.sagemaker',
|
|
502
545
|
'SavingsPlans' => 'savingsplans',
|
|
546
|
+
'Scheduler' => 'scheduler',
|
|
503
547
|
'Schemas' => 'schemas',
|
|
504
548
|
'SecretsManager' => 'secretsmanager',
|
|
505
549
|
'SecurityHub' => 'securityhub',
|
|
550
|
+
'SecurityLake' => 'securitylake',
|
|
506
551
|
'ServerlessApplicationRepository' => 'serverlessrepo',
|
|
507
552
|
'ServiceCatalog' => 'servicecatalog',
|
|
508
553
|
'ServiceDiscovery' => 'servicediscovery',
|
|
509
554
|
'ServiceQuotas' => 'servicequotas',
|
|
510
555
|
'Shield' => 'shield',
|
|
511
556
|
'Signer' => 'signer',
|
|
557
|
+
'SimSpaceWeaver' => 'simspaceweaver',
|
|
512
558
|
'SimpleDB' => 'sdb',
|
|
513
559
|
'SnowDeviceManagement' => 'snow-device-management',
|
|
514
560
|
'Snowball' => 'snowball',
|
|
561
|
+
'SsmSap' => 'ssm-sap',
|
|
515
562
|
'States' => 'states',
|
|
516
563
|
'StorageGateway' => 'storagegateway',
|
|
517
564
|
'Support' => 'support',
|
|
565
|
+
'SupportApp' => 'supportapp',
|
|
518
566
|
'Synthetics' => 'synthetics',
|
|
519
567
|
'Textract' => 'textract',
|
|
520
568
|
'TimestreamQuery' => 'query.timestream',
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
{
|
|
2
|
+
"partitions" : [ {
|
|
3
|
+
"id" : "aws",
|
|
4
|
+
"outputs" : {
|
|
5
|
+
"dnsSuffix" : "amazonaws.com",
|
|
6
|
+
"dualStackDnsSuffix" : "api.aws",
|
|
7
|
+
"name" : "aws",
|
|
8
|
+
"supportsDualStack" : true,
|
|
9
|
+
"supportsFIPS" : true
|
|
10
|
+
},
|
|
11
|
+
"regionRegex" : "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
12
|
+
"regions" : {
|
|
13
|
+
"af-south-1" : {
|
|
14
|
+
"description" : "Africa (Cape Town)"
|
|
15
|
+
},
|
|
16
|
+
"ap-east-1" : {
|
|
17
|
+
"description" : "Asia Pacific (Hong Kong)"
|
|
18
|
+
},
|
|
19
|
+
"ap-northeast-1" : {
|
|
20
|
+
"description" : "Asia Pacific (Tokyo)"
|
|
21
|
+
},
|
|
22
|
+
"ap-northeast-2" : {
|
|
23
|
+
"description" : "Asia Pacific (Seoul)"
|
|
24
|
+
},
|
|
25
|
+
"ap-northeast-3" : {
|
|
26
|
+
"description" : "Asia Pacific (Osaka)"
|
|
27
|
+
},
|
|
28
|
+
"ap-south-1" : {
|
|
29
|
+
"description" : "Asia Pacific (Mumbai)"
|
|
30
|
+
},
|
|
31
|
+
"ap-south-2" : {
|
|
32
|
+
"description" : "Asia Pacific (Hyderabad)"
|
|
33
|
+
},
|
|
34
|
+
"ap-southeast-1" : {
|
|
35
|
+
"description" : "Asia Pacific (Singapore)"
|
|
36
|
+
},
|
|
37
|
+
"ap-southeast-2" : {
|
|
38
|
+
"description" : "Asia Pacific (Sydney)"
|
|
39
|
+
},
|
|
40
|
+
"ap-southeast-3" : {
|
|
41
|
+
"description" : "Asia Pacific (Jakarta)"
|
|
42
|
+
},
|
|
43
|
+
"ap-southeast-4" : {
|
|
44
|
+
"description" : "Asia Pacific (Melbourne)"
|
|
45
|
+
},
|
|
46
|
+
"aws-global" : {
|
|
47
|
+
"description" : "AWS Standard global region"
|
|
48
|
+
},
|
|
49
|
+
"ca-central-1" : {
|
|
50
|
+
"description" : "Canada (Central)"
|
|
51
|
+
},
|
|
52
|
+
"eu-central-1" : {
|
|
53
|
+
"description" : "Europe (Frankfurt)"
|
|
54
|
+
},
|
|
55
|
+
"eu-central-2" : {
|
|
56
|
+
"description" : "Europe (Zurich)"
|
|
57
|
+
},
|
|
58
|
+
"eu-north-1" : {
|
|
59
|
+
"description" : "Europe (Stockholm)"
|
|
60
|
+
},
|
|
61
|
+
"eu-south-1" : {
|
|
62
|
+
"description" : "Europe (Milan)"
|
|
63
|
+
},
|
|
64
|
+
"eu-south-2" : {
|
|
65
|
+
"description" : "Europe (Spain)"
|
|
66
|
+
},
|
|
67
|
+
"eu-west-1" : {
|
|
68
|
+
"description" : "Europe (Ireland)"
|
|
69
|
+
},
|
|
70
|
+
"eu-west-2" : {
|
|
71
|
+
"description" : "Europe (London)"
|
|
72
|
+
},
|
|
73
|
+
"eu-west-3" : {
|
|
74
|
+
"description" : "Europe (Paris)"
|
|
75
|
+
},
|
|
76
|
+
"me-central-1" : {
|
|
77
|
+
"description" : "Middle East (UAE)"
|
|
78
|
+
},
|
|
79
|
+
"me-south-1" : {
|
|
80
|
+
"description" : "Middle East (Bahrain)"
|
|
81
|
+
},
|
|
82
|
+
"sa-east-1" : {
|
|
83
|
+
"description" : "South America (Sao Paulo)"
|
|
84
|
+
},
|
|
85
|
+
"us-east-1" : {
|
|
86
|
+
"description" : "US East (N. Virginia)"
|
|
87
|
+
},
|
|
88
|
+
"us-east-2" : {
|
|
89
|
+
"description" : "US East (Ohio)"
|
|
90
|
+
},
|
|
91
|
+
"us-west-1" : {
|
|
92
|
+
"description" : "US West (N. California)"
|
|
93
|
+
},
|
|
94
|
+
"us-west-2" : {
|
|
95
|
+
"description" : "US West (Oregon)"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}, {
|
|
99
|
+
"id" : "aws-cn",
|
|
100
|
+
"outputs" : {
|
|
101
|
+
"dnsSuffix" : "amazonaws.com.cn",
|
|
102
|
+
"dualStackDnsSuffix" : "api.amazonwebservices.com.cn",
|
|
103
|
+
"name" : "aws-cn",
|
|
104
|
+
"supportsDualStack" : true,
|
|
105
|
+
"supportsFIPS" : true
|
|
106
|
+
},
|
|
107
|
+
"regionRegex" : "^cn\\-\\w+\\-\\d+$",
|
|
108
|
+
"regions" : {
|
|
109
|
+
"aws-cn-global" : {
|
|
110
|
+
"description" : "AWS China global region"
|
|
111
|
+
},
|
|
112
|
+
"cn-north-1" : {
|
|
113
|
+
"description" : "China (Beijing)"
|
|
114
|
+
},
|
|
115
|
+
"cn-northwest-1" : {
|
|
116
|
+
"description" : "China (Ningxia)"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}, {
|
|
120
|
+
"id" : "aws-us-gov",
|
|
121
|
+
"outputs" : {
|
|
122
|
+
"dnsSuffix" : "amazonaws.com",
|
|
123
|
+
"dualStackDnsSuffix" : "api.aws",
|
|
124
|
+
"name" : "aws-us-gov",
|
|
125
|
+
"supportsDualStack" : true,
|
|
126
|
+
"supportsFIPS" : true
|
|
127
|
+
},
|
|
128
|
+
"regionRegex" : "^us\\-gov\\-\\w+\\-\\d+$",
|
|
129
|
+
"regions" : {
|
|
130
|
+
"aws-us-gov-global" : {
|
|
131
|
+
"description" : "AWS GovCloud (US) global region"
|
|
132
|
+
},
|
|
133
|
+
"us-gov-east-1" : {
|
|
134
|
+
"description" : "AWS GovCloud (US-East)"
|
|
135
|
+
},
|
|
136
|
+
"us-gov-west-1" : {
|
|
137
|
+
"description" : "AWS GovCloud (US-West)"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}, {
|
|
141
|
+
"id" : "aws-iso",
|
|
142
|
+
"outputs" : {
|
|
143
|
+
"dnsSuffix" : "c2s.ic.gov",
|
|
144
|
+
"dualStackDnsSuffix" : "c2s.ic.gov",
|
|
145
|
+
"name" : "aws-iso",
|
|
146
|
+
"supportsDualStack" : false,
|
|
147
|
+
"supportsFIPS" : true
|
|
148
|
+
},
|
|
149
|
+
"regionRegex" : "^us\\-iso\\-\\w+\\-\\d+$",
|
|
150
|
+
"regions" : {
|
|
151
|
+
"aws-iso-global" : {
|
|
152
|
+
"description" : "AWS ISO (US) global region"
|
|
153
|
+
},
|
|
154
|
+
"us-iso-east-1" : {
|
|
155
|
+
"description" : "US ISO East"
|
|
156
|
+
},
|
|
157
|
+
"us-iso-west-1" : {
|
|
158
|
+
"description" : "US ISO WEST"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}, {
|
|
162
|
+
"id" : "aws-iso-b",
|
|
163
|
+
"outputs" : {
|
|
164
|
+
"dnsSuffix" : "sc2s.sgov.gov",
|
|
165
|
+
"dualStackDnsSuffix" : "sc2s.sgov.gov",
|
|
166
|
+
"name" : "aws-iso-b",
|
|
167
|
+
"supportsDualStack" : false,
|
|
168
|
+
"supportsFIPS" : true
|
|
169
|
+
},
|
|
170
|
+
"regionRegex" : "^us\\-isob\\-\\w+\\-\\d+$",
|
|
171
|
+
"regions" : {
|
|
172
|
+
"aws-iso-b-global" : {
|
|
173
|
+
"description" : "AWS ISOB (US) global region"
|
|
174
|
+
},
|
|
175
|
+
"us-isob-east-1" : {
|
|
176
|
+
"description" : "US ISOB East (Ohio)"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
} ],
|
|
180
|
+
"version" : "1.1"
|
|
181
|
+
}
|