Skip to content

Commit 48e9cc8

Browse files
author
AWS
committed
AWS Glue DataBrew Update: Remove incorrect endpoint tests
1 parent cd94fb6 commit 48e9cc8

File tree

4 files changed

+31
-69
lines changed

4 files changed

+31
-69
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 Glue DataBrew",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

services/databrew/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": [
@@ -133,7 +131,6 @@
133131
]
134132
}
135133
],
136-
"type": "tree",
137134
"rules": [
138135
{
139136
"conditions": [
@@ -168,7 +165,6 @@
168165
]
169166
}
170167
],
171-
"type": "tree",
172168
"rules": [
173169
{
174170
"conditions": [],
@@ -179,14 +175,16 @@
179175
},
180176
"type": "endpoint"
181177
}
182-
]
178+
],
179+
"type": "tree"
183180
},
184181
{
185182
"conditions": [],
186183
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
187184
"type": "error"
188185
}
189-
]
186+
],
187+
"type": "tree"
190188
},
191189
{
192190
"conditions": [
@@ -200,14 +198,12 @@
200198
]
201199
}
202200
],
203-
"type": "tree",
204201
"rules": [
205202
{
206203
"conditions": [
207204
{
208205
"fn": "booleanEquals",
209206
"argv": [
210-
true,
211207
{
212208
"fn": "getAttr",
213209
"argv": [
@@ -216,11 +212,11 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [
@@ -250,14 +246,16 @@
250246
},
251247
"type": "endpoint"
252248
}
253-
]
249+
],
250+
"type": "tree"
254251
},
255252
{
256253
"conditions": [],
257254
"error": "FIPS is enabled but this partition does not support FIPS",
258255
"type": "error"
259256
}
260-
]
257+
],
258+
"type": "tree"
261259
},
262260
{
263261
"conditions": [
@@ -271,7 +269,6 @@
271269
]
272270
}
273271
],
274-
"type": "tree",
275272
"rules": [
276273
{
277274
"conditions": [
@@ -291,7 +288,6 @@
291288
]
292289
}
293290
],
294-
"type": "tree",
295291
"rules": [
296292
{
297293
"conditions": [],
@@ -302,14 +298,16 @@
302298
},
303299
"type": "endpoint"
304300
}
305-
]
301+
],
302+
"type": "tree"
306303
},
307304
{
308305
"conditions": [],
309306
"error": "DualStack is enabled but this partition does not support DualStack",
310307
"type": "error"
311308
}
312-
]
309+
],
310+
"type": "tree"
313311
},
314312
{
315313
"conditions": [],
@@ -320,9 +318,11 @@
320318
},
321319
"type": "endpoint"
322320
}
323-
]
321+
],
322+
"type": "tree"
324323
}
325-
]
324+
],
325+
"type": "tree"
326326
},
327327
{
328328
"conditions": [],

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -429,17 +429,6 @@
429429
"UseDualStack": false
430430
}
431431
},
432-
{
433-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
434-
"expect": {
435-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
436-
},
437-
"params": {
438-
"Region": "us-iso-east-1",
439-
"UseFIPS": true,
440-
"UseDualStack": true
441-
}
442-
},
443432
{
444433
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
445434
"expect": {
@@ -453,17 +442,6 @@
453442
"UseDualStack": false
454443
}
455444
},
456-
{
457-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
458-
"expect": {
459-
"error": "DualStack is enabled but this partition does not support DualStack"
460-
},
461-
"params": {
462-
"Region": "us-iso-east-1",
463-
"UseFIPS": false,
464-
"UseDualStack": true
465-
}
466-
},
467445
{
468446
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
469447
"expect": {
@@ -477,17 +455,6 @@
477455
"UseDualStack": false
478456
}
479457
},
480-
{
481-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
482-
"expect": {
483-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
484-
},
485-
"params": {
486-
"Region": "us-isob-east-1",
487-
"UseFIPS": true,
488-
"UseDualStack": true
489-
}
490-
},
491458
{
492459
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
493460
"expect": {
@@ -501,17 +468,6 @@
501468
"UseDualStack": false
502469
}
503470
},
504-
{
505-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
506-
"expect": {
507-
"error": "DualStack is enabled but this partition does not support DualStack"
508-
},
509-
"params": {
510-
"Region": "us-isob-east-1",
511-
"UseFIPS": false,
512-
"UseDualStack": true
513-
}
514-
},
515471
{
516472
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
517473
"expect": {

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"databrew",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"AWS Glue DataBrew",
910
"serviceId":"DataBrew",
1011
"signatureVersion":"v4",
1112
"signingName":"databrew",
12-
"uid":"databrew-2017-07-25"
13+
"uid":"databrew-2017-07-25",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"BatchDeleteRecipeVersion":{
@@ -3943,8 +3945,7 @@
39433945
},
39443946
"TagResourceResponse":{
39453947
"type":"structure",
3946-
"members":{
3947-
}
3948+
"members":{}
39483949
},
39493950
"TagValue":{
39503951
"type":"string",
@@ -4027,8 +4028,7 @@
40274028
},
40284029
"UntagResourceResponse":{
40294030
"type":"structure",
4030-
"members":{
4031-
}
4031+
"members":{}
40324032
},
40334033
"UpdateDatasetRequest":{
40344034
"type":"structure",

0 commit comments

Comments
 (0)