Skip to content

Commit 725b0a9

Browse files
author
AWS
committed
Amazon DevOps Guru Update: Remove incorrect endpoint tests
1 parent 41a45ca commit 725b0a9

File tree

4 files changed

+39
-85
lines changed

4 files changed

+39
-85
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": "Amazon DevOps Guru",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

services/devopsguru/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": [],
@@ -231,14 +227,16 @@
231227
},
232228
"type": "endpoint"
233229
}
234-
]
230+
],
231+
"type": "tree"
235232
},
236233
{
237234
"conditions": [],
238235
"error": "FIPS is enabled but this partition does not support FIPS",
239236
"type": "error"
240237
}
241-
]
238+
],
239+
"type": "tree"
242240
},
243241
{
244242
"conditions": [
@@ -252,7 +250,6 @@
252250
]
253251
}
254252
],
255-
"type": "tree",
256253
"rules": [
257254
{
258255
"conditions": [
@@ -272,7 +269,6 @@
272269
]
273270
}
274271
],
275-
"type": "tree",
276272
"rules": [
277273
{
278274
"conditions": [],
@@ -283,14 +279,16 @@
283279
},
284280
"type": "endpoint"
285281
}
286-
]
282+
],
283+
"type": "tree"
287284
},
288285
{
289286
"conditions": [],
290287
"error": "DualStack is enabled but this partition does not support DualStack",
291288
"type": "error"
292289
}
293-
]
290+
],
291+
"type": "tree"
294292
},
295293
{
296294
"conditions": [],
@@ -301,9 +299,11 @@
301299
},
302300
"type": "endpoint"
303301
}
304-
]
302+
],
303+
"type": "tree"
305304
}
306-
]
305+
],
306+
"type": "tree"
307307
},
308308
{
309309
"conditions": [],

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -286,17 +286,6 @@
286286
"UseDualStack": false
287287
}
288288
},
289-
{
290-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
291-
"expect": {
292-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
293-
},
294-
"params": {
295-
"Region": "us-iso-east-1",
296-
"UseFIPS": true,
297-
"UseDualStack": true
298-
}
299-
},
300289
{
301290
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
302291
"expect": {
@@ -310,17 +299,6 @@
310299
"UseDualStack": false
311300
}
312301
},
313-
{
314-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
315-
"expect": {
316-
"error": "DualStack is enabled but this partition does not support DualStack"
317-
},
318-
"params": {
319-
"Region": "us-iso-east-1",
320-
"UseFIPS": false,
321-
"UseDualStack": true
322-
}
323-
},
324302
{
325303
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
326304
"expect": {
@@ -334,17 +312,6 @@
334312
"UseDualStack": false
335313
}
336314
},
337-
{
338-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
339-
"expect": {
340-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
341-
},
342-
"params": {
343-
"Region": "us-isob-east-1",
344-
"UseFIPS": true,
345-
"UseDualStack": true
346-
}
347-
},
348315
{
349316
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
350317
"expect": {
@@ -358,17 +325,6 @@
358325
"UseDualStack": false
359326
}
360327
},
361-
{
362-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
363-
"expect": {
364-
"error": "DualStack is enabled but this partition does not support DualStack"
365-
},
366-
"params": {
367-
"Region": "us-isob-east-1",
368-
"UseFIPS": false,
369-
"UseDualStack": true
370-
}
371-
},
372328
{
373329
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
374330
"expect": {

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

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"devops-guru",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"Amazon DevOps Guru",
910
"serviceId":"DevOps Guru",
1011
"signatureVersion":"v4",
1112
"signingName":"devops-guru",
12-
"uid":"devops-guru-2020-12-01"
13+
"uid":"devops-guru-2020-12-01",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"AddNotificationChannel":{
@@ -1055,13 +1057,11 @@
10551057
},
10561058
"DeleteInsightResponse":{
10571059
"type":"structure",
1058-
"members":{
1059-
}
1060+
"members":{}
10601061
},
10611062
"DescribeAccountHealthRequest":{
10621063
"type":"structure",
1063-
"members":{
1064-
}
1064+
"members":{}
10651065
},
10661066
"DescribeAccountHealthResponse":{
10671067
"type":"structure",
@@ -1163,8 +1163,7 @@
11631163
},
11641164
"DescribeEventSourcesConfigRequest":{
11651165
"type":"structure",
1166-
"members":{
1167-
}
1166+
"members":{}
11681167
},
11691168
"DescribeEventSourcesConfigResponse":{
11701169
"type":"structure",
@@ -1392,8 +1391,7 @@
13921391
},
13931392
"DescribeServiceIntegrationRequest":{
13941393
"type":"structure",
1395-
"members":{
1396-
}
1394+
"members":{}
13971395
},
13981396
"DescribeServiceIntegrationResponse":{
13991397
"type":"structure",
@@ -2939,8 +2937,7 @@
29392937
},
29402938
"PutFeedbackResponse":{
29412939
"type":"structure",
2942-
"members":{
2943-
}
2940+
"members":{}
29442941
},
29452942
"ReactiveAnomalies":{
29462943
"type":"list",
@@ -3329,8 +3326,7 @@
33293326
},
33303327
"RemoveNotificationChannelResponse":{
33313328
"type":"structure",
3332-
"members":{
3333-
}
3329+
"members":{}
33343330
},
33353331
"ResourceArn":{
33363332
"type":"string",
@@ -3781,8 +3777,7 @@
37813777
},
37823778
"StartCostEstimationResponse":{
37833779
"type":"structure",
3784-
"members":{
3785-
}
3780+
"members":{}
37863781
},
37873782
"StartTimeRange":{
37883783
"type":"structure",
@@ -3970,8 +3965,7 @@
39703965
},
39713966
"UpdateEventSourcesConfigResponse":{
39723967
"type":"structure",
3973-
"members":{
3974-
}
3968+
"members":{}
39753969
},
39763970
"UpdateResourceCollectionAction":{
39773971
"type":"string",
@@ -4010,8 +4004,7 @@
40104004
},
40114005
"UpdateResourceCollectionResponse":{
40124006
"type":"structure",
4013-
"members":{
4014-
}
4007+
"members":{}
40154008
},
40164009
"UpdateServiceIntegrationConfig":{
40174010
"type":"structure",
@@ -4040,8 +4033,7 @@
40404033
},
40414034
"UpdateServiceIntegrationResponse":{
40424035
"type":"structure",
4043-
"members":{
4044-
}
4036+
"members":{}
40454037
},
40464038
"UpdateStackNames":{
40474039
"type":"list",

0 commit comments

Comments
 (0)