python-botocore/tests/functional/endpoint-rules/migrationhubstrategy/endpoint-tests-1.json
2022-12-12 08:14:19 -08:00

407 lines
13 KiB
JSON

{
"testCases": [
{
"documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.eu-central-1.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "eu-central-1"
}
},
{
"documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.eu-central-1.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "eu-central-1"
}
},
{
"documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.eu-central-1.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "eu-central-1"
}
},
{
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.eu-central-1.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "eu-central-1"
}
},
{
"documentation": "For region us-west-2 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.us-west-2.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "us-west-2"
}
},
{
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.us-west-2.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "us-west-2"
}
},
{
"documentation": "For region us-west-2 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.us-west-2.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "us-west-2"
}
},
{
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.us-west-2.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "us-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.eu-west-2.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.eu-west-2.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.eu-west-2.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.eu-west-2.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.eu-west-1.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "eu-west-1"
}
},
{
"documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.eu-west-1.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "eu-west-1"
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.eu-west-1.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "eu-west-1"
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.eu-west-1.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "eu-west-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.ap-northeast-1.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.ap-northeast-1.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.ap-northeast-1.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.ap-northeast-1.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.ap-southeast-2.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "ap-southeast-2"
}
},
{
"documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.ap-southeast-2.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "ap-southeast-2"
}
},
{
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.ap-southeast-2.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "ap-southeast-2"
}
},
{
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.ap-southeast-2.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "ap-southeast-2"
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.us-east-1.api.aws"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": true,
"Region": "us-east-1"
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy-fips.us-east-1.amazonaws.com"
}
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "us-east-1"
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.us-east-1.api.aws"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "us-east-1"
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://migrationhub-strategy.us-east-1.amazonaws.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "us-east-1"
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
"expect": {
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"UseFIPS": true,
"UseDualStack": false,
"Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
"expect": {
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"UseFIPS": false,
"UseDualStack": true,
"Region": "us-east-1",
"Endpoint": "https://example.com"
}
}
],
"version": "1.0"
}