Skip to content

Commit 3febc57

Browse files
author
awstools
committed
feat(client-marketplace-metering): Remove incorrect endpoint tests
1 parent e9e8d2d commit 3febc57

File tree

1 file changed

+18
-80
lines changed

1 file changed

+18
-80
lines changed

codegen/sdk-codegen/aws-models/marketplace-metering.json

Lines changed: 18 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -725,17 +725,6 @@
725725
"UseDualStack": false
726726
}
727727
},
728-
{
729-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
730-
"expect": {
731-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
732-
},
733-
"params": {
734-
"Region": "us-iso-east-1",
735-
"UseFIPS": true,
736-
"UseDualStack": true
737-
}
738-
},
739728
{
740729
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
741730
"expect": {
@@ -749,17 +738,6 @@
749738
"UseDualStack": false
750739
}
751740
},
752-
{
753-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
754-
"expect": {
755-
"error": "DualStack is enabled but this partition does not support DualStack"
756-
},
757-
"params": {
758-
"Region": "us-iso-east-1",
759-
"UseFIPS": false,
760-
"UseDualStack": true
761-
}
762-
},
763741
{
764742
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
765743
"expect": {
@@ -773,17 +751,6 @@
773751
"UseDualStack": false
774752
}
775753
},
776-
{
777-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
778-
"expect": {
779-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
780-
},
781-
"params": {
782-
"Region": "us-isob-east-1",
783-
"UseFIPS": true,
784-
"UseDualStack": true
785-
}
786-
},
787754
{
788755
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
789756
"expect": {
@@ -797,17 +764,6 @@
797764
"UseDualStack": false
798765
}
799766
},
800-
{
801-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
802-
"expect": {
803-
"error": "DualStack is enabled but this partition does not support DualStack"
804-
},
805-
"params": {
806-
"Region": "us-isob-east-1",
807-
"UseFIPS": false,
808-
"UseDualStack": true
809-
}
810-
},
811767
{
812768
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
813769
"expect": {
@@ -821,17 +777,6 @@
821777
"UseDualStack": false
822778
}
823779
},
824-
{
825-
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled",
826-
"expect": {
827-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
828-
},
829-
"params": {
830-
"Region": "eu-isoe-west-1",
831-
"UseFIPS": true,
832-
"UseDualStack": true
833-
}
834-
},
835780
{
836781
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled",
837782
"expect": {
@@ -845,17 +790,6 @@
845790
"UseDualStack": false
846791
}
847792
},
848-
{
849-
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled",
850-
"expect": {
851-
"error": "DualStack is enabled but this partition does not support DualStack"
852-
},
853-
"params": {
854-
"Region": "eu-isoe-west-1",
855-
"UseFIPS": false,
856-
"UseDualStack": true
857-
}
858-
},
859793
{
860794
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled",
861795
"expect": {
@@ -870,49 +804,53 @@
870804
}
871805
},
872806
{
873-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled",
807+
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
874808
"expect": {
875-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
809+
"endpoint": {
810+
"url": "https://metering.marketplace-fips.us-isof-south-1.csp.hci.ic.gov"
811+
}
876812
},
877813
"params": {
878814
"Region": "us-isof-south-1",
879815
"UseFIPS": true,
880-
"UseDualStack": true
816+
"UseDualStack": false
881817
}
882818
},
883819
{
884-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
820+
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
885821
"expect": {
886822
"endpoint": {
887-
"url": "https://metering.marketplace-fips.us-isof-south-1.csp.hci.ic.gov"
823+
"url": "https://metering.marketplace.us-isof-south-1.csp.hci.ic.gov"
888824
}
889825
},
890826
"params": {
891827
"Region": "us-isof-south-1",
892-
"UseFIPS": true,
828+
"UseFIPS": false,
893829
"UseDualStack": false
894830
}
895831
},
896832
{
897-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled",
833+
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
898834
"expect": {
899-
"error": "DualStack is enabled but this partition does not support DualStack"
835+
"endpoint": {
836+
"url": "https://metering.marketplace-fips.eusc-de-east-1.amazonaws.eu"
837+
}
900838
},
901839
"params": {
902-
"Region": "us-isof-south-1",
903-
"UseFIPS": false,
904-
"UseDualStack": true
840+
"Region": "eusc-de-east-1",
841+
"UseFIPS": true,
842+
"UseDualStack": false
905843
}
906844
},
907845
{
908-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
846+
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
909847
"expect": {
910848
"endpoint": {
911-
"url": "https://metering.marketplace.us-isof-south-1.csp.hci.ic.gov"
849+
"url": "https://metering.marketplace.eusc-de-east-1.amazonaws.eu"
912850
}
913851
},
914852
"params": {
915-
"Region": "us-isof-south-1",
853+
"Region": "eusc-de-east-1",
916854
"UseFIPS": false,
917855
"UseDualStack": false
918856
}

0 commit comments

Comments
 (0)