aws-partitions 1.235.0 → 1.240.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-partitions.rb +5 -0
- data/lib/aws-partitions/endpoint_provider.rb +17 -2
- data/partitions.json +156 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2b673c698ea49b23a4e1bd773dbc5b522400634
|
|
4
|
+
data.tar.gz: f62f46979087d737fe929f48e0c2ab2e6816d638
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e03d6b357e526d91332fb3d813fcb0a1dfe285f9fab730e9730909d15a0a783365430f8319ca0a0a2e287a39d612ab4d63307251cb809efd557df92ff0ba89ec
|
|
7
|
+
data.tar.gz: 58f320fc4642100e5c5051c6412018e62bdae367a98549a2f1bfd7bd42f1b0c140daab3d338c8edb1dfd323f10bcf3dacee5e0e6f19b6c8eaa5871973e089f31
|
data/lib/aws-partitions.rb
CHANGED
|
@@ -269,6 +269,7 @@ module Aws
|
|
|
269
269
|
'CostandUsageReportService' => 'cur',
|
|
270
270
|
'DAX' => 'dax',
|
|
271
271
|
'DLM' => 'dlm',
|
|
272
|
+
'DataExchange' => 'dataexchange',
|
|
272
273
|
'DataPipeline' => 'datapipeline',
|
|
273
274
|
'DataSync' => 'datasync',
|
|
274
275
|
'DatabaseMigrationService' => 'dms',
|
|
@@ -336,6 +337,7 @@ module Aws
|
|
|
336
337
|
'MachineLearning' => 'machinelearning',
|
|
337
338
|
'Macie' => 'macie',
|
|
338
339
|
'ManagedBlockchain' => 'managedblockchain',
|
|
340
|
+
'MarketplaceCatalog' => 'catalog.marketplace',
|
|
339
341
|
'MarketplaceCommerceAnalytics' => 'marketplacecommerceanalytics',
|
|
340
342
|
'MarketplaceEntitlementService' => 'entitlement.marketplace',
|
|
341
343
|
'MarketplaceMetering' => 'metering.marketplace',
|
|
@@ -379,10 +381,13 @@ module Aws
|
|
|
379
381
|
'S3' => 's3',
|
|
380
382
|
'S3Control' => 's3-control',
|
|
381
383
|
'SES' => 'email',
|
|
384
|
+
'SESV2' => 'email',
|
|
382
385
|
'SMS' => 'sms',
|
|
383
386
|
'SNS' => 'sns',
|
|
384
387
|
'SQS' => 'sqs',
|
|
385
388
|
'SSM' => 'ssm',
|
|
389
|
+
'SSO' => 'portal.sso',
|
|
390
|
+
'SSOOIDC' => 'oidc',
|
|
386
391
|
'STS' => 'sts',
|
|
387
392
|
'SWF' => 'swf',
|
|
388
393
|
'SageMaker' => 'api.sagemaker',
|
|
@@ -25,6 +25,12 @@ module Aws
|
|
|
25
25
|
us-west-2
|
|
26
26
|
)
|
|
27
27
|
|
|
28
|
+
# Can be removed once S3 endpoint is updated
|
|
29
|
+
S3_IAD_REGIONAL = {
|
|
30
|
+
"hostname" => "s3.us-east-1.amazonaws.com",
|
|
31
|
+
"signatureVersions" => [ "s3", "s3v4" ]
|
|
32
|
+
}
|
|
33
|
+
|
|
28
34
|
# Intentionally marked private. The format of the endpoint rules
|
|
29
35
|
# is an implementation detail.
|
|
30
36
|
# @api private
|
|
@@ -39,7 +45,7 @@ module Aws
|
|
|
39
45
|
# legacy regions) or `regional` mode for using regional endpoint for supported regions
|
|
40
46
|
# except 'aws-global'
|
|
41
47
|
# @api private Use the static class methods instead.
|
|
42
|
-
def resolve(region, service, sts_regional_endpoints
|
|
48
|
+
def resolve(region, service, sts_regional_endpoints)
|
|
43
49
|
"https://" + endpoint_for(region, service, sts_regional_endpoints)
|
|
44
50
|
end
|
|
45
51
|
|
|
@@ -80,6 +86,11 @@ module Aws
|
|
|
80
86
|
region = service_cfg.fetch("partitionEndpoint", region)
|
|
81
87
|
end
|
|
82
88
|
|
|
89
|
+
# Can be removed once S3 endpoint is updated
|
|
90
|
+
if (service == 's3') && (region == "us-east-1")
|
|
91
|
+
service_cfg["endpoints"][region] = S3_IAD_REGIONAL
|
|
92
|
+
end
|
|
93
|
+
|
|
83
94
|
# Check for service/region level endpoint.
|
|
84
95
|
endpoint = service_cfg.fetch("endpoints", {}).
|
|
85
96
|
fetch(region, {}).fetch("hostname", endpoint)
|
|
@@ -121,7 +132,11 @@ module Aws
|
|
|
121
132
|
|
|
122
133
|
class << self
|
|
123
134
|
|
|
124
|
-
def resolve(
|
|
135
|
+
def resolve(
|
|
136
|
+
region,
|
|
137
|
+
service,
|
|
138
|
+
sts_regional_endpoints = 'legacy'
|
|
139
|
+
)
|
|
125
140
|
default_provider.resolve(region, service, sts_regional_endpoints)
|
|
126
141
|
end
|
|
127
142
|
|
data/partitions.json
CHANGED
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
"eu-west-2" : { },
|
|
112
112
|
"eu-west-3" : { },
|
|
113
113
|
"me-south-1" : { },
|
|
114
|
+
"sa-east-1" : { },
|
|
114
115
|
"us-east-1" : { },
|
|
115
116
|
"us-east-2" : { },
|
|
116
117
|
"us-west-1" : { },
|
|
@@ -419,6 +420,7 @@
|
|
|
419
420
|
"eu-west-1" : { },
|
|
420
421
|
"eu-west-2" : { },
|
|
421
422
|
"eu-west-3" : { },
|
|
423
|
+
"me-south-1" : { },
|
|
422
424
|
"us-east-1" : { },
|
|
423
425
|
"us-east-2" : { },
|
|
424
426
|
"us-west-1" : { },
|
|
@@ -1000,6 +1002,21 @@
|
|
|
1000
1002
|
"us-west-2" : { }
|
|
1001
1003
|
}
|
|
1002
1004
|
},
|
|
1005
|
+
"dataexchange" : {
|
|
1006
|
+
"endpoints" : {
|
|
1007
|
+
"ap-northeast-1" : { },
|
|
1008
|
+
"ap-northeast-2" : { },
|
|
1009
|
+
"ap-southeast-1" : { },
|
|
1010
|
+
"ap-southeast-2" : { },
|
|
1011
|
+
"eu-central-1" : { },
|
|
1012
|
+
"eu-west-1" : { },
|
|
1013
|
+
"eu-west-2" : { },
|
|
1014
|
+
"us-east-1" : { },
|
|
1015
|
+
"us-east-2" : { },
|
|
1016
|
+
"us-west-1" : { },
|
|
1017
|
+
"us-west-2" : { }
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1003
1020
|
"datapipeline" : {
|
|
1004
1021
|
"endpoints" : {
|
|
1005
1022
|
"ap-northeast-1" : { },
|
|
@@ -1059,6 +1076,8 @@
|
|
|
1059
1076
|
"ap-southeast-2" : { },
|
|
1060
1077
|
"eu-central-1" : { },
|
|
1061
1078
|
"eu-west-1" : { },
|
|
1079
|
+
"eu-west-2" : { },
|
|
1080
|
+
"eu-west-3" : { },
|
|
1062
1081
|
"sa-east-1" : { },
|
|
1063
1082
|
"us-east-1" : { },
|
|
1064
1083
|
"us-east-2" : { },
|
|
@@ -1544,6 +1563,7 @@
|
|
|
1544
1563
|
"eu-west-1" : { },
|
|
1545
1564
|
"eu-west-2" : { },
|
|
1546
1565
|
"eu-west-3" : { },
|
|
1566
|
+
"me-south-1" : { },
|
|
1547
1567
|
"sa-east-1" : { },
|
|
1548
1568
|
"us-east-1" : { },
|
|
1549
1569
|
"us-east-2" : { },
|
|
@@ -1558,11 +1578,16 @@
|
|
|
1558
1578
|
"endpoints" : {
|
|
1559
1579
|
"ap-northeast-1" : { },
|
|
1560
1580
|
"ap-northeast-2" : { },
|
|
1581
|
+
"ap-south-1" : { },
|
|
1561
1582
|
"ap-southeast-1" : { },
|
|
1562
1583
|
"ap-southeast-2" : { },
|
|
1584
|
+
"ca-central-1" : { },
|
|
1563
1585
|
"eu-central-1" : { },
|
|
1586
|
+
"eu-north-1" : { },
|
|
1564
1587
|
"eu-west-1" : { },
|
|
1565
1588
|
"eu-west-2" : { },
|
|
1589
|
+
"eu-west-3" : { },
|
|
1590
|
+
"sa-east-1" : { },
|
|
1566
1591
|
"us-east-1" : { },
|
|
1567
1592
|
"us-east-2" : { },
|
|
1568
1593
|
"us-west-1" : { },
|
|
@@ -2016,6 +2041,9 @@
|
|
|
2016
2041
|
"lakeformation" : {
|
|
2017
2042
|
"endpoints" : {
|
|
2018
2043
|
"ap-northeast-1" : { },
|
|
2044
|
+
"ap-south-1" : { },
|
|
2045
|
+
"ap-southeast-1" : { },
|
|
2046
|
+
"ap-southeast-2" : { },
|
|
2019
2047
|
"eu-west-1" : { },
|
|
2020
2048
|
"us-east-1" : { },
|
|
2021
2049
|
"us-east-2" : { },
|
|
@@ -2414,6 +2442,64 @@
|
|
|
2414
2442
|
}
|
|
2415
2443
|
}
|
|
2416
2444
|
},
|
|
2445
|
+
"oidc" : {
|
|
2446
|
+
"endpoints" : {
|
|
2447
|
+
"ap-southeast-1" : {
|
|
2448
|
+
"credentialScope" : {
|
|
2449
|
+
"region" : "ap-southeast-1"
|
|
2450
|
+
},
|
|
2451
|
+
"hostname" : "oidc.ap-southeast-1.amazonaws.com"
|
|
2452
|
+
},
|
|
2453
|
+
"ap-southeast-2" : {
|
|
2454
|
+
"credentialScope" : {
|
|
2455
|
+
"region" : "ap-southeast-2"
|
|
2456
|
+
},
|
|
2457
|
+
"hostname" : "oidc.ap-southeast-2.amazonaws.com"
|
|
2458
|
+
},
|
|
2459
|
+
"ca-central-1" : {
|
|
2460
|
+
"credentialScope" : {
|
|
2461
|
+
"region" : "ca-central-1"
|
|
2462
|
+
},
|
|
2463
|
+
"hostname" : "oidc.ca-central-1.amazonaws.com"
|
|
2464
|
+
},
|
|
2465
|
+
"eu-central-1" : {
|
|
2466
|
+
"credentialScope" : {
|
|
2467
|
+
"region" : "eu-central-1"
|
|
2468
|
+
},
|
|
2469
|
+
"hostname" : "oidc.eu-central-1.amazonaws.com"
|
|
2470
|
+
},
|
|
2471
|
+
"eu-west-1" : {
|
|
2472
|
+
"credentialScope" : {
|
|
2473
|
+
"region" : "eu-west-1"
|
|
2474
|
+
},
|
|
2475
|
+
"hostname" : "oidc.eu-west-1.amazonaws.com"
|
|
2476
|
+
},
|
|
2477
|
+
"eu-west-2" : {
|
|
2478
|
+
"credentialScope" : {
|
|
2479
|
+
"region" : "eu-west-2"
|
|
2480
|
+
},
|
|
2481
|
+
"hostname" : "oidc.eu-west-2.amazonaws.com"
|
|
2482
|
+
},
|
|
2483
|
+
"us-east-1" : {
|
|
2484
|
+
"credentialScope" : {
|
|
2485
|
+
"region" : "us-east-1"
|
|
2486
|
+
},
|
|
2487
|
+
"hostname" : "oidc.us-east-1.amazonaws.com"
|
|
2488
|
+
},
|
|
2489
|
+
"us-east-2" : {
|
|
2490
|
+
"credentialScope" : {
|
|
2491
|
+
"region" : "us-east-2"
|
|
2492
|
+
},
|
|
2493
|
+
"hostname" : "oidc.us-east-2.amazonaws.com"
|
|
2494
|
+
},
|
|
2495
|
+
"us-west-2" : {
|
|
2496
|
+
"credentialScope" : {
|
|
2497
|
+
"region" : "us-west-2"
|
|
2498
|
+
},
|
|
2499
|
+
"hostname" : "oidc.us-west-2.amazonaws.com"
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2417
2503
|
"opsworks" : {
|
|
2418
2504
|
"endpoints" : {
|
|
2419
2505
|
"ap-northeast-1" : { },
|
|
@@ -2493,6 +2579,64 @@
|
|
|
2493
2579
|
"us-west-2" : { }
|
|
2494
2580
|
}
|
|
2495
2581
|
},
|
|
2582
|
+
"portal.sso" : {
|
|
2583
|
+
"endpoints" : {
|
|
2584
|
+
"ap-southeast-1" : {
|
|
2585
|
+
"credentialScope" : {
|
|
2586
|
+
"region" : "ap-southeast-1"
|
|
2587
|
+
},
|
|
2588
|
+
"hostname" : "portal.sso.ap-southeast-1.amazonaws.com"
|
|
2589
|
+
},
|
|
2590
|
+
"ap-southeast-2" : {
|
|
2591
|
+
"credentialScope" : {
|
|
2592
|
+
"region" : "ap-southeast-2"
|
|
2593
|
+
},
|
|
2594
|
+
"hostname" : "portal.sso.ap-southeast-2.amazonaws.com"
|
|
2595
|
+
},
|
|
2596
|
+
"ca-central-1" : {
|
|
2597
|
+
"credentialScope" : {
|
|
2598
|
+
"region" : "ca-central-1"
|
|
2599
|
+
},
|
|
2600
|
+
"hostname" : "portal.sso.ca-central-1.amazonaws.com"
|
|
2601
|
+
},
|
|
2602
|
+
"eu-central-1" : {
|
|
2603
|
+
"credentialScope" : {
|
|
2604
|
+
"region" : "eu-central-1"
|
|
2605
|
+
},
|
|
2606
|
+
"hostname" : "portal.sso.eu-central-1.amazonaws.com"
|
|
2607
|
+
},
|
|
2608
|
+
"eu-west-1" : {
|
|
2609
|
+
"credentialScope" : {
|
|
2610
|
+
"region" : "eu-west-1"
|
|
2611
|
+
},
|
|
2612
|
+
"hostname" : "portal.sso.eu-west-1.amazonaws.com"
|
|
2613
|
+
},
|
|
2614
|
+
"eu-west-2" : {
|
|
2615
|
+
"credentialScope" : {
|
|
2616
|
+
"region" : "eu-west-2"
|
|
2617
|
+
},
|
|
2618
|
+
"hostname" : "portal.sso.eu-west-2.amazonaws.com"
|
|
2619
|
+
},
|
|
2620
|
+
"us-east-1" : {
|
|
2621
|
+
"credentialScope" : {
|
|
2622
|
+
"region" : "us-east-1"
|
|
2623
|
+
},
|
|
2624
|
+
"hostname" : "portal.sso.us-east-1.amazonaws.com"
|
|
2625
|
+
},
|
|
2626
|
+
"us-east-2" : {
|
|
2627
|
+
"credentialScope" : {
|
|
2628
|
+
"region" : "us-east-2"
|
|
2629
|
+
},
|
|
2630
|
+
"hostname" : "portal.sso.us-east-2.amazonaws.com"
|
|
2631
|
+
},
|
|
2632
|
+
"us-west-2" : {
|
|
2633
|
+
"credentialScope" : {
|
|
2634
|
+
"region" : "us-west-2"
|
|
2635
|
+
},
|
|
2636
|
+
"hostname" : "portal.sso.us-west-2.amazonaws.com"
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2496
2640
|
"projects.iot1click" : {
|
|
2497
2641
|
"endpoints" : {
|
|
2498
2642
|
"ap-northeast-1" : { },
|
|
@@ -3559,6 +3703,7 @@
|
|
|
3559
3703
|
"protocols" : [ "https" ]
|
|
3560
3704
|
},
|
|
3561
3705
|
"endpoints" : {
|
|
3706
|
+
"ap-east-1" : { },
|
|
3562
3707
|
"ap-northeast-2" : { },
|
|
3563
3708
|
"ap-south-1" : { },
|
|
3564
3709
|
"ap-southeast-1" : { },
|
|
@@ -3568,6 +3713,7 @@
|
|
|
3568
3713
|
"eu-west-1" : { },
|
|
3569
3714
|
"eu-west-2" : { },
|
|
3570
3715
|
"eu-west-3" : { },
|
|
3716
|
+
"me-south-1" : { },
|
|
3571
3717
|
"sa-east-1" : { },
|
|
3572
3718
|
"us-east-1" : { },
|
|
3573
3719
|
"us-east-2" : { },
|
|
@@ -3859,6 +4005,11 @@
|
|
|
3859
4005
|
"cn-northwest-1" : { }
|
|
3860
4006
|
}
|
|
3861
4007
|
},
|
|
4008
|
+
"dax" : {
|
|
4009
|
+
"endpoints" : {
|
|
4010
|
+
"cn-northwest-1" : { }
|
|
4011
|
+
}
|
|
4012
|
+
},
|
|
3862
4013
|
"directconnect" : {
|
|
3863
4014
|
"endpoints" : {
|
|
3864
4015
|
"cn-north-1" : { },
|
|
@@ -4204,6 +4355,11 @@
|
|
|
4204
4355
|
"hostname" : "cn.transcribe.cn-northwest-1.amazonaws.com.cn"
|
|
4205
4356
|
}
|
|
4206
4357
|
}
|
|
4358
|
+
},
|
|
4359
|
+
"workspaces" : {
|
|
4360
|
+
"endpoints" : {
|
|
4361
|
+
"cn-northwest-1" : { }
|
|
4362
|
+
}
|
|
4207
4363
|
}
|
|
4208
4364
|
}
|
|
4209
4365
|
}, {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-partitions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.240.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Provides interfaces to enumerate AWS partitions, regions, and services.
|
|
14
14
|
email:
|