Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync endpoint rules and tests #2911

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
341 changes: 170 additions & 171 deletions apis/AWSMigrationHub/2017-05-31/endpoint-rule-set-1.json

Large diffs are not rendered by default.

291 changes: 138 additions & 153 deletions apis/AWSMigrationHub/2017-05-31/endpoint-tests-1.json

Large diffs are not rendered by default.

340 changes: 146 additions & 194 deletions apis/accessanalyzer/2019-11-01/endpoint-rule-set-1.json

Large diffs are not rendered by default.

245 changes: 154 additions & 91 deletions apis/accessanalyzer/2019-11-01/endpoint-tests-1.json

Large diffs are not rendered by default.

510 changes: 237 additions & 273 deletions apis/account/2021-02-01/endpoint-rule-set-1.json

Large diffs are not rendered by default.

362 changes: 163 additions & 199 deletions apis/acm-pca/2017-08-22/endpoint-rule-set-1.json

Large diffs are not rendered by default.

343 changes: 171 additions & 172 deletions apis/acm/2015-12-08/endpoint-rule-set-1.json

Large diffs are not rendered by default.

1,508 changes: 187 additions & 1,321 deletions apis/acm/2015-12-08/endpoint-tests-1.json

Large diffs are not rendered by default.

344 changes: 154 additions & 190 deletions apis/alexaforbusiness/2017-11-09/endpoint-rule-set-1.json

Large diffs are not rendered by default.

344 changes: 154 additions & 190 deletions apis/amp/2020-08-01/endpoint-rule-set-1.json

Large diffs are not rendered by default.

341 changes: 170 additions & 171 deletions apis/amplify/2017-07-25/endpoint-rule-set-1.json

Large diffs are not rendered by default.

803 changes: 160 additions & 643 deletions apis/amplify/2017-07-25/endpoint-tests-1.json

Large diffs are not rendered by default.

349 changes: 177 additions & 172 deletions apis/apigatewaymanagementapi/2018-11-29/endpoint-rule-set-1.json

Large diffs are not rendered by default.

1,473 changes: 98 additions & 1,375 deletions apis/apigatewaymanagementapi/2018-11-29/endpoint-tests-1.json

Large diffs are not rendered by default.

344 changes: 154 additions & 190 deletions apis/apigatewayv2/2018-11-29/endpoint-rule-set-1.json

Large diffs are not rendered by default.

392 changes: 178 additions & 214 deletions apis/appconfig/2019-10-09/endpoint-rule-set-1.json

Large diffs are not rendered by default.

222 changes: 136 additions & 86 deletions apis/appconfig/2019-10-09/endpoint-tests-1.json

Large diffs are not rendered by default.

344 changes: 154 additions & 190 deletions apis/appconfigdata/2021-11-11/endpoint-rule-set-1.json

Large diffs are not rendered by default.

214 changes: 132 additions & 82 deletions apis/appconfigdata/2021-11-11/endpoint-tests-1.json

Large diffs are not rendered by default.

123 changes: 71 additions & 52 deletions apis/appfabric/2023-05-19/endpoint-tests-1.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
{
"testCases": [
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://appfabric-fips.us-gov-east-1.api.aws"
"url": "https://appfabric-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"Region": "us-gov-east-1",
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://appfabric-fips.us-gov-east-1.amazonaws.com"
"url": "https://appfabric-fips.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"Region": "us-gov-east-1",
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://appfabric.us-gov-east-1.api.aws"
"url": "https://appfabric.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"Region": "us-gov-east-1",
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://appfabric.us-gov-east-1.amazonaws.com"
"url": "https://appfabric.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"Region": "us-gov-east-1",
"UseDualStack": false
}
},
Expand All @@ -60,8 +60,8 @@
}
},
"params": {
"UseFIPS": true,
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": true
}
},
Expand All @@ -73,8 +73,8 @@
}
},
"params": {
"UseFIPS": true,
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": false
}
},
Expand All @@ -86,8 +86,8 @@
}
},
"params": {
"UseFIPS": false,
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": true
}
},
Expand All @@ -99,108 +99,108 @@
}
},
"params": {
"UseFIPS": false,
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
"endpoint": {
"url": "https://appfabric-fips.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"Region": "us-iso-east-1",
"UseDualStack": true
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://appfabric-fips.us-iso-east-1.c2s.ic.gov"
"url": "https://appfabric-fips.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"Region": "us-iso-east-1",
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
"endpoint": {
"url": "https://appfabric.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"Region": "us-iso-east-1",
"UseDualStack": true
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://appfabric.us-iso-east-1.c2s.ic.gov"
"url": "https://appfabric.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"Region": "us-iso-east-1",
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://appfabric-fips.us-east-1.api.aws"
}
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"Region": "us-east-1",
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://appfabric-fips.us-east-1.amazonaws.com"
"url": "https://appfabric-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"Region": "us-east-1",
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://appfabric.us-east-1.api.aws"
}
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"Region": "us-east-1",
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://appfabric.us-east-1.amazonaws.com"
"url": "https://appfabric.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"Region": "us-east-1",
"UseDualStack": false
}
},
Expand All @@ -210,8 +210,8 @@
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
"UseFIPS": true,
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
Expand All @@ -223,8 +223,8 @@
}
},
"params": {
"UseFIPS": true,
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
Expand All @@ -234,8 +234,8 @@
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"UseFIPS": false,
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
Expand All @@ -247,21 +247,34 @@
}
},
"params": {
"UseFIPS": false,
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseFIPS": false,
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
Expand All @@ -272,8 +285,8 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"UseFIPS": true,
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
Expand All @@ -284,11 +297,17 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"UseFIPS": false,
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
"Endpoint": "https://example.com"
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
Expand Down
Loading