Module: Aws::Partitions

Extended by:
Enumerable
Defined in:
lib/aws-partitions.rb,
lib/aws-partitions/region.rb,
lib/aws-partitions/service.rb,
lib/aws-partitions/metadata.rb,
lib/aws-partitions/partition.rb,
lib/aws-partitions/partition_list.rb,
lib/aws-partitions/endpoint_provider.rb

Overview

A Partition is a group of AWS Region and Service objects. You can use a partition to determine what services are available in a region, or what regions a service is available in.

## Partitions

**AWS accounts are scoped to a single partition**. You can get a partition by name. Valid partition names include:

  • ‘“aws”` - Public AWS partition

  • ‘“aws-cn”` - AWS China

  • ‘“aws-us-gov”` - AWS GovCloud

To get a partition by name:

aws = Aws::Partitions.partition('aws')

You can also enumerate all partitions:

Aws::Partitions.each do |partition|
  puts partition.name
end

## Regions

A Partition is divided up into one or more regions. For example, the “aws” partition contains, “us-east-1”, “us-west-1”, etc. You can get a region by name. Calling Partition#region will return an instance of Region.

region = Aws::Partitions.partition('aws').region('us-west-2')
region.name
#=> "us-west-2"

You can also enumerate all regions within a partition:

Aws::Partitions.partition('aws').regions.each do |region|
  puts region.name
end

Each Region object has a name, description and a list of services available to that region:

us_west_2 = Aws::Partitions.partition('aws').region('us-west-2')

us_west_2.name #=> "us-west-2"
us_west_2.description #=> "US West (Oregon)"
us_west_2.partition_name "aws"
us_west_2.services #=> #<Set: {"APIGateway", "AutoScaling", ... }

To know if a service is available within a region, you can call ‘#include?` on the set of service names:

region.services.include?('DynamoDB') #=> true/false

The service name should be the service’s module name as used by the AWS SDK for Ruby. To find the complete list of supported service names, see Partition#services.

Its also possible to enumerate every service for every region in every partition.

Aws::Partitions.partitions.each do |partition|
  partition.regions.each do |region|
    region.services.each do |service_name|
      puts "#{partition.name} -> #{region.name} -> #{service_name}"
    end
  end
end

## Services

A Partition has a list of services available. You can get a single Service by name:

Aws::Partitions.partition('aws').service('DynamoDB')

You can also enumerate all services in a partition:

Aws::Partitions.partition('aws').services.each do |service|
  puts service.name
end

Each Service object has a name, and information about regions that service is available in.

service.name #=> "DynamoDB"
service.partition_name #=> "aws"
service.regions #=> #<Set: {"us-east-1", "us-west-1", ... }

Some services have multiple regions, and others have a single partition wide region. For example, IAM has a single region in the “aws” partition. The Service#regionalized? method indicates when this is the case.

iam = Aws::Partitions.partition('aws').service('IAM')

iam.regionalized? #=> false
service.partition_region #=> "aws-global"

Its also possible to enumerate every region for every service in every partition.

Aws::Partitions.partitions.each do |partition|
  partition.services.each do |service|
    service.regions.each do |region_name|
      puts "#{partition.name} -> #{region_name} -> #{service.name}"
    end
  end
end

## Service Names

Service names are those used by the the AWS SDK for Ruby. They correspond to the service’s module.

Defined Under Namespace

Modules: Metadata Classes: EndpointProvider, Partition, PartitionList, Region, Service

Class Method Summary collapse

Class Method Details

.add(new_partitions) ⇒ Object

Parameters:

  • new_partitions (Hash)


192
193
194
195
196
197
# File 'lib/aws-partitions.rb', line 192

def add(new_partitions)
  new_partitions['partitions'].each do |partition|
    default_partition_list.add_partition(Partition.build(partition))
    defaults['partitions'] << partition
  end
end

.clearObject



206
207
208
209
# File 'lib/aws-partitions.rb', line 206

def clear
  default_partition_list.clear
  defaults['partitions'].clear
end

.default_metadataHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Hash)


233
234
235
236
237
238
239
# File 'lib/aws-partitions.rb', line 233

def 
  @default_metadata ||= begin
    path = File.expand_path('../../partitions-metadata.json', __FILE__)
    defaults = JSON.parse(File.read(path), freeze: true)
    defaults.merge('partitions' => defaults['partitions'].dup)
  end
end

.default_partition_listPartitionList

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:



213
214
215
216
217
218
219
# File 'lib/aws-partitions.rb', line 213

def default_partition_list
  @default_partition_list ||= begin
    partitions = PartitionList.build(defaults)
    partitions.()
    partitions
  end
end

.defaultsHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Hash)


223
224
225
226
227
228
229
# File 'lib/aws-partitions.rb', line 223

def defaults
  @defaults ||= begin
    path = File.expand_path('../../partitions.json', __FILE__)
    defaults = JSON.parse(File.read(path), freeze: true)
    defaults.merge('partitions' => defaults['partitions'].dup)
  end
end

.each(&block) ⇒ Enumerable<Partition>

Returns:



137
138
139
# File 'lib/aws-partitions.rb', line 137

def each(&block)
  default_partition_list.each(&block)
end

.merge_metadata(partition_metadata) ⇒ Object

Parameters:

  • partition_metadata (Hash)


201
202
203
# File 'lib/aws-partitions.rb', line 201

def ()
  default_partition_list.()
end

.partition(name) ⇒ Partition

Return the partition with the given name. A partition describes the services and regions available in that partition.

aws = Aws::Partitions.partition('aws')

puts "Regions available in the aws partition:\n"
aws.regions.each do |region|
  puts region.name
end

puts "Services available in the aws partition:\n"
aws.services.each do |services|
  puts services.name
end

Parameters:

  • name (String)

    The name of the partition to return. Valid names include “aws”, “aws-cn”, and “aws-us-gov”.

Returns:

Raises:

  • (ArgumentError)

    Raises an ‘ArgumentError` if a partition is not found with the given name. The error message contains a list of valid partition names.



164
165
166
# File 'lib/aws-partitions.rb', line 164

def partition(name)
  default_partition_list.partition(name)
end

.partitionsEnumerable<Partition>

Returns an array with every partitions. A partition describes the services and regions available in that partition.

Aws::Partitions.partitions.each do |partition|

  puts "Regions available in #{partition.name}:\n"
  partition.regions.each do |region|
    puts region.name
  end

  puts "Services available in #{partition.name}:\n"
  partition.services.each do |service|
    puts service.name
  end
end

Returns:

  • (Enumerable<Partition>)

    Returns an enumerable of all known partitions.



186
187
188
# File 'lib/aws-partitions.rb', line 186

def partitions
  default_partition_list
end

.service_idsHash<String,String>

Returns a map of service module names to their id as used in the endpoints.json document.

Returns:

  • (Hash<String,String>)

    Returns a map of service module names to their id as used in the endpoints.json document.



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
# File 'lib/aws-partitions.rb', line 244

def service_ids
  @service_ids ||= begin
    # service ids
    {
      'ACM' => 'acm',
      'ACMPCA' => 'acm-pca',
      'APIGateway' => 'apigateway',
      'ARCZonalShift' => 'arc-zonal-shift',
      'AccessAnalyzer' => 'access-analyzer',
      'Account' => 'account',
      'Amplify' => 'amplify',
      'AmplifyBackend' => 'amplifybackend',
      'AmplifyUIBuilder' => 'amplifyuibuilder',
      'ApiGatewayManagementApi' => 'execute-api',
      'ApiGatewayV2' => 'apigateway',
      'AppConfig' => 'appconfig',
      'AppConfigData' => 'appconfigdata',
      'AppFabric' => 'appfabric',
      'AppIntegrationsService' => 'app-integrations',
      'AppMesh' => 'appmesh',
      'AppRegistry' => 'servicecatalog-appregistry',
      'AppRunner' => 'apprunner',
      'AppStream' => 'appstream2',
      'AppSync' => 'appsync',
      'AppTest' => 'apptest',
      'Appflow' => 'appflow',
      'ApplicationAutoScaling' => 'application-autoscaling',
      'ApplicationCostProfiler' => 'application-cost-profiler',
      'ApplicationDiscoveryService' => 'discovery',
      'ApplicationInsights' => 'applicationinsights',
      'ApplicationSignals' => 'application-signals',
      'Artifact' => 'artifact',
      'Athena' => 'athena',
      'AuditManager' => 'auditmanager',
      'AugmentedAIRuntime' => 'a2i-runtime.sagemaker',
      'AutoScaling' => 'autoscaling',
      'AutoScalingPlans' => 'autoscaling-plans',
      'B2bi' => 'b2bi',
      'BCMDataExports' => 'bcm-data-exports',
      'BCMPricingCalculator' => 'bcm-pricing-calculator',
      'Backup' => 'backup',
      'BackupGateway' => 'backup-gateway',
      'Batch' => 'batch',
      'Bedrock' => 'bedrock',
      'BedrockAgent' => 'bedrock-agent',
      'BedrockAgentRuntime' => 'bedrock-agent-runtime',
      'BedrockRuntime' => 'bedrock-runtime',
      'Billing' => 'billing',
      'BillingConductor' => 'billingconductor',
      'Braket' => 'braket',
      'Budgets' => 'budgets',
      'Chatbot' => 'chatbot',
      'Chime' => 'chime',
      'ChimeSDKIdentity' => 'identity-chime',
      'ChimeSDKMediaPipelines' => 'media-pipelines-chime',
      'ChimeSDKMeetings' => 'meetings-chime',
      'ChimeSDKMessaging' => 'messaging-chime',
      'ChimeSDKVoice' => 'voice-chime',
      'CleanRooms' => 'cleanrooms',
      'CleanRoomsML' => 'cleanrooms-ml',
      'Cloud9' => 'cloud9',
      'CloudControlApi' => 'cloudcontrolapi',
      'CloudDirectory' => 'clouddirectory',
      'CloudFormation' => 'cloudformation',
      'CloudFront' => 'cloudfront',
      'CloudFrontKeyValueStore' => 'cloudfront-keyvaluestore',
      'CloudHSM' => 'cloudhsm',
      'CloudHSMV2' => 'cloudhsmv2',
      'CloudSearch' => 'cloudsearch',
      'CloudTrail' => 'cloudtrail',
      'CloudTrailData' => 'cloudtrail-data',
      'CloudWatch' => 'monitoring',
      'CloudWatchEvents' => 'events',
      'CloudWatchEvidently' => 'evidently',
      'CloudWatchLogs' => 'logs',
      'CloudWatchRUM' => 'rum',
      'CodeArtifact' => 'codeartifact',
      'CodeBuild' => 'codebuild',
      'CodeCatalyst' => 'codecatalyst',
      'CodeCommit' => 'codecommit',
      'CodeConnections' => 'codeconnections',
      'CodeDeploy' => 'codedeploy',
      'CodeGuruProfiler' => 'codeguru-profiler',
      'CodeGuruReviewer' => 'codeguru-reviewer',
      'CodeGuruSecurity' => 'codeguru-security',
      'CodePipeline' => 'codepipeline',
      'CodeStarNotifications' => 'codestar-notifications',
      'CodeStarconnections' => 'codestar-connections',
      'CognitoIdentity' => 'cognito-identity',
      'CognitoIdentityProvider' => 'cognito-idp',
      'CognitoSync' => 'cognito-sync',
      'Comprehend' => 'comprehend',
      'ComprehendMedical' => 'comprehendmedical',
      'ComputeOptimizer' => 'compute-optimizer',
      'ConfigService' => 'config',
      'Connect' => 'connect',
      'ConnectCampaignService' => 'connect-campaigns',
      'ConnectCampaignsV2' => 'connect-campaigns',
      'ConnectCases' => 'cases',
      'ConnectContactLens' => 'contact-lens',
      'ConnectParticipant' => 'participant.connect',
      'ConnectWisdomService' => 'wisdom',
      'ControlCatalog' => 'controlcatalog',
      'ControlTower' => 'controltower',
      'CostExplorer' => 'ce',
      'CostOptimizationHub' => 'cost-optimization-hub',
      'CostandUsageReportService' => 'cur',
      'CustomerProfiles' => 'profile',
      'DAX' => 'dax',
      'DLM' => 'dlm',
      'DataExchange' => 'dataexchange',
      'DataPipeline' => 'datapipeline',
      'DataSync' => 'datasync',
      'DataZone' => 'datazone',
      'DatabaseMigrationService' => 'dms',
      'Deadline' => 'deadline',
      'Detective' => 'api.detective',
      'DevOpsGuru' => 'devops-guru',
      'DeviceFarm' => 'devicefarm',
      'DirectConnect' => 'directconnect',
      'DirectoryService' => 'ds',
      'DirectoryServiceData' => 'ds-data',
      'DocDB' => 'rds',
      'DocDBElastic' => 'docdb-elastic',
      'Drs' => 'drs',
      'DynamoDB' => 'dynamodb',
      'DynamoDBStreams' => 'streams.dynamodb',
      'EBS' => 'ebs',
      'EC2' => 'ec2',
      'EC2InstanceConnect' => 'ec2-instance-connect',
      'ECR' => 'api.ecr',
      'ECRPublic' => 'api.ecr-public',
      'ECS' => 'ecs',
      'EFS' => 'elasticfilesystem',
      'EKS' => 'eks',
      'EKSAuth' => 'eks-auth',
      'EMR' => 'elasticmapreduce',
      'EMRContainers' => 'emr-containers',
      'EMRServerless' => 'emr-serverless',
      'ElastiCache' => 'elasticache',
      'ElasticBeanstalk' => 'elasticbeanstalk',
      'ElasticInference' => 'api.elastic-inference',
      'ElasticLoadBalancing' => 'elasticloadbalancing',
      'ElasticLoadBalancingV2' => 'elasticloadbalancing',
      'ElasticTranscoder' => 'elastictranscoder',
      'ElasticsearchService' => 'es',
      'EntityResolution' => 'entityresolution',
      'EventBridge' => 'events',
      'FIS' => 'fis',
      'FMS' => 'fms',
      'FSx' => 'fsx',
      'FinSpaceData' => 'finspace-api',
      'Finspace' => 'finspace',
      'Firehose' => 'firehose',
      'ForecastQueryService' => 'forecastquery',
      'ForecastService' => 'forecast',
      'FraudDetector' => 'frauddetector',
      'FreeTier' => 'freetier',
      'GameLift' => 'gamelift',
      'GeoMaps' => 'geo-maps',
      'GeoPlaces' => 'geo-places',
      'GeoRoutes' => 'geo-routes',
      'Glacier' => 'glacier',
      'GlobalAccelerator' => 'globalaccelerator',
      'Glue' => 'glue',
      'GlueDataBrew' => 'databrew',
      'Greengrass' => 'greengrass',
      'GreengrassV2' => 'greengrass',
      'GroundStation' => 'groundstation',
      'GuardDuty' => 'guardduty',
      'Health' => 'health',
      'HealthLake' => 'healthlake',
      'IAM' => 'iam',
      'IVS' => 'ivs',
      'IVSRealTime' => 'ivsrealtime',
      'IdentityStore' => 'identitystore',
      'Imagebuilder' => 'imagebuilder',
      'ImportExport' => 'importexport',
      'Inspector' => 'inspector',
      'Inspector2' => 'inspector2',
      'InspectorScan' => 'inspector-scan',
      'InternetMonitor' => 'internetmonitor',
      'IoT' => 'iot',
      'IoT1ClickDevicesService' => 'devices.iot1click',
      'IoT1ClickProjects' => 'projects.iot1click',
      'IoTAnalytics' => 'iotanalytics',
      'IoTDeviceAdvisor' => 'api.iotdeviceadvisor',
      'IoTEvents' => 'iotevents',
      'IoTEventsData' => 'data.iotevents',
      'IoTFleetHub' => 'api.fleethub.iot',
      'IoTFleetWise' => 'iotfleetwise',
      'IoTJobsDataPlane' => 'data.jobs.iot',
      'IoTSecureTunneling' => 'api.tunneling.iot',
      'IoTSiteWise' => 'iotsitewise',
      'IoTThingsGraph' => 'iotthingsgraph',
      'IoTTwinMaker' => 'iottwinmaker',
      'IoTWireless' => 'api.iotwireless',
      'Ivschat' => 'ivschat',
      'KMS' => 'kms',
      'Kafka' => 'kafka',
      'KafkaConnect' => 'kafkaconnect',
      'Kendra' => 'kendra',
      'KendraRanking' => 'kendra-ranking',
      'Keyspaces' => 'cassandra',
      'Kinesis' => 'kinesis',
      'KinesisAnalytics' => 'kinesisanalytics',
      'KinesisAnalyticsV2' => 'kinesisanalytics',
      'KinesisVideo' => 'kinesisvideo',
      'KinesisVideoArchivedMedia' => 'kinesisvideo',
      'KinesisVideoMedia' => 'kinesisvideo',
      'KinesisVideoSignalingChannels' => 'kinesisvideo',
      'KinesisVideoWebRTCStorage' => 'kinesisvideo',
      'LakeFormation' => 'lakeformation',
      'Lambda' => 'lambda',
      'LaunchWizard' => 'launchwizard',
      'Lex' => 'runtime.lex',
      'LexModelBuildingService' => 'models.lex',
      'LexModelsV2' => 'models-v2-lex',
      'LexRuntimeV2' => 'runtime-v2-lex',
      'LicenseManager' => 'license-manager',
      'LicenseManagerLinuxSubscriptions' => 'license-manager-linux-subscriptions',
      'LicenseManagerUserSubscriptions' => 'license-manager-user-subscriptions',
      'Lightsail' => 'lightsail',
      'LocationService' => 'geo',
      'LookoutEquipment' => 'lookoutequipment',
      'LookoutMetrics' => 'lookoutmetrics',
      'LookoutforVision' => 'lookoutvision',
      'MQ' => 'mq',
      'MTurk' => 'mturk-requester',
      'MWAA' => 'airflow',
      'MachineLearning' => 'machinelearning',
      'Macie2' => 'macie2',
      'MailManager' => 'mail-manager',
      'MainframeModernization' => 'm2',
      'ManagedBlockchain' => 'managedblockchain',
      'ManagedBlockchainQuery' => 'managedblockchain-query',
      'ManagedGrafana' => 'grafana',
      'MarketplaceAgreement' => 'agreement-marketplace',
      'MarketplaceCatalog' => 'catalog.marketplace',
      'MarketplaceCommerceAnalytics' => 'marketplacecommerceanalytics',
      'MarketplaceDeployment' => 'deployment-marketplace',
      'MarketplaceEntitlementService' => 'entitlement.marketplace',
      'MarketplaceMetering' => 'metering.marketplace',
      'MarketplaceReporting' => 'reporting-marketplace',
      'MediaConnect' => 'mediaconnect',
      'MediaConvert' => 'mediaconvert',
      'MediaLive' => 'medialive',
      'MediaPackage' => 'mediapackage',
      'MediaPackageV2' => 'mediapackagev2',
      'MediaPackageVod' => 'mediapackage-vod',
      'MediaStore' => 'mediastore',
      'MediaStoreData' => 'data.mediastore',
      'MediaTailor' => 'api.mediatailor',
      'MedicalImaging' => 'medical-imaging',
      'MemoryDB' => 'memory-db',
      'Mgn' => 'mgn',
      'MigrationHub' => 'mgh',
      'MigrationHubConfig' => 'migrationhub-config',
      'MigrationHubOrchestrator' => 'migrationhub-orchestrator',
      'MigrationHubRefactorSpaces' => 'refactor-spaces',
      'MigrationHubStrategyRecommendations' => 'migrationhub-strategy',
      'Neptune' => 'rds',
      'NeptuneGraph' => 'neptune-graph',
      'Neptunedata' => 'neptune-db',
      'NetworkFirewall' => 'network-firewall',
      'NetworkManager' => 'networkmanager',
      'NetworkMonitor' => 'networkmonitor',
      'Notifications' => 'notifications',
      'NotificationsContacts' => 'notifications-contacts',
      'OAM' => 'oam',
      'OSIS' => 'osis',
      'ObservabilityAdmin' => 'observabilityadmin',
      'Omics' => 'omics',
      'OpenSearchServerless' => 'aoss',
      'OpenSearchService' => 'es',
      'OpsWorks' => 'opsworks',
      'OpsWorksCM' => 'opsworks-cm',
      'Organizations' => 'organizations',
      'Outposts' => 'outposts',
      'PCS' => 'pcs',
      'PI' => 'pi',
      'Panorama' => 'panorama',
      'PartnerCentralSelling' => 'partnercentral-selling',
      'PaymentCryptography' => 'controlplane.payment-cryptography',
      'PaymentCryptographyData' => 'dataplane.payment-cryptography',
      'PcaConnectorAd' => 'pca-connector-ad',
      'PcaConnectorScep' => 'pca-connector-scep',
      'Personalize' => 'personalize',
      'PersonalizeEvents' => 'personalize-events',
      'PersonalizeRuntime' => 'personalize-runtime',
      'Pinpoint' => 'pinpoint',
      'PinpointEmail' => 'email',
      'PinpointSMSVoice' => 'sms-voice.pinpoint',
      'PinpointSMSVoiceV2' => 'sms-voice',
      'Pipes' => 'pipes',
      'Polly' => 'polly',
      'Pricing' => 'api.pricing',
      'PrivateNetworks' => 'private-networks',
      'PrometheusService' => 'aps',
      'Proton' => 'proton',
      'QApps' => 'data.qapps',
      'QBusiness' => 'qbusiness',
      'QConnect' => 'wisdom',
      'QLDB' => 'qldb',
      'QLDBSession' => 'session.qldb',
      'QuickSight' => 'quicksight',
      'RAM' => 'ram',
      'RDS' => 'rds',
      'RDSDataService' => 'rds-data',
      'RecycleBin' => 'rbin',
      'Redshift' => 'redshift',
      'RedshiftDataAPIService' => 'redshift-data',
      'RedshiftServerless' => 'redshift-serverless',
      'Rekognition' => 'rekognition',
      'Repostspace' => 'repostspace',
      'ResilienceHub' => 'resiliencehub',
      'ResourceExplorer2' => 'resource-explorer-2',
      'ResourceGroups' => 'resource-groups',
      'ResourceGroupsTaggingAPI' => 'tagging',
      'RoboMaker' => 'robomaker',
      'RolesAnywhere' => 'rolesanywhere',
      'Route53' => 'route53',
      'Route53Domains' => 'route53domains',
      'Route53Profiles' => 'route53profiles',
      'Route53RecoveryCluster' => 'route53-recovery-cluster',
      'Route53RecoveryControlConfig' => 'route53-recovery-control-config',
      'Route53RecoveryReadiness' => 'route53-recovery-readiness',
      'Route53Resolver' => 'route53resolver',
      'S3' => 's3',
      'S3Control' => 's3-control',
      'S3Outposts' => 's3-outposts',
      'SES' => 'email',
      'SESV2' => 'email',
      'SMS' => 'sms',
      'SNS' => 'sns',
      'SQS' => 'sqs',
      'SSM' => 'ssm',
      'SSMContacts' => 'ssm-contacts',
      'SSMIncidents' => 'ssm-incidents',
      'SSMQuickSetup' => 'ssm-quicksetup',
      'SSO' => 'portal.sso',
      'SSOAdmin' => 'sso',
      'SSOOIDC' => 'oidc',
      'STS' => 'sts',
      'SWF' => 'swf',
      'SageMaker' => 'api.sagemaker',
      'SageMakerFeatureStoreRuntime' => 'featurestore-runtime.sagemaker',
      'SageMakerGeospatial' => 'sagemaker-geospatial',
      'SageMakerMetrics' => 'metrics.sagemaker',
      'SageMakerRuntime' => 'runtime.sagemaker',
      'SagemakerEdgeManager' => 'edge.sagemaker',
      'SavingsPlans' => 'savingsplans',
      'Scheduler' => 'scheduler',
      'Schemas' => 'schemas',
      'SecretsManager' => 'secretsmanager',
      'SecurityHub' => 'securityhub',
      'SecurityLake' => 'securitylake',
      'ServerlessApplicationRepository' => 'serverlessrepo',
      'ServiceCatalog' => 'servicecatalog',
      'ServiceDiscovery' => 'servicediscovery',
      'ServiceQuotas' => 'servicequotas',
      'Shield' => 'shield',
      'Signer' => 'signer',
      'SimSpaceWeaver' => 'simspaceweaver',
      'SimpleDB' => 'sdb',
      'SnowDeviceManagement' => 'snow-device-management',
      'Snowball' => 'snowball',
      'SocialMessaging' => 'social-messaging',
      'SsmSap' => 'ssm-sap',
      'States' => 'states',
      'StorageGateway' => 'storagegateway',
      'SupplyChain' => 'scn',
      'Support' => 'support',
      'SupportApp' => 'supportapp',
      'Synthetics' => 'synthetics',
      'TaxSettings' => 'tax',
      'Textract' => 'textract',
      'TimestreamInfluxDB' => 'timestream-influxdb',
      'TimestreamQuery' => 'query.timestream',
      'TimestreamWrite' => 'ingest.timestream',
      'Tnb' => 'tnb',
      'TranscribeService' => 'transcribe',
      'TranscribeStreamingService' => 'transcribestreaming',
      'Transfer' => 'transfer',
      'Translate' => 'translate',
      'TrustedAdvisor' => 'trustedadvisor',
      'VPCLattice' => 'vpc-lattice',
      'VerifiedPermissions' => 'verifiedpermissions',
      'VoiceID' => 'voiceid',
      'WAF' => 'waf',
      'WAFRegional' => 'waf-regional',
      'WAFV2' => 'wafv2',
      'WellArchitected' => 'wellarchitected',
      'WorkDocs' => 'workdocs',
      'WorkMail' => 'workmail',
      'WorkMailMessageFlow' => 'workmailmessageflow',
      'WorkSpaces' => 'workspaces',
      'WorkSpacesThinClient' => 'thinclient',
      'WorkSpacesWeb' => 'workspaces-web',
      'XRay' => 'xray',
    }
    # end service ids
  end
end