aws-partitions 1.841.0 → 1.1028.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.841.0
1
+ 1.1028.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
@@ -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
 
@@ -250,7 +251,6 @@ module Aws
250
251
  'ARCZonalShift' => 'arc-zonal-shift',
251
252
  'AccessAnalyzer' => 'access-analyzer',
252
253
  'Account' => 'account',
253
- 'AlexaForBusiness' => 'a4b',
254
254
  'Amplify' => 'amplify',
255
255
  'AmplifyBackend' => 'amplifybackend',
256
256
  'AmplifyUIBuilder' => 'amplifyuibuilder',
@@ -265,25 +265,37 @@ module Aws
265
265
  'AppRunner' => 'apprunner',
266
266
  'AppStream' => 'appstream2',
267
267
  'AppSync' => 'appsync',
268
+ 'AppTest' => 'apptest',
268
269
  'Appflow' => 'appflow',
269
270
  'ApplicationAutoScaling' => 'application-autoscaling',
270
271
  'ApplicationCostProfiler' => 'application-cost-profiler',
271
272
  'ApplicationDiscoveryService' => 'discovery',
272
273
  'ApplicationInsights' => 'applicationinsights',
274
+ 'ApplicationSignals' => 'application-signals',
275
+ 'Artifact' => 'artifact',
273
276
  'Athena' => 'athena',
274
277
  'AuditManager' => 'auditmanager',
275
278
  'AugmentedAIRuntime' => 'a2i-runtime.sagemaker',
276
279
  'AutoScaling' => 'autoscaling',
277
280
  'AutoScalingPlans' => 'autoscaling-plans',
281
+ 'B2bi' => 'b2bi',
282
+ 'BCMDataExports' => 'bcm-data-exports',
283
+ 'BCMPricingCalculator' => 'bcm-pricing-calculator',
278
284
  'Backup' => 'backup',
279
285
  'BackupGateway' => 'backup-gateway',
280
- 'BackupStorage' => 'backupstorage',
286
+ 'BackupSearch' => 'backup-search',
281
287
  'Batch' => 'batch',
282
288
  'Bedrock' => 'bedrock',
289
+ 'BedrockAgent' => 'bedrock-agent',
290
+ 'BedrockAgentRuntime' => 'bedrock-agent-runtime',
291
+ 'BedrockDataAutomation' => 'bedrock-data-automation',
292
+ 'BedrockDataAutomationRuntime' => 'bedrock-data-automation-runtime',
283
293
  'BedrockRuntime' => 'bedrock-runtime',
294
+ 'Billing' => 'billing',
284
295
  'BillingConductor' => 'billingconductor',
285
296
  'Braket' => 'braket',
286
297
  'Budgets' => 'budgets',
298
+ 'Chatbot' => 'chatbot',
287
299
  'Chime' => 'chime',
288
300
  'ChimeSDKIdentity' => 'identity-chime',
289
301
  'ChimeSDKMediaPipelines' => 'media-pipelines-chime',
@@ -291,11 +303,13 @@ module Aws
291
303
  'ChimeSDKMessaging' => 'messaging-chime',
292
304
  'ChimeSDKVoice' => 'voice-chime',
293
305
  'CleanRooms' => 'cleanrooms',
306
+ 'CleanRoomsML' => 'cleanrooms-ml',
294
307
  'Cloud9' => 'cloud9',
295
308
  'CloudControlApi' => 'cloudcontrolapi',
296
309
  'CloudDirectory' => 'clouddirectory',
297
310
  'CloudFormation' => 'cloudformation',
298
311
  'CloudFront' => 'cloudfront',
312
+ 'CloudFrontKeyValueStore' => 'cloudfront-keyvaluestore',
299
313
  'CloudHSM' => 'cloudhsm',
300
314
  'CloudHSMV2' => 'cloudhsmv2',
301
315
  'CloudSearch' => 'cloudsearch',
@@ -310,12 +324,12 @@ module Aws
310
324
  'CodeBuild' => 'codebuild',
311
325
  'CodeCatalyst' => 'codecatalyst',
312
326
  'CodeCommit' => 'codecommit',
327
+ 'CodeConnections' => 'codeconnections',
313
328
  'CodeDeploy' => 'codedeploy',
314
329
  'CodeGuruProfiler' => 'codeguru-profiler',
315
330
  'CodeGuruReviewer' => 'codeguru-reviewer',
316
331
  'CodeGuruSecurity' => 'codeguru-security',
317
332
  'CodePipeline' => 'codepipeline',
318
- 'CodeStar' => 'codestar',
319
333
  'CodeStarNotifications' => 'codestar-notifications',
320
334
  'CodeStarconnections' => 'codestar-connections',
321
335
  'CognitoIdentity' => 'cognito-identity',
@@ -327,26 +341,32 @@ module Aws
327
341
  'ConfigService' => 'config',
328
342
  'Connect' => 'connect',
329
343
  'ConnectCampaignService' => 'connect-campaigns',
344
+ 'ConnectCampaignsV2' => 'connect-campaigns',
330
345
  'ConnectCases' => 'cases',
331
346
  'ConnectContactLens' => 'contact-lens',
332
347
  'ConnectParticipant' => 'participant.connect',
333
348
  'ConnectWisdomService' => 'wisdom',
349
+ 'ControlCatalog' => 'controlcatalog',
334
350
  'ControlTower' => 'controltower',
335
351
  'CostExplorer' => 'ce',
352
+ 'CostOptimizationHub' => 'cost-optimization-hub',
336
353
  'CostandUsageReportService' => 'cur',
337
354
  'CustomerProfiles' => 'profile',
338
355
  'DAX' => 'dax',
339
356
  'DLM' => 'dlm',
357
+ 'DSQL' => 'dsql',
340
358
  'DataExchange' => 'dataexchange',
341
359
  'DataPipeline' => 'datapipeline',
342
360
  'DataSync' => 'datasync',
343
361
  'DataZone' => 'datazone',
344
362
  'DatabaseMigrationService' => 'dms',
363
+ 'Deadline' => 'deadline',
345
364
  'Detective' => 'api.detective',
346
365
  'DevOpsGuru' => 'devops-guru',
347
366
  'DeviceFarm' => 'devicefarm',
348
367
  'DirectConnect' => 'directconnect',
349
368
  'DirectoryService' => 'ds',
369
+ 'DirectoryServiceData' => 'ds-data',
350
370
  'DocDB' => 'rds',
351
371
  'DocDBElastic' => 'docdb-elastic',
352
372
  'Drs' => 'drs',
@@ -360,6 +380,7 @@ module Aws
360
380
  'ECS' => 'ecs',
361
381
  'EFS' => 'elasticfilesystem',
362
382
  'EKS' => 'eks',
383
+ 'EKSAuth' => 'eks-auth',
363
384
  'EMR' => 'elasticmapreduce',
364
385
  'EMRContainers' => 'emr-containers',
365
386
  'EMRServerless' => 'emr-serverless',
@@ -381,7 +402,11 @@ module Aws
381
402
  'ForecastQueryService' => 'forecastquery',
382
403
  'ForecastService' => 'forecast',
383
404
  'FraudDetector' => 'frauddetector',
405
+ 'FreeTier' => 'freetier',
384
406
  'GameLift' => 'gamelift',
407
+ 'GeoMaps' => 'geo-maps',
408
+ 'GeoPlaces' => 'geo-places',
409
+ 'GeoRoutes' => 'geo-routes',
385
410
  'Glacier' => 'glacier',
386
411
  'GlobalAccelerator' => 'globalaccelerator',
387
412
  'Glue' => 'glue',
@@ -392,7 +417,6 @@ module Aws
392
417
  'GuardDuty' => 'guardduty',
393
418
  'Health' => 'health',
394
419
  'HealthLake' => 'healthlake',
395
- 'Honeycode' => 'honeycode',
396
420
  'IAM' => 'iam',
397
421
  'IVS' => 'ivs',
398
422
  'IVSRealTime' => 'ivsrealtime',
@@ -401,7 +425,9 @@ module Aws
401
425
  'ImportExport' => 'importexport',
402
426
  'Inspector' => 'inspector',
403
427
  'Inspector2' => 'inspector2',
428
+ 'InspectorScan' => 'inspector-scan',
404
429
  'InternetMonitor' => 'internetmonitor',
430
+ 'Invoicing' => 'invoicing',
405
431
  'IoT' => 'iot',
406
432
  'IoT1ClickDevicesService' => 'devices.iot1click',
407
433
  'IoT1ClickProjects' => 'projects.iot1click',
@@ -412,7 +438,6 @@ module Aws
412
438
  'IoTFleetHub' => 'api.fleethub.iot',
413
439
  'IoTFleetWise' => 'iotfleetwise',
414
440
  'IoTJobsDataPlane' => 'data.jobs.iot',
415
- 'IoTRoboRunner' => 'iotroborunner',
416
441
  'IoTSecureTunneling' => 'api.tunneling.iot',
417
442
  'IoTSiteWise' => 'iotsitewise',
418
443
  'IoTThingsGraph' => 'iotthingsgraph',
@@ -435,7 +460,7 @@ module Aws
435
460
  'KinesisVideoWebRTCStorage' => 'kinesisvideo',
436
461
  'LakeFormation' => 'lakeformation',
437
462
  'Lambda' => 'lambda',
438
- 'LambdaPreview' => 'lambda',
463
+ 'LaunchWizard' => 'launchwizard',
439
464
  'Lex' => 'runtime.lex',
440
465
  'LexModelBuildingService' => 'models.lex',
441
466
  'LexModelsV2' => 'models-v2-lex',
@@ -452,16 +477,19 @@ module Aws
452
477
  'MTurk' => 'mturk-requester',
453
478
  'MWAA' => 'airflow',
454
479
  'MachineLearning' => 'machinelearning',
455
- 'Macie' => 'macie',
456
480
  'Macie2' => 'macie2',
481
+ 'MailManager' => 'mail-manager',
457
482
  'MainframeModernization' => 'm2',
458
483
  'ManagedBlockchain' => 'managedblockchain',
459
484
  'ManagedBlockchainQuery' => 'managedblockchain-query',
460
485
  'ManagedGrafana' => 'grafana',
486
+ 'MarketplaceAgreement' => 'agreement-marketplace',
461
487
  'MarketplaceCatalog' => 'catalog.marketplace',
462
488
  'MarketplaceCommerceAnalytics' => 'marketplacecommerceanalytics',
489
+ 'MarketplaceDeployment' => 'deployment-marketplace',
463
490
  'MarketplaceEntitlementService' => 'entitlement.marketplace',
464
491
  'MarketplaceMetering' => 'metering.marketplace',
492
+ 'MarketplaceReporting' => 'reporting-marketplace',
465
493
  'MediaConnect' => 'mediaconnect',
466
494
  'MediaConvert' => 'mediaconvert',
467
495
  'MediaLive' => 'medialive',
@@ -479,14 +507,18 @@ module Aws
479
507
  'MigrationHubOrchestrator' => 'migrationhub-orchestrator',
480
508
  'MigrationHubRefactorSpaces' => 'refactor-spaces',
481
509
  'MigrationHubStrategyRecommendations' => 'migrationhub-strategy',
482
- 'Mobile' => 'mobile',
483
510
  'Neptune' => 'rds',
511
+ 'NeptuneGraph' => 'neptune-graph',
484
512
  'Neptunedata' => 'neptune-db',
485
513
  'NetworkFirewall' => 'network-firewall',
514
+ 'NetworkFlowMonitor' => 'networkflowmonitor',
486
515
  'NetworkManager' => 'networkmanager',
487
- 'NimbleStudio' => 'nimble',
516
+ 'NetworkMonitor' => 'networkmonitor',
517
+ 'Notifications' => 'notifications',
518
+ 'NotificationsContacts' => 'notifications-contacts',
488
519
  'OAM' => 'oam',
489
520
  'OSIS' => 'osis',
521
+ 'ObservabilityAdmin' => 'observabilityadmin',
490
522
  'Omics' => 'omics',
491
523
  'OpenSearchServerless' => 'aoss',
492
524
  'OpenSearchService' => 'es',
@@ -494,11 +526,14 @@ module Aws
494
526
  'OpsWorksCM' => 'opsworks-cm',
495
527
  'Organizations' => 'organizations',
496
528
  'Outposts' => 'outposts',
529
+ 'PCS' => 'pcs',
497
530
  'PI' => 'pi',
498
531
  'Panorama' => 'panorama',
532
+ 'PartnerCentralSelling' => 'partnercentral-selling',
499
533
  'PaymentCryptography' => 'controlplane.payment-cryptography',
500
534
  'PaymentCryptographyData' => 'dataplane.payment-cryptography',
501
535
  'PcaConnectorAd' => 'pca-connector-ad',
536
+ 'PcaConnectorScep' => 'pca-connector-scep',
502
537
  'Personalize' => 'personalize',
503
538
  'PersonalizeEvents' => 'personalize-events',
504
539
  'PersonalizeRuntime' => 'personalize-runtime',
@@ -512,6 +547,9 @@ module Aws
512
547
  'PrivateNetworks' => 'private-networks',
513
548
  'PrometheusService' => 'aps',
514
549
  'Proton' => 'proton',
550
+ 'QApps' => 'data.qapps',
551
+ 'QBusiness' => 'qbusiness',
552
+ 'QConnect' => 'wisdom',
515
553
  'QLDB' => 'qldb',
516
554
  'QLDBSession' => 'session.qldb',
517
555
  'QuickSight' => 'quicksight',
@@ -523,6 +561,7 @@ module Aws
523
561
  'RedshiftDataAPIService' => 'redshift-data',
524
562
  'RedshiftServerless' => 'redshift-serverless',
525
563
  'Rekognition' => 'rekognition',
564
+ 'Repostspace' => 'repostspace',
526
565
  'ResilienceHub' => 'resiliencehub',
527
566
  'ResourceExplorer2' => 'resource-explorer-2',
528
567
  'ResourceGroups' => 'resource-groups',
@@ -531,6 +570,7 @@ module Aws
531
570
  'RolesAnywhere' => 'rolesanywhere',
532
571
  'Route53' => 'route53',
533
572
  'Route53Domains' => 'route53domains',
573
+ 'Route53Profiles' => 'route53profiles',
534
574
  'Route53RecoveryCluster' => 'route53-recovery-cluster',
535
575
  'Route53RecoveryControlConfig' => 'route53-recovery-control-config',
536
576
  'Route53RecoveryReadiness' => 'route53-recovery-readiness',
@@ -538,6 +578,7 @@ module Aws
538
578
  'S3' => 's3',
539
579
  'S3Control' => 's3-control',
540
580
  'S3Outposts' => 's3-outposts',
581
+ 'S3Tables' => 's3tables',
541
582
  'SES' => 'email',
542
583
  'SESV2' => 'email',
543
584
  'SMS' => 'sms',
@@ -546,6 +587,7 @@ module Aws
546
587
  'SSM' => 'ssm',
547
588
  'SSMContacts' => 'ssm-contacts',
548
589
  'SSMIncidents' => 'ssm-incidents',
590
+ 'SSMQuickSetup' => 'ssm-quicksetup',
549
591
  'SSO' => 'portal.sso',
550
592
  'SSOAdmin' => 'sso',
551
593
  'SSOOIDC' => 'oidc',
@@ -562,6 +604,7 @@ module Aws
562
604
  'Schemas' => 'schemas',
563
605
  'SecretsManager' => 'secretsmanager',
564
606
  'SecurityHub' => 'securityhub',
607
+ 'SecurityIR' => 'security-ir',
565
608
  'SecurityLake' => 'securitylake',
566
609
  'ServerlessApplicationRepository' => 'serverlessrepo',
567
610
  'ServiceCatalog' => 'servicecatalog',
@@ -573,13 +616,17 @@ module Aws
573
616
  'SimpleDB' => 'sdb',
574
617
  'SnowDeviceManagement' => 'snow-device-management',
575
618
  'Snowball' => 'snowball',
619
+ 'SocialMessaging' => 'social-messaging',
576
620
  'SsmSap' => 'ssm-sap',
577
621
  'States' => 'states',
578
622
  'StorageGateway' => 'storagegateway',
623
+ 'SupplyChain' => 'scn',
579
624
  'Support' => 'support',
580
625
  'SupportApp' => 'supportapp',
581
626
  'Synthetics' => 'synthetics',
627
+ 'TaxSettings' => 'tax',
582
628
  'Textract' => 'textract',
629
+ 'TimestreamInfluxDB' => 'timestream-influxdb',
583
630
  'TimestreamQuery' => 'query.timestream',
584
631
  'TimestreamWrite' => 'ingest.timestream',
585
632
  'Tnb' => 'tnb',
@@ -587,6 +634,7 @@ module Aws
587
634
  'TranscribeStreamingService' => 'transcribestreaming',
588
635
  'Transfer' => 'transfer',
589
636
  'Translate' => 'translate',
637
+ 'TrustedAdvisor' => 'trustedadvisor',
590
638
  'VPCLattice' => 'vpc-lattice',
591
639
  'VerifiedPermissions' => 'verifiedpermissions',
592
640
  'VoiceID' => 'voiceid',
@@ -595,10 +643,10 @@ module Aws
595
643
  'WAFV2' => 'wafv2',
596
644
  'WellArchitected' => 'wellarchitected',
597
645
  'WorkDocs' => 'workdocs',
598
- 'WorkLink' => 'worklink',
599
646
  'WorkMail' => 'workmail',
600
647
  'WorkMailMessageFlow' => 'workmailmessageflow',
601
648
  'WorkSpaces' => 'workspaces',
649
+ 'WorkSpacesThinClient' => 'thinclient',
602
650
  'WorkSpacesWeb' => 'workspaces-web',
603
651
  'XRay' => 'xray',
604
652
  }
@@ -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)"
@@ -44,12 +44,18 @@
44
44
  "ap-southeast-4" : {
45
45
  "description" : "Asia Pacific (Melbourne)"
46
46
  },
47
+ "ap-southeast-5" : {
48
+ "description" : "Asia Pacific (Malaysia)"
49
+ },
47
50
  "aws-global" : {
48
51
  "description" : "AWS Standard global region"
49
52
  },
50
53
  "ca-central-1" : {
51
54
  "description" : "Canada (Central)"
52
55
  },
56
+ "ca-west-1" : {
57
+ "description" : "Canada West (Calgary)"
58
+ },
53
59
  "eu-central-1" : {
54
60
  "description" : "Europe (Frankfurt)"
55
61
  },
@@ -195,7 +201,11 @@
195
201
  "supportsFIPS" : true
196
202
  },
197
203
  "regionRegex" : "^eu\\-isoe\\-\\w+\\-\\d+$",
198
- "regions" : { }
204
+ "regions" : {
205
+ "eu-isoe-west-1" : {
206
+ "description" : "EU ISOE West"
207
+ }
208
+ }
199
209
  }, {
200
210
  "id" : "aws-iso-f",
201
211
  "outputs" : {