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

407 lines
13 KiB
JSON

{
"testCases": [
{
"documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.eu-west-2.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.eu-west-2.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.eu-west-2.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.eu-west-2.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "eu-west-2"
}
},
{
"documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.eu-west-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "eu-west-1"
}
},
{
"documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.eu-west-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "eu-west-1"
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.eu-west-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "eu-west-1"
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.eu-west-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "eu-west-1"
}
},
{
"documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.ap-northeast-2.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "ap-northeast-2"
}
},
{
"documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.ap-northeast-2.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "ap-northeast-2"
}
},
{
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.ap-northeast-2.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "ap-northeast-2"
}
},
{
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.ap-northeast-2.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "ap-northeast-2"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.ap-northeast-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.ap-northeast-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.ap-northeast-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.ap-northeast-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "ap-northeast-1"
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.us-gov-west-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "us-gov-west-1"
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.us-gov-west-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "us-gov-west-1"
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.us-gov-west-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "us-gov-west-1"
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.us-gov-west-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "us-gov-west-1"
}
},
{
"documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.ap-southeast-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "ap-southeast-1"
}
},
{
"documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.ap-southeast-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "ap-southeast-1"
}
},
{
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.ap-southeast-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "ap-southeast-1"
}
},
{
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.ap-southeast-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "ap-southeast-1"
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.us-east-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": true,
"Region": "us-east-1"
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain-fips.us-east-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": true,
"Region": "us-east-1"
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.us-east-1.api.aws"
}
},
"params": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "us-east-1"
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://managedblockchain.us-east-1.amazonaws.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"Region": "us-east-1"
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseDualStack": false,
"UseFIPS": 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": {
"UseDualStack": false,
"UseFIPS": true,
"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": {
"UseDualStack": true,
"UseFIPS": false,
"Region": "us-east-1",
"Endpoint": "https://example.com"
}
}
],
"version": "1.0"
}