Skip to content

Commit 587a65d

Browse files
author
AWS
committed
AWS Shield Update: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
1 parent 6b1fd25 commit 587a65d

File tree

3 files changed

+29
-21
lines changed

3 files changed

+29
-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 Shield",
4+
"contributor": "",
5+
"description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing."
6+
}

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

Lines changed: 20 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": [
@@ -235,7 +233,6 @@
235233
]
236234
}
237235
],
238-
"type": "tree",
239236
"rules": [
240237
{
241238
"conditions": [
@@ -270,7 +267,6 @@
270267
]
271268
}
272269
],
273-
"type": "tree",
274270
"rules": [
275271
{
276272
"conditions": [],
@@ -281,14 +277,16 @@
281277
},
282278
"type": "endpoint"
283279
}
284-
]
280+
],
281+
"type": "tree"
285282
},
286283
{
287284
"conditions": [],
288285
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
289286
"type": "error"
290287
}
291-
]
288+
],
289+
"type": "tree"
292290
},
293291
{
294292
"conditions": [
@@ -302,14 +300,12 @@
302300
]
303301
}
304302
],
305-
"type": "tree",
306303
"rules": [
307304
{
308305
"conditions": [
309306
{
310307
"fn": "booleanEquals",
311308
"argv": [
312-
true,
313309
{
314310
"fn": "getAttr",
315311
"argv": [
@@ -318,11 +314,11 @@
318314
},
319315
"supportsFIPS"
320316
]
321-
}
317+
},
318+
true
322319
]
323320
}
324321
],
325-
"type": "tree",
326322
"rules": [
327323
{
328324
"conditions": [],
@@ -333,14 +329,16 @@
333329
},
334330
"type": "endpoint"
335331
}
336-
]
332+
],
333+
"type": "tree"
337334
},
338335
{
339336
"conditions": [],
340337
"error": "FIPS is enabled but this partition does not support FIPS",
341338
"type": "error"
342339
}
343-
]
340+
],
341+
"type": "tree"
344342
},
345343
{
346344
"conditions": [
@@ -354,7 +352,6 @@
354352
]
355353
}
356354
],
357-
"type": "tree",
358355
"rules": [
359356
{
360357
"conditions": [
@@ -374,7 +371,6 @@
374371
]
375372
}
376373
],
377-
"type": "tree",
378374
"rules": [
379375
{
380376
"conditions": [],
@@ -385,14 +381,16 @@
385381
},
386382
"type": "endpoint"
387383
}
388-
]
384+
],
385+
"type": "tree"
389386
},
390387
{
391388
"conditions": [],
392389
"error": "DualStack is enabled but this partition does not support DualStack",
393390
"type": "error"
394391
}
395-
]
392+
],
393+
"type": "tree"
396394
},
397395
{
398396
"conditions": [],
@@ -403,9 +401,11 @@
403401
},
404402
"type": "endpoint"
405403
}
406-
]
404+
],
405+
"type": "tree"
407406
}
408-
]
407+
],
408+
"type": "tree"
409409
},
410410
{
411411
"conditions": [],

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"shield",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceAbbreviation":"AWS Shield",
910
"serviceFullName":"AWS Shield",
1011
"serviceId":"Shield",
1112
"signatureVersion":"v4",
1213
"targetPrefix":"AWSShield_20160616",
13-
"uid":"shield-2016-06-02"
14+
"uid":"shield-2016-06-02",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"AssociateDRTLogBucket":{

0 commit comments

Comments
 (0)