Server Test

Server Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858

Files changed:

tmp-codegen-diff/codegen-server-test/constraints_without_public_constrained_types-http0x/rust-server-codegen/src/constrained.rs

@@ -1,1 +701,701 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
    3         -
pub(crate) mod map_of_enum_string_constrained {
           3  +
pub(crate) mod map_of_length_string_constrained {
    4      4   
    5      5   
    #[derive(Debug, Clone)]
    6         -
    pub(crate) struct MapOfEnumStringConstrained(
    7         -
        pub(crate) std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
           6  +
    pub(crate) struct MapOfLengthStringConstrained(
           7  +
        pub(crate) std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
    8      8   
    );
    9      9   
   10         -
    impl crate::constrained::Constrained for MapOfEnumStringConstrained {
   11         -
        type Unconstrained =
   12         -
            crate::unconstrained::map_of_enum_string_unconstrained::MapOfEnumStringUnconstrained;
   13         -
    }
   14         -
    impl ::std::convert::From<MapOfEnumStringConstrained>
   15         -
        for ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>
   16         -
    {
   17         -
        fn from(v: MapOfEnumStringConstrained) -> Self {
   18         -
            v.0
   19         -
        }
   20         -
    }
   21         -
}
   22         -
pub(crate) mod map_of_list_of_length_pattern_string_constrained {
   23         -
   24         -
    #[derive(Debug, Clone)]
   25         -
    pub(crate) struct MapOfListOfLengthPatternStringConstrained(pub(crate) std::collections::HashMap<crate::model::LengthPatternString, crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>);
   26         -
   27         -
    impl crate::constrained::Constrained for MapOfListOfLengthPatternStringConstrained {
   28         -
        type Unconstrained = crate::unconstrained::map_of_list_of_length_pattern_string_unconstrained::MapOfListOfLengthPatternStringUnconstrained;
          10  +
    impl crate::constrained::Constrained for MapOfLengthStringConstrained {
          11  +
        type Unconstrained = crate::unconstrained::map_of_length_string_unconstrained::MapOfLengthStringUnconstrained;
   29     12   
    }
   30         -
    impl ::std::convert::From<MapOfListOfLengthPatternStringConstrained>
   31         -
        for ::std::collections::HashMap<
   32         -
            ::std::string::String,
   33         -
            ::std::vec::Vec<::std::string::String>,
   34         -
        >
          13  +
    impl ::std::convert::From<MapOfLengthStringConstrained>
          14  +
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
   35     15   
    {
   36         -
        fn from(v: MapOfListOfLengthPatternStringConstrained) -> Self {
          16  +
        fn from(v: MapOfLengthStringConstrained) -> Self {
   37     17   
            v.0.into_iter()
   38     18   
                .map(|(k, v)| {
   39     19   
                    let k = k.into();
   40     20   
                    let v = { v.into() };
   41     21   
                    (k, v)
   42     22   
                })
   43     23   
                .collect()
   44     24   
        }
   45     25   
    }
   46     26   
}
   47         -
pub(crate) mod list_of_length_pattern_string_constrained {
          27  +
pub(crate) mod list_of_length_string_constrained {
   48     28   
   49     29   
    #[derive(Debug, Clone)]
   50         -
    pub(crate) struct ListOfLengthPatternStringConstrained(
   51         -
        pub(crate) std::vec::Vec<crate::model::LengthPatternString>,
          30  +
    pub(crate) struct ListOfLengthStringConstrained(
          31  +
        pub(crate) std::vec::Vec<crate::model::LengthString>,
   52     32   
    );
   53     33   
   54         -
    impl crate::constrained::Constrained for ListOfLengthPatternStringConstrained {
   55         -
        type Unconstrained = crate::unconstrained::list_of_length_pattern_string_unconstrained::ListOfLengthPatternStringUnconstrained;
          34  +
    impl crate::constrained::Constrained for ListOfLengthStringConstrained {
          35  +
        type Unconstrained = crate::unconstrained::list_of_length_string_unconstrained::ListOfLengthStringUnconstrained;
   56     36   
    }
   57         -
    impl ::std::convert::From<ListOfLengthPatternStringConstrained>
          37  +
    impl ::std::convert::From<ListOfLengthStringConstrained>
   58     38   
        for ::std::vec::Vec<::std::string::String>
   59     39   
    {
   60         -
        fn from(v: ListOfLengthPatternStringConstrained) -> Self {
          40  +
        fn from(v: ListOfLengthStringConstrained) -> Self {
   61     41   
            v.0.into_iter().map(|item| item.into()).collect()
   62     42   
        }
   63     43   
    }
   64     44   
}
   65         -
pub(crate) mod map_of_length_pattern_string_constrained {
          45  +
pub(crate) mod list_of_range_byte_constrained {
   66     46   
   67     47   
    #[derive(Debug, Clone)]
   68         -
    pub(crate) struct MapOfLengthPatternStringConstrained(
   69         -
        pub(crate)  std::collections::HashMap<
   70         -
            crate::model::LengthPatternString,
   71         -
            crate::model::LengthPatternString,
   72         -
        >,
   73         -
    );
          48  +
    pub(crate) struct ListOfRangeByteConstrained(pub(crate) std::vec::Vec<crate::model::RangeByte>);
   74     49   
   75         -
    impl crate::constrained::Constrained for MapOfLengthPatternStringConstrained {
   76         -
        type Unconstrained = crate::unconstrained::map_of_length_pattern_string_unconstrained::MapOfLengthPatternStringUnconstrained;
          50  +
    impl crate::constrained::Constrained for ListOfRangeByteConstrained {
          51  +
        type Unconstrained =
          52  +
            crate::unconstrained::list_of_range_byte_unconstrained::ListOfRangeByteUnconstrained;
   77     53   
    }
   78         -
    impl ::std::convert::From<MapOfLengthPatternStringConstrained>
   79         -
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
   80         -
    {
   81         -
        fn from(v: MapOfLengthPatternStringConstrained) -> Self {
   82         -
            v.0.into_iter()
   83         -
                .map(|(k, v)| {
   84         -
                    let k = k.into();
   85         -
                    let v = { v.into() };
   86         -
                    (k, v)
   87         -
                })
   88         -
                .collect()
          54  +
    impl ::std::convert::From<ListOfRangeByteConstrained> for ::std::vec::Vec<i8> {
          55  +
        fn from(v: ListOfRangeByteConstrained) -> Self {
          56  +
            v.0.into_iter().map(|item| item.into()).collect()
   89     57   
        }
   90     58   
    }
   91     59   
}
   92         -
pub(crate) mod map_of_list_of_pattern_string_constrained {
          60  +
pub(crate) mod list_of_range_short_constrained {
   93     61   
   94     62   
    #[derive(Debug, Clone)]
   95         -
    pub(crate) struct MapOfListOfPatternStringConstrained(
   96         -
        pub(crate)  std::collections::HashMap<
   97         -
            crate::model::PatternString,
   98         -
            crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained,
   99         -
        >,
          63  +
    pub(crate) struct ListOfRangeShortConstrained(
          64  +
        pub(crate) std::vec::Vec<crate::model::RangeShort>,
  100     65   
    );
  101     66   
  102         -
    impl crate::constrained::Constrained for MapOfListOfPatternStringConstrained {
  103         -
        type Unconstrained = crate::unconstrained::map_of_list_of_pattern_string_unconstrained::MapOfListOfPatternStringUnconstrained;
          67  +
    impl crate::constrained::Constrained for ListOfRangeShortConstrained {
          68  +
        type Unconstrained =
          69  +
            crate::unconstrained::list_of_range_short_unconstrained::ListOfRangeShortUnconstrained;
  104     70   
    }
  105         -
    impl ::std::convert::From<MapOfListOfPatternStringConstrained>
  106         -
        for ::std::collections::HashMap<
  107         -
            ::std::string::String,
  108         -
            ::std::vec::Vec<::std::string::String>,
  109         -
        >
  110         -
    {
  111         -
        fn from(v: MapOfListOfPatternStringConstrained) -> Self {
  112         -
            v.0.into_iter()
  113         -
                .map(|(k, v)| {
  114         -
                    let k = k.into();
  115         -
                    let v = { v.into() };
  116         -
                    (k, v)
  117         -
                })
  118         -
                .collect()
          71  +
    impl ::std::convert::From<ListOfRangeShortConstrained> for ::std::vec::Vec<i16> {
          72  +
        fn from(v: ListOfRangeShortConstrained) -> Self {
          73  +
            v.0.into_iter().map(|item| item.into()).collect()
  119     74   
        }
  120     75   
    }
  121     76   
}
  122         -
pub(crate) mod list_of_pattern_string_constrained {
          77  +
pub(crate) mod list_of_range_integer_constrained {
  123     78   
  124     79   
    #[derive(Debug, Clone)]
  125         -
    pub(crate) struct ListOfPatternStringConstrained(
  126         -
        pub(crate) std::vec::Vec<crate::model::PatternString>,
          80  +
    pub(crate) struct ListOfRangeIntegerConstrained(
          81  +
        pub(crate) std::vec::Vec<crate::model::RangeInteger>,
  127     82   
    );
  128     83   
  129         -
    impl crate::constrained::Constrained for ListOfPatternStringConstrained {
  130         -
        type Unconstrained = crate::unconstrained::list_of_pattern_string_unconstrained::ListOfPatternStringUnconstrained;
          84  +
    impl crate::constrained::Constrained for ListOfRangeIntegerConstrained {
          85  +
        type Unconstrained = crate::unconstrained::list_of_range_integer_unconstrained::ListOfRangeIntegerUnconstrained;
  131     86   
    }
  132         -
    impl ::std::convert::From<ListOfPatternStringConstrained>
  133         -
        for ::std::vec::Vec<::std::string::String>
  134         -
    {
  135         -
        fn from(v: ListOfPatternStringConstrained) -> Self {
          87  +
    impl ::std::convert::From<ListOfRangeIntegerConstrained> for ::std::vec::Vec<i32> {
          88  +
        fn from(v: ListOfRangeIntegerConstrained) -> Self {
  136     89   
            v.0.into_iter().map(|item| item.into()).collect()
  137     90   
        }
  138     91   
    }
  139     92   
}
  140         -
pub(crate) mod map_of_pattern_string_constrained {
          93  +
pub(crate) mod list_of_range_long_constrained {
  141     94   
  142     95   
    #[derive(Debug, Clone)]
  143         -
    pub(crate) struct MapOfPatternStringConstrained(
  144         -
        pub(crate) 
  145         -
            std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  146         -
    );
          96  +
    pub(crate) struct ListOfRangeLongConstrained(pub(crate) std::vec::Vec<crate::model::RangeLong>);
  147     97   
  148         -
    impl crate::constrained::Constrained for MapOfPatternStringConstrained {
  149         -
        type Unconstrained = crate::unconstrained::map_of_pattern_string_unconstrained::MapOfPatternStringUnconstrained;
          98  +
    impl crate::constrained::Constrained for ListOfRangeLongConstrained {
          99  +
        type Unconstrained =
         100  +
            crate::unconstrained::list_of_range_long_unconstrained::ListOfRangeLongUnconstrained;
  150    101   
    }
  151         -
    impl ::std::convert::From<MapOfPatternStringConstrained>
  152         -
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
  153         -
    {
  154         -
        fn from(v: MapOfPatternStringConstrained) -> Self {
  155         -
            v.0.into_iter()
  156         -
                .map(|(k, v)| {
  157         -
                    let k = k.into();
  158         -
                    let v = { v.into() };
  159         -
                    (k, v)
  160         -
                })
  161         -
                .collect()
         102  +
    impl ::std::convert::From<ListOfRangeLongConstrained> for ::std::vec::Vec<i64> {
         103  +
        fn from(v: ListOfRangeLongConstrained) -> Self {
         104  +
            v.0.into_iter().map(|item| item.into()).collect()
  162    105   
        }
  163    106   
    }
  164    107   
}
  165         -
pub(crate) mod map_of_list_of_enum_string_constrained {
         108  +
pub(crate) mod list_of_enum_string_constrained {
  166    109   
  167    110   
    #[derive(Debug, Clone)]
  168         -
    pub(crate) struct MapOfListOfEnumStringConstrained(
  169         -
        pub(crate)  std::collections::HashMap<
  170         -
            crate::model::EnumString,
  171         -
            crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained,
  172         -
        >,
         111  +
    pub(crate) struct ListOfEnumStringConstrained(
         112  +
        pub(crate) std::vec::Vec<crate::model::EnumString>,
  173    113   
    );
  174    114   
  175         -
    impl crate::constrained::Constrained for MapOfListOfEnumStringConstrained {
  176         -
        type Unconstrained = crate::unconstrained::map_of_list_of_enum_string_unconstrained::MapOfListOfEnumStringUnconstrained;
         115  +
    impl crate::constrained::Constrained for ListOfEnumStringConstrained {
         116  +
        type Unconstrained =
         117  +
            crate::unconstrained::list_of_enum_string_unconstrained::ListOfEnumStringUnconstrained;
  177    118   
    }
  178         -
    impl ::std::convert::From<MapOfListOfEnumStringConstrained>
  179         -
        for ::std::collections::HashMap<
  180         -
            crate::model::EnumString,
  181         -
            ::std::vec::Vec<crate::model::EnumString>,
  182         -
        >
         119  +
    impl ::std::convert::From<ListOfEnumStringConstrained>
         120  +
        for ::std::vec::Vec<crate::model::EnumString>
  183    121   
    {
  184         -
        fn from(v: MapOfListOfEnumStringConstrained) -> Self {
  185         -
            v.0.into_iter()
  186         -
                .map(|(k, v)| {
  187         -
                    let v = { v.into() };
  188         -
                    (k, v)
  189         -
                })
  190         -
                .collect()
         122  +
        fn from(v: ListOfEnumStringConstrained) -> Self {
         123  +
            v.0
  191    124   
        }
  192    125   
    }
  193    126   
}
  194         -
pub(crate) mod list_of_enum_string_constrained {
         127  +
pub(crate) mod recursive_list_constrained {
  195    128   
  196    129   
    #[derive(Debug, Clone)]
  197         -
    pub(crate) struct ListOfEnumStringConstrained(
  198         -
        pub(crate) std::vec::Vec<crate::model::EnumString>,
         130  +
    pub(crate) struct RecursiveListConstrained(
         131  +
        pub(crate) std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
  199    132   
    );
  200    133   
  201         -
    impl crate::constrained::Constrained for ListOfEnumStringConstrained {
         134  +
    impl crate::constrained::Constrained for RecursiveListConstrained {
  202    135   
        type Unconstrained =
  203         -
            crate::unconstrained::list_of_enum_string_unconstrained::ListOfEnumStringUnconstrained;
         136  +
            crate::unconstrained::recursive_list_unconstrained::RecursiveListUnconstrained;
  204    137   
    }
  205         -
    impl ::std::convert::From<ListOfEnumStringConstrained>
  206         -
        for ::std::vec::Vec<crate::model::EnumString>
         138  +
    impl ::std::convert::From<RecursiveListConstrained>
         139  +
        for ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>
  207    140   
    {
  208         -
        fn from(v: ListOfEnumStringConstrained) -> Self {
         141  +
        fn from(v: RecursiveListConstrained) -> Self {
  209    142   
            v.0
  210    143   
        }
  211    144   
    }
  212    145   
}
  213         -
pub(crate) mod map_of_length_list_of_pattern_string_constrained {
         146  +
pub(crate) mod map_of_list_of_length_string_constrained {
  214    147   
  215    148   
    #[derive(Debug, Clone)]
  216         -
    pub(crate) struct MapOfLengthListOfPatternStringConstrained(
         149  +
    pub(crate) struct MapOfListOfLengthStringConstrained(
  217    150   
        pub(crate)  std::collections::HashMap<
  218         -
            crate::model::PatternString,
  219         -
            crate::model::LengthListOfPatternString,
         151  +
            crate::model::LengthString,
         152  +
            crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained,
  220    153   
        >,
  221    154   
    );
  222    155   
  223         -
    impl crate::constrained::Constrained for MapOfLengthListOfPatternStringConstrained {
  224         -
        type Unconstrained = crate::unconstrained::map_of_length_list_of_pattern_string_unconstrained::MapOfLengthListOfPatternStringUnconstrained;
         156  +
    impl crate::constrained::Constrained for MapOfListOfLengthStringConstrained {
         157  +
        type Unconstrained = crate::unconstrained::map_of_list_of_length_string_unconstrained::MapOfListOfLengthStringUnconstrained;
  225    158   
    }
  226         -
    impl ::std::convert::From<MapOfLengthListOfPatternStringConstrained>
         159  +
    impl ::std::convert::From<MapOfListOfLengthStringConstrained>
  227    160   
        for ::std::collections::HashMap<
  228    161   
            ::std::string::String,
  229    162   
            ::std::vec::Vec<::std::string::String>,
  230    163   
        >
  231    164   
    {
  232         -
        fn from(v: MapOfLengthListOfPatternStringConstrained) -> Self {
         165  +
        fn from(v: MapOfListOfLengthStringConstrained) -> Self {
  233    166   
            v.0.into_iter()
  234    167   
                .map(|(k, v)| {
  235    168   
                    let k = k.into();
  236    169   
                    let v = { v.into() };
  237    170   
                    (k, v)
  238    171   
                })
  239    172   
                .collect()
  240    173   
        }
  241    174   
    }
  242    175   
}
  243    176   
pub(crate) mod map_of_set_of_length_string_constrained {
  244    177   
  245    178   
    #[derive(Debug, Clone)]
  246    179   
    pub(crate) struct MapOfSetOfLengthStringConstrained(
  247    180   
        pub(crate) 
  248    181   
            std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>,
  249    182   
    );
  250    183   
  251    184   
    impl crate::constrained::Constrained for MapOfSetOfLengthStringConstrained {
  252    185   
        type Unconstrained = crate::unconstrained::map_of_set_of_length_string_unconstrained::MapOfSetOfLengthStringUnconstrained;
  253    186   
    }
  254    187   
    impl ::std::convert::From<MapOfSetOfLengthStringConstrained>
  255    188   
        for ::std::collections::HashMap<
  256    189   
            ::std::string::String,
  257    190   
            ::std::vec::Vec<::std::string::String>,
  258    191   
        >
  259    192   
    {
  260    193   
        fn from(v: MapOfSetOfLengthStringConstrained) -> Self {
  261    194   
            v.0.into_iter()
  262    195   
                .map(|(k, v)| {
  263    196   
                    let k = k.into();
  264    197   
                    let v = { v.into() };
  265    198   
                    (k, v)
  266    199   
                })
  267    200   
                .collect()
  268    201   
        }
  269    202   
    }
  270    203   
}
  271         -
pub(crate) mod map_of_list_of_length_string_constrained {
         204  +
pub(crate) mod map_of_length_list_of_pattern_string_constrained {
  272    205   
  273    206   
    #[derive(Debug, Clone)]
  274         -
    pub(crate) struct MapOfListOfLengthStringConstrained(
         207  +
    pub(crate) struct MapOfLengthListOfPatternStringConstrained(
  275    208   
        pub(crate)  std::collections::HashMap<
  276         -
            crate::model::LengthString,
  277         -
            crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained,
         209  +
            crate::model::PatternString,
         210  +
            crate::model::LengthListOfPatternString,
  278    211   
        >,
  279    212   
    );
  280    213   
  281         -
    impl crate::constrained::Constrained for MapOfListOfLengthStringConstrained {
  282         -
        type Unconstrained = crate::unconstrained::map_of_list_of_length_string_unconstrained::MapOfListOfLengthStringUnconstrained;
         214  +
    impl crate::constrained::Constrained for MapOfLengthListOfPatternStringConstrained {
         215  +
        type Unconstrained = crate::unconstrained::map_of_length_list_of_pattern_string_unconstrained::MapOfLengthListOfPatternStringUnconstrained;
  283    216   
    }
  284         -
    impl ::std::convert::From<MapOfListOfLengthStringConstrained>
         217  +
    impl ::std::convert::From<MapOfLengthListOfPatternStringConstrained>
  285    218   
        for ::std::collections::HashMap<
  286    219   
            ::std::string::String,
  287    220   
            ::std::vec::Vec<::std::string::String>,
  288    221   
        >
  289    222   
    {
  290         -
        fn from(v: MapOfListOfLengthStringConstrained) -> Self {
         223  +
        fn from(v: MapOfLengthListOfPatternStringConstrained) -> Self {
  291    224   
            v.0.into_iter()
  292    225   
                .map(|(k, v)| {
  293    226   
                    let k = k.into();
  294    227   
                    let v = { v.into() };
  295    228   
                    (k, v)
  296    229   
                })
  297    230   
                .collect()
  298    231   
        }
  299    232   
    }
  300    233   
}
  301         -
pub(crate) mod list_of_length_string_constrained {
         234  +
pub(crate) mod map_of_list_of_enum_string_constrained {
  302    235   
  303    236   
    #[derive(Debug, Clone)]
  304         -
    pub(crate) struct ListOfLengthStringConstrained(
  305         -
        pub(crate) std::vec::Vec<crate::model::LengthString>,
         237  +
    pub(crate) struct MapOfListOfEnumStringConstrained(
         238  +
        pub(crate)  std::collections::HashMap<
         239  +
            crate::model::EnumString,
         240  +
            crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained,
         241  +
        >,
  306    242   
    );
  307    243   
  308         -
    impl crate::constrained::Constrained for ListOfLengthStringConstrained {
  309         -
        type Unconstrained = crate::unconstrained::list_of_length_string_unconstrained::ListOfLengthStringUnconstrained;
         244  +
    impl crate::constrained::Constrained for MapOfListOfEnumStringConstrained {
         245  +
        type Unconstrained = crate::unconstrained::map_of_list_of_enum_string_unconstrained::MapOfListOfEnumStringUnconstrained;
  310    246   
    }
  311         -
    impl ::std::convert::From<ListOfLengthStringConstrained>
  312         -
        for ::std::vec::Vec<::std::string::String>
         247  +
    impl ::std::convert::From<MapOfListOfEnumStringConstrained>
         248  +
        for ::std::collections::HashMap<
         249  +
            crate::model::EnumString,
         250  +
            ::std::vec::Vec<crate::model::EnumString>,
         251  +
        >
  313    252   
    {
  314         -
        fn from(v: ListOfLengthStringConstrained) -> Self {
  315         -
            v.0.into_iter().map(|item| item.into()).collect()
  316         -
        }
  317         -
    }
  318         -
}
  319         -
pub(crate) mod map_of_length_string_constrained {
  320         -
         253  +
        fn from(v: MapOfListOfEnumStringConstrained) -> Self {
         254  +
            v.0.into_iter()
         255  +
                .map(|(k, v)| {
         256  +
                    let v = { v.into() };
         257  +
                    (k, v)
         258  +
                })
         259  +
                .collect()
         260  +
        }
         261  +
    }
         262  +
}
         263  +
pub(crate) mod map_of_pattern_string_constrained {
         264  +
  321    265   
    #[derive(Debug, Clone)]
  322         -
    pub(crate) struct MapOfLengthStringConstrained(
  323         -
        pub(crate) std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
         266  +
    pub(crate) struct MapOfPatternStringConstrained(
         267  +
        pub(crate) 
         268  +
            std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  324    269   
    );
  325    270   
  326         -
    impl crate::constrained::Constrained for MapOfLengthStringConstrained {
  327         -
        type Unconstrained = crate::unconstrained::map_of_length_string_unconstrained::MapOfLengthStringUnconstrained;
         271  +
    impl crate::constrained::Constrained for MapOfPatternStringConstrained {
         272  +
        type Unconstrained = crate::unconstrained::map_of_pattern_string_unconstrained::MapOfPatternStringUnconstrained;
  328    273   
    }
  329         -
    impl ::std::convert::From<MapOfLengthStringConstrained>
         274  +
    impl ::std::convert::From<MapOfPatternStringConstrained>
  330    275   
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
  331    276   
    {
  332         -
        fn from(v: MapOfLengthStringConstrained) -> Self {
         277  +
        fn from(v: MapOfPatternStringConstrained) -> Self {
  333    278   
            v.0.into_iter()
  334    279   
                .map(|(k, v)| {
  335    280   
                    let k = k.into();
  336    281   
                    let v = { v.into() };
  337    282   
                    (k, v)
  338    283   
                })
  339    284   
                .collect()
  340    285   
        }
  341    286   
    }
  342    287   
}
  343         -
pub(crate) mod recursive_list_constrained {
         288  +
pub(crate) mod map_of_list_of_pattern_string_constrained {
  344    289   
  345    290   
    #[derive(Debug, Clone)]
  346         -
    pub(crate) struct RecursiveListConstrained(
  347         -
        pub(crate) std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
         291  +
    pub(crate) struct MapOfListOfPatternStringConstrained(
         292  +
        pub(crate)  std::collections::HashMap<
         293  +
            crate::model::PatternString,
         294  +
            crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained,
         295  +
        >,
  348    296   
    );
  349    297   
  350         -
    impl crate::constrained::Constrained for RecursiveListConstrained {
  351         -
        type Unconstrained =
  352         -
            crate::unconstrained::recursive_list_unconstrained::RecursiveListUnconstrained;
         298  +
    impl crate::constrained::Constrained for MapOfListOfPatternStringConstrained {
         299  +
        type Unconstrained = crate::unconstrained::map_of_list_of_pattern_string_unconstrained::MapOfListOfPatternStringUnconstrained;
  353    300   
    }
  354         -
    impl ::std::convert::From<RecursiveListConstrained>
  355         -
        for ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>
         301  +
    impl ::std::convert::From<MapOfListOfPatternStringConstrained>
         302  +
        for ::std::collections::HashMap<
         303  +
            ::std::string::String,
         304  +
            ::std::vec::Vec<::std::string::String>,
         305  +
        >
  356    306   
    {
  357         -
        fn from(v: RecursiveListConstrained) -> Self {
  358         -
            v.0
         307  +
        fn from(v: MapOfListOfPatternStringConstrained) -> Self {
         308  +
            v.0.into_iter()
         309  +
                .map(|(k, v)| {
         310  +
                    let k = k.into();
         311  +
                    let v = { v.into() };
         312  +
                    (k, v)
         313  +
                })
         314  +
                .collect()
  359    315   
        }
  360    316   
    }
  361    317   
}
  362         -
pub(crate) mod map_of_range_byte_constrained {
         318  +
pub(crate) mod map_of_length_pattern_string_constrained {
  363    319   
  364    320   
    #[derive(Debug, Clone)]
  365         -
    pub(crate) struct MapOfRangeByteConstrained(
  366         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
         321  +
    pub(crate) struct MapOfLengthPatternStringConstrained(
         322  +
        pub(crate)  std::collections::HashMap<
         323  +
            crate::model::LengthPatternString,
         324  +
            crate::model::LengthPatternString,
         325  +
        >,
  367    326   
    );
  368    327   
  369         -
    impl crate::constrained::Constrained for MapOfRangeByteConstrained {
  370         -
        type Unconstrained =
  371         -
            crate::unconstrained::map_of_range_byte_unconstrained::MapOfRangeByteUnconstrained;
         328  +
    impl crate::constrained::Constrained for MapOfLengthPatternStringConstrained {
         329  +
        type Unconstrained = crate::unconstrained::map_of_length_pattern_string_unconstrained::MapOfLengthPatternStringUnconstrained;
  372    330   
    }
  373         -
    impl ::std::convert::From<MapOfRangeByteConstrained>
  374         -
        for ::std::collections::HashMap<::std::string::String, i8>
         331  +
    impl ::std::convert::From<MapOfLengthPatternStringConstrained>
         332  +
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
  375    333   
    {
  376         -
        fn from(v: MapOfRangeByteConstrained) -> Self {
         334  +
        fn from(v: MapOfLengthPatternStringConstrained) -> Self {
  377    335   
            v.0.into_iter()
  378    336   
                .map(|(k, v)| {
         337  +
                    let k = k.into();
  379    338   
                    let v = { v.into() };
  380    339   
                    (k, v)
  381    340   
                })
  382    341   
                .collect()
  383    342   
        }
  384    343   
    }
  385    344   
}
  386         -
pub(crate) mod list_of_range_byte_constrained {
         345  +
pub(crate) mod map_of_list_of_length_pattern_string_constrained {
  387    346   
  388    347   
    #[derive(Debug, Clone)]
  389         -
    pub(crate) struct ListOfRangeByteConstrained(pub(crate) std::vec::Vec<crate::model::RangeByte>);
         348  +
    pub(crate) struct MapOfListOfLengthPatternStringConstrained(pub(crate) std::collections::HashMap<crate::model::LengthPatternString, crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>);
  390    349   
  391         -
    impl crate::constrained::Constrained for ListOfRangeByteConstrained {
  392         -
        type Unconstrained =
  393         -
            crate::unconstrained::list_of_range_byte_unconstrained::ListOfRangeByteUnconstrained;
         350  +
    impl crate::constrained::Constrained for MapOfListOfLengthPatternStringConstrained {
         351  +
        type Unconstrained = crate::unconstrained::map_of_list_of_length_pattern_string_unconstrained::MapOfListOfLengthPatternStringUnconstrained;
  394    352   
    }
  395         -
    impl ::std::convert::From<ListOfRangeByteConstrained> for ::std::vec::Vec<i8> {
  396         -
        fn from(v: ListOfRangeByteConstrained) -> Self {
  397         -
            v.0.into_iter().map(|item| item.into()).collect()
         353  +
    impl ::std::convert::From<MapOfListOfLengthPatternStringConstrained>
         354  +
        for ::std::collections::HashMap<
         355  +
            ::std::string::String,
         356  +
            ::std::vec::Vec<::std::string::String>,
         357  +
        >
         358  +
    {
         359  +
        fn from(v: MapOfListOfLengthPatternStringConstrained) -> Self {
         360  +
            v.0.into_iter()
         361  +
                .map(|(k, v)| {
         362  +
                    let k = k.into();
         363  +
                    let v = { v.into() };
         364  +
                    (k, v)
         365  +
                })
         366  +
                .collect()
  398    367   
        }
  399    368   
    }
  400    369   
}
  401         -
pub(crate) mod map_of_range_long_constrained {
         370  +
pub(crate) mod map_of_enum_string_constrained {
  402    371   
  403    372   
    #[derive(Debug, Clone)]
  404         -
    pub(crate) struct MapOfRangeLongConstrained(
  405         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
         373  +
    pub(crate) struct MapOfEnumStringConstrained(
         374  +
        pub(crate) std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  406    375   
    );
  407    376   
  408         -
    impl crate::constrained::Constrained for MapOfRangeLongConstrained {
         377  +
    impl crate::constrained::Constrained for MapOfEnumStringConstrained {
  409    378   
        type Unconstrained =
  410         -
            crate::unconstrained::map_of_range_long_unconstrained::MapOfRangeLongUnconstrained;
         379  +
            crate::unconstrained::map_of_enum_string_unconstrained::MapOfEnumStringUnconstrained;
  411    380   
    }
  412         -
    impl ::std::convert::From<MapOfRangeLongConstrained>
  413         -
        for ::std::collections::HashMap<::std::string::String, i64>
         381  +
    impl ::std::convert::From<MapOfEnumStringConstrained>
         382  +
        for ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>
  414    383   
    {
  415         -
        fn from(v: MapOfRangeLongConstrained) -> Self {
  416         -
            v.0.into_iter()
  417         -
                .map(|(k, v)| {
  418         -
                    let v = { v.into() };
  419         -
                    (k, v)
  420         -
                })
  421         -
                .collect()
         384  +
        fn from(v: MapOfEnumStringConstrained) -> Self {
         385  +
            v.0
  422    386   
        }
  423    387   
    }
  424    388   
}
  425         -
pub(crate) mod list_of_range_long_constrained {
         389  +
pub(crate) mod con_b_list_constrained {
  426    390   
  427    391   
    #[derive(Debug, Clone)]
  428         -
    pub(crate) struct ListOfRangeLongConstrained(pub(crate) std::vec::Vec<crate::model::RangeLong>);
         392  +
    pub(crate) struct ConBListConstrained(
         393  +
        pub(crate)  std::vec::Vec<
         394  +
            crate::constrained::con_b_list_inner_constrained::ConBListInnerConstrained,
         395  +
        >,
         396  +
    );
  429    397   
  430         -
    impl crate::constrained::Constrained for ListOfRangeLongConstrained {
  431         -
        type Unconstrained =
  432         -
            crate::unconstrained::list_of_range_long_unconstrained::ListOfRangeLongUnconstrained;
         398  +
    impl crate::constrained::Constrained for ConBListConstrained {
         399  +
        type Unconstrained = crate::unconstrained::con_b_list_unconstrained::ConBListUnconstrained;
  433    400   
    }
  434         -
    impl ::std::convert::From<ListOfRangeLongConstrained> for ::std::vec::Vec<i64> {
  435         -
        fn from(v: ListOfRangeLongConstrained) -> Self {
         401  +
    impl ::std::convert::From<ConBListConstrained>
         402  +
        for ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>
         403  +
    {
         404  +
        fn from(v: ConBListConstrained) -> Self {
  436    405   
            v.0.into_iter().map(|item| item.into()).collect()
  437    406   
        }
  438    407   
    }
  439    408   
}
  440         -
pub(crate) mod map_of_range_short_constrained {
         409  +
pub(crate) mod map_of_map_of_list_of_list_of_con_b_constrained {
  441    410   
  442    411   
    #[derive(Debug, Clone)]
  443         -
    pub(crate) struct MapOfRangeShortConstrained(
  444         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  445         -
    );
         412  +
    pub(crate) struct MapOfMapOfListOfListOfConBConstrained(pub(crate) std::collections::HashMap<::std::string::String, crate::constrained::map_of_list_of_list_of_con_b_constrained::MapOfListOfListOfConBConstrained>);
  446    413   
  447         -
    impl crate::constrained::Constrained for MapOfRangeShortConstrained {
  448         -
        type Unconstrained =
  449         -
            crate::unconstrained::map_of_range_short_unconstrained::MapOfRangeShortUnconstrained;
         414  +
    impl crate::constrained::Constrained for MapOfMapOfListOfListOfConBConstrained {
         415  +
        type Unconstrained = crate::unconstrained::map_of_map_of_list_of_list_of_con_b_unconstrained::MapOfMapOfListOfListOfConBUnconstrained;
  450    416   
    }
  451         -
    impl ::std::convert::From<MapOfRangeShortConstrained>
  452         -
        for ::std::collections::HashMap<::std::string::String, i16>
         417  +
    impl ::std::convert::From<MapOfMapOfListOfListOfConBConstrained>
         418  +
        for ::std::collections::HashMap<
         419  +
            ::std::string::String,
         420  +
            ::std::collections::HashMap<
         421  +
                ::std::string::String,
         422  +
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
         423  +
            >,
         424  +
        >
  453    425   
    {
  454         -
        fn from(v: MapOfRangeShortConstrained) -> Self {
         426  +
        fn from(v: MapOfMapOfListOfListOfConBConstrained) -> Self {
  455    427   
            v.0.into_iter()
  456    428   
                .map(|(k, v)| {
  457    429   
                    let v = { v.into() };
  458    430   
                    (k, v)
  459    431   
                })
  460    432   
                .collect()
  461    433   
        }
  462    434   
    }
  463    435   
}
  464         -
pub(crate) mod list_of_range_short_constrained {
         436  +
pub(crate) mod sparse_map_constrained {
  465    437   
  466    438   
    #[derive(Debug, Clone)]
  467         -
    pub(crate) struct ListOfRangeShortConstrained(
  468         -
        pub(crate) std::vec::Vec<crate::model::RangeShort>,
         439  +
    pub(crate) struct SparseMapConstrained(
         440  +
        pub(crate)  std::collections::HashMap<
         441  +
            ::std::string::String,
         442  +
            ::std::option::Option<crate::model::UniqueItemsList>,
         443  +
        >,
  469    444   
    );
  470    445   
  471         -
    impl crate::constrained::Constrained for ListOfRangeShortConstrained {
  472         -
        type Unconstrained =
  473         -
            crate::unconstrained::list_of_range_short_unconstrained::ListOfRangeShortUnconstrained;
         446  +
    impl crate::constrained::Constrained for SparseMapConstrained {
         447  +
        type Unconstrained = crate::unconstrained::sparse_map_unconstrained::SparseMapUnconstrained;
  474    448   
    }
  475         -
    impl ::std::convert::From<ListOfRangeShortConstrained> for ::std::vec::Vec<i16> {
  476         -
        fn from(v: ListOfRangeShortConstrained) -> Self {
  477         -
            v.0.into_iter().map(|item| item.into()).collect()
         449  +
    impl ::std::convert::From<SparseMapConstrained>
         450  +
        for ::std::collections::HashMap<
         451  +
            ::std::string::String,
         452  +
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
         453  +
        >
         454  +
    {
         455  +
        fn from(v: SparseMapConstrained) -> Self {
         456  +
            v.0.into_iter()
         457  +
                .map(|(k, v)| {
         458  +
                    let v = { v.map(|v| v.into()) };
         459  +
                    (k, v)
         460  +
                })
         461  +
                .collect()
  478    462   
        }
  479    463   
    }
  480    464   
}
  481         -
pub(crate) mod map_of_range_integer_constrained {
         465  +
pub(crate) mod sparse_list_constrained {
  482    466   
  483    467   
    #[derive(Debug, Clone)]
  484         -
    pub(crate) struct MapOfRangeIntegerConstrained(
  485         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
         468  +
    pub(crate) struct SparseListConstrained(
         469  +
        pub(crate) std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
  486    470   
    );
  487    471   
  488         -
    impl crate::constrained::Constrained for MapOfRangeIntegerConstrained {
  489         -
        type Unconstrained = crate::unconstrained::map_of_range_integer_unconstrained::MapOfRangeIntegerUnconstrained;
         472  +
    impl crate::constrained::Constrained for SparseListConstrained {
         473  +
        type Unconstrained =
         474  +
            crate::unconstrained::sparse_list_unconstrained::SparseListUnconstrained;
  490    475   
    }
  491         -
    impl ::std::convert::From<MapOfRangeIntegerConstrained>
  492         -
        for ::std::collections::HashMap<::std::string::String, i32>
         476  +
    impl ::std::convert::From<SparseListConstrained>
         477  +
        for ::std::vec::Vec<::std::option::Option<::std::string::String>>
  493    478   
    {
  494         -
        fn from(v: MapOfRangeIntegerConstrained) -> Self {
         479  +
        fn from(v: SparseListConstrained) -> Self {
  495    480   
            v.0.into_iter()
  496         -
                .map(|(k, v)| {
  497         -
                    let v = { v.into() };
  498         -
                    (k, v)
  499         -
                })
         481  +
                .map(|item| item.map(|item| item.into()))
  500    482   
                .collect()
  501    483   
        }
  502    484   
    }
  503    485   
}
  504         -
pub(crate) mod list_of_range_integer_constrained {
         486  +
pub(crate) mod list_of_length_blob_constrained {
  505    487   
  506    488   
    #[derive(Debug, Clone)]
  507         -
    pub(crate) struct ListOfRangeIntegerConstrained(
  508         -
        pub(crate) std::vec::Vec<crate::model::RangeInteger>,
         489  +
    pub(crate) struct ListOfLengthBlobConstrained(
         490  +
        pub(crate) std::vec::Vec<crate::model::LengthBlob>,
  509    491   
    );
  510    492   
  511         -
    impl crate::constrained::Constrained for ListOfRangeIntegerConstrained {
  512         -
        type Unconstrained = crate::unconstrained::list_of_range_integer_unconstrained::ListOfRangeIntegerUnconstrained;
         493  +
    impl crate::constrained::Constrained for ListOfLengthBlobConstrained {
         494  +
        type Unconstrained =
         495  +
            crate::unconstrained::list_of_length_blob_unconstrained::ListOfLengthBlobUnconstrained;
  513    496   
    }
  514         -
    impl ::std::convert::From<ListOfRangeIntegerConstrained> for ::std::vec::Vec<i32> {
  515         -
        fn from(v: ListOfRangeIntegerConstrained) -> Self {
         497  +
    impl ::std::convert::From<ListOfLengthBlobConstrained>
         498  +
        for ::std::vec::Vec<::aws_smithy_types::Blob>
         499  +
    {
         500  +
        fn from(v: ListOfLengthBlobConstrained) -> Self {
  516    501   
            v.0.into_iter().map(|item| item.into()).collect()
  517    502   
        }
  518    503   
    }
  519    504   
}
  520    505   
pub(crate) mod map_of_length_blob_constrained {
  521    506   
  522    507   
    #[derive(Debug, Clone)]
  523    508   
    pub(crate) struct MapOfLengthBlobConstrained(
  524    509   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
  525    510   
    );
  526    511   
  527    512   
    impl crate::constrained::Constrained for MapOfLengthBlobConstrained {
  528    513   
        type Unconstrained =
  529    514   
            crate::unconstrained::map_of_length_blob_unconstrained::MapOfLengthBlobUnconstrained;
  530    515   
    }
  531    516   
    impl ::std::convert::From<MapOfLengthBlobConstrained>
  532    517   
        for ::std::collections::HashMap<::std::string::String, ::aws_smithy_types::Blob>
  533    518   
    {
  534    519   
        fn from(v: MapOfLengthBlobConstrained) -> Self {
  535    520   
            v.0.into_iter()
  536    521   
                .map(|(k, v)| {
  537    522   
                    let v = { v.into() };
  538    523   
                    (k, v)
  539    524   
                })
  540    525   
                .collect()
  541    526   
        }
  542    527   
    }
  543    528   
}
  544         -
pub(crate) mod list_of_length_blob_constrained {
         529  +
pub(crate) mod map_of_range_integer_constrained {
  545    530   
  546    531   
    #[derive(Debug, Clone)]
  547         -
    pub(crate) struct ListOfLengthBlobConstrained(
  548         -
        pub(crate) std::vec::Vec<crate::model::LengthBlob>,
         532  +
    pub(crate) struct MapOfRangeIntegerConstrained(
         533  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  549    534   
    );
  550    535   
  551         -
    impl crate::constrained::Constrained for ListOfLengthBlobConstrained {
  552         -
        type Unconstrained =
  553         -
            crate::unconstrained::list_of_length_blob_unconstrained::ListOfLengthBlobUnconstrained;
         536  +
    impl crate::constrained::Constrained for MapOfRangeIntegerConstrained {
         537  +
        type Unconstrained = crate::unconstrained::map_of_range_integer_unconstrained::MapOfRangeIntegerUnconstrained;
  554    538   
    }
  555         -
    impl ::std::convert::From<ListOfLengthBlobConstrained>
  556         -
        for ::std::vec::Vec<::aws_smithy_types::Blob>
         539  +
    impl ::std::convert::From<MapOfRangeIntegerConstrained>
         540  +
        for ::std::collections::HashMap<::std::string::String, i32>
  557    541   
    {
  558         -
        fn from(v: ListOfLengthBlobConstrained) -> Self {
  559         -
            v.0.into_iter().map(|item| item.into()).collect()
         542  +
        fn from(v: MapOfRangeIntegerConstrained) -> Self {
         543  +
            v.0.into_iter()
         544  +
                .map(|(k, v)| {
         545  +
                    let v = { v.into() };
         546  +
                    (k, v)
         547  +
                })
         548  +
                .collect()
  560    549   
        }
  561    550   
    }
  562    551   
}
  563         -
pub(crate) mod con_b_list_constrained {
         552  +
pub(crate) mod map_of_range_short_constrained {
  564    553   
  565    554   
    #[derive(Debug, Clone)]
  566         -
    pub(crate) struct ConBListConstrained(
  567         -
        pub(crate)  std::vec::Vec<
  568         -
            crate::constrained::con_b_list_inner_constrained::ConBListInnerConstrained,
  569         -
        >,
         555  +
    pub(crate) struct MapOfRangeShortConstrained(
         556  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  570    557   
    );
  571    558   
  572         -
    impl crate::constrained::Constrained for ConBListConstrained {
  573         -
        type Unconstrained = crate::unconstrained::con_b_list_unconstrained::ConBListUnconstrained;
         559  +
    impl crate::constrained::Constrained for MapOfRangeShortConstrained {
         560  +
        type Unconstrained =
         561  +
            crate::unconstrained::map_of_range_short_unconstrained::MapOfRangeShortUnconstrained;
  574    562   
    }
  575         -
    impl ::std::convert::From<ConBListConstrained>
  576         -
        for ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>
         563  +
    impl ::std::convert::From<MapOfRangeShortConstrained>
         564  +
        for ::std::collections::HashMap<::std::string::String, i16>
  577    565   
    {
  578         -
        fn from(v: ConBListConstrained) -> Self {
  579         -
            v.0.into_iter().map(|item| item.into()).collect()
         566  +
        fn from(v: MapOfRangeShortConstrained) -> Self {
         567  +
            v.0.into_iter()
         568  +
                .map(|(k, v)| {
         569  +
                    let v = { v.into() };
         570  +
                    (k, v)
         571  +
                })
         572  +
                .collect()
  580    573   
        }
  581    574   
    }
  582    575   
}
  583         -
pub(crate) mod con_b_list_inner_constrained {
         576  +
pub(crate) mod map_of_range_long_constrained {
  584    577   
  585    578   
    #[derive(Debug, Clone)]
  586         -
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
         579  +
    pub(crate) struct MapOfRangeLongConstrained(
         580  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
         581  +
    );
  587    582   
  588         -
    impl crate::constrained::Constrained for ConBListInnerConstrained {
         583  +
    impl crate::constrained::Constrained for MapOfRangeLongConstrained {
  589    584   
        type Unconstrained =
  590         -
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
         585  +
            crate::unconstrained::map_of_range_long_unconstrained::MapOfRangeLongUnconstrained;
  591    586   
    }
  592         -
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
  593         -
        fn from(v: ConBListInnerConstrained) -> Self {
  594         -
            v.0
         587  +
    impl ::std::convert::From<MapOfRangeLongConstrained>
         588  +
        for ::std::collections::HashMap<::std::string::String, i64>
         589  +
    {
         590  +
        fn from(v: MapOfRangeLongConstrained) -> Self {
         591  +
            v.0.into_iter()
         592  +
                .map(|(k, v)| {
         593  +
                    let v = { v.into() };
         594  +
                    (k, v)
         595  +
                })
         596  +
                .collect()
  595    597   
        }
  596    598   
    }
  597    599   
}
  598         -
pub(crate) mod sparse_list_constrained {
         600  +
pub(crate) mod map_of_range_byte_constrained {
  599    601   
  600    602   
    #[derive(Debug, Clone)]
  601         -
    pub(crate) struct SparseListConstrained(
  602         -
        pub(crate) std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
         603  +
    pub(crate) struct MapOfRangeByteConstrained(
         604  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  603    605   
    );
  604    606   
  605         -
    impl crate::constrained::Constrained for SparseListConstrained {
         607  +
    impl crate::constrained::Constrained for MapOfRangeByteConstrained {
  606    608   
        type Unconstrained =
  607         -
            crate::unconstrained::sparse_list_unconstrained::SparseListUnconstrained;
         609  +
            crate::unconstrained::map_of_range_byte_unconstrained::MapOfRangeByteUnconstrained;
  608    610   
    }
  609         -
    impl ::std::convert::From<SparseListConstrained>
  610         -
        for ::std::vec::Vec<::std::option::Option<::std::string::String>>
         611  +
    impl ::std::convert::From<MapOfRangeByteConstrained>
         612  +
        for ::std::collections::HashMap<::std::string::String, i8>
  611    613   
    {
  612         -
        fn from(v: SparseListConstrained) -> Self {
         614  +
        fn from(v: MapOfRangeByteConstrained) -> Self {
  613    615   
            v.0.into_iter()
  614         -
                .map(|item| item.map(|item| item.into()))
         616  +
                .map(|(k, v)| {
         617  +
                    let v = { v.into() };
         618  +
                    (k, v)
         619  +
                })
  615    620   
                .collect()
  616    621   
        }
  617    622   
    }
  618    623   
}
  619         -
pub(crate) mod sparse_map_constrained {
         624  +
pub(crate) mod list_of_pattern_string_constrained {
  620    625   
  621    626   
    #[derive(Debug, Clone)]
  622         -
    pub(crate) struct SparseMapConstrained(
  623         -
        pub(crate)  std::collections::HashMap<
  624         -
            ::std::string::String,
  625         -
            ::std::option::Option<crate::model::UniqueItemsList>,
  626         -
        >,
         627  +
    pub(crate) struct ListOfPatternStringConstrained(
         628  +
        pub(crate) std::vec::Vec<crate::model::PatternString>,
  627    629   
    );
  628    630   
  629         -
    impl crate::constrained::Constrained for SparseMapConstrained {
  630         -
        type Unconstrained = crate::unconstrained::sparse_map_unconstrained::SparseMapUnconstrained;
         631  +
    impl crate::constrained::Constrained for ListOfPatternStringConstrained {
         632  +
        type Unconstrained = crate::unconstrained::list_of_pattern_string_unconstrained::ListOfPatternStringUnconstrained;
  631    633   
    }
  632         -
    impl ::std::convert::From<SparseMapConstrained>
  633         -
        for ::std::collections::HashMap<
  634         -
            ::std::string::String,
  635         -
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  636         -
        >
         634  +
    impl ::std::convert::From<ListOfPatternStringConstrained>
         635  +
        for ::std::vec::Vec<::std::string::String>
  637    636   
    {
  638         -
        fn from(v: SparseMapConstrained) -> Self {
  639         -
            v.0.into_iter()
  640         -
                .map(|(k, v)| {
  641         -
                    let v = { v.map(|v| v.into()) };
  642         -
                    (k, v)
  643         -
                })
  644         -
                .collect()
         637  +
        fn from(v: ListOfPatternStringConstrained) -> Self {
         638  +
            v.0.into_iter().map(|item| item.into()).collect()
  645    639   
        }
  646    640   
    }
  647    641   
}
  648         -
pub(crate) mod map_of_map_of_list_of_list_of_con_b_constrained {
         642  +
pub(crate) mod list_of_length_pattern_string_constrained {
  649    643   
  650    644   
    #[derive(Debug, Clone)]
  651         -
    pub(crate) struct MapOfMapOfListOfListOfConBConstrained(pub(crate) std::collections::HashMap<::std::string::String, crate::constrained::map_of_list_of_list_of_con_b_constrained::MapOfListOfListOfConBConstrained>);
         645  +
    pub(crate) struct ListOfLengthPatternStringConstrained(
         646  +
        pub(crate) std::vec::Vec<crate::model::LengthPatternString>,
         647  +
    );
  652    648   
  653         -
    impl crate::constrained::Constrained for MapOfMapOfListOfListOfConBConstrained {
  654         -
        type Unconstrained = crate::unconstrained::map_of_map_of_list_of_list_of_con_b_unconstrained::MapOfMapOfListOfListOfConBUnconstrained;
         649  +
    impl crate::constrained::Constrained for ListOfLengthPatternStringConstrained {
         650  +
        type Unconstrained = crate::unconstrained::list_of_length_pattern_string_unconstrained::ListOfLengthPatternStringUnconstrained;
  655    651   
    }
  656         -
    impl ::std::convert::From<MapOfMapOfListOfListOfConBConstrained>
  657         -
        for ::std::collections::HashMap<
  658         -
            ::std::string::String,
  659         -
            ::std::collections::HashMap<
  660         -
                ::std::string::String,
  661         -
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  662         -
            >,
  663         -
        >
         652  +
    impl ::std::convert::From<ListOfLengthPatternStringConstrained>
         653  +
        for ::std::vec::Vec<::std::string::String>
  664    654   
    {
  665         -
        fn from(v: MapOfMapOfListOfListOfConBConstrained) -> Self {
  666         -
            v.0.into_iter()
  667         -
                .map(|(k, v)| {
  668         -
                    let v = { v.into() };
  669         -
                    (k, v)
  670         -
                })
  671         -
                .collect()
         655  +
        fn from(v: ListOfLengthPatternStringConstrained) -> Self {
         656  +
            v.0.into_iter().map(|item| item.into()).collect()
         657  +
        }
         658  +
    }
         659  +
}
         660  +
pub(crate) mod con_b_list_inner_constrained {
         661  +
         662  +
    #[derive(Debug, Clone)]
         663  +
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
         664  +
         665  +
    impl crate::constrained::Constrained for ConBListInnerConstrained {
         666  +
        type Unconstrained =
         667  +
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
         668  +
    }
         669  +
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
         670  +
        fn from(v: ConBListInnerConstrained) -> Self {
         671  +
            v.0
  672    672   
        }
  673    673   
    }
  674    674   
}
  675    675   
pub(crate) mod map_of_list_of_list_of_con_b_constrained {
  676    676   
  677    677   
    #[derive(Debug, Clone)]
  678    678   
    pub(crate) struct MapOfListOfListOfConBConstrained(
  679    679   
        pub(crate)  std::collections::HashMap<
  680    680   
            ::std::string::String,
  681    681   
            crate::constrained::con_b_list_constrained::ConBListConstrained,

tmp-codegen-diff/codegen-server-test/constraints_without_public_constrained_types-http0x/rust-server-codegen/src/error.rs

@@ -1,1 +1031,1094 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
/// Error type for the `EventStreamsOperation` operation.
    3         -
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
           2  +
/// Error type for the `ConstrainedShapesOperation` operation.
           3  +
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
    4      4   
#[derive(::std::fmt::Debug)]
    5         -
pub enum EventStreamsOperationError {
           5  +
pub enum ConstrainedShapesOperationError {
    6      6   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
    7      7   
    ValidationException(crate::error::ValidationException),
    8         -
    #[allow(missing_docs)] // documentation missing in model
    9         -
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
   10      8   
}
   11         -
impl ::std::fmt::Display for EventStreamsOperationError {
           9  +
impl ::std::fmt::Display for ConstrainedShapesOperationError {
   12     10   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
   13     11   
        match &self {
   14         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
   15         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
          12  +
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
   16     13   
        }
   17     14   
    }
   18     15   
}
   19         -
impl EventStreamsOperationError {
   20         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
          16  +
impl ConstrainedShapesOperationError {
          17  +
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
   21     18   
    pub fn is_validation_exception(&self) -> bool {
   22         -
        matches!(&self, EventStreamsOperationError::ValidationException(_))
   23         -
    }
   24         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
   25         -
    pub fn is_event_stream_error_message(&self) -> bool {
   26     19   
        matches!(
   27     20   
            &self,
   28         -
            EventStreamsOperationError::EventStreamErrorMessage(_)
          21  +
            ConstrainedShapesOperationError::ValidationException(_)
   29     22   
        )
   30     23   
    }
   31     24   
    /// Returns the error name string by matching the correct variant.
   32     25   
    pub fn name(&self) -> &'static str {
   33     26   
        match &self {
   34         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
   35         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
          27  +
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
   36     28   
        }
   37     29   
    }
   38     30   
}
   39         -
impl ::std::error::Error for EventStreamsOperationError {
          31  +
impl ::std::error::Error for ConstrainedShapesOperationError {
   40     32   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
   41     33   
        match &self {
   42         -
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
   43         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
          34  +
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
   44     35   
        }
   45     36   
    }
   46     37   
}
   47     38   
impl ::std::convert::From<crate::error::ValidationException>
   48         -
    for crate::error::EventStreamsOperationError
          39  +
    for crate::error::ConstrainedShapesOperationError
   49     40   
{
   50     41   
    fn from(
   51     42   
        variant: crate::error::ValidationException,
   52         -
    ) -> crate::error::EventStreamsOperationError {
          43  +
    ) -> crate::error::ConstrainedShapesOperationError {
   53     44   
        Self::ValidationException(variant)
   54     45   
    }
   55     46   
}
   56         -
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
   57         -
    for crate::error::EventStreamsOperationError
   58         -
{
   59         -
    fn from(
   60         -
        variant: crate::error::EventStreamErrorMessage,
   61         -
    ) -> crate::error::EventStreamsOperationError {
   62         -
        Self::EventStreamErrorMessage(variant)
   63         -
    }
   64         -
}
   65         -
   66         -
#[allow(missing_docs)] // documentation missing in model
   67         -
#[derive(
   68         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   69         -
)]
   70         -
pub struct EventStreamErrorMessage {
   71         -
    #[allow(missing_docs)] // documentation missing in model
   72         -
    pub message_content: ::std::option::Option<::std::string::String>,
   73         -
}
   74         -
impl EventStreamErrorMessage {
   75         -
    #[allow(missing_docs)] // documentation missing in model
   76         -
    pub fn message_content(&self) -> ::std::option::Option<&str> {
   77         -
        self.message_content.as_deref()
   78         -
    }
   79         -
}
   80         -
impl EventStreamErrorMessage {
   81         -
    #[doc(hidden)]
   82         -
    /// Returns the error name.
   83         -
    pub fn name(&self) -> &'static str {
   84         -
        "EventStreamErrorMessage"
   85         -
    }
   86         -
}
   87         -
impl ::std::fmt::Display for EventStreamErrorMessage {
   88         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
   89         -
        ::std::write!(f, "EventStreamErrorMessage")?;
   90         -
        Ok(())
   91         -
    }
   92         -
}
   93         -
impl ::std::error::Error for EventStreamErrorMessage {}
   94         -
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
   95         -
    type Unconstrained = crate::error::event_stream_error_message_internal::Builder;
   96         -
}
   97         -
impl EventStreamErrorMessage {
   98         -
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
   99         -
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
  100         -
        crate::error::event_stream_error_message::Builder::default()
  101         -
    }
  102         -
}
  103         -
  104         -
/// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  105         -
#[derive(
  106         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  107         -
)]
  108         -
pub struct ValidationException {
  109         -
    /// A summary of the validation failure.
  110         -
    pub message: ::std::string::String,
  111         -
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
  112         -
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  113         -
}
  114         -
impl ValidationException {
  115         -
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
  116         -
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
  117         -
        self.field_list.as_deref()
  118         -
    }
  119         -
}
  120         -
impl ValidationException {
  121         -
    /// Returns the error message.
  122         -
    pub fn message(&self) -> &str {
  123         -
        &self.message
  124         -
    }
  125         -
    #[doc(hidden)]
  126         -
    /// Returns the error name.
  127         -
    pub fn name(&self) -> &'static str {
  128         -
        "ValidationException"
  129         -
    }
  130         -
}
  131         -
impl ::std::fmt::Display for ValidationException {
  132         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  133         -
        ::std::write!(f, "ValidationException")?;
  134         -
        {
  135         -
            ::std::write!(f, ": {}", &self.message)?;
  136         -
        }
  137         -
        Ok(())
  138         -
    }
  139         -
}
  140         -
impl ::std::error::Error for ValidationException {}
  141         -
impl ValidationException {
  142         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
  143         -
    pub fn builder() -> crate::error::validation_exception::Builder {
  144         -
        crate::error::validation_exception::Builder::default()
  145         -
    }
  146         -
}
  147     47   
  148         -
/// Error type for the `Event` operation.
  149         -
/// Each variant represents an error that can occur for the `Event` operation.
          48  +
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
          49  +
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
  150     50   
#[derive(::std::fmt::Debug)]
  151         -
pub enum EventError {
  152         -
    #[allow(missing_docs)] // documentation missing in model
  153         -
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
          51  +
pub enum ConstrainedHttpBoundShapesOperationError {
          52  +
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
          53  +
    ValidationException(crate::error::ValidationException),
  154     54   
}
  155         -
impl ::std::fmt::Display for EventError {
          55  +
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
  156     56   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  157     57   
        match &self {
  158         -
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
          58  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
  159     59   
        }
  160     60   
    }
  161     61   
}
  162         -
impl EventError {
  163         -
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
  164         -
    pub fn is_event_stream_error_message(&self) -> bool {
  165         -
        matches!(&self, EventError::EventStreamErrorMessage(_))
          62  +
impl ConstrainedHttpBoundShapesOperationError {
          63  +
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
          64  +
    pub fn is_validation_exception(&self) -> bool {
          65  +
        matches!(
          66  +
            &self,
          67  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
          68  +
        )
  166     69   
    }
  167     70   
    /// Returns the error name string by matching the correct variant.
  168     71   
    pub fn name(&self) -> &'static str {
  169     72   
        match &self {
  170         -
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
          73  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
  171     74   
        }
  172     75   
    }
  173     76   
}
  174         -
impl ::std::error::Error for EventError {
          77  +
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
  175     78   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  176     79   
        match &self {
  177         -
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
          80  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
  178     81   
        }
  179     82   
    }
  180     83   
}
  181         -
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
  182         -
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
  183         -
        Self::EventStreamErrorMessage(variant)
          84  +
impl ::std::convert::From<crate::error::ValidationException>
          85  +
    for crate::error::ConstrainedHttpBoundShapesOperationError
          86  +
{
          87  +
    fn from(
          88  +
        variant: crate::error::ValidationException,
          89  +
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
          90  +
        Self::ValidationException(variant)
  184     91   
    }
  185     92   
}
  186     93   
  187         -
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
  188         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
          94  +
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
          95  +
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
  189     96   
#[derive(::std::fmt::Debug)]
  190         -
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
          97  +
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
  191     98   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  192     99   
    ValidationException(crate::error::ValidationException),
  193    100   
}
  194         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
         101  +
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
  195    102   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  196    103   
        match &self {
  197         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         104  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  198    105   
                _inner.fmt(f)
  199    106   
            }
  200    107   
        }
  201    108   
    }
  202    109   
}
  203         -
impl QueryParamsTargetingMapOfEnumStringOperationError {
  204         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
         110  +
impl ConstrainedHttpPayloadBoundShapeOperationError {
         111  +
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
  205    112   
    pub fn is_validation_exception(&self) -> bool {
  206    113   
        matches!(
  207    114   
            &self,
  208         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
         115  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
  209    116   
        )
  210    117   
    }
  211    118   
    /// Returns the error name string by matching the correct variant.
  212    119   
    pub fn name(&self) -> &'static str {
  213    120   
        match &self {
  214         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         121  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  215    122   
                _inner.name()
  216    123   
            }
  217    124   
        }
  218    125   
    }
  219    126   
}
  220         -
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
         127  +
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
  221    128   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  222    129   
        match &self {
  223         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         130  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  224    131   
                Some(_inner)
  225    132   
            }
  226    133   
        }
  227    134   
    }
  228    135   
}
  229    136   
impl ::std::convert::From<crate::error::ValidationException>
  230         -
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
         137  +
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
  231    138   
{
  232    139   
    fn from(
  233    140   
        variant: crate::error::ValidationException,
  234         -
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         141  +
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
  235    142   
        Self::ValidationException(variant)
  236    143   
    }
  237    144   
}
  238    145   
  239         -
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
  240         -
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         146  +
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
         147  +
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
  241    148   
#[derive(::std::fmt::Debug)]
  242         -
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
         149  +
pub enum ConstrainedRecursiveShapesOperationError {
  243    150   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  244    151   
    ValidationException(crate::error::ValidationException),
  245    152   
}
  246         -
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
         153  +
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
  247    154   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  248    155   
        match &self {
  249         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  250         -
                _inner.fmt(f)
  251         -
            }
         156  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
  252    157   
        }
  253    158   
    }
  254    159   
}
  255         -
impl HttpPrefixHeadersTargetingLengthMapOperationError {
  256         -
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
         160  +
impl ConstrainedRecursiveShapesOperationError {
         161  +
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
  257    162   
    pub fn is_validation_exception(&self) -> bool {
  258    163   
        matches!(
  259    164   
            &self,
  260         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
         165  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
  261    166   
        )
  262    167   
    }
  263    168   
    /// Returns the error name string by matching the correct variant.
  264    169   
    pub fn name(&self) -> &'static str {
  265    170   
        match &self {
  266         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  267         -
                _inner.name()
  268         -
            }
         171  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
  269    172   
        }
  270    173   
    }
  271    174   
}
  272         -
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
         175  +
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
  273    176   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  274    177   
        match &self {
  275         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  276         -
                Some(_inner)
  277         -
            }
         178  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
  278    179   
        }
  279    180   
    }
  280    181   
}
  281    182   
impl ::std::convert::From<crate::error::ValidationException>
  282         -
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
         183  +
    for crate::error::ConstrainedRecursiveShapesOperationError
  283    184   
{
  284    185   
    fn from(
  285    186   
        variant: crate::error::ValidationException,
  286         -
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         187  +
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
  287    188   
        Self::ValidationException(variant)
  288    189   
    }
  289    190   
}
  290    191   
  291         -
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
  292         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         192  +
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
         193  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
  293    194   
#[derive(::std::fmt::Debug)]
  294         -
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         195  +
pub enum QueryParamsTargetingLengthMapOperationError {
  295    196   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  296    197   
    ValidationException(crate::error::ValidationException),
  297    198   
}
  298         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         199  +
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
  299    200   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  300    201   
        match &self {
  301         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  302         -
            _inner.fmt(f)
  303         -
            ,
         202  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         203  +
                _inner.fmt(f)
         204  +
            }
  304    205   
        }
  305    206   
    }
  306    207   
}
  307         -
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  308         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
         208  +
impl QueryParamsTargetingLengthMapOperationError {
         209  +
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
  309    210   
    pub fn is_validation_exception(&self) -> bool {
  310    211   
        matches!(
  311    212   
            &self,
  312         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
  313         -
                _
  314         -
            )
         213  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
  315    214   
        )
  316    215   
    }
  317    216   
    /// Returns the error name string by matching the correct variant.
  318    217   
    pub fn name(&self) -> &'static str {
  319    218   
        match &self {
  320         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  321         -
            _inner.name()
  322         -
            ,
         219  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         220  +
                _inner.name()
         221  +
            }
  323    222   
        }
  324    223   
    }
  325    224   
}
  326         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         225  +
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
  327    226   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  328    227   
        match &self {
  329         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  330         -
            Some(_inner)
  331         -
            ,
         228  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         229  +
                Some(_inner)
         230  +
            }
  332    231   
        }
  333    232   
    }
  334    233   
}
  335    234   
impl ::std::convert::From<crate::error::ValidationException>
  336         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         235  +
    for crate::error::QueryParamsTargetingLengthMapOperationError
  337    236   
{
  338    237   
    fn from(
  339    238   
        variant: crate::error::ValidationException,
  340         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         239  +
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
  341    240   
        Self::ValidationException(variant)
  342    241   
    }
  343    242   
}
  344    243   
  345         -
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
  346         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         244  +
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
         245  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
  347    246   
#[derive(::std::fmt::Debug)]
  348         -
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
         247  +
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
  349    248   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  350    249   
    ValidationException(crate::error::ValidationException),
  351    250   
}
  352         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         251  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
  353    252   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  354    253   
        match &self {
  355         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
         254  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
         255  +
                _inner.fmt(f)
         256  +
            }
         257  +
        }
         258  +
    }
         259  +
}
         260  +
impl QueryParamsTargetingMapOfLengthStringOperationError {
         261  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
         262  +
    pub fn is_validation_exception(&self) -> bool {
         263  +
        matches!(
         264  +
            &self,
         265  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
         266  +
        )
         267  +
    }
         268  +
    /// Returns the error name string by matching the correct variant.
         269  +
    pub fn name(&self) -> &'static str {
         270  +
        match &self {
         271  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
         272  +
                _inner.name()
         273  +
            }
         274  +
        }
         275  +
    }
         276  +
}
         277  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
         278  +
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         279  +
        match &self {
         280  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
         281  +
                Some(_inner)
         282  +
            }
         283  +
        }
         284  +
    }
         285  +
}
         286  +
impl ::std::convert::From<crate::error::ValidationException>
         287  +
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
         288  +
{
         289  +
    fn from(
         290  +
        variant: crate::error::ValidationException,
         291  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
         292  +
        Self::ValidationException(variant)
         293  +
    }
         294  +
}
         295  +
         296  +
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         297  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         298  +
#[derive(::std::fmt::Debug)]
         299  +
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
         300  +
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         301  +
    ValidationException(crate::error::ValidationException),
         302  +
}
         303  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
         304  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         305  +
        match &self {
         306  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  356    307   
                _inner,
  357    308   
            ) => _inner.fmt(f),
  358    309   
        }
  359    310   
    }
  360    311   
}
  361         -
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
  362         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
         312  +
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
         313  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
  363    314   
    pub fn is_validation_exception(&self) -> bool {
  364    315   
        matches!(
  365    316   
            &self,
  366         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
         317  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
  367    318   
        )
  368    319   
    }
  369    320   
    /// Returns the error name string by matching the correct variant.
  370    321   
    pub fn name(&self) -> &'static str {
  371    322   
        match &self {
  372         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
         323  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  373    324   
                _inner,
  374    325   
            ) => _inner.name(),
  375    326   
        }
  376    327   
    }
  377    328   
}
  378         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         329  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
  379    330   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  380    331   
        match &self {
  381         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
         332  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  382    333   
                _inner,
  383    334   
            ) => Some(_inner),
  384    335   
        }
  385    336   
    }
  386    337   
}
  387    338   
impl ::std::convert::From<crate::error::ValidationException>
  388         -
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
         339  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  389    340   
{
  390    341   
    fn from(
  391    342   
        variant: crate::error::ValidationException,
  392         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         343  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
  393    344   
        Self::ValidationException(variant)
  394    345   
    }
  395    346   
}
  396    347   
  397         -
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
  398         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         348  +
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
         349  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
  399    350   
#[derive(::std::fmt::Debug)]
  400         -
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
         351  +
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  401    352   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  402    353   
    ValidationException(crate::error::ValidationException),
  403    354   
}
  404         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         355  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  405    356   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  406    357   
        match &self {
  407         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         358  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  408    359   
                _inner,
  409    360   
            ) => _inner.fmt(f),
  410    361   
        }
  411    362   
    }
  412    363   
}
  413         -
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
  414         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
         364  +
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         365  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
  415    366   
    pub fn is_validation_exception(&self) -> bool {
  416    367   
        matches!(
  417    368   
            &self,
  418         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
         369  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
  419    370   
        )
  420    371   
    }
  421    372   
    /// Returns the error name string by matching the correct variant.
  422    373   
    pub fn name(&self) -> &'static str {
  423    374   
        match &self {
  424         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         375  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  425    376   
                _inner,
  426    377   
            ) => _inner.name(),
  427    378   
        }
  428    379   
    }
  429    380   
}
  430         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         381  +
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  431    382   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  432    383   
        match &self {
  433         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         384  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  434    385   
                _inner,
  435    386   
            ) => Some(_inner),
  436    387   
        }
  437    388   
    }
  438    389   
}
  439    390   
impl ::std::convert::From<crate::error::ValidationException>
  440         -
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
         391  +
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  441    392   
{
  442    393   
    fn from(
  443    394   
        variant: crate::error::ValidationException,
  444         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         395  +
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  445    396   
        Self::ValidationException(variant)
  446    397   
    }
  447    398   
}
  448    399   
  449         -
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
  450         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         400  +
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
         401  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
  451    402   
#[derive(::std::fmt::Debug)]
  452         -
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
         403  +
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  453    404   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  454    405   
    ValidationException(crate::error::ValidationException),
  455    406   
}
  456         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
         407  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  457    408   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  458    409   
        match &self {
  459         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
  460         -
                _inner.fmt(f)
  461         -
            }
         410  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         411  +
            _inner.fmt(f)
         412  +
            ,
  462    413   
        }
  463    414   
    }
  464    415   
}
  465         -
impl QueryParamsTargetingMapOfPatternStringOperationError {
  466         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
         416  +
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         417  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
  467    418   
    pub fn is_validation_exception(&self) -> bool {
  468    419   
        matches!(
  469    420   
            &self,
  470         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
         421  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
         422  +
                _
         423  +
            )
  471    424   
        )
  472    425   
    }
  473    426   
    /// Returns the error name string by matching the correct variant.
  474    427   
    pub fn name(&self) -> &'static str {
  475    428   
        match &self {
  476         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
  477         -
                _inner.name()
  478         -
            }
         429  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         430  +
            _inner.name()
         431  +
            ,
  479    432   
        }
  480    433   
    }
  481    434   
}
  482         -
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
         435  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  483    436   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  484    437   
        match &self {
  485         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
  486         -
                Some(_inner)
  487         -
            }
         438  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         439  +
            Some(_inner)
         440  +
            ,
  488    441   
        }
  489    442   
    }
  490    443   
}
  491    444   
impl ::std::convert::From<crate::error::ValidationException>
  492         -
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
         445  +
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  493    446   
{
  494    447   
    fn from(
  495    448   
        variant: crate::error::ValidationException,
  496         -
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
         449  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  497    450   
        Self::ValidationException(variant)
  498    451   
    }
  499    452   
}
  500    453   
  501    454   
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
  502    455   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
  503    456   
#[derive(::std::fmt::Debug)]
  504    457   
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
  505    458   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  506    459   
    ValidationException(crate::error::ValidationException),
  507    460   
}
  508    461   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
  509    462   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  510    463   
        match &self {
  511    464   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  512    465   
                _inner,
  513    466   
            ) => _inner.fmt(f),
  514    467   
        }
  515    468   
    }
  516    469   
}
  517    470   
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
  518    471   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
  519    472   
    pub fn is_validation_exception(&self) -> bool {
  520    473   
        matches!(
  521    474   
            &self,
  522    475   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
  523    476   
        )
  524    477   
    }
  525    478   
    /// Returns the error name string by matching the correct variant.
  526    479   
    pub fn name(&self) -> &'static str {
  527    480   
        match &self {
  528    481   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  529    482   
                _inner,
  530    483   
            ) => _inner.name(),
  531    484   
        }
  532    485   
    }
  533    486   
}
  534    487   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
  535    488   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  536    489   
        match &self {
  537    490   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  538    491   
                _inner,
  539    492   
            ) => Some(_inner),
  540    493   
        }
  541    494   
    }
  542    495   
}
  543    496   
impl ::std::convert::From<crate::error::ValidationException>
  544    497   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  545    498   
{
  546    499   
    fn from(
  547    500   
        variant: crate::error::ValidationException,
  548    501   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
  549    502   
        Self::ValidationException(variant)
  550    503   
    }
  551    504   
}
  552    505   
  553         -
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
  554         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
         506  +
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         507  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
  555    508   
#[derive(::std::fmt::Debug)]
  556         -
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         509  +
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
  557    510   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  558    511   
    ValidationException(crate::error::ValidationException),
  559    512   
}
  560         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         513  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
  561    514   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  562    515   
        match &self {
  563         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  564         -
            _inner.fmt(f)
  565         -
            ,
         516  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         517  +
                _inner.fmt(f)
         518  +
            }
  566    519   
        }
  567    520   
    }
  568    521   
}
  569         -
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  570         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
         522  +
impl QueryParamsTargetingMapOfPatternStringOperationError {
         523  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
  571    524   
    pub fn is_validation_exception(&self) -> bool {
  572    525   
        matches!(
  573    526   
            &self,
  574         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
  575         -
                _
  576         -
            )
         527  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
  577    528   
        )
  578    529   
    }
  579    530   
    /// Returns the error name string by matching the correct variant.
  580    531   
    pub fn name(&self) -> &'static str {
  581    532   
        match &self {
  582         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  583         -
            _inner.name()
  584         -
            ,
         533  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         534  +
                _inner.name()
         535  +
            }
  585    536   
        }
  586    537   
    }
  587    538   
}
  588         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         539  +
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
  589    540   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  590    541   
        match &self {
  591         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  592         -
            Some(_inner)
  593         -
            ,
         542  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         543  +
                Some(_inner)
         544  +
            }
  594    545   
        }
  595    546   
    }
  596    547   
}
  597    548   
impl ::std::convert::From<crate::error::ValidationException>
  598         -
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
         549  +
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
  599    550   
{
  600    551   
    fn from(
  601    552   
        variant: crate::error::ValidationException,
  602         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         553  +
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
  603    554   
        Self::ValidationException(variant)
  604    555   
    }
  605    556   
}
  606    557   
  607         -
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
  608         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
         558  +
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         559  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
  609    560   
#[derive(::std::fmt::Debug)]
  610         -
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         561  +
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
  611    562   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  612    563   
    ValidationException(crate::error::ValidationException),
  613    564   
}
  614         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         565  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
  615    566   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  616    567   
        match &self {
  617         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         568  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  618    569   
                _inner,
  619    570   
            ) => _inner.fmt(f),
  620    571   
        }
  621    572   
    }
  622    573   
}
  623         -
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  624         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
         574  +
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
         575  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
  625    576   
    pub fn is_validation_exception(&self) -> bool {
  626    577   
        matches!(
  627    578   
            &self,
  628         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
         579  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
  629    580   
        )
  630    581   
    }
  631    582   
    /// Returns the error name string by matching the correct variant.
  632    583   
    pub fn name(&self) -> &'static str {
  633    584   
        match &self {
  634         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         585  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  635    586   
                _inner,
  636    587   
            ) => _inner.name(),
  637    588   
        }
  638    589   
    }
  639    590   
}
  640         -
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         591  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
  641    592   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  642    593   
        match &self {
  643         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         594  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  644    595   
                _inner,
  645    596   
            ) => Some(_inner),
  646    597   
        }
  647    598   
    }
  648    599   
}
  649    600   
impl ::std::convert::From<crate::error::ValidationException>
  650         -
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
         601  +
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  651    602   
{
  652    603   
    fn from(
  653    604   
        variant: crate::error::ValidationException,
  654         -
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         605  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
  655    606   
        Self::ValidationException(variant)
  656    607   
    }
  657    608   
}
  658    609   
  659         -
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
  660         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         610  +
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         611  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
  661    612   
#[derive(::std::fmt::Debug)]
  662         -
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
         613  +
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
  663    614   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  664    615   
    ValidationException(crate::error::ValidationException),
  665    616   
}
  666         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
         617  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
  667    618   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  668    619   
        match &self {
  669         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         620  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  670    621   
                _inner,
  671    622   
            ) => _inner.fmt(f),
  672    623   
        }
  673    624   
    }
  674    625   
}
  675         -
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
  676         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
         626  +
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
         627  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
  677    628   
    pub fn is_validation_exception(&self) -> bool {
  678    629   
        matches!(
  679    630   
            &self,
  680         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
         631  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
  681    632   
        )
  682    633   
    }
  683    634   
    /// Returns the error name string by matching the correct variant.
  684    635   
    pub fn name(&self) -> &'static str {
  685    636   
        match &self {
  686         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         637  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  687    638   
                _inner,
  688    639   
            ) => _inner.name(),
  689    640   
        }
  690    641   
    }
  691    642   
}
  692         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
         643  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
  693    644   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  694    645   
        match &self {
  695         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         646  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  696    647   
                _inner,
  697    648   
            ) => Some(_inner),
  698    649   
        }
  699    650   
    }
  700    651   
}
  701    652   
impl ::std::convert::From<crate::error::ValidationException>
  702         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
         653  +
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  703    654   
{
  704    655   
    fn from(
  705    656   
        variant: crate::error::ValidationException,
  706         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
         657  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
  707    658   
        Self::ValidationException(variant)
  708    659   
    }
  709    660   
}
  710    661   
  711         -
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
  712         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
         662  +
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         663  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
  713    664   
#[derive(::std::fmt::Debug)]
  714         -
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
         665  +
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  715    666   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  716    667   
    ValidationException(crate::error::ValidationException),
  717    668   
}
  718         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
         669  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  719    670   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  720    671   
        match &self {
  721         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  722         -
                _inner.fmt(f)
  723         -
            }
         672  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         673  +
            _inner.fmt(f)
         674  +
            ,
  724    675   
        }
  725    676   
    }
  726    677   
}
  727         -
impl QueryParamsTargetingMapOfLengthStringOperationError {
  728         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
         678  +
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         679  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
  729    680   
    pub fn is_validation_exception(&self) -> bool {
  730    681   
        matches!(
  731    682   
            &self,
  732         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
         683  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
         684  +
                _
         685  +
            )
  733    686   
        )
  734    687   
    }
  735    688   
    /// Returns the error name string by matching the correct variant.
  736    689   
    pub fn name(&self) -> &'static str {
  737    690   
        match &self {
  738         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  739         -
                _inner.name()
  740         -
            }
         691  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         692  +
            _inner.name()
         693  +
            ,
  741    694   
        }
  742    695   
    }
  743    696   
}
  744         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
         697  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  745    698   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  746    699   
        match &self {
  747         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  748         -
                Some(_inner)
  749         -
            }
         700  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         701  +
            Some(_inner)
         702  +
            ,
  750    703   
        }
  751    704   
    }
  752    705   
}
  753    706   
impl ::std::convert::From<crate::error::ValidationException>
  754         -
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
         707  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  755    708   
{
  756    709   
    fn from(
  757    710   
        variant: crate::error::ValidationException,
  758         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
         711  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  759    712   
        Self::ValidationException(variant)
  760    713   
    }
  761    714   
}
  762    715   
  763         -
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
  764         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
         716  +
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         717  +
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
  765    718   
#[derive(::std::fmt::Debug)]
  766         -
pub enum QueryParamsTargetingLengthMapOperationError {
         719  +
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
  767    720   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  768    721   
    ValidationException(crate::error::ValidationException),
  769    722   
}
  770         -
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
         723  +
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
  771    724   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  772    725   
        match &self {
  773         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         726  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  774    727   
                _inner.fmt(f)
  775    728   
            }
  776    729   
        }
  777    730   
    }
  778    731   
}
  779         -
impl QueryParamsTargetingLengthMapOperationError {
  780         -
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
         732  +
impl HttpPrefixHeadersTargetingLengthMapOperationError {
         733  +
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
  781    734   
    pub fn is_validation_exception(&self) -> bool {
  782    735   
        matches!(
  783    736   
            &self,
  784         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
         737  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
  785    738   
        )
  786    739   
    }
  787    740   
    /// Returns the error name string by matching the correct variant.
  788    741   
    pub fn name(&self) -> &'static str {
  789    742   
        match &self {
  790         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         743  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  791    744   
                _inner.name()
  792    745   
            }
  793    746   
        }
  794    747   
    }
  795    748   
}
  796         -
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
         749  +
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
  797    750   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  798    751   
        match &self {
  799         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         752  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  800    753   
                Some(_inner)
  801    754   
            }
  802    755   
        }
  803    756   
    }
  804    757   
}
  805    758   
impl ::std::convert::From<crate::error::ValidationException>
  806         -
    for crate::error::QueryParamsTargetingLengthMapOperationError
         759  +
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  807    760   
{
  808    761   
    fn from(
  809    762   
        variant: crate::error::ValidationException,
  810         -
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
         763  +
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
  811    764   
        Self::ValidationException(variant)
  812    765   
    }
  813    766   
}
  814    767   
  815         -
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
  816         -
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
         768  +
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         769  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
  817    770   
#[derive(::std::fmt::Debug)]
  818         -
pub enum ConstrainedRecursiveShapesOperationError {
         771  +
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
  819    772   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  820    773   
    ValidationException(crate::error::ValidationException),
  821    774   
}
  822         -
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
         775  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
  823    776   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  824    777   
        match &self {
  825         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         778  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         779  +
                _inner.fmt(f)
         780  +
            }
  826    781   
        }
  827    782   
    }
  828    783   
}
  829         -
impl ConstrainedRecursiveShapesOperationError {
  830         -
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
         784  +
impl QueryParamsTargetingMapOfEnumStringOperationError {
         785  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
  831    786   
    pub fn is_validation_exception(&self) -> bool {
  832    787   
        matches!(
  833    788   
            &self,
  834         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
         789  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
  835    790   
        )
  836    791   
    }
  837    792   
    /// Returns the error name string by matching the correct variant.
  838    793   
    pub fn name(&self) -> &'static str {
  839    794   
        match &self {
  840         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
         795  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         796  +
                _inner.name()
         797  +
            }
  841    798   
        }
  842    799   
    }
  843    800   
}
  844         -
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
         801  +
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
  845    802   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  846    803   
        match &self {
  847         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
         804  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         805  +
                Some(_inner)
         806  +
            }
  848    807   
        }
  849    808   
    }
  850    809   
}
  851    810   
impl ::std::convert::From<crate::error::ValidationException>
  852         -
    for crate::error::ConstrainedRecursiveShapesOperationError
         811  +
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  853    812   
{
  854    813   
    fn from(
  855    814   
        variant: crate::error::ValidationException,
  856         -
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
         815  +
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
  857    816   
        Self::ValidationException(variant)
  858    817   
    }
  859    818   
}
  860    819   
  861         -
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
  862         -
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
         820  +
/// Error type for the `EventStreamsOperation` operation.
         821  +
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
  863    822   
#[derive(::std::fmt::Debug)]
  864         -
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
         823  +
pub enum EventStreamsOperationError {
  865    824   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  866    825   
    ValidationException(crate::error::ValidationException),
         826  +
    #[allow(missing_docs)] // documentation missing in model
         827  +
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
  867    828   
}
  868         -
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
         829  +
impl ::std::fmt::Display for EventStreamsOperationError {
  869    830   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  870    831   
        match &self {
  871         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  872         -
                _inner.fmt(f)
  873         -
            }
         832  +
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
         833  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
  874    834   
        }
  875    835   
    }
  876    836   
}
  877         -
impl ConstrainedHttpPayloadBoundShapeOperationError {
  878         -
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
         837  +
impl EventStreamsOperationError {
         838  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
  879    839   
    pub fn is_validation_exception(&self) -> bool {
         840  +
        matches!(&self, EventStreamsOperationError::ValidationException(_))
         841  +
    }
         842  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
         843  +
    pub fn is_event_stream_error_message(&self) -> bool {
  880    844   
        matches!(
  881    845   
            &self,
  882         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
         846  +
            EventStreamsOperationError::EventStreamErrorMessage(_)
  883    847   
        )
  884    848   
    }
  885    849   
    /// Returns the error name string by matching the correct variant.
  886    850   
    pub fn name(&self) -> &'static str {
  887    851   
        match &self {
  888         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  889         -
                _inner.name()
  890         -
            }
         852  +
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
         853  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
  891    854   
        }
  892    855   
    }
  893    856   
}
  894         -
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
         857  +
impl ::std::error::Error for EventStreamsOperationError {
  895    858   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  896    859   
        match &self {
  897         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  898         -
                Some(_inner)
  899         -
            }
         860  +
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
         861  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
  900    862   
        }
  901    863   
    }
  902    864   
}
  903    865   
impl ::std::convert::From<crate::error::ValidationException>
  904         -
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
         866  +
    for crate::error::EventStreamsOperationError
  905    867   
{
  906    868   
    fn from(
  907    869   
        variant: crate::error::ValidationException,
  908         -
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
         870  +
    ) -> crate::error::EventStreamsOperationError {
  909    871   
        Self::ValidationException(variant)
  910    872   
    }
  911    873   
}
         874  +
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
         875  +
    for crate::error::EventStreamsOperationError
         876  +
{
         877  +
    fn from(
         878  +
        variant: crate::error::EventStreamErrorMessage,
         879  +
    ) -> crate::error::EventStreamsOperationError {
         880  +
        Self::EventStreamErrorMessage(variant)
         881  +
    }
         882  +
}
  912    883   
  913         -
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
  914         -
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
  915         -
#[derive(::std::fmt::Debug)]
  916         -
pub enum ConstrainedHttpBoundShapesOperationError {
  917         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  918         -
    ValidationException(crate::error::ValidationException),
         884  +
/// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         885  +
#[derive(
         886  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
         887  +
)]
         888  +
pub struct ValidationException {
         889  +
    /// A summary of the validation failure.
         890  +
    pub message: ::std::string::String,
         891  +
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         892  +
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  919    893   
}
  920         -
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
         894  +
impl ValidationException {
         895  +
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         896  +
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         897  +
        self.field_list.as_deref()
         898  +
    }
         899  +
}
         900  +
impl ValidationException {
         901  +
    /// Returns the error message.
         902  +
    pub fn message(&self) -> &str {
         903  +
        &self.message
         904  +
    }
         905  +
    #[doc(hidden)]
         906  +
    /// Returns the error name.
         907  +
    pub fn name(&self) -> &'static str {
         908  +
        "ValidationException"
         909  +
    }
         910  +
}
         911  +
impl ::std::fmt::Display for ValidationException {
  921    912   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  922         -
        match &self {
  923         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         913  +
        ::std::write!(f, "ValidationException")?;
         914  +
        {
         915  +
            ::std::write!(f, ": {}", &self.message)?;
  924    916   
        }
         917  +
        Ok(())
  925    918   
    }
  926    919   
}
  927         -
impl ConstrainedHttpBoundShapesOperationError {
  928         -
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
  929         -
    pub fn is_validation_exception(&self) -> bool {
  930         -
        matches!(
  931         -
            &self,
  932         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
  933         -
        )
         920  +
impl ::std::error::Error for ValidationException {}
         921  +
impl ValidationException {
         922  +
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         923  +
    pub fn builder() -> crate::error::validation_exception::Builder {
         924  +
        crate::error::validation_exception::Builder::default()
  934    925   
    }
  935         -
    /// Returns the error name string by matching the correct variant.
         926  +
}
         927  +
         928  +
#[allow(missing_docs)] // documentation missing in model
         929  +
#[derive(
         930  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
         931  +
)]
         932  +
pub struct EventStreamErrorMessage {
         933  +
    #[allow(missing_docs)] // documentation missing in model
         934  +
    pub message_content: ::std::option::Option<::std::string::String>,
         935  +
}
         936  +
impl EventStreamErrorMessage {
         937  +
    #[allow(missing_docs)] // documentation missing in model
         938  +
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         939  +
        self.message_content.as_deref()
         940  +
    }
         941  +
}
         942  +
impl EventStreamErrorMessage {
         943  +
    #[doc(hidden)]
         944  +
    /// Returns the error name.
  936    945   
    pub fn name(&self) -> &'static str {
  937         -
        match &self {
  938         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
  939         -
        }
         946  +
        "EventStreamErrorMessage"
  940    947   
    }
  941    948   
}
  942         -
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
  943         -
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  944         -
        match &self {
  945         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
  946         -
        }
         949  +
impl ::std::fmt::Display for EventStreamErrorMessage {
         950  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         951  +
        ::std::write!(f, "EventStreamErrorMessage")?;
         952  +
        Ok(())
  947    953   
    }
  948    954   
}
  949         -
impl ::std::convert::From<crate::error::ValidationException>
  950         -
    for crate::error::ConstrainedHttpBoundShapesOperationError
  951         -
{
  952         -
    fn from(
  953         -
        variant: crate::error::ValidationException,
  954         -
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
  955         -
        Self::ValidationException(variant)
         955  +
impl ::std::error::Error for EventStreamErrorMessage {}
         956  +
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
         957  +
    type Unconstrained = crate::error::event_stream_error_message_internal::Builder;
         958  +
}
         959  +
impl EventStreamErrorMessage {
         960  +
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         961  +
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
         962  +
        crate::error::event_stream_error_message::Builder::default()
  956    963   
    }
  957    964   
}
  958    965   
  959         -
/// Error type for the `ConstrainedShapesOperation` operation.
  960         -
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
         966  +
/// Error type for the `Event` operation.
         967  +
/// Each variant represents an error that can occur for the `Event` operation.
  961    968   
#[derive(::std::fmt::Debug)]
  962         -
pub enum ConstrainedShapesOperationError {
  963         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  964         -
    ValidationException(crate::error::ValidationException),
         969  +
pub enum EventError {
         970  +
    #[allow(missing_docs)] // documentation missing in model
         971  +
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
  965    972   
}
  966         -
impl ::std::fmt::Display for ConstrainedShapesOperationError {
         973  +
impl ::std::fmt::Display for EventError {
  967    974   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  968    975   
        match &self {
  969         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         976  +
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
  970    977   
        }
  971    978   
    }
  972    979   
}
  973         -
impl ConstrainedShapesOperationError {
  974         -
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
  975         -
    pub fn is_validation_exception(&self) -> bool {
  976         -
        matches!(
  977         -
            &self,
  978         -
            ConstrainedShapesOperationError::ValidationException(_)
  979         -
        )
         980  +
impl EventError {
         981  +
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
         982  +
    pub fn is_event_stream_error_message(&self) -> bool {
         983  +
        matches!(&self, EventError::EventStreamErrorMessage(_))
  980    984   
    }
  981    985   
    /// Returns the error name string by matching the correct variant.
  982    986   
    pub fn name(&self) -> &'static str {
  983    987   
        match &self {
  984         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
         988  +
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
  985    989   
        }
  986    990   
    }
  987    991   
}
  988         -
impl ::std::error::Error for ConstrainedShapesOperationError {
         992  +
impl ::std::error::Error for EventError {
  989    993   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  990    994   
        match &self {
  991         -
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
         995  +
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
  992    996   
        }
  993    997   
    }
  994    998   
}
  995         -
impl ::std::convert::From<crate::error::ValidationException>
  996         -
    for crate::error::ConstrainedShapesOperationError
  997         -
{
  998         -
    fn from(
  999         -
        variant: crate::error::ValidationException,
 1000         -
    ) -> crate::error::ConstrainedShapesOperationError {
 1001         -
        Self::ValidationException(variant)
         999  +
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
        1000  +
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
        1001  +
        Self::EventStreamErrorMessage(variant)
        1002  +
    }
        1003  +
}
        1004  +
/// See [`ValidationException`](crate::error::ValidationException).
        1005  +
pub mod validation_exception {
        1006  +
        1007  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        1008  +
    /// Holds one variant for each of the ways the builder can fail.
        1009  +
    #[allow(clippy::enum_variant_names)]
        1010  +
    pub enum ConstraintViolation {
        1011  +
        /// `message` was not provided but it is required when building `ValidationException`.
        1012  +
        MissingMessage,
        1013  +
    }
        1014  +
    impl ::std::fmt::Display for ConstraintViolation {
        1015  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1016  +
            match self {
        1017  +
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
        1018  +
            }
        1019  +
        }
        1020  +
    }
        1021  +
    impl ::std::error::Error for ConstraintViolation {}
        1022  +
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
        1023  +
        type Error = ConstraintViolation;
        1024  +
        1025  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        1026  +
            builder.build()
        1027  +
        }
        1028  +
    }
        1029  +
    /// A builder for [`ValidationException`](crate::error::ValidationException).
        1030  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1031  +
    pub struct Builder {
        1032  +
        pub(crate) message: ::std::option::Option<::std::string::String>,
        1033  +
        pub(crate) field_list:
        1034  +
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        1035  +
    }
        1036  +
    impl Builder {
        1037  +
        /// A summary of the validation failure.
        1038  +
        pub fn message(mut self, input: ::std::string::String) -> Self {
        1039  +
            self.message = Some(input);
        1040  +
            self
        1041  +
        }
        1042  +
        /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
        1043  +
        pub fn field_list(
        1044  +
            mut self,
        1045  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        1046  +
        ) -> Self {
        1047  +
            self.field_list = input;
        1048  +
            self
        1049  +
        }
        1050  +
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
        1051  +
        ///
        1052  +
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
        1053  +
        ///
        1054  +
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
        1055  +
            self.build_enforcing_required_and_enum_traits()
        1056  +
        }
        1057  +
        fn build_enforcing_required_and_enum_traits(
        1058  +
            self,
        1059  +
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
        1060  +
            Ok(crate::error::ValidationException {
        1061  +
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
        1062  +
                field_list: self.field_list,
        1063  +
            })
        1064  +
        }
 1002   1065   
    }
 1003   1066   
}
 1004   1067   
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1005   1068   
pub(crate) mod event_stream_error_message_internal {
 1006   1069   
 1007   1070   
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 1008   1071   
        fn from(builder: Builder) -> Self {
 1009   1072   
            builder.build()
 1010   1073   
        }
 1011   1074   
    }
@@ -1040,1103 +1132,0 @@
 1060   1123   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 1061   1124   
            self.build_enforcing_required_and_enum_traits()
 1062   1125   
        }
 1063   1126   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::EventStreamErrorMessage {
 1064   1127   
            crate::error::EventStreamErrorMessage {
 1065   1128   
                message_content: self.message_content,
 1066   1129   
            }
 1067   1130   
        }
 1068   1131   
    }
 1069   1132   
}
 1070         -
/// See [`ValidationException`](crate::error::ValidationException).
 1071         -
pub mod validation_exception {
 1072         -
 1073         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1074         -
    /// Holds one variant for each of the ways the builder can fail.
 1075         -
    #[allow(clippy::enum_variant_names)]
 1076         -
    pub enum ConstraintViolation {
 1077         -
        /// `message` was not provided but it is required when building `ValidationException`.
 1078         -
        MissingMessage,
 1079         -
    }
 1080         -
    impl ::std::fmt::Display for ConstraintViolation {
 1081         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1082         -
            match self {
 1083         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 1084         -
            }
 1085         -
        }
 1086         -
    }
 1087         -
    impl ::std::error::Error for ConstraintViolation {}
 1088         -
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 1089         -
        type Error = ConstraintViolation;
 1090         -
 1091         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1092         -
            builder.build()
 1093         -
        }
 1094         -
    }
 1095         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
 1096         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1097         -
    pub struct Builder {
 1098         -
        pub(crate) message: ::std::option::Option<::std::string::String>,
 1099         -
        pub(crate) field_list:
 1100         -
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 1101         -
    }
 1102         -
    impl Builder {
 1103         -
        /// A summary of the validation failure.
 1104         -
        pub fn message(mut self, input: ::std::string::String) -> Self {
 1105         -
            self.message = Some(input);
 1106         -
            self
 1107         -
        }
 1108         -
        /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
 1109         -
        pub fn field_list(
 1110         -
            mut self,
 1111         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 1112         -
        ) -> Self {
 1113         -
            self.field_list = input;
 1114         -
            self
 1115         -
        }
 1116         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 1117         -
        ///
 1118         -
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
 1119         -
        ///
 1120         -
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1121         -
            self.build_enforcing_required_and_enum_traits()
 1122         -
        }
 1123         -
        fn build_enforcing_required_and_enum_traits(
 1124         -
            self,
 1125         -
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1126         -
            Ok(crate::error::ValidationException {
 1127         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 1128         -
                field_list: self.field_list,
 1129         -
            })
 1130         -
        }
 1131         -
    }
 1132         -
}