{
    "version": "1.0",
    "testCases": [
        {
            "documentation": "region is not a valid DNS-suffix",
            "params": {
                "Region": "a b",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "error": "Invalid region: region was not a valid DNS name."
            }
        },
        {
            "documentation": "Invalid access point ARN: Not S3",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:not-s3:us-west-2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:not-s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: The ARN was not for the S3 service, found: not-s3"
            }
        },
        {
            "documentation": "Invalid access point ARN: invalid resource",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint:more-data"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint:more-data",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."
            }
        },
        {
            "documentation": "Invalid access point ARN: invalid no ap name",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"
            }
        },
        {
            "documentation": "Invalid access point ARN: AccountId is invalid",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456_789012:accesspoint:apname"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456_789012:accesspoint:apname",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123456_789012`"
            }
        },
        {
            "documentation": "Invalid access point ARN: access point name is invalid",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:ap_name"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:ap_name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `ap_name`"
            }
        },
        {
            "documentation": "Access points (disable access points explicitly false)",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableAccessPoints": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "Access points: partition does not support FIPS",
            "params": {
                "Region": "cn-north-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3:cn-north-1:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "Bucket region is invalid",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableAccessPoints": false,
                "Bucket": "arn:aws:s3:us-west -2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west -2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid region in ARN: `us-west -2` (invalid DNS name)"
            }
        },
        {
            "documentation": "Access points when Access points explicitly disabled (used for CreateBucket)",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableAccessPoints": true,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Access points are not supported for this operation"
            }
        },
        {
            "documentation": "missing arn type",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableAccessPoints": true,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: `arn:aws:s3:us-west-2:123456789012:` was not a valid ARN"
            }
        },
        {
            "documentation": "SDK::Host + access point + Dualstack is an error",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Endpoint": "https://beta.example.com",
                "Region": "cn-north-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseDualStack": true,
                        "SDK::Endpoint": "https://beta.example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "Access point ARN with FIPS & Dualstack",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableAccessPoints": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "Access point ARN with Dualstack",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableAccessPoints": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla MRAP",
            "params": {
                "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "Region": "us-east-1",
                "DisableMultiRegionAccessPoints": false,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mfzwi23gnjvgw.mrap.accesspoint.s3-global.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "MRAP does not support FIPS",
            "params": {
                "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "Region": "us-east-1",
                "DisableMultiRegionAccessPoints": false,
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3 MRAP does not support FIPS"
            }
        },
        {
            "documentation": "MRAP does not support DualStack",
            "params": {
                "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "Region": "us-east-1",
                "DisableMultiRegionAccessPoints": false,
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3 MRAP does not support dual-stack"
            }
        },
        {
            "documentation": "MRAP does not support S3 Accelerate",
            "params": {
                "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "Region": "us-east-1",
                "DisableMultiRegionAccessPoints": false,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3 MRAP does not support S3 Accelerate"
            }
        },
        {
            "documentation": "MRAP explicitly disabled",
            "params": {
                "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "Region": "us-east-1",
                "DisableMultiRegionAccessPoints": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::DisableMultiRegionAccessPoints": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: Multi-Region Access Point ARNs are disabled."
            }
        },
        {
            "documentation": "Dual-stack endpoint with path-style forced",
            "params": {
                "Bucket": "bucketname",
                "Region": "us-west-2",
                "ForcePathStyle": true,
                "UseFIPS": false,
                "Accelerate": false,
                "UseDualStack": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucketname",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-west-2.amazonaws.com/bucketname",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "Dual-stack endpoint + SDK::Host is error",
            "params": {
                "Bucket": "bucketname",
                "Region": "us-west-2",
                "ForcePathStyle": true,
                "UseFIPS": false,
                "Accelerate": false,
                "UseDualStack": true,
                "Endpoint": "https://abc.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucketname",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "SDK::Endpoint": "https://abc.com",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "path style + ARN bucket",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "ForcePathStyle": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with ARN buckets"
            }
        },
        {
            "documentation": "implicit path style bucket + dualstack",
            "params": {
                "Accelerate": false,
                "Bucket": "99_ab",
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99_ab",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-west-2.amazonaws.com/99_ab",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "implicit path style bucket + dualstack",
            "params": {
                "Accelerate": false,
                "Bucket": "99_ab",
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": false,
                "Endpoint": "http://abc.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99_ab",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "SDK::Endpoint": "http://abc.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "don't allow URL injections in the bucket",
            "params": {
                "Bucket": "example.com#",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "example.com#",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com/example.com%23",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "URI encode bucket names in the path",
            "params": {
                "Bucket": "bucket name",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com/bucket%20name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "scheme is respected",
            "params": {
                "Accelerate": false,
                "Bucket": "99_ab",
                "Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "endpoint": {
                    "url": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/99_ab",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "scheme is respected (virtual addressing)",
            "params": {
                "Accelerate": false,
                "Bucket": "bucketname",
                "Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/foo",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "endpoint": {
                    "url": "http://bucketname.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/foo",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + implicit private link",
            "params": {
                "Accelerate": false,
                "Bucket": "99_ab",
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99_ab",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/99_ab",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "invalid Endpoint override",
            "params": {
                "Accelerate": false,
                "Bucket": "bucketname",
                "Endpoint": "abcde://nota#url",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "error": "Custom endpoint `abcde://nota#url` was not a valid URI"
            }
        },
        {
            "documentation": "using an IPv4 address forces path style",
            "params": {
                "Accelerate": false,
                "Bucket": "bucketname",
                "Endpoint": "https://123.123.0.1",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucketname",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "SDK::Endpoint": "https://123.123.0.1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://123.123.0.1/bucketname",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla access point arn with region mismatch and UseArnRegion=false",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-east-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "UseArnRegion": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-east-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"
            }
        },
        {
            "documentation": "vanilla access point arn with region mismatch and UseArnRegion unset",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "us-east-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla access point arn with region mismatch and UseArnRegion=true",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "UseArnRegion": true,
                "Region": "us-east-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "subdomains are not allowed in virtual buckets",
            "params": {
                "Bucket": "bucket.name",
                "Region": "us-east-1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket.name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-east-1.amazonaws.com/bucket.name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "bucket names with 3 characters are allowed in virtual buckets",
            "params": {
                "Bucket": "aaa",
                "Region": "us-east-1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "aaa",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://aaa.s3.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "bucket names with fewer than 3 characters are not allowed in virtual host",
            "params": {
                "Bucket": "aa",
                "Region": "us-east-1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "aa",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-east-1.amazonaws.com/aa",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "bucket names with uppercase characters are not allowed in virtual host",
            "params": {
                "Bucket": "BucketName",
                "Region": "us-east-1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "BucketName",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-east-1.amazonaws.com/BucketName",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "subdomains are allowed in virtual buckets on http endpoints",
            "params": {
                "Bucket": "bucket.name",
                "Region": "us-east-1",
                "Endpoint": "http://example.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket.name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "SDK::Endpoint": "http://example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "http://bucket.name.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "no region set",
            "params": {
                "Bucket": "bucket-name"
            },
            "expect": {
                "error": "A region must be set when sending requests to S3."
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-east-1 uses the global endpoint",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-west-2 uses the regional endpoint",
            "params": {
                "Region": "us-west-2",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=cn-north-1 uses the regional endpoint",
            "params": {
                "Region": "cn-north-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.cn-north-1.amazonaws.com.cn",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-east-1, fips=true uses the regional endpoint with fips",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-east-1, dualstack=true uses the regional endpoint with dualstack",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-east-1, dualstack and fips uses the regional endpoint with fips/dualstack",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-east-1 with custom endpoint, uses custom",
            "params": {
                "Region": "us-east-1",
                "Endpoint": "https://example.com",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "SDK::Endpoint": "https://example.com",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-west-2 with custom endpoint, uses custom",
            "params": {
                "Region": "us-west-2",
                "Endpoint": "https://example.com",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://example.com",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "UseGlobalEndpoints=true, region=us-east-1 with accelerate on non bucket case uses the global endpoint and ignores accelerate",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::Accelerate": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global region uses the global endpoint",
            "params": {
                "Region": "aws-global",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "aws-global"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global region with fips uses the regional endpoint",
            "params": {
                "Region": "aws-global",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global region with dualstack uses the regional endpoint",
            "params": {
                "Region": "aws-global",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global region with fips and dualstack uses the regional endpoint",
            "params": {
                "Region": "aws-global",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global region with accelerate on non-bucket case, uses global endpoint and ignores accelerate",
            "params": {
                "Region": "aws-global",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global region with custom endpoint, uses custom",
            "params": {
                "Region": "aws-global",
                "Endpoint": "https://example.com",
                "UseGlobalEndpoint": false,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "ListBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "SDK::Endpoint": "https://example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region uses the global endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with Prefix, and Key uses the global endpoint. Prefix and Key parameters should not be used in endpoint evaluation.",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Prefix": "prefix",
                "Key": "key"
            },
            "operationInputs": [
                {
                    "operationName": "ListObjects",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Prefix": "prefix"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with Copy Source, and Key uses the global endpoint. Copy Source and Key parameters should not be used in endpoint evaluation.",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "CopySource": "/copy/source",
                "Key": "key"
            },
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with fips uses the regional fips endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with dualstack uses the regional dualstack endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with fips/dualstack uses the regional fips/dualstack endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with accelerate uses the global accelerate endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-accelerate.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, aws-global region with custom endpoint",
            "params": {
                "Region": "aws-global",
                "Endpoint": "https://example.com",
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "SDK::Endpoint": "https://example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, UseGlobalEndpoint and us-east-1 region uses the global endpoint",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, UseGlobalEndpoint and us-west-2 region uses the regional endpoint",
            "params": {
                "Region": "us-west-2",
                "UseGlobalEndpoint": true,
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, UseGlobalEndpoint and us-east-1 region and fips uses the regional fips endpoint",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "Bucket": "bucket-name",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, UseGlobalEndpoint and us-east-1 region and dualstack uses the regional dualstack endpoint",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, UseGlobalEndpoint and us-east-1 region and accelerate uses the global accelerate endpoint",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::Accelerate": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-accelerate.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing, UseGlobalEndpoint and us-east-1 region with custom endpoint",
            "params": {
                "Region": "us-east-1",
                "Endpoint": "https://example.com",
                "UseGlobalEndpoint": true,
                "Bucket": "bucket-name",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "SDK::Endpoint": "https://example.com",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, aws-global region uses the global endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, aws-global region with fips is invalid",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true,
                                "name": "sigv4"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, aws-global region with dualstack uses regional dualstack endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::UseDualStack": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-east-1.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, aws-global region custom endpoint uses the custom endpoint",
            "params": {
                "Region": "aws-global",
                "Endpoint": "https://example.com",
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "SDK::Endpoint": "https://example.com",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://example.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, UseGlobalEndpoint us-east-1 region uses the global endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket-name",
                "UseGlobalEndpoint": true,
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, UseGlobalEndpoint us-west-2 region uses the regional endpoint",
            "params": {
                "Region": "us-west-2",
                "Bucket": "bucket-name",
                "UseGlobalEndpoint": true,
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, UseGlobalEndpoint us-east-1 region, dualstack uses the regional dualstack endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket-name",
                "UseGlobalEndpoint": true,
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true,
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-east-1.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ForcePathStyle, UseGlobalEndpoint us-east-1 region custom endpoint uses the custom endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket-name",
                "Endpoint": "https://example.com",
                "UseGlobalEndpoint": true,
                "ForcePathStyle": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "SDK::Endpoint": "https://example.com",
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://example.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "ARN with aws-global region and  UseArnRegion uses the regional endpoint",
            "params": {
                "Region": "aws-global",
                "UseArnRegion": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/accesspoint/reports"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/accesspoint/reports",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://reports-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "cross partition MRAP ARN is an error",
            "params": {
                "Bucket": "arn:aws-cn:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                "Region": "us-west-1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws-cn:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Client was configured for partition `aws` but bucket referred to partition `aws-cn`"
            }
        },
        {
            "documentation": "Endpoint override, accesspoint with HTTP, port",
            "params": {
                "Endpoint": "http://beta.example.com:1234",
                "Region": "us-west-2",
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "http://beta.example.com:1234"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "http://myendpoint-123456789012.beta.example.com:1234",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "Endpoint override, accesspoint with http, path, query, and port",
            "params": {
                "Region": "us-west-2",
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "Endpoint": "http://beta.example.com:1234/path",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "http://myendpoint-123456789012.beta.example.com:1234/path",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "non-bucket endpoint override with FIPS = error",
            "params": {
                "Region": "us-west-2",
                "Endpoint": "http://beta.example.com:1234/path",
                "UseFIPS": true,
                "UseDualStack": false
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "FIPS + dualstack + custom endpoint",
            "params": {
                "Region": "us-west-2",
                "Endpoint": "http://beta.example.com:1234/path",
                "UseFIPS": true,
                "UseDualStack": true
            },
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "dualstack + custom endpoint",
            "params": {
                "Region": "us-west-2",
                "Endpoint": "http://beta.example.com:1234/path",
                "UseFIPS": false,
                "UseDualStack": true
            },
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "custom endpoint without FIPS/dualstack",
            "params": {
                "Region": "us-west-2",
                "Endpoint": "http://beta.example.com:1234/path",
                "UseFIPS": false,
                "UseDualStack": false
            },
            "expect": {
                "endpoint": {
                    "url": "http://beta.example.com:1234/path",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "s3 object lambda with access points disabled",
            "params": {
                "Region": "us-west-2",
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:myendpoint",
                "DisableAccessPoints": true
            },
            "expect": {
                "error": "Access points are not supported for this operation"
            }
        },
        {
            "documentation": "non bucket + FIPS",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": true,
                "UseDualStack": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "standard non bucket endpoint",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "non bucket endpoint with FIPS + Dualstack",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": true,
                "UseDualStack": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "non bucket endpoint with dualstack",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "use global endpoint + IP address endpoint override",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket",
                "UseFIPS": false,
                "UseDualStack": false,
                "Endpoint": "http://127.0.0.1",
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "http://127.0.0.1/bucket",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "non-dns endpoint + global endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "UseFIPS": false,
                "UseDualStack": false,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "endpoint override + use global endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "UseFIPS": false,
                "UseDualStack": false,
                "UseGlobalEndpoint": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "endpoint": {
                    "url": "http://foo.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "FIPS + dualstack + non-bucket endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "UseFIPS": true,
                "UseDualStack": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "FIPS + dualstack + non-DNS endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "UseFIPS": true,
                "UseDualStack": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "endpoint override + FIPS + dualstack (BUG)",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "UseFIPS": true,
                "UseDualStack": false,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "endpoint override + non-dns bucket + FIPS (BUG)",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "UseFIPS": true,
                "UseDualStack": false,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "FIPS + bucket endpoint + force path style",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "UseFIPS": true,
                "UseDualStack": false,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "bucket + FIPS + force path style",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket",
                "ForcePathStyle": true,
                "UseFIPS": true,
                "UseDualStack": true,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "FIPS + dualstack + use global endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket",
                "UseFIPS": true,
                "UseDualStack": true,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://bucket.s3-fips.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "URI encoded bucket + use global endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "UseFIPS": true,
                "UseDualStack": false,
                "UseGlobalEndpoint": true,
                "Endpoint": "https://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "FIPS + path based endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate + dualstack + global endpoint",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": true,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://bucket.s3-accelerate.dualstack.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "dualstack + global endpoint + non URI safe bucket",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "Accelerate": false,
                "UseDualStack": true,
                "UseFIPS": false,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "FIPS + uri encoded bucket",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "Accelerate": false,
                "UseDualStack": false,
                "UseFIPS": true,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "endpoint override + non-uri safe endpoint + force path style",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "Accelerate": false,
                "UseDualStack": false,
                "UseFIPS": true,
                "Endpoint": "http://foo.com",
                "UseGlobalEndpoint": true
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "FIPS + Dualstack + global endpoint + non-dns bucket",
            "params": {
                "Region": "us-east-1",
                "Bucket": "bucket!",
                "Accelerate": false,
                "UseDualStack": true,
                "UseFIPS": true,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east-1"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "endpoint override + FIPS + dualstack",
            "params": {
                "Region": "us-east-1",
                "UseDualStack": true,
                "UseFIPS": true,
                "UseGlobalEndpoint": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "non-bucket endpoint override + dualstack + global endpoint",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": true,
                "UseGlobalEndpoint": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "Endpoint override + UseGlobalEndpoint + us-east-1",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "UseGlobalEndpoint": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "non-FIPS partition with FIPS set + custom endpoint",
            "params": {
                "Region": "cn-north-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "aws-global signs as us-east-1",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "UseFIPS": true,
                "Accelerate": false,
                "UseDualStack": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global signs as us-east-1",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket",
                "UseDualStack": false,
                "UseFIPS": false,
                "Accelerate": false,
                "Endpoint": "https://foo.com"
            },
            "expect": {
                "endpoint": {
                    "url": "https://bucket.foo.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global + dualstack + path-only bucket",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "UseDualStack": true,
                "UseFIPS": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global + path-only bucket",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!"
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global + fips + custom endpoint",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "UseDualStack": false,
                "UseFIPS": true,
                "Accelerate": false,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "aws-global, endpoint override & path only-bucket",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "UseDualStack": false,
                "UseFIPS": false,
                "Accelerate": false,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "endpoint": {
                    "url": "http://foo.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global + dualstack + custom endpoint",
            "params": {
                "Region": "aws-global",
                "UseDualStack": true,
                "UseFIPS": false,
                "Accelerate": false,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "accelerate, dualstack + aws-global",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket",
                "UseDualStack": true,
                "UseFIPS": false,
                "Accelerate": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://bucket.s3-accelerate.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "FIPS + aws-global + path only bucket. This is not supported by S3 but we allow garbage in garbage out",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "UseDualStack": true,
                "UseFIPS": true,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "aws-global + FIPS + endpoint override.",
            "params": {
                "Region": "aws-global",
                "UseFIPS": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "force path style, FIPS, aws-global & endpoint override",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "ForcePathStyle": true,
                "UseFIPS": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "ip address causes path style to be forced",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket",
                "Endpoint": "http://192.168.1.1"
            },
            "expect": {
                "endpoint": {
                    "url": "http://192.168.1.1/bucket",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "endpoint override with aws-global region",
            "params": {
                "Region": "aws-global",
                "UseFIPS": true,
                "UseDualStack": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "FIPS + path-only (TODO: consider making this an error)",
            "params": {
                "Region": "aws-global",
                "Bucket": "bucket!",
                "UseFIPS": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-east-1.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-1",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "empty arn type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:not-s3:us-west-2:123456789012::myendpoint"
            },
            "expect": {
                "error": "Invalid ARN: No ARN type specified"
            }
        },
        {
            "documentation": "path style can't be used with accelerate",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket!",
                "Accelerate": true
            },
            "expect": {
                "error": "Path-style addressing cannot be used with S3 Accelerate"
            }
        },
        {
            "documentation": "invalid region",
            "params": {
                "Region": "us-east-2!",
                "Bucket": "bucket.subdomain",
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "Invalid region: region was not a valid DNS name."
            }
        },
        {
            "documentation": "invalid region",
            "params": {
                "Region": "us-east-2!",
                "Bucket": "bucket",
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "error": "Invalid region: region was not a valid DNS name."
            }
        },
        {
            "documentation": "empty arn type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3::123456789012:accesspoint:my_endpoint"
            },
            "expect": {
                "error": "Invalid Access Point Name"
            }
        },
        {
            "documentation": "empty arn type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3:cn-north-1:123456789012:accesspoint:my-endpoint",
                "UseArnRegion": true
            },
            "expect": {
                "error": "Client was configured for partition `aws` but ARN (`arn:aws:s3:cn-north-1:123456789012:accesspoint:my-endpoint`) has `aws-cn`"
            }
        },
        {
            "documentation": "invalid arn region",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-object-lambda:us-east_2:123456789012:accesspoint:my-endpoint",
                "UseArnRegion": true
            },
            "expect": {
                "error": "Invalid region in ARN: `us-east_2` (invalid DNS name)"
            }
        },
        {
            "documentation": "invalid ARN outpost",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op_01234567890123456/accesspoint/reports",
                "UseArnRegion": true
            },
            "expect": {
                "error": "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `op_01234567890123456`"
            }
        },
        {
            "documentation": "invalid ARN",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/reports"
            },
            "expect": {
                "error": "Invalid ARN: expected an access point name"
            }
        },
        {
            "documentation": "invalid ARN",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456"
            },
            "expect": {
                "error": "Invalid ARN: Expected a 4-component resource"
            }
        },
        {
            "documentation": "invalid outpost type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/not-accesspoint/reports"
            },
            "expect": {
                "error": "Expected an outpost type `accesspoint`, found not-accesspoint"
            }
        },
        {
            "documentation": "invalid outpost type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east_1:123456789012:outpost/op-01234567890123456/not-accesspoint/reports"
            },
            "expect": {
                "error": "Invalid region in ARN: `us-east_1` (invalid DNS name)"
            }
        },
        {
            "documentation": "invalid outpost type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east-1:12345_789012:outpost/op-01234567890123456/not-accesspoint/reports"
            },
            "expect": {
                "error": "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `12345_789012`"
            }
        },
        {
            "documentation": "invalid outpost type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "arn:aws:s3-outposts:us-east-1:12345789012:outpost"
            },
            "expect": {
                "error": "Invalid ARN: The Outpost Id was not set"
            }
        },
        {
            "documentation": "use global endpoint virtual addressing",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket",
                "Endpoint": "http://example.com",
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "http://bucket.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-2",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "global endpoint + ip address",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket",
                "Endpoint": "http://192.168.0.1",
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "http://192.168.0.1/bucket",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-2",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "invalid outpost type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket!",
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-east-2.amazonaws.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-2",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "invalid outpost type",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket",
                "Accelerate": true,
                "UseGlobalEndpoint": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://bucket.s3-accelerate.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-2",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "use global endpoint + custom endpoint",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket!",
                "UseGlobalEndpoint": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "endpoint": {
                    "url": "http://foo.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-2",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "use global endpoint, not us-east-1, force path style",
            "params": {
                "Region": "us-east-2",
                "Bucket": "bucket!",
                "UseGlobalEndpoint": true,
                "ForcePathStyle": true,
                "Endpoint": "http://foo.com"
            },
            "expect": {
                "endpoint": {
                    "url": "http://foo.com/bucket%21",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingRegion": "us-east-2",
                                "name": "sigv4",
                                "signingName": "s3",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla virtual addressing@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + dualstack@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate + dualstack@us-west-2",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-accelerate.dualstack.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate (dualstack=false)@us-west-2",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-accelerate.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + fips@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + dualstack + fips@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate + fips = error@us-west-2",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Accelerate cannot be used with FIPS"
            }
        },
        {
            "documentation": "vanilla virtual addressing@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.cn-north-1.amazonaws.com.cn",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + dualstack@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.dualstack.cn-north-1.amazonaws.com.cn",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate (dualstack=false)@cn-north-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "error": "S3 Accelerate cannot be used in this region"
            }
        },
        {
            "documentation": "virtual addressing + fips@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "vanilla virtual addressing@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + dualstack@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3.dualstack.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate + dualstack@af-south-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseDualStack": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-accelerate.dualstack.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate (dualstack=false)@af-south-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-accelerate.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + fips@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + dualstack + fips@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": true,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.s3-fips.dualstack.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "accelerate + fips = error@af-south-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Accelerate cannot be used with FIPS"
            }
        },
        {
            "documentation": "vanilla path style@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "fips@us-gov-west-2, bucket is not S3-dns-compatible (subdomains)",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket.with.dots",
                "Region": "us-gov-west-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket.with.dots",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-gov-west-1",
                        "AWS::UseFIPS": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.us-gov-west-1.amazonaws.com/bucket.with.dots",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingName": "s3",
                                "signingRegion": "us-gov-west-1",
                                "disableDoubleEncoding": true,
                                "name": "sigv4"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + accelerate = error@us-west-2",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with S3 Accelerate"
            }
        },
        {
            "documentation": "path style + dualstack@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.us-west-2.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + arn is error@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket",
                "ForcePathStyle": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with ARN buckets"
            }
        },
        {
            "documentation": "path style + invalid DNS name@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "99a_b",
                "ForcePathStyle": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99a_b",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com/99a_b",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "no path style + invalid DNS name@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "99a_b",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99a_b",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.us-west-2.amazonaws.com/99a_b",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla path style@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.cn-north-1.amazonaws.com.cn/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + fips@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseFIPS": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "path style + accelerate = error@cn-north-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with S3 Accelerate"
            }
        },
        {
            "documentation": "path style + dualstack@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "cn-north-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseDualStack": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.cn-north-1.amazonaws.com.cn/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + arn is error@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket",
                "ForcePathStyle": true,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with ARN buckets"
            }
        },
        {
            "documentation": "path style + invalid DNS name@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "99a_b",
                "ForcePathStyle": true,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99a_b",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.cn-north-1.amazonaws.com.cn/99a_b",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "no path style + invalid DNS name@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "99a_b",
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99a_b",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.cn-north-1.amazonaws.com.cn/99a_b",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla path style@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.af-south-1.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + fips@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-fips.af-south-1.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true,
                                "name": "sigv4"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + accelerate = error@af-south-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::S3::ForcePathStyle": true,
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with S3 Accelerate"
            }
        },
        {
            "documentation": "path style + dualstack@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Region": "af-south-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseDualStack": true,
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.dualstack.af-south-1.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + arn is error@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket",
                "ForcePathStyle": true,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Path-style addressing cannot be used with ARN buckets"
            }
        },
        {
            "documentation": "path style + invalid DNS name@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "99a_b",
                "ForcePathStyle": true,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99a_b",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.af-south-1.amazonaws.com/99a_b",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "no path style + invalid DNS name@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "99a_b",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "99a_b",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3.af-south-1.amazonaws.com/99a_b",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + private link@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "http://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + private link@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "SDK::Host + FIPS@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true,
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "SDK::Host + DualStack@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "SDK::HOST + accelerate@us-west-2",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "A custom endpoint cannot be combined with S3 Accelerate"
            }
        },
        {
            "documentation": "SDK::Host + access point ARN@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Endpoint": "https://beta.example.com",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://beta.example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.beta.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + private link@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + private link@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "FIPS@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "SDK::Host + DualStack@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "cn-north-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseDualStack": true,
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "SDK::HOST + accelerate@cn-north-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "error": "A custom endpoint cannot be combined with S3 Accelerate"
            }
        },
        {
            "documentation": "SDK::Host + access point ARN@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Endpoint": "https://beta.example.com",
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "SDK::Endpoint": "https://beta.example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.beta.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "virtual addressing + private link@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "path style + private link@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": true,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                        "AWS::S3::ForcePathStyle": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "SDK::Host + FIPS@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true,
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "A custom endpoint cannot be combined with FIPS"
            }
        },
        {
            "documentation": "SDK::Host + DualStack@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseDualStack": true,
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Cannot set dual-stack in combination with a custom endpoint."
            }
        },
        {
            "documentation": "SDK::HOST + accelerate@af-south-1",
            "params": {
                "Accelerate": true,
                "Bucket": "bucket-name",
                "ForcePathStyle": false,
                "Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "bucket-name",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "A custom endpoint cannot be combined with S3 Accelerate"
            }
        },
        {
            "documentation": "SDK::Host + access point ARN@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Endpoint": "https://beta.example.com",
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "SDK::Endpoint": "https://beta.example.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.beta.example.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla access point arn@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "access point arn + FIPS@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint-fips.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "access point arn + accelerate = error@us-west-2",
            "params": {
                "Accelerate": true,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Access Points do not support S3 Accelerate"
            }
        },
        {
            "documentation": "access point arn + FIPS + DualStack@us-west-2",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": true,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "vanilla access point arn@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.cn-north-1.amazonaws.com.cn",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "access point arn + FIPS@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "access point arn + accelerate = error@cn-north-1",
            "params": {
                "Accelerate": true,
                "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Access Points do not support S3 Accelerate"
            }
        },
        {
            "documentation": "access point arn + FIPS + DualStack@cn-north-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "cn-north-1",
                "UseDualStack": true,
                "UseFIPS": true
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "vanilla access point arn@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "access point arn + FIPS@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint-fips.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "access point arn + accelerate = error@af-south-1",
            "params": {
                "Accelerate": true,
                "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Access Points do not support S3 Accelerate"
            }
        },
        {
            "documentation": "access point arn + FIPS + DualStack@af-south-1",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                "ForcePathStyle": false,
                "Region": "af-south-1",
                "UseDualStack": true,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "af-south-1",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.af-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "af-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 outposts vanilla test",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://reports-123456789012.op-01234567890123456.s3-outposts.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 outposts custom endpoint",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports",
                "Endpoint": "https://example.amazonaws.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://example.amazonaws.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://reports-123456789012.op-01234567890123456.example.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "outposts arn with region mismatch and UseArnRegion=false",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                "ForcePathStyle": false,
                "UseArnRegion": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"
            }
        },
        {
            "documentation": "outposts arn with region mismatch, custom region and UseArnRegion=false",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                "Endpoint": "https://example.com",
                "ForcePathStyle": false,
                "UseArnRegion": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://example.com",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"
            }
        },
        {
            "documentation": "outposts arn with region mismatch and UseArnRegion=true",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                "ForcePathStyle": false,
                "UseArnRegion": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "outposts arn with region mismatch and UseArnRegion unset",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                "ForcePathStyle": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "outposts arn with partition mismatch and UseArnRegion=true",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                "ForcePathStyle": false,
                "UseArnRegion": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Client was configured for partition `aws` but ARN (`arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint`) has `aws-cn`"
            }
        },
        {
            "documentation": "ARN with UseGlobalEndpoint and use-east-1 region uses the regional endpoint",
            "params": {
                "Region": "us-east-1",
                "UseGlobalEndpoint": true,
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/accesspoint/reports"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/accesspoint/reports",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::UseGlobalEndpoint": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://reports-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 outposts does not support dualstack",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports"
            },
            "expect": {
                "error": "S3 Outposts does not support Dual-stack"
            }
        },
        {
            "documentation": "S3 outposts does not support fips",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports"
            },
            "expect": {
                "error": "S3 Outposts does not support FIPS"
            }
        },
        {
            "documentation": "S3 outposts does not support accelerate",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports"
            },
            "expect": {
                "error": "S3 Outposts does not support S3 Accelerate"
            }
        },
        {
            "documentation": "validates against subresource",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:mybucket:object:foo"
            },
            "expect": {
                "error": "Invalid Arn: Outpost Access Point ARN contains sub resources"
            }
        },
        {
            "documentation": "validates against access point host label",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Bucket": "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:invalid.bucket#"
            },
            "expect": {
                "error": "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `invalid.bucket#`"
            }
        },
        {
            "documentation": "object lambda @us-east-1",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @us-west-2",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda, colon resource deliminator @us-west-2",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @us-east-1, client region us-west-2, useArnRegion=true",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @us-east-1, client region s3-external-1, useArnRegion=true",
            "params": {
                "Region": "s3-external-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "s3-external-1",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @us-east-1, client region s3-external-1, useArnRegion=false",
            "params": {
                "Region": "s3-external-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "s3-external-1",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: region from ARN `us-east-1` does not match client region `s3-external-1` and UseArnRegion is `false`"
            }
        },
        {
            "documentation": "object lambda @us-east-1, client region aws-global, useArnRegion=true",
            "params": {
                "Region": "aws-global",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @us-east-1, client region aws-global, useArnRegion=false",
            "params": {
                "Region": "aws-global",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: region from ARN `us-east-1` does not match client region `aws-global` and UseArnRegion is `false`"
            }
        },
        {
            "documentation": "object lambda @cn-north-1, client region us-west-2 (cross partition), useArnRegion=true",
            "params": {
                "Region": "aws-global",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "aws-global",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Client was configured for partition `aws` but ARN (`arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner`) has `aws-cn`"
            }
        },
        {
            "documentation": "object lambda with dualstack",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true,
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3 Object Lambda does not support Dual-stack"
            }
        },
        {
            "documentation": "object lambda @us-gov-east-1",
            "params": {
                "Region": "us-gov-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws-us-gov:s3-object-lambda:us-gov-east-1:123456789012:accesspoint/mybanner"
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda.us-gov-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-gov-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @us-gov-east-1, with fips",
            "params": {
                "Region": "us-gov-east-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws-us-gov:s3-object-lambda:us-gov-east-1:123456789012:accesspoint/mybanner"
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.s3-object-lambda-fips.us-gov-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-gov-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda @cn-north-1, with fips",
            "params": {
                "Region": "cn-north-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner"
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "object lambda with accelerate",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::Accelerate": true,
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3 Object Lambda does not support S3 Accelerate"
            }
        },
        {
            "documentation": "object lambda with invalid arn - bad service and someresource",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:sqs:us-west-2:123456789012:someresource"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:sqs:us-west-2:123456789012:someresource",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: Unrecognized format: arn:aws:sqs:us-west-2:123456789012:someresource (type: someresource)"
            }
        },
        {
            "documentation": "object lambda with invalid arn - invalid resource",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:bucket_name:mybucket"
            },
            "expect": {
                "error": "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `bucket_name`"
            }
        },
        {
            "documentation": "object lambda with invalid arn - missing region",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda::123456789012:accesspoint/mybanner"
            },
            "expect": {
                "error": "Invalid ARN: bucket ARN is missing a region"
            }
        },
        {
            "documentation": "object lambda with invalid arn - missing account-id",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2::accesspoint/mybanner"
            },
            "expect": {
                "error": "Invalid ARN: Missing account id"
            }
        },
        {
            "documentation": "object lambda with invalid arn - account id contains invalid characters",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123.45678.9012:accesspoint:mybucket"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-west-2:123.45678.9012:accesspoint:mybucket",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123.45678.9012`"
            }
        },
        {
            "documentation": "object lambda with invalid arn - missing access point name",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint"
            },
            "expect": {
                "error": "Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"
            }
        },
        {
            "documentation": "object lambda with invalid arn - access point name contains invalid character: *",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:*"
            },
            "expect": {
                "error": "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `*`"
            }
        },
        {
            "documentation": "object lambda with invalid arn - access point name contains invalid character: .",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:my.bucket"
            },
            "expect": {
                "error": "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `my.bucket`"
            }
        },
        {
            "documentation": "object lambda with invalid arn - access point name contains sub resources",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": true,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:mybucket:object:foo"
            },
            "expect": {
                "error": "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."
            }
        },
        {
            "documentation": "object lambda with custom endpoint",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseArnRegion": false,
                "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner",
                "Endpoint": "https://my-endpoint.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://my-endpoint.com",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybanner-123456789012.my-endpoint.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "object lambda arn with region mismatch and UseArnRegion=false",
            "params": {
                "Accelerate": false,
                "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                "ForcePathStyle": false,
                "UseArnRegion": false,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::S3::UseArnRegion": false
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"
            }
        },
        {
            "documentation": "WriteGetObjectResponse @ us-west-2",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "WriteGetObjectResponse",
                    "operationParams": {
                        "RequestRoute": "RequestRoute",
                        "RequestToken": "RequestToken"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-object-lambda.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "WriteGetObjectResponse with custom endpoint",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Endpoint": "https://my-endpoint.com",
                "Region": "us-west-2",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "WriteGetObjectResponse",
                    "operationParams": {
                        "RequestRoute": "RequestRoute",
                        "RequestToken": "RequestToken"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://my-endpoint.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://my-endpoint.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "WriteGetObjectResponse @ us-east-1",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Region": "us-east-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "WriteGetObjectResponse",
                    "operationParams": {
                        "RequestRoute": "RequestRoute",
                        "RequestToken": "RequestToken"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-object-lambda.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "WriteGetObjectResponse with fips",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Region": "us-east-1",
                "UseDualStack": false,
                "UseFIPS": true
            },
            "operationInputs": [
                {
                    "operationName": "WriteGetObjectResponse",
                    "operationParams": {
                        "RequestRoute": "RequestRoute",
                        "RequestToken": "RequestToken"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3-object-lambda-fips.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "WriteGetObjectResponse with dualstack",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Region": "us-east-1",
                "UseDualStack": true,
                "UseFIPS": false
            },
            "operationInputs": [
                {
                    "operationName": "WriteGetObjectResponse",
                    "operationParams": {
                        "RequestRoute": "RequestRoute",
                        "RequestToken": "RequestToken"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3 Object Lambda does not support Dual-stack"
            }
        },
        {
            "documentation": "WriteGetObjectResponse with accelerate",
            "params": {
                "Accelerate": true,
                "UseObjectLambdaEndpoint": true,
                "Region": "us-east-1",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "error": "S3 Object Lambda does not support S3 Accelerate"
            }
        },
        {
            "documentation": "WriteGetObjectResponse with fips in CN",
            "params": {
                "Accelerate": false,
                "Region": "cn-north-1",
                "UseObjectLambdaEndpoint": true,
                "UseDualStack": false,
                "UseFIPS": true
            },
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "WriteGetObjectResponse with invalid partition",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Region": "not a valid DNS name",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "error": "Invalid region: region was not a valid DNS name."
            }
        },
        {
            "documentation": "WriteGetObjectResponse with an unknown partition",
            "params": {
                "Accelerate": false,
                "UseObjectLambdaEndpoint": true,
                "Region": "us-east.special",
                "UseDualStack": false,
                "UseFIPS": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3-object-lambda.us-east.special.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3-object-lambda",
                                "disableDoubleEncoding": true,
                                "signingRegion": "us-east.special"
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Real Outpost Prod us-west-1",
            "params": {
                "Region": "us-west-1",
                "Bucket": "test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.op-0b1d075431d83bebd.s3-outposts.us-west-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-west-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Real Outpost Prod ap-east-1",
            "params": {
                "Region": "ap-east-1",
                "Bucket": "test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.op-0b1d075431d83bebd.s3-outposts.ap-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "ap-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Ec2 Outpost Prod us-east-1",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-e0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://test-accessp-e0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.ec2.s3-outposts.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Ec2 Outpost Prod me-south-1",
            "params": {
                "Region": "me-south-1",
                "Bucket": "test-accessp-e0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://test-accessp-e0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.ec2.s3-outposts.me-south-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "me-south-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Real Outpost Beta",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kbeta0--op-s3",
                "Endpoint": "https://example.amazonaws.com",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kbeta0--op-s3.op-0b1d075431d83bebd.example.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Ec2 Outpost Beta",
            "params": {
                "Region": "us-east-1",
                "Bucket": "161743052723-e00000136899934034jeahy1t8gpzpbwjj8kb7beta0--op-s3",
                "Endpoint": "https://example.amazonaws.com",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://161743052723-e00000136899934034jeahy1t8gpzpbwjj8kb7beta0--op-s3.ec2.example.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4a",
                                "signingName": "s3-outposts",
                                "signingRegionSet": [
                                    "*"
                                ],
                                "disableDoubleEncoding": true
                            },
                            {
                                "name": "sigv4",
                                "signingName": "s3-outposts",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias - No endpoint set for beta",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kbeta0--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "error": "Expected a endpoint to be specified but no endpoint was found"
            }
        },
        {
            "documentation": "S3 Outposts invalid bucket name",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-o0b1de75431d83bebd/8xz5w8ijx1qzlbp3i3kbeta0--op-s3",
                "Endpoint": "https://example.amazonaws.com",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "error": "Invalid Outposts Bucket alias - it must be a valid bucket name."
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Invalid hardware type",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-h0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "error": "Unrecognized hardware type: \"Expected hardware type o or e but got h\""
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias Special character in Outpost Arn",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-o00000754%1d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "error": "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."
            }
        },
        {
            "documentation": "S3 Outposts bucketAlias - No endpoint set for beta",
            "params": {
                "Region": "us-east-1",
                "Bucket": "test-accessp-e0b1d075431d83bebde8xz5w8ijx1qzlbp3i3ebeta0--op-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "error": "Expected a endpoint to be specified but no endpoint was found"
            }
        },
        {
            "documentation": "S3 Snow with bucket",
            "params": {
                "Region": "snow",
                "Bucket": "bucketName",
                "Endpoint": "http://10.0.1.12:433",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "http://10.0.1.12:433/bucketName",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "snow",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Snow without bucket",
            "params": {
                "Region": "snow",
                "Endpoint": "https://10.0.1.12:433",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://10.0.1.12:433",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "snow",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Snow no port",
            "params": {
                "Region": "snow",
                "Bucket": "bucketName",
                "Endpoint": "http://10.0.1.12",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "http://10.0.1.12/bucketName",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "snow",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "S3 Snow dns endpoint",
            "params": {
                "Region": "snow",
                "Bucket": "bucketName",
                "Endpoint": "https://amazonaws.com",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://amazonaws.com/bucketName",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3",
                                "signingRegion": "snow",
                                "disableDoubleEncoding": true
                            }
                        ]
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone name",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--abcd-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--abcd-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--abcd-ab1--x-s3.s3express-abcd-ab1.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone name china region",
            "params": {
                "Region": "cn-north-1",
                "Bucket": "mybucket--abcd-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--abcd-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--abcd-ab1--x-s3.s3express-abcd-ab1.cn-north-1.amazonaws.com.cn",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone name with AP",
            "params": {
                "Region": "us-east-1",
                "Bucket": "myaccesspoint--abcd-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--abcd-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--abcd-ab1--xa-s3.s3express-abcd-ab1.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone name with AP china region",
            "params": {
                "Region": "cn-north-1",
                "Bucket": "myaccesspoint--abcd-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--abcd-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--abcd-ab1--xa-s3.s3express-abcd-ab1.cn-north-1.amazonaws.com.cn",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone names (13 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test-zone-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone names (13 chars) with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with medium zone names (14 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test1-zone-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with medium zone names (14 chars) with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long zone names (20 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long zone names (20 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone fips",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-ab1--x-s3.s3express-fips-test-ab1.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone fips china region",
            "params": {
                "Region": "cn-north-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "Data Plane with short zone fips with AP",
            "params": {
                "Region": "us-east-1",
                "Bucket": "myaccesspoint--test-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-ab1--xa-s3.s3express-fips-test-ab1.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone fips with AP china region",
            "params": {
                "Region": "cn-north-1",
                "Bucket": "myaccesspoint--test-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "Data Plane with short zone (13 chars) fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test-zone-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-fips-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short zone (13 chars) fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-fips-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with medium zone (14 chars) fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test1-zone-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-fips-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with medium zone (14 chars) fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-fips-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long zone (20 chars) fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-fips-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long zone (20 chars) fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-fips-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long AZ",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test1-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-az1--x-s3.s3express-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long AZ with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test1-az1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-az1--xa-s3.s3express-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long AZ fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-az1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test1-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-az1--x-s3.s3express-fips-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long AZ fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-az1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test1-az1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-az1--xa-s3.s3express-fips-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane with short AZ bucket",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane with short AZ bucket china region",
            "params": {
                "Region": "cn-north-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control.cn-north-1.amazonaws.com.cn/mybucket--test-ab1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "cn-north-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane with short AZ bucket and fips",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control-fips.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane with short AZ bucket and fips china region",
            "params": {
                "Region": "cn-north-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3"
                    },
                    "builtInParams": {
                        "AWS::Region": "cn-north-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Partition does not support FIPS"
            }
        },
        {
            "documentation": "Control plane without bucket",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "ListDirectoryBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane without bucket and fips",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "ListDirectoryBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control-fips.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short AZ",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.s3express-usw2-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short AZ with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.s3express-usw2-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short zone (13 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short zone (13 chars) with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short AZ fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.s3express-fips-usw2-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short AZ fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.s3express-fips-usw2-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short zone (13 chars) fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-fips-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short zone (13 chars) fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-fips-test-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long AZ",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-az1--x-s3.s3express-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long AZ with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-az1--xa-s3.s3express-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with medium zone(14 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with medium zone(14 chars) with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long zone(20 chars)",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long zone(20 chars) with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long AZ fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-az1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-az1--x-s3.s3express-fips-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long AZ fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-az1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-az1--xa-s3.s3express-fips-test1-az1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with medium zone (14 chars) fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-fips-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with medium zone (14 chars) fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-fips-test1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long zone (20 chars) fips",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-fips-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long zone (20 chars) fips with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-fips-test1-long1-zone-ab1.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control Plane host override",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": true,
                "Endpoint": "https://custom.com"
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.custom.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control Plane host override with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": true,
                "Endpoint": "https://custom.com"
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.custom.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control Plane host override no bucket",
            "params": {
                "Region": "us-west-2",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": true,
                "Endpoint": "https://custom.com"
            },
            "expect": {
                "endpoint": {
                    "url": "https://custom.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane host override non virtual session auth",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://10.0.0.1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--usw2-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://10.0.0.1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://10.0.0.1/mybucket--usw2-az1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane host override non virtual session auth with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://10.0.0.1"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://10.0.0.1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://10.0.0.1/myaccesspoint--usw2-az1--xa-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control Plane host override ip",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": true,
                "Endpoint": "https://10.0.0.1"
            },
            "expect": {
                "endpoint": {
                    "url": "https://10.0.0.1/mybucket--usw2-az1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control Plane host override ip with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": true,
                "Endpoint": "https://10.0.0.1"
            },
            "expect": {
                "endpoint": {
                    "url": "https://10.0.0.1/myaccesspoint--usw2-az1--xa-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane host override",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://custom.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--usw2-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://custom.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.custom.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane host override with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://custom.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://custom.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.custom.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "bad format error",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--usaz1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--usaz1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Unrecognized S3Express bucket name format."
            }
        },
        {
            "documentation": "bad AP format error",
            "params": {
                "Region": "us-east-1",
                "Bucket": "myaccesspoint--usaz1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--usaz1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Unrecognized S3Express bucket name format."
            }
        },
        {
            "documentation": "bad format error no session auth",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--usaz1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--usaz1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Unrecognized S3Express bucket name format."
            }
        },
        {
            "documentation": "bad AP format error no session auth",
            "params": {
                "Region": "us-east-1",
                "Bucket": "myaccesspoint--usaz1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false,
                "DisableS3ExpressSessionAuth": true
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--usaz1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "Unrecognized S3Express bucket name format."
            }
        },
        {
            "documentation": "accelerate error",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3Express does not support S3 Accelerate."
            }
        },
        {
            "documentation": "accelerate error with AP",
            "params": {
                "Region": "us-east-1",
                "Bucket": "myaccesspoint--test-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": true,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "myaccesspoint--test-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::S3::Accelerate": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3Express does not support S3 Accelerate."
            }
        },
        {
            "documentation": "Data plane bucket format error",
            "params": {
                "Region": "us-east-1",
                "Bucket": "my.bucket--test-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "my.bucket--test-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3Express bucket name is not a valid virtual hostable name."
            }
        },
        {
            "documentation": "Data plane AP format error",
            "params": {
                "Region": "us-east-1",
                "Bucket": "my.myaccesspoint--test-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "my.myaccesspoint--test-ab1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3Express bucket name is not a valid virtual hostable name."
            }
        },
        {
            "documentation": "host override data plane bucket error session auth",
            "params": {
                "Region": "us-west-2",
                "Bucket": "my.bucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://custom.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "my.bucket--usw2-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://custom.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3Express bucket name is not a valid virtual hostable name."
            }
        },
        {
            "documentation": "host override data plane AP error session auth",
            "params": {
                "Region": "us-west-2",
                "Bucket": "my.myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://custom.com"
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "my.myaccesspoint--usw2-az1--xa-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "SDK::Endpoint": "https://custom.com"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "error": "S3Express bucket name is not a valid virtual hostable name."
            }
        },
        {
            "documentation": "host override data plane bucket error",
            "params": {
                "Region": "us-west-2",
                "Bucket": "my.bucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://custom.com",
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "error": "S3Express bucket name is not a valid virtual hostable name."
            }
        },
        {
            "documentation": "host override data plane AP error",
            "params": {
                "Region": "us-west-2",
                "Bucket": "my.myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "Endpoint": "https://custom.com",
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "error": "S3Express bucket name is not a valid virtual hostable name."
            }
        },
        {
            "documentation": "Control plane without bucket and dualstack",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "ListDirectoryBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane without bucket, fips and dualstack",
            "params": {
                "Region": "us-east-1",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "operationInputs": [
                {
                    "operationName": "ListDirectoryBuckets",
                    "operationParams": {},
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control-fips.dualstack.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with bucket containing delimiters",
            "params": {
                "Region": "us-east-1",
                "Bucket": "my--s3--bucket--abcd-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "my--s3--bucket--abcd-ab1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1"
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://my--s3--bucket--abcd-ab1--x-s3.s3express-abcd-ab1.us-east-1.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane with with bucket containing delimiters",
            "params": {
                "Region": "us-east-1",
                "Bucket": "my--s3--bucket--abcd-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": false,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true,
                "DisableS3ExpressSessionAuth": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control.us-east-1.amazonaws.com/my--s3--bucket--abcd-ab1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short AZ and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--usw2-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.s3express-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with short AZ and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "operationInputs": [
                {
                    "operationName": "GetObject",
                    "operationParams": {
                        "Bucket": "mybucket--usw2-az1--x-s3",
                        "Key": "key"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-west-2",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.s3express-fips-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short AZ and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.s3express-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with short AZ and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az1--x-s3.s3express-fips-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with zone and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az12--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az12--x-s3.s3express-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az12--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az12--x-s3.s3express-fips-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with zone and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az12--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az12--x-s3.s3express-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with 9-char zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--usw2-az12--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--usw2-az12--x-s3.s3express-fips-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with 13-char zone and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with 13-char zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-fips-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with 13-char zone and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with 13-char zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test-zone-ab1--x-s3.s3express-fips-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with 14-char zone and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with 14-char zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-fips-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with 14-char zone and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with 14-char zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-zone-ab1--x-s3.s3express-fips-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long zone (20 cha) and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with long zone (20 char) and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-fips-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long zone (20 char) and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with long zone (20 char) and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "mybucket--test1-long1-zone-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://mybucket--test1-long1-zone-ab1--x-s3.s3express-fips-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane and FIPS with dualstack",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseFIPS": true,
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control-fips.dualstack.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane with zone and dualstack and AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.s3express-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane with zone and FIPS with dualstack and AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.s3express-fips-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with zone and dualstack and AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.s3express-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane AP sigv4 auth with zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az1--xa-s3.s3express-fips-usw2-az1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with zone (9 char) and AP with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az12--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az12--xa-s3.s3express-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with zone (9 char) and FIPS with AP and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az12--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az12--xa-s3.s3express-fips-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with (9 char) zone and dualstack with AP",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az12--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az12--xa-s3.s3express-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Access Point sigv4 auth with (9 char) zone and FIPS with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--usw2-az12--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--usw2-az12--xa-s3.s3express-fips-usw2-az12.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with zone (13 char) and AP with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with zone (13 char) and AP with FIPS and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-fips-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with (13 char) zone with AP and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with (13 char) zone with AP and FIPS and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test-zone-ab1--xa-s3.s3express-fips-test-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with (14 char) zone and AP with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with (14 char) zone and AP with FIPS and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-fips-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane sigv4 auth with (14 char) zone and AP with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with (14 char) zone and AP with FIPS and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-zone-ab1--xa-s3.s3express-fips-test1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with (20 char) zone and AP with dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data Plane with (20 char) zone and AP with FIPS and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": false
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-fips-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4-s3express",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane AP with sigv4 and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Data plane AP sigv4 with fips and dualstack",
            "params": {
                "Region": "us-west-2",
                "Bucket": "myaccesspoint--test1-long1-zone-ab1--xa-s3",
                "UseFIPS": true,
                "UseDualStack": true,
                "Accelerate": false,
                "DisableS3ExpressSessionAuth": true
            },
            "expect": {
                "endpoint": {
                    "url": "https://myaccesspoint--test1-long1-zone-ab1--xa-s3.s3express-fips-test1-long1-zone-ab1.dualstack.us-west-2.amazonaws.com",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-west-2",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        },
        {
            "documentation": "Control plane with dualstack and bucket",
            "params": {
                "Region": "us-east-1",
                "Bucket": "mybucket--test-ab1--x-s3",
                "UseFIPS": false,
                "UseDualStack": true,
                "Accelerate": false,
                "UseS3ExpressControlEndpoint": true
            },
            "operationInputs": [
                {
                    "operationName": "CreateBucket",
                    "operationParams": {
                        "Bucket": "mybucket--test-ab1--x-s3"
                    },
                    "builtInParams": {
                        "AWS::Region": "us-east-1",
                        "AWS::UseDualStack": true
                    },
                    "clientParams": {}
                }
            ],
            "expect": {
                "endpoint": {
                    "url": "https://s3express-control.dualstack.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3",
                    "properties": {
                        "authSchemes": [
                            {
                                "name": "sigv4",
                                "signingName": "s3express",
                                "signingRegion": "us-east-1",
                                "disableDoubleEncoding": true
                            }
                        ],
                        "backend": "S3Express"
                    }
                }
            }
        }
    ]
}