Skip to content

Commit 656fd0e

Browse files
author
AWS
committed
Amazon Detective Update: Remove incorrect endpoint tests
1 parent a307f06 commit 656fd0e

File tree

3 files changed

+26
-84
lines changed

3 files changed

+26
-84
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 Detective",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 18 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,6 @@
189189
"UseDualStack": false
190190
}
191191
},
192-
{
193-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
194-
"expect": {
195-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
196-
},
197-
"params": {
198-
"Region": "us-iso-east-1",
199-
"UseFIPS": true,
200-
"UseDualStack": true
201-
}
202-
},
203192
{
204193
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
205194
"expect": {
@@ -213,17 +202,6 @@
213202
"UseDualStack": false
214203
}
215204
},
216-
{
217-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
218-
"expect": {
219-
"error": "DualStack is enabled but this partition does not support DualStack"
220-
},
221-
"params": {
222-
"Region": "us-iso-east-1",
223-
"UseFIPS": false,
224-
"UseDualStack": true
225-
}
226-
},
227205
{
228206
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
229207
"expect": {
@@ -237,17 +215,6 @@
237215
"UseDualStack": false
238216
}
239217
},
240-
{
241-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
242-
"expect": {
243-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
244-
},
245-
"params": {
246-
"Region": "us-isob-east-1",
247-
"UseFIPS": true,
248-
"UseDualStack": true
249-
}
250-
},
251218
{
252219
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
253220
"expect": {
@@ -261,17 +228,6 @@
261228
"UseDualStack": false
262229
}
263230
},
264-
{
265-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
266-
"expect": {
267-
"error": "DualStack is enabled but this partition does not support DualStack"
268-
},
269-
"params": {
270-
"Region": "us-isob-east-1",
271-
"UseFIPS": false,
272-
"UseDualStack": true
273-
}
274-
},
275231
{
276232
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
277233
"expect": {
@@ -285,17 +241,6 @@
285241
"UseDualStack": false
286242
}
287243
},
288-
{
289-
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled",
290-
"expect": {
291-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
292-
},
293-
"params": {
294-
"Region": "eu-isoe-west-1",
295-
"UseFIPS": true,
296-
"UseDualStack": true
297-
}
298-
},
299244
{
300245
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled",
301246
"expect": {
@@ -309,17 +254,6 @@
309254
"UseDualStack": false
310255
}
311256
},
312-
{
313-
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled",
314-
"expect": {
315-
"error": "DualStack is enabled but this partition does not support DualStack"
316-
},
317-
"params": {
318-
"Region": "eu-isoe-west-1",
319-
"UseFIPS": false,
320-
"UseDualStack": true
321-
}
322-
},
323257
{
324258
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled",
325259
"expect": {
@@ -334,49 +268,53 @@
334268
}
335269
},
336270
{
337-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled",
271+
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
338272
"expect": {
339-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
273+
"endpoint": {
274+
"url": "https://api.detective-fips.us-isof-south-1.csp.hci.ic.gov"
275+
}
340276
},
341277
"params": {
342278
"Region": "us-isof-south-1",
343279
"UseFIPS": true,
344-
"UseDualStack": true
280+
"UseDualStack": false
345281
}
346282
},
347283
{
348-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
284+
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
349285
"expect": {
350286
"endpoint": {
351-
"url": "https://api.detective-fips.us-isof-south-1.csp.hci.ic.gov"
287+
"url": "https://api.detective.us-isof-south-1.csp.hci.ic.gov"
352288
}
353289
},
354290
"params": {
355291
"Region": "us-isof-south-1",
356-
"UseFIPS": true,
292+
"UseFIPS": false,
357293
"UseDualStack": false
358294
}
359295
},
360296
{
361-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled",
297+
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
362298
"expect": {
363-
"error": "DualStack is enabled but this partition does not support DualStack"
299+
"endpoint": {
300+
"url": "https://api.detective-fips.eusc-de-east-1.amazonaws.eu"
301+
}
364302
},
365303
"params": {
366-
"Region": "us-isof-south-1",
367-
"UseFIPS": false,
368-
"UseDualStack": true
304+
"Region": "eusc-de-east-1",
305+
"UseFIPS": true,
306+
"UseDualStack": false
369307
}
370308
},
371309
{
372-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
310+
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
373311
"expect": {
374312
"endpoint": {
375-
"url": "https://api.detective.us-isof-south-1.csp.hci.ic.gov"
313+
"url": "https://api.detective.eusc-de-east-1.amazonaws.eu"
376314
}
377315
},
378316
"params": {
379-
"Region": "us-isof-south-1",
317+
"Region": "eusc-de-east-1",
380318
"UseFIPS": false,
381319
"UseDualStack": false
382320
}

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,8 +1941,7 @@
19411941
},
19421942
"TagResourceResponse":{
19431943
"type":"structure",
1944-
"members":{
1945-
}
1944+
"members":{}
19461945
},
19471946
"TagValue":{
19481947
"type":"string",
@@ -2033,8 +2032,7 @@
20332032
},
20342033
"UntagResourceResponse":{
20352034
"type":"structure",
2036-
"members":{
2037-
}
2035+
"members":{}
20382036
},
20392037
"UpdateDatasourcePackagesRequest":{
20402038
"type":"structure",

0 commit comments

Comments
 (0)