Skip to content

Commit 5c629d6

Browse files
Remove incorrect endpoint tests
1 parent 74c3bc1 commit 5c629d6

File tree

2 files changed

+53
-189
lines changed

2 files changed

+53
-189
lines changed

generator/ServiceModels/account/account-2021-02-01.endpoint-tests.json

Lines changed: 35 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -285,17 +285,6 @@
285285
"UseDualStack": false
286286
}
287287
},
288-
{
289-
"documentation": "For region us-iso-east-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": "us-iso-east-1",
295-
"UseFIPS": true,
296-
"UseDualStack": true
297-
}
298-
},
299288
{
300289
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
301290
"expect": {
@@ -317,17 +306,6 @@
317306
"UseDualStack": false
318307
}
319308
},
320-
{
321-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
322-
"expect": {
323-
"error": "DualStack is enabled but this partition does not support DualStack"
324-
},
325-
"params": {
326-
"Region": "us-iso-east-1",
327-
"UseFIPS": false,
328-
"UseDualStack": true
329-
}
330-
},
331309
{
332310
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
333311
"expect": {
@@ -349,17 +327,6 @@
349327
"UseDualStack": false
350328
}
351329
},
352-
{
353-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
354-
"expect": {
355-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
356-
},
357-
"params": {
358-
"Region": "us-isob-east-1",
359-
"UseFIPS": true,
360-
"UseDualStack": true
361-
}
362-
},
363330
{
364331
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
365332
"expect": {
@@ -381,17 +348,6 @@
381348
"UseDualStack": false
382349
}
383350
},
384-
{
385-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
386-
"expect": {
387-
"error": "DualStack is enabled but this partition does not support DualStack"
388-
},
389-
"params": {
390-
"Region": "us-isob-east-1",
391-
"UseFIPS": false,
392-
"UseDualStack": true
393-
}
394-
},
395351
{
396352
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
397353
"expect": {
@@ -413,17 +369,6 @@
413369
"UseDualStack": false
414370
}
415371
},
416-
{
417-
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled",
418-
"expect": {
419-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
420-
},
421-
"params": {
422-
"Region": "eu-isoe-west-1",
423-
"UseFIPS": true,
424-
"UseDualStack": true
425-
}
426-
},
427372
{
428373
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled",
429374
"expect": {
@@ -445,17 +390,6 @@
445390
"UseDualStack": false
446391
}
447392
},
448-
{
449-
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled",
450-
"expect": {
451-
"error": "DualStack is enabled but this partition does not support DualStack"
452-
},
453-
"params": {
454-
"Region": "eu-isoe-west-1",
455-
"UseFIPS": false,
456-
"UseDualStack": true
457-
}
458-
},
459393
{
460394
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled",
461395
"expect": {
@@ -478,18 +412,28 @@
478412
}
479413
},
480414
{
481-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled",
415+
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
482416
"expect": {
483-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
417+
"endpoint": {
418+
"properties": {
419+
"authSchemes": [
420+
{
421+
"name": "sigv4",
422+
"signingRegion": "us-isof-south-1"
423+
}
424+
]
425+
},
426+
"url": "https://account-fips.us-isof-south-1.csp.hci.ic.gov"
427+
}
484428
},
485429
"params": {
486430
"Region": "us-isof-south-1",
487431
"UseFIPS": true,
488-
"UseDualStack": true
432+
"UseDualStack": false
489433
}
490434
},
491435
{
492-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
436+
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
493437
"expect": {
494438
"endpoint": {
495439
"properties": {
@@ -500,43 +444,53 @@
500444
}
501445
]
502446
},
503-
"url": "https://account-fips.us-isof-south-1.csp.hci.ic.gov"
447+
"url": "https://account.us-isof-south-1.csp.hci.ic.gov"
504448
}
505449
},
506450
"params": {
507451
"Region": "us-isof-south-1",
508-
"UseFIPS": true,
452+
"UseFIPS": false,
509453
"UseDualStack": false
510454
}
511455
},
512456
{
513-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled",
457+
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
514458
"expect": {
515-
"error": "DualStack is enabled but this partition does not support DualStack"
459+
"endpoint": {
460+
"properties": {
461+
"authSchemes": [
462+
{
463+
"name": "sigv4",
464+
"signingRegion": "eusc-de-east-1"
465+
}
466+
]
467+
},
468+
"url": "https://account-fips.eusc-de-east-1.amazonaws.eu"
469+
}
516470
},
517471
"params": {
518-
"Region": "us-isof-south-1",
519-
"UseFIPS": false,
520-
"UseDualStack": true
472+
"Region": "eusc-de-east-1",
473+
"UseFIPS": true,
474+
"UseDualStack": false
521475
}
522476
},
523477
{
524-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
478+
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
525479
"expect": {
526480
"endpoint": {
527481
"properties": {
528482
"authSchemes": [
529483
{
530484
"name": "sigv4",
531-
"signingRegion": "us-isof-south-1"
485+
"signingRegion": "eusc-de-east-1"
532486
}
533487
]
534488
},
535-
"url": "https://account.us-isof-south-1.csp.hci.ic.gov"
489+
"url": "https://account.eusc-de-east-1.amazonaws.eu"
536490
}
537491
},
538492
"params": {
539-
"Region": "us-isof-south-1",
493+
"Region": "eusc-de-east-1",
540494
"UseFIPS": false,
541495
"UseDualStack": false
542496
}

0 commit comments

Comments
 (0)