Skip to content

Commit 08766d9

Browse files
author
AWS
committed
Amazon Forecast Service Update: Remove incorrect endpoint tests
1 parent 7749b49 commit 08766d9

File tree

4 files changed

+32
-71
lines changed

4 files changed

+32
-71
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 Forecast Service",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -299,17 +299,6 @@
299299
"UseDualStack": false
300300
}
301301
},
302-
{
303-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
304-
"expect": {
305-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
306-
},
307-
"params": {
308-
"Region": "us-iso-east-1",
309-
"UseFIPS": true,
310-
"UseDualStack": true
311-
}
312-
},
313302
{
314303
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
315304
"expect": {
@@ -323,17 +312,6 @@
323312
"UseDualStack": false
324313
}
325314
},
326-
{
327-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
328-
"expect": {
329-
"error": "DualStack is enabled but this partition does not support DualStack"
330-
},
331-
"params": {
332-
"Region": "us-iso-east-1",
333-
"UseFIPS": false,
334-
"UseDualStack": true
335-
}
336-
},
337315
{
338316
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
339317
"expect": {
@@ -347,17 +325,6 @@
347325
"UseDualStack": false
348326
}
349327
},
350-
{
351-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
352-
"expect": {
353-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
354-
},
355-
"params": {
356-
"Region": "us-isob-east-1",
357-
"UseFIPS": true,
358-
"UseDualStack": true
359-
}
360-
},
361328
{
362329
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
363330
"expect": {
@@ -371,17 +338,6 @@
371338
"UseDualStack": false
372339
}
373340
},
374-
{
375-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
376-
"expect": {
377-
"error": "DualStack is enabled but this partition does not support DualStack"
378-
},
379-
"params": {
380-
"Region": "us-isob-east-1",
381-
"UseFIPS": false,
382-
"UseDualStack": true
383-
}
384-
},
385341
{
386342
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
387343
"expect": {

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"forecast",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceFullName":"Amazon Forecast Service",
910
"serviceId":"forecast",
1011
"signatureVersion":"v4",
1112
"signingName":"forecast",
1213
"targetPrefix":"AmazonForecast",
13-
"uid":"forecast-2018-06-26"
14+
"uid":"forecast-2018-06-26",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"CreateAutoPredictor":{
@@ -4678,8 +4680,7 @@
46784680
},
46794681
"TagResourceResponse":{
46804682
"type":"structure",
4681-
"members":{
4682-
}
4683+
"members":{}
46834684
},
46844685
"TagValue":{
46854686
"type":"string",
@@ -4895,8 +4896,7 @@
48954896
},
48964897
"UntagResourceResponse":{
48974898
"type":"structure",
4898-
"members":{
4899-
}
4899+
"members":{}
49004900
},
49014901
"UpdateDatasetGroupRequest":{
49024902
"type":"structure",
@@ -4917,8 +4917,7 @@
49174917
},
49184918
"UpdateDatasetGroupResponse":{
49194919
"type":"structure",
4920-
"members":{
4921-
}
4920+
"members":{}
49224921
},
49234922
"UseGeolocationForTimeZone":{"type":"boolean"},
49244923
"Value":{

0 commit comments

Comments
 (0)