aws-partitions 1.957.0 → 1.1120.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 +832 -0
- data/VERSION +1 -1
- data/lib/aws-partitions/metadata.rb +32 -0
- data/lib/aws-partitions.rb +31 -9
- data/partitions-metadata.json +43 -2
- data/partitions.json +19004 -8765
- metadata +5 -8
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1120.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
|
|
@@ -246,6 +247,7 @@ module Aws
|
|
246
247
|
{
|
247
248
|
'ACM' => 'acm',
|
248
249
|
'ACMPCA' => 'acm-pca',
|
250
|
+
'AIOps' => 'aiops',
|
249
251
|
'APIGateway' => 'apigateway',
|
250
252
|
'ARCZonalShift' => 'arc-zonal-shift',
|
251
253
|
'AccessAnalyzer' => 'access-analyzer',
|
@@ -279,13 +281,18 @@ module Aws
|
|
279
281
|
'AutoScalingPlans' => 'autoscaling-plans',
|
280
282
|
'B2bi' => 'b2bi',
|
281
283
|
'BCMDataExports' => 'bcm-data-exports',
|
284
|
+
'BCMPricingCalculator' => 'bcm-pricing-calculator',
|
282
285
|
'Backup' => 'backup',
|
283
286
|
'BackupGateway' => 'backup-gateway',
|
287
|
+
'BackupSearch' => 'backup-search',
|
284
288
|
'Batch' => 'batch',
|
285
289
|
'Bedrock' => 'bedrock',
|
286
290
|
'BedrockAgent' => 'bedrock-agent',
|
287
291
|
'BedrockAgentRuntime' => 'bedrock-agent-runtime',
|
292
|
+
'BedrockDataAutomation' => 'bedrock-data-automation',
|
293
|
+
'BedrockDataAutomationRuntime' => 'bedrock-data-automation-runtime',
|
288
294
|
'BedrockRuntime' => 'bedrock-runtime',
|
295
|
+
'Billing' => 'billing',
|
289
296
|
'BillingConductor' => 'billingconductor',
|
290
297
|
'Braket' => 'braket',
|
291
298
|
'Budgets' => 'budgets',
|
@@ -324,7 +331,6 @@ module Aws
|
|
324
331
|
'CodeGuruReviewer' => 'codeguru-reviewer',
|
325
332
|
'CodeGuruSecurity' => 'codeguru-security',
|
326
333
|
'CodePipeline' => 'codepipeline',
|
327
|
-
'CodeStar' => 'codestar',
|
328
334
|
'CodeStarNotifications' => 'codestar-notifications',
|
329
335
|
'CodeStarconnections' => 'codestar-connections',
|
330
336
|
'CognitoIdentity' => 'cognito-identity',
|
@@ -336,6 +342,7 @@ module Aws
|
|
336
342
|
'ConfigService' => 'config',
|
337
343
|
'Connect' => 'connect',
|
338
344
|
'ConnectCampaignService' => 'connect-campaigns',
|
345
|
+
'ConnectCampaignsV2' => 'connect-campaigns',
|
339
346
|
'ConnectCases' => 'cases',
|
340
347
|
'ConnectContactLens' => 'contact-lens',
|
341
348
|
'ConnectParticipant' => 'participant.connect',
|
@@ -348,6 +355,7 @@ module Aws
|
|
348
355
|
'CustomerProfiles' => 'profile',
|
349
356
|
'DAX' => 'dax',
|
350
357
|
'DLM' => 'dlm',
|
358
|
+
'DSQL' => 'dsql',
|
351
359
|
'DataExchange' => 'dataexchange',
|
352
360
|
'DataPipeline' => 'datapipeline',
|
353
361
|
'DataSync' => 'datasync',
|
@@ -359,6 +367,7 @@ module Aws
|
|
359
367
|
'DeviceFarm' => 'devicefarm',
|
360
368
|
'DirectConnect' => 'directconnect',
|
361
369
|
'DirectoryService' => 'ds',
|
370
|
+
'DirectoryServiceData' => 'ds-data',
|
362
371
|
'DocDB' => 'rds',
|
363
372
|
'DocDBElastic' => 'docdb-elastic',
|
364
373
|
'Drs' => 'drs',
|
@@ -378,13 +387,13 @@ module Aws
|
|
378
387
|
'EMRServerless' => 'emr-serverless',
|
379
388
|
'ElastiCache' => 'elasticache',
|
380
389
|
'ElasticBeanstalk' => 'elasticbeanstalk',
|
381
|
-
'ElasticInference' => 'api.elastic-inference',
|
382
390
|
'ElasticLoadBalancing' => 'elasticloadbalancing',
|
383
391
|
'ElasticLoadBalancingV2' => 'elasticloadbalancing',
|
384
392
|
'ElasticTranscoder' => 'elastictranscoder',
|
385
393
|
'ElasticsearchService' => 'es',
|
386
394
|
'EntityResolution' => 'entityresolution',
|
387
395
|
'EventBridge' => 'events',
|
396
|
+
'Evs' => 'evs',
|
388
397
|
'FIS' => 'fis',
|
389
398
|
'FMS' => 'fms',
|
390
399
|
'FSx' => 'fsx',
|
@@ -396,6 +405,10 @@ module Aws
|
|
396
405
|
'FraudDetector' => 'frauddetector',
|
397
406
|
'FreeTier' => 'freetier',
|
398
407
|
'GameLift' => 'gamelift',
|
408
|
+
'GameLiftStreams' => 'gameliftstreams',
|
409
|
+
'GeoMaps' => 'geo-maps',
|
410
|
+
'GeoPlaces' => 'geo-places',
|
411
|
+
'GeoRoutes' => 'geo-routes',
|
399
412
|
'Glacier' => 'glacier',
|
400
413
|
'GlobalAccelerator' => 'globalaccelerator',
|
401
414
|
'Glue' => 'glue',
|
@@ -416,9 +429,8 @@ module Aws
|
|
416
429
|
'Inspector2' => 'inspector2',
|
417
430
|
'InspectorScan' => 'inspector-scan',
|
418
431
|
'InternetMonitor' => 'internetmonitor',
|
432
|
+
'Invoicing' => 'invoicing',
|
419
433
|
'IoT' => 'iot',
|
420
|
-
'IoT1ClickDevicesService' => 'devices.iot1click',
|
421
|
-
'IoT1ClickProjects' => 'projects.iot1click',
|
422
434
|
'IoTAnalytics' => 'iotanalytics',
|
423
435
|
'IoTDeviceAdvisor' => 'api.iotdeviceadvisor',
|
424
436
|
'IoTEvents' => 'iotevents',
|
@@ -426,6 +438,7 @@ module Aws
|
|
426
438
|
'IoTFleetHub' => 'api.fleethub.iot',
|
427
439
|
'IoTFleetWise' => 'iotfleetwise',
|
428
440
|
'IoTJobsDataPlane' => 'data.jobs.iot',
|
441
|
+
'IoTManagedIntegrations' => 'api.iotmanagedintegrations',
|
429
442
|
'IoTSecureTunneling' => 'api.tunneling.iot',
|
430
443
|
'IoTSiteWise' => 'iotsitewise',
|
431
444
|
'IoTThingsGraph' => 'iotthingsgraph',
|
@@ -448,7 +461,6 @@ module Aws
|
|
448
461
|
'KinesisVideoWebRTCStorage' => 'kinesisvideo',
|
449
462
|
'LakeFormation' => 'lakeformation',
|
450
463
|
'Lambda' => 'lambda',
|
451
|
-
'LambdaPreview' => 'lambda',
|
452
464
|
'LaunchWizard' => 'launchwizard',
|
453
465
|
'Lex' => 'runtime.lex',
|
454
466
|
'LexModelBuildingService' => 'models.lex',
|
@@ -462,6 +474,7 @@ module Aws
|
|
462
474
|
'LookoutEquipment' => 'lookoutequipment',
|
463
475
|
'LookoutMetrics' => 'lookoutmetrics',
|
464
476
|
'LookoutforVision' => 'lookoutvision',
|
477
|
+
'MPA' => 'mpa',
|
465
478
|
'MQ' => 'mq',
|
466
479
|
'MTurk' => 'mturk-requester',
|
467
480
|
'MWAA' => 'airflow',
|
@@ -478,6 +491,7 @@ module Aws
|
|
478
491
|
'MarketplaceDeployment' => 'deployment-marketplace',
|
479
492
|
'MarketplaceEntitlementService' => 'entitlement.marketplace',
|
480
493
|
'MarketplaceMetering' => 'metering.marketplace',
|
494
|
+
'MarketplaceReporting' => 'reporting-marketplace',
|
481
495
|
'MediaConnect' => 'mediaconnect',
|
482
496
|
'MediaConvert' => 'mediaconvert',
|
483
497
|
'MediaLive' => 'medialive',
|
@@ -495,16 +509,18 @@ module Aws
|
|
495
509
|
'MigrationHubOrchestrator' => 'migrationhub-orchestrator',
|
496
510
|
'MigrationHubRefactorSpaces' => 'refactor-spaces',
|
497
511
|
'MigrationHubStrategyRecommendations' => 'migrationhub-strategy',
|
498
|
-
'Mobile' => 'mobile',
|
499
512
|
'Neptune' => 'rds',
|
500
513
|
'NeptuneGraph' => 'neptune-graph',
|
501
514
|
'Neptunedata' => 'neptune-db',
|
502
515
|
'NetworkFirewall' => 'network-firewall',
|
516
|
+
'NetworkFlowMonitor' => 'networkflowmonitor',
|
503
517
|
'NetworkManager' => 'networkmanager',
|
504
518
|
'NetworkMonitor' => 'networkmonitor',
|
505
|
-
'
|
519
|
+
'Notifications' => 'notifications',
|
520
|
+
'NotificationsContacts' => 'notifications-contacts',
|
506
521
|
'OAM' => 'oam',
|
507
522
|
'OSIS' => 'osis',
|
523
|
+
'ObservabilityAdmin' => 'observabilityadmin',
|
508
524
|
'Omics' => 'omics',
|
509
525
|
'OpenSearchServerless' => 'aoss',
|
510
526
|
'OpenSearchService' => 'es',
|
@@ -512,8 +528,10 @@ module Aws
|
|
512
528
|
'OpsWorksCM' => 'opsworks-cm',
|
513
529
|
'Organizations' => 'organizations',
|
514
530
|
'Outposts' => 'outposts',
|
531
|
+
'PCS' => 'pcs',
|
515
532
|
'PI' => 'pi',
|
516
533
|
'Panorama' => 'panorama',
|
534
|
+
'PartnerCentralSelling' => 'partnercentral-selling',
|
517
535
|
'PaymentCryptography' => 'controlplane.payment-cryptography',
|
518
536
|
'PaymentCryptographyData' => 'dataplane.payment-cryptography',
|
519
537
|
'PcaConnectorAd' => 'pca-connector-ad',
|
@@ -528,7 +546,6 @@ module Aws
|
|
528
546
|
'Pipes' => 'pipes',
|
529
547
|
'Polly' => 'polly',
|
530
548
|
'Pricing' => 'api.pricing',
|
531
|
-
'PrivateNetworks' => 'private-networks',
|
532
549
|
'PrometheusService' => 'aps',
|
533
550
|
'Proton' => 'proton',
|
534
551
|
'QApps' => 'data.qapps',
|
@@ -562,6 +579,7 @@ module Aws
|
|
562
579
|
'S3' => 's3',
|
563
580
|
'S3Control' => 's3-control',
|
564
581
|
'S3Outposts' => 's3-outposts',
|
582
|
+
'S3Tables' => 's3tables',
|
565
583
|
'SES' => 'email',
|
566
584
|
'SESV2' => 'email',
|
567
585
|
'SMS' => 'sms',
|
@@ -569,7 +587,9 @@ module Aws
|
|
569
587
|
'SQS' => 'sqs',
|
570
588
|
'SSM' => 'ssm',
|
571
589
|
'SSMContacts' => 'ssm-contacts',
|
590
|
+
'SSMGuiConnect' => 'ssm-guiconnect',
|
572
591
|
'SSMIncidents' => 'ssm-incidents',
|
592
|
+
'SSMQuickSetup' => 'ssm-quicksetup',
|
573
593
|
'SSO' => 'portal.sso',
|
574
594
|
'SSOAdmin' => 'sso',
|
575
595
|
'SSOOIDC' => 'oidc',
|
@@ -586,6 +606,7 @@ module Aws
|
|
586
606
|
'Schemas' => 'schemas',
|
587
607
|
'SecretsManager' => 'secretsmanager',
|
588
608
|
'SecurityHub' => 'securityhub',
|
609
|
+
'SecurityIR' => 'security-ir',
|
589
610
|
'SecurityLake' => 'securitylake',
|
590
611
|
'ServerlessApplicationRepository' => 'serverlessrepo',
|
591
612
|
'ServiceCatalog' => 'servicecatalog',
|
@@ -597,6 +618,7 @@ module Aws
|
|
597
618
|
'SimpleDB' => 'sdb',
|
598
619
|
'SnowDeviceManagement' => 'snow-device-management',
|
599
620
|
'Snowball' => 'snowball',
|
621
|
+
'SocialMessaging' => 'social-messaging',
|
600
622
|
'SsmSap' => 'ssm-sap',
|
601
623
|
'States' => 'states',
|
602
624
|
'StorageGateway' => 'storagegateway',
|
@@ -623,12 +645,12 @@ module Aws
|
|
623
645
|
'WAFV2' => 'wafv2',
|
624
646
|
'WellArchitected' => 'wellarchitected',
|
625
647
|
'WorkDocs' => 'workdocs',
|
626
|
-
'WorkLink' => 'worklink',
|
627
648
|
'WorkMail' => 'workmail',
|
628
649
|
'WorkMailMessageFlow' => 'workmailmessageflow',
|
629
650
|
'WorkSpaces' => 'workspaces',
|
630
651
|
'WorkSpacesThinClient' => 'thinclient',
|
631
652
|
'WorkSpacesWeb' => 'workspaces-web',
|
653
|
+
'WorkspacesInstances' => 'workspaces-instances',
|
632
654
|
'XRay' => 'xray',
|
633
655
|
}
|
634
656
|
# end service ids
|
data/partitions-metadata.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
"supportsDualStack" : true,
|
10
10
|
"supportsFIPS" : true
|
11
11
|
},
|
12
|
-
"regionRegex" : "^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",
|
12
|
+
"regionRegex" : "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
|
13
13
|
"regions" : {
|
14
14
|
"af-south-1" : {
|
15
15
|
"description" : "Africa (Cape Town)"
|
@@ -17,6 +17,9 @@
|
|
17
17
|
"ap-east-1" : {
|
18
18
|
"description" : "Asia Pacific (Hong Kong)"
|
19
19
|
},
|
20
|
+
"ap-east-2" : {
|
21
|
+
"description" : "Asia Pacific (Taipei)"
|
22
|
+
},
|
20
23
|
"ap-northeast-1" : {
|
21
24
|
"description" : "Asia Pacific (Tokyo)"
|
22
25
|
},
|
@@ -44,6 +47,12 @@
|
|
44
47
|
"ap-southeast-4" : {
|
45
48
|
"description" : "Asia Pacific (Melbourne)"
|
46
49
|
},
|
50
|
+
"ap-southeast-5" : {
|
51
|
+
"description" : "Asia Pacific (Malaysia)"
|
52
|
+
},
|
53
|
+
"ap-southeast-7" : {
|
54
|
+
"description" : "Asia Pacific (Thailand)"
|
55
|
+
},
|
47
56
|
"aws-global" : {
|
48
57
|
"description" : "AWS Standard global region"
|
49
58
|
},
|
@@ -86,6 +95,9 @@
|
|
86
95
|
"me-south-1" : {
|
87
96
|
"description" : "Middle East (Bahrain)"
|
88
97
|
},
|
98
|
+
"mx-central-1" : {
|
99
|
+
"description" : "Mexico (Central)"
|
100
|
+
},
|
89
101
|
"sa-east-1" : {
|
90
102
|
"description" : "South America (Sao Paulo)"
|
91
103
|
},
|
@@ -199,6 +211,9 @@
|
|
199
211
|
},
|
200
212
|
"regionRegex" : "^eu\\-isoe\\-\\w+\\-\\d+$",
|
201
213
|
"regions" : {
|
214
|
+
"aws-iso-e-global" : {
|
215
|
+
"description" : "AWS ISOE (Europe) global region"
|
216
|
+
},
|
202
217
|
"eu-isoe-west-1" : {
|
203
218
|
"description" : "EU ISOE West"
|
204
219
|
}
|
@@ -214,7 +229,33 @@
|
|
214
229
|
"supportsFIPS" : true
|
215
230
|
},
|
216
231
|
"regionRegex" : "^us\\-isof\\-\\w+\\-\\d+$",
|
217
|
-
"regions" : {
|
232
|
+
"regions" : {
|
233
|
+
"aws-iso-f-global" : {
|
234
|
+
"description" : "AWS ISOF global region"
|
235
|
+
},
|
236
|
+
"us-isof-east-1" : {
|
237
|
+
"description" : "US ISOF EAST"
|
238
|
+
},
|
239
|
+
"us-isof-south-1" : {
|
240
|
+
"description" : "US ISOF SOUTH"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}, {
|
244
|
+
"id" : "aws-eusc",
|
245
|
+
"outputs" : {
|
246
|
+
"dnsSuffix" : "amazonaws.eu",
|
247
|
+
"dualStackDnsSuffix" : "amazonaws.eu",
|
248
|
+
"implicitGlobalRegion" : "eusc-de-east-1",
|
249
|
+
"name" : "aws-eusc",
|
250
|
+
"supportsDualStack" : false,
|
251
|
+
"supportsFIPS" : true
|
252
|
+
},
|
253
|
+
"regionRegex" : "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
254
|
+
"regions" : {
|
255
|
+
"eusc-de-east-1" : {
|
256
|
+
"description" : "EU (Germany)"
|
257
|
+
}
|
258
|
+
}
|
218
259
|
} ],
|
219
260
|
"version" : "1.1"
|
220
261
|
}
|