Server Test

Server Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

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

@@ -1,1 +4707,4707 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
#[allow(missing_docs)] // documentation missing in model
    3         -
#[derive(::std::fmt::Debug)]
    4         -
pub struct EventStreamsOperationInput {
    5         -
    #[allow(missing_docs)] // documentation missing in model
    6         -
    pub events: ::aws_smithy_legacy_http::event_stream::Receiver<
    7         -
        crate::model::Event,
    8         -
        crate::error::EventError,
    9         -
    >,
   10         -
}
   11         -
impl EventStreamsOperationInput {
   12         -
    #[allow(missing_docs)] // documentation missing in model
   13         -
    pub fn events(
   14         -
        &self,
   15         -
    ) -> &::aws_smithy_legacy_http::event_stream::Receiver<
   16         -
        crate::model::Event,
   17         -
        crate::error::EventError,
   18         -
    > {
   19         -
        &self.events
   20         -
    }
   21         -
}
   22         -
impl EventStreamsOperationInput {
   23         -
    /// Creates a new builder-style object to manufacture [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
   24         -
    pub fn builder() -> crate::input::event_streams_operation_input::Builder {
   25         -
        crate::input::event_streams_operation_input::Builder::default()
   26         -
    }
   27         -
}
   28         -
impl crate::constrained::Constrained for crate::input::EventStreamsOperationInput {
   29         -
    type Unconstrained = crate::input::event_streams_operation_input::Builder;
   30         -
}
   31         -
   32         -
#[allow(missing_docs)] // documentation missing in model
   33         -
#[derive(::std::fmt::Debug)]
   34         -
pub struct StreamingBlobOperationInput {
           3  +
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           4  +
pub struct ConstrainedShapesOperationInput {
   35      5   
    #[allow(missing_docs)] // documentation missing in model
   36         -
    pub streaming_blob: ::aws_smithy_types::byte_stream::ByteStream,
           6  +
    pub con_a: crate::model::ConA,
   37      7   
}
   38         -
impl StreamingBlobOperationInput {
           8  +
impl ConstrainedShapesOperationInput {
   39      9   
    #[allow(missing_docs)] // documentation missing in model
   40         -
    pub fn streaming_blob(&self) -> &::aws_smithy_types::byte_stream::ByteStream {
   41         -
        &self.streaming_blob
          10  +
    pub fn con_a(&self) -> &crate::model::ConA {
          11  +
        &self.con_a
   42     12   
    }
   43     13   
}
   44         -
impl StreamingBlobOperationInput {
   45         -
    /// Creates a new builder-style object to manufacture [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
   46         -
    pub fn builder() -> crate::input::streaming_blob_operation_input::Builder {
   47         -
        crate::input::streaming_blob_operation_input::Builder::default()
          14  +
impl ConstrainedShapesOperationInput {
          15  +
    /// Creates a new builder-style object to manufacture [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
          16  +
    pub fn builder() -> crate::input::constrained_shapes_operation_input::Builder {
          17  +
        crate::input::constrained_shapes_operation_input::Builder::default()
   48     18   
    }
   49     19   
}
   50         -
impl crate::constrained::Constrained for crate::input::StreamingBlobOperationInput {
   51         -
    type Unconstrained = crate::input::streaming_blob_operation_input::Builder;
          20  +
impl crate::constrained::Constrained for crate::input::ConstrainedShapesOperationInput {
          21  +
    type Unconstrained = crate::input::constrained_shapes_operation_input::Builder;
   52     22   
}
   53     23   
   54     24   
#[allow(missing_docs)] // documentation missing in model
   55     25   
#[derive(
   56     26   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   57     27   
)]
   58         -
pub struct NonStreamingBlobOperationInput {
   59         -
    #[allow(missing_docs)] // documentation missing in model
   60         -
    pub non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
   61         -
}
   62         -
impl NonStreamingBlobOperationInput {
   63         -
    #[allow(missing_docs)] // documentation missing in model
   64         -
    pub fn non_streaming_blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
   65         -
        self.non_streaming_blob.as_ref()
   66         -
    }
   67         -
}
   68         -
impl NonStreamingBlobOperationInput {
   69         -
    /// Creates a new builder-style object to manufacture [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
   70         -
    pub fn builder() -> crate::input::non_streaming_blob_operation_input::Builder {
   71         -
        crate::input::non_streaming_blob_operation_input::Builder::default()
          28  +
pub struct ConstrainedShapesOnlyInOutputOperationInput {}
          29  +
impl ConstrainedShapesOnlyInOutputOperationInput {
          30  +
    /// Creates a new builder-style object to manufacture [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
          31  +
    pub fn builder() -> crate::input::constrained_shapes_only_in_output_operation_input::Builder {
          32  +
        crate::input::constrained_shapes_only_in_output_operation_input::Builder::default()
   72     33   
    }
   73     34   
}
   74         -
impl crate::constrained::Constrained for crate::input::NonStreamingBlobOperationInput {
   75         -
    type Unconstrained = crate::input::non_streaming_blob_operation_input::Builder;
          35  +
impl crate::constrained::Constrained for crate::input::ConstrainedShapesOnlyInOutputOperationInput {
          36  +
    type Unconstrained = crate::input::constrained_shapes_only_in_output_operation_input::Builder;
   76     37   
}
   77     38   
   78     39   
#[allow(missing_docs)] // documentation missing in model
   79     40   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
   80         -
pub struct QueryParamsTargetingMapOfEnumStringOperationInput {
          41  +
pub struct ConstrainedHttpBoundShapesOperationInput {
   81     42   
    #[allow(missing_docs)] // documentation missing in model
   82         -
    pub map_of_enum_string: ::std::option::Option<
   83         -
        ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
   84         -
    >,
          43  +
    pub length_string_label: crate::model::LengthString,
          44  +
    #[allow(missing_docs)] // documentation missing in model
          45  +
    pub range_integer_label: crate::model::RangeInteger,
          46  +
    #[allow(missing_docs)] // documentation missing in model
          47  +
    pub range_short_label: crate::model::RangeShort,
          48  +
    #[allow(missing_docs)] // documentation missing in model
          49  +
    pub range_long_label: crate::model::RangeLong,
          50  +
    #[allow(missing_docs)] // documentation missing in model
          51  +
    pub range_byte_label: crate::model::RangeByte,
          52  +
    #[allow(missing_docs)] // documentation missing in model
          53  +
    pub enum_string_label: crate::model::EnumString,
          54  +
    #[allow(missing_docs)] // documentation missing in model
          55  +
    pub length_string_header_map:
          56  +
        ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
          57  +
    #[allow(missing_docs)] // documentation missing in model
          58  +
    pub length_string_header: ::std::option::Option<crate::model::LengthString>,
          59  +
    #[allow(missing_docs)] // documentation missing in model
          60  +
    pub range_integer_header: crate::model::RangeInteger,
          61  +
    #[allow(missing_docs)] // documentation missing in model
          62  +
    pub range_short_header: crate::model::RangeShort,
          63  +
    #[allow(missing_docs)] // documentation missing in model
          64  +
    pub range_long_header: crate::model::RangeLong,
          65  +
    #[allow(missing_docs)] // documentation missing in model
          66  +
    pub range_byte_header: crate::model::RangeByte,
          67  +
    #[allow(missing_docs)] // documentation missing in model
          68  +
    pub length_string_set_header: ::std::option::Option<crate::model::SetOfLengthString>,
          69  +
    #[allow(missing_docs)] // documentation missing in model
          70  +
    pub list_length_string_header:
          71  +
        ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
          72  +
    #[allow(missing_docs)] // documentation missing in model
          73  +
    pub length_list_pattern_string_header:
          74  +
        ::std::option::Option<crate::model::LengthListOfPatternString>,
          75  +
    #[allow(missing_docs)] // documentation missing in model
          76  +
    pub length_set_pattern_string_header:
          77  +
        ::std::option::Option<crate::model::LengthSetOfPatternString>,
          78  +
    #[allow(missing_docs)] // documentation missing in model
          79  +
    pub range_byte_set_header: ::std::option::Option<crate::model::SetOfRangeByte>,
          80  +
    #[allow(missing_docs)] // documentation missing in model
          81  +
    pub range_short_set_header: ::std::option::Option<crate::model::SetOfRangeShort>,
          82  +
    #[allow(missing_docs)] // documentation missing in model
          83  +
    pub range_integer_set_header: ::std::option::Option<crate::model::SetOfRangeInteger>,
          84  +
    #[allow(missing_docs)] // documentation missing in model
          85  +
    pub range_long_set_header: ::std::option::Option<crate::model::SetOfRangeLong>,
          86  +
    #[allow(missing_docs)] // documentation missing in model
          87  +
    pub range_byte_list_header: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
          88  +
    #[allow(missing_docs)] // documentation missing in model
          89  +
    pub range_short_list_header: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
          90  +
    #[allow(missing_docs)] // documentation missing in model
          91  +
    pub range_integer_list_header:
          92  +
        ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
          93  +
    #[allow(missing_docs)] // documentation missing in model
          94  +
    pub range_long_list_header: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
          95  +
    #[allow(missing_docs)] // documentation missing in model
          96  +
    pub length_string_query: ::std::option::Option<crate::model::LengthString>,
          97  +
    #[allow(missing_docs)] // documentation missing in model
          98  +
    pub range_byte_query: crate::model::RangeByte,
          99  +
    #[allow(missing_docs)] // documentation missing in model
         100  +
    pub range_short_query: crate::model::RangeShort,
         101  +
    #[allow(missing_docs)] // documentation missing in model
         102  +
    pub range_integer_query: crate::model::RangeInteger,
         103  +
    #[allow(missing_docs)] // documentation missing in model
         104  +
    pub range_long_query: crate::model::RangeLong,
         105  +
    #[allow(missing_docs)] // documentation missing in model
         106  +
    pub enum_string_query: ::std::option::Option<crate::model::EnumString>,
         107  +
    #[allow(missing_docs)] // documentation missing in model
         108  +
    pub length_string_list_query:
         109  +
        ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
         110  +
    #[allow(missing_docs)] // documentation missing in model
         111  +
    pub length_list_pattern_string_query:
         112  +
        ::std::option::Option<crate::model::LengthListOfPatternString>,
         113  +
    #[allow(missing_docs)] // documentation missing in model
         114  +
    pub length_string_set_query: ::std::option::Option<crate::model::SetOfLengthString>,
         115  +
    #[allow(missing_docs)] // documentation missing in model
         116  +
    pub range_byte_list_query: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
         117  +
    #[allow(missing_docs)] // documentation missing in model
         118  +
    pub range_short_list_query: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
         119  +
    #[allow(missing_docs)] // documentation missing in model
         120  +
    pub range_integer_list_query:
         121  +
        ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
         122  +
    #[allow(missing_docs)] // documentation missing in model
         123  +
    pub range_long_list_query: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
         124  +
    #[allow(missing_docs)] // documentation missing in model
         125  +
    pub range_byte_set_query: ::std::option::Option<crate::model::SetOfRangeByte>,
         126  +
    #[allow(missing_docs)] // documentation missing in model
         127  +
    pub range_short_set_query: ::std::option::Option<crate::model::SetOfRangeShort>,
         128  +
    #[allow(missing_docs)] // documentation missing in model
         129  +
    pub range_integer_set_query: ::std::option::Option<crate::model::SetOfRangeInteger>,
         130  +
    #[allow(missing_docs)] // documentation missing in model
         131  +
    pub range_long_set_query: ::std::option::Option<crate::model::SetOfRangeLong>,
         132  +
    #[allow(missing_docs)] // documentation missing in model
         133  +
    pub enum_string_list_query: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
   85    134   
}
   86         -
impl QueryParamsTargetingMapOfEnumStringOperationInput {
         135  +
impl ConstrainedHttpBoundShapesOperationInput {
   87    136   
    #[allow(missing_docs)] // documentation missing in model
   88         -
    pub fn map_of_enum_string(
   89         -
        &self,
   90         -
    ) -> ::std::option::Option<
   91         -
        &::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
   92         -
    > {
   93         -
        self.map_of_enum_string.as_ref()
         137  +
    pub fn length_string_label(&self) -> &crate::model::LengthString {
         138  +
        &self.length_string_label
   94    139   
    }
   95         -
}
   96         -
impl QueryParamsTargetingMapOfEnumStringOperationInput {
   97         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
   98         -
    pub fn builder(
   99         -
    ) -> crate::input::query_params_targeting_map_of_enum_string_operation_input::Builder {
  100         -
        crate::input::query_params_targeting_map_of_enum_string_operation_input::Builder::default()
         140  +
    #[allow(missing_docs)] // documentation missing in model
         141  +
    pub fn range_integer_label(&self) -> &crate::model::RangeInteger {
         142  +
        &self.range_integer_label
  101    143   
    }
  102         -
}
  103         -
impl crate::constrained::Constrained
  104         -
    for crate::input::QueryParamsTargetingMapOfEnumStringOperationInput
  105         -
{
  106         -
    type Unconstrained =
  107         -
        crate::input::query_params_targeting_map_of_enum_string_operation_input::Builder;
  108         -
}
  109         -
  110         -
#[allow(missing_docs)] // documentation missing in model
  111         -
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  112         -
pub struct HttpPrefixHeadersTargetingLengthMapOperationInput {
  113    144   
    #[allow(missing_docs)] // documentation missing in model
  114         -
    pub length_map: ::std::option::Option<crate::model::ConBMap>,
  115         -
}
  116         -
impl HttpPrefixHeadersTargetingLengthMapOperationInput {
         145  +
    pub fn range_short_label(&self) -> &crate::model::RangeShort {
         146  +
        &self.range_short_label
         147  +
    }
  117    148   
    #[allow(missing_docs)] // documentation missing in model
  118         -
    pub fn length_map(&self) -> ::std::option::Option<&crate::model::ConBMap> {
  119         -
        self.length_map.as_ref()
         149  +
    pub fn range_long_label(&self) -> &crate::model::RangeLong {
         150  +
        &self.range_long_label
  120    151   
    }
  121         -
}
  122         -
impl HttpPrefixHeadersTargetingLengthMapOperationInput {
  123         -
    /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
  124         -
    pub fn builder(
  125         -
    ) -> crate::input::http_prefix_headers_targeting_length_map_operation_input::Builder {
  126         -
        crate::input::http_prefix_headers_targeting_length_map_operation_input::Builder::default()
         152  +
    #[allow(missing_docs)] // documentation missing in model
         153  +
    pub fn range_byte_label(&self) -> &crate::model::RangeByte {
         154  +
        &self.range_byte_label
  127    155   
    }
  128         -
}
  129         -
impl crate::constrained::Constrained
  130         -
    for crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput
  131         -
{
  132         -
    type Unconstrained =
  133         -
        crate::input::http_prefix_headers_targeting_length_map_operation_input::Builder;
  134         -
}
  135         -
  136         -
#[allow(missing_docs)] // documentation missing in model
  137         -
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  138         -
pub struct QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
  139    156   
    #[allow(missing_docs)] // documentation missing in model
  140         -
    pub map_of_length_pattern_string: ::std::option::Option<
  141         -
        ::std::collections::HashMap<
  142         -
            crate::model::LengthPatternString,
  143         -
            ::std::vec::Vec<crate::model::LengthPatternString>,
  144         -
        >,
  145         -
    >,
  146         -
}
  147         -
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
         157  +
    pub fn enum_string_label(&self) -> &crate::model::EnumString {
         158  +
        &self.enum_string_label
         159  +
    }
  148    160   
    #[allow(missing_docs)] // documentation missing in model
  149         -
    pub fn map_of_length_pattern_string(
         161  +
    pub fn length_string_header_map(
  150    162   
        &self,
  151         -
    ) -> ::std::option::Option<
  152         -
        &::std::collections::HashMap<
  153         -
            crate::model::LengthPatternString,
  154         -
            ::std::vec::Vec<crate::model::LengthPatternString>,
  155         -
        >,
  156         -
    > {
  157         -
        self.map_of_length_pattern_string.as_ref()
         163  +
    ) -> &::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString> {
         164  +
        &self.length_string_header_map
  158    165   
    }
  159         -
}
  160         -
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
  161         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
  162         -
    pub fn builder() -> crate::input::query_params_targeting_map_of_list_of_length_pattern_string_operation_input::Builder{
  163         -
        crate::input::query_params_targeting_map_of_list_of_length_pattern_string_operation_input::Builder::default()
         166  +
    #[allow(missing_docs)] // documentation missing in model
         167  +
    pub fn length_string_header(&self) -> ::std::option::Option<&crate::model::LengthString> {
         168  +
        self.length_string_header.as_ref()
  164    169   
    }
  165         -
}
  166         -
impl crate::constrained::Constrained
  167         -
    for crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput
  168         -
{
  169         -
    type Unconstrained = crate::input::query_params_targeting_map_of_list_of_length_pattern_string_operation_input::Builder;
  170         -
}
  171         -
  172         -
#[allow(missing_docs)] // documentation missing in model
  173         -
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  174         -
pub struct QueryParamsTargetingMapOfLengthPatternStringOperationInput {
  175    170   
    #[allow(missing_docs)] // documentation missing in model
  176         -
    pub map_of_length_pattern_string: ::std::option::Option<
  177         -
        ::std::collections::HashMap<
  178         -
            crate::model::LengthPatternString,
  179         -
            crate::model::LengthPatternString,
  180         -
        >,
  181         -
    >,
  182         -
}
  183         -
impl QueryParamsTargetingMapOfLengthPatternStringOperationInput {
         171  +
    pub fn range_integer_header(&self) -> &crate::model::RangeInteger {
         172  +
        &self.range_integer_header
         173  +
    }
  184    174   
    #[allow(missing_docs)] // documentation missing in model
  185         -
    pub fn map_of_length_pattern_string(
         175  +
    pub fn range_short_header(&self) -> &crate::model::RangeShort {
         176  +
        &self.range_short_header
         177  +
    }
         178  +
    #[allow(missing_docs)] // documentation missing in model
         179  +
    pub fn range_long_header(&self) -> &crate::model::RangeLong {
         180  +
        &self.range_long_header
         181  +
    }
         182  +
    #[allow(missing_docs)] // documentation missing in model
         183  +
    pub fn range_byte_header(&self) -> &crate::model::RangeByte {
         184  +
        &self.range_byte_header
         185  +
    }
         186  +
    #[allow(missing_docs)] // documentation missing in model
         187  +
    pub fn length_string_set_header(
  186    188   
        &self,
  187         -
    ) -> ::std::option::Option<
  188         -
        &::std::collections::HashMap<
  189         -
            crate::model::LengthPatternString,
  190         -
            crate::model::LengthPatternString,
  191         -
        >,
  192         -
    > {
  193         -
        self.map_of_length_pattern_string.as_ref()
         189  +
    ) -> ::std::option::Option<&crate::model::SetOfLengthString> {
         190  +
        self.length_string_set_header.as_ref()
         191  +
    }
         192  +
    #[allow(missing_docs)] // documentation missing in model
         193  +
    pub fn list_length_string_header(
         194  +
        &self,
         195  +
    ) -> ::std::option::Option<&[crate::model::LengthString]> {
         196  +
        self.list_length_string_header.as_deref()
         197  +
    }
         198  +
    #[allow(missing_docs)] // documentation missing in model
         199  +
    pub fn length_list_pattern_string_header(
         200  +
        &self,
         201  +
    ) -> ::std::option::Option<&crate::model::LengthListOfPatternString> {
         202  +
        self.length_list_pattern_string_header.as_ref()
         203  +
    }
         204  +
    #[allow(missing_docs)] // documentation missing in model
         205  +
    pub fn length_set_pattern_string_header(
         206  +
        &self,
         207  +
    ) -> ::std::option::Option<&crate::model::LengthSetOfPatternString> {
         208  +
        self.length_set_pattern_string_header.as_ref()
         209  +
    }
         210  +
    #[allow(missing_docs)] // documentation missing in model
         211  +
    pub fn range_byte_set_header(&self) -> ::std::option::Option<&crate::model::SetOfRangeByte> {
         212  +
        self.range_byte_set_header.as_ref()
         213  +
    }
         214  +
    #[allow(missing_docs)] // documentation missing in model
         215  +
    pub fn range_short_set_header(&self) -> ::std::option::Option<&crate::model::SetOfRangeShort> {
         216  +
        self.range_short_set_header.as_ref()
         217  +
    }
         218  +
    #[allow(missing_docs)] // documentation missing in model
         219  +
    pub fn range_integer_set_header(
         220  +
        &self,
         221  +
    ) -> ::std::option::Option<&crate::model::SetOfRangeInteger> {
         222  +
        self.range_integer_set_header.as_ref()
         223  +
    }
         224  +
    #[allow(missing_docs)] // documentation missing in model
         225  +
    pub fn range_long_set_header(&self) -> ::std::option::Option<&crate::model::SetOfRangeLong> {
         226  +
        self.range_long_set_header.as_ref()
         227  +
    }
         228  +
    #[allow(missing_docs)] // documentation missing in model
         229  +
    pub fn range_byte_list_header(&self) -> ::std::option::Option<&[crate::model::RangeByte]> {
         230  +
        self.range_byte_list_header.as_deref()
         231  +
    }
         232  +
    #[allow(missing_docs)] // documentation missing in model
         233  +
    pub fn range_short_list_header(&self) -> ::std::option::Option<&[crate::model::RangeShort]> {
         234  +
        self.range_short_list_header.as_deref()
         235  +
    }
         236  +
    #[allow(missing_docs)] // documentation missing in model
         237  +
    pub fn range_integer_list_header(
         238  +
        &self,
         239  +
    ) -> ::std::option::Option<&[crate::model::RangeInteger]> {
         240  +
        self.range_integer_list_header.as_deref()
         241  +
    }
         242  +
    #[allow(missing_docs)] // documentation missing in model
         243  +
    pub fn range_long_list_header(&self) -> ::std::option::Option<&[crate::model::RangeLong]> {
         244  +
        self.range_long_list_header.as_deref()
         245  +
    }
         246  +
    #[allow(missing_docs)] // documentation missing in model
         247  +
    pub fn length_string_query(&self) -> ::std::option::Option<&crate::model::LengthString> {
         248  +
        self.length_string_query.as_ref()
         249  +
    }
         250  +
    #[allow(missing_docs)] // documentation missing in model
         251  +
    pub fn range_byte_query(&self) -> &crate::model::RangeByte {
         252  +
        &self.range_byte_query
         253  +
    }
         254  +
    #[allow(missing_docs)] // documentation missing in model
         255  +
    pub fn range_short_query(&self) -> &crate::model::RangeShort {
         256  +
        &self.range_short_query
         257  +
    }
         258  +
    #[allow(missing_docs)] // documentation missing in model
         259  +
    pub fn range_integer_query(&self) -> &crate::model::RangeInteger {
         260  +
        &self.range_integer_query
         261  +
    }
         262  +
    #[allow(missing_docs)] // documentation missing in model
         263  +
    pub fn range_long_query(&self) -> &crate::model::RangeLong {
         264  +
        &self.range_long_query
         265  +
    }
         266  +
    #[allow(missing_docs)] // documentation missing in model
         267  +
    pub fn enum_string_query(&self) -> ::std::option::Option<&crate::model::EnumString> {
         268  +
        self.enum_string_query.as_ref()
         269  +
    }
         270  +
    #[allow(missing_docs)] // documentation missing in model
         271  +
    pub fn length_string_list_query(&self) -> ::std::option::Option<&[crate::model::LengthString]> {
         272  +
        self.length_string_list_query.as_deref()
         273  +
    }
         274  +
    #[allow(missing_docs)] // documentation missing in model
         275  +
    pub fn length_list_pattern_string_query(
         276  +
        &self,
         277  +
    ) -> ::std::option::Option<&crate::model::LengthListOfPatternString> {
         278  +
        self.length_list_pattern_string_query.as_ref()
         279  +
    }
         280  +
    #[allow(missing_docs)] // documentation missing in model
         281  +
    pub fn length_string_set_query(
         282  +
        &self,
         283  +
    ) -> ::std::option::Option<&crate::model::SetOfLengthString> {
         284  +
        self.length_string_set_query.as_ref()
         285  +
    }
         286  +
    #[allow(missing_docs)] // documentation missing in model
         287  +
    pub fn range_byte_list_query(&self) -> ::std::option::Option<&[crate::model::RangeByte]> {
         288  +
        self.range_byte_list_query.as_deref()
         289  +
    }
         290  +
    #[allow(missing_docs)] // documentation missing in model
         291  +
    pub fn range_short_list_query(&self) -> ::std::option::Option<&[crate::model::RangeShort]> {
         292  +
        self.range_short_list_query.as_deref()
         293  +
    }
         294  +
    #[allow(missing_docs)] // documentation missing in model
         295  +
    pub fn range_integer_list_query(&self) -> ::std::option::Option<&[crate::model::RangeInteger]> {
         296  +
        self.range_integer_list_query.as_deref()
         297  +
    }
         298  +
    #[allow(missing_docs)] // documentation missing in model
         299  +
    pub fn range_long_list_query(&self) -> ::std::option::Option<&[crate::model::RangeLong]> {
         300  +
        self.range_long_list_query.as_deref()
         301  +
    }
         302  +
    #[allow(missing_docs)] // documentation missing in model
         303  +
    pub fn range_byte_set_query(&self) -> ::std::option::Option<&crate::model::SetOfRangeByte> {
         304  +
        self.range_byte_set_query.as_ref()
         305  +
    }
         306  +
    #[allow(missing_docs)] // documentation missing in model
         307  +
    pub fn range_short_set_query(&self) -> ::std::option::Option<&crate::model::SetOfRangeShort> {
         308  +
        self.range_short_set_query.as_ref()
         309  +
    }
         310  +
    #[allow(missing_docs)] // documentation missing in model
         311  +
    pub fn range_integer_set_query(
         312  +
        &self,
         313  +
    ) -> ::std::option::Option<&crate::model::SetOfRangeInteger> {
         314  +
        self.range_integer_set_query.as_ref()
         315  +
    }
         316  +
    #[allow(missing_docs)] // documentation missing in model
         317  +
    pub fn range_long_set_query(&self) -> ::std::option::Option<&crate::model::SetOfRangeLong> {
         318  +
        self.range_long_set_query.as_ref()
         319  +
    }
         320  +
    #[allow(missing_docs)] // documentation missing in model
         321  +
    pub fn enum_string_list_query(&self) -> ::std::option::Option<&[crate::model::EnumString]> {
         322  +
        self.enum_string_list_query.as_deref()
  194    323   
    }
  195    324   
}
  196         -
impl QueryParamsTargetingMapOfLengthPatternStringOperationInput {
  197         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
  198         -
    pub fn builder(
  199         -
    ) -> crate::input::query_params_targeting_map_of_length_pattern_string_operation_input::Builder
  200         -
    {
  201         -
        crate::input::query_params_targeting_map_of_length_pattern_string_operation_input::Builder::default()
         325  +
impl ConstrainedHttpBoundShapesOperationInput {
         326  +
    /// Creates a new builder-style object to manufacture [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
         327  +
    pub fn builder() -> crate::input::constrained_http_bound_shapes_operation_input::Builder {
         328  +
        crate::input::constrained_http_bound_shapes_operation_input::Builder::default()
  202    329   
    }
  203    330   
}
  204         -
impl crate::constrained::Constrained
  205         -
    for crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput
  206         -
{
  207         -
    type Unconstrained =
  208         -
        crate::input::query_params_targeting_map_of_length_pattern_string_operation_input::Builder;
         331  +
impl crate::constrained::Constrained for crate::input::ConstrainedHttpBoundShapesOperationInput {
         332  +
    type Unconstrained = crate::input::constrained_http_bound_shapes_operation_input::Builder;
  209    333   
}
  210    334   
  211    335   
#[allow(missing_docs)] // documentation missing in model
  212    336   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  213         -
pub struct QueryParamsTargetingMapOfListOfPatternStringOperationInput {
         337  +
pub struct ConstrainedHttpPayloadBoundShapeOperationInput {
  214    338   
    #[allow(missing_docs)] // documentation missing in model
  215         -
    pub map_of_list_of_pattern_string: ::std::option::Option<
  216         -
        ::std::collections::HashMap<
  217         -
            crate::model::PatternString,
  218         -
            ::std::vec::Vec<crate::model::PatternString>,
  219         -
        >,
  220         -
    >,
         339  +
    pub http_payload_bound_constrained_shape: crate::model::ConA,
  221    340   
}
  222         -
impl QueryParamsTargetingMapOfListOfPatternStringOperationInput {
         341  +
impl ConstrainedHttpPayloadBoundShapeOperationInput {
  223    342   
    #[allow(missing_docs)] // documentation missing in model
  224         -
    pub fn map_of_list_of_pattern_string(
  225         -
        &self,
  226         -
    ) -> ::std::option::Option<
  227         -
        &::std::collections::HashMap<
  228         -
            crate::model::PatternString,
  229         -
            ::std::vec::Vec<crate::model::PatternString>,
  230         -
        >,
  231         -
    > {
  232         -
        self.map_of_list_of_pattern_string.as_ref()
         343  +
    pub fn http_payload_bound_constrained_shape(&self) -> &crate::model::ConA {
         344  +
        &self.http_payload_bound_constrained_shape
  233    345   
    }
  234    346   
}
  235         -
impl QueryParamsTargetingMapOfListOfPatternStringOperationInput {
  236         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
  237         -
    pub fn builder(
  238         -
    ) -> crate::input::query_params_targeting_map_of_list_of_pattern_string_operation_input::Builder
         347  +
impl ConstrainedHttpPayloadBoundShapeOperationInput {
         348  +
    /// Creates a new builder-style object to manufacture [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
         349  +
    pub fn builder() -> crate::input::constrained_http_payload_bound_shape_operation_input::Builder
  239    350   
    {
  240         -
        crate::input::query_params_targeting_map_of_list_of_pattern_string_operation_input::Builder::default()
         351  +
        crate::input::constrained_http_payload_bound_shape_operation_input::Builder::default()
  241    352   
    }
  242    353   
}
  243    354   
impl crate::constrained::Constrained
  244         -
    for crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput
         355  +
    for crate::input::ConstrainedHttpPayloadBoundShapeOperationInput
  245    356   
{
  246    357   
    type Unconstrained =
  247         -
        crate::input::query_params_targeting_map_of_list_of_pattern_string_operation_input::Builder;
         358  +
        crate::input::constrained_http_payload_bound_shape_operation_input::Builder;
  248    359   
}
  249    360   
  250    361   
#[allow(missing_docs)] // documentation missing in model
  251         -
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  252         -
pub struct QueryParamsTargetingMapOfPatternStringOperationInput {
         362  +
#[derive(
         363  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
         364  +
)]
         365  +
pub struct ConstrainedRecursiveShapesOperationInput {
  253    366   
    #[allow(missing_docs)] // documentation missing in model
  254         -
    pub map_of_pattern_string: ::std::option::Option<
  255         -
        ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  256         -
    >,
         367  +
    pub nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
         368  +
    #[allow(missing_docs)] // documentation missing in model
         369  +
    pub recursive_list: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
  257    370   
}
  258         -
impl QueryParamsTargetingMapOfPatternStringOperationInput {
         371  +
impl ConstrainedRecursiveShapesOperationInput {
  259    372   
    #[allow(missing_docs)] // documentation missing in model
  260         -
    pub fn map_of_pattern_string(
         373  +
    pub fn nested(
  261    374   
        &self,
  262         -
    ) -> ::std::option::Option<
  263         -
        &::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  264         -
    > {
  265         -
        self.map_of_pattern_string.as_ref()
  266         -
    }
         375  +
    ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
         376  +
        self.nested.as_ref()
         377  +
    }
         378  +
    #[allow(missing_docs)] // documentation missing in model
         379  +
    pub fn recursive_list(&self) -> &[crate::model::RecursiveShapesInputOutputNested1] {
         380  +
        use std::ops::Deref;
         381  +
        self.recursive_list.deref()
         382  +
    }
  267    383   
}
  268         -
impl QueryParamsTargetingMapOfPatternStringOperationInput {
  269         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
  270         -
    pub fn builder(
  271         -
    ) -> crate::input::query_params_targeting_map_of_pattern_string_operation_input::Builder {
  272         -
        crate::input::query_params_targeting_map_of_pattern_string_operation_input::Builder::default(
  273         -
        )
         384  +
impl ConstrainedRecursiveShapesOperationInput {
         385  +
    /// Creates a new builder-style object to manufacture [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
         386  +
    pub fn builder() -> crate::input::constrained_recursive_shapes_operation_input::Builder {
         387  +
        crate::input::constrained_recursive_shapes_operation_input::Builder::default()
  274    388   
    }
  275    389   
}
  276         -
impl crate::constrained::Constrained
  277         -
    for crate::input::QueryParamsTargetingMapOfPatternStringOperationInput
  278         -
{
  279         -
    type Unconstrained =
  280         -
        crate::input::query_params_targeting_map_of_pattern_string_operation_input::Builder;
         390  +
impl crate::constrained::Constrained for crate::input::ConstrainedRecursiveShapesOperationInput {
         391  +
    type Unconstrained = crate::input::constrained_recursive_shapes_operation_input::Builder;
  281    392   
}
  282    393   
  283    394   
#[allow(missing_docs)] // documentation missing in model
  284    395   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  285         -
pub struct QueryParamsTargetingMapOfListOfEnumStringOperationInput {
         396  +
pub struct QueryParamsTargetingLengthMapOperationInput {
  286    397   
    #[allow(missing_docs)] // documentation missing in model
  287         -
    pub map_of_list_of_enum_string: ::std::option::Option<
  288         -
        ::std::collections::HashMap<
  289         -
            crate::model::EnumString,
  290         -
            ::std::vec::Vec<crate::model::EnumString>,
  291         -
        >,
         398  +
    pub length_map: ::std::option::Option<crate::model::ConBMap>,
         399  +
}
         400  +
impl QueryParamsTargetingLengthMapOperationInput {
         401  +
    #[allow(missing_docs)] // documentation missing in model
         402  +
    pub fn length_map(&self) -> ::std::option::Option<&crate::model::ConBMap> {
         403  +
        self.length_map.as_ref()
         404  +
    }
         405  +
}
         406  +
impl QueryParamsTargetingLengthMapOperationInput {
         407  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
         408  +
    pub fn builder() -> crate::input::query_params_targeting_length_map_operation_input::Builder {
         409  +
        crate::input::query_params_targeting_length_map_operation_input::Builder::default()
         410  +
    }
         411  +
}
         412  +
impl crate::constrained::Constrained for crate::input::QueryParamsTargetingLengthMapOperationInput {
         413  +
    type Unconstrained = crate::input::query_params_targeting_length_map_operation_input::Builder;
         414  +
}
         415  +
         416  +
#[allow(missing_docs)] // documentation missing in model
         417  +
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
         418  +
pub struct QueryParamsTargetingMapOfLengthStringOperationInput {
         419  +
    #[allow(missing_docs)] // documentation missing in model
         420  +
    pub map_of_length_string: ::std::option::Option<
         421  +
        ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
  292    422   
    >,
  293    423   
}
  294         -
impl QueryParamsTargetingMapOfListOfEnumStringOperationInput {
         424  +
impl QueryParamsTargetingMapOfLengthStringOperationInput {
  295    425   
    #[allow(missing_docs)] // documentation missing in model
  296         -
    pub fn map_of_list_of_enum_string(
         426  +
    pub fn map_of_length_string(
  297    427   
        &self,
  298    428   
    ) -> ::std::option::Option<
  299         -
        &::std::collections::HashMap<
  300         -
            crate::model::EnumString,
  301         -
            ::std::vec::Vec<crate::model::EnumString>,
  302         -
        >,
         429  +
        &::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
  303    430   
    > {
  304         -
        self.map_of_list_of_enum_string.as_ref()
         431  +
        self.map_of_length_string.as_ref()
  305    432   
    }
  306    433   
}
  307         -
impl QueryParamsTargetingMapOfListOfEnumStringOperationInput {
  308         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
         434  +
impl QueryParamsTargetingMapOfLengthStringOperationInput {
         435  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
  309    436   
    pub fn builder(
  310         -
    ) -> crate::input::query_params_targeting_map_of_list_of_enum_string_operation_input::Builder
  311         -
    {
  312         -
        crate::input::query_params_targeting_map_of_list_of_enum_string_operation_input::Builder::default()
         437  +
    ) -> crate::input::query_params_targeting_map_of_length_string_operation_input::Builder {
         438  +
        crate::input::query_params_targeting_map_of_length_string_operation_input::Builder::default(
         439  +
        )
  313    440   
    }
  314    441   
}
  315    442   
impl crate::constrained::Constrained
  316         -
    for crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput
         443  +
    for crate::input::QueryParamsTargetingMapOfLengthStringOperationInput
  317    444   
{
  318    445   
    type Unconstrained =
  319         -
        crate::input::query_params_targeting_map_of_list_of_enum_string_operation_input::Builder;
         446  +
        crate::input::query_params_targeting_map_of_length_string_operation_input::Builder;
  320    447   
}
  321    448   
  322    449   
#[allow(missing_docs)] // documentation missing in model
  323    450   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  324         -
pub struct QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
         451  +
pub struct QueryParamsTargetingMapOfListOfLengthStringOperationInput {
  325    452   
    #[allow(missing_docs)] // documentation missing in model
  326         -
    pub map_of_length_list_of_pattern_string: ::std::option::Option<
         453  +
    pub map_of_list_of_length_string: ::std::option::Option<
  327    454   
        ::std::collections::HashMap<
  328         -
            crate::model::PatternString,
  329         -
            crate::model::LengthListOfPatternString,
         455  +
            crate::model::LengthString,
         456  +
            ::std::vec::Vec<crate::model::LengthString>,
  330    457   
        >,
  331    458   
    >,
  332    459   
}
  333         -
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
         460  +
impl QueryParamsTargetingMapOfListOfLengthStringOperationInput {
  334    461   
    #[allow(missing_docs)] // documentation missing in model
  335         -
    pub fn map_of_length_list_of_pattern_string(
         462  +
    pub fn map_of_list_of_length_string(
  336    463   
        &self,
  337    464   
    ) -> ::std::option::Option<
  338    465   
        &::std::collections::HashMap<
  339         -
            crate::model::PatternString,
  340         -
            crate::model::LengthListOfPatternString,
         466  +
            crate::model::LengthString,
         467  +
            ::std::vec::Vec<crate::model::LengthString>,
  341    468   
        >,
  342    469   
    > {
  343         -
        self.map_of_length_list_of_pattern_string.as_ref()
         470  +
        self.map_of_list_of_length_string.as_ref()
  344    471   
    }
  345    472   
}
  346         -
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
  347         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
  348         -
    pub fn builder() -> crate::input::query_params_targeting_map_of_length_list_of_pattern_string_operation_input::Builder{
  349         -
        crate::input::query_params_targeting_map_of_length_list_of_pattern_string_operation_input::Builder::default()
         473  +
impl QueryParamsTargetingMapOfListOfLengthStringOperationInput {
         474  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
         475  +
    pub fn builder(
         476  +
    ) -> crate::input::query_params_targeting_map_of_list_of_length_string_operation_input::Builder
         477  +
    {
         478  +
        crate::input::query_params_targeting_map_of_list_of_length_string_operation_input::Builder::default()
  350    479   
    }
  351    480   
}
  352    481   
impl crate::constrained::Constrained
  353         -
    for crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput
         482  +
    for crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput
  354    483   
{
  355         -
    type Unconstrained = crate::input::query_params_targeting_map_of_length_list_of_pattern_string_operation_input::Builder;
         484  +
    type Unconstrained =
         485  +
        crate::input::query_params_targeting_map_of_list_of_length_string_operation_input::Builder;
  356    486   
}
  357    487   
  358    488   
#[allow(missing_docs)] // documentation missing in model
  359    489   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  360    490   
pub struct QueryParamsTargetingMapOfSetOfLengthStringOperationInput {
  361    491   
    #[allow(missing_docs)] // documentation missing in model
  362    492   
    pub map_of_set_of_length_string: ::std::option::Option<
  363    493   
        ::std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>,
  364    494   
    >,
  365    495   
}
  366    496   
impl QueryParamsTargetingMapOfSetOfLengthStringOperationInput {
  367    497   
    #[allow(missing_docs)] // documentation missing in model
  368    498   
    pub fn map_of_set_of_length_string(
  369    499   
        &self,
  370    500   
    ) -> ::std::option::Option<
  371    501   
        &::std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>,
  372    502   
    > {
  373    503   
        self.map_of_set_of_length_string.as_ref()
  374    504   
    }
  375    505   
}
  376    506   
impl QueryParamsTargetingMapOfSetOfLengthStringOperationInput {
  377    507   
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
  378    508   
    pub fn builder(
  379    509   
    ) -> crate::input::query_params_targeting_map_of_set_of_length_string_operation_input::Builder
  380    510   
    {
  381    511   
        crate::input::query_params_targeting_map_of_set_of_length_string_operation_input::Builder::default()
  382    512   
    }
  383    513   
}
  384    514   
impl crate::constrained::Constrained
  385    515   
    for crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput
  386    516   
{
  387    517   
    type Unconstrained =
  388    518   
        crate::input::query_params_targeting_map_of_set_of_length_string_operation_input::Builder;
  389    519   
}
  390    520   
  391    521   
#[allow(missing_docs)] // documentation missing in model
  392    522   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  393         -
pub struct QueryParamsTargetingMapOfListOfLengthStringOperationInput {
         523  +
pub struct QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
  394    524   
    #[allow(missing_docs)] // documentation missing in model
  395         -
    pub map_of_list_of_length_string: ::std::option::Option<
         525  +
    pub map_of_length_list_of_pattern_string: ::std::option::Option<
  396    526   
        ::std::collections::HashMap<
  397         -
            crate::model::LengthString,
  398         -
            ::std::vec::Vec<crate::model::LengthString>,
         527  +
            crate::model::PatternString,
         528  +
            crate::model::LengthListOfPatternString,
  399    529   
        >,
  400    530   
    >,
  401    531   
}
  402         -
impl QueryParamsTargetingMapOfListOfLengthStringOperationInput {
         532  +
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
  403    533   
    #[allow(missing_docs)] // documentation missing in model
  404         -
    pub fn map_of_list_of_length_string(
         534  +
    pub fn map_of_length_list_of_pattern_string(
  405    535   
        &self,
  406    536   
    ) -> ::std::option::Option<
  407    537   
        &::std::collections::HashMap<
  408         -
            crate::model::LengthString,
  409         -
            ::std::vec::Vec<crate::model::LengthString>,
         538  +
            crate::model::PatternString,
         539  +
            crate::model::LengthListOfPatternString,
  410    540   
        >,
  411    541   
    > {
  412         -
        self.map_of_list_of_length_string.as_ref()
         542  +
        self.map_of_length_list_of_pattern_string.as_ref()
  413    543   
    }
  414    544   
}
  415         -
impl QueryParamsTargetingMapOfListOfLengthStringOperationInput {
  416         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
  417         -
    pub fn builder(
  418         -
    ) -> crate::input::query_params_targeting_map_of_list_of_length_string_operation_input::Builder
  419         -
    {
  420         -
        crate::input::query_params_targeting_map_of_list_of_length_string_operation_input::Builder::default()
         545  +
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
         546  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
         547  +
    pub fn builder() -> crate::input::query_params_targeting_map_of_length_list_of_pattern_string_operation_input::Builder{
         548  +
        crate::input::query_params_targeting_map_of_length_list_of_pattern_string_operation_input::Builder::default()
  421    549   
    }
  422    550   
}
  423    551   
impl crate::constrained::Constrained
  424         -
    for crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput
         552  +
    for crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput
  425    553   
{
  426         -
    type Unconstrained =
  427         -
        crate::input::query_params_targeting_map_of_list_of_length_string_operation_input::Builder;
         554  +
    type Unconstrained = crate::input::query_params_targeting_map_of_length_list_of_pattern_string_operation_input::Builder;
  428    555   
}
  429    556   
  430    557   
#[allow(missing_docs)] // documentation missing in model
  431    558   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  432         -
pub struct QueryParamsTargetingMapOfLengthStringOperationInput {
         559  +
pub struct QueryParamsTargetingMapOfListOfEnumStringOperationInput {
  433    560   
    #[allow(missing_docs)] // documentation missing in model
  434         -
    pub map_of_length_string: ::std::option::Option<
  435         -
        ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
         561  +
    pub map_of_list_of_enum_string: ::std::option::Option<
         562  +
        ::std::collections::HashMap<
         563  +
            crate::model::EnumString,
         564  +
            ::std::vec::Vec<crate::model::EnumString>,
         565  +
        >,
  436    566   
    >,
  437    567   
}
  438         -
impl QueryParamsTargetingMapOfLengthStringOperationInput {
         568  +
impl QueryParamsTargetingMapOfListOfEnumStringOperationInput {
  439    569   
    #[allow(missing_docs)] // documentation missing in model
  440         -
    pub fn map_of_length_string(
         570  +
    pub fn map_of_list_of_enum_string(
  441    571   
        &self,
  442    572   
    ) -> ::std::option::Option<
  443         -
        &::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
         573  +
        &::std::collections::HashMap<
         574  +
            crate::model::EnumString,
         575  +
            ::std::vec::Vec<crate::model::EnumString>,
         576  +
        >,
  444    577   
    > {
  445         -
        self.map_of_length_string.as_ref()
         578  +
        self.map_of_list_of_enum_string.as_ref()
  446    579   
    }
  447    580   
}
  448         -
impl QueryParamsTargetingMapOfLengthStringOperationInput {
  449         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
         581  +
impl QueryParamsTargetingMapOfListOfEnumStringOperationInput {
         582  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
  450    583   
    pub fn builder(
  451         -
    ) -> crate::input::query_params_targeting_map_of_length_string_operation_input::Builder {
  452         -
        crate::input::query_params_targeting_map_of_length_string_operation_input::Builder::default(
  453         -
        )
         584  +
    ) -> crate::input::query_params_targeting_map_of_list_of_enum_string_operation_input::Builder
         585  +
    {
         586  +
        crate::input::query_params_targeting_map_of_list_of_enum_string_operation_input::Builder::default()
  454    587   
    }
  455    588   
}
  456    589   
impl crate::constrained::Constrained
  457         -
    for crate::input::QueryParamsTargetingMapOfLengthStringOperationInput
         590  +
    for crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput
  458    591   
{
  459    592   
    type Unconstrained =
  460         -
        crate::input::query_params_targeting_map_of_length_string_operation_input::Builder;
         593  +
        crate::input::query_params_targeting_map_of_list_of_enum_string_operation_input::Builder;
  461    594   
}
  462    595   
  463    596   
#[allow(missing_docs)] // documentation missing in model
  464    597   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  465         -
pub struct QueryParamsTargetingLengthMapOperationInput {
         598  +
pub struct QueryParamsTargetingMapOfPatternStringOperationInput {
  466    599   
    #[allow(missing_docs)] // documentation missing in model
  467         -
    pub length_map: ::std::option::Option<crate::model::ConBMap>,
         600  +
    pub map_of_pattern_string: ::std::option::Option<
         601  +
        ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
         602  +
    >,
  468    603   
}
  469         -
impl QueryParamsTargetingLengthMapOperationInput {
         604  +
impl QueryParamsTargetingMapOfPatternStringOperationInput {
  470    605   
    #[allow(missing_docs)] // documentation missing in model
  471         -
    pub fn length_map(&self) -> ::std::option::Option<&crate::model::ConBMap> {
  472         -
        self.length_map.as_ref()
         606  +
    pub fn map_of_pattern_string(
         607  +
        &self,
         608  +
    ) -> ::std::option::Option<
         609  +
        &::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
         610  +
    > {
         611  +
        self.map_of_pattern_string.as_ref()
  473    612   
    }
  474    613   
}
  475         -
impl QueryParamsTargetingLengthMapOperationInput {
  476         -
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
  477         -
    pub fn builder() -> crate::input::query_params_targeting_length_map_operation_input::Builder {
  478         -
        crate::input::query_params_targeting_length_map_operation_input::Builder::default()
         614  +
impl QueryParamsTargetingMapOfPatternStringOperationInput {
         615  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
         616  +
    pub fn builder(
         617  +
    ) -> crate::input::query_params_targeting_map_of_pattern_string_operation_input::Builder {
         618  +
        crate::input::query_params_targeting_map_of_pattern_string_operation_input::Builder::default(
         619  +
        )
  479    620   
    }
  480    621   
}
  481         -
impl crate::constrained::Constrained for crate::input::QueryParamsTargetingLengthMapOperationInput {
  482         -
    type Unconstrained = crate::input::query_params_targeting_length_map_operation_input::Builder;
         622  +
impl crate::constrained::Constrained
         623  +
    for crate::input::QueryParamsTargetingMapOfPatternStringOperationInput
         624  +
{
         625  +
    type Unconstrained =
         626  +
        crate::input::query_params_targeting_map_of_pattern_string_operation_input::Builder;
  483    627   
}
  484    628   
  485    629   
#[allow(missing_docs)] // documentation missing in model
  486         -
#[derive(
  487         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  488         -
)]
  489         -
pub struct ConstrainedRecursiveShapesOperationInput {
  490         -
    #[allow(missing_docs)] // documentation missing in model
  491         -
    pub nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
         630  +
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
         631  +
pub struct QueryParamsTargetingMapOfListOfPatternStringOperationInput {
  492    632   
    #[allow(missing_docs)] // documentation missing in model
  493         -
    pub recursive_list: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
         633  +
    pub map_of_list_of_pattern_string: ::std::option::Option<
         634  +
        ::std::collections::HashMap<
         635  +
            crate::model::PatternString,
         636  +
            ::std::vec::Vec<crate::model::PatternString>,
         637  +
        >,
         638  +
    >,
  494    639   
}
  495         -
impl ConstrainedRecursiveShapesOperationInput {
         640  +
impl QueryParamsTargetingMapOfListOfPatternStringOperationInput {
  496    641   
    #[allow(missing_docs)] // documentation missing in model
  497         -
    pub fn nested(
         642  +
    pub fn map_of_list_of_pattern_string(
  498    643   
        &self,
  499         -
    ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
  500         -
        self.nested.as_ref()
         644  +
    ) -> ::std::option::Option<
         645  +
        &::std::collections::HashMap<
         646  +
            crate::model::PatternString,
         647  +
            ::std::vec::Vec<crate::model::PatternString>,
         648  +
        >,
         649  +
    > {
         650  +
        self.map_of_list_of_pattern_string.as_ref()
  501    651   
    }
  502         -
    #[allow(missing_docs)] // documentation missing in model
  503         -
    pub fn recursive_list(&self) -> &[crate::model::RecursiveShapesInputOutputNested1] {
  504         -
        use std::ops::Deref;
  505         -
        self.recursive_list.deref()
         652  +
}
         653  +
impl QueryParamsTargetingMapOfListOfPatternStringOperationInput {
         654  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
         655  +
    pub fn builder(
         656  +
    ) -> crate::input::query_params_targeting_map_of_list_of_pattern_string_operation_input::Builder
         657  +
    {
         658  +
        crate::input::query_params_targeting_map_of_list_of_pattern_string_operation_input::Builder::default()
  506    659   
    }
  507    660   
}
  508         -
impl ConstrainedRecursiveShapesOperationInput {
  509         -
    /// Creates a new builder-style object to manufacture [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
  510         -
    pub fn builder() -> crate::input::constrained_recursive_shapes_operation_input::Builder {
  511         -
        crate::input::constrained_recursive_shapes_operation_input::Builder::default()
  512         -
    }
  513         -
}
  514         -
impl crate::constrained::Constrained for crate::input::ConstrainedRecursiveShapesOperationInput {
  515         -
    type Unconstrained = crate::input::constrained_recursive_shapes_operation_input::Builder;
         661  +
impl crate::constrained::Constrained
         662  +
    for crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput
         663  +
{
         664  +
    type Unconstrained =
         665  +
        crate::input::query_params_targeting_map_of_list_of_pattern_string_operation_input::Builder;
  516    666   
}
  517    667   
  518    668   
#[allow(missing_docs)] // documentation missing in model
  519    669   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  520         -
pub struct ConstrainedHttpPayloadBoundShapeOperationInput {
         670  +
pub struct QueryParamsTargetingMapOfLengthPatternStringOperationInput {
  521    671   
    #[allow(missing_docs)] // documentation missing in model
  522         -
    pub http_payload_bound_constrained_shape: crate::model::ConA,
         672  +
    pub map_of_length_pattern_string: ::std::option::Option<
         673  +
        ::std::collections::HashMap<
         674  +
            crate::model::LengthPatternString,
         675  +
            crate::model::LengthPatternString,
         676  +
        >,
         677  +
    >,
  523    678   
}
  524         -
impl ConstrainedHttpPayloadBoundShapeOperationInput {
         679  +
impl QueryParamsTargetingMapOfLengthPatternStringOperationInput {
  525    680   
    #[allow(missing_docs)] // documentation missing in model
  526         -
    pub fn http_payload_bound_constrained_shape(&self) -> &crate::model::ConA {
  527         -
        &self.http_payload_bound_constrained_shape
         681  +
    pub fn map_of_length_pattern_string(
         682  +
        &self,
         683  +
    ) -> ::std::option::Option<
         684  +
        &::std::collections::HashMap<
         685  +
            crate::model::LengthPatternString,
         686  +
            crate::model::LengthPatternString,
         687  +
        >,
         688  +
    > {
         689  +
        self.map_of_length_pattern_string.as_ref()
  528    690   
    }
  529    691   
}
  530         -
impl ConstrainedHttpPayloadBoundShapeOperationInput {
  531         -
    /// Creates a new builder-style object to manufacture [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
  532         -
    pub fn builder() -> crate::input::constrained_http_payload_bound_shape_operation_input::Builder
         692  +
impl QueryParamsTargetingMapOfLengthPatternStringOperationInput {
         693  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
         694  +
    pub fn builder(
         695  +
    ) -> crate::input::query_params_targeting_map_of_length_pattern_string_operation_input::Builder
  533    696   
    {
  534         -
        crate::input::constrained_http_payload_bound_shape_operation_input::Builder::default()
         697  +
        crate::input::query_params_targeting_map_of_length_pattern_string_operation_input::Builder::default()
  535    698   
    }
  536    699   
}
  537    700   
impl crate::constrained::Constrained
  538         -
    for crate::input::ConstrainedHttpPayloadBoundShapeOperationInput
         701  +
    for crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput
  539    702   
{
  540    703   
    type Unconstrained =
  541         -
        crate::input::constrained_http_payload_bound_shape_operation_input::Builder;
         704  +
        crate::input::query_params_targeting_map_of_length_pattern_string_operation_input::Builder;
  542    705   
}
  543    706   
  544    707   
#[allow(missing_docs)] // documentation missing in model
  545    708   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  546         -
pub struct ConstrainedHttpBoundShapesOperationInput {
  547         -
    #[allow(missing_docs)] // documentation missing in model
  548         -
    pub length_string_label: crate::model::LengthString,
  549         -
    #[allow(missing_docs)] // documentation missing in model
  550         -
    pub range_integer_label: crate::model::RangeInteger,
  551         -
    #[allow(missing_docs)] // documentation missing in model
  552         -
    pub range_short_label: crate::model::RangeShort,
  553         -
    #[allow(missing_docs)] // documentation missing in model
  554         -
    pub range_long_label: crate::model::RangeLong,
  555         -
    #[allow(missing_docs)] // documentation missing in model
  556         -
    pub range_byte_label: crate::model::RangeByte,
  557         -
    #[allow(missing_docs)] // documentation missing in model
  558         -
    pub enum_string_label: crate::model::EnumString,
  559         -
    #[allow(missing_docs)] // documentation missing in model
  560         -
    pub length_string_header_map:
  561         -
        ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
  562         -
    #[allow(missing_docs)] // documentation missing in model
  563         -
    pub length_string_header: ::std::option::Option<crate::model::LengthString>,
  564         -
    #[allow(missing_docs)] // documentation missing in model
  565         -
    pub range_integer_header: crate::model::RangeInteger,
  566         -
    #[allow(missing_docs)] // documentation missing in model
  567         -
    pub range_short_header: crate::model::RangeShort,
  568         -
    #[allow(missing_docs)] // documentation missing in model
  569         -
    pub range_long_header: crate::model::RangeLong,
  570         -
    #[allow(missing_docs)] // documentation missing in model
  571         -
    pub range_byte_header: crate::model::RangeByte,
  572         -
    #[allow(missing_docs)] // documentation missing in model
  573         -
    pub length_string_set_header: ::std::option::Option<crate::model::SetOfLengthString>,
  574         -
    #[allow(missing_docs)] // documentation missing in model
  575         -
    pub list_length_string_header:
  576         -
        ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
  577         -
    #[allow(missing_docs)] // documentation missing in model
  578         -
    pub length_list_pattern_string_header:
  579         -
        ::std::option::Option<crate::model::LengthListOfPatternString>,
  580         -
    #[allow(missing_docs)] // documentation missing in model
  581         -
    pub length_set_pattern_string_header:
  582         -
        ::std::option::Option<crate::model::LengthSetOfPatternString>,
  583         -
    #[allow(missing_docs)] // documentation missing in model
  584         -
    pub range_byte_set_header: ::std::option::Option<crate::model::SetOfRangeByte>,
  585         -
    #[allow(missing_docs)] // documentation missing in model
  586         -
    pub range_short_set_header: ::std::option::Option<crate::model::SetOfRangeShort>,
  587         -
    #[allow(missing_docs)] // documentation missing in model
  588         -
    pub range_integer_set_header: ::std::option::Option<crate::model::SetOfRangeInteger>,
  589         -
    #[allow(missing_docs)] // documentation missing in model
  590         -
    pub range_long_set_header: ::std::option::Option<crate::model::SetOfRangeLong>,
  591         -
    #[allow(missing_docs)] // documentation missing in model
  592         -
    pub range_byte_list_header: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
  593         -
    #[allow(missing_docs)] // documentation missing in model
  594         -
    pub range_short_list_header: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
  595         -
    #[allow(missing_docs)] // documentation missing in model
  596         -
    pub range_integer_list_header:
  597         -
        ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
  598         -
    #[allow(missing_docs)] // documentation missing in model
  599         -
    pub range_long_list_header: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
  600         -
    #[allow(missing_docs)] // documentation missing in model
  601         -
    pub length_string_query: ::std::option::Option<crate::model::LengthString>,
  602         -
    #[allow(missing_docs)] // documentation missing in model
  603         -
    pub range_byte_query: crate::model::RangeByte,
  604         -
    #[allow(missing_docs)] // documentation missing in model
  605         -
    pub range_short_query: crate::model::RangeShort,
  606         -
    #[allow(missing_docs)] // documentation missing in model
  607         -
    pub range_integer_query: crate::model::RangeInteger,
  608         -
    #[allow(missing_docs)] // documentation missing in model
  609         -
    pub range_long_query: crate::model::RangeLong,
  610         -
    #[allow(missing_docs)] // documentation missing in model
  611         -
    pub enum_string_query: ::std::option::Option<crate::model::EnumString>,
  612         -
    #[allow(missing_docs)] // documentation missing in model
  613         -
    pub length_string_list_query:
  614         -
        ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
  615         -
    #[allow(missing_docs)] // documentation missing in model
  616         -
    pub length_list_pattern_string_query:
  617         -
        ::std::option::Option<crate::model::LengthListOfPatternString>,
  618         -
    #[allow(missing_docs)] // documentation missing in model
  619         -
    pub length_string_set_query: ::std::option::Option<crate::model::SetOfLengthString>,
  620         -
    #[allow(missing_docs)] // documentation missing in model
  621         -
    pub range_byte_list_query: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
  622         -
    #[allow(missing_docs)] // documentation missing in model
  623         -
    pub range_short_list_query: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
  624         -
    #[allow(missing_docs)] // documentation missing in model
  625         -
    pub range_integer_list_query:
  626         -
        ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
  627         -
    #[allow(missing_docs)] // documentation missing in model
  628         -
    pub range_long_list_query: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
  629         -
    #[allow(missing_docs)] // documentation missing in model
  630         -
    pub range_byte_set_query: ::std::option::Option<crate::model::SetOfRangeByte>,
  631         -
    #[allow(missing_docs)] // documentation missing in model
  632         -
    pub range_short_set_query: ::std::option::Option<crate::model::SetOfRangeShort>,
  633         -
    #[allow(missing_docs)] // documentation missing in model
  634         -
    pub range_integer_set_query: ::std::option::Option<crate::model::SetOfRangeInteger>,
  635         -
    #[allow(missing_docs)] // documentation missing in model
  636         -
    pub range_long_set_query: ::std::option::Option<crate::model::SetOfRangeLong>,
         709  +
pub struct QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
  637    710   
    #[allow(missing_docs)] // documentation missing in model
  638         -
    pub enum_string_list_query: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
         711  +
    pub map_of_length_pattern_string: ::std::option::Option<
         712  +
        ::std::collections::HashMap<
         713  +
            crate::model::LengthPatternString,
         714  +
            ::std::vec::Vec<crate::model::LengthPatternString>,
         715  +
        >,
         716  +
    >,
  639    717   
}
  640         -
impl ConstrainedHttpBoundShapesOperationInput {
         718  +
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
  641    719   
    #[allow(missing_docs)] // documentation missing in model
  642         -
    pub fn length_string_label(&self) -> &crate::model::LengthString {
  643         -
        &self.length_string_label
         720  +
    pub fn map_of_length_pattern_string(
         721  +
        &self,
         722  +
    ) -> ::std::option::Option<
         723  +
        &::std::collections::HashMap<
         724  +
            crate::model::LengthPatternString,
         725  +
            ::std::vec::Vec<crate::model::LengthPatternString>,
         726  +
        >,
         727  +
    > {
         728  +
        self.map_of_length_pattern_string.as_ref()
  644    729   
    }
  645         -
    #[allow(missing_docs)] // documentation missing in model
  646         -
    pub fn range_integer_label(&self) -> &crate::model::RangeInteger {
  647         -
        &self.range_integer_label
         730  +
}
         731  +
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
         732  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
         733  +
    pub fn builder() -> crate::input::query_params_targeting_map_of_list_of_length_pattern_string_operation_input::Builder{
         734  +
        crate::input::query_params_targeting_map_of_list_of_length_pattern_string_operation_input::Builder::default()
  648    735   
    }
         736  +
}
         737  +
impl crate::constrained::Constrained
         738  +
    for crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput
         739  +
{
         740  +
    type Unconstrained = crate::input::query_params_targeting_map_of_list_of_length_pattern_string_operation_input::Builder;
         741  +
}
         742  +
         743  +
#[allow(missing_docs)] // documentation missing in model
         744  +
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
         745  +
pub struct HttpPrefixHeadersTargetingLengthMapOperationInput {
  649    746   
    #[allow(missing_docs)] // documentation missing in model
  650         -
    pub fn range_short_label(&self) -> &crate::model::RangeShort {
  651         -
        &self.range_short_label
  652         -
    }
         747  +
    pub length_map: ::std::option::Option<crate::model::ConBMap>,
         748  +
}
         749  +
impl HttpPrefixHeadersTargetingLengthMapOperationInput {
  653    750   
    #[allow(missing_docs)] // documentation missing in model
  654         -
    pub fn range_long_label(&self) -> &crate::model::RangeLong {
  655         -
        &self.range_long_label
         751  +
    pub fn length_map(&self) -> ::std::option::Option<&crate::model::ConBMap> {
         752  +
        self.length_map.as_ref()
  656    753   
    }
  657         -
    #[allow(missing_docs)] // documentation missing in model
  658         -
    pub fn range_byte_label(&self) -> &crate::model::RangeByte {
  659         -
        &self.range_byte_label
         754  +
}
         755  +
impl HttpPrefixHeadersTargetingLengthMapOperationInput {
         756  +
    /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
         757  +
    pub fn builder(
         758  +
    ) -> crate::input::http_prefix_headers_targeting_length_map_operation_input::Builder {
         759  +
        crate::input::http_prefix_headers_targeting_length_map_operation_input::Builder::default()
  660    760   
    }
         761  +
}
         762  +
impl crate::constrained::Constrained
         763  +
    for crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput
         764  +
{
         765  +
    type Unconstrained =
         766  +
        crate::input::http_prefix_headers_targeting_length_map_operation_input::Builder;
         767  +
}
         768  +
         769  +
#[allow(missing_docs)] // documentation missing in model
         770  +
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
         771  +
pub struct QueryParamsTargetingMapOfEnumStringOperationInput {
  661    772   
    #[allow(missing_docs)] // documentation missing in model
  662         -
    pub fn enum_string_label(&self) -> &crate::model::EnumString {
  663         -
        &self.enum_string_label
  664         -
    }
         773  +
    pub map_of_enum_string: ::std::option::Option<
         774  +
        ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
         775  +
    >,
         776  +
}
         777  +
impl QueryParamsTargetingMapOfEnumStringOperationInput {
  665    778   
    #[allow(missing_docs)] // documentation missing in model
  666         -
    pub fn length_string_header_map(
         779  +
    pub fn map_of_enum_string(
  667    780   
        &self,
  668         -
    ) -> &::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString> {
  669         -
        &self.length_string_header_map
         781  +
    ) -> ::std::option::Option<
         782  +
        &::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
         783  +
    > {
         784  +
        self.map_of_enum_string.as_ref()
  670    785   
    }
  671         -
    #[allow(missing_docs)] // documentation missing in model
  672         -
    pub fn length_string_header(&self) -> ::std::option::Option<&crate::model::LengthString> {
  673         -
        self.length_string_header.as_ref()
         786  +
}
         787  +
impl QueryParamsTargetingMapOfEnumStringOperationInput {
         788  +
    /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
         789  +
    pub fn builder(
         790  +
    ) -> crate::input::query_params_targeting_map_of_enum_string_operation_input::Builder {
         791  +
        crate::input::query_params_targeting_map_of_enum_string_operation_input::Builder::default()
  674    792   
    }
         793  +
}
         794  +
impl crate::constrained::Constrained
         795  +
    for crate::input::QueryParamsTargetingMapOfEnumStringOperationInput
         796  +
{
         797  +
    type Unconstrained =
         798  +
        crate::input::query_params_targeting_map_of_enum_string_operation_input::Builder;
         799  +
}
         800  +
         801  +
#[allow(missing_docs)] // documentation missing in model
         802  +
#[derive(
         803  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
         804  +
)]
         805  +
pub struct NonStreamingBlobOperationInput {
  675    806   
    #[allow(missing_docs)] // documentation missing in model
  676         -
    pub fn range_integer_header(&self) -> &crate::model::RangeInteger {
  677         -
        &self.range_integer_header
  678         -
    }
         807  +
    pub non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
         808  +
}
         809  +
impl NonStreamingBlobOperationInput {
  679    810   
    #[allow(missing_docs)] // documentation missing in model
  680         -
    pub fn range_short_header(&self) -> &crate::model::RangeShort {
  681         -
        &self.range_short_header
  682         -
    }
  683         -
    #[allow(missing_docs)] // documentation missing in model
  684         -
    pub fn range_long_header(&self) -> &crate::model::RangeLong {
  685         -
        &self.range_long_header
  686         -
    }
  687         -
    #[allow(missing_docs)] // documentation missing in model
  688         -
    pub fn range_byte_header(&self) -> &crate::model::RangeByte {
  689         -
        &self.range_byte_header
  690         -
    }
  691         -
    #[allow(missing_docs)] // documentation missing in model
  692         -
    pub fn length_string_set_header(
  693         -
        &self,
  694         -
    ) -> ::std::option::Option<&crate::model::SetOfLengthString> {
  695         -
        self.length_string_set_header.as_ref()
  696         -
    }
  697         -
    #[allow(missing_docs)] // documentation missing in model
  698         -
    pub fn list_length_string_header(
  699         -
        &self,
  700         -
    ) -> ::std::option::Option<&[crate::model::LengthString]> {
  701         -
        self.list_length_string_header.as_deref()
  702         -
    }
  703         -
    #[allow(missing_docs)] // documentation missing in model
  704         -
    pub fn length_list_pattern_string_header(
  705         -
        &self,
  706         -
    ) -> ::std::option::Option<&crate::model::LengthListOfPatternString> {
  707         -
        self.length_list_pattern_string_header.as_ref()
  708         -
    }
  709         -
    #[allow(missing_docs)] // documentation missing in model
  710         -
    pub fn length_set_pattern_string_header(
  711         -
        &self,
  712         -
    ) -> ::std::option::Option<&crate::model::LengthSetOfPatternString> {
  713         -
        self.length_set_pattern_string_header.as_ref()
  714         -
    }
  715         -
    #[allow(missing_docs)] // documentation missing in model
  716         -
    pub fn range_byte_set_header(&self) -> ::std::option::Option<&crate::model::SetOfRangeByte> {
  717         -
        self.range_byte_set_header.as_ref()
  718         -
    }
  719         -
    #[allow(missing_docs)] // documentation missing in model
  720         -
    pub fn range_short_set_header(&self) -> ::std::option::Option<&crate::model::SetOfRangeShort> {
  721         -
        self.range_short_set_header.as_ref()
  722         -
    }
  723         -
    #[allow(missing_docs)] // documentation missing in model
  724         -
    pub fn range_integer_set_header(
  725         -
        &self,
  726         -
    ) -> ::std::option::Option<&crate::model::SetOfRangeInteger> {
  727         -
        self.range_integer_set_header.as_ref()
  728         -
    }
  729         -
    #[allow(missing_docs)] // documentation missing in model
  730         -
    pub fn range_long_set_header(&self) -> ::std::option::Option<&crate::model::SetOfRangeLong> {
  731         -
        self.range_long_set_header.as_ref()
  732         -
    }
  733         -
    #[allow(missing_docs)] // documentation missing in model
  734         -
    pub fn range_byte_list_header(&self) -> ::std::option::Option<&[crate::model::RangeByte]> {
  735         -
        self.range_byte_list_header.as_deref()
  736         -
    }
  737         -
    #[allow(missing_docs)] // documentation missing in model
  738         -
    pub fn range_short_list_header(&self) -> ::std::option::Option<&[crate::model::RangeShort]> {
  739         -
        self.range_short_list_header.as_deref()
  740         -
    }
  741         -
    #[allow(missing_docs)] // documentation missing in model
  742         -
    pub fn range_integer_list_header(
  743         -
        &self,
  744         -
    ) -> ::std::option::Option<&[crate::model::RangeInteger]> {
  745         -
        self.range_integer_list_header.as_deref()
  746         -
    }
  747         -
    #[allow(missing_docs)] // documentation missing in model
  748         -
    pub fn range_long_list_header(&self) -> ::std::option::Option<&[crate::model::RangeLong]> {
  749         -
        self.range_long_list_header.as_deref()
  750         -
    }
  751         -
    #[allow(missing_docs)] // documentation missing in model
  752         -
    pub fn length_string_query(&self) -> ::std::option::Option<&crate::model::LengthString> {
  753         -
        self.length_string_query.as_ref()
  754         -
    }
  755         -
    #[allow(missing_docs)] // documentation missing in model
  756         -
    pub fn range_byte_query(&self) -> &crate::model::RangeByte {
  757         -
        &self.range_byte_query
  758         -
    }
  759         -
    #[allow(missing_docs)] // documentation missing in model
  760         -
    pub fn range_short_query(&self) -> &crate::model::RangeShort {
  761         -
        &self.range_short_query
  762         -
    }
  763         -
    #[allow(missing_docs)] // documentation missing in model
  764         -
    pub fn range_integer_query(&self) -> &crate::model::RangeInteger {
  765         -
        &self.range_integer_query
  766         -
    }
  767         -
    #[allow(missing_docs)] // documentation missing in model
  768         -
    pub fn range_long_query(&self) -> &crate::model::RangeLong {
  769         -
        &self.range_long_query
  770         -
    }
  771         -
    #[allow(missing_docs)] // documentation missing in model
  772         -
    pub fn enum_string_query(&self) -> ::std::option::Option<&crate::model::EnumString> {
  773         -
        self.enum_string_query.as_ref()
  774         -
    }
  775         -
    #[allow(missing_docs)] // documentation missing in model
  776         -
    pub fn length_string_list_query(&self) -> ::std::option::Option<&[crate::model::LengthString]> {
  777         -
        self.length_string_list_query.as_deref()
  778         -
    }
  779         -
    #[allow(missing_docs)] // documentation missing in model
  780         -
    pub fn length_list_pattern_string_query(
  781         -
        &self,
  782         -
    ) -> ::std::option::Option<&crate::model::LengthListOfPatternString> {
  783         -
        self.length_list_pattern_string_query.as_ref()
  784         -
    }
  785         -
    #[allow(missing_docs)] // documentation missing in model
  786         -
    pub fn length_string_set_query(
  787         -
        &self,
  788         -
    ) -> ::std::option::Option<&crate::model::SetOfLengthString> {
  789         -
        self.length_string_set_query.as_ref()
  790         -
    }
  791         -
    #[allow(missing_docs)] // documentation missing in model
  792         -
    pub fn range_byte_list_query(&self) -> ::std::option::Option<&[crate::model::RangeByte]> {
  793         -
        self.range_byte_list_query.as_deref()
  794         -
    }
  795         -
    #[allow(missing_docs)] // documentation missing in model
  796         -
    pub fn range_short_list_query(&self) -> ::std::option::Option<&[crate::model::RangeShort]> {
  797         -
        self.range_short_list_query.as_deref()
  798         -
    }
  799         -
    #[allow(missing_docs)] // documentation missing in model
  800         -
    pub fn range_integer_list_query(&self) -> ::std::option::Option<&[crate::model::RangeInteger]> {
  801         -
        self.range_integer_list_query.as_deref()
  802         -
    }
  803         -
    #[allow(missing_docs)] // documentation missing in model
  804         -
    pub fn range_long_list_query(&self) -> ::std::option::Option<&[crate::model::RangeLong]> {
  805         -
        self.range_long_list_query.as_deref()
  806         -
    }
  807         -
    #[allow(missing_docs)] // documentation missing in model
  808         -
    pub fn range_byte_set_query(&self) -> ::std::option::Option<&crate::model::SetOfRangeByte> {
  809         -
        self.range_byte_set_query.as_ref()
  810         -
    }
  811         -
    #[allow(missing_docs)] // documentation missing in model
  812         -
    pub fn range_short_set_query(&self) -> ::std::option::Option<&crate::model::SetOfRangeShort> {
  813         -
        self.range_short_set_query.as_ref()
  814         -
    }
  815         -
    #[allow(missing_docs)] // documentation missing in model
  816         -
    pub fn range_integer_set_query(
  817         -
        &self,
  818         -
    ) -> ::std::option::Option<&crate::model::SetOfRangeInteger> {
  819         -
        self.range_integer_set_query.as_ref()
  820         -
    }
  821         -
    #[allow(missing_docs)] // documentation missing in model
  822         -
    pub fn range_long_set_query(&self) -> ::std::option::Option<&crate::model::SetOfRangeLong> {
  823         -
        self.range_long_set_query.as_ref()
  824         -
    }
  825         -
    #[allow(missing_docs)] // documentation missing in model
  826         -
    pub fn enum_string_list_query(&self) -> ::std::option::Option<&[crate::model::EnumString]> {
  827         -
        self.enum_string_list_query.as_deref()
         811  +
    pub fn non_streaming_blob(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
         812  +
        self.non_streaming_blob.as_ref()
  828    813   
    }
  829    814   
}
  830         -
impl ConstrainedHttpBoundShapesOperationInput {
  831         -
    /// Creates a new builder-style object to manufacture [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
  832         -
    pub fn builder() -> crate::input::constrained_http_bound_shapes_operation_input::Builder {
  833         -
        crate::input::constrained_http_bound_shapes_operation_input::Builder::default()
         815  +
impl NonStreamingBlobOperationInput {
         816  +
    /// Creates a new builder-style object to manufacture [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
         817  +
    pub fn builder() -> crate::input::non_streaming_blob_operation_input::Builder {
         818  +
        crate::input::non_streaming_blob_operation_input::Builder::default()
  834    819   
    }
  835    820   
}
  836         -
impl crate::constrained::Constrained for crate::input::ConstrainedHttpBoundShapesOperationInput {
  837         -
    type Unconstrained = crate::input::constrained_http_bound_shapes_operation_input::Builder;
         821  +
impl crate::constrained::Constrained for crate::input::NonStreamingBlobOperationInput {
         822  +
    type Unconstrained = crate::input::non_streaming_blob_operation_input::Builder;
  838    823   
}
  839    824   
  840    825   
#[allow(missing_docs)] // documentation missing in model
  841         -
#[derive(
  842         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  843         -
)]
  844         -
pub struct ConstrainedShapesOnlyInOutputOperationInput {}
  845         -
impl ConstrainedShapesOnlyInOutputOperationInput {
  846         -
    /// Creates a new builder-style object to manufacture [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
  847         -
    pub fn builder() -> crate::input::constrained_shapes_only_in_output_operation_input::Builder {
  848         -
        crate::input::constrained_shapes_only_in_output_operation_input::Builder::default()
         826  +
#[derive(::std::fmt::Debug)]
         827  +
pub struct StreamingBlobOperationInput {
         828  +
    #[allow(missing_docs)] // documentation missing in model
         829  +
    pub streaming_blob: ::aws_smithy_types::byte_stream::ByteStream,
         830  +
}
         831  +
impl StreamingBlobOperationInput {
         832  +
    #[allow(missing_docs)] // documentation missing in model
         833  +
    pub fn streaming_blob(&self) -> &::aws_smithy_types::byte_stream::ByteStream {
         834  +
        &self.streaming_blob
  849    835   
    }
  850    836   
}
  851         -
impl crate::constrained::Constrained for crate::input::ConstrainedShapesOnlyInOutputOperationInput {
  852         -
    type Unconstrained = crate::input::constrained_shapes_only_in_output_operation_input::Builder;
         837  +
impl StreamingBlobOperationInput {
         838  +
    /// Creates a new builder-style object to manufacture [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
         839  +
    pub fn builder() -> crate::input::streaming_blob_operation_input::Builder {
         840  +
        crate::input::streaming_blob_operation_input::Builder::default()
         841  +
    }
         842  +
}
         843  +
impl crate::constrained::Constrained for crate::input::StreamingBlobOperationInput {
         844  +
    type Unconstrained = crate::input::streaming_blob_operation_input::Builder;
  853    845   
}
  854    846   
  855    847   
#[allow(missing_docs)] // documentation missing in model
  856         -
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  857         -
pub struct ConstrainedShapesOperationInput {
         848  +
#[derive(::std::fmt::Debug)]
         849  +
pub struct EventStreamsOperationInput {
  858    850   
    #[allow(missing_docs)] // documentation missing in model
  859         -
    pub con_a: crate::model::ConA,
         851  +
    pub events: ::aws_smithy_legacy_http::event_stream::Receiver<
         852  +
        crate::model::Event,
         853  +
        crate::error::EventError,
         854  +
    >,
  860    855   
}
  861         -
impl ConstrainedShapesOperationInput {
         856  +
impl EventStreamsOperationInput {
  862    857   
    #[allow(missing_docs)] // documentation missing in model
  863         -
    pub fn con_a(&self) -> &crate::model::ConA {
  864         -
        &self.con_a
         858  +
    pub fn events(
         859  +
        &self,
         860  +
    ) -> &::aws_smithy_legacy_http::event_stream::Receiver<
         861  +
        crate::model::Event,
         862  +
        crate::error::EventError,
         863  +
    > {
         864  +
        &self.events
  865    865   
    }
  866    866   
}
  867         -
impl ConstrainedShapesOperationInput {
  868         -
    /// Creates a new builder-style object to manufacture [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
  869         -
    pub fn builder() -> crate::input::constrained_shapes_operation_input::Builder {
  870         -
        crate::input::constrained_shapes_operation_input::Builder::default()
         867  +
impl EventStreamsOperationInput {
         868  +
    /// Creates a new builder-style object to manufacture [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
         869  +
    pub fn builder() -> crate::input::event_streams_operation_input::Builder {
         870  +
        crate::input::event_streams_operation_input::Builder::default()
  871    871   
    }
  872    872   
}
  873         -
impl crate::constrained::Constrained for crate::input::ConstrainedShapesOperationInput {
  874         -
    type Unconstrained = crate::input::constrained_shapes_operation_input::Builder;
         873  +
impl crate::constrained::Constrained for crate::input::EventStreamsOperationInput {
         874  +
    type Unconstrained = crate::input::event_streams_operation_input::Builder;
  875    875   
}
  876         -
/// See [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
  877         -
pub mod event_streams_operation_input {
         876  +
/// See [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
         877  +
pub mod constrained_shapes_operation_input {
  878    878   
  879    879   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
  880    880   
    /// Holds one variant for each of the ways the builder can fail.
  881    881   
    #[non_exhaustive]
  882    882   
    #[allow(clippy::enum_variant_names)]
  883    883   
    pub enum ConstraintViolation {
  884         -
        /// `events` was not provided but it is required when building `EventStreamsOperationInput`.
  885         -
        MissingEvents,
         884  +
        /// `con_a` was not provided but it is required when building `ConstrainedShapesOperationInput`.
         885  +
        MissingConA,
         886  +
        /// Constraint violation occurred building member `con_a` when building `ConstrainedShapesOperationInput`.
         887  +
        #[doc(hidden)]
         888  +
        ConA(crate::model::con_a::ConstraintViolation),
  886    889   
    }
  887    890   
    impl ::std::fmt::Display for ConstraintViolation {
  888    891   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  889    892   
            match self {
  890         -
                ConstraintViolation::MissingEvents => write!(f, "`events` was not provided but it is required when building `EventStreamsOperationInput`"),
         893  +
                ConstraintViolation::MissingConA => write!(f, "`con_a` was not provided but it is required when building `ConstrainedShapesOperationInput`"),
         894  +
                ConstraintViolation::ConA(_) => write!(f, "constraint violation occurred building member `con_a` when building `ConstrainedShapesOperationInput`"),
  891    895   
            }
  892    896   
        }
  893    897   
    }
  894    898   
    impl ::std::error::Error for ConstraintViolation {}
  895    899   
    impl ConstraintViolation {
  896    900   
        pub(crate) fn as_validation_exception_field(
  897    901   
            self,
  898    902   
            path: ::std::string::String,
  899    903   
        ) -> crate::model::ValidationExceptionField {
  900    904   
            match self {
  901         -
            ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
  902         -
                                                message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
  903         -
                                                path: path + "/events",
         905  +
                ConstraintViolation::MissingConA => crate::model::ValidationExceptionField {
         906  +
                    message: format!(
         907  +
                        "Value at '{}/conA' failed to satisfy constraint: Member must not be null",
         908  +
                        path
         909  +
                    ),
         910  +
                    path: path + "/conA",
  904    911   
                },
         912  +
                ConstraintViolation::ConA(inner) => {
         913  +
                    inner.as_validation_exception_field(path + "/conA")
         914  +
                }
  905    915   
            }
  906    916   
        }
  907    917   
    }
  908    918   
    impl ::std::convert::From<ConstraintViolation>
  909    919   
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
  910    920   
    {
  911    921   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  912    922   
            let first_validation_exception_field =
  913    923   
                constraint_violation.as_validation_exception_field("".to_owned());
  914    924   
            let validation_exception = crate::error::ValidationException {
  915    925   
                message: format!(
  916    926   
                    "1 validation error detected. {}",
  917    927   
                    &first_validation_exception_field.message
  918    928   
                ),
  919    929   
                field_list: Some(vec![first_validation_exception_field]),
  920    930   
            };
  921    931   
            Self::ConstraintViolation(
  922    932   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
  923    933   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
  924    934   
                            )
  925    935   
        }
  926    936   
    }
  927    937   
    impl ::std::convert::From<Builder>
  928         -
        for crate::constrained::MaybeConstrained<crate::input::EventStreamsOperationInput>
         938  +
        for crate::constrained::MaybeConstrained<crate::input::ConstrainedShapesOperationInput>
  929    939   
    {
  930    940   
        fn from(builder: Builder) -> Self {
  931    941   
            Self::Unconstrained(builder)
  932    942   
        }
  933    943   
    }
  934         -
    impl ::std::convert::TryFrom<Builder> for crate::input::EventStreamsOperationInput {
         944  +
    impl ::std::convert::TryFrom<Builder> for crate::input::ConstrainedShapesOperationInput {
  935    945   
        type Error = ConstraintViolation;
  936    946   
  937    947   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
  938    948   
            builder.build()
  939    949   
        }
  940    950   
    }
  941         -
    /// A builder for [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
  942         -
    #[derive(::std::default::Default, ::std::fmt::Debug)]
         951  +
    /// A builder for [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
         952  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
  943    953   
    pub struct Builder {
  944         -
        pub(crate) events: ::std::option::Option<
  945         -
            ::aws_smithy_legacy_http::event_stream::Receiver<
  946         -
                crate::model::Event,
  947         -
                crate::error::EventError,
  948         -
            >,
  949         -
        >,
         954  +
        pub(crate) con_a:
         955  +
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConA>>,
  950    956   
    }
  951    957   
    impl Builder {
  952    958   
        #[allow(missing_docs)] // documentation missing in model
  953         -
        pub fn events(
  954         -
            mut self,
  955         -
            input: ::aws_smithy_legacy_http::event_stream::Receiver<
  956         -
                crate::model::Event,
  957         -
                crate::error::EventError,
  958         -
            >,
  959         -
        ) -> Self {
  960         -
            self.events = Some(input);
         959  +
        pub fn con_a(mut self, input: crate::model::ConA) -> Self {
         960  +
            self.con_a = Some(crate::constrained::MaybeConstrained::Constrained(input));
  961    961   
            self
  962    962   
        }
  963    963   
        #[allow(missing_docs)] // documentation missing in model
  964         -
        pub(crate) fn set_events(
         964  +
        pub(crate) fn set_con_a(
  965    965   
            mut self,
  966         -
            input: impl ::std::convert::Into<
  967         -
                ::aws_smithy_legacy_http::event_stream::Receiver<
  968         -
                    crate::model::Event,
  969         -
                    crate::error::EventError,
  970         -
                >,
  971         -
            >,
         966  +
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConA>>,
  972    967   
        ) -> Self {
  973         -
            self.events = Some(input.into());
         968  +
            self.con_a = Some(input.into());
  974    969   
            self
  975    970   
        }
  976         -
        /// Consumes the builder and constructs a [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
         971  +
        /// Consumes the builder and constructs a [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
  977    972   
        ///
  978         -
        /// The builder fails to construct a [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput) if a [`ConstraintViolation`] occurs.
         973  +
        /// The builder fails to construct a [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput) if a [`ConstraintViolation`] occurs.
  979    974   
        ///
         975  +
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
  980    976   
        pub fn build(
  981    977   
            self,
  982         -
        ) -> Result<crate::input::EventStreamsOperationInput, ConstraintViolation> {
         978  +
        ) -> Result<crate::input::ConstrainedShapesOperationInput, ConstraintViolation> {
  983    979   
            self.build_enforcing_all_constraints()
  984    980   
        }
  985    981   
        fn build_enforcing_all_constraints(
  986    982   
            self,
  987         -
        ) -> Result<crate::input::EventStreamsOperationInput, ConstraintViolation> {
  988         -
            Ok(crate::input::EventStreamsOperationInput {
  989         -
                events: self.events.ok_or(ConstraintViolation::MissingEvents)?,
         983  +
        ) -> Result<crate::input::ConstrainedShapesOperationInput, ConstraintViolation> {
         984  +
            Ok(crate::input::ConstrainedShapesOperationInput {
         985  +
                con_a: self
         986  +
                    .con_a
         987  +
                    .map(|v| match v {
         988  +
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
         989  +
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
         990  +
                    })
         991  +
                    .map(|res| res.map_err(ConstraintViolation::ConA))
         992  +
                    .transpose()?
         993  +
                    .ok_or(ConstraintViolation::MissingConA)?,
  990    994   
            })
  991    995   
        }
  992    996   
    }
  993    997   
}
  994         -
/// See [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
  995         -
pub mod streaming_blob_operation_input {
  996         -
  997         -
    impl ::std::convert::From<Builder> for crate::input::StreamingBlobOperationInput {
  998         -
        fn from(builder: Builder) -> Self {
  999         -
            builder.build()
 1000         -
        }
 1001         -
    }
 1002         -
    /// A builder for [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
 1003         -
    #[derive(::std::default::Default, ::std::fmt::Debug)]
 1004         -
    pub struct Builder {
 1005         -
        pub(crate) streaming_blob:
 1006         -
            ::std::option::Option<::aws_smithy_types::byte_stream::ByteStream>,
 1007         -
    }
 1008         -
    impl Builder {
 1009         -
        #[allow(missing_docs)] // documentation missing in model
 1010         -
        pub fn streaming_blob(
 1011         -
            mut self,
 1012         -
            input: ::aws_smithy_types::byte_stream::ByteStream,
 1013         -
        ) -> Self {
 1014         -
            self.streaming_blob = Some(input);
 1015         -
            self
 1016         -
        }
 1017         -
        #[allow(missing_docs)] // documentation missing in model
 1018         -
        pub(crate) fn set_streaming_blob(
 1019         -
            mut self,
 1020         -
            input: impl ::std::convert::Into<::aws_smithy_types::byte_stream::ByteStream>,
 1021         -
        ) -> Self {
 1022         -
            self.streaming_blob = Some(input.into());
 1023         -
            self
 1024         -
        }
 1025         -
        /// Consumes the builder and constructs a [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
 1026         -
        pub fn build(self) -> crate::input::StreamingBlobOperationInput {
 1027         -
            self.build_enforcing_all_constraints()
 1028         -
        }
 1029         -
        fn build_enforcing_all_constraints(self) -> crate::input::StreamingBlobOperationInput {
 1030         -
            crate::input::StreamingBlobOperationInput {
 1031         -
                streaming_blob: self.streaming_blob.unwrap_or_default(),
 1032         -
            }
 1033         -
        }
 1034         -
    }
 1035         -
}
 1036         -
/// See [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
 1037         -
pub mod non_streaming_blob_operation_input {
         998  +
/// See [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
         999  +
pub mod constrained_shapes_only_in_output_operation_input {
 1038   1000   
 1039         -
    impl ::std::convert::From<Builder> for crate::input::NonStreamingBlobOperationInput {
        1001  +
    impl ::std::convert::From<Builder> for crate::input::ConstrainedShapesOnlyInOutputOperationInput {
 1040   1002   
        fn from(builder: Builder) -> Self {
 1041   1003   
            builder.build()
 1042   1004   
        }
 1043   1005   
    }
 1044         -
    /// A builder for [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
        1006  +
    /// A builder for [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
 1045   1007   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1046         -
    pub struct Builder {
 1047         -
        pub(crate) non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
 1048         -
    }
        1008  +
    pub struct Builder {}
 1049   1009   
    impl Builder {
 1050         -
        #[allow(missing_docs)] // documentation missing in model
 1051         -
        pub fn non_streaming_blob(
 1052         -
            mut self,
 1053         -
            input: ::std::option::Option<::aws_smithy_types::Blob>,
 1054         -
        ) -> Self {
 1055         -
            self.non_streaming_blob = input;
 1056         -
            self
 1057         -
        }
 1058         -
        #[allow(missing_docs)] // documentation missing in model
 1059         -
        pub(crate) fn set_non_streaming_blob(
 1060         -
            mut self,
 1061         -
            input: Option<impl ::std::convert::Into<::aws_smithy_types::Blob>>,
 1062         -
        ) -> Self {
 1063         -
            self.non_streaming_blob = input.map(|v| v.into());
 1064         -
            self
 1065         -
        }
 1066         -
        /// Consumes the builder and constructs a [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
 1067         -
        pub fn build(self) -> crate::input::NonStreamingBlobOperationInput {
        1010  +
        /// Consumes the builder and constructs a [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
        1011  +
        pub fn build(self) -> crate::input::ConstrainedShapesOnlyInOutputOperationInput {
 1068   1012   
            self.build_enforcing_all_constraints()
 1069   1013   
        }
 1070         -
        fn build_enforcing_all_constraints(self) -> crate::input::NonStreamingBlobOperationInput {
 1071         -
            crate::input::NonStreamingBlobOperationInput {
 1072         -
                non_streaming_blob: self.non_streaming_blob,
 1073         -
            }
        1014  +
        fn build_enforcing_all_constraints(
        1015  +
            self,
        1016  +
        ) -> crate::input::ConstrainedShapesOnlyInOutputOperationInput {
        1017  +
            crate::input::ConstrainedShapesOnlyInOutputOperationInput {}
 1074   1018   
        }
 1075   1019   
    }
 1076   1020   
}
 1077         -
/// See [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
 1078         -
pub mod query_params_targeting_map_of_enum_string_operation_input {
        1021  +
/// See [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
        1022  +
pub mod constrained_http_bound_shapes_operation_input {
 1079   1023   
 1080   1024   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1081   1025   
    /// Holds one variant for each of the ways the builder can fail.
 1082   1026   
    #[non_exhaustive]
 1083   1027   
    #[allow(clippy::enum_variant_names)]
 1084   1028   
    pub enum ConstraintViolation {
 1085         -
        /// Constraint violation occurred building member `map_of_enum_string` when building `QueryParamsTargetingMapOfEnumStringOperationInput`.
        1029  +
        /// `length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`.
        1030  +
        MissingLengthStringLabel,
        1031  +
        /// Constraint violation occurred building member `length_string_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 1086   1032   
        #[doc(hidden)]
 1087         -
        MapOfEnumString(crate::model::map_of_enum_string::ConstraintViolation),
 1088         -
    }
 1089         -
    impl ::std::fmt::Display for ConstraintViolation {
 1090         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1091         -
            match self {
 1092         -
                ConstraintViolation::MapOfEnumString(_) => write!(f, "constraint violation occurred building member `map_of_enum_string` when building `QueryParamsTargetingMapOfEnumStringOperationInput`"),
 1093         -
            }
 1094         -
        }
 1095         -
    }
 1096         -
    impl ::std::error::Error for ConstraintViolation {}
 1097         -
    impl ConstraintViolation {
 1098         -
        pub(crate) fn as_validation_exception_field(
 1099         -
            self,
 1100         -
            path: ::std::string::String,
 1101         -
        ) -> crate::model::ValidationExceptionField {
 1102         -
            match self {
 1103         -
                ConstraintViolation::MapOfEnumString(inner) => {
 1104         -
                    inner.as_validation_exception_field(path + "/mapOfEnumString")
 1105         -
                }
 1106         -
            }
 1107         -
        }
 1108         -
    }
 1109         -
    impl ::std::convert::From<ConstraintViolation>
 1110         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1111         -
    {
 1112         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1113         -
            let first_validation_exception_field =
 1114         -
                constraint_violation.as_validation_exception_field("".to_owned());
 1115         -
            let validation_exception = crate::error::ValidationException {
 1116         -
                message: format!(
 1117         -
                    "1 validation error detected. {}",
 1118         -
                    &first_validation_exception_field.message
        1033  +
        LengthStringLabel(crate::model::length_string::ConstraintViolation),
        1034  +
        /// Constraint violation occurred building member `range_integer_label` when building `ConstrainedHttpBoundShapesOperationInput`.
        1035  +
        #[doc(hidden)]
        1036  +
        RangeIntegerLabel(crate::model::range_integer::ConstraintViolation),
        1037  +
        /// Constraint violation occurred building member `range_short_label` when building `ConstrainedHttpBoundShapesOperationInput`.
        1038  +
        #[doc(hidden)]
        1039  +
        RangeShortLabel(crate::model::range_short::ConstraintViolation),
        1040  +
        /// Constraint violation occurred building member `range_long_label` when building `ConstrainedHttpBoundShapesOperationInput`.
        1041  +
        #[doc(hidden)]
        1042  +
        RangeLongLabel(crate::model::range_long::ConstraintViolation),
        1043  +
        /// Constraint violation occurred building member `range_byte_label` when building `ConstrainedHttpBoundShapesOperationInput`.
        1044  +
        #[doc(hidden)]
        1045  +
        RangeByteLabel(crate::model::range_byte::ConstraintViolation),
        1046  +
        /// `enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`.
        1047  +
        MissingEnumStringLabel,
        1048  +
        /// Constraint violation occurred building member `enum_string_label` when building `ConstrainedHttpBoundShapesOperationInput`.
        1049  +
        #[doc(hidden)]
        1050  +
        EnumStringLabel(crate::model::enum_string::ConstraintViolation),
        1051  +
        /// `length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`.
        1052  +
        MissingLengthStringHeaderMap,
        1053  +
        /// Constraint violation occurred building member `length_string_header_map` when building `ConstrainedHttpBoundShapesOperationInput`.
        1054  +
        #[doc(hidden)]
        1055  +
        LengthStringHeaderMap(crate::model::map_of_length_string::ConstraintViolation),
        1056  +
        /// Constraint violation occurred building member `length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1057  +
        #[doc(hidden)]
        1058  +
        LengthStringHeader(crate::model::length_string::ConstraintViolation),
        1059  +
        /// Constraint violation occurred building member `range_integer_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1060  +
        #[doc(hidden)]
        1061  +
        RangeIntegerHeader(crate::model::range_integer::ConstraintViolation),
        1062  +
        /// Constraint violation occurred building member `range_short_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1063  +
        #[doc(hidden)]
        1064  +
        RangeShortHeader(crate::model::range_short::ConstraintViolation),
        1065  +
        /// Constraint violation occurred building member `range_long_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1066  +
        #[doc(hidden)]
        1067  +
        RangeLongHeader(crate::model::range_long::ConstraintViolation),
        1068  +
        /// Constraint violation occurred building member `range_byte_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1069  +
        #[doc(hidden)]
        1070  +
        RangeByteHeader(crate::model::range_byte::ConstraintViolation),
        1071  +
        /// Constraint violation occurred building member `length_string_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1072  +
        #[doc(hidden)]
        1073  +
        LengthStringSetHeader(crate::model::set_of_length_string::ConstraintViolation),
        1074  +
        /// Constraint violation occurred building member `list_length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1075  +
        #[doc(hidden)]
        1076  +
        ListLengthStringHeader(crate::model::list_of_length_string::ConstraintViolation),
        1077  +
        /// Constraint violation occurred building member `length_list_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1078  +
        #[doc(hidden)]
        1079  +
        LengthListPatternStringHeader(
        1080  +
            crate::model::length_list_of_pattern_string::ConstraintViolation,
 1119   1081   
        ),
 1120         -
                field_list: Some(vec![first_validation_exception_field]),
 1121         -
            };
 1122         -
            Self::ConstraintViolation(
 1123         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1124         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1125         -
                            )
 1126         -
        }
 1127         -
    }
 1128         -
    impl ::std::convert::From<Builder>
 1129         -
        for crate::constrained::MaybeConstrained<
 1130         -
            crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
 1131         -
        >
 1132         -
    {
 1133         -
        fn from(builder: Builder) -> Self {
 1134         -
            Self::Unconstrained(builder)
 1135         -
        }
 1136         -
    }
 1137         -
    impl ::std::convert::TryFrom<Builder>
 1138         -
        for crate::input::QueryParamsTargetingMapOfEnumStringOperationInput
 1139         -
    {
 1140         -
        type Error = ConstraintViolation;
 1141         -
 1142         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1143         -
            builder.build()
 1144         -
        }
 1145         -
    }
 1146         -
    /// A builder for [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
 1147         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1148         -
    pub struct Builder {
 1149         -
        pub(crate) map_of_enum_string: ::std::option::Option<
 1150         -
            crate::constrained::MaybeConstrained<
 1151         -
                crate::constrained::map_of_enum_string_constrained::MapOfEnumStringConstrained,
 1152         -
            >,
 1153         -
        >,
 1154         -
    }
 1155         -
    impl Builder {
 1156         -
        #[allow(missing_docs)] // documentation missing in model
 1157         -
        pub fn map_of_enum_string(
 1158         -
            mut self,
 1159         -
            input: ::std::option::Option<
 1160         -
                ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
 1161         -
            >,
 1162         -
        ) -> Self {
 1163         -
            self.map_of_enum_string =
 1164         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 1165         -
            self
 1166         -
        }
 1167         -
        #[allow(missing_docs)] // documentation missing in model
 1168         -
        pub(crate) fn set_map_of_enum_string(
 1169         -
            mut self,
 1170         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_enum_string_constrained::MapOfEnumStringConstrained>>>,
 1171         -
        ) -> Self {
 1172         -
            self.map_of_enum_string = input.map(|v| v.into());
 1173         -
            self
 1174         -
        }
 1175         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
 1176         -
        ///
 1177         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput) if a [`ConstraintViolation`] occurs.
 1178         -
        ///
 1179         -
        pub fn build(
 1180         -
            self,
 1181         -
        ) -> Result<
 1182         -
            crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
 1183         -
            ConstraintViolation,
 1184         -
        > {
 1185         -
            self.build_enforcing_all_constraints()
 1186         -
        }
 1187         -
        fn build_enforcing_all_constraints(
 1188         -
            self,
 1189         -
        ) -> Result<
 1190         -
            crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
 1191         -
            ConstraintViolation,
 1192         -
        > {
 1193         -
            Ok(
 1194         -
                crate::input::QueryParamsTargetingMapOfEnumStringOperationInput {
 1195         -
                    map_of_enum_string: self
 1196         -
                        .map_of_enum_string
 1197         -
                        .map(|v| match v {
 1198         -
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1199         -
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1200         -
                        })
 1201         -
                        .map(|res| {
 1202         -
                            res.map(|v| v.into())
 1203         -
                                .map_err(ConstraintViolation::MapOfEnumString)
 1204         -
                        })
 1205         -
                        .transpose()?,
 1206         -
                },
 1207         -
            )
 1208         -
        }
 1209         -
    }
 1210         -
}
 1211         -
/// See [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
 1212         -
pub mod http_prefix_headers_targeting_length_map_operation_input {
 1213         -
 1214         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1215         -
    /// Holds one variant for each of the ways the builder can fail.
 1216         -
    #[non_exhaustive]
 1217         -
    #[allow(clippy::enum_variant_names)]
 1218         -
    pub enum ConstraintViolation {
 1219         -
        /// Constraint violation occurred building member `length_map` when building `HttpPrefixHeadersTargetingLengthMapOperationInput`.
        1082  +
        /// Constraint violation occurred building member `length_set_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 1220   1083   
        #[doc(hidden)]
 1221         -
        LengthMap(crate::model::con_b_map::ConstraintViolation),
        1084  +
        LengthSetPatternStringHeader(
        1085  +
            crate::model::length_set_of_pattern_string::ConstraintViolation,
        1086  +
        ),
        1087  +
        /// Constraint violation occurred building member `range_byte_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1088  +
        #[doc(hidden)]
        1089  +
        RangeByteSetHeader(crate::model::set_of_range_byte::ConstraintViolation),
        1090  +
        /// Constraint violation occurred building member `range_short_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1091  +
        #[doc(hidden)]
        1092  +
        RangeShortSetHeader(crate::model::set_of_range_short::ConstraintViolation),
        1093  +
        /// Constraint violation occurred building member `range_integer_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1094  +
        #[doc(hidden)]
        1095  +
        RangeIntegerSetHeader(crate::model::set_of_range_integer::ConstraintViolation),
        1096  +
        /// Constraint violation occurred building member `range_long_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1097  +
        #[doc(hidden)]
        1098  +
        RangeLongSetHeader(crate::model::set_of_range_long::ConstraintViolation),
        1099  +
        /// Constraint violation occurred building member `range_byte_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1100  +
        #[doc(hidden)]
        1101  +
        RangeByteListHeader(crate::model::list_of_range_byte::ConstraintViolation),
        1102  +
        /// Constraint violation occurred building member `range_short_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1103  +
        #[doc(hidden)]
        1104  +
        RangeShortListHeader(crate::model::list_of_range_short::ConstraintViolation),
        1105  +
        /// Constraint violation occurred building member `range_integer_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1106  +
        #[doc(hidden)]
        1107  +
        RangeIntegerListHeader(crate::model::list_of_range_integer::ConstraintViolation),
        1108  +
        /// Constraint violation occurred building member `range_long_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
        1109  +
        #[doc(hidden)]
        1110  +
        RangeLongListHeader(crate::model::list_of_range_long::ConstraintViolation),
        1111  +
        /// Constraint violation occurred building member `length_string_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1112  +
        #[doc(hidden)]
        1113  +
        LengthStringQuery(crate::model::length_string::ConstraintViolation),
        1114  +
        /// Constraint violation occurred building member `range_byte_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1115  +
        #[doc(hidden)]
        1116  +
        RangeByteQuery(crate::model::range_byte::ConstraintViolation),
        1117  +
        /// Constraint violation occurred building member `range_short_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1118  +
        #[doc(hidden)]
        1119  +
        RangeShortQuery(crate::model::range_short::ConstraintViolation),
        1120  +
        /// Constraint violation occurred building member `range_integer_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1121  +
        #[doc(hidden)]
        1122  +
        RangeIntegerQuery(crate::model::range_integer::ConstraintViolation),
        1123  +
        /// Constraint violation occurred building member `range_long_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1124  +
        #[doc(hidden)]
        1125  +
        RangeLongQuery(crate::model::range_long::ConstraintViolation),
        1126  +
        /// Constraint violation occurred building member `enum_string_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1127  +
        #[doc(hidden)]
        1128  +
        EnumStringQuery(crate::model::enum_string::ConstraintViolation),
        1129  +
        /// Constraint violation occurred building member `length_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1130  +
        #[doc(hidden)]
        1131  +
        LengthStringListQuery(crate::model::list_of_length_string::ConstraintViolation),
        1132  +
        /// Constraint violation occurred building member `length_list_pattern_string_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1133  +
        #[doc(hidden)]
        1134  +
        LengthListPatternStringQuery(
        1135  +
            crate::model::length_list_of_pattern_string::ConstraintViolation,
        1136  +
        ),
        1137  +
        /// Constraint violation occurred building member `length_string_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1138  +
        #[doc(hidden)]
        1139  +
        LengthStringSetQuery(crate::model::set_of_length_string::ConstraintViolation),
        1140  +
        /// Constraint violation occurred building member `range_byte_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1141  +
        #[doc(hidden)]
        1142  +
        RangeByteListQuery(crate::model::list_of_range_byte::ConstraintViolation),
        1143  +
        /// Constraint violation occurred building member `range_short_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1144  +
        #[doc(hidden)]
        1145  +
        RangeShortListQuery(crate::model::list_of_range_short::ConstraintViolation),
        1146  +
        /// Constraint violation occurred building member `range_integer_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1147  +
        #[doc(hidden)]
        1148  +
        RangeIntegerListQuery(crate::model::list_of_range_integer::ConstraintViolation),
        1149  +
        /// Constraint violation occurred building member `range_long_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1150  +
        #[doc(hidden)]
        1151  +
        RangeLongListQuery(crate::model::list_of_range_long::ConstraintViolation),
        1152  +
        /// Constraint violation occurred building member `range_byte_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1153  +
        #[doc(hidden)]
        1154  +
        RangeByteSetQuery(crate::model::set_of_range_byte::ConstraintViolation),
        1155  +
        /// Constraint violation occurred building member `range_short_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1156  +
        #[doc(hidden)]
        1157  +
        RangeShortSetQuery(crate::model::set_of_range_short::ConstraintViolation),
        1158  +
        /// Constraint violation occurred building member `range_integer_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1159  +
        #[doc(hidden)]
        1160  +
        RangeIntegerSetQuery(crate::model::set_of_range_integer::ConstraintViolation),
        1161  +
        /// Constraint violation occurred building member `range_long_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1162  +
        #[doc(hidden)]
        1163  +
        RangeLongSetQuery(crate::model::set_of_range_long::ConstraintViolation),
        1164  +
        /// Constraint violation occurred building member `enum_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
        1165  +
        #[doc(hidden)]
        1166  +
        EnumStringListQuery(crate::model::list_of_enum_string::ConstraintViolation),
 1222   1167   
    }
 1223   1168   
    impl ::std::fmt::Display for ConstraintViolation {
 1224   1169   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1225   1170   
            match self {
 1226         -
                ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `HttpPrefixHeadersTargetingLengthMapOperationInput`"),
        1171  +
                ConstraintViolation::MissingLengthStringLabel => write!(f, "`length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`"),
        1172  +
                ConstraintViolation::LengthStringLabel(_) => write!(f, "constraint violation occurred building member `length_string_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1173  +
                ConstraintViolation::RangeIntegerLabel(_) => write!(f, "constraint violation occurred building member `range_integer_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1174  +
                ConstraintViolation::RangeShortLabel(_) => write!(f, "constraint violation occurred building member `range_short_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1175  +
                ConstraintViolation::RangeLongLabel(_) => write!(f, "constraint violation occurred building member `range_long_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1176  +
                ConstraintViolation::RangeByteLabel(_) => write!(f, "constraint violation occurred building member `range_byte_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1177  +
                ConstraintViolation::MissingEnumStringLabel => write!(f, "`enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`"),
        1178  +
                ConstraintViolation::EnumStringLabel(_) => write!(f, "constraint violation occurred building member `enum_string_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1179  +
                ConstraintViolation::MissingLengthStringHeaderMap => write!(f, "`length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`"),
        1180  +
                ConstraintViolation::LengthStringHeaderMap(_) => write!(f, "constraint violation occurred building member `length_string_header_map` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1181  +
                ConstraintViolation::LengthStringHeader(_) => write!(f, "constraint violation occurred building member `length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1182  +
                ConstraintViolation::RangeIntegerHeader(_) => write!(f, "constraint violation occurred building member `range_integer_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1183  +
                ConstraintViolation::RangeShortHeader(_) => write!(f, "constraint violation occurred building member `range_short_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1184  +
                ConstraintViolation::RangeLongHeader(_) => write!(f, "constraint violation occurred building member `range_long_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1185  +
                ConstraintViolation::RangeByteHeader(_) => write!(f, "constraint violation occurred building member `range_byte_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1186  +
                ConstraintViolation::LengthStringSetHeader(_) => write!(f, "constraint violation occurred building member `length_string_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1187  +
                ConstraintViolation::ListLengthStringHeader(_) => write!(f, "constraint violation occurred building member `list_length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1188  +
                ConstraintViolation::LengthListPatternStringHeader(_) => write!(f, "constraint violation occurred building member `length_list_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1189  +
                ConstraintViolation::LengthSetPatternStringHeader(_) => write!(f, "constraint violation occurred building member `length_set_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1190  +
                ConstraintViolation::RangeByteSetHeader(_) => write!(f, "constraint violation occurred building member `range_byte_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1191  +
                ConstraintViolation::RangeShortSetHeader(_) => write!(f, "constraint violation occurred building member `range_short_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1192  +
                ConstraintViolation::RangeIntegerSetHeader(_) => write!(f, "constraint violation occurred building member `range_integer_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1193  +
                ConstraintViolation::RangeLongSetHeader(_) => write!(f, "constraint violation occurred building member `range_long_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1194  +
                ConstraintViolation::RangeByteListHeader(_) => write!(f, "constraint violation occurred building member `range_byte_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1195  +
                ConstraintViolation::RangeShortListHeader(_) => write!(f, "constraint violation occurred building member `range_short_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1196  +
                ConstraintViolation::RangeIntegerListHeader(_) => write!(f, "constraint violation occurred building member `range_integer_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1197  +
                ConstraintViolation::RangeLongListHeader(_) => write!(f, "constraint violation occurred building member `range_long_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1198  +
                ConstraintViolation::LengthStringQuery(_) => write!(f, "constraint violation occurred building member `length_string_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1199  +
                ConstraintViolation::RangeByteQuery(_) => write!(f, "constraint violation occurred building member `range_byte_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1200  +
                ConstraintViolation::RangeShortQuery(_) => write!(f, "constraint violation occurred building member `range_short_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1201  +
                ConstraintViolation::RangeIntegerQuery(_) => write!(f, "constraint violation occurred building member `range_integer_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1202  +
                ConstraintViolation::RangeLongQuery(_) => write!(f, "constraint violation occurred building member `range_long_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1203  +
                ConstraintViolation::EnumStringQuery(_) => write!(f, "constraint violation occurred building member `enum_string_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1204  +
                ConstraintViolation::LengthStringListQuery(_) => write!(f, "constraint violation occurred building member `length_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1205  +
                ConstraintViolation::LengthListPatternStringQuery(_) => write!(f, "constraint violation occurred building member `length_list_pattern_string_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1206  +
                ConstraintViolation::LengthStringSetQuery(_) => write!(f, "constraint violation occurred building member `length_string_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1207  +
                ConstraintViolation::RangeByteListQuery(_) => write!(f, "constraint violation occurred building member `range_byte_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1208  +
                ConstraintViolation::RangeShortListQuery(_) => write!(f, "constraint violation occurred building member `range_short_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1209  +
                ConstraintViolation::RangeIntegerListQuery(_) => write!(f, "constraint violation occurred building member `range_integer_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1210  +
                ConstraintViolation::RangeLongListQuery(_) => write!(f, "constraint violation occurred building member `range_long_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1211  +
                ConstraintViolation::RangeByteSetQuery(_) => write!(f, "constraint violation occurred building member `range_byte_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1212  +
                ConstraintViolation::RangeShortSetQuery(_) => write!(f, "constraint violation occurred building member `range_short_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1213  +
                ConstraintViolation::RangeIntegerSetQuery(_) => write!(f, "constraint violation occurred building member `range_integer_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1214  +
                ConstraintViolation::RangeLongSetQuery(_) => write!(f, "constraint violation occurred building member `range_long_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
        1215  +
                ConstraintViolation::EnumStringListQuery(_) => write!(f, "constraint violation occurred building member `enum_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 1227   1216   
            }
 1228   1217   
        }
 1229   1218   
    }
 1230   1219   
    impl ::std::error::Error for ConstraintViolation {}
 1231   1220   
    impl ConstraintViolation {
 1232   1221   
        pub(crate) fn as_validation_exception_field(
 1233   1222   
            self,
 1234   1223   
            path: ::std::string::String,
 1235   1224   
        ) -> crate::model::ValidationExceptionField {
 1236   1225   
            match self {
 1237         -
                ConstraintViolation::LengthMap(inner) => {
 1238         -
                    inner.as_validation_exception_field(path + "/lengthMap")
 1239         -
                }
        1226  +
            ConstraintViolation::MissingLengthStringLabel => crate::model::ValidationExceptionField {
        1227  +
                                                message: format!("Value at '{}/lengthStringLabel' failed to satisfy constraint: Member must not be null", path),
        1228  +
                                                path: path + "/lengthStringLabel",
        1229  +
                                            },
        1230  +
            ConstraintViolation::LengthStringLabel(inner) => inner.as_validation_exception_field(path + "/lengthStringLabel"),
        1231  +
            ConstraintViolation::RangeIntegerLabel(inner) => inner.as_validation_exception_field(path + "/rangeIntegerLabel"),
        1232  +
            ConstraintViolation::RangeShortLabel(inner) => inner.as_validation_exception_field(path + "/rangeShortLabel"),
        1233  +
            ConstraintViolation::RangeLongLabel(inner) => inner.as_validation_exception_field(path + "/rangeLongLabel"),
        1234  +
            ConstraintViolation::RangeByteLabel(inner) => inner.as_validation_exception_field(path + "/rangeByteLabel"),
        1235  +
            ConstraintViolation::MissingEnumStringLabel => crate::model::ValidationExceptionField {
        1236  +
                                                message: format!("Value at '{}/enumStringLabel' failed to satisfy constraint: Member must not be null", path),
        1237  +
                                                path: path + "/enumStringLabel",
        1238  +
                                            },
        1239  +
            ConstraintViolation::EnumStringLabel(inner) => inner.as_validation_exception_field(path + "/enumStringLabel"),
        1240  +
            ConstraintViolation::MissingLengthStringHeaderMap => crate::model::ValidationExceptionField {
        1241  +
                                                message: format!("Value at '{}/lengthStringHeaderMap' failed to satisfy constraint: Member must not be null", path),
        1242  +
                                                path: path + "/lengthStringHeaderMap",
        1243  +
                                            },
        1244  +
            ConstraintViolation::LengthStringHeaderMap(inner) => inner.as_validation_exception_field(path + "/lengthStringHeaderMap"),
        1245  +
            ConstraintViolation::LengthStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringHeader"),
        1246  +
            ConstraintViolation::RangeIntegerHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerHeader"),
        1247  +
            ConstraintViolation::RangeShortHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortHeader"),
        1248  +
            ConstraintViolation::RangeLongHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongHeader"),
        1249  +
            ConstraintViolation::RangeByteHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteHeader"),
        1250  +
            ConstraintViolation::LengthStringSetHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringSetHeader"),
        1251  +
            ConstraintViolation::ListLengthStringHeader(inner) => inner.as_validation_exception_field(path + "/listLengthStringHeader"),
        1252  +
            ConstraintViolation::LengthListPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringHeader"),
        1253  +
            ConstraintViolation::LengthSetPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthSetPatternStringHeader"),
        1254  +
            ConstraintViolation::RangeByteSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteSetHeader"),
        1255  +
            ConstraintViolation::RangeShortSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortSetHeader"),
        1256  +
            ConstraintViolation::RangeIntegerSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetHeader"),
        1257  +
            ConstraintViolation::RangeLongSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongSetHeader"),
        1258  +
            ConstraintViolation::RangeByteListHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteListHeader"),
        1259  +
            ConstraintViolation::RangeShortListHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortListHeader"),
        1260  +
            ConstraintViolation::RangeIntegerListHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListHeader"),
        1261  +
            ConstraintViolation::RangeLongListHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongListHeader"),
        1262  +
            ConstraintViolation::LengthStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringQuery"),
        1263  +
            ConstraintViolation::RangeByteQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteQuery"),
        1264  +
            ConstraintViolation::RangeShortQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortQuery"),
        1265  +
            ConstraintViolation::RangeIntegerQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerQuery"),
        1266  +
            ConstraintViolation::RangeLongQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongQuery"),
        1267  +
            ConstraintViolation::EnumStringQuery(inner) => inner.as_validation_exception_field(path + "/enumStringQuery"),
        1268  +
            ConstraintViolation::LengthStringListQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringListQuery"),
        1269  +
            ConstraintViolation::LengthListPatternStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringQuery"),
        1270  +
            ConstraintViolation::LengthStringSetQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringSetQuery"),
        1271  +
            ConstraintViolation::RangeByteListQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteListQuery"),
        1272  +
            ConstraintViolation::RangeShortListQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortListQuery"),
        1273  +
            ConstraintViolation::RangeIntegerListQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListQuery"),
        1274  +
            ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
        1275  +
            ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
        1276  +
            ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
        1277  +
            ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
        1278  +
            ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
        1279  +
            ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
 1240   1280   
        }
 1241   1281   
        }
 1242   1282   
    }
 1243   1283   
    impl ::std::convert::From<ConstraintViolation>
 1244   1284   
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1245   1285   
    {
 1246   1286   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1247   1287   
            let first_validation_exception_field =
 1248   1288   
                constraint_violation.as_validation_exception_field("".to_owned());
 1249   1289   
            let validation_exception = crate::error::ValidationException {
 1250   1290   
                message: format!(
 1251   1291   
                    "1 validation error detected. {}",
 1252   1292   
                    &first_validation_exception_field.message
 1253   1293   
                ),
 1254   1294   
                field_list: Some(vec![first_validation_exception_field]),
 1255   1295   
            };
 1256   1296   
            Self::ConstraintViolation(
 1257   1297   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1258   1298   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1259   1299   
                            )
 1260   1300   
        }
 1261   1301   
    }
 1262   1302   
    impl ::std::convert::From<Builder>
 1263   1303   
        for crate::constrained::MaybeConstrained<
 1264         -
            crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
        1304  +
            crate::input::ConstrainedHttpBoundShapesOperationInput,
 1265   1305   
        >
 1266   1306   
    {
 1267   1307   
        fn from(builder: Builder) -> Self {
 1268   1308   
            Self::Unconstrained(builder)
 1269   1309   
        }
 1270   1310   
    }
 1271         -
    impl ::std::convert::TryFrom<Builder>
 1272         -
        for crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput
 1273         -
    {
        1311  +
    impl ::std::convert::TryFrom<Builder> for crate::input::ConstrainedHttpBoundShapesOperationInput {
 1274   1312   
        type Error = ConstraintViolation;
 1275   1313   
 1276   1314   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1277   1315   
            builder.build()
 1278   1316   
        }
 1279   1317   
    }
 1280         -
    /// A builder for [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
        1318  +
    /// A builder for [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
 1281   1319   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1282   1320   
    pub struct Builder {
 1283         -
        pub(crate) length_map:
 1284         -
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 1285         -
    }
 1286         -
    impl Builder {
        1321  +
        pub(crate) length_string_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        1322  +
        pub(crate) range_integer_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
        1323  +
        pub(crate) range_short_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
        1324  +
        pub(crate) range_long_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
        1325  +
        pub(crate) range_byte_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
        1326  +
        pub(crate) enum_string_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
        1327  +
        pub(crate) length_string_header_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
        1328  +
        pub(crate) length_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        1329  +
        pub(crate) range_integer_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
        1330  +
        pub(crate) range_short_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
        1331  +
        pub(crate) range_long_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
        1332  +
        pub(crate) range_byte_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
        1333  +
        pub(crate) length_string_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
        1334  +
        pub(crate) list_length_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
        1335  +
        pub(crate) length_list_pattern_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
        1336  +
        pub(crate) length_set_pattern_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>>,
        1337  +
        pub(crate) range_byte_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
        1338  +
        pub(crate) range_short_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
        1339  +
        pub(crate) range_integer_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
        1340  +
        pub(crate) range_long_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
        1341  +
        pub(crate) range_byte_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
        1342  +
        pub(crate) range_short_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
        1343  +
        pub(crate) range_integer_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
        1344  +
        pub(crate) range_long_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
        1345  +
        pub(crate) length_string_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        1346  +
        pub(crate) range_byte_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
        1347  +
        pub(crate) range_short_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
        1348  +
        pub(crate) range_integer_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
        1349  +
        pub(crate) range_long_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
        1350  +
        pub(crate) enum_string_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
        1351  +
        pub(crate) length_string_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
        1352  +
        pub(crate) length_list_pattern_string_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
        1353  +
        pub(crate) length_string_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
        1354  +
        pub(crate) range_byte_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
        1355  +
        pub(crate) range_short_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
        1356  +
        pub(crate) range_integer_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
        1357  +
        pub(crate) range_long_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
        1358  +
        pub(crate) range_byte_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
        1359  +
        pub(crate) range_short_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
        1360  +
        pub(crate) range_integer_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
        1361  +
        pub(crate) range_long_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
        1362  +
        pub(crate) enum_string_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained>>,
        1363  +
    }
        1364  +
    impl Builder {
 1287   1365   
        #[allow(missing_docs)] // documentation missing in model
 1288         -
        pub fn length_map(mut self, input: ::std::option::Option<crate::model::ConBMap>) -> Self {
 1289         -
            self.length_map = input.map(crate::constrained::MaybeConstrained::Constrained);
        1366  +
        pub fn length_string_label(mut self, input: crate::model::LengthString) -> Self {
        1367  +
            self.length_string_label =
        1368  +
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 1290   1369   
            self
 1291   1370   
        }
 1292   1371   
        #[allow(missing_docs)] // documentation missing in model
 1293         -
        pub(crate) fn set_length_map(
        1372  +
        pub(crate) fn set_length_string_label(
 1294   1373   
            mut self,
 1295         -
            input: Option<
 1296         -
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
        1374  +
            input: impl ::std::convert::Into<
        1375  +
                crate::constrained::MaybeConstrained<crate::model::LengthString>,
 1297   1376   
            >,
 1298   1377   
        ) -> Self {
 1299         -
            self.length_map = input.map(|v| v.into());
        1378  +
            self.length_string_label = Some(input.into());
 1300   1379   
            self
 1301   1380   
        }
 1302         -
        /// Consumes the builder and constructs a [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
 1303         -
        ///
 1304         -
        /// The builder fails to construct a [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput) if a [`ConstraintViolation`] occurs.
 1305         -
        ///
 1306         -
        pub fn build(
 1307         -
            self,
 1308         -
        ) -> Result<
 1309         -
            crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
 1310         -
            ConstraintViolation,
 1311         -
        > {
 1312         -
            self.build_enforcing_all_constraints()
 1313         -
        }
 1314         -
        fn build_enforcing_all_constraints(
 1315         -
            self,
 1316         -
        ) -> Result<
 1317         -
            crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
 1318         -
            ConstraintViolation,
 1319         -
        > {
 1320         -
            Ok(
 1321         -
                crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput {
 1322         -
                    length_map: self
 1323         -
                        .length_map
 1324         -
                        .map(|v| match v {
 1325         -
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1326         -
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1327         -
                        })
 1328         -
                        .map(|res| res.map_err(ConstraintViolation::LengthMap))
 1329         -
                        .transpose()?,
 1330         -
                },
 1331         -
            )
 1332         -
        }
 1333         -
    }
 1334         -
}
 1335         -
/// See [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
 1336         -
pub mod query_params_targeting_map_of_list_of_length_pattern_string_operation_input {
 1337         -
 1338         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1339         -
    /// Holds one variant for each of the ways the builder can fail.
 1340         -
    #[non_exhaustive]
 1341         -
    #[allow(clippy::enum_variant_names)]
 1342         -
    pub enum ConstraintViolation {
 1343         -
        /// Constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`.
 1344         -
        #[doc(hidden)]
 1345         -
        MapOfLengthPatternString(
 1346         -
            crate::model::map_of_list_of_length_pattern_string::ConstraintViolation,
 1347         -
        ),
 1348         -
    }
 1349         -
    impl ::std::fmt::Display for ConstraintViolation {
 1350         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1351         -
            match self {
 1352         -
                ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`"),
 1353         -
            }
 1354         -
        }
 1355         -
    }
 1356         -
    impl ::std::error::Error for ConstraintViolation {}
 1357         -
    impl ConstraintViolation {
 1358         -
        pub(crate) fn as_validation_exception_field(
 1359         -
            self,
 1360         -
            path: ::std::string::String,
 1361         -
        ) -> crate::model::ValidationExceptionField {
 1362         -
            match self {
 1363         -
                ConstraintViolation::MapOfLengthPatternString(inner) => {
 1364         -
                    inner.as_validation_exception_field(path + "/mapOfLengthPatternString")
 1365         -
                }
 1366         -
            }
        1381  +
        #[allow(missing_docs)] // documentation missing in model
        1382  +
        pub fn range_integer_label(mut self, input: crate::model::RangeInteger) -> Self {
        1383  +
            self.range_integer_label =
        1384  +
                Some(crate::constrained::MaybeConstrained::Constrained(input));
        1385  +
            self
 1367   1386   
        }
        1387  +
        #[allow(missing_docs)] // documentation missing in model
        1388  +
        pub(crate) fn set_range_integer_label(
        1389  +
            mut self,
        1390  +
            input: impl ::std::convert::Into<
        1391  +
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
        1392  +
            >,
        1393  +
        ) -> Self {
        1394  +
            self.range_integer_label = Some(input.into());
        1395  +
            self
 1368   1396   
        }
 1369         -
    impl ::std::convert::From<ConstraintViolation>
 1370         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1371         -
    {
 1372         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1373         -
            let first_validation_exception_field =
 1374         -
                constraint_violation.as_validation_exception_field("".to_owned());
 1375         -
            let validation_exception = crate::error::ValidationException {
 1376         -
                message: format!(
 1377         -
                    "1 validation error detected. {}",
 1378         -
                    &first_validation_exception_field.message
 1379         -
                ),
 1380         -
                field_list: Some(vec![first_validation_exception_field]),
 1381         -
            };
 1382         -
            Self::ConstraintViolation(
 1383         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1384         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1385         -
                            )
        1397  +
        #[allow(missing_docs)] // documentation missing in model
        1398  +
        pub fn range_short_label(mut self, input: crate::model::RangeShort) -> Self {
        1399  +
            self.range_short_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1400  +
            self
 1386   1401   
        }
        1402  +
        #[allow(missing_docs)] // documentation missing in model
        1403  +
        pub(crate) fn set_range_short_label(
        1404  +
            mut self,
        1405  +
            input: impl ::std::convert::Into<
        1406  +
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
        1407  +
            >,
        1408  +
        ) -> Self {
        1409  +
            self.range_short_label = Some(input.into());
        1410  +
            self
 1387   1411   
        }
 1388         -
    impl ::std::convert::From<Builder>
 1389         -
        for crate::constrained::MaybeConstrained<
 1390         -
            crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
 1391         -
        >
 1392         -
    {
 1393         -
        fn from(builder: Builder) -> Self {
 1394         -
            Self::Unconstrained(builder)
        1412  +
        #[allow(missing_docs)] // documentation missing in model
        1413  +
        pub fn range_long_label(mut self, input: crate::model::RangeLong) -> Self {
        1414  +
            self.range_long_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1415  +
            self
 1395   1416   
        }
        1417  +
        #[allow(missing_docs)] // documentation missing in model
        1418  +
        pub(crate) fn set_range_long_label(
        1419  +
            mut self,
        1420  +
            input: impl ::std::convert::Into<
        1421  +
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
        1422  +
            >,
        1423  +
        ) -> Self {
        1424  +
            self.range_long_label = Some(input.into());
        1425  +
            self
 1396   1426   
        }
 1397         -
    impl ::std::convert::TryFrom<Builder>
 1398         -
        for crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput
 1399         -
    {
 1400         -
        type Error = ConstraintViolation;
 1401         -
 1402         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1403         -
            builder.build()
        1427  +
        #[allow(missing_docs)] // documentation missing in model
        1428  +
        pub fn range_byte_label(mut self, input: crate::model::RangeByte) -> Self {
        1429  +
            self.range_byte_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1430  +
            self
 1404   1431   
        }
        1432  +
        #[allow(missing_docs)] // documentation missing in model
        1433  +
        pub(crate) fn set_range_byte_label(
        1434  +
            mut self,
        1435  +
            input: impl ::std::convert::Into<
        1436  +
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
        1437  +
            >,
        1438  +
        ) -> Self {
        1439  +
            self.range_byte_label = Some(input.into());
        1440  +
            self
 1405   1441   
        }
 1406         -
    /// A builder for [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
 1407         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1408         -
    pub struct Builder {
 1409         -
        pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_pattern_string_constrained::MapOfListOfLengthPatternStringConstrained>>,
        1442  +
        #[allow(missing_docs)] // documentation missing in model
        1443  +
        pub fn enum_string_label(mut self, input: crate::model::EnumString) -> Self {
        1444  +
            self.enum_string_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1445  +
            self
 1410   1446   
        }
 1411         -
    impl Builder {
 1412   1447   
        #[allow(missing_docs)] // documentation missing in model
 1413         -
        pub fn map_of_length_pattern_string(
        1448  +
        pub(crate) fn set_enum_string_label(
 1414   1449   
            mut self,
 1415         -
            input: ::std::option::Option<
 1416         -
                ::std::collections::HashMap<
 1417         -
                    crate::model::LengthPatternString,
 1418         -
                    ::std::vec::Vec<crate::model::LengthPatternString>,
 1419         -
                >,
        1450  +
            input: impl ::std::convert::Into<
        1451  +
                crate::constrained::MaybeConstrained<crate::model::EnumString>,
 1420   1452   
            >,
 1421   1453   
        ) -> Self {
 1422         -
            self.map_of_length_pattern_string =
 1423         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1454  +
            self.enum_string_label = Some(input.into());
 1424   1455   
            self
 1425   1456   
        }
 1426   1457   
        #[allow(missing_docs)] // documentation missing in model
 1427         -
        pub(crate) fn set_map_of_length_pattern_string(
        1458  +
        pub fn length_string_header_map(
 1428   1459   
            mut self,
 1429         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_pattern_string_constrained::MapOfListOfLengthPatternStringConstrained>>>,
        1460  +
            input: ::std::collections::HashMap<
        1461  +
                crate::model::LengthString,
        1462  +
                crate::model::LengthString,
        1463  +
            >,
 1430   1464   
        ) -> Self {
 1431         -
            self.map_of_length_pattern_string = input.map(|v| v.into());
        1465  +
            self.length_string_header_map = Some(
        1466  +
                crate::constrained::MaybeConstrained::Constrained((input).into()),
        1467  +
            );
 1432   1468   
            self
 1433   1469   
        }
 1434         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
 1435         -
        ///
 1436         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
 1437         -
        ///
 1438         -
        pub fn build(
 1439         -
            self,
 1440         -
        ) -> Result<
 1441         -
            crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
 1442         -
            ConstraintViolation,
 1443         -
        > {
 1444         -
            self.build_enforcing_all_constraints()
        1470  +
        #[allow(missing_docs)] // documentation missing in model
        1471  +
        pub(crate) fn set_length_string_header_map(
        1472  +
            mut self,
        1473  +
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
        1474  +
        ) -> Self {
        1475  +
            self.length_string_header_map = Some(input.into());
        1476  +
            self
 1445   1477   
        }
 1446         -
        fn build_enforcing_all_constraints(
 1447         -
            self,
 1448         -
        ) -> Result<
 1449         -
            crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
 1450         -
            ConstraintViolation,
 1451         -
        > {
 1452         -
            Ok(
 1453         -
                crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
 1454         -
                    map_of_length_pattern_string: self
 1455         -
                        .map_of_length_pattern_string
 1456         -
                        .map(|v| match v {
 1457         -
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1458         -
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1459         -
                        })
 1460         -
                        .map(|res| {
 1461         -
                            res.map(|v| v.into())
 1462         -
                                .map_err(ConstraintViolation::MapOfLengthPatternString)
 1463         -
                        })
 1464         -
                        .transpose()?,
 1465         -
                },
 1466         -
            )
        1478  +
        #[allow(missing_docs)] // documentation missing in model
        1479  +
        pub fn length_string_header(
        1480  +
            mut self,
        1481  +
            input: ::std::option::Option<crate::model::LengthString>,
        1482  +
        ) -> Self {
        1483  +
            self.length_string_header =
        1484  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1485  +
            self
 1467   1486   
        }
        1487  +
        #[allow(missing_docs)] // documentation missing in model
        1488  +
        pub(crate) fn set_length_string_header(
        1489  +
            mut self,
        1490  +
            input: Option<
        1491  +
                impl ::std::convert::Into<
        1492  +
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
        1493  +
                >,
        1494  +
            >,
        1495  +
        ) -> Self {
        1496  +
            self.length_string_header = input.map(|v| v.into());
        1497  +
            self
 1468   1498   
        }
 1469         -
}
 1470         -
/// See [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
 1471         -
pub mod query_params_targeting_map_of_length_pattern_string_operation_input {
 1472         -
 1473         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1474         -
    /// Holds one variant for each of the ways the builder can fail.
 1475         -
    #[non_exhaustive]
 1476         -
    #[allow(clippy::enum_variant_names)]
 1477         -
    pub enum ConstraintViolation {
 1478         -
        /// Constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfLengthPatternStringOperationInput`.
 1479         -
        #[doc(hidden)]
 1480         -
        MapOfLengthPatternString(crate::model::map_of_length_pattern_string::ConstraintViolation),
        1499  +
        #[allow(missing_docs)] // documentation missing in model
        1500  +
        pub fn range_integer_header(mut self, input: crate::model::RangeInteger) -> Self {
        1501  +
            self.range_integer_header =
        1502  +
                Some(crate::constrained::MaybeConstrained::Constrained(input));
        1503  +
            self
 1481   1504   
        }
 1482         -
    impl ::std::fmt::Display for ConstraintViolation {
 1483         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1484         -
            match self {
 1485         -
                ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfLengthPatternStringOperationInput`"),
        1505  +
        #[allow(missing_docs)] // documentation missing in model
        1506  +
        pub(crate) fn set_range_integer_header(
        1507  +
            mut self,
        1508  +
            input: impl ::std::convert::Into<
        1509  +
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
        1510  +
            >,
        1511  +
        ) -> Self {
        1512  +
            self.range_integer_header = Some(input.into());
        1513  +
            self
 1486   1514   
        }
        1515  +
        #[allow(missing_docs)] // documentation missing in model
        1516  +
        pub fn range_short_header(mut self, input: crate::model::RangeShort) -> Self {
        1517  +
            self.range_short_header =
        1518  +
                Some(crate::constrained::MaybeConstrained::Constrained(input));
        1519  +
            self
 1487   1520   
        }
        1521  +
        #[allow(missing_docs)] // documentation missing in model
        1522  +
        pub(crate) fn set_range_short_header(
        1523  +
            mut self,
        1524  +
            input: impl ::std::convert::Into<
        1525  +
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
        1526  +
            >,
        1527  +
        ) -> Self {
        1528  +
            self.range_short_header = Some(input.into());
        1529  +
            self
 1488   1530   
        }
 1489         -
    impl ::std::error::Error for ConstraintViolation {}
 1490         -
    impl ConstraintViolation {
 1491         -
        pub(crate) fn as_validation_exception_field(
 1492         -
            self,
 1493         -
            path: ::std::string::String,
 1494         -
        ) -> crate::model::ValidationExceptionField {
 1495         -
            match self {
 1496         -
                ConstraintViolation::MapOfLengthPatternString(inner) => {
 1497         -
                    inner.as_validation_exception_field(path + "/mapOfLengthPatternString")
        1531  +
        #[allow(missing_docs)] // documentation missing in model
        1532  +
        pub fn range_long_header(mut self, input: crate::model::RangeLong) -> Self {
        1533  +
            self.range_long_header = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1534  +
            self
 1498   1535   
        }
        1536  +
        #[allow(missing_docs)] // documentation missing in model
        1537  +
        pub(crate) fn set_range_long_header(
        1538  +
            mut self,
        1539  +
            input: impl ::std::convert::Into<
        1540  +
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
        1541  +
            >,
        1542  +
        ) -> Self {
        1543  +
            self.range_long_header = Some(input.into());
        1544  +
            self
 1499   1545   
        }
        1546  +
        #[allow(missing_docs)] // documentation missing in model
        1547  +
        pub fn range_byte_header(mut self, input: crate::model::RangeByte) -> Self {
        1548  +
            self.range_byte_header = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1549  +
            self
 1500   1550   
        }
        1551  +
        #[allow(missing_docs)] // documentation missing in model
        1552  +
        pub(crate) fn set_range_byte_header(
        1553  +
            mut self,
        1554  +
            input: impl ::std::convert::Into<
        1555  +
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
        1556  +
            >,
        1557  +
        ) -> Self {
        1558  +
            self.range_byte_header = Some(input.into());
        1559  +
            self
 1501   1560   
        }
 1502         -
    impl ::std::convert::From<ConstraintViolation>
 1503         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1504         -
    {
 1505         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1506         -
            let first_validation_exception_field =
 1507         -
                constraint_violation.as_validation_exception_field("".to_owned());
 1508         -
            let validation_exception = crate::error::ValidationException {
 1509         -
                message: format!(
 1510         -
                    "1 validation error detected. {}",
 1511         -
                    &first_validation_exception_field.message
 1512         -
                ),
 1513         -
                field_list: Some(vec![first_validation_exception_field]),
 1514         -
            };
 1515         -
            Self::ConstraintViolation(
 1516         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1517         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1518         -
                            )
        1561  +
        #[allow(missing_docs)] // documentation missing in model
        1562  +
        pub fn length_string_set_header(
        1563  +
            mut self,
        1564  +
            input: ::std::option::Option<crate::model::SetOfLengthString>,
        1565  +
        ) -> Self {
        1566  +
            self.length_string_set_header =
        1567  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1568  +
            self
 1519   1569   
        }
        1570  +
        #[allow(missing_docs)] // documentation missing in model
        1571  +
        pub(crate) fn set_length_string_set_header(
        1572  +
            mut self,
        1573  +
            input: Option<
        1574  +
                impl ::std::convert::Into<
        1575  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
        1576  +
                >,
        1577  +
            >,
        1578  +
        ) -> Self {
        1579  +
            self.length_string_set_header = input.map(|v| v.into());
        1580  +
            self
 1520   1581   
        }
 1521         -
    impl ::std::convert::From<Builder>
 1522         -
        for crate::constrained::MaybeConstrained<
 1523         -
            crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
 1524         -
        >
 1525         -
    {
 1526         -
        fn from(builder: Builder) -> Self {
 1527         -
            Self::Unconstrained(builder)
        1582  +
        #[allow(missing_docs)] // documentation missing in model
        1583  +
        pub fn list_length_string_header(
        1584  +
            mut self,
        1585  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
        1586  +
        ) -> Self {
        1587  +
            self.list_length_string_header =
        1588  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1589  +
            self
 1528   1590   
        }
        1591  +
        #[allow(missing_docs)] // documentation missing in model
        1592  +
        pub(crate) fn set_list_length_string_header(
        1593  +
            mut self,
        1594  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
        1595  +
        ) -> Self {
        1596  +
            self.list_length_string_header = input.map(|v| v.into());
        1597  +
            self
 1529   1598   
        }
 1530         -
    impl ::std::convert::TryFrom<Builder>
 1531         -
        for crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput
 1532         -
    {
 1533         -
        type Error = ConstraintViolation;
 1534         -
 1535         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1536         -
            builder.build()
        1599  +
        #[allow(missing_docs)] // documentation missing in model
        1600  +
        pub fn length_list_pattern_string_header(
        1601  +
            mut self,
        1602  +
            input: ::std::option::Option<crate::model::LengthListOfPatternString>,
        1603  +
        ) -> Self {
        1604  +
            self.length_list_pattern_string_header =
        1605  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1606  +
            self
 1537   1607   
        }
        1608  +
        #[allow(missing_docs)] // documentation missing in model
        1609  +
        pub(crate) fn set_length_list_pattern_string_header(
        1610  +
            mut self,
        1611  +
            input: Option<
        1612  +
                impl ::std::convert::Into<
        1613  +
                    crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
        1614  +
                >,
        1615  +
            >,
        1616  +
        ) -> Self {
        1617  +
            self.length_list_pattern_string_header = input.map(|v| v.into());
        1618  +
            self
 1538   1619   
        }
 1539         -
    /// A builder for [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
 1540         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1541         -
    pub struct Builder {
 1542         -
        pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>,
        1620  +
        #[allow(missing_docs)] // documentation missing in model
        1621  +
        pub fn length_set_pattern_string_header(
        1622  +
            mut self,
        1623  +
            input: ::std::option::Option<crate::model::LengthSetOfPatternString>,
        1624  +
        ) -> Self {
        1625  +
            self.length_set_pattern_string_header =
        1626  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1627  +
            self
 1543   1628   
        }
 1544         -
    impl Builder {
 1545   1629   
        #[allow(missing_docs)] // documentation missing in model
 1546         -
        pub fn map_of_length_pattern_string(
        1630  +
        pub(crate) fn set_length_set_pattern_string_header(
 1547   1631   
            mut self,
 1548         -
            input: ::std::option::Option<
 1549         -
                ::std::collections::HashMap<
 1550         -
                    crate::model::LengthPatternString,
 1551         -
                    crate::model::LengthPatternString,
        1632  +
            input: Option<
        1633  +
                impl ::std::convert::Into<
        1634  +
                    crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>,
 1552   1635   
                >,
 1553   1636   
            >,
 1554   1637   
        ) -> Self {
 1555         -
            self.map_of_length_pattern_string =
 1556         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1638  +
            self.length_set_pattern_string_header = input.map(|v| v.into());
 1557   1639   
            self
 1558   1640   
        }
 1559   1641   
        #[allow(missing_docs)] // documentation missing in model
 1560         -
        pub(crate) fn set_map_of_length_pattern_string(
        1642  +
        pub fn range_byte_set_header(
 1561   1643   
            mut self,
 1562         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>>,
        1644  +
            input: ::std::option::Option<crate::model::SetOfRangeByte>,
 1563   1645   
        ) -> Self {
 1564         -
            self.map_of_length_pattern_string = input.map(|v| v.into());
        1646  +
            self.range_byte_set_header =
        1647  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
 1565   1648   
            self
 1566   1649   
        }
 1567         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
 1568         -
        ///
 1569         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
 1570         -
        ///
 1571         -
        pub fn build(
 1572         -
            self,
 1573         -
        ) -> Result<
 1574         -
            crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
 1575         -
            ConstraintViolation,
 1576         -
        > {
 1577         -
            self.build_enforcing_all_constraints()
 1578         -
        }
 1579         -
        fn build_enforcing_all_constraints(
 1580         -
            self,
 1581         -
        ) -> Result<
 1582         -
            crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
 1583         -
            ConstraintViolation,
 1584         -
        > {
 1585         -
            Ok(
 1586         -
                crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput {
 1587         -
                    map_of_length_pattern_string: self
 1588         -
                        .map_of_length_pattern_string
 1589         -
                        .map(|v| match v {
 1590         -
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1591         -
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1592         -
                        })
 1593         -
                        .map(|res| {
 1594         -
                            res.map(|v| v.into())
 1595         -
                                .map_err(ConstraintViolation::MapOfLengthPatternString)
 1596         -
                        })
 1597         -
                        .transpose()?,
 1598         -
                },
 1599         -
            )
 1600         -
        }
        1650  +
        #[allow(missing_docs)] // documentation missing in model
        1651  +
        pub(crate) fn set_range_byte_set_header(
        1652  +
            mut self,
        1653  +
            input: Option<
        1654  +
                impl ::std::convert::Into<
        1655  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
        1656  +
                >,
        1657  +
            >,
        1658  +
        ) -> Self {
        1659  +
            self.range_byte_set_header = input.map(|v| v.into());
        1660  +
            self
 1601   1661   
        }
 1602         -
}
 1603         -
/// See [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
 1604         -
pub mod query_params_targeting_map_of_list_of_pattern_string_operation_input {
 1605         -
 1606         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1607         -
    /// Holds one variant for each of the ways the builder can fail.
 1608         -
    #[non_exhaustive]
 1609         -
    #[allow(clippy::enum_variant_names)]
 1610         -
    pub enum ConstraintViolation {
 1611         -
        /// Constraint violation occurred building member `map_of_list_of_pattern_string` when building `QueryParamsTargetingMapOfListOfPatternStringOperationInput`.
 1612         -
        #[doc(hidden)]
 1613         -
        MapOfListOfPatternString(crate::model::map_of_list_of_pattern_string::ConstraintViolation),
        1662  +
        #[allow(missing_docs)] // documentation missing in model
        1663  +
        pub fn range_short_set_header(
        1664  +
            mut self,
        1665  +
            input: ::std::option::Option<crate::model::SetOfRangeShort>,
        1666  +
        ) -> Self {
        1667  +
            self.range_short_set_header =
        1668  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1669  +
            self
 1614   1670   
        }
 1615         -
    impl ::std::fmt::Display for ConstraintViolation {
 1616         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1617         -
            match self {
 1618         -
                ConstraintViolation::MapOfListOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_list_of_pattern_string` when building `QueryParamsTargetingMapOfListOfPatternStringOperationInput`"),
        1671  +
        #[allow(missing_docs)] // documentation missing in model
        1672  +
        pub(crate) fn set_range_short_set_header(
        1673  +
            mut self,
        1674  +
            input: Option<
        1675  +
                impl ::std::convert::Into<
        1676  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
        1677  +
                >,
        1678  +
            >,
        1679  +
        ) -> Self {
        1680  +
            self.range_short_set_header = input.map(|v| v.into());
        1681  +
            self
 1619   1682   
        }
        1683  +
        #[allow(missing_docs)] // documentation missing in model
        1684  +
        pub fn range_integer_set_header(
        1685  +
            mut self,
        1686  +
            input: ::std::option::Option<crate::model::SetOfRangeInteger>,
        1687  +
        ) -> Self {
        1688  +
            self.range_integer_set_header =
        1689  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1690  +
            self
 1620   1691   
        }
        1692  +
        #[allow(missing_docs)] // documentation missing in model
        1693  +
        pub(crate) fn set_range_integer_set_header(
        1694  +
            mut self,
        1695  +
            input: Option<
        1696  +
                impl ::std::convert::Into<
        1697  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
        1698  +
                >,
        1699  +
            >,
        1700  +
        ) -> Self {
        1701  +
            self.range_integer_set_header = input.map(|v| v.into());
        1702  +
            self
 1621   1703   
        }
 1622         -
    impl ::std::error::Error for ConstraintViolation {}
 1623         -
    impl ConstraintViolation {
 1624         -
        pub(crate) fn as_validation_exception_field(
 1625         -
            self,
 1626         -
            path: ::std::string::String,
 1627         -
        ) -> crate::model::ValidationExceptionField {
 1628         -
            match self {
 1629         -
                ConstraintViolation::MapOfListOfPatternString(inner) => {
 1630         -
                    inner.as_validation_exception_field(path + "/mapOfListOfPatternString")
        1704  +
        #[allow(missing_docs)] // documentation missing in model
        1705  +
        pub fn range_long_set_header(
        1706  +
            mut self,
        1707  +
            input: ::std::option::Option<crate::model::SetOfRangeLong>,
        1708  +
        ) -> Self {
        1709  +
            self.range_long_set_header =
        1710  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1711  +
            self
 1631   1712   
        }
        1713  +
        #[allow(missing_docs)] // documentation missing in model
        1714  +
        pub(crate) fn set_range_long_set_header(
        1715  +
            mut self,
        1716  +
            input: Option<
        1717  +
                impl ::std::convert::Into<
        1718  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
        1719  +
                >,
        1720  +
            >,
        1721  +
        ) -> Self {
        1722  +
            self.range_long_set_header = input.map(|v| v.into());
        1723  +
            self
 1632   1724   
        }
        1725  +
        #[allow(missing_docs)] // documentation missing in model
        1726  +
        pub fn range_byte_list_header(
        1727  +
            mut self,
        1728  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
        1729  +
        ) -> Self {
        1730  +
            self.range_byte_list_header =
        1731  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1732  +
            self
 1633   1733   
        }
        1734  +
        #[allow(missing_docs)] // documentation missing in model
        1735  +
        pub(crate) fn set_range_byte_list_header(
        1736  +
            mut self,
        1737  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
        1738  +
        ) -> Self {
        1739  +
            self.range_byte_list_header = input.map(|v| v.into());
        1740  +
            self
 1634   1741   
        }
 1635         -
    impl ::std::convert::From<ConstraintViolation>
 1636         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1637         -
    {
 1638         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1639         -
            let first_validation_exception_field =
 1640         -
                constraint_violation.as_validation_exception_field("".to_owned());
 1641         -
            let validation_exception = crate::error::ValidationException {
 1642         -
                message: format!(
 1643         -
                    "1 validation error detected. {}",
 1644         -
                    &first_validation_exception_field.message
 1645         -
                ),
 1646         -
                field_list: Some(vec![first_validation_exception_field]),
 1647         -
            };
 1648         -
            Self::ConstraintViolation(
 1649         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1650         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1651         -
                            )
        1742  +
        #[allow(missing_docs)] // documentation missing in model
        1743  +
        pub fn range_short_list_header(
        1744  +
            mut self,
        1745  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
        1746  +
        ) -> Self {
        1747  +
            self.range_short_list_header =
        1748  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1749  +
            self
 1652   1750   
        }
        1751  +
        #[allow(missing_docs)] // documentation missing in model
        1752  +
        pub(crate) fn set_range_short_list_header(
        1753  +
            mut self,
        1754  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
        1755  +
        ) -> Self {
        1756  +
            self.range_short_list_header = input.map(|v| v.into());
        1757  +
            self
 1653   1758   
        }
 1654         -
    impl ::std::convert::From<Builder>
 1655         -
        for crate::constrained::MaybeConstrained<
 1656         -
            crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
 1657         -
        >
 1658         -
    {
 1659         -
        fn from(builder: Builder) -> Self {
 1660         -
            Self::Unconstrained(builder)
        1759  +
        #[allow(missing_docs)] // documentation missing in model
        1760  +
        pub fn range_integer_list_header(
        1761  +
            mut self,
        1762  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
        1763  +
        ) -> Self {
        1764  +
            self.range_integer_list_header =
        1765  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1766  +
            self
 1661   1767   
        }
        1768  +
        #[allow(missing_docs)] // documentation missing in model
        1769  +
        pub(crate) fn set_range_integer_list_header(
        1770  +
            mut self,
        1771  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
        1772  +
        ) -> Self {
        1773  +
            self.range_integer_list_header = input.map(|v| v.into());
        1774  +
            self
 1662   1775   
        }
 1663         -
    impl ::std::convert::TryFrom<Builder>
 1664         -
        for crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput
 1665         -
    {
 1666         -
        type Error = ConstraintViolation;
 1667         -
 1668         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1669         -
            builder.build()
        1776  +
        #[allow(missing_docs)] // documentation missing in model
        1777  +
        pub fn range_long_list_header(
        1778  +
            mut self,
        1779  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
        1780  +
        ) -> Self {
        1781  +
            self.range_long_list_header =
        1782  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1783  +
            self
 1670   1784   
        }
        1785  +
        #[allow(missing_docs)] // documentation missing in model
        1786  +
        pub(crate) fn set_range_long_list_header(
        1787  +
            mut self,
        1788  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
        1789  +
        ) -> Self {
        1790  +
            self.range_long_list_header = input.map(|v| v.into());
        1791  +
            self
 1671   1792   
        }
 1672         -
    /// A builder for [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
 1673         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1674         -
    pub struct Builder {
 1675         -
        pub(crate) map_of_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_pattern_string_constrained::MapOfListOfPatternStringConstrained>>,
        1793  +
        #[allow(missing_docs)] // documentation missing in model
        1794  +
        pub fn length_string_query(
        1795  +
            mut self,
        1796  +
            input: ::std::option::Option<crate::model::LengthString>,
        1797  +
        ) -> Self {
        1798  +
            self.length_string_query = input.map(crate::constrained::MaybeConstrained::Constrained);
        1799  +
            self
 1676   1800   
        }
 1677         -
    impl Builder {
 1678   1801   
        #[allow(missing_docs)] // documentation missing in model
 1679         -
        pub fn map_of_list_of_pattern_string(
        1802  +
        pub(crate) fn set_length_string_query(
 1680   1803   
            mut self,
 1681         -
            input: ::std::option::Option<
 1682         -
                ::std::collections::HashMap<
 1683         -
                    crate::model::PatternString,
 1684         -
                    ::std::vec::Vec<crate::model::PatternString>,
        1804  +
            input: Option<
        1805  +
                impl ::std::convert::Into<
        1806  +
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 1685   1807   
                >,
 1686   1808   
            >,
 1687   1809   
        ) -> Self {
 1688         -
            self.map_of_list_of_pattern_string =
 1689         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1810  +
            self.length_string_query = input.map(|v| v.into());
 1690   1811   
            self
 1691   1812   
        }
 1692   1813   
        #[allow(missing_docs)] // documentation missing in model
 1693         -
        pub(crate) fn set_map_of_list_of_pattern_string(
        1814  +
        pub fn range_byte_query(mut self, input: crate::model::RangeByte) -> Self {
        1815  +
            self.range_byte_query = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1816  +
            self
        1817  +
        }
        1818  +
        #[allow(missing_docs)] // documentation missing in model
        1819  +
        pub(crate) fn set_range_byte_query(
 1694   1820   
            mut self,
 1695         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_pattern_string_constrained::MapOfListOfPatternStringConstrained>>>,
        1821  +
            input: impl ::std::convert::Into<
        1822  +
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
        1823  +
            >,
 1696   1824   
        ) -> Self {
 1697         -
            self.map_of_list_of_pattern_string = input.map(|v| v.into());
        1825  +
            self.range_byte_query = Some(input.into());
 1698   1826   
            self
 1699   1827   
        }
 1700         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
 1701         -
        ///
 1702         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
 1703         -
        ///
 1704         -
        pub fn build(
 1705         -
            self,
 1706         -
        ) -> Result<
 1707         -
            crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
 1708         -
            ConstraintViolation,
 1709         -
        > {
 1710         -
            self.build_enforcing_all_constraints()
        1828  +
        #[allow(missing_docs)] // documentation missing in model
        1829  +
        pub fn range_short_query(mut self, input: crate::model::RangeShort) -> Self {
        1830  +
            self.range_short_query = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1831  +
            self
 1711   1832   
        }
 1712         -
        fn build_enforcing_all_constraints(
 1713         -
            self,
 1714         -
        ) -> Result<
 1715         -
            crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
 1716         -
            ConstraintViolation,
 1717         -
        > {
 1718         -
            Ok(
 1719         -
                crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput {
 1720         -
                    map_of_list_of_pattern_string: self
 1721         -
                        .map_of_list_of_pattern_string
 1722         -
                        .map(|v| match v {
 1723         -
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1724         -
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1725         -
                        })
 1726         -
                        .map(|res| {
 1727         -
                            res.map(|v| v.into())
 1728         -
                                .map_err(ConstraintViolation::MapOfListOfPatternString)
 1729         -
                        })
 1730         -
                        .transpose()?,
 1731         -
                },
 1732         -
            )
        1833  +
        #[allow(missing_docs)] // documentation missing in model
        1834  +
        pub(crate) fn set_range_short_query(
        1835  +
            mut self,
        1836  +
            input: impl ::std::convert::Into<
        1837  +
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
        1838  +
            >,
        1839  +
        ) -> Self {
        1840  +
            self.range_short_query = Some(input.into());
        1841  +
            self
 1733   1842   
        }
        1843  +
        #[allow(missing_docs)] // documentation missing in model
        1844  +
        pub fn range_integer_query(mut self, input: crate::model::RangeInteger) -> Self {
        1845  +
            self.range_integer_query =
        1846  +
                Some(crate::constrained::MaybeConstrained::Constrained(input));
        1847  +
            self
 1734   1848   
        }
 1735         -
}
 1736         -
/// See [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
 1737         -
pub mod query_params_targeting_map_of_pattern_string_operation_input {
 1738         -
 1739         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1740         -
    /// Holds one variant for each of the ways the builder can fail.
 1741         -
    #[non_exhaustive]
 1742         -
    #[allow(clippy::enum_variant_names)]
 1743         -
    pub enum ConstraintViolation {
 1744         -
        /// Constraint violation occurred building member `map_of_pattern_string` when building `QueryParamsTargetingMapOfPatternStringOperationInput`.
 1745         -
        #[doc(hidden)]
 1746         -
        MapOfPatternString(crate::model::map_of_pattern_string::ConstraintViolation),
        1849  +
        #[allow(missing_docs)] // documentation missing in model
        1850  +
        pub(crate) fn set_range_integer_query(
        1851  +
            mut self,
        1852  +
            input: impl ::std::convert::Into<
        1853  +
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
        1854  +
            >,
        1855  +
        ) -> Self {
        1856  +
            self.range_integer_query = Some(input.into());
        1857  +
            self
 1747   1858   
        }
 1748         -
    impl ::std::fmt::Display for ConstraintViolation {
 1749         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1750         -
            match self {
 1751         -
                ConstraintViolation::MapOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_pattern_string` when building `QueryParamsTargetingMapOfPatternStringOperationInput`"),
        1859  +
        #[allow(missing_docs)] // documentation missing in model
        1860  +
        pub fn range_long_query(mut self, input: crate::model::RangeLong) -> Self {
        1861  +
            self.range_long_query = Some(crate::constrained::MaybeConstrained::Constrained(input));
        1862  +
            self
 1752   1863   
        }
        1864  +
        #[allow(missing_docs)] // documentation missing in model
        1865  +
        pub(crate) fn set_range_long_query(
        1866  +
            mut self,
        1867  +
            input: impl ::std::convert::Into<
        1868  +
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
        1869  +
            >,
        1870  +
        ) -> Self {
        1871  +
            self.range_long_query = Some(input.into());
        1872  +
            self
 1753   1873   
        }
        1874  +
        #[allow(missing_docs)] // documentation missing in model
        1875  +
        pub fn enum_string_query(
        1876  +
            mut self,
        1877  +
            input: ::std::option::Option<crate::model::EnumString>,
        1878  +
        ) -> Self {
        1879  +
            self.enum_string_query = input.map(crate::constrained::MaybeConstrained::Constrained);
        1880  +
            self
 1754   1881   
        }
 1755         -
    impl ::std::error::Error for ConstraintViolation {}
 1756         -
    impl ConstraintViolation {
 1757         -
        pub(crate) fn as_validation_exception_field(
 1758         -
            self,
 1759         -
            path: ::std::string::String,
 1760         -
        ) -> crate::model::ValidationExceptionField {
 1761         -
            match self {
 1762         -
                ConstraintViolation::MapOfPatternString(inner) => {
 1763         -
                    inner.as_validation_exception_field(path + "/mapOfPatternString")
        1882  +
        #[allow(missing_docs)] // documentation missing in model
        1883  +
        pub(crate) fn set_enum_string_query(
        1884  +
            mut self,
        1885  +
            input: Option<
        1886  +
                impl ::std::convert::Into<
        1887  +
                    crate::constrained::MaybeConstrained<crate::model::EnumString>,
        1888  +
                >,
        1889  +
            >,
        1890  +
        ) -> Self {
        1891  +
            self.enum_string_query = input.map(|v| v.into());
        1892  +
            self
 1764   1893   
        }
        1894  +
        #[allow(missing_docs)] // documentation missing in model
        1895  +
        pub fn length_string_list_query(
        1896  +
            mut self,
        1897  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
        1898  +
        ) -> Self {
        1899  +
            self.length_string_list_query =
        1900  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1901  +
            self
 1765   1902   
        }
        1903  +
        #[allow(missing_docs)] // documentation missing in model
        1904  +
        pub(crate) fn set_length_string_list_query(
        1905  +
            mut self,
        1906  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
        1907  +
        ) -> Self {
        1908  +
            self.length_string_list_query = input.map(|v| v.into());
        1909  +
            self
 1766   1910   
        }
        1911  +
        #[allow(missing_docs)] // documentation missing in model
        1912  +
        pub fn length_list_pattern_string_query(
        1913  +
            mut self,
        1914  +
            input: ::std::option::Option<crate::model::LengthListOfPatternString>,
        1915  +
        ) -> Self {
        1916  +
            self.length_list_pattern_string_query =
        1917  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1918  +
            self
 1767   1919   
        }
 1768         -
    impl ::std::convert::From<ConstraintViolation>
 1769         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1770         -
    {
 1771         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1772         -
            let first_validation_exception_field =
 1773         -
                constraint_violation.as_validation_exception_field("".to_owned());
 1774         -
            let validation_exception = crate::error::ValidationException {
 1775         -
                message: format!(
 1776         -
                    "1 validation error detected. {}",
 1777         -
                    &first_validation_exception_field.message
 1778         -
                ),
 1779         -
                field_list: Some(vec![first_validation_exception_field]),
 1780         -
            };
 1781         -
            Self::ConstraintViolation(
 1782         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1783         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1784         -
                            )
        1920  +
        #[allow(missing_docs)] // documentation missing in model
        1921  +
        pub(crate) fn set_length_list_pattern_string_query(
        1922  +
            mut self,
        1923  +
            input: Option<
        1924  +
                impl ::std::convert::Into<
        1925  +
                    crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
        1926  +
                >,
        1927  +
            >,
        1928  +
        ) -> Self {
        1929  +
            self.length_list_pattern_string_query = input.map(|v| v.into());
        1930  +
            self
 1785   1931   
        }
        1932  +
        #[allow(missing_docs)] // documentation missing in model
        1933  +
        pub fn length_string_set_query(
        1934  +
            mut self,
        1935  +
            input: ::std::option::Option<crate::model::SetOfLengthString>,
        1936  +
        ) -> Self {
        1937  +
            self.length_string_set_query =
        1938  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        1939  +
            self
 1786   1940   
        }
 1787         -
    impl ::std::convert::From<Builder>
 1788         -
        for crate::constrained::MaybeConstrained<
 1789         -
            crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
 1790         -
        >
 1791         -
    {
 1792         -
        fn from(builder: Builder) -> Self {
 1793         -
            Self::Unconstrained(builder)
        1941  +
        #[allow(missing_docs)] // documentation missing in model
        1942  +
        pub(crate) fn set_length_string_set_query(
        1943  +
            mut self,
        1944  +
            input: Option<
        1945  +
                impl ::std::convert::Into<
        1946  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
        1947  +
                >,
        1948  +
            >,
        1949  +
        ) -> Self {
        1950  +
            self.length_string_set_query = input.map(|v| v.into());
        1951  +
            self
 1794   1952   
        }
        1953  +
        #[allow(missing_docs)] // documentation missing in model
        1954  +
        pub fn range_byte_list_query(
        1955  +
            mut self,
        1956  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
        1957  +
        ) -> Self {
        1958  +
            self.range_byte_list_query =
        1959  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1960  +
            self
 1795   1961   
        }
 1796         -
    impl ::std::convert::TryFrom<Builder>
 1797         -
        for crate::input::QueryParamsTargetingMapOfPatternStringOperationInput
 1798         -
    {
 1799         -
        type Error = ConstraintViolation;
 1800         -
 1801         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1802         -
            builder.build()
        1962  +
        #[allow(missing_docs)] // documentation missing in model
        1963  +
        pub(crate) fn set_range_byte_list_query(
        1964  +
            mut self,
        1965  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
        1966  +
        ) -> Self {
        1967  +
            self.range_byte_list_query = input.map(|v| v.into());
        1968  +
            self
 1803   1969   
        }
        1970  +
        #[allow(missing_docs)] // documentation missing in model
        1971  +
        pub fn range_short_list_query(
        1972  +
            mut self,
        1973  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
        1974  +
        ) -> Self {
        1975  +
            self.range_short_list_query =
        1976  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        1977  +
            self
 1804   1978   
        }
 1805         -
    /// A builder for [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
 1806         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1807         -
    pub struct Builder {
 1808         -
        pub(crate) map_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>,
        1979  +
        #[allow(missing_docs)] // documentation missing in model
        1980  +
        pub(crate) fn set_range_short_list_query(
        1981  +
            mut self,
        1982  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
        1983  +
        ) -> Self {
        1984  +
            self.range_short_list_query = input.map(|v| v.into());
        1985  +
            self
 1809   1986   
        }
 1810         -
    impl Builder {
 1811   1987   
        #[allow(missing_docs)] // documentation missing in model
 1812         -
        pub fn map_of_pattern_string(
        1988  +
        pub fn range_integer_list_query(
 1813   1989   
            mut self,
 1814         -
            input: ::std::option::Option<
 1815         -
                ::std::collections::HashMap<
 1816         -
                    crate::model::PatternString,
 1817         -
                    crate::model::PatternString,
 1818         -
                >,
 1819         -
            >,
        1990  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
 1820   1991   
        ) -> Self {
 1821         -
            self.map_of_pattern_string =
        1992  +
            self.range_integer_list_query =
 1822   1993   
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 1823   1994   
            self
 1824   1995   
        }
 1825   1996   
        #[allow(missing_docs)] // documentation missing in model
 1826         -
        pub(crate) fn set_map_of_pattern_string(
        1997  +
        pub(crate) fn set_range_integer_list_query(
 1827   1998   
            mut self,
 1828         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>>,
        1999  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
 1829   2000   
        ) -> Self {
 1830         -
            self.map_of_pattern_string = input.map(|v| v.into());
        2001  +
            self.range_integer_list_query = input.map(|v| v.into());
 1831   2002   
            self
 1832   2003   
        }
 1833         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
 1834         -
        ///
 1835         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
 1836         -
        ///
 1837         -
        pub fn build(
 1838         -
            self,
 1839         -
        ) -> Result<
 1840         -
            crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
 1841         -
            ConstraintViolation,
 1842         -
        > {
 1843         -
            self.build_enforcing_all_constraints()
 1844         -
        }
 1845         -
        fn build_enforcing_all_constraints(
 1846         -
            self,
 1847         -
        ) -> Result<
 1848         -
            crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
 1849         -
            ConstraintViolation,
 1850         -
        > {
 1851         -
            Ok(
 1852         -
                crate::input::QueryParamsTargetingMapOfPatternStringOperationInput {
 1853         -
                    map_of_pattern_string: self
 1854         -
                        .map_of_pattern_string
 1855         -
                        .map(|v| match v {
 1856         -
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1857         -
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1858         -
                        })
 1859         -
                        .map(|res| {
 1860         -
                            res.map(|v| v.into())
 1861         -
                                .map_err(ConstraintViolation::MapOfPatternString)
 1862         -
                        })
 1863         -
                        .transpose()?,
 1864         -
                },
 1865         -
            )
 1866         -
        }
 1867         -
    }
 1868         -
}
 1869         -
/// See [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
 1870         -
pub mod query_params_targeting_map_of_list_of_enum_string_operation_input {
 1871         -
 1872         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1873         -
    /// Holds one variant for each of the ways the builder can fail.
 1874         -
    #[non_exhaustive]
 1875         -
    #[allow(clippy::enum_variant_names)]
 1876         -
    pub enum ConstraintViolation {
 1877         -
        /// Constraint violation occurred building member `map_of_list_of_enum_string` when building `QueryParamsTargetingMapOfListOfEnumStringOperationInput`.
 1878         -
        #[doc(hidden)]
 1879         -
        MapOfListOfEnumString(crate::model::map_of_list_of_enum_string::ConstraintViolation),
 1880         -
    }
 1881         -
    impl ::std::fmt::Display for ConstraintViolation {
 1882         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 1883         -
            match self {
 1884         -
                ConstraintViolation::MapOfListOfEnumString(_) => write!(f, "constraint violation occurred building member `map_of_list_of_enum_string` when building `QueryParamsTargetingMapOfListOfEnumStringOperationInput`"),
 1885         -
            }
 1886         -
        }
 1887         -
    }
 1888         -
    impl ::std::error::Error for ConstraintViolation {}
 1889         -
    impl ConstraintViolation {
 1890         -
        pub(crate) fn as_validation_exception_field(
 1891         -
            self,
 1892         -
            path: ::std::string::String,
 1893         -
        ) -> crate::model::ValidationExceptionField {
 1894         -
            match self {
 1895         -
                ConstraintViolation::MapOfListOfEnumString(inner) => {
 1896         -
                    inner.as_validation_exception_field(path + "/mapOfListOfEnumString")
 1897         -
                }
 1898         -
            }
        2004  +
        #[allow(missing_docs)] // documentation missing in model
        2005  +
        pub fn range_long_list_query(
        2006  +
            mut self,
        2007  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
        2008  +
        ) -> Self {
        2009  +
            self.range_long_list_query =
        2010  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        2011  +
            self
 1899   2012   
        }
        2013  +
        #[allow(missing_docs)] // documentation missing in model
        2014  +
        pub(crate) fn set_range_long_list_query(
        2015  +
            mut self,
        2016  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
        2017  +
        ) -> Self {
        2018  +
            self.range_long_list_query = input.map(|v| v.into());
        2019  +
            self
 1900   2020   
        }
 1901         -
    impl ::std::convert::From<ConstraintViolation>
 1902         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1903         -
    {
 1904         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1905         -
            let first_validation_exception_field =
 1906         -
                constraint_violation.as_validation_exception_field("".to_owned());
 1907         -
            let validation_exception = crate::error::ValidationException {
 1908         -
                message: format!(
 1909         -
                    "1 validation error detected. {}",
 1910         -
                    &first_validation_exception_field.message
 1911         -
                ),
 1912         -
                field_list: Some(vec![first_validation_exception_field]),
 1913         -
            };
 1914         -
            Self::ConstraintViolation(
 1915         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1916         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1917         -
                            )
        2021  +
        #[allow(missing_docs)] // documentation missing in model
        2022  +
        pub fn range_byte_set_query(
        2023  +
            mut self,
        2024  +
            input: ::std::option::Option<crate::model::SetOfRangeByte>,
        2025  +
        ) -> Self {
        2026  +
            self.range_byte_set_query =
        2027  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        2028  +
            self
 1918   2029   
        }
        2030  +
        #[allow(missing_docs)] // documentation missing in model
        2031  +
        pub(crate) fn set_range_byte_set_query(
        2032  +
            mut self,
        2033  +
            input: Option<
        2034  +
                impl ::std::convert::Into<
        2035  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
        2036  +
                >,
        2037  +
            >,
        2038  +
        ) -> Self {
        2039  +
            self.range_byte_set_query = input.map(|v| v.into());
        2040  +
            self
 1919   2041   
        }
 1920         -
    impl ::std::convert::From<Builder>
 1921         -
        for crate::constrained::MaybeConstrained<
 1922         -
            crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
 1923         -
        >
 1924         -
    {
 1925         -
        fn from(builder: Builder) -> Self {
 1926         -
            Self::Unconstrained(builder)
        2042  +
        #[allow(missing_docs)] // documentation missing in model
        2043  +
        pub fn range_short_set_query(
        2044  +
            mut self,
        2045  +
            input: ::std::option::Option<crate::model::SetOfRangeShort>,
        2046  +
        ) -> Self {
        2047  +
            self.range_short_set_query =
        2048  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        2049  +
            self
 1927   2050   
        }
        2051  +
        #[allow(missing_docs)] // documentation missing in model
        2052  +
        pub(crate) fn set_range_short_set_query(
        2053  +
            mut self,
        2054  +
            input: Option<
        2055  +
                impl ::std::convert::Into<
        2056  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
        2057  +
                >,
        2058  +
            >,
        2059  +
        ) -> Self {
        2060  +
            self.range_short_set_query = input.map(|v| v.into());
        2061  +
            self
 1928   2062   
        }
 1929         -
    impl ::std::convert::TryFrom<Builder>
 1930         -
        for crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput
 1931         -
    {
 1932         -
        type Error = ConstraintViolation;
 1933         -
 1934         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1935         -
            builder.build()
        2063  +
        #[allow(missing_docs)] // documentation missing in model
        2064  +
        pub fn range_integer_set_query(
        2065  +
            mut self,
        2066  +
            input: ::std::option::Option<crate::model::SetOfRangeInteger>,
        2067  +
        ) -> Self {
        2068  +
            self.range_integer_set_query =
        2069  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        2070  +
            self
 1936   2071   
        }
        2072  +
        #[allow(missing_docs)] // documentation missing in model
        2073  +
        pub(crate) fn set_range_integer_set_query(
        2074  +
            mut self,
        2075  +
            input: Option<
        2076  +
                impl ::std::convert::Into<
        2077  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
        2078  +
                >,
        2079  +
            >,
        2080  +
        ) -> Self {
        2081  +
            self.range_integer_set_query = input.map(|v| v.into());
        2082  +
            self
 1937   2083   
        }
 1938         -
    /// A builder for [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
 1939         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1940         -
    pub struct Builder {
 1941         -
        pub(crate) map_of_list_of_enum_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_enum_string_constrained::MapOfListOfEnumStringConstrained>>,
        2084  +
        #[allow(missing_docs)] // documentation missing in model
        2085  +
        pub fn range_long_set_query(
        2086  +
            mut self,
        2087  +
            input: ::std::option::Option<crate::model::SetOfRangeLong>,
        2088  +
        ) -> Self {
        2089  +
            self.range_long_set_query =
        2090  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
        2091  +
            self
 1942   2092   
        }
 1943         -
    impl Builder {
 1944   2093   
        #[allow(missing_docs)] // documentation missing in model
 1945         -
        pub fn map_of_list_of_enum_string(
        2094  +
        pub(crate) fn set_range_long_set_query(
 1946   2095   
            mut self,
 1947         -
            input: ::std::option::Option<
 1948         -
                ::std::collections::HashMap<
 1949         -
                    crate::model::EnumString,
 1950         -
                    ::std::vec::Vec<crate::model::EnumString>,
        2096  +
            input: Option<
        2097  +
                impl ::std::convert::Into<
        2098  +
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
 1951   2099   
                >,
 1952   2100   
            >,
 1953   2101   
        ) -> Self {
 1954         -
            self.map_of_list_of_enum_string =
        2102  +
            self.range_long_set_query = input.map(|v| v.into());
        2103  +
            self
        2104  +
        }
        2105  +
        #[allow(missing_docs)] // documentation missing in model
        2106  +
        pub fn enum_string_list_query(
        2107  +
            mut self,
        2108  +
            input: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
        2109  +
        ) -> Self {
        2110  +
            self.enum_string_list_query =
 1955   2111   
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 1956   2112   
            self
 1957   2113   
        }
 1958   2114   
        #[allow(missing_docs)] // documentation missing in model
 1959         -
        pub(crate) fn set_map_of_list_of_enum_string(
        2115  +
        pub(crate) fn set_enum_string_list_query(
 1960   2116   
            mut self,
 1961         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_enum_string_constrained::MapOfListOfEnumStringConstrained>>>,
        2117  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained>>>,
 1962   2118   
        ) -> Self {
 1963         -
            self.map_of_list_of_enum_string = input.map(|v| v.into());
        2119  +
            self.enum_string_list_query = input.map(|v| v.into());
 1964   2120   
            self
 1965   2121   
        }
 1966         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
        2122  +
        /// Consumes the builder and constructs a [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
 1967   2123   
        ///
 1968         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput) if a [`ConstraintViolation`] occurs.
        2124  +
        /// The builder fails to construct a [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput) if a [`ConstraintViolation`] occurs.
 1969   2125   
        ///
        2126  +
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
 1970   2127   
        pub fn build(
 1971   2128   
            self,
 1972         -
        ) -> Result<
 1973         -
            crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
 1974         -
            ConstraintViolation,
 1975         -
        > {
        2129  +
        ) -> Result<crate::input::ConstrainedHttpBoundShapesOperationInput, ConstraintViolation>
        2130  +
        {
 1976   2131   
            self.build_enforcing_all_constraints()
 1977   2132   
        }
 1978   2133   
        fn build_enforcing_all_constraints(
 1979   2134   
            self,
 1980         -
        ) -> Result<
 1981         -
            crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
 1982         -
            ConstraintViolation,
 1983         -
        > {
        2135  +
        ) -> Result<crate::input::ConstrainedHttpBoundShapesOperationInput, ConstraintViolation>
        2136  +
        {
 1984   2137   
            Ok(
 1985         -
                crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput {
 1986         -
                    map_of_list_of_enum_string: self
 1987         -
                        .map_of_list_of_enum_string
        2138  +
                crate::input::ConstrainedHttpBoundShapesOperationInput {
        2139  +
                    length_string_label: self.length_string_label
 1988   2140   
                        .map(|v| match v {
 1989   2141   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1990   2142   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1991   2143   
                                        })
 1992         -
                        .map(|res| {
 1993         -
                            res.map(|v| v.into())
 1994         -
                                .map_err(ConstraintViolation::MapOfListOfEnumString)
        2144  +
                        .map(|res|
        2145  +
                                        res.map_err(ConstraintViolation::LengthStringLabel)
        2146  +
                                    )
        2147  +
                                    .transpose()?
        2148  +
                        .ok_or(ConstraintViolation::MissingLengthStringLabel)?
        2149  +
                    ,
        2150  +
                    range_integer_label: self.range_integer_label
        2151  +
                        .map(|v| match v {
        2152  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2153  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1995   2154   
                                        })
 1996         -
                        .transpose()?,
 1997         -
                },
        2155  +
                        .map(|res|
        2156  +
                                        res.map_err(ConstraintViolation::RangeIntegerLabel)
 1998   2157   
                                    )
 1999         -
        }
 2000         -
    }
 2001         -
}
 2002         -
/// See [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
 2003         -
pub mod query_params_targeting_map_of_length_list_of_pattern_string_operation_input {
 2004         -
 2005         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2006         -
    /// Holds one variant for each of the ways the builder can fail.
 2007         -
    #[non_exhaustive]
 2008         -
    #[allow(clippy::enum_variant_names)]
 2009         -
    pub enum ConstraintViolation {
 2010         -
        /// Constraint violation occurred building member `map_of_length_list_of_pattern_string` when building `QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`.
 2011         -
        #[doc(hidden)]
 2012         -
        MapOfLengthListOfPatternString(
 2013         -
            crate::model::map_of_length_list_of_pattern_string::ConstraintViolation,
 2014         -
        ),
 2015         -
    }
 2016         -
    impl ::std::fmt::Display for ConstraintViolation {
 2017         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2018         -
            match self {
 2019         -
                ConstraintViolation::MapOfLengthListOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_list_of_pattern_string` when building `QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`"),
 2020         -
            }
 2021         -
        }
 2022         -
    }
 2023         -
    impl ::std::error::Error for ConstraintViolation {}
 2024         -
    impl ConstraintViolation {
 2025         -
        pub(crate) fn as_validation_exception_field(
 2026         -
            self,
 2027         -
            path: ::std::string::String,
 2028         -
        ) -> crate::model::ValidationExceptionField {
 2029         -
            match self {
 2030         -
                ConstraintViolation::MapOfLengthListOfPatternString(inner) => {
 2031         -
                    inner.as_validation_exception_field(path + "/mapOfLengthListOfPatternString")
 2032         -
                }
 2033         -
            }
 2034         -
        }
 2035         -
    }
 2036         -
    impl ::std::convert::From<ConstraintViolation>
 2037         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2038         -
    {
 2039         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2040         -
            let first_validation_exception_field =
 2041         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2042         -
            let validation_exception = crate::error::ValidationException {
 2043         -
                message: format!(
 2044         -
                    "1 validation error detected. {}",
 2045         -
                    &first_validation_exception_field.message
 2046         -
                ),
 2047         -
                field_list: Some(vec![first_validation_exception_field]),
 2048         -
            };
 2049         -
            Self::ConstraintViolation(
 2050         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2051         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2158  +
                                    .transpose()?
        2159  +
                        .unwrap_or_else(||
        2160  +
                                            0i32
        2161  +
                                                .try_into()
        2162  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 2052   2163   
                                        )
 2053         -
        }
 2054         -
    }
 2055         -
    impl ::std::convert::From<Builder>
 2056         -
        for crate::constrained::MaybeConstrained<
 2057         -
            crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
 2058         -
        >
 2059         -
    {
 2060         -
        fn from(builder: Builder) -> Self {
 2061         -
            Self::Unconstrained(builder)
 2062         -
        }
 2063         -
    }
 2064         -
    impl ::std::convert::TryFrom<Builder>
 2065         -
        for crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput
 2066         -
    {
 2067         -
        type Error = ConstraintViolation;
 2068         -
 2069         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2070         -
            builder.build()
 2071         -
        }
 2072         -
    }
 2073         -
    /// A builder for [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
 2074         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2075         -
    pub struct Builder {
 2076         -
        pub(crate) map_of_length_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_list_of_pattern_string_constrained::MapOfLengthListOfPatternStringConstrained>>,
 2077         -
    }
 2078         -
    impl Builder {
 2079         -
        #[allow(missing_docs)] // documentation missing in model
 2080         -
        pub fn map_of_length_list_of_pattern_string(
 2081         -
            mut self,
 2082         -
            input: ::std::option::Option<
 2083         -
                ::std::collections::HashMap<
 2084         -
                    crate::model::PatternString,
 2085         -
                    crate::model::LengthListOfPatternString,
 2086         -
                >,
 2087         -
            >,
 2088         -
        ) -> Self {
 2089         -
            self.map_of_length_list_of_pattern_string =
 2090         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 2091         -
            self
 2092         -
        }
 2093         -
        #[allow(missing_docs)] // documentation missing in model
 2094         -
        pub(crate) fn set_map_of_length_list_of_pattern_string(
 2095         -
            mut self,
 2096         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_list_of_pattern_string_constrained::MapOfLengthListOfPatternStringConstrained>>>,
 2097         -
        ) -> Self {
 2098         -
            self.map_of_length_list_of_pattern_string = input.map(|v| v.into());
 2099         -
            self
 2100         -
        }
 2101         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
 2102         -
        ///
 2103         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
 2104         -
        ///
 2105         -
        pub fn build(
 2106         -
            self,
 2107         -
        ) -> Result<
 2108         -
            crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
 2109         -
            ConstraintViolation,
 2110         -
        > {
 2111         -
            self.build_enforcing_all_constraints()
 2112         -
        }
 2113         -
        fn build_enforcing_all_constraints(
 2114         -
            self,
 2115         -
        ) -> Result<
 2116         -
            crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
 2117         -
            ConstraintViolation,
 2118         -
        > {
 2119         -
            Ok(
 2120         -
                crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
 2121         -
                    map_of_length_list_of_pattern_string: self
 2122         -
                        .map_of_length_list_of_pattern_string
        2164  +
                    ,
        2165  +
                    range_short_label: self.range_short_label
 2123   2166   
                        .map(|v| match v {
 2124   2167   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2125   2168   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2126   2169   
                                        })
 2127         -
                        .map(|res| {
 2128         -
                            res.map(|v| v.into())
 2129         -
                                .map_err(ConstraintViolation::MapOfLengthListOfPatternString)
 2130         -
                        })
 2131         -
                        .transpose()?,
 2132         -
                },
        2170  +
                        .map(|res|
        2171  +
                                        res.map_err(ConstraintViolation::RangeShortLabel)
 2133   2172   
                                    )
 2134         -
        }
 2135         -
    }
 2136         -
}
 2137         -
/// See [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
 2138         -
pub mod query_params_targeting_map_of_set_of_length_string_operation_input {
 2139         -
 2140         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2141         -
    /// Holds one variant for each of the ways the builder can fail.
 2142         -
    #[non_exhaustive]
 2143         -
    #[allow(clippy::enum_variant_names)]
 2144         -
    pub enum ConstraintViolation {
 2145         -
        /// Constraint violation occurred building member `map_of_set_of_length_string` when building `QueryParamsTargetingMapOfSetOfLengthStringOperationInput`.
 2146         -
        #[doc(hidden)]
 2147         -
        MapOfSetOfLengthString(crate::model::map_of_set_of_length_string::ConstraintViolation),
 2148         -
    }
 2149         -
    impl ::std::fmt::Display for ConstraintViolation {
 2150         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2151         -
            match self {
 2152         -
                ConstraintViolation::MapOfSetOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_set_of_length_string` when building `QueryParamsTargetingMapOfSetOfLengthStringOperationInput`"),
 2153         -
            }
 2154         -
        }
 2155         -
    }
 2156         -
    impl ::std::error::Error for ConstraintViolation {}
 2157         -
    impl ConstraintViolation {
 2158         -
        pub(crate) fn as_validation_exception_field(
 2159         -
            self,
 2160         -
            path: ::std::string::String,
 2161         -
        ) -> crate::model::ValidationExceptionField {
 2162         -
            match self {
 2163         -
                ConstraintViolation::MapOfSetOfLengthString(inner) => {
 2164         -
                    inner.as_validation_exception_field(path + "/mapOfSetOfLengthString")
 2165         -
                }
 2166         -
            }
 2167         -
        }
 2168         -
    }
 2169         -
    impl ::std::convert::From<ConstraintViolation>
 2170         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2171         -
    {
 2172         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2173         -
            let first_validation_exception_field =
 2174         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2175         -
            let validation_exception = crate::error::ValidationException {
 2176         -
                message: format!(
 2177         -
                    "1 validation error detected. {}",
 2178         -
                    &first_validation_exception_field.message
 2179         -
                ),
 2180         -
                field_list: Some(vec![first_validation_exception_field]),
 2181         -
            };
 2182         -
            Self::ConstraintViolation(
 2183         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2184         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2173  +
                                    .transpose()?
        2174  +
                        .unwrap_or_else(||
        2175  +
                                            0i16
        2176  +
                                                .try_into()
        2177  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 2185   2178   
                                        )
 2186         -
        }
 2187         -
    }
 2188         -
    impl ::std::convert::From<Builder>
 2189         -
        for crate::constrained::MaybeConstrained<
 2190         -
            crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
 2191         -
        >
 2192         -
    {
 2193         -
        fn from(builder: Builder) -> Self {
 2194         -
            Self::Unconstrained(builder)
 2195         -
        }
 2196         -
    }
 2197         -
    impl ::std::convert::TryFrom<Builder>
 2198         -
        for crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput
 2199         -
    {
 2200         -
        type Error = ConstraintViolation;
 2201         -
 2202         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2203         -
            builder.build()
 2204         -
        }
 2205         -
    }
 2206         -
    /// A builder for [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
 2207         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2208         -
    pub struct Builder {
 2209         -
        pub(crate) map_of_set_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_set_of_length_string_constrained::MapOfSetOfLengthStringConstrained>>,
 2210         -
    }
 2211         -
    impl Builder {
 2212         -
        #[allow(missing_docs)] // documentation missing in model
 2213         -
        pub fn map_of_set_of_length_string(
 2214         -
            mut self,
 2215         -
            input: ::std::option::Option<
 2216         -
                ::std::collections::HashMap<
 2217         -
                    crate::model::LengthString,
 2218         -
                    crate::model::SetOfLengthString,
 2219         -
                >,
 2220         -
            >,
 2221         -
        ) -> Self {
 2222         -
            self.map_of_set_of_length_string =
 2223         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 2224         -
            self
 2225         -
        }
 2226         -
        #[allow(missing_docs)] // documentation missing in model
 2227         -
        pub(crate) fn set_map_of_set_of_length_string(
 2228         -
            mut self,
 2229         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_set_of_length_string_constrained::MapOfSetOfLengthStringConstrained>>>,
 2230         -
        ) -> Self {
 2231         -
            self.map_of_set_of_length_string = input.map(|v| v.into());
 2232         -
            self
 2233         -
        }
 2234         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
 2235         -
        ///
 2236         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput) if a [`ConstraintViolation`] occurs.
 2237         -
        ///
 2238         -
        pub fn build(
 2239         -
            self,
 2240         -
        ) -> Result<
 2241         -
            crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
 2242         -
            ConstraintViolation,
 2243         -
        > {
 2244         -
            self.build_enforcing_all_constraints()
 2245         -
        }
 2246         -
        fn build_enforcing_all_constraints(
 2247         -
            self,
 2248         -
        ) -> Result<
 2249         -
            crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
 2250         -
            ConstraintViolation,
 2251         -
        > {
 2252         -
            Ok(
 2253         -
                crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput {
 2254         -
                    map_of_set_of_length_string: self
 2255         -
                        .map_of_set_of_length_string
        2179  +
                    ,
        2180  +
                    range_long_label: self.range_long_label
 2256   2181   
                        .map(|v| match v {
 2257   2182   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2258   2183   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2259   2184   
                                        })
 2260         -
                        .map(|res| {
 2261         -
                            res.map(|v| v.into())
 2262         -
                                .map_err(ConstraintViolation::MapOfSetOfLengthString)
        2185  +
                        .map(|res|
        2186  +
                                        res.map_err(ConstraintViolation::RangeLongLabel)
        2187  +
                                    )
        2188  +
                                    .transpose()?
        2189  +
                        .unwrap_or_else(||
        2190  +
                                            0i64
        2191  +
                                                .try_into()
        2192  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2193  +
                                        )
        2194  +
                    ,
        2195  +
                    range_byte_label: self.range_byte_label
        2196  +
                        .map(|v| match v {
        2197  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2198  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2263   2199   
                                        })
 2264         -
                        .transpose()?,
 2265         -
                },
        2200  +
                        .map(|res|
        2201  +
                                        res.map_err(ConstraintViolation::RangeByteLabel)
 2266   2202   
                                    )
 2267         -
        }
 2268         -
    }
 2269         -
}
 2270         -
/// See [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
 2271         -
pub mod query_params_targeting_map_of_list_of_length_string_operation_input {
 2272         -
 2273         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2274         -
    /// Holds one variant for each of the ways the builder can fail.
 2275         -
    #[non_exhaustive]
 2276         -
    #[allow(clippy::enum_variant_names)]
 2277         -
    pub enum ConstraintViolation {
 2278         -
        /// Constraint violation occurred building member `map_of_list_of_length_string` when building `QueryParamsTargetingMapOfListOfLengthStringOperationInput`.
 2279         -
        #[doc(hidden)]
 2280         -
        MapOfListOfLengthString(crate::model::map_of_list_of_length_string::ConstraintViolation),
 2281         -
    }
 2282         -
    impl ::std::fmt::Display for ConstraintViolation {
 2283         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2284         -
            match self {
 2285         -
                ConstraintViolation::MapOfListOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_list_of_length_string` when building `QueryParamsTargetingMapOfListOfLengthStringOperationInput`"),
 2286         -
            }
 2287         -
        }
 2288         -
    }
 2289         -
    impl ::std::error::Error for ConstraintViolation {}
 2290         -
    impl ConstraintViolation {
 2291         -
        pub(crate) fn as_validation_exception_field(
 2292         -
            self,
 2293         -
            path: ::std::string::String,
 2294         -
        ) -> crate::model::ValidationExceptionField {
 2295         -
            match self {
 2296         -
                ConstraintViolation::MapOfListOfLengthString(inner) => {
 2297         -
                    inner.as_validation_exception_field(path + "/mapOfListOfLengthString")
 2298         -
                }
 2299         -
            }
 2300         -
        }
 2301         -
    }
 2302         -
    impl ::std::convert::From<ConstraintViolation>
 2303         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2304         -
    {
 2305         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2306         -
            let first_validation_exception_field =
 2307         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2308         -
            let validation_exception = crate::error::ValidationException {
 2309         -
                message: format!(
 2310         -
                    "1 validation error detected. {}",
 2311         -
                    &first_validation_exception_field.message
 2312         -
                ),
 2313         -
                field_list: Some(vec![first_validation_exception_field]),
 2314         -
            };
 2315         -
            Self::ConstraintViolation(
 2316         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2317         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2203  +
                                    .transpose()?
        2204  +
                        .unwrap_or_else(||
        2205  +
                                            0i8
        2206  +
                                                .try_into()
        2207  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 2318   2208   
                                        )
 2319         -
        }
 2320         -
    }
 2321         -
    impl ::std::convert::From<Builder>
 2322         -
        for crate::constrained::MaybeConstrained<
 2323         -
            crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
 2324         -
        >
 2325         -
    {
 2326         -
        fn from(builder: Builder) -> Self {
 2327         -
            Self::Unconstrained(builder)
 2328         -
        }
 2329         -
    }
 2330         -
    impl ::std::convert::TryFrom<Builder>
 2331         -
        for crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput
 2332         -
    {
 2333         -
        type Error = ConstraintViolation;
 2334         -
 2335         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2336         -
            builder.build()
 2337         -
        }
 2338         -
    }
 2339         -
    /// A builder for [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
 2340         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2341         -
    pub struct Builder {
 2342         -
        pub(crate) map_of_list_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_string_constrained::MapOfListOfLengthStringConstrained>>,
 2343         -
    }
 2344         -
    impl Builder {
 2345         -
        #[allow(missing_docs)] // documentation missing in model
 2346         -
        pub fn map_of_list_of_length_string(
 2347         -
            mut self,
 2348         -
            input: ::std::option::Option<
 2349         -
                ::std::collections::HashMap<
 2350         -
                    crate::model::LengthString,
 2351         -
                    ::std::vec::Vec<crate::model::LengthString>,
 2352         -
                >,
 2353         -
            >,
 2354         -
        ) -> Self {
 2355         -
            self.map_of_list_of_length_string =
 2356         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 2357         -
            self
 2358         -
        }
 2359         -
        #[allow(missing_docs)] // documentation missing in model
 2360         -
        pub(crate) fn set_map_of_list_of_length_string(
 2361         -
            mut self,
 2362         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_string_constrained::MapOfListOfLengthStringConstrained>>>,
 2363         -
        ) -> Self {
 2364         -
            self.map_of_list_of_length_string = input.map(|v| v.into());
 2365         -
            self
 2366         -
        }
 2367         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
 2368         -
        ///
 2369         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput) if a [`ConstraintViolation`] occurs.
 2370         -
        ///
 2371         -
        pub fn build(
 2372         -
            self,
 2373         -
        ) -> Result<
 2374         -
            crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
 2375         -
            ConstraintViolation,
 2376         -
        > {
 2377         -
            self.build_enforcing_all_constraints()
 2378         -
        }
 2379         -
        fn build_enforcing_all_constraints(
 2380         -
            self,
 2381         -
        ) -> Result<
 2382         -
            crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
 2383         -
            ConstraintViolation,
 2384         -
        > {
 2385         -
            Ok(
 2386         -
                crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput {
 2387         -
                    map_of_list_of_length_string: self
 2388         -
                        .map_of_list_of_length_string
        2209  +
                    ,
        2210  +
                    enum_string_label: self.enum_string_label
 2389   2211   
                        .map(|v| match v {
 2390   2212   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2391   2213   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2392   2214   
                                        })
 2393         -
                        .map(|res| {
 2394         -
                            res.map(|v| v.into())
 2395         -
                                .map_err(ConstraintViolation::MapOfListOfLengthString)
        2215  +
                        .map(|res|
        2216  +
                                        res.map_err(ConstraintViolation::EnumStringLabel)
        2217  +
                                    )
        2218  +
                                    .transpose()?
        2219  +
                        .ok_or(ConstraintViolation::MissingEnumStringLabel)?
        2220  +
                    ,
        2221  +
                    length_string_header_map: self.length_string_header_map
        2222  +
                        .map(|v| match v {
        2223  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2224  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2396   2225   
                                        })
 2397         -
                        .transpose()?,
 2398         -
                },
        2226  +
                        .map(|res|
        2227  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::LengthStringHeaderMap)
 2399   2228   
                                    )
 2400         -
        }
 2401         -
    }
 2402         -
}
 2403         -
/// See [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
 2404         -
pub mod query_params_targeting_map_of_length_string_operation_input {
 2405         -
 2406         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2407         -
    /// Holds one variant for each of the ways the builder can fail.
 2408         -
    #[non_exhaustive]
 2409         -
    #[allow(clippy::enum_variant_names)]
 2410         -
    pub enum ConstraintViolation {
 2411         -
        /// Constraint violation occurred building member `map_of_length_string` when building `QueryParamsTargetingMapOfLengthStringOperationInput`.
 2412         -
        #[doc(hidden)]
 2413         -
        MapOfLengthString(crate::model::map_of_length_string::ConstraintViolation),
 2414         -
    }
 2415         -
    impl ::std::fmt::Display for ConstraintViolation {
 2416         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2417         -
            match self {
 2418         -
                ConstraintViolation::MapOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_length_string` when building `QueryParamsTargetingMapOfLengthStringOperationInput`"),
 2419         -
            }
 2420         -
        }
 2421         -
    }
 2422         -
    impl ::std::error::Error for ConstraintViolation {}
 2423         -
    impl ConstraintViolation {
 2424         -
        pub(crate) fn as_validation_exception_field(
 2425         -
            self,
 2426         -
            path: ::std::string::String,
 2427         -
        ) -> crate::model::ValidationExceptionField {
 2428         -
            match self {
 2429         -
                ConstraintViolation::MapOfLengthString(inner) => {
 2430         -
                    inner.as_validation_exception_field(path + "/mapOfLengthString")
 2431         -
                }
 2432         -
            }
 2433         -
        }
 2434         -
    }
 2435         -
    impl ::std::convert::From<ConstraintViolation>
 2436         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2437         -
    {
 2438         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2439         -
            let first_validation_exception_field =
 2440         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2441         -
            let validation_exception = crate::error::ValidationException {
 2442         -
                message: format!(
 2443         -
                    "1 validation error detected. {}",
 2444         -
                    &first_validation_exception_field.message
 2445         -
                ),
 2446         -
                field_list: Some(vec![first_validation_exception_field]),
 2447         -
            };
 2448         -
            Self::ConstraintViolation(
 2449         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2450         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2229  +
                                    .transpose()?
        2230  +
                        .ok_or(ConstraintViolation::MissingLengthStringHeaderMap)?
        2231  +
                    ,
        2232  +
                    length_string_header: self.length_string_header
        2233  +
                        .map(|v| match v {
        2234  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2235  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2236  +
                                        })
        2237  +
                        .map(|res|
        2238  +
                                        res.map_err(ConstraintViolation::LengthStringHeader)
 2451   2239   
                                    )
 2452         -
        }
 2453         -
    }
 2454         -
    impl ::std::convert::From<Builder>
 2455         -
        for crate::constrained::MaybeConstrained<
 2456         -
            crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
 2457         -
        >
 2458         -
    {
 2459         -
        fn from(builder: Builder) -> Self {
 2460         -
            Self::Unconstrained(builder)
 2461         -
        }
 2462         -
    }
 2463         -
    impl ::std::convert::TryFrom<Builder>
 2464         -
        for crate::input::QueryParamsTargetingMapOfLengthStringOperationInput
 2465         -
    {
 2466         -
        type Error = ConstraintViolation;
 2467         -
 2468         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2469         -
            builder.build()
 2470         -
        }
 2471         -
    }
 2472         -
    /// A builder for [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
 2473         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2474         -
    pub struct Builder {
 2475         -
        pub(crate) map_of_length_string: ::std::option::Option<
 2476         -
            crate::constrained::MaybeConstrained<
 2477         -
                crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained,
 2478         -
            >,
 2479         -
        >,
 2480         -
    }
 2481         -
    impl Builder {
 2482         -
        #[allow(missing_docs)] // documentation missing in model
 2483         -
        pub fn map_of_length_string(
 2484         -
            mut self,
 2485         -
            input: ::std::option::Option<
 2486         -
                ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
 2487         -
            >,
 2488         -
        ) -> Self {
 2489         -
            self.map_of_length_string =
 2490         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 2491         -
            self
 2492         -
        }
 2493         -
        #[allow(missing_docs)] // documentation missing in model
 2494         -
        pub(crate) fn set_map_of_length_string(
 2495         -
            mut self,
 2496         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>>,
 2497         -
        ) -> Self {
 2498         -
            self.map_of_length_string = input.map(|v| v.into());
 2499         -
            self
 2500         -
        }
 2501         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
 2502         -
        ///
 2503         -
        /// The builder fails to construct a [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput) if a [`ConstraintViolation`] occurs.
 2504         -
        ///
 2505         -
        pub fn build(
 2506         -
            self,
 2507         -
        ) -> Result<
 2508         -
            crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
 2509         -
            ConstraintViolation,
 2510         -
        > {
 2511         -
            self.build_enforcing_all_constraints()
 2512         -
        }
 2513         -
        fn build_enforcing_all_constraints(
 2514         -
            self,
 2515         -
        ) -> Result<
 2516         -
            crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
 2517         -
            ConstraintViolation,
 2518         -
        > {
 2519         -
            Ok(
 2520         -
                crate::input::QueryParamsTargetingMapOfLengthStringOperationInput {
 2521         -
                    map_of_length_string: self
 2522         -
                        .map_of_length_string
        2240  +
                                    .transpose()?
        2241  +
                    ,
        2242  +
                    range_integer_header: self.range_integer_header
 2523   2243   
                        .map(|v| match v {
 2524   2244   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2525   2245   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2526   2246   
                                        })
 2527         -
                        .map(|res| {
 2528         -
                            res.map(|v| v.into())
 2529         -
                                .map_err(ConstraintViolation::MapOfLengthString)
        2247  +
                        .map(|res|
        2248  +
                                        res.map_err(ConstraintViolation::RangeIntegerHeader)
        2249  +
                                    )
        2250  +
                                    .transpose()?
        2251  +
                        .unwrap_or_else(||
        2252  +
                                            0i32
        2253  +
                                                .try_into()
        2254  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2255  +
                                        )
        2256  +
                    ,
        2257  +
                    range_short_header: self.range_short_header
        2258  +
                        .map(|v| match v {
        2259  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2260  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2530   2261   
                                        })
 2531         -
                        .transpose()?,
 2532         -
                },
        2262  +
                        .map(|res|
        2263  +
                                        res.map_err(ConstraintViolation::RangeShortHeader)
 2533   2264   
                                    )
 2534         -
        }
 2535         -
    }
 2536         -
}
 2537         -
/// See [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
 2538         -
pub mod query_params_targeting_length_map_operation_input {
 2539         -
 2540         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2541         -
    /// Holds one variant for each of the ways the builder can fail.
 2542         -
    #[non_exhaustive]
 2543         -
    #[allow(clippy::enum_variant_names)]
 2544         -
    pub enum ConstraintViolation {
 2545         -
        /// Constraint violation occurred building member `length_map` when building `QueryParamsTargetingLengthMapOperationInput`.
 2546         -
        #[doc(hidden)]
 2547         -
        LengthMap(crate::model::con_b_map::ConstraintViolation),
 2548         -
    }
 2549         -
    impl ::std::fmt::Display for ConstraintViolation {
 2550         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2551         -
            match self {
 2552         -
                ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `QueryParamsTargetingLengthMapOperationInput`"),
 2553         -
            }
 2554         -
        }
 2555         -
    }
 2556         -
    impl ::std::error::Error for ConstraintViolation {}
 2557         -
    impl ConstraintViolation {
 2558         -
        pub(crate) fn as_validation_exception_field(
 2559         -
            self,
 2560         -
            path: ::std::string::String,
 2561         -
        ) -> crate::model::ValidationExceptionField {
 2562         -
            match self {
 2563         -
                ConstraintViolation::LengthMap(inner) => {
 2564         -
                    inner.as_validation_exception_field(path + "/lengthMap")
 2565         -
                }
 2566         -
            }
 2567         -
        }
 2568         -
    }
 2569         -
    impl ::std::convert::From<ConstraintViolation>
 2570         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2571         -
    {
 2572         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2573         -
            let first_validation_exception_field =
 2574         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2575         -
            let validation_exception = crate::error::ValidationException {
 2576         -
                message: format!(
 2577         -
                    "1 validation error detected. {}",
 2578         -
                    &first_validation_exception_field.message
 2579         -
                ),
 2580         -
                field_list: Some(vec![first_validation_exception_field]),
 2581         -
            };
 2582         -
            Self::ConstraintViolation(
 2583         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2584         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2265  +
                                    .transpose()?
        2266  +
                        .unwrap_or_else(||
        2267  +
                                            0i16
        2268  +
                                                .try_into()
        2269  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 2585   2270   
                                        )
 2586         -
        }
 2587         -
    }
 2588         -
    impl ::std::convert::From<Builder>
 2589         -
        for crate::constrained::MaybeConstrained<
 2590         -
            crate::input::QueryParamsTargetingLengthMapOperationInput,
 2591         -
        >
 2592         -
    {
 2593         -
        fn from(builder: Builder) -> Self {
 2594         -
            Self::Unconstrained(builder)
 2595         -
        }
 2596         -
    }
 2597         -
    impl ::std::convert::TryFrom<Builder>
 2598         -
        for crate::input::QueryParamsTargetingLengthMapOperationInput
 2599         -
    {
 2600         -
        type Error = ConstraintViolation;
 2601         -
 2602         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2603         -
            builder.build()
 2604         -
        }
 2605         -
    }
 2606         -
    /// A builder for [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
 2607         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2608         -
    pub struct Builder {
 2609         -
        pub(crate) length_map:
 2610         -
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 2611         -
    }
 2612         -
    impl Builder {
 2613         -
        #[allow(missing_docs)] // documentation missing in model
 2614         -
        pub fn length_map(mut self, input: ::std::option::Option<crate::model::ConBMap>) -> Self {
 2615         -
            self.length_map = input.map(crate::constrained::MaybeConstrained::Constrained);
 2616         -
            self
 2617         -
        }
 2618         -
        #[allow(missing_docs)] // documentation missing in model
 2619         -
        pub(crate) fn set_length_map(
 2620         -
            mut self,
 2621         -
            input: Option<
 2622         -
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 2623         -
            >,
 2624         -
        ) -> Self {
 2625         -
            self.length_map = input.map(|v| v.into());
 2626         -
            self
 2627         -
        }
 2628         -
        /// Consumes the builder and constructs a [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
 2629         -
        ///
 2630         -
        /// The builder fails to construct a [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput) if a [`ConstraintViolation`] occurs.
 2631         -
        ///
 2632         -
        pub fn build(
 2633         -
            self,
 2634         -
        ) -> Result<crate::input::QueryParamsTargetingLengthMapOperationInput, ConstraintViolation>
 2635         -
        {
 2636         -
            self.build_enforcing_all_constraints()
 2637         -
        }
 2638         -
        fn build_enforcing_all_constraints(
 2639         -
            self,
 2640         -
        ) -> Result<crate::input::QueryParamsTargetingLengthMapOperationInput, ConstraintViolation>
 2641         -
        {
 2642         -
            Ok(crate::input::QueryParamsTargetingLengthMapOperationInput {
 2643         -
                length_map: self
 2644         -
                    .length_map
        2271  +
                    ,
        2272  +
                    range_long_header: self.range_long_header
 2645   2273   
                        .map(|v| match v {
 2646   2274   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2647   2275   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2648   2276   
                                        })
 2649         -
                    .map(|res| res.map_err(ConstraintViolation::LengthMap))
 2650         -
                    .transpose()?,
        2277  +
                        .map(|res|
        2278  +
                                        res.map_err(ConstraintViolation::RangeLongHeader)
        2279  +
                                    )
        2280  +
                                    .transpose()?
        2281  +
                        .unwrap_or_else(||
        2282  +
                                            0i64
        2283  +
                                                .try_into()
        2284  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2285  +
                                        )
        2286  +
                    ,
        2287  +
                    range_byte_header: self.range_byte_header
        2288  +
                        .map(|v| match v {
        2289  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2290  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2651   2291   
                                        })
 2652         -
        }
 2653         -
    }
 2654         -
}
 2655         -
/// See [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
 2656         -
pub mod constrained_recursive_shapes_operation_input {
 2657         -
 2658         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2659         -
    /// Holds one variant for each of the ways the builder can fail.
 2660         -
    #[non_exhaustive]
 2661         -
    #[allow(clippy::enum_variant_names)]
 2662         -
    pub enum ConstraintViolation {
 2663         -
        /// Constraint violation occurred building member `nested` when building `ConstrainedRecursiveShapesOperationInput`.
 2664         -
        #[doc(hidden)]
 2665         -
        Nested(crate::model::recursive_shapes_input_output_nested1::ConstraintViolation),
 2666         -
        /// `recursive_list` was not provided but it is required when building `ConstrainedRecursiveShapesOperationInput`.
 2667         -
        MissingRecursiveList,
 2668         -
        /// Constraint violation occurred building member `recursive_list` when building `ConstrainedRecursiveShapesOperationInput`.
 2669         -
        #[doc(hidden)]
 2670         -
        RecursiveList(crate::model::recursive_list::ConstraintViolation),
 2671         -
    }
 2672         -
    impl ::std::fmt::Display for ConstraintViolation {
 2673         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2674         -
            match self {
 2675         -
                ConstraintViolation::Nested(_) => write!(f, "constraint violation occurred building member `nested` when building `ConstrainedRecursiveShapesOperationInput`"),
 2676         -
                ConstraintViolation::MissingRecursiveList => write!(f, "`recursive_list` was not provided but it is required when building `ConstrainedRecursiveShapesOperationInput`"),
 2677         -
                ConstraintViolation::RecursiveList(_) => write!(f, "constraint violation occurred building member `recursive_list` when building `ConstrainedRecursiveShapesOperationInput`"),
 2678         -
            }
 2679         -
        }
 2680         -
    }
 2681         -
    impl ::std::error::Error for ConstraintViolation {}
 2682         -
    impl ConstraintViolation {
 2683         -
        pub(crate) fn as_validation_exception_field(
 2684         -
            self,
 2685         -
            path: ::std::string::String,
 2686         -
        ) -> crate::model::ValidationExceptionField {
 2687         -
            match self {
 2688         -
            ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
 2689         -
            ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
 2690         -
                                                message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
 2691         -
                                                path: path + "/recursiveList",
 2692         -
                                            },
 2693         -
            ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
 2694         -
        }
 2695         -
        }
 2696         -
    }
 2697         -
    impl ::std::convert::From<ConstraintViolation>
 2698         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2699         -
    {
 2700         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2701         -
            let first_validation_exception_field =
 2702         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2703         -
            let validation_exception = crate::error::ValidationException {
 2704         -
                message: format!(
 2705         -
                    "1 validation error detected. {}",
 2706         -
                    &first_validation_exception_field.message
 2707         -
                ),
 2708         -
                field_list: Some(vec![first_validation_exception_field]),
 2709         -
            };
 2710         -
            Self::ConstraintViolation(
 2711         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2712         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2292  +
                        .map(|res|
        2293  +
                                        res.map_err(ConstraintViolation::RangeByteHeader)
 2713   2294   
                                    )
 2714         -
        }
 2715         -
    }
 2716         -
    impl ::std::convert::From<Builder>
 2717         -
        for crate::constrained::MaybeConstrained<
 2718         -
            crate::input::ConstrainedRecursiveShapesOperationInput,
 2719         -
        >
 2720         -
    {
 2721         -
        fn from(builder: Builder) -> Self {
 2722         -
            Self::Unconstrained(builder)
 2723         -
        }
 2724         -
    }
 2725         -
    impl ::std::convert::TryFrom<Builder> for crate::input::ConstrainedRecursiveShapesOperationInput {
 2726         -
        type Error = ConstraintViolation;
 2727         -
 2728         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2729         -
            builder.build()
 2730         -
        }
 2731         -
    }
 2732         -
    /// A builder for [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
 2733         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2734         -
    pub struct Builder {
 2735         -
        pub(crate) nested: ::std::option::Option<
 2736         -
            crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>,
 2737         -
        >,
 2738         -
        pub(crate) recursive_list: ::std::option::Option<
 2739         -
            crate::constrained::MaybeConstrained<
 2740         -
                crate::constrained::recursive_list_constrained::RecursiveListConstrained,
 2741         -
            >,
 2742         -
        >,
 2743         -
    }
 2744         -
    impl Builder {
 2745         -
        #[allow(missing_docs)] // documentation missing in model
 2746         -
        pub fn nested(
 2747         -
            mut self,
 2748         -
            input: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
 2749         -
        ) -> Self {
 2750         -
            self.nested = input.map(crate::constrained::MaybeConstrained::Constrained);
 2751         -
            self
 2752         -
        }
 2753         -
        #[allow(missing_docs)] // documentation missing in model
 2754         -
        pub(crate) fn set_nested(
 2755         -
            mut self,
 2756         -
            input: Option<
 2757         -
                impl ::std::convert::Into<
 2758         -
                    crate::constrained::MaybeConstrained<
 2759         -
                        crate::model::RecursiveShapesInputOutputNested1,
 2760         -
                    >,
 2761         -
                >,
 2762         -
            >,
 2763         -
        ) -> Self {
 2764         -
            self.nested = input.map(|v| v.into());
 2765         -
            self
 2766         -
        }
 2767         -
        #[allow(missing_docs)] // documentation missing in model
 2768         -
        pub fn recursive_list(
 2769         -
            mut self,
 2770         -
            input: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
 2771         -
        ) -> Self {
 2772         -
            self.recursive_list = Some(crate::constrained::MaybeConstrained::Constrained(
 2773         -
                (input).into(),
 2774         -
            ));
 2775         -
            self
 2776         -
        }
 2777         -
        #[allow(missing_docs)] // documentation missing in model
 2778         -
        pub(crate) fn set_recursive_list(
 2779         -
            mut self,
 2780         -
            input: impl ::std::convert::Into<
 2781         -
                crate::constrained::MaybeConstrained<
 2782         -
                    crate::constrained::recursive_list_constrained::RecursiveListConstrained,
 2783         -
                >,
 2784         -
            >,
 2785         -
        ) -> Self {
 2786         -
            self.recursive_list = Some(input.into());
 2787         -
            self
 2788         -
        }
 2789         -
        /// Consumes the builder and constructs a [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
 2790         -
        ///
 2791         -
        /// The builder fails to construct a [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput) if a [`ConstraintViolation`] occurs.
 2792         -
        ///
 2793         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
 2794         -
        pub fn build(
 2795         -
            self,
 2796         -
        ) -> Result<crate::input::ConstrainedRecursiveShapesOperationInput, ConstraintViolation>
 2797         -
        {
 2798         -
            self.build_enforcing_all_constraints()
 2799         -
        }
 2800         -
        fn build_enforcing_all_constraints(
 2801         -
            self,
 2802         -
        ) -> Result<crate::input::ConstrainedRecursiveShapesOperationInput, ConstraintViolation>
 2803         -
        {
 2804         -
            Ok(crate::input::ConstrainedRecursiveShapesOperationInput {
 2805         -
                nested: self
 2806         -
                    .nested
        2295  +
                                    .transpose()?
        2296  +
                        .unwrap_or_else(||
        2297  +
                                            0i8
        2298  +
                                                .try_into()
        2299  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2300  +
                                        )
        2301  +
                    ,
        2302  +
                    length_string_set_header: self.length_string_set_header
 2807   2303   
                        .map(|v| match v {
 2808   2304   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2809   2305   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2810   2306   
                                        })
 2811         -
                    .map(|res| res.map_err(ConstraintViolation::Nested))
 2812         -
                    .transpose()?,
 2813         -
                recursive_list: self
 2814         -
                    .recursive_list
        2307  +
                        .map(|res|
        2308  +
                                        res.map_err(ConstraintViolation::LengthStringSetHeader)
        2309  +
                                    )
        2310  +
                                    .transpose()?
        2311  +
                    ,
        2312  +
                    list_length_string_header: self.list_length_string_header
 2815   2313   
                        .map(|v| match v {
 2816   2314   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2817   2315   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2818   2316   
                                        })
 2819         -
                    .map(|res| {
 2820         -
                        res.map(|v| v.into())
 2821         -
                            .map_err(ConstraintViolation::RecursiveList)
        2317  +
                        .map(|res|
        2318  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListLengthStringHeader)
        2319  +
                                    )
        2320  +
                                    .transpose()?
        2321  +
                    ,
        2322  +
                    length_list_pattern_string_header: self.length_list_pattern_string_header
        2323  +
                        .map(|v| match v {
        2324  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2325  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2822   2326   
                                        })
        2327  +
                        .map(|res|
        2328  +
                                        res.map_err(ConstraintViolation::LengthListPatternStringHeader)
        2329  +
                                    )
 2823   2330   
                                    .transpose()?
 2824         -
                    .ok_or(ConstraintViolation::MissingRecursiveList)?,
        2331  +
                    ,
        2332  +
                    length_set_pattern_string_header: self.length_set_pattern_string_header
        2333  +
                        .map(|v| match v {
        2334  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2335  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2825   2336   
                                        })
 2826         -
        }
 2827         -
    }
 2828         -
}
 2829         -
/// See [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
 2830         -
pub mod constrained_http_payload_bound_shape_operation_input {
 2831         -
 2832         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2833         -
    /// Holds one variant for each of the ways the builder can fail.
 2834         -
    #[non_exhaustive]
 2835         -
    #[allow(clippy::enum_variant_names)]
 2836         -
    pub enum ConstraintViolation {
 2837         -
        /// `http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationInput`.
 2838         -
        MissingHttpPayloadBoundConstrainedShape,
 2839         -
        /// Constraint violation occurred building member `http_payload_bound_constrained_shape` when building `ConstrainedHttpPayloadBoundShapeOperationInput`.
 2840         -
        #[doc(hidden)]
 2841         -
        HttpPayloadBoundConstrainedShape(crate::model::con_a::ConstraintViolation),
 2842         -
    }
 2843         -
    impl ::std::fmt::Display for ConstraintViolation {
 2844         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2845         -
            match self {
 2846         -
                ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => write!(f, "`http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationInput`"),
 2847         -
                ConstraintViolation::HttpPayloadBoundConstrainedShape(_) => write!(f, "constraint violation occurred building member `http_payload_bound_constrained_shape` when building `ConstrainedHttpPayloadBoundShapeOperationInput`"),
 2848         -
            }
 2849         -
        }
 2850         -
    }
 2851         -
    impl ::std::error::Error for ConstraintViolation {}
 2852         -
    impl ConstraintViolation {
 2853         -
        pub(crate) fn as_validation_exception_field(
 2854         -
            self,
 2855         -
            path: ::std::string::String,
 2856         -
        ) -> crate::model::ValidationExceptionField {
 2857         -
            match self {
 2858         -
            ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
 2859         -
                                                message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
 2860         -
                                                path: path + "/httpPayloadBoundConstrainedShape",
 2861         -
                                            },
 2862         -
            ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
 2863         -
        }
 2864         -
        }
 2865         -
    }
 2866         -
    impl ::std::convert::From<ConstraintViolation>
 2867         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2868         -
    {
 2869         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2870         -
            let first_validation_exception_field =
 2871         -
                constraint_violation.as_validation_exception_field("".to_owned());
 2872         -
            let validation_exception = crate::error::ValidationException {
 2873         -
                message: format!(
 2874         -
                    "1 validation error detected. {}",
 2875         -
                    &first_validation_exception_field.message
 2876         -
                ),
 2877         -
                field_list: Some(vec![first_validation_exception_field]),
 2878         -
            };
 2879         -
            Self::ConstraintViolation(
 2880         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 2881         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2337  +
                        .map(|res|
        2338  +
                                        res.map_err(ConstraintViolation::LengthSetPatternStringHeader)
 2882   2339   
                                    )
 2883         -
        }
 2884         -
    }
 2885         -
    impl ::std::convert::From<Builder>
 2886         -
        for crate::constrained::MaybeConstrained<
 2887         -
            crate::input::ConstrainedHttpPayloadBoundShapeOperationInput,
 2888         -
        >
 2889         -
    {
 2890         -
        fn from(builder: Builder) -> Self {
 2891         -
            Self::Unconstrained(builder)
 2892         -
        }
 2893         -
    }
 2894         -
    impl ::std::convert::TryFrom<Builder>
 2895         -
        for crate::input::ConstrainedHttpPayloadBoundShapeOperationInput
 2896         -
    {
 2897         -
        type Error = ConstraintViolation;
 2898         -
 2899         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2900         -
            builder.build()
 2901         -
        }
 2902         -
    }
 2903         -
    /// A builder for [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
 2904         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 2905         -
    pub struct Builder {
 2906         -
        pub(crate) http_payload_bound_constrained_shape:
 2907         -
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConA>>,
 2908         -
    }
 2909         -
    impl Builder {
 2910         -
        #[allow(missing_docs)] // documentation missing in model
 2911         -
        pub fn http_payload_bound_constrained_shape(mut self, input: crate::model::ConA) -> Self {
 2912         -
            self.http_payload_bound_constrained_shape =
 2913         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 2914         -
            self
 2915         -
        }
 2916         -
        #[allow(missing_docs)] // documentation missing in model
 2917         -
        pub(crate) fn set_http_payload_bound_constrained_shape(
 2918         -
            mut self,
 2919         -
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConA>>,
 2920         -
        ) -> Self {
 2921         -
            self.http_payload_bound_constrained_shape = Some(input.into());
 2922         -
            self
 2923         -
        }
 2924         -
        /// Consumes the builder and constructs a [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
 2925         -
        ///
 2926         -
        /// The builder fails to construct a [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput) if a [`ConstraintViolation`] occurs.
 2927         -
        ///
 2928         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
 2929         -
        pub fn build(
 2930         -
            self,
 2931         -
        ) -> Result<crate::input::ConstrainedHttpPayloadBoundShapeOperationInput, ConstraintViolation>
 2932         -
        {
 2933         -
            self.build_enforcing_all_constraints()
 2934         -
        }
 2935         -
        fn build_enforcing_all_constraints(
 2936         -
            self,
 2937         -
        ) -> Result<crate::input::ConstrainedHttpPayloadBoundShapeOperationInput, ConstraintViolation>
 2938         -
        {
 2939         -
            Ok(
 2940         -
                crate::input::ConstrainedHttpPayloadBoundShapeOperationInput {
 2941         -
                    http_payload_bound_constrained_shape: self
 2942         -
                        .http_payload_bound_constrained_shape
        2340  +
                                    .transpose()?
        2341  +
                    ,
        2342  +
                    range_byte_set_header: self.range_byte_set_header
 2943   2343   
                        .map(|v| match v {
 2944   2344   
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2945   2345   
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2946   2346   
                                        })
 2947         -
                        .map(|res| {
 2948         -
                            res.map_err(ConstraintViolation::HttpPayloadBoundConstrainedShape)
        2347  +
                        .map(|res|
        2348  +
                                        res.map_err(ConstraintViolation::RangeByteSetHeader)
        2349  +
                                    )
        2350  +
                                    .transpose()?
        2351  +
                    ,
        2352  +
                    range_short_set_header: self.range_short_set_header
        2353  +
                        .map(|v| match v {
        2354  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2355  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2949   2356   
                                        })
        2357  +
                        .map(|res|
        2358  +
                                        res.map_err(ConstraintViolation::RangeShortSetHeader)
        2359  +
                                    )
 2950   2360   
                                    .transpose()?
 2951         -
                        .ok_or(ConstraintViolation::MissingHttpPayloadBoundConstrainedShape)?,
 2952         -
                },
        2361  +
                    ,
        2362  +
                    range_integer_set_header: self.range_integer_set_header
        2363  +
                        .map(|v| match v {
        2364  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2365  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2366  +
                                        })
        2367  +
                        .map(|res|
        2368  +
                                        res.map_err(ConstraintViolation::RangeIntegerSetHeader)
 2953   2369   
                                    )
        2370  +
                                    .transpose()?
        2371  +
                    ,
        2372  +
                    range_long_set_header: self.range_long_set_header
        2373  +
                        .map(|v| match v {
        2374  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2375  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2376  +
                                        })
        2377  +
                        .map(|res|
        2378  +
                                        res.map_err(ConstraintViolation::RangeLongSetHeader)
        2379  +
                                    )
        2380  +
                                    .transpose()?
        2381  +
                    ,
        2382  +
                    range_byte_list_header: self.range_byte_list_header
        2383  +
                        .map(|v| match v {
        2384  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2385  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2386  +
                                        })
        2387  +
                        .map(|res|
        2388  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeByteListHeader)
        2389  +
                                    )
        2390  +
                                    .transpose()?
        2391  +
                    ,
        2392  +
                    range_short_list_header: self.range_short_list_header
        2393  +
                        .map(|v| match v {
        2394  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2395  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2396  +
                                        })
        2397  +
                        .map(|res|
        2398  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeShortListHeader)
        2399  +
                                    )
        2400  +
                                    .transpose()?
        2401  +
                    ,
        2402  +
                    range_integer_list_header: self.range_integer_list_header
        2403  +
                        .map(|v| match v {
        2404  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2405  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2406  +
                                        })
        2407  +
                        .map(|res|
        2408  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeIntegerListHeader)
        2409  +
                                    )
        2410  +
                                    .transpose()?
        2411  +
                    ,
        2412  +
                    range_long_list_header: self.range_long_list_header
        2413  +
                        .map(|v| match v {
        2414  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2415  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2416  +
                                        })
        2417  +
                        .map(|res|
        2418  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeLongListHeader)
        2419  +
                                    )
        2420  +
                                    .transpose()?
        2421  +
                    ,
        2422  +
                    length_string_query: self.length_string_query
        2423  +
                        .map(|v| match v {
        2424  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2425  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2426  +
                                        })
        2427  +
                        .map(|res|
        2428  +
                                        res.map_err(ConstraintViolation::LengthStringQuery)
        2429  +
                                    )
        2430  +
                                    .transpose()?
        2431  +
                    ,
        2432  +
                    range_byte_query: self.range_byte_query
        2433  +
                        .map(|v| match v {
        2434  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2435  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2436  +
                                        })
        2437  +
                        .map(|res|
        2438  +
                                        res.map_err(ConstraintViolation::RangeByteQuery)
        2439  +
                                    )
        2440  +
                                    .transpose()?
        2441  +
                        .unwrap_or_else(||
        2442  +
                                            0i8
        2443  +
                                                .try_into()
        2444  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2445  +
                                        )
        2446  +
                    ,
        2447  +
                    range_short_query: self.range_short_query
        2448  +
                        .map(|v| match v {
        2449  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2450  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2451  +
                                        })
        2452  +
                        .map(|res|
        2453  +
                                        res.map_err(ConstraintViolation::RangeShortQuery)
        2454  +
                                    )
        2455  +
                                    .transpose()?
        2456  +
                        .unwrap_or_else(||
        2457  +
                                            0i16
        2458  +
                                                .try_into()
        2459  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2460  +
                                        )
        2461  +
                    ,
        2462  +
                    range_integer_query: self.range_integer_query
        2463  +
                        .map(|v| match v {
        2464  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2465  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2466  +
                                        })
        2467  +
                        .map(|res|
        2468  +
                                        res.map_err(ConstraintViolation::RangeIntegerQuery)
        2469  +
                                    )
        2470  +
                                    .transpose()?
        2471  +
                        .unwrap_or_else(||
        2472  +
                                            0i32
        2473  +
                                                .try_into()
        2474  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2475  +
                                        )
        2476  +
                    ,
        2477  +
                    range_long_query: self.range_long_query
        2478  +
                        .map(|v| match v {
        2479  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2480  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2481  +
                                        })
        2482  +
                        .map(|res|
        2483  +
                                        res.map_err(ConstraintViolation::RangeLongQuery)
        2484  +
                                    )
        2485  +
                                    .transpose()?
        2486  +
                        .unwrap_or_else(||
        2487  +
                                            0i64
        2488  +
                                                .try_into()
        2489  +
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2490  +
                                        )
        2491  +
                    ,
        2492  +
                    enum_string_query: self.enum_string_query
        2493  +
                        .map(|v| match v {
        2494  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2495  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2496  +
                                        })
        2497  +
                        .map(|res|
        2498  +
                                        res.map_err(ConstraintViolation::EnumStringQuery)
        2499  +
                                    )
        2500  +
                                    .transpose()?
        2501  +
                    ,
        2502  +
                    length_string_list_query: self.length_string_list_query
        2503  +
                        .map(|v| match v {
        2504  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2505  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2506  +
                                        })
        2507  +
                        .map(|res|
        2508  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::LengthStringListQuery)
        2509  +
                                    )
        2510  +
                                    .transpose()?
        2511  +
                    ,
        2512  +
                    length_list_pattern_string_query: self.length_list_pattern_string_query
        2513  +
                        .map(|v| match v {
        2514  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2515  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2516  +
                                        })
        2517  +
                        .map(|res|
        2518  +
                                        res.map_err(ConstraintViolation::LengthListPatternStringQuery)
        2519  +
                                    )
        2520  +
                                    .transpose()?
        2521  +
                    ,
        2522  +
                    length_string_set_query: self.length_string_set_query
        2523  +
                        .map(|v| match v {
        2524  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2525  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2526  +
                                        })
        2527  +
                        .map(|res|
        2528  +
                                        res.map_err(ConstraintViolation::LengthStringSetQuery)
        2529  +
                                    )
        2530  +
                                    .transpose()?
        2531  +
                    ,
        2532  +
                    range_byte_list_query: self.range_byte_list_query
        2533  +
                        .map(|v| match v {
        2534  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2535  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2536  +
                                        })
        2537  +
                        .map(|res|
        2538  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeByteListQuery)
        2539  +
                                    )
        2540  +
                                    .transpose()?
        2541  +
                    ,
        2542  +
                    range_short_list_query: self.range_short_list_query
        2543  +
                        .map(|v| match v {
        2544  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2545  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2546  +
                                        })
        2547  +
                        .map(|res|
        2548  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeShortListQuery)
        2549  +
                                    )
        2550  +
                                    .transpose()?
        2551  +
                    ,
        2552  +
                    range_integer_list_query: self.range_integer_list_query
        2553  +
                        .map(|v| match v {
        2554  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2555  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2556  +
                                        })
        2557  +
                        .map(|res|
        2558  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeIntegerListQuery)
        2559  +
                                    )
        2560  +
                                    .transpose()?
        2561  +
                    ,
        2562  +
                    range_long_list_query: self.range_long_list_query
        2563  +
                        .map(|v| match v {
        2564  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2565  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2566  +
                                        })
        2567  +
                        .map(|res|
        2568  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeLongListQuery)
        2569  +
                                    )
        2570  +
                                    .transpose()?
        2571  +
                    ,
        2572  +
                    range_byte_set_query: self.range_byte_set_query
        2573  +
                        .map(|v| match v {
        2574  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2575  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2576  +
                                        })
        2577  +
                        .map(|res|
        2578  +
                                        res.map_err(ConstraintViolation::RangeByteSetQuery)
        2579  +
                                    )
        2580  +
                                    .transpose()?
        2581  +
                    ,
        2582  +
                    range_short_set_query: self.range_short_set_query
        2583  +
                        .map(|v| match v {
        2584  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2585  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2586  +
                                        })
        2587  +
                        .map(|res|
        2588  +
                                        res.map_err(ConstraintViolation::RangeShortSetQuery)
        2589  +
                                    )
        2590  +
                                    .transpose()?
        2591  +
                    ,
        2592  +
                    range_integer_set_query: self.range_integer_set_query
        2593  +
                        .map(|v| match v {
        2594  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2595  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2596  +
                                        })
        2597  +
                        .map(|res|
        2598  +
                                        res.map_err(ConstraintViolation::RangeIntegerSetQuery)
        2599  +
                                    )
        2600  +
                                    .transpose()?
        2601  +
                    ,
        2602  +
                    range_long_set_query: self.range_long_set_query
        2603  +
                        .map(|v| match v {
        2604  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2605  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2606  +
                                        })
        2607  +
                        .map(|res|
        2608  +
                                        res.map_err(ConstraintViolation::RangeLongSetQuery)
        2609  +
                                    )
        2610  +
                                    .transpose()?
        2611  +
                    ,
        2612  +
                    enum_string_list_query: self.enum_string_list_query
        2613  +
                        .map(|v| match v {
        2614  +
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2615  +
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2616  +
                                        })
        2617  +
                        .map(|res|
        2618  +
                                        res.map(|v| v.into()).map_err(ConstraintViolation::EnumStringListQuery)
        2619  +
                                    )
        2620  +
                                    .transpose()?
        2621  +
                    ,
 2954   2622   
                }
        2623  +
            )
 2955   2624   
        }
 2956         -
}
 2957         -
/// See [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
 2958         -
pub mod constrained_http_bound_shapes_operation_input {
 2959         -
 2960         -
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2961         -
    /// Holds one variant for each of the ways the builder can fail.
 2962         -
    #[non_exhaustive]
 2963         -
    #[allow(clippy::enum_variant_names)]
 2964         -
    pub enum ConstraintViolation {
 2965         -
        /// `length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`.
 2966         -
        MissingLengthStringLabel,
 2967         -
        /// Constraint violation occurred building member `length_string_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 2968         -
        #[doc(hidden)]
 2969         -
        LengthStringLabel(crate::model::length_string::ConstraintViolation),
 2970         -
        /// Constraint violation occurred building member `range_integer_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 2971         -
        #[doc(hidden)]
 2972         -
        RangeIntegerLabel(crate::model::range_integer::ConstraintViolation),
 2973         -
        /// Constraint violation occurred building member `range_short_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 2974         -
        #[doc(hidden)]
 2975         -
        RangeShortLabel(crate::model::range_short::ConstraintViolation),
 2976         -
        /// Constraint violation occurred building member `range_long_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 2977         -
        #[doc(hidden)]
 2978         -
        RangeLongLabel(crate::model::range_long::ConstraintViolation),
 2979         -
        /// Constraint violation occurred building member `range_byte_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 2980         -
        #[doc(hidden)]
 2981         -
        RangeByteLabel(crate::model::range_byte::ConstraintViolation),
 2982         -
        /// `enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`.
 2983         -
        MissingEnumStringLabel,
 2984         -
        /// Constraint violation occurred building member `enum_string_label` when building `ConstrainedHttpBoundShapesOperationInput`.
 2985         -
        #[doc(hidden)]
 2986         -
        EnumStringLabel(crate::model::enum_string::ConstraintViolation),
 2987         -
        /// `length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`.
 2988         -
        MissingLengthStringHeaderMap,
 2989         -
        /// Constraint violation occurred building member `length_string_header_map` when building `ConstrainedHttpBoundShapesOperationInput`.
 2990         -
        #[doc(hidden)]
 2991         -
        LengthStringHeaderMap(crate::model::map_of_length_string::ConstraintViolation),
 2992         -
        /// Constraint violation occurred building member `length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 2993         -
        #[doc(hidden)]
 2994         -
        LengthStringHeader(crate::model::length_string::ConstraintViolation),
 2995         -
        /// Constraint violation occurred building member `range_integer_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 2996         -
        #[doc(hidden)]
 2997         -
        RangeIntegerHeader(crate::model::range_integer::ConstraintViolation),
 2998         -
        /// Constraint violation occurred building member `range_short_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 2999         -
        #[doc(hidden)]
 3000         -
        RangeShortHeader(crate::model::range_short::ConstraintViolation),
 3001         -
        /// Constraint violation occurred building member `range_long_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3002         -
        #[doc(hidden)]
 3003         -
        RangeLongHeader(crate::model::range_long::ConstraintViolation),
 3004         -
        /// Constraint violation occurred building member `range_byte_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3005         -
        #[doc(hidden)]
 3006         -
        RangeByteHeader(crate::model::range_byte::ConstraintViolation),
 3007         -
        /// Constraint violation occurred building member `length_string_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3008         -
        #[doc(hidden)]
 3009         -
        LengthStringSetHeader(crate::model::set_of_length_string::ConstraintViolation),
 3010         -
        /// Constraint violation occurred building member `list_length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3011         -
        #[doc(hidden)]
 3012         -
        ListLengthStringHeader(crate::model::list_of_length_string::ConstraintViolation),
 3013         -
        /// Constraint violation occurred building member `length_list_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3014         -
        #[doc(hidden)]
 3015         -
        LengthListPatternStringHeader(
 3016         -
            crate::model::length_list_of_pattern_string::ConstraintViolation,
 3017         -
        ),
 3018         -
        /// Constraint violation occurred building member `length_set_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3019         -
        #[doc(hidden)]
 3020         -
        LengthSetPatternStringHeader(
 3021         -
            crate::model::length_set_of_pattern_string::ConstraintViolation,
 3022         -
        ),
 3023         -
        /// Constraint violation occurred building member `range_byte_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3024         -
        #[doc(hidden)]
 3025         -
        RangeByteSetHeader(crate::model::set_of_range_byte::ConstraintViolation),
 3026         -
        /// Constraint violation occurred building member `range_short_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3027         -
        #[doc(hidden)]
 3028         -
        RangeShortSetHeader(crate::model::set_of_range_short::ConstraintViolation),
 3029         -
        /// Constraint violation occurred building member `range_integer_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3030         -
        #[doc(hidden)]
 3031         -
        RangeIntegerSetHeader(crate::model::set_of_range_integer::ConstraintViolation),
 3032         -
        /// Constraint violation occurred building member `range_long_set_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3033         -
        #[doc(hidden)]
 3034         -
        RangeLongSetHeader(crate::model::set_of_range_long::ConstraintViolation),
 3035         -
        /// Constraint violation occurred building member `range_byte_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3036         -
        #[doc(hidden)]
 3037         -
        RangeByteListHeader(crate::model::list_of_range_byte::ConstraintViolation),
 3038         -
        /// Constraint violation occurred building member `range_short_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3039         -
        #[doc(hidden)]
 3040         -
        RangeShortListHeader(crate::model::list_of_range_short::ConstraintViolation),
 3041         -
        /// Constraint violation occurred building member `range_integer_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3042         -
        #[doc(hidden)]
 3043         -
        RangeIntegerListHeader(crate::model::list_of_range_integer::ConstraintViolation),
 3044         -
        /// Constraint violation occurred building member `range_long_list_header` when building `ConstrainedHttpBoundShapesOperationInput`.
 3045         -
        #[doc(hidden)]
 3046         -
        RangeLongListHeader(crate::model::list_of_range_long::ConstraintViolation),
 3047         -
        /// Constraint violation occurred building member `length_string_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3048         -
        #[doc(hidden)]
 3049         -
        LengthStringQuery(crate::model::length_string::ConstraintViolation),
 3050         -
        /// Constraint violation occurred building member `range_byte_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3051         -
        #[doc(hidden)]
 3052         -
        RangeByteQuery(crate::model::range_byte::ConstraintViolation),
 3053         -
        /// Constraint violation occurred building member `range_short_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3054         -
        #[doc(hidden)]
 3055         -
        RangeShortQuery(crate::model::range_short::ConstraintViolation),
 3056         -
        /// Constraint violation occurred building member `range_integer_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3057         -
        #[doc(hidden)]
 3058         -
        RangeIntegerQuery(crate::model::range_integer::ConstraintViolation),
 3059         -
        /// Constraint violation occurred building member `range_long_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3060         -
        #[doc(hidden)]
 3061         -
        RangeLongQuery(crate::model::range_long::ConstraintViolation),
 3062         -
        /// Constraint violation occurred building member `enum_string_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3063         -
        #[doc(hidden)]
 3064         -
        EnumStringQuery(crate::model::enum_string::ConstraintViolation),
 3065         -
        /// Constraint violation occurred building member `length_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3066         -
        #[doc(hidden)]
 3067         -
        LengthStringListQuery(crate::model::list_of_length_string::ConstraintViolation),
 3068         -
        /// Constraint violation occurred building member `length_list_pattern_string_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3069         -
        #[doc(hidden)]
 3070         -
        LengthListPatternStringQuery(
 3071         -
            crate::model::length_list_of_pattern_string::ConstraintViolation,
 3072         -
        ),
 3073         -
        /// Constraint violation occurred building member `length_string_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3074         -
        #[doc(hidden)]
 3075         -
        LengthStringSetQuery(crate::model::set_of_length_string::ConstraintViolation),
 3076         -
        /// Constraint violation occurred building member `range_byte_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3077         -
        #[doc(hidden)]
 3078         -
        RangeByteListQuery(crate::model::list_of_range_byte::ConstraintViolation),
 3079         -
        /// Constraint violation occurred building member `range_short_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3080         -
        #[doc(hidden)]
 3081         -
        RangeShortListQuery(crate::model::list_of_range_short::ConstraintViolation),
 3082         -
        /// Constraint violation occurred building member `range_integer_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3083         -
        #[doc(hidden)]
 3084         -
        RangeIntegerListQuery(crate::model::list_of_range_integer::ConstraintViolation),
 3085         -
        /// Constraint violation occurred building member `range_long_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3086         -
        #[doc(hidden)]
 3087         -
        RangeLongListQuery(crate::model::list_of_range_long::ConstraintViolation),
 3088         -
        /// Constraint violation occurred building member `range_byte_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3089         -
        #[doc(hidden)]
 3090         -
        RangeByteSetQuery(crate::model::set_of_range_byte::ConstraintViolation),
 3091         -
        /// Constraint violation occurred building member `range_short_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3092         -
        #[doc(hidden)]
 3093         -
        RangeShortSetQuery(crate::model::set_of_range_short::ConstraintViolation),
 3094         -
        /// Constraint violation occurred building member `range_integer_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3095         -
        #[doc(hidden)]
 3096         -
        RangeIntegerSetQuery(crate::model::set_of_range_integer::ConstraintViolation),
 3097         -
        /// Constraint violation occurred building member `range_long_set_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3098         -
        #[doc(hidden)]
 3099         -
        RangeLongSetQuery(crate::model::set_of_range_long::ConstraintViolation),
 3100         -
        /// Constraint violation occurred building member `enum_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`.
 3101         -
        #[doc(hidden)]
 3102         -
        EnumStringListQuery(crate::model::list_of_enum_string::ConstraintViolation),
 3103         -
    }
 3104         -
    impl ::std::fmt::Display for ConstraintViolation {
 3105         -
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3106         -
            match self {
 3107         -
                ConstraintViolation::MissingLengthStringLabel => write!(f, "`length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`"),
 3108         -
                ConstraintViolation::LengthStringLabel(_) => write!(f, "constraint violation occurred building member `length_string_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3109         -
                ConstraintViolation::RangeIntegerLabel(_) => write!(f, "constraint violation occurred building member `range_integer_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3110         -
                ConstraintViolation::RangeShortLabel(_) => write!(f, "constraint violation occurred building member `range_short_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3111         -
                ConstraintViolation::RangeLongLabel(_) => write!(f, "constraint violation occurred building member `range_long_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3112         -
                ConstraintViolation::RangeByteLabel(_) => write!(f, "constraint violation occurred building member `range_byte_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3113         -
                ConstraintViolation::MissingEnumStringLabel => write!(f, "`enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`"),
 3114         -
                ConstraintViolation::EnumStringLabel(_) => write!(f, "constraint violation occurred building member `enum_string_label` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3115         -
                ConstraintViolation::MissingLengthStringHeaderMap => write!(f, "`length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationInput`"),
 3116         -
                ConstraintViolation::LengthStringHeaderMap(_) => write!(f, "constraint violation occurred building member `length_string_header_map` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3117         -
                ConstraintViolation::LengthStringHeader(_) => write!(f, "constraint violation occurred building member `length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3118         -
                ConstraintViolation::RangeIntegerHeader(_) => write!(f, "constraint violation occurred building member `range_integer_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3119         -
                ConstraintViolation::RangeShortHeader(_) => write!(f, "constraint violation occurred building member `range_short_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3120         -
                ConstraintViolation::RangeLongHeader(_) => write!(f, "constraint violation occurred building member `range_long_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3121         -
                ConstraintViolation::RangeByteHeader(_) => write!(f, "constraint violation occurred building member `range_byte_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3122         -
                ConstraintViolation::LengthStringSetHeader(_) => write!(f, "constraint violation occurred building member `length_string_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3123         -
                ConstraintViolation::ListLengthStringHeader(_) => write!(f, "constraint violation occurred building member `list_length_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3124         -
                ConstraintViolation::LengthListPatternStringHeader(_) => write!(f, "constraint violation occurred building member `length_list_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3125         -
                ConstraintViolation::LengthSetPatternStringHeader(_) => write!(f, "constraint violation occurred building member `length_set_pattern_string_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3126         -
                ConstraintViolation::RangeByteSetHeader(_) => write!(f, "constraint violation occurred building member `range_byte_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3127         -
                ConstraintViolation::RangeShortSetHeader(_) => write!(f, "constraint violation occurred building member `range_short_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3128         -
                ConstraintViolation::RangeIntegerSetHeader(_) => write!(f, "constraint violation occurred building member `range_integer_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3129         -
                ConstraintViolation::RangeLongSetHeader(_) => write!(f, "constraint violation occurred building member `range_long_set_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3130         -
                ConstraintViolation::RangeByteListHeader(_) => write!(f, "constraint violation occurred building member `range_byte_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3131         -
                ConstraintViolation::RangeShortListHeader(_) => write!(f, "constraint violation occurred building member `range_short_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3132         -
                ConstraintViolation::RangeIntegerListHeader(_) => write!(f, "constraint violation occurred building member `range_integer_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3133         -
                ConstraintViolation::RangeLongListHeader(_) => write!(f, "constraint violation occurred building member `range_long_list_header` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3134         -
                ConstraintViolation::LengthStringQuery(_) => write!(f, "constraint violation occurred building member `length_string_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3135         -
                ConstraintViolation::RangeByteQuery(_) => write!(f, "constraint violation occurred building member `range_byte_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3136         -
                ConstraintViolation::RangeShortQuery(_) => write!(f, "constraint violation occurred building member `range_short_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3137         -
                ConstraintViolation::RangeIntegerQuery(_) => write!(f, "constraint violation occurred building member `range_integer_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3138         -
                ConstraintViolation::RangeLongQuery(_) => write!(f, "constraint violation occurred building member `range_long_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3139         -
                ConstraintViolation::EnumStringQuery(_) => write!(f, "constraint violation occurred building member `enum_string_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3140         -
                ConstraintViolation::LengthStringListQuery(_) => write!(f, "constraint violation occurred building member `length_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3141         -
                ConstraintViolation::LengthListPatternStringQuery(_) => write!(f, "constraint violation occurred building member `length_list_pattern_string_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3142         -
                ConstraintViolation::LengthStringSetQuery(_) => write!(f, "constraint violation occurred building member `length_string_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3143         -
                ConstraintViolation::RangeByteListQuery(_) => write!(f, "constraint violation occurred building member `range_byte_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3144         -
                ConstraintViolation::RangeShortListQuery(_) => write!(f, "constraint violation occurred building member `range_short_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3145         -
                ConstraintViolation::RangeIntegerListQuery(_) => write!(f, "constraint violation occurred building member `range_integer_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3146         -
                ConstraintViolation::RangeLongListQuery(_) => write!(f, "constraint violation occurred building member `range_long_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3147         -
                ConstraintViolation::RangeByteSetQuery(_) => write!(f, "constraint violation occurred building member `range_byte_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3148         -
                ConstraintViolation::RangeShortSetQuery(_) => write!(f, "constraint violation occurred building member `range_short_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3149         -
                ConstraintViolation::RangeIntegerSetQuery(_) => write!(f, "constraint violation occurred building member `range_integer_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3150         -
                ConstraintViolation::RangeLongSetQuery(_) => write!(f, "constraint violation occurred building member `range_long_set_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3151         -
                ConstraintViolation::EnumStringListQuery(_) => write!(f, "constraint violation occurred building member `enum_string_list_query` when building `ConstrainedHttpBoundShapesOperationInput`"),
 3152         -
            }
 3153         -
        }
 3154         -
    }
 3155         -
    impl ::std::error::Error for ConstraintViolation {}
 3156         -
    impl ConstraintViolation {
 3157         -
        pub(crate) fn as_validation_exception_field(
 3158         -
            self,
 3159         -
            path: ::std::string::String,
 3160         -
        ) -> crate::model::ValidationExceptionField {
 3161         -
            match self {
 3162         -
            ConstraintViolation::MissingLengthStringLabel => crate::model::ValidationExceptionField {
 3163         -
                                                message: format!("Value at '{}/lengthStringLabel' failed to satisfy constraint: Member must not be null", path),
 3164         -
                                                path: path + "/lengthStringLabel",
 3165         -
                                            },
 3166         -
            ConstraintViolation::LengthStringLabel(inner) => inner.as_validation_exception_field(path + "/lengthStringLabel"),
 3167         -
            ConstraintViolation::RangeIntegerLabel(inner) => inner.as_validation_exception_field(path + "/rangeIntegerLabel"),
 3168         -
            ConstraintViolation::RangeShortLabel(inner) => inner.as_validation_exception_field(path + "/rangeShortLabel"),
 3169         -
            ConstraintViolation::RangeLongLabel(inner) => inner.as_validation_exception_field(path + "/rangeLongLabel"),
 3170         -
            ConstraintViolation::RangeByteLabel(inner) => inner.as_validation_exception_field(path + "/rangeByteLabel"),
 3171         -
            ConstraintViolation::MissingEnumStringLabel => crate::model::ValidationExceptionField {
 3172         -
                                                message: format!("Value at '{}/enumStringLabel' failed to satisfy constraint: Member must not be null", path),
 3173         -
                                                path: path + "/enumStringLabel",
 3174         -
                                            },
 3175         -
            ConstraintViolation::EnumStringLabel(inner) => inner.as_validation_exception_field(path + "/enumStringLabel"),
 3176         -
            ConstraintViolation::MissingLengthStringHeaderMap => crate::model::ValidationExceptionField {
 3177         -
                                                message: format!("Value at '{}/lengthStringHeaderMap' failed to satisfy constraint: Member must not be null", path),
 3178         -
                                                path: path + "/lengthStringHeaderMap",
 3179         -
                                            },
 3180         -
            ConstraintViolation::LengthStringHeaderMap(inner) => inner.as_validation_exception_field(path + "/lengthStringHeaderMap"),
 3181         -
            ConstraintViolation::LengthStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringHeader"),
 3182         -
            ConstraintViolation::RangeIntegerHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerHeader"),
 3183         -
            ConstraintViolation::RangeShortHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortHeader"),
 3184         -
            ConstraintViolation::RangeLongHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongHeader"),
 3185         -
            ConstraintViolation::RangeByteHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteHeader"),
 3186         -
            ConstraintViolation::LengthStringSetHeader(inner) => inner.as_validation_exception_field(path + "/lengthStringSetHeader"),
 3187         -
            ConstraintViolation::ListLengthStringHeader(inner) => inner.as_validation_exception_field(path + "/listLengthStringHeader"),
 3188         -
            ConstraintViolation::LengthListPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringHeader"),
 3189         -
            ConstraintViolation::LengthSetPatternStringHeader(inner) => inner.as_validation_exception_field(path + "/lengthSetPatternStringHeader"),
 3190         -
            ConstraintViolation::RangeByteSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteSetHeader"),
 3191         -
            ConstraintViolation::RangeShortSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortSetHeader"),
 3192         -
            ConstraintViolation::RangeIntegerSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetHeader"),
 3193         -
            ConstraintViolation::RangeLongSetHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongSetHeader"),
 3194         -
            ConstraintViolation::RangeByteListHeader(inner) => inner.as_validation_exception_field(path + "/rangeByteListHeader"),
 3195         -
            ConstraintViolation::RangeShortListHeader(inner) => inner.as_validation_exception_field(path + "/rangeShortListHeader"),
 3196         -
            ConstraintViolation::RangeIntegerListHeader(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListHeader"),
 3197         -
            ConstraintViolation::RangeLongListHeader(inner) => inner.as_validation_exception_field(path + "/rangeLongListHeader"),
 3198         -
            ConstraintViolation::LengthStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringQuery"),
 3199         -
            ConstraintViolation::RangeByteQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteQuery"),
 3200         -
            ConstraintViolation::RangeShortQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortQuery"),
 3201         -
            ConstraintViolation::RangeIntegerQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerQuery"),
 3202         -
            ConstraintViolation::RangeLongQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongQuery"),
 3203         -
            ConstraintViolation::EnumStringQuery(inner) => inner.as_validation_exception_field(path + "/enumStringQuery"),
 3204         -
            ConstraintViolation::LengthStringListQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringListQuery"),
 3205         -
            ConstraintViolation::LengthListPatternStringQuery(inner) => inner.as_validation_exception_field(path + "/lengthListPatternStringQuery"),
 3206         -
            ConstraintViolation::LengthStringSetQuery(inner) => inner.as_validation_exception_field(path + "/lengthStringSetQuery"),
 3207         -
            ConstraintViolation::RangeByteListQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteListQuery"),
 3208         -
            ConstraintViolation::RangeShortListQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortListQuery"),
 3209         -
            ConstraintViolation::RangeIntegerListQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerListQuery"),
 3210         -
            ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
 3211         -
            ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
 3212         -
            ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
 3213         -
            ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
 3214         -
            ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
 3215         -
            ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
 3216         -
        }
 3217         -
        }
 3218         -
    }
 3219         -
    impl ::std::convert::From<ConstraintViolation>
 3220         -
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3221         -
    {
 3222         -
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3223         -
            let first_validation_exception_field =
 3224         -
                constraint_violation.as_validation_exception_field("".to_owned());
 3225         -
            let validation_exception = crate::error::ValidationException {
 3226         -
                message: format!(
 3227         -
                    "1 validation error detected. {}",
 3228         -
                    &first_validation_exception_field.message
 3229         -
                ),
 3230         -
                field_list: Some(vec![first_validation_exception_field]),
 3231         -
            };
 3232         -
            Self::ConstraintViolation(
 3233         -
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 3234         -
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 3235         -
                            )
 3236         -
        }
 3237         -
    }
 3238         -
    impl ::std::convert::From<Builder>
 3239         -
        for crate::constrained::MaybeConstrained<
 3240         -
            crate::input::ConstrainedHttpBoundShapesOperationInput,
 3241         -
        >
 3242         -
    {
 3243         -
        fn from(builder: Builder) -> Self {
 3244         -
            Self::Unconstrained(builder)
 3245         -
        }
 3246         -
    }
 3247         -
    impl ::std::convert::TryFrom<Builder> for crate::input::ConstrainedHttpBoundShapesOperationInput {
 3248         -
        type Error = ConstraintViolation;
 3249         -
 3250         -
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 3251         -
            builder.build()
 3252         -
        }
 3253         -
    }
 3254         -
    /// A builder for [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
 3255         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 3256         -
    pub struct Builder {
 3257         -
        pub(crate) length_string_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
 3258         -
        pub(crate) range_integer_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
 3259         -
        pub(crate) range_short_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
 3260         -
        pub(crate) range_long_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 3261         -
        pub(crate) range_byte_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 3262         -
        pub(crate) enum_string_label: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
 3263         -
        pub(crate) length_string_header_map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
 3264         -
        pub(crate) length_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
 3265         -
        pub(crate) range_integer_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
 3266         -
        pub(crate) range_short_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
 3267         -
        pub(crate) range_long_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 3268         -
        pub(crate) range_byte_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 3269         -
        pub(crate) length_string_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
 3270         -
        pub(crate) list_length_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
 3271         -
        pub(crate) length_list_pattern_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
 3272         -
        pub(crate) length_set_pattern_string_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>>,
 3273         -
        pub(crate) range_byte_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
 3274         -
        pub(crate) range_short_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
 3275         -
        pub(crate) range_integer_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
 3276         -
        pub(crate) range_long_set_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
 3277         -
        pub(crate) range_byte_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
 3278         -
        pub(crate) range_short_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
 3279         -
        pub(crate) range_integer_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
 3280         -
        pub(crate) range_long_list_header: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
 3281         -
        pub(crate) length_string_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
 3282         -
        pub(crate) range_byte_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 3283         -
        pub(crate) range_short_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
 3284         -
        pub(crate) range_integer_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
 3285         -
        pub(crate) range_long_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 3286         -
        pub(crate) enum_string_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
 3287         -
        pub(crate) length_string_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>,
 3288         -
        pub(crate) length_list_pattern_string_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>>,
 3289         -
        pub(crate) length_string_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>>,
 3290         -
        pub(crate) range_byte_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>,
 3291         -
        pub(crate) range_short_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>,
 3292         -
        pub(crate) range_integer_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>,
 3293         -
        pub(crate) range_long_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>,
 3294         -
        pub(crate) range_byte_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>>,
 3295         -
        pub(crate) range_short_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>>,
 3296         -
        pub(crate) range_integer_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>>,
 3297         -
        pub(crate) range_long_set_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>>,
 3298         -
        pub(crate) enum_string_list_query: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained>>,
 3299         -
    }
 3300         -
    impl Builder {
 3301         -
        #[allow(missing_docs)] // documentation missing in model
 3302         -
        pub fn length_string_label(mut self, input: crate::model::LengthString) -> Self {
 3303         -
            self.length_string_label =
 3304         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 3305         -
            self
 3306         -
        }
 3307         -
        #[allow(missing_docs)] // documentation missing in model
 3308         -
        pub(crate) fn set_length_string_label(
 3309         -
            mut self,
 3310         -
            input: impl ::std::convert::Into<
 3311         -
                crate::constrained::MaybeConstrained<crate::model::LengthString>,
 3312         -
            >,
 3313         -
        ) -> Self {
 3314         -
            self.length_string_label = Some(input.into());
 3315         -
            self
 3316         -
        }
 3317         -
        #[allow(missing_docs)] // documentation missing in model
 3318         -
        pub fn range_integer_label(mut self, input: crate::model::RangeInteger) -> Self {
 3319         -
            self.range_integer_label =
 3320         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 3321         -
            self
 3322         -
        }
 3323         -
        #[allow(missing_docs)] // documentation missing in model
 3324         -
        pub(crate) fn set_range_integer_label(
 3325         -
            mut self,
 3326         -
            input: impl ::std::convert::Into<
 3327         -
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 3328         -
            >,
 3329         -
        ) -> Self {
 3330         -
            self.range_integer_label = Some(input.into());
 3331         -
            self
 3332         -
        }
 3333         -
        #[allow(missing_docs)] // documentation missing in model
 3334         -
        pub fn range_short_label(mut self, input: crate::model::RangeShort) -> Self {
 3335         -
            self.range_short_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3336         -
            self
 3337         -
        }
 3338         -
        #[allow(missing_docs)] // documentation missing in model
 3339         -
        pub(crate) fn set_range_short_label(
 3340         -
            mut self,
 3341         -
            input: impl ::std::convert::Into<
 3342         -
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 3343         -
            >,
 3344         -
        ) -> Self {
 3345         -
            self.range_short_label = Some(input.into());
 3346         -
            self
 3347         -
        }
 3348         -
        #[allow(missing_docs)] // documentation missing in model
 3349         -
        pub fn range_long_label(mut self, input: crate::model::RangeLong) -> Self {
 3350         -
            self.range_long_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3351         -
            self
 3352         -
        }
 3353         -
        #[allow(missing_docs)] // documentation missing in model
 3354         -
        pub(crate) fn set_range_long_label(
 3355         -
            mut self,
 3356         -
            input: impl ::std::convert::Into<
 3357         -
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
 3358         -
            >,
 3359         -
        ) -> Self {
 3360         -
            self.range_long_label = Some(input.into());
 3361         -
            self
 3362         -
        }
 3363         -
        #[allow(missing_docs)] // documentation missing in model
 3364         -
        pub fn range_byte_label(mut self, input: crate::model::RangeByte) -> Self {
 3365         -
            self.range_byte_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3366         -
            self
 3367         -
        }
 3368         -
        #[allow(missing_docs)] // documentation missing in model
 3369         -
        pub(crate) fn set_range_byte_label(
 3370         -
            mut self,
 3371         -
            input: impl ::std::convert::Into<
 3372         -
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
 3373         -
            >,
 3374         -
        ) -> Self {
 3375         -
            self.range_byte_label = Some(input.into());
 3376         -
            self
 3377         -
        }
 3378         -
        #[allow(missing_docs)] // documentation missing in model
 3379         -
        pub fn enum_string_label(mut self, input: crate::model::EnumString) -> Self {
 3380         -
            self.enum_string_label = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3381         -
            self
 3382         -
        }
 3383         -
        #[allow(missing_docs)] // documentation missing in model
 3384         -
        pub(crate) fn set_enum_string_label(
 3385         -
            mut self,
 3386         -
            input: impl ::std::convert::Into<
 3387         -
                crate::constrained::MaybeConstrained<crate::model::EnumString>,
 3388         -
            >,
 3389         -
        ) -> Self {
 3390         -
            self.enum_string_label = Some(input.into());
 3391         -
            self
 3392         -
        }
 3393         -
        #[allow(missing_docs)] // documentation missing in model
 3394         -
        pub fn length_string_header_map(
 3395         -
            mut self,
 3396         -
            input: ::std::collections::HashMap<
 3397         -
                crate::model::LengthString,
 3398         -
                crate::model::LengthString,
 3399         -
            >,
 3400         -
        ) -> Self {
 3401         -
            self.length_string_header_map = Some(
 3402         -
                crate::constrained::MaybeConstrained::Constrained((input).into()),
 3403         -
            );
 3404         -
            self
 3405         -
        }
 3406         -
        #[allow(missing_docs)] // documentation missing in model
 3407         -
        pub(crate) fn set_length_string_header_map(
 3408         -
            mut self,
 3409         -
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>,
 3410         -
        ) -> Self {
 3411         -
            self.length_string_header_map = Some(input.into());
 3412         -
            self
 3413         -
        }
 3414         -
        #[allow(missing_docs)] // documentation missing in model
 3415         -
        pub fn length_string_header(
 3416         -
            mut self,
 3417         -
            input: ::std::option::Option<crate::model::LengthString>,
 3418         -
        ) -> Self {
 3419         -
            self.length_string_header =
 3420         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3421         -
            self
 3422         -
        }
 3423         -
        #[allow(missing_docs)] // documentation missing in model
 3424         -
        pub(crate) fn set_length_string_header(
 3425         -
            mut self,
 3426         -
            input: Option<
 3427         -
                impl ::std::convert::Into<
 3428         -
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 3429         -
                >,
 3430         -
            >,
 3431         -
        ) -> Self {
 3432         -
            self.length_string_header = input.map(|v| v.into());
 3433         -
            self
 3434         -
        }
 3435         -
        #[allow(missing_docs)] // documentation missing in model
 3436         -
        pub fn range_integer_header(mut self, input: crate::model::RangeInteger) -> Self {
 3437         -
            self.range_integer_header =
 3438         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 3439         -
            self
 3440         -
        }
 3441         -
        #[allow(missing_docs)] // documentation missing in model
 3442         -
        pub(crate) fn set_range_integer_header(
 3443         -
            mut self,
 3444         -
            input: impl ::std::convert::Into<
 3445         -
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 3446         -
            >,
 3447         -
        ) -> Self {
 3448         -
            self.range_integer_header = Some(input.into());
 3449         -
            self
 3450         -
        }
 3451         -
        #[allow(missing_docs)] // documentation missing in model
 3452         -
        pub fn range_short_header(mut self, input: crate::model::RangeShort) -> Self {
 3453         -
            self.range_short_header =
 3454         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 3455         -
            self
 3456         -
        }
 3457         -
        #[allow(missing_docs)] // documentation missing in model
 3458         -
        pub(crate) fn set_range_short_header(
 3459         -
            mut self,
 3460         -
            input: impl ::std::convert::Into<
 3461         -
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 3462         -
            >,
 3463         -
        ) -> Self {
 3464         -
            self.range_short_header = Some(input.into());
 3465         -
            self
 3466         -
        }
 3467         -
        #[allow(missing_docs)] // documentation missing in model
 3468         -
        pub fn range_long_header(mut self, input: crate::model::RangeLong) -> Self {
 3469         -
            self.range_long_header = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3470         -
            self
 3471         -
        }
 3472         -
        #[allow(missing_docs)] // documentation missing in model
 3473         -
        pub(crate) fn set_range_long_header(
 3474         -
            mut self,
 3475         -
            input: impl ::std::convert::Into<
 3476         -
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
 3477         -
            >,
 3478         -
        ) -> Self {
 3479         -
            self.range_long_header = Some(input.into());
 3480         -
            self
 3481         -
        }
 3482         -
        #[allow(missing_docs)] // documentation missing in model
 3483         -
        pub fn range_byte_header(mut self, input: crate::model::RangeByte) -> Self {
 3484         -
            self.range_byte_header = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3485         -
            self
 3486         -
        }
 3487         -
        #[allow(missing_docs)] // documentation missing in model
 3488         -
        pub(crate) fn set_range_byte_header(
 3489         -
            mut self,
 3490         -
            input: impl ::std::convert::Into<
 3491         -
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
 3492         -
            >,
 3493         -
        ) -> Self {
 3494         -
            self.range_byte_header = Some(input.into());
 3495         -
            self
 3496         -
        }
 3497         -
        #[allow(missing_docs)] // documentation missing in model
 3498         -
        pub fn length_string_set_header(
 3499         -
            mut self,
 3500         -
            input: ::std::option::Option<crate::model::SetOfLengthString>,
 3501         -
        ) -> Self {
 3502         -
            self.length_string_set_header =
 3503         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3504         -
            self
 3505         -
        }
 3506         -
        #[allow(missing_docs)] // documentation missing in model
 3507         -
        pub(crate) fn set_length_string_set_header(
 3508         -
            mut self,
 3509         -
            input: Option<
 3510         -
                impl ::std::convert::Into<
 3511         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
 3512         -
                >,
 3513         -
            >,
 3514         -
        ) -> Self {
 3515         -
            self.length_string_set_header = input.map(|v| v.into());
 3516         -
            self
 3517         -
        }
 3518         -
        #[allow(missing_docs)] // documentation missing in model
 3519         -
        pub fn list_length_string_header(
 3520         -
            mut self,
 3521         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
 3522         -
        ) -> Self {
 3523         -
            self.list_length_string_header =
 3524         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3525         -
            self
 3526         -
        }
 3527         -
        #[allow(missing_docs)] // documentation missing in model
 3528         -
        pub(crate) fn set_list_length_string_header(
 3529         -
            mut self,
 3530         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
 3531         -
        ) -> Self {
 3532         -
            self.list_length_string_header = input.map(|v| v.into());
 3533         -
            self
 3534         -
        }
 3535         -
        #[allow(missing_docs)] // documentation missing in model
 3536         -
        pub fn length_list_pattern_string_header(
 3537         -
            mut self,
 3538         -
            input: ::std::option::Option<crate::model::LengthListOfPatternString>,
 3539         -
        ) -> Self {
 3540         -
            self.length_list_pattern_string_header =
 3541         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3542         -
            self
 3543   2625   
    }
 3544         -
        #[allow(missing_docs)] // documentation missing in model
 3545         -
        pub(crate) fn set_length_list_pattern_string_header(
 3546         -
            mut self,
 3547         -
            input: Option<
 3548         -
                impl ::std::convert::Into<
 3549         -
                    crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
 3550         -
                >,
 3551         -
            >,
 3552         -
        ) -> Self {
 3553         -
            self.length_list_pattern_string_header = input.map(|v| v.into());
 3554         -
            self
        2626  +
}
        2627  +
/// See [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
        2628  +
pub mod constrained_http_payload_bound_shape_operation_input {
        2629  +
        2630  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        2631  +
    /// Holds one variant for each of the ways the builder can fail.
        2632  +
    #[non_exhaustive]
        2633  +
    #[allow(clippy::enum_variant_names)]
        2634  +
    pub enum ConstraintViolation {
        2635  +
        /// `http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationInput`.
        2636  +
        MissingHttpPayloadBoundConstrainedShape,
        2637  +
        /// Constraint violation occurred building member `http_payload_bound_constrained_shape` when building `ConstrainedHttpPayloadBoundShapeOperationInput`.
        2638  +
        #[doc(hidden)]
        2639  +
        HttpPayloadBoundConstrainedShape(crate::model::con_a::ConstraintViolation),
 3555   2640   
    }
 3556         -
        #[allow(missing_docs)] // documentation missing in model
 3557         -
        pub fn length_set_pattern_string_header(
 3558         -
            mut self,
 3559         -
            input: ::std::option::Option<crate::model::LengthSetOfPatternString>,
 3560         -
        ) -> Self {
 3561         -
            self.length_set_pattern_string_header =
 3562         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3563         -
            self
        2641  +
    impl ::std::fmt::Display for ConstraintViolation {
        2642  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2643  +
            match self {
        2644  +
                ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => write!(f, "`http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationInput`"),
        2645  +
                ConstraintViolation::HttpPayloadBoundConstrainedShape(_) => write!(f, "constraint violation occurred building member `http_payload_bound_constrained_shape` when building `ConstrainedHttpPayloadBoundShapeOperationInput`"),
 3564   2646   
            }
 3565         -
        #[allow(missing_docs)] // documentation missing in model
 3566         -
        pub(crate) fn set_length_set_pattern_string_header(
 3567         -
            mut self,
 3568         -
            input: Option<
 3569         -
                impl ::std::convert::Into<
 3570         -
                    crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>,
 3571         -
                >,
 3572         -
            >,
 3573         -
        ) -> Self {
 3574         -
            self.length_set_pattern_string_header = input.map(|v| v.into());
 3575         -
            self
 3576   2647   
        }
 3577         -
        #[allow(missing_docs)] // documentation missing in model
 3578         -
        pub fn range_byte_set_header(
 3579         -
            mut self,
 3580         -
            input: ::std::option::Option<crate::model::SetOfRangeByte>,
 3581         -
        ) -> Self {
 3582         -
            self.range_byte_set_header =
 3583         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3584         -
            self
 3585   2648   
    }
 3586         -
        #[allow(missing_docs)] // documentation missing in model
 3587         -
        pub(crate) fn set_range_byte_set_header(
 3588         -
            mut self,
 3589         -
            input: Option<
 3590         -
                impl ::std::convert::Into<
 3591         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
 3592         -
                >,
 3593         -
            >,
 3594         -
        ) -> Self {
 3595         -
            self.range_byte_set_header = input.map(|v| v.into());
 3596         -
            self
        2649  +
    impl ::std::error::Error for ConstraintViolation {}
        2650  +
    impl ConstraintViolation {
        2651  +
        pub(crate) fn as_validation_exception_field(
        2652  +
            self,
        2653  +
            path: ::std::string::String,
        2654  +
        ) -> crate::model::ValidationExceptionField {
        2655  +
            match self {
        2656  +
            ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
        2657  +
                                                message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
        2658  +
                                                path: path + "/httpPayloadBoundConstrainedShape",
        2659  +
                                            },
        2660  +
            ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
 3597   2661   
        }
 3598         -
        #[allow(missing_docs)] // documentation missing in model
 3599         -
        pub fn range_short_set_header(
 3600         -
            mut self,
 3601         -
            input: ::std::option::Option<crate::model::SetOfRangeShort>,
 3602         -
        ) -> Self {
 3603         -
            self.range_short_set_header =
 3604         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3605         -
            self
 3606   2662   
        }
 3607         -
        #[allow(missing_docs)] // documentation missing in model
 3608         -
        pub(crate) fn set_range_short_set_header(
 3609         -
            mut self,
 3610         -
            input: Option<
 3611         -
                impl ::std::convert::Into<
 3612         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
 3613         -
                >,
 3614         -
            >,
 3615         -
        ) -> Self {
 3616         -
            self.range_short_set_header = input.map(|v| v.into());
 3617         -
            self
 3618   2663   
    }
 3619         -
        #[allow(missing_docs)] // documentation missing in model
 3620         -
        pub fn range_integer_set_header(
 3621         -
            mut self,
 3622         -
            input: ::std::option::Option<crate::model::SetOfRangeInteger>,
 3623         -
        ) -> Self {
 3624         -
            self.range_integer_set_header =
 3625         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3626         -
            self
        2664  +
    impl ::std::convert::From<ConstraintViolation>
        2665  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2666  +
    {
        2667  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        2668  +
            let first_validation_exception_field =
        2669  +
                constraint_violation.as_validation_exception_field("".to_owned());
        2670  +
            let validation_exception = crate::error::ValidationException {
        2671  +
                message: format!(
        2672  +
                    "1 validation error detected. {}",
        2673  +
                    &first_validation_exception_field.message
        2674  +
                ),
        2675  +
                field_list: Some(vec![first_validation_exception_field]),
        2676  +
            };
        2677  +
            Self::ConstraintViolation(
        2678  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        2679  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2680  +
                            )
 3627   2681   
        }
 3628         -
        #[allow(missing_docs)] // documentation missing in model
 3629         -
        pub(crate) fn set_range_integer_set_header(
 3630         -
            mut self,
 3631         -
            input: Option<
 3632         -
                impl ::std::convert::Into<
 3633         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
 3634         -
                >,
 3635         -
            >,
 3636         -
        ) -> Self {
 3637         -
            self.range_integer_set_header = input.map(|v| v.into());
 3638         -
            self
 3639   2682   
    }
 3640         -
        #[allow(missing_docs)] // documentation missing in model
 3641         -
        pub fn range_long_set_header(
 3642         -
            mut self,
 3643         -
            input: ::std::option::Option<crate::model::SetOfRangeLong>,
 3644         -
        ) -> Self {
 3645         -
            self.range_long_set_header =
 3646         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3647         -
            self
        2683  +
    impl ::std::convert::From<Builder>
        2684  +
        for crate::constrained::MaybeConstrained<
        2685  +
            crate::input::ConstrainedHttpPayloadBoundShapeOperationInput,
        2686  +
        >
        2687  +
    {
        2688  +
        fn from(builder: Builder) -> Self {
        2689  +
            Self::Unconstrained(builder)
 3648   2690   
        }
 3649         -
        #[allow(missing_docs)] // documentation missing in model
 3650         -
        pub(crate) fn set_range_long_set_header(
 3651         -
            mut self,
 3652         -
            input: Option<
 3653         -
                impl ::std::convert::Into<
 3654         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
 3655         -
                >,
 3656         -
            >,
 3657         -
        ) -> Self {
 3658         -
            self.range_long_set_header = input.map(|v| v.into());
 3659         -
            self
 3660   2691   
    }
 3661         -
        #[allow(missing_docs)] // documentation missing in model
 3662         -
        pub fn range_byte_list_header(
 3663         -
            mut self,
 3664         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
 3665         -
        ) -> Self {
 3666         -
            self.range_byte_list_header =
 3667         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3668         -
            self
        2692  +
    impl ::std::convert::TryFrom<Builder>
        2693  +
        for crate::input::ConstrainedHttpPayloadBoundShapeOperationInput
        2694  +
    {
        2695  +
        type Error = ConstraintViolation;
        2696  +
        2697  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        2698  +
            builder.build()
 3669   2699   
        }
 3670         -
        #[allow(missing_docs)] // documentation missing in model
 3671         -
        pub(crate) fn set_range_byte_list_header(
 3672         -
            mut self,
 3673         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
 3674         -
        ) -> Self {
 3675         -
            self.range_byte_list_header = input.map(|v| v.into());
 3676         -
            self
 3677   2700   
    }
 3678         -
        #[allow(missing_docs)] // documentation missing in model
 3679         -
        pub fn range_short_list_header(
 3680         -
            mut self,
 3681         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
 3682         -
        ) -> Self {
 3683         -
            self.range_short_list_header =
 3684         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3685         -
            self
        2701  +
    /// A builder for [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
        2702  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        2703  +
    pub struct Builder {
        2704  +
        pub(crate) http_payload_bound_constrained_shape:
        2705  +
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConA>>,
 3686   2706   
    }
        2707  +
    impl Builder {
 3687   2708   
        #[allow(missing_docs)] // documentation missing in model
 3688         -
        pub(crate) fn set_range_short_list_header(
 3689         -
            mut self,
 3690         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
 3691         -
        ) -> Self {
 3692         -
            self.range_short_list_header = input.map(|v| v.into());
        2709  +
        pub fn http_payload_bound_constrained_shape(mut self, input: crate::model::ConA) -> Self {
        2710  +
            self.http_payload_bound_constrained_shape =
        2711  +
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 3693   2712   
            self
 3694   2713   
        }
 3695   2714   
        #[allow(missing_docs)] // documentation missing in model
 3696         -
        pub fn range_integer_list_header(
        2715  +
        pub(crate) fn set_http_payload_bound_constrained_shape(
 3697   2716   
            mut self,
 3698         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
        2717  +
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConA>>,
 3699   2718   
        ) -> Self {
 3700         -
            self.range_integer_list_header =
 3701         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        2719  +
            self.http_payload_bound_constrained_shape = Some(input.into());
 3702   2720   
            self
 3703   2721   
        }
 3704         -
        #[allow(missing_docs)] // documentation missing in model
 3705         -
        pub(crate) fn set_range_integer_list_header(
 3706         -
            mut self,
 3707         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
 3708         -
        ) -> Self {
 3709         -
            self.range_integer_list_header = input.map(|v| v.into());
 3710         -
            self
        2722  +
        /// Consumes the builder and constructs a [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput).
        2723  +
        ///
        2724  +
        /// The builder fails to construct a [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput) if a [`ConstraintViolation`] occurs.
        2725  +
        ///
        2726  +
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        2727  +
        pub fn build(
        2728  +
            self,
        2729  +
        ) -> Result<crate::input::ConstrainedHttpPayloadBoundShapeOperationInput, ConstraintViolation>
        2730  +
        {
        2731  +
            self.build_enforcing_all_constraints()
 3711   2732   
        }
 3712         -
        #[allow(missing_docs)] // documentation missing in model
 3713         -
        pub fn range_long_list_header(
 3714         -
            mut self,
 3715         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
 3716         -
        ) -> Self {
 3717         -
            self.range_long_list_header =
 3718         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3719         -
            self
        2733  +
        fn build_enforcing_all_constraints(
        2734  +
            self,
        2735  +
        ) -> Result<crate::input::ConstrainedHttpPayloadBoundShapeOperationInput, ConstraintViolation>
        2736  +
        {
        2737  +
            Ok(
        2738  +
                crate::input::ConstrainedHttpPayloadBoundShapeOperationInput {
        2739  +
                    http_payload_bound_constrained_shape: self
        2740  +
                        .http_payload_bound_constrained_shape
        2741  +
                        .map(|v| match v {
        2742  +
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2743  +
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2744  +
                        })
        2745  +
                        .map(|res| {
        2746  +
                            res.map_err(ConstraintViolation::HttpPayloadBoundConstrainedShape)
        2747  +
                        })
        2748  +
                        .transpose()?
        2749  +
                        .ok_or(ConstraintViolation::MissingHttpPayloadBoundConstrainedShape)?,
        2750  +
                },
        2751  +
            )
 3720   2752   
        }
 3721         -
        #[allow(missing_docs)] // documentation missing in model
 3722         -
        pub(crate) fn set_range_long_list_header(
 3723         -
            mut self,
 3724         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
 3725         -
        ) -> Self {
 3726         -
            self.range_long_list_header = input.map(|v| v.into());
 3727         -
            self
 3728   2753   
    }
 3729         -
        #[allow(missing_docs)] // documentation missing in model
 3730         -
        pub fn length_string_query(
 3731         -
            mut self,
 3732         -
            input: ::std::option::Option<crate::model::LengthString>,
 3733         -
        ) -> Self {
 3734         -
            self.length_string_query = input.map(crate::constrained::MaybeConstrained::Constrained);
 3735         -
            self
        2754  +
}
        2755  +
/// See [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
        2756  +
pub mod constrained_recursive_shapes_operation_input {
        2757  +
        2758  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        2759  +
    /// Holds one variant for each of the ways the builder can fail.
        2760  +
    #[non_exhaustive]
        2761  +
    #[allow(clippy::enum_variant_names)]
        2762  +
    pub enum ConstraintViolation {
        2763  +
        /// Constraint violation occurred building member `nested` when building `ConstrainedRecursiveShapesOperationInput`.
        2764  +
        #[doc(hidden)]
        2765  +
        Nested(crate::model::recursive_shapes_input_output_nested1::ConstraintViolation),
        2766  +
        /// `recursive_list` was not provided but it is required when building `ConstrainedRecursiveShapesOperationInput`.
        2767  +
        MissingRecursiveList,
        2768  +
        /// Constraint violation occurred building member `recursive_list` when building `ConstrainedRecursiveShapesOperationInput`.
        2769  +
        #[doc(hidden)]
        2770  +
        RecursiveList(crate::model::recursive_list::ConstraintViolation),
 3736   2771   
    }
 3737         -
        #[allow(missing_docs)] // documentation missing in model
 3738         -
        pub(crate) fn set_length_string_query(
 3739         -
            mut self,
 3740         -
            input: Option<
 3741         -
                impl ::std::convert::Into<
 3742         -
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 3743         -
                >,
 3744         -
            >,
 3745         -
        ) -> Self {
 3746         -
            self.length_string_query = input.map(|v| v.into());
 3747         -
            self
        2772  +
    impl ::std::fmt::Display for ConstraintViolation {
        2773  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2774  +
            match self {
        2775  +
                ConstraintViolation::Nested(_) => write!(f, "constraint violation occurred building member `nested` when building `ConstrainedRecursiveShapesOperationInput`"),
        2776  +
                ConstraintViolation::MissingRecursiveList => write!(f, "`recursive_list` was not provided but it is required when building `ConstrainedRecursiveShapesOperationInput`"),
        2777  +
                ConstraintViolation::RecursiveList(_) => write!(f, "constraint violation occurred building member `recursive_list` when building `ConstrainedRecursiveShapesOperationInput`"),
 3748   2778   
            }
 3749         -
        #[allow(missing_docs)] // documentation missing in model
 3750         -
        pub fn range_byte_query(mut self, input: crate::model::RangeByte) -> Self {
 3751         -
            self.range_byte_query = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3752         -
            self
 3753   2779   
        }
 3754         -
        #[allow(missing_docs)] // documentation missing in model
 3755         -
        pub(crate) fn set_range_byte_query(
 3756         -
            mut self,
 3757         -
            input: impl ::std::convert::Into<
 3758         -
                crate::constrained::MaybeConstrained<crate::model::RangeByte>,
 3759         -
            >,
 3760         -
        ) -> Self {
 3761         -
            self.range_byte_query = Some(input.into());
 3762         -
            self
 3763   2780   
    }
 3764         -
        #[allow(missing_docs)] // documentation missing in model
 3765         -
        pub fn range_short_query(mut self, input: crate::model::RangeShort) -> Self {
 3766         -
            self.range_short_query = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3767         -
            self
        2781  +
    impl ::std::error::Error for ConstraintViolation {}
        2782  +
    impl ConstraintViolation {
        2783  +
        pub(crate) fn as_validation_exception_field(
        2784  +
            self,
        2785  +
            path: ::std::string::String,
        2786  +
        ) -> crate::model::ValidationExceptionField {
        2787  +
            match self {
        2788  +
            ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
        2789  +
            ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
        2790  +
                                                message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
        2791  +
                                                path: path + "/recursiveList",
        2792  +
                                            },
        2793  +
            ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
 3768   2794   
        }
 3769         -
        #[allow(missing_docs)] // documentation missing in model
 3770         -
        pub(crate) fn set_range_short_query(
 3771         -
            mut self,
 3772         -
            input: impl ::std::convert::Into<
 3773         -
                crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 3774         -
            >,
 3775         -
        ) -> Self {
 3776         -
            self.range_short_query = Some(input.into());
 3777         -
            self
 3778   2795   
        }
 3779         -
        #[allow(missing_docs)] // documentation missing in model
 3780         -
        pub fn range_integer_query(mut self, input: crate::model::RangeInteger) -> Self {
 3781         -
            self.range_integer_query =
 3782         -
                Some(crate::constrained::MaybeConstrained::Constrained(input));
 3783         -
            self
 3784   2796   
    }
 3785         -
        #[allow(missing_docs)] // documentation missing in model
 3786         -
        pub(crate) fn set_range_integer_query(
 3787         -
            mut self,
 3788         -
            input: impl ::std::convert::Into<
 3789         -
                crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 3790         -
            >,
 3791         -
        ) -> Self {
 3792         -
            self.range_integer_query = Some(input.into());
 3793         -
            self
        2797  +
    impl ::std::convert::From<ConstraintViolation>
        2798  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2799  +
    {
        2800  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        2801  +
            let first_validation_exception_field =
        2802  +
                constraint_violation.as_validation_exception_field("".to_owned());
        2803  +
            let validation_exception = crate::error::ValidationException {
        2804  +
                message: format!(
        2805  +
                    "1 validation error detected. {}",
        2806  +
                    &first_validation_exception_field.message
        2807  +
                ),
        2808  +
                field_list: Some(vec![first_validation_exception_field]),
        2809  +
            };
        2810  +
            Self::ConstraintViolation(
        2811  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        2812  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2813  +
                            )
 3794   2814   
        }
 3795         -
        #[allow(missing_docs)] // documentation missing in model
 3796         -
        pub fn range_long_query(mut self, input: crate::model::RangeLong) -> Self {
 3797         -
            self.range_long_query = Some(crate::constrained::MaybeConstrained::Constrained(input));
 3798         -
            self
 3799   2815   
    }
 3800         -
        #[allow(missing_docs)] // documentation missing in model
 3801         -
        pub(crate) fn set_range_long_query(
 3802         -
            mut self,
 3803         -
            input: impl ::std::convert::Into<
 3804         -
                crate::constrained::MaybeConstrained<crate::model::RangeLong>,
 3805         -
            >,
 3806         -
        ) -> Self {
 3807         -
            self.range_long_query = Some(input.into());
 3808         -
            self
        2816  +
    impl ::std::convert::From<Builder>
        2817  +
        for crate::constrained::MaybeConstrained<
        2818  +
            crate::input::ConstrainedRecursiveShapesOperationInput,
        2819  +
        >
        2820  +
    {
        2821  +
        fn from(builder: Builder) -> Self {
        2822  +
            Self::Unconstrained(builder)
 3809   2823   
        }
 3810         -
        #[allow(missing_docs)] // documentation missing in model
 3811         -
        pub fn enum_string_query(
 3812         -
            mut self,
 3813         -
            input: ::std::option::Option<crate::model::EnumString>,
 3814         -
        ) -> Self {
 3815         -
            self.enum_string_query = input.map(crate::constrained::MaybeConstrained::Constrained);
 3816         -
            self
 3817   2824   
    }
 3818         -
        #[allow(missing_docs)] // documentation missing in model
 3819         -
        pub(crate) fn set_enum_string_query(
 3820         -
            mut self,
 3821         -
            input: Option<
 3822         -
                impl ::std::convert::Into<
 3823         -
                    crate::constrained::MaybeConstrained<crate::model::EnumString>,
        2825  +
    impl ::std::convert::TryFrom<Builder> for crate::input::ConstrainedRecursiveShapesOperationInput {
        2826  +
        type Error = ConstraintViolation;
        2827  +
        2828  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        2829  +
            builder.build()
        2830  +
        }
        2831  +
    }
        2832  +
    /// A builder for [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
        2833  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        2834  +
    pub struct Builder {
        2835  +
        pub(crate) nested: ::std::option::Option<
        2836  +
            crate::constrained::MaybeConstrained<crate::model::RecursiveShapesInputOutputNested1>,
        2837  +
        >,
        2838  +
        pub(crate) recursive_list: ::std::option::Option<
        2839  +
            crate::constrained::MaybeConstrained<
        2840  +
                crate::constrained::recursive_list_constrained::RecursiveListConstrained,
 3824   2841   
            >,
 3825   2842   
        >,
 3826         -
        ) -> Self {
 3827         -
            self.enum_string_query = input.map(|v| v.into());
 3828         -
            self
 3829         -
        }
 3830         -
        #[allow(missing_docs)] // documentation missing in model
 3831         -
        pub fn length_string_list_query(
 3832         -
            mut self,
 3833         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
 3834         -
        ) -> Self {
 3835         -
            self.length_string_list_query =
 3836         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3837         -
            self
 3838         -
        }
 3839         -
        #[allow(missing_docs)] // documentation missing in model
 3840         -
        pub(crate) fn set_length_string_list_query(
 3841         -
            mut self,
 3842         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
 3843         -
        ) -> Self {
 3844         -
            self.length_string_list_query = input.map(|v| v.into());
 3845         -
            self
 3846   2843   
    }
        2844  +
    impl Builder {
 3847   2845   
        #[allow(missing_docs)] // documentation missing in model
 3848         -
        pub fn length_list_pattern_string_query(
        2846  +
        pub fn nested(
 3849   2847   
            mut self,
 3850         -
            input: ::std::option::Option<crate::model::LengthListOfPatternString>,
        2848  +
            input: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
 3851   2849   
        ) -> Self {
 3852         -
            self.length_list_pattern_string_query =
 3853         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
        2850  +
            self.nested = input.map(crate::constrained::MaybeConstrained::Constrained);
 3854   2851   
            self
 3855   2852   
        }
 3856   2853   
        #[allow(missing_docs)] // documentation missing in model
 3857         -
        pub(crate) fn set_length_list_pattern_string_query(
        2854  +
        pub(crate) fn set_nested(
 3858   2855   
            mut self,
 3859   2856   
            input: Option<
 3860   2857   
                impl ::std::convert::Into<
 3861         -
                    crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
        2858  +
                    crate::constrained::MaybeConstrained<
        2859  +
                        crate::model::RecursiveShapesInputOutputNested1,
        2860  +
                    >,
 3862   2861   
                >,
 3863   2862   
            >,
 3864   2863   
        ) -> Self {
 3865         -
            self.length_list_pattern_string_query = input.map(|v| v.into());
        2864  +
            self.nested = input.map(|v| v.into());
 3866   2865   
            self
 3867   2866   
        }
 3868   2867   
        #[allow(missing_docs)] // documentation missing in model
 3869         -
        pub fn length_string_set_query(
        2868  +
        pub fn recursive_list(
 3870   2869   
            mut self,
 3871         -
            input: ::std::option::Option<crate::model::SetOfLengthString>,
        2870  +
            input: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
 3872   2871   
        ) -> Self {
 3873         -
            self.length_string_set_query =
 3874         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
        2872  +
            self.recursive_list = Some(crate::constrained::MaybeConstrained::Constrained(
        2873  +
                (input).into(),
        2874  +
            ));
 3875   2875   
            self
 3876   2876   
        }
 3877   2877   
        #[allow(missing_docs)] // documentation missing in model
 3878         -
        pub(crate) fn set_length_string_set_query(
        2878  +
        pub(crate) fn set_recursive_list(
 3879   2879   
            mut self,
 3880         -
            input: Option<
 3881         -
                impl ::std::convert::Into<
 3882         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
        2880  +
            input: impl ::std::convert::Into<
        2881  +
                crate::constrained::MaybeConstrained<
        2882  +
                    crate::constrained::recursive_list_constrained::RecursiveListConstrained,
 3883   2883   
                >,
 3884   2884   
            >,
 3885   2885   
        ) -> Self {
 3886         -
            self.length_string_set_query = input.map(|v| v.into());
        2886  +
            self.recursive_list = Some(input.into());
 3887   2887   
            self
 3888   2888   
        }
 3889         -
        #[allow(missing_docs)] // documentation missing in model
 3890         -
        pub fn range_byte_list_query(
 3891         -
            mut self,
 3892         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
 3893         -
        ) -> Self {
 3894         -
            self.range_byte_list_query =
 3895         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3896         -
            self
        2889  +
        /// Consumes the builder and constructs a [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput).
        2890  +
        ///
        2891  +
        /// The builder fails to construct a [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput) if a [`ConstraintViolation`] occurs.
        2892  +
        ///
        2893  +
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        2894  +
        pub fn build(
        2895  +
            self,
        2896  +
        ) -> Result<crate::input::ConstrainedRecursiveShapesOperationInput, ConstraintViolation>
        2897  +
        {
        2898  +
            self.build_enforcing_all_constraints()
 3897   2899   
        }
 3898         -
        #[allow(missing_docs)] // documentation missing in model
 3899         -
        pub(crate) fn set_range_byte_list_query(
 3900         -
            mut self,
 3901         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
 3902         -
        ) -> Self {
 3903         -
            self.range_byte_list_query = input.map(|v| v.into());
 3904         -
            self
        2900  +
        fn build_enforcing_all_constraints(
        2901  +
            self,
        2902  +
        ) -> Result<crate::input::ConstrainedRecursiveShapesOperationInput, ConstraintViolation>
        2903  +
        {
        2904  +
            Ok(crate::input::ConstrainedRecursiveShapesOperationInput {
        2905  +
                nested: self
        2906  +
                    .nested
        2907  +
                    .map(|v| match v {
        2908  +
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2909  +
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2910  +
                    })
        2911  +
                    .map(|res| res.map_err(ConstraintViolation::Nested))
        2912  +
                    .transpose()?,
        2913  +
                recursive_list: self
        2914  +
                    .recursive_list
        2915  +
                    .map(|v| match v {
        2916  +
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
        2917  +
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        2918  +
                    })
        2919  +
                    .map(|res| {
        2920  +
                        res.map(|v| v.into())
        2921  +
                            .map_err(ConstraintViolation::RecursiveList)
        2922  +
                    })
        2923  +
                    .transpose()?
        2924  +
                    .ok_or(ConstraintViolation::MissingRecursiveList)?,
        2925  +
            })
 3905   2926   
        }
 3906         -
        #[allow(missing_docs)] // documentation missing in model
 3907         -
        pub fn range_short_list_query(
 3908         -
            mut self,
 3909         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
 3910         -
        ) -> Self {
 3911         -
            self.range_short_list_query =
 3912         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3913         -
            self
 3914   2927   
    }
 3915         -
        #[allow(missing_docs)] // documentation missing in model
 3916         -
        pub(crate) fn set_range_short_list_query(
 3917         -
            mut self,
 3918         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
 3919         -
        ) -> Self {
 3920         -
            self.range_short_list_query = input.map(|v| v.into());
 3921         -
            self
        2928  +
}
        2929  +
/// See [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
        2930  +
pub mod query_params_targeting_length_map_operation_input {
        2931  +
        2932  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        2933  +
    /// Holds one variant for each of the ways the builder can fail.
        2934  +
    #[non_exhaustive]
        2935  +
    #[allow(clippy::enum_variant_names)]
        2936  +
    pub enum ConstraintViolation {
        2937  +
        /// Constraint violation occurred building member `length_map` when building `QueryParamsTargetingLengthMapOperationInput`.
        2938  +
        #[doc(hidden)]
        2939  +
        LengthMap(crate::model::con_b_map::ConstraintViolation),
 3922   2940   
    }
 3923         -
        #[allow(missing_docs)] // documentation missing in model
 3924         -
        pub fn range_integer_list_query(
 3925         -
            mut self,
 3926         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeInteger>>,
 3927         -
        ) -> Self {
 3928         -
            self.range_integer_list_query =
 3929         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3930         -
            self
        2941  +
    impl ::std::fmt::Display for ConstraintViolation {
        2942  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2943  +
            match self {
        2944  +
                ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `QueryParamsTargetingLengthMapOperationInput`"),
 3931   2945   
            }
 3932         -
        #[allow(missing_docs)] // documentation missing in model
 3933         -
        pub(crate) fn set_range_integer_list_query(
 3934         -
            mut self,
 3935         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
 3936         -
        ) -> Self {
 3937         -
            self.range_integer_list_query = input.map(|v| v.into());
 3938         -
            self
 3939   2946   
        }
 3940         -
        #[allow(missing_docs)] // documentation missing in model
 3941         -
        pub fn range_long_list_query(
 3942         -
            mut self,
 3943         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
 3944         -
        ) -> Self {
 3945         -
            self.range_long_list_query =
 3946         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
 3947         -
            self
 3948   2947   
    }
 3949         -
        #[allow(missing_docs)] // documentation missing in model
 3950         -
        pub(crate) fn set_range_long_list_query(
 3951         -
            mut self,
 3952         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
 3953         -
        ) -> Self {
 3954         -
            self.range_long_list_query = input.map(|v| v.into());
 3955         -
            self
        2948  +
    impl ::std::error::Error for ConstraintViolation {}
        2949  +
    impl ConstraintViolation {
        2950  +
        pub(crate) fn as_validation_exception_field(
        2951  +
            self,
        2952  +
            path: ::std::string::String,
        2953  +
        ) -> crate::model::ValidationExceptionField {
        2954  +
            match self {
        2955  +
                ConstraintViolation::LengthMap(inner) => {
        2956  +
                    inner.as_validation_exception_field(path + "/lengthMap")
 3956   2957   
                }
 3957         -
        #[allow(missing_docs)] // documentation missing in model
 3958         -
        pub fn range_byte_set_query(
 3959         -
            mut self,
 3960         -
            input: ::std::option::Option<crate::model::SetOfRangeByte>,
 3961         -
        ) -> Self {
 3962         -
            self.range_byte_set_query =
 3963         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3964         -
            self
 3965   2958   
            }
 3966         -
        #[allow(missing_docs)] // documentation missing in model
 3967         -
        pub(crate) fn set_range_byte_set_query(
 3968         -
            mut self,
 3969         -
            input: Option<
 3970         -
                impl ::std::convert::Into<
 3971         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
 3972         -
                >,
 3973         -
            >,
 3974         -
        ) -> Self {
 3975         -
            self.range_byte_set_query = input.map(|v| v.into());
 3976         -
            self
 3977   2959   
        }
 3978         -
        #[allow(missing_docs)] // documentation missing in model
 3979         -
        pub fn range_short_set_query(
 3980         -
            mut self,
 3981         -
            input: ::std::option::Option<crate::model::SetOfRangeShort>,
 3982         -
        ) -> Self {
 3983         -
            self.range_short_set_query =
 3984         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 3985         -
            self
 3986   2960   
    }
 3987         -
        #[allow(missing_docs)] // documentation missing in model
 3988         -
        pub(crate) fn set_range_short_set_query(
 3989         -
            mut self,
 3990         -
            input: Option<
 3991         -
                impl ::std::convert::Into<
 3992         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
 3993         -
                >,
 3994         -
            >,
 3995         -
        ) -> Self {
 3996         -
            self.range_short_set_query = input.map(|v| v.into());
 3997         -
            self
        2961  +
    impl ::std::convert::From<ConstraintViolation>
        2962  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2963  +
    {
        2964  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        2965  +
            let first_validation_exception_field =
        2966  +
                constraint_violation.as_validation_exception_field("".to_owned());
        2967  +
            let validation_exception = crate::error::ValidationException {
        2968  +
                message: format!(
        2969  +
                    "1 validation error detected. {}",
        2970  +
                    &first_validation_exception_field.message
        2971  +
                ),
        2972  +
                field_list: Some(vec![first_validation_exception_field]),
        2973  +
            };
        2974  +
            Self::ConstraintViolation(
        2975  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        2976  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        2977  +
                            )
        2978  +
        }
        2979  +
    }
        2980  +
    impl ::std::convert::From<Builder>
        2981  +
        for crate::constrained::MaybeConstrained<
        2982  +
            crate::input::QueryParamsTargetingLengthMapOperationInput,
        2983  +
        >
        2984  +
    {
        2985  +
        fn from(builder: Builder) -> Self {
        2986  +
            Self::Unconstrained(builder)
 3998   2987   
        }
 3999         -
        #[allow(missing_docs)] // documentation missing in model
 4000         -
        pub fn range_integer_set_query(
 4001         -
            mut self,
 4002         -
            input: ::std::option::Option<crate::model::SetOfRangeInteger>,
 4003         -
        ) -> Self {
 4004         -
            self.range_integer_set_query =
 4005         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 4006         -
            self
 4007   2988   
    }
 4008         -
        #[allow(missing_docs)] // documentation missing in model
 4009         -
        pub(crate) fn set_range_integer_set_query(
 4010         -
            mut self,
 4011         -
            input: Option<
 4012         -
                impl ::std::convert::Into<
 4013         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
 4014         -
                >,
 4015         -
            >,
 4016         -
        ) -> Self {
 4017         -
            self.range_integer_set_query = input.map(|v| v.into());
 4018         -
            self
        2989  +
    impl ::std::convert::TryFrom<Builder>
        2990  +
        for crate::input::QueryParamsTargetingLengthMapOperationInput
        2991  +
    {
        2992  +
        type Error = ConstraintViolation;
        2993  +
        2994  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        2995  +
            builder.build()
 4019   2996   
        }
 4020         -
        #[allow(missing_docs)] // documentation missing in model
 4021         -
        pub fn range_long_set_query(
 4022         -
            mut self,
 4023         -
            input: ::std::option::Option<crate::model::SetOfRangeLong>,
 4024         -
        ) -> Self {
 4025         -
            self.range_long_set_query =
 4026         -
                input.map(crate::constrained::MaybeConstrained::Constrained);
 4027         -
            self
 4028   2997   
    }
 4029         -
        #[allow(missing_docs)] // documentation missing in model
 4030         -
        pub(crate) fn set_range_long_set_query(
 4031         -
            mut self,
 4032         -
            input: Option<
 4033         -
                impl ::std::convert::Into<
 4034         -
                    crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
 4035         -
                >,
 4036         -
            >,
 4037         -
        ) -> Self {
 4038         -
            self.range_long_set_query = input.map(|v| v.into());
 4039         -
            self
        2998  +
    /// A builder for [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
        2999  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3000  +
    pub struct Builder {
        3001  +
        pub(crate) length_map:
        3002  +
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
 4040   3003   
    }
        3004  +
    impl Builder {
 4041   3005   
        #[allow(missing_docs)] // documentation missing in model
 4042         -
        pub fn enum_string_list_query(
 4043         -
            mut self,
 4044         -
            input: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
 4045         -
        ) -> Self {
 4046         -
            self.enum_string_list_query =
 4047         -
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3006  +
        pub fn length_map(mut self, input: ::std::option::Option<crate::model::ConBMap>) -> Self {
        3007  +
            self.length_map = input.map(crate::constrained::MaybeConstrained::Constrained);
 4048   3008   
            self
 4049   3009   
        }
 4050   3010   
        #[allow(missing_docs)] // documentation missing in model
 4051         -
        pub(crate) fn set_enum_string_list_query(
        3011  +
        pub(crate) fn set_length_map(
 4052   3012   
            mut self,
 4053         -
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained>>>,
        3013  +
            input: Option<
        3014  +
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
        3015  +
            >,
 4054   3016   
        ) -> Self {
 4055         -
            self.enum_string_list_query = input.map(|v| v.into());
        3017  +
            self.length_map = input.map(|v| v.into());
 4056   3018   
            self
 4057   3019   
        }
 4058         -
        /// Consumes the builder and constructs a [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput).
        3020  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput).
 4059   3021   
        ///
 4060         -
        /// The builder fails to construct a [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput) if a [`ConstraintViolation`] occurs.
        3022  +
        /// The builder fails to construct a [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput) if a [`ConstraintViolation`] occurs.
 4061   3023   
        ///
 4062         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
 4063   3024   
        pub fn build(
 4064   3025   
            self,
 4065         -
        ) -> Result<crate::input::ConstrainedHttpBoundShapesOperationInput, ConstraintViolation>
        3026  +
        ) -> Result<crate::input::QueryParamsTargetingLengthMapOperationInput, ConstraintViolation>
 4066   3027   
        {
 4067   3028   
            self.build_enforcing_all_constraints()
 4068   3029   
        }
 4069   3030   
        fn build_enforcing_all_constraints(
 4070         -
            self,
 4071         -
        ) -> Result<crate::input::ConstrainedHttpBoundShapesOperationInput, ConstraintViolation>
 4072         -
        {
 4073         -
            Ok(
 4074         -
                crate::input::ConstrainedHttpBoundShapesOperationInput {
 4075         -
                    length_string_label: self.length_string_label
 4076         -
                        .map(|v| match v {
 4077         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4078         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4079         -
                                        })
 4080         -
                        .map(|res|
 4081         -
                                        res.map_err(ConstraintViolation::LengthStringLabel)
 4082         -
                                    )
 4083         -
                                    .transpose()?
 4084         -
                        .ok_or(ConstraintViolation::MissingLengthStringLabel)?
 4085         -
                    ,
 4086         -
                    range_integer_label: self.range_integer_label
 4087         -
                        .map(|v| match v {
 4088         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4089         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4090         -
                                        })
 4091         -
                        .map(|res|
 4092         -
                                        res.map_err(ConstraintViolation::RangeIntegerLabel)
 4093         -
                                    )
 4094         -
                                    .transpose()?
 4095         -
                        .unwrap_or_else(||
 4096         -
                                            0i32
 4097         -
                                                .try_into()
 4098         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4099         -
                                        )
 4100         -
                    ,
 4101         -
                    range_short_label: self.range_short_label
 4102         -
                        .map(|v| match v {
 4103         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4104         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4105         -
                                        })
 4106         -
                        .map(|res|
 4107         -
                                        res.map_err(ConstraintViolation::RangeShortLabel)
 4108         -
                                    )
 4109         -
                                    .transpose()?
 4110         -
                        .unwrap_or_else(||
 4111         -
                                            0i16
 4112         -
                                                .try_into()
 4113         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4114         -
                                        )
 4115         -
                    ,
 4116         -
                    range_long_label: self.range_long_label
 4117         -
                        .map(|v| match v {
 4118         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4119         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4120         -
                                        })
 4121         -
                        .map(|res|
 4122         -
                                        res.map_err(ConstraintViolation::RangeLongLabel)
 4123         -
                                    )
 4124         -
                                    .transpose()?
 4125         -
                        .unwrap_or_else(||
 4126         -
                                            0i64
 4127         -
                                                .try_into()
 4128         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4129         -
                                        )
 4130         -
                    ,
 4131         -
                    range_byte_label: self.range_byte_label
 4132         -
                        .map(|v| match v {
 4133         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4134         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4135         -
                                        })
 4136         -
                        .map(|res|
 4137         -
                                        res.map_err(ConstraintViolation::RangeByteLabel)
 4138         -
                                    )
 4139         -
                                    .transpose()?
 4140         -
                        .unwrap_or_else(||
 4141         -
                                            0i8
 4142         -
                                                .try_into()
 4143         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4144         -
                                        )
 4145         -
                    ,
 4146         -
                    enum_string_label: self.enum_string_label
 4147         -
                        .map(|v| match v {
 4148         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4149         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4150         -
                                        })
 4151         -
                        .map(|res|
 4152         -
                                        res.map_err(ConstraintViolation::EnumStringLabel)
 4153         -
                                    )
 4154         -
                                    .transpose()?
 4155         -
                        .ok_or(ConstraintViolation::MissingEnumStringLabel)?
 4156         -
                    ,
 4157         -
                    length_string_header_map: self.length_string_header_map
 4158         -
                        .map(|v| match v {
 4159         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4160         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4161         -
                                        })
 4162         -
                        .map(|res|
 4163         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::LengthStringHeaderMap)
 4164         -
                                    )
 4165         -
                                    .transpose()?
 4166         -
                        .ok_or(ConstraintViolation::MissingLengthStringHeaderMap)?
 4167         -
                    ,
 4168         -
                    length_string_header: self.length_string_header
 4169         -
                        .map(|v| match v {
 4170         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4171         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4172         -
                                        })
 4173         -
                        .map(|res|
 4174         -
                                        res.map_err(ConstraintViolation::LengthStringHeader)
 4175         -
                                    )
 4176         -
                                    .transpose()?
 4177         -
                    ,
 4178         -
                    range_integer_header: self.range_integer_header
 4179         -
                        .map(|v| match v {
 4180         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4181         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4182         -
                                        })
 4183         -
                        .map(|res|
 4184         -
                                        res.map_err(ConstraintViolation::RangeIntegerHeader)
 4185         -
                                    )
 4186         -
                                    .transpose()?
 4187         -
                        .unwrap_or_else(||
 4188         -
                                            0i32
 4189         -
                                                .try_into()
 4190         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4191         -
                                        )
 4192         -
                    ,
 4193         -
                    range_short_header: self.range_short_header
 4194         -
                        .map(|v| match v {
 4195         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4196         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4197         -
                                        })
 4198         -
                        .map(|res|
 4199         -
                                        res.map_err(ConstraintViolation::RangeShortHeader)
 4200         -
                                    )
 4201         -
                                    .transpose()?
 4202         -
                        .unwrap_or_else(||
 4203         -
                                            0i16
 4204         -
                                                .try_into()
 4205         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4206         -
                                        )
 4207         -
                    ,
 4208         -
                    range_long_header: self.range_long_header
 4209         -
                        .map(|v| match v {
 4210         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4211         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4212         -
                                        })
 4213         -
                        .map(|res|
 4214         -
                                        res.map_err(ConstraintViolation::RangeLongHeader)
 4215         -
                                    )
 4216         -
                                    .transpose()?
 4217         -
                        .unwrap_or_else(||
 4218         -
                                            0i64
 4219         -
                                                .try_into()
 4220         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4221         -
                                        )
 4222         -
                    ,
 4223         -
                    range_byte_header: self.range_byte_header
 4224         -
                        .map(|v| match v {
 4225         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4226         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4227         -
                                        })
 4228         -
                        .map(|res|
 4229         -
                                        res.map_err(ConstraintViolation::RangeByteHeader)
 4230         -
                                    )
 4231         -
                                    .transpose()?
 4232         -
                        .unwrap_or_else(||
 4233         -
                                            0i8
 4234         -
                                                .try_into()
 4235         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4236         -
                                        )
 4237         -
                    ,
 4238         -
                    length_string_set_header: self.length_string_set_header
 4239         -
                        .map(|v| match v {
 4240         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4241         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4242         -
                                        })
 4243         -
                        .map(|res|
 4244         -
                                        res.map_err(ConstraintViolation::LengthStringSetHeader)
 4245         -
                                    )
 4246         -
                                    .transpose()?
 4247         -
                    ,
 4248         -
                    list_length_string_header: self.list_length_string_header
        3031  +
            self,
        3032  +
        ) -> Result<crate::input::QueryParamsTargetingLengthMapOperationInput, ConstraintViolation>
        3033  +
        {
        3034  +
            Ok(crate::input::QueryParamsTargetingLengthMapOperationInput {
        3035  +
                length_map: self
        3036  +
                    .length_map
 4249   3037   
                    .map(|v| match v {
 4250   3038   
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4251   3039   
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4252   3040   
                    })
 4253         -
                        .map(|res|
 4254         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::ListLengthStringHeader)
 4255         -
                                    )
 4256         -
                                    .transpose()?
 4257         -
                    ,
 4258         -
                    length_list_pattern_string_header: self.length_list_pattern_string_header
 4259         -
                        .map(|v| match v {
 4260         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4261         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3041  +
                    .map(|res| res.map_err(ConstraintViolation::LengthMap))
        3042  +
                    .transpose()?,
 4262   3043   
            })
 4263         -
                        .map(|res|
 4264         -
                                        res.map_err(ConstraintViolation::LengthListPatternStringHeader)
        3044  +
        }
        3045  +
    }
        3046  +
}
        3047  +
/// See [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
        3048  +
pub mod query_params_targeting_map_of_length_string_operation_input {
        3049  +
        3050  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3051  +
    /// Holds one variant for each of the ways the builder can fail.
        3052  +
    #[non_exhaustive]
        3053  +
    #[allow(clippy::enum_variant_names)]
        3054  +
    pub enum ConstraintViolation {
        3055  +
        /// Constraint violation occurred building member `map_of_length_string` when building `QueryParamsTargetingMapOfLengthStringOperationInput`.
        3056  +
        #[doc(hidden)]
        3057  +
        MapOfLengthString(crate::model::map_of_length_string::ConstraintViolation),
        3058  +
    }
        3059  +
    impl ::std::fmt::Display for ConstraintViolation {
        3060  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3061  +
            match self {
        3062  +
                ConstraintViolation::MapOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_length_string` when building `QueryParamsTargetingMapOfLengthStringOperationInput`"),
        3063  +
            }
        3064  +
        }
        3065  +
    }
        3066  +
    impl ::std::error::Error for ConstraintViolation {}
        3067  +
    impl ConstraintViolation {
        3068  +
        pub(crate) fn as_validation_exception_field(
        3069  +
            self,
        3070  +
            path: ::std::string::String,
        3071  +
        ) -> crate::model::ValidationExceptionField {
        3072  +
            match self {
        3073  +
                ConstraintViolation::MapOfLengthString(inner) => {
        3074  +
                    inner.as_validation_exception_field(path + "/mapOfLengthString")
        3075  +
                }
        3076  +
            }
        3077  +
        }
        3078  +
    }
        3079  +
    impl ::std::convert::From<ConstraintViolation>
        3080  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3081  +
    {
        3082  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3083  +
            let first_validation_exception_field =
        3084  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3085  +
            let validation_exception = crate::error::ValidationException {
        3086  +
                message: format!(
        3087  +
                    "1 validation error detected. {}",
        3088  +
                    &first_validation_exception_field.message
        3089  +
                ),
        3090  +
                field_list: Some(vec![first_validation_exception_field]),
        3091  +
            };
        3092  +
            Self::ConstraintViolation(
        3093  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3094  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4265   3095   
                            )
 4266         -
                                    .transpose()?
 4267         -
                    ,
 4268         -
                    length_set_pattern_string_header: self.length_set_pattern_string_header
        3096  +
        }
        3097  +
    }
        3098  +
    impl ::std::convert::From<Builder>
        3099  +
        for crate::constrained::MaybeConstrained<
        3100  +
            crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
        3101  +
        >
        3102  +
    {
        3103  +
        fn from(builder: Builder) -> Self {
        3104  +
            Self::Unconstrained(builder)
        3105  +
        }
        3106  +
    }
        3107  +
    impl ::std::convert::TryFrom<Builder>
        3108  +
        for crate::input::QueryParamsTargetingMapOfLengthStringOperationInput
        3109  +
    {
        3110  +
        type Error = ConstraintViolation;
        3111  +
        3112  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3113  +
            builder.build()
        3114  +
        }
        3115  +
    }
        3116  +
    /// A builder for [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
        3117  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3118  +
    pub struct Builder {
        3119  +
        pub(crate) map_of_length_string: ::std::option::Option<
        3120  +
            crate::constrained::MaybeConstrained<
        3121  +
                crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained,
        3122  +
            >,
        3123  +
        >,
        3124  +
    }
        3125  +
    impl Builder {
        3126  +
        #[allow(missing_docs)] // documentation missing in model
        3127  +
        pub fn map_of_length_string(
        3128  +
            mut self,
        3129  +
            input: ::std::option::Option<
        3130  +
                ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
        3131  +
            >,
        3132  +
        ) -> Self {
        3133  +
            self.map_of_length_string =
        3134  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3135  +
            self
        3136  +
        }
        3137  +
        #[allow(missing_docs)] // documentation missing in model
        3138  +
        pub(crate) fn set_map_of_length_string(
        3139  +
            mut self,
        3140  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_string_constrained::MapOfLengthStringConstrained>>>,
        3141  +
        ) -> Self {
        3142  +
            self.map_of_length_string = input.map(|v| v.into());
        3143  +
            self
        3144  +
        }
        3145  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput).
        3146  +
        ///
        3147  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput) if a [`ConstraintViolation`] occurs.
        3148  +
        ///
        3149  +
        pub fn build(
        3150  +
            self,
        3151  +
        ) -> Result<
        3152  +
            crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
        3153  +
            ConstraintViolation,
        3154  +
        > {
        3155  +
            self.build_enforcing_all_constraints()
        3156  +
        }
        3157  +
        fn build_enforcing_all_constraints(
        3158  +
            self,
        3159  +
        ) -> Result<
        3160  +
            crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
        3161  +
            ConstraintViolation,
        3162  +
        > {
        3163  +
            Ok(
        3164  +
                crate::input::QueryParamsTargetingMapOfLengthStringOperationInput {
        3165  +
                    map_of_length_string: self
        3166  +
                        .map_of_length_string
 4269   3167   
                        .map(|v| match v {
 4270   3168   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4271   3169   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4272   3170   
                        })
 4273         -
                        .map(|res|
 4274         -
                                        res.map_err(ConstraintViolation::LengthSetPatternStringHeader)
 4275         -
                                    )
 4276         -
                                    .transpose()?
 4277         -
                    ,
 4278         -
                    range_byte_set_header: self.range_byte_set_header
 4279         -
                        .map(|v| match v {
 4280         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4281         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3171  +
                        .map(|res| {
        3172  +
                            res.map(|v| v.into())
        3173  +
                                .map_err(ConstraintViolation::MapOfLengthString)
 4282   3174   
                        })
 4283         -
                        .map(|res|
 4284         -
                                        res.map_err(ConstraintViolation::RangeByteSetHeader)
        3175  +
                        .transpose()?,
        3176  +
                },
 4285   3177   
            )
 4286         -
                                    .transpose()?
 4287         -
                    ,
 4288         -
                    range_short_set_header: self.range_short_set_header
 4289         -
                        .map(|v| match v {
 4290         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4291         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4292         -
                                        })
 4293         -
                        .map(|res|
 4294         -
                                        res.map_err(ConstraintViolation::RangeShortSetHeader)
        3178  +
        }
        3179  +
    }
        3180  +
}
        3181  +
/// See [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
        3182  +
pub mod query_params_targeting_map_of_list_of_length_string_operation_input {
        3183  +
        3184  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3185  +
    /// Holds one variant for each of the ways the builder can fail.
        3186  +
    #[non_exhaustive]
        3187  +
    #[allow(clippy::enum_variant_names)]
        3188  +
    pub enum ConstraintViolation {
        3189  +
        /// Constraint violation occurred building member `map_of_list_of_length_string` when building `QueryParamsTargetingMapOfListOfLengthStringOperationInput`.
        3190  +
        #[doc(hidden)]
        3191  +
        MapOfListOfLengthString(crate::model::map_of_list_of_length_string::ConstraintViolation),
        3192  +
    }
        3193  +
    impl ::std::fmt::Display for ConstraintViolation {
        3194  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3195  +
            match self {
        3196  +
                ConstraintViolation::MapOfListOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_list_of_length_string` when building `QueryParamsTargetingMapOfListOfLengthStringOperationInput`"),
        3197  +
            }
        3198  +
        }
        3199  +
    }
        3200  +
    impl ::std::error::Error for ConstraintViolation {}
        3201  +
    impl ConstraintViolation {
        3202  +
        pub(crate) fn as_validation_exception_field(
        3203  +
            self,
        3204  +
            path: ::std::string::String,
        3205  +
        ) -> crate::model::ValidationExceptionField {
        3206  +
            match self {
        3207  +
                ConstraintViolation::MapOfListOfLengthString(inner) => {
        3208  +
                    inner.as_validation_exception_field(path + "/mapOfListOfLengthString")
        3209  +
                }
        3210  +
            }
        3211  +
        }
        3212  +
    }
        3213  +
    impl ::std::convert::From<ConstraintViolation>
        3214  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3215  +
    {
        3216  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3217  +
            let first_validation_exception_field =
        3218  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3219  +
            let validation_exception = crate::error::ValidationException {
        3220  +
                message: format!(
        3221  +
                    "1 validation error detected. {}",
        3222  +
                    &first_validation_exception_field.message
        3223  +
                ),
        3224  +
                field_list: Some(vec![first_validation_exception_field]),
        3225  +
            };
        3226  +
            Self::ConstraintViolation(
        3227  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3228  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4295   3229   
                            )
 4296         -
                                    .transpose()?
 4297         -
                    ,
 4298         -
                    range_integer_set_header: self.range_integer_set_header
        3230  +
        }
        3231  +
    }
        3232  +
    impl ::std::convert::From<Builder>
        3233  +
        for crate::constrained::MaybeConstrained<
        3234  +
            crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
        3235  +
        >
        3236  +
    {
        3237  +
        fn from(builder: Builder) -> Self {
        3238  +
            Self::Unconstrained(builder)
        3239  +
        }
        3240  +
    }
        3241  +
    impl ::std::convert::TryFrom<Builder>
        3242  +
        for crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput
        3243  +
    {
        3244  +
        type Error = ConstraintViolation;
        3245  +
        3246  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3247  +
            builder.build()
        3248  +
        }
        3249  +
    }
        3250  +
    /// A builder for [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
        3251  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3252  +
    pub struct Builder {
        3253  +
        pub(crate) map_of_list_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_string_constrained::MapOfListOfLengthStringConstrained>>,
        3254  +
    }
        3255  +
    impl Builder {
        3256  +
        #[allow(missing_docs)] // documentation missing in model
        3257  +
        pub fn map_of_list_of_length_string(
        3258  +
            mut self,
        3259  +
            input: ::std::option::Option<
        3260  +
                ::std::collections::HashMap<
        3261  +
                    crate::model::LengthString,
        3262  +
                    ::std::vec::Vec<crate::model::LengthString>,
        3263  +
                >,
        3264  +
            >,
        3265  +
        ) -> Self {
        3266  +
            self.map_of_list_of_length_string =
        3267  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3268  +
            self
        3269  +
        }
        3270  +
        #[allow(missing_docs)] // documentation missing in model
        3271  +
        pub(crate) fn set_map_of_list_of_length_string(
        3272  +
            mut self,
        3273  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_string_constrained::MapOfListOfLengthStringConstrained>>>,
        3274  +
        ) -> Self {
        3275  +
            self.map_of_list_of_length_string = input.map(|v| v.into());
        3276  +
            self
        3277  +
        }
        3278  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput).
        3279  +
        ///
        3280  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput) if a [`ConstraintViolation`] occurs.
        3281  +
        ///
        3282  +
        pub fn build(
        3283  +
            self,
        3284  +
        ) -> Result<
        3285  +
            crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
        3286  +
            ConstraintViolation,
        3287  +
        > {
        3288  +
            self.build_enforcing_all_constraints()
        3289  +
        }
        3290  +
        fn build_enforcing_all_constraints(
        3291  +
            self,
        3292  +
        ) -> Result<
        3293  +
            crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
        3294  +
            ConstraintViolation,
        3295  +
        > {
        3296  +
            Ok(
        3297  +
                crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput {
        3298  +
                    map_of_list_of_length_string: self
        3299  +
                        .map_of_list_of_length_string
 4299   3300   
                        .map(|v| match v {
 4300   3301   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4301   3302   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4302   3303   
                        })
 4303         -
                        .map(|res|
 4304         -
                                        res.map_err(ConstraintViolation::RangeIntegerSetHeader)
 4305         -
                                    )
 4306         -
                                    .transpose()?
 4307         -
                    ,
 4308         -
                    range_long_set_header: self.range_long_set_header
 4309         -
                        .map(|v| match v {
 4310         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4311         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3304  +
                        .map(|res| {
        3305  +
                            res.map(|v| v.into())
        3306  +
                                .map_err(ConstraintViolation::MapOfListOfLengthString)
 4312   3307   
                        })
 4313         -
                        .map(|res|
 4314         -
                                        res.map_err(ConstraintViolation::RangeLongSetHeader)
        3308  +
                        .transpose()?,
        3309  +
                },
 4315   3310   
            )
 4316         -
                                    .transpose()?
 4317         -
                    ,
 4318         -
                    range_byte_list_header: self.range_byte_list_header
 4319         -
                        .map(|v| match v {
 4320         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4321         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4322         -
                                        })
 4323         -
                        .map(|res|
 4324         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeByteListHeader)
        3311  +
        }
        3312  +
    }
        3313  +
}
        3314  +
/// See [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
        3315  +
pub mod query_params_targeting_map_of_set_of_length_string_operation_input {
        3316  +
        3317  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3318  +
    /// Holds one variant for each of the ways the builder can fail.
        3319  +
    #[non_exhaustive]
        3320  +
    #[allow(clippy::enum_variant_names)]
        3321  +
    pub enum ConstraintViolation {
        3322  +
        /// Constraint violation occurred building member `map_of_set_of_length_string` when building `QueryParamsTargetingMapOfSetOfLengthStringOperationInput`.
        3323  +
        #[doc(hidden)]
        3324  +
        MapOfSetOfLengthString(crate::model::map_of_set_of_length_string::ConstraintViolation),
        3325  +
    }
        3326  +
    impl ::std::fmt::Display for ConstraintViolation {
        3327  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3328  +
            match self {
        3329  +
                ConstraintViolation::MapOfSetOfLengthString(_) => write!(f, "constraint violation occurred building member `map_of_set_of_length_string` when building `QueryParamsTargetingMapOfSetOfLengthStringOperationInput`"),
        3330  +
            }
        3331  +
        }
        3332  +
    }
        3333  +
    impl ::std::error::Error for ConstraintViolation {}
        3334  +
    impl ConstraintViolation {
        3335  +
        pub(crate) fn as_validation_exception_field(
        3336  +
            self,
        3337  +
            path: ::std::string::String,
        3338  +
        ) -> crate::model::ValidationExceptionField {
        3339  +
            match self {
        3340  +
                ConstraintViolation::MapOfSetOfLengthString(inner) => {
        3341  +
                    inner.as_validation_exception_field(path + "/mapOfSetOfLengthString")
        3342  +
                }
        3343  +
            }
        3344  +
        }
        3345  +
    }
        3346  +
    impl ::std::convert::From<ConstraintViolation>
        3347  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3348  +
    {
        3349  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3350  +
            let first_validation_exception_field =
        3351  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3352  +
            let validation_exception = crate::error::ValidationException {
        3353  +
                message: format!(
        3354  +
                    "1 validation error detected. {}",
        3355  +
                    &first_validation_exception_field.message
        3356  +
                ),
        3357  +
                field_list: Some(vec![first_validation_exception_field]),
        3358  +
            };
        3359  +
            Self::ConstraintViolation(
        3360  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3361  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4325   3362   
                            )
 4326         -
                                    .transpose()?
 4327         -
                    ,
 4328         -
                    range_short_list_header: self.range_short_list_header
        3363  +
        }
        3364  +
    }
        3365  +
    impl ::std::convert::From<Builder>
        3366  +
        for crate::constrained::MaybeConstrained<
        3367  +
            crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
        3368  +
        >
        3369  +
    {
        3370  +
        fn from(builder: Builder) -> Self {
        3371  +
            Self::Unconstrained(builder)
        3372  +
        }
        3373  +
    }
        3374  +
    impl ::std::convert::TryFrom<Builder>
        3375  +
        for crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput
        3376  +
    {
        3377  +
        type Error = ConstraintViolation;
        3378  +
        3379  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3380  +
            builder.build()
        3381  +
        }
        3382  +
    }
        3383  +
    /// A builder for [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
        3384  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3385  +
    pub struct Builder {
        3386  +
        pub(crate) map_of_set_of_length_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_set_of_length_string_constrained::MapOfSetOfLengthStringConstrained>>,
        3387  +
    }
        3388  +
    impl Builder {
        3389  +
        #[allow(missing_docs)] // documentation missing in model
        3390  +
        pub fn map_of_set_of_length_string(
        3391  +
            mut self,
        3392  +
            input: ::std::option::Option<
        3393  +
                ::std::collections::HashMap<
        3394  +
                    crate::model::LengthString,
        3395  +
                    crate::model::SetOfLengthString,
        3396  +
                >,
        3397  +
            >,
        3398  +
        ) -> Self {
        3399  +
            self.map_of_set_of_length_string =
        3400  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3401  +
            self
        3402  +
        }
        3403  +
        #[allow(missing_docs)] // documentation missing in model
        3404  +
        pub(crate) fn set_map_of_set_of_length_string(
        3405  +
            mut self,
        3406  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_set_of_length_string_constrained::MapOfSetOfLengthStringConstrained>>>,
        3407  +
        ) -> Self {
        3408  +
            self.map_of_set_of_length_string = input.map(|v| v.into());
        3409  +
            self
        3410  +
        }
        3411  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput).
        3412  +
        ///
        3413  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput) if a [`ConstraintViolation`] occurs.
        3414  +
        ///
        3415  +
        pub fn build(
        3416  +
            self,
        3417  +
        ) -> Result<
        3418  +
            crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
        3419  +
            ConstraintViolation,
        3420  +
        > {
        3421  +
            self.build_enforcing_all_constraints()
        3422  +
        }
        3423  +
        fn build_enforcing_all_constraints(
        3424  +
            self,
        3425  +
        ) -> Result<
        3426  +
            crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
        3427  +
            ConstraintViolation,
        3428  +
        > {
        3429  +
            Ok(
        3430  +
                crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput {
        3431  +
                    map_of_set_of_length_string: self
        3432  +
                        .map_of_set_of_length_string
 4329   3433   
                        .map(|v| match v {
 4330   3434   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4331   3435   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4332   3436   
                        })
 4333         -
                        .map(|res|
 4334         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeShortListHeader)
 4335         -
                                    )
 4336         -
                                    .transpose()?
 4337         -
                    ,
 4338         -
                    range_integer_list_header: self.range_integer_list_header
 4339         -
                        .map(|v| match v {
 4340         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4341         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3437  +
                        .map(|res| {
        3438  +
                            res.map(|v| v.into())
        3439  +
                                .map_err(ConstraintViolation::MapOfSetOfLengthString)
 4342   3440   
                        })
 4343         -
                        .map(|res|
 4344         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeIntegerListHeader)
        3441  +
                        .transpose()?,
        3442  +
                },
 4345   3443   
            )
 4346         -
                                    .transpose()?
 4347         -
                    ,
 4348         -
                    range_long_list_header: self.range_long_list_header
 4349         -
                        .map(|v| match v {
 4350         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4351         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4352         -
                                        })
 4353         -
                        .map(|res|
 4354         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeLongListHeader)
        3444  +
        }
        3445  +
    }
        3446  +
}
        3447  +
/// See [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
        3448  +
pub mod query_params_targeting_map_of_length_list_of_pattern_string_operation_input {
        3449  +
        3450  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3451  +
    /// Holds one variant for each of the ways the builder can fail.
        3452  +
    #[non_exhaustive]
        3453  +
    #[allow(clippy::enum_variant_names)]
        3454  +
    pub enum ConstraintViolation {
        3455  +
        /// Constraint violation occurred building member `map_of_length_list_of_pattern_string` when building `QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`.
        3456  +
        #[doc(hidden)]
        3457  +
        MapOfLengthListOfPatternString(
        3458  +
            crate::model::map_of_length_list_of_pattern_string::ConstraintViolation,
        3459  +
        ),
        3460  +
    }
        3461  +
    impl ::std::fmt::Display for ConstraintViolation {
        3462  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3463  +
            match self {
        3464  +
                ConstraintViolation::MapOfLengthListOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_list_of_pattern_string` when building `QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`"),
        3465  +
            }
        3466  +
        }
        3467  +
    }
        3468  +
    impl ::std::error::Error for ConstraintViolation {}
        3469  +
    impl ConstraintViolation {
        3470  +
        pub(crate) fn as_validation_exception_field(
        3471  +
            self,
        3472  +
            path: ::std::string::String,
        3473  +
        ) -> crate::model::ValidationExceptionField {
        3474  +
            match self {
        3475  +
                ConstraintViolation::MapOfLengthListOfPatternString(inner) => {
        3476  +
                    inner.as_validation_exception_field(path + "/mapOfLengthListOfPatternString")
        3477  +
                }
        3478  +
            }
        3479  +
        }
        3480  +
    }
        3481  +
    impl ::std::convert::From<ConstraintViolation>
        3482  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3483  +
    {
        3484  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3485  +
            let first_validation_exception_field =
        3486  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3487  +
            let validation_exception = crate::error::ValidationException {
        3488  +
                message: format!(
        3489  +
                    "1 validation error detected. {}",
        3490  +
                    &first_validation_exception_field.message
        3491  +
                ),
        3492  +
                field_list: Some(vec![first_validation_exception_field]),
        3493  +
            };
        3494  +
            Self::ConstraintViolation(
        3495  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3496  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4355   3497   
                            )
 4356         -
                                    .transpose()?
 4357         -
                    ,
 4358         -
                    length_string_query: self.length_string_query
        3498  +
        }
        3499  +
    }
        3500  +
    impl ::std::convert::From<Builder>
        3501  +
        for crate::constrained::MaybeConstrained<
        3502  +
            crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
        3503  +
        >
        3504  +
    {
        3505  +
        fn from(builder: Builder) -> Self {
        3506  +
            Self::Unconstrained(builder)
        3507  +
        }
        3508  +
    }
        3509  +
    impl ::std::convert::TryFrom<Builder>
        3510  +
        for crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput
        3511  +
    {
        3512  +
        type Error = ConstraintViolation;
        3513  +
        3514  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3515  +
            builder.build()
        3516  +
        }
        3517  +
    }
        3518  +
    /// A builder for [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
        3519  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3520  +
    pub struct Builder {
        3521  +
        pub(crate) map_of_length_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_list_of_pattern_string_constrained::MapOfLengthListOfPatternStringConstrained>>,
        3522  +
    }
        3523  +
    impl Builder {
        3524  +
        #[allow(missing_docs)] // documentation missing in model
        3525  +
        pub fn map_of_length_list_of_pattern_string(
        3526  +
            mut self,
        3527  +
            input: ::std::option::Option<
        3528  +
                ::std::collections::HashMap<
        3529  +
                    crate::model::PatternString,
        3530  +
                    crate::model::LengthListOfPatternString,
        3531  +
                >,
        3532  +
            >,
        3533  +
        ) -> Self {
        3534  +
            self.map_of_length_list_of_pattern_string =
        3535  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3536  +
            self
        3537  +
        }
        3538  +
        #[allow(missing_docs)] // documentation missing in model
        3539  +
        pub(crate) fn set_map_of_length_list_of_pattern_string(
        3540  +
            mut self,
        3541  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_list_of_pattern_string_constrained::MapOfLengthListOfPatternStringConstrained>>>,
        3542  +
        ) -> Self {
        3543  +
            self.map_of_length_list_of_pattern_string = input.map(|v| v.into());
        3544  +
            self
        3545  +
        }
        3546  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput).
        3547  +
        ///
        3548  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
        3549  +
        ///
        3550  +
        pub fn build(
        3551  +
            self,
        3552  +
        ) -> Result<
        3553  +
            crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
        3554  +
            ConstraintViolation,
        3555  +
        > {
        3556  +
            self.build_enforcing_all_constraints()
        3557  +
        }
        3558  +
        fn build_enforcing_all_constraints(
        3559  +
            self,
        3560  +
        ) -> Result<
        3561  +
            crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
        3562  +
            ConstraintViolation,
        3563  +
        > {
        3564  +
            Ok(
        3565  +
                crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput {
        3566  +
                    map_of_length_list_of_pattern_string: self
        3567  +
                        .map_of_length_list_of_pattern_string
 4359   3568   
                        .map(|v| match v {
 4360   3569   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4361   3570   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4362   3571   
                        })
 4363         -
                        .map(|res|
 4364         -
                                        res.map_err(ConstraintViolation::LengthStringQuery)
 4365         -
                                    )
 4366         -
                                    .transpose()?
 4367         -
                    ,
 4368         -
                    range_byte_query: self.range_byte_query
 4369         -
                        .map(|v| match v {
 4370         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4371         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3572  +
                        .map(|res| {
        3573  +
                            res.map(|v| v.into())
        3574  +
                                .map_err(ConstraintViolation::MapOfLengthListOfPatternString)
 4372   3575   
                        })
 4373         -
                        .map(|res|
 4374         -
                                        res.map_err(ConstraintViolation::RangeByteQuery)
        3576  +
                        .transpose()?,
        3577  +
                },
 4375   3578   
            )
 4376         -
                                    .transpose()?
 4377         -
                        .unwrap_or_else(||
 4378         -
                                            0i8
 4379         -
                                                .try_into()
 4380         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        3579  +
        }
        3580  +
    }
        3581  +
}
        3582  +
/// See [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
        3583  +
pub mod query_params_targeting_map_of_list_of_enum_string_operation_input {
        3584  +
        3585  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3586  +
    /// Holds one variant for each of the ways the builder can fail.
        3587  +
    #[non_exhaustive]
        3588  +
    #[allow(clippy::enum_variant_names)]
        3589  +
    pub enum ConstraintViolation {
        3590  +
        /// Constraint violation occurred building member `map_of_list_of_enum_string` when building `QueryParamsTargetingMapOfListOfEnumStringOperationInput`.
        3591  +
        #[doc(hidden)]
        3592  +
        MapOfListOfEnumString(crate::model::map_of_list_of_enum_string::ConstraintViolation),
        3593  +
    }
        3594  +
    impl ::std::fmt::Display for ConstraintViolation {
        3595  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3596  +
            match self {
        3597  +
                ConstraintViolation::MapOfListOfEnumString(_) => write!(f, "constraint violation occurred building member `map_of_list_of_enum_string` when building `QueryParamsTargetingMapOfListOfEnumStringOperationInput`"),
        3598  +
            }
        3599  +
        }
        3600  +
    }
        3601  +
    impl ::std::error::Error for ConstraintViolation {}
        3602  +
    impl ConstraintViolation {
        3603  +
        pub(crate) fn as_validation_exception_field(
        3604  +
            self,
        3605  +
            path: ::std::string::String,
        3606  +
        ) -> crate::model::ValidationExceptionField {
        3607  +
            match self {
        3608  +
                ConstraintViolation::MapOfListOfEnumString(inner) => {
        3609  +
                    inner.as_validation_exception_field(path + "/mapOfListOfEnumString")
        3610  +
                }
        3611  +
            }
        3612  +
        }
        3613  +
    }
        3614  +
    impl ::std::convert::From<ConstraintViolation>
        3615  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3616  +
    {
        3617  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3618  +
            let first_validation_exception_field =
        3619  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3620  +
            let validation_exception = crate::error::ValidationException {
        3621  +
                message: format!(
        3622  +
                    "1 validation error detected. {}",
        3623  +
                    &first_validation_exception_field.message
        3624  +
                ),
        3625  +
                field_list: Some(vec![first_validation_exception_field]),
        3626  +
            };
        3627  +
            Self::ConstraintViolation(
        3628  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3629  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4381   3630   
                            )
 4382         -
                    ,
 4383         -
                    range_short_query: self.range_short_query
        3631  +
        }
        3632  +
    }
        3633  +
    impl ::std::convert::From<Builder>
        3634  +
        for crate::constrained::MaybeConstrained<
        3635  +
            crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
        3636  +
        >
        3637  +
    {
        3638  +
        fn from(builder: Builder) -> Self {
        3639  +
            Self::Unconstrained(builder)
        3640  +
        }
        3641  +
    }
        3642  +
    impl ::std::convert::TryFrom<Builder>
        3643  +
        for crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput
        3644  +
    {
        3645  +
        type Error = ConstraintViolation;
        3646  +
        3647  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3648  +
            builder.build()
        3649  +
        }
        3650  +
    }
        3651  +
    /// A builder for [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
        3652  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3653  +
    pub struct Builder {
        3654  +
        pub(crate) map_of_list_of_enum_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_enum_string_constrained::MapOfListOfEnumStringConstrained>>,
        3655  +
    }
        3656  +
    impl Builder {
        3657  +
        #[allow(missing_docs)] // documentation missing in model
        3658  +
        pub fn map_of_list_of_enum_string(
        3659  +
            mut self,
        3660  +
            input: ::std::option::Option<
        3661  +
                ::std::collections::HashMap<
        3662  +
                    crate::model::EnumString,
        3663  +
                    ::std::vec::Vec<crate::model::EnumString>,
        3664  +
                >,
        3665  +
            >,
        3666  +
        ) -> Self {
        3667  +
            self.map_of_list_of_enum_string =
        3668  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3669  +
            self
        3670  +
        }
        3671  +
        #[allow(missing_docs)] // documentation missing in model
        3672  +
        pub(crate) fn set_map_of_list_of_enum_string(
        3673  +
            mut self,
        3674  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_enum_string_constrained::MapOfListOfEnumStringConstrained>>>,
        3675  +
        ) -> Self {
        3676  +
            self.map_of_list_of_enum_string = input.map(|v| v.into());
        3677  +
            self
        3678  +
        }
        3679  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput).
        3680  +
        ///
        3681  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput) if a [`ConstraintViolation`] occurs.
        3682  +
        ///
        3683  +
        pub fn build(
        3684  +
            self,
        3685  +
        ) -> Result<
        3686  +
            crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
        3687  +
            ConstraintViolation,
        3688  +
        > {
        3689  +
            self.build_enforcing_all_constraints()
        3690  +
        }
        3691  +
        fn build_enforcing_all_constraints(
        3692  +
            self,
        3693  +
        ) -> Result<
        3694  +
            crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
        3695  +
            ConstraintViolation,
        3696  +
        > {
        3697  +
            Ok(
        3698  +
                crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput {
        3699  +
                    map_of_list_of_enum_string: self
        3700  +
                        .map_of_list_of_enum_string
 4384   3701   
                        .map(|v| match v {
 4385   3702   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4386   3703   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4387   3704   
                        })
 4388         -
                        .map(|res|
 4389         -
                                        res.map_err(ConstraintViolation::RangeShortQuery)
        3705  +
                        .map(|res| {
        3706  +
                            res.map(|v| v.into())
        3707  +
                                .map_err(ConstraintViolation::MapOfListOfEnumString)
        3708  +
                        })
        3709  +
                        .transpose()?,
        3710  +
                },
 4390   3711   
            )
 4391         -
                                    .transpose()?
 4392         -
                        .unwrap_or_else(||
 4393         -
                                            0i16
 4394         -
                                                .try_into()
 4395         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        3712  +
        }
        3713  +
    }
        3714  +
}
        3715  +
/// See [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
        3716  +
pub mod query_params_targeting_map_of_pattern_string_operation_input {
        3717  +
        3718  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3719  +
    /// Holds one variant for each of the ways the builder can fail.
        3720  +
    #[non_exhaustive]
        3721  +
    #[allow(clippy::enum_variant_names)]
        3722  +
    pub enum ConstraintViolation {
        3723  +
        /// Constraint violation occurred building member `map_of_pattern_string` when building `QueryParamsTargetingMapOfPatternStringOperationInput`.
        3724  +
        #[doc(hidden)]
        3725  +
        MapOfPatternString(crate::model::map_of_pattern_string::ConstraintViolation),
        3726  +
    }
        3727  +
    impl ::std::fmt::Display for ConstraintViolation {
        3728  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3729  +
            match self {
        3730  +
                ConstraintViolation::MapOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_pattern_string` when building `QueryParamsTargetingMapOfPatternStringOperationInput`"),
        3731  +
            }
        3732  +
        }
        3733  +
    }
        3734  +
    impl ::std::error::Error for ConstraintViolation {}
        3735  +
    impl ConstraintViolation {
        3736  +
        pub(crate) fn as_validation_exception_field(
        3737  +
            self,
        3738  +
            path: ::std::string::String,
        3739  +
        ) -> crate::model::ValidationExceptionField {
        3740  +
            match self {
        3741  +
                ConstraintViolation::MapOfPatternString(inner) => {
        3742  +
                    inner.as_validation_exception_field(path + "/mapOfPatternString")
        3743  +
                }
        3744  +
            }
        3745  +
        }
        3746  +
    }
        3747  +
    impl ::std::convert::From<ConstraintViolation>
        3748  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3749  +
    {
        3750  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3751  +
            let first_validation_exception_field =
        3752  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3753  +
            let validation_exception = crate::error::ValidationException {
        3754  +
                message: format!(
        3755  +
                    "1 validation error detected. {}",
        3756  +
                    &first_validation_exception_field.message
        3757  +
                ),
        3758  +
                field_list: Some(vec![first_validation_exception_field]),
        3759  +
            };
        3760  +
            Self::ConstraintViolation(
        3761  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3762  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4396   3763   
                            )
 4397         -
                    ,
 4398         -
                    range_integer_query: self.range_integer_query
        3764  +
        }
        3765  +
    }
        3766  +
    impl ::std::convert::From<Builder>
        3767  +
        for crate::constrained::MaybeConstrained<
        3768  +
            crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
        3769  +
        >
        3770  +
    {
        3771  +
        fn from(builder: Builder) -> Self {
        3772  +
            Self::Unconstrained(builder)
        3773  +
        }
        3774  +
    }
        3775  +
    impl ::std::convert::TryFrom<Builder>
        3776  +
        for crate::input::QueryParamsTargetingMapOfPatternStringOperationInput
        3777  +
    {
        3778  +
        type Error = ConstraintViolation;
        3779  +
        3780  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3781  +
            builder.build()
        3782  +
        }
        3783  +
    }
        3784  +
    /// A builder for [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
        3785  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3786  +
    pub struct Builder {
        3787  +
        pub(crate) map_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>,
        3788  +
    }
        3789  +
    impl Builder {
        3790  +
        #[allow(missing_docs)] // documentation missing in model
        3791  +
        pub fn map_of_pattern_string(
        3792  +
            mut self,
        3793  +
            input: ::std::option::Option<
        3794  +
                ::std::collections::HashMap<
        3795  +
                    crate::model::PatternString,
        3796  +
                    crate::model::PatternString,
        3797  +
                >,
        3798  +
            >,
        3799  +
        ) -> Self {
        3800  +
            self.map_of_pattern_string =
        3801  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3802  +
            self
        3803  +
        }
        3804  +
        #[allow(missing_docs)] // documentation missing in model
        3805  +
        pub(crate) fn set_map_of_pattern_string(
        3806  +
            mut self,
        3807  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_pattern_string_constrained::MapOfPatternStringConstrained>>>,
        3808  +
        ) -> Self {
        3809  +
            self.map_of_pattern_string = input.map(|v| v.into());
        3810  +
            self
        3811  +
        }
        3812  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput).
        3813  +
        ///
        3814  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
        3815  +
        ///
        3816  +
        pub fn build(
        3817  +
            self,
        3818  +
        ) -> Result<
        3819  +
            crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
        3820  +
            ConstraintViolation,
        3821  +
        > {
        3822  +
            self.build_enforcing_all_constraints()
        3823  +
        }
        3824  +
        fn build_enforcing_all_constraints(
        3825  +
            self,
        3826  +
        ) -> Result<
        3827  +
            crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
        3828  +
            ConstraintViolation,
        3829  +
        > {
        3830  +
            Ok(
        3831  +
                crate::input::QueryParamsTargetingMapOfPatternStringOperationInput {
        3832  +
                    map_of_pattern_string: self
        3833  +
                        .map_of_pattern_string
 4399   3834   
                        .map(|v| match v {
 4400   3835   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4401   3836   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4402   3837   
                        })
 4403         -
                        .map(|res|
 4404         -
                                        res.map_err(ConstraintViolation::RangeIntegerQuery)
 4405         -
                                    )
 4406         -
                                    .transpose()?
 4407         -
                        .unwrap_or_else(||
 4408         -
                                            0i32
 4409         -
                                                .try_into()
 4410         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4411         -
                                        )
 4412         -
                    ,
 4413         -
                    range_long_query: self.range_long_query
 4414         -
                        .map(|v| match v {
 4415         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4416         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3838  +
                        .map(|res| {
        3839  +
                            res.map(|v| v.into())
        3840  +
                                .map_err(ConstraintViolation::MapOfPatternString)
 4417   3841   
                        })
 4418         -
                        .map(|res|
 4419         -
                                        res.map_err(ConstraintViolation::RangeLongQuery)
 4420         -
                                    )
 4421         -
                                    .transpose()?
 4422         -
                        .unwrap_or_else(||
 4423         -
                                            0i64
 4424         -
                                                .try_into()
 4425         -
                                                .expect("this check should have failed at generation time; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
        3842  +
                        .transpose()?,
        3843  +
                },
 4426   3844   
            )
 4427         -
                    ,
 4428         -
                    enum_string_query: self.enum_string_query
 4429         -
                        .map(|v| match v {
 4430         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4431         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4432         -
                                        })
 4433         -
                        .map(|res|
 4434         -
                                        res.map_err(ConstraintViolation::EnumStringQuery)
        3845  +
        }
        3846  +
    }
        3847  +
}
        3848  +
/// See [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
        3849  +
pub mod query_params_targeting_map_of_list_of_pattern_string_operation_input {
        3850  +
        3851  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3852  +
    /// Holds one variant for each of the ways the builder can fail.
        3853  +
    #[non_exhaustive]
        3854  +
    #[allow(clippy::enum_variant_names)]
        3855  +
    pub enum ConstraintViolation {
        3856  +
        /// Constraint violation occurred building member `map_of_list_of_pattern_string` when building `QueryParamsTargetingMapOfListOfPatternStringOperationInput`.
        3857  +
        #[doc(hidden)]
        3858  +
        MapOfListOfPatternString(crate::model::map_of_list_of_pattern_string::ConstraintViolation),
        3859  +
    }
        3860  +
    impl ::std::fmt::Display for ConstraintViolation {
        3861  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3862  +
            match self {
        3863  +
                ConstraintViolation::MapOfListOfPatternString(_) => write!(f, "constraint violation occurred building member `map_of_list_of_pattern_string` when building `QueryParamsTargetingMapOfListOfPatternStringOperationInput`"),
        3864  +
            }
        3865  +
        }
        3866  +
    }
        3867  +
    impl ::std::error::Error for ConstraintViolation {}
        3868  +
    impl ConstraintViolation {
        3869  +
        pub(crate) fn as_validation_exception_field(
        3870  +
            self,
        3871  +
            path: ::std::string::String,
        3872  +
        ) -> crate::model::ValidationExceptionField {
        3873  +
            match self {
        3874  +
                ConstraintViolation::MapOfListOfPatternString(inner) => {
        3875  +
                    inner.as_validation_exception_field(path + "/mapOfListOfPatternString")
        3876  +
                }
        3877  +
            }
        3878  +
        }
        3879  +
    }
        3880  +
    impl ::std::convert::From<ConstraintViolation>
        3881  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3882  +
    {
        3883  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        3884  +
            let first_validation_exception_field =
        3885  +
                constraint_violation.as_validation_exception_field("".to_owned());
        3886  +
            let validation_exception = crate::error::ValidationException {
        3887  +
                message: format!(
        3888  +
                    "1 validation error detected. {}",
        3889  +
                    &first_validation_exception_field.message
        3890  +
                ),
        3891  +
                field_list: Some(vec![first_validation_exception_field]),
        3892  +
            };
        3893  +
            Self::ConstraintViolation(
        3894  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        3895  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4435   3896   
                            )
 4436         -
                                    .transpose()?
 4437         -
                    ,
 4438         -
                    length_string_list_query: self.length_string_list_query
        3897  +
        }
        3898  +
    }
        3899  +
    impl ::std::convert::From<Builder>
        3900  +
        for crate::constrained::MaybeConstrained<
        3901  +
            crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
        3902  +
        >
        3903  +
    {
        3904  +
        fn from(builder: Builder) -> Self {
        3905  +
            Self::Unconstrained(builder)
        3906  +
        }
        3907  +
    }
        3908  +
    impl ::std::convert::TryFrom<Builder>
        3909  +
        for crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput
        3910  +
    {
        3911  +
        type Error = ConstraintViolation;
        3912  +
        3913  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        3914  +
            builder.build()
        3915  +
        }
        3916  +
    }
        3917  +
    /// A builder for [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
        3918  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3919  +
    pub struct Builder {
        3920  +
        pub(crate) map_of_list_of_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_pattern_string_constrained::MapOfListOfPatternStringConstrained>>,
        3921  +
    }
        3922  +
    impl Builder {
        3923  +
        #[allow(missing_docs)] // documentation missing in model
        3924  +
        pub fn map_of_list_of_pattern_string(
        3925  +
            mut self,
        3926  +
            input: ::std::option::Option<
        3927  +
                ::std::collections::HashMap<
        3928  +
                    crate::model::PatternString,
        3929  +
                    ::std::vec::Vec<crate::model::PatternString>,
        3930  +
                >,
        3931  +
            >,
        3932  +
        ) -> Self {
        3933  +
            self.map_of_list_of_pattern_string =
        3934  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        3935  +
            self
        3936  +
        }
        3937  +
        #[allow(missing_docs)] // documentation missing in model
        3938  +
        pub(crate) fn set_map_of_list_of_pattern_string(
        3939  +
            mut self,
        3940  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_pattern_string_constrained::MapOfListOfPatternStringConstrained>>>,
        3941  +
        ) -> Self {
        3942  +
            self.map_of_list_of_pattern_string = input.map(|v| v.into());
        3943  +
            self
        3944  +
        }
        3945  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput).
        3946  +
        ///
        3947  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
        3948  +
        ///
        3949  +
        pub fn build(
        3950  +
            self,
        3951  +
        ) -> Result<
        3952  +
            crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
        3953  +
            ConstraintViolation,
        3954  +
        > {
        3955  +
            self.build_enforcing_all_constraints()
        3956  +
        }
        3957  +
        fn build_enforcing_all_constraints(
        3958  +
            self,
        3959  +
        ) -> Result<
        3960  +
            crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
        3961  +
            ConstraintViolation,
        3962  +
        > {
        3963  +
            Ok(
        3964  +
                crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput {
        3965  +
                    map_of_list_of_pattern_string: self
        3966  +
                        .map_of_list_of_pattern_string
 4439   3967   
                        .map(|v| match v {
 4440   3968   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4441   3969   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4442   3970   
                        })
 4443         -
                        .map(|res|
 4444         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::LengthStringListQuery)
 4445         -
                                    )
 4446         -
                                    .transpose()?
 4447         -
                    ,
 4448         -
                    length_list_pattern_string_query: self.length_list_pattern_string_query
 4449         -
                        .map(|v| match v {
 4450         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4451         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        3971  +
                        .map(|res| {
        3972  +
                            res.map(|v| v.into())
        3973  +
                                .map_err(ConstraintViolation::MapOfListOfPatternString)
 4452   3974   
                        })
 4453         -
                        .map(|res|
 4454         -
                                        res.map_err(ConstraintViolation::LengthListPatternStringQuery)
        3975  +
                        .transpose()?,
        3976  +
                },
 4455   3977   
            )
 4456         -
                                    .transpose()?
 4457         -
                    ,
 4458         -
                    length_string_set_query: self.length_string_set_query
 4459         -
                        .map(|v| match v {
 4460         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4461         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4462         -
                                        })
 4463         -
                        .map(|res|
 4464         -
                                        res.map_err(ConstraintViolation::LengthStringSetQuery)
        3978  +
        }
        3979  +
    }
        3980  +
}
        3981  +
/// See [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
        3982  +
pub mod query_params_targeting_map_of_length_pattern_string_operation_input {
        3983  +
        3984  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        3985  +
    /// Holds one variant for each of the ways the builder can fail.
        3986  +
    #[non_exhaustive]
        3987  +
    #[allow(clippy::enum_variant_names)]
        3988  +
    pub enum ConstraintViolation {
        3989  +
        /// Constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfLengthPatternStringOperationInput`.
        3990  +
        #[doc(hidden)]
        3991  +
        MapOfLengthPatternString(crate::model::map_of_length_pattern_string::ConstraintViolation),
        3992  +
    }
        3993  +
    impl ::std::fmt::Display for ConstraintViolation {
        3994  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3995  +
            match self {
        3996  +
                ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfLengthPatternStringOperationInput`"),
        3997  +
            }
        3998  +
        }
        3999  +
    }
        4000  +
    impl ::std::error::Error for ConstraintViolation {}
        4001  +
    impl ConstraintViolation {
        4002  +
        pub(crate) fn as_validation_exception_field(
        4003  +
            self,
        4004  +
            path: ::std::string::String,
        4005  +
        ) -> crate::model::ValidationExceptionField {
        4006  +
            match self {
        4007  +
                ConstraintViolation::MapOfLengthPatternString(inner) => {
        4008  +
                    inner.as_validation_exception_field(path + "/mapOfLengthPatternString")
        4009  +
                }
        4010  +
            }
        4011  +
        }
        4012  +
    }
        4013  +
    impl ::std::convert::From<ConstraintViolation>
        4014  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4015  +
    {
        4016  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        4017  +
            let first_validation_exception_field =
        4018  +
                constraint_violation.as_validation_exception_field("".to_owned());
        4019  +
            let validation_exception = crate::error::ValidationException {
        4020  +
                message: format!(
        4021  +
                    "1 validation error detected. {}",
        4022  +
                    &first_validation_exception_field.message
        4023  +
                ),
        4024  +
                field_list: Some(vec![first_validation_exception_field]),
        4025  +
            };
        4026  +
            Self::ConstraintViolation(
        4027  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        4028  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4465   4029   
                            )
 4466         -
                                    .transpose()?
 4467         -
                    ,
 4468         -
                    range_byte_list_query: self.range_byte_list_query
        4030  +
        }
        4031  +
    }
        4032  +
    impl ::std::convert::From<Builder>
        4033  +
        for crate::constrained::MaybeConstrained<
        4034  +
            crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
        4035  +
        >
        4036  +
    {
        4037  +
        fn from(builder: Builder) -> Self {
        4038  +
            Self::Unconstrained(builder)
        4039  +
        }
        4040  +
    }
        4041  +
    impl ::std::convert::TryFrom<Builder>
        4042  +
        for crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput
        4043  +
    {
        4044  +
        type Error = ConstraintViolation;
        4045  +
        4046  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        4047  +
            builder.build()
        4048  +
        }
        4049  +
    }
        4050  +
    /// A builder for [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
        4051  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4052  +
    pub struct Builder {
        4053  +
        pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>,
        4054  +
    }
        4055  +
    impl Builder {
        4056  +
        #[allow(missing_docs)] // documentation missing in model
        4057  +
        pub fn map_of_length_pattern_string(
        4058  +
            mut self,
        4059  +
            input: ::std::option::Option<
        4060  +
                ::std::collections::HashMap<
        4061  +
                    crate::model::LengthPatternString,
        4062  +
                    crate::model::LengthPatternString,
        4063  +
                >,
        4064  +
            >,
        4065  +
        ) -> Self {
        4066  +
            self.map_of_length_pattern_string =
        4067  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        4068  +
            self
        4069  +
        }
        4070  +
        #[allow(missing_docs)] // documentation missing in model
        4071  +
        pub(crate) fn set_map_of_length_pattern_string(
        4072  +
            mut self,
        4073  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_length_pattern_string_constrained::MapOfLengthPatternStringConstrained>>>,
        4074  +
        ) -> Self {
        4075  +
            self.map_of_length_pattern_string = input.map(|v| v.into());
        4076  +
            self
        4077  +
        }
        4078  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput).
        4079  +
        ///
        4080  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
        4081  +
        ///
        4082  +
        pub fn build(
        4083  +
            self,
        4084  +
        ) -> Result<
        4085  +
            crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
        4086  +
            ConstraintViolation,
        4087  +
        > {
        4088  +
            self.build_enforcing_all_constraints()
        4089  +
        }
        4090  +
        fn build_enforcing_all_constraints(
        4091  +
            self,
        4092  +
        ) -> Result<
        4093  +
            crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
        4094  +
            ConstraintViolation,
        4095  +
        > {
        4096  +
            Ok(
        4097  +
                crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput {
        4098  +
                    map_of_length_pattern_string: self
        4099  +
                        .map_of_length_pattern_string
 4469   4100   
                        .map(|v| match v {
 4470   4101   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4471   4102   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4472   4103   
                        })
 4473         -
                        .map(|res|
 4474         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeByteListQuery)
 4475         -
                                    )
 4476         -
                                    .transpose()?
 4477         -
                    ,
 4478         -
                    range_short_list_query: self.range_short_list_query
 4479         -
                        .map(|v| match v {
 4480         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4481         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        4104  +
                        .map(|res| {
        4105  +
                            res.map(|v| v.into())
        4106  +
                                .map_err(ConstraintViolation::MapOfLengthPatternString)
 4482   4107   
                        })
 4483         -
                        .map(|res|
 4484         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeShortListQuery)
        4108  +
                        .transpose()?,
        4109  +
                },
 4485   4110   
            )
 4486         -
                                    .transpose()?
 4487         -
                    ,
 4488         -
                    range_integer_list_query: self.range_integer_list_query
 4489         -
                        .map(|v| match v {
 4490         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4491         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4492         -
                                        })
 4493         -
                        .map(|res|
 4494         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeIntegerListQuery)
        4111  +
        }
        4112  +
    }
        4113  +
}
        4114  +
/// See [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
        4115  +
pub mod query_params_targeting_map_of_list_of_length_pattern_string_operation_input {
        4116  +
        4117  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        4118  +
    /// Holds one variant for each of the ways the builder can fail.
        4119  +
    #[non_exhaustive]
        4120  +
    #[allow(clippy::enum_variant_names)]
        4121  +
    pub enum ConstraintViolation {
        4122  +
        /// Constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`.
        4123  +
        #[doc(hidden)]
        4124  +
        MapOfLengthPatternString(
        4125  +
            crate::model::map_of_list_of_length_pattern_string::ConstraintViolation,
        4126  +
        ),
        4127  +
    }
        4128  +
    impl ::std::fmt::Display for ConstraintViolation {
        4129  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4130  +
            match self {
        4131  +
                ConstraintViolation::MapOfLengthPatternString(_) => write!(f, "constraint violation occurred building member `map_of_length_pattern_string` when building `QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`"),
        4132  +
            }
        4133  +
        }
        4134  +
    }
        4135  +
    impl ::std::error::Error for ConstraintViolation {}
        4136  +
    impl ConstraintViolation {
        4137  +
        pub(crate) fn as_validation_exception_field(
        4138  +
            self,
        4139  +
            path: ::std::string::String,
        4140  +
        ) -> crate::model::ValidationExceptionField {
        4141  +
            match self {
        4142  +
                ConstraintViolation::MapOfLengthPatternString(inner) => {
        4143  +
                    inner.as_validation_exception_field(path + "/mapOfLengthPatternString")
        4144  +
                }
        4145  +
            }
        4146  +
        }
        4147  +
    }
        4148  +
    impl ::std::convert::From<ConstraintViolation>
        4149  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4150  +
    {
        4151  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        4152  +
            let first_validation_exception_field =
        4153  +
                constraint_violation.as_validation_exception_field("".to_owned());
        4154  +
            let validation_exception = crate::error::ValidationException {
        4155  +
                message: format!(
        4156  +
                    "1 validation error detected. {}",
        4157  +
                    &first_validation_exception_field.message
        4158  +
                ),
        4159  +
                field_list: Some(vec![first_validation_exception_field]),
        4160  +
            };
        4161  +
            Self::ConstraintViolation(
        4162  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        4163  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4495   4164   
                            )
 4496         -
                                    .transpose()?
 4497         -
                    ,
 4498         -
                    range_long_list_query: self.range_long_list_query
        4165  +
        }
        4166  +
    }
        4167  +
    impl ::std::convert::From<Builder>
        4168  +
        for crate::constrained::MaybeConstrained<
        4169  +
            crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
        4170  +
        >
        4171  +
    {
        4172  +
        fn from(builder: Builder) -> Self {
        4173  +
            Self::Unconstrained(builder)
        4174  +
        }
        4175  +
    }
        4176  +
    impl ::std::convert::TryFrom<Builder>
        4177  +
        for crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput
        4178  +
    {
        4179  +
        type Error = ConstraintViolation;
        4180  +
        4181  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        4182  +
            builder.build()
        4183  +
        }
        4184  +
    }
        4185  +
    /// A builder for [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
        4186  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4187  +
    pub struct Builder {
        4188  +
        pub(crate) map_of_length_pattern_string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_pattern_string_constrained::MapOfListOfLengthPatternStringConstrained>>,
        4189  +
    }
        4190  +
    impl Builder {
        4191  +
        #[allow(missing_docs)] // documentation missing in model
        4192  +
        pub fn map_of_length_pattern_string(
        4193  +
            mut self,
        4194  +
            input: ::std::option::Option<
        4195  +
                ::std::collections::HashMap<
        4196  +
                    crate::model::LengthPatternString,
        4197  +
                    ::std::vec::Vec<crate::model::LengthPatternString>,
        4198  +
                >,
        4199  +
            >,
        4200  +
        ) -> Self {
        4201  +
            self.map_of_length_pattern_string =
        4202  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        4203  +
            self
        4204  +
        }
        4205  +
        #[allow(missing_docs)] // documentation missing in model
        4206  +
        pub(crate) fn set_map_of_length_pattern_string(
        4207  +
            mut self,
        4208  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_list_of_length_pattern_string_constrained::MapOfListOfLengthPatternStringConstrained>>>,
        4209  +
        ) -> Self {
        4210  +
            self.map_of_length_pattern_string = input.map(|v| v.into());
        4211  +
            self
        4212  +
        }
        4213  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput).
        4214  +
        ///
        4215  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput) if a [`ConstraintViolation`] occurs.
        4216  +
        ///
        4217  +
        pub fn build(
        4218  +
            self,
        4219  +
        ) -> Result<
        4220  +
            crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
        4221  +
            ConstraintViolation,
        4222  +
        > {
        4223  +
            self.build_enforcing_all_constraints()
        4224  +
        }
        4225  +
        fn build_enforcing_all_constraints(
        4226  +
            self,
        4227  +
        ) -> Result<
        4228  +
            crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
        4229  +
            ConstraintViolation,
        4230  +
        > {
        4231  +
            Ok(
        4232  +
                crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput {
        4233  +
                    map_of_length_pattern_string: self
        4234  +
                        .map_of_length_pattern_string
 4499   4235   
                        .map(|v| match v {
 4500   4236   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4501   4237   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4502   4238   
                        })
 4503         -
                        .map(|res|
 4504         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::RangeLongListQuery)
 4505         -
                                    )
 4506         -
                                    .transpose()?
 4507         -
                    ,
 4508         -
                    range_byte_set_query: self.range_byte_set_query
 4509         -
                        .map(|v| match v {
 4510         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4511         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
        4239  +
                        .map(|res| {
        4240  +
                            res.map(|v| v.into())
        4241  +
                                .map_err(ConstraintViolation::MapOfLengthPatternString)
 4512   4242   
                        })
 4513         -
                        .map(|res|
 4514         -
                                        res.map_err(ConstraintViolation::RangeByteSetQuery)
        4243  +
                        .transpose()?,
        4244  +
                },
 4515   4245   
            )
 4516         -
                                    .transpose()?
 4517         -
                    ,
 4518         -
                    range_short_set_query: self.range_short_set_query
 4519         -
                        .map(|v| match v {
 4520         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4521         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4522         -
                                        })
 4523         -
                        .map(|res|
 4524         -
                                        res.map_err(ConstraintViolation::RangeShortSetQuery)
        4246  +
        }
        4247  +
    }
        4248  +
}
        4249  +
/// See [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
        4250  +
pub mod http_prefix_headers_targeting_length_map_operation_input {
        4251  +
        4252  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        4253  +
    /// Holds one variant for each of the ways the builder can fail.
        4254  +
    #[non_exhaustive]
        4255  +
    #[allow(clippy::enum_variant_names)]
        4256  +
    pub enum ConstraintViolation {
        4257  +
        /// Constraint violation occurred building member `length_map` when building `HttpPrefixHeadersTargetingLengthMapOperationInput`.
        4258  +
        #[doc(hidden)]
        4259  +
        LengthMap(crate::model::con_b_map::ConstraintViolation),
        4260  +
    }
        4261  +
    impl ::std::fmt::Display for ConstraintViolation {
        4262  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4263  +
            match self {
        4264  +
                ConstraintViolation::LengthMap(_) => write!(f, "constraint violation occurred building member `length_map` when building `HttpPrefixHeadersTargetingLengthMapOperationInput`"),
        4265  +
            }
        4266  +
        }
        4267  +
    }
        4268  +
    impl ::std::error::Error for ConstraintViolation {}
        4269  +
    impl ConstraintViolation {
        4270  +
        pub(crate) fn as_validation_exception_field(
        4271  +
            self,
        4272  +
            path: ::std::string::String,
        4273  +
        ) -> crate::model::ValidationExceptionField {
        4274  +
            match self {
        4275  +
                ConstraintViolation::LengthMap(inner) => {
        4276  +
                    inner.as_validation_exception_field(path + "/lengthMap")
        4277  +
                }
        4278  +
            }
        4279  +
        }
        4280  +
    }
        4281  +
    impl ::std::convert::From<ConstraintViolation>
        4282  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4283  +
    {
        4284  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        4285  +
            let first_validation_exception_field =
        4286  +
                constraint_violation.as_validation_exception_field("".to_owned());
        4287  +
            let validation_exception = crate::error::ValidationException {
        4288  +
                message: format!(
        4289  +
                    "1 validation error detected. {}",
        4290  +
                    &first_validation_exception_field.message
        4291  +
                ),
        4292  +
                field_list: Some(vec![first_validation_exception_field]),
        4293  +
            };
        4294  +
            Self::ConstraintViolation(
        4295  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        4296  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4525   4297   
                            )
 4526         -
                                    .transpose()?
 4527         -
                    ,
 4528         -
                    range_integer_set_query: self.range_integer_set_query
        4298  +
        }
        4299  +
    }
        4300  +
    impl ::std::convert::From<Builder>
        4301  +
        for crate::constrained::MaybeConstrained<
        4302  +
            crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
        4303  +
        >
        4304  +
    {
        4305  +
        fn from(builder: Builder) -> Self {
        4306  +
            Self::Unconstrained(builder)
        4307  +
        }
        4308  +
    }
        4309  +
    impl ::std::convert::TryFrom<Builder>
        4310  +
        for crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput
        4311  +
    {
        4312  +
        type Error = ConstraintViolation;
        4313  +
        4314  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        4315  +
            builder.build()
        4316  +
        }
        4317  +
    }
        4318  +
    /// A builder for [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
        4319  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4320  +
    pub struct Builder {
        4321  +
        pub(crate) length_map:
        4322  +
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
        4323  +
    }
        4324  +
    impl Builder {
        4325  +
        #[allow(missing_docs)] // documentation missing in model
        4326  +
        pub fn length_map(mut self, input: ::std::option::Option<crate::model::ConBMap>) -> Self {
        4327  +
            self.length_map = input.map(crate::constrained::MaybeConstrained::Constrained);
        4328  +
            self
        4329  +
        }
        4330  +
        #[allow(missing_docs)] // documentation missing in model
        4331  +
        pub(crate) fn set_length_map(
        4332  +
            mut self,
        4333  +
            input: Option<
        4334  +
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
        4335  +
            >,
        4336  +
        ) -> Self {
        4337  +
            self.length_map = input.map(|v| v.into());
        4338  +
            self
        4339  +
        }
        4340  +
        /// Consumes the builder and constructs a [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput).
        4341  +
        ///
        4342  +
        /// The builder fails to construct a [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput) if a [`ConstraintViolation`] occurs.
        4343  +
        ///
        4344  +
        pub fn build(
        4345  +
            self,
        4346  +
        ) -> Result<
        4347  +
            crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
        4348  +
            ConstraintViolation,
        4349  +
        > {
        4350  +
            self.build_enforcing_all_constraints()
        4351  +
        }
        4352  +
        fn build_enforcing_all_constraints(
        4353  +
            self,
        4354  +
        ) -> Result<
        4355  +
            crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
        4356  +
            ConstraintViolation,
        4357  +
        > {
        4358  +
            Ok(
        4359  +
                crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput {
        4360  +
                    length_map: self
        4361  +
                        .length_map
 4529   4362   
                        .map(|v| match v {
 4530   4363   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4531   4364   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4532   4365   
                        })
 4533         -
                        .map(|res|
 4534         -
                                        res.map_err(ConstraintViolation::RangeIntegerSetQuery)
        4366  +
                        .map(|res| res.map_err(ConstraintViolation::LengthMap))
        4367  +
                        .transpose()?,
        4368  +
                },
 4535   4369   
            )
 4536         -
                                    .transpose()?
 4537         -
                    ,
 4538         -
                    range_long_set_query: self.range_long_set_query
 4539         -
                        .map(|v| match v {
 4540         -
                                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4541         -
                                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4542         -
                                        })
 4543         -
                        .map(|res|
 4544         -
                                        res.map_err(ConstraintViolation::RangeLongSetQuery)
        4370  +
        }
        4371  +
    }
        4372  +
}
        4373  +
/// See [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
        4374  +
pub mod query_params_targeting_map_of_enum_string_operation_input {
        4375  +
        4376  +
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
        4377  +
    /// Holds one variant for each of the ways the builder can fail.
        4378  +
    #[non_exhaustive]
        4379  +
    #[allow(clippy::enum_variant_names)]
        4380  +
    pub enum ConstraintViolation {
        4381  +
        /// Constraint violation occurred building member `map_of_enum_string` when building `QueryParamsTargetingMapOfEnumStringOperationInput`.
        4382  +
        #[doc(hidden)]
        4383  +
        MapOfEnumString(crate::model::map_of_enum_string::ConstraintViolation),
        4384  +
    }
        4385  +
    impl ::std::fmt::Display for ConstraintViolation {
        4386  +
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4387  +
            match self {
        4388  +
                ConstraintViolation::MapOfEnumString(_) => write!(f, "constraint violation occurred building member `map_of_enum_string` when building `QueryParamsTargetingMapOfEnumStringOperationInput`"),
        4389  +
            }
        4390  +
        }
        4391  +
    }
        4392  +
    impl ::std::error::Error for ConstraintViolation {}
        4393  +
    impl ConstraintViolation {
        4394  +
        pub(crate) fn as_validation_exception_field(
        4395  +
            self,
        4396  +
            path: ::std::string::String,
        4397  +
        ) -> crate::model::ValidationExceptionField {
        4398  +
            match self {
        4399  +
                ConstraintViolation::MapOfEnumString(inner) => {
        4400  +
                    inner.as_validation_exception_field(path + "/mapOfEnumString")
        4401  +
                }
        4402  +
            }
        4403  +
        }
        4404  +
    }
        4405  +
    impl ::std::convert::From<ConstraintViolation>
        4406  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4407  +
    {
        4408  +
        fn from(constraint_violation: ConstraintViolation) -> Self {
        4409  +
            let first_validation_exception_field =
        4410  +
                constraint_violation.as_validation_exception_field("".to_owned());
        4411  +
            let validation_exception = crate::error::ValidationException {
        4412  +
                message: format!(
        4413  +
                    "1 validation error detected. {}",
        4414  +
                    &first_validation_exception_field.message
        4415  +
                ),
        4416  +
                field_list: Some(vec![first_validation_exception_field]),
        4417  +
            };
        4418  +
            Self::ConstraintViolation(
        4419  +
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
        4420  +
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4545   4421   
                            )
 4546         -
                                    .transpose()?
 4547         -
                    ,
 4548         -
                    enum_string_list_query: self.enum_string_list_query
        4422  +
        }
        4423  +
    }
        4424  +
    impl ::std::convert::From<Builder>
        4425  +
        for crate::constrained::MaybeConstrained<
        4426  +
            crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
        4427  +
        >
        4428  +
    {
        4429  +
        fn from(builder: Builder) -> Self {
        4430  +
            Self::Unconstrained(builder)
        4431  +
        }
        4432  +
    }
        4433  +
    impl ::std::convert::TryFrom<Builder>
        4434  +
        for crate::input::QueryParamsTargetingMapOfEnumStringOperationInput
        4435  +
    {
        4436  +
        type Error = ConstraintViolation;
        4437  +
        4438  +
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
        4439  +
            builder.build()
        4440  +
        }
        4441  +
    }
        4442  +
    /// A builder for [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
        4443  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4444  +
    pub struct Builder {
        4445  +
        pub(crate) map_of_enum_string: ::std::option::Option<
        4446  +
            crate::constrained::MaybeConstrained<
        4447  +
                crate::constrained::map_of_enum_string_constrained::MapOfEnumStringConstrained,
        4448  +
            >,
        4449  +
        >,
        4450  +
    }
        4451  +
    impl Builder {
        4452  +
        #[allow(missing_docs)] // documentation missing in model
        4453  +
        pub fn map_of_enum_string(
        4454  +
            mut self,
        4455  +
            input: ::std::option::Option<
        4456  +
                ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
        4457  +
            >,
        4458  +
        ) -> Self {
        4459  +
            self.map_of_enum_string =
        4460  +
                input.map(|v| crate::constrained::MaybeConstrained::Constrained((v).into()));
        4461  +
            self
        4462  +
        }
        4463  +
        #[allow(missing_docs)] // documentation missing in model
        4464  +
        pub(crate) fn set_map_of_enum_string(
        4465  +
            mut self,
        4466  +
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_enum_string_constrained::MapOfEnumStringConstrained>>>,
        4467  +
        ) -> Self {
        4468  +
            self.map_of_enum_string = input.map(|v| v.into());
        4469  +
            self
        4470  +
        }
        4471  +
        /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput).
        4472  +
        ///
        4473  +
        /// The builder fails to construct a [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput) if a [`ConstraintViolation`] occurs.
        4474  +
        ///
        4475  +
        pub fn build(
        4476  +
            self,
        4477  +
        ) -> Result<
        4478  +
            crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
        4479  +
            ConstraintViolation,
        4480  +
        > {
        4481  +
            self.build_enforcing_all_constraints()
        4482  +
        }
        4483  +
        fn build_enforcing_all_constraints(
        4484  +
            self,
        4485  +
        ) -> Result<
        4486  +
            crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
        4487  +
            ConstraintViolation,
        4488  +
        > {
        4489  +
            Ok(
        4490  +
                crate::input::QueryParamsTargetingMapOfEnumStringOperationInput {
        4491  +
                    map_of_enum_string: self
        4492  +
                        .map_of_enum_string
 4549   4493   
                        .map(|v| match v {
 4550   4494   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4551   4495   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4552   4496   
                        })
 4553         -
                        .map(|res|
 4554         -
                                        res.map(|v| v.into()).map_err(ConstraintViolation::EnumStringListQuery)
 4555         -
                                    )
 4556         -
                                    .transpose()?
 4557         -
                    ,
 4558         -
                }
        4497  +
                        .map(|res| {
        4498  +
                            res.map(|v| v.into())
        4499  +
                                .map_err(ConstraintViolation::MapOfEnumString)
        4500  +
                        })
        4501  +
                        .transpose()?,
        4502  +
                },
 4559   4503   
            )
 4560   4504   
        }
 4561   4505   
    }
 4562   4506   
}
 4563         -
/// See [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
 4564         -
pub mod constrained_shapes_only_in_output_operation_input {
        4507  +
/// See [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
        4508  +
pub mod non_streaming_blob_operation_input {
 4565   4509   
 4566         -
    impl ::std::convert::From<Builder> for crate::input::ConstrainedShapesOnlyInOutputOperationInput {
        4510  +
    impl ::std::convert::From<Builder> for crate::input::NonStreamingBlobOperationInput {
 4567   4511   
        fn from(builder: Builder) -> Self {
 4568   4512   
            builder.build()
 4569   4513   
        }
 4570   4514   
    }
 4571         -
    /// A builder for [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
        4515  +
    /// A builder for [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
 4572   4516   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 4573         -
    pub struct Builder {}
        4517  +
    pub struct Builder {
        4518  +
        pub(crate) non_streaming_blob: ::std::option::Option<::aws_smithy_types::Blob>,
        4519  +
    }
 4574   4520   
    impl Builder {
 4575         -
        /// Consumes the builder and constructs a [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput).
 4576         -
        pub fn build(self) -> crate::input::ConstrainedShapesOnlyInOutputOperationInput {
        4521  +
        #[allow(missing_docs)] // documentation missing in model
        4522  +
        pub fn non_streaming_blob(
        4523  +
            mut self,
        4524  +
            input: ::std::option::Option<::aws_smithy_types::Blob>,
        4525  +
        ) -> Self {
        4526  +
            self.non_streaming_blob = input;
        4527  +
            self
        4528  +
        }
        4529  +
        #[allow(missing_docs)] // documentation missing in model
        4530  +
        pub(crate) fn set_non_streaming_blob(
        4531  +
            mut self,
        4532  +
            input: Option<impl ::std::convert::Into<::aws_smithy_types::Blob>>,
        4533  +
        ) -> Self {
        4534  +
            self.non_streaming_blob = input.map(|v| v.into());
        4535  +
            self
        4536  +
        }
        4537  +
        /// Consumes the builder and constructs a [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput).
        4538  +
        pub fn build(self) -> crate::input::NonStreamingBlobOperationInput {
 4577   4539   
            self.build_enforcing_all_constraints()
 4578   4540   
        }
 4579         -
        fn build_enforcing_all_constraints(
 4580         -
            self,
 4581         -
        ) -> crate::input::ConstrainedShapesOnlyInOutputOperationInput {
 4582         -
            crate::input::ConstrainedShapesOnlyInOutputOperationInput {}
        4541  +
        fn build_enforcing_all_constraints(self) -> crate::input::NonStreamingBlobOperationInput {
        4542  +
            crate::input::NonStreamingBlobOperationInput {
        4543  +
                non_streaming_blob: self.non_streaming_blob,
        4544  +
            }
 4583   4545   
        }
 4584   4546   
    }
 4585   4547   
}
 4586         -
/// See [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
 4587         -
pub mod constrained_shapes_operation_input {
        4548  +
/// See [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
        4549  +
pub mod streaming_blob_operation_input {
        4550  +
        4551  +
    impl ::std::convert::From<Builder> for crate::input::StreamingBlobOperationInput {
        4552  +
        fn from(builder: Builder) -> Self {
        4553  +
            builder.build()
        4554  +
        }
        4555  +
    }
        4556  +
    /// A builder for [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
        4557  +
    #[derive(::std::default::Default, ::std::fmt::Debug)]
        4558  +
    pub struct Builder {
        4559  +
        pub(crate) streaming_blob:
        4560  +
            ::std::option::Option<::aws_smithy_types::byte_stream::ByteStream>,
        4561  +
    }
        4562  +
    impl Builder {
        4563  +
        #[allow(missing_docs)] // documentation missing in model
        4564  +
        pub fn streaming_blob(
        4565  +
            mut self,
        4566  +
            input: ::aws_smithy_types::byte_stream::ByteStream,
        4567  +
        ) -> Self {
        4568  +
            self.streaming_blob = Some(input);
        4569  +
            self
        4570  +
        }
        4571  +
        #[allow(missing_docs)] // documentation missing in model
        4572  +
        pub(crate) fn set_streaming_blob(
        4573  +
            mut self,
        4574  +
            input: impl ::std::convert::Into<::aws_smithy_types::byte_stream::ByteStream>,
        4575  +
        ) -> Self {
        4576  +
            self.streaming_blob = Some(input.into());
        4577  +
            self
        4578  +
        }
        4579  +
        /// Consumes the builder and constructs a [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput).
        4580  +
        pub fn build(self) -> crate::input::StreamingBlobOperationInput {
        4581  +
            self.build_enforcing_all_constraints()
        4582  +
        }
        4583  +
        fn build_enforcing_all_constraints(self) -> crate::input::StreamingBlobOperationInput {
        4584  +
            crate::input::StreamingBlobOperationInput {
        4585  +
                streaming_blob: self.streaming_blob.unwrap_or_default(),
        4586  +
            }
        4587  +
        }
        4588  +
    }
        4589  +
}
        4590  +
/// See [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
        4591  +
pub mod event_streams_operation_input {
 4588   4592   
 4589   4593   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 4590   4594   
    /// Holds one variant for each of the ways the builder can fail.
 4591   4595   
    #[non_exhaustive]
 4592   4596   
    #[allow(clippy::enum_variant_names)]
 4593   4597   
    pub enum ConstraintViolation {
 4594         -
        /// `con_a` was not provided but it is required when building `ConstrainedShapesOperationInput`.
 4595         -
        MissingConA,
 4596         -
        /// Constraint violation occurred building member `con_a` when building `ConstrainedShapesOperationInput`.
 4597         -
        #[doc(hidden)]
 4598         -
        ConA(crate::model::con_a::ConstraintViolation),
        4598  +
        /// `events` was not provided but it is required when building `EventStreamsOperationInput`.
        4599  +
        MissingEvents,
 4599   4600   
    }
 4600   4601   
    impl ::std::fmt::Display for ConstraintViolation {
 4601   4602   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4602   4603   
            match self {
 4603         -
                ConstraintViolation::MissingConA => write!(f, "`con_a` was not provided but it is required when building `ConstrainedShapesOperationInput`"),
 4604         -
                ConstraintViolation::ConA(_) => write!(f, "constraint violation occurred building member `con_a` when building `ConstrainedShapesOperationInput`"),
        4604  +
                ConstraintViolation::MissingEvents => write!(f, "`events` was not provided but it is required when building `EventStreamsOperationInput`"),
 4605   4605   
            }
 4606   4606   
        }
 4607   4607   
    }
 4608   4608   
    impl ::std::error::Error for ConstraintViolation {}
 4609   4609   
    impl ConstraintViolation {
 4610   4610   
        pub(crate) fn as_validation_exception_field(
 4611   4611   
            self,
 4612   4612   
            path: ::std::string::String,
 4613   4613   
        ) -> crate::model::ValidationExceptionField {
 4614   4614   
            match self {
 4615         -
                ConstraintViolation::MissingConA => crate::model::ValidationExceptionField {
 4616         -
                    message: format!(
 4617         -
                        "Value at '{}/conA' failed to satisfy constraint: Member must not be null",
 4618         -
                        path
 4619         -
                    ),
 4620         -
                    path: path + "/conA",
        4615  +
            ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
        4616  +
                                                message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
        4617  +
                                                path: path + "/events",
 4621   4618   
                                            },
 4622         -
                ConstraintViolation::ConA(inner) => {
 4623         -
                    inner.as_validation_exception_field(path + "/conA")
 4624         -
                }
 4625   4619   
        }
 4626   4620   
        }
 4627   4621   
    }
 4628   4622   
    impl ::std::convert::From<ConstraintViolation>
 4629   4623   
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4630   4624   
    {
 4631   4625   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4632   4626   
            let first_validation_exception_field =
 4633   4627   
                constraint_violation.as_validation_exception_field("".to_owned());
 4634   4628   
            let validation_exception = crate::error::ValidationException {
 4635   4629   
                message: format!(
 4636   4630   
                    "1 validation error detected. {}",
 4637   4631   
                    &first_validation_exception_field.message
 4638   4632   
                ),
 4639   4633   
                field_list: Some(vec![first_validation_exception_field]),
 4640   4634   
            };
 4641   4635   
            Self::ConstraintViolation(
 4642   4636   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 4643   4637   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4644   4638   
                            )
 4645   4639   
        }
 4646   4640   
    }
 4647   4641   
    impl ::std::convert::From<Builder>
 4648         -
        for crate::constrained::MaybeConstrained<crate::input::ConstrainedShapesOperationInput>
        4642  +
        for crate::constrained::MaybeConstrained<crate::input::EventStreamsOperationInput>
 4649   4643   
    {
 4650   4644   
        fn from(builder: Builder) -> Self {
 4651   4645   
            Self::Unconstrained(builder)
 4652   4646   
        }
 4653   4647   
    }
 4654         -
    impl ::std::convert::TryFrom<Builder> for crate::input::ConstrainedShapesOperationInput {
        4648  +
    impl ::std::convert::TryFrom<Builder> for crate::input::EventStreamsOperationInput {
 4655   4649   
        type Error = ConstraintViolation;
 4656   4650   
 4657   4651   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 4658   4652   
            builder.build()
 4659   4653   
        }
 4660   4654   
    }
 4661         -
    /// A builder for [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
 4662         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4655  +
    /// A builder for [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
        4656  +
    #[derive(::std::default::Default, ::std::fmt::Debug)]
 4663   4657   
    pub struct Builder {
 4664         -
        pub(crate) con_a:
 4665         -
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ConA>>,
        4658  +
        pub(crate) events: ::std::option::Option<
        4659  +
            ::aws_smithy_legacy_http::event_stream::Receiver<
        4660  +
                crate::model::Event,
        4661  +
                crate::error::EventError,
        4662  +
            >,
        4663  +
        >,
 4666   4664   
    }
 4667   4665   
    impl Builder {
 4668   4666   
        #[allow(missing_docs)] // documentation missing in model
 4669         -
        pub fn con_a(mut self, input: crate::model::ConA) -> Self {
 4670         -
            self.con_a = Some(crate::constrained::MaybeConstrained::Constrained(input));
        4667  +
        pub fn events(
        4668  +
            mut self,
        4669  +
            input: ::aws_smithy_legacy_http::event_stream::Receiver<
        4670  +
                crate::model::Event,
        4671  +
                crate::error::EventError,
        4672  +
            >,
        4673  +
        ) -> Self {
        4674  +
            self.events = Some(input);
 4671   4675   
            self
 4672   4676   
        }
 4673   4677   
        #[allow(missing_docs)] // documentation missing in model
 4674         -
        pub(crate) fn set_con_a(
        4678  +
        pub(crate) fn set_events(
 4675   4679   
            mut self,
 4676         -
            input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConA>>,
        4680  +
            input: impl ::std::convert::Into<
        4681  +
                ::aws_smithy_legacy_http::event_stream::Receiver<
        4682  +
                    crate::model::Event,
        4683  +
                    crate::error::EventError,
        4684  +
                >,
        4685  +
            >,
 4677   4686   
        ) -> Self {
 4678         -
            self.con_a = Some(input.into());
        4687  +
            self.events = Some(input.into());
 4679   4688   
            self
 4680   4689   
        }
 4681         -
        /// Consumes the builder and constructs a [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput).
        4690  +
        /// Consumes the builder and constructs a [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput).
 4682   4691   
        ///
 4683         -
        /// The builder fails to construct a [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput) if a [`ConstraintViolation`] occurs.
        4692  +
        /// The builder fails to construct a [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput) if a [`ConstraintViolation`] occurs.
 4684   4693   
        ///
 4685         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
 4686   4694   
        pub fn build(
 4687   4695   
            self,
 4688         -
        ) -> Result<crate::input::ConstrainedShapesOperationInput, ConstraintViolation> {
        4696  +
        ) -> Result<crate::input::EventStreamsOperationInput, ConstraintViolation> {
 4689   4697   
            self.build_enforcing_all_constraints()
 4690   4698   
        }
 4691   4699   
        fn build_enforcing_all_constraints(
 4692   4700   
            self,
 4693         -
        ) -> Result<crate::input::ConstrainedShapesOperationInput, ConstraintViolation> {
 4694         -
            Ok(crate::input::ConstrainedShapesOperationInput {
 4695         -
                con_a: self
 4696         -
                    .con_a
 4697         -
                    .map(|v| match v {
 4698         -
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4699         -
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4700         -
                    })
 4701         -
                    .map(|res| res.map_err(ConstraintViolation::ConA))
 4702         -
                    .transpose()?
 4703         -
                    .ok_or(ConstraintViolation::MissingConA)?,
        4701  +
        ) -> Result<crate::input::EventStreamsOperationInput, ConstraintViolation> {
        4702  +
            Ok(crate::input::EventStreamsOperationInput {
        4703  +
                events: self.events.ok_or(ConstraintViolation::MissingEvents)?,
 4704   4704   
            })
 4705   4705   
        }
 4706   4706   
    }
 4707   4707   
}