Skip to content

Commit df0f5bf

Browse files
author
AWS
committed
Amazon Lookout for Metrics Update: Remove incorrect endpoint tests
1 parent 7385e38 commit df0f5bf

File tree

4 files changed

+37
-81
lines changed

4 files changed

+37
-81
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 Lookout for Metrics",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

services/lookoutmetrics/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/lookoutmetrics/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,6 @@
260260
"UseDualStack": false
261261
}
262262
},
263-
{
264-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
265-
"expect": {
266-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
267-
},
268-
"params": {
269-
"Region": "us-iso-east-1",
270-
"UseFIPS": true,
271-
"UseDualStack": true
272-
}
273-
},
274263
{
275264
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
276265
"expect": {
@@ -284,17 +273,6 @@
284273
"UseDualStack": false
285274
}
286275
},
287-
{
288-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
289-
"expect": {
290-
"error": "DualStack is enabled but this partition does not support DualStack"
291-
},
292-
"params": {
293-
"Region": "us-iso-east-1",
294-
"UseFIPS": false,
295-
"UseDualStack": true
296-
}
297-
},
298276
{
299277
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
300278
"expect": {
@@ -308,17 +286,6 @@
308286
"UseDualStack": false
309287
}
310288
},
311-
{
312-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
313-
"expect": {
314-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
315-
},
316-
"params": {
317-
"Region": "us-isob-east-1",
318-
"UseFIPS": true,
319-
"UseDualStack": true
320-
}
321-
},
322289
{
323290
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
324291
"expect": {
@@ -332,17 +299,6 @@
332299
"UseDualStack": false
333300
}
334301
},
335-
{
336-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
337-
"expect": {
338-
"error": "DualStack is enabled but this partition does not support DualStack"
339-
},
340-
"params": {
341-
"Region": "us-isob-east-1",
342-
"UseFIPS": false,
343-
"UseDualStack": true
344-
}
345-
},
346302
{
347303
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
348304
"expect": {

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

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"lookoutmetrics",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceAbbreviation":"LookoutMetrics",
910
"serviceFullName":"Amazon Lookout for Metrics",
1011
"serviceId":"LookoutMetrics",
1112
"signatureVersion":"v4",
1213
"signingName":"lookoutmetrics",
13-
"uid":"lookoutmetrics-2017-07-25"
14+
"uid":"lookoutmetrics-2017-07-25",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"ActivateAnomalyDetector":{
@@ -568,8 +570,7 @@
568570
},
569571
"ActivateAnomalyDetectorResponse":{
570572
"type":"structure",
571-
"members":{
572-
}
573+
"members":{}
573574
},
574575
"AggregationFunction":{
575576
"type":"string",
@@ -1106,8 +1107,7 @@
11061107
},
11071108
"BackTestAnomalyDetectorResponse":{
11081109
"type":"structure",
1109-
"members":{
1110-
}
1110+
"members":{}
11111111
},
11121112
"BackTestConfiguration":{
11131113
"type":"structure",
@@ -1454,8 +1454,7 @@
14541454
},
14551455
"DeactivateAnomalyDetectorResponse":{
14561456
"type":"structure",
1457-
"members":{
1458-
}
1457+
"members":{}
14591458
},
14601459
"DeleteAlertRequest":{
14611460
"type":"structure",
@@ -1469,8 +1468,7 @@
14691468
},
14701469
"DeleteAlertResponse":{
14711470
"type":"structure",
1472-
"members":{
1473-
}
1471+
"members":{}
14741472
},
14751473
"DeleteAnomalyDetectorRequest":{
14761474
"type":"structure",
@@ -1484,8 +1482,7 @@
14841482
},
14851483
"DeleteAnomalyDetectorResponse":{
14861484
"type":"structure",
1487-
"members":{
1488-
}
1485+
"members":{}
14891486
},
14901487
"Delimiter":{
14911488
"type":"string",
@@ -2702,8 +2699,7 @@
27022699
},
27032700
"PutFeedbackResponse":{
27042701
"type":"structure",
2705-
"members":{
2706-
}
2702+
"members":{}
27072703
},
27082704
"QuotaCode":{"type":"string"},
27092705
"QuoteSymbol":{
@@ -3036,8 +3032,7 @@
30363032
},
30373033
"TagResourceResponse":{
30383034
"type":"structure",
3039-
"members":{
3040-
}
3035+
"members":{}
30413036
},
30423037
"TagValue":{
30433038
"type":"string",
@@ -3171,8 +3166,7 @@
31713166
},
31723167
"UntagResourceResponse":{
31733168
"type":"structure",
3174-
"members":{
3175-
}
3169+
"members":{}
31763170
},
31773171
"UpdateAlertRequest":{
31783172
"type":"structure",

0 commit comments

Comments
 (0)