{
    "version": "1",
    "testCases": [
        {
            "documentation": "Override endpoint",
            "expect": {
                "endpoint": {
                    "url": "https://test.codecatalyst.global.api.aws"
                }
            },
            "params": {
                "Endpoint": "https://test.codecatalyst.global.api.aws"
            }
        },
        {
            "documentation": "Default endpoint (region not set)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst.global.api.aws"
                }
            },
            "params": {}
        },
        {
            "documentation": "Default FIPS endpoint (region not set)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst-fips.global.api.aws"
                }
            },
            "params": {
                "UseFIPS": true
            }
        },
        {
            "documentation": "Default endpoint (region: aws-global)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst.global.api.aws"
                }
            },
            "params": {
                "Region": "aws-global"
            }
        },
        {
            "documentation": "Default FIPS endpoint (region: aws-global)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst-fips.global.api.aws"
                }
            },
            "params": {
                "Region": "aws-global",
                "UseFIPS": true
            }
        },
        {
            "documentation": "Default endpoint for a valid home region (region: us-west-2)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst.global.api.aws"
                }
            },
            "params": {
                "Region": "us-west-2"
            }
        },
        {
            "documentation": "Default FIPS endpoint for a valid home region (region: us-west-2)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst-fips.global.api.aws"
                }
            },
            "params": {
                "Region": "us-west-2",
                "UseFIPS": true
            }
        },
        {
            "documentation": "Default endpoint for an unavailable home region (region: us-east-1)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst.global.api.aws"
                }
            },
            "params": {
                "Region": "us-east-1"
            }
        },
        {
            "documentation": "Default FIPS endpoint for an unavailable home region (region: us-east-1)",
            "expect": {
                "endpoint": {
                    "url": "https://codecatalyst-fips.global.api.aws"
                }
            },
            "params": {
                "Region": "us-east-1",
                "UseFIPS": true
            }
        }
    ]
}