Server Test Python

Server Test Python

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

tmp-codegen-diff/codegen-server-test-python/Cargo.lock

@@ -1577,1577 +1654,1656 @@
 1597   1597   
[[package]]
 1598   1598   
name = "regex-syntax"
 1599   1599   
version = "0.8.9"
 1600   1600   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1601   1601   
checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c"
 1602   1602   
 1603   1603   
[[package]]
 1604   1604   
name = "rest_json"
 1605   1605   
version = "0.0.1"
 1606   1606   
dependencies = [
        1607  +
 "aws-smithy-eventstream",
 1607   1608   
 "aws-smithy-http-server-python",
 1608   1609   
 "aws-smithy-json",
 1609   1610   
 "aws-smithy-legacy-http",
 1610   1611   
 "aws-smithy-legacy-http-server",
 1611   1612   
 "aws-smithy-runtime-api",
 1612   1613   
 "aws-smithy-types",
 1613   1614   
 "form_urlencoded",
 1614   1615   
 "futures-util",
 1615   1616   
 "http 0.2.12",
 1616   1617   
 "hyper",
 1617   1618   
 "mime",
 1618   1619   
 "nom",
 1619   1620   
 "parking_lot",
 1620   1621   
 "percent-encoding",
 1621   1622   
 "pin-project-lite",
 1622   1623   
 "pyo3",
 1623   1624   
 "pyo3-asyncio",
 1624   1625   
 "tokio",
        1626  +
 "tokio-stream",
 1625   1627   
 "tower",
 1626   1628   
 "tracing",
 1627   1629   
]
 1628   1630   
 1629   1631   
[[package]]
 1630   1632   
name = "rest_json_extras"
 1631   1633   
version = "0.0.1"
 1632   1634   
dependencies = [
 1633   1635   
 "aws-smithy-http-server-python",
 1634   1636   
 "aws-smithy-json",

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

@@ -1,1 +704,704 @@
    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_http_server_python::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<
  533    518   
            ::std::string::String,
  534    519   
            ::aws_smithy_http_server_python::types::Blob,
  535    520   
        >
  536    521   
    {
  537    522   
        fn from(v: MapOfLengthBlobConstrained) -> Self {
  538    523   
            v.0.into_iter()
  539    524   
                .map(|(k, v)| {
  540    525   
                    let v = { v.into() };
  541    526   
                    (k, v)
  542    527   
                })
  543    528   
                .collect()
  544    529   
        }
  545    530   
    }
  546    531   
}
  547         -
pub(crate) mod list_of_length_blob_constrained {
         532  +
pub(crate) mod map_of_range_integer_constrained {
  548    533   
  549    534   
    #[derive(Debug, Clone)]
  550         -
    pub(crate) struct ListOfLengthBlobConstrained(
  551         -
        pub(crate) std::vec::Vec<crate::model::LengthBlob>,
         535  +
    pub(crate) struct MapOfRangeIntegerConstrained(
         536  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  552    537   
    );
  553    538   
  554         -
    impl crate::constrained::Constrained for ListOfLengthBlobConstrained {
  555         -
        type Unconstrained =
  556         -
            crate::unconstrained::list_of_length_blob_unconstrained::ListOfLengthBlobUnconstrained;
         539  +
    impl crate::constrained::Constrained for MapOfRangeIntegerConstrained {
         540  +
        type Unconstrained = crate::unconstrained::map_of_range_integer_unconstrained::MapOfRangeIntegerUnconstrained;
  557    541   
    }
  558         -
    impl ::std::convert::From<ListOfLengthBlobConstrained>
  559         -
        for ::std::vec::Vec<::aws_smithy_http_server_python::types::Blob>
         542  +
    impl ::std::convert::From<MapOfRangeIntegerConstrained>
         543  +
        for ::std::collections::HashMap<::std::string::String, i32>
  560    544   
    {
  561         -
        fn from(v: ListOfLengthBlobConstrained) -> Self {
  562         -
            v.0.into_iter().map(|item| item.into()).collect()
         545  +
        fn from(v: MapOfRangeIntegerConstrained) -> Self {
         546  +
            v.0.into_iter()
         547  +
                .map(|(k, v)| {
         548  +
                    let v = { v.into() };
         549  +
                    (k, v)
         550  +
                })
         551  +
                .collect()
  563    552   
        }
  564    553   
    }
  565    554   
}
  566         -
pub(crate) mod con_b_list_constrained {
         555  +
pub(crate) mod map_of_range_short_constrained {
  567    556   
  568    557   
    #[derive(Debug, Clone)]
  569         -
    pub(crate) struct ConBListConstrained(
  570         -
        pub(crate)  std::vec::Vec<
  571         -
            crate::constrained::con_b_list_inner_constrained::ConBListInnerConstrained,
  572         -
        >,
         558  +
    pub(crate) struct MapOfRangeShortConstrained(
         559  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  573    560   
    );
  574    561   
  575         -
    impl crate::constrained::Constrained for ConBListConstrained {
  576         -
        type Unconstrained = crate::unconstrained::con_b_list_unconstrained::ConBListUnconstrained;
         562  +
    impl crate::constrained::Constrained for MapOfRangeShortConstrained {
         563  +
        type Unconstrained =
         564  +
            crate::unconstrained::map_of_range_short_unconstrained::MapOfRangeShortUnconstrained;
  577    565   
    }
  578         -
    impl ::std::convert::From<ConBListConstrained>
  579         -
        for ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>
         566  +
    impl ::std::convert::From<MapOfRangeShortConstrained>
         567  +
        for ::std::collections::HashMap<::std::string::String, i16>
  580    568   
    {
  581         -
        fn from(v: ConBListConstrained) -> Self {
  582         -
            v.0.into_iter().map(|item| item.into()).collect()
         569  +
        fn from(v: MapOfRangeShortConstrained) -> Self {
         570  +
            v.0.into_iter()
         571  +
                .map(|(k, v)| {
         572  +
                    let v = { v.into() };
         573  +
                    (k, v)
         574  +
                })
         575  +
                .collect()
  583    576   
        }
  584    577   
    }
  585    578   
}
  586         -
pub(crate) mod con_b_list_inner_constrained {
         579  +
pub(crate) mod map_of_range_long_constrained {
  587    580   
  588    581   
    #[derive(Debug, Clone)]
  589         -
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
         582  +
    pub(crate) struct MapOfRangeLongConstrained(
         583  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
         584  +
    );
  590    585   
  591         -
    impl crate::constrained::Constrained for ConBListInnerConstrained {
         586  +
    impl crate::constrained::Constrained for MapOfRangeLongConstrained {
  592    587   
        type Unconstrained =
  593         -
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
         588  +
            crate::unconstrained::map_of_range_long_unconstrained::MapOfRangeLongUnconstrained;
  594    589   
    }
  595         -
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
  596         -
        fn from(v: ConBListInnerConstrained) -> Self {
  597         -
            v.0
         590  +
    impl ::std::convert::From<MapOfRangeLongConstrained>
         591  +
        for ::std::collections::HashMap<::std::string::String, i64>
         592  +
    {
         593  +
        fn from(v: MapOfRangeLongConstrained) -> Self {
         594  +
            v.0.into_iter()
         595  +
                .map(|(k, v)| {
         596  +
                    let v = { v.into() };
         597  +
                    (k, v)
         598  +
                })
         599  +
                .collect()
  598    600   
        }
  599    601   
    }
  600    602   
}
  601         -
pub(crate) mod sparse_list_constrained {
         603  +
pub(crate) mod map_of_range_byte_constrained {
  602    604   
  603    605   
    #[derive(Debug, Clone)]
  604         -
    pub(crate) struct SparseListConstrained(
  605         -
        pub(crate) std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
         606  +
    pub(crate) struct MapOfRangeByteConstrained(
         607  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  606    608   
    );
  607    609   
  608         -
    impl crate::constrained::Constrained for SparseListConstrained {
         610  +
    impl crate::constrained::Constrained for MapOfRangeByteConstrained {
  609    611   
        type Unconstrained =
  610         -
            crate::unconstrained::sparse_list_unconstrained::SparseListUnconstrained;
         612  +
            crate::unconstrained::map_of_range_byte_unconstrained::MapOfRangeByteUnconstrained;
  611    613   
    }
  612         -
    impl ::std::convert::From<SparseListConstrained>
  613         -
        for ::std::vec::Vec<::std::option::Option<::std::string::String>>
         614  +
    impl ::std::convert::From<MapOfRangeByteConstrained>
         615  +
        for ::std::collections::HashMap<::std::string::String, i8>
  614    616   
    {
  615         -
        fn from(v: SparseListConstrained) -> Self {
         617  +
        fn from(v: MapOfRangeByteConstrained) -> Self {
  616    618   
            v.0.into_iter()
  617         -
                .map(|item| item.map(|item| item.into()))
         619  +
                .map(|(k, v)| {
         620  +
                    let v = { v.into() };
         621  +
                    (k, v)
         622  +
                })
  618    623   
                .collect()
  619    624   
        }
  620    625   
    }
  621    626   
}
  622         -
pub(crate) mod sparse_map_constrained {
         627  +
pub(crate) mod list_of_pattern_string_constrained {
  623    628   
  624    629   
    #[derive(Debug, Clone)]
  625         -
    pub(crate) struct SparseMapConstrained(
  626         -
        pub(crate)  std::collections::HashMap<
  627         -
            ::std::string::String,
  628         -
            ::std::option::Option<crate::model::UniqueItemsList>,
  629         -
        >,
         630  +
    pub(crate) struct ListOfPatternStringConstrained(
         631  +
        pub(crate) std::vec::Vec<crate::model::PatternString>,
  630    632   
    );
  631    633   
  632         -
    impl crate::constrained::Constrained for SparseMapConstrained {
  633         -
        type Unconstrained = crate::unconstrained::sparse_map_unconstrained::SparseMapUnconstrained;
         634  +
    impl crate::constrained::Constrained for ListOfPatternStringConstrained {
         635  +
        type Unconstrained = crate::unconstrained::list_of_pattern_string_unconstrained::ListOfPatternStringUnconstrained;
  634    636   
    }
  635         -
    impl ::std::convert::From<SparseMapConstrained>
  636         -
        for ::std::collections::HashMap<
  637         -
            ::std::string::String,
  638         -
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  639         -
        >
         637  +
    impl ::std::convert::From<ListOfPatternStringConstrained>
         638  +
        for ::std::vec::Vec<::std::string::String>
  640    639   
    {
  641         -
        fn from(v: SparseMapConstrained) -> Self {
  642         -
            v.0.into_iter()
  643         -
                .map(|(k, v)| {
  644         -
                    let v = { v.map(|v| v.into()) };
  645         -
                    (k, v)
  646         -
                })
  647         -
                .collect()
         640  +
        fn from(v: ListOfPatternStringConstrained) -> Self {
         641  +
            v.0.into_iter().map(|item| item.into()).collect()
  648    642   
        }
  649    643   
    }
  650    644   
}
  651         -
pub(crate) mod map_of_map_of_list_of_list_of_con_b_constrained {
         645  +
pub(crate) mod list_of_length_pattern_string_constrained {
  652    646   
  653    647   
    #[derive(Debug, Clone)]
  654         -
    pub(crate) struct MapOfMapOfListOfListOfConBConstrained(pub(crate) std::collections::HashMap<::std::string::String, crate::constrained::map_of_list_of_list_of_con_b_constrained::MapOfListOfListOfConBConstrained>);
         648  +
    pub(crate) struct ListOfLengthPatternStringConstrained(
         649  +
        pub(crate) std::vec::Vec<crate::model::LengthPatternString>,
         650  +
    );
  655    651   
  656         -
    impl crate::constrained::Constrained for MapOfMapOfListOfListOfConBConstrained {
  657         -
        type Unconstrained = crate::unconstrained::map_of_map_of_list_of_list_of_con_b_unconstrained::MapOfMapOfListOfListOfConBUnconstrained;
         652  +
    impl crate::constrained::Constrained for ListOfLengthPatternStringConstrained {
         653  +
        type Unconstrained = crate::unconstrained::list_of_length_pattern_string_unconstrained::ListOfLengthPatternStringUnconstrained;
  658    654   
    }
  659         -
    impl ::std::convert::From<MapOfMapOfListOfListOfConBConstrained>
  660         -
        for ::std::collections::HashMap<
  661         -
            ::std::string::String,
  662         -
            ::std::collections::HashMap<
  663         -
                ::std::string::String,
  664         -
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  665         -
            >,
  666         -
        >
         655  +
    impl ::std::convert::From<ListOfLengthPatternStringConstrained>
         656  +
        for ::std::vec::Vec<::std::string::String>
  667    657   
    {
  668         -
        fn from(v: MapOfMapOfListOfListOfConBConstrained) -> Self {
  669         -
            v.0.into_iter()
  670         -
                .map(|(k, v)| {
  671         -
                    let v = { v.into() };
  672         -
                    (k, v)
  673         -
                })
  674         -
                .collect()
         658  +
        fn from(v: ListOfLengthPatternStringConstrained) -> Self {
         659  +
            v.0.into_iter().map(|item| item.into()).collect()
         660  +
        }
         661  +
    }
         662  +
}
         663  +
pub(crate) mod con_b_list_inner_constrained {
         664  +
         665  +
    #[derive(Debug, Clone)]
         666  +
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
         667  +
         668  +
    impl crate::constrained::Constrained for ConBListInnerConstrained {
         669  +
        type Unconstrained =
         670  +
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
         671  +
    }
         672  +
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
         673  +
        fn from(v: ConBListInnerConstrained) -> Self {
         674  +
            v.0
  675    675   
        }
  676    676   
    }
  677    677   
}
  678    678   
pub(crate) mod map_of_list_of_list_of_con_b_constrained {
  679    679   
  680    680   
    #[derive(Debug, Clone)]
  681    681   
    pub(crate) struct MapOfListOfListOfConBConstrained(
  682    682   
        pub(crate)  std::collections::HashMap<
  683    683   
            ::std::string::String,
  684    684   
            crate::constrained::con_b_list_constrained::ConBListConstrained,

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

@@ -1,1 +982,1023 @@
    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      8   
    #[allow(missing_docs)] // documentation missing in model
    9         -
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
   10         -
    #[allow(missing_docs)] // documentation missing in model
   11      9   
    InternalServerError(crate::error::InternalServerError),
   12     10   
}
   13         -
impl ::std::fmt::Display for EventStreamsOperationError {
          11  +
impl ::std::fmt::Display for ConstrainedShapesOperationError {
   14     12   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
   15     13   
        match &self {
   16         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
   17         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
   18         -
            EventStreamsOperationError::InternalServerError(_inner) => _inner.fmt(f),
          14  +
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
          15  +
            ConstrainedShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
   19     16   
        }
   20     17   
    }
   21     18   
}
   22         -
impl EventStreamsOperationError {
   23         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
          19  +
impl ConstrainedShapesOperationError {
          20  +
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
   24     21   
    pub fn is_validation_exception(&self) -> bool {
   25         -
        matches!(&self, EventStreamsOperationError::ValidationException(_))
   26         -
    }
   27         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
   28         -
    pub fn is_event_stream_error_message(&self) -> bool {
   29     22   
        matches!(
   30     23   
            &self,
   31         -
            EventStreamsOperationError::EventStreamErrorMessage(_)
          24  +
            ConstrainedShapesOperationError::ValidationException(_)
   32     25   
        )
   33     26   
    }
   34         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::InternalServerError`.
          27  +
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::InternalServerError`.
   35     28   
    pub fn is_internal_server_error(&self) -> bool {
   36         -
        matches!(&self, EventStreamsOperationError::InternalServerError(_))
          29  +
        matches!(
          30  +
            &self,
          31  +
            ConstrainedShapesOperationError::InternalServerError(_)
          32  +
        )
   37     33   
    }
   38     34   
    /// Returns the error name string by matching the correct variant.
   39     35   
    pub fn name(&self) -> &'static str {
   40     36   
        match &self {
   41         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
   42         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
   43         -
            EventStreamsOperationError::InternalServerError(_inner) => _inner.name(),
          37  +
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
          38  +
            ConstrainedShapesOperationError::InternalServerError(_inner) => _inner.name(),
   44     39   
        }
   45     40   
    }
   46     41   
}
   47         -
impl ::std::error::Error for EventStreamsOperationError {
          42  +
impl ::std::error::Error for ConstrainedShapesOperationError {
   48     43   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
   49     44   
        match &self {
   50         -
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
   51         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
   52         -
            EventStreamsOperationError::InternalServerError(_inner) => Some(_inner),
          45  +
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
          46  +
            ConstrainedShapesOperationError::InternalServerError(_inner) => Some(_inner),
   53     47   
        }
   54     48   
    }
   55     49   
}
   56     50   
impl ::std::convert::From<crate::error::ValidationException>
   57         -
    for crate::error::EventStreamsOperationError
          51  +
    for crate::error::ConstrainedShapesOperationError
   58     52   
{
   59     53   
    fn from(
   60     54   
        variant: crate::error::ValidationException,
   61         -
    ) -> crate::error::EventStreamsOperationError {
          55  +
    ) -> crate::error::ConstrainedShapesOperationError {
   62     56   
        Self::ValidationException(variant)
   63     57   
    }
   64     58   
}
   65         -
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
   66         -
    for crate::error::EventStreamsOperationError
   67         -
{
   68         -
    fn from(
   69         -
        variant: crate::error::EventStreamErrorMessage,
   70         -
    ) -> crate::error::EventStreamsOperationError {
   71         -
        Self::EventStreamErrorMessage(variant)
   72         -
    }
   73         -
}
   74     59   
impl ::std::convert::From<crate::error::InternalServerError>
   75         -
    for crate::error::EventStreamsOperationError
          60  +
    for crate::error::ConstrainedShapesOperationError
   76     61   
{
   77     62   
    fn from(
   78     63   
        variant: crate::error::InternalServerError,
   79         -
    ) -> crate::error::EventStreamsOperationError {
          64  +
    ) -> crate::error::ConstrainedShapesOperationError {
   80     65   
        Self::InternalServerError(variant)
   81     66   
    }
   82     67   
}
   83     68   
   84         -
impl ::std::convert::From<::pyo3::PyErr> for crate::error::EventStreamsOperationError {
   85         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::EventStreamsOperationError {
          69  +
impl ::std::convert::From<::pyo3::PyErr> for crate::error::ConstrainedShapesOperationError {
          70  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedShapesOperationError {
   86     71   
        ::pyo3::Python::with_gil(|py| {
   87     72   
            let error = variant.value(py);
   88     73   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
   89     74   
                return error.into();
   90     75   
            }
   91         -
            if let Ok(error) = error.extract::<crate::error::EventStreamErrorMessage>() {
   92         -
                return error.into();
   93         -
            }
   94     76   
            crate::error::InternalServerError {
   95     77   
                message: error.to_string(),
   96     78   
            }
   97     79   
            .into()
   98     80   
        })
   99     81   
    }
  100     82   
}
  101     83   
  102         -
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
  103         -
/// :param message str:
  104         -
/// :rtype None:
  105         -
#[allow(missing_docs)] // documentation missing in model
  106         -
#[derive(
  107         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  108         -
)]
  109         -
pub struct InternalServerError {
  110         -
    #[pyo3(get, set)]
  111         -
    /// :type str:
          84  +
/// Error type for the `ConstrainedShapesOnlyInOutputOperation` operation.
          85  +
/// Each variant represents an error that can occur for the `ConstrainedShapesOnlyInOutputOperation` operation.
          86  +
#[derive(::std::fmt::Debug)]
          87  +
pub enum ConstrainedShapesOnlyInOutputOperationError {
  112     88   
    #[allow(missing_docs)] // documentation missing in model
  113         -
    pub message: ::std::string::String,
          89  +
    InternalServerError(crate::error::InternalServerError),
  114     90   
}
  115         -
#[allow(clippy::new_without_default)]
  116         -
#[allow(clippy::too_many_arguments)]
  117         -
#[::pyo3::pymethods]
  118         -
impl InternalServerError {
  119         -
    #[new]
  120         -
    pub fn new(message: ::std::string::String) -> Self {
  121         -
        Self { message }
  122         -
    }
  123         -
    fn __repr__(&self) -> String {
  124         -
        format!("{self:?}")
  125         -
    }
  126         -
    fn __str__(&self) -> String {
  127         -
        format!("{self:?}")
          91  +
impl ::std::fmt::Display for ConstrainedShapesOnlyInOutputOperationError {
          92  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
          93  +
        match &self {
          94  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
          95  +
                _inner.fmt(f)
          96  +
            }
          97  +
        }
  128     98   
    }
  129     99   
}
  130         -
impl InternalServerError {
  131         -
    /// Returns the error message.
  132         -
    pub fn message(&self) -> &str {
  133         -
        &self.message
         100  +
impl ConstrainedShapesOnlyInOutputOperationError {
         101  +
    /// Returns `true` if the error kind is `ConstrainedShapesOnlyInOutputOperationError::InternalServerError`.
         102  +
    pub fn is_internal_server_error(&self) -> bool {
         103  +
        matches!(
         104  +
            &self,
         105  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_)
         106  +
        )
  134    107   
    }
  135         -
    #[doc(hidden)]
  136         -
    /// Returns the error name.
         108  +
    /// Returns the error name string by matching the correct variant.
  137    109   
    pub fn name(&self) -> &'static str {
  138         -
        "InternalServerError"
         110  +
        match &self {
         111  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
         112  +
                _inner.name()
         113  +
            }
         114  +
        }
  139    115   
    }
  140    116   
}
  141         -
impl ::std::fmt::Display for InternalServerError {
  142         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  143         -
        ::std::write!(f, "InternalServerError")?;
  144         -
        {
  145         -
            ::std::write!(f, ": {}", &self.message)?;
         117  +
impl ::std::error::Error for ConstrainedShapesOnlyInOutputOperationError {
         118  +
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         119  +
        match &self {
         120  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
         121  +
                Some(_inner)
         122  +
            }
  146    123   
        }
  147         -
        Ok(())
  148    124   
    }
  149    125   
}
  150         -
impl ::std::error::Error for InternalServerError {}
  151         -
impl InternalServerError {
  152         -
    /// Creates a new builder-style object to manufacture [`InternalServerError`](crate::error::InternalServerError).
  153         -
    pub fn builder() -> crate::error::internal_server_error::Builder {
  154         -
        crate::error::internal_server_error::Builder::default()
         126  +
impl ::std::convert::From<crate::error::InternalServerError>
         127  +
    for crate::error::ConstrainedShapesOnlyInOutputOperationError
         128  +
{
         129  +
    fn from(
         130  +
        variant: crate::error::InternalServerError,
         131  +
    ) -> crate::error::ConstrainedShapesOnlyInOutputOperationError {
         132  +
        Self::InternalServerError(variant)
  155    133   
    }
  156    134   
}
  157    135   
  158         -
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
  159         -
/// :param message_content typing.Optional\[str\]:
  160         -
/// :rtype None:
  161         -
#[allow(missing_docs)] // documentation missing in model
  162         -
#[derive(
  163         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  164         -
)]
  165         -
pub struct EventStreamErrorMessage {
  166         -
    #[pyo3(get, set)]
  167         -
    /// :type typing.Optional\[str\]:
  168         -
    #[allow(missing_docs)] // documentation missing in model
  169         -
    pub message_content: ::std::option::Option<::std::string::String>,
         136  +
impl ::std::convert::From<::pyo3::PyErr>
         137  +
    for crate::error::ConstrainedShapesOnlyInOutputOperationError
         138  +
{
         139  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedShapesOnlyInOutputOperationError {
         140  +
        ::pyo3::Python::with_gil(|py| {
         141  +
            let error = variant.value(py);
         142  +
         143  +
            crate::error::InternalServerError {
         144  +
                message: error.to_string(),
         145  +
            }
         146  +
            .into()
         147  +
        })
         148  +
    }
  170    149   
}
  171         -
impl EventStreamErrorMessage {
         150  +
         151  +
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
         152  +
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
         153  +
#[derive(::std::fmt::Debug)]
         154  +
pub enum ConstrainedHttpBoundShapesOperationError {
         155  +
    /// 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.
         156  +
    ValidationException(crate::error::ValidationException),
  172    157   
    #[allow(missing_docs)] // documentation missing in model
  173         -
    pub fn message_content(&self) -> ::std::option::Option<&str> {
  174         -
        self.message_content.as_deref()
  175         -
    }
         158  +
    InternalServerError(crate::error::InternalServerError),
  176    159   
}
  177         -
#[allow(clippy::new_without_default)]
  178         -
#[allow(clippy::too_many_arguments)]
  179         -
#[::pyo3::pymethods]
  180         -
impl EventStreamErrorMessage {
  181         -
    #[new]
  182         -
    pub fn new(message_content: ::std::option::Option<::std::string::String>) -> Self {
  183         -
        Self { message_content }
         160  +
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
         161  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         162  +
        match &self {
         163  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         164  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
         165  +
        }
  184    166   
    }
  185         -
    fn __repr__(&self) -> String {
  186         -
        format!("{self:?}")
         167  +
}
         168  +
impl ConstrainedHttpBoundShapesOperationError {
         169  +
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
         170  +
    pub fn is_validation_exception(&self) -> bool {
         171  +
        matches!(
         172  +
            &self,
         173  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
         174  +
        )
  187    175   
    }
  188         -
    fn __str__(&self) -> String {
  189         -
        format!("{self:?}")
         176  +
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::InternalServerError`.
         177  +
    pub fn is_internal_server_error(&self) -> bool {
         178  +
        matches!(
         179  +
            &self,
         180  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_)
         181  +
        )
  190    182   
    }
  191         -
}
  192         -
impl EventStreamErrorMessage {
  193         -
    #[doc(hidden)]
  194         -
    /// Returns the error name.
         183  +
    /// Returns the error name string by matching the correct variant.
  195    184   
    pub fn name(&self) -> &'static str {
  196         -
        "EventStreamErrorMessage"
         185  +
        match &self {
         186  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
         187  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => _inner.name(),
         188  +
        }
  197    189   
    }
  198    190   
}
  199         -
impl ::std::fmt::Display for EventStreamErrorMessage {
  200         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  201         -
        ::std::write!(f, "EventStreamErrorMessage")?;
  202         -
        Ok(())
         191  +
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
         192  +
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         193  +
        match &self {
         194  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
         195  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => Some(_inner),
         196  +
        }
  203    197   
    }
  204    198   
}
  205         -
impl ::std::error::Error for EventStreamErrorMessage {}
  206         -
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
  207         -
    type Unconstrained = crate::error::event_stream_error_message_internal::Builder;
  208         -
}
  209         -
impl EventStreamErrorMessage {
  210         -
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
  211         -
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
  212         -
        crate::error::event_stream_error_message::Builder::default()
         199  +
impl ::std::convert::From<crate::error::ValidationException>
         200  +
    for crate::error::ConstrainedHttpBoundShapesOperationError
         201  +
{
         202  +
    fn from(
         203  +
        variant: crate::error::ValidationException,
         204  +
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
         205  +
        Self::ValidationException(variant)
  213    206   
    }
  214    207   
}
  215         -
  216         -
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
  217         -
/// :param message str:
  218         -
/// :param field_list typing.Optional\[typing.List\[constraints.model.ValidationExceptionField\]\]:
  219         -
/// :rtype None:
  220         -
/// 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.
  221         -
#[derive(
  222         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  223         -
)]
  224         -
pub struct ValidationException {
  225         -
    #[pyo3(get, set)]
  226         -
    /// :type str:
  227         -
    /// A summary of the validation failure.
  228         -
    pub message: ::std::string::String,
  229         -
    #[pyo3(get, set)]
  230         -
    /// :type typing.Optional\[typing.List\[constraints.model.ValidationExceptionField\]\]:
  231         -
    /// 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.
  232         -
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  233         -
}
  234         -
impl ValidationException {
  235         -
    /// 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.
  236         -
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
  237         -
        self.field_list.as_deref()
  238         -
    }
  239         -
}
  240         -
#[allow(clippy::new_without_default)]
  241         -
#[allow(clippy::too_many_arguments)]
  242         -
#[::pyo3::pymethods]
  243         -
impl ValidationException {
  244         -
    #[new]
  245         -
    pub fn new(
  246         -
        message: ::std::string::String,
  247         -
        field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  248         -
    ) -> Self {
  249         -
        Self {
  250         -
            message,
  251         -
            field_list,
  252         -
        }
  253         -
    }
  254         -
    fn __repr__(&self) -> String {
  255         -
        format!("{self:?}")
  256         -
    }
  257         -
    fn __str__(&self) -> String {
  258         -
        format!("{self:?}")
  259         -
    }
  260         -
}
  261         -
impl ValidationException {
  262         -
    /// Returns the error message.
  263         -
    pub fn message(&self) -> &str {
  264         -
        &self.message
  265         -
    }
  266         -
    #[doc(hidden)]
  267         -
    /// Returns the error name.
  268         -
    pub fn name(&self) -> &'static str {
  269         -
        "ValidationException"
  270         -
    }
  271         -
}
  272         -
impl ::std::fmt::Display for ValidationException {
  273         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  274         -
        ::std::write!(f, "ValidationException")?;
  275         -
        {
  276         -
            ::std::write!(f, ": {}", &self.message)?;
  277         -
        }
  278         -
        Ok(())
         208  +
impl ::std::convert::From<crate::error::InternalServerError>
         209  +
    for crate::error::ConstrainedHttpBoundShapesOperationError
         210  +
{
         211  +
    fn from(
         212  +
        variant: crate::error::InternalServerError,
         213  +
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
         214  +
        Self::InternalServerError(variant)
  279    215   
    }
  280    216   
}
  281         -
impl ::std::error::Error for ValidationException {}
  282         -
impl ValidationException {
  283         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
  284         -
    pub fn builder() -> crate::error::validation_exception::Builder {
  285         -
        crate::error::validation_exception::Builder::default()
         217  +
         218  +
impl ::std::convert::From<::pyo3::PyErr>
         219  +
    for crate::error::ConstrainedHttpBoundShapesOperationError
         220  +
{
         221  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedHttpBoundShapesOperationError {
         222  +
        ::pyo3::Python::with_gil(|py| {
         223  +
            let error = variant.value(py);
         224  +
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
         225  +
                return error.into();
         226  +
            }
         227  +
            crate::error::InternalServerError {
         228  +
                message: error.to_string(),
         229  +
            }
         230  +
            .into()
         231  +
        })
  286    232   
    }
  287    233   
}
  288    234   
  289         -
/// Error type for the `Event` operation.
  290         -
/// Each variant represents an error that can occur for the `Event` operation.
         235  +
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
         236  +
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
  291    237   
#[derive(::std::fmt::Debug)]
  292         -
pub enum EventError {
         238  +
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
         239  +
    /// 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.
         240  +
    ValidationException(crate::error::ValidationException),
  293    241   
    #[allow(missing_docs)] // documentation missing in model
  294         -
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
         242  +
    InternalServerError(crate::error::InternalServerError),
  295    243   
}
  296         -
impl ::std::fmt::Display for EventError {
         244  +
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
  297    245   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  298    246   
        match &self {
  299         -
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
         247  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
         248  +
                _inner.fmt(f)
         249  +
            }
         250  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
         251  +
                _inner.fmt(f)
         252  +
            }
  300    253   
        }
  301    254   
    }
  302    255   
}
  303         -
impl EventError {
  304         -
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
  305         -
    pub fn is_event_stream_error_message(&self) -> bool {
  306         -
        matches!(&self, EventError::EventStreamErrorMessage(_))
         256  +
impl ConstrainedHttpPayloadBoundShapeOperationError {
         257  +
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
         258  +
    pub fn is_validation_exception(&self) -> bool {
         259  +
        matches!(
         260  +
            &self,
         261  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
         262  +
        )
         263  +
    }
         264  +
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError`.
         265  +
    pub fn is_internal_server_error(&self) -> bool {
         266  +
        matches!(
         267  +
            &self,
         268  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_)
         269  +
        )
  307    270   
    }
  308    271   
    /// Returns the error name string by matching the correct variant.
  309    272   
    pub fn name(&self) -> &'static str {
  310    273   
        match &self {
  311         -
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
         274  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
         275  +
                _inner.name()
         276  +
            }
         277  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
         278  +
                _inner.name()
         279  +
            }
  312    280   
        }
  313    281   
    }
  314    282   
}
  315         -
impl ::std::error::Error for EventError {
         283  +
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
  316    284   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  317    285   
        match &self {
  318         -
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
         286  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
         287  +
                Some(_inner)
         288  +
            }
         289  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
         290  +
                Some(_inner)
         291  +
            }
  319    292   
        }
  320    293   
    }
  321    294   
}
  322         -
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
  323         -
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
  324         -
        Self::EventStreamErrorMessage(variant)
  325         -
    }
  326         -
}
  327         -
impl<'source> ::pyo3::FromPyObject<'source> for EventError {
  328         -
    fn extract(obj: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
  329         -
        if let Ok(it) = obj.extract::<crate::error::EventStreamErrorMessage>() {
  330         -
            return Ok(Self::EventStreamErrorMessage(it));
  331         -
        }
  332         -
        Err(::pyo3::exceptions::PyTypeError::new_err(format!(
  333         -
            "failed to extract 'EventError' from '{}'",
  334         -
            obj
  335         -
        )))
         295  +
impl ::std::convert::From<crate::error::ValidationException>
         296  +
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
         297  +
{
         298  +
    fn from(
         299  +
        variant: crate::error::ValidationException,
         300  +
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
         301  +
        Self::ValidationException(variant)
  336    302   
    }
  337    303   
}
  338         -
impl ::pyo3::IntoPy<::pyo3::PyObject> for EventError {
  339         -
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
  340         -
        match self {
  341         -
            Self::EventStreamErrorMessage(it) => match ::pyo3::Py::new(py, it) {
  342         -
                Ok(it) => it.into_py(py),
  343         -
                Err(err) => err.into_py(py),
  344         -
            },
  345         -
        }
         304  +
impl ::std::convert::From<crate::error::InternalServerError>
         305  +
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
         306  +
{
         307  +
    fn from(
         308  +
        variant: crate::error::InternalServerError,
         309  +
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
         310  +
        Self::InternalServerError(variant)
  346    311   
    }
  347    312   
}
  348         -
impl ::std::convert::From<EventError> for ::pyo3::PyErr {
  349         -
    fn from(err: EventError) -> ::pyo3::PyErr {
         313  +
         314  +
impl ::std::convert::From<::pyo3::PyErr>
         315  +
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
         316  +
{
         317  +
    fn from(
         318  +
        variant: ::pyo3::PyErr,
         319  +
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
  350    320   
        ::pyo3::Python::with_gil(|py| {
  351         -
            let py_err = ::pyo3::IntoPy::into_py(err, py);
  352         -
            ::pyo3::PyErr::from_value(py_err.as_ref(py))
         321  +
            let error = variant.value(py);
         322  +
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
         323  +
                return error.into();
         324  +
            }
         325  +
            crate::error::InternalServerError {
         326  +
                message: error.to_string(),
         327  +
            }
         328  +
            .into()
  353    329   
        })
  354    330   
    }
  355    331   
}
  356    332   
  357         -
/// Error type for the `StreamingBlobOperation` operation.
  358         -
/// Each variant represents an error that can occur for the `StreamingBlobOperation` operation.
         333  +
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
         334  +
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
  359    335   
#[derive(::std::fmt::Debug)]
  360         -
pub enum StreamingBlobOperationError {
         336  +
pub enum ConstrainedRecursiveShapesOperationError {
         337  +
    /// 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.
         338  +
    ValidationException(crate::error::ValidationException),
  361    339   
    #[allow(missing_docs)] // documentation missing in model
  362    340   
    InternalServerError(crate::error::InternalServerError),
  363    341   
}
  364         -
impl ::std::fmt::Display for StreamingBlobOperationError {
         342  +
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
  365    343   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  366    344   
        match &self {
  367         -
            StreamingBlobOperationError::InternalServerError(_inner) => _inner.fmt(f),
         345  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         346  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
  368    347   
        }
  369    348   
    }
  370    349   
}
  371         -
impl StreamingBlobOperationError {
  372         -
    /// Returns `true` if the error kind is `StreamingBlobOperationError::InternalServerError`.
         350  +
impl ConstrainedRecursiveShapesOperationError {
         351  +
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
         352  +
    pub fn is_validation_exception(&self) -> bool {
         353  +
        matches!(
         354  +
            &self,
         355  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
         356  +
        )
         357  +
    }
         358  +
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::InternalServerError`.
  373    359   
    pub fn is_internal_server_error(&self) -> bool {
  374         -
        matches!(&self, StreamingBlobOperationError::InternalServerError(_))
         360  +
        matches!(
         361  +
            &self,
         362  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_)
         363  +
        )
  375    364   
    }
  376    365   
    /// Returns the error name string by matching the correct variant.
  377    366   
    pub fn name(&self) -> &'static str {
  378    367   
        match &self {
  379         -
            StreamingBlobOperationError::InternalServerError(_inner) => _inner.name(),
         368  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
         369  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => _inner.name(),
  380    370   
        }
  381    371   
    }
  382    372   
}
  383         -
impl ::std::error::Error for StreamingBlobOperationError {
         373  +
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
  384    374   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  385    375   
        match &self {
  386         -
            StreamingBlobOperationError::InternalServerError(_inner) => Some(_inner),
         376  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
         377  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => Some(_inner),
  387    378   
        }
  388    379   
    }
  389    380   
}
         381  +
impl ::std::convert::From<crate::error::ValidationException>
         382  +
    for crate::error::ConstrainedRecursiveShapesOperationError
         383  +
{
         384  +
    fn from(
         385  +
        variant: crate::error::ValidationException,
         386  +
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
         387  +
        Self::ValidationException(variant)
         388  +
    }
         389  +
}
  390    390   
impl ::std::convert::From<crate::error::InternalServerError>
  391         -
    for crate::error::StreamingBlobOperationError
         391  +
    for crate::error::ConstrainedRecursiveShapesOperationError
  392    392   
{
  393    393   
    fn from(
  394    394   
        variant: crate::error::InternalServerError,
  395         -
    ) -> crate::error::StreamingBlobOperationError {
         395  +
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
  396    396   
        Self::InternalServerError(variant)
  397    397   
    }
  398    398   
}
  399    399   
  400         -
impl ::std::convert::From<::pyo3::PyErr> for crate::error::StreamingBlobOperationError {
  401         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::StreamingBlobOperationError {
         400  +
impl ::std::convert::From<::pyo3::PyErr>
         401  +
    for crate::error::ConstrainedRecursiveShapesOperationError
         402  +
{
         403  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedRecursiveShapesOperationError {
  402    404   
        ::pyo3::Python::with_gil(|py| {
  403    405   
            let error = variant.value(py);
  404         -
         406  +
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
         407  +
                return error.into();
         408  +
            }
  405    409   
            crate::error::InternalServerError {
  406    410   
                message: error.to_string(),
  407    411   
            }
  408    412   
            .into()
  409    413   
        })
  410    414   
    }
  411    415   
}
  412    416   
  413         -
/// Error type for the `NonStreamingBlobOperation` operation.
  414         -
/// Each variant represents an error that can occur for the `NonStreamingBlobOperation` operation.
         417  +
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
         418  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
  415    419   
#[derive(::std::fmt::Debug)]
  416         -
pub enum NonStreamingBlobOperationError {
         420  +
pub enum QueryParamsTargetingLengthMapOperationError {
         421  +
    /// 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.
         422  +
    ValidationException(crate::error::ValidationException),
  417    423   
    #[allow(missing_docs)] // documentation missing in model
  418    424   
    InternalServerError(crate::error::InternalServerError),
  419    425   
}
  420         -
impl ::std::fmt::Display for NonStreamingBlobOperationError {
         426  +
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
  421    427   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  422    428   
        match &self {
  423         -
            NonStreamingBlobOperationError::InternalServerError(_inner) => _inner.fmt(f),
         429  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         430  +
                _inner.fmt(f)
         431  +
            }
         432  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
         433  +
                _inner.fmt(f)
         434  +
            }
  424    435   
        }
  425    436   
    }
  426    437   
}
  427         -
impl NonStreamingBlobOperationError {
  428         -
    /// Returns `true` if the error kind is `NonStreamingBlobOperationError::InternalServerError`.
         438  +
impl QueryParamsTargetingLengthMapOperationError {
         439  +
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
         440  +
    pub fn is_validation_exception(&self) -> bool {
         441  +
        matches!(
         442  +
            &self,
         443  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
         444  +
        )
         445  +
    }
         446  +
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::InternalServerError`.
  429    447   
    pub fn is_internal_server_error(&self) -> bool {
  430    448   
        matches!(
  431    449   
            &self,
  432         -
            NonStreamingBlobOperationError::InternalServerError(_)
         450  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_)
  433    451   
        )
  434    452   
    }
  435    453   
    /// Returns the error name string by matching the correct variant.
  436    454   
    pub fn name(&self) -> &'static str {
  437    455   
        match &self {
  438         -
            NonStreamingBlobOperationError::InternalServerError(_inner) => _inner.name(),
         456  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         457  +
                _inner.name()
         458  +
            }
         459  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
         460  +
                _inner.name()
         461  +
            }
  439    462   
        }
  440    463   
    }
  441    464   
}
  442         -
impl ::std::error::Error for NonStreamingBlobOperationError {
         465  +
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
  443    466   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  444    467   
        match &self {
  445         -
            NonStreamingBlobOperationError::InternalServerError(_inner) => Some(_inner),
         468  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         469  +
                Some(_inner)
         470  +
            }
         471  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
         472  +
                Some(_inner)
         473  +
            }
  446    474   
        }
  447    475   
    }
  448    476   
}
         477  +
impl ::std::convert::From<crate::error::ValidationException>
         478  +
    for crate::error::QueryParamsTargetingLengthMapOperationError
         479  +
{
         480  +
    fn from(
         481  +
        variant: crate::error::ValidationException,
         482  +
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
         483  +
        Self::ValidationException(variant)
         484  +
    }
         485  +
}
  449    486   
impl ::std::convert::From<crate::error::InternalServerError>
  450         -
    for crate::error::NonStreamingBlobOperationError
         487  +
    for crate::error::QueryParamsTargetingLengthMapOperationError
  451    488   
{
  452    489   
    fn from(
  453    490   
        variant: crate::error::InternalServerError,
  454         -
    ) -> crate::error::NonStreamingBlobOperationError {
         491  +
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
  455    492   
        Self::InternalServerError(variant)
  456    493   
    }
  457    494   
}
  458    495   
  459         -
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NonStreamingBlobOperationError {
  460         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::NonStreamingBlobOperationError {
         496  +
impl ::std::convert::From<::pyo3::PyErr>
         497  +
    for crate::error::QueryParamsTargetingLengthMapOperationError
         498  +
{
         499  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::QueryParamsTargetingLengthMapOperationError {
  461    500   
        ::pyo3::Python::with_gil(|py| {
  462    501   
            let error = variant.value(py);
  463         -
         502  +
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
         503  +
                return error.into();
         504  +
            }
  464    505   
            crate::error::InternalServerError {
  465    506   
                message: error.to_string(),
  466    507   
            }
  467    508   
            .into()
  468    509   
        })
  469    510   
    }
  470    511   
}
  471    512   
  472         -
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
  473         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         513  +
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
         514  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
  474    515   
#[derive(::std::fmt::Debug)]
  475         -
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
         516  +
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
  476    517   
    /// 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.
  477    518   
    ValidationException(crate::error::ValidationException),
  478    519   
    #[allow(missing_docs)] // documentation missing in model
  479    520   
    InternalServerError(crate::error::InternalServerError),
  480    521   
}
  481         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
         522  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
  482    523   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  483    524   
        match &self {
  484         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         525  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  485    526   
                _inner.fmt(f)
  486    527   
            }
  487         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
         528  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
  488    529   
                _inner.fmt(f)
  489    530   
            }
  490    531   
        }
  491    532   
    }
  492    533   
}
  493         -
impl QueryParamsTargetingMapOfEnumStringOperationError {
  494         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
         534  +
impl QueryParamsTargetingMapOfLengthStringOperationError {
         535  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
  495    536   
    pub fn is_validation_exception(&self) -> bool {
  496    537   
        matches!(
  497    538   
            &self,
  498         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
         539  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
  499    540   
        )
  500    541   
    }
  501         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError`.
         542  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError`.
  502    543   
    pub fn is_internal_server_error(&self) -> bool {
  503    544   
        matches!(
  504    545   
            &self,
  505         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_)
         546  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_)
  506    547   
        )
  507    548   
    }
  508    549   
    /// Returns the error name string by matching the correct variant.
  509    550   
    pub fn name(&self) -> &'static str {
  510    551   
        match &self {
  511         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         552  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  512    553   
                _inner.name()
  513    554   
            }
  514         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
         555  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
  515    556   
                _inner.name()
  516    557   
            }
  517    558   
        }
  518    559   
    }
  519    560   
}
  520         -
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
         561  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
  521    562   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  522    563   
        match &self {
  523         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         564  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  524    565   
                Some(_inner)
  525    566   
            }
  526         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
         567  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
  527    568   
                Some(_inner)
  528    569   
            }
  529    570   
        }
  530    571   
    }
  531    572   
}
  532    573   
impl ::std::convert::From<crate::error::ValidationException>
  533         -
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
         574  +
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
  534    575   
{
  535    576   
    fn from(
  536    577   
        variant: crate::error::ValidationException,
  537         -
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         578  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
  538    579   
        Self::ValidationException(variant)
  539    580   
    }
  540    581   
}
  541    582   
impl ::std::convert::From<crate::error::InternalServerError>
  542         -
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
         583  +
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
  543    584   
{
  544    585   
    fn from(
  545    586   
        variant: crate::error::InternalServerError,
  546         -
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         587  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
  547    588   
        Self::InternalServerError(variant)
  548    589   
    }
  549    590   
}
  550    591   
  551    592   
impl ::std::convert::From<::pyo3::PyErr>
  552         -
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
         593  +
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
  553    594   
{
  554    595   
    fn from(
  555    596   
        variant: ::pyo3::PyErr,
  556         -
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         597  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
  557    598   
        ::pyo3::Python::with_gil(|py| {
  558    599   
            let error = variant.value(py);
  559    600   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  560    601   
                return error.into();
  561    602   
            }
  562    603   
            crate::error::InternalServerError {
  563    604   
                message: error.to_string(),
  564    605   
            }
  565    606   
            .into()
  566    607   
        })
  567    608   
    }
  568    609   
}
  569    610   
  570         -
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
  571         -
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         611  +
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         612  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
  572    613   
#[derive(::std::fmt::Debug)]
  573         -
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
         614  +
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
  574    615   
    /// 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.
  575    616   
    ValidationException(crate::error::ValidationException),
  576    617   
    #[allow(missing_docs)] // documentation missing in model
  577    618   
    InternalServerError(crate::error::InternalServerError),
  578    619   
}
  579         -
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
         620  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
  580    621   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  581    622   
        match &self {
  582         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  583         -
                _inner.fmt(f)
  584         -
            }
  585         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
  586         -
                _inner.fmt(f)
  587         -
            }
         623  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         624  +
                _inner,
         625  +
            ) => _inner.fmt(f),
         626  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
         627  +
                _inner,
         628  +
            ) => _inner.fmt(f),
  588    629   
        }
  589    630   
    }
  590    631   
}
  591         -
impl HttpPrefixHeadersTargetingLengthMapOperationError {
  592         -
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
         632  +
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
         633  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
  593    634   
    pub fn is_validation_exception(&self) -> bool {
  594    635   
        matches!(
  595    636   
            &self,
  596         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
         637  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
  597    638   
        )
  598    639   
    }
  599         -
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError`.
         640  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError`.
  600    641   
    pub fn is_internal_server_error(&self) -> bool {
  601    642   
        matches!(
  602    643   
            &self,
  603         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_)
         644  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(_)
  604    645   
        )
  605    646   
    }
  606    647   
    /// Returns the error name string by matching the correct variant.
  607    648   
    pub fn name(&self) -> &'static str {
  608    649   
        match &self {
  609         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  610         -
                _inner.name()
  611         -
            }
  612         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
  613         -
                _inner.name()
  614         -
            }
         650  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         651  +
                _inner,
         652  +
            ) => _inner.name(),
         653  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
         654  +
                _inner,
         655  +
            ) => _inner.name(),
  615    656   
        }
  616    657   
    }
  617    658   
}
  618         -
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
         659  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
  619    660   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  620    661   
        match &self {
  621         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  622         -
                Some(_inner)
  623         -
            }
  624         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
  625         -
                Some(_inner)
  626         -
            }
         662  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         663  +
                _inner,
         664  +
            ) => Some(_inner),
         665  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
         666  +
                _inner,
         667  +
            ) => Some(_inner),
  627    668   
        }
  628    669   
    }
  629    670   
}
  630    671   
impl ::std::convert::From<crate::error::ValidationException>
  631         -
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
         672  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  632    673   
{
  633    674   
    fn from(
  634    675   
        variant: crate::error::ValidationException,
  635         -
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         676  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
  636    677   
        Self::ValidationException(variant)
  637    678   
    }
  638    679   
}
  639    680   
impl ::std::convert::From<crate::error::InternalServerError>
  640         -
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
         681  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  641    682   
{
  642    683   
    fn from(
  643    684   
        variant: crate::error::InternalServerError,
  644         -
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         685  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
  645    686   
        Self::InternalServerError(variant)
  646    687   
    }
  647    688   
}
  648    689   
  649    690   
impl ::std::convert::From<::pyo3::PyErr>
  650         -
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
         691  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  651    692   
{
  652    693   
    fn from(
  653    694   
        variant: ::pyo3::PyErr,
  654         -
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         695  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
  655    696   
        ::pyo3::Python::with_gil(|py| {
  656    697   
            let error = variant.value(py);
  657    698   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  658    699   
                return error.into();
  659    700   
            }
  660    701   
            crate::error::InternalServerError {
  661    702   
                message: error.to_string(),
  662    703   
            }
  663    704   
            .into()
  664    705   
        })
  665    706   
    }
  666    707   
}
  667    708   
  668         -
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
  669         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         709  +
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
         710  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
  670    711   
#[derive(::std::fmt::Debug)]
  671         -
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         712  +
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  672    713   
    /// 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.
  673    714   
    ValidationException(crate::error::ValidationException),
  674    715   
    #[allow(missing_docs)] // documentation missing in model
  675    716   
    InternalServerError(crate::error::InternalServerError),
  676    717   
}
  677         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         718  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  678    719   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  679    720   
        match &self {
  680         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  681         -
            _inner.fmt(f)
  682         -
            ,
  683         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
  684         -
            _inner.fmt(f)
  685         -
            ,
         721  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         722  +
                _inner,
         723  +
            ) => _inner.fmt(f),
         724  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
         725  +
                _inner,
         726  +
            ) => _inner.fmt(f),
  686    727   
        }
  687    728   
    }
  688    729   
}
  689         -
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  690         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
         730  +
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         731  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
  691    732   
    pub fn is_validation_exception(&self) -> bool {
  692    733   
        matches!(
  693    734   
            &self,
  694         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
  695         -
                _
  696         -
            )
         735  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
  697    736   
        )
  698    737   
    }
  699         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError`.
         738  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError`.
  700    739   
    pub fn is_internal_server_error(&self) -> bool {
  701    740   
        matches!(
  702    741   
            &self,
  703         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(
  704         -
                _
  705         -
            )
         742  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(_)
  706    743   
        )
  707    744   
    }
  708    745   
    /// Returns the error name string by matching the correct variant.
  709    746   
    pub fn name(&self) -> &'static str {
  710    747   
        match &self {
  711         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  712         -
            _inner.name()
  713         -
            ,
  714         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
  715         -
            _inner.name()
  716         -
            ,
         748  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         749  +
                _inner,
         750  +
            ) => _inner.name(),
         751  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
         752  +
                _inner,
         753  +
            ) => _inner.name(),
  717    754   
        }
  718    755   
    }
  719    756   
}
  720         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         757  +
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  721    758   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  722    759   
        match &self {
  723         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  724         -
            Some(_inner)
  725         -
            ,
  726         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
  727         -
            Some(_inner)
  728         -
            ,
         760  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         761  +
                _inner,
         762  +
            ) => Some(_inner),
         763  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
         764  +
                _inner,
         765  +
            ) => Some(_inner),
  729    766   
        }
  730    767   
    }
  731    768   
}
  732    769   
impl ::std::convert::From<crate::error::ValidationException>
  733         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         770  +
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  734    771   
{
  735    772   
    fn from(
  736    773   
        variant: crate::error::ValidationException,
  737         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         774  +
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  738    775   
        Self::ValidationException(variant)
  739    776   
    }
  740    777   
}
  741    778   
impl ::std::convert::From<crate::error::InternalServerError>
  742         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         779  +
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  743    780   
{
  744    781   
    fn from(
  745    782   
        variant: crate::error::InternalServerError,
  746         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         783  +
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  747    784   
        Self::InternalServerError(variant)
  748    785   
    }
  749    786   
}
  750    787   
  751    788   
impl ::std::convert::From<::pyo3::PyErr>
  752         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         789  +
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  753    790   
{
  754    791   
    fn from(
  755    792   
        variant: ::pyo3::PyErr,
  756         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         793  +
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  757    794   
        ::pyo3::Python::with_gil(|py| {
  758    795   
            let error = variant.value(py);
  759    796   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  760    797   
                return error.into();
  761    798   
            }
  762    799   
            crate::error::InternalServerError {
  763    800   
                message: error.to_string(),
  764    801   
            }
  765    802   
            .into()
  766    803   
        })
  767    804   
    }
  768    805   
}
  769    806   
  770         -
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
  771         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         807  +
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
         808  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
  772    809   
#[derive(::std::fmt::Debug)]
  773         -
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
         810  +
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  774    811   
    /// 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.
  775    812   
    ValidationException(crate::error::ValidationException),
  776    813   
    #[allow(missing_docs)] // documentation missing in model
  777    814   
    InternalServerError(crate::error::InternalServerError),
  778    815   
}
  779         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         816  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  780    817   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  781    818   
        match &self {
  782         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  783         -
                _inner,
  784         -
            ) => _inner.fmt(f),
  785         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
  786         -
                _inner,
  787         -
            ) => _inner.fmt(f),
         819  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         820  +
            _inner.fmt(f)
         821  +
            ,
         822  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
         823  +
            _inner.fmt(f)
         824  +
            ,
  788    825   
        }
  789    826   
    }
  790    827   
}
  791         -
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
  792         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
         828  +
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         829  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
  793    830   
    pub fn is_validation_exception(&self) -> bool {
  794    831   
        matches!(
  795    832   
            &self,
  796         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
         833  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
         834  +
                _
         835  +
            )
  797    836   
        )
  798    837   
    }
  799         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError`.
         838  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError`.
  800    839   
    pub fn is_internal_server_error(&self) -> bool {
  801    840   
        matches!(
  802    841   
            &self,
  803         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(_)
         842  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(
         843  +
                _
         844  +
            )
  804    845   
        )
  805    846   
    }
  806    847   
    /// Returns the error name string by matching the correct variant.
  807    848   
    pub fn name(&self) -> &'static str {
  808    849   
        match &self {
  809         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  810         -
                _inner,
  811         -
            ) => _inner.name(),
  812         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
  813         -
                _inner,
  814         -
            ) => _inner.name(),
         850  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         851  +
            _inner.name()
         852  +
            ,
         853  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
         854  +
            _inner.name()
         855  +
            ,
  815    856   
        }
  816    857   
    }
  817    858   
}
  818         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         859  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  819    860   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  820    861   
        match &self {
  821         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  822         -
                _inner,
  823         -
            ) => Some(_inner),
  824         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
  825         -
                _inner,
  826         -
            ) => Some(_inner),
         862  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         863  +
            Some(_inner)
         864  +
            ,
         865  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
         866  +
            Some(_inner)
         867  +
            ,
  827    868   
        }
  828    869   
    }
  829    870   
}
  830    871   
impl ::std::convert::From<crate::error::ValidationException>
  831         -
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
         872  +
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  832    873   
{
  833    874   
    fn from(
  834    875   
        variant: crate::error::ValidationException,
  835         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         876  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  836    877   
        Self::ValidationException(variant)
  837    878   
    }
  838    879   
}
  839    880   
impl ::std::convert::From<crate::error::InternalServerError>
  840         -
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
         881  +
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  841    882   
{
  842    883   
    fn from(
  843    884   
        variant: crate::error::InternalServerError,
  844         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         885  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  845    886   
        Self::InternalServerError(variant)
  846    887   
    }
  847    888   
}
  848    889   
  849    890   
impl ::std::convert::From<::pyo3::PyErr>
  850         -
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
         891  +
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  851    892   
{
  852    893   
    fn from(
  853    894   
        variant: ::pyo3::PyErr,
  854         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         895  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  855    896   
        ::pyo3::Python::with_gil(|py| {
  856    897   
            let error = variant.value(py);
  857    898   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  858    899   
                return error.into();
  859    900   
            }
  860    901   
            crate::error::InternalServerError {
  861    902   
                message: error.to_string(),
  862    903   
            }
  863    904   
            .into()
  864    905   
        })
  865    906   
    }
  866    907   
}
  867    908   
  868         -
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
  869         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         909  +
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
         910  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
  870    911   
#[derive(::std::fmt::Debug)]
  871         -
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
         912  +
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
  872    913   
    /// 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.
  873    914   
    ValidationException(crate::error::ValidationException),
  874    915   
    #[allow(missing_docs)] // documentation missing in model
  875    916   
    InternalServerError(crate::error::InternalServerError),
  876    917   
}
  877         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         918  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
  878    919   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  879    920   
        match &self {
  880         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         921  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  881    922   
                _inner,
  882    923   
            ) => _inner.fmt(f),
  883         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
         924  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
  884    925   
                _inner,
  885    926   
            ) => _inner.fmt(f),
  886    927   
        }
  887    928   
    }
  888    929   
}
  889         -
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
  890         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
         930  +
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
         931  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
  891    932   
    pub fn is_validation_exception(&self) -> bool {
  892    933   
        matches!(
  893    934   
            &self,
  894         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
         935  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
  895    936   
        )
  896    937   
    }
  897         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError`.
         938  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError`.
  898    939   
    pub fn is_internal_server_error(&self) -> bool {
  899    940   
        matches!(
  900    941   
            &self,
  901         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(_)
         942  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(_)
  902    943   
        )
  903    944   
    }
  904    945   
    /// Returns the error name string by matching the correct variant.
  905    946   
    pub fn name(&self) -> &'static str {
  906    947   
        match &self {
  907         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         948  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  908    949   
                _inner,
  909    950   
            ) => _inner.name(),
  910         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
         951  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
  911    952   
                _inner,
  912    953   
            ) => _inner.name(),
  913    954   
        }
  914    955   
    }
  915    956   
}
  916         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         957  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
  917    958   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  918    959   
        match &self {
  919         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         960  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  920    961   
                _inner,
  921    962   
            ) => Some(_inner),
  922         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
         963  +
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
  923    964   
                _inner,
  924    965   
            ) => Some(_inner),
  925    966   
        }
  926    967   
    }
  927    968   
}
  928    969   
impl ::std::convert::From<crate::error::ValidationException>
  929         -
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
         970  +
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  930    971   
{
  931    972   
    fn from(
  932    973   
        variant: crate::error::ValidationException,
  933         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         974  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
  934    975   
        Self::ValidationException(variant)
  935    976   
    }
  936    977   
}
  937    978   
impl ::std::convert::From<crate::error::InternalServerError>
  938         -
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
         979  +
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  939    980   
{
  940    981   
    fn from(
  941    982   
        variant: crate::error::InternalServerError,
  942         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         983  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
  943    984   
        Self::InternalServerError(variant)
  944    985   
    }
  945    986   
}
  946    987   
  947    988   
impl ::std::convert::From<::pyo3::PyErr>
  948         -
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
         989  +
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  949    990   
{
  950    991   
    fn from(
  951    992   
        variant: ::pyo3::PyErr,
  952         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         993  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
  953    994   
        ::pyo3::Python::with_gil(|py| {
  954    995   
            let error = variant.value(py);
  955    996   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  956    997   
                return error.into();
  957    998   
            }
  958    999   
            crate::error::InternalServerError {
  959   1000   
                message: error.to_string(),
  960   1001   
            }
  961   1002   
            .into()
  962   1003   
        })
@@ -1034,1075 +2097,2160 @@
 1054   1095   
                return error.into();
 1055   1096   
            }
 1056   1097   
            crate::error::InternalServerError {
 1057   1098   
                message: error.to_string(),
 1058   1099   
            }
 1059   1100   
            .into()
 1060   1101   
        })
 1061   1102   
    }
 1062   1103   
}
 1063   1104   
 1064         -
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
 1065         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
        1105  +
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
        1106  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
 1066   1107   
#[derive(::std::fmt::Debug)]
 1067         -
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1108  +
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
 1068   1109   
    /// 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.
 1069   1110   
    ValidationException(crate::error::ValidationException),
 1070   1111   
    #[allow(missing_docs)] // documentation missing in model
 1071   1112   
    InternalServerError(crate::error::InternalServerError),
 1072   1113   
}
 1073         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1114  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
 1074   1115   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1075   1116   
        match &self {
 1076         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
        1117  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
 1077   1118   
                _inner,
 1078   1119   
            ) => _inner.fmt(f),
 1079         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
        1120  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
 1080   1121   
                _inner,
 1081   1122   
            ) => _inner.fmt(f),
 1082   1123   
        }
 1083   1124   
    }
 1084   1125   
}
 1085         -
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
 1086         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
        1126  +
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
        1127  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
 1087   1128   
    pub fn is_validation_exception(&self) -> bool {
 1088   1129   
        matches!(
 1089   1130   
            &self,
 1090         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
        1131  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
 1091   1132   
        )
 1092   1133   
    }
 1093         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError`.
        1134  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError`.
 1094   1135   
    pub fn is_internal_server_error(&self) -> bool {
 1095   1136   
        matches!(
 1096   1137   
            &self,
 1097         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(_)
        1138  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(_)
 1098   1139   
        )
 1099   1140   
    }
 1100   1141   
    /// Returns the error name string by matching the correct variant.
 1101   1142   
    pub fn name(&self) -> &'static str {
 1102   1143   
        match &self {
 1103         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
        1144  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
 1104   1145   
                _inner,
 1105   1146   
            ) => _inner.name(),
 1106         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
        1147  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
 1107   1148   
                _inner,
 1108   1149   
            ) => _inner.name(),
 1109   1150   
        }
 1110   1151   
    }
 1111   1152   
}
 1112         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1153  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
 1113   1154   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1114   1155   
        match &self {
 1115         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
        1156  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
 1116   1157   
                _inner,
 1117   1158   
            ) => Some(_inner),
 1118         -
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
        1159  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
 1119   1160   
                _inner,
 1120   1161   
            ) => Some(_inner),
 1121   1162   
        }
 1122   1163   
    }
 1123   1164   
}
 1124   1165   
impl ::std::convert::From<crate::error::ValidationException>
 1125         -
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
 1126         -
{
 1127         -
    fn from(
 1128         -
        variant: crate::error::ValidationException,
 1129         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
 1130         -
        Self::ValidationException(variant)
 1131         -
    }
 1132         -
}
 1133         -
impl ::std::convert::From<crate::error::InternalServerError>
 1134         -
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
 1135         -
{
 1136         -
    fn from(
 1137         -
        variant: crate::error::InternalServerError,
 1138         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
 1139         -
        Self::InternalServerError(variant)
 1140         -
    }
 1141         -
}
 1142         -
 1143         -
impl ::std::convert::From<::pyo3::PyErr>
 1144         -
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
 1145         -
{
 1146         -
    fn from(
 1147         -
        variant: ::pyo3::PyErr,
 1148         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
 1149         -
        ::pyo3::Python::with_gil(|py| {
 1150         -
            let error = variant.value(py);
 1151         -
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1152         -
                return error.into();
 1153         -
            }
 1154         -
            crate::error::InternalServerError {
 1155         -
                message: error.to_string(),
 1156         -
            }
 1157         -
            .into()
 1158         -
        })
 1159         -
    }
 1160         -
}
 1161         -
 1162         -
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
 1163         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
 1164         -
#[derive(::std::fmt::Debug)]
 1165         -
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
 1166         -
    /// 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.
 1167         -
    ValidationException(crate::error::ValidationException),
 1168         -
    #[allow(missing_docs)] // documentation missing in model
 1169         -
    InternalServerError(crate::error::InternalServerError),
 1170         -
}
 1171         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
 1172         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1173         -
        match &self {
 1174         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
 1175         -
            _inner.fmt(f)
 1176         -
            ,
 1177         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
 1178         -
            _inner.fmt(f)
 1179         -
            ,
 1180         -
        }
 1181         -
    }
 1182         -
}
 1183         -
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
 1184         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
 1185         -
    pub fn is_validation_exception(&self) -> bool {
 1186         -
        matches!(
 1187         -
            &self,
 1188         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
 1189         -
                _
 1190         -
            )
 1191         -
        )
 1192         -
    }
 1193         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError`.
 1194         -
    pub fn is_internal_server_error(&self) -> bool {
 1195         -
        matches!(
 1196         -
            &self,
 1197         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(
 1198         -
                _
 1199         -
            )
 1200         -
        )
 1201         -
    }
 1202         -
    /// Returns the error name string by matching the correct variant.
 1203         -
    pub fn name(&self) -> &'static str {
 1204         -
        match &self {
 1205         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
 1206         -
            _inner.name()
 1207         -
            ,
 1208         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
 1209         -
            _inner.name()
 1210         -
            ,
 1211         -
        }
 1212         -
    }
 1213         -
}
 1214         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
 1215         -
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1216         -
        match &self {
 1217         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
 1218         -
            Some(_inner)
 1219         -
            ,
 1220         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
 1221         -
            Some(_inner)
 1222         -
            ,
 1223         -
        }
 1224         -
    }
 1225         -
}
 1226         -
impl ::std::convert::From<crate::error::ValidationException>
 1227         -
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
        1166  +
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
 1228   1167   
{
 1229   1168   
    fn from(
 1230   1169   
        variant: crate::error::ValidationException,
 1231         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1170  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
 1232   1171   
        Self::ValidationException(variant)
 1233   1172   
    }
 1234   1173   
}
 1235   1174   
impl ::std::convert::From<crate::error::InternalServerError>
 1236         -
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
        1175  +
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
 1237   1176   
{
 1238   1177   
    fn from(
 1239   1178   
        variant: crate::error::InternalServerError,
 1240         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1179  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
 1241   1180   
        Self::InternalServerError(variant)
 1242   1181   
    }
 1243   1182   
}
 1244   1183   
 1245   1184   
impl ::std::convert::From<::pyo3::PyErr>
 1246         -
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
        1185  +
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
 1247   1186   
{
 1248   1187   
    fn from(
 1249   1188   
        variant: ::pyo3::PyErr,
 1250         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1189  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
 1251   1190   
        ::pyo3::Python::with_gil(|py| {
 1252   1191   
            let error = variant.value(py);
 1253   1192   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1254   1193   
                return error.into();
 1255   1194   
            }
 1256   1195   
            crate::error::InternalServerError {
 1257   1196   
                message: error.to_string(),
 1258   1197   
            }
 1259   1198   
            .into()
 1260   1199   
        })
 1261   1200   
    }
 1262   1201   
}
 1263   1202   
 1264         -
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
 1265         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        1203  +
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
        1204  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
 1266   1205   
#[derive(::std::fmt::Debug)]
 1267         -
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1206  +
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
 1268   1207   
    /// 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.
 1269   1208   
    ValidationException(crate::error::ValidationException),
 1270   1209   
    #[allow(missing_docs)] // documentation missing in model
 1271   1210   
    InternalServerError(crate::error::InternalServerError),
 1272   1211   
}
 1273         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1212  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
 1274   1213   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1275   1214   
        match &self {
 1276         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
        1215  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
 1277   1216   
                _inner,
 1278   1217   
            ) => _inner.fmt(f),
 1279         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
        1218  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
 1280   1219   
                _inner,
 1281   1220   
            ) => _inner.fmt(f),
 1282   1221   
        }
 1283   1222   
    }
 1284   1223   
}
 1285         -
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
 1286         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
        1224  +
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
        1225  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
 1287   1226   
    pub fn is_validation_exception(&self) -> bool {
 1288   1227   
        matches!(
 1289   1228   
            &self,
 1290         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
        1229  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
 1291   1230   
        )
 1292   1231   
    }
 1293         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError`.
        1232  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError`.
 1294   1233   
    pub fn is_internal_server_error(&self) -> bool {
 1295   1234   
        matches!(
 1296   1235   
            &self,
 1297         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(_)
        1236  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(_)
 1298   1237   
        )
 1299   1238   
    }
 1300   1239   
    /// Returns the error name string by matching the correct variant.
 1301   1240   
    pub fn name(&self) -> &'static str {
 1302   1241   
        match &self {
 1303         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
        1242  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
 1304   1243   
                _inner,
 1305   1244   
            ) => _inner.name(),
 1306         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
        1245  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
 1307   1246   
                _inner,
 1308   1247   
            ) => _inner.name(),
 1309   1248   
        }
 1310   1249   
    }
 1311   1250   
}
 1312         -
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1251  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
 1313   1252   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1314   1253   
        match &self {
 1315         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
        1254  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
 1316   1255   
                _inner,
 1317   1256   
            ) => Some(_inner),
 1318         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
        1257  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
 1319   1258   
                _inner,
 1320   1259   
            ) => Some(_inner),
 1321   1260   
        }
 1322   1261   
    }
 1323   1262   
}
 1324   1263   
impl ::std::convert::From<crate::error::ValidationException>
 1325         -
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
        1264  +
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
 1326   1265   
{
 1327   1266   
    fn from(
 1328   1267   
        variant: crate::error::ValidationException,
 1329         -
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1268  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
 1330   1269   
        Self::ValidationException(variant)
 1331   1270   
    }
 1332   1271   
}
 1333   1272   
impl ::std::convert::From<crate::error::InternalServerError>
 1334         -
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
        1273  +
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
 1335   1274   
{
 1336   1275   
    fn from(
 1337   1276   
        variant: crate::error::InternalServerError,
 1338         -
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1277  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
 1339   1278   
        Self::InternalServerError(variant)
 1340   1279   
    }
 1341   1280   
}
 1342   1281   
 1343   1282   
impl ::std::convert::From<::pyo3::PyErr>
 1344         -
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
        1283  +
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
 1345   1284   
{
 1346   1285   
    fn from(
 1347   1286   
        variant: ::pyo3::PyErr,
 1348         -
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1287  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
 1349   1288   
        ::pyo3::Python::with_gil(|py| {
 1350   1289   
            let error = variant.value(py);
 1351   1290   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1352   1291   
                return error.into();
 1353   1292   
            }
 1354   1293   
            crate::error::InternalServerError {
 1355   1294   
                message: error.to_string(),
 1356   1295   
            }
 1357   1296   
            .into()
 1358   1297   
        })
 1359   1298   
    }
 1360   1299   
}
 1361   1300   
 1362         -
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
 1363         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        1301  +
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
        1302  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
 1364   1303   
#[derive(::std::fmt::Debug)]
 1365         -
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1304  +
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
 1366   1305   
    /// 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.
 1367   1306   
    ValidationException(crate::error::ValidationException),
 1368   1307   
    #[allow(missing_docs)] // documentation missing in model
 1369   1308   
    InternalServerError(crate::error::InternalServerError),
 1370   1309   
}
 1371         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1310  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
 1372   1311   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1373   1312   
        match &self {
 1374         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
 1375         -
                _inner,
 1376         -
            ) => _inner.fmt(f),
 1377         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
 1378         -
                _inner,
 1379         -
            ) => _inner.fmt(f),
        1313  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
        1314  +
            _inner.fmt(f)
        1315  +
            ,
        1316  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
        1317  +
            _inner.fmt(f)
        1318  +
            ,
 1380   1319   
        }
 1381   1320   
    }
 1382   1321   
}
 1383         -
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
 1384         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
        1322  +
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
        1323  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
 1385   1324   
    pub fn is_validation_exception(&self) -> bool {
 1386   1325   
        matches!(
 1387   1326   
            &self,
 1388         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
        1327  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
        1328  +
                _
        1329  +
            )
 1389   1330   
        )
 1390   1331   
    }
 1391         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError`.
        1332  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError`.
 1392   1333   
    pub fn is_internal_server_error(&self) -> bool {
 1393   1334   
        matches!(
 1394   1335   
            &self,
 1395         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(_)
        1336  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(
        1337  +
                _
        1338  +
            )
 1396   1339   
        )
 1397   1340   
    }
 1398   1341   
    /// Returns the error name string by matching the correct variant.
 1399   1342   
    pub fn name(&self) -> &'static str {
 1400   1343   
        match &self {
 1401         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
 1402         -
                _inner,
 1403         -
            ) => _inner.name(),
 1404         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
 1405         -
                _inner,
 1406         -
            ) => _inner.name(),
        1344  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
        1345  +
            _inner.name()
        1346  +
            ,
        1347  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
        1348  +
            _inner.name()
        1349  +
            ,
 1407   1350   
        }
 1408   1351   
    }
 1409   1352   
}
 1410         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1353  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
 1411   1354   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1412   1355   
        match &self {
 1413         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
 1414         -
                _inner,
 1415         -
            ) => Some(_inner),
 1416         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
 1417         -
                _inner,
 1418         -
            ) => Some(_inner),
        1356  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
        1357  +
            Some(_inner)
        1358  +
            ,
        1359  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
        1360  +
            Some(_inner)
        1361  +
            ,
 1419   1362   
        }
 1420   1363   
    }
 1421   1364   
}
 1422   1365   
impl ::std::convert::From<crate::error::ValidationException>
 1423         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
        1366  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
 1424   1367   
{
 1425   1368   
    fn from(
 1426   1369   
        variant: crate::error::ValidationException,
 1427         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1370  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
 1428   1371   
        Self::ValidationException(variant)
 1429   1372   
    }
 1430   1373   
}
 1431   1374   
impl ::std::convert::From<crate::error::InternalServerError>
 1432         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
        1375  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
 1433   1376   
{
 1434   1377   
    fn from(
 1435   1378   
        variant: crate::error::InternalServerError,
 1436         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1379  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
 1437   1380   
        Self::InternalServerError(variant)
 1438   1381   
    }
 1439   1382   
}
 1440   1383   
 1441   1384   
impl ::std::convert::From<::pyo3::PyErr>
 1442         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
        1385  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
 1443   1386   
{
 1444   1387   
    fn from(
 1445   1388   
        variant: ::pyo3::PyErr,
 1446         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1389  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
 1447   1390   
        ::pyo3::Python::with_gil(|py| {
 1448   1391   
            let error = variant.value(py);
 1449   1392   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1450   1393   
                return error.into();
 1451   1394   
            }
 1452   1395   
            crate::error::InternalServerError {
 1453   1396   
                message: error.to_string(),
 1454   1397   
            }
 1455   1398   
            .into()
 1456   1399   
        })
 1457   1400   
    }
 1458   1401   
}
 1459   1402   
 1460         -
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
 1461         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        1403  +
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
        1404  +
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
 1462   1405   
#[derive(::std::fmt::Debug)]
 1463         -
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
        1406  +
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
 1464   1407   
    /// 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.
 1465   1408   
    ValidationException(crate::error::ValidationException),
 1466   1409   
    #[allow(missing_docs)] // documentation missing in model
 1467   1410   
    InternalServerError(crate::error::InternalServerError),
 1468   1411   
}
 1469         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
        1412  +
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
 1470   1413   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1471   1414   
        match &self {
 1472         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1415  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
 1473   1416   
                _inner.fmt(f)
 1474   1417   
            }
 1475         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
        1418  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
 1476   1419   
                _inner.fmt(f)
 1477   1420   
            }
 1478   1421   
        }
 1479   1422   
    }
 1480   1423   
}
 1481         -
impl QueryParamsTargetingMapOfLengthStringOperationError {
 1482         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
        1424  +
impl HttpPrefixHeadersTargetingLengthMapOperationError {
        1425  +
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
 1483   1426   
    pub fn is_validation_exception(&self) -> bool {
 1484   1427   
        matches!(
 1485   1428   
            &self,
 1486         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
        1429  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
 1487   1430   
        )
 1488   1431   
    }
 1489         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError`.
        1432  +
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError`.
 1490   1433   
    pub fn is_internal_server_error(&self) -> bool {
 1491   1434   
        matches!(
 1492   1435   
            &self,
 1493         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_)
        1436  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_)
 1494   1437   
        )
 1495   1438   
    }
 1496   1439   
    /// Returns the error name string by matching the correct variant.
 1497   1440   
    pub fn name(&self) -> &'static str {
 1498   1441   
        match &self {
 1499         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1442  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
 1500   1443   
                _inner.name()
 1501   1444   
            }
 1502         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
        1445  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
 1503   1446   
                _inner.name()
 1504   1447   
            }
 1505   1448   
        }
 1506   1449   
    }
 1507   1450   
}
 1508         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
        1451  +
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
 1509   1452   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1510   1453   
        match &self {
 1511         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1454  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
 1512   1455   
                Some(_inner)
 1513   1456   
            }
 1514         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
        1457  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
 1515   1458   
                Some(_inner)
 1516   1459   
            }
 1517   1460   
        }
 1518   1461   
    }
 1519   1462   
}
 1520   1463   
impl ::std::convert::From<crate::error::ValidationException>
 1521         -
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
        1464  +
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
 1522   1465   
{
 1523   1466   
    fn from(
 1524   1467   
        variant: crate::error::ValidationException,
 1525         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        1468  +
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
 1526   1469   
        Self::ValidationException(variant)
 1527   1470   
    }
 1528   1471   
}
 1529   1472   
impl ::std::convert::From<crate::error::InternalServerError>
 1530         -
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
        1473  +
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
 1531   1474   
{
 1532   1475   
    fn from(
 1533   1476   
        variant: crate::error::InternalServerError,
 1534         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        1477  +
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
 1535   1478   
        Self::InternalServerError(variant)
 1536   1479   
    }
 1537   1480   
}
 1538   1481   
 1539   1482   
impl ::std::convert::From<::pyo3::PyErr>
 1540         -
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
        1483  +
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
 1541   1484   
{
 1542   1485   
    fn from(
 1543   1486   
        variant: ::pyo3::PyErr,
 1544         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        1487  +
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
 1545   1488   
        ::pyo3::Python::with_gil(|py| {
 1546   1489   
            let error = variant.value(py);
 1547   1490   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1548   1491   
                return error.into();
 1549   1492   
            }
 1550   1493   
            crate::error::InternalServerError {
 1551   1494   
                message: error.to_string(),
 1552   1495   
            }
 1553   1496   
            .into()
 1554   1497   
        })
 1555   1498   
    }
 1556   1499   
}
 1557   1500   
 1558         -
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
 1559         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
        1501  +
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
        1502  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
 1560   1503   
#[derive(::std::fmt::Debug)]
 1561         -
pub enum QueryParamsTargetingLengthMapOperationError {
        1504  +
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
 1562   1505   
    /// 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.
 1563   1506   
    ValidationException(crate::error::ValidationException),
 1564   1507   
    #[allow(missing_docs)] // documentation missing in model
 1565   1508   
    InternalServerError(crate::error::InternalServerError),
 1566   1509   
}
 1567         -
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
        1510  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
 1568   1511   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1569   1512   
        match &self {
 1570         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1513  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
 1571   1514   
                _inner.fmt(f)
 1572   1515   
            }
 1573         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
        1516  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
 1574   1517   
                _inner.fmt(f)
 1575   1518   
            }
 1576   1519   
        }
 1577   1520   
    }
 1578   1521   
}
 1579         -
impl QueryParamsTargetingLengthMapOperationError {
 1580         -
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
        1522  +
impl QueryParamsTargetingMapOfEnumStringOperationError {
        1523  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
 1581   1524   
    pub fn is_validation_exception(&self) -> bool {
 1582   1525   
        matches!(
 1583   1526   
            &self,
 1584         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
        1527  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
 1585   1528   
        )
 1586   1529   
    }
 1587         -
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::InternalServerError`.
        1530  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError`.
 1588   1531   
    pub fn is_internal_server_error(&self) -> bool {
 1589   1532   
        matches!(
 1590   1533   
            &self,
 1591         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_)
        1534  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_)
 1592   1535   
        )
 1593   1536   
    }
 1594   1537   
    /// Returns the error name string by matching the correct variant.
 1595   1538   
    pub fn name(&self) -> &'static str {
 1596   1539   
        match &self {
 1597         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1540  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
 1598   1541   
                _inner.name()
 1599   1542   
            }
 1600         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
        1543  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
 1601   1544   
                _inner.name()
 1602   1545   
            }
 1603   1546   
        }
 1604   1547   
    }
 1605   1548   
}
 1606         -
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
        1549  +
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
 1607   1550   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1608   1551   
        match &self {
 1609         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1552  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
 1610   1553   
                Some(_inner)
 1611   1554   
            }
 1612         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
        1555  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
 1613   1556   
                Some(_inner)
 1614   1557   
            }
 1615   1558   
        }
 1616   1559   
    }
 1617   1560   
}
 1618   1561   
impl ::std::convert::From<crate::error::ValidationException>
 1619         -
    for crate::error::QueryParamsTargetingLengthMapOperationError
        1562  +
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
 1620   1563   
{
 1621   1564   
    fn from(
 1622   1565   
        variant: crate::error::ValidationException,
 1623         -
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        1566  +
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
 1624   1567   
        Self::ValidationException(variant)
 1625   1568   
    }
 1626   1569   
}
 1627   1570   
impl ::std::convert::From<crate::error::InternalServerError>
 1628         -
    for crate::error::QueryParamsTargetingLengthMapOperationError
        1571  +
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
 1629   1572   
{
 1630   1573   
    fn from(
 1631   1574   
        variant: crate::error::InternalServerError,
 1632         -
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        1575  +
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
 1633   1576   
        Self::InternalServerError(variant)
 1634   1577   
    }
 1635   1578   
}
 1636   1579   
 1637   1580   
impl ::std::convert::From<::pyo3::PyErr>
 1638         -
    for crate::error::QueryParamsTargetingLengthMapOperationError
        1581  +
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
 1639   1582   
{
 1640         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        1583  +
    fn from(
        1584  +
        variant: ::pyo3::PyErr,
        1585  +
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
 1641   1586   
        ::pyo3::Python::with_gil(|py| {
 1642   1587   
            let error = variant.value(py);
 1643   1588   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1644   1589   
                return error.into();
 1645   1590   
            }
 1646   1591   
            crate::error::InternalServerError {
 1647   1592   
                message: error.to_string(),
 1648   1593   
            }
 1649   1594   
            .into()
 1650   1595   
        })
 1651   1596   
    }
 1652   1597   
}
 1653   1598   
 1654         -
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
 1655         -
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
        1599  +
/// Error type for the `NonStreamingBlobOperation` operation.
        1600  +
/// Each variant represents an error that can occur for the `NonStreamingBlobOperation` operation.
 1656   1601   
#[derive(::std::fmt::Debug)]
 1657         -
pub enum ConstrainedRecursiveShapesOperationError {
 1658         -
    /// 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.
 1659         -
    ValidationException(crate::error::ValidationException),
        1602  +
pub enum NonStreamingBlobOperationError {
 1660   1603   
    #[allow(missing_docs)] // documentation missing in model
 1661   1604   
    InternalServerError(crate::error::InternalServerError),
 1662   1605   
}
 1663         -
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
        1606  +
impl ::std::fmt::Display for NonStreamingBlobOperationError {
 1664   1607   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1665   1608   
        match &self {
 1666         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
 1667         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
        1609  +
            NonStreamingBlobOperationError::InternalServerError(_inner) => _inner.fmt(f),
 1668   1610   
        }
 1669   1611   
    }
 1670   1612   
}
 1671         -
impl ConstrainedRecursiveShapesOperationError {
 1672         -
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
 1673         -
    pub fn is_validation_exception(&self) -> bool {
 1674         -
        matches!(
 1675         -
            &self,
 1676         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
 1677         -
        )
 1678         -
    }
 1679         -
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::InternalServerError`.
        1613  +
impl NonStreamingBlobOperationError {
        1614  +
    /// Returns `true` if the error kind is `NonStreamingBlobOperationError::InternalServerError`.
 1680   1615   
    pub fn is_internal_server_error(&self) -> bool {
 1681   1616   
        matches!(
 1682   1617   
            &self,
 1683         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_)
        1618  +
            NonStreamingBlobOperationError::InternalServerError(_)
 1684   1619   
        )
 1685   1620   
    }
 1686   1621   
    /// Returns the error name string by matching the correct variant.
 1687   1622   
    pub fn name(&self) -> &'static str {
 1688   1623   
        match &self {
 1689         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
 1690         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => _inner.name(),
        1624  +
            NonStreamingBlobOperationError::InternalServerError(_inner) => _inner.name(),
 1691   1625   
        }
 1692   1626   
    }
 1693   1627   
}
 1694         -
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
        1628  +
impl ::std::error::Error for NonStreamingBlobOperationError {
 1695   1629   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1696   1630   
        match &self {
 1697         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
 1698         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => Some(_inner),
        1631  +
            NonStreamingBlobOperationError::InternalServerError(_inner) => Some(_inner),
 1699   1632   
        }
 1700   1633   
    }
 1701   1634   
}
 1702         -
impl ::std::convert::From<crate::error::ValidationException>
 1703         -
    for crate::error::ConstrainedRecursiveShapesOperationError
 1704         -
{
 1705         -
    fn from(
 1706         -
        variant: crate::error::ValidationException,
 1707         -
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
 1708         -
        Self::ValidationException(variant)
 1709         -
    }
 1710         -
}
 1711   1635   
impl ::std::convert::From<crate::error::InternalServerError>
 1712         -
    for crate::error::ConstrainedRecursiveShapesOperationError
        1636  +
    for crate::error::NonStreamingBlobOperationError
 1713   1637   
{
 1714   1638   
    fn from(
 1715   1639   
        variant: crate::error::InternalServerError,
 1716         -
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
        1640  +
    ) -> crate::error::NonStreamingBlobOperationError {
 1717   1641   
        Self::InternalServerError(variant)
 1718   1642   
    }
 1719   1643   
}
 1720   1644   
 1721         -
impl ::std::convert::From<::pyo3::PyErr>
 1722         -
    for crate::error::ConstrainedRecursiveShapesOperationError
 1723         -
{
 1724         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedRecursiveShapesOperationError {
        1645  +
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NonStreamingBlobOperationError {
        1646  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::NonStreamingBlobOperationError {
 1725   1647   
        ::pyo3::Python::with_gil(|py| {
 1726   1648   
            let error = variant.value(py);
 1727         -
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1728         -
                return error.into();
 1729         -
            }
        1649  +
 1730   1650   
            crate::error::InternalServerError {
 1731   1651   
                message: error.to_string(),
 1732   1652   
            }
 1733   1653   
            .into()
 1734   1654   
        })
 1735   1655   
    }
 1736   1656   
}
 1737   1657   
 1738         -
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
 1739         -
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        1658  +
/// Error type for the `StreamingBlobOperation` operation.
        1659  +
/// Each variant represents an error that can occur for the `StreamingBlobOperation` operation.
 1740   1660   
#[derive(::std::fmt::Debug)]
 1741         -
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
 1742         -
    /// 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.
 1743         -
    ValidationException(crate::error::ValidationException),
        1661  +
pub enum StreamingBlobOperationError {
 1744   1662   
    #[allow(missing_docs)] // documentation missing in model
 1745   1663   
    InternalServerError(crate::error::InternalServerError),
 1746   1664   
}
 1747         -
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
        1665  +
impl ::std::fmt::Display for StreamingBlobOperationError {
 1748   1666   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1749   1667   
        match &self {
 1750         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
 1751         -
                _inner.fmt(f)
 1752         -
            }
 1753         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
 1754         -
                _inner.fmt(f)
 1755         -
            }
        1668  +
            StreamingBlobOperationError::InternalServerError(_inner) => _inner.fmt(f),
 1756   1669   
        }
 1757   1670   
    }
 1758   1671   
}
 1759         -
impl ConstrainedHttpPayloadBoundShapeOperationError {
 1760         -
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
 1761         -
    pub fn is_validation_exception(&self) -> bool {
 1762         -
        matches!(
 1763         -
            &self,
 1764         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
 1765         -
        )
 1766         -
    }
 1767         -
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError`.
        1672  +
impl StreamingBlobOperationError {
        1673  +
    /// Returns `true` if the error kind is `StreamingBlobOperationError::InternalServerError`.
 1768   1674   
    pub fn is_internal_server_error(&self) -> bool {
 1769         -
        matches!(
 1770         -
            &self,
 1771         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_)
 1772         -
        )
        1675  +
        matches!(&self, StreamingBlobOperationError::InternalServerError(_))
 1773   1676   
    }
 1774   1677   
    /// Returns the error name string by matching the correct variant.
 1775   1678   
    pub fn name(&self) -> &'static str {
 1776   1679   
        match &self {
 1777         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
 1778         -
                _inner.name()
 1779         -
            }
 1780         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
 1781         -
                _inner.name()
 1782         -
            }
        1680  +
            StreamingBlobOperationError::InternalServerError(_inner) => _inner.name(),
 1783   1681   
        }
 1784   1682   
    }
 1785   1683   
}
 1786         -
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
        1684  +
impl ::std::error::Error for StreamingBlobOperationError {
 1787   1685   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1788   1686   
        match &self {
 1789         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
 1790         -
                Some(_inner)
 1791         -
            }
 1792         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
 1793         -
                Some(_inner)
 1794         -
            }
        1687  +
            StreamingBlobOperationError::InternalServerError(_inner) => Some(_inner),
 1795   1688   
        }
 1796   1689   
    }
 1797   1690   
}
 1798         -
impl ::std::convert::From<crate::error::ValidationException>
 1799         -
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
 1800         -
{
 1801         -
    fn from(
 1802         -
        variant: crate::error::ValidationException,
 1803         -
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
 1804         -
        Self::ValidationException(variant)
 1805         -
    }
 1806         -
}
 1807   1691   
impl ::std::convert::From<crate::error::InternalServerError>
 1808         -
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
        1692  +
    for crate::error::StreamingBlobOperationError
 1809   1693   
{
 1810   1694   
    fn from(
 1811   1695   
        variant: crate::error::InternalServerError,
 1812         -
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
        1696  +
    ) -> crate::error::StreamingBlobOperationError {
 1813   1697   
        Self::InternalServerError(variant)
 1814   1698   
    }
 1815   1699   
}
 1816   1700   
 1817         -
impl ::std::convert::From<::pyo3::PyErr>
 1818         -
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
 1819         -
{
 1820         -
    fn from(
 1821         -
        variant: ::pyo3::PyErr,
 1822         -
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
        1701  +
impl ::std::convert::From<::pyo3::PyErr> for crate::error::StreamingBlobOperationError {
        1702  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::StreamingBlobOperationError {
 1823   1703   
        ::pyo3::Python::with_gil(|py| {
 1824   1704   
            let error = variant.value(py);
 1825         -
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1826         -
                return error.into();
 1827         -
            }
        1705  +
 1828   1706   
            crate::error::InternalServerError {
 1829   1707   
                message: error.to_string(),
 1830   1708   
            }
 1831   1709   
            .into()
 1832   1710   
        })
 1833   1711   
    }
 1834   1712   
}
 1835   1713   
 1836         -
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
 1837         -
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
        1714  +
/// Error type for the `EventStreamsOperation` operation.
        1715  +
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
 1838   1716   
#[derive(::std::fmt::Debug)]
 1839         -
pub enum ConstrainedHttpBoundShapesOperationError {
        1717  +
pub enum EventStreamsOperationError {
 1840   1718   
    /// 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.
 1841   1719   
    ValidationException(crate::error::ValidationException),
 1842   1720   
    #[allow(missing_docs)] // documentation missing in model
        1721  +
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
        1722  +
    #[allow(missing_docs)] // documentation missing in model
 1843   1723   
    InternalServerError(crate::error::InternalServerError),
 1844   1724   
}
 1845         -
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
        1725  +
impl ::std::fmt::Display for EventStreamsOperationError {
 1846   1726   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1847   1727   
        match &self {
 1848         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
 1849         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
        1728  +
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
        1729  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
        1730  +
            EventStreamsOperationError::InternalServerError(_inner) => _inner.fmt(f),
 1850   1731   
        }
 1851   1732   
    }
 1852   1733   
}
 1853         -
impl ConstrainedHttpBoundShapesOperationError {
 1854         -
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
        1734  +
impl EventStreamsOperationError {
        1735  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
 1855   1736   
    pub fn is_validation_exception(&self) -> bool {
        1737  +
        matches!(&self, EventStreamsOperationError::ValidationException(_))
        1738  +
    }
        1739  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
        1740  +
    pub fn is_event_stream_error_message(&self) -> bool {
 1856   1741   
        matches!(
 1857   1742   
            &self,
 1858         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
        1743  +
            EventStreamsOperationError::EventStreamErrorMessage(_)
 1859   1744   
        )
 1860   1745   
    }
 1861         -
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::InternalServerError`.
        1746  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::InternalServerError`.
 1862   1747   
    pub fn is_internal_server_error(&self) -> bool {
 1863         -
        matches!(
 1864         -
            &self,
 1865         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_)
 1866         -
        )
        1748  +
        matches!(&self, EventStreamsOperationError::InternalServerError(_))
 1867   1749   
    }
 1868   1750   
    /// Returns the error name string by matching the correct variant.
 1869   1751   
    pub fn name(&self) -> &'static str {
 1870   1752   
        match &self {
 1871         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
 1872         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => _inner.name(),
        1753  +
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
        1754  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
        1755  +
            EventStreamsOperationError::InternalServerError(_inner) => _inner.name(),
 1873   1756   
        }
 1874   1757   
    }
 1875   1758   
}
 1876         -
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
        1759  +
impl ::std::error::Error for EventStreamsOperationError {
 1877   1760   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1878   1761   
        match &self {
 1879         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
 1880         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => Some(_inner),
        1762  +
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
        1763  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
        1764  +
            EventStreamsOperationError::InternalServerError(_inner) => Some(_inner),
 1881   1765   
        }
 1882   1766   
    }
 1883   1767   
}
 1884   1768   
impl ::std::convert::From<crate::error::ValidationException>
 1885         -
    for crate::error::ConstrainedHttpBoundShapesOperationError
        1769  +
    for crate::error::EventStreamsOperationError
 1886   1770   
{
 1887   1771   
    fn from(
 1888   1772   
        variant: crate::error::ValidationException,
 1889         -
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        1773  +
    ) -> crate::error::EventStreamsOperationError {
 1890   1774   
        Self::ValidationException(variant)
 1891   1775   
    }
 1892   1776   
}
        1777  +
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
        1778  +
    for crate::error::EventStreamsOperationError
        1779  +
{
        1780  +
    fn from(
        1781  +
        variant: crate::error::EventStreamErrorMessage,
        1782  +
    ) -> crate::error::EventStreamsOperationError {
        1783  +
        Self::EventStreamErrorMessage(variant)
        1784  +
    }
        1785  +
}
 1893   1786   
impl ::std::convert::From<crate::error::InternalServerError>
 1894         -
    for crate::error::ConstrainedHttpBoundShapesOperationError
        1787  +
    for crate::error::EventStreamsOperationError
 1895   1788   
{
 1896   1789   
    fn from(
 1897   1790   
        variant: crate::error::InternalServerError,
 1898         -
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        1791  +
    ) -> crate::error::EventStreamsOperationError {
 1899   1792   
        Self::InternalServerError(variant)
 1900   1793   
    }
 1901   1794   
}
 1902   1795   
 1903         -
impl ::std::convert::From<::pyo3::PyErr>
 1904         -
    for crate::error::ConstrainedHttpBoundShapesOperationError
 1905         -
{
 1906         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        1796  +
impl ::std::convert::From<::pyo3::PyErr> for crate::error::EventStreamsOperationError {
        1797  +
    fn from(variant: ::pyo3::PyErr) -> crate::error::EventStreamsOperationError {
 1907   1798   
        ::pyo3::Python::with_gil(|py| {
 1908   1799   
            let error = variant.value(py);
 1909   1800   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1910   1801   
                return error.into();
 1911   1802   
            }
        1803  +
            if let Ok(error) = error.extract::<crate::error::EventStreamErrorMessage>() {
        1804  +
                return error.into();
        1805  +
            }
 1912   1806   
            crate::error::InternalServerError {
 1913   1807   
                message: error.to_string(),
 1914   1808   
            }
 1915   1809   
            .into()
 1916   1810   
        })
 1917   1811   
    }
 1918   1812   
}
 1919   1813   
 1920         -
/// Error type for the `ConstrainedShapesOnlyInOutputOperation` operation.
 1921         -
/// Each variant represents an error that can occur for the `ConstrainedShapesOnlyInOutputOperation` operation.
 1922         -
#[derive(::std::fmt::Debug)]
 1923         -
pub enum ConstrainedShapesOnlyInOutputOperationError {
 1924         -
    #[allow(missing_docs)] // documentation missing in model
 1925         -
    InternalServerError(crate::error::InternalServerError),
        1814  +
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
        1815  +
/// :param message str:
        1816  +
/// :param field_list typing.Optional\[typing.List\[constraints.model.ValidationExceptionField\]\]:
        1817  +
/// :rtype None:
        1818  +
/// 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.
        1819  +
#[derive(
        1820  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
        1821  +
)]
        1822  +
pub struct ValidationException {
        1823  +
    #[pyo3(get, set)]
        1824  +
    /// :type str:
        1825  +
    /// A summary of the validation failure.
        1826  +
    pub message: ::std::string::String,
        1827  +
    #[pyo3(get, set)]
        1828  +
    /// :type typing.Optional\[typing.List\[constraints.model.ValidationExceptionField\]\]:
        1829  +
    /// 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.
        1830  +
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 1926   1831   
}
 1927         -
impl ::std::fmt::Display for ConstrainedShapesOnlyInOutputOperationError {
 1928         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1929         -
        match &self {
 1930         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
 1931         -
                _inner.fmt(f)
 1932         -
            }
        1832  +
impl ValidationException {
        1833  +
    /// 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.
        1834  +
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
        1835  +
        self.field_list.as_deref()
        1836  +
    }
        1837  +
}
        1838  +
#[allow(clippy::new_without_default)]
        1839  +
#[allow(clippy::too_many_arguments)]
        1840  +
#[::pyo3::pymethods]
        1841  +
impl ValidationException {
        1842  +
    #[new]
        1843  +
    pub fn new(
        1844  +
        message: ::std::string::String,
        1845  +
        field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        1846  +
    ) -> Self {
        1847  +
        Self {
        1848  +
            message,
        1849  +
            field_list,
 1933   1850   
        }
 1934   1851   
    }
        1852  +
    fn __repr__(&self) -> String {
        1853  +
        format!("{self:?}")
        1854  +
    }
        1855  +
    fn __str__(&self) -> String {
        1856  +
        format!("{self:?}")
        1857  +
    }
 1935   1858   
}
 1936         -
impl ConstrainedShapesOnlyInOutputOperationError {
 1937         -
    /// Returns `true` if the error kind is `ConstrainedShapesOnlyInOutputOperationError::InternalServerError`.
 1938         -
    pub fn is_internal_server_error(&self) -> bool {
 1939         -
        matches!(
 1940         -
            &self,
 1941         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_)
 1942         -
        )
        1859  +
impl ValidationException {
        1860  +
    /// Returns the error message.
        1861  +
    pub fn message(&self) -> &str {
        1862  +
        &self.message
 1943   1863   
    }
 1944         -
    /// Returns the error name string by matching the correct variant.
        1864  +
    #[doc(hidden)]
        1865  +
    /// Returns the error name.
 1945   1866   
    pub fn name(&self) -> &'static str {
 1946         -
        match &self {
 1947         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
 1948         -
                _inner.name()
 1949         -
            }
        1867  +
        "ValidationException"
        1868  +
    }
        1869  +
}
        1870  +
impl ::std::fmt::Display for ValidationException {
        1871  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1872  +
        ::std::write!(f, "ValidationException")?;
        1873  +
        {
        1874  +
            ::std::write!(f, ": {}", &self.message)?;
 1950   1875   
        }
        1876  +
        Ok(())
 1951   1877   
    }
 1952   1878   
}
 1953         -
impl ::std::error::Error for ConstrainedShapesOnlyInOutputOperationError {
 1954         -
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 1955         -
        match &self {
 1956         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
 1957         -
                Some(_inner)
 1958         -
            }
        1879  +
impl ::std::error::Error for ValidationException {}
        1880  +
impl ValidationException {
        1881  +
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
        1882  +
    pub fn builder() -> crate::error::validation_exception::Builder {
        1883  +
        crate::error::validation_exception::Builder::default()
        1884  +
    }
        1885  +
}
        1886  +
        1887  +
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
        1888  +
/// :param message str:
        1889  +
/// :rtype None:
        1890  +
#[allow(missing_docs)] // documentation missing in model
        1891  +
#[derive(
        1892  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
        1893  +
)]
        1894  +
pub struct InternalServerError {
        1895  +
    #[pyo3(get, set)]
        1896  +
    /// :type str:
        1897  +
    #[allow(missing_docs)] // documentation missing in model
        1898  +
    pub message: ::std::string::String,
        1899  +
}
        1900  +
#[allow(clippy::new_without_default)]
        1901  +
#[allow(clippy::too_many_arguments)]
        1902  +
#[::pyo3::pymethods]
        1903  +
impl InternalServerError {
        1904  +
    #[new]
        1905  +
    pub fn new(message: ::std::string::String) -> Self {
        1906  +
        Self { message }
        1907  +
    }
        1908  +
    fn __repr__(&self) -> String {
        1909  +
        format!("{self:?}")
        1910  +
    }
        1911  +
    fn __str__(&self) -> String {
        1912  +
        format!("{self:?}")
        1913  +
    }
        1914  +
}
        1915  +
impl InternalServerError {
        1916  +
    /// Returns the error message.
        1917  +
    pub fn message(&self) -> &str {
        1918  +
        &self.message
        1919  +
    }
        1920  +
    #[doc(hidden)]
        1921  +
    /// Returns the error name.
        1922  +
    pub fn name(&self) -> &'static str {
        1923  +
        "InternalServerError"
        1924  +
    }
        1925  +
}
        1926  +
impl ::std::fmt::Display for InternalServerError {
        1927  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1928  +
        ::std::write!(f, "InternalServerError")?;
        1929  +
        {
        1930  +
            ::std::write!(f, ": {}", &self.message)?;
 1959   1931   
        }
        1932  +
        Ok(())
        1933  +
    }
        1934  +
}
        1935  +
impl ::std::error::Error for InternalServerError {}
        1936  +
impl InternalServerError {
        1937  +
    /// Creates a new builder-style object to manufacture [`InternalServerError`](crate::error::InternalServerError).
        1938  +
    pub fn builder() -> crate::error::internal_server_error::Builder {
        1939  +
        crate::error::internal_server_error::Builder::default()
        1940  +
    }
        1941  +
}
        1942  +
        1943  +
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
        1944  +
/// :param message_content typing.Optional\[str\]:
        1945  +
/// :rtype None:
        1946  +
#[allow(missing_docs)] // documentation missing in model
        1947  +
#[derive(
        1948  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
        1949  +
)]
        1950  +
pub struct EventStreamErrorMessage {
        1951  +
    #[pyo3(get, set)]
        1952  +
    /// :type typing.Optional\[str\]:
        1953  +
    #[allow(missing_docs)] // documentation missing in model
        1954  +
    pub message_content: ::std::option::Option<::std::string::String>,
        1955  +
}
        1956  +
impl EventStreamErrorMessage {
        1957  +
    #[allow(missing_docs)] // documentation missing in model
        1958  +
    pub fn message_content(&self) -> ::std::option::Option<&str> {
        1959  +
        self.message_content.as_deref()
        1960  +
    }
        1961  +
}
        1962  +
#[allow(clippy::new_without_default)]
        1963  +
#[allow(clippy::too_many_arguments)]
        1964  +
#[::pyo3::pymethods]
        1965  +
impl EventStreamErrorMessage {
        1966  +
    #[new]
        1967  +
    pub fn new(message_content: ::std::option::Option<::std::string::String>) -> Self {
        1968  +
        Self { message_content }
        1969  +
    }
        1970  +
    fn __repr__(&self) -> String {
        1971  +
        format!("{self:?}")
        1972  +
    }
        1973  +
    fn __str__(&self) -> String {
        1974  +
        format!("{self:?}")
        1975  +
    }
        1976  +
}
        1977  +
impl EventStreamErrorMessage {
        1978  +
    #[doc(hidden)]
        1979  +
    /// Returns the error name.
        1980  +
    pub fn name(&self) -> &'static str {
        1981  +
        "EventStreamErrorMessage"
 1960   1982   
    }
 1961   1983   
}
 1962         -
impl ::std::convert::From<crate::error::InternalServerError>
 1963         -
    for crate::error::ConstrainedShapesOnlyInOutputOperationError
 1964         -
{
 1965         -
    fn from(
 1966         -
        variant: crate::error::InternalServerError,
 1967         -
    ) -> crate::error::ConstrainedShapesOnlyInOutputOperationError {
 1968         -
        Self::InternalServerError(variant)
        1984  +
impl ::std::fmt::Display for EventStreamErrorMessage {
        1985  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1986  +
        ::std::write!(f, "EventStreamErrorMessage")?;
        1987  +
        Ok(())
 1969   1988   
    }
 1970   1989   
}
 1971         -
 1972         -
impl ::std::convert::From<::pyo3::PyErr>
 1973         -
    for crate::error::ConstrainedShapesOnlyInOutputOperationError
 1974         -
{
 1975         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedShapesOnlyInOutputOperationError {
 1976         -
        ::pyo3::Python::with_gil(|py| {
 1977         -
            let error = variant.value(py);
 1978         -
 1979         -
            crate::error::InternalServerError {
 1980         -
                message: error.to_string(),
 1981         -
            }
 1982         -
            .into()
 1983         -
        })
        1990  +
impl ::std::error::Error for EventStreamErrorMessage {}
        1991  +
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
        1992  +
    type Unconstrained = crate::error::event_stream_error_message_internal::Builder;
        1993  +
}
        1994  +
impl EventStreamErrorMessage {
        1995  +
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1996  +
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
        1997  +
        crate::error::event_stream_error_message::Builder::default()
 1984   1998   
    }
 1985   1999   
}
 1986   2000   
 1987         -
/// Error type for the `ConstrainedShapesOperation` operation.
 1988         -
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
        2001  +
/// Error type for the `Event` operation.
        2002  +
/// Each variant represents an error that can occur for the `Event` operation.
 1989   2003   
#[derive(::std::fmt::Debug)]
 1990         -
pub enum ConstrainedShapesOperationError {
 1991         -
    /// 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.
 1992         -
    ValidationException(crate::error::ValidationException),
        2004  +
pub enum EventError {
 1993   2005   
    #[allow(missing_docs)] // documentation missing in model
 1994         -
    InternalServerError(crate::error::InternalServerError),
        2006  +
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
 1995   2007   
}
 1996         -
impl ::std::fmt::Display for ConstrainedShapesOperationError {
        2008  +
impl ::std::fmt::Display for EventError {
 1997   2009   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1998   2010   
        match &self {
 1999         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
 2000         -
            ConstrainedShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
        2011  +
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
 2001   2012   
        }
 2002   2013   
    }
 2003   2014   
}
 2004         -
impl ConstrainedShapesOperationError {
 2005         -
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
 2006         -
    pub fn is_validation_exception(&self) -> bool {
 2007         -
        matches!(
 2008         -
            &self,
 2009         -
            ConstrainedShapesOperationError::ValidationException(_)
 2010         -
        )
 2011         -
    }
 2012         -
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::InternalServerError`.
 2013         -
    pub fn is_internal_server_error(&self) -> bool {
 2014         -
        matches!(
 2015         -
            &self,
 2016         -
            ConstrainedShapesOperationError::InternalServerError(_)
 2017         -
        )
        2015  +
impl EventError {
        2016  +
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
        2017  +
    pub fn is_event_stream_error_message(&self) -> bool {
        2018  +
        matches!(&self, EventError::EventStreamErrorMessage(_))
 2018   2019   
    }
 2019   2020   
    /// Returns the error name string by matching the correct variant.
 2020   2021   
    pub fn name(&self) -> &'static str {
 2021   2022   
        match &self {
 2022         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
 2023         -
            ConstrainedShapesOperationError::InternalServerError(_inner) => _inner.name(),
        2023  +
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
 2024   2024   
        }
 2025   2025   
    }
 2026   2026   
}
 2027         -
impl ::std::error::Error for ConstrainedShapesOperationError {
        2027  +
impl ::std::error::Error for EventError {
 2028   2028   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
 2029   2029   
        match &self {
 2030         -
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
 2031         -
            ConstrainedShapesOperationError::InternalServerError(_inner) => Some(_inner),
        2030  +
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
 2032   2031   
        }
 2033   2032   
    }
 2034   2033   
}
 2035         -
impl ::std::convert::From<crate::error::ValidationException>
 2036         -
    for crate::error::ConstrainedShapesOperationError
 2037         -
{
 2038         -
    fn from(
 2039         -
        variant: crate::error::ValidationException,
 2040         -
    ) -> crate::error::ConstrainedShapesOperationError {
 2041         -
        Self::ValidationException(variant)
        2034  +
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
        2035  +
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
        2036  +
        Self::EventStreamErrorMessage(variant)
 2042   2037   
    }
 2043   2038   
}
 2044         -
impl ::std::convert::From<crate::error::InternalServerError>
 2045         -
    for crate::error::ConstrainedShapesOperationError
 2046         -
{
 2047         -
    fn from(
 2048         -
        variant: crate::error::InternalServerError,
 2049         -
    ) -> crate::error::ConstrainedShapesOperationError {
 2050         -
        Self::InternalServerError(variant)
        2039  +
impl<'source> ::pyo3::FromPyObject<'source> for EventError {
        2040  +
    fn extract(obj: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
        2041  +
        if let Ok(it) = obj.extract::<crate::error::EventStreamErrorMessage>() {
        2042  +
            return Ok(Self::EventStreamErrorMessage(it));
        2043  +
        }
        2044  +
        Err(::pyo3::exceptions::PyTypeError::new_err(format!(
        2045  +
            "failed to extract 'EventError' from '{}'",
        2046  +
            obj
        2047  +
        )))
 2051   2048   
    }
 2052   2049   
}
 2053         -
 2054         -
impl ::std::convert::From<::pyo3::PyErr> for crate::error::ConstrainedShapesOperationError {
 2055         -
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedShapesOperationError {
        2050  +
impl ::pyo3::IntoPy<::pyo3::PyObject> for EventError {
        2051  +
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
        2052  +
        match self {
        2053  +
            Self::EventStreamErrorMessage(it) => match ::pyo3::Py::new(py, it) {
        2054  +
                Ok(it) => it.into_py(py),
        2055  +
                Err(err) => err.into_py(py),
        2056  +
            },
        2057  +
        }
        2058  +
    }
        2059  +
}
        2060  +
impl ::std::convert::From<EventError> for ::pyo3::PyErr {
        2061  +
    fn from(err: EventError) -> ::pyo3::PyErr {
 2056   2062   
        ::pyo3::Python::with_gil(|py| {
 2057         -
            let error = variant.value(py);
 2058         -
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2059         -
                return error.into();
 2060         -
            }
 2061         -
            crate::error::InternalServerError {
 2062         -
                message: error.to_string(),
 2063         -
            }
 2064         -
            .into()
        2063  +
            let py_err = ::pyo3::IntoPy::into_py(err, py);
        2064  +
            ::pyo3::PyErr::from_value(py_err.as_ref(py))
 2065   2065   
        })
 2066   2066   
    }
 2067   2067   
}
        2068  +
/// See [`ValidationException`](crate::error::ValidationException).
        2069  +
pub mod validation_exception {
        2070  +
        2071  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        2072  +
    /// Holds one variant for each of the ways the builder can fail.
        2073  +
    #[allow(clippy::enum_variant_names)]
        2074  +
    pub enum ConstraintViolation {
        2075  +
        /// `message` was not provided but it is required when building `ValidationException`.
        2076  +
        MissingMessage,
        2077  +
    }
        2078  +
    impl ::std::fmt::Display for ConstraintViolation {
        2079  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2080  +
            match self {
        2081  +
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
        2082  +
            }
        2083  +
        }
        2084  +
    }
        2085  +
    impl ::std::error::Error for ConstraintViolation {}
        2086  +
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
        2087  +
        type Error = ConstraintViolation;
        2088  +
        2089  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        2090  +
            builder.build()
        2091  +
        }
        2092  +
    }
        2093  +
    /// A builder for [`ValidationException`](crate::error::ValidationException).
        2094  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        2095  +
    pub struct Builder {
        2096  +
        pub(crate) message: ::std::option::Option<::std::string::String>,
        2097  +
        pub(crate) field_list:
        2098  +
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        2099  +
    }
        2100  +
    impl Builder {
        2101  +
        /// A summary of the validation failure.
        2102  +
        pub fn message(mut self, input: ::std::string::String) -> Self {
        2103  +
            self.message = Some(input);
        2104  +
            self
        2105  +
        }
        2106  +
        /// 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.
        2107  +
        pub fn field_list(
        2108  +
            mut self,
        2109  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        2110  +
        ) -> Self {
        2111  +
            self.field_list = input;
        2112  +
            self
        2113  +
        }
        2114  +
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
        2115  +
        ///
        2116  +
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
        2117  +
        ///
        2118  +
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
        2119  +
            self.build_enforcing_required_and_enum_traits()
        2120  +
        }
        2121  +
        fn build_enforcing_required_and_enum_traits(
        2122  +
            self,
        2123  +
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
        2124  +
            Ok(crate::error::ValidationException {
        2125  +
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
        2126  +
                field_list: self.field_list,
        2127  +
            })
        2128  +
        }
        2129  +
    }
        2130  +
}
 2068   2131   
/// See [`InternalServerError`](crate::error::InternalServerError).
 2069   2132   
pub mod internal_server_error {
 2070   2133   
 2071   2134   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2072   2135   
    /// Holds one variant for each of the ways the builder can fail.
 2073   2136   
    #[allow(clippy::enum_variant_names)]
 2074   2137   
    pub enum ConstraintViolation {
 2075   2138   
        /// `message` was not provided but it is required when building `InternalServerError`.
 2076   2139   
        MissingMessage,
 2077   2140   
    }
@@ -2156,2219 +2248,0 @@
 2176   2239   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 2177   2240   
            self.build_enforcing_required_and_enum_traits()
 2178   2241   
        }
 2179   2242   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::EventStreamErrorMessage {
 2180   2243   
            crate::error::EventStreamErrorMessage {
 2181   2244   
                message_content: self.message_content,
 2182   2245   
            }
 2183   2246   
        }
 2184   2247   
    }
 2185   2248   
}
 2186         -
/// See [`ValidationException`](crate::error::ValidationException).
 2187         -
pub mod validation_exception {
 2188         -
 2189         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2190         -
    /// Holds one variant for each of the ways the builder can fail.
 2191         -
    #[allow(clippy::enum_variant_names)]
 2192         -
    pub enum ConstraintViolation {
 2193         -
        /// `message` was not provided but it is required when building `ValidationException`.
 2194         -
        MissingMessage,
 2195         -
    }
 2196         -
    impl ::std::fmt::Display for ConstraintViolation {
 2197         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2198         -
            match self {
 2199         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 2200         -
            }
 2201         -
        }
 2202         -
    }
 2203         -
    impl ::std::error::Error for ConstraintViolation {}
 2204         -
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 2205         -
        type Error = ConstraintViolation;
 2206         -
 2207         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2208         -
            builder.build()
 2209         -
        }
 2210         -
    }
 2211         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
 2212         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2213         -
    pub struct Builder {
 2214         -
        pub(crate) message: ::std::option::Option<::std::string::String>,
 2215         -
        pub(crate) field_list:
 2216         -
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 2217         -
    }
 2218         -
    impl Builder {
 2219         -
        /// A summary of the validation failure.
 2220         -
        pub fn message(mut self, input: ::std::string::String) -> Self {
 2221         -
            self.message = Some(input);
 2222         -
            self
 2223         -
        }
 2224         -
        /// 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.
 2225         -
        pub fn field_list(
 2226         -
            mut self,
 2227         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 2228         -
        ) -> Self {
 2229         -
            self.field_list = input;
 2230         -
            self
 2231         -
        }
 2232         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 2233         -
        ///
 2234         -
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
 2235         -
        ///
 2236         -
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 2237         -
            self.build_enforcing_required_and_enum_traits()
 2238         -
        }
 2239         -
        fn build_enforcing_required_and_enum_traits(
 2240         -
            self,
 2241         -
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 2242         -
            Ok(crate::error::ValidationException {
 2243         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 2244         -
                field_list: self.field_list,
 2245         -
            })
 2246         -
        }
 2247         -
    }
 2248         -
}