Skip to content

Commit b3726f3

Browse files
author
AWS
committed
AWS IoT Analytics Update: Remove incorrect endpoint tests
1 parent 28c6578 commit b3726f3

File tree

4 files changed

+38
-83
lines changed

4 files changed

+38
-83
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 Analytics",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -247,17 +247,6 @@
247247
"UseDualStack": false
248248
}
249249
},
250-
{
251-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
252-
"expect": {
253-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
254-
},
255-
"params": {
256-
"Region": "us-iso-east-1",
257-
"UseFIPS": true,
258-
"UseDualStack": true
259-
}
260-
},
261250
{
262251
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
263252
"expect": {
@@ -271,17 +260,6 @@
271260
"UseDualStack": false
272261
}
273262
},
274-
{
275-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
276-
"expect": {
277-
"error": "DualStack is enabled but this partition does not support DualStack"
278-
},
279-
"params": {
280-
"Region": "us-iso-east-1",
281-
"UseFIPS": false,
282-
"UseDualStack": true
283-
}
284-
},
285263
{
286264
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
287265
"expect": {
@@ -295,17 +273,6 @@
295273
"UseDualStack": false
296274
}
297275
},
298-
{
299-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
300-
"expect": {
301-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
302-
},
303-
"params": {
304-
"Region": "us-isob-east-1",
305-
"UseFIPS": true,
306-
"UseDualStack": true
307-
}
308-
},
309276
{
310277
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
311278
"expect": {
@@ -319,17 +286,6 @@
319286
"UseDualStack": false
320287
}
321288
},
322-
{
323-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
324-
"expect": {
325-
"error": "DualStack is enabled but this partition does not support DualStack"
326-
},
327-
"params": {
328-
"Region": "us-isob-east-1",
329-
"UseFIPS": false,
330-
"UseDualStack": true
331-
}
332-
},
333289
{
334290
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
335291
"expect": {

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

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"apiVersion":"2017-11-27",
55
"endpointPrefix":"iotanalytics",
66
"protocol":"rest-json",
7+
"protocols":["rest-json"],
78
"serviceFullName":"AWS IoT Analytics",
89
"serviceId":"IoTAnalytics",
910
"signatureVersion":"v4",
1011
"signingName":"iotanalytics",
11-
"uid":"iotanalytics-2017-11-27"
12+
"uid":"iotanalytics-2017-11-27",
13+
"auth":["aws.auth#sigv4"]
1214
},
1315
"operations":{
1416
"BatchPutMessage":{
@@ -729,8 +731,7 @@
729731
},
730732
"CancelPipelineReprocessingResponse":{
731733
"type":"structure",
732-
"members":{
733-
}
734+
"members":{}
734735
},
735736
"Channel":{
736737
"type":"structure",
@@ -1929,8 +1930,7 @@
19291930
},
19301931
"DescribeLoggingOptionsRequest":{
19311932
"type":"structure",
1932-
"members":{
1933-
}
1933+
"members":{}
19341934
},
19351935
"DescribeLoggingOptionsResponse":{
19361936
"type":"structure",
@@ -2237,8 +2237,7 @@
22372237
},
22382238
"JsonConfiguration":{
22392239
"type":"structure",
2240-
"members":{
2241-
},
2240+
"members":{},
22422241
"documentation":"<p>Contains the configuration information of the JSON format.</p>"
22432242
},
22442243
"LambdaActivity":{
@@ -3099,26 +3098,22 @@
30993098
},
31003099
"ServiceManagedChannelS3Storage":{
31013100
"type":"structure",
3102-
"members":{
3103-
},
3101+
"members":{},
31043102
"documentation":"<p>Used to store channel data in an S3 bucket managed by IoT Analytics. You can't change the choice of S3 storage after the data store is created.</p>"
31053103
},
31063104
"ServiceManagedChannelS3StorageSummary":{
31073105
"type":"structure",
3108-
"members":{
3109-
},
3106+
"members":{},
31103107
"documentation":"<p>Used to store channel data in an S3 bucket managed by IoT Analytics.</p>"
31113108
},
31123109
"ServiceManagedDatastoreS3Storage":{
31133110
"type":"structure",
3114-
"members":{
3115-
},
3111+
"members":{},
31163112
"documentation":"<p>Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon S3 storage after your data store is created. </p>"
31173113
},
31183114
"ServiceManagedDatastoreS3StorageSummary":{
31193115
"type":"structure",
3120-
"members":{
3121-
},
3116+
"members":{},
31223117
"documentation":"<p>Contains information about the data store that is managed by IoT Analytics.</p>"
31233118
},
31243119
"ServiceUnavailableException":{
@@ -3248,8 +3243,7 @@
32483243
},
32493244
"TagResourceResponse":{
32503245
"type":"structure",
3251-
"members":{
3252-
}
3246+
"members":{}
32533247
},
32543248
"TagValue":{
32553249
"type":"string",
@@ -3324,8 +3318,7 @@
33243318
},
33253319
"UntagResourceResponse":{
33263320
"type":"structure",
3327-
"members":{
3328-
}
3321+
"members":{}
33293322
},
33303323
"UpdateChannelRequest":{
33313324
"type":"structure",

0 commit comments

Comments
 (0)