AWS SDK

AWS SDK

rev. ec7b2441254af868911fccffe8d8dca83aff0045

Files changed:

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_configuration/_get_function_configuration_input.rs

@@ -23,23 +155,172 @@
   43     43   
    "com.amazonaws.lambda.synthetic",
   44     44   
    "GetFunctionConfigurationInput",
   45     45   
);
   46     46   
static GETFUNCTIONCONFIGURATIONINPUT_MEMBER_FUNCTION_NAME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   47     47   
    ::aws_smithy_schema::ShapeId::from_static(
   48     48   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationInput$FunctionName",
   49     49   
        "com.amazonaws.lambda.synthetic",
   50     50   
        "GetFunctionConfigurationInput",
   51     51   
    ),
   52     52   
    ::aws_smithy_schema::ShapeType::String,
   53         -
    "function_name",
          53  +
    "FunctionName",
   54     54   
    0,
   55     55   
)
   56     56   
.with_http_label();
   57     57   
static GETFUNCTIONCONFIGURATIONINPUT_MEMBER_QUALIFIER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   58     58   
    ::aws_smithy_schema::ShapeId::from_static(
   59     59   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationInput$Qualifier",
   60     60   
        "com.amazonaws.lambda.synthetic",
   61     61   
        "GetFunctionConfigurationInput",
   62     62   
    ),
   63     63   
    ::aws_smithy_schema::ShapeType::String,
   64         -
    "qualifier",
          64  +
    "Qualifier",
   65     65   
    1,
   66     66   
)
   67     67   
.with_http_query("Qualifier");
   68     68   
static GETFUNCTIONCONFIGURATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   69     69   
    GETFUNCTIONCONFIGURATIONINPUT_SCHEMA_ID,
   70     70   
    ::aws_smithy_schema::ShapeType::Structure,
   71     71   
    &[
   72     72   
        &GETFUNCTIONCONFIGURATIONINPUT_MEMBER_FUNCTION_NAME,
   73     73   
        &GETFUNCTIONCONFIGURATIONINPUT_MEMBER_QUALIFIER,
   74     74   
    ],
   75         -
);
          75  +
)
          76  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          77  +
    "GET",
          78  +
    "/2015-03-31/functions/{FunctionName}/configuration",
          79  +
    None,
          80  +
));
   76     81   
impl GetFunctionConfigurationInput {
   77     82   
    /// The schema for this shape.
   78     83   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETFUNCTIONCONFIGURATIONINPUT_SCHEMA;
   79     84   
}
   80     85   
impl ::aws_smithy_schema::serde::SerializableStruct for GetFunctionConfigurationInput {
   81     86   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   82     87   
    fn serialize_members(
   83     88   
        &self,
   84     89   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   85     90   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   86     91   
        if let Some(ref val) = self.function_name {
   87     92   
            ser.write_string(&GETFUNCTIONCONFIGURATIONINPUT_MEMBER_FUNCTION_NAME, val)?;
   88     93   
        }
   89     94   
        if let Some(ref val) = self.qualifier {
   90     95   
            ser.write_string(&GETFUNCTIONCONFIGURATIONINPUT_MEMBER_QUALIFIER, val)?;
   91     96   
        }
   92     97   
        Ok(())
   93     98   
    }
   94     99   
}
   95    100   
impl GetFunctionConfigurationInput {
   96    101   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   97         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   98         -
        deserializer: &mut D,
         102  +
    pub fn deserialize(
         103  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   99    104   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  100    105   
        #[allow(unused_variables, unused_mut)]
  101    106   
        let mut builder = Self::builder();
  102    107   
        #[allow(
  103    108   
            unused_variables,
  104    109   
            unreachable_code,
  105    110   
            clippy::single_match,
  106    111   
            clippy::match_single_binding,
  107    112   
            clippy::diverging_sub_expression
  108    113   
        )]
  109         -
        deserializer.read_struct(&GETFUNCTIONCONFIGURATIONINPUT_SCHEMA, (), |_, member, deser| {
         114  +
        deserializer.read_struct(&GETFUNCTIONCONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
  110    115   
            match member.member_index() {
  111    116   
                Some(0) => {
  112    117   
                    builder.function_name = Some(deser.read_string(member)?);
  113    118   
                }
  114    119   
                Some(1) => {
  115    120   
                    builder.qualifier = Some(deser.read_string(member)?);
  116    121   
                }
  117    122   
                _ => {}
  118    123   
            }
  119    124   
            Ok(())
  120    125   
        })?;
         126  +
        builder.function_name = builder.function_name.or(Some(String::new()));
  121    127   
        builder
  122    128   
            .build()
  123    129   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  124    130   
    }
  125    131   
}
         132  +
impl GetFunctionConfigurationInput {
         133  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         134  +
    pub fn deserialize_with_response(
         135  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         136  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         137  +
        _status: u16,
         138  +
        _body: &[u8],
         139  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         140  +
        Self::deserialize(deserializer)
         141  +
    }
         142  +
}
  126    143   
impl GetFunctionConfigurationInput {
  127    144   
    /// Creates a new builder-style object to manufacture [`GetFunctionConfigurationInput`](crate::operation::get_function_configuration::GetFunctionConfigurationInput).
  128    145   
    pub fn builder() -> crate::operation::get_function_configuration::builders::GetFunctionConfigurationInputBuilder {
  129    146   
        crate::operation::get_function_configuration::builders::GetFunctionConfigurationInputBuilder::default()
  130    147   
    }
  131    148   
}
  132    149   
  133    150   
/// A builder for [`GetFunctionConfigurationInput`](crate::operation::get_function_configuration::GetFunctionConfigurationInput).
  134    151   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  135    152   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_configuration/_get_function_configuration_output.rs

@@ -241,241 +693,701 @@
  261    261   
    "com.amazonaws.lambda.synthetic",
  262    262   
    "GetFunctionConfigurationOutput",
  263    263   
);
  264    264   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_FUNCTION_NAME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  265    265   
    ::aws_smithy_schema::ShapeId::from_static(
  266    266   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$FunctionName",
  267    267   
        "com.amazonaws.lambda.synthetic",
  268    268   
        "GetFunctionConfigurationOutput",
  269    269   
    ),
  270    270   
    ::aws_smithy_schema::ShapeType::String,
  271         -
    "function_name",
         271  +
    "FunctionName",
  272    272   
    0,
  273    273   
);
  274    274   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_FUNCTION_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  275    275   
    ::aws_smithy_schema::ShapeId::from_static(
  276    276   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$FunctionArn",
  277    277   
        "com.amazonaws.lambda.synthetic",
  278    278   
        "GetFunctionConfigurationOutput",
  279    279   
    ),
  280    280   
    ::aws_smithy_schema::ShapeType::String,
  281         -
    "function_arn",
         281  +
    "FunctionArn",
  282    282   
    1,
  283    283   
);
  284    284   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_RUNTIME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  285    285   
    ::aws_smithy_schema::ShapeId::from_static(
  286    286   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Runtime",
  287    287   
        "com.amazonaws.lambda.synthetic",
  288    288   
        "GetFunctionConfigurationOutput",
  289    289   
    ),
  290    290   
    ::aws_smithy_schema::ShapeType::String,
  291         -
    "runtime",
         291  +
    "Runtime",
  292    292   
    2,
  293    293   
);
  294    294   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_ROLE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  295    295   
    ::aws_smithy_schema::ShapeId::from_static(
  296    296   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Role",
  297    297   
        "com.amazonaws.lambda.synthetic",
  298    298   
        "GetFunctionConfigurationOutput",
  299    299   
    ),
  300    300   
    ::aws_smithy_schema::ShapeType::String,
  301         -
    "role",
         301  +
    "Role",
  302    302   
    3,
  303    303   
);
  304    304   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_HANDLER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  305    305   
    ::aws_smithy_schema::ShapeId::from_static(
  306    306   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Handler",
  307    307   
        "com.amazonaws.lambda.synthetic",
  308    308   
        "GetFunctionConfigurationOutput",
  309    309   
    ),
  310    310   
    ::aws_smithy_schema::ShapeType::String,
  311         -
    "handler",
         311  +
    "Handler",
  312    312   
    4,
  313    313   
);
  314    314   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_CODE_SIZE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  315    315   
    ::aws_smithy_schema::ShapeId::from_static(
  316    316   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$CodeSize",
  317    317   
        "com.amazonaws.lambda.synthetic",
  318    318   
        "GetFunctionConfigurationOutput",
  319    319   
    ),
  320    320   
    ::aws_smithy_schema::ShapeType::Long,
  321         -
    "code_size",
         321  +
    "CodeSize",
  322    322   
    5,
  323    323   
);
  324    324   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_DESCRIPTION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  325    325   
    ::aws_smithy_schema::ShapeId::from_static(
  326    326   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Description",
  327    327   
        "com.amazonaws.lambda.synthetic",
  328    328   
        "GetFunctionConfigurationOutput",
  329    329   
    ),
  330    330   
    ::aws_smithy_schema::ShapeType::String,
  331         -
    "description",
         331  +
    "Description",
  332    332   
    6,
  333    333   
);
  334    334   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_TIMEOUT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  335    335   
    ::aws_smithy_schema::ShapeId::from_static(
  336    336   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Timeout",
  337    337   
        "com.amazonaws.lambda.synthetic",
  338    338   
        "GetFunctionConfigurationOutput",
  339    339   
    ),
  340    340   
    ::aws_smithy_schema::ShapeType::Integer,
  341         -
    "timeout",
         341  +
    "Timeout",
  342    342   
    7,
  343    343   
);
  344    344   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_MEMORY_SIZE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  345    345   
    ::aws_smithy_schema::ShapeId::from_static(
  346    346   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$MemorySize",
  347    347   
        "com.amazonaws.lambda.synthetic",
  348    348   
        "GetFunctionConfigurationOutput",
  349    349   
    ),
  350    350   
    ::aws_smithy_schema::ShapeType::Integer,
  351         -
    "memory_size",
         351  +
    "MemorySize",
  352    352   
    8,
  353    353   
);
  354    354   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_MODIFIED: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  355    355   
    ::aws_smithy_schema::ShapeId::from_static(
  356    356   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$LastModified",
  357    357   
        "com.amazonaws.lambda.synthetic",
  358    358   
        "GetFunctionConfigurationOutput",
  359    359   
    ),
  360    360   
    ::aws_smithy_schema::ShapeType::String,
  361         -
    "last_modified",
         361  +
    "LastModified",
  362    362   
    9,
  363    363   
);
  364    364   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_CODE_SHA256: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  365    365   
    ::aws_smithy_schema::ShapeId::from_static(
  366    366   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$CodeSha256",
  367    367   
        "com.amazonaws.lambda.synthetic",
  368    368   
        "GetFunctionConfigurationOutput",
  369    369   
    ),
  370    370   
    ::aws_smithy_schema::ShapeType::String,
  371         -
    "code_sha256",
         371  +
    "CodeSha256",
  372    372   
    10,
  373    373   
);
  374    374   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_VERSION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  375    375   
    ::aws_smithy_schema::ShapeId::from_static(
  376    376   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Version",
  377    377   
        "com.amazonaws.lambda.synthetic",
  378    378   
        "GetFunctionConfigurationOutput",
  379    379   
    ),
  380    380   
    ::aws_smithy_schema::ShapeType::String,
  381         -
    "version",
         381  +
    "Version",
  382    382   
    11,
  383    383   
);
  384    384   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_VPC_CONFIG: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  385    385   
    ::aws_smithy_schema::ShapeId::from_static(
  386    386   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$VpcConfig",
  387    387   
        "com.amazonaws.lambda.synthetic",
  388    388   
        "GetFunctionConfigurationOutput",
  389    389   
    ),
  390    390   
    ::aws_smithy_schema::ShapeType::Structure,
  391         -
    "vpc_config",
         391  +
    "VpcConfig",
  392    392   
    12,
  393    393   
);
  394    394   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_DEAD_LETTER_CONFIG: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  395    395   
    ::aws_smithy_schema::ShapeId::from_static(
  396    396   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$DeadLetterConfig",
  397    397   
        "com.amazonaws.lambda.synthetic",
  398    398   
        "GetFunctionConfigurationOutput",
  399    399   
    ),
  400    400   
    ::aws_smithy_schema::ShapeType::Structure,
  401         -
    "dead_letter_config",
         401  +
    "DeadLetterConfig",
  402    402   
    13,
  403    403   
);
  404    404   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_ENVIRONMENT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  405    405   
    ::aws_smithy_schema::ShapeId::from_static(
  406    406   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Environment",
  407    407   
        "com.amazonaws.lambda.synthetic",
  408    408   
        "GetFunctionConfigurationOutput",
  409    409   
    ),
  410    410   
    ::aws_smithy_schema::ShapeType::Structure,
  411         -
    "environment",
         411  +
    "Environment",
  412    412   
    14,
  413    413   
);
  414    414   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_KMS_KEY_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  415    415   
    ::aws_smithy_schema::ShapeId::from_static(
  416    416   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$KMSKeyArn",
  417    417   
        "com.amazonaws.lambda.synthetic",
  418    418   
        "GetFunctionConfigurationOutput",
  419    419   
    ),
  420    420   
    ::aws_smithy_schema::ShapeType::String,
  421         -
    "kms_key_arn",
         421  +
    "KMSKeyArn",
  422    422   
    15,
  423    423   
);
  424    424   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_TRACING_CONFIG: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  425    425   
    ::aws_smithy_schema::ShapeId::from_static(
  426    426   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$TracingConfig",
  427    427   
        "com.amazonaws.lambda.synthetic",
  428    428   
        "GetFunctionConfigurationOutput",
  429    429   
    ),
  430    430   
    ::aws_smithy_schema::ShapeType::Structure,
  431         -
    "tracing_config",
         431  +
    "TracingConfig",
  432    432   
    16,
  433    433   
);
  434    434   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_MASTER_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  435    435   
    ::aws_smithy_schema::ShapeId::from_static(
  436    436   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$MasterArn",
  437    437   
        "com.amazonaws.lambda.synthetic",
  438    438   
        "GetFunctionConfigurationOutput",
  439    439   
    ),
  440    440   
    ::aws_smithy_schema::ShapeType::String,
  441         -
    "master_arn",
         441  +
    "MasterArn",
  442    442   
    17,
  443    443   
);
  444    444   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_REVISION_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  445    445   
    ::aws_smithy_schema::ShapeId::from_static(
  446    446   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$RevisionId",
  447    447   
        "com.amazonaws.lambda.synthetic",
  448    448   
        "GetFunctionConfigurationOutput",
  449    449   
    ),
  450    450   
    ::aws_smithy_schema::ShapeType::String,
  451         -
    "revision_id",
         451  +
    "RevisionId",
  452    452   
    18,
  453    453   
);
  454    454   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAYERS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  455    455   
    ::aws_smithy_schema::ShapeId::from_static(
  456    456   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Layers",
  457    457   
        "com.amazonaws.lambda.synthetic",
  458    458   
        "GetFunctionConfigurationOutput",
  459    459   
    ),
  460    460   
    ::aws_smithy_schema::ShapeType::List,
  461         -
    "layers",
         461  +
    "Layers",
  462    462   
    19,
  463    463   
);
  464    464   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_STATE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  465    465   
    ::aws_smithy_schema::ShapeId::from_static(
  466    466   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$State",
  467    467   
        "com.amazonaws.lambda.synthetic",
  468    468   
        "GetFunctionConfigurationOutput",
  469    469   
    ),
  470    470   
    ::aws_smithy_schema::ShapeType::String,
  471         -
    "state",
         471  +
    "State",
  472    472   
    20,
  473    473   
);
  474    474   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_STATE_REASON: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  475    475   
    ::aws_smithy_schema::ShapeId::from_static(
  476    476   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$StateReason",
  477    477   
        "com.amazonaws.lambda.synthetic",
  478    478   
        "GetFunctionConfigurationOutput",
  479    479   
    ),
  480    480   
    ::aws_smithy_schema::ShapeType::String,
  481         -
    "state_reason",
         481  +
    "StateReason",
  482    482   
    21,
  483    483   
);
  484    484   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_STATE_REASON_CODE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  485    485   
    ::aws_smithy_schema::ShapeId::from_static(
  486    486   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$StateReasonCode",
  487    487   
        "com.amazonaws.lambda.synthetic",
  488    488   
        "GetFunctionConfigurationOutput",
  489    489   
    ),
  490    490   
    ::aws_smithy_schema::ShapeType::String,
  491         -
    "state_reason_code",
         491  +
    "StateReasonCode",
  492    492   
    22,
  493    493   
);
  494    494   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_UPDATE_STATUS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  495    495   
    ::aws_smithy_schema::ShapeId::from_static(
  496    496   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$LastUpdateStatus",
  497    497   
        "com.amazonaws.lambda.synthetic",
  498    498   
        "GetFunctionConfigurationOutput",
  499    499   
    ),
  500    500   
    ::aws_smithy_schema::ShapeType::String,
  501         -
    "last_update_status",
         501  +
    "LastUpdateStatus",
  502    502   
    23,
  503    503   
);
  504    504   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_UPDATE_STATUS_REASON: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  505    505   
    ::aws_smithy_schema::ShapeId::from_static(
  506    506   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$LastUpdateStatusReason",
  507    507   
        "com.amazonaws.lambda.synthetic",
  508    508   
        "GetFunctionConfigurationOutput",
  509    509   
    ),
  510    510   
    ::aws_smithy_schema::ShapeType::String,
  511         -
    "last_update_status_reason",
         511  +
    "LastUpdateStatusReason",
  512    512   
    24,
  513    513   
);
  514    514   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_UPDATE_STATUS_REASON_CODE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  515    515   
    ::aws_smithy_schema::ShapeId::from_static(
  516    516   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$LastUpdateStatusReasonCode",
  517    517   
        "com.amazonaws.lambda.synthetic",
  518    518   
        "GetFunctionConfigurationOutput",
  519    519   
    ),
  520    520   
    ::aws_smithy_schema::ShapeType::String,
  521         -
    "last_update_status_reason_code",
         521  +
    "LastUpdateStatusReasonCode",
  522    522   
    25,
  523    523   
);
  524    524   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_FILE_SYSTEM_CONFIGS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  525    525   
    ::aws_smithy_schema::ShapeId::from_static(
  526    526   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$FileSystemConfigs",
  527    527   
        "com.amazonaws.lambda.synthetic",
  528    528   
        "GetFunctionConfigurationOutput",
  529    529   
    ),
  530    530   
    ::aws_smithy_schema::ShapeType::List,
  531         -
    "file_system_configs",
         531  +
    "FileSystemConfigs",
  532    532   
    26,
  533    533   
);
  534    534   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_PACKAGE_TYPE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  535    535   
    ::aws_smithy_schema::ShapeId::from_static(
  536    536   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$PackageType",
  537    537   
        "com.amazonaws.lambda.synthetic",
  538    538   
        "GetFunctionConfigurationOutput",
  539    539   
    ),
  540    540   
    ::aws_smithy_schema::ShapeType::String,
  541         -
    "package_type",
         541  +
    "PackageType",
  542    542   
    27,
  543    543   
);
  544    544   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_IMAGE_CONFIG_RESPONSE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  545    545   
    ::aws_smithy_schema::ShapeId::from_static(
  546    546   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$ImageConfigResponse",
  547    547   
        "com.amazonaws.lambda.synthetic",
  548    548   
        "GetFunctionConfigurationOutput",
  549    549   
    ),
  550    550   
    ::aws_smithy_schema::ShapeType::Structure,
  551         -
    "image_config_response",
         551  +
    "ImageConfigResponse",
  552    552   
    28,
  553    553   
);
  554    554   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_SIGNING_PROFILE_VERSION_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  555    555   
    ::aws_smithy_schema::ShapeId::from_static(
  556    556   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$SigningProfileVersionArn",
  557    557   
        "com.amazonaws.lambda.synthetic",
  558    558   
        "GetFunctionConfigurationOutput",
  559    559   
    ),
  560    560   
    ::aws_smithy_schema::ShapeType::String,
  561         -
    "signing_profile_version_arn",
         561  +
    "SigningProfileVersionArn",
  562    562   
    29,
  563    563   
);
  564    564   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_SIGNING_JOB_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  565    565   
    ::aws_smithy_schema::ShapeId::from_static(
  566    566   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$SigningJobArn",
  567    567   
        "com.amazonaws.lambda.synthetic",
  568    568   
        "GetFunctionConfigurationOutput",
  569    569   
    ),
  570    570   
    ::aws_smithy_schema::ShapeType::String,
  571         -
    "signing_job_arn",
         571  +
    "SigningJobArn",
  572    572   
    30,
  573    573   
);
  574    574   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_ARCHITECTURES: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  575    575   
    ::aws_smithy_schema::ShapeId::from_static(
  576    576   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$Architectures",
  577    577   
        "com.amazonaws.lambda.synthetic",
  578    578   
        "GetFunctionConfigurationOutput",
  579    579   
    ),
  580    580   
    ::aws_smithy_schema::ShapeType::List,
  581         -
    "architectures",
         581  +
    "Architectures",
  582    582   
    31,
  583    583   
);
  584    584   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_EPHEMERAL_STORAGE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  585    585   
    ::aws_smithy_schema::ShapeId::from_static(
  586    586   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$EphemeralStorage",
  587    587   
        "com.amazonaws.lambda.synthetic",
  588    588   
        "GetFunctionConfigurationOutput",
  589    589   
    ),
  590    590   
    ::aws_smithy_schema::ShapeType::Structure,
  591         -
    "ephemeral_storage",
         591  +
    "EphemeralStorage",
  592    592   
    32,
  593    593   
);
  594    594   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_SNAP_START: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  595    595   
    ::aws_smithy_schema::ShapeId::from_static(
  596    596   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$SnapStart",
  597    597   
        "com.amazonaws.lambda.synthetic",
  598    598   
        "GetFunctionConfigurationOutput",
  599    599   
    ),
  600    600   
    ::aws_smithy_schema::ShapeType::Structure,
  601         -
    "snap_start",
         601  +
    "SnapStart",
  602    602   
    33,
  603    603   
);
  604    604   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_RUNTIME_VERSION_CONFIG: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  605    605   
    ::aws_smithy_schema::ShapeId::from_static(
  606    606   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$RuntimeVersionConfig",
  607    607   
        "com.amazonaws.lambda.synthetic",
  608    608   
        "GetFunctionConfigurationOutput",
  609    609   
    ),
  610    610   
    ::aws_smithy_schema::ShapeType::Structure,
  611         -
    "runtime_version_config",
         611  +
    "RuntimeVersionConfig",
  612    612   
    34,
  613    613   
);
  614    614   
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LOGGING_CONFIG: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  615    615   
    ::aws_smithy_schema::ShapeId::from_static(
  616    616   
        "com.amazonaws.lambda.synthetic#GetFunctionConfigurationOutput$LoggingConfig",
  617    617   
        "com.amazonaws.lambda.synthetic",
  618    618   
        "GetFunctionConfigurationOutput",
  619    619   
    ),
  620    620   
    ::aws_smithy_schema::ShapeType::Structure,
  621         -
    "logging_config",
         621  +
    "LoggingConfig",
  622    622   
    35,
  623    623   
);
         624  +
static GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
         625  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
         626  +
    ::aws_smithy_schema::ShapeType::String,
         627  +
    "request_id",
         628  +
    36,
         629  +
)
         630  +
.with_http_header("x-amzn-requestid");
  624    631   
static GETFUNCTIONCONFIGURATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
  625    632   
    GETFUNCTIONCONFIGURATIONOUTPUT_SCHEMA_ID,
  626    633   
    ::aws_smithy_schema::ShapeType::Structure,
  627    634   
    &[
  628    635   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_FUNCTION_NAME,
  629    636   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_FUNCTION_ARN,
  630    637   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_RUNTIME,
  631    638   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_ROLE,
  632    639   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_HANDLER,
  633    640   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_CODE_SIZE,
  634    641   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_DESCRIPTION,
  635    642   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_TIMEOUT,
  636    643   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_MEMORY_SIZE,
  637    644   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_MODIFIED,
  638    645   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_CODE_SHA256,
  639    646   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_VERSION,
  640    647   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_VPC_CONFIG,
  641    648   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_DEAD_LETTER_CONFIG,
  642    649   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_ENVIRONMENT,
  643    650   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_KMS_KEY_ARN,
  644    651   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_TRACING_CONFIG,
  645    652   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_MASTER_ARN,
  646    653   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_REVISION_ID,
  647    654   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAYERS,
  648    655   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_STATE,
  649    656   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_STATE_REASON,
  650    657   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_STATE_REASON_CODE,
  651    658   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_UPDATE_STATUS,
  652    659   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_UPDATE_STATUS_REASON,
  653    660   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LAST_UPDATE_STATUS_REASON_CODE,
  654    661   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_FILE_SYSTEM_CONFIGS,
  655    662   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_PACKAGE_TYPE,
  656    663   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_IMAGE_CONFIG_RESPONSE,
  657    664   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_SIGNING_PROFILE_VERSION_ARN,
  658    665   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_SIGNING_JOB_ARN,
  659    666   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_ARCHITECTURES,
  660    667   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_EPHEMERAL_STORAGE,
  661    668   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_SNAP_START,
  662    669   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_RUNTIME_VERSION_CONFIG,
  663    670   
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LOGGING_CONFIG,
         671  +
        &GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID,
  664    672   
    ],
  665    673   
);
  666    674   
impl GetFunctionConfigurationOutput {
  667    675   
    /// The schema for this shape.
  668    676   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETFUNCTIONCONFIGURATIONOUTPUT_SCHEMA;
  669    677   
}
  670    678   
impl ::aws_smithy_schema::serde::SerializableStruct for GetFunctionConfigurationOutput {
  671    679   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  672    680   
    fn serialize_members(
  673    681   
        &self,
@@ -784,792 +982,1145 @@
  804    812   
            ser.write_struct(&GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_RUNTIME_VERSION_CONFIG, val)?;
  805    813   
        }
  806    814   
        if let Some(ref val) = self.logging_config {
  807    815   
            ser.write_struct(&GETFUNCTIONCONFIGURATIONOUTPUT_MEMBER_LOGGING_CONFIG, val)?;
  808    816   
        }
  809    817   
        Ok(())
  810    818   
    }
  811    819   
}
  812    820   
impl GetFunctionConfigurationOutput {
  813    821   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  814         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  815         -
        deserializer: &mut D,
         822  +
    pub fn deserialize(
         823  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         824  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         825  +
        #[allow(unused_variables, unused_mut)]
         826  +
        let mut builder = Self::builder();
         827  +
        #[allow(
         828  +
            unused_variables,
         829  +
            unreachable_code,
         830  +
            clippy::single_match,
         831  +
            clippy::match_single_binding,
         832  +
            clippy::diverging_sub_expression
         833  +
        )]
         834  +
        deserializer.read_struct(&GETFUNCTIONCONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
         835  +
            match member.member_index() {
         836  +
                Some(0) => {
         837  +
                    builder.function_name = Some(deser.read_string(member)?);
         838  +
                }
         839  +
                Some(1) => {
         840  +
                    builder.function_arn = Some(deser.read_string(member)?);
         841  +
                }
         842  +
                Some(2) => {
         843  +
                    builder.runtime = Some(crate::types::Runtime::from(deser.read_string(member)?.as_str()));
         844  +
                }
         845  +
                Some(3) => {
         846  +
                    builder.role = Some(deser.read_string(member)?);
         847  +
                }
         848  +
                Some(4) => {
         849  +
                    builder.handler = Some(deser.read_string(member)?);
         850  +
                }
         851  +
                Some(5) => {
         852  +
                    builder.code_size = Some(deser.read_long(member)?);
         853  +
                }
         854  +
                Some(6) => {
         855  +
                    builder.description = Some(deser.read_string(member)?);
         856  +
                }
         857  +
                Some(7) => {
         858  +
                    builder.timeout = Some(deser.read_integer(member)?);
         859  +
                }
         860  +
                Some(8) => {
         861  +
                    builder.memory_size = Some(deser.read_integer(member)?);
         862  +
                }
         863  +
                Some(9) => {
         864  +
                    builder.last_modified = Some(deser.read_string(member)?);
         865  +
                }
         866  +
                Some(10) => {
         867  +
                    builder.code_sha256 = Some(deser.read_string(member)?);
         868  +
                }
         869  +
                Some(11) => {
         870  +
                    builder.version = Some(deser.read_string(member)?);
         871  +
                }
         872  +
                Some(12) => {
         873  +
                    builder.vpc_config = Some(crate::types::VpcConfigResponse::deserialize(deser)?);
         874  +
                }
         875  +
                Some(13) => {
         876  +
                    builder.dead_letter_config = Some(crate::types::DeadLetterConfig::deserialize(deser)?);
         877  +
                }
         878  +
                Some(14) => {
         879  +
                    builder.environment = Some(crate::types::EnvironmentResponse::deserialize(deser)?);
         880  +
                }
         881  +
                Some(15) => {
         882  +
                    builder.kms_key_arn = Some(deser.read_string(member)?);
         883  +
                }
         884  +
                Some(16) => {
         885  +
                    builder.tracing_config = Some(crate::types::TracingConfigResponse::deserialize(deser)?);
         886  +
                }
         887  +
                Some(17) => {
         888  +
                    builder.master_arn = Some(deser.read_string(member)?);
         889  +
                }
         890  +
                Some(18) => {
         891  +
                    builder.revision_id = Some(deser.read_string(member)?);
         892  +
                }
         893  +
                Some(19) => {
         894  +
                    builder.layers = Some({
         895  +
                        let mut container = Vec::new();
         896  +
                        deser.read_list(member, &mut |deser| {
         897  +
                            container.push(crate::types::Layer::deserialize(deser)?);
         898  +
                            Ok(())
         899  +
                        })?;
         900  +
                        container
         901  +
                    });
         902  +
                }
         903  +
                Some(20) => {
         904  +
                    builder.state = Some(crate::types::State::from(deser.read_string(member)?.as_str()));
         905  +
                }
         906  +
                Some(21) => {
         907  +
                    builder.state_reason = Some(deser.read_string(member)?);
         908  +
                }
         909  +
                Some(22) => {
         910  +
                    builder.state_reason_code = Some(crate::types::StateReasonCode::from(deser.read_string(member)?.as_str()));
         911  +
                }
         912  +
                Some(23) => {
         913  +
                    builder.last_update_status = Some(crate::types::LastUpdateStatus::from(deser.read_string(member)?.as_str()));
         914  +
                }
         915  +
                Some(24) => {
         916  +
                    builder.last_update_status_reason = Some(deser.read_string(member)?);
         917  +
                }
         918  +
                Some(25) => {
         919  +
                    builder.last_update_status_reason_code =
         920  +
                        Some(crate::types::LastUpdateStatusReasonCode::from(deser.read_string(member)?.as_str()));
         921  +
                }
         922  +
                Some(26) => {
         923  +
                    builder.file_system_configs = Some({
         924  +
                        let mut container = Vec::new();
         925  +
                        deser.read_list(member, &mut |deser| {
         926  +
                            container.push(crate::types::FileSystemConfig::deserialize(deser)?);
         927  +
                            Ok(())
         928  +
                        })?;
         929  +
                        container
         930  +
                    });
         931  +
                }
         932  +
                Some(27) => {
         933  +
                    builder.package_type = Some(crate::types::PackageType::from(deser.read_string(member)?.as_str()));
         934  +
                }
         935  +
                Some(28) => {
         936  +
                    builder.image_config_response = Some(crate::types::ImageConfigResponse::deserialize(deser)?);
         937  +
                }
         938  +
                Some(29) => {
         939  +
                    builder.signing_profile_version_arn = Some(deser.read_string(member)?);
         940  +
                }
         941  +
                Some(30) => {
         942  +
                    builder.signing_job_arn = Some(deser.read_string(member)?);
         943  +
                }
         944  +
                Some(31) => {
         945  +
                    builder.architectures = Some({
         946  +
                        let mut container = Vec::new();
         947  +
                        deser.read_list(member, &mut |deser| {
         948  +
                            container.push(crate::types::Architecture::from(deser.read_string(member)?.as_str()));
         949  +
                            Ok(())
         950  +
                        })?;
         951  +
                        container
         952  +
                    });
         953  +
                }
         954  +
                Some(32) => {
         955  +
                    builder.ephemeral_storage = Some(crate::types::EphemeralStorage::deserialize(deser)?);
         956  +
                }
         957  +
                Some(33) => {
         958  +
                    builder.snap_start = Some(crate::types::SnapStartResponse::deserialize(deser)?);
         959  +
                }
         960  +
                Some(34) => {
         961  +
                    builder.runtime_version_config = Some(crate::types::RuntimeVersionConfig::deserialize(deser)?);
         962  +
                }
         963  +
                Some(35) => {
         964  +
                    builder.logging_config = Some(crate::types::LoggingConfig::deserialize(deser)?);
         965  +
                }
         966  +
                Some(36) => {
         967  +
                    builder._request_id = Some(deser.read_string(member)?);
         968  +
                }
         969  +
                _ => {}
         970  +
            }
         971  +
            Ok(())
         972  +
        })?;
         973  +
        Ok(builder.build())
         974  +
    }
         975  +
}
         976  +
impl GetFunctionConfigurationOutput {
         977  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         978  +
    /// Header-bound members are read directly from headers, avoiding runtime
         979  +
    /// member iteration overhead. Body members are read via the deserializer.
         980  +
    pub fn deserialize_with_response(
         981  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         982  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         983  +
        _status: u16,
         984  +
        _body: &[u8],
  816    985   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  817    986   
        #[allow(unused_variables, unused_mut)]
  818    987   
        let mut builder = Self::builder();
         988  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         989  +
            builder._request_id = Some(val.to_string());
         990  +
        }
  819    991   
        #[allow(
  820    992   
            unused_variables,
  821    993   
            unreachable_code,
  822    994   
            clippy::single_match,
  823    995   
            clippy::match_single_binding,
  824    996   
            clippy::diverging_sub_expression
  825    997   
        )]
  826         -
        deserializer.read_struct(&GETFUNCTIONCONFIGURATIONOUTPUT_SCHEMA, (), |_, member, deser| {
         998  +
        deserializer.read_struct(&GETFUNCTIONCONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
  827    999   
            match member.member_index() {
  828   1000   
                Some(0) => {
  829   1001   
                    builder.function_name = Some(deser.read_string(member)?);
  830   1002   
                }
  831   1003   
                Some(1) => {
  832   1004   
                    builder.function_arn = Some(deser.read_string(member)?);
  833   1005   
                }
  834   1006   
                Some(2) => {
  835   1007   
                    builder.runtime = Some(crate::types::Runtime::from(deser.read_string(member)?.as_str()));
  836   1008   
                }
  837   1009   
                Some(3) => {
  838   1010   
                    builder.role = Some(deser.read_string(member)?);
  839   1011   
                }
  840   1012   
                Some(4) => {
  841   1013   
                    builder.handler = Some(deser.read_string(member)?);
  842   1014   
                }
  843   1015   
                Some(5) => {
  844   1016   
                    builder.code_size = Some(deser.read_long(member)?);
  845   1017   
                }
  846   1018   
                Some(6) => {
  847   1019   
                    builder.description = Some(deser.read_string(member)?);
  848   1020   
                }
  849   1021   
                Some(7) => {
  850   1022   
                    builder.timeout = Some(deser.read_integer(member)?);
  851   1023   
                }
  852   1024   
                Some(8) => {
  853   1025   
                    builder.memory_size = Some(deser.read_integer(member)?);
  854   1026   
                }
  855   1027   
                Some(9) => {
  856   1028   
                    builder.last_modified = Some(deser.read_string(member)?);
  857   1029   
                }
  858   1030   
                Some(10) => {
  859   1031   
                    builder.code_sha256 = Some(deser.read_string(member)?);
  860   1032   
                }
  861   1033   
                Some(11) => {
  862   1034   
                    builder.version = Some(deser.read_string(member)?);
  863   1035   
                }
  864   1036   
                Some(12) => {
  865   1037   
                    builder.vpc_config = Some(crate::types::VpcConfigResponse::deserialize(deser)?);
  866   1038   
                }
  867   1039   
                Some(13) => {
  868   1040   
                    builder.dead_letter_config = Some(crate::types::DeadLetterConfig::deserialize(deser)?);
  869   1041   
                }
  870   1042   
                Some(14) => {
  871   1043   
                    builder.environment = Some(crate::types::EnvironmentResponse::deserialize(deser)?);
  872   1044   
                }
  873   1045   
                Some(15) => {
  874   1046   
                    builder.kms_key_arn = Some(deser.read_string(member)?);
  875   1047   
                }
  876   1048   
                Some(16) => {
  877   1049   
                    builder.tracing_config = Some(crate::types::TracingConfigResponse::deserialize(deser)?);
  878   1050   
                }
  879   1051   
                Some(17) => {
  880   1052   
                    builder.master_arn = Some(deser.read_string(member)?);
  881   1053   
                }
  882   1054   
                Some(18) => {
  883   1055   
                    builder.revision_id = Some(deser.read_string(member)?);
  884   1056   
                }
  885   1057   
                Some(19) => {
  886   1058   
                    builder.layers = Some({
  887         -
                        let container = if let Some(cap) = deser.container_size() {
  888         -
                            Vec::with_capacity(cap)
  889         -
                        } else {
  890         -
                            Vec::new()
  891         -
                        };
  892         -
                        deser.read_list(member, container, |mut list, deser| {
  893         -
                            list.push(crate::types::Layer::deserialize(deser)?);
  894         -
                            Ok(list)
  895         -
                        })?
        1059  +
                        let mut container = Vec::new();
        1060  +
                        deser.read_list(member, &mut |deser| {
        1061  +
                            container.push(crate::types::Layer::deserialize(deser)?);
        1062  +
                            Ok(())
        1063  +
                        })?;
        1064  +
                        container
  896   1065   
                    });
  897   1066   
                }
  898   1067   
                Some(20) => {
  899   1068   
                    builder.state = Some(crate::types::State::from(deser.read_string(member)?.as_str()));
  900   1069   
                }
  901   1070   
                Some(21) => {
  902   1071   
                    builder.state_reason = Some(deser.read_string(member)?);
  903   1072   
                }
  904   1073   
                Some(22) => {
  905   1074   
                    builder.state_reason_code = Some(crate::types::StateReasonCode::from(deser.read_string(member)?.as_str()));
  906   1075   
                }
  907   1076   
                Some(23) => {
  908   1077   
                    builder.last_update_status = Some(crate::types::LastUpdateStatus::from(deser.read_string(member)?.as_str()));
  909   1078   
                }
  910   1079   
                Some(24) => {
  911   1080   
                    builder.last_update_status_reason = Some(deser.read_string(member)?);
  912   1081   
                }
  913   1082   
                Some(25) => {
  914   1083   
                    builder.last_update_status_reason_code =
  915   1084   
                        Some(crate::types::LastUpdateStatusReasonCode::from(deser.read_string(member)?.as_str()));
  916   1085   
                }
  917   1086   
                Some(26) => {
  918   1087   
                    builder.file_system_configs = Some({
  919         -
                        let container = if let Some(cap) = deser.container_size() {
  920         -
                            Vec::with_capacity(cap)
  921         -
                        } else {
  922         -
                            Vec::new()
  923         -
                        };
  924         -
                        deser.read_list(member, container, |mut list, deser| {
  925         -
                            list.push(crate::types::FileSystemConfig::deserialize(deser)?);
  926         -
                            Ok(list)
  927         -
                        })?
        1088  +
                        let mut container = Vec::new();
        1089  +
                        deser.read_list(member, &mut |deser| {
        1090  +
                            container.push(crate::types::FileSystemConfig::deserialize(deser)?);
        1091  +
                            Ok(())
        1092  +
                        })?;
        1093  +
                        container
  928   1094   
                    });
  929   1095   
                }
  930   1096   
                Some(27) => {
  931   1097   
                    builder.package_type = Some(crate::types::PackageType::from(deser.read_string(member)?.as_str()));
  932   1098   
                }
  933   1099   
                Some(28) => {
  934   1100   
                    builder.image_config_response = Some(crate::types::ImageConfigResponse::deserialize(deser)?);
  935   1101   
                }
  936   1102   
                Some(29) => {
  937   1103   
                    builder.signing_profile_version_arn = Some(deser.read_string(member)?);
  938   1104   
                }
  939   1105   
                Some(30) => {
  940   1106   
                    builder.signing_job_arn = Some(deser.read_string(member)?);
  941   1107   
                }
  942   1108   
                Some(31) => {
  943   1109   
                    builder.architectures = Some({
  944         -
                        let container = if let Some(cap) = deser.container_size() {
  945         -
                            Vec::with_capacity(cap)
  946         -
                        } else {
  947         -
                            Vec::new()
  948         -
                        };
  949         -
                        deser.read_list(member, container, |mut list, deser| {
  950         -
                            list.push(crate::types::Architecture::from(deser.read_string(member)?.as_str()));
  951         -
                            Ok(list)
  952         -
                        })?
        1110  +
                        let mut container = Vec::new();
        1111  +
                        deser.read_list(member, &mut |deser| {
        1112  +
                            container.push(crate::types::Architecture::from(deser.read_string(member)?.as_str()));
        1113  +
                            Ok(())
        1114  +
                        })?;
        1115  +
                        container
  953   1116   
                    });
  954   1117   
                }
  955   1118   
                Some(32) => {
  956   1119   
                    builder.ephemeral_storage = Some(crate::types::EphemeralStorage::deserialize(deser)?);
  957   1120   
                }
  958   1121   
                Some(33) => {
  959   1122   
                    builder.snap_start = Some(crate::types::SnapStartResponse::deserialize(deser)?);
  960   1123   
                }
  961   1124   
                Some(34) => {
  962   1125   
                    builder.runtime_version_config = Some(crate::types::RuntimeVersionConfig::deserialize(deser)?);

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_event_invoke_config.rs

@@ -1,1 +40,46 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `GetFunctionEventInvokeConfig`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetFunctionEventInvokeConfig;
    6      6   
impl GetFunctionEventInvokeConfig {
    7      7   
    /// Creates a new `GetFunctionEventInvokeConfig`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -124,130 +271,405 @@
  144    150   
                crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError,
  145    151   
            >::new());
  146    152   
  147    153   
        ::std::borrow::Cow::Owned(rcb)
  148    154   
    }
  149    155   
}
  150    156   
  151    157   
#[derive(Debug)]
  152    158   
struct GetFunctionEventInvokeConfigResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetFunctionEventInvokeConfigResponseDeserializer {
  154         -
    fn deserialize_nonstreaming(
         160  +
    fn deserialize_nonstreaming_with_config(
  155    161   
        &self,
  156    162   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         163  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  157    164   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  158    165   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  159         -
        let headers = response.headers();
  160         -
        let body = response.body().bytes().expect("body loaded");
  161    166   
        #[allow(unused_mut)]
  162    167   
        let mut force_error = false;
  163    168   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  164         -
        let parse_result = if !success && status != 200 || force_error {
  165         -
            crate::protocol_serde::shape_get_function_event_invoke_config::de_get_function_event_invoke_config_http_error(status, headers, body)
         169  +
        if !success && status != 200 || force_error {
         170  +
            let headers = response.headers();
         171  +
            let body = response.body().bytes().expect("body loaded");
         172  +
            #[allow(unused_mut)]
         173  +
            let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(status, headers, body).map_err(|e| {
         174  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         175  +
            })?;
         176  +
            generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
         177  +
            let generic = generic_builder.build();
         178  +
            let error_code = match generic.code() {
         179  +
                ::std::option::Option::Some(code) => code,
         180  +
                ::std::option::Option::None => {
         181  +
                    return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         182  +
                        ::aws_smithy_runtime_api::box_error::BoxError::from(
         183  +
                            crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError::unhandled(generic),
         184  +
                        ),
         185  +
                    ))
         186  +
                }
         187  +
            };
         188  +
            let _error_message = generic.message().map(|msg| msg.to_owned());
         189  +
            let protocol = _cfg
         190  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         191  +
                .expect("a SharedClientProtocol is required");
         192  +
            let err = match error_code {
         193  +
                "InvalidParameterValueException" => {
         194  +
                    crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError::InvalidParameterValueException({
         195  +
                        let mut tmp = match protocol
         196  +
                            .deserialize_response(response, crate::types::error::InvalidParameterValueException::SCHEMA, _cfg)
         197  +
                            .and_then(|mut deser| {
         198  +
                                crate::types::error::InvalidParameterValueException::deserialize_with_response(
         199  +
                                    &mut *deser,
         200  +
                                    response.headers(),
         201  +
                                    response.status().into(),
         202  +
                                    body,
         203  +
                                )
         204  +
                            }) {
         205  +
                            ::std::result::Result::Ok(val) => val,
         206  +
                            ::std::result::Result::Err(e) => {
         207  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         208  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         209  +
                                ))
         210  +
                            }
         211  +
                        };
         212  +
                        tmp.meta = generic;
         213  +
                        if tmp.message.is_none() {
         214  +
                            tmp.message = _error_message;
         215  +
                        }
         216  +
                        tmp
         217  +
                    })
         218  +
                }
         219  +
                "ResourceNotFoundException" => {
         220  +
                    crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError::ResourceNotFoundException({
         221  +
                        let mut tmp = match protocol
         222  +
                            .deserialize_response(response, crate::types::error::ResourceNotFoundException::SCHEMA, _cfg)
         223  +
                            .and_then(|mut deser| {
         224  +
                                crate::types::error::ResourceNotFoundException::deserialize_with_response(
         225  +
                                    &mut *deser,
         226  +
                                    response.headers(),
         227  +
                                    response.status().into(),
         228  +
                                    body,
         229  +
                                )
         230  +
                            }) {
         231  +
                            ::std::result::Result::Ok(val) => val,
         232  +
                            ::std::result::Result::Err(e) => {
         233  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         234  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         235  +
                                ))
         236  +
                            }
         237  +
                        };
         238  +
                        tmp.meta = generic;
         239  +
                        if tmp.message.is_none() {
         240  +
                            tmp.message = _error_message;
         241  +
                        }
         242  +
                        tmp
         243  +
                    })
         244  +
                }
         245  +
                "ServiceException" => crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError::ServiceException({
         246  +
                    let mut tmp = match protocol
         247  +
                        .deserialize_response(response, crate::types::error::ServiceException::SCHEMA, _cfg)
         248  +
                        .and_then(|mut deser| {
         249  +
                            crate::types::error::ServiceException::deserialize_with_response(
         250  +
                                &mut *deser,
         251  +
                                response.headers(),
         252  +
                                response.status().into(),
         253  +
                                body,
         254  +
                            )
         255  +
                        }) {
         256  +
                        ::std::result::Result::Ok(val) => val,
         257  +
                        ::std::result::Result::Err(e) => {
         258  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         259  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         260  +
                            ))
         261  +
                        }
         262  +
                    };
         263  +
                    tmp.meta = generic;
         264  +
                    if tmp.message.is_none() {
         265  +
                        tmp.message = _error_message;
         266  +
                    }
         267  +
                    tmp
         268  +
                }),
         269  +
                "TooManyRequestsException" => {
         270  +
                    crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError::TooManyRequestsException({
         271  +
                        let mut tmp = match protocol
         272  +
                            .deserialize_response(response, crate::types::error::TooManyRequestsException::SCHEMA, _cfg)
         273  +
                            .and_then(|mut deser| {
         274  +
                                crate::types::error::TooManyRequestsException::deserialize_with_response(
         275  +
                                    &mut *deser,
         276  +
                                    response.headers(),
         277  +
                                    response.status().into(),
         278  +
                                    body,
         279  +
                                )
         280  +
                            }) {
         281  +
                            ::std::result::Result::Ok(val) => val,
         282  +
                            ::std::result::Result::Err(e) => {
         283  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         284  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         285  +
                                ))
         286  +
                            }
         287  +
                        };
         288  +
                        tmp.meta = generic;
         289  +
                        if tmp.message.is_none() {
         290  +
                            tmp.message = _error_message;
         291  +
                        }
         292  +
                        tmp
         293  +
                    })
         294  +
                }
         295  +
                _ => crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigError::generic(generic),
         296  +
            };
         297  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         298  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         299  +
            ))
  166    300   
        } else {
  167         -
            crate::protocol_serde::shape_get_function_event_invoke_config::de_get_function_event_invoke_config_http_response(status, headers, body)
  168         -
        };
  169         -
        crate::protocol_serde::type_erase_result(parse_result)
         301  +
            let protocol = _cfg
         302  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         303  +
                .expect("a SharedClientProtocol is required");
         304  +
            let mut deser = protocol
         305  +
                .deserialize_response(response, GetFunctionEventInvokeConfig::OUTPUT_SCHEMA, _cfg)
         306  +
                .map_err(|e| {
         307  +
                    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         308  +
                })?;
         309  +
            let body = response.body().bytes().expect("body loaded");
         310  +
            let output = crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigOutput::deserialize_with_response(
         311  +
                &mut *deser,
         312  +
                response.headers(),
         313  +
                response.status().into(),
         314  +
                body,
         315  +
            )
         316  +
            .map_err(|e| {
         317  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         318  +
            })?;
         319  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         320  +
        }
  170    321   
    }
  171    322   
}
  172    323   
#[derive(Debug)]
  173    324   
struct GetFunctionEventInvokeConfigRequestSerializer;
  174    325   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for GetFunctionEventInvokeConfigRequestSerializer {
  175    326   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  176    327   
    fn serialize_input(
  177    328   
        &self,
  178    329   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  179    330   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  180    331   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  181    332   
        let input = input
  182    333   
            .downcast::<crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput>()
  183    334   
            .expect("correct type");
  184         -
        let _header_serialization_settings = _cfg
  185         -
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  186         -
            .cloned()
  187         -
            .unwrap_or_default();
  188         -
        let mut request_builder = {
  189         -
            #[allow(clippy::uninlined_format_args)]
  190         -
            fn uri_base(
  191         -
                _input: &crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput,
  192         -
                output: &mut ::std::string::String,
  193         -
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  194         -
                use ::std::fmt::Write as _;
  195         -
                let input_1 = &_input.function_name;
  196         -
                let input_1 = input_1
  197         -
                    .as_ref()
  198         -
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("function_name", "cannot be empty or unset"))?;
  199         -
                let function_name = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Default);
  200         -
                if function_name.is_empty() {
  201         -
                    return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
  202         -
                        "function_name",
  203         -
                        "cannot be empty or unset",
  204         -
                    ));
         335  +
        let protocol = _cfg
         336  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         337  +
            .expect("a SharedClientProtocol is required");
         338  +
        if protocol.supports_http_bindings() {
         339  +
            let mut request = protocol
         340  +
                .serialize_body(&input, GetFunctionEventInvokeConfig::INPUT_SCHEMA, "", _cfg)
         341  +
                .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         342  +
            {
         343  +
                let mut uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config".to_string();
         344  +
                let mut query_params: Vec<(String, String)> = Vec::new();
         345  +
                if let Some(ref val) = input.function_name {
         346  +
                    uri = uri.replace("{FunctionName}", &::aws_smithy_schema::http_protocol::percent_encode(&val.to_string()));
  205    347   
                }
  206         -
                ::std::write!(
  207         -
                    output,
  208         -
                    "/2019-09-25/functions/{FunctionName}/event-invoke-config",
  209         -
                    FunctionName = function_name
  210         -
                )
  211         -
                .expect("formatting should succeed");
  212         -
                ::std::result::Result::Ok(())
  213         -
            }
  214         -
            fn uri_query(
  215         -
                _input: &crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput,
  216         -
                mut output: &mut ::std::string::String,
  217         -
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  218         -
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  219         -
                if let ::std::option::Option::Some(inner_2) = &_input.qualifier {
  220         -
                    {
  221         -
                        query.push_kv("Qualifier", &::aws_smithy_http::query::fmt_string(inner_2));
  222         -
                    }
         348  +
                if let Some(ref val) = input.qualifier {
         349  +
                    query_params.push(("Qualifier".to_string(), val.to_string()));
  223    350   
                }
  224         -
                ::std::result::Result::Ok(())
  225         -
            }
  226         -
            #[allow(clippy::unnecessary_wraps)]
  227         -
            fn update_http_builder(
  228         -
                input: &crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput,
  229         -
                builder: ::http_1x::request::Builder,
  230         -
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  231         -
                let mut uri = ::std::string::String::new();
  232         -
                uri_base(input, &mut uri)?;
  233         -
                uri_query(input, &mut uri)?;
  234         -
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
         351  +
                if !query_params.is_empty() {
         352  +
                    uri.push(if uri.contains('?') { '&' } else { '?' });
         353  +
                    let pairs: Vec<String> = query_params
         354  +
                        .iter()
         355  +
                        .map(|(k, v)| {
         356  +
                            format!(
         357  +
                                "{}={}",
         358  +
                                ::aws_smithy_schema::http_protocol::percent_encode(k),
         359  +
                                ::aws_smithy_schema::http_protocol::percent_encode(v)
         360  +
                            )
         361  +
                        })
         362  +
                        .collect();
         363  +
                    uri.push_str(&pairs.join("&"));
         364  +
                }
         365  +
                request.set_uri(uri.as_str()).expect("valid URI");
  235    366   
            }
  236         -
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  237         -
            builder
  238         -
        };
  239         -
        let body = ::aws_smithy_types::body::SdkBody::from("");
  240    367   
  241         -
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
         368  +
            return ::std::result::Result::Ok(request);
         369  +
        } else {
         370  +
            let mut request = protocol
         371  +
                .serialize_request(&input, GetFunctionEventInvokeConfig::INPUT_SCHEMA, "", _cfg)
         372  +
                .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         373  +
         374  +
            return ::std::result::Result::Ok(request);
         375  +
        }
  242    376   
    }
  243    377   
}
  244    378   
#[derive(Debug)]
  245    379   
struct GetFunctionEventInvokeConfigEndpointParamsInterceptor;
  246    380   
  247    381   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for GetFunctionEventInvokeConfigEndpointParamsInterceptor {
  248    382   
    fn name(&self) -> &'static str {
  249    383   
        "GetFunctionEventInvokeConfigEndpointParamsInterceptor"
  250    384   
    }
  251    385   

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_event_invoke_config/_get_function_event_invoke_config_input.rs

@@ -23,23 +155,172 @@
   43     43   
    "com.amazonaws.lambda.synthetic",
   44     44   
    "GetFunctionEventInvokeConfigInput",
   45     45   
);
   46     46   
static GETFUNCTIONEVENTINVOKECONFIGINPUT_MEMBER_FUNCTION_NAME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   47     47   
    ::aws_smithy_schema::ShapeId::from_static(
   48     48   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigInput$FunctionName",
   49     49   
        "com.amazonaws.lambda.synthetic",
   50     50   
        "GetFunctionEventInvokeConfigInput",
   51     51   
    ),
   52     52   
    ::aws_smithy_schema::ShapeType::String,
   53         -
    "function_name",
          53  +
    "FunctionName",
   54     54   
    0,
   55     55   
)
   56     56   
.with_http_label();
   57     57   
static GETFUNCTIONEVENTINVOKECONFIGINPUT_MEMBER_QUALIFIER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   58     58   
    ::aws_smithy_schema::ShapeId::from_static(
   59     59   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigInput$Qualifier",
   60     60   
        "com.amazonaws.lambda.synthetic",
   61     61   
        "GetFunctionEventInvokeConfigInput",
   62     62   
    ),
   63     63   
    ::aws_smithy_schema::ShapeType::String,
   64         -
    "qualifier",
          64  +
    "Qualifier",
   65     65   
    1,
   66     66   
)
   67     67   
.with_http_query("Qualifier");
   68     68   
static GETFUNCTIONEVENTINVOKECONFIGINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   69     69   
    GETFUNCTIONEVENTINVOKECONFIGINPUT_SCHEMA_ID,
   70     70   
    ::aws_smithy_schema::ShapeType::Structure,
   71     71   
    &[
   72     72   
        &GETFUNCTIONEVENTINVOKECONFIGINPUT_MEMBER_FUNCTION_NAME,
   73     73   
        &GETFUNCTIONEVENTINVOKECONFIGINPUT_MEMBER_QUALIFIER,
   74     74   
    ],
   75         -
);
          75  +
)
          76  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          77  +
    "GET",
          78  +
    "/2019-09-25/functions/{FunctionName}/event-invoke-config",
          79  +
    None,
          80  +
));
   76     81   
impl GetFunctionEventInvokeConfigInput {
   77     82   
    /// The schema for this shape.
   78     83   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETFUNCTIONEVENTINVOKECONFIGINPUT_SCHEMA;
   79     84   
}
   80     85   
impl ::aws_smithy_schema::serde::SerializableStruct for GetFunctionEventInvokeConfigInput {
   81     86   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   82     87   
    fn serialize_members(
   83     88   
        &self,
   84     89   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   85     90   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   86     91   
        if let Some(ref val) = self.function_name {
   87     92   
            ser.write_string(&GETFUNCTIONEVENTINVOKECONFIGINPUT_MEMBER_FUNCTION_NAME, val)?;
   88     93   
        }
   89     94   
        if let Some(ref val) = self.qualifier {
   90     95   
            ser.write_string(&GETFUNCTIONEVENTINVOKECONFIGINPUT_MEMBER_QUALIFIER, val)?;
   91     96   
        }
   92     97   
        Ok(())
   93     98   
    }
   94     99   
}
   95    100   
impl GetFunctionEventInvokeConfigInput {
   96    101   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   97         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   98         -
        deserializer: &mut D,
         102  +
    pub fn deserialize(
         103  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   99    104   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  100    105   
        #[allow(unused_variables, unused_mut)]
  101    106   
        let mut builder = Self::builder();
  102    107   
        #[allow(
  103    108   
            unused_variables,
  104    109   
            unreachable_code,
  105    110   
            clippy::single_match,
  106    111   
            clippy::match_single_binding,
  107    112   
            clippy::diverging_sub_expression
  108    113   
        )]
  109         -
        deserializer.read_struct(&GETFUNCTIONEVENTINVOKECONFIGINPUT_SCHEMA, (), |_, member, deser| {
         114  +
        deserializer.read_struct(&GETFUNCTIONEVENTINVOKECONFIGINPUT_SCHEMA, &mut |member, deser| {
  110    115   
            match member.member_index() {
  111    116   
                Some(0) => {
  112    117   
                    builder.function_name = Some(deser.read_string(member)?);
  113    118   
                }
  114    119   
                Some(1) => {
  115    120   
                    builder.qualifier = Some(deser.read_string(member)?);
  116    121   
                }
  117    122   
                _ => {}
  118    123   
            }
  119    124   
            Ok(())
  120    125   
        })?;
         126  +
        builder.function_name = builder.function_name.or(Some(String::new()));
  121    127   
        builder
  122    128   
            .build()
  123    129   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  124    130   
    }
  125    131   
}
         132  +
impl GetFunctionEventInvokeConfigInput {
         133  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         134  +
    pub fn deserialize_with_response(
         135  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         136  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         137  +
        _status: u16,
         138  +
        _body: &[u8],
         139  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         140  +
        Self::deserialize(deserializer)
         141  +
    }
         142  +
}
  126    143   
impl GetFunctionEventInvokeConfigInput {
  127    144   
    /// Creates a new builder-style object to manufacture [`GetFunctionEventInvokeConfigInput`](crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput).
  128    145   
    pub fn builder() -> crate::operation::get_function_event_invoke_config::builders::GetFunctionEventInvokeConfigInputBuilder {
  129    146   
        crate::operation::get_function_event_invoke_config::builders::GetFunctionEventInvokeConfigInputBuilder::default()
  130    147   
    }
  131    148   
}
  132    149   
  133    150   
/// A builder for [`GetFunctionEventInvokeConfigInput`](crate::operation::get_function_event_invoke_config::GetFunctionEventInvokeConfigInput).
  134    151   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  135    152   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_event_invoke_config/_get_function_event_invoke_config_output.rs

@@ -52,52 +208,265 @@
   72     72   
    "com.amazonaws.lambda.synthetic",
   73     73   
    "GetFunctionEventInvokeConfigOutput",
   74     74   
);
   75     75   
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_LAST_MODIFIED: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   76     76   
    ::aws_smithy_schema::ShapeId::from_static(
   77     77   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigOutput$LastModified",
   78     78   
        "com.amazonaws.lambda.synthetic",
   79     79   
        "GetFunctionEventInvokeConfigOutput",
   80     80   
    ),
   81     81   
    ::aws_smithy_schema::ShapeType::Timestamp,
   82         -
    "last_modified",
          82  +
    "LastModified",
   83     83   
    0,
   84     84   
);
   85     85   
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_FUNCTION_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   86     86   
    ::aws_smithy_schema::ShapeId::from_static(
   87     87   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigOutput$FunctionArn",
   88     88   
        "com.amazonaws.lambda.synthetic",
   89     89   
        "GetFunctionEventInvokeConfigOutput",
   90     90   
    ),
   91     91   
    ::aws_smithy_schema::ShapeType::String,
   92         -
    "function_arn",
          92  +
    "FunctionArn",
   93     93   
    1,
   94     94   
);
   95     95   
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_MAXIMUM_RETRY_ATTEMPTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   96     96   
    ::aws_smithy_schema::ShapeId::from_static(
   97     97   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigOutput$MaximumRetryAttempts",
   98     98   
        "com.amazonaws.lambda.synthetic",
   99     99   
        "GetFunctionEventInvokeConfigOutput",
  100    100   
    ),
  101    101   
    ::aws_smithy_schema::ShapeType::Integer,
  102         -
    "maximum_retry_attempts",
         102  +
    "MaximumRetryAttempts",
  103    103   
    2,
  104    104   
);
  105    105   
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_MAXIMUM_EVENT_AGE_IN_SECONDS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  106    106   
    ::aws_smithy_schema::ShapeId::from_static(
  107    107   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigOutput$MaximumEventAgeInSeconds",
  108    108   
        "com.amazonaws.lambda.synthetic",
  109    109   
        "GetFunctionEventInvokeConfigOutput",
  110    110   
    ),
  111    111   
    ::aws_smithy_schema::ShapeType::Integer,
  112         -
    "maximum_event_age_in_seconds",
         112  +
    "MaximumEventAgeInSeconds",
  113    113   
    3,
  114    114   
);
  115    115   
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_DESTINATION_CONFIG: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  116    116   
    ::aws_smithy_schema::ShapeId::from_static(
  117    117   
        "com.amazonaws.lambda.synthetic#GetFunctionEventInvokeConfigOutput$DestinationConfig",
  118    118   
        "com.amazonaws.lambda.synthetic",
  119    119   
        "GetFunctionEventInvokeConfigOutput",
  120    120   
    ),
  121    121   
    ::aws_smithy_schema::ShapeType::Structure,
  122         -
    "destination_config",
         122  +
    "DestinationConfig",
  123    123   
    4,
  124    124   
);
         125  +
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
         126  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
         127  +
    ::aws_smithy_schema::ShapeType::String,
         128  +
    "request_id",
         129  +
    5,
         130  +
)
         131  +
.with_http_header("x-amzn-requestid");
  125    132   
static GETFUNCTIONEVENTINVOKECONFIGOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
  126    133   
    GETFUNCTIONEVENTINVOKECONFIGOUTPUT_SCHEMA_ID,
  127    134   
    ::aws_smithy_schema::ShapeType::Structure,
  128    135   
    &[
  129    136   
        &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_LAST_MODIFIED,
  130    137   
        &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_FUNCTION_ARN,
  131    138   
        &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_MAXIMUM_RETRY_ATTEMPTS,
  132    139   
        &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_MAXIMUM_EVENT_AGE_IN_SECONDS,
  133    140   
        &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_DESTINATION_CONFIG,
         141  +
        &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER__REQUEST_ID,
  134    142   
    ],
  135    143   
);
  136    144   
impl GetFunctionEventInvokeConfigOutput {
  137    145   
    /// The schema for this shape.
  138    146   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETFUNCTIONEVENTINVOKECONFIGOUTPUT_SCHEMA;
  139    147   
}
  140    148   
impl ::aws_smithy_schema::serde::SerializableStruct for GetFunctionEventInvokeConfigOutput {
  141    149   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  142    150   
    fn serialize_members(
  143    151   
        &self,
  144    152   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  145    153   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  146    154   
        if let Some(ref val) = self.last_modified {
  147    155   
            ser.write_timestamp(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_LAST_MODIFIED, val)?;
  148    156   
        }
  149    157   
        if let Some(ref val) = self.function_arn {
  150    158   
            ser.write_string(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_FUNCTION_ARN, val)?;
  151    159   
        }
  152    160   
        if let Some(ref val) = self.maximum_retry_attempts {
  153    161   
            ser.write_integer(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_MAXIMUM_RETRY_ATTEMPTS, *val)?;
  154    162   
        }
  155    163   
        if let Some(ref val) = self.maximum_event_age_in_seconds {
  156    164   
            ser.write_integer(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_MAXIMUM_EVENT_AGE_IN_SECONDS, *val)?;
  157    165   
        }
  158    166   
        if let Some(ref val) = self.destination_config {
  159    167   
            ser.write_struct(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_MEMBER_DESTINATION_CONFIG, val)?;
  160    168   
        }
  161    169   
        Ok(())
  162    170   
    }
  163    171   
}
  164    172   
impl GetFunctionEventInvokeConfigOutput {
  165    173   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  166         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  167         -
        deserializer: &mut D,
         174  +
    pub fn deserialize(
         175  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  168    176   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  169    177   
        #[allow(unused_variables, unused_mut)]
  170    178   
        let mut builder = Self::builder();
  171    179   
        #[allow(
  172    180   
            unused_variables,
  173    181   
            unreachable_code,
  174    182   
            clippy::single_match,
  175    183   
            clippy::match_single_binding,
  176    184   
            clippy::diverging_sub_expression
  177    185   
        )]
  178         -
        deserializer.read_struct(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_SCHEMA, (), |_, member, deser| {
         186  +
        deserializer.read_struct(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_SCHEMA, &mut |member, deser| {
         187  +
            match member.member_index() {
         188  +
                Some(0) => {
         189  +
                    builder.last_modified = Some(deser.read_timestamp(member)?);
         190  +
                }
         191  +
                Some(1) => {
         192  +
                    builder.function_arn = Some(deser.read_string(member)?);
         193  +
                }
         194  +
                Some(2) => {
         195  +
                    builder.maximum_retry_attempts = Some(deser.read_integer(member)?);
         196  +
                }
         197  +
                Some(3) => {
         198  +
                    builder.maximum_event_age_in_seconds = Some(deser.read_integer(member)?);
         199  +
                }
         200  +
                Some(4) => {
         201  +
                    builder.destination_config = Some(crate::types::DestinationConfig::deserialize(deser)?);
         202  +
                }
         203  +
                Some(5) => {
         204  +
                    builder._request_id = Some(deser.read_string(member)?);
         205  +
                }
         206  +
                _ => {}
         207  +
            }
         208  +
            Ok(())
         209  +
        })?;
         210  +
        Ok(builder.build())
         211  +
    }
         212  +
}
         213  +
impl GetFunctionEventInvokeConfigOutput {
         214  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         215  +
    /// Header-bound members are read directly from headers, avoiding runtime
         216  +
    /// member iteration overhead. Body members are read via the deserializer.
         217  +
    pub fn deserialize_with_response(
         218  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         219  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         220  +
        _status: u16,
         221  +
        _body: &[u8],
         222  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         223  +
        #[allow(unused_variables, unused_mut)]
         224  +
        let mut builder = Self::builder();
         225  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         226  +
            builder._request_id = Some(val.to_string());
         227  +
        }
         228  +
        #[allow(
         229  +
            unused_variables,
         230  +
            unreachable_code,
         231  +
            clippy::single_match,
         232  +
            clippy::match_single_binding,
         233  +
            clippy::diverging_sub_expression
         234  +
        )]
         235  +
        deserializer.read_struct(&GETFUNCTIONEVENTINVOKECONFIGOUTPUT_SCHEMA, &mut |member, deser| {
  179    236   
            match member.member_index() {
  180    237   
                Some(0) => {
  181    238   
                    builder.last_modified = Some(deser.read_timestamp(member)?);
  182    239   
                }
  183    240   
                Some(1) => {
  184    241   
                    builder.function_arn = Some(deser.read_string(member)?);
  185    242   
                }
  186    243   
                Some(2) => {
  187    244   
                    builder.maximum_retry_attempts = Some(deser.read_integer(member)?);
  188    245   
                }

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_recursion_config.rs

@@ -1,1 +40,46 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `GetFunctionRecursionConfig`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetFunctionRecursionConfig;
    6      6   
impl GetFunctionRecursionConfig {
    7      7   
    /// Creates a new `GetFunctionRecursionConfig`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::get_function_recursion_config::GetFunctionRecursionConfigOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::get_function_recursion_config::GetFunctionRecursionConfigOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -118,124 +252,396 @@
  138    144   
                crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError,
  139    145   
            >::new());
  140    146   
  141    147   
        ::std::borrow::Cow::Owned(rcb)
  142    148   
    }
  143    149   
}
  144    150   
  145    151   
#[derive(Debug)]
  146    152   
struct GetFunctionRecursionConfigResponseDeserializer;
  147    153   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetFunctionRecursionConfigResponseDeserializer {
  148         -
    fn deserialize_nonstreaming(
         154  +
    fn deserialize_nonstreaming_with_config(
  149    155   
        &self,
  150    156   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         157  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  151    158   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  152    159   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  153         -
        let headers = response.headers();
  154         -
        let body = response.body().bytes().expect("body loaded");
  155    160   
        #[allow(unused_mut)]
  156    161   
        let mut force_error = false;
  157    162   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158         -
        let parse_result = if !success && status != 200 || force_error {
  159         -
            crate::protocol_serde::shape_get_function_recursion_config::de_get_function_recursion_config_http_error(status, headers, body)
         163  +
        if !success && status != 200 || force_error {
         164  +
            let headers = response.headers();
         165  +
            let body = response.body().bytes().expect("body loaded");
         166  +
            #[allow(unused_mut)]
         167  +
            let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(status, headers, body).map_err(|e| {
         168  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         169  +
            })?;
         170  +
            generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
         171  +
            let generic = generic_builder.build();
         172  +
            let error_code = match generic.code() {
         173  +
                ::std::option::Option::Some(code) => code,
         174  +
                ::std::option::Option::None => {
         175  +
                    return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         176  +
                        ::aws_smithy_runtime_api::box_error::BoxError::from(
         177  +
                            crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError::unhandled(generic),
         178  +
                        ),
         179  +
                    ))
         180  +
                }
         181  +
            };
         182  +
            let _error_message = generic.message().map(|msg| msg.to_owned());
         183  +
            let protocol = _cfg
         184  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         185  +
                .expect("a SharedClientProtocol is required");
         186  +
            let err = match error_code {
         187  +
                "InvalidParameterValueException" => {
         188  +
                    crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError::InvalidParameterValueException({
         189  +
                        let mut tmp = match protocol
         190  +
                            .deserialize_response(response, crate::types::error::InvalidParameterValueException::SCHEMA, _cfg)
         191  +
                            .and_then(|mut deser| {
         192  +
                                crate::types::error::InvalidParameterValueException::deserialize_with_response(
         193  +
                                    &mut *deser,
         194  +
                                    response.headers(),
         195  +
                                    response.status().into(),
         196  +
                                    body,
         197  +
                                )
         198  +
                            }) {
         199  +
                            ::std::result::Result::Ok(val) => val,
         200  +
                            ::std::result::Result::Err(e) => {
         201  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         202  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         203  +
                                ))
         204  +
                            }
         205  +
                        };
         206  +
                        tmp.meta = generic;
         207  +
                        if tmp.message.is_none() {
         208  +
                            tmp.message = _error_message;
         209  +
                        }
         210  +
                        tmp
         211  +
                    })
         212  +
                }
         213  +
                "ResourceNotFoundException" => {
         214  +
                    crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError::ResourceNotFoundException({
         215  +
                        let mut tmp = match protocol
         216  +
                            .deserialize_response(response, crate::types::error::ResourceNotFoundException::SCHEMA, _cfg)
         217  +
                            .and_then(|mut deser| {
         218  +
                                crate::types::error::ResourceNotFoundException::deserialize_with_response(
         219  +
                                    &mut *deser,
         220  +
                                    response.headers(),
         221  +
                                    response.status().into(),
         222  +
                                    body,
         223  +
                                )
         224  +
                            }) {
         225  +
                            ::std::result::Result::Ok(val) => val,
         226  +
                            ::std::result::Result::Err(e) => {
         227  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         228  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         229  +
                                ))
         230  +
                            }
         231  +
                        };
         232  +
                        tmp.meta = generic;
         233  +
                        if tmp.message.is_none() {
         234  +
                            tmp.message = _error_message;
         235  +
                        }
         236  +
                        tmp
         237  +
                    })
         238  +
                }
         239  +
                "ServiceException" => crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError::ServiceException({
         240  +
                    let mut tmp = match protocol
         241  +
                        .deserialize_response(response, crate::types::error::ServiceException::SCHEMA, _cfg)
         242  +
                        .and_then(|mut deser| {
         243  +
                            crate::types::error::ServiceException::deserialize_with_response(
         244  +
                                &mut *deser,
         245  +
                                response.headers(),
         246  +
                                response.status().into(),
         247  +
                                body,
         248  +
                            )
         249  +
                        }) {
         250  +
                        ::std::result::Result::Ok(val) => val,
         251  +
                        ::std::result::Result::Err(e) => {
         252  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         253  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         254  +
                            ))
         255  +
                        }
         256  +
                    };
         257  +
                    tmp.meta = generic;
         258  +
                    if tmp.message.is_none() {
         259  +
                        tmp.message = _error_message;
         260  +
                    }
         261  +
                    tmp
         262  +
                }),
         263  +
                "TooManyRequestsException" => {
         264  +
                    crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError::TooManyRequestsException({
         265  +
                        let mut tmp = match protocol
         266  +
                            .deserialize_response(response, crate::types::error::TooManyRequestsException::SCHEMA, _cfg)
         267  +
                            .and_then(|mut deser| {
         268  +
                                crate::types::error::TooManyRequestsException::deserialize_with_response(
         269  +
                                    &mut *deser,
         270  +
                                    response.headers(),
         271  +
                                    response.status().into(),
         272  +
                                    body,
         273  +
                                )
         274  +
                            }) {
         275  +
                            ::std::result::Result::Ok(val) => val,
         276  +
                            ::std::result::Result::Err(e) => {
         277  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         278  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         279  +
                                ))
         280  +
                            }
         281  +
                        };
         282  +
                        tmp.meta = generic;
         283  +
                        if tmp.message.is_none() {
         284  +
                            tmp.message = _error_message;
         285  +
                        }
         286  +
                        tmp
         287  +
                    })
         288  +
                }
         289  +
                _ => crate::operation::get_function_recursion_config::GetFunctionRecursionConfigError::generic(generic),
         290  +
            };
         291  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         292  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         293  +
            ))
  160    294   
        } else {
  161         -
            crate::protocol_serde::shape_get_function_recursion_config::de_get_function_recursion_config_http_response(status, headers, body)
  162         -
        };
  163         -
        crate::protocol_serde::type_erase_result(parse_result)
         295  +
            let protocol = _cfg
         296  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         297  +
                .expect("a SharedClientProtocol is required");
         298  +
            let mut deser = protocol
         299  +
                .deserialize_response(response, GetFunctionRecursionConfig::OUTPUT_SCHEMA, _cfg)
         300  +
                .map_err(|e| {
         301  +
                    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         302  +
                })?;
         303  +
            let body = response.body().bytes().expect("body loaded");
         304  +
            let output = crate::operation::get_function_recursion_config::GetFunctionRecursionConfigOutput::deserialize_with_response(
         305  +
                &mut *deser,
         306  +
                response.headers(),
         307  +
                response.status().into(),
         308  +
                body,
         309  +
            )
         310  +
            .map_err(|e| {
         311  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         312  +
            })?;
         313  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         314  +
        }
  164    315   
    }
  165    316   
}
  166    317   
#[derive(Debug)]
  167    318   
struct GetFunctionRecursionConfigRequestSerializer;
  168    319   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for GetFunctionRecursionConfigRequestSerializer {
  169    320   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  170    321   
    fn serialize_input(
  171    322   
        &self,
  172    323   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  173    324   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  174    325   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  175    326   
        let input = input
  176    327   
            .downcast::<crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput>()
  177    328   
            .expect("correct type");
  178         -
        let _header_serialization_settings = _cfg
  179         -
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  180         -
            .cloned()
  181         -
            .unwrap_or_default();
  182         -
        let mut request_builder = {
  183         -
            #[allow(clippy::uninlined_format_args)]
  184         -
            fn uri_base(
  185         -
                _input: &crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput,
  186         -
                output: &mut ::std::string::String,
  187         -
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  188         -
                use ::std::fmt::Write as _;
  189         -
                let input_1 = &_input.function_name;
  190         -
                let input_1 = input_1
  191         -
                    .as_ref()
  192         -
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("function_name", "cannot be empty or unset"))?;
  193         -
                let function_name = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Default);
  194         -
                if function_name.is_empty() {
  195         -
                    return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
  196         -
                        "function_name",
  197         -
                        "cannot be empty or unset",
  198         -
                    ));
         329  +
        let protocol = _cfg
         330  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         331  +
            .expect("a SharedClientProtocol is required");
         332  +
        if protocol.supports_http_bindings() {
         333  +
            let mut request = protocol
         334  +
                .serialize_body(&input, GetFunctionRecursionConfig::INPUT_SCHEMA, "", _cfg)
         335  +
                .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         336  +
            {
         337  +
                let mut uri = "/2024-08-31/functions/{FunctionName}/recursion-config".to_string();
         338  +
                let mut query_params: Vec<(String, String)> = Vec::new();
         339  +
                if let Some(ref val) = input.function_name {
         340  +
                    uri = uri.replace("{FunctionName}", &::aws_smithy_schema::http_protocol::percent_encode(&val.to_string()));
  199    341   
                }
  200         -
                ::std::write!(
  201         -
                    output,
  202         -
                    "/2024-08-31/functions/{FunctionName}/recursion-config",
  203         -
                    FunctionName = function_name
  204         -
                )
  205         -
                .expect("formatting should succeed");
  206         -
                ::std::result::Result::Ok(())
  207         -
            }
  208         -
            #[allow(clippy::unnecessary_wraps)]
  209         -
            fn update_http_builder(
  210         -
                input: &crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput,
  211         -
                builder: ::http_1x::request::Builder,
  212         -
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  213         -
                let mut uri = ::std::string::String::new();
  214         -
                uri_base(input, &mut uri)?;
  215         -
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
         342  +
                if !query_params.is_empty() {
         343  +
                    uri.push(if uri.contains('?') { '&' } else { '?' });
         344  +
                    let pairs: Vec<String> = query_params
         345  +
                        .iter()
         346  +
                        .map(|(k, v)| {
         347  +
                            format!(
         348  +
                                "{}={}",
         349  +
                                ::aws_smithy_schema::http_protocol::percent_encode(k),
         350  +
                                ::aws_smithy_schema::http_protocol::percent_encode(v)
         351  +
                            )
         352  +
                        })
         353  +
                        .collect();
         354  +
                    uri.push_str(&pairs.join("&"));
         355  +
                }
         356  +
                request.set_uri(uri.as_str()).expect("valid URI");
  216    357   
            }
  217         -
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  218         -
            builder
  219         -
        };
  220         -
        let body = ::aws_smithy_types::body::SdkBody::from("");
  221    358   
  222         -
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
         359  +
            return ::std::result::Result::Ok(request);
         360  +
        } else {
         361  +
            let mut request = protocol
         362  +
                .serialize_request(&input, GetFunctionRecursionConfig::INPUT_SCHEMA, "", _cfg)
         363  +
                .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         364  +
         365  +
            return ::std::result::Result::Ok(request);
         366  +
        }
  223    367   
    }
  224    368   
}
  225    369   
#[derive(Debug)]
  226    370   
struct GetFunctionRecursionConfigEndpointParamsInterceptor;
  227    371   
  228    372   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for GetFunctionRecursionConfigEndpointParamsInterceptor {
  229    373   
    fn name(&self) -> &'static str {
  230    374   
        "GetFunctionRecursionConfigEndpointParamsInterceptor"
  231    375   
    }
  232    376   

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_recursion_config/_get_function_recursion_config_input.rs

@@ -1,1 +109,126 @@
   17     17   
    "com.amazonaws.lambda.synthetic",
   18     18   
    "GetFunctionRecursionConfigInput",
   19     19   
);
   20     20   
static GETFUNCTIONRECURSIONCONFIGINPUT_MEMBER_FUNCTION_NAME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   21     21   
    ::aws_smithy_schema::ShapeId::from_static(
   22     22   
        "com.amazonaws.lambda.synthetic#GetFunctionRecursionConfigInput$FunctionName",
   23     23   
        "com.amazonaws.lambda.synthetic",
   24     24   
        "GetFunctionRecursionConfigInput",
   25     25   
    ),
   26     26   
    ::aws_smithy_schema::ShapeType::String,
   27         -
    "function_name",
          27  +
    "FunctionName",
   28     28   
    0,
   29     29   
)
   30     30   
.with_http_label();
   31     31   
static GETFUNCTIONRECURSIONCONFIGINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     32   
    GETFUNCTIONRECURSIONCONFIGINPUT_SCHEMA_ID,
   33     33   
    ::aws_smithy_schema::ShapeType::Structure,
   34     34   
    &[&GETFUNCTIONRECURSIONCONFIGINPUT_MEMBER_FUNCTION_NAME],
   35         -
);
          35  +
)
          36  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          37  +
    "GET",
          38  +
    "/2024-08-31/functions/{FunctionName}/recursion-config",
          39  +
    None,
          40  +
));
   36     41   
impl GetFunctionRecursionConfigInput {
   37     42   
    /// The schema for this shape.
   38     43   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETFUNCTIONRECURSIONCONFIGINPUT_SCHEMA;
   39     44   
}
   40     45   
impl ::aws_smithy_schema::serde::SerializableStruct for GetFunctionRecursionConfigInput {
   41     46   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   42     47   
    fn serialize_members(
   43     48   
        &self,
   44     49   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   45     50   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   46     51   
        if let Some(ref val) = self.function_name {
   47     52   
            ser.write_string(&GETFUNCTIONRECURSIONCONFIGINPUT_MEMBER_FUNCTION_NAME, val)?;
   48     53   
        }
   49     54   
        Ok(())
   50     55   
    }
   51     56   
}
   52     57   
impl GetFunctionRecursionConfigInput {
   53     58   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   54         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   55         -
        deserializer: &mut D,
          59  +
    pub fn deserialize(
          60  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   56     61   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   57     62   
        #[allow(unused_variables, unused_mut)]
   58     63   
        let mut builder = Self::builder();
   59     64   
        #[allow(
   60     65   
            unused_variables,
   61     66   
            unreachable_code,
   62     67   
            clippy::single_match,
   63     68   
            clippy::match_single_binding,
   64     69   
            clippy::diverging_sub_expression
   65     70   
        )]
   66         -
        deserializer.read_struct(&GETFUNCTIONRECURSIONCONFIGINPUT_SCHEMA, (), |_, member, deser| {
          71  +
        deserializer.read_struct(&GETFUNCTIONRECURSIONCONFIGINPUT_SCHEMA, &mut |member, deser| {
   67     72   
            match member.member_index() {
   68     73   
                Some(0) => {
   69     74   
                    builder.function_name = Some(deser.read_string(member)?);
   70     75   
                }
   71     76   
                _ => {}
   72     77   
            }
   73     78   
            Ok(())
   74     79   
        })?;
          80  +
        builder.function_name = builder.function_name.or(Some(String::new()));
   75     81   
        builder
   76     82   
            .build()
   77     83   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
   78     84   
    }
   79     85   
}
          86  +
impl GetFunctionRecursionConfigInput {
          87  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          88  +
    pub fn deserialize_with_response(
          89  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          90  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          91  +
        _status: u16,
          92  +
        _body: &[u8],
          93  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          94  +
        Self::deserialize(deserializer)
          95  +
    }
          96  +
}
   80     97   
impl GetFunctionRecursionConfigInput {
   81     98   
    /// Creates a new builder-style object to manufacture [`GetFunctionRecursionConfigInput`](crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput).
   82     99   
    pub fn builder() -> crate::operation::get_function_recursion_config::builders::GetFunctionRecursionConfigInputBuilder {
   83    100   
        crate::operation::get_function_recursion_config::builders::GetFunctionRecursionConfigInputBuilder::default()
   84    101   
    }
   85    102   
}
   86    103   
   87    104   
/// A builder for [`GetFunctionRecursionConfigInput`](crate::operation::get_function_recursion_config::GetFunctionRecursionConfigInput).
   88    105   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
   89    106   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/get_function_recursion_config/_get_function_recursion_config_output.rs

@@ -2,2 +100,147 @@
   22     22   
    "com.amazonaws.lambda.synthetic",
   23     23   
    "GetFunctionRecursionConfigOutput",
   24     24   
);
   25     25   
static GETFUNCTIONRECURSIONCONFIGOUTPUT_MEMBER_RECURSIVE_LOOP: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   26     26   
    ::aws_smithy_schema::ShapeId::from_static(
   27     27   
        "com.amazonaws.lambda.synthetic#GetFunctionRecursionConfigOutput$RecursiveLoop",
   28     28   
        "com.amazonaws.lambda.synthetic",
   29     29   
        "GetFunctionRecursionConfigOutput",
   30     30   
    ),
   31     31   
    ::aws_smithy_schema::ShapeType::String,
   32         -
    "recursive_loop",
          32  +
    "RecursiveLoop",
   33     33   
    0,
   34     34   
);
          35  +
static GETFUNCTIONRECURSIONCONFIGOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          36  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          37  +
    ::aws_smithy_schema::ShapeType::String,
          38  +
    "request_id",
          39  +
    1,
          40  +
)
          41  +
.with_http_header("x-amzn-requestid");
   35     42   
static GETFUNCTIONRECURSIONCONFIGOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   36     43   
    GETFUNCTIONRECURSIONCONFIGOUTPUT_SCHEMA_ID,
   37     44   
    ::aws_smithy_schema::ShapeType::Structure,
   38         -
    &[&GETFUNCTIONRECURSIONCONFIGOUTPUT_MEMBER_RECURSIVE_LOOP],
          45  +
    &[
          46  +
        &GETFUNCTIONRECURSIONCONFIGOUTPUT_MEMBER_RECURSIVE_LOOP,
          47  +
        &GETFUNCTIONRECURSIONCONFIGOUTPUT_MEMBER__REQUEST_ID,
          48  +
    ],
   39     49   
);
   40     50   
impl GetFunctionRecursionConfigOutput {
   41     51   
    /// The schema for this shape.
   42     52   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETFUNCTIONRECURSIONCONFIGOUTPUT_SCHEMA;
   43     53   
}
   44     54   
impl ::aws_smithy_schema::serde::SerializableStruct for GetFunctionRecursionConfigOutput {
   45     55   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   46     56   
    fn serialize_members(
   47     57   
        &self,
   48     58   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   49     59   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   50     60   
        if let Some(ref val) = self.recursive_loop {
   51     61   
            ser.write_string(&GETFUNCTIONRECURSIONCONFIGOUTPUT_MEMBER_RECURSIVE_LOOP, val.as_str())?;
   52     62   
        }
   53     63   
        Ok(())
   54     64   
    }
   55     65   
}
   56     66   
impl GetFunctionRecursionConfigOutput {
   57     67   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   58         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   59         -
        deserializer: &mut D,
          68  +
    pub fn deserialize(
          69  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   60     70   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   61     71   
        #[allow(unused_variables, unused_mut)]
   62     72   
        let mut builder = Self::builder();
   63     73   
        #[allow(
   64     74   
            unused_variables,
   65     75   
            unreachable_code,
   66     76   
            clippy::single_match,
   67     77   
            clippy::match_single_binding,
   68     78   
            clippy::diverging_sub_expression
   69     79   
        )]
   70         -
        deserializer.read_struct(&GETFUNCTIONRECURSIONCONFIGOUTPUT_SCHEMA, (), |_, member, deser| {
          80  +
        deserializer.read_struct(&GETFUNCTIONRECURSIONCONFIGOUTPUT_SCHEMA, &mut |member, deser| {
          81  +
            match member.member_index() {
          82  +
                Some(0) => {
          83  +
                    builder.recursive_loop = Some(crate::types::RecursiveLoop::from(deser.read_string(member)?.as_str()));
          84  +
                }
          85  +
                Some(1) => {
          86  +
                    builder._request_id = Some(deser.read_string(member)?);
          87  +
                }
          88  +
                _ => {}
          89  +
            }
          90  +
            Ok(())
          91  +
        })?;
          92  +
        Ok(builder.build())
          93  +
    }
          94  +
}
          95  +
impl GetFunctionRecursionConfigOutput {
          96  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          97  +
    /// Header-bound members are read directly from headers, avoiding runtime
          98  +
    /// member iteration overhead. Body members are read via the deserializer.
          99  +
    pub fn deserialize_with_response(
         100  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         101  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         102  +
        _status: u16,
         103  +
        _body: &[u8],
         104  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         105  +
        #[allow(unused_variables, unused_mut)]
         106  +
        let mut builder = Self::builder();
         107  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         108  +
            builder._request_id = Some(val.to_string());
         109  +
        }
         110  +
        #[allow(
         111  +
            unused_variables,
         112  +
            unreachable_code,
         113  +
            clippy::single_match,
         114  +
            clippy::match_single_binding,
         115  +
            clippy::diverging_sub_expression
         116  +
        )]
         117  +
        deserializer.read_struct(&GETFUNCTIONRECURSIONCONFIGOUTPUT_SCHEMA, &mut |member, deser| {
   71    118   
            match member.member_index() {
   72    119   
                Some(0) => {
   73    120   
                    builder.recursive_loop = Some(crate::types::RecursiveLoop::from(deser.read_string(member)?.as_str()));
   74    121   
                }
   75    122   
                _ => {}
   76    123   
            }
   77    124   
            Ok(())
   78    125   
        })?;
   79    126   
        Ok(builder.build())
   80    127   
    }