Skip to content

Commit 7385e38

Browse files
author
AWS
committed
AWS IoT Events Data Update: Remove incorrect endpoint tests
1 parent 089dcfa commit 7385e38

File tree

5 files changed

+30
-67
lines changed

5 files changed

+30
-67
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 IoT Events Data",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,6 @@
156156
"UseDualStack": false
157157
}
158158
},
159-
{
160-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
161-
"expect": {
162-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
163-
},
164-
"params": {
165-
"Region": "us-iso-east-1",
166-
"UseFIPS": true,
167-
"UseDualStack": true
168-
}
169-
},
170159
{
171160
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
172161
"expect": {
@@ -180,17 +169,6 @@
180169
"UseDualStack": false
181170
}
182171
},
183-
{
184-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
185-
"expect": {
186-
"error": "DualStack is enabled but this partition does not support DualStack"
187-
},
188-
"params": {
189-
"Region": "us-iso-east-1",
190-
"UseFIPS": false,
191-
"UseDualStack": true
192-
}
193-
},
194172
{
195173
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
196174
"expect": {
@@ -204,17 +182,6 @@
204182
"UseDualStack": false
205183
}
206184
},
207-
{
208-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
209-
"expect": {
210-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
211-
},
212-
"params": {
213-
"Region": "us-isob-east-1",
214-
"UseFIPS": true,
215-
"UseDualStack": true
216-
}
217-
},
218185
{
219186
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
220187
"expect": {
@@ -228,17 +195,6 @@
228195
"UseDualStack": false
229196
}
230197
},
231-
{
232-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
233-
"expect": {
234-
"error": "DualStack is enabled but this partition does not support DualStack"
235-
},
236-
"params": {
237-
"Region": "us-isob-east-1",
238-
"UseFIPS": false,
239-
"UseDualStack": true
240-
}
241-
},
242198
{
243199
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
244200
"expect": {
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"pagination": {
3-
}
2+
"pagination": {}
43
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"apiVersion":"2018-10-23",
55
"endpointPrefix":"data.iotevents",
66
"protocol":"rest-json",
7+
"protocols":["rest-json"],
78
"serviceFullName":"AWS IoT Events Data",
89
"serviceId":"IoT Events Data",
910
"signatureVersion":"v4",
1011
"signingName":"ioteventsdata",
11-
"uid":"iotevents-data-2018-10-23"
12+
"uid":"iotevents-data-2018-10-23",
13+
"auth":["aws.auth#sigv4"]
1214
},
1315
"operations":{
1416
"BatchAcknowledgeAlarm":{

0 commit comments

Comments
 (0)