aws-partitions 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,62 @@
1
+ module Aws
2
+ module Partitions
3
+ class PartitionList
4
+
5
+ include Enumerable
6
+
7
+ def initialize
8
+ @partitions = {}
9
+ end
10
+
11
+ # @return [Enumerator<Partition>]
12
+ def each(&block)
13
+ @partitions.each_value(&block)
14
+ end
15
+
16
+ # @param [String] partition_name
17
+ # @return [Partition]
18
+ def partition(partition_name)
19
+ if @partitions.key?(partition_name)
20
+ @partitions[partition_name]
21
+ else
22
+ msg = "invalid partition name #{partition_name.inspect}; valid "
23
+ msg << "partition names include %s" % [@partitions.keys.join(', ')]
24
+ raise ArgumentError, msg
25
+ end
26
+ end
27
+
28
+ # @return [Array<Partition>]
29
+ def partitions
30
+ @partitions.values
31
+ end
32
+
33
+ # @param [Partition] partition
34
+ # @api private
35
+ def add_partition(partition)
36
+ if Partition === partition
37
+ @partitions[partition.name] = partition
38
+ else
39
+ raise ArgumentError, "expected Partition, got #{partition.class}"
40
+ end
41
+ end
42
+
43
+ # Removed all partitions.
44
+ # @api private
45
+ def clear
46
+ @partitions = {}
47
+ end
48
+
49
+ class << self
50
+
51
+ # @api private
52
+ def build(partitions)
53
+ partitions['partitions'].inject(PartitionList.new) do |list, partition|
54
+ list.add_partition(Partition.build(partition))
55
+ list
56
+ end
57
+ end
58
+
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,66 @@
1
+ require 'set'
2
+
3
+ module Aws
4
+ module Partitions
5
+ class Region
6
+
7
+ # @option options [required, String] :name
8
+ # @option options [required, String] :description
9
+ # @option options [required, String] :partition_name
10
+ # @option options [required, Set<String>] :services
11
+ # @api private
12
+ def initialize(options = {})
13
+ @name = options[:name]
14
+ @description = options[:description]
15
+ @partition_name = options[:partition_name]
16
+ @services = options[:services]
17
+ end
18
+
19
+ # @return [String] The name of this region, e.g. "us-east-1".
20
+ attr_reader :name
21
+
22
+ # @return [String] A short description of this region.
23
+ attr_reader :description
24
+
25
+ # @return [String] The partition this region exists in, e.g. "aws",
26
+ # "aws-cn", "aws-us-gov".
27
+ attr_reader :partition_name
28
+
29
+ # @return [Set<String>] The list of services available in this region.
30
+ # Service names are the module names as used by the AWS SDK
31
+ # for Ruby.
32
+ attr_reader :services
33
+
34
+ class << self
35
+
36
+ # @api private
37
+ def build(region_name, region, partition)
38
+ Region.new(
39
+ name: region_name,
40
+ description: region['description'],
41
+ partition_name: partition['partition'],
42
+ services: region_services(region_name, partition)
43
+ )
44
+ end
45
+
46
+ private
47
+
48
+ def region_services(region_name, partition)
49
+ Partitions.service_ids.inject(Set.new) do |services, (svc_name, svc_id)|
50
+ if svc = partition['services'][svc_id]
51
+ services << svc_name if service_in_region?(svc, region_name)
52
+ else
53
+ #raise "missing endpoints for #{svc_name} / #{svc_id}"
54
+ end
55
+ services
56
+ end
57
+ end
58
+
59
+ def service_in_region?(svc, region_name)
60
+ svc['endpoints'].key?(region_name)
61
+ end
62
+
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,74 @@
1
+ require 'set'
2
+
3
+ module Aws
4
+ module Partitions
5
+ class Service
6
+
7
+ # @option options [required, String] :name
8
+ # @option options [required, String] :partition_name
9
+ # @option options [required, Set<String>] :region_name
10
+ # @option options [required, Boolean] :regionalized
11
+ # @option options [String] :partition_region
12
+ # @api private
13
+ def initialize(options = {})
14
+ @name = options[:name]
15
+ @partition_name = options[:partition_name]
16
+ @regions = options[:regions]
17
+ @regionalized = options[:regionalized]
18
+ @partition_region = options[:partition_region]
19
+ end
20
+
21
+ # @return [String] The name of this service. The name is the module
22
+ # name as used by the AWS SDK for Ruby.
23
+ attr_reader :name
24
+
25
+ # @return [String] The partition name, e.g "aws", "aws-cn", "aws-us-gov".
26
+ attr_reader :partition_name
27
+
28
+ # @return [Set<String>] The regions this service is available in.
29
+ # Regions are scoped to the partition.
30
+ attr_reader :regions
31
+
32
+ # @return [String,nil] The global patition endpoint for this service.
33
+ # May be `nil`.
34
+ attr_reader :partition_region
35
+
36
+ # Returns `false` if the service operates with a single global
37
+ # endpoint for the current partition, returns `true` if the service
38
+ # is available in mutliple regions.
39
+ #
40
+ # Some services have both a partition endpoint and regional endpoints.
41
+ #
42
+ # @return [Boolean]
43
+ def regionalized?
44
+ @regionalized
45
+ end
46
+
47
+ class << self
48
+
49
+ # @api private
50
+ def build(service_name, service, partition)
51
+ Service.new(
52
+ name: service_name,
53
+ partition_name: partition['partition'],
54
+ regions: regions(service, partition),
55
+ regionalized: service['isRegionalized'] != false,
56
+ partition_region: partition_region(service)
57
+ )
58
+ end
59
+
60
+ private
61
+
62
+ def regions(service, partition)
63
+ names = Set.new(partition['regions'].keys & service['endpoints'].keys)
64
+ names - ["#{partition['partition']}-global"]
65
+ end
66
+
67
+ def partition_region(service)
68
+ service['partitionEndpoint']
69
+ end
70
+
71
+ end
72
+ end
73
+ end
74
+ end
data/partitions.json ADDED
@@ -0,0 +1,1628 @@
1
+ {
2
+ "partitions": [
3
+ {
4
+ "defaults": {
5
+ "hostname": "{service}.{region}.{dnsSuffix}",
6
+ "protocols": [
7
+ "https"
8
+ ],
9
+ "signatureVersions": [
10
+ "v4"
11
+ ]
12
+ },
13
+ "dnsSuffix": "amazonaws.com",
14
+ "partition": "aws",
15
+ "partitionName": "AWS Standard",
16
+ "regionRegex": "^(us|eu|ap|sa|ca)\\-\\w+\\-\\d+$",
17
+ "regions": {
18
+ "ap-northeast-1": {
19
+ "description": "Asia Pacific (Tokyo)"
20
+ },
21
+ "ap-northeast-2": {
22
+ "description": "Asia Pacific (Seoul)"
23
+ },
24
+ "ap-south-1": {
25
+ "description": "Asia Pacific (Mumbai)"
26
+ },
27
+ "ap-southeast-1": {
28
+ "description": "Asia Pacific (Singapore)"
29
+ },
30
+ "ap-southeast-2": {
31
+ "description": "Asia Pacific (Sydney)"
32
+ },
33
+ "eu-central-1": {
34
+ "description": "EU (Frankfurt)"
35
+ },
36
+ "eu-west-1": {
37
+ "description": "EU (Ireland)"
38
+ },
39
+ "sa-east-1": {
40
+ "description": "South America (Sao Paulo)"
41
+ },
42
+ "us-east-1": {
43
+ "description": "US East (N. Virginia)"
44
+ },
45
+ "us-east-2": {
46
+ "description": "US East (Ohio)"
47
+ },
48
+ "us-west-1": {
49
+ "description": "US West (N. California)"
50
+ },
51
+ "us-west-2": {
52
+ "description": "US West (Oregon)"
53
+ }
54
+ },
55
+ "services": {
56
+ "acm": {
57
+ "endpoints": {
58
+ "ap-northeast-1": {},
59
+ "ap-northeast-2": {},
60
+ "ap-south-1": {},
61
+ "ap-southeast-1": {},
62
+ "ap-southeast-2": {},
63
+ "eu-central-1": {},
64
+ "eu-west-1": {},
65
+ "sa-east-1": {},
66
+ "us-east-1": {},
67
+ "us-east-2": {},
68
+ "us-west-1": {},
69
+ "us-west-2": {}
70
+ }
71
+ },
72
+ "apigateway": {
73
+ "endpoints": {
74
+ "ap-northeast-1": {},
75
+ "ap-northeast-2": {},
76
+ "ap-southeast-1": {},
77
+ "ap-southeast-2": {},
78
+ "eu-central-1": {},
79
+ "eu-west-1": {},
80
+ "us-east-1": {},
81
+ "us-east-2": {},
82
+ "us-west-2": {}
83
+ }
84
+ },
85
+ "application-autoscaling": {
86
+ "defaults": {
87
+ "credentialScope": {
88
+ "service": "application-autoscaling"
89
+ },
90
+ "hostname": "autoscaling.{region}.amazonaws.com",
91
+ "protocols": [
92
+ "http",
93
+ "https"
94
+ ]
95
+ },
96
+ "endpoints": {
97
+ "ap-northeast-1": {},
98
+ "ap-southeast-1": {},
99
+ "ap-southeast-2": {},
100
+ "eu-central-1": {},
101
+ "eu-west-1": {},
102
+ "sa-east-1": {},
103
+ "us-east-1": {},
104
+ "us-east-2": {},
105
+ "us-west-1": {},
106
+ "us-west-2": {}
107
+ }
108
+ },
109
+ "appstream": {
110
+ "endpoints": {
111
+ "ap-northeast-1": {},
112
+ "us-east-1": {}
113
+ }
114
+ },
115
+ "autoscaling": {
116
+ "defaults": {
117
+ "protocols": [
118
+ "http",
119
+ "https"
120
+ ]
121
+ },
122
+ "endpoints": {
123
+ "ap-northeast-1": {},
124
+ "ap-northeast-2": {},
125
+ "ap-south-1": {},
126
+ "ap-southeast-1": {},
127
+ "ap-southeast-2": {},
128
+ "eu-central-1": {},
129
+ "eu-west-1": {},
130
+ "sa-east-1": {},
131
+ "us-east-1": {},
132
+ "us-east-2": {},
133
+ "us-west-1": {},
134
+ "us-west-2": {}
135
+ }
136
+ },
137
+ "budgets": {
138
+ "endpoints": {
139
+ "aws-global": {
140
+ "credentialScope": {
141
+ "region": "us-east-1"
142
+ },
143
+ "hostname": "budgets.amazonaws.com"
144
+ }
145
+ },
146
+ "isRegionalized": false,
147
+ "partitionEndpoint": "aws-global"
148
+ },
149
+ "cloudformation": {
150
+ "endpoints": {
151
+ "ap-northeast-1": {},
152
+ "ap-northeast-2": {},
153
+ "ap-south-1": {},
154
+ "ap-southeast-1": {},
155
+ "ap-southeast-2": {},
156
+ "eu-central-1": {},
157
+ "eu-west-1": {},
158
+ "sa-east-1": {},
159
+ "us-east-1": {},
160
+ "us-east-2": {},
161
+ "us-west-1": {},
162
+ "us-west-2": {}
163
+ }
164
+ },
165
+ "cloudfront": {
166
+ "endpoints": {
167
+ "aws-global": {
168
+ "credentialScope": {
169
+ "region": "us-east-1"
170
+ },
171
+ "hostname": "cloudfront.amazonaws.com",
172
+ "protocols": [
173
+ "http",
174
+ "https"
175
+ ]
176
+ }
177
+ },
178
+ "isRegionalized": false,
179
+ "partitionEndpoint": "aws-global"
180
+ },
181
+ "cloudhsm": {
182
+ "endpoints": {
183
+ "ap-northeast-1": {},
184
+ "ap-southeast-1": {},
185
+ "ap-southeast-2": {},
186
+ "eu-central-1": {},
187
+ "eu-west-1": {},
188
+ "us-east-1": {},
189
+ "us-east-2": {},
190
+ "us-west-1": {},
191
+ "us-west-2": {}
192
+ }
193
+ },
194
+ "cloudsearch": {
195
+ "endpoints": {
196
+ "ap-northeast-1": {},
197
+ "ap-northeast-2": {},
198
+ "ap-southeast-1": {},
199
+ "ap-southeast-2": {},
200
+ "eu-central-1": {},
201
+ "eu-west-1": {},
202
+ "sa-east-1": {},
203
+ "us-east-1": {},
204
+ "us-west-1": {},
205
+ "us-west-2": {}
206
+ }
207
+ },
208
+ "cloudtrail": {
209
+ "endpoints": {
210
+ "ap-northeast-1": {},
211
+ "ap-northeast-2": {},
212
+ "ap-south-1": {},
213
+ "ap-southeast-1": {},
214
+ "ap-southeast-2": {},
215
+ "eu-central-1": {},
216
+ "eu-west-1": {},
217
+ "sa-east-1": {},
218
+ "us-east-1": {},
219
+ "us-east-2": {},
220
+ "us-west-1": {},
221
+ "us-west-2": {}
222
+ }
223
+ },
224
+ "codecommit": {
225
+ "endpoints": {
226
+ "eu-west-1": {},
227
+ "us-east-1": {},
228
+ "us-east-2": {},
229
+ "us-west-2": {}
230
+ }
231
+ },
232
+ "codedeploy": {
233
+ "endpoints": {
234
+ "ap-northeast-1": {},
235
+ "ap-northeast-2": {},
236
+ "ap-south-1": {},
237
+ "ap-southeast-1": {},
238
+ "ap-southeast-2": {},
239
+ "eu-central-1": {},
240
+ "eu-west-1": {},
241
+ "sa-east-1": {},
242
+ "us-east-1": {},
243
+ "us-east-2": {},
244
+ "us-west-1": {},
245
+ "us-west-2": {}
246
+ }
247
+ },
248
+ "codepipeline": {
249
+ "endpoints": {
250
+ "ap-southeast-1": {},
251
+ "ap-southeast-2": {},
252
+ "eu-west-1": {},
253
+ "us-east-1": {},
254
+ "us-east-2": {},
255
+ "us-west-2": {}
256
+ }
257
+ },
258
+ "cognito-identity": {
259
+ "endpoints": {
260
+ "ap-northeast-1": {},
261
+ "ap-northeast-2": {},
262
+ "eu-central-1": {},
263
+ "eu-west-1": {},
264
+ "us-east-1": {},
265
+ "us-west-2": {}
266
+ }
267
+ },
268
+ "cognito-idp": {
269
+ "endpoints": {
270
+ "ap-northeast-1": {},
271
+ "ap-northeast-2": {},
272
+ "eu-central-1": {},
273
+ "eu-west-1": {},
274
+ "us-east-1": {},
275
+ "us-west-2": {}
276
+ }
277
+ },
278
+ "cognito-sync": {
279
+ "endpoints": {
280
+ "ap-northeast-1": {},
281
+ "ap-northeast-2": {},
282
+ "eu-central-1": {},
283
+ "eu-west-1": {},
284
+ "us-east-1": {},
285
+ "us-west-2": {}
286
+ }
287
+ },
288
+ "config": {
289
+ "endpoints": {
290
+ "ap-northeast-1": {},
291
+ "ap-northeast-2": {},
292
+ "ap-south-1": {},
293
+ "ap-southeast-1": {},
294
+ "ap-southeast-2": {},
295
+ "eu-central-1": {},
296
+ "eu-west-1": {},
297
+ "sa-east-1": {},
298
+ "us-east-1": {},
299
+ "us-east-2": {},
300
+ "us-west-1": {},
301
+ "us-west-2": {}
302
+ }
303
+ },
304
+ "data.iot": {
305
+ "defaults": {
306
+ "credentialScope": {
307
+ "service": "iotdata"
308
+ },
309
+ "protocols": [
310
+ "https"
311
+ ]
312
+ },
313
+ "endpoints": {
314
+ "ap-northeast-1": {},
315
+ "ap-northeast-2": {},
316
+ "ap-southeast-1": {},
317
+ "ap-southeast-2": {},
318
+ "eu-central-1": {},
319
+ "eu-west-1": {},
320
+ "us-east-1": {},
321
+ "us-west-2": {}
322
+ }
323
+ },
324
+ "datapipeline": {
325
+ "endpoints": {
326
+ "ap-northeast-1": {},
327
+ "ap-southeast-2": {},
328
+ "eu-west-1": {},
329
+ "us-east-1": {},
330
+ "us-west-2": {}
331
+ }
332
+ },
333
+ "devicefarm": {
334
+ "endpoints": {
335
+ "us-west-2": {}
336
+ }
337
+ },
338
+ "directconnect": {
339
+ "endpoints": {
340
+ "ap-northeast-1": {},
341
+ "ap-northeast-2": {},
342
+ "ap-south-1": {},
343
+ "ap-southeast-1": {},
344
+ "ap-southeast-2": {},
345
+ "eu-central-1": {},
346
+ "eu-west-1": {},
347
+ "sa-east-1": {},
348
+ "us-east-1": {},
349
+ "us-east-2": {},
350
+ "us-west-1": {},
351
+ "us-west-2": {}
352
+ }
353
+ },
354
+ "discovery": {
355
+ "endpoints": {
356
+ "us-west-2": {}
357
+ }
358
+ },
359
+ "dms": {
360
+ "endpoints": {
361
+ "ap-northeast-1": {},
362
+ "ap-northeast-2": {},
363
+ "ap-south-1": {},
364
+ "ap-southeast-1": {},
365
+ "ap-southeast-2": {},
366
+ "eu-central-1": {},
367
+ "eu-west-1": {},
368
+ "sa-east-1": {},
369
+ "us-east-1": {},
370
+ "us-east-2": {},
371
+ "us-west-1": {},
372
+ "us-west-2": {}
373
+ }
374
+ },
375
+ "ds": {
376
+ "endpoints": {
377
+ "ap-northeast-1": {},
378
+ "ap-southeast-1": {},
379
+ "ap-southeast-2": {},
380
+ "eu-central-1": {},
381
+ "eu-west-1": {},
382
+ "us-east-1": {},
383
+ "us-west-2": {}
384
+ }
385
+ },
386
+ "dynamodb": {
387
+ "defaults": {
388
+ "protocols": [
389
+ "http",
390
+ "https"
391
+ ]
392
+ },
393
+ "endpoints": {
394
+ "ap-northeast-1": {},
395
+ "ap-northeast-2": {},
396
+ "ap-south-1": {},
397
+ "ap-southeast-1": {},
398
+ "ap-southeast-2": {},
399
+ "eu-central-1": {},
400
+ "eu-west-1": {},
401
+ "local": {
402
+ "credentialScope": {
403
+ "region": "us-east-1"
404
+ },
405
+ "hostname": "localhost:8000",
406
+ "protocols": [
407
+ "http"
408
+ ]
409
+ },
410
+ "sa-east-1": {},
411
+ "us-east-1": {},
412
+ "us-east-2": {},
413
+ "us-west-1": {},
414
+ "us-west-2": {}
415
+ }
416
+ },
417
+ "ec2": {
418
+ "defaults": {
419
+ "protocols": [
420
+ "http",
421
+ "https"
422
+ ]
423
+ },
424
+ "endpoints": {
425
+ "ap-northeast-1": {},
426
+ "ap-northeast-2": {},
427
+ "ap-south-1": {},
428
+ "ap-southeast-1": {},
429
+ "ap-southeast-2": {},
430
+ "eu-central-1": {},
431
+ "eu-west-1": {},
432
+ "sa-east-1": {},
433
+ "us-east-1": {},
434
+ "us-east-2": {},
435
+ "us-west-1": {},
436
+ "us-west-2": {}
437
+ }
438
+ },
439
+ "ecr": {
440
+ "endpoints": {
441
+ "ap-northeast-1": {},
442
+ "ap-southeast-1": {},
443
+ "ap-southeast-2": {},
444
+ "eu-central-1": {},
445
+ "eu-west-1": {},
446
+ "us-east-1": {},
447
+ "us-east-2": {},
448
+ "us-west-1": {},
449
+ "us-west-2": {}
450
+ }
451
+ },
452
+ "ecs": {
453
+ "endpoints": {
454
+ "ap-northeast-1": {},
455
+ "ap-southeast-1": {},
456
+ "ap-southeast-2": {},
457
+ "eu-central-1": {},
458
+ "eu-west-1": {},
459
+ "us-east-1": {},
460
+ "us-east-2": {},
461
+ "us-west-1": {},
462
+ "us-west-2": {}
463
+ }
464
+ },
465
+ "elasticache": {
466
+ "endpoints": {
467
+ "ap-northeast-1": {},
468
+ "ap-northeast-2": {},
469
+ "ap-south-1": {},
470
+ "ap-southeast-1": {},
471
+ "ap-southeast-2": {},
472
+ "eu-central-1": {},
473
+ "eu-west-1": {},
474
+ "sa-east-1": {},
475
+ "us-east-1": {},
476
+ "us-east-2": {},
477
+ "us-west-1": {},
478
+ "us-west-2": {}
479
+ }
480
+ },
481
+ "elasticbeanstalk": {
482
+ "endpoints": {
483
+ "ap-northeast-1": {},
484
+ "ap-northeast-2": {},
485
+ "ap-south-1": {},
486
+ "ap-southeast-1": {},
487
+ "ap-southeast-2": {},
488
+ "eu-central-1": {},
489
+ "eu-west-1": {},
490
+ "sa-east-1": {},
491
+ "us-east-1": {},
492
+ "us-east-2": {},
493
+ "us-west-1": {},
494
+ "us-west-2": {}
495
+ }
496
+ },
497
+ "elasticfilesystem": {
498
+ "endpoints": {
499
+ "eu-west-1": {},
500
+ "us-east-1": {},
501
+ "us-east-2": {},
502
+ "us-west-2": {}
503
+ }
504
+ },
505
+ "elasticloadbalancing": {
506
+ "defaults": {
507
+ "protocols": [
508
+ "http",
509
+ "https"
510
+ ]
511
+ },
512
+ "endpoints": {
513
+ "ap-northeast-1": {},
514
+ "ap-northeast-2": {},
515
+ "ap-south-1": {},
516
+ "ap-southeast-1": {},
517
+ "ap-southeast-2": {},
518
+ "eu-central-1": {},
519
+ "eu-west-1": {},
520
+ "sa-east-1": {},
521
+ "us-east-1": {},
522
+ "us-east-2": {},
523
+ "us-west-1": {},
524
+ "us-west-2": {}
525
+ }
526
+ },
527
+ "elasticmapreduce": {
528
+ "defaults": {
529
+ "protocols": [
530
+ "http",
531
+ "https"
532
+ ],
533
+ "sslCommonName": "{region}.{service}.{dnsSuffix}"
534
+ },
535
+ "endpoints": {
536
+ "ap-northeast-1": {},
537
+ "ap-northeast-2": {},
538
+ "ap-south-1": {},
539
+ "ap-southeast-1": {},
540
+ "ap-southeast-2": {},
541
+ "eu-central-1": {
542
+ "sslCommonName": "{service}.{region}.{dnsSuffix}"
543
+ },
544
+ "eu-west-1": {},
545
+ "sa-east-1": {},
546
+ "us-east-1": {
547
+ "sslCommonName": "{service}.{region}.{dnsSuffix}"
548
+ },
549
+ "us-east-2": {},
550
+ "us-west-1": {},
551
+ "us-west-2": {}
552
+ }
553
+ },
554
+ "elastictranscoder": {
555
+ "endpoints": {
556
+ "ap-northeast-1": {},
557
+ "ap-south-1": {},
558
+ "ap-southeast-1": {},
559
+ "ap-southeast-2": {},
560
+ "eu-west-1": {},
561
+ "us-east-1": {},
562
+ "us-west-1": {},
563
+ "us-west-2": {}
564
+ }
565
+ },
566
+ "email": {
567
+ "endpoints": {
568
+ "eu-west-1": {},
569
+ "us-east-1": {},
570
+ "us-west-2": {}
571
+ }
572
+ },
573
+ "es": {
574
+ "endpoints": {
575
+ "ap-northeast-1": {},
576
+ "ap-northeast-2": {},
577
+ "ap-south-1": {},
578
+ "ap-southeast-1": {},
579
+ "ap-southeast-2": {},
580
+ "eu-central-1": {},
581
+ "eu-west-1": {},
582
+ "sa-east-1": {},
583
+ "us-east-1": {},
584
+ "us-east-2": {},
585
+ "us-west-1": {},
586
+ "us-west-2": {}
587
+ }
588
+ },
589
+ "events": {
590
+ "endpoints": {
591
+ "ap-northeast-1": {},
592
+ "ap-northeast-2": {},
593
+ "ap-south-1": {},
594
+ "ap-southeast-1": {},
595
+ "ap-southeast-2": {},
596
+ "eu-central-1": {},
597
+ "eu-west-1": {},
598
+ "sa-east-1": {},
599
+ "us-east-1": {},
600
+ "us-east-2": {},
601
+ "us-west-1": {},
602
+ "us-west-2": {}
603
+ }
604
+ },
605
+ "firehose": {
606
+ "endpoints": {
607
+ "eu-west-1": {},
608
+ "us-east-1": {},
609
+ "us-west-2": {}
610
+ }
611
+ },
612
+ "gamelift": {
613
+ "endpoints": {
614
+ "ap-northeast-1": {},
615
+ "eu-west-1": {},
616
+ "us-east-1": {},
617
+ "us-west-2": {}
618
+ }
619
+ },
620
+ "glacier": {
621
+ "defaults": {
622
+ "protocols": [
623
+ "http",
624
+ "https"
625
+ ]
626
+ },
627
+ "endpoints": {
628
+ "ap-northeast-1": {},
629
+ "ap-northeast-2": {},
630
+ "ap-south-1": {},
631
+ "ap-southeast-2": {},
632
+ "eu-central-1": {},
633
+ "eu-west-1": {},
634
+ "us-east-1": {},
635
+ "us-east-2": {},
636
+ "us-west-1": {},
637
+ "us-west-2": {}
638
+ }
639
+ },
640
+ "iam": {
641
+ "endpoints": {
642
+ "aws-global": {
643
+ "credentialScope": {
644
+ "region": "us-east-1"
645
+ },
646
+ "hostname": "iam.amazonaws.com"
647
+ }
648
+ },
649
+ "isRegionalized": false,
650
+ "partitionEndpoint": "aws-global"
651
+ },
652
+ "importexport": {
653
+ "endpoints": {
654
+ "aws-global": {
655
+ "credentialScope": {
656
+ "region": "us-east-1",
657
+ "service": "IngestionService"
658
+ },
659
+ "hostname": "importexport.amazonaws.com",
660
+ "signatureVersions": [
661
+ "v2",
662
+ "v4"
663
+ ]
664
+ }
665
+ },
666
+ "isRegionalized": false,
667
+ "partitionEndpoint": "aws-global"
668
+ },
669
+ "inspector": {
670
+ "endpoints": {
671
+ "ap-northeast-1": {},
672
+ "ap-northeast-2": {},
673
+ "ap-south-1": {},
674
+ "ap-southeast-2": {},
675
+ "eu-west-1": {},
676
+ "us-east-1": {},
677
+ "us-west-2": {}
678
+ }
679
+ },
680
+ "iot": {
681
+ "defaults": {
682
+ "credentialScope": {
683
+ "service": "execute-api"
684
+ }
685
+ },
686
+ "endpoints": {
687
+ "ap-northeast-1": {},
688
+ "ap-northeast-2": {},
689
+ "ap-southeast-1": {},
690
+ "ap-southeast-2": {},
691
+ "eu-central-1": {},
692
+ "eu-west-1": {},
693
+ "us-east-1": {},
694
+ "us-west-2": {}
695
+ }
696
+ },
697
+ "kinesis": {
698
+ "endpoints": {
699
+ "ap-northeast-1": {},
700
+ "ap-northeast-2": {},
701
+ "ap-south-1": {},
702
+ "ap-southeast-1": {},
703
+ "ap-southeast-2": {},
704
+ "eu-central-1": {},
705
+ "eu-west-1": {},
706
+ "sa-east-1": {},
707
+ "us-east-1": {},
708
+ "us-east-2": {},
709
+ "us-west-1": {},
710
+ "us-west-2": {}
711
+ }
712
+ },
713
+ "kinesisanalytics": {
714
+ "endpoints": {
715
+ "eu-west-1": {},
716
+ "us-east-1": {},
717
+ "us-west-2": {}
718
+ }
719
+ },
720
+ "kms": {
721
+ "endpoints": {
722
+ "ap-northeast-1": {},
723
+ "ap-northeast-2": {},
724
+ "ap-south-1": {},
725
+ "ap-southeast-1": {},
726
+ "ap-southeast-2": {},
727
+ "eu-central-1": {},
728
+ "eu-west-1": {},
729
+ "sa-east-1": {},
730
+ "us-east-1": {},
731
+ "us-east-2": {},
732
+ "us-west-1": {},
733
+ "us-west-2": {}
734
+ }
735
+ },
736
+ "lambda": {
737
+ "endpoints": {
738
+ "ap-northeast-1": {},
739
+ "ap-northeast-2": {},
740
+ "ap-southeast-1": {},
741
+ "ap-southeast-2": {},
742
+ "eu-central-1": {},
743
+ "eu-west-1": {},
744
+ "us-east-1": {},
745
+ "us-east-2": {},
746
+ "us-west-2": {}
747
+ }
748
+ },
749
+ "logs": {
750
+ "endpoints": {
751
+ "ap-northeast-1": {},
752
+ "ap-northeast-2": {},
753
+ "ap-south-1": {},
754
+ "ap-southeast-1": {},
755
+ "ap-southeast-2": {},
756
+ "eu-central-1": {},
757
+ "eu-west-1": {},
758
+ "sa-east-1": {},
759
+ "us-east-1": {},
760
+ "us-east-2": {},
761
+ "us-west-1": {},
762
+ "us-west-2": {}
763
+ }
764
+ },
765
+ "machinelearning": {
766
+ "endpoints": {
767
+ "eu-west-1": {},
768
+ "us-east-1": {}
769
+ }
770
+ },
771
+ "marketplacecommerceanalytics": {
772
+ "endpoints": {
773
+ "us-east-1": {}
774
+ }
775
+ },
776
+ "metering.marketplace": {
777
+ "endpoints": {
778
+ "us-east-1": {},
779
+ "us-west-2": {}
780
+ }
781
+ },
782
+ "mobileanalytics": {
783
+ "endpoints": {
784
+ "us-east-1": {}
785
+ }
786
+ },
787
+ "monitoring": {
788
+ "defaults": {
789
+ "protocols": [
790
+ "http",
791
+ "https"
792
+ ]
793
+ },
794
+ "endpoints": {
795
+ "ap-northeast-1": {},
796
+ "ap-northeast-2": {},
797
+ "ap-south-1": {},
798
+ "ap-southeast-1": {},
799
+ "ap-southeast-2": {},
800
+ "eu-central-1": {},
801
+ "eu-west-1": {},
802
+ "sa-east-1": {},
803
+ "us-east-1": {},
804
+ "us-east-2": {},
805
+ "us-west-1": {},
806
+ "us-west-2": {}
807
+ }
808
+ },
809
+ "opsworks": {
810
+ "endpoints": {
811
+ "ap-northeast-1": {},
812
+ "ap-northeast-2": {},
813
+ "ap-south-1": {},
814
+ "ap-southeast-1": {},
815
+ "ap-southeast-2": {},
816
+ "eu-central-1": {},
817
+ "eu-west-1": {},
818
+ "sa-east-1": {},
819
+ "us-east-1": {},
820
+ "us-east-2": {},
821
+ "us-west-1": {},
822
+ "us-west-2": {}
823
+ }
824
+ },
825
+ "rds": {
826
+ "endpoints": {
827
+ "ap-northeast-1": {},
828
+ "ap-northeast-2": {},
829
+ "ap-south-1": {},
830
+ "ap-southeast-1": {},
831
+ "ap-southeast-2": {},
832
+ "eu-central-1": {},
833
+ "eu-west-1": {},
834
+ "sa-east-1": {},
835
+ "us-east-1": {
836
+ "sslCommonName": "{service}.{dnsSuffix}"
837
+ },
838
+ "us-east-2": {},
839
+ "us-west-1": {},
840
+ "us-west-2": {}
841
+ }
842
+ },
843
+ "redshift": {
844
+ "endpoints": {
845
+ "ap-northeast-1": {},
846
+ "ap-northeast-2": {},
847
+ "ap-south-1": {},
848
+ "ap-southeast-1": {},
849
+ "ap-southeast-2": {},
850
+ "eu-central-1": {},
851
+ "eu-west-1": {},
852
+ "sa-east-1": {},
853
+ "us-east-1": {},
854
+ "us-east-2": {},
855
+ "us-west-1": {},
856
+ "us-west-2": {}
857
+ }
858
+ },
859
+ "route53": {
860
+ "endpoints": {
861
+ "aws-global": {
862
+ "credentialScope": {
863
+ "region": "us-east-1"
864
+ },
865
+ "hostname": "route53.amazonaws.com"
866
+ }
867
+ },
868
+ "isRegionalized": false,
869
+ "partitionEndpoint": "aws-global"
870
+ },
871
+ "route53domains": {
872
+ "endpoints": {
873
+ "us-east-1": {}
874
+ }
875
+ },
876
+ "s3": {
877
+ "defaults": {
878
+ "protocols": [
879
+ "http",
880
+ "https"
881
+ ],
882
+ "signatureVersions": [
883
+ "s3v4"
884
+ ]
885
+ },
886
+ "endpoints": {
887
+ "ap-northeast-1": {
888
+ "hostname": "s3-ap-northeast-1.amazonaws.com",
889
+ "signatureVersions": [
890
+ "s3",
891
+ "s3v4"
892
+ ]
893
+ },
894
+ "ap-northeast-2": {},
895
+ "ap-south-1": {},
896
+ "ap-southeast-1": {
897
+ "hostname": "s3-ap-southeast-1.amazonaws.com",
898
+ "signatureVersions": [
899
+ "s3",
900
+ "s3v4"
901
+ ]
902
+ },
903
+ "ap-southeast-2": {
904
+ "hostname": "s3-ap-southeast-2.amazonaws.com",
905
+ "signatureVersions": [
906
+ "s3",
907
+ "s3v4"
908
+ ]
909
+ },
910
+ "eu-central-1": {},
911
+ "eu-west-1": {
912
+ "hostname": "s3-eu-west-1.amazonaws.com",
913
+ "signatureVersions": [
914
+ "s3",
915
+ "s3v4"
916
+ ]
917
+ },
918
+ "s3-external-1": {
919
+ "credentialScope": {
920
+ "region": "us-east-1"
921
+ },
922
+ "hostname": "s3-external-1.amazonaws.com",
923
+ "signatureVersions": [
924
+ "s3",
925
+ "s3v4"
926
+ ]
927
+ },
928
+ "sa-east-1": {
929
+ "hostname": "s3-sa-east-1.amazonaws.com",
930
+ "signatureVersions": [
931
+ "s3",
932
+ "s3v4"
933
+ ]
934
+ },
935
+ "us-east-1": {
936
+ "hostname": "s3.amazonaws.com",
937
+ "signatureVersions": [
938
+ "s3",
939
+ "s3v4"
940
+ ]
941
+ },
942
+ "us-east-2": {},
943
+ "us-west-1": {
944
+ "hostname": "s3-us-west-1.amazonaws.com",
945
+ "signatureVersions": [
946
+ "s3",
947
+ "s3v4"
948
+ ]
949
+ },
950
+ "us-west-2": {
951
+ "hostname": "s3-us-west-2.amazonaws.com",
952
+ "signatureVersions": [
953
+ "s3",
954
+ "s3v4"
955
+ ]
956
+ }
957
+ },
958
+ "isRegionalized": true,
959
+ "partitionEndpoint": "us-east-1"
960
+ },
961
+ "sdb": {
962
+ "defaults": {
963
+ "protocols": [
964
+ "http",
965
+ "https"
966
+ ],
967
+ "signatureVersions": [
968
+ "v2"
969
+ ]
970
+ },
971
+ "endpoints": {
972
+ "ap-northeast-1": {},
973
+ "ap-southeast-1": {},
974
+ "ap-southeast-2": {},
975
+ "eu-west-1": {},
976
+ "sa-east-1": {},
977
+ "us-east-1": {
978
+ "hostname": "sdb.amazonaws.com"
979
+ },
980
+ "us-west-1": {},
981
+ "us-west-2": {}
982
+ }
983
+ },
984
+ "servicecatalog": {
985
+ "endpoints": {
986
+ "ap-northeast-1": {},
987
+ "ap-southeast-1": {},
988
+ "ap-southeast-2": {},
989
+ "eu-central-1": {},
990
+ "eu-west-1": {},
991
+ "us-east-1": {},
992
+ "us-east-2": {},
993
+ "us-west-2": {}
994
+ }
995
+ },
996
+ "sms": {
997
+ "endpoints": {
998
+ "ap-southeast-2": {},
999
+ "eu-west-1": {},
1000
+ "us-east-1": {}
1001
+ }
1002
+ },
1003
+ "snowball": {
1004
+ "endpoints": {
1005
+ "ap-south-1": {},
1006
+ "ap-southeast-2": {},
1007
+ "eu-central-1": {},
1008
+ "eu-west-1": {},
1009
+ "us-east-1": {},
1010
+ "us-east-2": {},
1011
+ "us-west-1": {},
1012
+ "us-west-2": {}
1013
+ }
1014
+ },
1015
+ "sns": {
1016
+ "defaults": {
1017
+ "protocols": [
1018
+ "http",
1019
+ "https"
1020
+ ]
1021
+ },
1022
+ "endpoints": {
1023
+ "ap-northeast-1": {},
1024
+ "ap-northeast-2": {},
1025
+ "ap-south-1": {},
1026
+ "ap-southeast-1": {},
1027
+ "ap-southeast-2": {},
1028
+ "eu-central-1": {},
1029
+ "eu-west-1": {},
1030
+ "sa-east-1": {},
1031
+ "us-east-1": {},
1032
+ "us-east-2": {},
1033
+ "us-west-1": {},
1034
+ "us-west-2": {}
1035
+ }
1036
+ },
1037
+ "sqs": {
1038
+ "defaults": {
1039
+ "protocols": [
1040
+ "http",
1041
+ "https"
1042
+ ],
1043
+ "sslCommonName": "{region}.queue.{dnsSuffix}"
1044
+ },
1045
+ "endpoints": {
1046
+ "ap-northeast-1": {},
1047
+ "ap-northeast-2": {},
1048
+ "ap-south-1": {},
1049
+ "ap-southeast-1": {},
1050
+ "ap-southeast-2": {},
1051
+ "eu-central-1": {},
1052
+ "eu-west-1": {},
1053
+ "sa-east-1": {},
1054
+ "us-east-1": {
1055
+ "sslCommonName": "queue.{dnsSuffix}"
1056
+ },
1057
+ "us-east-2": {},
1058
+ "us-west-1": {},
1059
+ "us-west-2": {}
1060
+ }
1061
+ },
1062
+ "ssm": {
1063
+ "endpoints": {
1064
+ "ap-northeast-1": {},
1065
+ "ap-northeast-2": {},
1066
+ "ap-southeast-1": {},
1067
+ "ap-southeast-2": {},
1068
+ "eu-central-1": {},
1069
+ "eu-west-1": {},
1070
+ "sa-east-1": {},
1071
+ "us-east-1": {},
1072
+ "us-west-1": {},
1073
+ "us-west-2": {}
1074
+ }
1075
+ },
1076
+ "storagegateway": {
1077
+ "endpoints": {
1078
+ "ap-northeast-1": {},
1079
+ "ap-northeast-2": {},
1080
+ "ap-southeast-1": {},
1081
+ "ap-southeast-2": {},
1082
+ "eu-central-1": {},
1083
+ "eu-west-1": {},
1084
+ "sa-east-1": {},
1085
+ "us-east-1": {},
1086
+ "us-east-2": {},
1087
+ "us-west-1": {},
1088
+ "us-west-2": {}
1089
+ }
1090
+ },
1091
+ "streams.dynamodb": {
1092
+ "defaults": {
1093
+ "credentialScope": {
1094
+ "service": "dynamodb"
1095
+ },
1096
+ "protocols": [
1097
+ "http",
1098
+ "https"
1099
+ ]
1100
+ },
1101
+ "endpoints": {
1102
+ "ap-northeast-1": {},
1103
+ "ap-northeast-2": {},
1104
+ "ap-south-1": {},
1105
+ "ap-southeast-1": {},
1106
+ "ap-southeast-2": {},
1107
+ "eu-central-1": {},
1108
+ "eu-west-1": {},
1109
+ "sa-east-1": {},
1110
+ "us-east-1": {},
1111
+ "us-east-2": {},
1112
+ "us-west-1": {},
1113
+ "us-west-2": {}
1114
+ }
1115
+ },
1116
+ "sts": {
1117
+ "defaults": {
1118
+ "credentialScope": {
1119
+ "region": "us-east-1"
1120
+ },
1121
+ "hostname": "sts.amazonaws.com"
1122
+ },
1123
+ "endpoints": {
1124
+ "ap-northeast-1": {},
1125
+ "ap-northeast-2": {
1126
+ "credentialScope": {
1127
+ "region": "ap-northeast-2"
1128
+ },
1129
+ "hostname": "sts.ap-northeast-2.amazonaws.com"
1130
+ },
1131
+ "ap-south-1": {},
1132
+ "ap-southeast-1": {},
1133
+ "ap-southeast-2": {},
1134
+ "aws-global": {},
1135
+ "eu-central-1": {},
1136
+ "eu-west-1": {},
1137
+ "sa-east-1": {},
1138
+ "us-east-1": {},
1139
+ "us-east-2": {},
1140
+ "us-west-1": {},
1141
+ "us-west-2": {}
1142
+ },
1143
+ "partitionEndpoint": "aws-global"
1144
+ },
1145
+ "support": {
1146
+ "endpoints": {
1147
+ "us-east-1": {}
1148
+ }
1149
+ },
1150
+ "swf": {
1151
+ "endpoints": {
1152
+ "ap-northeast-1": {},
1153
+ "ap-northeast-2": {},
1154
+ "ap-south-1": {},
1155
+ "ap-southeast-1": {},
1156
+ "ap-southeast-2": {},
1157
+ "eu-central-1": {},
1158
+ "eu-west-1": {},
1159
+ "sa-east-1": {},
1160
+ "us-east-1": {},
1161
+ "us-east-2": {},
1162
+ "us-west-1": {},
1163
+ "us-west-2": {}
1164
+ }
1165
+ },
1166
+ "waf": {
1167
+ "endpoints": {
1168
+ "aws-global": {
1169
+ "credentialScope": {
1170
+ "region": "us-east-1"
1171
+ },
1172
+ "hostname": "waf.amazonaws.com"
1173
+ }
1174
+ },
1175
+ "isRegionalized": false,
1176
+ "partitionEndpoint": "aws-global"
1177
+ },
1178
+ "workspaces": {
1179
+ "endpoints": {
1180
+ "ap-northeast-1": {},
1181
+ "ap-southeast-1": {},
1182
+ "ap-southeast-2": {},
1183
+ "eu-central-1": {},
1184
+ "eu-west-1": {},
1185
+ "us-east-1": {},
1186
+ "us-west-2": {}
1187
+ }
1188
+ }
1189
+ }
1190
+ },
1191
+ {
1192
+ "defaults": {
1193
+ "hostname": "{service}.{region}.{dnsSuffix}",
1194
+ "protocols": [
1195
+ "https"
1196
+ ],
1197
+ "signatureVersions": [
1198
+ "v4"
1199
+ ]
1200
+ },
1201
+ "dnsSuffix": "amazonaws.com.cn",
1202
+ "partition": "aws-cn",
1203
+ "partitionName": "AWS China",
1204
+ "regionRegex": "^cn\\-\\w+\\-\\d+$",
1205
+ "regions": {
1206
+ "cn-north-1": {
1207
+ "description": "China (Beijing)"
1208
+ }
1209
+ },
1210
+ "services": {
1211
+ "autoscaling": {
1212
+ "defaults": {
1213
+ "protocols": [
1214
+ "http",
1215
+ "https"
1216
+ ]
1217
+ },
1218
+ "endpoints": {
1219
+ "cn-north-1": {}
1220
+ }
1221
+ },
1222
+ "cloudformation": {
1223
+ "endpoints": {
1224
+ "cn-north-1": {}
1225
+ }
1226
+ },
1227
+ "cloudtrail": {
1228
+ "endpoints": {
1229
+ "cn-north-1": {}
1230
+ }
1231
+ },
1232
+ "directconnect": {
1233
+ "endpoints": {
1234
+ "cn-north-1": {}
1235
+ }
1236
+ },
1237
+ "dynamodb": {
1238
+ "defaults": {
1239
+ "protocols": [
1240
+ "http",
1241
+ "https"
1242
+ ]
1243
+ },
1244
+ "endpoints": {
1245
+ "cn-north-1": {}
1246
+ }
1247
+ },
1248
+ "ec2": {
1249
+ "defaults": {
1250
+ "protocols": [
1251
+ "http",
1252
+ "https"
1253
+ ]
1254
+ },
1255
+ "endpoints": {
1256
+ "cn-north-1": {}
1257
+ }
1258
+ },
1259
+ "elasticache": {
1260
+ "endpoints": {
1261
+ "cn-north-1": {}
1262
+ }
1263
+ },
1264
+ "elasticbeanstalk": {
1265
+ "endpoints": {
1266
+ "cn-north-1": {}
1267
+ }
1268
+ },
1269
+ "elasticloadbalancing": {
1270
+ "defaults": {
1271
+ "protocols": [
1272
+ "http",
1273
+ "https"
1274
+ ]
1275
+ },
1276
+ "endpoints": {
1277
+ "cn-north-1": {}
1278
+ }
1279
+ },
1280
+ "elasticmapreduce": {
1281
+ "defaults": {
1282
+ "protocols": [
1283
+ "http",
1284
+ "https"
1285
+ ]
1286
+ },
1287
+ "endpoints": {
1288
+ "cn-north-1": {}
1289
+ }
1290
+ },
1291
+ "events": {
1292
+ "endpoints": {
1293
+ "cn-north-1": {}
1294
+ }
1295
+ },
1296
+ "glacier": {
1297
+ "defaults": {
1298
+ "protocols": [
1299
+ "http",
1300
+ "https"
1301
+ ]
1302
+ },
1303
+ "endpoints": {
1304
+ "cn-north-1": {}
1305
+ }
1306
+ },
1307
+ "iam": {
1308
+ "endpoints": {
1309
+ "aws-cn-global": {
1310
+ "credentialScope": {
1311
+ "region": "cn-north-1"
1312
+ },
1313
+ "hostname": "iam.cn-north-1.amazonaws.com.cn"
1314
+ }
1315
+ },
1316
+ "isRegionalized": false,
1317
+ "partitionEndpoint": "aws-cn-global"
1318
+ },
1319
+ "kinesis": {
1320
+ "endpoints": {
1321
+ "cn-north-1": {}
1322
+ }
1323
+ },
1324
+ "logs": {
1325
+ "endpoints": {
1326
+ "cn-north-1": {}
1327
+ }
1328
+ },
1329
+ "monitoring": {
1330
+ "defaults": {
1331
+ "protocols": [
1332
+ "http",
1333
+ "https"
1334
+ ]
1335
+ },
1336
+ "endpoints": {
1337
+ "cn-north-1": {}
1338
+ }
1339
+ },
1340
+ "rds": {
1341
+ "endpoints": {
1342
+ "cn-north-1": {}
1343
+ }
1344
+ },
1345
+ "redshift": {
1346
+ "endpoints": {
1347
+ "cn-north-1": {}
1348
+ }
1349
+ },
1350
+ "s3": {
1351
+ "defaults": {
1352
+ "protocols": [
1353
+ "http",
1354
+ "https"
1355
+ ],
1356
+ "signatureVersions": [
1357
+ "s3v4"
1358
+ ]
1359
+ },
1360
+ "endpoints": {
1361
+ "cn-north-1": {}
1362
+ }
1363
+ },
1364
+ "sns": {
1365
+ "defaults": {
1366
+ "protocols": [
1367
+ "http",
1368
+ "https"
1369
+ ]
1370
+ },
1371
+ "endpoints": {
1372
+ "cn-north-1": {}
1373
+ }
1374
+ },
1375
+ "sqs": {
1376
+ "defaults": {
1377
+ "protocols": [
1378
+ "http",
1379
+ "https"
1380
+ ],
1381
+ "sslCommonName": "{region}.queue.{dnsSuffix}"
1382
+ },
1383
+ "endpoints": {
1384
+ "cn-north-1": {}
1385
+ }
1386
+ },
1387
+ "storagegateway": {
1388
+ "endpoints": {
1389
+ "cn-north-1": {}
1390
+ }
1391
+ },
1392
+ "streams.dynamodb": {
1393
+ "defaults": {
1394
+ "credentialScope": {
1395
+ "service": "dynamodb"
1396
+ },
1397
+ "protocols": [
1398
+ "http",
1399
+ "https"
1400
+ ]
1401
+ },
1402
+ "endpoints": {
1403
+ "cn-north-1": {}
1404
+ }
1405
+ },
1406
+ "sts": {
1407
+ "endpoints": {
1408
+ "cn-north-1": {}
1409
+ }
1410
+ },
1411
+ "swf": {
1412
+ "endpoints": {
1413
+ "cn-north-1": {}
1414
+ }
1415
+ }
1416
+ }
1417
+ },
1418
+ {
1419
+ "defaults": {
1420
+ "hostname": "{service}.{region}.{dnsSuffix}",
1421
+ "protocols": [
1422
+ "https"
1423
+ ],
1424
+ "signatureVersions": [
1425
+ "v4"
1426
+ ]
1427
+ },
1428
+ "dnsSuffix": "amazonaws.com",
1429
+ "partition": "aws-us-gov",
1430
+ "partitionName": "AWS GovCloud (US)",
1431
+ "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$",
1432
+ "regions": {
1433
+ "us-gov-west-1": {
1434
+ "description": "AWS GovCloud (US)"
1435
+ }
1436
+ },
1437
+ "services": {
1438
+ "autoscaling": {
1439
+ "endpoints": {
1440
+ "us-gov-west-1": {
1441
+ "protocols": [
1442
+ "http",
1443
+ "https"
1444
+ ]
1445
+ }
1446
+ }
1447
+ },
1448
+ "cloudformation": {
1449
+ "endpoints": {
1450
+ "us-gov-west-1": {}
1451
+ }
1452
+ },
1453
+ "cloudhsm": {
1454
+ "endpoints": {
1455
+ "us-gov-west-1": {}
1456
+ }
1457
+ },
1458
+ "cloudtrail": {
1459
+ "endpoints": {
1460
+ "us-gov-west-1": {}
1461
+ }
1462
+ },
1463
+ "config": {
1464
+ "endpoints": {
1465
+ "us-gov-west-1": {}
1466
+ }
1467
+ },
1468
+ "directconnect": {
1469
+ "endpoints": {
1470
+ "us-gov-west-1": {}
1471
+ }
1472
+ },
1473
+ "dynamodb": {
1474
+ "endpoints": {
1475
+ "us-gov-west-1": {}
1476
+ }
1477
+ },
1478
+ "ec2": {
1479
+ "endpoints": {
1480
+ "us-gov-west-1": {}
1481
+ }
1482
+ },
1483
+ "elasticache": {
1484
+ "endpoints": {
1485
+ "us-gov-west-1": {}
1486
+ }
1487
+ },
1488
+ "elasticloadbalancing": {
1489
+ "endpoints": {
1490
+ "us-gov-west-1": {
1491
+ "protocols": [
1492
+ "http",
1493
+ "https"
1494
+ ]
1495
+ }
1496
+ }
1497
+ },
1498
+ "elasticmapreduce": {
1499
+ "endpoints": {
1500
+ "us-gov-west-1": {
1501
+ "protocols": [
1502
+ "http",
1503
+ "https"
1504
+ ]
1505
+ }
1506
+ }
1507
+ },
1508
+ "glacier": {
1509
+ "endpoints": {
1510
+ "us-gov-west-1": {
1511
+ "protocols": [
1512
+ "http",
1513
+ "https"
1514
+ ]
1515
+ }
1516
+ }
1517
+ },
1518
+ "iam": {
1519
+ "endpoints": {
1520
+ "aws-us-gov-global": {
1521
+ "credentialScope": {
1522
+ "region": "us-gov-west-1"
1523
+ },
1524
+ "hostname": "iam.us-gov.amazonaws.com"
1525
+ }
1526
+ },
1527
+ "isRegionalized": false,
1528
+ "partitionEndpoint": "aws-us-gov-global"
1529
+ },
1530
+ "kms": {
1531
+ "endpoints": {
1532
+ "us-gov-west-1": {}
1533
+ }
1534
+ },
1535
+ "logs": {
1536
+ "endpoints": {
1537
+ "us-gov-west-1": {}
1538
+ }
1539
+ },
1540
+ "monitoring": {
1541
+ "endpoints": {
1542
+ "us-gov-west-1": {}
1543
+ }
1544
+ },
1545
+ "rds": {
1546
+ "endpoints": {
1547
+ "us-gov-west-1": {}
1548
+ }
1549
+ },
1550
+ "redshift": {
1551
+ "endpoints": {
1552
+ "us-gov-west-1": {}
1553
+ }
1554
+ },
1555
+ "s3": {
1556
+ "defaults": {
1557
+ "signatureVersions": [
1558
+ "s3",
1559
+ "s3v4"
1560
+ ]
1561
+ },
1562
+ "endpoints": {
1563
+ "fips-us-gov-west-1": {
1564
+ "credentialScope": {
1565
+ "region": "us-gov-west-1"
1566
+ },
1567
+ "hostname": "s3-fips-us-gov-west-1.amazonaws.com"
1568
+ },
1569
+ "us-gov-west-1": {
1570
+ "hostname": "s3-us-gov-west-1.amazonaws.com",
1571
+ "protocols": [
1572
+ "http",
1573
+ "https"
1574
+ ]
1575
+ }
1576
+ }
1577
+ },
1578
+ "snowball": {
1579
+ "endpoints": {
1580
+ "us-gov-west-1": {}
1581
+ }
1582
+ },
1583
+ "sns": {
1584
+ "endpoints": {
1585
+ "us-gov-west-1": {
1586
+ "protocols": [
1587
+ "http",
1588
+ "https"
1589
+ ]
1590
+ }
1591
+ }
1592
+ },
1593
+ "sqs": {
1594
+ "endpoints": {
1595
+ "us-gov-west-1": {
1596
+ "protocols": [
1597
+ "http",
1598
+ "https"
1599
+ ],
1600
+ "sslCommonName": "{region}.queue.{dnsSuffix}"
1601
+ }
1602
+ }
1603
+ },
1604
+ "streams.dynamodb": {
1605
+ "defaults": {
1606
+ "credentialScope": {
1607
+ "service": "dynamodb"
1608
+ }
1609
+ },
1610
+ "endpoints": {
1611
+ "us-gov-west-1": {}
1612
+ }
1613
+ },
1614
+ "sts": {
1615
+ "endpoints": {
1616
+ "us-gov-west-1": {}
1617
+ }
1618
+ },
1619
+ "swf": {
1620
+ "endpoints": {
1621
+ "us-gov-west-1": {}
1622
+ }
1623
+ }
1624
+ }
1625
+ }
1626
+ ],
1627
+ "version": 3
1628
+ }