aws-partitions 1.234.0 → 1.239.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 +172 -2
- 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: 4c2955d254cdff4a90f5a656dd69c984b54b21d0
|
|
4
|
+
data.tar.gz: 4659969803d11521b729519def50eef5396c057c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05076d220d5e6ee7412260354353c182d87772e6c4bc4be7b422543b07e3f852c20c26e6eb79a930b102158aba0e323ff53a7ce474dcbcb9ea45d0235ff90e03
|
|
7
|
+
data.tar.gz: 3e84be0b9621d87ab0f8fb94c61413e6ff89f4b0157a81a084a84ba1f2723323e531d3ad5dc8685f84050b601427b8f74321b5050ce4edd4985ea88eeb40236d
|
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" : { },
|
|
@@ -418,8 +419,11 @@
|
|
|
418
419
|
"eu-north-1" : { },
|
|
419
420
|
"eu-west-1" : { },
|
|
420
421
|
"eu-west-2" : { },
|
|
422
|
+
"eu-west-3" : { },
|
|
423
|
+
"me-south-1" : { },
|
|
421
424
|
"us-east-1" : { },
|
|
422
425
|
"us-east-2" : { },
|
|
426
|
+
"us-west-1" : { },
|
|
423
427
|
"us-west-2" : { }
|
|
424
428
|
}
|
|
425
429
|
},
|
|
@@ -998,6 +1002,21 @@
|
|
|
998
1002
|
"us-west-2" : { }
|
|
999
1003
|
}
|
|
1000
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
|
+
},
|
|
1001
1020
|
"datapipeline" : {
|
|
1002
1021
|
"endpoints" : {
|
|
1003
1022
|
"ap-northeast-1" : { },
|
|
@@ -1057,6 +1076,8 @@
|
|
|
1057
1076
|
"ap-southeast-2" : { },
|
|
1058
1077
|
"eu-central-1" : { },
|
|
1059
1078
|
"eu-west-1" : { },
|
|
1079
|
+
"eu-west-2" : { },
|
|
1080
|
+
"eu-west-3" : { },
|
|
1060
1081
|
"sa-east-1" : { },
|
|
1061
1082
|
"us-east-1" : { },
|
|
1062
1083
|
"us-east-2" : { },
|
|
@@ -1542,6 +1563,7 @@
|
|
|
1542
1563
|
"eu-west-1" : { },
|
|
1543
1564
|
"eu-west-2" : { },
|
|
1544
1565
|
"eu-west-3" : { },
|
|
1566
|
+
"me-south-1" : { },
|
|
1545
1567
|
"sa-east-1" : { },
|
|
1546
1568
|
"us-east-1" : { },
|
|
1547
1569
|
"us-east-2" : { },
|
|
@@ -2014,6 +2036,9 @@
|
|
|
2014
2036
|
"lakeformation" : {
|
|
2015
2037
|
"endpoints" : {
|
|
2016
2038
|
"ap-northeast-1" : { },
|
|
2039
|
+
"ap-south-1" : { },
|
|
2040
|
+
"ap-southeast-1" : { },
|
|
2041
|
+
"ap-southeast-2" : { },
|
|
2017
2042
|
"eu-west-1" : { },
|
|
2018
2043
|
"us-east-1" : { },
|
|
2019
2044
|
"us-east-2" : { },
|
|
@@ -2412,6 +2437,64 @@
|
|
|
2412
2437
|
}
|
|
2413
2438
|
}
|
|
2414
2439
|
},
|
|
2440
|
+
"oidc" : {
|
|
2441
|
+
"endpoints" : {
|
|
2442
|
+
"ap-southeast-1" : {
|
|
2443
|
+
"credentialScope" : {
|
|
2444
|
+
"region" : "ap-southeast-1"
|
|
2445
|
+
},
|
|
2446
|
+
"hostname" : "oidc.ap-southeast-1.amazonaws.com"
|
|
2447
|
+
},
|
|
2448
|
+
"ap-southeast-2" : {
|
|
2449
|
+
"credentialScope" : {
|
|
2450
|
+
"region" : "ap-southeast-2"
|
|
2451
|
+
},
|
|
2452
|
+
"hostname" : "oidc.ap-southeast-2.amazonaws.com"
|
|
2453
|
+
},
|
|
2454
|
+
"ca-central-1" : {
|
|
2455
|
+
"credentialScope" : {
|
|
2456
|
+
"region" : "ca-central-1"
|
|
2457
|
+
},
|
|
2458
|
+
"hostname" : "oidc.ca-central-1.amazonaws.com"
|
|
2459
|
+
},
|
|
2460
|
+
"eu-central-1" : {
|
|
2461
|
+
"credentialScope" : {
|
|
2462
|
+
"region" : "eu-central-1"
|
|
2463
|
+
},
|
|
2464
|
+
"hostname" : "oidc.eu-central-1.amazonaws.com"
|
|
2465
|
+
},
|
|
2466
|
+
"eu-west-1" : {
|
|
2467
|
+
"credentialScope" : {
|
|
2468
|
+
"region" : "eu-west-1"
|
|
2469
|
+
},
|
|
2470
|
+
"hostname" : "oidc.eu-west-1.amazonaws.com"
|
|
2471
|
+
},
|
|
2472
|
+
"eu-west-2" : {
|
|
2473
|
+
"credentialScope" : {
|
|
2474
|
+
"region" : "eu-west-2"
|
|
2475
|
+
},
|
|
2476
|
+
"hostname" : "oidc.eu-west-2.amazonaws.com"
|
|
2477
|
+
},
|
|
2478
|
+
"us-east-1" : {
|
|
2479
|
+
"credentialScope" : {
|
|
2480
|
+
"region" : "us-east-1"
|
|
2481
|
+
},
|
|
2482
|
+
"hostname" : "oidc.us-east-1.amazonaws.com"
|
|
2483
|
+
},
|
|
2484
|
+
"us-east-2" : {
|
|
2485
|
+
"credentialScope" : {
|
|
2486
|
+
"region" : "us-east-2"
|
|
2487
|
+
},
|
|
2488
|
+
"hostname" : "oidc.us-east-2.amazonaws.com"
|
|
2489
|
+
},
|
|
2490
|
+
"us-west-2" : {
|
|
2491
|
+
"credentialScope" : {
|
|
2492
|
+
"region" : "us-west-2"
|
|
2493
|
+
},
|
|
2494
|
+
"hostname" : "oidc.us-west-2.amazonaws.com"
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
},
|
|
2415
2498
|
"opsworks" : {
|
|
2416
2499
|
"endpoints" : {
|
|
2417
2500
|
"ap-northeast-1" : { },
|
|
@@ -2491,6 +2574,64 @@
|
|
|
2491
2574
|
"us-west-2" : { }
|
|
2492
2575
|
}
|
|
2493
2576
|
},
|
|
2577
|
+
"portal.sso" : {
|
|
2578
|
+
"endpoints" : {
|
|
2579
|
+
"ap-southeast-1" : {
|
|
2580
|
+
"credentialScope" : {
|
|
2581
|
+
"region" : "ap-southeast-1"
|
|
2582
|
+
},
|
|
2583
|
+
"hostname" : "portal.sso.ap-southeast-1.amazonaws.com"
|
|
2584
|
+
},
|
|
2585
|
+
"ap-southeast-2" : {
|
|
2586
|
+
"credentialScope" : {
|
|
2587
|
+
"region" : "ap-southeast-2"
|
|
2588
|
+
},
|
|
2589
|
+
"hostname" : "portal.sso.ap-southeast-2.amazonaws.com"
|
|
2590
|
+
},
|
|
2591
|
+
"ca-central-1" : {
|
|
2592
|
+
"credentialScope" : {
|
|
2593
|
+
"region" : "ca-central-1"
|
|
2594
|
+
},
|
|
2595
|
+
"hostname" : "portal.sso.ca-central-1.amazonaws.com"
|
|
2596
|
+
},
|
|
2597
|
+
"eu-central-1" : {
|
|
2598
|
+
"credentialScope" : {
|
|
2599
|
+
"region" : "eu-central-1"
|
|
2600
|
+
},
|
|
2601
|
+
"hostname" : "portal.sso.eu-central-1.amazonaws.com"
|
|
2602
|
+
},
|
|
2603
|
+
"eu-west-1" : {
|
|
2604
|
+
"credentialScope" : {
|
|
2605
|
+
"region" : "eu-west-1"
|
|
2606
|
+
},
|
|
2607
|
+
"hostname" : "portal.sso.eu-west-1.amazonaws.com"
|
|
2608
|
+
},
|
|
2609
|
+
"eu-west-2" : {
|
|
2610
|
+
"credentialScope" : {
|
|
2611
|
+
"region" : "eu-west-2"
|
|
2612
|
+
},
|
|
2613
|
+
"hostname" : "portal.sso.eu-west-2.amazonaws.com"
|
|
2614
|
+
},
|
|
2615
|
+
"us-east-1" : {
|
|
2616
|
+
"credentialScope" : {
|
|
2617
|
+
"region" : "us-east-1"
|
|
2618
|
+
},
|
|
2619
|
+
"hostname" : "portal.sso.us-east-1.amazonaws.com"
|
|
2620
|
+
},
|
|
2621
|
+
"us-east-2" : {
|
|
2622
|
+
"credentialScope" : {
|
|
2623
|
+
"region" : "us-east-2"
|
|
2624
|
+
},
|
|
2625
|
+
"hostname" : "portal.sso.us-east-2.amazonaws.com"
|
|
2626
|
+
},
|
|
2627
|
+
"us-west-2" : {
|
|
2628
|
+
"credentialScope" : {
|
|
2629
|
+
"region" : "us-west-2"
|
|
2630
|
+
},
|
|
2631
|
+
"hostname" : "portal.sso.us-west-2.amazonaws.com"
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2494
2635
|
"projects.iot1click" : {
|
|
2495
2636
|
"endpoints" : {
|
|
2496
2637
|
"ap-northeast-1" : { },
|
|
@@ -2952,6 +3093,18 @@
|
|
|
2952
3093
|
}
|
|
2953
3094
|
}
|
|
2954
3095
|
},
|
|
3096
|
+
"savingsplans" : {
|
|
3097
|
+
"endpoints" : {
|
|
3098
|
+
"aws-global" : {
|
|
3099
|
+
"credentialScope" : {
|
|
3100
|
+
"region" : "us-east-1"
|
|
3101
|
+
},
|
|
3102
|
+
"hostname" : "savingsplans.amazonaws.com"
|
|
3103
|
+
}
|
|
3104
|
+
},
|
|
3105
|
+
"isRegionalized" : false,
|
|
3106
|
+
"partitionEndpoint" : "aws-global"
|
|
3107
|
+
},
|
|
2955
3108
|
"sdb" : {
|
|
2956
3109
|
"defaults" : {
|
|
2957
3110
|
"protocols" : [ "http", "https" ],
|
|
@@ -3177,10 +3330,25 @@
|
|
|
3177
3330
|
"shield" : {
|
|
3178
3331
|
"defaults" : {
|
|
3179
3332
|
"protocols" : [ "https" ],
|
|
3180
|
-
"sslCommonName" : "shield.
|
|
3333
|
+
"sslCommonName" : "shield.ca-central-1.amazonaws.com"
|
|
3181
3334
|
},
|
|
3182
3335
|
"endpoints" : {
|
|
3183
|
-
"
|
|
3336
|
+
"ap-northeast-1" : { },
|
|
3337
|
+
"ap-northeast-2" : { },
|
|
3338
|
+
"ap-south-1" : { },
|
|
3339
|
+
"ap-southeast-1" : { },
|
|
3340
|
+
"ap-southeast-2" : { },
|
|
3341
|
+
"ca-central-1" : { },
|
|
3342
|
+
"eu-central-1" : { },
|
|
3343
|
+
"eu-north-1" : { },
|
|
3344
|
+
"eu-west-1" : { },
|
|
3345
|
+
"eu-west-2" : { },
|
|
3346
|
+
"eu-west-3" : { },
|
|
3347
|
+
"sa-east-1" : { },
|
|
3348
|
+
"us-east-1" : { },
|
|
3349
|
+
"us-east-2" : { },
|
|
3350
|
+
"us-west-1" : { },
|
|
3351
|
+
"us-west-2" : { }
|
|
3184
3352
|
},
|
|
3185
3353
|
"isRegionalized" : false
|
|
3186
3354
|
},
|
|
@@ -3545,6 +3713,7 @@
|
|
|
3545
3713
|
"protocols" : [ "https" ]
|
|
3546
3714
|
},
|
|
3547
3715
|
"endpoints" : {
|
|
3716
|
+
"ap-east-1" : { },
|
|
3548
3717
|
"ap-northeast-2" : { },
|
|
3549
3718
|
"ap-south-1" : { },
|
|
3550
3719
|
"ap-southeast-1" : { },
|
|
@@ -3554,6 +3723,7 @@
|
|
|
3554
3723
|
"eu-west-1" : { },
|
|
3555
3724
|
"eu-west-2" : { },
|
|
3556
3725
|
"eu-west-3" : { },
|
|
3726
|
+
"me-south-1" : { },
|
|
3557
3727
|
"sa-east-1" : { },
|
|
3558
3728
|
"us-east-1" : { },
|
|
3559
3729
|
"us-east-2" : { },
|
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.239.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-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Provides interfaces to enumerate AWS partitions, regions, and services.
|
|
14
14
|
email:
|