Skip to content

Commit 42c9a33

Browse files
author
AWS
committed
AWS Support Update: Releasing minor endpoint updates.
1 parent 80e1821 commit 42c9a33

File tree

4 files changed

+110
-21
lines changed

4 files changed

+110
-21
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Support",
4+
"contributor": "",
5+
"description": "Releasing minor endpoint updates."
6+
}

services/support/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 71 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -265,6 +263,57 @@
265263
},
266264
"type": "endpoint"
267265
},
266+
{
267+
"conditions": [
268+
{
269+
"fn": "stringEquals",
270+
"argv": [
271+
{
272+
"fn": "getAttr",
273+
"argv": [
274+
{
275+
"ref": "PartitionResult"
276+
},
277+
"name"
278+
]
279+
},
280+
"aws-us-gov"
281+
]
282+
},
283+
{
284+
"fn": "booleanEquals",
285+
"argv": [
286+
{
287+
"ref": "UseFIPS"
288+
},
289+
true
290+
]
291+
},
292+
{
293+
"fn": "booleanEquals",
294+
"argv": [
295+
{
296+
"ref": "UseDualStack"
297+
},
298+
false
299+
]
300+
}
301+
],
302+
"endpoint": {
303+
"url": "https://support.us-gov-west-1.amazonaws.com",
304+
"properties": {
305+
"authSchemes": [
306+
{
307+
"name": "sigv4",
308+
"signingName": "support",
309+
"signingRegion": "us-gov-west-1"
310+
}
311+
]
312+
},
313+
"headers": {}
314+
},
315+
"type": "endpoint"
316+
},
268317
{
269318
"conditions": [
270319
{
@@ -388,7 +437,6 @@
388437
]
389438
}
390439
],
391-
"type": "tree",
392440
"rules": [
393441
{
394442
"conditions": [
@@ -423,7 +471,6 @@
423471
]
424472
}
425473
],
426-
"type": "tree",
427474
"rules": [
428475
{
429476
"conditions": [],
@@ -434,14 +481,16 @@
434481
},
435482
"type": "endpoint"
436483
}
437-
]
484+
],
485+
"type": "tree"
438486
},
439487
{
440488
"conditions": [],
441489
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
442490
"type": "error"
443491
}
444-
]
492+
],
493+
"type": "tree"
445494
},
446495
{
447496
"conditions": [
@@ -455,14 +504,12 @@
455504
]
456505
}
457506
],
458-
"type": "tree",
459507
"rules": [
460508
{
461509
"conditions": [
462510
{
463511
"fn": "booleanEquals",
464512
"argv": [
465-
true,
466513
{
467514
"fn": "getAttr",
468515
"argv": [
@@ -471,11 +518,11 @@
471518
},
472519
"supportsFIPS"
473520
]
474-
}
521+
},
522+
true
475523
]
476524
}
477525
],
478-
"type": "tree",
479526
"rules": [
480527
{
481528
"conditions": [],
@@ -486,14 +533,16 @@
486533
},
487534
"type": "endpoint"
488535
}
489-
]
536+
],
537+
"type": "tree"
490538
},
491539
{
492540
"conditions": [],
493541
"error": "FIPS is enabled but this partition does not support FIPS",
494542
"type": "error"
495543
}
496-
]
544+
],
545+
"type": "tree"
497546
},
498547
{
499548
"conditions": [
@@ -507,7 +556,6 @@
507556
]
508557
}
509558
],
510-
"type": "tree",
511559
"rules": [
512560
{
513561
"conditions": [
@@ -527,7 +575,6 @@
527575
]
528576
}
529577
],
530-
"type": "tree",
531578
"rules": [
532579
{
533580
"conditions": [],
@@ -538,14 +585,16 @@
538585
},
539586
"type": "endpoint"
540587
}
541-
]
588+
],
589+
"type": "tree"
542590
},
543591
{
544592
"conditions": [],
545593
"error": "DualStack is enabled but this partition does not support DualStack",
546594
"type": "error"
547595
}
548-
]
596+
],
597+
"type": "tree"
549598
},
550599
{
551600
"conditions": [],
@@ -556,9 +605,11 @@
556605
},
557606
"type": "endpoint"
558607
}
559-
]
608+
],
609+
"type": "tree"
560610
}
561-
]
611+
],
612+
"type": "tree"
562613
},
563614
{
564615
"conditions": [],

services/support/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,28 @@
188188
"UseDualStack": false
189189
}
190190
},
191+
{
192+
"documentation": "For region aws-us-gov-global with FIPS enabled and DualStack disabled",
193+
"expect": {
194+
"endpoint": {
195+
"properties": {
196+
"authSchemes": [
197+
{
198+
"name": "sigv4",
199+
"signingName": "support",
200+
"signingRegion": "us-gov-west-1"
201+
}
202+
]
203+
},
204+
"url": "https://support.us-gov-west-1.amazonaws.com"
205+
}
206+
},
207+
"params": {
208+
"Region": "aws-us-gov-global",
209+
"UseFIPS": true,
210+
"UseDualStack": false
211+
}
212+
},
191213
{
192214
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
193215
"expect": {
@@ -205,7 +227,16 @@
205227
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
206228
"expect": {
207229
"endpoint": {
208-
"url": "https://support-fips.us-gov-east-1.amazonaws.com"
230+
"properties": {
231+
"authSchemes": [
232+
{
233+
"name": "sigv4",
234+
"signingName": "support",
235+
"signingRegion": "us-gov-west-1"
236+
}
237+
]
238+
},
239+
"url": "https://support.us-gov-west-1.amazonaws.com"
209240
}
210241
},
211242
"params": {

services/support/src/main/resources/codegen-resources/service-2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"endpointPrefix":"support",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceFullName":"AWS Support",
910
"serviceId":"Support",
1011
"signatureVersion":"v4",

0 commit comments

Comments
 (0)