]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blame - vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
deps: use go modules for dep mgmt
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / aws / aws-sdk-go / aws / endpoints / defaults.go
CommitLineData
bae9f6d2
JC
1// Code generated by aws/endpoints/v3model_codegen.go. DO NOT EDIT.
2
3package endpoints
4
5import (
6 "regexp"
7)
8
9// Partition identifiers
10const (
11 AwsPartitionID = "aws" // AWS Standard partition.
12 AwsCnPartitionID = "aws-cn" // AWS China partition.
13 AwsUsGovPartitionID = "aws-us-gov" // AWS GovCloud (US) partition.
14)
15
16// AWS Standard partition's regions.
17const (
18 ApNortheast1RegionID = "ap-northeast-1" // Asia Pacific (Tokyo).
19 ApNortheast2RegionID = "ap-northeast-2" // Asia Pacific (Seoul).
20 ApSouth1RegionID = "ap-south-1" // Asia Pacific (Mumbai).
21 ApSoutheast1RegionID = "ap-southeast-1" // Asia Pacific (Singapore).
22 ApSoutheast2RegionID = "ap-southeast-2" // Asia Pacific (Sydney).
23 CaCentral1RegionID = "ca-central-1" // Canada (Central).
24 EuCentral1RegionID = "eu-central-1" // EU (Frankfurt).
25 EuWest1RegionID = "eu-west-1" // EU (Ireland).
26 EuWest2RegionID = "eu-west-2" // EU (London).
27 SaEast1RegionID = "sa-east-1" // South America (Sao Paulo).
28 UsEast1RegionID = "us-east-1" // US East (N. Virginia).
29 UsEast2RegionID = "us-east-2" // US East (Ohio).
30 UsWest1RegionID = "us-west-1" // US West (N. California).
31 UsWest2RegionID = "us-west-2" // US West (Oregon).
32)
33
34// AWS China partition's regions.
35const (
36 CnNorth1RegionID = "cn-north-1" // China (Beijing).
37)
38
39// AWS GovCloud (US) partition's regions.
40const (
41 UsGovWest1RegionID = "us-gov-west-1" // AWS GovCloud (US).
42)
43
44// Service identifiers
45const (
46 AcmServiceID = "acm" // Acm.
47 ApigatewayServiceID = "apigateway" // Apigateway.
48 ApplicationAutoscalingServiceID = "application-autoscaling" // ApplicationAutoscaling.
49 Appstream2ServiceID = "appstream2" // Appstream2.
9b12e4fe 50 AthenaServiceID = "athena" // Athena.
bae9f6d2
JC
51 AutoscalingServiceID = "autoscaling" // Autoscaling.
52 BatchServiceID = "batch" // Batch.
53 BudgetsServiceID = "budgets" // Budgets.
54 ClouddirectoryServiceID = "clouddirectory" // Clouddirectory.
55 CloudformationServiceID = "cloudformation" // Cloudformation.
56 CloudfrontServiceID = "cloudfront" // Cloudfront.
57 CloudhsmServiceID = "cloudhsm" // Cloudhsm.
58 CloudsearchServiceID = "cloudsearch" // Cloudsearch.
59 CloudtrailServiceID = "cloudtrail" // Cloudtrail.
60 CodebuildServiceID = "codebuild" // Codebuild.
61 CodecommitServiceID = "codecommit" // Codecommit.
62 CodedeployServiceID = "codedeploy" // Codedeploy.
63 CodepipelineServiceID = "codepipeline" // Codepipeline.
64 CodestarServiceID = "codestar" // Codestar.
65 CognitoIdentityServiceID = "cognito-identity" // CognitoIdentity.
66 CognitoIdpServiceID = "cognito-idp" // CognitoIdp.
67 CognitoSyncServiceID = "cognito-sync" // CognitoSync.
68 ConfigServiceID = "config" // Config.
69 CurServiceID = "cur" // Cur.
70 DatapipelineServiceID = "datapipeline" // Datapipeline.
71 DevicefarmServiceID = "devicefarm" // Devicefarm.
72 DirectconnectServiceID = "directconnect" // Directconnect.
73 DiscoveryServiceID = "discovery" // Discovery.
74 DmsServiceID = "dms" // Dms.
75 DsServiceID = "ds" // Ds.
76 DynamodbServiceID = "dynamodb" // Dynamodb.
77 Ec2ServiceID = "ec2" // Ec2.
78 Ec2metadataServiceID = "ec2metadata" // Ec2metadata.
79 EcrServiceID = "ecr" // Ecr.
80 EcsServiceID = "ecs" // Ecs.
81 ElasticacheServiceID = "elasticache" // Elasticache.
82 ElasticbeanstalkServiceID = "elasticbeanstalk" // Elasticbeanstalk.
83 ElasticfilesystemServiceID = "elasticfilesystem" // Elasticfilesystem.
84 ElasticloadbalancingServiceID = "elasticloadbalancing" // Elasticloadbalancing.
85 ElasticmapreduceServiceID = "elasticmapreduce" // Elasticmapreduce.
86 ElastictranscoderServiceID = "elastictranscoder" // Elastictranscoder.
87 EmailServiceID = "email" // Email.
88 EntitlementMarketplaceServiceID = "entitlement.marketplace" // EntitlementMarketplace.
89 EsServiceID = "es" // Es.
90 EventsServiceID = "events" // Events.
91 FirehoseServiceID = "firehose" // Firehose.
92 GameliftServiceID = "gamelift" // Gamelift.
93 GlacierServiceID = "glacier" // Glacier.
94 HealthServiceID = "health" // Health.
95 IamServiceID = "iam" // Iam.
96 ImportexportServiceID = "importexport" // Importexport.
97 InspectorServiceID = "inspector" // Inspector.
98 IotServiceID = "iot" // Iot.
99 KinesisServiceID = "kinesis" // Kinesis.
100 KinesisanalyticsServiceID = "kinesisanalytics" // Kinesisanalytics.
101 KmsServiceID = "kms" // Kms.
102 LambdaServiceID = "lambda" // Lambda.
103 LightsailServiceID = "lightsail" // Lightsail.
104 LogsServiceID = "logs" // Logs.
105 MachinelearningServiceID = "machinelearning" // Machinelearning.
106 MarketplacecommerceanalyticsServiceID = "marketplacecommerceanalytics" // Marketplacecommerceanalytics.
107 MeteringMarketplaceServiceID = "metering.marketplace" // MeteringMarketplace.
108 MobileanalyticsServiceID = "mobileanalytics" // Mobileanalytics.
109 ModelsLexServiceID = "models.lex" // ModelsLex.
110 MonitoringServiceID = "monitoring" // Monitoring.
111 MturkRequesterServiceID = "mturk-requester" // MturkRequester.
112 OpsworksServiceID = "opsworks" // Opsworks.
113 OpsworksCmServiceID = "opsworks-cm" // OpsworksCm.
114 OrganizationsServiceID = "organizations" // Organizations.
115 PinpointServiceID = "pinpoint" // Pinpoint.
116 PollyServiceID = "polly" // Polly.
117 RdsServiceID = "rds" // Rds.
118 RedshiftServiceID = "redshift" // Redshift.
119 RekognitionServiceID = "rekognition" // Rekognition.
120 Route53ServiceID = "route53" // Route53.
121 Route53domainsServiceID = "route53domains" // Route53domains.
122 RuntimeLexServiceID = "runtime.lex" // RuntimeLex.
123 S3ServiceID = "s3" // S3.
124 SdbServiceID = "sdb" // Sdb.
125 ServicecatalogServiceID = "servicecatalog" // Servicecatalog.
126 ShieldServiceID = "shield" // Shield.
127 SmsServiceID = "sms" // Sms.
128 SnowballServiceID = "snowball" // Snowball.
129 SnsServiceID = "sns" // Sns.
130 SqsServiceID = "sqs" // Sqs.
131 SsmServiceID = "ssm" // Ssm.
132 StatesServiceID = "states" // States.
133 StoragegatewayServiceID = "storagegateway" // Storagegateway.
134 StreamsDynamodbServiceID = "streams.dynamodb" // StreamsDynamodb.
135 StsServiceID = "sts" // Sts.
136 SupportServiceID = "support" // Support.
137 SwfServiceID = "swf" // Swf.
138 TaggingServiceID = "tagging" // Tagging.
139 WafServiceID = "waf" // Waf.
140 WafRegionalServiceID = "waf-regional" // WafRegional.
141 WorkdocsServiceID = "workdocs" // Workdocs.
142 WorkspacesServiceID = "workspaces" // Workspaces.
143 XrayServiceID = "xray" // Xray.
144)
145
146// DefaultResolver returns an Endpoint resolver that will be able
147// to resolve endpoints for: AWS Standard, AWS China, and AWS GovCloud (US).
148//
149// Use DefaultPartitions() to get the list of the default partitions.
150func DefaultResolver() Resolver {
151 return defaultPartitions
152}
153
154// DefaultPartitions returns a list of the partitions the SDK is bundled
155// with. The available partitions are: AWS Standard, AWS China, and AWS GovCloud (US).
156//
157// partitions := endpoints.DefaultPartitions
158// for _, p := range partitions {
159// // ... inspect partitions
160// }
161func DefaultPartitions() []Partition {
162 return defaultPartitions.Partitions()
163}
164
165var defaultPartitions = partitions{
166 awsPartition,
167 awscnPartition,
168 awsusgovPartition,
169}
170
171// AwsPartition returns the Resolver for AWS Standard.
172func AwsPartition() Partition {
173 return awsPartition.Partition()
174}
175
176var awsPartition = partition{
177 ID: "aws",
178 Name: "AWS Standard",
179 DNSSuffix: "amazonaws.com",
180 RegionRegex: regionRegex{
181 Regexp: func() *regexp.Regexp {
182 reg, _ := regexp.Compile("^(us|eu|ap|sa|ca)\\-\\w+\\-\\d+$")
183 return reg
184 }(),
185 },
186 Defaults: endpoint{
187 Hostname: "{service}.{region}.{dnsSuffix}",
188 Protocols: []string{"https"},
189 SignatureVersions: []string{"v4"},
190 },
191 Regions: regions{
192 "ap-northeast-1": region{
193 Description: "Asia Pacific (Tokyo)",
194 },
195 "ap-northeast-2": region{
196 Description: "Asia Pacific (Seoul)",
197 },
198 "ap-south-1": region{
199 Description: "Asia Pacific (Mumbai)",
200 },
201 "ap-southeast-1": region{
202 Description: "Asia Pacific (Singapore)",
203 },
204 "ap-southeast-2": region{
205 Description: "Asia Pacific (Sydney)",
206 },
207 "ca-central-1": region{
208 Description: "Canada (Central)",
209 },
210 "eu-central-1": region{
211 Description: "EU (Frankfurt)",
212 },
213 "eu-west-1": region{
214 Description: "EU (Ireland)",
215 },
216 "eu-west-2": region{
217 Description: "EU (London)",
218 },
219 "sa-east-1": region{
220 Description: "South America (Sao Paulo)",
221 },
222 "us-east-1": region{
223 Description: "US East (N. Virginia)",
224 },
225 "us-east-2": region{
226 Description: "US East (Ohio)",
227 },
228 "us-west-1": region{
229 Description: "US West (N. California)",
230 },
231 "us-west-2": region{
232 Description: "US West (Oregon)",
233 },
234 },
235 Services: services{
236 "acm": service{
237
238 Endpoints: endpoints{
239 "ap-northeast-1": endpoint{},
240 "ap-northeast-2": endpoint{},
241 "ap-south-1": endpoint{},
242 "ap-southeast-1": endpoint{},
243 "ap-southeast-2": endpoint{},
244 "ca-central-1": endpoint{},
245 "eu-central-1": endpoint{},
246 "eu-west-1": endpoint{},
247 "eu-west-2": endpoint{},
248 "sa-east-1": endpoint{},
249 "us-east-1": endpoint{},
250 "us-east-2": endpoint{},
251 "us-west-1": endpoint{},
252 "us-west-2": endpoint{},
253 },
254 },
255 "apigateway": service{
256
257 Endpoints: endpoints{
258 "ap-northeast-1": endpoint{},
259 "ap-northeast-2": endpoint{},
260 "ap-south-1": endpoint{},
261 "ap-southeast-1": endpoint{},
262 "ap-southeast-2": endpoint{},
263 "eu-central-1": endpoint{},
264 "eu-west-1": endpoint{},
265 "eu-west-2": endpoint{},
266 "us-east-1": endpoint{},
267 "us-east-2": endpoint{},
268 "us-west-1": endpoint{},
269 "us-west-2": endpoint{},
270 },
271 },
272 "application-autoscaling": service{
273 Defaults: endpoint{
274 Hostname: "autoscaling.{region}.amazonaws.com",
275 Protocols: []string{"http", "https"},
276 CredentialScope: credentialScope{
277 Service: "application-autoscaling",
278 },
279 },
280 Endpoints: endpoints{
281 "ap-northeast-1": endpoint{},
282 "ap-northeast-2": endpoint{},
283 "ap-south-1": endpoint{},
284 "ap-southeast-1": endpoint{},
285 "ap-southeast-2": endpoint{},
286 "ca-central-1": endpoint{},
287 "eu-central-1": endpoint{},
288 "eu-west-1": endpoint{},
289 "eu-west-2": endpoint{},
290 "sa-east-1": endpoint{},
291 "us-east-1": endpoint{},
292 "us-east-2": endpoint{},
293 "us-west-1": endpoint{},
294 "us-west-2": endpoint{},
295 },
296 },
297 "appstream2": service{
298 Defaults: endpoint{
299 Protocols: []string{"https"},
300 CredentialScope: credentialScope{
301 Service: "appstream",
302 },
303 },
304 Endpoints: endpoints{
305 "ap-northeast-1": endpoint{},
306 "eu-west-1": endpoint{},
307 "us-east-1": endpoint{},
308 "us-west-2": endpoint{},
309 },
310 },
9b12e4fe
JC
311 "athena": service{
312
313 Endpoints: endpoints{
314 "us-east-1": endpoint{},
315 "us-east-2": endpoint{},
316 "us-west-2": endpoint{},
317 },
318 },
bae9f6d2
JC
319 "autoscaling": service{
320 Defaults: endpoint{
321 Protocols: []string{"http", "https"},
322 },
323 Endpoints: endpoints{
324 "ap-northeast-1": endpoint{},
325 "ap-northeast-2": endpoint{},
326 "ap-south-1": endpoint{},
327 "ap-southeast-1": endpoint{},
328 "ap-southeast-2": endpoint{},
329 "ca-central-1": endpoint{},
330 "eu-central-1": endpoint{},
331 "eu-west-1": endpoint{},
332 "eu-west-2": endpoint{},
333 "sa-east-1": endpoint{},
334 "us-east-1": endpoint{},
335 "us-east-2": endpoint{},
336 "us-west-1": endpoint{},
337 "us-west-2": endpoint{},
338 },
339 },
340 "batch": service{
341
342 Endpoints: endpoints{
9b12e4fe 343 "eu-west-1": endpoint{},
bae9f6d2 344 "us-east-1": endpoint{},
9b12e4fe 345 "us-west-2": endpoint{},
bae9f6d2
JC
346 },
347 },
348 "budgets": service{
349 PartitionEndpoint: "aws-global",
350 IsRegionalized: boxedFalse,
351
352 Endpoints: endpoints{
353 "aws-global": endpoint{
354 Hostname: "budgets.amazonaws.com",
355 CredentialScope: credentialScope{
356 Region: "us-east-1",
357 },
358 },
359 },
360 },
361 "clouddirectory": service{
362
363 Endpoints: endpoints{
364 "ap-southeast-1": endpoint{},
365 "ap-southeast-2": endpoint{},
366 "eu-west-1": endpoint{},
367 "eu-west-2": endpoint{},
368 "us-east-1": endpoint{},
369 "us-east-2": endpoint{},
370 "us-west-2": endpoint{},
371 },
372 },
373 "cloudformation": service{
374
375 Endpoints: endpoints{
376 "ap-northeast-1": endpoint{},
377 "ap-northeast-2": endpoint{},
378 "ap-south-1": endpoint{},
379 "ap-southeast-1": endpoint{},
380 "ap-southeast-2": endpoint{},
381 "ca-central-1": endpoint{},
382 "eu-central-1": endpoint{},
383 "eu-west-1": endpoint{},
384 "eu-west-2": endpoint{},
385 "sa-east-1": endpoint{},
386 "us-east-1": endpoint{},
387 "us-east-2": endpoint{},
388 "us-west-1": endpoint{},
389 "us-west-2": endpoint{},
390 },
391 },
392 "cloudfront": service{
393 PartitionEndpoint: "aws-global",
394 IsRegionalized: boxedFalse,
395
396 Endpoints: endpoints{
397 "aws-global": endpoint{
398 Hostname: "cloudfront.amazonaws.com",
399 Protocols: []string{"http", "https"},
400 CredentialScope: credentialScope{
401 Region: "us-east-1",
402 },
403 },
404 },
405 },
406 "cloudhsm": service{
407
408 Endpoints: endpoints{
409 "ap-northeast-1": endpoint{},
410 "ap-southeast-1": endpoint{},
411 "ap-southeast-2": endpoint{},
412 "ca-central-1": endpoint{},
413 "eu-central-1": endpoint{},
414 "eu-west-1": endpoint{},
415 "us-east-1": endpoint{},
416 "us-east-2": endpoint{},
417 "us-west-1": endpoint{},
418 "us-west-2": endpoint{},
419 },
420 },
421 "cloudsearch": service{
422
423 Endpoints: endpoints{
424 "ap-northeast-1": endpoint{},
425 "ap-northeast-2": endpoint{},
426 "ap-southeast-1": endpoint{},
427 "ap-southeast-2": endpoint{},
428 "eu-central-1": endpoint{},
429 "eu-west-1": endpoint{},
430 "sa-east-1": endpoint{},
431 "us-east-1": endpoint{},
432 "us-west-1": endpoint{},
433 "us-west-2": endpoint{},
434 },
435 },
436 "cloudtrail": service{
437
438 Endpoints: endpoints{
439 "ap-northeast-1": endpoint{},
440 "ap-northeast-2": endpoint{},
441 "ap-south-1": endpoint{},
442 "ap-southeast-1": endpoint{},
443 "ap-southeast-2": endpoint{},
444 "ca-central-1": endpoint{},
445 "eu-central-1": endpoint{},
446 "eu-west-1": endpoint{},
447 "eu-west-2": endpoint{},
448 "sa-east-1": endpoint{},
449 "us-east-1": endpoint{},
450 "us-east-2": endpoint{},
451 "us-west-1": endpoint{},
452 "us-west-2": endpoint{},
453 },
454 },
455 "codebuild": service{
456
457 Endpoints: endpoints{
458 "ap-northeast-1": endpoint{},
459 "ap-southeast-1": endpoint{},
460 "ap-southeast-2": endpoint{},
461 "eu-central-1": endpoint{},
462 "eu-west-1": endpoint{},
463 "us-east-1": endpoint{},
464 "us-east-2": endpoint{},
465 "us-west-2": endpoint{},
466 },
467 },
468 "codecommit": service{
469
470 Endpoints: endpoints{
9b12e4fe
JC
471 "ap-northeast-1": endpoint{},
472 "ap-southeast-1": endpoint{},
473 "ap-southeast-2": endpoint{},
474 "eu-central-1": endpoint{},
475 "eu-west-1": endpoint{},
476 "us-east-1": endpoint{},
477 "us-east-2": endpoint{},
478 "us-west-2": endpoint{},
bae9f6d2
JC
479 },
480 },
481 "codedeploy": service{
482
483 Endpoints: endpoints{
484 "ap-northeast-1": endpoint{},
485 "ap-northeast-2": endpoint{},
486 "ap-south-1": endpoint{},
487 "ap-southeast-1": endpoint{},
488 "ap-southeast-2": endpoint{},
489 "ca-central-1": endpoint{},
490 "eu-central-1": endpoint{},
491 "eu-west-1": endpoint{},
492 "eu-west-2": endpoint{},
493 "sa-east-1": endpoint{},
494 "us-east-1": endpoint{},
495 "us-east-2": endpoint{},
496 "us-west-1": endpoint{},
497 "us-west-2": endpoint{},
498 },
499 },
500 "codepipeline": service{
501
502 Endpoints: endpoints{
503 "ap-northeast-1": endpoint{},
504 "ap-southeast-1": endpoint{},
505 "ap-southeast-2": endpoint{},
506 "eu-central-1": endpoint{},
507 "eu-west-1": endpoint{},
508 "sa-east-1": endpoint{},
509 "us-east-1": endpoint{},
510 "us-east-2": endpoint{},
511 "us-west-2": endpoint{},
512 },
513 },
514 "codestar": service{
515
516 Endpoints: endpoints{
517 "eu-west-1": endpoint{},
518 "us-east-1": endpoint{},
519 "us-east-2": endpoint{},
520 "us-west-2": endpoint{},
521 },
522 },
523 "cognito-identity": service{
524
525 Endpoints: endpoints{
526 "ap-northeast-1": endpoint{},
527 "ap-northeast-2": endpoint{},
528 "ap-south-1": endpoint{},
529 "ap-southeast-2": endpoint{},
530 "eu-central-1": endpoint{},
531 "eu-west-1": endpoint{},
532 "eu-west-2": endpoint{},
533 "us-east-1": endpoint{},
534 "us-east-2": endpoint{},
535 "us-west-2": endpoint{},
536 },
537 },
538 "cognito-idp": service{
539
540 Endpoints: endpoints{
541 "ap-northeast-1": endpoint{},
542 "ap-northeast-2": endpoint{},
543 "ap-south-1": endpoint{},
544 "ap-southeast-2": endpoint{},
545 "eu-central-1": endpoint{},
546 "eu-west-1": endpoint{},
547 "eu-west-2": endpoint{},
548 "us-east-1": endpoint{},
549 "us-east-2": endpoint{},
550 "us-west-2": endpoint{},
551 },
552 },
553 "cognito-sync": service{
554
555 Endpoints: endpoints{
556 "ap-northeast-1": endpoint{},
557 "ap-northeast-2": endpoint{},
558 "ap-south-1": endpoint{},
559 "ap-southeast-2": endpoint{},
560 "eu-central-1": endpoint{},
561 "eu-west-1": endpoint{},
562 "eu-west-2": endpoint{},
563 "us-east-1": endpoint{},
564 "us-east-2": endpoint{},
565 "us-west-2": endpoint{},
566 },
567 },
568 "config": service{
569
570 Endpoints: endpoints{
571 "ap-northeast-1": endpoint{},
572 "ap-northeast-2": endpoint{},
573 "ap-south-1": endpoint{},
574 "ap-southeast-1": endpoint{},
575 "ap-southeast-2": endpoint{},
576 "ca-central-1": endpoint{},
577 "eu-central-1": endpoint{},
578 "eu-west-1": endpoint{},
579 "eu-west-2": endpoint{},
580 "sa-east-1": endpoint{},
581 "us-east-1": endpoint{},
582 "us-east-2": endpoint{},
583 "us-west-1": endpoint{},
584 "us-west-2": endpoint{},
585 },
586 },
587 "cur": service{
588
589 Endpoints: endpoints{
590 "us-east-1": endpoint{},
591 },
592 },
593 "datapipeline": service{
594
595 Endpoints: endpoints{
596 "ap-northeast-1": endpoint{},
597 "ap-southeast-2": endpoint{},
598 "eu-west-1": endpoint{},
599 "us-east-1": endpoint{},
600 "us-west-2": endpoint{},
601 },
602 },
603 "devicefarm": service{
604
605 Endpoints: endpoints{
606 "us-west-2": endpoint{},
607 },
608 },
609 "directconnect": service{
610
611 Endpoints: endpoints{
612 "ap-northeast-1": endpoint{},
613 "ap-northeast-2": endpoint{},
614 "ap-south-1": endpoint{},
615 "ap-southeast-1": endpoint{},
616 "ap-southeast-2": endpoint{},
617 "ca-central-1": endpoint{},
618 "eu-central-1": endpoint{},
619 "eu-west-1": endpoint{},
620 "eu-west-2": endpoint{},
621 "sa-east-1": endpoint{},
622 "us-east-1": endpoint{},
623 "us-east-2": endpoint{},
624 "us-west-1": endpoint{},
625 "us-west-2": endpoint{},
626 },
627 },
628 "discovery": service{
629
630 Endpoints: endpoints{
631 "us-west-2": endpoint{},
632 },
633 },
634 "dms": service{
635
636 Endpoints: endpoints{
637 "ap-northeast-1": endpoint{},
638 "ap-northeast-2": endpoint{},
639 "ap-south-1": endpoint{},
640 "ap-southeast-1": endpoint{},
641 "ap-southeast-2": endpoint{},
642 "ca-central-1": endpoint{},
643 "eu-central-1": endpoint{},
644 "eu-west-1": endpoint{},
645 "eu-west-2": endpoint{},
646 "sa-east-1": endpoint{},
647 "us-east-1": endpoint{},
648 "us-east-2": endpoint{},
649 "us-west-1": endpoint{},
650 "us-west-2": endpoint{},
651 },
652 },
653 "ds": service{
654
655 Endpoints: endpoints{
656 "ap-northeast-1": endpoint{},
9b12e4fe 657 "ap-northeast-2": endpoint{},
bae9f6d2
JC
658 "ap-southeast-1": endpoint{},
659 "ap-southeast-2": endpoint{},
9b12e4fe 660 "ca-central-1": endpoint{},
bae9f6d2
JC
661 "eu-central-1": endpoint{},
662 "eu-west-1": endpoint{},
9b12e4fe 663 "eu-west-2": endpoint{},
bae9f6d2 664 "us-east-1": endpoint{},
9b12e4fe 665 "us-east-2": endpoint{},
bae9f6d2
JC
666 "us-west-2": endpoint{},
667 },
668 },
669 "dynamodb": service{
670 Defaults: endpoint{
671 Protocols: []string{"http", "https"},
672 },
673 Endpoints: endpoints{
674 "ap-northeast-1": endpoint{},
675 "ap-northeast-2": endpoint{},
676 "ap-south-1": endpoint{},
677 "ap-southeast-1": endpoint{},
678 "ap-southeast-2": endpoint{},
679 "ca-central-1": endpoint{},
680 "eu-central-1": endpoint{},
681 "eu-west-1": endpoint{},
682 "eu-west-2": endpoint{},
683 "local": endpoint{
684 Hostname: "localhost:8000",
685 Protocols: []string{"http"},
686 CredentialScope: credentialScope{
687 Region: "us-east-1",
688 },
689 },
690 "sa-east-1": endpoint{},
691 "us-east-1": endpoint{},
692 "us-east-2": endpoint{},
693 "us-west-1": endpoint{},
694 "us-west-2": endpoint{},
695 },
696 },
697 "ec2": service{
698 Defaults: endpoint{
699 Protocols: []string{"http", "https"},
700 },
701 Endpoints: endpoints{
702 "ap-northeast-1": endpoint{},
703 "ap-northeast-2": endpoint{},
704 "ap-south-1": endpoint{},
705 "ap-southeast-1": endpoint{},
706 "ap-southeast-2": endpoint{},
707 "ca-central-1": endpoint{},
708 "eu-central-1": endpoint{},
709 "eu-west-1": endpoint{},
710 "eu-west-2": endpoint{},
711 "sa-east-1": endpoint{},
712 "us-east-1": endpoint{},
713 "us-east-2": endpoint{},
714 "us-west-1": endpoint{},
715 "us-west-2": endpoint{},
716 },
717 },
718 "ec2metadata": service{
719 PartitionEndpoint: "aws-global",
720 IsRegionalized: boxedFalse,
721
722 Endpoints: endpoints{
723 "aws-global": endpoint{
724 Hostname: "169.254.169.254/latest",
725 Protocols: []string{"http"},
726 },
727 },
728 },
729 "ecr": service{
730
731 Endpoints: endpoints{
732 "ap-northeast-1": endpoint{},
733 "ap-southeast-1": endpoint{},
734 "ap-southeast-2": endpoint{},
735 "ca-central-1": endpoint{},
736 "eu-central-1": endpoint{},
737 "eu-west-1": endpoint{},
738 "eu-west-2": endpoint{},
739 "us-east-1": endpoint{},
740 "us-east-2": endpoint{},
741 "us-west-1": endpoint{},
742 "us-west-2": endpoint{},
743 },
744 },
745 "ecs": service{
746
747 Endpoints: endpoints{
748 "ap-northeast-1": endpoint{},
749 "ap-southeast-1": endpoint{},
750 "ap-southeast-2": endpoint{},
751 "ca-central-1": endpoint{},
752 "eu-central-1": endpoint{},
753 "eu-west-1": endpoint{},
754 "eu-west-2": endpoint{},
755 "us-east-1": endpoint{},
756 "us-east-2": endpoint{},
757 "us-west-1": endpoint{},
758 "us-west-2": endpoint{},
759 },
760 },
761 "elasticache": service{
762
763 Endpoints: endpoints{
764 "ap-northeast-1": endpoint{},
765 "ap-northeast-2": endpoint{},
766 "ap-south-1": endpoint{},
767 "ap-southeast-1": endpoint{},
768 "ap-southeast-2": endpoint{},
769 "ca-central-1": endpoint{},
770 "eu-central-1": endpoint{},
771 "eu-west-1": endpoint{},
772 "eu-west-2": endpoint{},
773 "sa-east-1": endpoint{},
774 "us-east-1": endpoint{},
775 "us-east-2": endpoint{},
776 "us-west-1": endpoint{},
777 "us-west-2": endpoint{},
778 },
779 },
780 "elasticbeanstalk": service{
781
782 Endpoints: endpoints{
783 "ap-northeast-1": endpoint{},
784 "ap-northeast-2": endpoint{},
785 "ap-south-1": endpoint{},
786 "ap-southeast-1": endpoint{},
787 "ap-southeast-2": endpoint{},
788 "ca-central-1": endpoint{},
789 "eu-central-1": endpoint{},
790 "eu-west-1": endpoint{},
791 "eu-west-2": endpoint{},
792 "sa-east-1": endpoint{},
793 "us-east-1": endpoint{},
794 "us-east-2": endpoint{},
795 "us-west-1": endpoint{},
796 "us-west-2": endpoint{},
797 },
798 },
799 "elasticfilesystem": service{
800
801 Endpoints: endpoints{
802 "ap-southeast-2": endpoint{},
803 "eu-west-1": endpoint{},
804 "us-east-1": endpoint{},
805 "us-east-2": endpoint{},
806 "us-west-2": endpoint{},
807 },
808 },
809 "elasticloadbalancing": service{
810 Defaults: endpoint{
811 Protocols: []string{"http", "https"},
812 },
813 Endpoints: endpoints{
814 "ap-northeast-1": endpoint{},
815 "ap-northeast-2": endpoint{},
816 "ap-south-1": endpoint{},
817 "ap-southeast-1": endpoint{},
818 "ap-southeast-2": endpoint{},
819 "ca-central-1": endpoint{},
820 "eu-central-1": endpoint{},
821 "eu-west-1": endpoint{},
822 "eu-west-2": endpoint{},
823 "sa-east-1": endpoint{},
824 "us-east-1": endpoint{},
825 "us-east-2": endpoint{},
826 "us-west-1": endpoint{},
827 "us-west-2": endpoint{},
828 },
829 },
830 "elasticmapreduce": service{
831 Defaults: endpoint{
832 SSLCommonName: "{region}.{service}.{dnsSuffix}",
833 Protocols: []string{"http", "https"},
834 },
835 Endpoints: endpoints{
836 "ap-northeast-1": endpoint{},
837 "ap-northeast-2": endpoint{},
838 "ap-south-1": endpoint{},
839 "ap-southeast-1": endpoint{},
840 "ap-southeast-2": endpoint{},
841 "ca-central-1": endpoint{},
842 "eu-central-1": endpoint{
843 SSLCommonName: "{service}.{region}.{dnsSuffix}",
844 },
845 "eu-west-1": endpoint{},
846 "eu-west-2": endpoint{},
847 "sa-east-1": endpoint{},
848 "us-east-1": endpoint{
849 SSLCommonName: "{service}.{region}.{dnsSuffix}",
850 },
851 "us-east-2": endpoint{},
852 "us-west-1": endpoint{},
853 "us-west-2": endpoint{},
854 },
855 },
856 "elastictranscoder": service{
857
858 Endpoints: endpoints{
859 "ap-northeast-1": endpoint{},
860 "ap-south-1": endpoint{},
861 "ap-southeast-1": endpoint{},
862 "ap-southeast-2": endpoint{},
863 "eu-west-1": endpoint{},
864 "us-east-1": endpoint{},
865 "us-west-1": endpoint{},
866 "us-west-2": endpoint{},
867 },
868 },
869 "email": service{
870
871 Endpoints: endpoints{
872 "eu-west-1": endpoint{},
873 "us-east-1": endpoint{},
874 "us-west-2": endpoint{},
875 },
876 },
877 "entitlement.marketplace": service{
878 Defaults: endpoint{
879 CredentialScope: credentialScope{
880 Service: "aws-marketplace",
881 },
882 },
883 Endpoints: endpoints{
884 "us-east-1": endpoint{},
885 },
886 },
887 "es": service{
888
889 Endpoints: endpoints{
890 "ap-northeast-1": endpoint{},
891 "ap-northeast-2": endpoint{},
892 "ap-south-1": endpoint{},
893 "ap-southeast-1": endpoint{},
894 "ap-southeast-2": endpoint{},
895 "ca-central-1": endpoint{},
896 "eu-central-1": endpoint{},
897 "eu-west-1": endpoint{},
898 "eu-west-2": endpoint{},
899 "sa-east-1": endpoint{},
900 "us-east-1": endpoint{},
901 "us-east-2": endpoint{},
902 "us-west-1": endpoint{},
903 "us-west-2": endpoint{},
904 },
905 },
906 "events": service{
907
908 Endpoints: endpoints{
909 "ap-northeast-1": endpoint{},
910 "ap-northeast-2": endpoint{},
911 "ap-south-1": endpoint{},
912 "ap-southeast-1": endpoint{},
913 "ap-southeast-2": endpoint{},
914 "ca-central-1": endpoint{},
915 "eu-central-1": endpoint{},
916 "eu-west-1": endpoint{},
917 "eu-west-2": endpoint{},
918 "sa-east-1": endpoint{},
919 "us-east-1": endpoint{},
920 "us-east-2": endpoint{},
921 "us-west-1": endpoint{},
922 "us-west-2": endpoint{},
923 },
924 },
925 "firehose": service{
926
927 Endpoints: endpoints{
928 "eu-west-1": endpoint{},
929 "us-east-1": endpoint{},
930 "us-west-2": endpoint{},
931 },
932 },
933 "gamelift": service{
934
935 Endpoints: endpoints{
936 "ap-northeast-1": endpoint{},
937 "ap-northeast-2": endpoint{},
938 "ap-south-1": endpoint{},
939 "ap-southeast-1": endpoint{},
940 "eu-central-1": endpoint{},
941 "eu-west-1": endpoint{},
942 "sa-east-1": endpoint{},
943 "us-east-1": endpoint{},
944 "us-west-2": endpoint{},
945 },
946 },
947 "glacier": service{
948 Defaults: endpoint{
949 Protocols: []string{"http", "https"},
950 },
951 Endpoints: endpoints{
952 "ap-northeast-1": endpoint{},
953 "ap-northeast-2": endpoint{},
954 "ap-south-1": endpoint{},
955 "ap-southeast-2": endpoint{},
956 "ca-central-1": endpoint{},
957 "eu-central-1": endpoint{},
958 "eu-west-1": endpoint{},
959 "eu-west-2": endpoint{},
960 "us-east-1": endpoint{},
961 "us-east-2": endpoint{},
962 "us-west-1": endpoint{},
963 "us-west-2": endpoint{},
964 },
965 },
966 "health": service{
967
968 Endpoints: endpoints{
969 "us-east-1": endpoint{},
970 },
971 },
972 "iam": service{
973 PartitionEndpoint: "aws-global",
974 IsRegionalized: boxedFalse,
975
976 Endpoints: endpoints{
977 "aws-global": endpoint{
978 Hostname: "iam.amazonaws.com",
979 CredentialScope: credentialScope{
980 Region: "us-east-1",
981 },
982 },
983 },
984 },
985 "importexport": service{
986 PartitionEndpoint: "aws-global",
987 IsRegionalized: boxedFalse,
988
989 Endpoints: endpoints{
990 "aws-global": endpoint{
991 Hostname: "importexport.amazonaws.com",
992 SignatureVersions: []string{"v2", "v4"},
993 CredentialScope: credentialScope{
994 Region: "us-east-1",
995 Service: "IngestionService",
996 },
997 },
998 },
999 },
1000 "inspector": service{
1001
1002 Endpoints: endpoints{
1003 "ap-northeast-1": endpoint{},
1004 "ap-northeast-2": endpoint{},
1005 "ap-south-1": endpoint{},
1006 "ap-southeast-2": endpoint{},
1007 "eu-west-1": endpoint{},
1008 "us-east-1": endpoint{},
1009 "us-west-2": endpoint{},
1010 },
1011 },
1012 "iot": service{
1013 Defaults: endpoint{
1014 CredentialScope: credentialScope{
1015 Service: "execute-api",
1016 },
1017 },
1018 Endpoints: endpoints{
1019 "ap-northeast-1": endpoint{},
1020 "ap-northeast-2": endpoint{},
1021 "ap-southeast-1": endpoint{},
1022 "ap-southeast-2": endpoint{},
1023 "eu-central-1": endpoint{},
1024 "eu-west-1": endpoint{},
1025 "eu-west-2": endpoint{},
1026 "us-east-1": endpoint{},
1027 "us-east-2": endpoint{},
1028 "us-west-2": endpoint{},
1029 },
1030 },
1031 "kinesis": service{
1032
1033 Endpoints: endpoints{
1034 "ap-northeast-1": endpoint{},
1035 "ap-northeast-2": endpoint{},
1036 "ap-south-1": endpoint{},
1037 "ap-southeast-1": endpoint{},
1038 "ap-southeast-2": endpoint{},
1039 "ca-central-1": endpoint{},
1040 "eu-central-1": endpoint{},
1041 "eu-west-1": endpoint{},
1042 "eu-west-2": endpoint{},
1043 "sa-east-1": endpoint{},
1044 "us-east-1": endpoint{},
1045 "us-east-2": endpoint{},
1046 "us-west-1": endpoint{},
1047 "us-west-2": endpoint{},
1048 },
1049 },
1050 "kinesisanalytics": service{
1051
1052 Endpoints: endpoints{
1053 "eu-west-1": endpoint{},
1054 "us-east-1": endpoint{},
1055 "us-west-2": endpoint{},
1056 },
1057 },
1058 "kms": service{
1059
1060 Endpoints: endpoints{
1061 "ap-northeast-1": endpoint{},
1062 "ap-northeast-2": endpoint{},
1063 "ap-south-1": endpoint{},
1064 "ap-southeast-1": endpoint{},
1065 "ap-southeast-2": endpoint{},
1066 "ca-central-1": endpoint{},
1067 "eu-central-1": endpoint{},
1068 "eu-west-1": endpoint{},
1069 "eu-west-2": endpoint{},
1070 "sa-east-1": endpoint{},
1071 "us-east-1": endpoint{},
1072 "us-east-2": endpoint{},
1073 "us-west-1": endpoint{},
1074 "us-west-2": endpoint{},
1075 },
1076 },
1077 "lambda": service{
1078
1079 Endpoints: endpoints{
1080 "ap-northeast-1": endpoint{},
1081 "ap-northeast-2": endpoint{},
1082 "ap-south-1": endpoint{},
1083 "ap-southeast-1": endpoint{},
1084 "ap-southeast-2": endpoint{},
1085 "eu-central-1": endpoint{},
1086 "eu-west-1": endpoint{},
1087 "eu-west-2": endpoint{},
1088 "us-east-1": endpoint{},
1089 "us-east-2": endpoint{},
1090 "us-west-1": endpoint{},
1091 "us-west-2": endpoint{},
1092 },
1093 },
1094 "lightsail": service{
1095
1096 Endpoints: endpoints{
9b12e4fe
JC
1097 "ap-northeast-1": endpoint{},
1098 "ap-south-1": endpoint{},
1099 "ap-southeast-1": endpoint{},
1100 "ap-southeast-2": endpoint{},
1101 "eu-central-1": endpoint{},
1102 "eu-west-1": endpoint{},
1103 "eu-west-2": endpoint{},
1104 "us-east-1": endpoint{},
1105 "us-east-2": endpoint{},
1106 "us-west-2": endpoint{},
bae9f6d2
JC
1107 },
1108 },
1109 "logs": service{
1110
1111 Endpoints: endpoints{
1112 "ap-northeast-1": endpoint{},
1113 "ap-northeast-2": endpoint{},
1114 "ap-south-1": endpoint{},
1115 "ap-southeast-1": endpoint{},
1116 "ap-southeast-2": endpoint{},
1117 "ca-central-1": endpoint{},
1118 "eu-central-1": endpoint{},
1119 "eu-west-1": endpoint{},
1120 "eu-west-2": endpoint{},
1121 "sa-east-1": endpoint{},
1122 "us-east-1": endpoint{},
1123 "us-east-2": endpoint{},
1124 "us-west-1": endpoint{},
1125 "us-west-2": endpoint{},
1126 },
1127 },
1128 "machinelearning": service{
1129
1130 Endpoints: endpoints{
1131 "eu-west-1": endpoint{},
1132 "us-east-1": endpoint{},
1133 },
1134 },
1135 "marketplacecommerceanalytics": service{
1136
1137 Endpoints: endpoints{
1138 "us-east-1": endpoint{},
1139 },
1140 },
1141 "metering.marketplace": service{
1142 Defaults: endpoint{
1143 CredentialScope: credentialScope{
1144 Service: "aws-marketplace",
1145 },
1146 },
1147 Endpoints: endpoints{
1148 "ap-northeast-1": endpoint{},
1149 "ap-northeast-2": endpoint{},
1150 "ap-south-1": endpoint{},
1151 "ap-southeast-1": endpoint{},
1152 "ap-southeast-2": endpoint{},
1153 "ca-central-1": endpoint{},
1154 "eu-central-1": endpoint{},
1155 "eu-west-1": endpoint{},
1156 "eu-west-2": endpoint{},
1157 "sa-east-1": endpoint{},
1158 "us-east-1": endpoint{},
1159 "us-east-2": endpoint{},
1160 "us-west-1": endpoint{},
1161 "us-west-2": endpoint{},
1162 },
1163 },
1164 "mobileanalytics": service{
1165
1166 Endpoints: endpoints{
1167 "us-east-1": endpoint{},
1168 },
1169 },
1170 "models.lex": service{
1171 Defaults: endpoint{
1172 CredentialScope: credentialScope{
1173 Service: "lex",
1174 },
1175 },
1176 Endpoints: endpoints{
1177 "us-east-1": endpoint{},
1178 },
1179 },
1180 "monitoring": service{
1181 Defaults: endpoint{
1182 Protocols: []string{"http", "https"},
1183 },
1184 Endpoints: endpoints{
1185 "ap-northeast-1": endpoint{},
1186 "ap-northeast-2": endpoint{},
1187 "ap-south-1": endpoint{},
1188 "ap-southeast-1": endpoint{},
1189 "ap-southeast-2": endpoint{},
1190 "ca-central-1": endpoint{},
1191 "eu-central-1": endpoint{},
1192 "eu-west-1": endpoint{},
1193 "eu-west-2": endpoint{},
1194 "sa-east-1": endpoint{},
1195 "us-east-1": endpoint{},
1196 "us-east-2": endpoint{},
1197 "us-west-1": endpoint{},
1198 "us-west-2": endpoint{},
1199 },
1200 },
1201 "mturk-requester": service{
1202 IsRegionalized: boxedFalse,
1203
1204 Endpoints: endpoints{
1205 "sandbox": endpoint{
1206 Hostname: "mturk-requester-sandbox.us-east-1.amazonaws.com",
1207 },
1208 "us-east-1": endpoint{},
1209 },
1210 },
1211 "opsworks": service{
1212
1213 Endpoints: endpoints{
1214 "ap-northeast-1": endpoint{},
1215 "ap-northeast-2": endpoint{},
1216 "ap-south-1": endpoint{},
1217 "ap-southeast-1": endpoint{},
1218 "ap-southeast-2": endpoint{},
1219 "eu-central-1": endpoint{},
1220 "eu-west-1": endpoint{},
1221 "eu-west-2": endpoint{},
1222 "sa-east-1": endpoint{},
1223 "us-east-1": endpoint{},
1224 "us-east-2": endpoint{},
1225 "us-west-1": endpoint{},
1226 "us-west-2": endpoint{},
1227 },
1228 },
1229 "opsworks-cm": service{
1230
1231 Endpoints: endpoints{
1232 "eu-west-1": endpoint{},
1233 "us-east-1": endpoint{},
1234 "us-west-2": endpoint{},
1235 },
1236 },
1237 "organizations": service{
1238 PartitionEndpoint: "aws-global",
1239 IsRegionalized: boxedFalse,
1240
1241 Endpoints: endpoints{
1242 "aws-global": endpoint{
1243 Hostname: "organizations.us-east-1.amazonaws.com",
1244 CredentialScope: credentialScope{
1245 Region: "us-east-1",
1246 },
1247 },
1248 },
1249 },
1250 "pinpoint": service{
1251 Defaults: endpoint{
1252 CredentialScope: credentialScope{
1253 Service: "mobiletargeting",
1254 },
1255 },
1256 Endpoints: endpoints{
1257 "us-east-1": endpoint{},
1258 },
1259 },
1260 "polly": service{
1261
1262 Endpoints: endpoints{
1263 "eu-west-1": endpoint{},
1264 "us-east-1": endpoint{},
1265 "us-east-2": endpoint{},
1266 "us-west-2": endpoint{},
1267 },
1268 },
1269 "rds": service{
1270
1271 Endpoints: endpoints{
1272 "ap-northeast-1": endpoint{},
1273 "ap-northeast-2": endpoint{},
1274 "ap-south-1": endpoint{},
1275 "ap-southeast-1": endpoint{},
1276 "ap-southeast-2": endpoint{},
1277 "ca-central-1": endpoint{},
1278 "eu-central-1": endpoint{},
1279 "eu-west-1": endpoint{},
1280 "eu-west-2": endpoint{},
1281 "sa-east-1": endpoint{},
1282 "us-east-1": endpoint{
1283 SSLCommonName: "{service}.{dnsSuffix}",
1284 },
1285 "us-east-2": endpoint{},
1286 "us-west-1": endpoint{},
1287 "us-west-2": endpoint{},
1288 },
1289 },
1290 "redshift": service{
1291
1292 Endpoints: endpoints{
1293 "ap-northeast-1": endpoint{},
1294 "ap-northeast-2": endpoint{},
1295 "ap-south-1": endpoint{},
1296 "ap-southeast-1": endpoint{},
1297 "ap-southeast-2": endpoint{},
1298 "ca-central-1": endpoint{},
1299 "eu-central-1": endpoint{},
1300 "eu-west-1": endpoint{},
1301 "eu-west-2": endpoint{},
1302 "sa-east-1": endpoint{},
1303 "us-east-1": endpoint{},
1304 "us-east-2": endpoint{},
1305 "us-west-1": endpoint{},
1306 "us-west-2": endpoint{},
1307 },
1308 },
1309 "rekognition": service{
1310
1311 Endpoints: endpoints{
1312 "eu-west-1": endpoint{},
1313 "us-east-1": endpoint{},
1314 "us-west-2": endpoint{},
1315 },
1316 },
1317 "route53": service{
1318 PartitionEndpoint: "aws-global",
1319 IsRegionalized: boxedFalse,
1320
1321 Endpoints: endpoints{
1322 "aws-global": endpoint{
1323 Hostname: "route53.amazonaws.com",
1324 CredentialScope: credentialScope{
1325 Region: "us-east-1",
1326 },
1327 },
1328 },
1329 },
1330 "route53domains": service{
1331
1332 Endpoints: endpoints{
1333 "us-east-1": endpoint{},
1334 },
1335 },
1336 "runtime.lex": service{
1337 Defaults: endpoint{
1338 CredentialScope: credentialScope{
1339 Service: "lex",
1340 },
1341 },
1342 Endpoints: endpoints{
1343 "us-east-1": endpoint{},
1344 },
1345 },
1346 "s3": service{
1347 PartitionEndpoint: "us-east-1",
1348 IsRegionalized: boxedTrue,
1349 Defaults: endpoint{
1350 Protocols: []string{"http", "https"},
1351 SignatureVersions: []string{"s3v4"},
1352
1353 HasDualStack: boxedTrue,
1354 DualStackHostname: "{service}.dualstack.{region}.{dnsSuffix}",
1355 },
1356 Endpoints: endpoints{
1357 "ap-northeast-1": endpoint{
1358 Hostname: "s3-ap-northeast-1.amazonaws.com",
1359 SignatureVersions: []string{"s3", "s3v4"},
1360 },
1361 "ap-northeast-2": endpoint{},
1362 "ap-south-1": endpoint{},
1363 "ap-southeast-1": endpoint{
1364 Hostname: "s3-ap-southeast-1.amazonaws.com",
1365 SignatureVersions: []string{"s3", "s3v4"},
1366 },
1367 "ap-southeast-2": endpoint{
1368 Hostname: "s3-ap-southeast-2.amazonaws.com",
1369 SignatureVersions: []string{"s3", "s3v4"},
1370 },
1371 "ca-central-1": endpoint{},
1372 "eu-central-1": endpoint{},
1373 "eu-west-1": endpoint{
1374 Hostname: "s3-eu-west-1.amazonaws.com",
1375 SignatureVersions: []string{"s3", "s3v4"},
1376 },
1377 "eu-west-2": endpoint{},
1378 "s3-external-1": endpoint{
1379 Hostname: "s3-external-1.amazonaws.com",
1380 SignatureVersions: []string{"s3", "s3v4"},
1381 CredentialScope: credentialScope{
1382 Region: "us-east-1",
1383 },
1384 },
1385 "sa-east-1": endpoint{
1386 Hostname: "s3-sa-east-1.amazonaws.com",
1387 SignatureVersions: []string{"s3", "s3v4"},
1388 },
1389 "us-east-1": endpoint{
1390 Hostname: "s3.amazonaws.com",
1391 SignatureVersions: []string{"s3", "s3v4"},
1392 },
1393 "us-east-2": endpoint{},
1394 "us-west-1": endpoint{
1395 Hostname: "s3-us-west-1.amazonaws.com",
1396 SignatureVersions: []string{"s3", "s3v4"},
1397 },
1398 "us-west-2": endpoint{
1399 Hostname: "s3-us-west-2.amazonaws.com",
1400 SignatureVersions: []string{"s3", "s3v4"},
1401 },
1402 },
1403 },
1404 "sdb": service{
1405 Defaults: endpoint{
1406 Protocols: []string{"http", "https"},
1407 SignatureVersions: []string{"v2"},
1408 },
1409 Endpoints: endpoints{
1410 "ap-northeast-1": endpoint{},
1411 "ap-southeast-1": endpoint{},
1412 "ap-southeast-2": endpoint{},
1413 "eu-west-1": endpoint{},
1414 "sa-east-1": endpoint{},
1415 "us-east-1": endpoint{
1416 Hostname: "sdb.amazonaws.com",
1417 },
1418 "us-west-1": endpoint{},
1419 "us-west-2": endpoint{},
1420 },
1421 },
1422 "servicecatalog": service{
1423
1424 Endpoints: endpoints{
1425 "ap-northeast-1": endpoint{},
1426 "ap-southeast-1": endpoint{},
1427 "ap-southeast-2": endpoint{},
1428 "ca-central-1": endpoint{},
1429 "eu-central-1": endpoint{},
1430 "eu-west-1": endpoint{},
1431 "eu-west-2": endpoint{},
1432 "us-east-1": endpoint{},
1433 "us-east-2": endpoint{},
1434 "us-west-2": endpoint{},
1435 },
1436 },
1437 "shield": service{
1438 IsRegionalized: boxedFalse,
1439 Defaults: endpoint{
1440 SSLCommonName: "Shield.us-east-1.amazonaws.com",
1441 Protocols: []string{"https"},
1442 },
1443 Endpoints: endpoints{
1444 "us-east-1": endpoint{},
1445 },
1446 },
1447 "sms": service{
1448
1449 Endpoints: endpoints{
1450 "ap-southeast-2": endpoint{},
1451 "eu-west-1": endpoint{},
1452 "us-east-1": endpoint{},
1453 },
1454 },
1455 "snowball": service{
1456
1457 Endpoints: endpoints{
1458 "ap-south-1": endpoint{},
1459 "ap-southeast-2": endpoint{},
1460 "eu-central-1": endpoint{},
1461 "eu-west-1": endpoint{},
1462 "eu-west-2": endpoint{},
1463 "us-east-1": endpoint{},
1464 "us-east-2": endpoint{},
1465 "us-west-1": endpoint{},
1466 "us-west-2": endpoint{},
1467 },
1468 },
1469 "sns": service{
1470 Defaults: endpoint{
1471 Protocols: []string{"http", "https"},
1472 },
1473 Endpoints: endpoints{
1474 "ap-northeast-1": endpoint{},
1475 "ap-northeast-2": endpoint{},
1476 "ap-south-1": endpoint{},
1477 "ap-southeast-1": endpoint{},
1478 "ap-southeast-2": endpoint{},
1479 "ca-central-1": endpoint{},
1480 "eu-central-1": endpoint{},
1481 "eu-west-1": endpoint{},
1482 "eu-west-2": endpoint{},
1483 "sa-east-1": endpoint{},
1484 "us-east-1": endpoint{},
1485 "us-east-2": endpoint{},
1486 "us-west-1": endpoint{},
1487 "us-west-2": endpoint{},
1488 },
1489 },
1490 "sqs": service{
1491 Defaults: endpoint{
1492 SSLCommonName: "{region}.queue.{dnsSuffix}",
1493 Protocols: []string{"http", "https"},
1494 },
1495 Endpoints: endpoints{
1496 "ap-northeast-1": endpoint{},
1497 "ap-northeast-2": endpoint{},
1498 "ap-south-1": endpoint{},
1499 "ap-southeast-1": endpoint{},
1500 "ap-southeast-2": endpoint{},
1501 "ca-central-1": endpoint{},
1502 "eu-central-1": endpoint{},
1503 "eu-west-1": endpoint{},
1504 "eu-west-2": endpoint{},
1505 "sa-east-1": endpoint{},
1506 "us-east-1": endpoint{
1507 SSLCommonName: "queue.{dnsSuffix}",
1508 },
1509 "us-east-2": endpoint{},
1510 "us-west-1": endpoint{},
1511 "us-west-2": endpoint{},
1512 },
1513 },
1514 "ssm": service{
1515
1516 Endpoints: endpoints{
1517 "ap-northeast-1": endpoint{},
1518 "ap-northeast-2": endpoint{},
9b12e4fe 1519 "ap-south-1": endpoint{},
bae9f6d2
JC
1520 "ap-southeast-1": endpoint{},
1521 "ap-southeast-2": endpoint{},
9b12e4fe 1522 "ca-central-1": endpoint{},
bae9f6d2
JC
1523 "eu-central-1": endpoint{},
1524 "eu-west-1": endpoint{},
9b12e4fe 1525 "eu-west-2": endpoint{},
bae9f6d2
JC
1526 "sa-east-1": endpoint{},
1527 "us-east-1": endpoint{},
1528 "us-east-2": endpoint{},
1529 "us-west-1": endpoint{},
1530 "us-west-2": endpoint{},
1531 },
1532 },
1533 "states": service{
1534
1535 Endpoints: endpoints{
1536 "ap-northeast-1": endpoint{},
1537 "eu-central-1": endpoint{},
1538 "eu-west-1": endpoint{},
1539 "us-east-1": endpoint{},
1540 "us-east-2": endpoint{},
1541 "us-west-2": endpoint{},
1542 },
1543 },
1544 "storagegateway": service{
1545
1546 Endpoints: endpoints{
1547 "ap-northeast-1": endpoint{},
1548 "ap-northeast-2": endpoint{},
1549 "ap-south-1": endpoint{},
1550 "ap-southeast-1": endpoint{},
1551 "ap-southeast-2": endpoint{},
1552 "ca-central-1": endpoint{},
1553 "eu-central-1": endpoint{},
1554 "eu-west-1": endpoint{},
1555 "eu-west-2": endpoint{},
1556 "sa-east-1": endpoint{},
1557 "us-east-1": endpoint{},
1558 "us-east-2": endpoint{},
1559 "us-west-1": endpoint{},
1560 "us-west-2": endpoint{},
1561 },
1562 },
1563 "streams.dynamodb": service{
1564 Defaults: endpoint{
9b12e4fe 1565 Protocols: []string{"http", "https"},
bae9f6d2
JC
1566 CredentialScope: credentialScope{
1567 Service: "dynamodb",
1568 },
1569 },
1570 Endpoints: endpoints{
1571 "ap-northeast-1": endpoint{},
1572 "ap-northeast-2": endpoint{},
1573 "ap-south-1": endpoint{},
1574 "ap-southeast-1": endpoint{},
1575 "ap-southeast-2": endpoint{},
1576 "ca-central-1": endpoint{},
1577 "eu-central-1": endpoint{},
1578 "eu-west-1": endpoint{},
1579 "eu-west-2": endpoint{},
1580 "local": endpoint{
1581 Hostname: "localhost:8000",
1582 Protocols: []string{"http"},
1583 CredentialScope: credentialScope{
1584 Region: "us-east-1",
1585 },
1586 },
1587 "sa-east-1": endpoint{},
1588 "us-east-1": endpoint{},
1589 "us-east-2": endpoint{},
1590 "us-west-1": endpoint{},
1591 "us-west-2": endpoint{},
1592 },
1593 },
1594 "sts": service{
1595 PartitionEndpoint: "aws-global",
1596 Defaults: endpoint{
1597 Hostname: "sts.amazonaws.com",
1598 CredentialScope: credentialScope{
1599 Region: "us-east-1",
1600 },
1601 },
1602 Endpoints: endpoints{
1603 "ap-northeast-1": endpoint{},
1604 "ap-northeast-2": endpoint{
1605 Hostname: "sts.ap-northeast-2.amazonaws.com",
1606 CredentialScope: credentialScope{
1607 Region: "ap-northeast-2",
1608 },
1609 },
1610 "ap-south-1": endpoint{},
1611 "ap-southeast-1": endpoint{},
1612 "ap-southeast-2": endpoint{},
1613 "aws-global": endpoint{},
1614 "ca-central-1": endpoint{},
1615 "eu-central-1": endpoint{},
1616 "eu-west-1": endpoint{},
1617 "eu-west-2": endpoint{},
1618 "sa-east-1": endpoint{},
1619 "us-east-1": endpoint{},
9b12e4fe
JC
1620 "us-east-1-fips": endpoint{
1621 Hostname: "sts-fips.us-east-1.amazonaws.com",
1622 CredentialScope: credentialScope{
1623 Region: "us-east-1",
1624 },
1625 },
1626 "us-east-2": endpoint{},
1627 "us-east-2-fips": endpoint{
1628 Hostname: "sts-fips.us-east-2.amazonaws.com",
1629 CredentialScope: credentialScope{
1630 Region: "us-east-2",
1631 },
1632 },
1633 "us-west-1": endpoint{},
1634 "us-west-1-fips": endpoint{
1635 Hostname: "sts-fips.us-west-1.amazonaws.com",
1636 CredentialScope: credentialScope{
1637 Region: "us-west-1",
1638 },
1639 },
1640 "us-west-2": endpoint{},
1641 "us-west-2-fips": endpoint{
1642 Hostname: "sts-fips.us-west-2.amazonaws.com",
1643 CredentialScope: credentialScope{
1644 Region: "us-west-2",
1645 },
1646 },
bae9f6d2
JC
1647 },
1648 },
1649 "support": service{
1650
1651 Endpoints: endpoints{
1652 "us-east-1": endpoint{},
1653 },
1654 },
1655 "swf": service{
1656
1657 Endpoints: endpoints{
1658 "ap-northeast-1": endpoint{},
1659 "ap-northeast-2": endpoint{},
1660 "ap-south-1": endpoint{},
1661 "ap-southeast-1": endpoint{},
1662 "ap-southeast-2": endpoint{},
1663 "ca-central-1": endpoint{},
1664 "eu-central-1": endpoint{},
1665 "eu-west-1": endpoint{},
1666 "eu-west-2": endpoint{},
1667 "sa-east-1": endpoint{},
1668 "us-east-1": endpoint{},
1669 "us-east-2": endpoint{},
1670 "us-west-1": endpoint{},
1671 "us-west-2": endpoint{},
1672 },
1673 },
1674 "tagging": service{
1675
1676 Endpoints: endpoints{
1677 "ap-northeast-1": endpoint{},
1678 "ap-northeast-2": endpoint{},
1679 "ap-south-1": endpoint{},
1680 "ap-southeast-1": endpoint{},
1681 "ap-southeast-2": endpoint{},
1682 "ca-central-1": endpoint{},
1683 "eu-central-1": endpoint{},
1684 "eu-west-1": endpoint{},
1685 "eu-west-2": endpoint{},
1686 "sa-east-1": endpoint{},
1687 "us-east-1": endpoint{},
1688 "us-east-2": endpoint{},
1689 "us-west-1": endpoint{},
1690 "us-west-2": endpoint{},
1691 },
1692 },
1693 "waf": service{
1694 PartitionEndpoint: "aws-global",
1695 IsRegionalized: boxedFalse,
1696
1697 Endpoints: endpoints{
1698 "aws-global": endpoint{
1699 Hostname: "waf.amazonaws.com",
1700 CredentialScope: credentialScope{
1701 Region: "us-east-1",
1702 },
1703 },
1704 },
1705 },
1706 "waf-regional": service{
1707
1708 Endpoints: endpoints{
1709 "ap-northeast-1": endpoint{},
1710 "eu-west-1": endpoint{},
1711 "us-east-1": endpoint{},
1712 "us-west-2": endpoint{},
1713 },
1714 },
1715 "workdocs": service{
1716
1717 Endpoints: endpoints{
1718 "ap-northeast-1": endpoint{},
1719 "ap-southeast-1": endpoint{},
1720 "ap-southeast-2": endpoint{},
1721 "eu-west-1": endpoint{},
1722 "us-east-1": endpoint{},
1723 "us-west-2": endpoint{},
1724 },
1725 },
1726 "workspaces": service{
1727
1728 Endpoints: endpoints{
1729 "ap-northeast-1": endpoint{},
1730 "ap-southeast-1": endpoint{},
1731 "ap-southeast-2": endpoint{},
1732 "eu-central-1": endpoint{},
1733 "eu-west-1": endpoint{},
1734 "us-east-1": endpoint{},
1735 "us-west-2": endpoint{},
1736 },
1737 },
1738 "xray": service{
1739
1740 Endpoints: endpoints{
1741 "ap-northeast-1": endpoint{},
1742 "ap-northeast-2": endpoint{},
1743 "ap-south-1": endpoint{},
1744 "ap-southeast-1": endpoint{},
1745 "ap-southeast-2": endpoint{},
9b12e4fe 1746 "ca-central-1": endpoint{},
bae9f6d2
JC
1747 "eu-central-1": endpoint{},
1748 "eu-west-1": endpoint{},
9b12e4fe 1749 "eu-west-2": endpoint{},
bae9f6d2
JC
1750 "sa-east-1": endpoint{},
1751 "us-east-1": endpoint{},
1752 "us-east-2": endpoint{},
1753 "us-west-1": endpoint{},
1754 "us-west-2": endpoint{},
1755 },
1756 },
1757 },
1758}
1759
1760// AwsCnPartition returns the Resolver for AWS China.
1761func AwsCnPartition() Partition {
1762 return awscnPartition.Partition()
1763}
1764
1765var awscnPartition = partition{
1766 ID: "aws-cn",
1767 Name: "AWS China",
1768 DNSSuffix: "amazonaws.com.cn",
1769 RegionRegex: regionRegex{
1770 Regexp: func() *regexp.Regexp {
1771 reg, _ := regexp.Compile("^cn\\-\\w+\\-\\d+$")
1772 return reg
1773 }(),
1774 },
1775 Defaults: endpoint{
1776 Hostname: "{service}.{region}.{dnsSuffix}",
1777 Protocols: []string{"https"},
1778 SignatureVersions: []string{"v4"},
1779 },
1780 Regions: regions{
1781 "cn-north-1": region{
1782 Description: "China (Beijing)",
1783 },
1784 },
1785 Services: services{
1786 "autoscaling": service{
1787 Defaults: endpoint{
1788 Protocols: []string{"http", "https"},
1789 },
1790 Endpoints: endpoints{
1791 "cn-north-1": endpoint{},
1792 },
1793 },
1794 "cloudformation": service{
1795
1796 Endpoints: endpoints{
1797 "cn-north-1": endpoint{},
1798 },
1799 },
1800 "cloudtrail": service{
1801
1802 Endpoints: endpoints{
1803 "cn-north-1": endpoint{},
1804 },
1805 },
1806 "codedeploy": service{
1807
1808 Endpoints: endpoints{
1809 "cn-north-1": endpoint{},
1810 },
1811 },
1812 "config": service{
1813
1814 Endpoints: endpoints{
1815 "cn-north-1": endpoint{},
1816 },
1817 },
1818 "directconnect": service{
1819
1820 Endpoints: endpoints{
1821 "cn-north-1": endpoint{},
1822 },
1823 },
1824 "dynamodb": service{
1825 Defaults: endpoint{
1826 Protocols: []string{"http", "https"},
1827 },
1828 Endpoints: endpoints{
1829 "cn-north-1": endpoint{},
1830 },
1831 },
1832 "ec2": service{
1833 Defaults: endpoint{
1834 Protocols: []string{"http", "https"},
1835 },
1836 Endpoints: endpoints{
1837 "cn-north-1": endpoint{},
1838 },
1839 },
1840 "ec2metadata": service{
1841 PartitionEndpoint: "aws-global",
1842 IsRegionalized: boxedFalse,
1843
1844 Endpoints: endpoints{
1845 "aws-global": endpoint{
1846 Hostname: "169.254.169.254/latest",
1847 Protocols: []string{"http"},
1848 },
1849 },
1850 },
1851 "elasticache": service{
1852
1853 Endpoints: endpoints{
1854 "cn-north-1": endpoint{},
1855 },
1856 },
1857 "elasticbeanstalk": service{
1858
1859 Endpoints: endpoints{
1860 "cn-north-1": endpoint{},
1861 },
1862 },
1863 "elasticloadbalancing": service{
1864 Defaults: endpoint{
1865 Protocols: []string{"http", "https"},
1866 },
1867 Endpoints: endpoints{
1868 "cn-north-1": endpoint{},
1869 },
1870 },
1871 "elasticmapreduce": service{
1872 Defaults: endpoint{
1873 Protocols: []string{"http", "https"},
1874 },
1875 Endpoints: endpoints{
1876 "cn-north-1": endpoint{},
1877 },
1878 },
1879 "events": service{
1880
1881 Endpoints: endpoints{
1882 "cn-north-1": endpoint{},
1883 },
1884 },
1885 "glacier": service{
1886 Defaults: endpoint{
1887 Protocols: []string{"http", "https"},
1888 },
1889 Endpoints: endpoints{
1890 "cn-north-1": endpoint{},
1891 },
1892 },
1893 "iam": service{
1894 PartitionEndpoint: "aws-cn-global",
1895 IsRegionalized: boxedFalse,
1896
1897 Endpoints: endpoints{
1898 "aws-cn-global": endpoint{
1899 Hostname: "iam.cn-north-1.amazonaws.com.cn",
1900 CredentialScope: credentialScope{
1901 Region: "cn-north-1",
1902 },
1903 },
1904 },
1905 },
1906 "kinesis": service{
1907
1908 Endpoints: endpoints{
1909 "cn-north-1": endpoint{},
1910 },
1911 },
1912 "logs": service{
1913
1914 Endpoints: endpoints{
1915 "cn-north-1": endpoint{},
1916 },
1917 },
1918 "monitoring": service{
1919 Defaults: endpoint{
1920 Protocols: []string{"http", "https"},
1921 },
1922 Endpoints: endpoints{
1923 "cn-north-1": endpoint{},
1924 },
1925 },
1926 "rds": service{
1927
1928 Endpoints: endpoints{
1929 "cn-north-1": endpoint{},
1930 },
1931 },
1932 "redshift": service{
1933
1934 Endpoints: endpoints{
1935 "cn-north-1": endpoint{},
1936 },
1937 },
1938 "s3": service{
1939 Defaults: endpoint{
1940 Protocols: []string{"http", "https"},
1941 SignatureVersions: []string{"s3v4"},
1942 },
1943 Endpoints: endpoints{
1944 "cn-north-1": endpoint{},
1945 },
1946 },
1947 "sns": service{
1948 Defaults: endpoint{
1949 Protocols: []string{"http", "https"},
1950 },
1951 Endpoints: endpoints{
1952 "cn-north-1": endpoint{},
1953 },
1954 },
1955 "sqs": service{
1956 Defaults: endpoint{
1957 SSLCommonName: "{region}.queue.{dnsSuffix}",
1958 Protocols: []string{"http", "https"},
1959 },
1960 Endpoints: endpoints{
1961 "cn-north-1": endpoint{},
1962 },
1963 },
1964 "storagegateway": service{
1965
1966 Endpoints: endpoints{
1967 "cn-north-1": endpoint{},
1968 },
1969 },
1970 "streams.dynamodb": service{
1971 Defaults: endpoint{
9b12e4fe 1972 Protocols: []string{"http", "https"},
bae9f6d2
JC
1973 CredentialScope: credentialScope{
1974 Service: "dynamodb",
1975 },
1976 },
1977 Endpoints: endpoints{
1978 "cn-north-1": endpoint{},
1979 },
1980 },
1981 "sts": service{
1982
1983 Endpoints: endpoints{
1984 "cn-north-1": endpoint{},
1985 },
1986 },
1987 "swf": service{
1988
1989 Endpoints: endpoints{
1990 "cn-north-1": endpoint{},
1991 },
1992 },
1993 "tagging": service{
1994
1995 Endpoints: endpoints{
1996 "cn-north-1": endpoint{},
1997 },
1998 },
1999 },
2000}
2001
2002// AwsUsGovPartition returns the Resolver for AWS GovCloud (US).
2003func AwsUsGovPartition() Partition {
2004 return awsusgovPartition.Partition()
2005}
2006
2007var awsusgovPartition = partition{
2008 ID: "aws-us-gov",
2009 Name: "AWS GovCloud (US)",
2010 DNSSuffix: "amazonaws.com",
2011 RegionRegex: regionRegex{
2012 Regexp: func() *regexp.Regexp {
2013 reg, _ := regexp.Compile("^us\\-gov\\-\\w+\\-\\d+$")
2014 return reg
2015 }(),
2016 },
2017 Defaults: endpoint{
2018 Hostname: "{service}.{region}.{dnsSuffix}",
2019 Protocols: []string{"https"},
2020 SignatureVersions: []string{"v4"},
2021 },
2022 Regions: regions{
2023 "us-gov-west-1": region{
2024 Description: "AWS GovCloud (US)",
2025 },
2026 },
2027 Services: services{
2028 "autoscaling": service{
2029
2030 Endpoints: endpoints{
2031 "us-gov-west-1": endpoint{
2032 Protocols: []string{"http", "https"},
2033 },
2034 },
2035 },
2036 "cloudformation": service{
2037
2038 Endpoints: endpoints{
2039 "us-gov-west-1": endpoint{},
2040 },
2041 },
2042 "cloudhsm": service{
2043
2044 Endpoints: endpoints{
2045 "us-gov-west-1": endpoint{},
2046 },
2047 },
2048 "cloudtrail": service{
2049
2050 Endpoints: endpoints{
2051 "us-gov-west-1": endpoint{},
2052 },
2053 },
9b12e4fe
JC
2054 "codedeploy": service{
2055
2056 Endpoints: endpoints{
2057 "us-gov-west-1": endpoint{},
2058 },
2059 },
bae9f6d2
JC
2060 "config": service{
2061
2062 Endpoints: endpoints{
2063 "us-gov-west-1": endpoint{},
2064 },
2065 },
2066 "directconnect": service{
2067
2068 Endpoints: endpoints{
2069 "us-gov-west-1": endpoint{},
2070 },
2071 },
2072 "dynamodb": service{
2073
2074 Endpoints: endpoints{
2075 "us-gov-west-1": endpoint{},
2076 },
2077 },
2078 "ec2": service{
2079
2080 Endpoints: endpoints{
2081 "us-gov-west-1": endpoint{},
2082 },
2083 },
2084 "ec2metadata": service{
2085 PartitionEndpoint: "aws-global",
2086 IsRegionalized: boxedFalse,
2087
2088 Endpoints: endpoints{
2089 "aws-global": endpoint{
2090 Hostname: "169.254.169.254/latest",
2091 Protocols: []string{"http"},
2092 },
2093 },
2094 },
2095 "elasticache": service{
2096
2097 Endpoints: endpoints{
2098 "us-gov-west-1": endpoint{},
2099 },
2100 },
2101 "elasticloadbalancing": service{
2102
2103 Endpoints: endpoints{
2104 "us-gov-west-1": endpoint{
2105 Protocols: []string{"http", "https"},
2106 },
2107 },
2108 },
2109 "elasticmapreduce": service{
2110
2111 Endpoints: endpoints{
2112 "us-gov-west-1": endpoint{
2113 Protocols: []string{"http", "https"},
2114 },
2115 },
2116 },
9b12e4fe
JC
2117 "events": service{
2118
2119 Endpoints: endpoints{
2120 "us-gov-west-1": endpoint{},
2121 },
2122 },
bae9f6d2
JC
2123 "glacier": service{
2124
2125 Endpoints: endpoints{
2126 "us-gov-west-1": endpoint{
2127 Protocols: []string{"http", "https"},
2128 },
2129 },
2130 },
2131 "iam": service{
2132 PartitionEndpoint: "aws-us-gov-global",
2133 IsRegionalized: boxedFalse,
2134
2135 Endpoints: endpoints{
2136 "aws-us-gov-global": endpoint{
2137 Hostname: "iam.us-gov.amazonaws.com",
2138 CredentialScope: credentialScope{
2139 Region: "us-gov-west-1",
2140 },
2141 },
2142 },
2143 },
2144 "kinesis": service{
2145
2146 Endpoints: endpoints{
2147 "us-gov-west-1": endpoint{},
2148 },
2149 },
2150 "kms": service{
2151
2152 Endpoints: endpoints{
2153 "us-gov-west-1": endpoint{},
2154 },
2155 },
9b12e4fe
JC
2156 "lambda": service{
2157
2158 Endpoints: endpoints{
2159 "us-gov-west-1": endpoint{},
2160 },
2161 },
bae9f6d2
JC
2162 "logs": service{
2163
2164 Endpoints: endpoints{
2165 "us-gov-west-1": endpoint{},
2166 },
2167 },
2168 "monitoring": service{
2169
2170 Endpoints: endpoints{
2171 "us-gov-west-1": endpoint{},
2172 },
2173 },
2174 "rds": service{
2175
2176 Endpoints: endpoints{
2177 "us-gov-west-1": endpoint{},
2178 },
2179 },
2180 "redshift": service{
2181
2182 Endpoints: endpoints{
2183 "us-gov-west-1": endpoint{},
2184 },
2185 },
2186 "s3": service{
2187 Defaults: endpoint{
2188 SignatureVersions: []string{"s3", "s3v4"},
2189 },
2190 Endpoints: endpoints{
2191 "fips-us-gov-west-1": endpoint{
2192 Hostname: "s3-fips-us-gov-west-1.amazonaws.com",
2193 CredentialScope: credentialScope{
2194 Region: "us-gov-west-1",
2195 },
2196 },
2197 "us-gov-west-1": endpoint{
2198 Hostname: "s3-us-gov-west-1.amazonaws.com",
2199 Protocols: []string{"http", "https"},
2200 },
2201 },
2202 },
2203 "snowball": service{
2204
2205 Endpoints: endpoints{
2206 "us-gov-west-1": endpoint{},
2207 },
2208 },
2209 "sns": service{
2210
2211 Endpoints: endpoints{
2212 "us-gov-west-1": endpoint{
2213 Protocols: []string{"http", "https"},
2214 },
2215 },
2216 },
2217 "sqs": service{
2218
2219 Endpoints: endpoints{
2220 "us-gov-west-1": endpoint{
2221 SSLCommonName: "{region}.queue.{dnsSuffix}",
2222 Protocols: []string{"http", "https"},
2223 },
2224 },
2225 },
2226 "streams.dynamodb": service{
2227 Defaults: endpoint{
2228 CredentialScope: credentialScope{
2229 Service: "dynamodb",
2230 },
2231 },
2232 Endpoints: endpoints{
2233 "us-gov-west-1": endpoint{},
2234 },
2235 },
2236 "sts": service{
2237
2238 Endpoints: endpoints{
2239 "us-gov-west-1": endpoint{},
2240 },
2241 },
2242 "swf": service{
2243
2244 Endpoints: endpoints{
2245 "us-gov-west-1": endpoint{},
2246 },
2247 },
2248 },
2249}