Server Test Python

Server Test Python

rev. 0ac54b15fa9bcbccc9bb9a71477aa06e77e21f6f

Files changed:

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/input.rs

@@ -1850,1850 +1914,1914 @@
 1870   1870   
            }
 1871   1871   
        }
 1872   1872   
    }
 1873   1873   
    impl ::std::error::Error for ConstraintViolation {}
 1874   1874   
    impl ConstraintViolation {
 1875   1875   
        pub(crate) fn as_validation_exception_field(
 1876   1876   
            self,
 1877   1877   
            path: ::std::string::String,
 1878   1878   
        ) -> crate::model::ValidationExceptionField {
 1879   1879   
            match self {
 1880         -
        ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
 1881         -
                                        message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
 1882         -
                                        path: path + "/events",
 1883         -
                                    },
 1884         -
    }
        1880  +
            ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
        1881  +
                                                message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
        1882  +
                                                path: path + "/events",
        1883  +
                                            },
        1884  +
        }
 1885   1885   
        }
 1886   1886   
    }
 1887   1887   
    impl ::std::convert::From<ConstraintViolation>
 1888   1888   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1889   1889   
    {
 1890   1890   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1891   1891   
            let first_validation_exception_field =
 1892   1892   
                constraint_violation.as_validation_exception_field("".to_owned());
 1893   1893   
            let validation_exception = crate::error::ValidationException {
 1894   1894   
                message: format!(
@@ -4179,4179 +4245,4245 @@
 4199   4199   
            }
 4200   4200   
        }
 4201   4201   
    }
 4202   4202   
    impl ::std::error::Error for ConstraintViolation {}
 4203   4203   
    impl ConstraintViolation {
 4204   4204   
        pub(crate) fn as_validation_exception_field(
 4205   4205   
            self,
 4206   4206   
            path: ::std::string::String,
 4207   4207   
        ) -> crate::model::ValidationExceptionField {
 4208   4208   
            match self {
 4209         -
        ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
 4210         -
        ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
 4211         -
                                        message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
 4212         -
                                        path: path + "/recursiveList",
 4213         -
                                    },
 4214         -
        ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
 4215         -
    }
        4209  +
            ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
        4210  +
            ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
        4211  +
                                                message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
        4212  +
                                                path: path + "/recursiveList",
        4213  +
                                            },
        4214  +
            ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
        4215  +
        }
 4216   4216   
        }
 4217   4217   
    }
 4218   4218   
    impl ::std::convert::From<ConstraintViolation>
 4219   4219   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4220   4220   
    {
 4221   4221   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4222   4222   
            let first_validation_exception_field =
 4223   4223   
                constraint_violation.as_validation_exception_field("".to_owned());
 4224   4224   
            let validation_exception = crate::error::ValidationException {
 4225   4225   
                message: format!(
@@ -4406,4406 +4471,4471 @@
 4426   4426   
            }
 4427   4427   
        }
 4428   4428   
    }
 4429   4429   
    impl ::std::error::Error for ConstraintViolation {}
 4430   4430   
    impl ConstraintViolation {
 4431   4431   
        pub(crate) fn as_validation_exception_field(
 4432   4432   
            self,
 4433   4433   
            path: ::std::string::String,
 4434   4434   
        ) -> crate::model::ValidationExceptionField {
 4435   4435   
            match self {
 4436         -
        ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
 4437         -
                                        message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
 4438         -
                                        path: path + "/httpPayloadBoundConstrainedShape",
 4439         -
                                    },
 4440         -
        ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
 4441         -
    }
        4436  +
            ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
        4437  +
                                                message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
        4438  +
                                                path: path + "/httpPayloadBoundConstrainedShape",
        4439  +
                                            },
        4440  +
            ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
        4441  +
        }
 4442   4442   
        }
 4443   4443   
    }
 4444   4444   
    impl ::std::convert::From<ConstraintViolation>
 4445   4445   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4446   4446   
    {
 4447   4447   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4448   4448   
            let first_validation_exception_field =
 4449   4449   
                constraint_violation.as_validation_exception_field("".to_owned());
 4450   4450   
            let validation_exception = crate::error::ValidationException {
 4451   4451   
                message: format!(
@@ -4769,4769 +4883,4883 @@
 4789   4789   
            }
 4790   4790   
        }
 4791   4791   
    }
 4792   4792   
    impl ::std::error::Error for ConstraintViolation {}
 4793   4793   
    impl ConstraintViolation {
 4794   4794   
        pub(crate) fn as_validation_exception_field(
 4795   4795   
            self,
 4796   4796   
            path: ::std::string::String,
 4797   4797   
        ) -> crate::model::ValidationExceptionField {
 4798   4798   
            match self {
 4799         -
        ConstraintViolation::MissingLengthStringLabel => crate::model::ValidationExceptionField {
 4800         -
                                        message: format!("Value at '{}/lengthStringLabel' failed to satisfy constraint: Member must not be null", path),
 4801         -
                                        path: path + "/lengthStringLabel",
 4802         -
                                    },
 4803         -
        ConstraintViolation::LengthStringLabel(inner) => inner.as_validation_exception_field(path + "/lengthStringLabel"),
 4804         -
        ConstraintViolation::RangeIntegerLabel(inner) => inner.as_validation_exception_field(path + "/rangeIntegerLabel"),
 4805         -
        ConstraintViolation::RangeShortLabel(inner) => inner.as_validation_exception_field(path + "/rangeShortLabel"),
 4806         -
        ConstraintViolation::RangeLongLabel(inner) => inner.as_validation_exception_field(path + "/rangeLongLabel"),
 4807         -
        ConstraintViolation::RangeByteLabel(inner) => inner.as_validation_exception_field(path + "/rangeByteLabel"),
 4808         -
        ConstraintViolation::MissingEnumStringLabel => crate::model::ValidationExceptionField {
 4809         -
                                        message: format!("Value at '{}/enumStringLabel' failed to satisfy constraint: Member must not be null", path),
 4810         -
                                        path: path + "/enumStringLabel",
 4811         -
                                    },
 4812         -
        ConstraintViolation::EnumStringLabel(inner) => inner.as_validation_exception_field(path + "/enumStringLabel"),
 4813         -
        ConstraintViolation::MissingLengthStringHeaderMap => crate::model::ValidationExceptionField {
 4814         -
                                        message: format!("Value at '{}/lengthStringHeaderMap' failed to satisfy constraint: Member must not be null", path),
 4815         -
                                        path: path + "/lengthStringHeaderMap",
 4816         -
                                    },
 4817         -
        ConstraintViolation::LengthStringHeaderMap(inner) => inner.as_validation_exception_field(path + "/lengthStringHeaderMap"),
 4818         -
        ConstraintViolation::LengthStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringHeader"),
 4819         -
        ConstraintViolation::RangeIntegerHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerHeader"),
 4820         -
        ConstraintViolation::RangeShortHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortHeader"),
 4821         -
        ConstraintViolation::RangeLongHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongHeader"),
 4822         -
        ConstraintViolation::RangeByteHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteHeader"),
 4823         -
        ConstraintViolation::LengthStringSetHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringSetHeader"),
 4824         -
        ConstraintViolation::ListLengthStringHeader(inner) => inner.as_validation_exception_field(path + "/listLengthStringHeader"),
 4825         -
        ConstraintViolation::LengthListPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringHeader"),
 4826         -
        ConstraintViolation::LengthSetPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthSetPatternStringHeader"),
 4827         -
        ConstraintViolation::RangeByteSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteSetHeader"),
 4828         -
        ConstraintViolation::RangeShortSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortSetHeader"),
 4829         -
        ConstraintViolation::RangeIntegerSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetHeader"),
 4830         -
        ConstraintViolation::RangeLongSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongSetHeader"),
 4831         -
        ConstraintViolation::RangeByteListHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteListHeader"),
 4832         -
        ConstraintViolation::RangeShortListHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortListHeader"),
 4833         -
        ConstraintViolation::RangeIntegerListHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListHeader"),
 4834         -
        ConstraintViolation::RangeLongListHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongListHeader"),
 4835         -
        ConstraintViolation::LengthStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringQuery"),
 4836         -
        ConstraintViolation::RangeByteQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteQuery"),
 4837         -
        ConstraintViolation::RangeShortQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortQuery"),
 4838         -
        ConstraintViolation::RangeIntegerQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerQuery"),
 4839         -
        ConstraintViolation::RangeLongQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongQuery"),
 4840         -
        ConstraintViolation::EnumStringQuery(inner) => inner.as_validation_exception_field(path + "/enumStringQuery"),
 4841         -
        ConstraintViolation::LengthStringListQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringListQuery"),
 4842         -
        ConstraintViolation::LengthListPatternStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringQuery"),
 4843         -
        ConstraintViolation::LengthStringSetQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringSetQuery"),
 4844         -
        ConstraintViolation::RangeByteListQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteListQuery"),
 4845         -
        ConstraintViolation::RangeShortListQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortListQuery"),
 4846         -
        ConstraintViolation::RangeIntegerListQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListQuery"),
 4847         -
        ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
 4848         -
        ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
 4849         -
        ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
 4850         -
        ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
 4851         -
        ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
 4852         -
        ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
 4853         -
    }
        4799  +
            ConstraintViolation::MissingLengthStringLabel => crate::model::ValidationExceptionField {
        4800  +
                                                message: format!("Value at '{}/lengthStringLabel' failed to satisfy constraint: Member must not be null", path),
        4801  +
                                                path: path + "/lengthStringLabel",
        4802  +
                                            },
        4803  +
            ConstraintViolation::LengthStringLabel(inner) => inner.as_validation_exception_field(path + "/lengthStringLabel"),
        4804  +
            ConstraintViolation::RangeIntegerLabel(inner) => inner.as_validation_exception_field(path + "/rangeIntegerLabel"),
        4805  +
            ConstraintViolation::RangeShortLabel(inner) => inner.as_validation_exception_field(path + "/rangeShortLabel"),
        4806  +
            ConstraintViolation::RangeLongLabel(inner) => inner.as_validation_exception_field(path + "/rangeLongLabel"),
        4807  +
            ConstraintViolation::RangeByteLabel(inner) => inner.as_validation_exception_field(path + "/rangeByteLabel"),
        4808  +
            ConstraintViolation::MissingEnumStringLabel => crate::model::ValidationExceptionField {
        4809  +
                                                message: format!("Value at '{}/enumStringLabel' failed to satisfy constraint: Member must not be null", path),
        4810  +
                                                path: path + "/enumStringLabel",
        4811  +
                                            },
        4812  +
            ConstraintViolation::EnumStringLabel(inner) => inner.as_validation_exception_field(path + "/enumStringLabel"),
        4813  +
            ConstraintViolation::MissingLengthStringHeaderMap => crate::model::ValidationExceptionField {
        4814  +
                                                message: format!("Value at '{}/lengthStringHeaderMap' failed to satisfy constraint: Member must not be null", path),
        4815  +
                                                path: path + "/lengthStringHeaderMap",
        4816  +
                                            },
        4817  +
            ConstraintViolation::LengthStringHeaderMap(inner) => inner.as_validation_exception_field(path + "/lengthStringHeaderMap"),
        4818  +
            ConstraintViolation::LengthStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringHeader"),
        4819  +
            ConstraintViolation::RangeIntegerHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerHeader"),
        4820  +
            ConstraintViolation::RangeShortHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortHeader"),
        4821  +
            ConstraintViolation::RangeLongHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongHeader"),
        4822  +
            ConstraintViolation::RangeByteHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteHeader"),
        4823  +
            ConstraintViolation::LengthStringSetHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringSetHeader"),
        4824  +
            ConstraintViolation::ListLengthStringHeader(inner) => inner.as_validation_exception_field(path + "/listLengthStringHeader"),
        4825  +
            ConstraintViolation::LengthListPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringHeader"),
        4826  +
            ConstraintViolation::LengthSetPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthSetPatternStringHeader"),
        4827  +
            ConstraintViolation::RangeByteSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteSetHeader"),
        4828  +
            ConstraintViolation::RangeShortSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortSetHeader"),
        4829  +
            ConstraintViolation::RangeIntegerSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetHeader"),
        4830  +
            ConstraintViolation::RangeLongSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongSetHeader"),
        4831  +
            ConstraintViolation::RangeByteListHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteListHeader"),
        4832  +
            ConstraintViolation::RangeShortListHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortListHeader"),
        4833  +
            ConstraintViolation::RangeIntegerListHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListHeader"),
        4834  +
            ConstraintViolation::RangeLongListHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongListHeader"),
        4835  +
            ConstraintViolation::LengthStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringQuery"),
        4836  +
            ConstraintViolation::RangeByteQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteQuery"),
        4837  +
            ConstraintViolation::RangeShortQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortQuery"),
        4838  +
            ConstraintViolation::RangeIntegerQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerQuery"),
        4839  +
            ConstraintViolation::RangeLongQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongQuery"),
        4840  +
            ConstraintViolation::EnumStringQuery(inner) => inner.as_validation_exception_field(path + "/enumStringQuery"),
        4841  +
            ConstraintViolation::LengthStringListQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringListQuery"),
        4842  +
            ConstraintViolation::LengthListPatternStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringQuery"),
        4843  +
            ConstraintViolation::LengthStringSetQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringSetQuery"),
        4844  +
            ConstraintViolation::RangeByteListQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteListQuery"),
        4845  +
            ConstraintViolation::RangeShortListQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortListQuery"),
        4846  +
            ConstraintViolation::RangeIntegerListQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListQuery"),
        4847  +
            ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
        4848  +
            ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
        4849  +
            ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
        4850  +
            ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
        4851  +
            ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
        4852  +
            ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
        4853  +
        }
 4854   4854   
        }
 4855   4855   
    }
 4856   4856   
    impl ::std::convert::From<ConstraintViolation>
 4857   4857   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4858   4858   
    {
 4859   4859   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4860   4860   
            let first_validation_exception_field =
 4861   4861   
                constraint_violation.as_validation_exception_field("".to_owned());
 4862   4862   
            let validation_exception = crate::error::ValidationException {
 4863   4863   
                message: format!(

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/model.rs

@@ -6271,6271 +6336,6336 @@
 6291   6291   
            }
 6292   6292   
        }
 6293   6293   
    }
 6294   6294   
    impl ::std::error::Error for ConstraintViolation {}
 6295   6295   
    impl ConstraintViolation {
 6296   6296   
        pub(crate) fn as_validation_exception_field(
 6297   6297   
            self,
 6298   6298   
            path: ::std::string::String,
 6299   6299   
        ) -> crate::model::ValidationExceptionField {
 6300   6300   
            match self {
 6301         -
        ConstraintViolation::MissingRecursiveMember => crate::model::ValidationExceptionField {
 6302         -
                                        message: format!("Value at '{}/recursiveMember' failed to satisfy constraint: Member must not be null", path),
 6303         -
                                        path: path + "/recursiveMember",
 6304         -
                                    },
 6305         -
        ConstraintViolation::RecursiveMember(inner) => inner.as_validation_exception_field(path + "/recursiveMember"),
 6306         -
    }
        6301  +
            ConstraintViolation::MissingRecursiveMember => crate::model::ValidationExceptionField {
        6302  +
                                                message: format!("Value at '{}/recursiveMember' failed to satisfy constraint: Member must not be null", path),
        6303  +
                                                path: path + "/recursiveMember",
        6304  +
                                            },
        6305  +
            ConstraintViolation::RecursiveMember(inner) => inner.as_validation_exception_field(path + "/recursiveMember"),
        6306  +
        }
 6307   6307   
        }
 6308   6308   
    }
 6309   6309   
    impl ::std::convert::From<Builder>
 6310   6310   
        for crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>
 6311   6311   
    {
 6312   6312   
        fn from(builder: Builder) -> Self {
 6313   6313   
            Self::Unconstrained(builder)
 6314   6314   
        }
 6315   6315   
    }
 6316   6316   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested1 {

tmp-codegen-diff/codegen-server-test-python/constraints_without_public_constrained_types/rust-server-codegen-python/src/input.rs

@@ -1850,1850 +1914,1914 @@
 1870   1870   
            }
 1871   1871   
        }
 1872   1872   
    }
 1873   1873   
    impl ::std::error::Error for ConstraintViolation {}
 1874   1874   
    impl ConstraintViolation {
 1875   1875   
        pub(crate) fn as_validation_exception_field(
 1876   1876   
            self,
 1877   1877   
            path: ::std::string::String,
 1878   1878   
        ) -> crate::model::ValidationExceptionField {
 1879   1879   
            match self {
 1880         -
        ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
 1881         -
                                        message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
 1882         -
                                        path: path + "/events",
 1883         -
                                    },
 1884         -
    }
        1880  +
            ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
        1881  +
                                                message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
        1882  +
                                                path: path + "/events",
        1883  +
                                            },
        1884  +
        }
 1885   1885   
        }
 1886   1886   
    }
 1887   1887   
    impl ::std::convert::From<ConstraintViolation>
 1888   1888   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1889   1889   
    {
 1890   1890   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1891   1891   
            let first_validation_exception_field =
 1892   1892   
                constraint_violation.as_validation_exception_field("".to_owned());
 1893   1893   
            let validation_exception = crate::error::ValidationException {
 1894   1894   
                message: format!(
@@ -4179,4179 +4245,4245 @@
 4199   4199   
            }
 4200   4200   
        }
 4201   4201   
    }
 4202   4202   
    impl ::std::error::Error for ConstraintViolation {}
 4203   4203   
    impl ConstraintViolation {
 4204   4204   
        pub(crate) fn as_validation_exception_field(
 4205   4205   
            self,
 4206   4206   
            path: ::std::string::String,
 4207   4207   
        ) -> crate::model::ValidationExceptionField {
 4208   4208   
            match self {
 4209         -
        ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
 4210         -
        ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
 4211         -
                                        message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
 4212         -
                                        path: path + "/recursiveList",
 4213         -
                                    },
 4214         -
        ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
 4215         -
    }
        4209  +
            ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
        4210  +
            ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
        4211  +
                                                message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
        4212  +
                                                path: path + "/recursiveList",
        4213  +
                                            },
        4214  +
            ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
        4215  +
        }
 4216   4216   
        }
 4217   4217   
    }
 4218   4218   
    impl ::std::convert::From<ConstraintViolation>
 4219   4219   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4220   4220   
    {
 4221   4221   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4222   4222   
            let first_validation_exception_field =
 4223   4223   
                constraint_violation.as_validation_exception_field("".to_owned());
 4224   4224   
            let validation_exception = crate::error::ValidationException {
 4225   4225   
                message: format!(
@@ -4406,4406 +4471,4471 @@
 4426   4426   
            }
 4427   4427   
        }
 4428   4428   
    }
 4429   4429   
    impl ::std::error::Error for ConstraintViolation {}
 4430   4430   
    impl ConstraintViolation {
 4431   4431   
        pub(crate) fn as_validation_exception_field(
 4432   4432   
            self,
 4433   4433   
            path: ::std::string::String,
 4434   4434   
        ) -> crate::model::ValidationExceptionField {
 4435   4435   
            match self {
 4436         -
        ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
 4437         -
                                        message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
 4438         -
                                        path: path + "/httpPayloadBoundConstrainedShape",
 4439         -
                                    },
 4440         -
        ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
 4441         -
    }
        4436  +
            ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
        4437  +
                                                message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
        4438  +
                                                path: path + "/httpPayloadBoundConstrainedShape",
        4439  +
                                            },
        4440  +
            ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
        4441  +
        }
 4442   4442   
        }
 4443   4443   
    }
 4444   4444   
    impl ::std::convert::From<ConstraintViolation>
 4445   4445   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4446   4446   
    {
 4447   4447   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4448   4448   
            let first_validation_exception_field =
 4449   4449   
                constraint_violation.as_validation_exception_field("".to_owned());
 4450   4450   
            let validation_exception = crate::error::ValidationException {
 4451   4451   
                message: format!(
@@ -4769,4769 +4883,4883 @@
 4789   4789   
            }
 4790   4790   
        }
 4791   4791   
    }
 4792   4792   
    impl ::std::error::Error for ConstraintViolation {}
 4793   4793   
    impl ConstraintViolation {
 4794   4794   
        pub(crate) fn as_validation_exception_field(
 4795   4795   
            self,
 4796   4796   
            path: ::std::string::String,
 4797   4797   
        ) -> crate::model::ValidationExceptionField {
 4798   4798   
            match self {
 4799         -
        ConstraintViolation::MissingLengthStringLabel => crate::model::ValidationExceptionField {
 4800         -
                                        message: format!("Value at '{}/lengthStringLabel' failed to satisfy constraint: Member must not be null", path),
 4801         -
                                        path: path + "/lengthStringLabel",
 4802         -
                                    },
 4803         -
        ConstraintViolation::LengthStringLabel(inner) => inner.as_validation_exception_field(path + "/lengthStringLabel"),
 4804         -
        ConstraintViolation::RangeIntegerLabel(inner) => inner.as_validation_exception_field(path + "/rangeIntegerLabel"),
 4805         -
        ConstraintViolation::RangeShortLabel(inner) => inner.as_validation_exception_field(path + "/rangeShortLabel"),
 4806         -
        ConstraintViolation::RangeLongLabel(inner) => inner.as_validation_exception_field(path + "/rangeLongLabel"),
 4807         -
        ConstraintViolation::RangeByteLabel(inner) => inner.as_validation_exception_field(path + "/rangeByteLabel"),
 4808         -
        ConstraintViolation::MissingEnumStringLabel => crate::model::ValidationExceptionField {
 4809         -
                                        message: format!("Value at '{}/enumStringLabel' failed to satisfy constraint: Member must not be null", path),
 4810         -
                                        path: path + "/enumStringLabel",
 4811         -
                                    },
 4812         -
        ConstraintViolation::EnumStringLabel(inner) => inner.as_validation_exception_field(path + "/enumStringLabel"),
 4813         -
        ConstraintViolation::MissingLengthStringHeaderMap => crate::model::ValidationExceptionField {
 4814         -
                                        message: format!("Value at '{}/lengthStringHeaderMap' failed to satisfy constraint: Member must not be null", path),
 4815         -
                                        path: path + "/lengthStringHeaderMap",
 4816         -
                                    },
 4817         -
        ConstraintViolation::LengthStringHeaderMap(inner) => inner.as_validation_exception_field(path + "/lengthStringHeaderMap"),
 4818         -
        ConstraintViolation::LengthStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringHeader"),
 4819         -
        ConstraintViolation::RangeIntegerHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerHeader"),
 4820         -
        ConstraintViolation::RangeShortHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortHeader"),
 4821         -
        ConstraintViolation::RangeLongHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongHeader"),
 4822         -
        ConstraintViolation::RangeByteHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteHeader"),
 4823         -
        ConstraintViolation::LengthStringSetHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringSetHeader"),
 4824         -
        ConstraintViolation::ListLengthStringHeader(inner) => inner.as_validation_exception_field(path + "/listLengthStringHeader"),
 4825         -
        ConstraintViolation::LengthListPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringHeader"),
 4826         -
        ConstraintViolation::LengthSetPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthSetPatternStringHeader"),
 4827         -
        ConstraintViolation::RangeByteSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteSetHeader"),
 4828         -
        ConstraintViolation::RangeShortSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortSetHeader"),
 4829         -
        ConstraintViolation::RangeIntegerSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetHeader"),
 4830         -
        ConstraintViolation::RangeLongSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongSetHeader"),
 4831         -
        ConstraintViolation::RangeByteListHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteListHeader"),
 4832         -
        ConstraintViolation::RangeShortListHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortListHeader"),
 4833         -
        ConstraintViolation::RangeIntegerListHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListHeader"),
 4834         -
        ConstraintViolation::RangeLongListHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongListHeader"),
 4835         -
        ConstraintViolation::LengthStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringQuery"),
 4836         -
        ConstraintViolation::RangeByteQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteQuery"),
 4837         -
        ConstraintViolation::RangeShortQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortQuery"),
 4838         -
        ConstraintViolation::RangeIntegerQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerQuery"),
 4839         -
        ConstraintViolation::RangeLongQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongQuery"),
 4840         -
        ConstraintViolation::EnumStringQuery(inner) => inner.as_validation_exception_field(path + "/enumStringQuery"),
 4841         -
        ConstraintViolation::LengthStringListQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringListQuery"),
 4842         -
        ConstraintViolation::LengthListPatternStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringQuery"),
 4843         -
        ConstraintViolation::LengthStringSetQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringSetQuery"),
 4844         -
        ConstraintViolation::RangeByteListQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteListQuery"),
 4845         -
        ConstraintViolation::RangeShortListQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortListQuery"),
 4846         -
        ConstraintViolation::RangeIntegerListQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListQuery"),
 4847         -
        ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
 4848         -
        ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
 4849         -
        ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
 4850         -
        ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
 4851         -
        ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
 4852         -
        ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
 4853         -
    }
        4799  +
            ConstraintViolation::MissingLengthStringLabel => crate::model::ValidationExceptionField {
        4800  +
                                                message: format!("Value at '{}/lengthStringLabel' failed to satisfy constraint: Member must not be null", path),
        4801  +
                                                path: path + "/lengthStringLabel",
        4802  +
                                            },
        4803  +
            ConstraintViolation::LengthStringLabel(inner) => inner.as_validation_exception_field(path + "/lengthStringLabel"),
        4804  +
            ConstraintViolation::RangeIntegerLabel(inner) => inner.as_validation_exception_field(path + "/rangeIntegerLabel"),
        4805  +
            ConstraintViolation::RangeShortLabel(inner) => inner.as_validation_exception_field(path + "/rangeShortLabel"),
        4806  +
            ConstraintViolation::RangeLongLabel(inner) => inner.as_validation_exception_field(path + "/rangeLongLabel"),
        4807  +
            ConstraintViolation::RangeByteLabel(inner) => inner.as_validation_exception_field(path + "/rangeByteLabel"),
        4808  +
            ConstraintViolation::MissingEnumStringLabel => crate::model::ValidationExceptionField {
        4809  +
                                                message: format!("Value at '{}/enumStringLabel' failed to satisfy constraint: Member must not be null", path),
        4810  +
                                                path: path + "/enumStringLabel",
        4811  +
                                            },
        4812  +
            ConstraintViolation::EnumStringLabel(inner) => inner.as_validation_exception_field(path + "/enumStringLabel"),
        4813  +
            ConstraintViolation::MissingLengthStringHeaderMap => crate::model::ValidationExceptionField {
        4814  +
                                                message: format!("Value at '{}/lengthStringHeaderMap' failed to satisfy constraint: Member must not be null", path),
        4815  +
                                                path: path + "/lengthStringHeaderMap",
        4816  +
                                            },
        4817  +
            ConstraintViolation::LengthStringHeaderMap(inner) => inner.as_validation_exception_field(path + "/lengthStringHeaderMap"),
        4818  +
            ConstraintViolation::LengthStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringHeader"),
        4819  +
            ConstraintViolation::RangeIntegerHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerHeader"),
        4820  +
            ConstraintViolation::RangeShortHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortHeader"),
        4821  +
            ConstraintViolation::RangeLongHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongHeader"),
        4822  +
            ConstraintViolation::RangeByteHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteHeader"),
        4823  +
            ConstraintViolation::LengthStringSetHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringSetHeader"),
        4824  +
            ConstraintViolation::ListLengthStringHeader(inner) => inner.as_validation_exception_field(path + "/listLengthStringHeader"),
        4825  +
            ConstraintViolation::LengthListPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringHeader"),
        4826  +
            ConstraintViolation::LengthSetPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthSetPatternStringHeader"),
        4827  +
            ConstraintViolation::RangeByteSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteSetHeader"),
        4828  +
            ConstraintViolation::RangeShortSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortSetHeader"),
        4829  +
            ConstraintViolation::RangeIntegerSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetHeader"),
        4830  +
            ConstraintViolation::RangeLongSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongSetHeader"),
        4831  +
            ConstraintViolation::RangeByteListHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteListHeader"),
        4832  +
            ConstraintViolation::RangeShortListHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortListHeader"),
        4833  +
            ConstraintViolation::RangeIntegerListHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListHeader"),
        4834  +
            ConstraintViolation::RangeLongListHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongListHeader"),
        4835  +
            ConstraintViolation::LengthStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringQuery"),
        4836  +
            ConstraintViolation::RangeByteQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteQuery"),
        4837  +
            ConstraintViolation::RangeShortQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortQuery"),
        4838  +
            ConstraintViolation::RangeIntegerQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerQuery"),
        4839  +
            ConstraintViolation::RangeLongQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongQuery"),
        4840  +
            ConstraintViolation::EnumStringQuery(inner) => inner.as_validation_exception_field(path + "/enumStringQuery"),
        4841  +
            ConstraintViolation::LengthStringListQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringListQuery"),
        4842  +
            ConstraintViolation::LengthListPatternStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringQuery"),
        4843  +
            ConstraintViolation::LengthStringSetQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringSetQuery"),
        4844  +
            ConstraintViolation::RangeByteListQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteListQuery"),
        4845  +
            ConstraintViolation::RangeShortListQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortListQuery"),
        4846  +
            ConstraintViolation::RangeIntegerListQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListQuery"),
        4847  +
            ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
        4848  +
            ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
        4849  +
            ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
        4850  +
            ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
        4851  +
            ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
        4852  +
            ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
        4853  +
        }
 4854   4854   
        }
 4855   4855   
    }
 4856   4856   
    impl ::std::convert::From<ConstraintViolation>
 4857   4857   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4858   4858   
    {
 4859   4859   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4860   4860   
            let first_validation_exception_field =
 4861   4861   
                constraint_violation.as_validation_exception_field("".to_owned());
 4862   4862   
            let validation_exception = crate::error::ValidationException {
 4863   4863   
                message: format!(

tmp-codegen-diff/codegen-server-test-python/constraints_without_public_constrained_types/rust-server-codegen-python/src/model.rs

@@ -6271,6271 +6336,6336 @@
 6291   6291   
            }
 6292   6292   
        }
 6293   6293   
    }
 6294   6294   
    impl ::std::error::Error for ConstraintViolation {}
 6295   6295   
    impl ConstraintViolation {
 6296   6296   
        pub(crate) fn as_validation_exception_field(
 6297   6297   
            self,
 6298   6298   
            path: ::std::string::String,
 6299   6299   
        ) -> crate::model::ValidationExceptionField {
 6300   6300   
            match self {
 6301         -
        ConstraintViolation::MissingRecursiveMember => crate::model::ValidationExceptionField {
 6302         -
                                        message: format!("Value at '{}/recursiveMember' failed to satisfy constraint: Member must not be null", path),
 6303         -
                                        path: path + "/recursiveMember",
 6304         -
                                    },
 6305         -
        ConstraintViolation::RecursiveMember(inner) => inner.as_validation_exception_field(path + "/recursiveMember"),
 6306         -
    }
        6301  +
            ConstraintViolation::MissingRecursiveMember => crate::model::ValidationExceptionField {
        6302  +
                                                message: format!("Value at '{}/recursiveMember' failed to satisfy constraint: Member must not be null", path),
        6303  +
                                                path: path + "/recursiveMember",
        6304  +
                                            },
        6305  +
            ConstraintViolation::RecursiveMember(inner) => inner.as_validation_exception_field(path + "/recursiveMember"),
        6306  +
        }
 6307   6307   
        }
 6308   6308   
    }
 6309   6309   
    impl ::std::convert::From<Builder>
 6310   6310   
        for crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>
 6311   6311   
    {
 6312   6312   
        fn from(builder: Builder) -> Self {
 6313   6313   
            Self::Unconstrained(builder)
 6314   6314   
        }
 6315   6315   
    }
 6316   6316   
    impl ::std::convert::TryFrom<Builder> for crate::model::RecursiveShapesInputOutputNested1 {

tmp-codegen-diff/codegen-server-test-python/ebs/rust-server-codegen-python/src/input.rs

@@ -749,749 +820,820 @@
  769    769   
            }
  770    770   
        }
  771    771   
    }
  772    772   
    impl ::std::error::Error for ConstraintViolation {}
  773    773   
    impl ConstraintViolation {
  774    774   
        pub(crate) fn as_validation_exception_field(
  775    775   
            self,
  776    776   
            path: ::std::string::String,
  777    777   
        ) -> crate::model::ValidationExceptionField {
  778    778   
            match self {
  779         -
        ConstraintViolation::Timeout(inner) => inner.as_validation_exception_field(path + "/Timeout"),
  780         -
        ConstraintViolation::ClientToken(inner) => inner.as_validation_exception_field(path + "/ClientToken"),
  781         -
        ConstraintViolation::MissingVolumeSize => crate::model::ValidationExceptionField {
  782         -
                                        message: format!("Value at '{}/VolumeSize' failed to satisfy constraint: Member must not be null", path),
  783         -
                                        path: path + "/VolumeSize",
  784         -
                                    },
  785         -
        ConstraintViolation::VolumeSize(inner) => inner.as_validation_exception_field(path + "/VolumeSize"),
  786         -
        ConstraintViolation::Tags(inner) => inner.as_validation_exception_field(path + "/Tags"),
  787         -
        ConstraintViolation::KmsKeyArn(inner) => inner.as_validation_exception_field(path + "/KmsKeyArn"),
  788         -
        ConstraintViolation::ParentSnapshotId(inner) => inner.as_validation_exception_field(path + "/ParentSnapshotId"),
  789         -
        ConstraintViolation::Description(inner) => inner.as_validation_exception_field(path + "/Description"),
  790         -
    }
         779  +
            ConstraintViolation::Timeout(inner) => inner.as_validation_exception_field(path + "/Timeout"),
         780  +
            ConstraintViolation::ClientToken(inner) => inner.as_validation_exception_field(path + "/ClientToken"),
         781  +
            ConstraintViolation::MissingVolumeSize => crate::model::ValidationExceptionField {
         782  +
                                                message: format!("Value at '{}/VolumeSize' failed to satisfy constraint: Member must not be null", path),
         783  +
                                                path: path + "/VolumeSize",
         784  +
                                            },
         785  +
            ConstraintViolation::VolumeSize(inner) => inner.as_validation_exception_field(path + "/VolumeSize"),
         786  +
            ConstraintViolation::Tags(inner) => inner.as_validation_exception_field(path + "/Tags"),
         787  +
            ConstraintViolation::KmsKeyArn(inner) => inner.as_validation_exception_field(path + "/KmsKeyArn"),
         788  +
            ConstraintViolation::ParentSnapshotId(inner) => inner.as_validation_exception_field(path + "/ParentSnapshotId"),
         789  +
            ConstraintViolation::Description(inner) => inner.as_validation_exception_field(path + "/Description"),
         790  +
        }
  791    791   
        }
  792    792   
    }
  793    793   
    impl ::std::convert::From<ConstraintViolation>
  794    794   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
  795    795   
    {
  796    796   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  797    797   
            let first_validation_exception_field =
  798    798   
                constraint_violation.as_validation_exception_field("".to_owned());
  799    799   
            let validation_exception = crate::error::ValidationException {
  800    800   
                message: format!(
@@ -1206,1206 +1295,1295 @@
 1226   1226   
            }
 1227   1227   
        }
 1228   1228   
    }
 1229   1229   
    impl ::std::error::Error for ConstraintViolation {}
 1230   1230   
    impl ConstraintViolation {
 1231   1231   
        pub(crate) fn as_validation_exception_field(
 1232   1232   
            self,
 1233   1233   
            path: ::std::string::String,
 1234   1234   
        ) -> crate::model::ValidationExceptionField {
 1235   1235   
            match self {
 1236         -
        ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
 1237         -
                                        message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
 1238         -
                                        path: path + "/SnapshotId",
 1239         -
                                    },
 1240         -
        ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
 1241         -
        ConstraintViolation::MissingBlockIndex => crate::model::ValidationExceptionField {
 1242         -
                                        message: format!("Value at '{}/BlockIndex' failed to satisfy constraint: Member must not be null", path),
 1243         -
                                        path: path + "/BlockIndex",
 1244         -
                                    },
 1245         -
        ConstraintViolation::BlockIndex(inner) => inner.as_validation_exception_field(path + "/BlockIndex"),
 1246         -
        ConstraintViolation::MissingChecksum => crate::model::ValidationExceptionField {
 1247         -
                                        message: format!("Value at '{}/Checksum' failed to satisfy constraint: Member must not be null", path),
 1248         -
                                        path: path + "/Checksum",
 1249         -
                                    },
 1250         -
        ConstraintViolation::Checksum(inner) => inner.as_validation_exception_field(path + "/Checksum"),
 1251         -
        ConstraintViolation::Progress(inner) => inner.as_validation_exception_field(path + "/Progress"),
 1252         -
        ConstraintViolation::MissingBlockData => crate::model::ValidationExceptionField {
 1253         -
                                        message: format!("Value at '{}/BlockData' failed to satisfy constraint: Member must not be null", path),
 1254         -
                                        path: path + "/BlockData",
 1255         -
                                    },
 1256         -
        ConstraintViolation::MissingDataLength => crate::model::ValidationExceptionField {
 1257         -
                                        message: format!("Value at '{}/DataLength' failed to satisfy constraint: Member must not be null", path),
 1258         -
                                        path: path + "/DataLength",
 1259         -
                                    },
 1260         -
        ConstraintViolation::MissingChecksumAlgorithm => crate::model::ValidationExceptionField {
 1261         -
                                        message: format!("Value at '{}/ChecksumAlgorithm' failed to satisfy constraint: Member must not be null", path),
 1262         -
                                        path: path + "/ChecksumAlgorithm",
 1263         -
                                    },
 1264         -
        ConstraintViolation::ChecksumAlgorithm(inner) => inner.as_validation_exception_field(path + "/ChecksumAlgorithm"),
 1265         -
    }
        1236  +
            ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
        1237  +
                                                message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
        1238  +
                                                path: path + "/SnapshotId",
        1239  +
                                            },
        1240  +
            ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
        1241  +
            ConstraintViolation::MissingBlockIndex => crate::model::ValidationExceptionField {
        1242  +
                                                message: format!("Value at '{}/BlockIndex' failed to satisfy constraint: Member must not be null", path),
        1243  +
                                                path: path + "/BlockIndex",
        1244  +
                                            },
        1245  +
            ConstraintViolation::BlockIndex(inner) => inner.as_validation_exception_field(path + "/BlockIndex"),
        1246  +
            ConstraintViolation::MissingChecksum => crate::model::ValidationExceptionField {
        1247  +
                                                message: format!("Value at '{}/Checksum' failed to satisfy constraint: Member must not be null", path),
        1248  +
                                                path: path + "/Checksum",
        1249  +
                                            },
        1250  +
            ConstraintViolation::Checksum(inner) => inner.as_validation_exception_field(path + "/Checksum"),
        1251  +
            ConstraintViolation::Progress(inner) => inner.as_validation_exception_field(path + "/Progress"),
        1252  +
            ConstraintViolation::MissingBlockData => crate::model::ValidationExceptionField {
        1253  +
                                                message: format!("Value at '{}/BlockData' failed to satisfy constraint: Member must not be null", path),
        1254  +
                                                path: path + "/BlockData",
        1255  +
                                            },
        1256  +
            ConstraintViolation::MissingDataLength => crate::model::ValidationExceptionField {
        1257  +
                                                message: format!("Value at '{}/DataLength' failed to satisfy constraint: Member must not be null", path),
        1258  +
                                                path: path + "/DataLength",
        1259  +
                                            },
        1260  +
            ConstraintViolation::MissingChecksumAlgorithm => crate::model::ValidationExceptionField {
        1261  +
                                                message: format!("Value at '{}/ChecksumAlgorithm' failed to satisfy constraint: Member must not be null", path),
        1262  +
                                                path: path + "/ChecksumAlgorithm",
        1263  +
                                            },
        1264  +
            ConstraintViolation::ChecksumAlgorithm(inner) => inner.as_validation_exception_field(path + "/ChecksumAlgorithm"),
        1265  +
        }
 1266   1266   
        }
 1267   1267   
    }
 1268   1268   
    impl ::std::convert::From<ConstraintViolation>
 1269   1269   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1270   1270   
    {
 1271   1271   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1272   1272   
            let first_validation_exception_field =
 1273   1273   
                constraint_violation.as_validation_exception_field("".to_owned());
 1274   1274   
            let validation_exception = crate::error::ValidationException {
 1275   1275   
                message: format!(
@@ -1607,1607 +1675,1675 @@
 1627   1627   
            }
 1628   1628   
        }
 1629   1629   
    }
 1630   1630   
    impl ::std::error::Error for ConstraintViolation {}
 1631   1631   
    impl ConstraintViolation {
 1632   1632   
        pub(crate) fn as_validation_exception_field(
 1633   1633   
            self,
 1634   1634   
            path: ::std::string::String,
 1635   1635   
        ) -> crate::model::ValidationExceptionField {
 1636   1636   
            match self {
 1637         -
        ConstraintViolation::MaxResults(inner) => inner.as_validation_exception_field(path + "/MaxResults"),
 1638         -
        ConstraintViolation::StartingBlockIndex(inner) => inner.as_validation_exception_field(path + "/StartingBlockIndex"),
 1639         -
        ConstraintViolation::NextToken(inner) => inner.as_validation_exception_field(path + "/NextToken"),
 1640         -
        ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
 1641         -
                                        message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
 1642         -
                                        path: path + "/SnapshotId",
 1643         -
                                    },
 1644         -
        ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
 1645         -
    }
        1637  +
            ConstraintViolation::MaxResults(inner) => inner.as_validation_exception_field(path + "/MaxResults"),
        1638  +
            ConstraintViolation::StartingBlockIndex(inner) => inner.as_validation_exception_field(path + "/StartingBlockIndex"),
        1639  +
            ConstraintViolation::NextToken(inner) => inner.as_validation_exception_field(path + "/NextToken"),
        1640  +
            ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
        1641  +
                                                message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
        1642  +
                                                path: path + "/SnapshotId",
        1643  +
                                            },
        1644  +
            ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
        1645  +
        }
 1646   1646   
        }
 1647   1647   
    }
 1648   1648   
    impl ::std::convert::From<ConstraintViolation>
 1649   1649   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1650   1650   
    {
 1651   1651   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1652   1652   
            let first_validation_exception_field =
 1653   1653   
                constraint_violation.as_validation_exception_field("".to_owned());
 1654   1654   
            let validation_exception = crate::error::ValidationException {
 1655   1655   
                message: format!(
@@ -1884,1884 +1953,1953 @@
 1904   1904   
            }
 1905   1905   
        }
 1906   1906   
    }
 1907   1907   
    impl ::std::error::Error for ConstraintViolation {}
 1908   1908   
    impl ConstraintViolation {
 1909   1909   
        pub(crate) fn as_validation_exception_field(
 1910   1910   
            self,
 1911   1911   
            path: ::std::string::String,
 1912   1912   
        ) -> crate::model::ValidationExceptionField {
 1913   1913   
            match self {
 1914         -
        ConstraintViolation::MissingSecondSnapshotId => crate::model::ValidationExceptionField {
 1915         -
                                        message: format!("Value at '{}/SecondSnapshotId' failed to satisfy constraint: Member must not be null", path),
 1916         -
                                        path: path + "/SecondSnapshotId",
 1917         -
                                    },
 1918         -
        ConstraintViolation::SecondSnapshotId(inner) => inner.as_validation_exception_field(path + "/SecondSnapshotId"),
 1919         -
        ConstraintViolation::FirstSnapshotId(inner) => inner.as_validation_exception_field(path + "/FirstSnapshotId"),
 1920         -
        ConstraintViolation::NextToken(inner) => inner.as_validation_exception_field(path + "/NextToken"),
 1921         -
        ConstraintViolation::MaxResults(inner) => inner.as_validation_exception_field(path + "/MaxResults"),
 1922         -
        ConstraintViolation::StartingBlockIndex(inner) => inner.as_validation_exception_field(path + "/StartingBlockIndex"),
 1923         -
    }
        1914  +
            ConstraintViolation::MissingSecondSnapshotId => crate::model::ValidationExceptionField {
        1915  +
                                                message: format!("Value at '{}/SecondSnapshotId' failed to satisfy constraint: Member must not be null", path),
        1916  +
                                                path: path + "/SecondSnapshotId",
        1917  +
                                            },
        1918  +
            ConstraintViolation::SecondSnapshotId(inner) => inner.as_validation_exception_field(path + "/SecondSnapshotId"),
        1919  +
            ConstraintViolation::FirstSnapshotId(inner) => inner.as_validation_exception_field(path + "/FirstSnapshotId"),
        1920  +
            ConstraintViolation::NextToken(inner) => inner.as_validation_exception_field(path + "/NextToken"),
        1921  +
            ConstraintViolation::MaxResults(inner) => inner.as_validation_exception_field(path + "/MaxResults"),
        1922  +
            ConstraintViolation::StartingBlockIndex(inner) => inner.as_validation_exception_field(path + "/StartingBlockIndex"),
        1923  +
        }
 1924   1924   
        }
 1925   1925   
    }
 1926   1926   
    impl ::std::convert::From<ConstraintViolation>
 1927   1927   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1928   1928   
    {
 1929   1929   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1930   1930   
            let first_validation_exception_field =
 1931   1931   
                constraint_violation.as_validation_exception_field("".to_owned());
 1932   1932   
            let validation_exception = crate::error::ValidationException {
 1933   1933   
                message: format!(
@@ -2203,2203 +2278,2278 @@
 2223   2223   
            }
 2224   2224   
        }
 2225   2225   
    }
 2226   2226   
    impl ::std::error::Error for ConstraintViolation {}
 2227   2227   
    impl ConstraintViolation {
 2228   2228   
        pub(crate) fn as_validation_exception_field(
 2229   2229   
            self,
 2230   2230   
            path: ::std::string::String,
 2231   2231   
        ) -> crate::model::ValidationExceptionField {
 2232   2232   
            match self {
 2233         -
        ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
 2234         -
                                        message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
 2235         -
                                        path: path + "/SnapshotId",
 2236         -
                                    },
 2237         -
        ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
 2238         -
        ConstraintViolation::MissingBlockToken => crate::model::ValidationExceptionField {
 2239         -
                                        message: format!("Value at '{}/BlockToken' failed to satisfy constraint: Member must not be null", path),
 2240         -
                                        path: path + "/BlockToken",
 2241         -
                                    },
 2242         -
        ConstraintViolation::BlockToken(inner) => inner.as_validation_exception_field(path + "/BlockToken"),
 2243         -
        ConstraintViolation::MissingBlockIndex => crate::model::ValidationExceptionField {
 2244         -
                                        message: format!("Value at '{}/BlockIndex' failed to satisfy constraint: Member must not be null", path),
 2245         -
                                        path: path + "/BlockIndex",
 2246         -
                                    },
 2247         -
        ConstraintViolation::BlockIndex(inner) => inner.as_validation_exception_field(path + "/BlockIndex"),
 2248         -
    }
        2233  +
            ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
        2234  +
                                                message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
        2235  +
                                                path: path + "/SnapshotId",
        2236  +
                                            },
        2237  +
            ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
        2238  +
            ConstraintViolation::MissingBlockToken => crate::model::ValidationExceptionField {
        2239  +
                                                message: format!("Value at '{}/BlockToken' failed to satisfy constraint: Member must not be null", path),
        2240  +
                                                path: path + "/BlockToken",
        2241  +
                                            },
        2242  +
            ConstraintViolation::BlockToken(inner) => inner.as_validation_exception_field(path + "/BlockToken"),
        2243  +
            ConstraintViolation::MissingBlockIndex => crate::model::ValidationExceptionField {
        2244  +
                                                message: format!("Value at '{}/BlockIndex' failed to satisfy constraint: Member must not be null", path),
        2245  +
                                                path: path + "/BlockIndex",
        2246  +
                                            },
        2247  +
            ConstraintViolation::BlockIndex(inner) => inner.as_validation_exception_field(path + "/BlockIndex"),
        2248  +
        }
 2249   2249   
        }
 2250   2250   
    }
 2251   2251   
    impl ::std::convert::From<ConstraintViolation>
 2252   2252   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2253   2253   
    {
 2254   2254   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2255   2255   
            let first_validation_exception_field =
 2256   2256   
                constraint_violation.as_validation_exception_field("".to_owned());
 2257   2257   
            let validation_exception = crate::error::ValidationException {
 2258   2258   
                message: format!(
@@ -2476,2476 +2549,2549 @@
 2496   2496   
            }
 2497   2497   
        }
 2498   2498   
    }
 2499   2499   
    impl ::std::error::Error for ConstraintViolation {}
 2500   2500   
    impl ConstraintViolation {
 2501   2501   
        pub(crate) fn as_validation_exception_field(
 2502   2502   
            self,
 2503   2503   
            path: ::std::string::String,
 2504   2504   
        ) -> crate::model::ValidationExceptionField {
 2505   2505   
            match self {
 2506         -
        ConstraintViolation::MissingChangedBlocksCount => crate::model::ValidationExceptionField {
 2507         -
                                        message: format!("Value at '{}/ChangedBlocksCount' failed to satisfy constraint: Member must not be null", path),
 2508         -
                                        path: path + "/ChangedBlocksCount",
 2509         -
                                    },
 2510         -
        ConstraintViolation::ChangedBlocksCount(inner) => inner.as_validation_exception_field(path + "/ChangedBlocksCount"),
 2511         -
        ConstraintViolation::ChecksumAggregationMethod(inner) => inner.as_validation_exception_field(path + "/ChecksumAggregationMethod"),
 2512         -
        ConstraintViolation::ChecksumAlgorithm(inner) => inner.as_validation_exception_field(path + "/ChecksumAlgorithm"),
 2513         -
        ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
 2514         -
                                        message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
 2515         -
                                        path: path + "/SnapshotId",
 2516         -
                                    },
 2517         -
        ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
 2518         -
        ConstraintViolation::Checksum(inner) => inner.as_validation_exception_field(path + "/Checksum"),
 2519         -
    }
        2506  +
            ConstraintViolation::MissingChangedBlocksCount => crate::model::ValidationExceptionField {
        2507  +
                                                message: format!("Value at '{}/ChangedBlocksCount' failed to satisfy constraint: Member must not be null", path),
        2508  +
                                                path: path + "/ChangedBlocksCount",
        2509  +
                                            },
        2510  +
            ConstraintViolation::ChangedBlocksCount(inner) => inner.as_validation_exception_field(path + "/ChangedBlocksCount"),
        2511  +
            ConstraintViolation::ChecksumAggregationMethod(inner) => inner.as_validation_exception_field(path + "/ChecksumAggregationMethod"),
        2512  +
            ConstraintViolation::ChecksumAlgorithm(inner) => inner.as_validation_exception_field(path + "/ChecksumAlgorithm"),
        2513  +
            ConstraintViolation::MissingSnapshotId => crate::model::ValidationExceptionField {
        2514  +
                                                message: format!("Value at '{}/SnapshotId' failed to satisfy constraint: Member must not be null", path),
        2515  +
                                                path: path + "/SnapshotId",
        2516  +
                                            },
        2517  +
            ConstraintViolation::SnapshotId(inner) => inner.as_validation_exception_field(path + "/SnapshotId"),
        2518  +
            ConstraintViolation::Checksum(inner) => inner.as_validation_exception_field(path + "/Checksum"),
        2519  +
        }
 2520   2520   
        }
 2521   2521   
    }
 2522   2522   
    impl ::std::convert::From<ConstraintViolation>
 2523   2523   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2524   2524   
    {
 2525   2525   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2526   2526   
            let first_validation_exception_field =
 2527   2527   
                constraint_violation.as_validation_exception_field("".to_owned());
 2528   2528   
            let validation_exception = crate::error::ValidationException {
 2529   2529   
                message: format!(

tmp-codegen-diff/codegen-server-test-python/json_rpc10/rust-server-codegen-python/src/input.rs

@@ -709,709 +774,774 @@
  729    729   
            }
  730    730   
        }
  731    731   
    }
  732    732   
    impl ::std::error::Error for ConstraintViolation {}
  733    733   
    impl ConstraintViolation {
  734    734   
        pub(crate) fn as_validation_exception_field(
  735    735   
            self,
  736    736   
            path: ::std::string::String,
  737    737   
        ) -> crate::model::ValidationExceptionField {
  738    738   
            match self {
  739         -
        ConstraintViolation::MissingTopLevel => crate::model::ValidationExceptionField {
  740         -
                                        message: format!("Value at '{}/topLevel' failed to satisfy constraint: Member must not be null", path),
  741         -
                                        path: path + "/topLevel",
  742         -
                                    },
  743         -
        ConstraintViolation::TopLevel(inner) => inner.as_validation_exception_field(path + "/topLevel"),
  744         -
    }
         739  +
            ConstraintViolation::MissingTopLevel => crate::model::ValidationExceptionField {
         740  +
                                                message: format!("Value at '{}/topLevel' failed to satisfy constraint: Member must not be null", path),
         741  +
                                                path: path + "/topLevel",
         742  +
                                            },
         743  +
            ConstraintViolation::TopLevel(inner) => inner.as_validation_exception_field(path + "/topLevel"),
         744  +
        }
  745    745   
        }
  746    746   
    }
  747    747   
    impl ::std::convert::From<ConstraintViolation>
  748    748   
        for ::aws_smithy_http_server::protocol::aws_json::rejection::RequestRejection
  749    749   
    {
  750    750   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  751    751   
            let first_validation_exception_field =
  752    752   
                constraint_violation.as_validation_exception_field("".to_owned());
  753    753   
            let validation_exception = crate::error::ValidationException {
  754    754   
                message: format!(

tmp-codegen-diff/codegen-server-test-python/json_rpc10/rust-server-codegen-python/src/model.rs

@@ -1735,1735 +1799,1799 @@
 1755   1755   
            }
 1756   1756   
        }
 1757   1757   
    }
 1758   1758   
    impl ::std::error::Error for ConstraintViolation {}
 1759   1759   
    impl ConstraintViolation {
 1760   1760   
        pub(crate) fn as_validation_exception_field(
 1761   1761   
            self,
 1762   1762   
            path: ::std::string::String,
 1763   1763   
        ) -> crate::model::ValidationExceptionField {
 1764   1764   
            match self {
 1765         -
        ConstraintViolation::MissingDialog => crate::model::ValidationExceptionField {
 1766         -
                                        message: format!("Value at '{}/dialog' failed to satisfy constraint: Member must not be null", path),
 1767         -
                                        path: path + "/dialog",
 1768         -
                                    },
 1769         -
    }
        1765  +
            ConstraintViolation::MissingDialog => crate::model::ValidationExceptionField {
        1766  +
                                                message: format!("Value at '{}/dialog' failed to satisfy constraint: Member must not be null", path),
        1767  +
                                                path: path + "/dialog",
        1768  +
                                            },
        1769  +
        }
 1770   1770   
        }
 1771   1771   
    }
 1772   1772   
    impl ::std::convert::From<Builder>
 1773   1773   
        for crate::constrained::MaybeConstrained<crate::model::TopLevel>
 1774   1774   
    {
 1775   1775   
        fn from(builder: Builder) -> Self {
 1776   1776   
            Self::Unconstrained(builder)
 1777   1777   
        }
 1778   1778   
    }
 1779   1779   
    impl ::std::convert::TryFrom<Builder> for crate::model::TopLevel {

tmp-codegen-diff/codegen-server-test-python/misc/rust-server-codegen-python/src/input.rs

@@ -499,499 +568,568 @@
  519    519   
            }
  520    520   
        }
  521    521   
    }
  522    522   
    impl ::std::error::Error for ConstraintViolation {}
  523    523   
    impl ConstraintViolation {
  524    524   
        pub(crate) fn as_validation_exception_field(
  525    525   
            self,
  526    526   
            path: ::std::string::String,
  527    527   
        ) -> crate::model::ValidationExceptionField {
  528    528   
            match self {
  529         -
        ConstraintViolation::MissingRequiredHeaderList => crate::model::ValidationExceptionField {
  530         -
                                        message: format!("Value at '{}/requiredHeaderList' failed to satisfy constraint: Member must not be null", path),
  531         -
                                        path: path + "/requiredHeaderList",
  532         -
                                    },
  533         -
        ConstraintViolation::MissingRequiredHeaderSet => crate::model::ValidationExceptionField {
  534         -
                                        message: format!("Value at '{}/requiredHeaderSet' failed to satisfy constraint: Member must not be null", path),
  535         -
                                        path: path + "/requiredHeaderSet",
  536         -
                                    },
  537         -
        ConstraintViolation::RequiredHeaderSet(inner) => inner.as_validation_exception_field(path + "/requiredHeaderSet"),
  538         -
    }
         529  +
            ConstraintViolation::MissingRequiredHeaderList => crate::model::ValidationExceptionField {
         530  +
                                                message: format!("Value at '{}/requiredHeaderList' failed to satisfy constraint: Member must not be null", path),
         531  +
                                                path: path + "/requiredHeaderList",
         532  +
                                            },
         533  +
            ConstraintViolation::MissingRequiredHeaderSet => crate::model::ValidationExceptionField {
         534  +
                                                message: format!("Value at '{}/requiredHeaderSet' failed to satisfy constraint: Member must not be null", path),
         535  +
                                                path: path + "/requiredHeaderSet",
         536  +
                                            },
         537  +
            ConstraintViolation::RequiredHeaderSet(inner) => inner.as_validation_exception_field(path + "/requiredHeaderSet"),
         538  +
        }
  539    539   
        }
  540    540   
    }
  541    541   
    impl ::std::convert::From<ConstraintViolation>
  542    542   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
  543    543   
    {
  544    544   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  545    545   
            let first_validation_exception_field =
  546    546   
                constraint_violation.as_validation_exception_field("".to_owned());
  547    547   
            let validation_exception = crate::error::ValidationException {
  548    548   
                message: format!(

tmp-codegen-diff/codegen-server-test-python/misc/rust-server-codegen-python/src/model.rs

@@ -709,709 +774,774 @@
  729    729   
            }
  730    730   
        }
  731    731   
    }
  732    732   
    impl ::std::error::Error for ConstraintViolation {}
  733    733   
    impl ConstraintViolation {
  734    734   
        pub(crate) fn as_validation_exception_field(
  735    735   
            self,
  736    736   
            path: ::std::string::String,
  737    737   
        ) -> crate::model::ValidationExceptionField {
  738    738   
            match self {
  739         -
        ConstraintViolation::MissingRequiredInnerMostShape => crate::model::ValidationExceptionField {
  740         -
                                        message: format!("Value at '{}/requiredInnerMostShape' failed to satisfy constraint: Member must not be null", path),
  741         -
                                        path: path + "/requiredInnerMostShape",
  742         -
                                    },
  743         -
        ConstraintViolation::RequiredInnerMostShape(inner) => inner.as_validation_exception_field(path + "/requiredInnerMostShape"),
  744         -
    }
         739  +
            ConstraintViolation::MissingRequiredInnerMostShape => crate::model::ValidationExceptionField {
         740  +
                                                message: format!("Value at '{}/requiredInnerMostShape' failed to satisfy constraint: Member must not be null", path),
         741  +
                                                path: path + "/requiredInnerMostShape",
         742  +
                                            },
         743  +
            ConstraintViolation::RequiredInnerMostShape(inner) => inner.as_validation_exception_field(path + "/requiredInnerMostShape"),
         744  +
        }
  745    745   
        }
  746    746   
    }
  747    747   
    impl ::std::convert::From<Builder>
  748    748   
        for crate::constrained::MaybeConstrained<crate::model::InnerShape>
  749    749   
    {
  750    750   
        fn from(builder: Builder) -> Self {
  751    751   
            Self::Unconstrained(builder)
  752    752   
        }
  753    753   
    }
  754    754   
    impl ::std::convert::TryFrom<Builder> for crate::model::InnerShape {
@@ -898,898 +1018,1018 @@
  918    918   
            }
  919    919   
        }
  920    920   
    }
  921    921   
    impl ::std::error::Error for ConstraintViolation {}
  922    922   
    impl ConstraintViolation {
  923    923   
        pub(crate) fn as_validation_exception_field(
  924    924   
            self,
  925    925   
            path: ::std::string::String,
  926    926   
        ) -> crate::model::ValidationExceptionField {
  927    927   
            match self {
  928         -
        ConstraintViolation::MissingAString => crate::model::ValidationExceptionField {
  929         -
                                        message: format!("Value at '{}/aString' failed to satisfy constraint: Member must not be null", path),
  930         -
                                        path: path + "/aString",
  931         -
                                    },
  932         -
        ConstraintViolation::MissingABoolean => crate::model::ValidationExceptionField {
  933         -
                                        message: format!("Value at '{}/aBoolean' failed to satisfy constraint: Member must not be null", path),
  934         -
                                        path: path + "/aBoolean",
  935         -
                                    },
  936         -
        ConstraintViolation::MissingAByte => crate::model::ValidationExceptionField {
  937         -
                                        message: format!("Value at '{}/aByte' failed to satisfy constraint: Member must not be null", path),
  938         -
                                        path: path + "/aByte",
  939         -
                                    },
  940         -
        ConstraintViolation::MissingAShort => crate::model::ValidationExceptionField {
  941         -
                                        message: format!("Value at '{}/aShort' failed to satisfy constraint: Member must not be null", path),
  942         -
                                        path: path + "/aShort",
  943         -
                                    },
  944         -
        ConstraintViolation::MissingAnInt => crate::model::ValidationExceptionField {
  945         -
                                        message: format!("Value at '{}/anInt' failed to satisfy constraint: Member must not be null", path),
  946         -
                                        path: path + "/anInt",
  947         -
                                    },
  948         -
        ConstraintViolation::MissingALong => crate::model::ValidationExceptionField {
  949         -
                                        message: format!("Value at '{}/aLong' failed to satisfy constraint: Member must not be null", path),
  950         -
                                        path: path + "/aLong",
  951         -
                                    },
  952         -
        ConstraintViolation::MissingAFloat => crate::model::ValidationExceptionField {
  953         -
                                        message: format!("Value at '{}/aFloat' failed to satisfy constraint: Member must not be null", path),
  954         -
                                        path: path + "/aFloat",
  955         -
                                    },
  956         -
        ConstraintViolation::MissingADouble => crate::model::ValidationExceptionField {
  957         -
                                        message: format!("Value at '{}/aDouble' failed to satisfy constraint: Member must not be null", path),
  958         -
                                        path: path + "/aDouble",
  959         -
                                    },
  960         -
        ConstraintViolation::MissingATimestamp => crate::model::ValidationExceptionField {
  961         -
                                        message: format!("Value at '{}/aTimestamp' failed to satisfy constraint: Member must not be null", path),
  962         -
                                        path: path + "/aTimestamp",
  963         -
                                    },
  964         -
        ConstraintViolation::MissingADocument => crate::model::ValidationExceptionField {
  965         -
                                        message: format!("Value at '{}/aDocument' failed to satisfy constraint: Member must not be null", path),
  966         -
                                        path: path + "/aDocument",
  967         -
                                    },
  968         -
        ConstraintViolation::MissingAStringList => crate::model::ValidationExceptionField {
  969         -
                                        message: format!("Value at '{}/aStringList' failed to satisfy constraint: Member must not be null", path),
  970         -
                                        path: path + "/aStringList",
  971         -
                                    },
  972         -
        ConstraintViolation::MissingAStringMap => crate::model::ValidationExceptionField {
  973         -
                                        message: format!("Value at '{}/aStringMap' failed to satisfy constraint: Member must not be null", path),
  974         -
                                        path: path + "/aStringMap",
  975         -
                                    },
  976         -
        ConstraintViolation::MissingAStringSet => crate::model::ValidationExceptionField {
  977         -
                                        message: format!("Value at '{}/aStringSet' failed to satisfy constraint: Member must not be null", path),
  978         -
                                        path: path + "/aStringSet",
  979         -
                                    },
  980         -
        ConstraintViolation::MissingABlob => crate::model::ValidationExceptionField {
  981         -
                                        message: format!("Value at '{}/aBlob' failed to satisfy constraint: Member must not be null", path),
  982         -
                                        path: path + "/aBlob",
  983         -
                                    },
  984         -
        ConstraintViolation::MissingAUnion => crate::model::ValidationExceptionField {
  985         -
                                        message: format!("Value at '{}/aUnion' failed to satisfy constraint: Member must not be null", path),
  986         -
                                        path: path + "/aUnion",
  987         -
                                    },
  988         -
    }
         928  +
            ConstraintViolation::MissingAString => crate::model::ValidationExceptionField {
         929  +
                                                message: format!("Value at '{}/aString' failed to satisfy constraint: Member must not be null", path),
         930  +
                                                path: path + "/aString",
         931  +
                                            },
         932  +
            ConstraintViolation::MissingABoolean => crate::model::ValidationExceptionField {
         933  +
                                                message: format!("Value at '{}/aBoolean' failed to satisfy constraint: Member must not be null", path),
         934  +
                                                path: path + "/aBoolean",
         935  +
                                            },
         936  +
            ConstraintViolation::MissingAByte => crate::model::ValidationExceptionField {
         937  +
                                                message: format!("Value at '{}/aByte' failed to satisfy constraint: Member must not be null", path),
         938  +
                                                path: path + "/aByte",
         939  +
                                            },
         940  +
            ConstraintViolation::MissingAShort => crate::model::ValidationExceptionField {
         941  +
                                                message: format!("Value at '{}/aShort' failed to satisfy constraint: Member must not be null", path),
         942  +
                                                path: path + "/aShort",
         943  +
                                            },
         944  +
            ConstraintViolation::MissingAnInt => crate::model::ValidationExceptionField {
         945  +
                                                message: format!("Value at '{}/anInt' failed to satisfy constraint: Member must not be null", path),
         946  +
                                                path: path + "/anInt",
         947  +
                                            },
         948  +
            ConstraintViolation::MissingALong => crate::model::ValidationExceptionField {
         949  +
                                                message: format!("Value at '{}/aLong' failed to satisfy constraint: Member must not be null", path),
         950  +
                                                path: path + "/aLong",
         951  +
                                            },
         952  +
            ConstraintViolation::MissingAFloat => crate::model::ValidationExceptionField {
         953  +
                                                message: format!("Value at '{}/aFloat' failed to satisfy constraint: Member must not be null", path),
         954  +
                                                path: path + "/aFloat",
         955  +
                                            },
         956  +
            ConstraintViolation::MissingADouble => crate::model::ValidationExceptionField {
         957  +
                                                message: format!("Value at '{}/aDouble' failed to satisfy constraint: Member must not be null", path),
         958  +
                                                path: path + "/aDouble",
         959  +
                                            },
         960  +
            ConstraintViolation::MissingATimestamp => crate::model::ValidationExceptionField {
         961  +
                                                message: format!("Value at '{}/aTimestamp' failed to satisfy constraint: Member must not be null", path),
         962  +
                                                path: path + "/aTimestamp",
         963  +
                                            },
         964  +
            ConstraintViolation::MissingADocument => crate::model::ValidationExceptionField {
         965  +
                                                message: format!("Value at '{}/aDocument' failed to satisfy constraint: Member must not be null", path),
         966  +
                                                path: path + "/aDocument",
         967  +
                                            },
         968  +
            ConstraintViolation::MissingAStringList => crate::model::ValidationExceptionField {
         969  +
                                                message: format!("Value at '{}/aStringList' failed to satisfy constraint: Member must not be null", path),
         970  +
                                                path: path + "/aStringList",
         971  +
                                            },
         972  +
            ConstraintViolation::MissingAStringMap => crate::model::ValidationExceptionField {
         973  +
                                                message: format!("Value at '{}/aStringMap' failed to satisfy constraint: Member must not be null", path),
         974  +
                                                path: path + "/aStringMap",
         975  +
                                            },
         976  +
            ConstraintViolation::MissingAStringSet => crate::model::ValidationExceptionField {
         977  +
                                                message: format!("Value at '{}/aStringSet' failed to satisfy constraint: Member must not be null", path),
         978  +
                                                path: path + "/aStringSet",
         979  +
                                            },
         980  +
            ConstraintViolation::MissingABlob => crate::model::ValidationExceptionField {
         981  +
                                                message: format!("Value at '{}/aBlob' failed to satisfy constraint: Member must not be null", path),
         982  +
                                                path: path + "/aBlob",
         983  +
                                            },
         984  +
            ConstraintViolation::MissingAUnion => crate::model::ValidationExceptionField {
         985  +
                                                message: format!("Value at '{}/aUnion' failed to satisfy constraint: Member must not be null", path),
         986  +
                                                path: path + "/aUnion",
         987  +
                                            },
         988  +
        }
  989    989   
        }
  990    990   
    }
  991    991   
    impl ::std::convert::From<Builder>
  992    992   
        for crate::constrained::MaybeConstrained<crate::model::InnermostShape>
  993    993   
    {
  994    994   
        fn from(builder: Builder) -> Self {
  995    995   
            Self::Unconstrained(builder)
  996    996   
        }
  997    997   
    }
  998    998   
    impl ::std::convert::TryFrom<Builder> for crate::model::InnermostShape {

tmp-codegen-diff/codegen-server-test-python/pokemon-service-server-sdk/rust-server-codegen-python/src/input.rs

@@ -366,366 +434,434 @@
  386    386   
            }
  387    387   
        }
  388    388   
    }
  389    389   
    impl ::std::error::Error for ConstraintViolation {}
  390    390   
    impl ConstraintViolation {
  391    391   
        pub(crate) fn as_validation_exception_field(
  392    392   
            self,
  393    393   
            path: ::std::string::String,
  394    394   
        ) -> crate::model::ValidationExceptionField {
  395    395   
            match self {
  396         -
        ConstraintViolation::MissingUser => crate::model::ValidationExceptionField {
  397         -
                                        message: format!("Value at '{}/user' failed to satisfy constraint: Member must not be null", path),
  398         -
                                        path: path + "/user",
  399         -
                                    },
  400         -
        ConstraintViolation::MissingPasscode => crate::model::ValidationExceptionField {
  401         -
                                        message: format!("Value at '{}/passcode' failed to satisfy constraint: Member must not be null", path),
  402         -
                                        path: path + "/passcode",
  403         -
                                    },
  404         -
    }
         396  +
            ConstraintViolation::MissingUser => crate::model::ValidationExceptionField {
         397  +
                                                message: format!("Value at '{}/user' failed to satisfy constraint: Member must not be null", path),
         398  +
                                                path: path + "/user",
         399  +
                                            },
         400  +
            ConstraintViolation::MissingPasscode => crate::model::ValidationExceptionField {
         401  +
                                                message: format!("Value at '{}/passcode' failed to satisfy constraint: Member must not be null", path),
         402  +
                                                path: path + "/passcode",
         403  +
                                            },
         404  +
        }
  405    405   
        }
  406    406   
    }
  407    407   
    impl ::std::convert::From<ConstraintViolation>
  408    408   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
  409    409   
    {
  410    410   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  411    411   
            let first_validation_exception_field =
  412    412   
                constraint_violation.as_validation_exception_field("".to_owned());
  413    413   
            let validation_exception = crate::error::ValidationException {
  414    414   
                message: format!(
@@ -793,793 +861,861 @@
  813    813   
            }
  814    814   
        }
  815    815   
    }
  816    816   
    impl ::std::error::Error for ConstraintViolation {}
  817    817   
    impl ConstraintViolation {
  818    818   
        pub(crate) fn as_validation_exception_field(
  819    819   
            self,
  820    820   
            path: ::std::string::String,
  821    821   
        ) -> crate::model::ValidationExceptionField {
  822    822   
            match self {
  823         -
        ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
  824         -
                                        message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
  825         -
                                        path: path + "/events",
  826         -
                                    },
  827         -
        ConstraintViolation::MissingRegion => crate::model::ValidationExceptionField {
  828         -
                                        message: format!("Value at '{}/region' failed to satisfy constraint: Member must not be null", path),
  829         -
                                        path: path + "/region",
  830         -
                                    },
  831         -
    }
         823  +
            ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
         824  +
                                                message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
         825  +
                                                path: path + "/events",
         826  +
                                            },
         827  +
            ConstraintViolation::MissingRegion => crate::model::ValidationExceptionField {
         828  +
                                                message: format!("Value at '{}/region' failed to satisfy constraint: Member must not be null", path),
         829  +
                                                path: path + "/region",
         830  +
                                            },
         831  +
        }
  832    832   
        }
  833    833   
    }
  834    834   
    impl ::std::convert::From<ConstraintViolation>
  835    835   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
  836    836   
    {
  837    837   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  838    838   
            let first_validation_exception_field =
  839    839   
                constraint_violation.as_validation_exception_field("".to_owned());
  840    840   
            let validation_exception = crate::error::ValidationException {
  841    841   
                message: format!(

tmp-codegen-diff/codegen-server-test-python/rest_json/rust-server-codegen-python/src/input.rs

@@ -7940,7940 +8004,8004 @@
 7960   7960   
            }
 7961   7961   
        }
 7962   7962   
    }
 7963   7963   
    impl ::std::error::Error for ConstraintViolation {}
 7964   7964   
    impl ConstraintViolation {
 7965   7965   
        pub(crate) fn as_validation_exception_field(
 7966   7966   
            self,
 7967   7967   
            path: ::std::string::String,
 7968   7968   
        ) -> crate::model::ValidationExceptionField {
 7969   7969   
            match self {
 7970         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 7971         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 7972         -
                                        path: path + "/timestamp",
 7973         -
                                    },
 7974         -
    }
        7970  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        7971  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        7972  +
                                                path: path + "/timestamp",
        7973  +
                                            },
        7974  +
        }
 7975   7975   
        }
 7976   7976   
    }
 7977   7977   
    impl ::std::convert::From<ConstraintViolation>
 7978   7978   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 7979   7979   
    {
 7980   7980   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 7981   7981   
            let first_validation_exception_field =
 7982   7982   
                constraint_violation.as_validation_exception_field("".to_owned());
 7983   7983   
            let validation_exception = crate::error::ValidationException {
 7984   7984   
                message: format!(
@@ -8107,8107 +8171,8171 @@
 8127   8127   
            }
 8128   8128   
        }
 8129   8129   
    }
 8130   8130   
    impl ::std::error::Error for ConstraintViolation {}
 8131   8131   
    impl ConstraintViolation {
 8132   8132   
        pub(crate) fn as_validation_exception_field(
 8133   8133   
            self,
 8134   8134   
            path: ::std::string::String,
 8135   8135   
        ) -> crate::model::ValidationExceptionField {
 8136   8136   
            match self {
 8137         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 8138         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 8139         -
                                        path: path + "/timestamp",
 8140         -
                                    },
 8141         -
    }
        8137  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        8138  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        8139  +
                                                path: path + "/timestamp",
        8140  +
                                            },
        8141  +
        }
 8142   8142   
        }
 8143   8143   
    }
 8144   8144   
    impl ::std::convert::From<ConstraintViolation>
 8145   8145   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 8146   8146   
    {
 8147   8147   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 8148   8148   
            let first_validation_exception_field =
 8149   8149   
                constraint_violation.as_validation_exception_field("".to_owned());
 8150   8150   
            let validation_exception = crate::error::ValidationException {
 8151   8151   
                message: format!(
@@ -8274,8274 +8338,8338 @@
 8294   8294   
            }
 8295   8295   
        }
 8296   8296   
    }
 8297   8297   
    impl ::std::error::Error for ConstraintViolation {}
 8298   8298   
    impl ConstraintViolation {
 8299   8299   
        pub(crate) fn as_validation_exception_field(
 8300   8300   
            self,
 8301   8301   
            path: ::std::string::String,
 8302   8302   
        ) -> crate::model::ValidationExceptionField {
 8303   8303   
            match self {
 8304         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 8305         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 8306         -
                                        path: path + "/timestamp",
 8307         -
                                    },
 8308         -
    }
        8304  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        8305  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        8306  +
                                                path: path + "/timestamp",
        8307  +
                                            },
        8308  +
        }
 8309   8309   
        }
 8310   8310   
    }
 8311   8311   
    impl ::std::convert::From<ConstraintViolation>
 8312   8312   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 8313   8313   
    {
 8314   8314   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 8315   8315   
            let first_validation_exception_field =
 8316   8316   
                constraint_violation.as_validation_exception_field("".to_owned());
 8317   8317   
            let validation_exception = crate::error::ValidationException {
 8318   8318   
                message: format!(
@@ -8437,8437 +8501,8501 @@
 8457   8457   
            }
 8458   8458   
        }
 8459   8459   
    }
 8460   8460   
    impl ::std::error::Error for ConstraintViolation {}
 8461   8461   
    impl ConstraintViolation {
 8462   8462   
        pub(crate) fn as_validation_exception_field(
 8463   8463   
            self,
 8464   8464   
            path: ::std::string::String,
 8465   8465   
        ) -> crate::model::ValidationExceptionField {
 8466   8466   
            match self {
 8467         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 8468         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 8469         -
                                        path: path + "/timestamp",
 8470         -
                                    },
 8471         -
    }
        8467  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        8468  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        8469  +
                                                path: path + "/timestamp",
        8470  +
                                            },
        8471  +
        }
 8472   8472   
        }
 8473   8473   
    }
 8474   8474   
    impl ::std::convert::From<ConstraintViolation>
 8475   8475   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 8476   8476   
    {
 8477   8477   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 8478   8478   
            let first_validation_exception_field =
 8479   8479   
                constraint_violation.as_validation_exception_field("".to_owned());
 8480   8480   
            let validation_exception = crate::error::ValidationException {
 8481   8481   
                message: format!(
@@ -8600,8600 +8664,8664 @@
 8620   8620   
            }
 8621   8621   
        }
 8622   8622   
    }
 8623   8623   
    impl ::std::error::Error for ConstraintViolation {}
 8624   8624   
    impl ConstraintViolation {
 8625   8625   
        pub(crate) fn as_validation_exception_field(
 8626   8626   
            self,
 8627   8627   
            path: ::std::string::String,
 8628   8628   
        ) -> crate::model::ValidationExceptionField {
 8629   8629   
            match self {
 8630         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 8631         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 8632         -
                                        path: path + "/timestamp",
 8633         -
                                    },
 8634         -
    }
        8630  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        8631  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        8632  +
                                                path: path + "/timestamp",
        8633  +
                                            },
        8634  +
        }
 8635   8635   
        }
 8636   8636   
    }
 8637   8637   
    impl ::std::convert::From<ConstraintViolation>
 8638   8638   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 8639   8639   
    {
 8640   8640   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 8641   8641   
            let first_validation_exception_field =
 8642   8642   
                constraint_violation.as_validation_exception_field("".to_owned());
 8643   8643   
            let validation_exception = crate::error::ValidationException {
 8644   8644   
                message: format!(
@@ -8769,8769 +8833,8833 @@
 8789   8789   
            }
 8790   8790   
        }
 8791   8791   
    }
 8792   8792   
    impl ::std::error::Error for ConstraintViolation {}
 8793   8793   
    impl ConstraintViolation {
 8794   8794   
        pub(crate) fn as_validation_exception_field(
 8795   8795   
            self,
 8796   8796   
            path: ::std::string::String,
 8797   8797   
        ) -> crate::model::ValidationExceptionField {
 8798   8798   
            match self {
 8799         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 8800         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 8801         -
                                        path: path + "/timestamp",
 8802         -
                                    },
 8803         -
    }
        8799  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        8800  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        8801  +
                                                path: path + "/timestamp",
        8802  +
                                            },
        8803  +
        }
 8804   8804   
        }
 8805   8805   
    }
 8806   8806   
    impl ::std::convert::From<ConstraintViolation>
 8807   8807   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 8808   8808   
    {
 8809   8809   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 8810   8810   
            let first_validation_exception_field =
 8811   8811   
                constraint_violation.as_validation_exception_field("".to_owned());
 8812   8812   
            let validation_exception = crate::error::ValidationException {
 8813   8813   
                message: format!(
@@ -8936,8936 +9000,9000 @@
 8956   8956   
            }
 8957   8957   
        }
 8958   8958   
    }
 8959   8959   
    impl ::std::error::Error for ConstraintViolation {}
 8960   8960   
    impl ConstraintViolation {
 8961   8961   
        pub(crate) fn as_validation_exception_field(
 8962   8962   
            self,
 8963   8963   
            path: ::std::string::String,
 8964   8964   
        ) -> crate::model::ValidationExceptionField {
 8965   8965   
            match self {
 8966         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 8967         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 8968         -
                                        path: path + "/timestamp",
 8969         -
                                    },
 8970         -
    }
        8966  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        8967  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        8968  +
                                                path: path + "/timestamp",
        8969  +
                                            },
        8970  +
        }
 8971   8971   
        }
 8972   8972   
    }
 8973   8973   
    impl ::std::convert::From<ConstraintViolation>
 8974   8974   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 8975   8975   
    {
 8976   8976   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 8977   8977   
            let first_validation_exception_field =
 8978   8978   
                constraint_violation.as_validation_exception_field("".to_owned());
 8979   8979   
            let validation_exception = crate::error::ValidationException {
 8980   8980   
                message: format!(
@@ -9099,9099 +9163,9163 @@
 9119   9119   
            }
 9120   9120   
        }
 9121   9121   
    }
 9122   9122   
    impl ::std::error::Error for ConstraintViolation {}
 9123   9123   
    impl ConstraintViolation {
 9124   9124   
        pub(crate) fn as_validation_exception_field(
 9125   9125   
            self,
 9126   9126   
            path: ::std::string::String,
 9127   9127   
        ) -> crate::model::ValidationExceptionField {
 9128   9128   
            match self {
 9129         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 9130         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 9131         -
                                        path: path + "/timestamp",
 9132         -
                                    },
 9133         -
    }
        9129  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        9130  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        9131  +
                                                path: path + "/timestamp",
        9132  +
                                            },
        9133  +
        }
 9134   9134   
        }
 9135   9135   
    }
 9136   9136   
    impl ::std::convert::From<ConstraintViolation>
 9137   9137   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 9138   9138   
    {
 9139   9139   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 9140   9140   
            let first_validation_exception_field =
 9141   9141   
                constraint_violation.as_validation_exception_field("".to_owned());
 9142   9142   
            let validation_exception = crate::error::ValidationException {
 9143   9143   
                message: format!(
@@ -9266,9266 +9330,9330 @@
 9286   9286   
            }
 9287   9287   
        }
 9288   9288   
    }
 9289   9289   
    impl ::std::error::Error for ConstraintViolation {}
 9290   9290   
    impl ConstraintViolation {
 9291   9291   
        pub(crate) fn as_validation_exception_field(
 9292   9292   
            self,
 9293   9293   
            path: ::std::string::String,
 9294   9294   
        ) -> crate::model::ValidationExceptionField {
 9295   9295   
            match self {
 9296         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 9297         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 9298         -
                                        path: path + "/timestamp",
 9299         -
                                    },
 9300         -
    }
        9296  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        9297  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        9298  +
                                                path: path + "/timestamp",
        9299  +
                                            },
        9300  +
        }
 9301   9301   
        }
 9302   9302   
    }
 9303   9303   
    impl ::std::convert::From<ConstraintViolation>
 9304   9304   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 9305   9305   
    {
 9306   9306   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 9307   9307   
            let first_validation_exception_field =
 9308   9308   
                constraint_violation.as_validation_exception_field("".to_owned());
 9309   9309   
            let validation_exception = crate::error::ValidationException {
 9310   9310   
                message: format!(
@@ -9433,9433 +9497,9497 @@
 9453   9453   
            }
 9454   9454   
        }
 9455   9455   
    }
 9456   9456   
    impl ::std::error::Error for ConstraintViolation {}
 9457   9457   
    impl ConstraintViolation {
 9458   9458   
        pub(crate) fn as_validation_exception_field(
 9459   9459   
            self,
 9460   9460   
            path: ::std::string::String,
 9461   9461   
        ) -> crate::model::ValidationExceptionField {
 9462   9462   
            match self {
 9463         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 9464         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 9465         -
                                        path: path + "/timestamp",
 9466         -
                                    },
 9467         -
    }
        9463  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        9464  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        9465  +
                                                path: path + "/timestamp",
        9466  +
                                            },
        9467  +
        }
 9468   9468   
        }
 9469   9469   
    }
 9470   9470   
    impl ::std::convert::From<ConstraintViolation>
 9471   9471   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 9472   9472   
    {
 9473   9473   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 9474   9474   
            let first_validation_exception_field =
 9475   9475   
                constraint_violation.as_validation_exception_field("".to_owned());
 9476   9476   
            let validation_exception = crate::error::ValidationException {
 9477   9477   
                message: format!(
@@ -9596,9596 +9660,9660 @@
 9616   9616   
            }
 9617   9617   
        }
 9618   9618   
    }
 9619   9619   
    impl ::std::error::Error for ConstraintViolation {}
 9620   9620   
    impl ConstraintViolation {
 9621   9621   
        pub(crate) fn as_validation_exception_field(
 9622   9622   
            self,
 9623   9623   
            path: ::std::string::String,
 9624   9624   
        ) -> crate::model::ValidationExceptionField {
 9625   9625   
            match self {
 9626         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 9627         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 9628         -
                                        path: path + "/timestamp",
 9629         -
                                    },
 9630         -
    }
        9626  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        9627  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        9628  +
                                                path: path + "/timestamp",
        9629  +
                                            },
        9630  +
        }
 9631   9631   
        }
 9632   9632   
    }
 9633   9633   
    impl ::std::convert::From<ConstraintViolation>
 9634   9634   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 9635   9635   
    {
 9636   9636   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 9637   9637   
            let first_validation_exception_field =
 9638   9638   
                constraint_violation.as_validation_exception_field("".to_owned());
 9639   9639   
            let validation_exception = crate::error::ValidationException {
 9640   9640   
                message: format!(
@@ -9763,9763 +9827,9827 @@
 9783   9783   
            }
 9784   9784   
        }
 9785   9785   
    }
 9786   9786   
    impl ::std::error::Error for ConstraintViolation {}
 9787   9787   
    impl ConstraintViolation {
 9788   9788   
        pub(crate) fn as_validation_exception_field(
 9789   9789   
            self,
 9790   9790   
            path: ::std::string::String,
 9791   9791   
        ) -> crate::model::ValidationExceptionField {
 9792   9792   
            match self {
 9793         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
 9794         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
 9795         -
                                        path: path + "/timestamp",
 9796         -
                                    },
 9797         -
    }
        9793  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
        9794  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
        9795  +
                                                path: path + "/timestamp",
        9796  +
                                            },
        9797  +
        }
 9798   9798   
        }
 9799   9799   
    }
 9800   9800   
    impl ::std::convert::From<ConstraintViolation>
 9801   9801   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 9802   9802   
    {
 9803   9803   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 9804   9804   
            let first_validation_exception_field =
 9805   9805   
                constraint_violation.as_validation_exception_field("".to_owned());
 9806   9806   
            let validation_exception = crate::error::ValidationException {
 9807   9807   
                message: format!(
@@ -9987,9987 +10051,10051 @@
10007  10007   
            }
10008  10008   
        }
10009  10009   
    }
10010  10010   
    impl ::std::error::Error for ConstraintViolation {}
10011  10011   
    impl ConstraintViolation {
10012  10012   
        pub(crate) fn as_validation_exception_field(
10013  10013   
            self,
10014  10014   
            path: ::std::string::String,
10015  10015   
        ) -> crate::model::ValidationExceptionField {
10016  10016   
            match self {
10017         -
        ConstraintViolation::MissingDoubleInPath => crate::model::ValidationExceptionField {
10018         -
                                        message: format!("Value at '{}/doubleInPath' failed to satisfy constraint: Member must not be null", path),
10019         -
                                        path: path + "/doubleInPath",
10020         -
                                    },
10021         -
    }
       10017  +
            ConstraintViolation::MissingDoubleInPath => crate::model::ValidationExceptionField {
       10018  +
                                                message: format!("Value at '{}/doubleInPath' failed to satisfy constraint: Member must not be null", path),
       10019  +
                                                path: path + "/doubleInPath",
       10020  +
                                            },
       10021  +
        }
10022  10022   
        }
10023  10023   
    }
10024  10024   
    impl ::std::convert::From<ConstraintViolation>
10025  10025   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
10026  10026   
    {
10027  10027   
        fn from(constraint_violation: ConstraintViolation) -> Self {
10028  10028   
            let first_validation_exception_field =
10029  10029   
                constraint_violation.as_validation_exception_field("".to_owned());
10030  10030   
            let validation_exception = crate::error::ValidationException {
10031  10031   
                message: format!(
@@ -10189,10189 +10253,10253 @@
10209  10209   
            }
10210  10210   
        }
10211  10211   
    }
10212  10212   
    impl ::std::error::Error for ConstraintViolation {}
10213  10213   
    impl ConstraintViolation {
10214  10214   
        pub(crate) fn as_validation_exception_field(
10215  10215   
            self,
10216  10216   
            path: ::std::string::String,
10217  10217   
        ) -> crate::model::ValidationExceptionField {
10218  10218   
            match self {
10219         -
        ConstraintViolation::MissingFloatInPath => crate::model::ValidationExceptionField {
10220         -
                                        message: format!("Value at '{}/floatInPath' failed to satisfy constraint: Member must not be null", path),
10221         -
                                        path: path + "/floatInPath",
10222         -
                                    },
10223         -
    }
       10219  +
            ConstraintViolation::MissingFloatInPath => crate::model::ValidationExceptionField {
       10220  +
                                                message: format!("Value at '{}/floatInPath' failed to satisfy constraint: Member must not be null", path),
       10221  +
                                                path: path + "/floatInPath",
       10222  +
                                            },
       10223  +
        }
10224  10224   
        }
10225  10225   
    }
10226  10226   
    impl ::std::convert::From<ConstraintViolation>
10227  10227   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
10228  10228   
    {
10229  10229   
        fn from(constraint_violation: ConstraintViolation) -> Self {
10230  10230   
            let first_validation_exception_field =
10231  10231   
                constraint_violation.as_validation_exception_field("".to_owned());
10232  10232   
            let validation_exception = crate::error::ValidationException {
10233  10233   
                message: format!(
@@ -10391,10391 +10455,10455 @@
10411  10411   
            }
10412  10412   
        }
10413  10413   
    }
10414  10414   
    impl ::std::error::Error for ConstraintViolation {}
10415  10415   
    impl ConstraintViolation {
10416  10416   
        pub(crate) fn as_validation_exception_field(
10417  10417   
            self,
10418  10418   
            path: ::std::string::String,
10419  10419   
        ) -> crate::model::ValidationExceptionField {
10420  10420   
            match self {
10421         -
        ConstraintViolation::MissingLongInPath => crate::model::ValidationExceptionField {
10422         -
                                        message: format!("Value at '{}/longInPath' failed to satisfy constraint: Member must not be null", path),
10423         -
                                        path: path + "/longInPath",
10424         -
                                    },
10425         -
    }
       10421  +
            ConstraintViolation::MissingLongInPath => crate::model::ValidationExceptionField {
       10422  +
                                                message: format!("Value at '{}/longInPath' failed to satisfy constraint: Member must not be null", path),
       10423  +
                                                path: path + "/longInPath",
       10424  +
                                            },
       10425  +
        }
10426  10426   
        }
10427  10427   
    }
10428  10428   
    impl ::std::convert::From<ConstraintViolation>
10429  10429   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
10430  10430   
    {
10431  10431   
        fn from(constraint_violation: ConstraintViolation) -> Self {
10432  10432   
            let first_validation_exception_field =
10433  10433   
                constraint_violation.as_validation_exception_field("".to_owned());
10434  10434   
            let validation_exception = crate::error::ValidationException {
10435  10435   
                message: format!(
@@ -10593,10593 +10657,10657 @@
10613  10613   
            }
10614  10614   
        }
10615  10615   
    }
10616  10616   
    impl ::std::error::Error for ConstraintViolation {}
10617  10617   
    impl ConstraintViolation {
10618  10618   
        pub(crate) fn as_validation_exception_field(
10619  10619   
            self,
10620  10620   
            path: ::std::string::String,
10621  10621   
        ) -> crate::model::ValidationExceptionField {
10622  10622   
            match self {
10623         -
        ConstraintViolation::MissingShortInPath => crate::model::ValidationExceptionField {
10624         -
                                        message: format!("Value at '{}/shortInPath' failed to satisfy constraint: Member must not be null", path),
10625         -
                                        path: path + "/shortInPath",
10626         -
                                    },
10627         -
    }
       10623  +
            ConstraintViolation::MissingShortInPath => crate::model::ValidationExceptionField {
       10624  +
                                                message: format!("Value at '{}/shortInPath' failed to satisfy constraint: Member must not be null", path),
       10625  +
                                                path: path + "/shortInPath",
       10626  +
                                            },
       10627  +
        }
10628  10628   
        }
10629  10629   
    }
10630  10630   
    impl ::std::convert::From<ConstraintViolation>
10631  10631   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
10632  10632   
    {
10633  10633   
        fn from(constraint_violation: ConstraintViolation) -> Self {
10634  10634   
            let first_validation_exception_field =
10635  10635   
                constraint_violation.as_validation_exception_field("".to_owned());
10636  10636   
            let validation_exception = crate::error::ValidationException {
10637  10637   
                message: format!(
@@ -10795,10795 +10859,10859 @@
10815  10815   
            }
10816  10816   
        }
10817  10817   
    }
10818  10818   
    impl ::std::error::Error for ConstraintViolation {}
10819  10819   
    impl ConstraintViolation {
10820  10820   
        pub(crate) fn as_validation_exception_field(
10821  10821   
            self,
10822  10822   
            path: ::std::string::String,
10823  10823   
        ) -> crate::model::ValidationExceptionField {
10824  10824   
            match self {
10825         -
        ConstraintViolation::MissingByteInPath => crate::model::ValidationExceptionField {
10826         -
                                        message: format!("Value at '{}/byteInPath' failed to satisfy constraint: Member must not be null", path),
10827         -
                                        path: path + "/byteInPath",
10828         -
                                    },
10829         -
    }
       10825  +
            ConstraintViolation::MissingByteInPath => crate::model::ValidationExceptionField {
       10826  +
                                                message: format!("Value at '{}/byteInPath' failed to satisfy constraint: Member must not be null", path),
       10827  +
                                                path: path + "/byteInPath",
       10828  +
                                            },
       10829  +
        }
10830  10830   
        }
10831  10831   
    }
10832  10832   
    impl ::std::convert::From<ConstraintViolation>
10833  10833   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
10834  10834   
    {
10835  10835   
        fn from(constraint_violation: ConstraintViolation) -> Self {
10836  10836   
            let first_validation_exception_field =
10837  10837   
                constraint_violation.as_validation_exception_field("".to_owned());
10838  10838   
            let validation_exception = crate::error::ValidationException {
10839  10839   
                message: format!(
@@ -11207,11207 +11271,11271 @@
11227  11227   
            }
11228  11228   
        }
11229  11229   
    }
11230  11230   
    impl ::std::error::Error for ConstraintViolation {}
11231  11231   
    impl ConstraintViolation {
11232  11232   
        pub(crate) fn as_validation_exception_field(
11233  11233   
            self,
11234  11234   
            path: ::std::string::String,
11235  11235   
        ) -> crate::model::ValidationExceptionField {
11236  11236   
            match self {
11237         -
        ConstraintViolation::MissingBooleanInPath => crate::model::ValidationExceptionField {
11238         -
                                        message: format!("Value at '{}/booleanInPath' failed to satisfy constraint: Member must not be null", path),
11239         -
                                        path: path + "/booleanInPath",
11240         -
                                    },
11241         -
    }
       11237  +
            ConstraintViolation::MissingBooleanInPath => crate::model::ValidationExceptionField {
       11238  +
                                                message: format!("Value at '{}/booleanInPath' failed to satisfy constraint: Member must not be null", path),
       11239  +
                                                path: path + "/booleanInPath",
       11240  +
                                            },
       11241  +
        }
11242  11242   
        }
11243  11243   
    }
11244  11244   
    impl ::std::convert::From<ConstraintViolation>
11245  11245   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
11246  11246   
    {
11247  11247   
        fn from(constraint_violation: ConstraintViolation) -> Self {
11248  11248   
            let first_validation_exception_field =
11249  11249   
                constraint_violation.as_validation_exception_field("".to_owned());
11250  11250   
            let validation_exception = crate::error::ValidationException {
11251  11251   
                message: format!(
@@ -11473,11473 +11537,11537 @@
11493  11493   
            }
11494  11494   
        }
11495  11495   
    }
11496  11496   
    impl ::std::error::Error for ConstraintViolation {}
11497  11497   
    impl ConstraintViolation {
11498  11498   
        pub(crate) fn as_validation_exception_field(
11499  11499   
            self,
11500  11500   
            path: ::std::string::String,
11501  11501   
        ) -> crate::model::ValidationExceptionField {
11502  11502   
            match self {
11503         -
        ConstraintViolation::MissingIntegerInPath => crate::model::ValidationExceptionField {
11504         -
                                        message: format!("Value at '{}/integerInPath' failed to satisfy constraint: Member must not be null", path),
11505         -
                                        path: path + "/integerInPath",
11506         -
                                    },
11507         -
    }
       11503  +
            ConstraintViolation::MissingIntegerInPath => crate::model::ValidationExceptionField {
       11504  +
                                                message: format!("Value at '{}/integerInPath' failed to satisfy constraint: Member must not be null", path),
       11505  +
                                                path: path + "/integerInPath",
       11506  +
                                            },
       11507  +
        }
11508  11508   
        }
11509  11509   
    }
11510  11510   
    impl ::std::convert::From<ConstraintViolation>
11511  11511   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
11512  11512   
    {
11513  11513   
        fn from(constraint_violation: ConstraintViolation) -> Self {
11514  11514   
            let first_validation_exception_field =
11515  11515   
                constraint_violation.as_validation_exception_field("".to_owned());
11516  11516   
            let validation_exception = crate::error::ValidationException {
11517  11517   
                message: format!(
@@ -17418,17418 +17486,17486 @@
17438  17438   
            }
17439  17439   
        }
17440  17440   
    }
17441  17441   
    impl ::std::error::Error for ConstraintViolation {}
17442  17442   
    impl ConstraintViolation {
17443  17443   
        pub(crate) fn as_validation_exception_field(
17444  17444   
            self,
17445  17445   
            path: ::std::string::String,
17446  17446   
        ) -> crate::model::ValidationExceptionField {
17447  17447   
            match self {
17448         -
        ConstraintViolation::MissingFloat => crate::model::ValidationExceptionField {
17449         -
                                        message: format!("Value at '{}/float' failed to satisfy constraint: Member must not be null", path),
17450         -
                                        path: path + "/float",
17451         -
                                    },
17452         -
        ConstraintViolation::MissingDouble => crate::model::ValidationExceptionField {
17453         -
                                        message: format!("Value at '{}/double' failed to satisfy constraint: Member must not be null", path),
17454         -
                                        path: path + "/double",
17455         -
                                    },
17456         -
    }
       17448  +
            ConstraintViolation::MissingFloat => crate::model::ValidationExceptionField {
       17449  +
                                                message: format!("Value at '{}/float' failed to satisfy constraint: Member must not be null", path),
       17450  +
                                                path: path + "/float",
       17451  +
                                            },
       17452  +
            ConstraintViolation::MissingDouble => crate::model::ValidationExceptionField {
       17453  +
                                                message: format!("Value at '{}/double' failed to satisfy constraint: Member must not be null", path),
       17454  +
                                                path: path + "/double",
       17455  +
                                            },
       17456  +
        }
17457  17457   
        }
17458  17458   
    }
17459  17459   
    impl ::std::convert::From<ConstraintViolation>
17460  17460   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
17461  17461   
    {
17462  17462   
        fn from(constraint_violation: ConstraintViolation) -> Self {
17463  17463   
            let first_validation_exception_field =
17464  17464   
                constraint_violation.as_validation_exception_field("".to_owned());
17465  17465   
            let validation_exception = crate::error::ValidationException {
17466  17466   
                message: format!(
@@ -17803,17803 +17891,17891 @@
17823  17823   
            }
17824  17824   
        }
17825  17825   
    }
17826  17826   
    impl ::std::error::Error for ConstraintViolation {}
17827  17827   
    impl ConstraintViolation {
17828  17828   
        pub(crate) fn as_validation_exception_field(
17829  17829   
            self,
17830  17830   
            path: ::std::string::String,
17831  17831   
        ) -> crate::model::ValidationExceptionField {
17832  17832   
            match self {
17833         -
        ConstraintViolation::MissingMemberEpochSeconds => crate::model::ValidationExceptionField {
17834         -
                                        message: format!("Value at '{}/memberEpochSeconds' failed to satisfy constraint: Member must not be null", path),
17835         -
                                        path: path + "/memberEpochSeconds",
17836         -
                                    },
17837         -
        ConstraintViolation::MissingMemberHttpDate => crate::model::ValidationExceptionField {
17838         -
                                        message: format!("Value at '{}/memberHttpDate' failed to satisfy constraint: Member must not be null", path),
17839         -
                                        path: path + "/memberHttpDate",
17840         -
                                    },
17841         -
        ConstraintViolation::MissingMemberDateTime => crate::model::ValidationExceptionField {
17842         -
                                        message: format!("Value at '{}/memberDateTime' failed to satisfy constraint: Member must not be null", path),
17843         -
                                        path: path + "/memberDateTime",
17844         -
                                    },
17845         -
        ConstraintViolation::MissingDefaultFormat => crate::model::ValidationExceptionField {
17846         -
                                        message: format!("Value at '{}/defaultFormat' failed to satisfy constraint: Member must not be null", path),
17847         -
                                        path: path + "/defaultFormat",
17848         -
                                    },
17849         -
        ConstraintViolation::MissingTargetEpochSeconds => crate::model::ValidationExceptionField {
17850         -
                                        message: format!("Value at '{}/targetEpochSeconds' failed to satisfy constraint: Member must not be null", path),
17851         -
                                        path: path + "/targetEpochSeconds",
17852         -
                                    },
17853         -
        ConstraintViolation::MissingTargetHttpDate => crate::model::ValidationExceptionField {
17854         -
                                        message: format!("Value at '{}/targetHttpDate' failed to satisfy constraint: Member must not be null", path),
17855         -
                                        path: path + "/targetHttpDate",
17856         -
                                    },
17857         -
        ConstraintViolation::MissingTargetDateTime => crate::model::ValidationExceptionField {
17858         -
                                        message: format!("Value at '{}/targetDateTime' failed to satisfy constraint: Member must not be null", path),
17859         -
                                        path: path + "/targetDateTime",
17860         -
                                    },
17861         -
    }
       17833  +
            ConstraintViolation::MissingMemberEpochSeconds => crate::model::ValidationExceptionField {
       17834  +
                                                message: format!("Value at '{}/memberEpochSeconds' failed to satisfy constraint: Member must not be null", path),
       17835  +
                                                path: path + "/memberEpochSeconds",
       17836  +
                                            },
       17837  +
            ConstraintViolation::MissingMemberHttpDate => crate::model::ValidationExceptionField {
       17838  +
                                                message: format!("Value at '{}/memberHttpDate' failed to satisfy constraint: Member must not be null", path),
       17839  +
                                                path: path + "/memberHttpDate",
       17840  +
                                            },
       17841  +
            ConstraintViolation::MissingMemberDateTime => crate::model::ValidationExceptionField {
       17842  +
                                                message: format!("Value at '{}/memberDateTime' failed to satisfy constraint: Member must not be null", path),
       17843  +
                                                path: path + "/memberDateTime",
       17844  +
                                            },
       17845  +
            ConstraintViolation::MissingDefaultFormat => crate::model::ValidationExceptionField {
       17846  +
                                                message: format!("Value at '{}/defaultFormat' failed to satisfy constraint: Member must not be null", path),
       17847  +
                                                path: path + "/defaultFormat",
       17848  +
                                            },
       17849  +
            ConstraintViolation::MissingTargetEpochSeconds => crate::model::ValidationExceptionField {
       17850  +
                                                message: format!("Value at '{}/targetEpochSeconds' failed to satisfy constraint: Member must not be null", path),
       17851  +
                                                path: path + "/targetEpochSeconds",
       17852  +
                                            },
       17853  +
            ConstraintViolation::MissingTargetHttpDate => crate::model::ValidationExceptionField {
       17854  +
                                                message: format!("Value at '{}/targetHttpDate' failed to satisfy constraint: Member must not be null", path),
       17855  +
                                                path: path + "/targetHttpDate",
       17856  +
                                            },
       17857  +
            ConstraintViolation::MissingTargetDateTime => crate::model::ValidationExceptionField {
       17858  +
                                                message: format!("Value at '{}/targetDateTime' failed to satisfy constraint: Member must not be null", path),
       17859  +
                                                path: path + "/targetDateTime",
       17860  +
                                            },
       17861  +
        }
17862  17862   
        }
17863  17863   
    }
17864  17864   
    impl ::std::convert::From<ConstraintViolation>
17865  17865   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
17866  17866   
    {
17867  17867   
        fn from(constraint_violation: ConstraintViolation) -> Self {
17868  17868   
            let first_validation_exception_field =
17869  17869   
                constraint_violation.as_validation_exception_field("".to_owned());
17870  17870   
            let validation_exception = crate::error::ValidationException {
17871  17871   
                message: format!(
@@ -18196,18196 +18288,18288 @@
18216  18216   
            }
18217  18217   
        }
18218  18218   
    }
18219  18219   
    impl ::std::error::Error for ConstraintViolation {}
18220  18220   
    impl ConstraintViolation {
18221  18221   
        pub(crate) fn as_validation_exception_field(
18222  18222   
            self,
18223  18223   
            path: ::std::string::String,
18224  18224   
        ) -> crate::model::ValidationExceptionField {
18225  18225   
            match self {
18226         -
        ConstraintViolation::MissingString => crate::model::ValidationExceptionField {
18227         -
                                        message: format!("Value at '{}/string' failed to satisfy constraint: Member must not be null", path),
18228         -
                                        path: path + "/string",
18229         -
                                    },
18230         -
        ConstraintViolation::MissingShort => crate::model::ValidationExceptionField {
18231         -
                                        message: format!("Value at '{}/short' failed to satisfy constraint: Member must not be null", path),
18232         -
                                        path: path + "/short",
18233         -
                                    },
18234         -
        ConstraintViolation::MissingInteger => crate::model::ValidationExceptionField {
18235         -
                                        message: format!("Value at '{}/integer' failed to satisfy constraint: Member must not be null", path),
18236         -
                                        path: path + "/integer",
18237         -
                                    },
18238         -
        ConstraintViolation::MissingLong => crate::model::ValidationExceptionField {
18239         -
                                        message: format!("Value at '{}/long' failed to satisfy constraint: Member must not be null", path),
18240         -
                                        path: path + "/long",
18241         -
                                    },
18242         -
        ConstraintViolation::MissingFloat => crate::model::ValidationExceptionField {
18243         -
                                        message: format!("Value at '{}/float' failed to satisfy constraint: Member must not be null", path),
18244         -
                                        path: path + "/float",
18245         -
                                    },
18246         -
        ConstraintViolation::MissingDouble => crate::model::ValidationExceptionField {
18247         -
                                        message: format!("Value at '{}/double' failed to satisfy constraint: Member must not be null", path),
18248         -
                                        path: path + "/double",
18249         -
                                    },
18250         -
        ConstraintViolation::MissingBoolean => crate::model::ValidationExceptionField {
18251         -
                                        message: format!("Value at '{}/boolean' failed to satisfy constraint: Member must not be null", path),
18252         -
                                        path: path + "/boolean",
18253         -
                                    },
18254         -
        ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
18255         -
                                        message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
18256         -
                                        path: path + "/timestamp",
18257         -
                                    },
18258         -
    }
       18226  +
            ConstraintViolation::MissingString => crate::model::ValidationExceptionField {
       18227  +
                                                message: format!("Value at '{}/string' failed to satisfy constraint: Member must not be null", path),
       18228  +
                                                path: path + "/string",
       18229  +
                                            },
       18230  +
            ConstraintViolation::MissingShort => crate::model::ValidationExceptionField {
       18231  +
                                                message: format!("Value at '{}/short' failed to satisfy constraint: Member must not be null", path),
       18232  +
                                                path: path + "/short",
       18233  +
                                            },
       18234  +
            ConstraintViolation::MissingInteger => crate::model::ValidationExceptionField {
       18235  +
                                                message: format!("Value at '{}/integer' failed to satisfy constraint: Member must not be null", path),
       18236  +
                                                path: path + "/integer",
       18237  +
                                            },
       18238  +
            ConstraintViolation::MissingLong => crate::model::ValidationExceptionField {
       18239  +
                                                message: format!("Value at '{}/long' failed to satisfy constraint: Member must not be null", path),
       18240  +
                                                path: path + "/long",
       18241  +
                                            },
       18242  +
            ConstraintViolation::MissingFloat => crate::model::ValidationExceptionField {
       18243  +
                                                message: format!("Value at '{}/float' failed to satisfy constraint: Member must not be null", path),
       18244  +
                                                path: path + "/float",
       18245  +
                                            },
       18246  +
            ConstraintViolation::MissingDouble => crate::model::ValidationExceptionField {
       18247  +
                                                message: format!("Value at '{}/double' failed to satisfy constraint: Member must not be null", path),
       18248  +
                                                path: path + "/double",
       18249  +
                                            },
       18250  +
            ConstraintViolation::MissingBoolean => crate::model::ValidationExceptionField {
       18251  +
                                                message: format!("Value at '{}/boolean' failed to satisfy constraint: Member must not be null", path),
       18252  +
                                                path: path + "/boolean",
       18253  +
                                            },
       18254  +
            ConstraintViolation::MissingTimestamp => crate::model::ValidationExceptionField {
       18255  +
                                                message: format!("Value at '{}/timestamp' failed to satisfy constraint: Member must not be null", path),
       18256  +
                                                path: path + "/timestamp",
       18257  +
                                            },
       18258  +
        }
18259  18259   
        }
18260  18260   
    }
18261  18261   
    impl ::std::convert::From<ConstraintViolation>
18262  18262   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
18263  18263   
    {
18264  18264   
        fn from(constraint_violation: ConstraintViolation) -> Self {
18265  18265   
            let first_validation_exception_field =
18266  18266   
                constraint_violation.as_validation_exception_field("".to_owned());
18267  18267   
            let validation_exception = crate::error::ValidationException {
18268  18268   
                message: format!(