From a7f25f38c92dad2da3faff67ad221efd0aefb523 Mon Sep 17 00:00:00 2001 From: ysaito1001 Date: Wed, 14 Dec 2022 23:04:44 +0000 Subject: [PATCH] [smithy-rs] Render a Union member of type Unit to an enum variant without inner data (#1989) * Avoid explicitly emitting Unit type within Union This commit addresses #1546. Previously, the Unit type in a Union was rendered as an enum variant whose inner data was crate::model::Unit. The way such a variant appears in Rust code feels a bit odd as it usually does not carry inner data for `()`. We now render a Union member of type Unit to an enum variant without inner data. * Address test failures washed out in CI This commit updates places that need to be aware of the Unit type attached to a Union member. Those places will render the Union member in a way that the generated Rust code does not include inner data of type Unit. It should help pass `codegen-client-test:test` and `codegen-server-test:test`. Further refactoring is required because each place we updated performs an explicit if-else check for special casing, which we should avoid. * Update codegen-core/src/test/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/UnionGeneratorTest.kt Co-authored-by: John DiSanti * Remove commented-out code * Add a helper for comparing against ShapeId for Unit This commit adds a helper for checking whether MemberShape targets the ShapeId of the Unit type. The benefit of the helper is that each call site does not have to construct a ShapeId for the Unit type every time comparison is made. * Move Unit type bifurcation logic to jsonObjectWriter This commit moves the if-else expression hard-coded in the StructureShape matching case within RustWriter.serializeMemberValue to jsonObjectWriter. The previous approach of inlining the if-else expression out of jsonObjectWriter to the StructureShape case and tailoring it to the call site violated the DRY principle. * Make QuerySerializerGenerator in sync with the change This commit brings the Unit type related change we've made so far to QuerySerializerGenerator. All tests in CI passed even without this commit, but noticing how similar QuerySerializerGenerator is to JsonSerializerGenerator, we should make the former in sync with the latter. * Update CHANGELOG.next.toml * Refactor ofTypeUnit -> isTargetUnit This commit addresses https://github.com/awslabs/smithy-rs/pull/1989#discussion_r1035372417. The extension should be renamed to isTargetUnit and moved to Smithy.kt. * Update codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/JsonSerializerGenerator.kt Co-authored-by: John DiSanti * Simplify if-else in jsonObjectWriter This commit addresses https://github.com/awslabs/smithy-rs/pull/1989#discussion_r1037651893 * Avoid the union member's reference name being empty This commit addresses https://github.com/awslabs/smithy-rs/pull/1989#discussion_r1037654601 Even if member's reference name "inner" is present, it will not be an issue when the member is the Unit type where the reference name "inner" cannot be extracted. The reason is jsonObjectWriter won't render the serialization function if the member is the Unit type. That said, the same change in QuerySerializerGenerator may not be the case so we'll run the tests in CI and see what breaks. * Ensure Union with Unit target can be serialized This commit updates serialization of a Union with a Unit target in different types of serializers. We first updated protocol tests by adding a new field of type Unit and some of them failed as expected. We worked our way back from those failed tests and fixed the said implementation for serialization accordingly. * Ensure Union with Unit target can be parsed This commit handles deserialization of a Union with a Unit target in XmlBindingTraitParserGenerator. Prior to the commit, we already handled the said deserialization correctly in JsonParserGenerator but missed it in XmlBindingTraitParserGenerator. We added a new field of type Unit to a Union in parser protocols tests, ran them, and worked our way back from the failed tests. * Ensure match arm for Unit works in custom Debug impl This commit handles a use case that came up as a result of combining two updates, implementing a custom Debug impl for a Union and avoid rendering the Unit type in a Union. In the custom Debug impl, we now make sure that if the target is of type Unit, we render the corresponding match arm without the inner data. We add a new unit test in UnionGeneratorTest. * Fix unused variables warnings in CI This commit adds the #[allow(unused_variables)] annotation to a block of code generated for a member being the Unit type. The annotation is put before we call the handleOptional function so that it covers the whole block that the function generates. * Fix E0658 on unused_variables This commit fixes an error where attributes on expressions are experimental. It does so by rearranging code in a way that achieves the same effect but without #[allow(unused_variables)] on an expression. Co-authored-by: Yuki Saito Co-authored-by: John DiSanti --- sdk/accessanalyzer/src/json_ser.rs | 38 ++ sdk/account/src/json_ser.rs | 1 + sdk/acm/src/json_ser.rs | 9 + sdk/acmpca/src/json_ser.rs | 30 + sdk/alexaforbusiness/src/json_ser.rs | 57 ++ sdk/amp/src/json_ser.rs | 3 + sdk/amplify/src/json_ser.rs | 15 + sdk/amplifybackend/src/json_ser.rs | 46 ++ sdk/amplifyuibuilder/src/json_ser.rs | 95 +++ sdk/apigateway/src/json_ser.rs | 64 ++ sdk/apigatewayv2/src/json_ser.rs | 49 ++ sdk/appconfig/src/json_ser.rs | 22 + sdk/appflow/src/json_ser.rs | 126 ++++ sdk/appintegrations/src/json_ser.rs | 5 + sdk/applicationautoscaling/src/json_ser.rs | 8 + sdk/applicationcostprofiler/src/json_ser.rs | 3 + sdk/applicationdiscovery/src/json_ser.rs | 9 + sdk/applicationinsights/src/json_ser.rs | 2 + sdk/appmesh/src/json_ser.rs | 172 +++++ sdk/apprunner/src/json_ser.rs | 28 + sdk/appstream/src/json_ser.rs | 40 ++ sdk/appsync/src/json_ser.rs | 40 ++ sdk/athena/src/json_ser.rs | 17 + sdk/auditmanager/src/json_ser.rs | 24 + sdk/autoscalingplans/src/json_ser.rs | 13 + sdk/backup/src/json_ser.rs | 39 ++ sdk/backupgateway/src/json_ser.rs | 3 + sdk/batch/src/json_ser.rs | 57 ++ sdk/billingconductor/src/json_ser.rs | 26 + sdk/braket/src/json_ser.rs | 18 + sdk/budgets/src/json_ser.rs | 40 ++ sdk/chime/src/json_ser.rs | 60 ++ sdk/chimesdkidentity/src/json_ser.rs | 6 + sdk/chimesdkmediapipelines/src/json_ser.rs | 33 + sdk/chimesdkmeetings/src/json_ser.rs | 18 + sdk/chimesdkmessaging/src/json_ser.rs | 18 + sdk/cloud9/src/json_ser.rs | 2 + sdk/cloudcontrol/src/json_ser.rs | 1 + sdk/clouddirectory/src/json_ser.rs | 170 +++++ sdk/cloudhsm/src/json_ser.rs | 1 + sdk/cloudhsmv2/src/json_ser.rs | 7 + sdk/cloudtrail/src/json_ser.rs | 14 + sdk/cloudwatchevents/src/json_ser.rs | 49 ++ sdk/cloudwatchlogs/src/json_ser.rs | 5 + sdk/codeartifact/src/json_ser.rs | 9 + sdk/codebuild/src/json_ser.rs | 66 ++ sdk/codecommit/src/json_ser.rs | 19 + sdk/codedeploy/src/json_ser.rs | 59 ++ sdk/codeguruprofiler/src/json_ser.rs | 7 + sdk/codegurureviewer/src/json_ser.rs | 20 + sdk/codepipeline/src/json_ser.rs | 48 ++ sdk/codestar/src/json_ser.rs | 12 + sdk/codestarconnections/src/json_ser.rs | 5 + sdk/codestarnotifications/src/json_ser.rs | 8 + sdk/cognitoidentity/src/json_ser.rs | 19 + sdk/cognitoidentityprovider/src/json_ser.rs | 114 ++++ sdk/cognitosync/src/json_ser.rs | 4 + sdk/comprehend/src/json_ser.rs | 64 ++ sdk/comprehendmedical/src/json_ser.rs | 15 + sdk/computeoptimizer/src/json_ser.rs | 22 + sdk/config/src/json_ser.rs | 52 ++ sdk/connect/src/json_ser.rs | 119 ++++ sdk/connectcampaigns/src/json_ser.rs | 14 + sdk/connectcases/src/json_ser.rs | 42 ++ sdk/connectparticipant/src/json_ser.rs | 1 + sdk/costandusagereport/src/json_ser.rs | 2 + sdk/costexplorer/src/json_ser.rs | 68 ++ sdk/customerprofiles/src/json_ser.rs | 53 ++ sdk/databasemigration/src/json_ser.rs | 62 ++ sdk/databrew/src/json_ser.rs | 76 +++ sdk/dataexchange/src/json_ser.rs | 24 + sdk/datapipeline/src/json_ser.rs | 16 + sdk/datasync/src/json_ser.rs | 45 ++ sdk/dax/src/json_ser.rs | 4 + sdk/detective/src/json_ser.rs | 3 + sdk/devicefarm/src/json_ser.rs | 20 + sdk/devopsguru/src/json_ser.rs | 37 ++ sdk/directconnect/src/json_ser.rs | 27 + sdk/directory/src/json_ser.rs | 16 + sdk/dlm/src/json_ser.rs | 27 + sdk/drs/src/json_ser.rs | 18 + sdk/dynamodb/src/json_ser.rs | 171 +++++ sdk/ebs/src/json_ser.rs | 1 + sdk/ecr/src/json_ser.rs | 21 + sdk/ecrpublic/src/json_ser.rs | 6 + sdk/ecs/src/json_ser.rs | 109 +++ sdk/efs/src/json_ser.rs | 10 + sdk/eks/src/json_ser.rs | 38 ++ sdk/elasticinference/src/json_ser.rs | 2 + sdk/elasticsearch/src/json_ser.rs | 43 ++ sdk/elastictranscoder/src/json_ser.rs | 41 ++ sdk/emr/src/json_ser.rs | 60 ++ sdk/emrcontainers/src/json_ser.rs | 18 + sdk/emrserverless/src/json_ser.rs | 26 + sdk/eventbridge/src/json_ser.rs | 58 ++ sdk/evidently/src/json_ser.rs | 39 ++ sdk/finspace/src/json_ser.rs | 6 + sdk/finspacedata/src/json_ser.rs | 13 + sdk/firehose/src/json_ser.rs | 112 ++++ sdk/fis/src/json_ser.rs | 29 + sdk/fms/src/json_ser.rs | 18 + sdk/forecast/src/json_ser.rs | 73 ++ sdk/forecastquery/src/json_ser.rs | 2 + sdk/frauddetector/src/json_ser.rs | 48 ++ sdk/fsx/src/json_ser.rs | 80 +++ sdk/gamelift/src/json_ser.rs | 52 ++ sdk/gamesparks/src/json_ser.rs | 6 + sdk/glacier/src/json_ser.rs | 16 + sdk/globalaccelerator/src/json_ser.rs | 14 + sdk/glue/src/json_ser.rs | 299 +++++++++ sdk/grafana/src/json_ser.rs | 8 + sdk/greengrass/src/json_ser.rs | 55 ++ sdk/greengrassv2/src/json_ser.rs | 36 + sdk/groundstation/src/json_ser.rs | 27 + sdk/guardduty/src/json_ser.rs | 42 ++ sdk/health/src/json_ser.rs | 16 + sdk/healthlake/src/json_ser.rs | 10 + sdk/honeycode/src/json_ser.rs | 23 + sdk/identitystore/src/json_ser.rs | 16 + sdk/imagebuilder/src/json_ser.rs | 53 ++ sdk/inspector/src/json_ser.rs | 17 + sdk/inspector2/src/json_ser.rs | 87 +++ sdk/iot/src/json_ser.rs | 182 +++++ sdk/iot1clickdevices/src/json_ser.rs | 3 + sdk/iot1clickprojects/src/json_ser.rs | 10 + sdk/iotanalytics/src/json_ser.rs | 74 +++ sdk/iotdeviceadvisor/src/json_ser.rs | 8 + sdk/iotevents/src/json_ser.rs | 81 +++ sdk/ioteventsdata/src/json_ser.rs | 12 + sdk/iotfleethub/src/json_ser.rs | 2 + sdk/iotfleetwise/src/json_ser.rs | 43 ++ sdk/iotjobsdataplane/src/json_ser.rs | 2 + sdk/iotsecuretunneling/src/json_ser.rs | 5 + sdk/iotsitewise/src/json_ser.rs | 66 ++ sdk/iotthingsgraph/src/json_ser.rs | 13 + sdk/iottwinmaker/src/json_ser.rs | 46 ++ sdk/iotwireless/src/json_ser.rs | 78 +++ sdk/ivs/src/json_ser.rs | 9 + sdk/ivschat/src/json_ser.rs | 6 + sdk/kafka/src/json_ser.rs | 49 ++ sdk/kafkaconnect/src/json_ser.rs | 26 + sdk/kendra/src/json_ser.rs | 188 ++++++ sdk/keyspaces/src/json_ser.rs | 23 + sdk/kinesis/src/json_ser.rs | 5 + sdk/kinesisanalytics/src/json_ser.rs | 51 ++ sdk/kinesisanalyticsv2/src/json_ser.rs | 102 +++ sdk/kinesisvideo/src/json_ser.rs | 14 + sdk/kinesisvideoarchivedmedia/src/json_ser.rs | 9 + sdk/kinesisvideomedia/src/json_ser.rs | 1 + sdk/kms/src/json_ser.rs | 14 + sdk/lakeformation/src/json_ser.rs | 51 ++ sdk/lambda/src/json_ser.rs | 43 ++ sdk/lexmodelbuilding/src/json_ser.rs | 30 + sdk/lexmodelsv2/src/json_ser.rs | 212 ++++++ sdk/lexruntime/src/json_ser.rs | 11 + sdk/lexruntimev2/src/json_ser.rs | 28 + sdk/licensemanager/src/json_ser.rs | 40 ++ .../src/json_ser.rs | 12 + sdk/lightsail/src/json_ser.rs | 63 ++ sdk/location/src/json_ser.rs | 23 + sdk/lookoutequipment/src/json_ser.rs | 19 + sdk/lookoutmetrics/src/json_ser.rs | 41 ++ sdk/lookoutvision/src/json_ser.rs | 12 + sdk/m2/src/json_ser.rs | 23 + sdk/machinelearning/src/json_ser.rs | 10 + sdk/macie/src/json_ser.rs | 5 + sdk/macie2/src/json_ser.rs | 61 ++ sdk/managedblockchain/src/json_ser.rs | 27 + sdk/marketplacecatalog/src/json_ser.rs | 6 + .../src/json_ser.rs | 2 + sdk/marketplaceentitlement/src/json_ser.rs | 1 + sdk/marketplacemetering/src/json_ser.rs | 4 + sdk/mediaconnect/src/json_ser.rs | 38 ++ sdk/mediaconvert/src/json_ser.rs | 212 ++++++ sdk/medialive/src/json_ser.rs | 241 +++++++ sdk/mediapackage/src/json_ser.rs | 30 + sdk/mediapackagevod/src/json_ser.rs | 27 + sdk/mediastore/src/json_ser.rs | 5 + sdk/mediatailor/src/json_ser.rs | 43 ++ sdk/memorydb/src/json_ser.rs | 15 + sdk/mgn/src/json_ser.rs | 20 + sdk/migrationhub/src/json_ser.rs | 4 + sdk/migrationhubconfig/src/json_ser.rs | 2 + sdk/migrationhuborchestrator/src/json_ser.rs | 14 + .../src/json_ser.rs | 10 + sdk/migrationhubstrategy/src/json_ser.rs | 19 + sdk/mq/src/json_ser.rs | 13 + sdk/mturk/src/json_ser.rs | 13 + sdk/mwaa/src/json_ser.rs | 16 + sdk/networkfirewall/src/json_ser.rs | 53 ++ sdk/networkmanager/src/json_ser.rs | 31 + sdk/nimble/src/json_ser.rs | 24 + sdk/opensearch/src/json_ser.rs | 45 ++ sdk/opsworks/src/json_ser.rs | 51 ++ sdk/opsworkscm/src/json_ser.rs | 8 + sdk/organizations/src/json_ser.rs | 9 + sdk/outposts/src/json_ser.rs | 8 + sdk/panorama/src/json_ser.rs | 22 + sdk/personalize/src/json_ser.rs | 44 ++ sdk/personalizeevents/src/json_ser.rs | 3 + sdk/personalizeruntime/src/json_ser.rs | 6 + sdk/pi/src/json_ser.rs | 6 + sdk/pinpoint/src/json_ser.rs | 210 ++++++ sdk/pinpointemail/src/json_ser.rs | 29 + sdk/pinpointsmsvoice/src/json_ser.rs | 9 + sdk/pinpointsmsvoicev2/src/json_ser.rs | 22 + sdk/pricing/src/json_ser.rs | 1 + sdk/privatenetworks/src/json_ser.rs | 15 + sdk/proton/src/json_ser.rs | 20 + sdk/qldb/src/json_ser.rs | 10 + sdk/qldbsession/src/json_ser.rs | 8 + sdk/quicksight/src/json_ser.rs | 168 +++++ sdk/ram/src/json_ser.rs | 3 + sdk/rbin/src/json_ser.rs | 7 + sdk/rdsdata/src/json_ser.rs | 6 + sdk/redshiftdata/src/json_ser.rs | 1 + sdk/redshiftserverless/src/json_ser.rs | 5 + sdk/rekognition/src/json_ser.rs | 79 +++ sdk/resiliencehub/src/json_ser.rs | 12 + sdk/resourcegroups/src/json_ser.rs | 10 + sdk/resourcegroupstagging/src/json_ser.rs | 2 + sdk/robomaker/src/json_ser.rs | 74 +++ sdk/rolesanywhere/src/json_ser.rs | 7 + sdk/route53domains/src/json_ser.rs | 15 + sdk/route53recoverycluster/src/json_ser.rs | 1 + .../src/json_ser.rs | 10 + sdk/route53recoveryreadiness/src/json_ser.rs | 11 + sdk/route53resolver/src/json_ser.rs | 19 + sdk/rum/src/json_ser.rs | 9 + sdk/s3/src/xml_ser.rs | 51 +- sdk/s3control/src/xml_ser.rs | 70 +- sdk/sagemaker/src/json_ser.rs | 469 +++++++++++++ sdk/sagemakera2iruntime/src/json_ser.rs | 2 + sdk/sagemakeredge/src/json_ser.rs | 5 + .../src/json_ser.rs | 2 + sdk/savingsplans/src/json_ser.rs | 6 + sdk/schemas/src/json_ser.rs | 4 + sdk/secretsmanager/src/json_ser.rs | 6 + sdk/securityhub/src/json_ser.rs | 623 ++++++++++++++++++ .../src/json_ser.rs | 5 + sdk/servicecatalog/src/json_ser.rs | 34 + sdk/servicecatalogappregistry/src/json_ser.rs | 3 + sdk/servicediscovery/src/json_ser.rs | 34 + sdk/servicequotas/src/json_ser.rs | 1 + sdk/sesv2/src/json_ser.rs | 54 ++ sdk/sfn/src/json_ser.rs | 9 + sdk/shield/src/json_ser.rs | 13 + sdk/signer/src/json_ser.rs | 11 + sdk/sms/src/json_ser.rs | 28 + sdk/snowball/src/json_ser.rs | 27 + sdk/snowdevicemanagement/src/json_ser.rs | 5 + sdk/ssm/src/json_ser.rs | 166 +++++ sdk/ssmcontacts/src/json_ser.rs | 11 + sdk/ssmincidents/src/json_ser.rs | 34 + sdk/ssoadmin/src/json_ser.rs | 13 + sdk/storagegateway/src/json_ser.rs | 25 + sdk/support/src/json_ser.rs | 1 + sdk/swf/src/json_ser.rs | 57 ++ sdk/synthetics/src/json_ser.rs | 17 + sdk/textract/src/json_ser.rs | 20 + sdk/transcribe/src/json_ser.rs | 40 ++ sdk/transfer/src/json_ser.rs | 38 ++ sdk/translate/src/json_ser.rs | 14 + sdk/voiceid/src/json_ser.rs | 11 + sdk/waf/src/json_ser.rs | 40 ++ sdk/wafregional/src/json_ser.rs | 40 ++ sdk/wafv2/src/json_ser.rs | 115 ++++ sdk/wellarchitected/src/json_ser.rs | 6 + sdk/wisdom/src/json_ser.rs | 18 + sdk/workdocs/src/json_ser.rs | 5 + sdk/worklink/src/json_ser.rs | 2 + sdk/workmail/src/json_ser.rs | 12 + sdk/workmailmessageflow/src/json_ser.rs | 2 + sdk/workspaces/src/json_ser.rs | 38 ++ sdk/workspacesweb/src/json_ser.rs | 10 + sdk/xray/src/json_ser.rs | 13 + versions.toml | 554 ++++++++-------- 277 files changed, 10522 insertions(+), 384 deletions(-) diff --git a/sdk/accessanalyzer/src/json_ser.rs b/sdk/accessanalyzer/src/json_ser.rs index 75e7476c0e9b..db661b0491fa 100644 --- a/sdk/accessanalyzer/src/json_ser.rs +++ b/sdk/accessanalyzer/src/json_ser.rs @@ -26,9 +26,11 @@ pub fn serialize_structure_crate_input_create_access_preview_input( object.key("clientToken").string(var_5.as_str()); } if let Some(var_6) = &input.configurations { + #[allow(unused_mut)] let mut object_7 = object.key("configurations").start_object(); for (key_8, value_9) in var_6 { { + #[allow(unused_mut)] let mut object_10 = object_7.key(key_8.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_configuration( &mut object_10, @@ -53,6 +55,7 @@ pub fn serialize_structure_crate_input_create_analyzer_input( let mut array_13 = object.key("archiveRules").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_inline_archive_rule( &mut object_15, @@ -67,6 +70,7 @@ pub fn serialize_structure_crate_input_create_analyzer_input( object.key("clientToken").string(var_16.as_str()); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -89,9 +93,11 @@ pub fn serialize_structure_crate_input_create_archive_rule_input( object.key("clientToken").string(var_22.as_str()); } if let Some(var_23) = &input.filter { + #[allow(unused_mut)] let mut object_24 = object.key("filter").start_object(); for (key_25, value_26) in var_23 { { + #[allow(unused_mut)] let mut object_27 = object_24.key(key_25.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_criterion( &mut object_27, @@ -116,9 +122,11 @@ pub fn serialize_structure_crate_input_list_access_preview_findings_input( object.key("analyzerArn").string(var_29.as_str()); } if let Some(var_30) = &input.filter { + #[allow(unused_mut)] let mut object_31 = object.key("filter").start_object(); for (key_32, value_33) in var_30 { { + #[allow(unused_mut)] let mut object_34 = object_31.key(key_32.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_criterion( &mut object_34, @@ -171,9 +179,11 @@ pub fn serialize_structure_crate_input_list_findings_input( object.key("analyzerArn").string(var_41.as_str()); } if let Some(var_42) = &input.filter { + #[allow(unused_mut)] let mut object_43 = object.key("filter").start_object(); for (key_44, value_45) in var_42 { { + #[allow(unused_mut)] let mut object_46 = object_43.key(key_44.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_criterion( &mut object_46, @@ -194,6 +204,7 @@ pub fn serialize_structure_crate_input_list_findings_input( object.key("nextToken").string(var_48.as_str()); } if let Some(var_49) = &input.sort { + #[allow(unused_mut)] let mut object_50 = object.key("sort").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_50, var_49)?; object_50.finish(); @@ -209,6 +220,7 @@ pub fn serialize_structure_crate_input_start_policy_generation_input( object.key("clientToken").string(var_51.as_str()); } if let Some(var_52) = &input.cloud_trail_details { + #[allow(unused_mut)] let mut object_53 = object.key("cloudTrailDetails").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_trail_details( &mut object_53, @@ -217,6 +229,7 @@ pub fn serialize_structure_crate_input_start_policy_generation_input( object_53.finish(); } if let Some(var_54) = &input.policy_generation_details { + #[allow(unused_mut)] let mut object_55 = object.key("policyGenerationDetails").start_object(); crate::json_ser::serialize_structure_crate_model_policy_generation_details( &mut object_55, @@ -245,6 +258,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_58) = &input.tags { + #[allow(unused_mut)] let mut object_59 = object.key("tags").start_object(); for (key_60, value_61) in var_58 { { @@ -264,9 +278,11 @@ pub fn serialize_structure_crate_input_update_archive_rule_input( object.key("clientToken").string(var_62.as_str()); } if let Some(var_63) = &input.filter { + #[allow(unused_mut)] let mut object_64 = object.key("filter").start_object(); for (key_65, value_66) in var_63 { { + #[allow(unused_mut)] let mut object_67 = object_64.key(key_65.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_criterion( &mut object_67, @@ -335,6 +351,7 @@ pub fn serialize_union_crate_model_configuration( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Configuration::IamRole(inner) => { + #[allow(unused_mut)] let mut object_79 = object_10.key("iamRole").start_object(); crate::json_ser::serialize_structure_crate_model_iam_role_configuration( &mut object_79, @@ -343,6 +360,7 @@ pub fn serialize_union_crate_model_configuration( object_79.finish(); } crate::model::Configuration::KmsKey(inner) => { + #[allow(unused_mut)] let mut object_80 = object_10.key("kmsKey").start_object(); crate::json_ser::serialize_structure_crate_model_kms_key_configuration( &mut object_80, @@ -351,6 +369,7 @@ pub fn serialize_union_crate_model_configuration( object_80.finish(); } crate::model::Configuration::SecretsManagerSecret(inner) => { + #[allow(unused_mut)] let mut object_81 = object_10.key("secretsManagerSecret").start_object(); crate::json_ser::serialize_structure_crate_model_secrets_manager_secret_configuration( &mut object_81, @@ -359,6 +378,7 @@ pub fn serialize_union_crate_model_configuration( object_81.finish(); } crate::model::Configuration::S3Bucket(inner) => { + #[allow(unused_mut)] let mut object_82 = object_10.key("s3Bucket").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_configuration( &mut object_82, @@ -367,6 +387,7 @@ pub fn serialize_union_crate_model_configuration( object_82.finish(); } crate::model::Configuration::SqsQueue(inner) => { + #[allow(unused_mut)] let mut object_83 = object_10.key("sqsQueue").start_object(); crate::json_ser::serialize_structure_crate_model_sqs_queue_configuration( &mut object_83, @@ -393,9 +414,11 @@ pub fn serialize_structure_crate_model_inline_archive_rule( object.key("ruleName").string(var_84.as_str()); } if let Some(var_85) = &input.filter { + #[allow(unused_mut)] let mut object_86 = object.key("filter").start_object(); for (key_87, value_88) in var_85 { { + #[allow(unused_mut)] let mut object_89 = object_86.key(key_87.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_criterion( &mut object_89, @@ -467,6 +490,7 @@ pub fn serialize_structure_crate_model_cloud_trail_details( let mut array_103 = object.key("trails").start_array(); for item_104 in var_102 { { + #[allow(unused_mut)] let mut object_105 = array_103.value().start_object(); crate::json_ser::serialize_structure_crate_model_trail(&mut object_105, item_104)?; object_105.finish(); @@ -515,6 +539,7 @@ pub fn serialize_structure_crate_model_kms_key_configuration( input: &crate::model::KmsKeyConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_111) = &input.key_policies { + #[allow(unused_mut)] let mut object_112 = object.key("keyPolicies").start_object(); for (key_113, value_114) in var_111 { { @@ -527,6 +552,7 @@ pub fn serialize_structure_crate_model_kms_key_configuration( let mut array_116 = object.key("grants").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_kms_grant_configuration( &mut object_118, @@ -564,6 +590,7 @@ pub fn serialize_structure_crate_model_s3_bucket_configuration( let mut array_123 = object.key("bucketAclGrants").start_array(); for item_124 in var_122 { { + #[allow(unused_mut)] let mut object_125 = array_123.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_acl_grant_configuration( &mut object_125, @@ -575,6 +602,7 @@ pub fn serialize_structure_crate_model_s3_bucket_configuration( array_123.finish(); } if let Some(var_126) = &input.bucket_public_access_block { + #[allow(unused_mut)] let mut object_127 = object.key("bucketPublicAccessBlock").start_object(); crate::json_ser::serialize_structure_crate_model_s3_public_access_block_configuration( &mut object_127, @@ -583,9 +611,11 @@ pub fn serialize_structure_crate_model_s3_bucket_configuration( object_127.finish(); } if let Some(var_128) = &input.access_points { + #[allow(unused_mut)] let mut object_129 = object.key("accessPoints").start_object(); for (key_130, value_131) in var_128 { { + #[allow(unused_mut)] let mut object_132 = object_129.key(key_130.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_s3_access_point_configuration( &mut object_132, @@ -651,6 +681,7 @@ pub fn serialize_structure_crate_model_kms_grant_configuration( object.key("retiringPrincipal").string(var_143.as_str()); } if let Some(var_144) = &input.constraints { + #[allow(unused_mut)] let mut object_145 = object.key("constraints").start_object(); crate::json_ser::serialize_structure_crate_model_kms_grant_constraints( &mut object_145, @@ -672,6 +703,7 @@ pub fn serialize_structure_crate_model_s3_bucket_acl_grant_configuration( object.key("permission").string(var_147.as_str()); } if let Some(var_148) = &input.grantee { + #[allow(unused_mut)] let mut object_149 = object.key("grantee").start_object(); crate::json_ser::serialize_union_crate_model_acl_grantee(&mut object_149, var_148)?; object_149.finish(); @@ -700,6 +732,7 @@ pub fn serialize_structure_crate_model_s3_access_point_configuration( object.key("accessPointPolicy").string(var_152.as_str()); } if let Some(var_153) = &input.public_access_block { + #[allow(unused_mut)] let mut object_154 = object.key("publicAccessBlock").start_object(); crate::json_ser::serialize_structure_crate_model_s3_public_access_block_configuration( &mut object_154, @@ -708,6 +741,7 @@ pub fn serialize_structure_crate_model_s3_access_point_configuration( object_154.finish(); } if let Some(var_155) = &input.network_origin { + #[allow(unused_mut)] let mut object_156 = object.key("networkOrigin").start_object(); crate::json_ser::serialize_union_crate_model_network_origin_configuration( &mut object_156, @@ -723,6 +757,7 @@ pub fn serialize_structure_crate_model_kms_grant_constraints( input: &crate::model::KmsGrantConstraints, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_157) = &input.encryption_context_equals { + #[allow(unused_mut)] let mut object_158 = object.key("encryptionContextEquals").start_object(); for (key_159, value_160) in var_157 { { @@ -732,6 +767,7 @@ pub fn serialize_structure_crate_model_kms_grant_constraints( object_158.finish(); } if let Some(var_161) = &input.encryption_context_subset { + #[allow(unused_mut)] let mut object_162 = object.key("encryptionContextSubset").start_object(); for (key_163, value_164) in var_161 { { @@ -771,6 +807,7 @@ pub fn serialize_union_crate_model_network_origin_configuration( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::NetworkOriginConfiguration::VpcConfiguration(inner) => { + #[allow(unused_mut)] let mut object_165 = object_156.key("vpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration( &mut object_165, @@ -779,6 +816,7 @@ pub fn serialize_union_crate_model_network_origin_configuration( object_165.finish(); } crate::model::NetworkOriginConfiguration::InternetConfiguration(inner) => { + #[allow(unused_mut)] let mut object_166 = object_156.key("internetConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_internet_configuration( &mut object_166, diff --git a/sdk/account/src/json_ser.rs b/sdk/account/src/json_ser.rs index 68a6d36909ea..aad6b1210ac0 100644 --- a/sdk/account/src/json_ser.rs +++ b/sdk/account/src/json_ser.rs @@ -68,6 +68,7 @@ pub fn serialize_structure_crate_input_put_contact_information_input( object.key("AccountId").string(var_12.as_str()); } if let Some(var_13) = &input.contact_information { + #[allow(unused_mut)] let mut object_14 = object.key("ContactInformation").start_object(); crate::json_ser::serialize_structure_crate_model_contact_information( &mut object_14, diff --git a/sdk/acm/src/json_ser.rs b/sdk/acm/src/json_ser.rs index eb57eae5c57e..e18545a20331 100644 --- a/sdk/acm/src/json_ser.rs +++ b/sdk/acm/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_tags_to_certificate_input( let mut array_3 = object.key("Tags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -91,6 +92,7 @@ pub fn serialize_structure_crate_input_import_certificate_input( let mut array_16 = object.key("Tags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_18, item_17)?; object_18.finish(); @@ -115,6 +117,7 @@ pub fn serialize_structure_crate_input_list_certificates_input( array_20.finish(); } if let Some(var_22) = &input.includes { + #[allow(unused_mut)] let mut object_23 = object.key("Includes").start_object(); crate::json_ser::serialize_structure_crate_model_filters(&mut object_23, var_22)?; object_23.finish(); @@ -152,6 +155,7 @@ pub fn serialize_structure_crate_input_put_account_configuration_input( input: &crate::input::PutAccountConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_29) = &input.expiry_events { + #[allow(unused_mut)] let mut object_30 = object.key("ExpiryEvents").start_object(); crate::json_ser::serialize_structure_crate_model_expiry_events_configuration( &mut object_30, @@ -176,6 +180,7 @@ pub fn serialize_structure_crate_input_remove_tags_from_certificate_input( let mut array_34 = object.key("Tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -222,6 +227,7 @@ pub fn serialize_structure_crate_input_request_certificate_input( let mut array_45 = object.key("DomainValidationOptions").start_array(); for item_46 in var_44 { { + #[allow(unused_mut)] let mut object_47 = array_45.value().start_object(); crate::json_ser::serialize_structure_crate_model_domain_validation_option( &mut object_47, @@ -233,6 +239,7 @@ pub fn serialize_structure_crate_input_request_certificate_input( array_45.finish(); } if let Some(var_48) = &input.options { + #[allow(unused_mut)] let mut object_49 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_certificate_options( &mut object_49, @@ -249,6 +256,7 @@ pub fn serialize_structure_crate_input_request_certificate_input( let mut array_52 = object.key("Tags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_54, item_53)?; object_54.finish(); @@ -283,6 +291,7 @@ pub fn serialize_structure_crate_input_update_certificate_options_input( object.key("CertificateArn").string(var_58.as_str()); } if let Some(var_59) = &input.options { + #[allow(unused_mut)] let mut object_60 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_certificate_options( &mut object_60, diff --git a/sdk/acmpca/src/json_ser.rs b/sdk/acmpca/src/json_ser.rs index 1f3a4cf60889..8459766bc79c 100644 --- a/sdk/acmpca/src/json_ser.rs +++ b/sdk/acmpca/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_certificate_authority_input( input: &crate::input::CreateCertificateAuthorityInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.certificate_authority_configuration { + #[allow(unused_mut)] let mut object_2 = object .key("CertificateAuthorityConfiguration") .start_object(); @@ -14,6 +15,7 @@ pub fn serialize_structure_crate_input_create_certificate_authority_input( object_2.finish(); } if let Some(var_3) = &input.revocation_configuration { + #[allow(unused_mut)] let mut object_4 = object.key("RevocationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_revocation_configuration( &mut object_4, @@ -38,6 +40,7 @@ pub fn serialize_structure_crate_input_create_certificate_authority_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -244,6 +247,7 @@ pub fn serialize_structure_crate_input_issue_certificate_input( input: &crate::input::IssueCertificateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_38) = &input.api_passthrough { + #[allow(unused_mut)] let mut object_39 = object.key("ApiPassthrough").start_object(); crate::json_ser::serialize_structure_crate_model_api_passthrough(&mut object_39, var_38)?; object_39.finish(); @@ -265,11 +269,13 @@ pub fn serialize_structure_crate_input_issue_certificate_input( object.key("TemplateArn").string(var_43.as_str()); } if let Some(var_44) = &input.validity { + #[allow(unused_mut)] let mut object_45 = object.key("Validity").start_object(); crate::json_ser::serialize_structure_crate_model_validity(&mut object_45, var_44)?; object_45.finish(); } if let Some(var_46) = &input.validity_not_before { + #[allow(unused_mut)] let mut object_47 = object.key("ValidityNotBefore").start_object(); crate::json_ser::serialize_structure_crate_model_validity(&mut object_47, var_46)?; object_47.finish(); @@ -397,6 +403,7 @@ pub fn serialize_structure_crate_input_tag_certificate_authority_input( let mut array_66 = object.key("Tags").start_array(); for item_67 in var_65 { { + #[allow(unused_mut)] let mut object_68 = array_66.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_68, item_67)?; object_68.finish(); @@ -420,6 +427,7 @@ pub fn serialize_structure_crate_input_untag_certificate_authority_input( let mut array_71 = object.key("Tags").start_array(); for item_72 in var_70 { { + #[allow(unused_mut)] let mut object_73 = array_71.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_73, item_72)?; object_73.finish(); @@ -440,6 +448,7 @@ pub fn serialize_structure_crate_input_update_certificate_authority_input( .string(var_74.as_str()); } if let Some(var_75) = &input.revocation_configuration { + #[allow(unused_mut)] let mut object_76 = object.key("RevocationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_revocation_configuration( &mut object_76, @@ -464,11 +473,13 @@ pub fn serialize_structure_crate_model_certificate_authority_configuration( object.key("SigningAlgorithm").string(var_79.as_str()); } if let Some(var_80) = &input.subject { + #[allow(unused_mut)] let mut object_81 = object.key("Subject").start_object(); crate::json_ser::serialize_structure_crate_model_asn1_subject(&mut object_81, var_80)?; object_81.finish(); } if let Some(var_82) = &input.csr_extensions { + #[allow(unused_mut)] let mut object_83 = object.key("CsrExtensions").start_object(); crate::json_ser::serialize_structure_crate_model_csr_extensions(&mut object_83, var_82)?; object_83.finish(); @@ -481,11 +492,13 @@ pub fn serialize_structure_crate_model_revocation_configuration( input: &crate::model::RevocationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_84) = &input.crl_configuration { + #[allow(unused_mut)] let mut object_85 = object.key("CrlConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_crl_configuration(&mut object_85, var_84)?; object_85.finish(); } if let Some(var_86) = &input.ocsp_configuration { + #[allow(unused_mut)] let mut object_87 = object.key("OcspConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ocsp_configuration( &mut object_87, @@ -514,11 +527,13 @@ pub fn serialize_structure_crate_model_api_passthrough( input: &crate::model::ApiPassthrough, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.extensions { + #[allow(unused_mut)] let mut object_91 = object.key("Extensions").start_object(); crate::json_ser::serialize_structure_crate_model_extensions(&mut object_91, var_90)?; object_91.finish(); } if let Some(var_92) = &input.subject { + #[allow(unused_mut)] let mut object_93 = object.key("Subject").start_object(); crate::json_ser::serialize_structure_crate_model_asn1_subject(&mut object_93, var_92)?; object_93.finish(); @@ -594,6 +609,7 @@ pub fn serialize_structure_crate_model_asn1_subject( let mut array_111 = object.key("CustomAttributes").start_array(); for item_112 in var_110 { { + #[allow(unused_mut)] let mut object_113 = array_111.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_attribute( &mut object_113, @@ -612,6 +628,7 @@ pub fn serialize_structure_crate_model_csr_extensions( input: &crate::model::CsrExtensions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_114) = &input.key_usage { + #[allow(unused_mut)] let mut object_115 = object.key("KeyUsage").start_object(); crate::json_ser::serialize_structure_crate_model_key_usage(&mut object_115, var_114)?; object_115.finish(); @@ -620,6 +637,7 @@ pub fn serialize_structure_crate_model_csr_extensions( let mut array_117 = object.key("SubjectInformationAccess").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_access_description( &mut object_119, @@ -679,6 +697,7 @@ pub fn serialize_structure_crate_model_extensions( let mut array_128 = object.key("CertificatePolicies").start_array(); for item_129 in var_127 { { + #[allow(unused_mut)] let mut object_130 = array_128.value().start_object(); crate::json_ser::serialize_structure_crate_model_policy_information( &mut object_130, @@ -693,6 +712,7 @@ pub fn serialize_structure_crate_model_extensions( let mut array_132 = object.key("ExtendedKeyUsage").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_extended_key_usage( &mut object_134, @@ -704,6 +724,7 @@ pub fn serialize_structure_crate_model_extensions( array_132.finish(); } if let Some(var_135) = &input.key_usage { + #[allow(unused_mut)] let mut object_136 = object.key("KeyUsage").start_object(); crate::json_ser::serialize_structure_crate_model_key_usage(&mut object_136, var_135)?; object_136.finish(); @@ -712,6 +733,7 @@ pub fn serialize_structure_crate_model_extensions( let mut array_138 = object.key("SubjectAlternativeNames").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_general_name( &mut object_140, @@ -726,6 +748,7 @@ pub fn serialize_structure_crate_model_extensions( let mut array_142 = object.key("CustomExtensions").start_array(); for item_143 in var_141 { { + #[allow(unused_mut)] let mut object_144 = array_142.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_extension( &mut object_144, @@ -797,11 +820,13 @@ pub fn serialize_structure_crate_model_access_description( input: &crate::model::AccessDescription, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_147) = &input.access_method { + #[allow(unused_mut)] let mut object_148 = object.key("AccessMethod").start_object(); crate::json_ser::serialize_structure_crate_model_access_method(&mut object_148, var_147)?; object_148.finish(); } if let Some(var_149) = &input.access_location { + #[allow(unused_mut)] let mut object_150 = object.key("AccessLocation").start_object(); crate::json_ser::serialize_structure_crate_model_general_name(&mut object_150, var_149)?; object_150.finish(); @@ -820,6 +845,7 @@ pub fn serialize_structure_crate_model_policy_information( let mut array_153 = object.key("PolicyQualifiers").start_array(); for item_154 in var_152 { { + #[allow(unused_mut)] let mut object_155 = array_153.value().start_object(); crate::json_ser::serialize_structure_crate_model_policy_qualifier_info( &mut object_155, @@ -853,6 +879,7 @@ pub fn serialize_structure_crate_model_general_name( input: &crate::model::GeneralName, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_158) = &input.other_name { + #[allow(unused_mut)] let mut object_159 = object.key("OtherName").start_object(); crate::json_ser::serialize_structure_crate_model_other_name(&mut object_159, var_158)?; object_159.finish(); @@ -864,11 +891,13 @@ pub fn serialize_structure_crate_model_general_name( object.key("DnsName").string(var_161.as_str()); } if let Some(var_162) = &input.directory_name { + #[allow(unused_mut)] let mut object_163 = object.key("DirectoryName").start_object(); crate::json_ser::serialize_structure_crate_model_asn1_subject(&mut object_163, var_162)?; object_163.finish(); } if let Some(var_164) = &input.edi_party_name { + #[allow(unused_mut)] let mut object_165 = object.key("EdiPartyName").start_object(); crate::json_ser::serialize_structure_crate_model_edi_party_name(&mut object_165, var_164)?; object_165.finish(); @@ -926,6 +955,7 @@ pub fn serialize_structure_crate_model_policy_qualifier_info( object.key("PolicyQualifierId").string(var_174.as_str()); } if let Some(var_175) = &input.qualifier { + #[allow(unused_mut)] let mut object_176 = object.key("Qualifier").start_object(); crate::json_ser::serialize_structure_crate_model_qualifier(&mut object_176, var_175)?; object_176.finish(); diff --git a/sdk/alexaforbusiness/src/json_ser.rs b/sdk/alexaforbusiness/src/json_ser.rs index cdad87775b51..806de7c87ffb 100644 --- a/sdk/alexaforbusiness/src/json_ser.rs +++ b/sdk/alexaforbusiness/src/json_ser.rs @@ -101,6 +101,7 @@ pub fn serialize_structure_crate_input_create_address_book_input( let mut array_17 = object.key("Tags").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_19, item_18)?; object_19.finish(); @@ -128,6 +129,7 @@ pub fn serialize_structure_crate_input_create_business_report_schedule_input( object.key("Format").string(var_23.as_str()); } if let Some(var_24) = &input.content_range { + #[allow(unused_mut)] let mut object_25 = object.key("ContentRange").start_object(); crate::json_ser::serialize_structure_crate_model_business_report_content_range( &mut object_25, @@ -136,6 +138,7 @@ pub fn serialize_structure_crate_input_create_business_report_schedule_input( object_25.finish(); } if let Some(var_26) = &input.recurrence { + #[allow(unused_mut)] let mut object_27 = object.key("Recurrence").start_object(); crate::json_ser::serialize_structure_crate_model_business_report_recurrence( &mut object_27, @@ -150,6 +153,7 @@ pub fn serialize_structure_crate_input_create_business_report_schedule_input( let mut array_30 = object.key("Tags").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_32, item_31)?; object_32.finish(); @@ -171,16 +175,19 @@ pub fn serialize_structure_crate_input_create_conference_provider_input( object.key("ConferenceProviderType").string(var_34.as_str()); } if let Some(var_35) = &input.ip_dial_in { + #[allow(unused_mut)] let mut object_36 = object.key("IPDialIn").start_object(); crate::json_ser::serialize_structure_crate_model_ip_dial_in(&mut object_36, var_35)?; object_36.finish(); } if let Some(var_37) = &input.pstn_dial_in { + #[allow(unused_mut)] let mut object_38 = object.key("PSTNDialIn").start_object(); crate::json_ser::serialize_structure_crate_model_pstn_dial_in(&mut object_38, var_37)?; object_38.finish(); } if let Some(var_39) = &input.meeting_setting { + #[allow(unused_mut)] let mut object_40 = object.key("MeetingSetting").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_setting(&mut object_40, var_39)?; object_40.finish(); @@ -192,6 +199,7 @@ pub fn serialize_structure_crate_input_create_conference_provider_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -222,6 +230,7 @@ pub fn serialize_structure_crate_input_create_contact_input( let mut array_51 = object.key("PhoneNumbers").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_phone_number( &mut object_53, @@ -236,6 +245,7 @@ pub fn serialize_structure_crate_input_create_contact_input( let mut array_55 = object.key("SipAddresses").start_array(); for item_56 in var_54 { { + #[allow(unused_mut)] let mut object_57 = array_55.value().start_object(); crate::json_ser::serialize_structure_crate_model_sip_address( &mut object_57, @@ -253,6 +263,7 @@ pub fn serialize_structure_crate_input_create_contact_input( let mut array_60 = object.key("Tags").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -280,6 +291,7 @@ pub fn serialize_structure_crate_input_create_gateway_group_input( let mut array_67 = object.key("Tags").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_69, item_68)?; object_69.finish(); @@ -336,6 +348,7 @@ pub fn serialize_structure_crate_input_create_network_profile_input( let mut array_83 = object.key("Tags").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_85, item_84)?; object_85.finish(); @@ -390,6 +403,7 @@ pub fn serialize_structure_crate_input_create_profile_input( object.key("DataRetentionOptIn").boolean(*var_97); } if let Some(var_98) = &input.meeting_room_configuration { + #[allow(unused_mut)] let mut object_99 = object.key("MeetingRoomConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_meeting_room_configuration( &mut object_99, @@ -401,6 +415,7 @@ pub fn serialize_structure_crate_input_create_profile_input( let mut array_101 = object.key("Tags").start_array(); for item_102 in var_100 { { + #[allow(unused_mut)] let mut object_103 = array_101.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_103, item_102)?; object_103.finish(); @@ -434,6 +449,7 @@ pub fn serialize_structure_crate_input_create_room_input( let mut array_110 = object.key("Tags").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_112, item_111)?; object_112.finish(); @@ -461,6 +477,7 @@ pub fn serialize_structure_crate_input_create_skill_group_input( let mut array_117 = object.key("Tags").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_119, item_118)?; object_119.finish(); @@ -494,6 +511,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_126 = object.key("Tags").start_array(); for item_127 in var_125 { { + #[allow(unused_mut)] let mut object_128 = array_126.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_128, item_127)?; object_128.finish(); @@ -1039,6 +1057,7 @@ pub fn serialize_structure_crate_input_put_conference_preference_input( input: &crate::input::PutConferencePreferenceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_199) = &input.conference_preference { + #[allow(unused_mut)] let mut object_200 = object.key("ConferencePreference").start_object(); crate::json_ser::serialize_structure_crate_model_conference_preference( &mut object_200, @@ -1082,6 +1101,7 @@ pub fn serialize_structure_crate_input_put_room_skill_parameter_input( object.key("SkillId").string(var_207.as_str()); } if let Some(var_208) = &input.room_skill_parameter { + #[allow(unused_mut)] let mut object_209 = object.key("RoomSkillParameter").start_object(); crate::json_ser::serialize_structure_crate_model_room_skill_parameter( &mut object_209, @@ -1097,6 +1117,7 @@ pub fn serialize_structure_crate_input_put_skill_authorization_input( input: &crate::input::PutSkillAuthorizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_210) = &input.authorization_result { + #[allow(unused_mut)] let mut object_211 = object.key("AuthorizationResult").start_object(); for (key_212, value_213) in var_210 { { @@ -1140,6 +1161,7 @@ pub fn serialize_structure_crate_input_register_avs_device_input( let mut array_223 = object.key("Tags").start_array(); for item_224 in var_222 { { + #[allow(unused_mut)] let mut object_225 = array_223.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_225, item_224)?; object_225.finish(); @@ -1194,6 +1216,7 @@ pub fn serialize_structure_crate_input_search_address_books_input( let mut array_232 = object.key("Filters").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_234, item_233)?; object_234.finish(); @@ -1205,6 +1228,7 @@ pub fn serialize_structure_crate_input_search_address_books_input( let mut array_236 = object.key("SortCriteria").start_array(); for item_237 in var_235 { { + #[allow(unused_mut)] let mut object_238 = array_236.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_238, item_237)?; object_238.finish(); @@ -1232,6 +1256,7 @@ pub fn serialize_structure_crate_input_search_contacts_input( let mut array_242 = object.key("Filters").start_array(); for item_243 in var_241 { { + #[allow(unused_mut)] let mut object_244 = array_242.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_244, item_243)?; object_244.finish(); @@ -1243,6 +1268,7 @@ pub fn serialize_structure_crate_input_search_contacts_input( let mut array_246 = object.key("SortCriteria").start_array(); for item_247 in var_245 { { + #[allow(unused_mut)] let mut object_248 = array_246.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_248, item_247)?; object_248.finish(); @@ -1279,6 +1305,7 @@ pub fn serialize_structure_crate_input_search_devices_input( let mut array_254 = object.key("Filters").start_array(); for item_255 in var_253 { { + #[allow(unused_mut)] let mut object_256 = array_254.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_256, item_255)?; object_256.finish(); @@ -1290,6 +1317,7 @@ pub fn serialize_structure_crate_input_search_devices_input( let mut array_258 = object.key("SortCriteria").start_array(); for item_259 in var_257 { { + #[allow(unused_mut)] let mut object_260 = array_258.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_260, item_259)?; object_260.finish(); @@ -1317,6 +1345,7 @@ pub fn serialize_structure_crate_input_search_network_profiles_input( let mut array_264 = object.key("Filters").start_array(); for item_265 in var_263 { { + #[allow(unused_mut)] let mut object_266 = array_264.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_266, item_265)?; object_266.finish(); @@ -1328,6 +1357,7 @@ pub fn serialize_structure_crate_input_search_network_profiles_input( let mut array_268 = object.key("SortCriteria").start_array(); for item_269 in var_267 { { + #[allow(unused_mut)] let mut object_270 = array_268.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_270, item_269)?; object_270.finish(); @@ -1355,6 +1385,7 @@ pub fn serialize_structure_crate_input_search_profiles_input( let mut array_274 = object.key("Filters").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_276, item_275)?; object_276.finish(); @@ -1366,6 +1397,7 @@ pub fn serialize_structure_crate_input_search_profiles_input( let mut array_278 = object.key("SortCriteria").start_array(); for item_279 in var_277 { { + #[allow(unused_mut)] let mut object_280 = array_278.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_280, item_279)?; object_280.finish(); @@ -1393,6 +1425,7 @@ pub fn serialize_structure_crate_input_search_rooms_input( let mut array_284 = object.key("Filters").start_array(); for item_285 in var_283 { { + #[allow(unused_mut)] let mut object_286 = array_284.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_286, item_285)?; object_286.finish(); @@ -1404,6 +1437,7 @@ pub fn serialize_structure_crate_input_search_rooms_input( let mut array_288 = object.key("SortCriteria").start_array(); for item_289 in var_287 { { + #[allow(unused_mut)] let mut object_290 = array_288.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_290, item_289)?; object_290.finish(); @@ -1431,6 +1465,7 @@ pub fn serialize_structure_crate_input_search_skill_groups_input( let mut array_294 = object.key("Filters").start_array(); for item_295 in var_293 { { + #[allow(unused_mut)] let mut object_296 = array_294.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_296, item_295)?; object_296.finish(); @@ -1442,6 +1477,7 @@ pub fn serialize_structure_crate_input_search_skill_groups_input( let mut array_298 = object.key("SortCriteria").start_array(); for item_299 in var_297 { { + #[allow(unused_mut)] let mut object_300 = array_298.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_300, item_299)?; object_300.finish(); @@ -1469,6 +1505,7 @@ pub fn serialize_structure_crate_input_search_users_input( let mut array_304 = object.key("Filters").start_array(); for item_305 in var_303 { { + #[allow(unused_mut)] let mut object_306 = array_304.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_306, item_305)?; object_306.finish(); @@ -1480,6 +1517,7 @@ pub fn serialize_structure_crate_input_search_users_input( let mut array_308 = object.key("SortCriteria").start_array(); for item_309 in var_307 { { + #[allow(unused_mut)] let mut object_310 = array_308.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_310, item_309)?; object_310.finish(); @@ -1498,6 +1536,7 @@ pub fn serialize_structure_crate_input_send_announcement_input( let mut array_312 = object.key("RoomFilters").start_array(); for item_313 in var_311 { { + #[allow(unused_mut)] let mut object_314 = array_312.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_314, item_313)?; object_314.finish(); @@ -1506,6 +1545,7 @@ pub fn serialize_structure_crate_input_send_announcement_input( array_312.finish(); } if let Some(var_315) = &input.content { + #[allow(unused_mut)] let mut object_316 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_316, var_315)?; object_316.finish(); @@ -1575,6 +1615,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_328 = object.key("Tags").start_array(); for item_329 in var_327 { { + #[allow(unused_mut)] let mut object_330 = array_328.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_330, item_329)?; object_330.finish(); @@ -1640,6 +1681,7 @@ pub fn serialize_structure_crate_input_update_business_report_schedule_input( object.key("ScheduleName").string(var_342.as_str()); } if let Some(var_343) = &input.recurrence { + #[allow(unused_mut)] let mut object_344 = object.key("Recurrence").start_object(); crate::json_ser::serialize_structure_crate_model_business_report_recurrence( &mut object_344, @@ -1663,16 +1705,19 @@ pub fn serialize_structure_crate_input_update_conference_provider_input( .string(var_346.as_str()); } if let Some(var_347) = &input.ip_dial_in { + #[allow(unused_mut)] let mut object_348 = object.key("IPDialIn").start_object(); crate::json_ser::serialize_structure_crate_model_ip_dial_in(&mut object_348, var_347)?; object_348.finish(); } if let Some(var_349) = &input.pstn_dial_in { + #[allow(unused_mut)] let mut object_350 = object.key("PSTNDialIn").start_object(); crate::json_ser::serialize_structure_crate_model_pstn_dial_in(&mut object_350, var_349)?; object_350.finish(); } if let Some(var_351) = &input.meeting_setting { + #[allow(unused_mut)] let mut object_352 = object.key("MeetingSetting").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_setting(&mut object_352, var_351)?; object_352.finish(); @@ -1703,6 +1748,7 @@ pub fn serialize_structure_crate_input_update_contact_input( let mut array_359 = object.key("PhoneNumbers").start_array(); for item_360 in var_358 { { + #[allow(unused_mut)] let mut object_361 = array_359.value().start_object(); crate::json_ser::serialize_structure_crate_model_phone_number( &mut object_361, @@ -1717,6 +1763,7 @@ pub fn serialize_structure_crate_input_update_contact_input( let mut array_363 = object.key("SipAddresses").start_array(); for item_364 in var_362 { { + #[allow(unused_mut)] let mut object_365 = array_363.value().start_object(); crate::json_ser::serialize_structure_crate_model_sip_address( &mut object_365, @@ -1861,6 +1908,7 @@ pub fn serialize_structure_crate_input_update_profile_input( object.key("DataRetentionOptIn").boolean(*var_396); } if let Some(var_397) = &input.meeting_room_configuration { + #[allow(unused_mut)] let mut object_398 = object.key("MeetingRoomConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_meeting_room_configuration( &mut object_398, @@ -2020,6 +2068,7 @@ pub fn serialize_structure_crate_model_create_meeting_room_configuration( .boolean(*var_422); } if let Some(var_423) = &input.end_of_meeting_reminder { + #[allow(unused_mut)] let mut object_424 = object.key("EndOfMeetingReminder").start_object(); crate::json_ser::serialize_structure_crate_model_create_end_of_meeting_reminder( &mut object_424, @@ -2028,6 +2077,7 @@ pub fn serialize_structure_crate_model_create_meeting_room_configuration( object_424.finish(); } if let Some(var_425) = &input.instant_booking { + #[allow(unused_mut)] let mut object_426 = object.key("InstantBooking").start_object(); crate::json_ser::serialize_structure_crate_model_create_instant_booking( &mut object_426, @@ -2036,6 +2086,7 @@ pub fn serialize_structure_crate_model_create_meeting_room_configuration( object_426.finish(); } if let Some(var_427) = &input.require_check_in { + #[allow(unused_mut)] let mut object_428 = object.key("RequireCheckIn").start_object(); crate::json_ser::serialize_structure_crate_model_create_require_check_in( &mut object_428, @@ -2111,6 +2162,7 @@ pub fn serialize_structure_crate_model_content( let mut array_439 = object.key("TextList").start_array(); for item_440 in var_438 { { + #[allow(unused_mut)] let mut object_441 = array_439.value().start_object(); crate::json_ser::serialize_structure_crate_model_text(&mut object_441, item_440)?; object_441.finish(); @@ -2122,6 +2174,7 @@ pub fn serialize_structure_crate_model_content( let mut array_443 = object.key("SsmlList").start_array(); for item_444 in var_442 { { + #[allow(unused_mut)] let mut object_445 = array_443.value().start_object(); crate::json_ser::serialize_structure_crate_model_ssml(&mut object_445, item_444)?; object_445.finish(); @@ -2133,6 +2186,7 @@ pub fn serialize_structure_crate_model_content( let mut array_447 = object.key("AudioList").start_array(); for item_448 in var_446 { { + #[allow(unused_mut)] let mut object_449 = array_447.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio(&mut object_449, item_448)?; object_449.finish(); @@ -2153,6 +2207,7 @@ pub fn serialize_structure_crate_model_update_meeting_room_configuration( .boolean(*var_450); } if let Some(var_451) = &input.end_of_meeting_reminder { + #[allow(unused_mut)] let mut object_452 = object.key("EndOfMeetingReminder").start_object(); crate::json_ser::serialize_structure_crate_model_update_end_of_meeting_reminder( &mut object_452, @@ -2161,6 +2216,7 @@ pub fn serialize_structure_crate_model_update_meeting_room_configuration( object_452.finish(); } if let Some(var_453) = &input.instant_booking { + #[allow(unused_mut)] let mut object_454 = object.key("InstantBooking").start_object(); crate::json_ser::serialize_structure_crate_model_update_instant_booking( &mut object_454, @@ -2169,6 +2225,7 @@ pub fn serialize_structure_crate_model_update_meeting_room_configuration( object_454.finish(); } if let Some(var_455) = &input.require_check_in { + #[allow(unused_mut)] let mut object_456 = object.key("RequireCheckIn").start_object(); crate::json_ser::serialize_structure_crate_model_update_require_check_in( &mut object_456, diff --git a/sdk/amp/src/json_ser.rs b/sdk/amp/src/json_ser.rs index f5a46d8b07e6..9c150cd1f470 100644 --- a/sdk/amp/src/json_ser.rs +++ b/sdk/amp/src/json_ser.rs @@ -43,6 +43,7 @@ pub fn serialize_structure_crate_input_create_rule_groups_namespace_input( object.key("name").string(var_7.as_str()); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { @@ -65,6 +66,7 @@ pub fn serialize_structure_crate_input_create_workspace_input( object.key("clientToken").string(var_13.as_str()); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("tags").start_object(); for (key_16, value_17) in var_14 { { @@ -111,6 +113,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("tags").start_object(); for (key_24, value_25) in var_22 { { diff --git a/sdk/amplify/src/json_ser.rs b/sdk/amplify/src/json_ser.rs index b5acbc5215b3..3c7a13d5090e 100644 --- a/sdk/amplify/src/json_ser.rs +++ b/sdk/amplify/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_app_input( object.key("accessToken").string(var_1.as_str()); } if let Some(var_2) = &input.auto_branch_creation_config { + #[allow(unused_mut)] let mut object_3 = object.key("autoBranchCreationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_branch_creation_config( &mut object_3, @@ -36,6 +37,7 @@ pub fn serialize_structure_crate_input_create_app_input( let mut array_11 = object.key("customRules").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_rule( &mut object_13, @@ -62,6 +64,7 @@ pub fn serialize_structure_crate_input_create_app_input( object.key("enableBranchAutoDeletion").boolean(*var_18); } if let Some(var_19) = &input.environment_variables { + #[allow(unused_mut)] let mut object_20 = object.key("environmentVariables").start_object(); for (key_21, value_22) in var_19 { { @@ -86,6 +89,7 @@ pub fn serialize_structure_crate_input_create_app_input( object.key("repository").string(var_27.as_str()); } if let Some(var_28) = &input.tags { + #[allow(unused_mut)] let mut object_29 = object.key("tags").start_object(); for (key_30, value_31) in var_28 { { @@ -151,6 +155,7 @@ pub fn serialize_structure_crate_input_create_branch_input( object.key("enablePullRequestPreview").boolean(*var_45); } if let Some(var_46) = &input.environment_variables { + #[allow(unused_mut)] let mut object_47 = object.key("environmentVariables").start_object(); for (key_48, value_49) in var_46 { { @@ -171,6 +176,7 @@ pub fn serialize_structure_crate_input_create_branch_input( object.key("stage").string(var_52.as_str()); } if let Some(var_53) = &input.tags { + #[allow(unused_mut)] let mut object_54 = object.key("tags").start_object(); for (key_55, value_56) in var_53 { { @@ -190,6 +196,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( input: &crate::input::CreateDeploymentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_58) = &input.file_map { + #[allow(unused_mut)] let mut object_59 = object.key("fileMap").start_object(); for (key_60, value_61) in var_58 { { @@ -227,6 +234,7 @@ pub fn serialize_structure_crate_input_create_domain_association_input( let mut array_69 = object.key("subDomainSettings").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_sub_domain_setting( &mut object_71, @@ -318,6 +326,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_85) = &input.tags { + #[allow(unused_mut)] let mut object_86 = object.key("tags").start_object(); for (key_87, value_88) in var_85 { { @@ -337,6 +346,7 @@ pub fn serialize_structure_crate_input_update_app_input( object.key("accessToken").string(var_89.as_str()); } if let Some(var_90) = &input.auto_branch_creation_config { + #[allow(unused_mut)] let mut object_91 = object.key("autoBranchCreationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_branch_creation_config( &mut object_91, @@ -366,6 +376,7 @@ pub fn serialize_structure_crate_input_update_app_input( let mut array_99 = object.key("customRules").start_array(); for item_100 in var_98 { { + #[allow(unused_mut)] let mut object_101 = array_99.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_rule( &mut object_101, @@ -392,6 +403,7 @@ pub fn serialize_structure_crate_input_update_app_input( object.key("enableBranchAutoDeletion").boolean(*var_106); } if let Some(var_107) = &input.environment_variables { + #[allow(unused_mut)] let mut object_108 = object.key("environmentVariables").start_object(); for (key_109, value_110) in var_107 { { @@ -453,6 +465,7 @@ pub fn serialize_structure_crate_input_update_branch_input( object.key("enablePullRequestPreview").boolean(*var_125); } if let Some(var_126) = &input.environment_variables { + #[allow(unused_mut)] let mut object_127 = object.key("environmentVariables").start_object(); for (key_128, value_129) in var_126 { { @@ -501,6 +514,7 @@ pub fn serialize_structure_crate_input_update_domain_association_input( let mut array_140 = object.key("subDomainSettings").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_sub_domain_setting( &mut object_142, @@ -541,6 +555,7 @@ pub fn serialize_structure_crate_model_auto_branch_creation_config( object.key("enableAutoBuild").boolean(*var_147); } if let Some(var_148) = &input.environment_variables { + #[allow(unused_mut)] let mut object_149 = object.key("environmentVariables").start_object(); for (key_150, value_151) in var_148 { { diff --git a/sdk/amplifybackend/src/json_ser.rs b/sdk/amplifybackend/src/json_ser.rs index 62c92460e3d7..5f56552d0496 100644 --- a/sdk/amplifybackend/src/json_ser.rs +++ b/sdk/amplifybackend/src/json_ser.rs @@ -23,6 +23,7 @@ pub fn serialize_structure_crate_input_create_backend_input( object.key("backendEnvironmentName").string(var_4.as_str()); } if let Some(var_5) = &input.resource_config { + #[allow(unused_mut)] let mut object_6 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_resource_config(&mut object_6, var_5)?; object_6.finish(); @@ -41,6 +42,7 @@ pub fn serialize_structure_crate_input_create_backend_api_input( object.key("backendEnvironmentName").string(var_8.as_str()); } if let Some(var_9) = &input.resource_config { + #[allow(unused_mut)] let mut object_10 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_resource_config( &mut object_10, @@ -62,6 +64,7 @@ pub fn serialize_structure_crate_input_create_backend_auth_input( object.key("backendEnvironmentName").string(var_12.as_str()); } if let Some(var_13) = &input.resource_config { + #[allow(unused_mut)] let mut object_14 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_resource_config( &mut object_14, @@ -93,6 +96,7 @@ pub fn serialize_structure_crate_input_create_backend_storage_input( object.key("backendEnvironmentName").string(var_17.as_str()); } if let Some(var_18) = &input.resource_config { + #[allow(unused_mut)] let mut object_19 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_storage_resource_config( &mut object_19, @@ -111,6 +115,7 @@ pub fn serialize_structure_crate_input_delete_backend_api_input( input: &crate::input::DeleteBackendApiInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_21) = &input.resource_config { + #[allow(unused_mut)] let mut object_22 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_resource_config( &mut object_22, @@ -172,6 +177,7 @@ pub fn serialize_structure_crate_input_get_backend_api_input( input: &crate::input::GetBackendApiInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_29) = &input.resource_config { + #[allow(unused_mut)] let mut object_30 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_resource_config( &mut object_30, @@ -299,6 +305,7 @@ pub fn serialize_structure_crate_input_update_backend_api_input( input: &crate::input::UpdateBackendApiInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.resource_config { + #[allow(unused_mut)] let mut object_47 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_resource_config( &mut object_47, @@ -317,6 +324,7 @@ pub fn serialize_structure_crate_input_update_backend_auth_input( input: &crate::input::UpdateBackendAuthInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_49) = &input.resource_config { + #[allow(unused_mut)] let mut object_50 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_resource_config( &mut object_50, @@ -335,6 +343,7 @@ pub fn serialize_structure_crate_input_update_backend_config_input( input: &crate::input::UpdateBackendConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.login_auth_config { + #[allow(unused_mut)] let mut object_53 = object.key("loginAuthConfig").start_object(); crate::json_ser::serialize_structure_crate_model_login_auth_config_req_obj( &mut object_53, @@ -363,6 +372,7 @@ pub fn serialize_structure_crate_input_update_backend_storage_input( input: &crate::input::UpdateBackendStorageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_56) = &input.resource_config { + #[allow(unused_mut)] let mut object_57 = object.key("resourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_storage_resource_config( &mut object_57, @@ -392,6 +402,7 @@ pub fn serialize_structure_crate_model_backend_api_resource_config( let mut array_60 = object.key("additionalAuthTypes").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_auth_type( &mut object_62, @@ -406,6 +417,7 @@ pub fn serialize_structure_crate_model_backend_api_resource_config( object.key("apiName").string(var_63.as_str()); } if let Some(var_64) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_65 = object.key("conflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_conflict_resolution( &mut object_65, @@ -414,6 +426,7 @@ pub fn serialize_structure_crate_model_backend_api_resource_config( object_65.finish(); } if let Some(var_66) = &input.default_auth_type { + #[allow(unused_mut)] let mut object_67 = object.key("defaultAuthType").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_auth_type( &mut object_67, @@ -438,6 +451,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_resource_config( object.key("authResources").string(var_70.as_str()); } if let Some(var_71) = &input.identity_pool_configs { + #[allow(unused_mut)] let mut object_72 = object.key("identityPoolConfigs").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_identity_pool_config( &mut object_72, @@ -449,6 +463,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_resource_config( object.key("service").string(var_73.as_str()); } if let Some(var_74) = &input.user_pool_configs { + #[allow(unused_mut)] let mut object_75 = object.key("userPoolConfigs").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_user_pool_config( &mut object_75, @@ -467,6 +482,7 @@ pub fn serialize_structure_crate_model_create_backend_storage_resource_config( object.key("bucketName").string(var_76.as_str()); } if let Some(var_77) = &input.permissions { + #[allow(unused_mut)] let mut object_78 = object.key("permissions").start_object(); crate::json_ser::serialize_structure_crate_model_backend_storage_permissions( &mut object_78, @@ -488,6 +504,7 @@ pub fn serialize_structure_crate_model_update_backend_auth_resource_config( object.key("authResources").string(var_80.as_str()); } if let Some(var_81) = &input.identity_pool_configs { + #[allow(unused_mut)] let mut object_82 = object.key("identityPoolConfigs").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_identity_pool_config( &mut object_82, @@ -499,6 +516,7 @@ pub fn serialize_structure_crate_model_update_backend_auth_resource_config( object.key("service").string(var_83.as_str()); } if let Some(var_84) = &input.user_pool_configs { + #[allow(unused_mut)] let mut object_85 = object.key("userPoolConfigs").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_user_pool_config( &mut object_85, @@ -537,6 +555,7 @@ pub fn serialize_structure_crate_model_update_backend_storage_resource_config( input: &crate::model::UpdateBackendStorageResourceConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.permissions { + #[allow(unused_mut)] let mut object_91 = object.key("permissions").start_object(); crate::json_ser::serialize_structure_crate_model_backend_storage_permissions( &mut object_91, @@ -558,6 +577,7 @@ pub fn serialize_structure_crate_model_backend_api_auth_type( object.key("mode").string(var_93.as_str()); } if let Some(var_94) = &input.settings { + #[allow(unused_mut)] let mut object_95 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_backend_api_app_sync_auth_settings( &mut object_95, @@ -598,11 +618,13 @@ pub fn serialize_structure_crate_model_create_backend_auth_user_pool_config( input: &crate::model::CreateBackendAuthUserPoolConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_98) = &input.forgot_password { + #[allow(unused_mut)] let mut object_99 = object.key("forgotPassword").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_forgot_password_config(&mut object_99, var_98)?; object_99.finish(); } if let Some(var_100) = &input.mfa { + #[allow(unused_mut)] let mut object_101 = object.key("mfa").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_mfa_config( &mut object_101, @@ -611,6 +633,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_user_pool_config( object_101.finish(); } if let Some(var_102) = &input.o_auth { + #[allow(unused_mut)] let mut object_103 = object.key("oAuth").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_o_auth_config( &mut object_103, @@ -619,6 +642,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_user_pool_config( object_103.finish(); } if let Some(var_104) = &input.password_policy { + #[allow(unused_mut)] let mut object_105 = object.key("passwordPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_password_policy_config(&mut object_105, var_104)?; object_105.finish(); @@ -639,6 +663,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_user_pool_config( object.key("userPoolName").string(var_110.as_str()); } if let Some(var_111) = &input.verification_message { + #[allow(unused_mut)] let mut object_112 = object.key("verificationMessage").start_object(); crate::json_ser::serialize_structure_crate_model_create_backend_auth_verification_message_config(&mut object_112, var_111)?; object_112.finish(); @@ -688,11 +713,13 @@ pub fn serialize_structure_crate_model_update_backend_auth_user_pool_config( input: &crate::model::UpdateBackendAuthUserPoolConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_119) = &input.forgot_password { + #[allow(unused_mut)] let mut object_120 = object.key("forgotPassword").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_forgot_password_config(&mut object_120, var_119)?; object_120.finish(); } if let Some(var_121) = &input.mfa { + #[allow(unused_mut)] let mut object_122 = object.key("mfa").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_mfa_config( &mut object_122, @@ -701,6 +728,7 @@ pub fn serialize_structure_crate_model_update_backend_auth_user_pool_config( object_122.finish(); } if let Some(var_123) = &input.o_auth { + #[allow(unused_mut)] let mut object_124 = object.key("oAuth").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_o_auth_config( &mut object_124, @@ -709,11 +737,13 @@ pub fn serialize_structure_crate_model_update_backend_auth_user_pool_config( object_124.finish(); } if let Some(var_125) = &input.password_policy { + #[allow(unused_mut)] let mut object_126 = object.key("passwordPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_password_policy_config(&mut object_126, var_125)?; object_126.finish(); } if let Some(var_127) = &input.verification_message { + #[allow(unused_mut)] let mut object_128 = object.key("verificationMessage").start_object(); crate::json_ser::serialize_structure_crate_model_update_backend_auth_verification_message_config(&mut object_128, var_127)?; object_128.finish(); @@ -763,11 +793,13 @@ pub fn serialize_structure_crate_model_create_backend_auth_forgot_password_confi object.key("deliveryMethod").string(var_136.as_str()); } if let Some(var_137) = &input.email_settings { + #[allow(unused_mut)] let mut object_138 = object.key("emailSettings").start_object(); crate::json_ser::serialize_structure_crate_model_email_settings(&mut object_138, var_137)?; object_138.finish(); } if let Some(var_139) = &input.sms_settings { + #[allow(unused_mut)] let mut object_140 = object.key("smsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sms_settings(&mut object_140, var_139)?; object_140.finish(); @@ -783,6 +815,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_mfa_config( object.key("MFAMode").string(var_141.as_str()); } if let Some(var_142) = &input.settings { + #[allow(unused_mut)] let mut object_143 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_settings(&mut object_143, var_142)?; object_143.finish(); @@ -828,6 +861,7 @@ pub fn serialize_structure_crate_model_create_backend_auth_o_auth_config( array_153.finish(); } if let Some(var_155) = &input.social_provider_settings { + #[allow(unused_mut)] let mut object_156 = object.key("socialProviderSettings").start_object(); crate::json_ser::serialize_structure_crate_model_social_provider_settings( &mut object_156, @@ -868,11 +902,13 @@ pub fn serialize_structure_crate_model_create_backend_auth_verification_message_ object.key("deliveryMethod").string(var_160.as_str()); } if let Some(var_161) = &input.email_settings { + #[allow(unused_mut)] let mut object_162 = object.key("emailSettings").start_object(); crate::json_ser::serialize_structure_crate_model_email_settings(&mut object_162, var_161)?; object_162.finish(); } if let Some(var_163) = &input.sms_settings { + #[allow(unused_mut)] let mut object_164 = object.key("smsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sms_settings(&mut object_164, var_163)?; object_164.finish(); @@ -888,11 +924,13 @@ pub fn serialize_structure_crate_model_update_backend_auth_forgot_password_confi object.key("deliveryMethod").string(var_165.as_str()); } if let Some(var_166) = &input.email_settings { + #[allow(unused_mut)] let mut object_167 = object.key("emailSettings").start_object(); crate::json_ser::serialize_structure_crate_model_email_settings(&mut object_167, var_166)?; object_167.finish(); } if let Some(var_168) = &input.sms_settings { + #[allow(unused_mut)] let mut object_169 = object.key("smsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sms_settings(&mut object_169, var_168)?; object_169.finish(); @@ -908,6 +946,7 @@ pub fn serialize_structure_crate_model_update_backend_auth_mfa_config( object.key("MFAMode").string(var_170.as_str()); } if let Some(var_171) = &input.settings { + #[allow(unused_mut)] let mut object_172 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_settings(&mut object_172, var_171)?; object_172.finish(); @@ -953,6 +992,7 @@ pub fn serialize_structure_crate_model_update_backend_auth_o_auth_config( array_182.finish(); } if let Some(var_184) = &input.social_provider_settings { + #[allow(unused_mut)] let mut object_185 = object.key("socialProviderSettings").start_object(); crate::json_ser::serialize_structure_crate_model_social_provider_settings( &mut object_185, @@ -993,11 +1033,13 @@ pub fn serialize_structure_crate_model_update_backend_auth_verification_message_ object.key("deliveryMethod").string(var_189.as_str()); } if let Some(var_190) = &input.email_settings { + #[allow(unused_mut)] let mut object_191 = object.key("emailSettings").start_object(); crate::json_ser::serialize_structure_crate_model_email_settings(&mut object_191, var_190)?; object_191.finish(); } if let Some(var_192) = &input.sms_settings { + #[allow(unused_mut)] let mut object_193 = object.key("smsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sms_settings(&mut object_193, var_192)?; object_193.finish(); @@ -1052,6 +1094,7 @@ pub fn serialize_structure_crate_model_social_provider_settings( input: &crate::model::SocialProviderSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_201) = &input.facebook { + #[allow(unused_mut)] let mut object_202 = object.key("Facebook").start_object(); crate::json_ser::serialize_structure_crate_model_backend_auth_social_provider_config( &mut object_202, @@ -1060,6 +1103,7 @@ pub fn serialize_structure_crate_model_social_provider_settings( object_202.finish(); } if let Some(var_203) = &input.google { + #[allow(unused_mut)] let mut object_204 = object.key("Google").start_object(); crate::json_ser::serialize_structure_crate_model_backend_auth_social_provider_config( &mut object_204, @@ -1068,6 +1112,7 @@ pub fn serialize_structure_crate_model_social_provider_settings( object_204.finish(); } if let Some(var_205) = &input.login_with_amazon { + #[allow(unused_mut)] let mut object_206 = object.key("LoginWithAmazon").start_object(); crate::json_ser::serialize_structure_crate_model_backend_auth_social_provider_config( &mut object_206, @@ -1076,6 +1121,7 @@ pub fn serialize_structure_crate_model_social_provider_settings( object_206.finish(); } if let Some(var_207) = &input.sign_in_with_apple { + #[allow(unused_mut)] let mut object_208 = object.key("SignInWithApple").start_object(); crate::json_ser::serialize_structure_crate_model_backend_auth_apple_provider_config( &mut object_208, diff --git a/sdk/amplifyuibuilder/src/json_ser.rs b/sdk/amplifyuibuilder/src/json_ser.rs index 1767c582c341..597c40d1bda8 100644 --- a/sdk/amplifyuibuilder/src/json_ser.rs +++ b/sdk/amplifyuibuilder/src/json_ser.rs @@ -13,9 +13,11 @@ pub fn serialize_structure_crate_model_create_component_data( object.key("componentType").string(var_3.as_str()); } if let Some(var_4) = &input.properties { + #[allow(unused_mut)] let mut object_5 = object.key("properties").start_object(); for (key_6, value_7) in var_4 { { + #[allow(unused_mut)] let mut object_8 = object_5.key(key_6.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_8, @@ -30,6 +32,7 @@ pub fn serialize_structure_crate_model_create_component_data( let mut array_10 = object.key("children").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_child( &mut object_12, @@ -44,6 +47,7 @@ pub fn serialize_structure_crate_model_create_component_data( let mut array_14 = object.key("variants").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_variant( &mut object_16, @@ -55,9 +59,11 @@ pub fn serialize_structure_crate_model_create_component_data( array_14.finish(); } if let Some(var_17) = &input.overrides { + #[allow(unused_mut)] let mut object_18 = object.key("overrides").start_object(); for (key_19, value_20) in var_17 { { + #[allow(unused_mut)] let mut object_21 = object_18.key(key_19.as_str()).start_object(); for (key_22, value_23) in value_20 { { @@ -70,9 +76,11 @@ pub fn serialize_structure_crate_model_create_component_data( object_18.finish(); } if let Some(var_24) = &input.binding_properties { + #[allow(unused_mut)] let mut object_25 = object.key("bindingProperties").start_object(); for (key_26, value_27) in var_24 { { + #[allow(unused_mut)] let mut object_28 = object_25.key(key_26.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_binding_properties_value(&mut object_28, value_27)?; object_28.finish(); @@ -81,9 +89,11 @@ pub fn serialize_structure_crate_model_create_component_data( object_25.finish(); } if let Some(var_29) = &input.collection_properties { + #[allow(unused_mut)] let mut object_30 = object.key("collectionProperties").start_object(); for (key_31, value_32) in var_29 { { + #[allow(unused_mut)] let mut object_33 = object_30.key(key_31.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_data_configuration( &mut object_33, @@ -95,6 +105,7 @@ pub fn serialize_structure_crate_model_create_component_data( object_30.finish(); } if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("tags").start_object(); for (key_36, value_37) in var_34 { { @@ -104,9 +115,11 @@ pub fn serialize_structure_crate_model_create_component_data( object_35.finish(); } if let Some(var_38) = &input.events { + #[allow(unused_mut)] let mut object_39 = object.key("events").start_object(); for (key_40, value_41) in var_38 { { + #[allow(unused_mut)] let mut object_42 = object_39.key(key_40.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_event( &mut object_42, @@ -131,6 +144,7 @@ pub fn serialize_structure_crate_model_create_form_data( object.key("name").string(var_44.as_str()); } if let Some(var_45) = &input.data_type { + #[allow(unused_mut)] let mut object_46 = object.key("dataType").start_object(); crate::json_ser::serialize_structure_crate_model_form_data_type_config( &mut object_46, @@ -142,9 +156,11 @@ pub fn serialize_structure_crate_model_create_form_data( object.key("formActionType").string(var_47.as_str()); } if let Some(var_48) = &input.fields { + #[allow(unused_mut)] let mut object_49 = object.key("fields").start_object(); for (key_50, value_51) in var_48 { { + #[allow(unused_mut)] let mut object_52 = object_49.key(key_50.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_field_config( &mut object_52, @@ -156,14 +172,17 @@ pub fn serialize_structure_crate_model_create_form_data( object_49.finish(); } if let Some(var_53) = &input.style { + #[allow(unused_mut)] let mut object_54 = object.key("style").start_object(); crate::json_ser::serialize_structure_crate_model_form_style(&mut object_54, var_53)?; object_54.finish(); } if let Some(var_55) = &input.sectional_elements { + #[allow(unused_mut)] let mut object_56 = object.key("sectionalElements").start_object(); for (key_57, value_58) in var_55 { { + #[allow(unused_mut)] let mut object_59 = object_56.key(key_57.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_sectional_element( &mut object_59, @@ -178,11 +197,13 @@ pub fn serialize_structure_crate_model_create_form_data( object.key("schemaVersion").string(var_60.as_str()); } if let Some(var_61) = &input.cta { + #[allow(unused_mut)] let mut object_62 = object.key("cta").start_object(); crate::json_ser::serialize_structure_crate_model_form_cta(&mut object_62, var_61)?; object_62.finish(); } if let Some(var_63) = &input.tags { + #[allow(unused_mut)] let mut object_64 = object.key("tags").start_object(); for (key_65, value_66) in var_63 { { @@ -205,6 +226,7 @@ pub fn serialize_structure_crate_model_create_theme_data( let mut array_69 = object.key("values").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_theme_values( &mut object_71, @@ -219,6 +241,7 @@ pub fn serialize_structure_crate_model_create_theme_data( let mut array_73 = object.key("overrides").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_theme_values( &mut object_75, @@ -230,6 +253,7 @@ pub fn serialize_structure_crate_model_create_theme_data( array_73.finish(); } if let Some(var_76) = &input.tags { + #[allow(unused_mut)] let mut object_77 = object.key("tags").start_object(); for (key_78, value_79) in var_76 { { @@ -291,9 +315,11 @@ pub fn serialize_structure_crate_model_update_component_data( object.key("componentType").string(var_87.as_str()); } if let Some(var_88) = &input.properties { + #[allow(unused_mut)] let mut object_89 = object.key("properties").start_object(); for (key_90, value_91) in var_88 { { + #[allow(unused_mut)] let mut object_92 = object_89.key(key_90.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_92, @@ -308,6 +334,7 @@ pub fn serialize_structure_crate_model_update_component_data( let mut array_94 = object.key("children").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_child( &mut object_96, @@ -322,6 +349,7 @@ pub fn serialize_structure_crate_model_update_component_data( let mut array_98 = object.key("variants").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_variant( &mut object_100, @@ -333,9 +361,11 @@ pub fn serialize_structure_crate_model_update_component_data( array_98.finish(); } if let Some(var_101) = &input.overrides { + #[allow(unused_mut)] let mut object_102 = object.key("overrides").start_object(); for (key_103, value_104) in var_101 { { + #[allow(unused_mut)] let mut object_105 = object_102.key(key_103.as_str()).start_object(); for (key_106, value_107) in value_104 { { @@ -348,9 +378,11 @@ pub fn serialize_structure_crate_model_update_component_data( object_102.finish(); } if let Some(var_108) = &input.binding_properties { + #[allow(unused_mut)] let mut object_109 = object.key("bindingProperties").start_object(); for (key_110, value_111) in var_108 { { + #[allow(unused_mut)] let mut object_112 = object_109.key(key_110.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_binding_properties_value(&mut object_112, value_111)?; object_112.finish(); @@ -359,9 +391,11 @@ pub fn serialize_structure_crate_model_update_component_data( object_109.finish(); } if let Some(var_113) = &input.collection_properties { + #[allow(unused_mut)] let mut object_114 = object.key("collectionProperties").start_object(); for (key_115, value_116) in var_113 { { + #[allow(unused_mut)] let mut object_117 = object_114.key(key_115.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_data_configuration( &mut object_117, @@ -373,9 +407,11 @@ pub fn serialize_structure_crate_model_update_component_data( object_114.finish(); } if let Some(var_118) = &input.events { + #[allow(unused_mut)] let mut object_119 = object.key("events").start_object(); for (key_120, value_121) in var_118 { { + #[allow(unused_mut)] let mut object_122 = object_119.key(key_120.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_event( &mut object_122, @@ -400,6 +436,7 @@ pub fn serialize_structure_crate_model_update_form_data( object.key("name").string(var_124.as_str()); } if let Some(var_125) = &input.data_type { + #[allow(unused_mut)] let mut object_126 = object.key("dataType").start_object(); crate::json_ser::serialize_structure_crate_model_form_data_type_config( &mut object_126, @@ -411,9 +448,11 @@ pub fn serialize_structure_crate_model_update_form_data( object.key("formActionType").string(var_127.as_str()); } if let Some(var_128) = &input.fields { + #[allow(unused_mut)] let mut object_129 = object.key("fields").start_object(); for (key_130, value_131) in var_128 { { + #[allow(unused_mut)] let mut object_132 = object_129.key(key_130.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_field_config( &mut object_132, @@ -425,14 +464,17 @@ pub fn serialize_structure_crate_model_update_form_data( object_129.finish(); } if let Some(var_133) = &input.style { + #[allow(unused_mut)] let mut object_134 = object.key("style").start_object(); crate::json_ser::serialize_structure_crate_model_form_style(&mut object_134, var_133)?; object_134.finish(); } if let Some(var_135) = &input.sectional_elements { + #[allow(unused_mut)] let mut object_136 = object.key("sectionalElements").start_object(); for (key_137, value_138) in var_135 { { + #[allow(unused_mut)] let mut object_139 = object_136.key(key_137.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_sectional_element( &mut object_139, @@ -447,6 +489,7 @@ pub fn serialize_structure_crate_model_update_form_data( object.key("schemaVersion").string(var_140.as_str()); } if let Some(var_141) = &input.cta { + #[allow(unused_mut)] let mut object_142 = object.key("cta").start_object(); crate::json_ser::serialize_structure_crate_model_form_cta(&mut object_142, var_141)?; object_142.finish(); @@ -468,6 +511,7 @@ pub fn serialize_structure_crate_model_update_theme_data( let mut array_146 = object.key("values").start_array(); for item_147 in var_145 { { + #[allow(unused_mut)] let mut object_148 = array_146.value().start_object(); crate::json_ser::serialize_structure_crate_model_theme_values( &mut object_148, @@ -482,6 +526,7 @@ pub fn serialize_structure_crate_model_update_theme_data( let mut array_150 = object.key("overrides").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_theme_values( &mut object_152, @@ -503,6 +548,7 @@ pub fn serialize_structure_crate_model_component_property( object.key("value").string(var_153.as_str()); } if let Some(var_154) = &input.binding_properties { + #[allow(unused_mut)] let mut object_155 = object.key("bindingProperties").start_object(); crate::json_ser::serialize_structure_crate_model_component_property_binding_properties( &mut object_155, @@ -511,6 +557,7 @@ pub fn serialize_structure_crate_model_component_property( object_155.finish(); } if let Some(var_156) = &input.collection_binding_properties { + #[allow(unused_mut)] let mut object_157 = object.key("collectionBindingProperties").start_object(); crate::json_ser::serialize_structure_crate_model_component_property_binding_properties( &mut object_157, @@ -525,9 +572,11 @@ pub fn serialize_structure_crate_model_component_property( object.key("model").string(var_159.as_str()); } if let Some(var_160) = &input.bindings { + #[allow(unused_mut)] let mut object_161 = object.key("bindings").start_object(); for (key_162, value_163) in var_160 { { + #[allow(unused_mut)] let mut object_164 = object_161.key(key_162.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_form_binding_element( &mut object_164, @@ -548,6 +597,7 @@ pub fn serialize_structure_crate_model_component_property( let mut array_168 = object.key("concat").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_170, @@ -559,6 +609,7 @@ pub fn serialize_structure_crate_model_component_property( array_168.finish(); } if let Some(var_171) = &input.condition { + #[allow(unused_mut)] let mut object_172 = object.key("condition").start_object(); crate::json_ser::serialize_structure_crate_model_component_condition_property( &mut object_172, @@ -595,9 +646,11 @@ pub fn serialize_structure_crate_model_component_child( object.key("name").string(var_179.as_str()); } if let Some(var_180) = &input.properties { + #[allow(unused_mut)] let mut object_181 = object.key("properties").start_object(); for (key_182, value_183) in var_180 { { + #[allow(unused_mut)] let mut object_184 = object_181.key(key_182.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_184, @@ -612,6 +665,7 @@ pub fn serialize_structure_crate_model_component_child( let mut array_186 = object.key("children").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_child( &mut object_188, @@ -623,9 +677,11 @@ pub fn serialize_structure_crate_model_component_child( array_186.finish(); } if let Some(var_189) = &input.events { + #[allow(unused_mut)] let mut object_190 = object.key("events").start_object(); for (key_191, value_192) in var_189 { { + #[allow(unused_mut)] let mut object_193 = object_190.key(key_191.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_event( &mut object_193, @@ -647,6 +703,7 @@ pub fn serialize_structure_crate_model_component_variant( input: &crate::model::ComponentVariant, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_195) = &input.variant_values { + #[allow(unused_mut)] let mut object_196 = object.key("variantValues").start_object(); for (key_197, value_198) in var_195 { { @@ -656,9 +713,11 @@ pub fn serialize_structure_crate_model_component_variant( object_196.finish(); } if let Some(var_199) = &input.overrides { + #[allow(unused_mut)] let mut object_200 = object.key("overrides").start_object(); for (key_201, value_202) in var_199 { { + #[allow(unused_mut)] let mut object_203 = object_200.key(key_201.as_str()).start_object(); for (key_204, value_205) in value_202 { { @@ -681,6 +740,7 @@ pub fn serialize_structure_crate_model_component_binding_properties_value( object.key("type").string(var_206.as_str()); } if let Some(var_207) = &input.binding_properties { + #[allow(unused_mut)] let mut object_208 = object.key("bindingProperties").start_object(); crate::json_ser::serialize_structure_crate_model_component_binding_properties_value_properties(&mut object_208, var_207)?; object_208.finish(); @@ -702,6 +762,7 @@ pub fn serialize_structure_crate_model_component_data_configuration( let mut array_212 = object.key("sort").start_array(); for item_213 in var_211 { { + #[allow(unused_mut)] let mut object_214 = array_212.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort_property( &mut object_214, @@ -713,6 +774,7 @@ pub fn serialize_structure_crate_model_component_data_configuration( array_212.finish(); } if let Some(var_215) = &input.predicate { + #[allow(unused_mut)] let mut object_216 = object.key("predicate").start_object(); crate::json_ser::serialize_structure_crate_model_predicate(&mut object_216, var_215)?; object_216.finish(); @@ -737,6 +799,7 @@ pub fn serialize_structure_crate_model_component_event( object.key("action").string(var_220.as_str()); } if let Some(var_221) = &input.parameters { + #[allow(unused_mut)] let mut object_222 = object.key("parameters").start_object(); crate::json_ser::serialize_structure_crate_model_action_parameters( &mut object_222, @@ -771,6 +834,7 @@ pub fn serialize_structure_crate_model_field_config( object.key("label").string(var_226.as_str()); } if let Some(var_227) = &input.position { + #[allow(unused_mut)] let mut object_228 = object.key("position").start_object(); crate::json_ser::serialize_union_crate_model_field_position(&mut object_228, var_227)?; object_228.finish(); @@ -779,6 +843,7 @@ pub fn serialize_structure_crate_model_field_config( object.key("excluded").boolean(*var_229); } if let Some(var_230) = &input.input_type { + #[allow(unused_mut)] let mut object_231 = object.key("inputType").start_object(); crate::json_ser::serialize_structure_crate_model_field_input_config( &mut object_231, @@ -790,6 +855,7 @@ pub fn serialize_structure_crate_model_field_config( let mut array_233 = object.key("validations").start_array(); for item_234 in var_232 { { + #[allow(unused_mut)] let mut object_235 = array_233.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_validation_configuration( &mut object_235, @@ -808,16 +874,19 @@ pub fn serialize_structure_crate_model_form_style( input: &crate::model::FormStyle, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_236) = &input.horizontal_gap { + #[allow(unused_mut)] let mut object_237 = object.key("horizontalGap").start_object(); crate::json_ser::serialize_union_crate_model_form_style_config(&mut object_237, var_236)?; object_237.finish(); } if let Some(var_238) = &input.vertical_gap { + #[allow(unused_mut)] let mut object_239 = object.key("verticalGap").start_object(); crate::json_ser::serialize_union_crate_model_form_style_config(&mut object_239, var_238)?; object_239.finish(); } if let Some(var_240) = &input.outer_padding { + #[allow(unused_mut)] let mut object_241 = object.key("outerPadding").start_object(); crate::json_ser::serialize_union_crate_model_form_style_config(&mut object_241, var_240)?; object_241.finish(); @@ -833,6 +902,7 @@ pub fn serialize_structure_crate_model_sectional_element( object.key("type").string(var_242.as_str()); } if let Some(var_243) = &input.position { + #[allow(unused_mut)] let mut object_244 = object.key("position").start_object(); crate::json_ser::serialize_union_crate_model_field_position(&mut object_244, var_243)?; object_244.finish(); @@ -860,16 +930,19 @@ pub fn serialize_structure_crate_model_form_cta( object.key("position").string(var_248.as_str()); } if let Some(var_249) = &input.clear { + #[allow(unused_mut)] let mut object_250 = object.key("clear").start_object(); crate::json_ser::serialize_structure_crate_model_form_button(&mut object_250, var_249)?; object_250.finish(); } if let Some(var_251) = &input.cancel { + #[allow(unused_mut)] let mut object_252 = object.key("cancel").start_object(); crate::json_ser::serialize_structure_crate_model_form_button(&mut object_252, var_251)?; object_252.finish(); } if let Some(var_253) = &input.submit { + #[allow(unused_mut)] let mut object_254 = object.key("submit").start_object(); crate::json_ser::serialize_structure_crate_model_form_button(&mut object_254, var_253)?; object_254.finish(); @@ -885,6 +958,7 @@ pub fn serialize_structure_crate_model_theme_values( object.key("key").string(var_255.as_str()); } if let Some(var_256) = &input.value { + #[allow(unused_mut)] let mut object_257 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_theme_value(&mut object_257, var_256)?; object_257.finish(); @@ -935,6 +1009,7 @@ pub fn serialize_structure_crate_model_component_condition_property( object.key("operand").string(var_265.as_str()); } if let Some(var_266) = &input.then { + #[allow(unused_mut)] let mut object_267 = object.key("then").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_267, @@ -943,6 +1018,7 @@ pub fn serialize_structure_crate_model_component_condition_property( object_267.finish(); } if let Some(var_268) = &input.r#else { + #[allow(unused_mut)] let mut object_269 = object.key("else").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_269, @@ -970,6 +1046,7 @@ pub fn serialize_structure_crate_model_component_binding_properties_value_proper let mut array_274 = object.key("predicates").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_predicate( &mut object_276, @@ -1019,6 +1096,7 @@ pub fn serialize_structure_crate_model_predicate( let mut array_285 = object.key("or").start_array(); for item_286 in var_284 { { + #[allow(unused_mut)] let mut object_287 = array_285.value().start_object(); crate::json_ser::serialize_structure_crate_model_predicate( &mut object_287, @@ -1033,6 +1111,7 @@ pub fn serialize_structure_crate_model_predicate( let mut array_289 = object.key("and").start_array(); for item_290 in var_288 { { + #[allow(unused_mut)] let mut object_291 = array_289.value().start_object(); crate::json_ser::serialize_structure_crate_model_predicate( &mut object_291, @@ -1060,6 +1139,7 @@ pub fn serialize_structure_crate_model_action_parameters( input: &crate::model::ActionParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_295) = &input.r#type { + #[allow(unused_mut)] let mut object_296 = object.key("type").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_296, @@ -1068,6 +1148,7 @@ pub fn serialize_structure_crate_model_action_parameters( object_296.finish(); } if let Some(var_297) = &input.url { + #[allow(unused_mut)] let mut object_298 = object.key("url").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_298, @@ -1076,6 +1157,7 @@ pub fn serialize_structure_crate_model_action_parameters( object_298.finish(); } if let Some(var_299) = &input.anchor { + #[allow(unused_mut)] let mut object_300 = object.key("anchor").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_300, @@ -1084,6 +1166,7 @@ pub fn serialize_structure_crate_model_action_parameters( object_300.finish(); } if let Some(var_301) = &input.target { + #[allow(unused_mut)] let mut object_302 = object.key("target").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_302, @@ -1092,6 +1175,7 @@ pub fn serialize_structure_crate_model_action_parameters( object_302.finish(); } if let Some(var_303) = &input.global { + #[allow(unused_mut)] let mut object_304 = object.key("global").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_304, @@ -1103,6 +1187,7 @@ pub fn serialize_structure_crate_model_action_parameters( object.key("model").string(var_305.as_str()); } if let Some(var_306) = &input.id { + #[allow(unused_mut)] let mut object_307 = object.key("id").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_307, @@ -1111,9 +1196,11 @@ pub fn serialize_structure_crate_model_action_parameters( object_307.finish(); } if let Some(var_308) = &input.fields { + #[allow(unused_mut)] let mut object_309 = object.key("fields").start_object(); for (key_310, value_311) in var_308 { { + #[allow(unused_mut)] let mut object_312 = object_309.key(key_310.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_312, @@ -1125,6 +1212,7 @@ pub fn serialize_structure_crate_model_action_parameters( object_309.finish(); } if let Some(var_313) = &input.state { + #[allow(unused_mut)] let mut object_314 = object.key("state").start_object(); crate::json_ser::serialize_structure_crate_model_mutation_action_set_state_parameter( &mut object_314, @@ -1189,6 +1277,7 @@ pub fn serialize_structure_crate_model_field_input_config( object.key("defaultCountryCode").string(var_322.as_str()); } if let Some(var_323) = &input.value_mappings { + #[allow(unused_mut)] let mut object_324 = object.key("valueMappings").start_object(); crate::json_ser::serialize_structure_crate_model_value_mappings(&mut object_324, var_323)?; object_324.finish(); @@ -1287,6 +1376,7 @@ pub fn serialize_structure_crate_model_form_button( object.key("children").string(var_339.as_str()); } if let Some(var_340) = &input.position { + #[allow(unused_mut)] let mut object_341 = object.key("position").start_object(); crate::json_ser::serialize_union_crate_model_field_position(&mut object_341, var_340)?; object_341.finish(); @@ -1305,6 +1395,7 @@ pub fn serialize_structure_crate_model_theme_value( let mut array_344 = object.key("children").start_array(); for item_345 in var_343 { { + #[allow(unused_mut)] let mut object_346 = array_344.value().start_object(); crate::json_ser::serialize_structure_crate_model_theme_values( &mut object_346, @@ -1329,6 +1420,7 @@ pub fn serialize_structure_crate_model_mutation_action_set_state_parameter( object.key("property").string(var_348.as_str()); } if let Some(var_349) = &input.set { + #[allow(unused_mut)] let mut object_350 = object.key("set").start_object(); crate::json_ser::serialize_structure_crate_model_component_property( &mut object_350, @@ -1347,6 +1439,7 @@ pub fn serialize_structure_crate_model_value_mappings( let mut array_352 = object.key("values").start_array(); for item_353 in var_351 { { + #[allow(unused_mut)] let mut object_354 = array_352.value().start_object(); crate::json_ser::serialize_structure_crate_model_value_mapping( &mut object_354, @@ -1365,6 +1458,7 @@ pub fn serialize_structure_crate_model_value_mapping( input: &crate::model::ValueMapping, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_355) = &input.display_value { + #[allow(unused_mut)] let mut object_356 = object.key("displayValue").start_object(); crate::json_ser::serialize_structure_crate_model_form_input_value_property( &mut object_356, @@ -1373,6 +1467,7 @@ pub fn serialize_structure_crate_model_value_mapping( object_356.finish(); } if let Some(var_357) = &input.value { + #[allow(unused_mut)] let mut object_358 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_form_input_value_property( &mut object_358, diff --git a/sdk/apigateway/src/json_ser.rs b/sdk/apigateway/src/json_ser.rs index c5e7ec38f64a..9ce80a164025 100644 --- a/sdk/apigateway/src/json_ser.rs +++ b/sdk/apigateway/src/json_ser.rs @@ -24,6 +24,7 @@ pub fn serialize_structure_crate_input_create_api_key_input( let mut array_5 = object.key("stageKeys").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_stage_key(&mut object_7, item_6)?; object_7.finish(); @@ -32,6 +33,7 @@ pub fn serialize_structure_crate_input_create_api_key_input( array_5.finish(); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { @@ -118,6 +120,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object.key("cacheClusterSize").string(var_28.as_str()); } if let Some(var_29) = &input.canary_settings { + #[allow(unused_mut)] let mut object_30 = object.key("canarySettings").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_canary_settings( &mut object_30, @@ -138,6 +141,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object.key("tracingEnabled").boolean(*var_34); } if let Some(var_35) = &input.variables { + #[allow(unused_mut)] let mut object_36 = object.key("variables").start_object(); for (key_37, value_38) in var_35 { { @@ -154,6 +158,7 @@ pub fn serialize_structure_crate_input_create_documentation_part_input( input: &crate::input::CreateDocumentationPartInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.location { + #[allow(unused_mut)] let mut object_40 = object.key("location").start_object(); crate::json_ser::serialize_structure_crate_model_documentation_part_location( &mut object_40, @@ -206,6 +211,7 @@ pub fn serialize_structure_crate_input_create_domain_name_input( object.key("domainName").string(var_50.as_str()); } if let Some(var_51) = &input.endpoint_configuration { + #[allow(unused_mut)] let mut object_52 = object.key("endpointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_configuration( &mut object_52, @@ -214,6 +220,7 @@ pub fn serialize_structure_crate_input_create_domain_name_input( object_52.finish(); } if let Some(var_53) = &input.mutual_tls_authentication { + #[allow(unused_mut)] let mut object_54 = object.key("mutualTlsAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_mutual_tls_authentication_input( &mut object_54, @@ -238,6 +245,7 @@ pub fn serialize_structure_crate_input_create_domain_name_input( object.key("securityPolicy").string(var_58.as_str()); } if let Some(var_59) = &input.tags { + #[allow(unused_mut)] let mut object_60 = object.key("tags").start_object(); for (key_61, value_62) in var_59 { { @@ -326,6 +334,7 @@ pub fn serialize_structure_crate_input_create_rest_api_input( .boolean(input.disable_execute_api_endpoint); } if let Some(var_75) = &input.endpoint_configuration { + #[allow(unused_mut)] let mut object_76 = object.key("endpointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_configuration( &mut object_76, @@ -346,6 +355,7 @@ pub fn serialize_structure_crate_input_create_rest_api_input( object.key("policy").string(var_79.as_str()); } if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("tags").start_object(); for (key_82, value_83) in var_80 { { @@ -373,6 +383,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("cacheClusterSize").string(var_85.as_str()); } if let Some(var_86) = &input.canary_settings { + #[allow(unused_mut)] let mut object_87 = object.key("canarySettings").start_object(); crate::json_ser::serialize_structure_crate_model_canary_settings(&mut object_87, var_86)?; object_87.finish(); @@ -390,6 +401,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("stageName").string(var_91.as_str()); } if let Some(var_92) = &input.tags { + #[allow(unused_mut)] let mut object_93 = object.key("tags").start_object(); for (key_94, value_95) in var_92 { { @@ -402,6 +414,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("tracingEnabled").boolean(input.tracing_enabled); } if let Some(var_96) = &input.variables { + #[allow(unused_mut)] let mut object_97 = object.key("variables").start_object(); for (key_98, value_99) in var_96 { { @@ -421,6 +434,7 @@ pub fn serialize_structure_crate_input_create_usage_plan_input( let mut array_101 = object.key("apiStages").start_array(); for item_102 in var_100 { { + #[allow(unused_mut)] let mut object_103 = array_101.value().start_object(); crate::json_ser::serialize_structure_crate_model_api_stage( &mut object_103, @@ -438,11 +452,13 @@ pub fn serialize_structure_crate_input_create_usage_plan_input( object.key("name").string(var_105.as_str()); } if let Some(var_106) = &input.quota { + #[allow(unused_mut)] let mut object_107 = object.key("quota").start_object(); crate::json_ser::serialize_structure_crate_model_quota_settings(&mut object_107, var_106)?; object_107.finish(); } if let Some(var_108) = &input.tags { + #[allow(unused_mut)] let mut object_109 = object.key("tags").start_object(); for (key_110, value_111) in var_108 { { @@ -452,6 +468,7 @@ pub fn serialize_structure_crate_input_create_usage_plan_input( object_109.finish(); } if let Some(var_112) = &input.throttle { + #[allow(unused_mut)] let mut object_113 = object.key("throttle").start_object(); crate::json_ser::serialize_structure_crate_model_throttle_settings( &mut object_113, @@ -486,6 +503,7 @@ pub fn serialize_structure_crate_input_create_vpc_link_input( object.key("name").string(var_117.as_str()); } if let Some(var_118) = &input.tags { + #[allow(unused_mut)] let mut object_119 = object.key("tags").start_object(); for (key_120, value_121) in var_118 { { @@ -514,6 +532,7 @@ pub fn serialize_structure_crate_input_generate_client_certificate_input( object.key("description").string(var_125.as_str()); } if let Some(var_126) = &input.tags { + #[allow(unused_mut)] let mut object_127 = object.key("tags").start_object(); for (key_128, value_129) in var_126 { { @@ -530,6 +549,7 @@ pub fn serialize_structure_crate_input_put_gateway_response_input( input: &crate::input::PutGatewayResponseInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_130) = &input.response_parameters { + #[allow(unused_mut)] let mut object_131 = object.key("responseParameters").start_object(); for (key_132, value_133) in var_130 { { @@ -539,6 +559,7 @@ pub fn serialize_structure_crate_input_put_gateway_response_input( object_131.finish(); } if let Some(var_134) = &input.response_templates { + #[allow(unused_mut)] let mut object_135 = object.key("responseTemplates").start_object(); for (key_136, value_137) in var_134 { { @@ -588,6 +609,7 @@ pub fn serialize_structure_crate_input_put_integration_input( object.key("passthroughBehavior").string(var_148.as_str()); } if let Some(var_149) = &input.request_parameters { + #[allow(unused_mut)] let mut object_150 = object.key("requestParameters").start_object(); for (key_151, value_152) in var_149 { { @@ -597,6 +619,7 @@ pub fn serialize_structure_crate_input_put_integration_input( object_150.finish(); } if let Some(var_153) = &input.request_templates { + #[allow(unused_mut)] let mut object_154 = object.key("requestTemplates").start_object(); for (key_155, value_156) in var_153 { { @@ -612,6 +635,7 @@ pub fn serialize_structure_crate_input_put_integration_input( ); } if let Some(var_158) = &input.tls_config { + #[allow(unused_mut)] let mut object_159 = object.key("tlsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tls_config(&mut object_159, var_158)?; object_159.finish(); @@ -633,6 +657,7 @@ pub fn serialize_structure_crate_input_put_integration_response_input( object.key("contentHandling").string(var_162.as_str()); } if let Some(var_163) = &input.response_parameters { + #[allow(unused_mut)] let mut object_164 = object.key("responseParameters").start_object(); for (key_165, value_166) in var_163 { { @@ -642,6 +667,7 @@ pub fn serialize_structure_crate_input_put_integration_response_input( object_164.finish(); } if let Some(var_167) = &input.response_templates { + #[allow(unused_mut)] let mut object_168 = object.key("responseTemplates").start_object(); for (key_169, value_170) in var_167 { { @@ -682,6 +708,7 @@ pub fn serialize_structure_crate_input_put_method_input( object.key("operationName").string(var_177.as_str()); } if let Some(var_178) = &input.request_models { + #[allow(unused_mut)] let mut object_179 = object.key("requestModels").start_object(); for (key_180, value_181) in var_178 { { @@ -691,6 +718,7 @@ pub fn serialize_structure_crate_input_put_method_input( object_179.finish(); } if let Some(var_182) = &input.request_parameters { + #[allow(unused_mut)] let mut object_183 = object.key("requestParameters").start_object(); for (key_184, value_185) in var_182 { { @@ -710,6 +738,7 @@ pub fn serialize_structure_crate_input_put_method_response_input( input: &crate::input::PutMethodResponseInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_187) = &input.response_models { + #[allow(unused_mut)] let mut object_188 = object.key("responseModels").start_object(); for (key_189, value_190) in var_187 { { @@ -719,6 +748,7 @@ pub fn serialize_structure_crate_input_put_method_response_input( object_188.finish(); } if let Some(var_191) = &input.response_parameters { + #[allow(unused_mut)] let mut object_192 = object.key("responseParameters").start_object(); for (key_193, value_194) in var_191 { { @@ -735,6 +765,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_195) = &input.tags { + #[allow(unused_mut)] let mut object_196 = object.key("tags").start_object(); for (key_197, value_198) in var_195 { { @@ -751,6 +782,7 @@ pub fn serialize_structure_crate_input_test_invoke_authorizer_input( input: &crate::input::TestInvokeAuthorizerInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_199) = &input.additional_context { + #[allow(unused_mut)] let mut object_200 = object.key("additionalContext").start_object(); for (key_201, value_202) in var_199 { { @@ -763,6 +795,7 @@ pub fn serialize_structure_crate_input_test_invoke_authorizer_input( object.key("body").string(var_203.as_str()); } if let Some(var_204) = &input.headers { + #[allow(unused_mut)] let mut object_205 = object.key("headers").start_object(); for (key_206, value_207) in var_204 { { @@ -772,6 +805,7 @@ pub fn serialize_structure_crate_input_test_invoke_authorizer_input( object_205.finish(); } if let Some(var_208) = &input.multi_value_headers { + #[allow(unused_mut)] let mut object_209 = object.key("multiValueHeaders").start_object(); for (key_210, value_211) in var_208 { { @@ -790,6 +824,7 @@ pub fn serialize_structure_crate_input_test_invoke_authorizer_input( object.key("pathWithQueryString").string(var_214.as_str()); } if let Some(var_215) = &input.stage_variables { + #[allow(unused_mut)] let mut object_216 = object.key("stageVariables").start_object(); for (key_217, value_218) in var_215 { { @@ -812,6 +847,7 @@ pub fn serialize_structure_crate_input_test_invoke_method_input( object.key("clientCertificateId").string(var_220.as_str()); } if let Some(var_221) = &input.headers { + #[allow(unused_mut)] let mut object_222 = object.key("headers").start_object(); for (key_223, value_224) in var_221 { { @@ -821,6 +857,7 @@ pub fn serialize_structure_crate_input_test_invoke_method_input( object_222.finish(); } if let Some(var_225) = &input.multi_value_headers { + #[allow(unused_mut)] let mut object_226 = object.key("multiValueHeaders").start_object(); for (key_227, value_228) in var_225 { { @@ -839,6 +876,7 @@ pub fn serialize_structure_crate_input_test_invoke_method_input( object.key("pathWithQueryString").string(var_231.as_str()); } if let Some(var_232) = &input.stage_variables { + #[allow(unused_mut)] let mut object_233 = object.key("stageVariables").start_object(); for (key_234, value_235) in var_232 { { @@ -858,6 +896,7 @@ pub fn serialize_structure_crate_input_update_account_input( let mut array_237 = object.key("patchOperations").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_239, @@ -879,6 +918,7 @@ pub fn serialize_structure_crate_input_update_api_key_input( let mut array_241 = object.key("patchOperations").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_243, @@ -900,6 +940,7 @@ pub fn serialize_structure_crate_input_update_authorizer_input( let mut array_245 = object.key("patchOperations").start_array(); for item_246 in var_244 { { + #[allow(unused_mut)] let mut object_247 = array_245.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_247, @@ -921,6 +962,7 @@ pub fn serialize_structure_crate_input_update_base_path_mapping_input( let mut array_249 = object.key("patchOperations").start_array(); for item_250 in var_248 { { + #[allow(unused_mut)] let mut object_251 = array_249.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_251, @@ -942,6 +984,7 @@ pub fn serialize_structure_crate_input_update_client_certificate_input( let mut array_253 = object.key("patchOperations").start_array(); for item_254 in var_252 { { + #[allow(unused_mut)] let mut object_255 = array_253.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_255, @@ -963,6 +1006,7 @@ pub fn serialize_structure_crate_input_update_deployment_input( let mut array_257 = object.key("patchOperations").start_array(); for item_258 in var_256 { { + #[allow(unused_mut)] let mut object_259 = array_257.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_259, @@ -984,6 +1028,7 @@ pub fn serialize_structure_crate_input_update_documentation_part_input( let mut array_261 = object.key("patchOperations").start_array(); for item_262 in var_260 { { + #[allow(unused_mut)] let mut object_263 = array_261.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_263, @@ -1005,6 +1050,7 @@ pub fn serialize_structure_crate_input_update_documentation_version_input( let mut array_265 = object.key("patchOperations").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_267, @@ -1026,6 +1072,7 @@ pub fn serialize_structure_crate_input_update_domain_name_input( let mut array_269 = object.key("patchOperations").start_array(); for item_270 in var_268 { { + #[allow(unused_mut)] let mut object_271 = array_269.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_271, @@ -1047,6 +1094,7 @@ pub fn serialize_structure_crate_input_update_gateway_response_input( let mut array_273 = object.key("patchOperations").start_array(); for item_274 in var_272 { { + #[allow(unused_mut)] let mut object_275 = array_273.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_275, @@ -1068,6 +1116,7 @@ pub fn serialize_structure_crate_input_update_integration_input( let mut array_277 = object.key("patchOperations").start_array(); for item_278 in var_276 { { + #[allow(unused_mut)] let mut object_279 = array_277.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_279, @@ -1089,6 +1138,7 @@ pub fn serialize_structure_crate_input_update_integration_response_input( let mut array_281 = object.key("patchOperations").start_array(); for item_282 in var_280 { { + #[allow(unused_mut)] let mut object_283 = array_281.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_283, @@ -1110,6 +1160,7 @@ pub fn serialize_structure_crate_input_update_method_input( let mut array_285 = object.key("patchOperations").start_array(); for item_286 in var_284 { { + #[allow(unused_mut)] let mut object_287 = array_285.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_287, @@ -1131,6 +1182,7 @@ pub fn serialize_structure_crate_input_update_method_response_input( let mut array_289 = object.key("patchOperations").start_array(); for item_290 in var_288 { { + #[allow(unused_mut)] let mut object_291 = array_289.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_291, @@ -1152,6 +1204,7 @@ pub fn serialize_structure_crate_input_update_model_input( let mut array_293 = object.key("patchOperations").start_array(); for item_294 in var_292 { { + #[allow(unused_mut)] let mut object_295 = array_293.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_295, @@ -1173,6 +1226,7 @@ pub fn serialize_structure_crate_input_update_request_validator_input( let mut array_297 = object.key("patchOperations").start_array(); for item_298 in var_296 { { + #[allow(unused_mut)] let mut object_299 = array_297.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_299, @@ -1194,6 +1248,7 @@ pub fn serialize_structure_crate_input_update_resource_input( let mut array_301 = object.key("patchOperations").start_array(); for item_302 in var_300 { { + #[allow(unused_mut)] let mut object_303 = array_301.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_303, @@ -1215,6 +1270,7 @@ pub fn serialize_structure_crate_input_update_rest_api_input( let mut array_305 = object.key("patchOperations").start_array(); for item_306 in var_304 { { + #[allow(unused_mut)] let mut object_307 = array_305.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_307, @@ -1236,6 +1292,7 @@ pub fn serialize_structure_crate_input_update_stage_input( let mut array_309 = object.key("patchOperations").start_array(); for item_310 in var_308 { { + #[allow(unused_mut)] let mut object_311 = array_309.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_311, @@ -1257,6 +1314,7 @@ pub fn serialize_structure_crate_input_update_usage_input( let mut array_313 = object.key("patchOperations").start_array(); for item_314 in var_312 { { + #[allow(unused_mut)] let mut object_315 = array_313.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_315, @@ -1278,6 +1336,7 @@ pub fn serialize_structure_crate_input_update_usage_plan_input( let mut array_317 = object.key("patchOperations").start_array(); for item_318 in var_316 { { + #[allow(unused_mut)] let mut object_319 = array_317.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_319, @@ -1299,6 +1358,7 @@ pub fn serialize_structure_crate_input_update_vpc_link_input( let mut array_321 = object.key("patchOperations").start_array(); for item_322 in var_320 { { + #[allow(unused_mut)] let mut object_323 = array_321.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_operation( &mut object_323, @@ -1336,6 +1396,7 @@ pub fn serialize_structure_crate_model_deployment_canary_settings( ); } if let Some(var_326) = &input.stage_variable_overrides { + #[allow(unused_mut)] let mut object_327 = object.key("stageVariableOverrides").start_object(); for (key_328, value_329) in var_326 { { @@ -1424,6 +1485,7 @@ pub fn serialize_structure_crate_model_canary_settings( object.key("deploymentId").string(var_343.as_str()); } if let Some(var_344) = &input.stage_variable_overrides { + #[allow(unused_mut)] let mut object_345 = object.key("stageVariableOverrides").start_object(); for (key_346, value_347) in var_344 { { @@ -1449,9 +1511,11 @@ pub fn serialize_structure_crate_model_api_stage( object.key("stage").string(var_349.as_str()); } if let Some(var_350) = &input.throttle { + #[allow(unused_mut)] let mut object_351 = object.key("throttle").start_object(); for (key_352, value_353) in var_350 { { + #[allow(unused_mut)] let mut object_354 = object_351.key(key_352.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_throttle_settings( &mut object_354, diff --git a/sdk/apigatewayv2/src/json_ser.rs b/sdk/apigatewayv2/src/json_ser.rs index a1c969e0ee5c..6849a5c47b42 100644 --- a/sdk/apigatewayv2/src/json_ser.rs +++ b/sdk/apigatewayv2/src/json_ser.rs @@ -9,6 +9,7 @@ pub fn serialize_structure_crate_input_create_api_input( .string(var_1.as_str()); } if let Some(var_2) = &input.cors_configuration { + #[allow(unused_mut)] let mut object_3 = object.key("corsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_cors(&mut object_3, var_2)?; object_3.finish(); @@ -44,6 +45,7 @@ pub fn serialize_structure_crate_input_create_api_input( .string(var_9.as_str()); } if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("tags").start_object(); for (key_12, value_13) in var_10 { { @@ -123,6 +125,7 @@ pub fn serialize_structure_crate_input_create_authorizer_input( .string(var_26.as_str()); } if let Some(var_27) = &input.jwt_configuration { + #[allow(unused_mut)] let mut object_28 = object.key("jwtConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_jwt_configuration(&mut object_28, var_27)?; object_28.finish(); @@ -157,6 +160,7 @@ pub fn serialize_structure_crate_input_create_domain_name_input( let mut array_34 = object.key("domainNameConfigurations").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_domain_name_configuration( &mut object_36, @@ -168,6 +172,7 @@ pub fn serialize_structure_crate_input_create_domain_name_input( array_34.finish(); } if let Some(var_37) = &input.mutual_tls_authentication { + #[allow(unused_mut)] let mut object_38 = object.key("mutualTlsAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_mutual_tls_authentication_input( &mut object_38, @@ -176,6 +181,7 @@ pub fn serialize_structure_crate_input_create_domain_name_input( object_38.finish(); } if let Some(var_39) = &input.tags { + #[allow(unused_mut)] let mut object_40 = object.key("tags").start_object(); for (key_41, value_42) in var_39 { { @@ -227,6 +233,7 @@ pub fn serialize_structure_crate_input_create_integration_input( object.key("payloadFormatVersion").string(var_53.as_str()); } if let Some(var_54) = &input.request_parameters { + #[allow(unused_mut)] let mut object_55 = object.key("requestParameters").start_object(); for (key_56, value_57) in var_54 { { @@ -236,6 +243,7 @@ pub fn serialize_structure_crate_input_create_integration_input( object_55.finish(); } if let Some(var_58) = &input.request_templates { + #[allow(unused_mut)] let mut object_59 = object.key("requestTemplates").start_object(); for (key_60, value_61) in var_58 { { @@ -245,9 +253,11 @@ pub fn serialize_structure_crate_input_create_integration_input( object_59.finish(); } if let Some(var_62) = &input.response_parameters { + #[allow(unused_mut)] let mut object_63 = object.key("responseParameters").start_object(); for (key_64, value_65) in var_62 { { + #[allow(unused_mut)] let mut object_66 = object_63.key(key_64.as_str()).start_object(); for (key_67, value_68) in value_65 { { @@ -271,6 +281,7 @@ pub fn serialize_structure_crate_input_create_integration_input( ); } if let Some(var_70) = &input.tls_config { + #[allow(unused_mut)] let mut object_71 = object.key("tlsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tls_config_input(&mut object_71, var_70)?; object_71.finish(); @@ -291,6 +302,7 @@ pub fn serialize_structure_crate_input_create_integration_response_input( object.key("integrationResponseKey").string(var_73.as_str()); } if let Some(var_74) = &input.response_parameters { + #[allow(unused_mut)] let mut object_75 = object.key("responseParameters").start_object(); for (key_76, value_77) in var_74 { { @@ -300,6 +312,7 @@ pub fn serialize_structure_crate_input_create_integration_response_input( object_75.finish(); } if let Some(var_78) = &input.response_templates { + #[allow(unused_mut)] let mut object_79 = object.key("responseTemplates").start_object(); for (key_80, value_81) in var_78 { { @@ -366,6 +379,7 @@ pub fn serialize_structure_crate_input_create_route_input( object.key("operationName").string(var_93.as_str()); } if let Some(var_94) = &input.request_models { + #[allow(unused_mut)] let mut object_95 = object.key("requestModels").start_object(); for (key_96, value_97) in var_94 { { @@ -375,9 +389,11 @@ pub fn serialize_structure_crate_input_create_route_input( object_95.finish(); } if let Some(var_98) = &input.request_parameters { + #[allow(unused_mut)] let mut object_99 = object.key("requestParameters").start_object(); for (key_100, value_101) in var_98 { { + #[allow(unused_mut)] let mut object_102 = object_99.key(key_100.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_parameter_constraints( &mut object_102, @@ -412,6 +428,7 @@ pub fn serialize_structure_crate_input_create_route_response_input( .string(var_106.as_str()); } if let Some(var_107) = &input.response_models { + #[allow(unused_mut)] let mut object_108 = object.key("responseModels").start_object(); for (key_109, value_110) in var_107 { { @@ -421,9 +438,11 @@ pub fn serialize_structure_crate_input_create_route_response_input( object_108.finish(); } if let Some(var_111) = &input.response_parameters { + #[allow(unused_mut)] let mut object_112 = object.key("responseParameters").start_object(); for (key_113, value_114) in var_111 { { + #[allow(unused_mut)] let mut object_115 = object_112.key(key_113.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_parameter_constraints( &mut object_115, @@ -445,6 +464,7 @@ pub fn serialize_structure_crate_input_create_stage_input( input: &crate::input::CreateStageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_117) = &input.access_log_settings { + #[allow(unused_mut)] let mut object_118 = object.key("accessLogSettings").start_object(); crate::json_ser::serialize_structure_crate_model_access_log_settings( &mut object_118, @@ -459,6 +479,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("clientCertificateId").string(var_119.as_str()); } if let Some(var_120) = &input.default_route_settings { + #[allow(unused_mut)] let mut object_121 = object.key("defaultRouteSettings").start_object(); crate::json_ser::serialize_structure_crate_model_route_settings(&mut object_121, var_120)?; object_121.finish(); @@ -470,9 +491,11 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("description").string(var_123.as_str()); } if let Some(var_124) = &input.route_settings { + #[allow(unused_mut)] let mut object_125 = object.key("routeSettings").start_object(); for (key_126, value_127) in var_124 { { + #[allow(unused_mut)] let mut object_128 = object_125.key(key_126.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_route_settings( &mut object_128, @@ -487,6 +510,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("stageName").string(var_129.as_str()); } if let Some(var_130) = &input.stage_variables { + #[allow(unused_mut)] let mut object_131 = object.key("stageVariables").start_object(); for (key_132, value_133) in var_130 { { @@ -496,6 +520,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object_131.finish(); } if let Some(var_134) = &input.tags { + #[allow(unused_mut)] let mut object_135 = object.key("tags").start_object(); for (key_136, value_137) in var_134 { { @@ -533,6 +558,7 @@ pub fn serialize_structure_crate_input_create_vpc_link_input( array_143.finish(); } if let Some(var_145) = &input.tags { + #[allow(unused_mut)] let mut object_146 = object.key("tags").start_object(); for (key_147, value_148) in var_145 { { @@ -569,6 +595,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_151) = &input.tags { + #[allow(unused_mut)] let mut object_152 = object.key("tags").start_object(); for (key_153, value_154) in var_151 { { @@ -590,6 +617,7 @@ pub fn serialize_structure_crate_input_update_api_input( .string(var_155.as_str()); } if let Some(var_156) = &input.cors_configuration { + #[allow(unused_mut)] let mut object_157 = object.key("corsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_cors(&mut object_157, var_156)?; object_157.finish(); @@ -692,6 +720,7 @@ pub fn serialize_structure_crate_input_update_authorizer_input( .string(var_175.as_str()); } if let Some(var_176) = &input.jwt_configuration { + #[allow(unused_mut)] let mut object_177 = object.key("jwtConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_jwt_configuration( &mut object_177, @@ -723,6 +752,7 @@ pub fn serialize_structure_crate_input_update_domain_name_input( let mut array_181 = object.key("domainNameConfigurations").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_domain_name_configuration( &mut object_183, @@ -734,6 +764,7 @@ pub fn serialize_structure_crate_input_update_domain_name_input( array_181.finish(); } if let Some(var_184) = &input.mutual_tls_authentication { + #[allow(unused_mut)] let mut object_185 = object.key("mutualTlsAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_mutual_tls_authentication_input( &mut object_185, @@ -784,6 +815,7 @@ pub fn serialize_structure_crate_input_update_integration_input( object.key("payloadFormatVersion").string(var_196.as_str()); } if let Some(var_197) = &input.request_parameters { + #[allow(unused_mut)] let mut object_198 = object.key("requestParameters").start_object(); for (key_199, value_200) in var_197 { { @@ -793,6 +825,7 @@ pub fn serialize_structure_crate_input_update_integration_input( object_198.finish(); } if let Some(var_201) = &input.request_templates { + #[allow(unused_mut)] let mut object_202 = object.key("requestTemplates").start_object(); for (key_203, value_204) in var_201 { { @@ -802,9 +835,11 @@ pub fn serialize_structure_crate_input_update_integration_input( object_202.finish(); } if let Some(var_205) = &input.response_parameters { + #[allow(unused_mut)] let mut object_206 = object.key("responseParameters").start_object(); for (key_207, value_208) in var_205 { { + #[allow(unused_mut)] let mut object_209 = object_206.key(key_207.as_str()).start_object(); for (key_210, value_211) in value_208 { { @@ -828,6 +863,7 @@ pub fn serialize_structure_crate_input_update_integration_input( ); } if let Some(var_213) = &input.tls_config { + #[allow(unused_mut)] let mut object_214 = object.key("tlsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tls_config_input( &mut object_214, @@ -853,6 +889,7 @@ pub fn serialize_structure_crate_input_update_integration_response_input( .string(var_216.as_str()); } if let Some(var_217) = &input.response_parameters { + #[allow(unused_mut)] let mut object_218 = object.key("responseParameters").start_object(); for (key_219, value_220) in var_217 { { @@ -862,6 +899,7 @@ pub fn serialize_structure_crate_input_update_integration_response_input( object_218.finish(); } if let Some(var_221) = &input.response_templates { + #[allow(unused_mut)] let mut object_222 = object.key("responseTemplates").start_object(); for (key_223, value_224) in var_221 { { @@ -928,6 +966,7 @@ pub fn serialize_structure_crate_input_update_route_input( object.key("operationName").string(var_236.as_str()); } if let Some(var_237) = &input.request_models { + #[allow(unused_mut)] let mut object_238 = object.key("requestModels").start_object(); for (key_239, value_240) in var_237 { { @@ -937,9 +976,11 @@ pub fn serialize_structure_crate_input_update_route_input( object_238.finish(); } if let Some(var_241) = &input.request_parameters { + #[allow(unused_mut)] let mut object_242 = object.key("requestParameters").start_object(); for (key_243, value_244) in var_241 { { + #[allow(unused_mut)] let mut object_245 = object_242.key(key_243.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_parameter_constraints( &mut object_245, @@ -974,6 +1015,7 @@ pub fn serialize_structure_crate_input_update_route_response_input( .string(var_249.as_str()); } if let Some(var_250) = &input.response_models { + #[allow(unused_mut)] let mut object_251 = object.key("responseModels").start_object(); for (key_252, value_253) in var_250 { { @@ -983,9 +1025,11 @@ pub fn serialize_structure_crate_input_update_route_response_input( object_251.finish(); } if let Some(var_254) = &input.response_parameters { + #[allow(unused_mut)] let mut object_255 = object.key("responseParameters").start_object(); for (key_256, value_257) in var_254 { { + #[allow(unused_mut)] let mut object_258 = object_255.key(key_256.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_parameter_constraints( &mut object_258, @@ -1007,6 +1051,7 @@ pub fn serialize_structure_crate_input_update_stage_input( input: &crate::input::UpdateStageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_260) = &input.access_log_settings { + #[allow(unused_mut)] let mut object_261 = object.key("accessLogSettings").start_object(); crate::json_ser::serialize_structure_crate_model_access_log_settings( &mut object_261, @@ -1021,6 +1066,7 @@ pub fn serialize_structure_crate_input_update_stage_input( object.key("clientCertificateId").string(var_262.as_str()); } if let Some(var_263) = &input.default_route_settings { + #[allow(unused_mut)] let mut object_264 = object.key("defaultRouteSettings").start_object(); crate::json_ser::serialize_structure_crate_model_route_settings(&mut object_264, var_263)?; object_264.finish(); @@ -1032,9 +1078,11 @@ pub fn serialize_structure_crate_input_update_stage_input( object.key("description").string(var_266.as_str()); } if let Some(var_267) = &input.route_settings { + #[allow(unused_mut)] let mut object_268 = object.key("routeSettings").start_object(); for (key_269, value_270) in var_267 { { + #[allow(unused_mut)] let mut object_271 = object_268.key(key_269.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_route_settings( &mut object_271, @@ -1046,6 +1094,7 @@ pub fn serialize_structure_crate_input_update_stage_input( object_268.finish(); } if let Some(var_272) = &input.stage_variables { + #[allow(unused_mut)] let mut object_273 = object.key("stageVariables").start_object(); for (key_274, value_275) in var_272 { { diff --git a/sdk/appconfig/src/json_ser.rs b/sdk/appconfig/src/json_ser.rs index 1a6e52ce6720..3459664f6833 100644 --- a/sdk/appconfig/src/json_ser.rs +++ b/sdk/appconfig/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("Name").string(var_2.as_str()); } if let Some(var_3) = &input.tags { + #[allow(unused_mut)] let mut object_4 = object.key("Tags").start_object(); for (key_5, value_6) in var_3 { { @@ -38,6 +39,7 @@ pub fn serialize_structure_crate_input_create_configuration_profile_input( object.key("RetrievalRoleArn").string(var_10.as_str()); } if let Some(var_11) = &input.tags { + #[allow(unused_mut)] let mut object_12 = object.key("Tags").start_object(); for (key_13, value_14) in var_11 { { @@ -53,6 +55,7 @@ pub fn serialize_structure_crate_input_create_configuration_profile_input( let mut array_17 = object.key("Validators").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_validator( &mut object_19, @@ -101,6 +104,7 @@ pub fn serialize_structure_crate_input_create_deployment_strategy_input( object.key("ReplicateTo").string(var_25.as_str()); } if let Some(var_26) = &input.tags { + #[allow(unused_mut)] let mut object_27 = object.key("Tags").start_object(); for (key_28, value_29) in var_26 { { @@ -123,6 +127,7 @@ pub fn serialize_structure_crate_input_create_environment_input( let mut array_32 = object.key("Monitors").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_monitor(&mut object_34, item_33)?; object_34.finish(); @@ -134,6 +139,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("Name").string(var_35.as_str()); } if let Some(var_36) = &input.tags { + #[allow(unused_mut)] let mut object_37 = object.key("Tags").start_object(); for (key_38, value_39) in var_36 { { @@ -150,12 +156,14 @@ pub fn serialize_structure_crate_input_create_extension_input( input: &crate::input::CreateExtensionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_40) = &input.actions { + #[allow(unused_mut)] let mut object_41 = object.key("Actions").start_object(); for (key_42, value_43) in var_40 { { let mut array_44 = object_41.key(key_42.as_str()).start_array(); for item_45 in value_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_action( &mut object_46, @@ -176,9 +184,11 @@ pub fn serialize_structure_crate_input_create_extension_input( object.key("Name").string(var_48.as_str()); } if let Some(var_49) = &input.parameters { + #[allow(unused_mut)] let mut object_50 = object.key("Parameters").start_object(); for (key_51, value_52) in var_49 { { + #[allow(unused_mut)] let mut object_53 = object_50.key(key_51.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_parameter( &mut object_53, @@ -190,6 +200,7 @@ pub fn serialize_structure_crate_input_create_extension_input( object_50.finish(); } if let Some(var_54) = &input.tags { + #[allow(unused_mut)] let mut object_55 = object.key("Tags").start_object(); for (key_56, value_57) in var_54 { { @@ -215,6 +226,7 @@ pub fn serialize_structure_crate_input_create_extension_association_input( ); } if let Some(var_60) = &input.parameters { + #[allow(unused_mut)] let mut object_61 = object.key("Parameters").start_object(); for (key_62, value_63) in var_60 { { @@ -227,6 +239,7 @@ pub fn serialize_structure_crate_input_create_extension_association_input( object.key("ResourceIdentifier").string(var_64.as_str()); } if let Some(var_65) = &input.tags { + #[allow(unused_mut)] let mut object_66 = object.key("Tags").start_object(); for (key_67, value_68) in var_65 { { @@ -255,6 +268,7 @@ pub fn serialize_structure_crate_input_start_deployment_input( object.key("Description").string(var_72.as_str()); } if let Some(var_73) = &input.tags { + #[allow(unused_mut)] let mut object_74 = object.key("Tags").start_object(); for (key_75, value_76) in var_73 { { @@ -271,6 +285,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.tags { + #[allow(unused_mut)] let mut object_78 = object.key("Tags").start_object(); for (key_79, value_80) in var_77 { { @@ -312,6 +327,7 @@ pub fn serialize_structure_crate_input_update_configuration_profile_input( let mut array_87 = object.key("Validators").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_validator( &mut object_89, @@ -367,6 +383,7 @@ pub fn serialize_structure_crate_input_update_environment_input( let mut array_97 = object.key("Monitors").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_monitor(&mut object_99, item_98)?; object_99.finish(); @@ -385,12 +402,14 @@ pub fn serialize_structure_crate_input_update_extension_input( input: &crate::input::UpdateExtensionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_101) = &input.actions { + #[allow(unused_mut)] let mut object_102 = object.key("Actions").start_object(); for (key_103, value_104) in var_101 { { let mut array_105 = object_102.key(key_103.as_str()).start_array(); for item_106 in value_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_action( &mut object_107, @@ -408,9 +427,11 @@ pub fn serialize_structure_crate_input_update_extension_input( object.key("Description").string(var_108.as_str()); } if let Some(var_109) = &input.parameters { + #[allow(unused_mut)] let mut object_110 = object.key("Parameters").start_object(); for (key_111, value_112) in var_109 { { + #[allow(unused_mut)] let mut object_113 = object_110.key(key_111.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_parameter( &mut object_113, @@ -435,6 +456,7 @@ pub fn serialize_structure_crate_input_update_extension_association_input( input: &crate::input::UpdateExtensionAssociationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_115) = &input.parameters { + #[allow(unused_mut)] let mut object_116 = object.key("Parameters").start_object(); for (key_117, value_118) in var_115 { { diff --git a/sdk/appflow/src/json_ser.rs b/sdk/appflow/src/json_ser.rs index 4263711d9f9c..dc6bf60009ba 100644 --- a/sdk/appflow/src/json_ser.rs +++ b/sdk/appflow/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_connector_profile_input( object.key("connectorLabel").string(var_2.as_str()); } if let Some(var_3) = &input.connector_profile_config { + #[allow(unused_mut)] let mut object_4 = object.key("connectorProfileConfig").start_object(); crate::json_ser::serialize_structure_crate_model_connector_profile_config( &mut object_4, @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_10 = object.key("destinationFlowConfigList").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_destination_flow_config( &mut object_12, @@ -57,6 +59,7 @@ pub fn serialize_structure_crate_input_create_flow_input( object.key("kmsArn").string(var_14.as_str()); } if let Some(var_15) = &input.source_flow_config { + #[allow(unused_mut)] let mut object_16 = object.key("sourceFlowConfig").start_object(); crate::json_ser::serialize_structure_crate_model_source_flow_config( &mut object_16, @@ -65,6 +68,7 @@ pub fn serialize_structure_crate_input_create_flow_input( object_16.finish(); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -77,6 +81,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_22 = object.key("tasks").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_task(&mut object_24, item_23)?; object_24.finish(); @@ -85,6 +90,7 @@ pub fn serialize_structure_crate_input_create_flow_input( array_22.finish(); } if let Some(var_25) = &input.trigger_config { + #[allow(unused_mut)] let mut object_26 = object.key("triggerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_config(&mut object_26, var_25)?; object_26.finish(); @@ -294,6 +300,7 @@ pub fn serialize_structure_crate_input_register_connector_input( object.key("connectorLabel").string(var_59.as_str()); } if let Some(var_60) = &input.connector_provisioning_config { + #[allow(unused_mut)] let mut object_61 = object.key("connectorProvisioningConfig").start_object(); crate::json_ser::serialize_structure_crate_model_connector_provisioning_config( &mut object_61, @@ -337,6 +344,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.tags { + #[allow(unused_mut)] let mut object_67 = object.key("tags").start_object(); for (key_68, value_69) in var_66 { { @@ -369,6 +377,7 @@ pub fn serialize_structure_crate_input_update_connector_profile_input( object.key("connectionMode").string(var_71.as_str()); } if let Some(var_72) = &input.connector_profile_config { + #[allow(unused_mut)] let mut object_73 = object.key("connectorProfileConfig").start_object(); crate::json_ser::serialize_structure_crate_model_connector_profile_config( &mut object_73, @@ -393,6 +402,7 @@ pub fn serialize_structure_crate_input_update_flow_input( let mut array_77 = object.key("destinationFlowConfigList").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_destination_flow_config( &mut object_79, @@ -407,6 +417,7 @@ pub fn serialize_structure_crate_input_update_flow_input( object.key("flowName").string(var_80.as_str()); } if let Some(var_81) = &input.source_flow_config { + #[allow(unused_mut)] let mut object_82 = object.key("sourceFlowConfig").start_object(); crate::json_ser::serialize_structure_crate_model_source_flow_config( &mut object_82, @@ -418,6 +429,7 @@ pub fn serialize_structure_crate_input_update_flow_input( let mut array_84 = object.key("tasks").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_task(&mut object_86, item_85)?; object_86.finish(); @@ -426,6 +438,7 @@ pub fn serialize_structure_crate_input_update_flow_input( array_84.finish(); } if let Some(var_87) = &input.trigger_config { + #[allow(unused_mut)] let mut object_88 = object.key("triggerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_config(&mut object_88, var_87)?; object_88.finish(); @@ -438,6 +451,7 @@ pub fn serialize_structure_crate_model_connector_profile_config( input: &crate::model::ConnectorProfileConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_89) = &input.connector_profile_properties { + #[allow(unused_mut)] let mut object_90 = object.key("connectorProfileProperties").start_object(); crate::json_ser::serialize_structure_crate_model_connector_profile_properties( &mut object_90, @@ -446,6 +460,7 @@ pub fn serialize_structure_crate_model_connector_profile_config( object_90.finish(); } if let Some(var_91) = &input.connector_profile_credentials { + #[allow(unused_mut)] let mut object_92 = object.key("connectorProfileCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_connector_profile_credentials( &mut object_92, @@ -470,6 +485,7 @@ pub fn serialize_structure_crate_model_destination_flow_config( object.key("connectorProfileName").string(var_95.as_str()); } if let Some(var_96) = &input.destination_connector_properties { + #[allow(unused_mut)] let mut object_97 = object.key("destinationConnectorProperties").start_object(); crate::json_ser::serialize_structure_crate_model_destination_connector_properties( &mut object_97, @@ -494,6 +510,7 @@ pub fn serialize_structure_crate_model_source_flow_config( object.key("connectorProfileName").string(var_100.as_str()); } if let Some(var_101) = &input.source_connector_properties { + #[allow(unused_mut)] let mut object_102 = object.key("sourceConnectorProperties").start_object(); crate::json_ser::serialize_structure_crate_model_source_connector_properties( &mut object_102, @@ -502,6 +519,7 @@ pub fn serialize_structure_crate_model_source_flow_config( object_102.finish(); } if let Some(var_103) = &input.incremental_pull_config { + #[allow(unused_mut)] let mut object_104 = object.key("incrementalPullConfig").start_object(); crate::json_ser::serialize_structure_crate_model_incremental_pull_config( &mut object_104, @@ -526,6 +544,7 @@ pub fn serialize_structure_crate_model_task( array_106.finish(); } if let Some(var_108) = &input.connector_operator { + #[allow(unused_mut)] let mut object_109 = object.key("connectorOperator").start_object(); crate::json_ser::serialize_structure_crate_model_connector_operator( &mut object_109, @@ -540,6 +559,7 @@ pub fn serialize_structure_crate_model_task( object.key("taskType").string(var_111.as_str()); } if let Some(var_112) = &input.task_properties { + #[allow(unused_mut)] let mut object_113 = object.key("taskProperties").start_object(); for (key_114, value_115) in var_112 { { @@ -559,6 +579,7 @@ pub fn serialize_structure_crate_model_trigger_config( object.key("triggerType").string(var_116.as_str()); } if let Some(var_117) = &input.trigger_properties { + #[allow(unused_mut)] let mut object_118 = object.key("triggerProperties").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_properties( &mut object_118, @@ -574,6 +595,7 @@ pub fn serialize_structure_crate_model_connector_provisioning_config( input: &crate::model::ConnectorProvisioningConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_119) = &input.lambda { + #[allow(unused_mut)] let mut object_120 = object.key("lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_connector_provisioning_config( &mut object_120, @@ -589,6 +611,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( input: &crate::model::ConnectorProfileProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_121) = &input.amplitude { + #[allow(unused_mut)] let mut object_122 = object.key("Amplitude").start_object(); crate::json_ser::serialize_structure_crate_model_amplitude_connector_profile_properties( &mut object_122, @@ -597,6 +620,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_122.finish(); } if let Some(var_123) = &input.datadog { + #[allow(unused_mut)] let mut object_124 = object.key("Datadog").start_object(); crate::json_ser::serialize_structure_crate_model_datadog_connector_profile_properties( &mut object_124, @@ -605,6 +629,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_124.finish(); } if let Some(var_125) = &input.dynatrace { + #[allow(unused_mut)] let mut object_126 = object.key("Dynatrace").start_object(); crate::json_ser::serialize_structure_crate_model_dynatrace_connector_profile_properties( &mut object_126, @@ -613,11 +638,13 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_126.finish(); } if let Some(var_127) = &input.google_analytics { + #[allow(unused_mut)] let mut object_128 = object.key("GoogleAnalytics").start_object(); crate::json_ser::serialize_structure_crate_model_google_analytics_connector_profile_properties(&mut object_128, var_127)?; object_128.finish(); } if let Some(var_129) = &input.honeycode { + #[allow(unused_mut)] let mut object_130 = object.key("Honeycode").start_object(); crate::json_ser::serialize_structure_crate_model_honeycode_connector_profile_properties( &mut object_130, @@ -626,6 +653,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_130.finish(); } if let Some(var_131) = &input.infor_nexus { + #[allow(unused_mut)] let mut object_132 = object.key("InforNexus").start_object(); crate::json_ser::serialize_structure_crate_model_infor_nexus_connector_profile_properties( &mut object_132, @@ -634,6 +662,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_132.finish(); } if let Some(var_133) = &input.marketo { + #[allow(unused_mut)] let mut object_134 = object.key("Marketo").start_object(); crate::json_ser::serialize_structure_crate_model_marketo_connector_profile_properties( &mut object_134, @@ -642,6 +671,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_134.finish(); } if let Some(var_135) = &input.redshift { + #[allow(unused_mut)] let mut object_136 = object.key("Redshift").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_connector_profile_properties( &mut object_136, @@ -650,6 +680,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_136.finish(); } if let Some(var_137) = &input.salesforce { + #[allow(unused_mut)] let mut object_138 = object.key("Salesforce").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_connector_profile_properties( &mut object_138, @@ -658,6 +689,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_138.finish(); } if let Some(var_139) = &input.service_now { + #[allow(unused_mut)] let mut object_140 = object.key("ServiceNow").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_connector_profile_properties( &mut object_140, @@ -666,6 +698,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_140.finish(); } if let Some(var_141) = &input.singular { + #[allow(unused_mut)] let mut object_142 = object.key("Singular").start_object(); crate::json_ser::serialize_structure_crate_model_singular_connector_profile_properties( &mut object_142, @@ -674,6 +707,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_142.finish(); } if let Some(var_143) = &input.slack { + #[allow(unused_mut)] let mut object_144 = object.key("Slack").start_object(); crate::json_ser::serialize_structure_crate_model_slack_connector_profile_properties( &mut object_144, @@ -682,6 +716,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_144.finish(); } if let Some(var_145) = &input.snowflake { + #[allow(unused_mut)] let mut object_146 = object.key("Snowflake").start_object(); crate::json_ser::serialize_structure_crate_model_snowflake_connector_profile_properties( &mut object_146, @@ -690,6 +725,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_146.finish(); } if let Some(var_147) = &input.trendmicro { + #[allow(unused_mut)] let mut object_148 = object.key("Trendmicro").start_object(); crate::json_ser::serialize_structure_crate_model_trendmicro_connector_profile_properties( &mut object_148, @@ -698,6 +734,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_148.finish(); } if let Some(var_149) = &input.veeva { + #[allow(unused_mut)] let mut object_150 = object.key("Veeva").start_object(); crate::json_ser::serialize_structure_crate_model_veeva_connector_profile_properties( &mut object_150, @@ -706,6 +743,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_150.finish(); } if let Some(var_151) = &input.zendesk { + #[allow(unused_mut)] let mut object_152 = object.key("Zendesk").start_object(); crate::json_ser::serialize_structure_crate_model_zendesk_connector_profile_properties( &mut object_152, @@ -714,6 +752,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_152.finish(); } if let Some(var_153) = &input.sapo_data { + #[allow(unused_mut)] let mut object_154 = object.key("SAPOData").start_object(); crate::json_ser::serialize_structure_crate_model_sapo_data_connector_profile_properties( &mut object_154, @@ -722,6 +761,7 @@ pub fn serialize_structure_crate_model_connector_profile_properties( object_154.finish(); } if let Some(var_155) = &input.custom_connector { + #[allow(unused_mut)] let mut object_156 = object.key("CustomConnector").start_object(); crate::json_ser::serialize_structure_crate_model_custom_connector_profile_properties( &mut object_156, @@ -737,6 +777,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( input: &crate::model::ConnectorProfileCredentials, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_157) = &input.amplitude { + #[allow(unused_mut)] let mut object_158 = object.key("Amplitude").start_object(); crate::json_ser::serialize_structure_crate_model_amplitude_connector_profile_credentials( &mut object_158, @@ -745,6 +786,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_158.finish(); } if let Some(var_159) = &input.datadog { + #[allow(unused_mut)] let mut object_160 = object.key("Datadog").start_object(); crate::json_ser::serialize_structure_crate_model_datadog_connector_profile_credentials( &mut object_160, @@ -753,6 +795,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_160.finish(); } if let Some(var_161) = &input.dynatrace { + #[allow(unused_mut)] let mut object_162 = object.key("Dynatrace").start_object(); crate::json_ser::serialize_structure_crate_model_dynatrace_connector_profile_credentials( &mut object_162, @@ -761,11 +804,13 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_162.finish(); } if let Some(var_163) = &input.google_analytics { + #[allow(unused_mut)] let mut object_164 = object.key("GoogleAnalytics").start_object(); crate::json_ser::serialize_structure_crate_model_google_analytics_connector_profile_credentials(&mut object_164, var_163)?; object_164.finish(); } if let Some(var_165) = &input.honeycode { + #[allow(unused_mut)] let mut object_166 = object.key("Honeycode").start_object(); crate::json_ser::serialize_structure_crate_model_honeycode_connector_profile_credentials( &mut object_166, @@ -774,6 +819,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_166.finish(); } if let Some(var_167) = &input.infor_nexus { + #[allow(unused_mut)] let mut object_168 = object.key("InforNexus").start_object(); crate::json_ser::serialize_structure_crate_model_infor_nexus_connector_profile_credentials( &mut object_168, @@ -782,6 +828,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_168.finish(); } if let Some(var_169) = &input.marketo { + #[allow(unused_mut)] let mut object_170 = object.key("Marketo").start_object(); crate::json_ser::serialize_structure_crate_model_marketo_connector_profile_credentials( &mut object_170, @@ -790,6 +837,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_170.finish(); } if let Some(var_171) = &input.redshift { + #[allow(unused_mut)] let mut object_172 = object.key("Redshift").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_connector_profile_credentials( &mut object_172, @@ -798,6 +846,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_172.finish(); } if let Some(var_173) = &input.salesforce { + #[allow(unused_mut)] let mut object_174 = object.key("Salesforce").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_connector_profile_credentials( &mut object_174, @@ -806,6 +855,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_174.finish(); } if let Some(var_175) = &input.service_now { + #[allow(unused_mut)] let mut object_176 = object.key("ServiceNow").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_connector_profile_credentials( &mut object_176, @@ -814,6 +864,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_176.finish(); } if let Some(var_177) = &input.singular { + #[allow(unused_mut)] let mut object_178 = object.key("Singular").start_object(); crate::json_ser::serialize_structure_crate_model_singular_connector_profile_credentials( &mut object_178, @@ -822,6 +873,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_178.finish(); } if let Some(var_179) = &input.slack { + #[allow(unused_mut)] let mut object_180 = object.key("Slack").start_object(); crate::json_ser::serialize_structure_crate_model_slack_connector_profile_credentials( &mut object_180, @@ -830,6 +882,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_180.finish(); } if let Some(var_181) = &input.snowflake { + #[allow(unused_mut)] let mut object_182 = object.key("Snowflake").start_object(); crate::json_ser::serialize_structure_crate_model_snowflake_connector_profile_credentials( &mut object_182, @@ -838,6 +891,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_182.finish(); } if let Some(var_183) = &input.trendmicro { + #[allow(unused_mut)] let mut object_184 = object.key("Trendmicro").start_object(); crate::json_ser::serialize_structure_crate_model_trendmicro_connector_profile_credentials( &mut object_184, @@ -846,6 +900,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_184.finish(); } if let Some(var_185) = &input.veeva { + #[allow(unused_mut)] let mut object_186 = object.key("Veeva").start_object(); crate::json_ser::serialize_structure_crate_model_veeva_connector_profile_credentials( &mut object_186, @@ -854,6 +909,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_186.finish(); } if let Some(var_187) = &input.zendesk { + #[allow(unused_mut)] let mut object_188 = object.key("Zendesk").start_object(); crate::json_ser::serialize_structure_crate_model_zendesk_connector_profile_credentials( &mut object_188, @@ -862,6 +918,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_188.finish(); } if let Some(var_189) = &input.sapo_data { + #[allow(unused_mut)] let mut object_190 = object.key("SAPOData").start_object(); crate::json_ser::serialize_structure_crate_model_sapo_data_connector_profile_credentials( &mut object_190, @@ -870,6 +927,7 @@ pub fn serialize_structure_crate_model_connector_profile_credentials( object_190.finish(); } if let Some(var_191) = &input.custom_connector { + #[allow(unused_mut)] let mut object_192 = object.key("CustomConnector").start_object(); crate::json_ser::serialize_structure_crate_model_custom_connector_profile_credentials( &mut object_192, @@ -885,6 +943,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( input: &crate::model::DestinationConnectorProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_193) = &input.redshift { + #[allow(unused_mut)] let mut object_194 = object.key("Redshift").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_destination_properties( &mut object_194, @@ -893,6 +952,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_194.finish(); } if let Some(var_195) = &input.s3 { + #[allow(unused_mut)] let mut object_196 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_properties( &mut object_196, @@ -901,6 +961,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_196.finish(); } if let Some(var_197) = &input.salesforce { + #[allow(unused_mut)] let mut object_198 = object.key("Salesforce").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_destination_properties( &mut object_198, @@ -909,6 +970,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_198.finish(); } if let Some(var_199) = &input.snowflake { + #[allow(unused_mut)] let mut object_200 = object.key("Snowflake").start_object(); crate::json_ser::serialize_structure_crate_model_snowflake_destination_properties( &mut object_200, @@ -917,6 +979,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_200.finish(); } if let Some(var_201) = &input.event_bridge { + #[allow(unused_mut)] let mut object_202 = object.key("EventBridge").start_object(); crate::json_ser::serialize_structure_crate_model_event_bridge_destination_properties( &mut object_202, @@ -925,6 +988,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_202.finish(); } if let Some(var_203) = &input.lookout_metrics { + #[allow(unused_mut)] let mut object_204 = object.key("LookoutMetrics").start_object(); crate::json_ser::serialize_structure_crate_model_lookout_metrics_destination_properties( &mut object_204, @@ -933,6 +997,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_204.finish(); } if let Some(var_205) = &input.upsolver { + #[allow(unused_mut)] let mut object_206 = object.key("Upsolver").start_object(); crate::json_ser::serialize_structure_crate_model_upsolver_destination_properties( &mut object_206, @@ -941,6 +1006,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_206.finish(); } if let Some(var_207) = &input.honeycode { + #[allow(unused_mut)] let mut object_208 = object.key("Honeycode").start_object(); crate::json_ser::serialize_structure_crate_model_honeycode_destination_properties( &mut object_208, @@ -949,6 +1015,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_208.finish(); } if let Some(var_209) = &input.customer_profiles { + #[allow(unused_mut)] let mut object_210 = object.key("CustomerProfiles").start_object(); crate::json_ser::serialize_structure_crate_model_customer_profiles_destination_properties( &mut object_210, @@ -957,6 +1024,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_210.finish(); } if let Some(var_211) = &input.zendesk { + #[allow(unused_mut)] let mut object_212 = object.key("Zendesk").start_object(); crate::json_ser::serialize_structure_crate_model_zendesk_destination_properties( &mut object_212, @@ -965,6 +1033,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_212.finish(); } if let Some(var_213) = &input.marketo { + #[allow(unused_mut)] let mut object_214 = object.key("Marketo").start_object(); crate::json_ser::serialize_structure_crate_model_marketo_destination_properties( &mut object_214, @@ -973,6 +1042,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_214.finish(); } if let Some(var_215) = &input.custom_connector { + #[allow(unused_mut)] let mut object_216 = object.key("CustomConnector").start_object(); crate::json_ser::serialize_structure_crate_model_custom_connector_destination_properties( &mut object_216, @@ -981,6 +1051,7 @@ pub fn serialize_structure_crate_model_destination_connector_properties( object_216.finish(); } if let Some(var_217) = &input.sapo_data { + #[allow(unused_mut)] let mut object_218 = object.key("SAPOData").start_object(); crate::json_ser::serialize_structure_crate_model_sapo_data_destination_properties( &mut object_218, @@ -996,6 +1067,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( input: &crate::model::SourceConnectorProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_219) = &input.amplitude { + #[allow(unused_mut)] let mut object_220 = object.key("Amplitude").start_object(); crate::json_ser::serialize_structure_crate_model_amplitude_source_properties( &mut object_220, @@ -1004,6 +1076,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_220.finish(); } if let Some(var_221) = &input.datadog { + #[allow(unused_mut)] let mut object_222 = object.key("Datadog").start_object(); crate::json_ser::serialize_structure_crate_model_datadog_source_properties( &mut object_222, @@ -1012,6 +1085,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_222.finish(); } if let Some(var_223) = &input.dynatrace { + #[allow(unused_mut)] let mut object_224 = object.key("Dynatrace").start_object(); crate::json_ser::serialize_structure_crate_model_dynatrace_source_properties( &mut object_224, @@ -1020,6 +1094,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_224.finish(); } if let Some(var_225) = &input.google_analytics { + #[allow(unused_mut)] let mut object_226 = object.key("GoogleAnalytics").start_object(); crate::json_ser::serialize_structure_crate_model_google_analytics_source_properties( &mut object_226, @@ -1028,6 +1103,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_226.finish(); } if let Some(var_227) = &input.infor_nexus { + #[allow(unused_mut)] let mut object_228 = object.key("InforNexus").start_object(); crate::json_ser::serialize_structure_crate_model_infor_nexus_source_properties( &mut object_228, @@ -1036,6 +1112,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_228.finish(); } if let Some(var_229) = &input.marketo { + #[allow(unused_mut)] let mut object_230 = object.key("Marketo").start_object(); crate::json_ser::serialize_structure_crate_model_marketo_source_properties( &mut object_230, @@ -1044,6 +1121,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_230.finish(); } if let Some(var_231) = &input.s3 { + #[allow(unused_mut)] let mut object_232 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source_properties( &mut object_232, @@ -1052,6 +1130,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_232.finish(); } if let Some(var_233) = &input.salesforce { + #[allow(unused_mut)] let mut object_234 = object.key("Salesforce").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_source_properties( &mut object_234, @@ -1060,6 +1139,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_234.finish(); } if let Some(var_235) = &input.service_now { + #[allow(unused_mut)] let mut object_236 = object.key("ServiceNow").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_source_properties( &mut object_236, @@ -1068,6 +1148,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_236.finish(); } if let Some(var_237) = &input.singular { + #[allow(unused_mut)] let mut object_238 = object.key("Singular").start_object(); crate::json_ser::serialize_structure_crate_model_singular_source_properties( &mut object_238, @@ -1076,6 +1157,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_238.finish(); } if let Some(var_239) = &input.slack { + #[allow(unused_mut)] let mut object_240 = object.key("Slack").start_object(); crate::json_ser::serialize_structure_crate_model_slack_source_properties( &mut object_240, @@ -1084,6 +1166,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_240.finish(); } if let Some(var_241) = &input.trendmicro { + #[allow(unused_mut)] let mut object_242 = object.key("Trendmicro").start_object(); crate::json_ser::serialize_structure_crate_model_trendmicro_source_properties( &mut object_242, @@ -1092,6 +1175,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_242.finish(); } if let Some(var_243) = &input.veeva { + #[allow(unused_mut)] let mut object_244 = object.key("Veeva").start_object(); crate::json_ser::serialize_structure_crate_model_veeva_source_properties( &mut object_244, @@ -1100,6 +1184,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_244.finish(); } if let Some(var_245) = &input.zendesk { + #[allow(unused_mut)] let mut object_246 = object.key("Zendesk").start_object(); crate::json_ser::serialize_structure_crate_model_zendesk_source_properties( &mut object_246, @@ -1108,6 +1193,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_246.finish(); } if let Some(var_247) = &input.sapo_data { + #[allow(unused_mut)] let mut object_248 = object.key("SAPOData").start_object(); crate::json_ser::serialize_structure_crate_model_sapo_data_source_properties( &mut object_248, @@ -1116,6 +1202,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_248.finish(); } if let Some(var_249) = &input.custom_connector { + #[allow(unused_mut)] let mut object_250 = object.key("CustomConnector").start_object(); crate::json_ser::serialize_structure_crate_model_custom_connector_source_properties( &mut object_250, @@ -1196,6 +1283,7 @@ pub fn serialize_structure_crate_model_trigger_properties( input: &crate::model::TriggerProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_268) = &input.scheduled { + #[allow(unused_mut)] let mut object_269 = object.key("Scheduled").start_object(); crate::json_ser::serialize_structure_crate_model_scheduled_trigger_properties( &mut object_269, @@ -1430,6 +1518,7 @@ pub fn serialize_structure_crate_model_sapo_data_connector_profile_properties( .string(var_296.as_str()); } if let Some(var_297) = &input.o_auth_properties { + #[allow(unused_mut)] let mut object_298 = object.key("oAuthProperties").start_object(); crate::json_ser::serialize_structure_crate_model_o_auth_properties( &mut object_298, @@ -1445,6 +1534,7 @@ pub fn serialize_structure_crate_model_custom_connector_profile_properties( input: &crate::model::CustomConnectorProfileProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_299) = &input.profile_properties { + #[allow(unused_mut)] let mut object_300 = object.key("profileProperties").start_object(); for (key_301, value_302) in var_299 { { @@ -1454,6 +1544,7 @@ pub fn serialize_structure_crate_model_custom_connector_profile_properties( object_300.finish(); } if let Some(var_303) = &input.o_auth2_properties { + #[allow(unused_mut)] let mut object_304 = object.key("oAuth2Properties").start_object(); crate::json_ser::serialize_structure_crate_model_o_auth2_properties( &mut object_304, @@ -1517,6 +1608,7 @@ pub fn serialize_structure_crate_model_google_analytics_connector_profile_creden object.key("refreshToken").string(var_313.as_str()); } if let Some(var_314) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_315 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_315, @@ -1538,6 +1630,7 @@ pub fn serialize_structure_crate_model_honeycode_connector_profile_credentials( object.key("refreshToken").string(var_317.as_str()); } if let Some(var_318) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_319 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_319, @@ -1581,6 +1674,7 @@ pub fn serialize_structure_crate_model_marketo_connector_profile_credentials( object.key("accessToken").string(var_326.as_str()); } if let Some(var_327) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_328 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_328, @@ -1615,6 +1709,7 @@ pub fn serialize_structure_crate_model_salesforce_connector_profile_credentials( object.key("refreshToken").string(var_332.as_str()); } if let Some(var_333) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_334 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_334, @@ -1665,6 +1760,7 @@ pub fn serialize_structure_crate_model_slack_connector_profile_credentials( object.key("accessToken").string(var_341.as_str()); } if let Some(var_342) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_343 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_343, @@ -1725,6 +1821,7 @@ pub fn serialize_structure_crate_model_zendesk_connector_profile_credentials( object.key("accessToken").string(var_351.as_str()); } if let Some(var_352) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_353 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_353, @@ -1740,6 +1837,7 @@ pub fn serialize_structure_crate_model_sapo_data_connector_profile_credentials( input: &crate::model::SapoDataConnectorProfileCredentials, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_354) = &input.basic_auth_credentials { + #[allow(unused_mut)] let mut object_355 = object.key("basicAuthCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_basic_auth_credentials( &mut object_355, @@ -1748,6 +1846,7 @@ pub fn serialize_structure_crate_model_sapo_data_connector_profile_credentials( object_355.finish(); } if let Some(var_356) = &input.o_auth_credentials { + #[allow(unused_mut)] let mut object_357 = object.key("oAuthCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_o_auth_credentials( &mut object_357, @@ -1766,6 +1865,7 @@ pub fn serialize_structure_crate_model_custom_connector_profile_credentials( object.key("authenticationType").string(var_358.as_str()); } if let Some(var_359) = &input.basic { + #[allow(unused_mut)] let mut object_360 = object.key("basic").start_object(); crate::json_ser::serialize_structure_crate_model_basic_auth_credentials( &mut object_360, @@ -1774,6 +1874,7 @@ pub fn serialize_structure_crate_model_custom_connector_profile_credentials( object_360.finish(); } if let Some(var_361) = &input.oauth2 { + #[allow(unused_mut)] let mut object_362 = object.key("oauth2").start_object(); crate::json_ser::serialize_structure_crate_model_o_auth2_credentials( &mut object_362, @@ -1782,6 +1883,7 @@ pub fn serialize_structure_crate_model_custom_connector_profile_credentials( object_362.finish(); } if let Some(var_363) = &input.api_key { + #[allow(unused_mut)] let mut object_364 = object.key("apiKey").start_object(); crate::json_ser::serialize_structure_crate_model_api_key_credentials( &mut object_364, @@ -1790,6 +1892,7 @@ pub fn serialize_structure_crate_model_custom_connector_profile_credentials( object_364.finish(); } if let Some(var_365) = &input.custom { + #[allow(unused_mut)] let mut object_366 = object.key("custom").start_object(); crate::json_ser::serialize_structure_crate_model_custom_auth_credentials( &mut object_366, @@ -1816,6 +1919,7 @@ pub fn serialize_structure_crate_model_redshift_destination_properties( object.key("bucketPrefix").string(var_369.as_str()); } if let Some(var_370) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_371 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_371, @@ -1837,6 +1941,7 @@ pub fn serialize_structure_crate_model_s3_destination_properties( object.key("bucketPrefix").string(var_373.as_str()); } if let Some(var_374) = &input.s3_output_format_config { + #[allow(unused_mut)] let mut object_375 = object.key("s3OutputFormatConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_output_format_config( &mut object_375, @@ -1864,6 +1969,7 @@ pub fn serialize_structure_crate_model_salesforce_destination_properties( array_378.finish(); } if let Some(var_380) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_381 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_381, @@ -1893,6 +1999,7 @@ pub fn serialize_structure_crate_model_snowflake_destination_properties( object.key("bucketPrefix").string(var_385.as_str()); } if let Some(var_386) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_387 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_387, @@ -1911,6 +2018,7 @@ pub fn serialize_structure_crate_model_event_bridge_destination_properties( object.key("object").string(var_388.as_str()); } if let Some(var_389) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_390 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_390, @@ -1940,6 +2048,7 @@ pub fn serialize_structure_crate_model_upsolver_destination_properties( object.key("bucketPrefix").string(var_392.as_str()); } if let Some(var_393) = &input.s3_output_format_config { + #[allow(unused_mut)] let mut object_394 = object.key("s3OutputFormatConfig").start_object(); crate::json_ser::serialize_structure_crate_model_upsolver_s3_output_format_config( &mut object_394, @@ -1958,6 +2067,7 @@ pub fn serialize_structure_crate_model_honeycode_destination_properties( object.key("object").string(var_395.as_str()); } if let Some(var_396) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_397 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_397, @@ -1998,6 +2108,7 @@ pub fn serialize_structure_crate_model_zendesk_destination_properties( array_402.finish(); } if let Some(var_404) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_405 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_405, @@ -2019,6 +2130,7 @@ pub fn serialize_structure_crate_model_marketo_destination_properties( object.key("object").string(var_407.as_str()); } if let Some(var_408) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_409 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_409, @@ -2037,6 +2149,7 @@ pub fn serialize_structure_crate_model_custom_connector_destination_properties( object.key("entityName").string(var_410.as_str()); } if let Some(var_411) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_412 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_412, @@ -2057,6 +2170,7 @@ pub fn serialize_structure_crate_model_custom_connector_destination_properties( array_415.finish(); } if let Some(var_417) = &input.custom_properties { + #[allow(unused_mut)] let mut object_418 = object.key("customProperties").start_object(); for (key_419, value_420) in var_417 { { @@ -2076,6 +2190,7 @@ pub fn serialize_structure_crate_model_sapo_data_destination_properties( object.key("objectPath").string(var_421.as_str()); } if let Some(var_422) = &input.success_response_handling_config { + #[allow(unused_mut)] let mut object_423 = object.key("successResponseHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_success_response_handling_config( &mut object_423, @@ -2093,6 +2208,7 @@ pub fn serialize_structure_crate_model_sapo_data_destination_properties( array_425.finish(); } if let Some(var_427) = &input.error_handling_config { + #[allow(unused_mut)] let mut object_428 = object.key("errorHandlingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_error_handling_config( &mut object_428, @@ -2177,6 +2293,7 @@ pub fn serialize_structure_crate_model_s3_source_properties( object.key("bucketPrefix").string(var_437.as_str()); } if let Some(var_438) = &input.s3_input_format_config { + #[allow(unused_mut)] let mut object_439 = object.key("s3InputFormatConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_input_format_config( &mut object_439, @@ -2303,6 +2420,7 @@ pub fn serialize_structure_crate_model_custom_connector_source_properties( object.key("entityName").string(var_449.as_str()); } if let Some(var_450) = &input.custom_properties { + #[allow(unused_mut)] let mut object_451 = object.key("customProperties").start_object(); for (key_452, value_453) in var_450 { { @@ -2390,6 +2508,7 @@ pub fn serialize_structure_crate_model_o_auth2_properties( object.key("oAuth2GrantType").string(var_468.as_str()); } if let Some(var_469) = &input.token_url_custom_properties { + #[allow(unused_mut)] let mut object_470 = object.key("tokenUrlCustomProperties").start_object(); for (key_471, value_472) in var_469 { { @@ -2444,6 +2563,7 @@ pub fn serialize_structure_crate_model_o_auth_credentials( object.key("refreshToken").string(var_480.as_str()); } if let Some(var_481) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_482 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_482, @@ -2471,6 +2591,7 @@ pub fn serialize_structure_crate_model_o_auth2_credentials( object.key("refreshToken").string(var_486.as_str()); } if let Some(var_487) = &input.o_auth_request { + #[allow(unused_mut)] let mut object_488 = object.key("oAuthRequest").start_object(); crate::json_ser::serialize_structure_crate_model_connector_o_auth_request( &mut object_488, @@ -2504,6 +2625,7 @@ pub fn serialize_structure_crate_model_custom_auth_credentials( .string(var_491.as_str()); } if let Some(var_492) = &input.credentials_map { + #[allow(unused_mut)] let mut object_493 = object.key("credentialsMap").start_object(); for (key_494, value_495) in var_492 { { @@ -2541,11 +2663,13 @@ pub fn serialize_structure_crate_model_s3_output_format_config( object.key("fileType").string(var_498.as_str()); } if let Some(var_499) = &input.prefix_config { + #[allow(unused_mut)] let mut object_500 = object.key("prefixConfig").start_object(); crate::json_ser::serialize_structure_crate_model_prefix_config(&mut object_500, var_499)?; object_500.finish(); } if let Some(var_501) = &input.aggregation_config { + #[allow(unused_mut)] let mut object_502 = object.key("aggregationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aggregation_config( &mut object_502, @@ -2567,11 +2691,13 @@ pub fn serialize_structure_crate_model_upsolver_s3_output_format_config( object.key("fileType").string(var_504.as_str()); } if let Some(var_505) = &input.prefix_config { + #[allow(unused_mut)] let mut object_506 = object.key("prefixConfig").start_object(); crate::json_ser::serialize_structure_crate_model_prefix_config(&mut object_506, var_505)?; object_506.finish(); } if let Some(var_507) = &input.aggregation_config { + #[allow(unused_mut)] let mut object_508 = object.key("aggregationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aggregation_config( &mut object_508, diff --git a/sdk/appintegrations/src/json_ser.rs b/sdk/appintegrations/src/json_ser.rs index ca7c6f0a1ddf..786c8016e4ce 100644 --- a/sdk/appintegrations/src/json_ser.rs +++ b/sdk/appintegrations/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_data_integration_input( object.key("Name").string(var_4.as_str()); } if let Some(var_5) = &input.schedule_config { + #[allow(unused_mut)] let mut object_6 = object.key("ScheduleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_configuration( &mut object_6, @@ -27,6 +28,7 @@ pub fn serialize_structure_crate_input_create_data_integration_input( object.key("SourceURI").string(var_7.as_str()); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("Tags").start_object(); for (key_10, value_11) in var_8 { { @@ -52,6 +54,7 @@ pub fn serialize_structure_crate_input_create_event_integration_input( object.key("EventBridgeBus").string(var_14.as_str()); } if let Some(var_15) = &input.event_filter { + #[allow(unused_mut)] let mut object_16 = object.key("EventFilter").start_object(); crate::json_ser::serialize_structure_crate_model_event_filter(&mut object_16, var_15)?; object_16.finish(); @@ -60,6 +63,7 @@ pub fn serialize_structure_crate_input_create_event_integration_input( object.key("Name").string(var_17.as_str()); } if let Some(var_18) = &input.tags { + #[allow(unused_mut)] let mut object_19 = object.key("Tags").start_object(); for (key_20, value_21) in var_18 { { @@ -76,6 +80,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("tags").start_object(); for (key_24, value_25) in var_22 { { diff --git a/sdk/applicationautoscaling/src/json_ser.rs b/sdk/applicationautoscaling/src/json_ser.rs index a1ee61b3b31b..3a856632a066 100644 --- a/sdk/applicationautoscaling/src/json_ser.rs +++ b/sdk/applicationautoscaling/src/json_ser.rs @@ -197,6 +197,7 @@ pub fn serialize_structure_crate_input_put_scaling_policy_input( object.key("PolicyType").string(var_44.as_str()); } if let Some(var_45) = &input.step_scaling_policy_configuration { + #[allow(unused_mut)] let mut object_46 = object.key("StepScalingPolicyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_step_scaling_policy_configuration( &mut object_46, @@ -205,6 +206,7 @@ pub fn serialize_structure_crate_input_put_scaling_policy_input( object_46.finish(); } if let Some(var_47) = &input.target_tracking_scaling_policy_configuration { + #[allow(unused_mut)] let mut object_48 = object .key("TargetTrackingScalingPolicyConfiguration") .start_object(); @@ -247,6 +249,7 @@ pub fn serialize_structure_crate_input_put_scheduled_action_input( .date_time(var_56, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_57) = &input.scalable_target_action { + #[allow(unused_mut)] let mut object_58 = object.key("ScalableTargetAction").start_object(); crate::json_ser::serialize_structure_crate_model_scalable_target_action( &mut object_58, @@ -286,6 +289,7 @@ pub fn serialize_structure_crate_input_register_scalable_target_input( object.key("RoleARN").string(var_64.as_str()); } if let Some(var_65) = &input.suspended_state { + #[allow(unused_mut)] let mut object_66 = object.key("SuspendedState").start_object(); crate::json_ser::serialize_structure_crate_model_suspended_state(&mut object_66, var_65)?; object_66.finish(); @@ -304,6 +308,7 @@ pub fn serialize_structure_crate_model_step_scaling_policy_configuration( let mut array_69 = object.key("StepAdjustments").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_step_adjustment( &mut object_71, @@ -343,6 +348,7 @@ pub fn serialize_structure_crate_model_target_tracking_scaling_policy_configurat ); } if let Some(var_76) = &input.predefined_metric_specification { + #[allow(unused_mut)] let mut object_77 = object.key("PredefinedMetricSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_predefined_metric_specification( &mut object_77, @@ -351,6 +357,7 @@ pub fn serialize_structure_crate_model_target_tracking_scaling_policy_configurat object_77.finish(); } if let Some(var_78) = &input.customized_metric_specification { + #[allow(unused_mut)] let mut object_79 = object.key("CustomizedMetricSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_customized_metric_specification( &mut object_79, @@ -463,6 +470,7 @@ pub fn serialize_structure_crate_model_customized_metric_specification( let mut array_96 = object.key("Dimensions").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_98, diff --git a/sdk/applicationcostprofiler/src/json_ser.rs b/sdk/applicationcostprofiler/src/json_ser.rs index 69fe995e8774..5981b22211c3 100644 --- a/sdk/applicationcostprofiler/src/json_ser.rs +++ b/sdk/applicationcostprofiler/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_import_application_usage_input( input: &crate::input::ImportApplicationUsageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.source_s3_location { + #[allow(unused_mut)] let mut object_2 = object.key("sourceS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_source_s3_location(&mut object_2, var_1)?; object_2.finish(); @@ -16,6 +17,7 @@ pub fn serialize_structure_crate_input_put_report_definition_input( input: &crate::input::PutReportDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3) = &input.destination_s3_location { + #[allow(unused_mut)] let mut object_4 = object.key("destinationS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_4, var_3)?; object_4.finish(); @@ -40,6 +42,7 @@ pub fn serialize_structure_crate_input_update_report_definition_input( input: &crate::input::UpdateReportDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_9) = &input.destination_s3_location { + #[allow(unused_mut)] let mut object_10 = object.key("destinationS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_10, var_9)?; object_10.finish(); diff --git a/sdk/applicationdiscovery/src/json_ser.rs b/sdk/applicationdiscovery/src/json_ser.rs index dbd7d2e151b1..e1ed52d9db2a 100644 --- a/sdk/applicationdiscovery/src/json_ser.rs +++ b/sdk/applicationdiscovery/src/json_ser.rs @@ -66,6 +66,7 @@ pub fn serialize_structure_crate_input_create_tags_input( let mut array_14 = object.key("tags").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_16, item_15)?; object_16.finish(); @@ -109,6 +110,7 @@ pub fn serialize_structure_crate_input_delete_tags_input( let mut array_24 = object.key("tags").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_26, item_25)?; object_26.finish(); @@ -136,6 +138,7 @@ pub fn serialize_structure_crate_input_describe_agents_input( let mut array_31 = object.key("filters").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_33, item_32)?; object_33.finish(); @@ -238,6 +241,7 @@ pub fn serialize_structure_crate_input_describe_export_tasks_input( let mut array_51 = object.key("filters").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_export_filter( &mut object_53, @@ -268,6 +272,7 @@ pub fn serialize_structure_crate_input_describe_import_tasks_input( let mut array_56 = object.key("filters").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_import_task_filter( &mut object_58, @@ -298,6 +303,7 @@ pub fn serialize_structure_crate_input_describe_tags_input( let mut array_62 = object.key("filters").start_array(); for item_63 in var_61 { { + #[allow(unused_mut)] let mut object_64 = array_62.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_64, @@ -352,6 +358,7 @@ pub fn serialize_structure_crate_input_list_configurations_input( let mut array_72 = object.key("filters").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_74, item_73)?; object_74.finish(); @@ -372,6 +379,7 @@ pub fn serialize_structure_crate_input_list_configurations_input( let mut array_77 = object.key("orderBy").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_order_by_element( &mut object_79, @@ -451,6 +459,7 @@ pub fn serialize_structure_crate_input_start_export_task_input( let mut array_92 = object.key("filters").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_export_filter( &mut object_94, diff --git a/sdk/applicationinsights/src/json_ser.rs b/sdk/applicationinsights/src/json_ser.rs index 3456f546f0b1..57ed92fde531 100644 --- a/sdk/applicationinsights/src/json_ser.rs +++ b/sdk/applicationinsights/src/json_ser.rs @@ -19,6 +19,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_6 = object.key("Tags").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_8, item_7)?; object_8.finish(); @@ -383,6 +384,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_68 = object.key("Tags").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_70, item_69)?; object_70.finish(); diff --git a/sdk/appmesh/src/json_ser.rs b/sdk/appmesh/src/json_ser.rs index 56b0f76f48b9..6609066ce7b5 100644 --- a/sdk/appmesh/src/json_ser.rs +++ b/sdk/appmesh/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_gateway_route_input( object.key("gatewayRouteName").string(var_2.as_str()); } if let Some(var_3) = &input.spec { + #[allow(unused_mut)] let mut object_4 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_spec(&mut object_4, var_3)?; object_4.finish(); @@ -18,6 +19,7 @@ pub fn serialize_structure_crate_input_create_gateway_route_input( let mut array_6 = object.key("tags").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_8, item_7)?; object_8.finish(); @@ -39,6 +41,7 @@ pub fn serialize_structure_crate_input_create_mesh_input( object.key("meshName").string(var_10.as_str()); } if let Some(var_11) = &input.spec { + #[allow(unused_mut)] let mut object_12 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_mesh_spec(&mut object_12, var_11)?; object_12.finish(); @@ -47,6 +50,7 @@ pub fn serialize_structure_crate_input_create_mesh_input( let mut array_14 = object.key("tags").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_16, item_15)?; object_16.finish(); @@ -68,6 +72,7 @@ pub fn serialize_structure_crate_input_create_route_input( object.key("routeName").string(var_18.as_str()); } if let Some(var_19) = &input.spec { + #[allow(unused_mut)] let mut object_20 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_route_spec(&mut object_20, var_19)?; object_20.finish(); @@ -76,6 +81,7 @@ pub fn serialize_structure_crate_input_create_route_input( let mut array_22 = object.key("tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_24, item_23)?; object_24.finish(); @@ -94,6 +100,7 @@ pub fn serialize_structure_crate_input_create_virtual_gateway_input( object.key("clientToken").string(var_25.as_str()); } if let Some(var_26) = &input.spec { + #[allow(unused_mut)] let mut object_27 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_spec( &mut object_27, @@ -105,6 +112,7 @@ pub fn serialize_structure_crate_input_create_virtual_gateway_input( let mut array_29 = object.key("tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_31, item_30)?; object_31.finish(); @@ -126,6 +134,7 @@ pub fn serialize_structure_crate_input_create_virtual_node_input( object.key("clientToken").string(var_33.as_str()); } if let Some(var_34) = &input.spec { + #[allow(unused_mut)] let mut object_35 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_spec(&mut object_35, var_34)?; object_35.finish(); @@ -134,6 +143,7 @@ pub fn serialize_structure_crate_input_create_virtual_node_input( let mut array_37 = object.key("tags").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_39, item_38)?; object_39.finish(); @@ -155,6 +165,7 @@ pub fn serialize_structure_crate_input_create_virtual_router_input( object.key("clientToken").string(var_41.as_str()); } if let Some(var_42) = &input.spec { + #[allow(unused_mut)] let mut object_43 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_router_spec( &mut object_43, @@ -166,6 +177,7 @@ pub fn serialize_structure_crate_input_create_virtual_router_input( let mut array_45 = object.key("tags").start_array(); for item_46 in var_44 { { + #[allow(unused_mut)] let mut object_47 = array_45.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_47, item_46)?; object_47.finish(); @@ -187,6 +199,7 @@ pub fn serialize_structure_crate_input_create_virtual_service_input( object.key("clientToken").string(var_49.as_str()); } if let Some(var_50) = &input.spec { + #[allow(unused_mut)] let mut object_51 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_service_spec( &mut object_51, @@ -198,6 +211,7 @@ pub fn serialize_structure_crate_input_create_virtual_service_input( let mut array_53 = object.key("tags").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_55, item_54)?; object_55.finish(); @@ -219,6 +233,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_58 = object.key("tags").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_ref(&mut object_60, item_59)?; object_60.finish(); @@ -253,6 +268,7 @@ pub fn serialize_structure_crate_input_update_gateway_route_input( object.key("clientToken").string(var_64.as_str()); } if let Some(var_65) = &input.spec { + #[allow(unused_mut)] let mut object_66 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_spec( &mut object_66, @@ -271,6 +287,7 @@ pub fn serialize_structure_crate_input_update_mesh_input( object.key("clientToken").string(var_67.as_str()); } if let Some(var_68) = &input.spec { + #[allow(unused_mut)] let mut object_69 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_mesh_spec(&mut object_69, var_68)?; object_69.finish(); @@ -286,6 +303,7 @@ pub fn serialize_structure_crate_input_update_route_input( object.key("clientToken").string(var_70.as_str()); } if let Some(var_71) = &input.spec { + #[allow(unused_mut)] let mut object_72 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_route_spec(&mut object_72, var_71)?; object_72.finish(); @@ -301,6 +319,7 @@ pub fn serialize_structure_crate_input_update_virtual_gateway_input( object.key("clientToken").string(var_73.as_str()); } if let Some(var_74) = &input.spec { + #[allow(unused_mut)] let mut object_75 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_spec( &mut object_75, @@ -319,6 +338,7 @@ pub fn serialize_structure_crate_input_update_virtual_node_input( object.key("clientToken").string(var_76.as_str()); } if let Some(var_77) = &input.spec { + #[allow(unused_mut)] let mut object_78 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_spec(&mut object_78, var_77)?; object_78.finish(); @@ -334,6 +354,7 @@ pub fn serialize_structure_crate_input_update_virtual_router_input( object.key("clientToken").string(var_79.as_str()); } if let Some(var_80) = &input.spec { + #[allow(unused_mut)] let mut object_81 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_router_spec( &mut object_81, @@ -352,6 +373,7 @@ pub fn serialize_structure_crate_input_update_virtual_service_input( object.key("clientToken").string(var_82.as_str()); } if let Some(var_83) = &input.spec { + #[allow(unused_mut)] let mut object_84 = object.key("spec").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_service_spec( &mut object_84, @@ -373,6 +395,7 @@ pub fn serialize_structure_crate_model_gateway_route_spec( ); } if let Some(var_86) = &input.http_route { + #[allow(unused_mut)] let mut object_87 = object.key("httpRoute").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route( &mut object_87, @@ -381,6 +404,7 @@ pub fn serialize_structure_crate_model_gateway_route_spec( object_87.finish(); } if let Some(var_88) = &input.http2_route { + #[allow(unused_mut)] let mut object_89 = object.key("http2Route").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route( &mut object_89, @@ -389,6 +413,7 @@ pub fn serialize_structure_crate_model_gateway_route_spec( object_89.finish(); } if let Some(var_90) = &input.grpc_route { + #[allow(unused_mut)] let mut object_91 = object.key("grpcRoute").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_gateway_route( &mut object_91, @@ -417,11 +442,13 @@ pub fn serialize_structure_crate_model_mesh_spec( input: &crate::model::MeshSpec, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_94) = &input.egress_filter { + #[allow(unused_mut)] let mut object_95 = object.key("egressFilter").start_object(); crate::json_ser::serialize_structure_crate_model_egress_filter(&mut object_95, var_94)?; object_95.finish(); } if let Some(var_96) = &input.service_discovery { + #[allow(unused_mut)] let mut object_97 = object.key("serviceDiscovery").start_object(); crate::json_ser::serialize_structure_crate_model_mesh_service_discovery( &mut object_97, @@ -443,21 +470,25 @@ pub fn serialize_structure_crate_model_route_spec( ); } if let Some(var_99) = &input.http_route { + #[allow(unused_mut)] let mut object_100 = object.key("httpRoute").start_object(); crate::json_ser::serialize_structure_crate_model_http_route(&mut object_100, var_99)?; object_100.finish(); } if let Some(var_101) = &input.tcp_route { + #[allow(unused_mut)] let mut object_102 = object.key("tcpRoute").start_object(); crate::json_ser::serialize_structure_crate_model_tcp_route(&mut object_102, var_101)?; object_102.finish(); } if let Some(var_103) = &input.http2_route { + #[allow(unused_mut)] let mut object_104 = object.key("http2Route").start_object(); crate::json_ser::serialize_structure_crate_model_http_route(&mut object_104, var_103)?; object_104.finish(); } if let Some(var_105) = &input.grpc_route { + #[allow(unused_mut)] let mut object_106 = object.key("grpcRoute").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_route(&mut object_106, var_105)?; object_106.finish(); @@ -470,6 +501,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_spec( input: &crate::model::VirtualGatewaySpec, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_107) = &input.backend_defaults { + #[allow(unused_mut)] let mut object_108 = object.key("backendDefaults").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_backend_defaults( &mut object_108, @@ -481,6 +513,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_spec( let mut array_110 = object.key("listeners").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener( &mut object_112, @@ -492,6 +525,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_spec( array_110.finish(); } if let Some(var_113) = &input.logging { + #[allow(unused_mut)] let mut object_114 = object.key("logging").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_logging( &mut object_114, @@ -507,6 +541,7 @@ pub fn serialize_structure_crate_model_virtual_node_spec( input: &crate::model::VirtualNodeSpec, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_115) = &input.service_discovery { + #[allow(unused_mut)] let mut object_116 = object.key("serviceDiscovery").start_object(); crate::json_ser::serialize_union_crate_model_service_discovery(&mut object_116, var_115)?; object_116.finish(); @@ -515,6 +550,7 @@ pub fn serialize_structure_crate_model_virtual_node_spec( let mut array_118 = object.key("listeners").start_array(); for item_119 in var_117 { { + #[allow(unused_mut)] let mut object_120 = array_118.value().start_object(); crate::json_ser::serialize_structure_crate_model_listener( &mut object_120, @@ -529,6 +565,7 @@ pub fn serialize_structure_crate_model_virtual_node_spec( let mut array_122 = object.key("backends").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_union_crate_model_backend(&mut object_124, item_123)?; object_124.finish(); @@ -537,6 +574,7 @@ pub fn serialize_structure_crate_model_virtual_node_spec( array_122.finish(); } if let Some(var_125) = &input.backend_defaults { + #[allow(unused_mut)] let mut object_126 = object.key("backendDefaults").start_object(); crate::json_ser::serialize_structure_crate_model_backend_defaults( &mut object_126, @@ -545,6 +583,7 @@ pub fn serialize_structure_crate_model_virtual_node_spec( object_126.finish(); } if let Some(var_127) = &input.logging { + #[allow(unused_mut)] let mut object_128 = object.key("logging").start_object(); crate::json_ser::serialize_structure_crate_model_logging(&mut object_128, var_127)?; object_128.finish(); @@ -560,6 +599,7 @@ pub fn serialize_structure_crate_model_virtual_router_spec( let mut array_130 = object.key("listeners").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_virtual_router_listener( &mut object_132, @@ -578,6 +618,7 @@ pub fn serialize_structure_crate_model_virtual_service_spec( input: &crate::model::VirtualServiceSpec, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_133) = &input.provider { + #[allow(unused_mut)] let mut object_134 = object.key("provider").start_object(); crate::json_ser::serialize_union_crate_model_virtual_service_provider( &mut object_134, @@ -593,6 +634,7 @@ pub fn serialize_structure_crate_model_http_gateway_route( input: &crate::model::HttpGatewayRoute, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_135) = &input.r#match { + #[allow(unused_mut)] let mut object_136 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route_match( &mut object_136, @@ -601,6 +643,7 @@ pub fn serialize_structure_crate_model_http_gateway_route( object_136.finish(); } if let Some(var_137) = &input.action { + #[allow(unused_mut)] let mut object_138 = object.key("action").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route_action( &mut object_138, @@ -616,6 +659,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route( input: &crate::model::GrpcGatewayRoute, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_139) = &input.r#match { + #[allow(unused_mut)] let mut object_140 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_gateway_route_match( &mut object_140, @@ -624,6 +668,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route( object_140.finish(); } if let Some(var_141) = &input.action { + #[allow(unused_mut)] let mut object_142 = object.key("action").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_gateway_route_action( &mut object_142, @@ -659,6 +704,7 @@ pub fn serialize_structure_crate_model_http_route( input: &crate::model::HttpRoute, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_145) = &input.r#match { + #[allow(unused_mut)] let mut object_146 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_http_route_match( &mut object_146, @@ -667,6 +713,7 @@ pub fn serialize_structure_crate_model_http_route( object_146.finish(); } if let Some(var_147) = &input.action { + #[allow(unused_mut)] let mut object_148 = object.key("action").start_object(); crate::json_ser::serialize_structure_crate_model_http_route_action( &mut object_148, @@ -675,6 +722,7 @@ pub fn serialize_structure_crate_model_http_route( object_148.finish(); } if let Some(var_149) = &input.retry_policy { + #[allow(unused_mut)] let mut object_150 = object.key("retryPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_http_retry_policy( &mut object_150, @@ -683,6 +731,7 @@ pub fn serialize_structure_crate_model_http_route( object_150.finish(); } if let Some(var_151) = &input.timeout { + #[allow(unused_mut)] let mut object_152 = object.key("timeout").start_object(); crate::json_ser::serialize_structure_crate_model_http_timeout(&mut object_152, var_151)?; object_152.finish(); @@ -695,6 +744,7 @@ pub fn serialize_structure_crate_model_tcp_route( input: &crate::model::TcpRoute, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_153) = &input.action { + #[allow(unused_mut)] let mut object_154 = object.key("action").start_object(); crate::json_ser::serialize_structure_crate_model_tcp_route_action( &mut object_154, @@ -703,11 +753,13 @@ pub fn serialize_structure_crate_model_tcp_route( object_154.finish(); } if let Some(var_155) = &input.timeout { + #[allow(unused_mut)] let mut object_156 = object.key("timeout").start_object(); crate::json_ser::serialize_structure_crate_model_tcp_timeout(&mut object_156, var_155)?; object_156.finish(); } if let Some(var_157) = &input.r#match { + #[allow(unused_mut)] let mut object_158 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_tcp_route_match(&mut object_158, var_157)?; object_158.finish(); @@ -720,6 +772,7 @@ pub fn serialize_structure_crate_model_grpc_route( input: &crate::model::GrpcRoute, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_159) = &input.action { + #[allow(unused_mut)] let mut object_160 = object.key("action").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_route_action( &mut object_160, @@ -728,6 +781,7 @@ pub fn serialize_structure_crate_model_grpc_route( object_160.finish(); } if let Some(var_161) = &input.r#match { + #[allow(unused_mut)] let mut object_162 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_route_match( &mut object_162, @@ -736,6 +790,7 @@ pub fn serialize_structure_crate_model_grpc_route( object_162.finish(); } if let Some(var_163) = &input.retry_policy { + #[allow(unused_mut)] let mut object_164 = object.key("retryPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_retry_policy( &mut object_164, @@ -744,6 +799,7 @@ pub fn serialize_structure_crate_model_grpc_route( object_164.finish(); } if let Some(var_165) = &input.timeout { + #[allow(unused_mut)] let mut object_166 = object.key("timeout").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_timeout(&mut object_166, var_165)?; object_166.finish(); @@ -756,6 +812,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_backend_defaults( input: &crate::model::VirtualGatewayBackendDefaults, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_167) = &input.client_policy { + #[allow(unused_mut)] let mut object_168 = object.key("clientPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_client_policy( &mut object_168, @@ -771,6 +828,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_listener( input: &crate::model::VirtualGatewayListener, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_169) = &input.health_check { + #[allow(unused_mut)] let mut object_170 = object.key("healthCheck").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_health_check_policy( &mut object_170, @@ -779,6 +837,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_listener( object_170.finish(); } if let Some(var_171) = &input.port_mapping { + #[allow(unused_mut)] let mut object_172 = object.key("portMapping").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_port_mapping( &mut object_172, @@ -787,6 +846,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_listener( object_172.finish(); } if let Some(var_173) = &input.tls { + #[allow(unused_mut)] let mut object_174 = object.key("tls").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls( &mut object_174, @@ -795,6 +855,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_listener( object_174.finish(); } if let Some(var_175) = &input.connection_pool { + #[allow(unused_mut)] let mut object_176 = object.key("connectionPool").start_object(); crate::json_ser::serialize_union_crate_model_virtual_gateway_connection_pool( &mut object_176, @@ -810,6 +871,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_logging( input: &crate::model::VirtualGatewayLogging, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_177) = &input.access_log { + #[allow(unused_mut)] let mut object_178 = object.key("accessLog").start_object(); crate::json_ser::serialize_union_crate_model_virtual_gateway_access_log( &mut object_178, @@ -826,6 +888,7 @@ pub fn serialize_union_crate_model_service_discovery( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ServiceDiscovery::Dns(inner) => { + #[allow(unused_mut)] let mut object_179 = object_116.key("dns").start_object(); crate::json_ser::serialize_structure_crate_model_dns_service_discovery( &mut object_179, @@ -834,6 +897,7 @@ pub fn serialize_union_crate_model_service_discovery( object_179.finish(); } crate::model::ServiceDiscovery::AwsCloudMap(inner) => { + #[allow(unused_mut)] let mut object_180 = object_116.key("awsCloudMap").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_map_service_discovery( &mut object_180, @@ -857,16 +921,19 @@ pub fn serialize_structure_crate_model_listener( input: &crate::model::Listener, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_181) = &input.port_mapping { + #[allow(unused_mut)] let mut object_182 = object.key("portMapping").start_object(); crate::json_ser::serialize_structure_crate_model_port_mapping(&mut object_182, var_181)?; object_182.finish(); } if let Some(var_183) = &input.tls { + #[allow(unused_mut)] let mut object_184 = object.key("tls").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls(&mut object_184, var_183)?; object_184.finish(); } if let Some(var_185) = &input.health_check { + #[allow(unused_mut)] let mut object_186 = object.key("healthCheck").start_object(); crate::json_ser::serialize_structure_crate_model_health_check_policy( &mut object_186, @@ -875,11 +942,13 @@ pub fn serialize_structure_crate_model_listener( object_186.finish(); } if let Some(var_187) = &input.timeout { + #[allow(unused_mut)] let mut object_188 = object.key("timeout").start_object(); crate::json_ser::serialize_union_crate_model_listener_timeout(&mut object_188, var_187)?; object_188.finish(); } if let Some(var_189) = &input.outlier_detection { + #[allow(unused_mut)] let mut object_190 = object.key("outlierDetection").start_object(); crate::json_ser::serialize_structure_crate_model_outlier_detection( &mut object_190, @@ -888,6 +957,7 @@ pub fn serialize_structure_crate_model_listener( object_190.finish(); } if let Some(var_191) = &input.connection_pool { + #[allow(unused_mut)] let mut object_192 = object.key("connectionPool").start_object(); crate::json_ser::serialize_union_crate_model_virtual_node_connection_pool( &mut object_192, @@ -904,6 +974,7 @@ pub fn serialize_union_crate_model_backend( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Backend::VirtualService(inner) => { + #[allow(unused_mut)] let mut object_193 = object_124.key("virtualService").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_service_backend( &mut object_193, @@ -925,6 +996,7 @@ pub fn serialize_structure_crate_model_backend_defaults( input: &crate::model::BackendDefaults, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_194) = &input.client_policy { + #[allow(unused_mut)] let mut object_195 = object.key("clientPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_client_policy(&mut object_195, var_194)?; object_195.finish(); @@ -937,6 +1009,7 @@ pub fn serialize_structure_crate_model_logging( input: &crate::model::Logging, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_196) = &input.access_log { + #[allow(unused_mut)] let mut object_197 = object.key("accessLog").start_object(); crate::json_ser::serialize_union_crate_model_access_log(&mut object_197, var_196)?; object_197.finish(); @@ -949,6 +1022,7 @@ pub fn serialize_structure_crate_model_virtual_router_listener( input: &crate::model::VirtualRouterListener, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_198) = &input.port_mapping { + #[allow(unused_mut)] let mut object_199 = object.key("portMapping").start_object(); crate::json_ser::serialize_structure_crate_model_port_mapping(&mut object_199, var_198)?; object_199.finish(); @@ -962,6 +1036,7 @@ pub fn serialize_union_crate_model_virtual_service_provider( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualServiceProvider::VirtualNode(inner) => { + #[allow(unused_mut)] let mut object_200 = object_134.key("virtualNode").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_service_provider( &mut object_200, @@ -970,6 +1045,7 @@ pub fn serialize_union_crate_model_virtual_service_provider( object_200.finish(); } crate::model::VirtualServiceProvider::VirtualRouter(inner) => { + #[allow(unused_mut)] let mut object_201 = object_134.key("virtualRouter").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_router_service_provider( &mut object_201, @@ -996,6 +1072,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_match( object.key("prefix").string(var_202.as_str()); } if let Some(var_203) = &input.path { + #[allow(unused_mut)] let mut object_204 = object.key("path").start_object(); crate::json_ser::serialize_structure_crate_model_http_path_match(&mut object_204, var_203)?; object_204.finish(); @@ -1004,6 +1081,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_match( let mut array_206 = object.key("queryParameters").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_query_parameter( &mut object_208, @@ -1018,6 +1096,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_match( object.key("method").string(var_209.as_str()); } if let Some(var_210) = &input.hostname { + #[allow(unused_mut)] let mut object_211 = object.key("hostname").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_hostname_match( &mut object_211, @@ -1029,6 +1108,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_match( let mut array_213 = object.key("headers").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route_header( &mut object_215, @@ -1053,6 +1133,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_action( input: &crate::model::HttpGatewayRouteAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_217) = &input.target { + #[allow(unused_mut)] let mut object_218 = object.key("target").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_target( &mut object_218, @@ -1061,6 +1142,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_action( object_218.finish(); } if let Some(var_219) = &input.rewrite { + #[allow(unused_mut)] let mut object_220 = object.key("rewrite").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route_rewrite( &mut object_220, @@ -1079,6 +1161,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route_match( object.key("serviceName").string(var_221.as_str()); } if let Some(var_222) = &input.hostname { + #[allow(unused_mut)] let mut object_223 = object.key("hostname").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_hostname_match( &mut object_223, @@ -1090,6 +1173,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route_match( let mut array_225 = object.key("metadata").start_array(); for item_226 in var_224 { { + #[allow(unused_mut)] let mut object_227 = array_225.value().start_object(); crate::json_ser::serialize_structure_crate_model_grpc_gateway_route_metadata( &mut object_227, @@ -1114,6 +1198,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route_action( input: &crate::model::GrpcGatewayRouteAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_229) = &input.target { + #[allow(unused_mut)] let mut object_230 = object.key("target").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_target( &mut object_230, @@ -1122,6 +1207,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route_action( object_230.finish(); } if let Some(var_231) = &input.rewrite { + #[allow(unused_mut)] let mut object_232 = object.key("rewrite").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_gateway_route_rewrite( &mut object_232, @@ -1140,6 +1226,7 @@ pub fn serialize_structure_crate_model_http_route_match( object.key("prefix").string(var_233.as_str()); } if let Some(var_234) = &input.path { + #[allow(unused_mut)] let mut object_235 = object.key("path").start_object(); crate::json_ser::serialize_structure_crate_model_http_path_match(&mut object_235, var_234)?; object_235.finish(); @@ -1148,6 +1235,7 @@ pub fn serialize_structure_crate_model_http_route_match( let mut array_237 = object.key("queryParameters").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_query_parameter( &mut object_239, @@ -1168,6 +1256,7 @@ pub fn serialize_structure_crate_model_http_route_match( let mut array_243 = object.key("headers").start_array(); for item_244 in var_242 { { + #[allow(unused_mut)] let mut object_245 = array_243.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_route_header( &mut object_245, @@ -1195,6 +1284,7 @@ pub fn serialize_structure_crate_model_http_route_action( let mut array_248 = object.key("weightedTargets").start_array(); for item_249 in var_247 { { + #[allow(unused_mut)] let mut object_250 = array_248.value().start_object(); crate::json_ser::serialize_structure_crate_model_weighted_target( &mut object_250, @@ -1213,6 +1303,7 @@ pub fn serialize_structure_crate_model_http_retry_policy( input: &crate::model::HttpRetryPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_251) = &input.per_retry_timeout { + #[allow(unused_mut)] let mut object_252 = object.key("perRetryTimeout").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_252, var_251)?; object_252.finish(); @@ -1249,11 +1340,13 @@ pub fn serialize_structure_crate_model_http_timeout( input: &crate::model::HttpTimeout, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_260) = &input.per_request { + #[allow(unused_mut)] let mut object_261 = object.key("perRequest").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_261, var_260)?; object_261.finish(); } if let Some(var_262) = &input.idle { + #[allow(unused_mut)] let mut object_263 = object.key("idle").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_263, var_262)?; object_263.finish(); @@ -1269,6 +1362,7 @@ pub fn serialize_structure_crate_model_tcp_route_action( let mut array_265 = object.key("weightedTargets").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_weighted_target( &mut object_267, @@ -1287,6 +1381,7 @@ pub fn serialize_structure_crate_model_tcp_timeout( input: &crate::model::TcpTimeout, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_268) = &input.idle { + #[allow(unused_mut)] let mut object_269 = object.key("idle").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_269, var_268)?; object_269.finish(); @@ -1315,6 +1410,7 @@ pub fn serialize_structure_crate_model_grpc_route_action( let mut array_272 = object.key("weightedTargets").start_array(); for item_273 in var_271 { { + #[allow(unused_mut)] let mut object_274 = array_272.value().start_object(); crate::json_ser::serialize_structure_crate_model_weighted_target( &mut object_274, @@ -1342,6 +1438,7 @@ pub fn serialize_structure_crate_model_grpc_route_match( let mut array_278 = object.key("metadata").start_array(); for item_279 in var_277 { { + #[allow(unused_mut)] let mut object_280 = array_278.value().start_object(); crate::json_ser::serialize_structure_crate_model_grpc_route_metadata( &mut object_280, @@ -1366,6 +1463,7 @@ pub fn serialize_structure_crate_model_grpc_retry_policy( input: &crate::model::GrpcRetryPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_282) = &input.per_retry_timeout { + #[allow(unused_mut)] let mut object_283 = object.key("perRetryTimeout").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_283, var_282)?; object_283.finish(); @@ -1411,11 +1509,13 @@ pub fn serialize_structure_crate_model_grpc_timeout( input: &crate::model::GrpcTimeout, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_294) = &input.per_request { + #[allow(unused_mut)] let mut object_295 = object.key("perRequest").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_295, var_294)?; object_295.finish(); } if let Some(var_296) = &input.idle { + #[allow(unused_mut)] let mut object_297 = object.key("idle").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_297, var_296)?; object_297.finish(); @@ -1428,6 +1528,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_client_policy( input: &crate::model::VirtualGatewayClientPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_298) = &input.tls { + #[allow(unused_mut)] let mut object_299 = object.key("tls").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_client_policy_tls( &mut object_299, @@ -1505,11 +1606,13 @@ pub fn serialize_structure_crate_model_virtual_gateway_listener_tls( object.key("mode").string(var_305.as_str()); } if let Some(var_306) = &input.validation { + #[allow(unused_mut)] let mut object_307 = object.key("validation").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls_validation_context(&mut object_307, var_306)?; object_307.finish(); } if let Some(var_308) = &input.certificate { + #[allow(unused_mut)] let mut object_309 = object.key("certificate").start_object(); crate::json_ser::serialize_union_crate_model_virtual_gateway_listener_tls_certificate( &mut object_309, @@ -1526,6 +1629,7 @@ pub fn serialize_union_crate_model_virtual_gateway_connection_pool( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualGatewayConnectionPool::Http(inner) => { + #[allow(unused_mut)] let mut object_310 = object_176.key("http").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_http_connection_pool( &mut object_310, @@ -1534,6 +1638,7 @@ pub fn serialize_union_crate_model_virtual_gateway_connection_pool( object_310.finish(); } crate::model::VirtualGatewayConnectionPool::Http2(inner) => { + #[allow(unused_mut)] let mut object_311 = object_176.key("http2").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_http2_connection_pool( &mut object_311, @@ -1542,6 +1647,7 @@ pub fn serialize_union_crate_model_virtual_gateway_connection_pool( object_311.finish(); } crate::model::VirtualGatewayConnectionPool::Grpc(inner) => { + #[allow(unused_mut)] let mut object_312 = object_176.key("grpc").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_grpc_connection_pool( &mut object_312, @@ -1566,6 +1672,7 @@ pub fn serialize_union_crate_model_virtual_gateway_access_log( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualGatewayAccessLog::File(inner) => { + #[allow(unused_mut)] let mut object_313 = object_178.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_file_access_log( &mut object_313, @@ -1614,6 +1721,7 @@ pub fn serialize_structure_crate_model_aws_cloud_map_service_discovery( let mut array_320 = object.key("attributes").start_array(); for item_321 in var_319 { { + #[allow(unused_mut)] let mut object_322 = array_320.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_map_instance_attribute( &mut object_322, @@ -1654,6 +1762,7 @@ pub fn serialize_structure_crate_model_listener_tls( object.key("mode").string(var_325.as_str()); } if let Some(var_326) = &input.certificate { + #[allow(unused_mut)] let mut object_327 = object.key("certificate").start_object(); crate::json_ser::serialize_union_crate_model_listener_tls_certificate( &mut object_327, @@ -1662,6 +1771,7 @@ pub fn serialize_structure_crate_model_listener_tls( object_327.finish(); } if let Some(var_328) = &input.validation { + #[allow(unused_mut)] let mut object_329 = object.key("validation").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls_validation_context( &mut object_329, @@ -1721,21 +1831,25 @@ pub fn serialize_union_crate_model_listener_timeout( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ListenerTimeout::Tcp(inner) => { + #[allow(unused_mut)] let mut object_334 = object_188.key("tcp").start_object(); crate::json_ser::serialize_structure_crate_model_tcp_timeout(&mut object_334, inner)?; object_334.finish(); } crate::model::ListenerTimeout::Http(inner) => { + #[allow(unused_mut)] let mut object_335 = object_188.key("http").start_object(); crate::json_ser::serialize_structure_crate_model_http_timeout(&mut object_335, inner)?; object_335.finish(); } crate::model::ListenerTimeout::Http2(inner) => { + #[allow(unused_mut)] let mut object_336 = object_188.key("http2").start_object(); crate::json_ser::serialize_structure_crate_model_http_timeout(&mut object_336, inner)?; object_336.finish(); } crate::model::ListenerTimeout::Grpc(inner) => { + #[allow(unused_mut)] let mut object_337 = object_188.key("grpc").start_object(); crate::json_ser::serialize_structure_crate_model_grpc_timeout(&mut object_337, inner)?; object_337.finish(); @@ -1762,11 +1876,13 @@ pub fn serialize_structure_crate_model_outlier_detection( ); } if let Some(var_339) = &input.interval { + #[allow(unused_mut)] let mut object_340 = object.key("interval").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_340, var_339)?; object_340.finish(); } if let Some(var_341) = &input.base_ejection_duration { + #[allow(unused_mut)] let mut object_342 = object.key("baseEjectionDuration").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_342, var_341)?; object_342.finish(); @@ -1786,6 +1902,7 @@ pub fn serialize_union_crate_model_virtual_node_connection_pool( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualNodeConnectionPool::Tcp(inner) => { + #[allow(unused_mut)] let mut object_344 = object_192.key("tcp").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_tcp_connection_pool( &mut object_344, @@ -1794,6 +1911,7 @@ pub fn serialize_union_crate_model_virtual_node_connection_pool( object_344.finish(); } crate::model::VirtualNodeConnectionPool::Http(inner) => { + #[allow(unused_mut)] let mut object_345 = object_192.key("http").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_http_connection_pool( &mut object_345, @@ -1802,6 +1920,7 @@ pub fn serialize_union_crate_model_virtual_node_connection_pool( object_345.finish(); } crate::model::VirtualNodeConnectionPool::Http2(inner) => { + #[allow(unused_mut)] let mut object_346 = object_192.key("http2").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_http2_connection_pool( &mut object_346, @@ -1810,6 +1929,7 @@ pub fn serialize_union_crate_model_virtual_node_connection_pool( object_346.finish(); } crate::model::VirtualNodeConnectionPool::Grpc(inner) => { + #[allow(unused_mut)] let mut object_347 = object_192.key("grpc").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_node_grpc_connection_pool( &mut object_347, @@ -1836,6 +1956,7 @@ pub fn serialize_structure_crate_model_virtual_service_backend( object.key("virtualServiceName").string(var_348.as_str()); } if let Some(var_349) = &input.client_policy { + #[allow(unused_mut)] let mut object_350 = object.key("clientPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_client_policy(&mut object_350, var_349)?; object_350.finish(); @@ -1848,6 +1969,7 @@ pub fn serialize_structure_crate_model_client_policy( input: &crate::model::ClientPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_351) = &input.tls { + #[allow(unused_mut)] let mut object_352 = object.key("tls").start_object(); crate::json_ser::serialize_structure_crate_model_client_policy_tls( &mut object_352, @@ -1864,6 +1986,7 @@ pub fn serialize_union_crate_model_access_log( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::AccessLog::File(inner) => { + #[allow(unused_mut)] let mut object_353 = object_197.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_file_access_log( &mut object_353, @@ -1921,6 +2044,7 @@ pub fn serialize_structure_crate_model_http_query_parameter( object.key("name").string(var_358.as_str()); } if let Some(var_359) = &input.r#match { + #[allow(unused_mut)] let mut object_360 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_query_parameter_match( &mut object_360, @@ -1955,6 +2079,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_header( object.key("invert").boolean(*var_364); } if let Some(var_365) = &input.r#match { + #[allow(unused_mut)] let mut object_366 = object.key("match").start_object(); crate::json_ser::serialize_union_crate_model_header_match_method(&mut object_366, var_365)?; object_366.finish(); @@ -1967,6 +2092,7 @@ pub fn serialize_structure_crate_model_gateway_route_target( input: &crate::model::GatewayRouteTarget, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_367) = &input.virtual_service { + #[allow(unused_mut)] let mut object_368 = object.key("virtualService").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_virtual_service( &mut object_368, @@ -1988,6 +2114,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_rewrite( input: &crate::model::HttpGatewayRouteRewrite, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_370) = &input.prefix { + #[allow(unused_mut)] let mut object_371 = object.key("prefix").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route_prefix_rewrite( &mut object_371, @@ -1996,6 +2123,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_rewrite( object_371.finish(); } if let Some(var_372) = &input.path { + #[allow(unused_mut)] let mut object_373 = object.key("path").start_object(); crate::json_ser::serialize_structure_crate_model_http_gateway_route_path_rewrite( &mut object_373, @@ -2004,6 +2132,7 @@ pub fn serialize_structure_crate_model_http_gateway_route_rewrite( object_373.finish(); } if let Some(var_374) = &input.hostname { + #[allow(unused_mut)] let mut object_375 = object.key("hostname").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_hostname_rewrite( &mut object_375, @@ -2025,6 +2154,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route_metadata( object.key("invert").boolean(*var_377); } if let Some(var_378) = &input.r#match { + #[allow(unused_mut)] let mut object_379 = object.key("match").start_object(); crate::json_ser::serialize_union_crate_model_grpc_metadata_match_method( &mut object_379, @@ -2040,6 +2170,7 @@ pub fn serialize_structure_crate_model_grpc_gateway_route_rewrite( input: &crate::model::GrpcGatewayRouteRewrite, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_380) = &input.hostname { + #[allow(unused_mut)] let mut object_381 = object.key("hostname").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_route_hostname_rewrite( &mut object_381, @@ -2061,6 +2192,7 @@ pub fn serialize_structure_crate_model_http_route_header( object.key("invert").boolean(*var_383); } if let Some(var_384) = &input.r#match { + #[allow(unused_mut)] let mut object_385 = object.key("match").start_object(); crate::json_ser::serialize_union_crate_model_header_match_method(&mut object_385, var_384)?; object_385.finish(); @@ -2117,6 +2249,7 @@ pub fn serialize_structure_crate_model_grpc_route_metadata( object.key("invert").boolean(*var_391); } if let Some(var_392) = &input.r#match { + #[allow(unused_mut)] let mut object_393 = object.key("match").start_object(); crate::json_ser::serialize_union_crate_model_grpc_route_metadata_match_method( &mut object_393, @@ -2147,6 +2280,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_client_policy_tls( array_396.finish(); } if let Some(var_398) = &input.certificate { + #[allow(unused_mut)] let mut object_399 = object.key("certificate").start_object(); crate::json_ser::serialize_union_crate_model_virtual_gateway_client_tls_certificate( &mut object_399, @@ -2155,6 +2289,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_client_policy_tls( object_399.finish(); } if let Some(var_400) = &input.validation { + #[allow(unused_mut)] let mut object_401 = object.key("validation").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_tls_validation_context( &mut object_401, @@ -2170,11 +2305,13 @@ pub fn serialize_structure_crate_model_virtual_gateway_listener_tls_validation_c input: &crate::model::VirtualGatewayListenerTlsValidationContext, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_402) = &input.trust { + #[allow(unused_mut)] let mut object_403 = object.key("trust").start_object(); crate::json_ser::serialize_union_crate_model_virtual_gateway_listener_tls_validation_context_trust(&mut object_403, var_402)?; object_403.finish(); } if let Some(var_404) = &input.subject_alternative_names { + #[allow(unused_mut)] let mut object_405 = object.key("subjectAlternativeNames").start_object(); crate::json_ser::serialize_structure_crate_model_subject_alternative_names( &mut object_405, @@ -2191,16 +2328,19 @@ pub fn serialize_union_crate_model_virtual_gateway_listener_tls_certificate( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualGatewayListenerTlsCertificate::Acm(inner) => { + #[allow(unused_mut)] let mut object_406 = object_309.key("acm").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls_acm_certificate(&mut object_406, inner)?; object_406.finish(); } crate::model::VirtualGatewayListenerTlsCertificate::File(inner) => { + #[allow(unused_mut)] let mut object_407 = object_309.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls_file_certificate(&mut object_407, inner)?; object_407.finish(); } crate::model::VirtualGatewayListenerTlsCertificate::Sds(inner) => { + #[allow(unused_mut)] let mut object_408 = object_309.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls_sds_certificate(&mut object_408, inner)?; object_408.finish(); @@ -2269,6 +2409,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_file_access_log( object.key("path").string(var_410.as_str()); } if let Some(var_411) = &input.format { + #[allow(unused_mut)] let mut object_412 = object.key("format").start_object(); crate::json_ser::serialize_union_crate_model_logging_format(&mut object_412, var_411)?; object_412.finish(); @@ -2295,6 +2436,7 @@ pub fn serialize_union_crate_model_listener_tls_certificate( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ListenerTlsCertificate::Acm(inner) => { + #[allow(unused_mut)] let mut object_415 = object_327.key("acm").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls_acm_certificate( &mut object_415, @@ -2303,6 +2445,7 @@ pub fn serialize_union_crate_model_listener_tls_certificate( object_415.finish(); } crate::model::ListenerTlsCertificate::File(inner) => { + #[allow(unused_mut)] let mut object_416 = object_327.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls_file_certificate( &mut object_416, @@ -2311,6 +2454,7 @@ pub fn serialize_union_crate_model_listener_tls_certificate( object_416.finish(); } crate::model::ListenerTlsCertificate::Sds(inner) => { + #[allow(unused_mut)] let mut object_417 = object_327.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls_sds_certificate( &mut object_417, @@ -2334,6 +2478,7 @@ pub fn serialize_structure_crate_model_listener_tls_validation_context( input: &crate::model::ListenerTlsValidationContext, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_418) = &input.trust { + #[allow(unused_mut)] let mut object_419 = object.key("trust").start_object(); crate::json_ser::serialize_union_crate_model_listener_tls_validation_context_trust( &mut object_419, @@ -2342,6 +2487,7 @@ pub fn serialize_structure_crate_model_listener_tls_validation_context( object_419.finish(); } if let Some(var_420) = &input.subject_alternative_names { + #[allow(unused_mut)] let mut object_421 = object.key("subjectAlternativeNames").start_object(); crate::json_ser::serialize_structure_crate_model_subject_alternative_names( &mut object_421, @@ -2430,6 +2576,7 @@ pub fn serialize_structure_crate_model_client_policy_tls( array_425.finish(); } if let Some(var_427) = &input.certificate { + #[allow(unused_mut)] let mut object_428 = object.key("certificate").start_object(); crate::json_ser::serialize_union_crate_model_client_tls_certificate( &mut object_428, @@ -2438,6 +2585,7 @@ pub fn serialize_structure_crate_model_client_policy_tls( object_428.finish(); } if let Some(var_429) = &input.validation { + #[allow(unused_mut)] let mut object_430 = object.key("validation").start_object(); crate::json_ser::serialize_structure_crate_model_tls_validation_context( &mut object_430, @@ -2456,6 +2604,7 @@ pub fn serialize_structure_crate_model_file_access_log( object.key("path").string(var_431.as_str()); } if let Some(var_432) = &input.format { + #[allow(unused_mut)] let mut object_433 = object.key("format").start_object(); crate::json_ser::serialize_union_crate_model_logging_format(&mut object_433, var_432)?; object_433.finish(); @@ -2485,6 +2634,7 @@ pub fn serialize_union_crate_model_header_match_method( object_366.key("regex").string(inner.as_str()); } crate::model::HeaderMatchMethod::Range(inner) => { + #[allow(unused_mut)] let mut object_435 = object_366.key("range").start_object(); crate::json_ser::serialize_structure_crate_model_match_range(&mut object_435, inner)?; object_435.finish(); @@ -2561,6 +2711,7 @@ pub fn serialize_union_crate_model_grpc_metadata_match_method( object_379.key("regex").string(inner.as_str()); } crate::model::GrpcMetadataMatchMethod::Range(inner) => { + #[allow(unused_mut)] let mut object_441 = object_379.key("range").start_object(); crate::json_ser::serialize_structure_crate_model_match_range(&mut object_441, inner)?; object_441.finish(); @@ -2594,6 +2745,7 @@ pub fn serialize_union_crate_model_grpc_route_metadata_match_method( object_393.key("regex").string(inner.as_str()); } crate::model::GrpcRouteMetadataMatchMethod::Range(inner) => { + #[allow(unused_mut)] let mut object_442 = object_393.key("range").start_object(); crate::json_ser::serialize_structure_crate_model_match_range(&mut object_442, inner)?; object_442.finish(); @@ -2621,11 +2773,13 @@ pub fn serialize_union_crate_model_virtual_gateway_client_tls_certificate( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualGatewayClientTlsCertificate::File(inner) => { + #[allow(unused_mut)] let mut object_443 = object_399.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls_file_certificate(&mut object_443, inner)?; object_443.finish(); } crate::model::VirtualGatewayClientTlsCertificate::Sds(inner) => { + #[allow(unused_mut)] let mut object_444 = object_399.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_listener_tls_sds_certificate(&mut object_444, inner)?; object_444.finish(); @@ -2646,6 +2800,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_tls_validation_context( input: &crate::model::VirtualGatewayTlsValidationContext, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_445) = &input.trust { + #[allow(unused_mut)] let mut object_446 = object.key("trust").start_object(); crate::json_ser::serialize_union_crate_model_virtual_gateway_tls_validation_context_trust( &mut object_446, @@ -2654,6 +2809,7 @@ pub fn serialize_structure_crate_model_virtual_gateway_tls_validation_context( object_446.finish(); } if let Some(var_447) = &input.subject_alternative_names { + #[allow(unused_mut)] let mut object_448 = object.key("subjectAlternativeNames").start_object(); crate::json_ser::serialize_structure_crate_model_subject_alternative_names( &mut object_448, @@ -2670,11 +2826,13 @@ pub fn serialize_union_crate_model_virtual_gateway_listener_tls_validation_conte ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualGatewayListenerTlsValidationContextTrust::File(inner) => { + #[allow(unused_mut)] let mut object_449 = object_403.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_tls_validation_context_file_trust(&mut object_449, inner)?; object_449.finish(); } crate::model::VirtualGatewayListenerTlsValidationContextTrust::Sds(inner) => { + #[allow(unused_mut)] let mut object_450 = object_403.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_tls_validation_context_sds_trust(&mut object_450, inner)?; object_450.finish(); @@ -2695,6 +2853,7 @@ pub fn serialize_structure_crate_model_subject_alternative_names( input: &crate::model::SubjectAlternativeNames, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_451) = &input.r#match { + #[allow(unused_mut)] let mut object_452 = object.key("match").start_object(); crate::json_ser::serialize_structure_crate_model_subject_alternative_name_matchers( &mut object_452, @@ -2750,6 +2909,7 @@ pub fn serialize_union_crate_model_logging_format( let mut array_457 = object_412.key("json").start_array(); for item_458 in inner { { + #[allow(unused_mut)] let mut object_459 = array_457.value().start_object(); crate::json_ser::serialize_structure_crate_model_json_format_ref( &mut object_459, @@ -2810,6 +2970,7 @@ pub fn serialize_union_crate_model_listener_tls_validation_context_trust( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ListenerTlsValidationContextTrust::File(inner) => { + #[allow(unused_mut)] let mut object_464 = object_419.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_tls_validation_context_file_trust( &mut object_464, @@ -2818,6 +2979,7 @@ pub fn serialize_union_crate_model_listener_tls_validation_context_trust( object_464.finish(); } crate::model::ListenerTlsValidationContextTrust::Sds(inner) => { + #[allow(unused_mut)] let mut object_465 = object_419.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_tls_validation_context_sds_trust( &mut object_465, @@ -2842,6 +3004,7 @@ pub fn serialize_union_crate_model_client_tls_certificate( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ClientTlsCertificate::File(inner) => { + #[allow(unused_mut)] let mut object_466 = object_428.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls_file_certificate( &mut object_466, @@ -2850,6 +3013,7 @@ pub fn serialize_union_crate_model_client_tls_certificate( object_466.finish(); } crate::model::ClientTlsCertificate::Sds(inner) => { + #[allow(unused_mut)] let mut object_467 = object_428.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_listener_tls_sds_certificate( &mut object_467, @@ -2873,6 +3037,7 @@ pub fn serialize_structure_crate_model_tls_validation_context( input: &crate::model::TlsValidationContext, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_468) = &input.trust { + #[allow(unused_mut)] let mut object_469 = object.key("trust").start_object(); crate::json_ser::serialize_union_crate_model_tls_validation_context_trust( &mut object_469, @@ -2881,6 +3046,7 @@ pub fn serialize_structure_crate_model_tls_validation_context( object_469.finish(); } if let Some(var_470) = &input.subject_alternative_names { + #[allow(unused_mut)] let mut object_471 = object.key("subjectAlternativeNames").start_object(); crate::json_ser::serialize_structure_crate_model_subject_alternative_names( &mut object_471, @@ -2916,16 +3082,19 @@ pub fn serialize_union_crate_model_virtual_gateway_tls_validation_context_trust( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::VirtualGatewayTlsValidationContextTrust::Acm(inner) => { + #[allow(unused_mut)] let mut object_474 = object_446.key("acm").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_tls_validation_context_acm_trust(&mut object_474, inner)?; object_474.finish(); } crate::model::VirtualGatewayTlsValidationContextTrust::File(inner) => { + #[allow(unused_mut)] let mut object_475 = object_446.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_tls_validation_context_file_trust(&mut object_475, inner)?; object_475.finish(); } crate::model::VirtualGatewayTlsValidationContextTrust::Sds(inner) => { + #[allow(unused_mut)] let mut object_476 = object_446.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_virtual_gateway_tls_validation_context_sds_trust(&mut object_476, inner)?; object_476.finish(); @@ -3016,6 +3185,7 @@ pub fn serialize_union_crate_model_tls_validation_context_trust( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::TlsValidationContextTrust::Acm(inner) => { + #[allow(unused_mut)] let mut object_486 = object_469.key("acm").start_object(); crate::json_ser::serialize_structure_crate_model_tls_validation_context_acm_trust( &mut object_486, @@ -3024,6 +3194,7 @@ pub fn serialize_union_crate_model_tls_validation_context_trust( object_486.finish(); } crate::model::TlsValidationContextTrust::File(inner) => { + #[allow(unused_mut)] let mut object_487 = object_469.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_tls_validation_context_file_trust( &mut object_487, @@ -3032,6 +3203,7 @@ pub fn serialize_union_crate_model_tls_validation_context_trust( object_487.finish(); } crate::model::TlsValidationContextTrust::Sds(inner) => { + #[allow(unused_mut)] let mut object_488 = object_469.key("sds").start_object(); crate::json_ser::serialize_structure_crate_model_tls_validation_context_sds_trust( &mut object_488, diff --git a/sdk/apprunner/src/json_ser.rs b/sdk/apprunner/src/json_ser.rs index c00f06e831f1..fcab2f81c8ec 100644 --- a/sdk/apprunner/src/json_ser.rs +++ b/sdk/apprunner/src/json_ser.rs @@ -46,6 +46,7 @@ pub fn serialize_structure_crate_input_create_auto_scaling_configuration_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -70,6 +71,7 @@ pub fn serialize_structure_crate_input_create_connection_input( let mut array_15 = object.key("Tags").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_17, item_16)?; object_17.finish(); @@ -90,6 +92,7 @@ pub fn serialize_structure_crate_input_create_observability_configuration_input( .string(var_18.as_str()); } if let Some(var_19) = &input.trace_configuration { + #[allow(unused_mut)] let mut object_20 = object.key("TraceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_trace_configuration( &mut object_20, @@ -101,6 +104,7 @@ pub fn serialize_structure_crate_input_create_observability_configuration_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -119,6 +123,7 @@ pub fn serialize_structure_crate_input_create_service_input( object.key("ServiceName").string(var_25.as_str()); } if let Some(var_26) = &input.source_configuration { + #[allow(unused_mut)] let mut object_27 = object.key("SourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_source_configuration( &mut object_27, @@ -127,6 +132,7 @@ pub fn serialize_structure_crate_input_create_service_input( object_27.finish(); } if let Some(var_28) = &input.instance_configuration { + #[allow(unused_mut)] let mut object_29 = object.key("InstanceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_instance_configuration( &mut object_29, @@ -138,6 +144,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_31 = object.key("Tags").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_33, item_32)?; object_33.finish(); @@ -146,6 +153,7 @@ pub fn serialize_structure_crate_input_create_service_input( array_31.finish(); } if let Some(var_34) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_35 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_35, @@ -154,6 +162,7 @@ pub fn serialize_structure_crate_input_create_service_input( object_35.finish(); } if let Some(var_36) = &input.health_check_configuration { + #[allow(unused_mut)] let mut object_37 = object.key("HealthCheckConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_health_check_configuration( &mut object_37, @@ -167,6 +176,7 @@ pub fn serialize_structure_crate_input_create_service_input( .string(var_38.as_str()); } if let Some(var_39) = &input.network_configuration { + #[allow(unused_mut)] let mut object_40 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_40, @@ -175,6 +185,7 @@ pub fn serialize_structure_crate_input_create_service_input( object_40.finish(); } if let Some(var_41) = &input.observability_configuration { + #[allow(unused_mut)] let mut object_42 = object.key("ObservabilityConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_service_observability_configuration( &mut object_42, @@ -214,6 +225,7 @@ pub fn serialize_structure_crate_input_create_vpc_connector_input( let mut array_51 = object.key("Tags").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_53, item_52)?; object_53.finish(); @@ -523,6 +535,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_90 = object.key("Tags").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_92, item_91)?; object_92.finish(); @@ -560,6 +573,7 @@ pub fn serialize_structure_crate_input_update_service_input( object.key("ServiceArn").string(var_97.as_str()); } if let Some(var_98) = &input.source_configuration { + #[allow(unused_mut)] let mut object_99 = object.key("SourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_source_configuration( &mut object_99, @@ -568,6 +582,7 @@ pub fn serialize_structure_crate_input_update_service_input( object_99.finish(); } if let Some(var_100) = &input.instance_configuration { + #[allow(unused_mut)] let mut object_101 = object.key("InstanceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_instance_configuration( &mut object_101, @@ -581,6 +596,7 @@ pub fn serialize_structure_crate_input_update_service_input( .string(var_102.as_str()); } if let Some(var_103) = &input.health_check_configuration { + #[allow(unused_mut)] let mut object_104 = object.key("HealthCheckConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_health_check_configuration( &mut object_104, @@ -589,6 +605,7 @@ pub fn serialize_structure_crate_input_update_service_input( object_104.finish(); } if let Some(var_105) = &input.network_configuration { + #[allow(unused_mut)] let mut object_106 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_106, @@ -597,6 +614,7 @@ pub fn serialize_structure_crate_input_update_service_input( object_106.finish(); } if let Some(var_107) = &input.observability_configuration { + #[allow(unused_mut)] let mut object_108 = object.key("ObservabilityConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_service_observability_configuration( &mut object_108, @@ -635,11 +653,13 @@ pub fn serialize_structure_crate_model_source_configuration( input: &crate::model::SourceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_112) = &input.code_repository { + #[allow(unused_mut)] let mut object_113 = object.key("CodeRepository").start_object(); crate::json_ser::serialize_structure_crate_model_code_repository(&mut object_113, var_112)?; object_113.finish(); } if let Some(var_114) = &input.image_repository { + #[allow(unused_mut)] let mut object_115 = object.key("ImageRepository").start_object(); crate::json_ser::serialize_structure_crate_model_image_repository( &mut object_115, @@ -651,6 +671,7 @@ pub fn serialize_structure_crate_model_source_configuration( object.key("AutoDeploymentsEnabled").boolean(*var_116); } if let Some(var_117) = &input.authentication_configuration { + #[allow(unused_mut)] let mut object_118 = object.key("AuthenticationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_authentication_configuration( &mut object_118, @@ -729,6 +750,7 @@ pub fn serialize_structure_crate_model_network_configuration( input: &crate::model::NetworkConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_129) = &input.egress_configuration { + #[allow(unused_mut)] let mut object_130 = object.key("EgressConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_egress_configuration( &mut object_130, @@ -764,6 +786,7 @@ pub fn serialize_structure_crate_model_code_repository( object.key("RepositoryUrl").string(var_132.as_str()); } if let Some(var_133) = &input.source_code_version { + #[allow(unused_mut)] let mut object_134 = object.key("SourceCodeVersion").start_object(); crate::json_ser::serialize_structure_crate_model_source_code_version( &mut object_134, @@ -772,6 +795,7 @@ pub fn serialize_structure_crate_model_code_repository( object_134.finish(); } if let Some(var_135) = &input.code_configuration { + #[allow(unused_mut)] let mut object_136 = object.key("CodeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_code_configuration( &mut object_136, @@ -790,6 +814,7 @@ pub fn serialize_structure_crate_model_image_repository( object.key("ImageIdentifier").string(var_137.as_str()); } if let Some(var_138) = &input.image_configuration { + #[allow(unused_mut)] let mut object_139 = object.key("ImageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_configuration( &mut object_139, @@ -850,6 +875,7 @@ pub fn serialize_structure_crate_model_code_configuration( object.key("ConfigurationSource").string(var_147.as_str()); } if let Some(var_148) = &input.code_configuration_values { + #[allow(unused_mut)] let mut object_149 = object.key("CodeConfigurationValues").start_object(); crate::json_ser::serialize_structure_crate_model_code_configuration_values( &mut object_149, @@ -865,6 +891,7 @@ pub fn serialize_structure_crate_model_image_configuration( input: &crate::model::ImageConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_150) = &input.runtime_environment_variables { + #[allow(unused_mut)] let mut object_151 = object.key("RuntimeEnvironmentVariables").start_object(); for (key_152, value_153) in var_150 { { @@ -899,6 +926,7 @@ pub fn serialize_structure_crate_model_code_configuration_values( object.key("Port").string(var_159.as_str()); } if let Some(var_160) = &input.runtime_environment_variables { + #[allow(unused_mut)] let mut object_161 = object.key("RuntimeEnvironmentVariables").start_object(); for (key_162, value_163) in var_160 { { diff --git a/sdk/appstream/src/json_ser.rs b/sdk/appstream/src/json_ser.rs index 7313cd5b776b..2abe68a7b06c 100644 --- a/sdk/appstream/src/json_ser.rs +++ b/sdk/appstream/src/json_ser.rs @@ -49,6 +49,7 @@ pub fn serialize_structure_crate_input_batch_associate_user_stack_input( let mut array_9 = object.key("UserStackAssociations").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_stack_association( &mut object_11, @@ -70,6 +71,7 @@ pub fn serialize_structure_crate_input_batch_disassociate_user_stack_input( let mut array_13 = object.key("UserStackAssociations").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_stack_association( &mut object_15, @@ -118,16 +120,19 @@ pub fn serialize_structure_crate_input_create_app_block_input( object.key("DisplayName").string(var_22.as_str()); } if let Some(var_23) = &input.source_s3_location { + #[allow(unused_mut)] let mut object_24 = object.key("SourceS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_24, var_23)?; object_24.finish(); } if let Some(var_25) = &input.setup_script_details { + #[allow(unused_mut)] let mut object_26 = object.key("SetupScriptDetails").start_object(); crate::json_ser::serialize_structure_crate_model_script_details(&mut object_26, var_25)?; object_26.finish(); } if let Some(var_27) = &input.tags { + #[allow(unused_mut)] let mut object_28 = object.key("Tags").start_object(); for (key_29, value_30) in var_27 { { @@ -153,6 +158,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("Description").string(var_33.as_str()); } if let Some(var_34) = &input.icon_s3_location { + #[allow(unused_mut)] let mut object_35 = object.key("IconS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_35, var_34)?; object_35.finish(); @@ -188,6 +194,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("AppBlockArn").string(var_45.as_str()); } if let Some(var_46) = &input.tags { + #[allow(unused_mut)] let mut object_47 = object.key("Tags").start_object(); for (key_48, value_49) in var_46 { { @@ -218,6 +225,7 @@ pub fn serialize_structure_crate_input_create_directory_config_input( array_52.finish(); } if let Some(var_54) = &input.service_account_credentials { + #[allow(unused_mut)] let mut object_55 = object.key("ServiceAccountCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_service_account_credentials( &mut object_55, @@ -248,6 +256,7 @@ pub fn serialize_structure_crate_input_create_entitlement_input( let mut array_61 = object.key("Attributes").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_entitlement_attribute( &mut object_63, @@ -281,11 +290,13 @@ pub fn serialize_structure_crate_input_create_fleet_input( object.key("FleetType").string(var_68.as_str()); } if let Some(var_69) = &input.compute_capacity { + #[allow(unused_mut)] let mut object_70 = object.key("ComputeCapacity").start_object(); crate::json_ser::serialize_structure_crate_model_compute_capacity(&mut object_70, var_69)?; object_70.finish(); } if let Some(var_71) = &input.vpc_config { + #[allow(unused_mut)] let mut object_72 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_72, var_71)?; object_72.finish(); @@ -312,11 +323,13 @@ pub fn serialize_structure_crate_input_create_fleet_input( object.key("EnableDefaultInternetAccess").boolean(*var_77); } if let Some(var_78) = &input.domain_join_info { + #[allow(unused_mut)] let mut object_79 = object.key("DomainJoinInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_join_info(&mut object_79, var_78)?; object_79.finish(); } if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("Tags").start_object(); for (key_82, value_83) in var_80 { { @@ -356,6 +369,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( array_90.finish(); } if let Some(var_92) = &input.session_script_s3_location { + #[allow(unused_mut)] let mut object_93 = object.key("SessionScriptS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_93, var_92)?; object_93.finish(); @@ -386,6 +400,7 @@ pub fn serialize_structure_crate_input_create_image_builder_input( object.key("DisplayName").string(var_99.as_str()); } if let Some(var_100) = &input.vpc_config { + #[allow(unused_mut)] let mut object_101 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_101, var_100)?; object_101.finish(); @@ -397,6 +412,7 @@ pub fn serialize_structure_crate_input_create_image_builder_input( object.key("EnableDefaultInternetAccess").boolean(*var_103); } if let Some(var_104) = &input.domain_join_info { + #[allow(unused_mut)] let mut object_105 = object.key("DomainJoinInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_join_info( &mut object_105, @@ -408,6 +424,7 @@ pub fn serialize_structure_crate_input_create_image_builder_input( object.key("AppstreamAgentVersion").string(var_106.as_str()); } if let Some(var_107) = &input.tags { + #[allow(unused_mut)] let mut object_108 = object.key("Tags").start_object(); for (key_109, value_110) in var_107 { { @@ -420,6 +437,7 @@ pub fn serialize_structure_crate_input_create_image_builder_input( let mut array_112 = object.key("AccessEndpoints").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_access_endpoint( &mut object_114, @@ -466,6 +484,7 @@ pub fn serialize_structure_crate_input_create_stack_input( let mut array_121 = object.key("StorageConnectors").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_storage_connector( &mut object_123, @@ -486,6 +505,7 @@ pub fn serialize_structure_crate_input_create_stack_input( let mut array_127 = object.key("UserSettings").start_array(); for item_128 in var_126 { { + #[allow(unused_mut)] let mut object_129 = array_127.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_setting( &mut object_129, @@ -497,6 +517,7 @@ pub fn serialize_structure_crate_input_create_stack_input( array_127.finish(); } if let Some(var_130) = &input.application_settings { + #[allow(unused_mut)] let mut object_131 = object.key("ApplicationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_application_settings( &mut object_131, @@ -505,6 +526,7 @@ pub fn serialize_structure_crate_input_create_stack_input( object_131.finish(); } if let Some(var_132) = &input.tags { + #[allow(unused_mut)] let mut object_133 = object.key("Tags").start_object(); for (key_134, value_135) in var_132 { { @@ -517,6 +539,7 @@ pub fn serialize_structure_crate_input_create_stack_input( let mut array_137 = object.key("AccessEndpoints").start_array(); for item_138 in var_136 { { + #[allow(unused_mut)] let mut object_139 = array_137.value().start_object(); crate::json_ser::serialize_structure_crate_model_access_endpoint( &mut object_139, @@ -537,6 +560,7 @@ pub fn serialize_structure_crate_input_create_stack_input( array_141.finish(); } if let Some(var_143) = &input.streaming_experience_settings { + #[allow(unused_mut)] let mut object_144 = object.key("StreamingExperienceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_experience_settings( &mut object_144, @@ -592,6 +616,7 @@ pub fn serialize_structure_crate_input_create_updated_image_input( object.key("newImageDisplayName").string(var_154.as_str()); } if let Some(var_155) = &input.new_image_tags { + #[allow(unused_mut)] let mut object_156 = object.key("newImageTags").start_object(); for (key_157, value_158) in var_155 { { @@ -1259,6 +1284,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("ResourceArn").string(var_270.as_str()); } if let Some(var_271) = &input.tags { + #[allow(unused_mut)] let mut object_272 = object.key("Tags").start_object(); for (key_273, value_274) in var_271 { { @@ -1303,6 +1329,7 @@ pub fn serialize_structure_crate_input_update_application_input( object.key("Description").string(var_281.as_str()); } if let Some(var_282) = &input.icon_s3_location { + #[allow(unused_mut)] let mut object_283 = object.key("IconS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_283, var_282)?; object_283.finish(); @@ -1350,6 +1377,7 @@ pub fn serialize_structure_crate_input_update_directory_config_input( array_293.finish(); } if let Some(var_295) = &input.service_account_credentials { + #[allow(unused_mut)] let mut object_296 = object.key("ServiceAccountCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_service_account_credentials( &mut object_296, @@ -1380,6 +1408,7 @@ pub fn serialize_structure_crate_input_update_entitlement_input( let mut array_302 = object.key("Attributes").start_array(); for item_303 in var_301 { { + #[allow(unused_mut)] let mut object_304 = array_302.value().start_object(); crate::json_ser::serialize_structure_crate_model_entitlement_attribute( &mut object_304, @@ -1410,6 +1439,7 @@ pub fn serialize_structure_crate_input_update_fleet_input( object.key("InstanceType").string(var_308.as_str()); } if let Some(var_309) = &input.compute_capacity { + #[allow(unused_mut)] let mut object_310 = object.key("ComputeCapacity").start_object(); crate::json_ser::serialize_structure_crate_model_compute_capacity( &mut object_310, @@ -1418,6 +1448,7 @@ pub fn serialize_structure_crate_input_update_fleet_input( object_310.finish(); } if let Some(var_311) = &input.vpc_config { + #[allow(unused_mut)] let mut object_312 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_312, var_311)?; object_312.finish(); @@ -1449,6 +1480,7 @@ pub fn serialize_structure_crate_input_update_fleet_input( object.key("EnableDefaultInternetAccess").boolean(*var_317); } if let Some(var_318) = &input.domain_join_info { + #[allow(unused_mut)] let mut object_319 = object.key("DomainJoinInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_join_info( &mut object_319, @@ -1496,6 +1528,7 @@ pub fn serialize_structure_crate_input_update_fleet_input( array_329.finish(); } if let Some(var_331) = &input.session_script_s3_location { + #[allow(unused_mut)] let mut object_332 = object.key("SessionScriptS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_332, var_331)?; object_332.finish(); @@ -1514,6 +1547,7 @@ pub fn serialize_structure_crate_input_update_image_permissions_input( object.key("SharedAccountId").string(var_334.as_str()); } if let Some(var_335) = &input.image_permissions { + #[allow(unused_mut)] let mut object_336 = object.key("ImagePermissions").start_object(); crate::json_ser::serialize_structure_crate_model_image_permissions( &mut object_336, @@ -1541,6 +1575,7 @@ pub fn serialize_structure_crate_input_update_stack_input( let mut array_341 = object.key("StorageConnectors").start_array(); for item_342 in var_340 { { + #[allow(unused_mut)] let mut object_343 = array_341.value().start_object(); crate::json_ser::serialize_structure_crate_model_storage_connector( &mut object_343, @@ -1575,6 +1610,7 @@ pub fn serialize_structure_crate_input_update_stack_input( let mut array_350 = object.key("UserSettings").start_array(); for item_351 in var_349 { { + #[allow(unused_mut)] let mut object_352 = array_350.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_setting( &mut object_352, @@ -1586,6 +1622,7 @@ pub fn serialize_structure_crate_input_update_stack_input( array_350.finish(); } if let Some(var_353) = &input.application_settings { + #[allow(unused_mut)] let mut object_354 = object.key("ApplicationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_application_settings( &mut object_354, @@ -1597,6 +1634,7 @@ pub fn serialize_structure_crate_input_update_stack_input( let mut array_356 = object.key("AccessEndpoints").start_array(); for item_357 in var_355 { { + #[allow(unused_mut)] let mut object_358 = array_356.value().start_object(); crate::json_ser::serialize_structure_crate_model_access_endpoint( &mut object_358, @@ -1617,6 +1655,7 @@ pub fn serialize_structure_crate_input_update_stack_input( array_360.finish(); } if let Some(var_362) = &input.streaming_experience_settings { + #[allow(unused_mut)] let mut object_363 = object.key("StreamingExperienceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_experience_settings( &mut object_363, @@ -1666,6 +1705,7 @@ pub fn serialize_structure_crate_model_script_details( input: &crate::model::ScriptDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_369) = &input.script_s3_location { + #[allow(unused_mut)] let mut object_370 = object.key("ScriptS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_370, var_369)?; object_370.finish(); diff --git a/sdk/appsync/src/json_ser.rs b/sdk/appsync/src/json_ser.rs index b028e1cd35d8..12ad87540c3d 100644 --- a/sdk/appsync/src/json_ser.rs +++ b/sdk/appsync/src/json_ser.rs @@ -62,6 +62,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object.key("description").string(var_5.as_str()); } if let Some(var_6) = &input.dynamodb_config { + #[allow(unused_mut)] let mut object_7 = object.key("dynamodbConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dynamodb_data_source_config( &mut object_7, @@ -70,6 +71,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object_7.finish(); } if let Some(var_8) = &input.elasticsearch_config { + #[allow(unused_mut)] let mut object_9 = object.key("elasticsearchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_data_source_config( &mut object_9, @@ -78,6 +80,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object_9.finish(); } if let Some(var_10) = &input.http_config { + #[allow(unused_mut)] let mut object_11 = object.key("httpConfig").start_object(); crate::json_ser::serialize_structure_crate_model_http_data_source_config( &mut object_11, @@ -86,6 +89,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object_11.finish(); } if let Some(var_12) = &input.lambda_config { + #[allow(unused_mut)] let mut object_13 = object.key("lambdaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_data_source_config( &mut object_13, @@ -97,6 +101,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object.key("name").string(var_14.as_str()); } if let Some(var_15) = &input.open_search_service_config { + #[allow(unused_mut)] let mut object_16 = object.key("openSearchServiceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_open_search_service_data_source_config( &mut object_16, @@ -105,6 +110,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object_16.finish(); } if let Some(var_17) = &input.relational_database_config { + #[allow(unused_mut)] let mut object_18 = object.key("relationalDatabaseConfig").start_object(); crate::json_ser::serialize_structure_crate_model_relational_database_data_source_config( &mut object_18, @@ -168,6 +174,7 @@ pub fn serialize_structure_crate_input_create_function_input( .string(var_29.as_str()); } if let Some(var_30) = &input.sync_config { + #[allow(unused_mut)] let mut object_31 = object.key("syncConfig").start_object(); crate::json_ser::serialize_structure_crate_model_sync_config(&mut object_31, var_30)?; object_31.finish(); @@ -185,6 +192,7 @@ pub fn serialize_structure_crate_input_create_graphql_api_input( .start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_additional_authentication_provider(&mut object_35, item_34)?; object_35.finish(); @@ -196,6 +204,7 @@ pub fn serialize_structure_crate_input_create_graphql_api_input( object.key("authenticationType").string(var_36.as_str()); } if let Some(var_37) = &input.lambda_authorizer_config { + #[allow(unused_mut)] let mut object_38 = object.key("lambdaAuthorizerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_authorizer_config( &mut object_38, @@ -204,6 +213,7 @@ pub fn serialize_structure_crate_input_create_graphql_api_input( object_38.finish(); } if let Some(var_39) = &input.log_config { + #[allow(unused_mut)] let mut object_40 = object.key("logConfig").start_object(); crate::json_ser::serialize_structure_crate_model_log_config(&mut object_40, var_39)?; object_40.finish(); @@ -212,6 +222,7 @@ pub fn serialize_structure_crate_input_create_graphql_api_input( object.key("name").string(var_41.as_str()); } if let Some(var_42) = &input.open_id_connect_config { + #[allow(unused_mut)] let mut object_43 = object.key("openIDConnectConfig").start_object(); crate::json_ser::serialize_structure_crate_model_open_id_connect_config( &mut object_43, @@ -220,6 +231,7 @@ pub fn serialize_structure_crate_input_create_graphql_api_input( object_43.finish(); } if let Some(var_44) = &input.tags { + #[allow(unused_mut)] let mut object_45 = object.key("tags").start_object(); for (key_46, value_47) in var_44 { { @@ -229,6 +241,7 @@ pub fn serialize_structure_crate_input_create_graphql_api_input( object_45.finish(); } if let Some(var_48) = &input.user_pool_config { + #[allow(unused_mut)] let mut object_49 = object.key("userPoolConfig").start_object(); crate::json_ser::serialize_structure_crate_model_user_pool_config(&mut object_49, var_48)?; object_49.finish(); @@ -244,6 +257,7 @@ pub fn serialize_structure_crate_input_create_resolver_input( input: &crate::input::CreateResolverInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_50) = &input.caching_config { + #[allow(unused_mut)] let mut object_51 = object.key("cachingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_caching_config(&mut object_51, var_50)?; object_51.finish(); @@ -264,6 +278,7 @@ pub fn serialize_structure_crate_input_create_resolver_input( ); } if let Some(var_55) = &input.pipeline_config { + #[allow(unused_mut)] let mut object_56 = object.key("pipelineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_config(&mut object_56, var_55)?; object_56.finish(); @@ -277,6 +292,7 @@ pub fn serialize_structure_crate_input_create_resolver_input( .string(var_58.as_str()); } if let Some(var_59) = &input.sync_config { + #[allow(unused_mut)] let mut object_60 = object.key("syncConfig").start_object(); crate::json_ser::serialize_structure_crate_model_sync_config(&mut object_60, var_59)?; object_60.finish(); @@ -327,6 +343,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.tags { + #[allow(unused_mut)] let mut object_67 = object.key("tags").start_object(); for (key_68, value_69) in var_66 { { @@ -381,6 +398,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object.key("description").string(var_73.as_str()); } if let Some(var_74) = &input.dynamodb_config { + #[allow(unused_mut)] let mut object_75 = object.key("dynamodbConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dynamodb_data_source_config( &mut object_75, @@ -389,6 +407,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_75.finish(); } if let Some(var_76) = &input.elasticsearch_config { + #[allow(unused_mut)] let mut object_77 = object.key("elasticsearchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_data_source_config( &mut object_77, @@ -397,6 +416,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_77.finish(); } if let Some(var_78) = &input.http_config { + #[allow(unused_mut)] let mut object_79 = object.key("httpConfig").start_object(); crate::json_ser::serialize_structure_crate_model_http_data_source_config( &mut object_79, @@ -405,6 +425,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_79.finish(); } if let Some(var_80) = &input.lambda_config { + #[allow(unused_mut)] let mut object_81 = object.key("lambdaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_data_source_config( &mut object_81, @@ -413,6 +434,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_81.finish(); } if let Some(var_82) = &input.open_search_service_config { + #[allow(unused_mut)] let mut object_83 = object.key("openSearchServiceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_open_search_service_data_source_config( &mut object_83, @@ -421,6 +443,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_83.finish(); } if let Some(var_84) = &input.relational_database_config { + #[allow(unused_mut)] let mut object_85 = object.key("relationalDatabaseConfig").start_object(); crate::json_ser::serialize_structure_crate_model_relational_database_data_source_config( &mut object_85, @@ -478,6 +501,7 @@ pub fn serialize_structure_crate_input_update_function_input( .string(var_94.as_str()); } if let Some(var_95) = &input.sync_config { + #[allow(unused_mut)] let mut object_96 = object.key("syncConfig").start_object(); crate::json_ser::serialize_structure_crate_model_sync_config(&mut object_96, var_95)?; object_96.finish(); @@ -495,6 +519,7 @@ pub fn serialize_structure_crate_input_update_graphql_api_input( .start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_additional_authentication_provider(&mut object_100, item_99)?; object_100.finish(); @@ -506,6 +531,7 @@ pub fn serialize_structure_crate_input_update_graphql_api_input( object.key("authenticationType").string(var_101.as_str()); } if let Some(var_102) = &input.lambda_authorizer_config { + #[allow(unused_mut)] let mut object_103 = object.key("lambdaAuthorizerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_authorizer_config( &mut object_103, @@ -514,6 +540,7 @@ pub fn serialize_structure_crate_input_update_graphql_api_input( object_103.finish(); } if let Some(var_104) = &input.log_config { + #[allow(unused_mut)] let mut object_105 = object.key("logConfig").start_object(); crate::json_ser::serialize_structure_crate_model_log_config(&mut object_105, var_104)?; object_105.finish(); @@ -522,6 +549,7 @@ pub fn serialize_structure_crate_input_update_graphql_api_input( object.key("name").string(var_106.as_str()); } if let Some(var_107) = &input.open_id_connect_config { + #[allow(unused_mut)] let mut object_108 = object.key("openIDConnectConfig").start_object(); crate::json_ser::serialize_structure_crate_model_open_id_connect_config( &mut object_108, @@ -530,6 +558,7 @@ pub fn serialize_structure_crate_input_update_graphql_api_input( object_108.finish(); } if let Some(var_109) = &input.user_pool_config { + #[allow(unused_mut)] let mut object_110 = object.key("userPoolConfig").start_object(); crate::json_ser::serialize_structure_crate_model_user_pool_config( &mut object_110, @@ -548,6 +577,7 @@ pub fn serialize_structure_crate_input_update_resolver_input( input: &crate::input::UpdateResolverInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_111) = &input.caching_config { + #[allow(unused_mut)] let mut object_112 = object.key("cachingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_caching_config(&mut object_112, var_111)?; object_112.finish(); @@ -565,6 +595,7 @@ pub fn serialize_structure_crate_input_update_resolver_input( ); } if let Some(var_115) = &input.pipeline_config { + #[allow(unused_mut)] let mut object_116 = object.key("pipelineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_config(&mut object_116, var_115)?; object_116.finish(); @@ -580,6 +611,7 @@ pub fn serialize_structure_crate_input_update_resolver_input( .string(var_118.as_str()); } if let Some(var_119) = &input.sync_config { + #[allow(unused_mut)] let mut object_120 = object.key("syncConfig").start_object(); crate::json_ser::serialize_structure_crate_model_sync_config(&mut object_120, var_119)?; object_120.finish(); @@ -616,6 +648,7 @@ pub fn serialize_structure_crate_model_dynamodb_data_source_config( .boolean(input.use_caller_credentials); } if let Some(var_125) = &input.delta_sync_config { + #[allow(unused_mut)] let mut object_126 = object.key("deltaSyncConfig").start_object(); crate::json_ser::serialize_structure_crate_model_delta_sync_config( &mut object_126, @@ -650,6 +683,7 @@ pub fn serialize_structure_crate_model_http_data_source_config( object.key("endpoint").string(var_129.as_str()); } if let Some(var_130) = &input.authorization_config { + #[allow(unused_mut)] let mut object_131 = object.key("authorizationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_authorization_config( &mut object_131, @@ -693,6 +727,7 @@ pub fn serialize_structure_crate_model_relational_database_data_source_config( .string(var_135.as_str()); } if let Some(var_136) = &input.rds_http_endpoint_config { + #[allow(unused_mut)] let mut object_137 = object.key("rdsHttpEndpointConfig").start_object(); crate::json_ser::serialize_structure_crate_model_rds_http_endpoint_config( &mut object_137, @@ -714,6 +749,7 @@ pub fn serialize_structure_crate_model_sync_config( object.key("conflictDetection").string(var_139.as_str()); } if let Some(var_140) = &input.lambda_conflict_handler_config { + #[allow(unused_mut)] let mut object_141 = object.key("lambdaConflictHandlerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_conflict_handler_config( &mut object_141, @@ -732,6 +768,7 @@ pub fn serialize_structure_crate_model_additional_authentication_provider( object.key("authenticationType").string(var_142.as_str()); } if let Some(var_143) = &input.open_id_connect_config { + #[allow(unused_mut)] let mut object_144 = object.key("openIDConnectConfig").start_object(); crate::json_ser::serialize_structure_crate_model_open_id_connect_config( &mut object_144, @@ -740,6 +777,7 @@ pub fn serialize_structure_crate_model_additional_authentication_provider( object_144.finish(); } if let Some(var_145) = &input.user_pool_config { + #[allow(unused_mut)] let mut object_146 = object.key("userPoolConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_user_pool_config( &mut object_146, @@ -748,6 +786,7 @@ pub fn serialize_structure_crate_model_additional_authentication_provider( object_146.finish(); } if let Some(var_147) = &input.lambda_authorizer_config { + #[allow(unused_mut)] let mut object_148 = object.key("lambdaAuthorizerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_authorizer_config( &mut object_148, @@ -909,6 +948,7 @@ pub fn serialize_structure_crate_model_authorization_config( object.key("authorizationType").string(var_166.as_str()); } if let Some(var_167) = &input.aws_iam_config { + #[allow(unused_mut)] let mut object_168 = object.key("awsIamConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_config(&mut object_168, var_167)?; object_168.finish(); diff --git a/sdk/athena/src/json_ser.rs b/sdk/athena/src/json_ser.rs index b1d3b56eff41..249e519e13c7 100644 --- a/sdk/athena/src/json_ser.rs +++ b/sdk/athena/src/json_ser.rs @@ -64,6 +64,7 @@ pub fn serialize_structure_crate_input_create_data_catalog_input( object.key("Description").string(var_13.as_str()); } if let Some(var_14) = &input.parameters { + #[allow(unused_mut)] let mut object_15 = object.key("Parameters").start_object(); for (key_16, value_17) in var_14 { { @@ -76,6 +77,7 @@ pub fn serialize_structure_crate_input_create_data_catalog_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -138,6 +140,7 @@ pub fn serialize_structure_crate_input_create_work_group_input( object.key("Name").string(var_32.as_str()); } if let Some(var_33) = &input.configuration { + #[allow(unused_mut)] let mut object_34 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_work_group_configuration( &mut object_34, @@ -152,6 +155,7 @@ pub fn serialize_structure_crate_input_create_work_group_input( let mut array_37 = object.key("Tags").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_39, item_38)?; object_39.finish(); @@ -498,6 +502,7 @@ pub fn serialize_structure_crate_input_start_query_execution_input( object.key("ClientRequestToken").string(var_88.as_str()); } if let Some(var_89) = &input.query_execution_context { + #[allow(unused_mut)] let mut object_90 = object.key("QueryExecutionContext").start_object(); crate::json_ser::serialize_structure_crate_model_query_execution_context( &mut object_90, @@ -506,6 +511,7 @@ pub fn serialize_structure_crate_input_start_query_execution_input( object_90.finish(); } if let Some(var_91) = &input.result_configuration { + #[allow(unused_mut)] let mut object_92 = object.key("ResultConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_result_configuration( &mut object_92, @@ -549,6 +555,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_100 = object.key("Tags").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_102, item_101)?; object_102.finish(); @@ -592,6 +599,7 @@ pub fn serialize_structure_crate_input_update_data_catalog_input( object.key("Description").string(var_109.as_str()); } if let Some(var_110) = &input.parameters { + #[allow(unused_mut)] let mut object_111 = object.key("Parameters").start_object(); for (key_112, value_113) in var_110 { { @@ -652,6 +660,7 @@ pub fn serialize_structure_crate_input_update_work_group_input( object.key("Description").string(var_123.as_str()); } if let Some(var_124) = &input.configuration_updates { + #[allow(unused_mut)] let mut object_125 = object.key("ConfigurationUpdates").start_object(); crate::json_ser::serialize_structure_crate_model_work_group_configuration_updates( &mut object_125, @@ -683,6 +692,7 @@ pub fn serialize_structure_crate_model_work_group_configuration( input: &crate::model::WorkGroupConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_129) = &input.result_configuration { + #[allow(unused_mut)] let mut object_130 = object.key("ResultConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_result_configuration( &mut object_130, @@ -710,6 +720,7 @@ pub fn serialize_structure_crate_model_work_group_configuration( object.key("RequesterPaysEnabled").boolean(*var_134); } if let Some(var_135) = &input.engine_version { + #[allow(unused_mut)] let mut object_136 = object.key("EngineVersion").start_object(); crate::json_ser::serialize_structure_crate_model_engine_version(&mut object_136, var_135)?; object_136.finish(); @@ -738,6 +749,7 @@ pub fn serialize_structure_crate_model_result_configuration( object.key("OutputLocation").string(var_139.as_str()); } if let Some(var_140) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_141 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_141, @@ -749,6 +761,7 @@ pub fn serialize_structure_crate_model_result_configuration( object.key("ExpectedBucketOwner").string(var_142.as_str()); } if let Some(var_143) = &input.acl_configuration { + #[allow(unused_mut)] let mut object_144 = object.key("AclConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_acl_configuration( &mut object_144, @@ -769,6 +782,7 @@ pub fn serialize_structure_crate_model_work_group_configuration_updates( .boolean(*var_145); } if let Some(var_146) = &input.result_configuration_updates { + #[allow(unused_mut)] let mut object_147 = object.key("ResultConfigurationUpdates").start_object(); crate::json_ser::serialize_structure_crate_model_result_configuration_updates( &mut object_147, @@ -796,6 +810,7 @@ pub fn serialize_structure_crate_model_work_group_configuration_updates( object.key("RequesterPaysEnabled").boolean(*var_151); } if let Some(var_152) = &input.engine_version { + #[allow(unused_mut)] let mut object_153 = object.key("EngineVersion").start_object(); crate::json_ser::serialize_structure_crate_model_engine_version(&mut object_153, var_152)?; object_153.finish(); @@ -852,6 +867,7 @@ pub fn serialize_structure_crate_model_result_configuration_updates( object.key("RemoveOutputLocation").boolean(*var_160); } if let Some(var_161) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_162 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_162, @@ -871,6 +887,7 @@ pub fn serialize_structure_crate_model_result_configuration_updates( object.key("RemoveExpectedBucketOwner").boolean(*var_165); } if let Some(var_166) = &input.acl_configuration { + #[allow(unused_mut)] let mut object_167 = object.key("AclConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_acl_configuration( &mut object_167, diff --git a/sdk/auditmanager/src/json_ser.rs b/sdk/auditmanager/src/json_ser.rs index ce1f39f51565..9844058730a3 100644 --- a/sdk/auditmanager/src/json_ser.rs +++ b/sdk/auditmanager/src/json_ser.rs @@ -36,6 +36,7 @@ pub fn serialize_structure_crate_input_batch_create_delegation_by_assessment_inp let mut array_7 = object.key("createDelegationRequests").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_delegation_request( &mut object_9, @@ -92,6 +93,7 @@ pub fn serialize_structure_crate_input_batch_import_evidence_to_assessment_contr let mut array_18 = object.key("manualEvidence").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_manual_evidence( &mut object_20, @@ -110,6 +112,7 @@ pub fn serialize_structure_crate_input_create_assessment_input( input: &crate::input::CreateAssessmentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_21) = &input.assessment_reports_destination { + #[allow(unused_mut)] let mut object_22 = object.key("assessmentReportsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_assessment_reports_destination( &mut object_22, @@ -130,6 +133,7 @@ pub fn serialize_structure_crate_input_create_assessment_input( let mut array_27 = object.key("roles").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_role(&mut object_29, item_28)?; object_29.finish(); @@ -138,11 +142,13 @@ pub fn serialize_structure_crate_input_create_assessment_input( array_27.finish(); } if let Some(var_30) = &input.scope { + #[allow(unused_mut)] let mut object_31 = object.key("scope").start_object(); crate::json_ser::serialize_structure_crate_model_scope(&mut object_31, var_30)?; object_31.finish(); } if let Some(var_32) = &input.tags { + #[allow(unused_mut)] let mut object_33 = object.key("tags").start_object(); for (key_34, value_35) in var_32 { { @@ -165,6 +171,7 @@ pub fn serialize_structure_crate_input_create_assessment_framework_input( let mut array_38 = object.key("controlSets").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_assessment_framework_control_set(&mut object_40, item_39)?; object_40.finish(); @@ -179,6 +186,7 @@ pub fn serialize_structure_crate_input_create_assessment_framework_input( object.key("name").string(var_42.as_str()); } if let Some(var_43) = &input.tags { + #[allow(unused_mut)] let mut object_44 = object.key("tags").start_object(); for (key_45, value_46) in var_43 { { @@ -217,6 +225,7 @@ pub fn serialize_structure_crate_input_create_control_input( let mut array_52 = object.key("controlMappingSources").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_control_mapping_source( &mut object_54, @@ -234,6 +243,7 @@ pub fn serialize_structure_crate_input_create_control_input( object.key("name").string(var_56.as_str()); } if let Some(var_57) = &input.tags { + #[allow(unused_mut)] let mut object_58 = object.key("tags").start_object(); for (key_59, value_60) in var_57 { { @@ -312,6 +322,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.tags { + #[allow(unused_mut)] let mut object_71 = object.key("tags").start_object(); for (key_72, value_73) in var_70 { { @@ -334,6 +345,7 @@ pub fn serialize_structure_crate_input_update_assessment_input( object.key("assessmentName").string(var_75.as_str()); } if let Some(var_76) = &input.assessment_reports_destination { + #[allow(unused_mut)] let mut object_77 = object.key("assessmentReportsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_assessment_reports_destination( &mut object_77, @@ -345,6 +357,7 @@ pub fn serialize_structure_crate_input_update_assessment_input( let mut array_79 = object.key("roles").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_role(&mut object_81, item_80)?; object_81.finish(); @@ -353,6 +366,7 @@ pub fn serialize_structure_crate_input_update_assessment_input( array_79.finish(); } if let Some(var_82) = &input.scope { + #[allow(unused_mut)] let mut object_83 = object.key("scope").start_object(); crate::json_ser::serialize_structure_crate_model_scope(&mut object_83, var_82)?; object_83.finish(); @@ -397,6 +411,7 @@ pub fn serialize_structure_crate_input_update_assessment_framework_input( let mut array_90 = object.key("controlSets").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_assessment_framework_control_set(&mut object_92, item_91)?; object_92.finish(); @@ -450,6 +465,7 @@ pub fn serialize_structure_crate_input_update_control_input( let mut array_101 = object.key("controlMappingSources").start_array(); for item_102 in var_100 { { + #[allow(unused_mut)] let mut object_103 = array_101.value().start_object(); crate::json_ser::serialize_structure_crate_model_control_mapping_source( &mut object_103, @@ -477,6 +493,7 @@ pub fn serialize_structure_crate_input_update_settings_input( input: &crate::input::UpdateSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_107) = &input.default_assessment_reports_destination { + #[allow(unused_mut)] let mut object_108 = object .key("defaultAssessmentReportsDestination") .start_object(); @@ -490,6 +507,7 @@ pub fn serialize_structure_crate_input_update_settings_input( let mut array_110 = object.key("defaultProcessOwners").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_role(&mut object_112, item_111)?; object_112.finish(); @@ -579,6 +597,7 @@ pub fn serialize_structure_crate_model_scope( let mut array_126 = object.key("awsAccounts").start_array(); for item_127 in var_125 { { + #[allow(unused_mut)] let mut object_128 = array_126.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_account( &mut object_128, @@ -593,6 +612,7 @@ pub fn serialize_structure_crate_model_scope( let mut array_130 = object.key("awsServices").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_service( &mut object_132, @@ -617,6 +637,7 @@ pub fn serialize_structure_crate_model_create_assessment_framework_control_set( let mut array_135 = object.key("controls").start_array(); for item_136 in var_134 { { + #[allow(unused_mut)] let mut object_137 = array_135.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_assessment_framework_control(&mut object_137, item_136)?; object_137.finish(); @@ -644,6 +665,7 @@ pub fn serialize_structure_crate_model_create_control_mapping_source( object.key("sourceType").string(var_141.as_str()); } if let Some(var_142) = &input.source_keyword { + #[allow(unused_mut)] let mut object_143 = object.key("sourceKeyword").start_object(); crate::json_ser::serialize_structure_crate_model_source_keyword(&mut object_143, var_142)?; object_143.finish(); @@ -671,6 +693,7 @@ pub fn serialize_structure_crate_model_update_assessment_framework_control_set( let mut array_149 = object.key("controls").start_array(); for item_150 in var_148 { { + #[allow(unused_mut)] let mut object_151 = array_149.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_assessment_framework_control(&mut object_151, item_150)?; object_151.finish(); @@ -701,6 +724,7 @@ pub fn serialize_structure_crate_model_control_mapping_source( object.key("sourceType").string(var_156.as_str()); } if let Some(var_157) = &input.source_keyword { + #[allow(unused_mut)] let mut object_158 = object.key("sourceKeyword").start_object(); crate::json_ser::serialize_structure_crate_model_source_keyword(&mut object_158, var_157)?; object_158.finish(); diff --git a/sdk/autoscalingplans/src/json_ser.rs b/sdk/autoscalingplans/src/json_ser.rs index 85cfe4e7db6b..781bc4f4a7a6 100644 --- a/sdk/autoscalingplans/src/json_ser.rs +++ b/sdk/autoscalingplans/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_scaling_plan_input( object.key("ScalingPlanName").string(var_1.as_str()); } if let Some(var_2) = &input.application_source { + #[allow(unused_mut)] let mut object_3 = object.key("ApplicationSource").start_object(); crate::json_ser::serialize_structure_crate_model_application_source(&mut object_3, var_2)?; object_3.finish(); @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_create_scaling_plan_input( let mut array_5 = object.key("ScalingInstructions").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_scaling_instruction( &mut object_7, @@ -92,6 +94,7 @@ pub fn serialize_structure_crate_input_describe_scaling_plans_input( let mut array_19 = object.key("ApplicationSources").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_application_source( &mut object_21, @@ -166,6 +169,7 @@ pub fn serialize_structure_crate_input_update_scaling_plan_input( ); } if let Some(var_34) = &input.application_source { + #[allow(unused_mut)] let mut object_35 = object.key("ApplicationSource").start_object(); crate::json_ser::serialize_structure_crate_model_application_source( &mut object_35, @@ -177,6 +181,7 @@ pub fn serialize_structure_crate_input_update_scaling_plan_input( let mut array_37 = object.key("ScalingInstructions").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_scaling_instruction( &mut object_39, @@ -201,6 +206,7 @@ pub fn serialize_structure_crate_model_application_source( let mut array_42 = object.key("TagFilters").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_44, @@ -243,6 +249,7 @@ pub fn serialize_structure_crate_model_scaling_instruction( let mut array_51 = object.key("TargetTrackingConfigurations").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_tracking_configuration( &mut object_53, @@ -254,6 +261,7 @@ pub fn serialize_structure_crate_model_scaling_instruction( array_51.finish(); } if let Some(var_54) = &input.predefined_load_metric_specification { + #[allow(unused_mut)] let mut object_55 = object .key("PredefinedLoadMetricSpecification") .start_object(); @@ -264,6 +272,7 @@ pub fn serialize_structure_crate_model_scaling_instruction( object_55.finish(); } if let Some(var_56) = &input.customized_load_metric_specification { + #[allow(unused_mut)] let mut object_57 = object .key("CustomizedLoadMetricSpecification") .start_object(); @@ -328,6 +337,7 @@ pub fn serialize_structure_crate_model_target_tracking_configuration( input: &crate::model::TargetTrackingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_68) = &input.predefined_scaling_metric_specification { + #[allow(unused_mut)] let mut object_69 = object .key("PredefinedScalingMetricSpecification") .start_object(); @@ -338,6 +348,7 @@ pub fn serialize_structure_crate_model_target_tracking_configuration( object_69.finish(); } if let Some(var_70) = &input.customized_scaling_metric_specification { + #[allow(unused_mut)] let mut object_71 = object .key("CustomizedScalingMetricSpecification") .start_object(); @@ -406,6 +417,7 @@ pub fn serialize_structure_crate_model_customized_load_metric_specification( let mut array_82 = object.key("Dimensions").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_84, @@ -454,6 +466,7 @@ pub fn serialize_structure_crate_model_customized_scaling_metric_specification( let mut array_92 = object.key("Dimensions").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_94, diff --git a/sdk/backup/src/json_ser.rs b/sdk/backup/src/json_ser.rs index 5013589cc5de..88a25253851d 100644 --- a/sdk/backup/src/json_ser.rs +++ b/sdk/backup/src/json_ser.rs @@ -4,11 +4,13 @@ pub fn serialize_structure_crate_input_create_backup_plan_input( input: &crate::input::CreateBackupPlanInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.backup_plan { + #[allow(unused_mut)] let mut object_2 = object.key("BackupPlan").start_object(); crate::json_ser::serialize_structure_crate_model_backup_plan_input(&mut object_2, var_1)?; object_2.finish(); } if let Some(var_3) = &input.backup_plan_tags { + #[allow(unused_mut)] let mut object_4 = object.key("BackupPlanTags").start_object(); for (key_5, value_6) in var_3 { { @@ -28,6 +30,7 @@ pub fn serialize_structure_crate_input_create_backup_selection_input( input: &crate::input::CreateBackupSelectionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_8) = &input.backup_selection { + #[allow(unused_mut)] let mut object_9 = object.key("BackupSelection").start_object(); crate::json_ser::serialize_structure_crate_model_backup_selection(&mut object_9, var_8)?; object_9.finish(); @@ -43,6 +46,7 @@ pub fn serialize_structure_crate_input_create_backup_vault_input( input: &crate::input::CreateBackupVaultInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.backup_vault_tags { + #[allow(unused_mut)] let mut object_12 = object.key("BackupVaultTags").start_object(); for (key_13, value_14) in var_11 { { @@ -68,6 +72,7 @@ pub fn serialize_structure_crate_input_create_framework_input( let mut array_18 = object.key("FrameworkControls").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_framework_control( &mut object_20, @@ -85,6 +90,7 @@ pub fn serialize_structure_crate_input_create_framework_input( object.key("FrameworkName").string(var_22.as_str()); } if let Some(var_23) = &input.framework_tags { + #[allow(unused_mut)] let mut object_24 = object.key("FrameworkTags").start_object(); for (key_25, value_26) in var_23 { { @@ -107,6 +113,7 @@ pub fn serialize_structure_crate_input_create_report_plan_input( object.key("IdempotencyToken").string(var_28.as_str()); } if let Some(var_29) = &input.report_delivery_channel { + #[allow(unused_mut)] let mut object_30 = object.key("ReportDeliveryChannel").start_object(); crate::json_ser::serialize_structure_crate_model_report_delivery_channel( &mut object_30, @@ -121,6 +128,7 @@ pub fn serialize_structure_crate_input_create_report_plan_input( object.key("ReportPlanName").string(var_32.as_str()); } if let Some(var_33) = &input.report_plan_tags { + #[allow(unused_mut)] let mut object_34 = object.key("ReportPlanTags").start_object(); for (key_35, value_36) in var_33 { { @@ -130,6 +138,7 @@ pub fn serialize_structure_crate_input_create_report_plan_input( object_34.finish(); } if let Some(var_37) = &input.report_setting { + #[allow(unused_mut)] let mut object_38 = object.key("ReportSetting").start_object(); crate::json_ser::serialize_structure_crate_model_report_setting(&mut object_38, var_37)?; object_38.finish(); @@ -206,6 +215,7 @@ pub fn serialize_structure_crate_input_start_backup_job_input( input: &crate::input::StartBackupJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_48) = &input.backup_options { + #[allow(unused_mut)] let mut object_49 = object.key("BackupOptions").start_object(); for (key_50, value_51) in var_48 { { @@ -230,11 +240,13 @@ pub fn serialize_structure_crate_input_start_backup_job_input( object.key("IdempotencyToken").string(var_55.as_str()); } if let Some(var_56) = &input.lifecycle { + #[allow(unused_mut)] let mut object_57 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle(&mut object_57, var_56)?; object_57.finish(); } if let Some(var_58) = &input.recovery_point_tags { + #[allow(unused_mut)] let mut object_59 = object.key("RecoveryPointTags").start_object(); for (key_60, value_61) in var_58 { { @@ -271,6 +283,7 @@ pub fn serialize_structure_crate_input_start_copy_job_input( object.key("IdempotencyToken").string(var_66.as_str()); } if let Some(var_67) = &input.lifecycle { + #[allow(unused_mut)] let mut object_68 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle(&mut object_68, var_67)?; object_68.finish(); @@ -305,6 +318,7 @@ pub fn serialize_structure_crate_input_start_restore_job_input( object.key("IdempotencyToken").string(var_73.as_str()); } if let Some(var_74) = &input.metadata { + #[allow(unused_mut)] let mut object_75 = object.key("Metadata").start_object(); for (key_76, value_77) in var_74 { { @@ -327,6 +341,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("Tags").start_object(); for (key_82, value_83) in var_80 { { @@ -359,6 +374,7 @@ pub fn serialize_structure_crate_input_update_backup_plan_input( input: &crate::input::UpdateBackupPlanInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_87) = &input.backup_plan { + #[allow(unused_mut)] let mut object_88 = object.key("BackupPlan").start_object(); crate::json_ser::serialize_structure_crate_model_backup_plan_input(&mut object_88, var_87)?; object_88.finish(); @@ -374,6 +390,7 @@ pub fn serialize_structure_crate_input_update_framework_input( let mut array_90 = object.key("FrameworkControls").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_framework_control( &mut object_92, @@ -398,6 +415,7 @@ pub fn serialize_structure_crate_input_update_global_settings_input( input: &crate::input::UpdateGlobalSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_95) = &input.global_settings { + #[allow(unused_mut)] let mut object_96 = object.key("GlobalSettings").start_object(); for (key_97, value_98) in var_95 { { @@ -414,6 +432,7 @@ pub fn serialize_structure_crate_input_update_recovery_point_lifecycle_input( input: &crate::input::UpdateRecoveryPointLifecycleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_99) = &input.lifecycle { + #[allow(unused_mut)] let mut object_100 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle(&mut object_100, var_99)?; object_100.finish(); @@ -426,6 +445,7 @@ pub fn serialize_structure_crate_input_update_region_settings_input( input: &crate::input::UpdateRegionSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_101) = &input.resource_type_management_preference { + #[allow(unused_mut)] let mut object_102 = object .key("ResourceTypeManagementPreference") .start_object(); @@ -437,6 +457,7 @@ pub fn serialize_structure_crate_input_update_region_settings_input( object_102.finish(); } if let Some(var_105) = &input.resource_type_opt_in_preference { + #[allow(unused_mut)] let mut object_106 = object.key("ResourceTypeOptInPreference").start_object(); for (key_107, value_108) in var_105 { { @@ -456,6 +477,7 @@ pub fn serialize_structure_crate_input_update_report_plan_input( object.key("IdempotencyToken").string(var_109.as_str()); } if let Some(var_110) = &input.report_delivery_channel { + #[allow(unused_mut)] let mut object_111 = object.key("ReportDeliveryChannel").start_object(); crate::json_ser::serialize_structure_crate_model_report_delivery_channel( &mut object_111, @@ -467,6 +489,7 @@ pub fn serialize_structure_crate_input_update_report_plan_input( object.key("ReportPlanDescription").string(var_112.as_str()); } if let Some(var_113) = &input.report_setting { + #[allow(unused_mut)] let mut object_114 = object.key("ReportSetting").start_object(); crate::json_ser::serialize_structure_crate_model_report_setting(&mut object_114, var_113)?; object_114.finish(); @@ -485,6 +508,7 @@ pub fn serialize_structure_crate_model_backup_plan_input( let mut array_117 = object.key("Rules").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_backup_rule_input( &mut object_119, @@ -499,6 +523,7 @@ pub fn serialize_structure_crate_model_backup_plan_input( let mut array_121 = object.key("AdvancedBackupSettings").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_advanced_backup_setting( &mut object_123, @@ -535,6 +560,7 @@ pub fn serialize_structure_crate_model_backup_selection( let mut array_130 = object.key("ListOfTags").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_132, @@ -555,6 +581,7 @@ pub fn serialize_structure_crate_model_backup_selection( array_134.finish(); } if let Some(var_136) = &input.conditions { + #[allow(unused_mut)] let mut object_137 = object.key("Conditions").start_object(); crate::json_ser::serialize_structure_crate_model_conditions(&mut object_137, var_136)?; object_137.finish(); @@ -573,6 +600,7 @@ pub fn serialize_structure_crate_model_framework_control( let mut array_140 = object.key("ControlInputParameters").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_control_input_parameter( &mut object_142, @@ -584,6 +612,7 @@ pub fn serialize_structure_crate_model_framework_control( array_140.finish(); } if let Some(var_143) = &input.control_scope { + #[allow(unused_mut)] let mut object_144 = object.key("ControlScope").start_object(); crate::json_ser::serialize_structure_crate_model_control_scope(&mut object_144, var_143)?; object_144.finish(); @@ -683,11 +712,13 @@ pub fn serialize_structure_crate_model_backup_rule_input( ); } if let Some(var_161) = &input.lifecycle { + #[allow(unused_mut)] let mut object_162 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle(&mut object_162, var_161)?; object_162.finish(); } if let Some(var_163) = &input.recovery_point_tags { + #[allow(unused_mut)] let mut object_164 = object.key("RecoveryPointTags").start_object(); for (key_165, value_166) in var_163 { { @@ -700,6 +731,7 @@ pub fn serialize_structure_crate_model_backup_rule_input( let mut array_168 = object.key("CopyActions").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_copy_action( &mut object_170, @@ -724,6 +756,7 @@ pub fn serialize_structure_crate_model_advanced_backup_setting( object.key("ResourceType").string(var_172.as_str()); } if let Some(var_173) = &input.backup_options { + #[allow(unused_mut)] let mut object_174 = object.key("BackupOptions").start_object(); for (key_175, value_176) in var_173 { { @@ -759,6 +792,7 @@ pub fn serialize_structure_crate_model_conditions( let mut array_181 = object.key("StringEquals").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition_parameter( &mut object_183, @@ -773,6 +807,7 @@ pub fn serialize_structure_crate_model_conditions( let mut array_185 = object.key("StringNotEquals").start_array(); for item_186 in var_184 { { + #[allow(unused_mut)] let mut object_187 = array_185.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition_parameter( &mut object_187, @@ -787,6 +822,7 @@ pub fn serialize_structure_crate_model_conditions( let mut array_189 = object.key("StringLike").start_array(); for item_190 in var_188 { { + #[allow(unused_mut)] let mut object_191 = array_189.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition_parameter( &mut object_191, @@ -801,6 +837,7 @@ pub fn serialize_structure_crate_model_conditions( let mut array_193 = object.key("StringNotLike").start_array(); for item_194 in var_192 { { + #[allow(unused_mut)] let mut object_195 = array_193.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition_parameter( &mut object_195, @@ -850,6 +887,7 @@ pub fn serialize_structure_crate_model_control_scope( array_202.finish(); } if let Some(var_204) = &input.tags { + #[allow(unused_mut)] let mut object_205 = object.key("Tags").start_object(); for (key_206, value_207) in var_204 { { @@ -866,6 +904,7 @@ pub fn serialize_structure_crate_model_copy_action( input: &crate::model::CopyAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_208) = &input.lifecycle { + #[allow(unused_mut)] let mut object_209 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle(&mut object_209, var_208)?; object_209.finish(); diff --git a/sdk/backupgateway/src/json_ser.rs b/sdk/backupgateway/src/json_ser.rs index 6410debe44b3..25b9e94ff4b7 100644 --- a/sdk/backupgateway/src/json_ser.rs +++ b/sdk/backupgateway/src/json_ser.rs @@ -29,6 +29,7 @@ pub fn serialize_structure_crate_input_create_gateway_input( let mut array_7 = object.key("Tags").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_9, item_8)?; object_9.finish(); @@ -112,6 +113,7 @@ pub fn serialize_structure_crate_input_import_hypervisor_configuration_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -228,6 +230,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_39 = object.key("Tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); diff --git a/sdk/batch/src/json_ser.rs b/sdk/batch/src/json_ser.rs index f4af047f8018..3744fae2eefb 100644 --- a/sdk/batch/src/json_ser.rs +++ b/sdk/batch/src/json_ser.rs @@ -20,6 +20,7 @@ pub fn serialize_structure_crate_input_create_compute_environment_input( object.key("computeEnvironmentName").string(var_3.as_str()); } if let Some(var_4) = &input.compute_resources { + #[allow(unused_mut)] let mut object_5 = object.key("computeResources").start_object(); crate::json_ser::serialize_structure_crate_model_compute_resource(&mut object_5, var_4)?; object_5.finish(); @@ -31,6 +32,7 @@ pub fn serialize_structure_crate_input_create_compute_environment_input( object.key("state").string(var_7.as_str()); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { @@ -59,6 +61,7 @@ pub fn serialize_structure_crate_input_create_job_queue_input( let mut array_15 = object.key("computeEnvironmentOrder").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_compute_environment_order( &mut object_17, @@ -85,6 +88,7 @@ pub fn serialize_structure_crate_input_create_job_queue_input( object.key("state").string(var_21.as_str()); } if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("tags").start_object(); for (key_24, value_25) in var_22 { { @@ -101,6 +105,7 @@ pub fn serialize_structure_crate_input_create_scheduling_policy_input( input: &crate::input::CreateSchedulingPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_26) = &input.fairshare_policy { + #[allow(unused_mut)] let mut object_27 = object.key("fairsharePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_fairshare_policy(&mut object_27, var_26)?; object_27.finish(); @@ -109,6 +114,7 @@ pub fn serialize_structure_crate_input_create_scheduling_policy_input( object.key("name").string(var_28.as_str()); } if let Some(var_29) = &input.tags { + #[allow(unused_mut)] let mut object_30 = object.key("tags").start_object(); for (key_31, value_32) in var_29 { { @@ -284,6 +290,7 @@ pub fn serialize_structure_crate_input_list_jobs_input( let mut array_62 = object.key("filters").start_array(); for item_63 in var_61 { { + #[allow(unused_mut)] let mut object_64 = array_62.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_values_pair( &mut object_64, @@ -336,6 +343,7 @@ pub fn serialize_structure_crate_input_register_job_definition_input( input: &crate::input::RegisterJobDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.container_properties { + #[allow(unused_mut)] let mut object_73 = object.key("containerProperties").start_object(); crate::json_ser::serialize_structure_crate_model_container_properties( &mut object_73, @@ -347,11 +355,13 @@ pub fn serialize_structure_crate_input_register_job_definition_input( object.key("jobDefinitionName").string(var_74.as_str()); } if let Some(var_75) = &input.node_properties { + #[allow(unused_mut)] let mut object_76 = object.key("nodeProperties").start_object(); crate::json_ser::serialize_structure_crate_model_node_properties(&mut object_76, var_75)?; object_76.finish(); } if let Some(var_77) = &input.parameters { + #[allow(unused_mut)] let mut object_78 = object.key("parameters").start_object(); for (key_79, value_80) in var_77 { { @@ -373,6 +383,7 @@ pub fn serialize_structure_crate_input_register_job_definition_input( object.key("propagateTags").boolean(*var_84); } if let Some(var_85) = &input.retry_strategy { + #[allow(unused_mut)] let mut object_86 = object.key("retryStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_retry_strategy(&mut object_86, var_85)?; object_86.finish(); @@ -384,6 +395,7 @@ pub fn serialize_structure_crate_input_register_job_definition_input( ); } if let Some(var_88) = &input.tags { + #[allow(unused_mut)] let mut object_89 = object.key("tags").start_object(); for (key_90, value_91) in var_88 { { @@ -393,6 +405,7 @@ pub fn serialize_structure_crate_input_register_job_definition_input( object_89.finish(); } if let Some(var_92) = &input.timeout { + #[allow(unused_mut)] let mut object_93 = object.key("timeout").start_object(); crate::json_ser::serialize_structure_crate_model_job_timeout(&mut object_93, var_92)?; object_93.finish(); @@ -408,11 +421,13 @@ pub fn serialize_structure_crate_input_submit_job_input( input: &crate::input::SubmitJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_95) = &input.array_properties { + #[allow(unused_mut)] let mut object_96 = object.key("arrayProperties").start_object(); crate::json_ser::serialize_structure_crate_model_array_properties(&mut object_96, var_95)?; object_96.finish(); } if let Some(var_97) = &input.container_overrides { + #[allow(unused_mut)] let mut object_98 = object.key("containerOverrides").start_object(); crate::json_ser::serialize_structure_crate_model_container_overrides( &mut object_98, @@ -424,6 +439,7 @@ pub fn serialize_structure_crate_input_submit_job_input( let mut array_100 = object.key("dependsOn").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_dependency( &mut object_102, @@ -444,11 +460,13 @@ pub fn serialize_structure_crate_input_submit_job_input( object.key("jobQueue").string(var_105.as_str()); } if let Some(var_106) = &input.node_overrides { + #[allow(unused_mut)] let mut object_107 = object.key("nodeOverrides").start_object(); crate::json_ser::serialize_structure_crate_model_node_overrides(&mut object_107, var_106)?; object_107.finish(); } if let Some(var_108) = &input.parameters { + #[allow(unused_mut)] let mut object_109 = object.key("parameters").start_object(); for (key_110, value_111) in var_108 { { @@ -461,6 +479,7 @@ pub fn serialize_structure_crate_input_submit_job_input( object.key("propagateTags").boolean(*var_112); } if let Some(var_113) = &input.retry_strategy { + #[allow(unused_mut)] let mut object_114 = object.key("retryStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_retry_strategy(&mut object_114, var_113)?; object_114.finish(); @@ -475,6 +494,7 @@ pub fn serialize_structure_crate_input_submit_job_input( object.key("shareIdentifier").string(var_116.as_str()); } if let Some(var_117) = &input.tags { + #[allow(unused_mut)] let mut object_118 = object.key("tags").start_object(); for (key_119, value_120) in var_117 { { @@ -484,6 +504,7 @@ pub fn serialize_structure_crate_input_submit_job_input( object_118.finish(); } if let Some(var_121) = &input.timeout { + #[allow(unused_mut)] let mut object_122 = object.key("timeout").start_object(); crate::json_ser::serialize_structure_crate_model_job_timeout(&mut object_122, var_121)?; object_122.finish(); @@ -496,6 +517,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_123) = &input.tags { + #[allow(unused_mut)] let mut object_124 = object.key("tags").start_object(); for (key_125, value_126) in var_123 { { @@ -528,6 +550,7 @@ pub fn serialize_structure_crate_input_update_compute_environment_input( object.key("computeEnvironment").string(var_129.as_str()); } if let Some(var_130) = &input.compute_resources { + #[allow(unused_mut)] let mut object_131 = object.key("computeResources").start_object(); crate::json_ser::serialize_structure_crate_model_compute_resource_update( &mut object_131, @@ -548,6 +571,7 @@ pub fn serialize_structure_crate_input_update_compute_environment_input( ); } if let Some(var_135) = &input.update_policy { + #[allow(unused_mut)] let mut object_136 = object.key("updatePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_update_policy(&mut object_136, var_135)?; object_136.finish(); @@ -563,6 +587,7 @@ pub fn serialize_structure_crate_input_update_job_queue_input( let mut array_138 = object.key("computeEnvironmentOrder").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_compute_environment_order( &mut object_140, @@ -599,6 +624,7 @@ pub fn serialize_structure_crate_input_update_scheduling_policy_input( object.key("arn").string(var_145.as_str()); } if let Some(var_146) = &input.fairshare_policy { + #[allow(unused_mut)] let mut object_147 = object.key("fairsharePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_fairshare_policy( &mut object_147, @@ -674,6 +700,7 @@ pub fn serialize_structure_crate_model_compute_resource( object.key("instanceRole").string(var_164.as_str()); } if let Some(var_165) = &input.tags { + #[allow(unused_mut)] let mut object_166 = object.key("tags").start_object(); for (key_167, value_168) in var_165 { { @@ -695,6 +722,7 @@ pub fn serialize_structure_crate_model_compute_resource( object.key("spotIamFleetRole").string(var_171.as_str()); } if let Some(var_172) = &input.launch_template { + #[allow(unused_mut)] let mut object_173 = object.key("launchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_launch_template_specification( &mut object_173, @@ -706,6 +734,7 @@ pub fn serialize_structure_crate_model_compute_resource( let mut array_175 = object.key("ec2Configuration").start_array(); for item_176 in var_174 { { + #[allow(unused_mut)] let mut object_177 = array_175.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_configuration( &mut object_177, @@ -755,6 +784,7 @@ pub fn serialize_structure_crate_model_fairshare_policy( let mut array_183 = object.key("shareDistribution").start_array(); for item_184 in var_182 { { + #[allow(unused_mut)] let mut object_185 = array_183.value().start_object(); crate::json_ser::serialize_structure_crate_model_share_attributes( &mut object_185, @@ -825,6 +855,7 @@ pub fn serialize_structure_crate_model_container_properties( let mut array_199 = object.key("volumes").start_array(); for item_200 in var_198 { { + #[allow(unused_mut)] let mut object_201 = array_199.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume(&mut object_201, item_200)?; object_201.finish(); @@ -836,6 +867,7 @@ pub fn serialize_structure_crate_model_container_properties( let mut array_203 = object.key("environment").start_array(); for item_204 in var_202 { { + #[allow(unused_mut)] let mut object_205 = array_203.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_value_pair( &mut object_205, @@ -850,6 +882,7 @@ pub fn serialize_structure_crate_model_container_properties( let mut array_207 = object.key("mountPoints").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_mount_point( &mut object_209, @@ -870,6 +903,7 @@ pub fn serialize_structure_crate_model_container_properties( let mut array_213 = object.key("ulimits").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_ulimit(&mut object_215, item_214)?; object_215.finish(); @@ -887,6 +921,7 @@ pub fn serialize_structure_crate_model_container_properties( let mut array_219 = object.key("resourceRequirements").start_array(); for item_220 in var_218 { { + #[allow(unused_mut)] let mut object_221 = array_219.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_requirement( &mut object_221, @@ -898,6 +933,7 @@ pub fn serialize_structure_crate_model_container_properties( array_219.finish(); } if let Some(var_222) = &input.linux_parameters { + #[allow(unused_mut)] let mut object_223 = object.key("linuxParameters").start_object(); crate::json_ser::serialize_structure_crate_model_linux_parameters( &mut object_223, @@ -906,6 +942,7 @@ pub fn serialize_structure_crate_model_container_properties( object_223.finish(); } if let Some(var_224) = &input.log_configuration { + #[allow(unused_mut)] let mut object_225 = object.key("logConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_log_configuration( &mut object_225, @@ -917,6 +954,7 @@ pub fn serialize_structure_crate_model_container_properties( let mut array_227 = object.key("secrets").start_array(); for item_228 in var_226 { { + #[allow(unused_mut)] let mut object_229 = array_227.value().start_object(); crate::json_ser::serialize_structure_crate_model_secret(&mut object_229, item_228)?; object_229.finish(); @@ -925,6 +963,7 @@ pub fn serialize_structure_crate_model_container_properties( array_227.finish(); } if let Some(var_230) = &input.network_configuration { + #[allow(unused_mut)] let mut object_231 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_231, @@ -933,6 +972,7 @@ pub fn serialize_structure_crate_model_container_properties( object_231.finish(); } if let Some(var_232) = &input.fargate_platform_configuration { + #[allow(unused_mut)] let mut object_233 = object.key("fargatePlatformConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_fargate_platform_configuration( &mut object_233, @@ -963,6 +1003,7 @@ pub fn serialize_structure_crate_model_node_properties( let mut array_237 = object.key("nodeRangeProperties").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_node_range_property( &mut object_239, @@ -990,6 +1031,7 @@ pub fn serialize_structure_crate_model_retry_strategy( let mut array_242 = object.key("evaluateOnExit").start_array(); for item_243 in var_241 { { + #[allow(unused_mut)] let mut object_244 = array_242.value().start_object(); crate::json_ser::serialize_structure_crate_model_evaluate_on_exit( &mut object_244, @@ -1061,6 +1103,7 @@ pub fn serialize_structure_crate_model_container_overrides( let mut array_254 = object.key("environment").start_array(); for item_255 in var_253 { { + #[allow(unused_mut)] let mut object_256 = array_254.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_value_pair( &mut object_256, @@ -1075,6 +1118,7 @@ pub fn serialize_structure_crate_model_container_overrides( let mut array_258 = object.key("resourceRequirements").start_array(); for item_259 in var_257 { { + #[allow(unused_mut)] let mut object_260 = array_258.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_requirement( &mut object_260, @@ -1115,6 +1159,7 @@ pub fn serialize_structure_crate_model_node_overrides( let mut array_265 = object.key("nodePropertyOverrides").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_node_property_override( &mut object_267, @@ -1187,6 +1232,7 @@ pub fn serialize_structure_crate_model_compute_resource_update( object.key("instanceRole").string(var_282.as_str()); } if let Some(var_283) = &input.tags { + #[allow(unused_mut)] let mut object_284 = object.key("tags").start_object(); for (key_285, value_286) in var_283 { { @@ -1205,6 +1251,7 @@ pub fn serialize_structure_crate_model_compute_resource_update( ); } if let Some(var_289) = &input.launch_template { + #[allow(unused_mut)] let mut object_290 = object.key("launchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_launch_template_specification( &mut object_290, @@ -1216,6 +1263,7 @@ pub fn serialize_structure_crate_model_compute_resource_update( let mut array_292 = object.key("ec2Configuration").start_array(); for item_293 in var_291 { { + #[allow(unused_mut)] let mut object_294 = array_292.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_configuration( &mut object_294, @@ -1304,6 +1352,7 @@ pub fn serialize_structure_crate_model_volume( input: &crate::model::Volume, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_306) = &input.host { + #[allow(unused_mut)] let mut object_307 = object.key("host").start_object(); crate::json_ser::serialize_structure_crate_model_host(&mut object_307, var_306)?; object_307.finish(); @@ -1312,6 +1361,7 @@ pub fn serialize_structure_crate_model_volume( object.key("name").string(var_308.as_str()); } if let Some(var_309) = &input.efs_volume_configuration { + #[allow(unused_mut)] let mut object_310 = object.key("efsVolumeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_efs_volume_configuration( &mut object_310, @@ -1394,6 +1444,7 @@ pub fn serialize_structure_crate_model_linux_parameters( let mut array_322 = object.key("devices").start_array(); for item_323 in var_321 { { + #[allow(unused_mut)] let mut object_324 = array_322.value().start_object(); crate::json_ser::serialize_structure_crate_model_device(&mut object_324, item_323)?; object_324.finish(); @@ -1414,6 +1465,7 @@ pub fn serialize_structure_crate_model_linux_parameters( let mut array_328 = object.key("tmpfs").start_array(); for item_329 in var_327 { { + #[allow(unused_mut)] let mut object_330 = array_328.value().start_object(); crate::json_ser::serialize_structure_crate_model_tmpfs(&mut object_330, item_329)?; object_330.finish(); @@ -1444,6 +1496,7 @@ pub fn serialize_structure_crate_model_log_configuration( object.key("logDriver").string(var_333.as_str()); } if let Some(var_334) = &input.options { + #[allow(unused_mut)] let mut object_335 = object.key("options").start_object(); for (key_336, value_337) in var_334 { { @@ -1456,6 +1509,7 @@ pub fn serialize_structure_crate_model_log_configuration( let mut array_339 = object.key("secretOptions").start_array(); for item_340 in var_338 { { + #[allow(unused_mut)] let mut object_341 = array_339.value().start_object(); crate::json_ser::serialize_structure_crate_model_secret(&mut object_341, item_340)?; object_341.finish(); @@ -1507,6 +1561,7 @@ pub fn serialize_structure_crate_model_node_range_property( object.key("targetNodes").string(var_346.as_str()); } if let Some(var_347) = &input.container { + #[allow(unused_mut)] let mut object_348 = object.key("container").start_object(); crate::json_ser::serialize_structure_crate_model_container_properties( &mut object_348, @@ -1544,6 +1599,7 @@ pub fn serialize_structure_crate_model_node_property_override( object.key("targetNodes").string(var_353.as_str()); } if let Some(var_354) = &input.container_overrides { + #[allow(unused_mut)] let mut object_355 = object.key("containerOverrides").start_object(); crate::json_ser::serialize_structure_crate_model_container_overrides( &mut object_355, @@ -1584,6 +1640,7 @@ pub fn serialize_structure_crate_model_efs_volume_configuration( ); } if let Some(var_361) = &input.authorization_config { + #[allow(unused_mut)] let mut object_362 = object.key("authorizationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_efs_authorization_config( &mut object_362, diff --git a/sdk/billingconductor/src/json_ser.rs b/sdk/billingconductor/src/json_ser.rs index 94010f86cac9..3013ede1f098 100644 --- a/sdk/billingconductor/src/json_ser.rs +++ b/sdk/billingconductor/src/json_ser.rs @@ -42,6 +42,7 @@ pub fn serialize_structure_crate_input_batch_associate_resources_to_custom_line_ input: &crate::input::BatchAssociateResourcesToCustomLineItemInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_9) = &input.billing_period_range { + #[allow(unused_mut)] let mut object_10 = object.key("BillingPeriodRange").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_billing_period_range( &mut object_10, @@ -69,6 +70,7 @@ pub fn serialize_structure_crate_input_batch_disassociate_resources_from_custom_ input: &crate::input::BatchDisassociateResourcesFromCustomLineItemInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.billing_period_range { + #[allow(unused_mut)] let mut object_16 = object.key("BillingPeriodRange").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_billing_period_range( &mut object_16, @@ -96,11 +98,13 @@ pub fn serialize_structure_crate_input_create_billing_group_input( input: &crate::input::CreateBillingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_21) = &input.account_grouping { + #[allow(unused_mut)] let mut object_22 = object.key("AccountGrouping").start_object(); crate::json_ser::serialize_structure_crate_model_account_grouping(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.computation_preference { + #[allow(unused_mut)] let mut object_24 = object.key("ComputationPreference").start_object(); crate::json_ser::serialize_structure_crate_model_computation_preference( &mut object_24, @@ -118,6 +122,7 @@ pub fn serialize_structure_crate_input_create_billing_group_input( object.key("PrimaryAccountId").string(var_27.as_str()); } if let Some(var_28) = &input.tags { + #[allow(unused_mut)] let mut object_29 = object.key("Tags").start_object(); for (key_30, value_31) in var_28 { { @@ -137,6 +142,7 @@ pub fn serialize_structure_crate_input_create_custom_line_item_input( object.key("BillingGroupArn").string(var_32.as_str()); } if let Some(var_33) = &input.billing_period_range { + #[allow(unused_mut)] let mut object_34 = object.key("BillingPeriodRange").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_billing_period_range( &mut object_34, @@ -145,6 +151,7 @@ pub fn serialize_structure_crate_input_create_custom_line_item_input( object_34.finish(); } if let Some(var_35) = &input.charge_details { + #[allow(unused_mut)] let mut object_36 = object.key("ChargeDetails").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_charge_details( &mut object_36, @@ -159,6 +166,7 @@ pub fn serialize_structure_crate_input_create_custom_line_item_input( object.key("Name").string(var_38.as_str()); } if let Some(var_39) = &input.tags { + #[allow(unused_mut)] let mut object_40 = object.key("Tags").start_object(); for (key_41, value_42) in var_39 { { @@ -190,6 +198,7 @@ pub fn serialize_structure_crate_input_create_pricing_plan_input( array_46.finish(); } if let Some(var_48) = &input.tags { + #[allow(unused_mut)] let mut object_49 = object.key("Tags").start_object(); for (key_50, value_51) in var_48 { { @@ -224,6 +233,7 @@ pub fn serialize_structure_crate_input_create_pricing_rule_input( object.key("Service").string(var_56.as_str()); } if let Some(var_57) = &input.tags { + #[allow(unused_mut)] let mut object_58 = object.key("Tags").start_object(); for (key_59, value_60) in var_57 { { @@ -256,6 +266,7 @@ pub fn serialize_structure_crate_input_delete_custom_line_item_input( object.key("Arn").string(var_63.as_str()); } if let Some(var_64) = &input.billing_period_range { + #[allow(unused_mut)] let mut object_65 = object.key("BillingPeriodRange").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_billing_period_range( &mut object_65, @@ -332,6 +343,7 @@ pub fn serialize_structure_crate_input_list_account_associations_input( object.key("BillingPeriod").string(var_76.as_str()); } if let Some(var_77) = &input.filters { + #[allow(unused_mut)] let mut object_78 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_account_associations_filter( &mut object_78, @@ -353,6 +365,7 @@ pub fn serialize_structure_crate_input_list_billing_group_cost_reports_input( object.key("BillingPeriod").string(var_80.as_str()); } if let Some(var_81) = &input.filters { + #[allow(unused_mut)] let mut object_82 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_billing_group_cost_reports_filter( &mut object_82, @@ -380,6 +393,7 @@ pub fn serialize_structure_crate_input_list_billing_groups_input( object.key("BillingPeriod").string(var_85.as_str()); } if let Some(var_86) = &input.filters { + #[allow(unused_mut)] let mut object_87 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_billing_groups_filter( &mut object_87, @@ -407,6 +421,7 @@ pub fn serialize_structure_crate_input_list_custom_line_items_input( object.key("BillingPeriod").string(var_90.as_str()); } if let Some(var_91) = &input.filters { + #[allow(unused_mut)] let mut object_92 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_custom_line_items_filter( &mut object_92, @@ -434,6 +449,7 @@ pub fn serialize_structure_crate_input_list_pricing_plans_input( object.key("BillingPeriod").string(var_95.as_str()); } if let Some(var_96) = &input.filters { + #[allow(unused_mut)] let mut object_97 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_pricing_plans_filter( &mut object_97, @@ -483,6 +499,7 @@ pub fn serialize_structure_crate_input_list_pricing_rules_input( object.key("BillingPeriod").string(var_104.as_str()); } if let Some(var_105) = &input.filters { + #[allow(unused_mut)] let mut object_106 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_pricing_rules_filter( &mut object_106, @@ -535,6 +552,7 @@ pub fn serialize_structure_crate_input_list_resources_associated_to_custom_line_ object.key("BillingPeriod").string(var_114.as_str()); } if let Some(var_115) = &input.filters { + #[allow(unused_mut)] let mut object_116 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_resources_associated_to_custom_line_item_filter(&mut object_116, var_115)?; object_116.finish(); @@ -556,6 +574,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_119) = &input.tags { + #[allow(unused_mut)] let mut object_120 = object.key("Tags").start_object(); for (key_121, value_122) in var_119 { { @@ -575,6 +594,7 @@ pub fn serialize_structure_crate_input_update_billing_group_input( object.key("Arn").string(var_123.as_str()); } if let Some(var_124) = &input.computation_preference { + #[allow(unused_mut)] let mut object_125 = object.key("ComputationPreference").start_object(); crate::json_ser::serialize_structure_crate_model_computation_preference( &mut object_125, @@ -602,6 +622,7 @@ pub fn serialize_structure_crate_input_update_custom_line_item_input( object.key("Arn").string(var_129.as_str()); } if let Some(var_130) = &input.billing_period_range { + #[allow(unused_mut)] let mut object_131 = object.key("BillingPeriodRange").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_billing_period_range( &mut object_131, @@ -610,6 +631,7 @@ pub fn serialize_structure_crate_input_update_custom_line_item_input( object_131.finish(); } if let Some(var_132) = &input.charge_details { + #[allow(unused_mut)] let mut object_133 = object.key("ChargeDetails").start_object(); crate::json_ser::serialize_structure_crate_model_update_custom_line_item_charge_details( &mut object_133, @@ -715,6 +737,7 @@ pub fn serialize_structure_crate_model_custom_line_item_charge_details( input: &crate::model::CustomLineItemChargeDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_150) = &input.flat { + #[allow(unused_mut)] let mut object_151 = object.key("Flat").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_flat_charge_details( &mut object_151, @@ -723,6 +746,7 @@ pub fn serialize_structure_crate_model_custom_line_item_charge_details( object_151.finish(); } if let Some(var_152) = &input.percentage { + #[allow(unused_mut)] let mut object_153 = object.key("Percentage").start_object(); crate::json_ser::serialize_structure_crate_model_custom_line_item_percentage_charge_details(&mut object_153, var_152)?; object_153.finish(); @@ -862,11 +886,13 @@ pub fn serialize_structure_crate_model_update_custom_line_item_charge_details( input: &crate::model::UpdateCustomLineItemChargeDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_180) = &input.flat { + #[allow(unused_mut)] let mut object_181 = object.key("Flat").start_object(); crate::json_ser::serialize_structure_crate_model_update_custom_line_item_flat_charge_details(&mut object_181, var_180)?; object_181.finish(); } if let Some(var_182) = &input.percentage { + #[allow(unused_mut)] let mut object_183 = object.key("Percentage").start_object(); crate::json_ser::serialize_structure_crate_model_update_custom_line_item_percentage_charge_details(&mut object_183, var_182)?; object_183.finish(); diff --git a/sdk/braket/src/json_ser.rs b/sdk/braket/src/json_ser.rs index 719feff57e6c..4b6dcede1cbf 100644 --- a/sdk/braket/src/json_ser.rs +++ b/sdk/braket/src/json_ser.rs @@ -14,6 +14,7 @@ pub fn serialize_structure_crate_input_create_job_input( input: &crate::input::CreateJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.algorithm_specification { + #[allow(unused_mut)] let mut object_3 = object.key("algorithmSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_algorithm_specification( &mut object_3, @@ -22,6 +23,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_3.finish(); } if let Some(var_4) = &input.checkpoint_config { + #[allow(unused_mut)] let mut object_5 = object.key("checkpointConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_checkpoint_config( &mut object_5, @@ -33,11 +35,13 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("clientToken").string(var_6.as_str()); } if let Some(var_7) = &input.device_config { + #[allow(unused_mut)] let mut object_8 = object.key("deviceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_device_config(&mut object_8, var_7)?; object_8.finish(); } if let Some(var_9) = &input.hyper_parameters { + #[allow(unused_mut)] let mut object_10 = object.key("hyperParameters").start_object(); for (key_11, value_12) in var_9 { { @@ -50,6 +54,7 @@ pub fn serialize_structure_crate_input_create_job_input( let mut array_14 = object.key("inputDataConfig").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_file_config( &mut object_16, @@ -61,6 +66,7 @@ pub fn serialize_structure_crate_input_create_job_input( array_14.finish(); } if let Some(var_17) = &input.instance_config { + #[allow(unused_mut)] let mut object_18 = object.key("instanceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_instance_config(&mut object_18, var_17)?; object_18.finish(); @@ -69,6 +75,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("jobName").string(var_19.as_str()); } if let Some(var_20) = &input.output_data_config { + #[allow(unused_mut)] let mut object_21 = object.key("outputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_output_data_config( &mut object_21, @@ -80,6 +87,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("roleArn").string(var_22.as_str()); } if let Some(var_23) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_24 = object.key("stoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_job_stopping_condition( &mut object_24, @@ -88,6 +96,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_24.finish(); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -131,6 +140,7 @@ pub fn serialize_structure_crate_input_create_quantum_task_input( ); } if let Some(var_37) = &input.tags { + #[allow(unused_mut)] let mut object_38 = object.key("tags").start_object(); for (key_39, value_40) in var_37 { { @@ -150,6 +160,7 @@ pub fn serialize_structure_crate_input_search_devices_input( let mut array_42 = object.key("filters").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_devices_filter( &mut object_44, @@ -180,6 +191,7 @@ pub fn serialize_structure_crate_input_search_jobs_input( let mut array_48 = object.key("filters").start_array(); for item_49 in var_47 { { + #[allow(unused_mut)] let mut object_50 = array_48.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_jobs_filter( &mut object_50, @@ -210,6 +222,7 @@ pub fn serialize_structure_crate_input_search_quantum_tasks_input( let mut array_54 = object.key("filters").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_quantum_tasks_filter( &mut object_56, @@ -237,6 +250,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_59) = &input.tags { + #[allow(unused_mut)] let mut object_60 = object.key("tags").start_object(); for (key_61, value_62) in var_59 { { @@ -253,6 +267,7 @@ pub fn serialize_structure_crate_model_algorithm_specification( input: &crate::model::AlgorithmSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.script_mode_config { + #[allow(unused_mut)] let mut object_64 = object.key("scriptModeConfig").start_object(); crate::json_ser::serialize_structure_crate_model_script_mode_config( &mut object_64, @@ -261,6 +276,7 @@ pub fn serialize_structure_crate_model_algorithm_specification( object_64.finish(); } if let Some(var_65) = &input.container_image { + #[allow(unused_mut)] let mut object_66 = object.key("containerImage").start_object(); crate::json_ser::serialize_structure_crate_model_container_image(&mut object_66, var_65)?; object_66.finish(); @@ -302,6 +318,7 @@ pub fn serialize_structure_crate_model_input_file_config( object.key("contentType").string(var_71.as_str()); } if let Some(var_72) = &input.data_source { + #[allow(unused_mut)] let mut object_73 = object.key("dataSource").start_object(); crate::json_ser::serialize_structure_crate_model_data_source(&mut object_73, var_72)?; object_73.finish(); @@ -451,6 +468,7 @@ pub fn serialize_structure_crate_model_data_source( input: &crate::model::DataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_98) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_99 = object.key("s3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_source(&mut object_99, var_98)?; object_99.finish(); diff --git a/sdk/budgets/src/json_ser.rs b/sdk/budgets/src/json_ser.rs index f92321132177..7f0a394b9cca 100644 --- a/sdk/budgets/src/json_ser.rs +++ b/sdk/budgets/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_budget_input( object.key("AccountId").string(var_1.as_str()); } if let Some(var_2) = &input.budget { + #[allow(unused_mut)] let mut object_3 = object.key("Budget").start_object(); crate::json_ser::serialize_structure_crate_model_budget(&mut object_3, var_2)?; object_3.finish(); @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_create_budget_input( let mut array_5 = object.key("NotificationsWithSubscribers").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_notification_with_subscribers( &mut object_7, @@ -45,11 +47,13 @@ pub fn serialize_structure_crate_input_create_budget_action_input( object.key("ActionType").string(var_11.as_str()); } if let Some(var_12) = &input.action_threshold { + #[allow(unused_mut)] let mut object_13 = object.key("ActionThreshold").start_object(); crate::json_ser::serialize_structure_crate_model_action_threshold(&mut object_13, var_12)?; object_13.finish(); } if let Some(var_14) = &input.definition { + #[allow(unused_mut)] let mut object_15 = object.key("Definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition(&mut object_15, var_14)?; object_15.finish(); @@ -64,6 +68,7 @@ pub fn serialize_structure_crate_input_create_budget_action_input( let mut array_19 = object.key("Subscribers").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscriber( &mut object_21, @@ -88,6 +93,7 @@ pub fn serialize_structure_crate_input_create_notification_input( object.key("BudgetName").string(var_23.as_str()); } if let Some(var_24) = &input.notification { + #[allow(unused_mut)] let mut object_25 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_25, var_24)?; object_25.finish(); @@ -96,6 +102,7 @@ pub fn serialize_structure_crate_input_create_notification_input( let mut array_27 = object.key("Subscribers").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscriber( &mut object_29, @@ -120,11 +127,13 @@ pub fn serialize_structure_crate_input_create_subscriber_input( object.key("BudgetName").string(var_31.as_str()); } if let Some(var_32) = &input.notification { + #[allow(unused_mut)] let mut object_33 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_33, var_32)?; object_33.finish(); } if let Some(var_34) = &input.subscriber { + #[allow(unused_mut)] let mut object_35 = object.key("Subscriber").start_object(); crate::json_ser::serialize_structure_crate_model_subscriber(&mut object_35, var_34)?; object_35.finish(); @@ -172,6 +181,7 @@ pub fn serialize_structure_crate_input_delete_notification_input( object.key("BudgetName").string(var_42.as_str()); } if let Some(var_43) = &input.notification { + #[allow(unused_mut)] let mut object_44 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_44, var_43)?; object_44.finish(); @@ -190,11 +200,13 @@ pub fn serialize_structure_crate_input_delete_subscriber_input( object.key("BudgetName").string(var_46.as_str()); } if let Some(var_47) = &input.notification { + #[allow(unused_mut)] let mut object_48 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_48, var_47)?; object_48.finish(); } if let Some(var_49) = &input.subscriber { + #[allow(unused_mut)] let mut object_50 = object.key("Subscriber").start_object(); crate::json_ser::serialize_structure_crate_model_subscriber(&mut object_50, var_49)?; object_50.finish(); @@ -245,6 +257,7 @@ pub fn serialize_structure_crate_input_describe_budget_action_histories_input( object.key("ActionId").string(var_58.as_str()); } if let Some(var_59) = &input.time_period { + #[allow(unused_mut)] let mut object_60 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_time_period(&mut object_60, var_59)?; object_60.finish(); @@ -332,6 +345,7 @@ pub fn serialize_structure_crate_input_describe_budget_performance_history_input object.key("BudgetName").string(var_74.as_str()); } if let Some(var_75) = &input.time_period { + #[allow(unused_mut)] let mut object_76 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_time_period(&mut object_76, var_75)?; object_76.finish(); @@ -400,6 +414,7 @@ pub fn serialize_structure_crate_input_describe_subscribers_for_notification_inp object.key("BudgetName").string(var_87.as_str()); } if let Some(var_88) = &input.notification { + #[allow(unused_mut)] let mut object_89 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_89, var_88)?; object_89.finish(); @@ -443,6 +458,7 @@ pub fn serialize_structure_crate_input_update_budget_input( object.key("AccountId").string(var_96.as_str()); } if let Some(var_97) = &input.new_budget { + #[allow(unused_mut)] let mut object_98 = object.key("NewBudget").start_object(); crate::json_ser::serialize_structure_crate_model_budget(&mut object_98, var_97)?; object_98.finish(); @@ -467,6 +483,7 @@ pub fn serialize_structure_crate_input_update_budget_action_input( object.key("NotificationType").string(var_102.as_str()); } if let Some(var_103) = &input.action_threshold { + #[allow(unused_mut)] let mut object_104 = object.key("ActionThreshold").start_object(); crate::json_ser::serialize_structure_crate_model_action_threshold( &mut object_104, @@ -475,6 +492,7 @@ pub fn serialize_structure_crate_input_update_budget_action_input( object_104.finish(); } if let Some(var_105) = &input.definition { + #[allow(unused_mut)] let mut object_106 = object.key("Definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition(&mut object_106, var_105)?; object_106.finish(); @@ -489,6 +507,7 @@ pub fn serialize_structure_crate_input_update_budget_action_input( let mut array_110 = object.key("Subscribers").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscriber( &mut object_112, @@ -513,11 +532,13 @@ pub fn serialize_structure_crate_input_update_notification_input( object.key("BudgetName").string(var_114.as_str()); } if let Some(var_115) = &input.old_notification { + #[allow(unused_mut)] let mut object_116 = object.key("OldNotification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_116, var_115)?; object_116.finish(); } if let Some(var_117) = &input.new_notification { + #[allow(unused_mut)] let mut object_118 = object.key("NewNotification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_118, var_117)?; object_118.finish(); @@ -536,16 +557,19 @@ pub fn serialize_structure_crate_input_update_subscriber_input( object.key("BudgetName").string(var_120.as_str()); } if let Some(var_121) = &input.notification { + #[allow(unused_mut)] let mut object_122 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_122, var_121)?; object_122.finish(); } if let Some(var_123) = &input.old_subscriber { + #[allow(unused_mut)] let mut object_124 = object.key("OldSubscriber").start_object(); crate::json_ser::serialize_structure_crate_model_subscriber(&mut object_124, var_123)?; object_124.finish(); } if let Some(var_125) = &input.new_subscriber { + #[allow(unused_mut)] let mut object_126 = object.key("NewSubscriber").start_object(); crate::json_ser::serialize_structure_crate_model_subscriber(&mut object_126, var_125)?; object_126.finish(); @@ -561,14 +585,17 @@ pub fn serialize_structure_crate_model_budget( object.key("BudgetName").string(var_127.as_str()); } if let Some(var_128) = &input.budget_limit { + #[allow(unused_mut)] let mut object_129 = object.key("BudgetLimit").start_object(); crate::json_ser::serialize_structure_crate_model_spend(&mut object_129, var_128)?; object_129.finish(); } if let Some(var_130) = &input.planned_budget_limits { + #[allow(unused_mut)] let mut object_131 = object.key("PlannedBudgetLimits").start_object(); for (key_132, value_133) in var_130 { { + #[allow(unused_mut)] let mut object_134 = object_131.key(key_132.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_spend(&mut object_134, value_133)?; object_134.finish(); @@ -577,6 +604,7 @@ pub fn serialize_structure_crate_model_budget( object_131.finish(); } if let Some(var_135) = &input.cost_filters { + #[allow(unused_mut)] let mut object_136 = object.key("CostFilters").start_object(); for (key_137, value_138) in var_135 { { @@ -592,6 +620,7 @@ pub fn serialize_structure_crate_model_budget( object_136.finish(); } if let Some(var_141) = &input.cost_types { + #[allow(unused_mut)] let mut object_142 = object.key("CostTypes").start_object(); crate::json_ser::serialize_structure_crate_model_cost_types(&mut object_142, var_141)?; object_142.finish(); @@ -600,11 +629,13 @@ pub fn serialize_structure_crate_model_budget( object.key("TimeUnit").string(var_143.as_str()); } if let Some(var_144) = &input.time_period { + #[allow(unused_mut)] let mut object_145 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_time_period(&mut object_145, var_144)?; object_145.finish(); } if let Some(var_146) = &input.calculated_spend { + #[allow(unused_mut)] let mut object_147 = object.key("CalculatedSpend").start_object(); crate::json_ser::serialize_structure_crate_model_calculated_spend( &mut object_147, @@ -621,6 +652,7 @@ pub fn serialize_structure_crate_model_budget( .date_time(var_149, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_150) = &input.auto_adjust_data { + #[allow(unused_mut)] let mut object_151 = object.key("AutoAdjustData").start_object(); crate::json_ser::serialize_structure_crate_model_auto_adjust_data( &mut object_151, @@ -636,6 +668,7 @@ pub fn serialize_structure_crate_model_notification_with_subscribers( input: &crate::model::NotificationWithSubscribers, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_152) = &input.notification { + #[allow(unused_mut)] let mut object_153 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_153, var_152)?; object_153.finish(); @@ -644,6 +677,7 @@ pub fn serialize_structure_crate_model_notification_with_subscribers( let mut array_155 = object.key("Subscribers").start_array(); for item_156 in var_154 { { + #[allow(unused_mut)] let mut object_157 = array_155.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscriber( &mut object_157, @@ -678,6 +712,7 @@ pub fn serialize_structure_crate_model_definition( input: &crate::model::Definition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_159) = &input.iam_action_definition { + #[allow(unused_mut)] let mut object_160 = object.key("IamActionDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_iam_action_definition( &mut object_160, @@ -686,6 +721,7 @@ pub fn serialize_structure_crate_model_definition( object_160.finish(); } if let Some(var_161) = &input.scp_action_definition { + #[allow(unused_mut)] let mut object_162 = object.key("ScpActionDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_scp_action_definition( &mut object_162, @@ -694,6 +730,7 @@ pub fn serialize_structure_crate_model_definition( object_162.finish(); } if let Some(var_163) = &input.ssm_action_definition { + #[allow(unused_mut)] let mut object_164 = object.key("SsmActionDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_ssm_action_definition( &mut object_164, @@ -817,11 +854,13 @@ pub fn serialize_structure_crate_model_calculated_spend( input: &crate::model::CalculatedSpend, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_186) = &input.actual_spend { + #[allow(unused_mut)] let mut object_187 = object.key("ActualSpend").start_object(); crate::json_ser::serialize_structure_crate_model_spend(&mut object_187, var_186)?; object_187.finish(); } if let Some(var_188) = &input.forecasted_spend { + #[allow(unused_mut)] let mut object_189 = object.key("ForecastedSpend").start_object(); crate::json_ser::serialize_structure_crate_model_spend(&mut object_189, var_188)?; object_189.finish(); @@ -837,6 +876,7 @@ pub fn serialize_structure_crate_model_auto_adjust_data( object.key("AutoAdjustType").string(var_190.as_str()); } if let Some(var_191) = &input.historical_options { + #[allow(unused_mut)] let mut object_192 = object.key("HistoricalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_historical_options( &mut object_192, diff --git a/sdk/chime/src/json_ser.rs b/sdk/chime/src/json_ser.rs index c79a65200920..0922aeb649dc 100644 --- a/sdk/chime/src/json_ser.rs +++ b/sdk/chime/src/json_ser.rs @@ -55,6 +55,7 @@ pub fn serialize_structure_crate_input_associate_signin_delegate_groups_with_acc let mut array_11 = object.key("SigninDelegateGroups").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_signin_delegate_group( &mut object_13, @@ -76,6 +77,7 @@ pub fn serialize_structure_crate_input_batch_create_attendee_input( let mut array_15 = object.key("Attendees").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_attendee_request_item( &mut object_17, @@ -116,6 +118,7 @@ pub fn serialize_structure_crate_input_batch_create_room_membership_input( let mut array_23 = object.key("MembershipItemList").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_membership_item( &mut object_25, @@ -185,6 +188,7 @@ pub fn serialize_structure_crate_input_batch_update_phone_number_input( let mut array_36 = object.key("UpdatePhoneNumberRequestItems").start_array(); for item_37 in var_35 { { + #[allow(unused_mut)] let mut object_38 = array_36.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_phone_number_request_item( &mut object_38, @@ -206,6 +210,7 @@ pub fn serialize_structure_crate_input_batch_update_user_input( let mut array_40 = object.key("UpdateUserRequestItems").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_user_request_item( &mut object_42, @@ -246,6 +251,7 @@ pub fn serialize_structure_crate_input_create_app_instance_input( let mut array_48 = object.key("Tags").start_array(); for item_49 in var_47 { { + #[allow(unused_mut)] let mut object_50 = array_48.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_50, item_49)?; object_50.finish(); @@ -289,6 +295,7 @@ pub fn serialize_structure_crate_input_create_app_instance_user_input( let mut array_58 = object.key("Tags").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_60, item_59)?; object_60.finish(); @@ -310,6 +317,7 @@ pub fn serialize_structure_crate_input_create_attendee_input( let mut array_63 = object.key("Tags").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_65, item_64)?; object_65.finish(); @@ -359,6 +367,7 @@ pub fn serialize_structure_crate_input_create_channel_input( let mut array_75 = object.key("Tags").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_77, item_76)?; object_77.finish(); @@ -407,6 +416,7 @@ pub fn serialize_structure_crate_input_create_media_capture_pipeline_input( input: &crate::input::CreateMediaCapturePipelineInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_82) = &input.chime_sdk_meeting_configuration { + #[allow(unused_mut)] let mut object_83 = object.key("ChimeSdkMeetingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chime_sdk_meeting_configuration( &mut object_83, @@ -449,6 +459,7 @@ pub fn serialize_structure_crate_input_create_meeting_input( object.key("MeetingHostId").string(var_92.as_str()); } if let Some(var_93) = &input.notifications_configuration { + #[allow(unused_mut)] let mut object_94 = object.key("NotificationsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_notification_configuration( &mut object_94, @@ -460,6 +471,7 @@ pub fn serialize_structure_crate_input_create_meeting_input( let mut array_96 = object.key("Tags").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_98, item_97)?; object_98.finish(); @@ -494,6 +506,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( let mut array_103 = object.key("Attendees").start_array(); for item_104 in var_102 { { + #[allow(unused_mut)] let mut object_105 = array_103.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_attendee_request_item( &mut object_105, @@ -517,6 +530,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( object.key("MeetingHostId").string(var_109.as_str()); } if let Some(var_110) = &input.notifications_configuration { + #[allow(unused_mut)] let mut object_111 = object.key("NotificationsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_notification_configuration( &mut object_111, @@ -528,6 +542,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( let mut array_113 = object.key("Tags").start_array(); for item_114 in var_112 { { + #[allow(unused_mut)] let mut object_115 = array_113.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_115, item_114)?; object_115.finish(); @@ -580,6 +595,7 @@ pub fn serialize_structure_crate_input_create_proxy_session_input( object.key("GeoMatchLevel").string(var_124.as_str()); } if let Some(var_125) = &input.geo_match_params { + #[allow(unused_mut)] let mut object_126 = object.key("GeoMatchParams").start_object(); crate::json_ser::serialize_structure_crate_model_geo_match_params( &mut object_126, @@ -644,6 +660,7 @@ pub fn serialize_structure_crate_input_create_sip_media_application_input( let mut array_138 = object.key("Endpoints").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_sip_media_application_endpoint( &mut object_140, @@ -668,6 +685,7 @@ pub fn serialize_structure_crate_input_create_sip_media_application_call_input( object.key("FromPhoneNumber").string(var_142.as_str()); } if let Some(var_143) = &input.sip_headers { + #[allow(unused_mut)] let mut object_144 = object.key("SipHeaders").start_object(); for (key_145, value_146) in var_143 { { @@ -696,6 +714,7 @@ pub fn serialize_structure_crate_input_create_sip_rule_input( let mut array_151 = object.key("TargetApplications").start_array(); for item_152 in var_150 { { + #[allow(unused_mut)] let mut object_153 = array_151.value().start_object(); crate::json_ser::serialize_structure_crate_model_sip_rule_target_application( &mut object_153, @@ -758,6 +777,7 @@ pub fn serialize_structure_crate_input_create_voice_connector_group_input( let mut array_164 = object.key("VoiceConnectorItems").start_array(); for item_165 in var_163 { { + #[allow(unused_mut)] let mut object_166 = array_164.value().start_object(); crate::json_ser::serialize_structure_crate_model_voice_connector_item( &mut object_166, @@ -859,6 +879,7 @@ pub fn serialize_structure_crate_input_put_app_instance_retention_settings_input input: &crate::input::PutAppInstanceRetentionSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_183) = &input.app_instance_retention_settings { + #[allow(unused_mut)] let mut object_184 = object.key("AppInstanceRetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_app_instance_retention_settings( &mut object_184, @@ -879,6 +900,7 @@ pub fn serialize_structure_crate_input_put_app_instance_streaming_configurations .start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_app_instance_streaming_configuration(&mut object_188, item_187)?; object_188.finish(); @@ -909,6 +931,7 @@ pub fn serialize_structure_crate_input_put_retention_settings_input( input: &crate::input::PutRetentionSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_191) = &input.retention_settings { + #[allow(unused_mut)] let mut object_192 = object.key("RetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_retention_settings( &mut object_192, @@ -924,6 +947,7 @@ pub fn serialize_structure_crate_input_put_sip_media_application_logging_configu input: &crate::input::PutSipMediaApplicationLoggingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_193) = &input.sip_media_application_logging_configuration { + #[allow(unused_mut)] let mut object_194 = object .key("SipMediaApplicationLoggingConfiguration") .start_object(); @@ -938,6 +962,7 @@ pub fn serialize_structure_crate_input_put_voice_connector_emergency_calling_con input: &crate::input::PutVoiceConnectorEmergencyCallingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_195) = &input.emergency_calling_configuration { + #[allow(unused_mut)] let mut object_196 = object.key("EmergencyCallingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_emergency_calling_configuration( &mut object_196, @@ -953,6 +978,7 @@ pub fn serialize_structure_crate_input_put_voice_connector_logging_configuration input: &crate::input::PutVoiceConnectorLoggingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_197) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_198 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_198, @@ -968,6 +994,7 @@ pub fn serialize_structure_crate_input_put_voice_connector_origination_input( input: &crate::input::PutVoiceConnectorOriginationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_199) = &input.origination { + #[allow(unused_mut)] let mut object_200 = object.key("Origination").start_object(); crate::json_ser::serialize_structure_crate_model_origination(&mut object_200, var_199)?; object_200.finish(); @@ -1008,6 +1035,7 @@ pub fn serialize_structure_crate_input_put_voice_connector_streaming_configurati input: &crate::input::PutVoiceConnectorStreamingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_207) = &input.streaming_configuration { + #[allow(unused_mut)] let mut object_208 = object.key("StreamingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_configuration( &mut object_208, @@ -1023,6 +1051,7 @@ pub fn serialize_structure_crate_input_put_voice_connector_termination_input( input: &crate::input::PutVoiceConnectorTerminationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_209) = &input.termination { + #[allow(unused_mut)] let mut object_210 = object.key("Termination").start_object(); crate::json_ser::serialize_structure_crate_model_termination(&mut object_210, var_209)?; object_210.finish(); @@ -1038,6 +1067,7 @@ pub fn serialize_structure_crate_input_put_voice_connector_termination_credentia let mut array_212 = object.key("Credentials").start_array(); for item_213 in var_211 { { + #[allow(unused_mut)] let mut object_214 = array_212.value().start_object(); crate::json_ser::serialize_structure_crate_model_credential( &mut object_214, @@ -1078,6 +1108,7 @@ pub fn serialize_structure_crate_input_start_meeting_transcription_input( input: &crate::input::StartMeetingTranscriptionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_220) = &input.transcription_configuration { + #[allow(unused_mut)] let mut object_221 = object.key("TranscriptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_transcription_configuration( &mut object_221, @@ -1096,6 +1127,7 @@ pub fn serialize_structure_crate_input_tag_attendee_input( let mut array_223 = object.key("Tags").start_array(); for item_224 in var_222 { { + #[allow(unused_mut)] let mut object_225 = array_223.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_225, item_224)?; object_225.finish(); @@ -1114,6 +1146,7 @@ pub fn serialize_structure_crate_input_tag_meeting_input( let mut array_227 = object.key("Tags").start_array(); for item_228 in var_226 { { + #[allow(unused_mut)] let mut object_229 = array_227.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_229, item_228)?; object_229.finish(); @@ -1135,6 +1168,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_232 = object.key("Tags").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_234, item_233)?; object_234.finish(); @@ -1214,6 +1248,7 @@ pub fn serialize_structure_crate_input_update_account_settings_input( input: &crate::input::UpdateAccountSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_247) = &input.account_settings { + #[allow(unused_mut)] let mut object_248 = object.key("AccountSettings").start_object(); crate::json_ser::serialize_structure_crate_model_account_settings( &mut object_248, @@ -1294,6 +1329,7 @@ pub fn serialize_structure_crate_input_update_global_settings_input( input: &crate::input::UpdateGlobalSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_259) = &input.business_calling { + #[allow(unused_mut)] let mut object_260 = object.key("BusinessCalling").start_object(); crate::json_ser::serialize_structure_crate_model_business_calling_settings( &mut object_260, @@ -1302,6 +1338,7 @@ pub fn serialize_structure_crate_input_update_global_settings_input( object_260.finish(); } if let Some(var_261) = &input.voice_connector { + #[allow(unused_mut)] let mut object_262 = object.key("VoiceConnector").start_object(); crate::json_ser::serialize_structure_crate_model_voice_connector_settings( &mut object_262, @@ -1385,6 +1422,7 @@ pub fn serialize_structure_crate_input_update_sip_media_application_input( let mut array_273 = object.key("Endpoints").start_array(); for item_274 in var_272 { { + #[allow(unused_mut)] let mut object_275 = array_273.value().start_object(); crate::json_ser::serialize_structure_crate_model_sip_media_application_endpoint( &mut object_275, @@ -1406,6 +1444,7 @@ pub fn serialize_structure_crate_input_update_sip_media_application_call_input( input: &crate::input::UpdateSipMediaApplicationCallInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_277) = &input.arguments { + #[allow(unused_mut)] let mut object_278 = object.key("Arguments").start_object(); for (key_279, value_280) in var_277 { { @@ -1431,6 +1470,7 @@ pub fn serialize_structure_crate_input_update_sip_rule_input( let mut array_284 = object.key("TargetApplications").start_array(); for item_285 in var_283 { { + #[allow(unused_mut)] let mut object_286 = array_284.value().start_object(); crate::json_ser::serialize_structure_crate_model_sip_rule_target_application( &mut object_286, @@ -1449,6 +1489,7 @@ pub fn serialize_structure_crate_input_update_user_input( input: &crate::input::UpdateUserInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_287) = &input.alexa_for_business_metadata { + #[allow(unused_mut)] let mut object_288 = object.key("AlexaForBusinessMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_alexa_for_business_metadata( &mut object_288, @@ -1470,6 +1511,7 @@ pub fn serialize_structure_crate_input_update_user_settings_input( input: &crate::input::UpdateUserSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_291) = &input.user_settings { + #[allow(unused_mut)] let mut object_292 = object.key("UserSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_settings(&mut object_292, var_291)?; object_292.finish(); @@ -1501,6 +1543,7 @@ pub fn serialize_structure_crate_input_update_voice_connector_group_input( let mut array_297 = object.key("VoiceConnectorItems").start_array(); for item_298 in var_296 { { + #[allow(unused_mut)] let mut object_299 = array_297.value().start_object(); crate::json_ser::serialize_structure_crate_model_voice_connector_item( &mut object_299, @@ -1563,6 +1606,7 @@ pub fn serialize_structure_crate_model_create_attendee_request_item( let mut array_310 = object.key("Tags").start_array(); for item_311 in var_309 { { + #[allow(unused_mut)] let mut object_312 = array_310.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_312, item_311)?; object_312.finish(); @@ -1616,6 +1660,7 @@ pub fn serialize_structure_crate_model_update_user_request_item( object.key("UserType").string(var_320.as_str()); } if let Some(var_321) = &input.alexa_for_business_metadata { + #[allow(unused_mut)] let mut object_322 = object.key("AlexaForBusinessMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_alexa_for_business_metadata( &mut object_322, @@ -1644,6 +1689,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_configuration( input: &crate::model::ChimeSdkMeetingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_325) = &input.source_configuration { + #[allow(unused_mut)] let mut object_326 = object.key("SourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_source_configuration( &mut object_326, @@ -1652,6 +1698,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_configuration( object_326.finish(); } if let Some(var_327) = &input.artifacts_configuration { + #[allow(unused_mut)] let mut object_328 = object.key("ArtifactsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_artifacts_configuration( &mut object_328, @@ -1738,6 +1785,7 @@ pub fn serialize_structure_crate_model_app_instance_retention_settings( input: &crate::model::AppInstanceRetentionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_339) = &input.channel_retention_settings { + #[allow(unused_mut)] let mut object_340 = object.key("ChannelRetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_channel_retention_settings( &mut object_340, @@ -1766,6 +1814,7 @@ pub fn serialize_structure_crate_model_retention_settings( input: &crate::model::RetentionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_343) = &input.room_retention_settings { + #[allow(unused_mut)] let mut object_344 = object.key("RoomRetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_room_retention_settings( &mut object_344, @@ -1774,6 +1823,7 @@ pub fn serialize_structure_crate_model_retention_settings( object_344.finish(); } if let Some(var_345) = &input.conversation_retention_settings { + #[allow(unused_mut)] let mut object_346 = object.key("ConversationRetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_conversation_retention_settings( &mut object_346, @@ -1804,6 +1854,7 @@ pub fn serialize_structure_crate_model_emergency_calling_configuration( let mut array_349 = object.key("DNIS").start_array(); for item_350 in var_348 { { + #[allow(unused_mut)] let mut object_351 = array_349.value().start_object(); crate::json_ser::serialize_structure_crate_model_dnis_emergency_calling_configuration(&mut object_351, item_350)?; object_351.finish(); @@ -1835,6 +1886,7 @@ pub fn serialize_structure_crate_model_origination( let mut array_355 = object.key("Routes").start_array(); for item_356 in var_354 { { + #[allow(unused_mut)] let mut object_357 = array_355.value().start_object(); crate::json_ser::serialize_structure_crate_model_origination_route( &mut object_357, @@ -1868,6 +1920,7 @@ pub fn serialize_structure_crate_model_streaming_configuration( let mut array_362 = object.key("StreamingNotificationTargets").start_array(); for item_363 in var_361 { { + #[allow(unused_mut)] let mut object_364 = array_362.value().start_object(); crate::json_ser::serialize_structure_crate_model_streaming_notification_target( &mut object_364, @@ -1936,6 +1989,7 @@ pub fn serialize_structure_crate_model_transcription_configuration( input: &crate::model::TranscriptionConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_376) = &input.engine_transcribe_settings { + #[allow(unused_mut)] let mut object_377 = object.key("EngineTranscribeSettings").start_object(); crate::json_ser::serialize_structure_crate_model_engine_transcribe_settings( &mut object_377, @@ -1944,6 +1998,7 @@ pub fn serialize_structure_crate_model_transcription_configuration( object_377.finish(); } if let Some(var_378) = &input.engine_transcribe_medical_settings { + #[allow(unused_mut)] let mut object_379 = object.key("EngineTranscribeMedicalSettings").start_object(); crate::json_ser::serialize_structure_crate_model_engine_transcribe_medical_settings( &mut object_379, @@ -2007,6 +2062,7 @@ pub fn serialize_structure_crate_model_user_settings( input: &crate::model::UserSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_386) = &input.telephony { + #[allow(unused_mut)] let mut object_387 = object.key("Telephony").start_object(); crate::json_ser::serialize_structure_crate_model_telephony_settings( &mut object_387, @@ -2022,6 +2078,7 @@ pub fn serialize_structure_crate_model_source_configuration( input: &crate::model::SourceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_388) = &input.selected_video_streams { + #[allow(unused_mut)] let mut object_389 = object.key("SelectedVideoStreams").start_object(); crate::json_ser::serialize_structure_crate_model_selected_video_streams( &mut object_389, @@ -2037,6 +2094,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( input: &crate::model::ArtifactsConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_390) = &input.audio { + #[allow(unused_mut)] let mut object_391 = object.key("Audio").start_object(); crate::json_ser::serialize_structure_crate_model_audio_artifacts_configuration( &mut object_391, @@ -2045,6 +2103,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( object_391.finish(); } if let Some(var_392) = &input.video { + #[allow(unused_mut)] let mut object_393 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video_artifacts_configuration( &mut object_393, @@ -2053,6 +2112,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( object_393.finish(); } if let Some(var_394) = &input.content { + #[allow(unused_mut)] let mut object_395 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_content_artifacts_configuration( &mut object_395, diff --git a/sdk/chimesdkidentity/src/json_ser.rs b/sdk/chimesdkidentity/src/json_ser.rs index c1ff1e2bed46..3f3b126dd943 100644 --- a/sdk/chimesdkidentity/src/json_ser.rs +++ b/sdk/chimesdkidentity/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_app_instance_input( let mut array_5 = object.key("Tags").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_7, item_6)?; object_7.finish(); @@ -59,6 +60,7 @@ pub fn serialize_structure_crate_input_create_app_instance_user_input( let mut array_15 = object.key("Tags").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_17, item_16)?; object_17.finish(); @@ -74,6 +76,7 @@ pub fn serialize_structure_crate_input_put_app_instance_retention_settings_input input: &crate::input::PutAppInstanceRetentionSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_18) = &input.app_instance_retention_settings { + #[allow(unused_mut)] let mut object_19 = object.key("AppInstanceRetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_app_instance_retention_settings( &mut object_19, @@ -95,6 +98,7 @@ pub fn serialize_structure_crate_input_register_app_instance_user_endpoint_input object.key("ClientRequestToken").string(var_21.as_str()); } if let Some(var_22) = &input.endpoint_attributes { + #[allow(unused_mut)] let mut object_23 = object.key("EndpointAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_attributes( &mut object_23, @@ -125,6 +129,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_29 = object.key("Tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_31, item_30)?; object_31.finish(); @@ -211,6 +216,7 @@ pub fn serialize_structure_crate_model_app_instance_retention_settings( input: &crate::model::AppInstanceRetentionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_44) = &input.channel_retention_settings { + #[allow(unused_mut)] let mut object_45 = object.key("ChannelRetentionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_channel_retention_settings( &mut object_45, diff --git a/sdk/chimesdkmediapipelines/src/json_ser.rs b/sdk/chimesdkmediapipelines/src/json_ser.rs index 5fc3cd7f3922..031bece4fabd 100644 --- a/sdk/chimesdkmediapipelines/src/json_ser.rs +++ b/sdk/chimesdkmediapipelines/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_media_capture_pipeline_input( input: &crate::input::CreateMediaCapturePipelineInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.chime_sdk_meeting_configuration { + #[allow(unused_mut)] let mut object_2 = object.key("ChimeSdkMeetingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chime_sdk_meeting_configuration( &mut object_2, @@ -30,6 +31,7 @@ pub fn serialize_structure_crate_input_create_media_capture_pipeline_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -51,6 +53,7 @@ pub fn serialize_structure_crate_input_create_media_concatenation_pipeline_input let mut array_14 = object.key("Sinks").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_concatenation_sink( &mut object_16, @@ -65,6 +68,7 @@ pub fn serialize_structure_crate_input_create_media_concatenation_pipeline_input let mut array_18 = object.key("Sources").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_concatenation_source( &mut object_20, @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_create_media_concatenation_pipeline_input let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -100,6 +105,7 @@ pub fn serialize_structure_crate_input_create_media_live_connector_pipeline_inpu let mut array_27 = object.key("Sinks").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_live_connector_sink_configuration( &mut object_29, @@ -114,6 +120,7 @@ pub fn serialize_structure_crate_input_create_media_live_connector_pipeline_inpu let mut array_31 = object.key("Sources").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_live_connector_source_configuration(&mut object_33, item_32)?; object_33.finish(); @@ -125,6 +132,7 @@ pub fn serialize_structure_crate_input_create_media_live_connector_pipeline_inpu let mut array_35 = object.key("Tags").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_37, item_36)?; object_37.finish(); @@ -146,6 +154,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_40 = object.key("Tags").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_42, item_41)?; object_42.finish(); @@ -180,6 +189,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_configuration( input: &crate::model::ChimeSdkMeetingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_47) = &input.source_configuration { + #[allow(unused_mut)] let mut object_48 = object.key("SourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_source_configuration( &mut object_48, @@ -188,6 +198,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_configuration( object_48.finish(); } if let Some(var_49) = &input.artifacts_configuration { + #[allow(unused_mut)] let mut object_50 = object.key("ArtifactsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_artifacts_configuration( &mut object_50, @@ -219,6 +230,7 @@ pub fn serialize_structure_crate_model_concatenation_sink( object.key("Type").string(var_53.as_str()); } if let Some(var_54) = &input.s3_bucket_sink_configuration { + #[allow(unused_mut)] let mut object_55 = object.key("S3BucketSinkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_sink_configuration( &mut object_55, @@ -237,6 +249,7 @@ pub fn serialize_structure_crate_model_concatenation_source( object.key("Type").string(var_56.as_str()); } if let Some(var_57) = &input.media_capture_pipeline_source_configuration { + #[allow(unused_mut)] let mut object_58 = object .key("MediaCapturePipelineSourceConfiguration") .start_object(); @@ -254,6 +267,7 @@ pub fn serialize_structure_crate_model_live_connector_sink_configuration( object.key("SinkType").string(var_59.as_str()); } if let Some(var_60) = &input.rtmp_configuration { + #[allow(unused_mut)] let mut object_61 = object.key("RTMPConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_live_connector_rtmp_configuration( &mut object_61, @@ -272,6 +286,7 @@ pub fn serialize_structure_crate_model_live_connector_source_configuration( object.key("SourceType").string(var_62.as_str()); } if let Some(var_63) = &input.chime_sdk_meeting_live_connector_configuration { + #[allow(unused_mut)] let mut object_64 = object .key("ChimeSdkMeetingLiveConnectorConfiguration") .start_object(); @@ -286,6 +301,7 @@ pub fn serialize_structure_crate_model_source_configuration( input: &crate::model::SourceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.selected_video_streams { + #[allow(unused_mut)] let mut object_66 = object.key("SelectedVideoStreams").start_object(); crate::json_ser::serialize_structure_crate_model_selected_video_streams( &mut object_66, @@ -301,6 +317,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( input: &crate::model::ArtifactsConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_67) = &input.audio { + #[allow(unused_mut)] let mut object_68 = object.key("Audio").start_object(); crate::json_ser::serialize_structure_crate_model_audio_artifacts_configuration( &mut object_68, @@ -309,6 +326,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( object_68.finish(); } if let Some(var_69) = &input.video { + #[allow(unused_mut)] let mut object_70 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video_artifacts_configuration( &mut object_70, @@ -317,6 +335,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( object_70.finish(); } if let Some(var_71) = &input.content { + #[allow(unused_mut)] let mut object_72 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_content_artifacts_configuration( &mut object_72, @@ -325,6 +344,7 @@ pub fn serialize_structure_crate_model_artifacts_configuration( object_72.finish(); } if let Some(var_73) = &input.composited_video { + #[allow(unused_mut)] let mut object_74 = object.key("CompositedVideo").start_object(); crate::json_ser::serialize_structure_crate_model_composited_video_artifacts_configuration( &mut object_74, @@ -353,6 +373,7 @@ pub fn serialize_structure_crate_model_media_capture_pipeline_source_configurati object.key("MediaPipelineArn").string(var_76.as_str()); } if let Some(var_77) = &input.chime_sdk_meeting_configuration { + #[allow(unused_mut)] let mut object_78 = object.key("ChimeSdkMeetingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chime_sdk_meeting_concatenation_configuration(&mut object_78, var_77)?; object_78.finish(); @@ -387,6 +408,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_live_connector_configur object.key("MuxType").string(var_83.as_str()); } if let Some(var_84) = &input.composited_video { + #[allow(unused_mut)] let mut object_85 = object.key("CompositedVideo").start_object(); crate::json_ser::serialize_structure_crate_model_composited_video_artifacts_configuration( &mut object_85, @@ -395,6 +417,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_live_connector_configur object_85.finish(); } if let Some(var_86) = &input.source_configuration { + #[allow(unused_mut)] let mut object_87 = object.key("SourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_source_configuration( &mut object_87, @@ -477,6 +500,7 @@ pub fn serialize_structure_crate_model_composited_video_artifacts_configuration( object.key("Resolution").string(var_100.as_str()); } if let Some(var_101) = &input.grid_view_configuration { + #[allow(unused_mut)] let mut object_102 = object.key("GridViewConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_grid_view_configuration( &mut object_102, @@ -492,6 +516,7 @@ pub fn serialize_structure_crate_model_chime_sdk_meeting_concatenation_configura input: &crate::model::ChimeSdkMeetingConcatenationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_103) = &input.artifacts_configuration { + #[allow(unused_mut)] let mut object_104 = object.key("ArtifactsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_artifacts_concatenation_configuration( &mut object_104, @@ -510,6 +535,7 @@ pub fn serialize_structure_crate_model_grid_view_configuration( object.key("ContentShareLayout").string(var_105.as_str()); } if let Some(var_106) = &input.presenter_only_configuration { + #[allow(unused_mut)] let mut object_107 = object.key("PresenterOnlyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_presenter_only_configuration( &mut object_107, @@ -525,6 +551,7 @@ pub fn serialize_structure_crate_model_artifacts_concatenation_configuration( input: &crate::model::ArtifactsConcatenationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_108) = &input.audio { + #[allow(unused_mut)] let mut object_109 = object.key("Audio").start_object(); crate::json_ser::serialize_structure_crate_model_audio_concatenation_configuration( &mut object_109, @@ -533,6 +560,7 @@ pub fn serialize_structure_crate_model_artifacts_concatenation_configuration( object_109.finish(); } if let Some(var_110) = &input.video { + #[allow(unused_mut)] let mut object_111 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video_concatenation_configuration( &mut object_111, @@ -541,6 +569,7 @@ pub fn serialize_structure_crate_model_artifacts_concatenation_configuration( object_111.finish(); } if let Some(var_112) = &input.content { + #[allow(unused_mut)] let mut object_113 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_content_concatenation_configuration( &mut object_113, @@ -549,6 +578,7 @@ pub fn serialize_structure_crate_model_artifacts_concatenation_configuration( object_113.finish(); } if let Some(var_114) = &input.data_channel { + #[allow(unused_mut)] let mut object_115 = object.key("DataChannel").start_object(); crate::json_ser::serialize_structure_crate_model_data_channel_concatenation_configuration( &mut object_115, @@ -557,16 +587,19 @@ pub fn serialize_structure_crate_model_artifacts_concatenation_configuration( object_115.finish(); } if let Some(var_116) = &input.transcription_messages { + #[allow(unused_mut)] let mut object_117 = object.key("TranscriptionMessages").start_object(); crate::json_ser::serialize_structure_crate_model_transcription_messages_concatenation_configuration(&mut object_117, var_116)?; object_117.finish(); } if let Some(var_118) = &input.meeting_events { + #[allow(unused_mut)] let mut object_119 = object.key("MeetingEvents").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_events_concatenation_configuration(&mut object_119, var_118)?; object_119.finish(); } if let Some(var_120) = &input.composited_video { + #[allow(unused_mut)] let mut object_121 = object.key("CompositedVideo").start_object(); crate::json_ser::serialize_structure_crate_model_composited_video_concatenation_configuration(&mut object_121, var_120)?; object_121.finish(); diff --git a/sdk/chimesdkmeetings/src/json_ser.rs b/sdk/chimesdkmeetings/src/json_ser.rs index 99dccb3d466b..49309f90bd51 100644 --- a/sdk/chimesdkmeetings/src/json_ser.rs +++ b/sdk/chimesdkmeetings/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_create_attendee_input( let mut array_2 = object.key("Attendees").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_attendee_request_item( &mut object_4, @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_batch_update_attendee_capabilities_except input: &crate::input::BatchUpdateAttendeeCapabilitiesExceptInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_5) = &input.capabilities { + #[allow(unused_mut)] let mut object_6 = object.key("Capabilities").start_object(); crate::json_ser::serialize_structure_crate_model_attendee_capabilities( &mut object_6, @@ -36,6 +38,7 @@ pub fn serialize_structure_crate_input_batch_update_attendee_capabilities_except let mut array_8 = object.key("ExcludedAttendeeIds").start_array(); for item_9 in var_7 { { + #[allow(unused_mut)] let mut object_10 = array_8.value().start_object(); crate::json_ser::serialize_structure_crate_model_attendee_id_item( &mut object_10, @@ -54,6 +57,7 @@ pub fn serialize_structure_crate_input_create_attendee_input( input: &crate::input::CreateAttendeeInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.capabilities { + #[allow(unused_mut)] let mut object_12 = object.key("Capabilities").start_object(); crate::json_ser::serialize_structure_crate_model_attendee_capabilities( &mut object_12, @@ -81,6 +85,7 @@ pub fn serialize_structure_crate_input_create_meeting_input( object.key("MediaRegion").string(var_16.as_str()); } if let Some(var_17) = &input.meeting_features { + #[allow(unused_mut)] let mut object_18 = object.key("MeetingFeatures").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_features_configuration( &mut object_18, @@ -92,6 +97,7 @@ pub fn serialize_structure_crate_input_create_meeting_input( object.key("MeetingHostId").string(var_19.as_str()); } if let Some(var_20) = &input.notifications_configuration { + #[allow(unused_mut)] let mut object_21 = object.key("NotificationsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_notifications_configuration( &mut object_21, @@ -106,6 +112,7 @@ pub fn serialize_structure_crate_input_create_meeting_input( let mut array_24 = object.key("Tags").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_26, item_25)?; object_26.finish(); @@ -133,6 +140,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( let mut array_31 = object.key("Attendees").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_attendee_request_item( &mut object_33, @@ -153,6 +161,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( object.key("MediaRegion").string(var_36.as_str()); } if let Some(var_37) = &input.meeting_features { + #[allow(unused_mut)] let mut object_38 = object.key("MeetingFeatures").start_object(); crate::json_ser::serialize_structure_crate_model_meeting_features_configuration( &mut object_38, @@ -164,6 +173,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( object.key("MeetingHostId").string(var_39.as_str()); } if let Some(var_40) = &input.notifications_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("NotificationsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_notifications_configuration( &mut object_41, @@ -178,6 +188,7 @@ pub fn serialize_structure_crate_input_create_meeting_with_attendees_input( let mut array_44 = object.key("Tags").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_46, item_45)?; object_46.finish(); @@ -202,6 +213,7 @@ pub fn serialize_structure_crate_input_start_meeting_transcription_input( input: &crate::input::StartMeetingTranscriptionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_50) = &input.transcription_configuration { + #[allow(unused_mut)] let mut object_51 = object.key("TranscriptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_transcription_configuration( &mut object_51, @@ -223,6 +235,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_54 = object.key("Tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -257,6 +270,7 @@ pub fn serialize_structure_crate_input_update_attendee_capabilities_input( input: &crate::input::UpdateAttendeeCapabilitiesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_61) = &input.capabilities { + #[allow(unused_mut)] let mut object_62 = object.key("Capabilities").start_object(); crate::json_ser::serialize_structure_crate_model_attendee_capabilities( &mut object_62, @@ -275,6 +289,7 @@ pub fn serialize_structure_crate_model_create_attendee_request_item( object.key("ExternalUserId").string(var_63.as_str()); } if let Some(var_64) = &input.capabilities { + #[allow(unused_mut)] let mut object_65 = object.key("Capabilities").start_object(); crate::json_ser::serialize_structure_crate_model_attendee_capabilities( &mut object_65, @@ -316,6 +331,7 @@ pub fn serialize_structure_crate_model_meeting_features_configuration( input: &crate::model::MeetingFeaturesConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.audio { + #[allow(unused_mut)] let mut object_71 = object.key("Audio").start_object(); crate::json_ser::serialize_structure_crate_model_audio_features(&mut object_71, var_70)?; object_71.finish(); @@ -357,6 +373,7 @@ pub fn serialize_structure_crate_model_transcription_configuration( input: &crate::model::TranscriptionConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.engine_transcribe_settings { + #[allow(unused_mut)] let mut object_78 = object.key("EngineTranscribeSettings").start_object(); crate::json_ser::serialize_structure_crate_model_engine_transcribe_settings( &mut object_78, @@ -365,6 +382,7 @@ pub fn serialize_structure_crate_model_transcription_configuration( object_78.finish(); } if let Some(var_79) = &input.engine_transcribe_medical_settings { + #[allow(unused_mut)] let mut object_80 = object.key("EngineTranscribeMedicalSettings").start_object(); crate::json_ser::serialize_structure_crate_model_engine_transcribe_medical_settings( &mut object_80, diff --git a/sdk/chimesdkmessaging/src/json_ser.rs b/sdk/chimesdkmessaging/src/json_ser.rs index 165d2c60a176..6200a96ef0d5 100644 --- a/sdk/chimesdkmessaging/src/json_ser.rs +++ b/sdk/chimesdkmessaging/src/json_ser.rs @@ -39,6 +39,7 @@ pub fn serialize_structure_crate_input_channel_flow_callback_input( object.key("CallbackId").string(var_7.as_str()); } if let Some(var_8) = &input.channel_message { + #[allow(unused_mut)] let mut object_9 = object.key("ChannelMessage").start_object(); crate::json_ser::serialize_structure_crate_model_channel_message_callback( &mut object_9, @@ -66,6 +67,7 @@ pub fn serialize_structure_crate_input_create_channel_input( object.key("ClientRequestToken").string(var_12.as_str()); } if let Some(var_13) = &input.elastic_channel_configuration { + #[allow(unused_mut)] let mut object_14 = object.key("ElasticChannelConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_elastic_channel_configuration( &mut object_14, @@ -107,6 +109,7 @@ pub fn serialize_structure_crate_input_create_channel_input( let mut array_26 = object.key("Tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -144,6 +147,7 @@ pub fn serialize_structure_crate_input_create_channel_flow_input( let mut array_34 = object.key("Processors").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_processor( &mut object_36, @@ -158,6 +162,7 @@ pub fn serialize_structure_crate_input_create_channel_flow_input( let mut array_38 = object.key("Tags").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -199,6 +204,7 @@ pub fn serialize_structure_crate_input_put_channel_membership_preferences_input( input: &crate::input::PutChannelMembershipPreferencesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.preferences { + #[allow(unused_mut)] let mut object_46 = object.key("Preferences").start_object(); crate::json_ser::serialize_structure_crate_model_channel_membership_preferences( &mut object_46, @@ -227,6 +233,7 @@ pub fn serialize_structure_crate_input_search_channels_input( let mut array_49 = object.key("Fields").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_field( &mut object_51, @@ -251,9 +258,11 @@ pub fn serialize_structure_crate_input_send_channel_message_input( object.key("Content").string(var_53.as_str()); } if let Some(var_54) = &input.message_attributes { + #[allow(unused_mut)] let mut object_55 = object.key("MessageAttributes").start_object(); for (key_56, value_57) in var_54 { { + #[allow(unused_mut)] let mut object_58 = object_55.key(key_56.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_message_attribute_value( &mut object_58, @@ -271,6 +280,7 @@ pub fn serialize_structure_crate_input_send_channel_message_input( object.key("Persistence").string(var_60.as_str()); } if let Some(var_61) = &input.push_notification { + #[allow(unused_mut)] let mut object_62 = object.key("PushNotification").start_object(); crate::json_ser::serialize_structure_crate_model_push_notification_configuration( &mut object_62, @@ -298,6 +308,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_67 = object.key("Tags").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_69, item_68)?; object_69.finish(); @@ -354,6 +365,7 @@ pub fn serialize_structure_crate_input_update_channel_flow_input( let mut array_79 = object.key("Processors").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_processor( &mut object_81, @@ -407,6 +419,7 @@ pub fn serialize_structure_crate_model_channel_message_callback( object.key("Metadata").string(var_88.as_str()); } if let Some(var_89) = &input.push_notification { + #[allow(unused_mut)] let mut object_90 = object.key("PushNotification").start_object(); crate::json_ser::serialize_structure_crate_model_push_notification_configuration( &mut object_90, @@ -415,9 +428,11 @@ pub fn serialize_structure_crate_model_channel_message_callback( object_90.finish(); } if let Some(var_91) = &input.message_attributes { + #[allow(unused_mut)] let mut object_92 = object.key("MessageAttributes").start_object(); for (key_93, value_94) in var_91 { { + #[allow(unused_mut)] let mut object_95 = object_92.key(key_93.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_message_attribute_value( &mut object_95, @@ -480,6 +495,7 @@ pub fn serialize_structure_crate_model_processor( object.key("Name").string(var_102.as_str()); } if let Some(var_103) = &input.configuration { + #[allow(unused_mut)] let mut object_104 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_processor_configuration( &mut object_104, @@ -504,6 +520,7 @@ pub fn serialize_structure_crate_model_channel_membership_preferences( input: &crate::model::ChannelMembershipPreferences, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_107) = &input.push_notifications { + #[allow(unused_mut)] let mut object_108 = object.key("PushNotifications").start_object(); crate::json_ser::serialize_structure_crate_model_push_notification_preferences( &mut object_108, @@ -573,6 +590,7 @@ pub fn serialize_structure_crate_model_processor_configuration( input: &crate::model::ProcessorConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_120) = &input.lambda { + #[allow(unused_mut)] let mut object_121 = object.key("Lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_configuration( &mut object_121, diff --git a/sdk/cloud9/src/json_ser.rs b/sdk/cloud9/src/json_ser.rs index 873bcd908c2f..4bc9f800daae 100644 --- a/sdk/cloud9/src/json_ser.rs +++ b/sdk/cloud9/src/json_ser.rs @@ -34,6 +34,7 @@ pub fn serialize_structure_crate_input_create_environment_ec2_input( let mut array_10 = object.key("tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -183,6 +184,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_37 = object.key("Tags").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_39, item_38)?; object_39.finish(); diff --git a/sdk/cloudcontrol/src/json_ser.rs b/sdk/cloudcontrol/src/json_ser.rs index 01bb5355c98d..6be920edbeb8 100644 --- a/sdk/cloudcontrol/src/json_ser.rs +++ b/sdk/cloudcontrol/src/json_ser.rs @@ -96,6 +96,7 @@ pub fn serialize_structure_crate_input_list_resource_requests_input( object.key("NextToken").string(var_18.as_str()); } if let Some(var_19) = &input.resource_request_status_filter { + #[allow(unused_mut)] let mut object_20 = object.key("ResourceRequestStatusFilter").start_object(); crate::json_ser::serialize_structure_crate_model_resource_request_status_filter( &mut object_20, diff --git a/sdk/clouddirectory/src/json_ser.rs b/sdk/clouddirectory/src/json_ser.rs index 4198b2eabf3c..a474539a16e8 100644 --- a/sdk/clouddirectory/src/json_ser.rs +++ b/sdk/clouddirectory/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_facet_to_object_input( let mut array_2 = object.key("ObjectAttributeList").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key_and_value( &mut object_4, @@ -18,11 +19,13 @@ pub fn serialize_structure_crate_input_add_facet_to_object_input( array_2.finish(); } if let Some(var_5) = &input.object_reference { + #[allow(unused_mut)] let mut object_6 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_6, var_5)?; object_6.finish(); } if let Some(var_7) = &input.schema_facet { + #[allow(unused_mut)] let mut object_8 = object.key("SchemaFacet").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_8, var_7)?; object_8.finish(); @@ -45,6 +48,7 @@ pub fn serialize_structure_crate_input_attach_object_input( input: &crate::input::AttachObjectInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_10) = &input.child_reference { + #[allow(unused_mut)] let mut object_11 = object.key("ChildReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_11, var_10)?; object_11.finish(); @@ -53,6 +57,7 @@ pub fn serialize_structure_crate_input_attach_object_input( object.key("LinkName").string(var_12.as_str()); } if let Some(var_13) = &input.parent_reference { + #[allow(unused_mut)] let mut object_14 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_14, var_13)?; object_14.finish(); @@ -65,11 +70,13 @@ pub fn serialize_structure_crate_input_attach_policy_input( input: &crate::input::AttachPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.object_reference { + #[allow(unused_mut)] let mut object_16 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_16, var_15)?; object_16.finish(); } if let Some(var_17) = &input.policy_reference { + #[allow(unused_mut)] let mut object_18 = object.key("PolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_18, var_17)?; object_18.finish(); @@ -82,11 +89,13 @@ pub fn serialize_structure_crate_input_attach_to_index_input( input: &crate::input::AttachToIndexInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.index_reference { + #[allow(unused_mut)] let mut object_20 = object.key("IndexReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_20, var_19)?; object_20.finish(); } if let Some(var_21) = &input.target_reference { + #[allow(unused_mut)] let mut object_22 = object.key("TargetReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_22, var_21)?; object_22.finish(); @@ -102,6 +111,7 @@ pub fn serialize_structure_crate_input_attach_typed_link_input( let mut array_24 = object.key("Attributes").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_name_and_value( &mut object_26, @@ -113,16 +123,19 @@ pub fn serialize_structure_crate_input_attach_typed_link_input( array_24.finish(); } if let Some(var_27) = &input.source_object_reference { + #[allow(unused_mut)] let mut object_28 = object.key("SourceObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_28, var_27)?; object_28.finish(); } if let Some(var_29) = &input.target_object_reference { + #[allow(unused_mut)] let mut object_30 = object.key("TargetObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_30, var_29)?; object_30.finish(); } if let Some(var_31) = &input.typed_link_facet { + #[allow(unused_mut)] let mut object_32 = object.key("TypedLinkFacet").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_32, @@ -141,6 +154,7 @@ pub fn serialize_structure_crate_input_batch_read_input( let mut array_34 = object.key("Operations").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_read_operation( &mut object_36, @@ -162,6 +176,7 @@ pub fn serialize_structure_crate_input_batch_write_input( let mut array_38 = object.key("Operations").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_write_operation( &mut object_40, @@ -193,6 +208,7 @@ pub fn serialize_structure_crate_input_create_facet_input( let mut array_43 = object.key("Attributes").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_facet_attribute( &mut object_45, @@ -229,6 +245,7 @@ pub fn serialize_structure_crate_input_create_index_input( let mut array_51 = object.key("OrderedIndexedAttributeList").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key( &mut object_53, @@ -240,6 +257,7 @@ pub fn serialize_structure_crate_input_create_index_input( array_51.finish(); } if let Some(var_54) = &input.parent_reference { + #[allow(unused_mut)] let mut object_55 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_55, var_54)?; object_55.finish(); @@ -258,6 +276,7 @@ pub fn serialize_structure_crate_input_create_object_input( let mut array_58 = object.key("ObjectAttributeList").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key_and_value( &mut object_60, @@ -269,6 +288,7 @@ pub fn serialize_structure_crate_input_create_object_input( array_58.finish(); } if let Some(var_61) = &input.parent_reference { + #[allow(unused_mut)] let mut object_62 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_62, var_61)?; object_62.finish(); @@ -277,6 +297,7 @@ pub fn serialize_structure_crate_input_create_object_input( let mut array_64 = object.key("SchemaFacets").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet( &mut object_66, @@ -305,6 +326,7 @@ pub fn serialize_structure_crate_input_create_typed_link_facet_input( input: &crate::input::CreateTypedLinkFacetInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_68) = &input.facet { + #[allow(unused_mut)] let mut object_69 = object.key("Facet").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_facet(&mut object_69, var_68)?; object_69.finish(); @@ -327,6 +349,7 @@ pub fn serialize_structure_crate_input_delete_object_input( input: &crate::input::DeleteObjectInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_71) = &input.object_reference { + #[allow(unused_mut)] let mut object_72 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_72, var_71)?; object_72.finish(); @@ -349,11 +372,13 @@ pub fn serialize_structure_crate_input_detach_from_index_input( input: &crate::input::DetachFromIndexInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_74) = &input.index_reference { + #[allow(unused_mut)] let mut object_75 = object.key("IndexReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_75, var_74)?; object_75.finish(); } if let Some(var_76) = &input.target_reference { + #[allow(unused_mut)] let mut object_77 = object.key("TargetReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_77, var_76)?; object_77.finish(); @@ -369,6 +394,7 @@ pub fn serialize_structure_crate_input_detach_object_input( object.key("LinkName").string(var_78.as_str()); } if let Some(var_79) = &input.parent_reference { + #[allow(unused_mut)] let mut object_80 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_80, var_79)?; object_80.finish(); @@ -381,11 +407,13 @@ pub fn serialize_structure_crate_input_detach_policy_input( input: &crate::input::DetachPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_81) = &input.object_reference { + #[allow(unused_mut)] let mut object_82 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_82, var_81)?; object_82.finish(); } if let Some(var_83) = &input.policy_reference { + #[allow(unused_mut)] let mut object_84 = object.key("PolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_84, var_83)?; object_84.finish(); @@ -398,6 +426,7 @@ pub fn serialize_structure_crate_input_detach_typed_link_input( input: &crate::input::DetachTypedLinkInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_85) = &input.typed_link_specifier { + #[allow(unused_mut)] let mut object_86 = object.key("TypedLinkSpecifier").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_specifier( &mut object_86, @@ -445,6 +474,7 @@ pub fn serialize_structure_crate_input_get_link_attributes_input( object.key("ConsistencyLevel").string(var_92.as_str()); } if let Some(var_93) = &input.typed_link_specifier { + #[allow(unused_mut)] let mut object_94 = object.key("TypedLinkSpecifier").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_specifier( &mut object_94, @@ -469,11 +499,13 @@ pub fn serialize_structure_crate_input_get_object_attributes_input( array_96.finish(); } if let Some(var_98) = &input.object_reference { + #[allow(unused_mut)] let mut object_99 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference(&mut object_99, var_98)?; object_99.finish(); } if let Some(var_100) = &input.schema_facet { + #[allow(unused_mut)] let mut object_101 = object.key("SchemaFacet").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_101, var_100)?; object_101.finish(); @@ -486,6 +518,7 @@ pub fn serialize_structure_crate_input_get_object_information_input( input: &crate::input::GetObjectInformationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.object_reference { + #[allow(unused_mut)] let mut object_103 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_103, @@ -542,6 +575,7 @@ pub fn serialize_structure_crate_input_list_attached_indices_input( object.key("NextToken").string(var_110.as_str()); } if let Some(var_111) = &input.target_reference { + #[allow(unused_mut)] let mut object_112 = object.key("TargetReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_112, @@ -633,6 +667,7 @@ pub fn serialize_structure_crate_input_list_incoming_typed_links_input( let mut array_125 = object.key("FilterAttributeRanges").start_array(); for item_126 in var_124 { { + #[allow(unused_mut)] let mut object_127 = array_125.value().start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_attribute_range( &mut object_127, @@ -644,6 +679,7 @@ pub fn serialize_structure_crate_input_list_incoming_typed_links_input( array_125.finish(); } if let Some(var_128) = &input.filter_typed_link { + #[allow(unused_mut)] let mut object_129 = object.key("FilterTypedLink").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_129, @@ -661,6 +697,7 @@ pub fn serialize_structure_crate_input_list_incoming_typed_links_input( object.key("NextToken").string(var_131.as_str()); } if let Some(var_132) = &input.object_reference { + #[allow(unused_mut)] let mut object_133 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_133, @@ -676,6 +713,7 @@ pub fn serialize_structure_crate_input_list_index_input( input: &crate::input::ListIndexInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_134) = &input.index_reference { + #[allow(unused_mut)] let mut object_135 = object.key("IndexReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_135, @@ -696,6 +734,7 @@ pub fn serialize_structure_crate_input_list_index_input( let mut array_139 = object.key("RangesOnIndexedValues").start_array(); for item_140 in var_138 { { + #[allow(unused_mut)] let mut object_141 = array_139.value().start_object(); crate::json_ser::serialize_structure_crate_model_object_attribute_range( &mut object_141, @@ -733,6 +772,7 @@ pub fn serialize_structure_crate_input_list_object_attributes_input( input: &crate::input::ListObjectAttributesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_145) = &input.facet_filter { + #[allow(unused_mut)] let mut object_146 = object.key("FacetFilter").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_146, var_145)?; object_146.finish(); @@ -747,6 +787,7 @@ pub fn serialize_structure_crate_input_list_object_attributes_input( object.key("NextToken").string(var_148.as_str()); } if let Some(var_149) = &input.object_reference { + #[allow(unused_mut)] let mut object_150 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_150, @@ -771,6 +812,7 @@ pub fn serialize_structure_crate_input_list_object_children_input( object.key("NextToken").string(var_152.as_str()); } if let Some(var_153) = &input.object_reference { + #[allow(unused_mut)] let mut object_154 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_154, @@ -795,6 +837,7 @@ pub fn serialize_structure_crate_input_list_object_parent_paths_input( object.key("NextToken").string(var_156.as_str()); } if let Some(var_157) = &input.object_reference { + #[allow(unused_mut)] let mut object_158 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_158, @@ -824,6 +867,7 @@ pub fn serialize_structure_crate_input_list_object_parents_input( object.key("NextToken").string(var_160.as_str()); } if let Some(var_161) = &input.object_reference { + #[allow(unused_mut)] let mut object_162 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_162, @@ -848,6 +892,7 @@ pub fn serialize_structure_crate_input_list_object_policies_input( object.key("NextToken").string(var_164.as_str()); } if let Some(var_165) = &input.object_reference { + #[allow(unused_mut)] let mut object_166 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_166, @@ -869,6 +914,7 @@ pub fn serialize_structure_crate_input_list_outgoing_typed_links_input( let mut array_169 = object.key("FilterAttributeRanges").start_array(); for item_170 in var_168 { { + #[allow(unused_mut)] let mut object_171 = array_169.value().start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_attribute_range( &mut object_171, @@ -880,6 +926,7 @@ pub fn serialize_structure_crate_input_list_outgoing_typed_links_input( array_169.finish(); } if let Some(var_172) = &input.filter_typed_link { + #[allow(unused_mut)] let mut object_173 = object.key("FilterTypedLink").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_173, @@ -897,6 +944,7 @@ pub fn serialize_structure_crate_input_list_outgoing_typed_links_input( object.key("NextToken").string(var_175.as_str()); } if let Some(var_176) = &input.object_reference { + #[allow(unused_mut)] let mut object_177 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_177, @@ -921,6 +969,7 @@ pub fn serialize_structure_crate_input_list_policy_attachments_input( object.key("NextToken").string(var_179.as_str()); } if let Some(var_180) = &input.policy_reference { + #[allow(unused_mut)] let mut object_181 = object.key("PolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_181, @@ -1018,6 +1067,7 @@ pub fn serialize_structure_crate_input_lookup_policy_input( object.key("NextToken").string(var_194.as_str()); } if let Some(var_195) = &input.object_reference { + #[allow(unused_mut)] let mut object_196 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_196, @@ -1059,6 +1109,7 @@ pub fn serialize_structure_crate_input_remove_facet_from_object_input( input: &crate::input::RemoveFacetFromObjectInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_201) = &input.object_reference { + #[allow(unused_mut)] let mut object_202 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_202, @@ -1067,6 +1118,7 @@ pub fn serialize_structure_crate_input_remove_facet_from_object_input( object_202.finish(); } if let Some(var_203) = &input.schema_facet { + #[allow(unused_mut)] let mut object_204 = object.key("SchemaFacet").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_204, var_203)?; object_204.finish(); @@ -1085,6 +1137,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_207 = object.key("Tags").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_209, item_208)?; object_209.finish(); @@ -1122,6 +1175,7 @@ pub fn serialize_structure_crate_input_update_facet_input( let mut array_215 = object.key("AttributeUpdates").start_array(); for item_216 in var_214 { { + #[allow(unused_mut)] let mut object_217 = array_215.value().start_object(); crate::json_ser::serialize_structure_crate_model_facet_attribute_update( &mut object_217, @@ -1149,6 +1203,7 @@ pub fn serialize_structure_crate_input_update_link_attributes_input( let mut array_221 = object.key("AttributeUpdates").start_array(); for item_222 in var_220 { { + #[allow(unused_mut)] let mut object_223 = array_221.value().start_object(); crate::json_ser::serialize_structure_crate_model_link_attribute_update( &mut object_223, @@ -1160,6 +1215,7 @@ pub fn serialize_structure_crate_input_update_link_attributes_input( array_221.finish(); } if let Some(var_224) = &input.typed_link_specifier { + #[allow(unused_mut)] let mut object_225 = object.key("TypedLinkSpecifier").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_specifier( &mut object_225, @@ -1178,6 +1234,7 @@ pub fn serialize_structure_crate_input_update_object_attributes_input( let mut array_227 = object.key("AttributeUpdates").start_array(); for item_228 in var_226 { { + #[allow(unused_mut)] let mut object_229 = array_227.value().start_object(); crate::json_ser::serialize_structure_crate_model_object_attribute_update( &mut object_229, @@ -1189,6 +1246,7 @@ pub fn serialize_structure_crate_input_update_object_attributes_input( array_227.finish(); } if let Some(var_230) = &input.object_reference { + #[allow(unused_mut)] let mut object_231 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_231, @@ -1217,6 +1275,7 @@ pub fn serialize_structure_crate_input_update_typed_link_facet_input( let mut array_234 = object.key("AttributeUpdates").start_array(); for item_235 in var_233 { { + #[allow(unused_mut)] let mut object_236 = array_234.value().start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_facet_attribute_update( &mut object_236, @@ -1282,11 +1341,13 @@ pub fn serialize_structure_crate_model_attribute_key_and_value( input: &crate::model::AttributeKeyAndValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_246) = &input.key { + #[allow(unused_mut)] let mut object_247 = object.key("Key").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key(&mut object_247, var_246)?; object_247.finish(); } if let Some(var_248) = &input.value { + #[allow(unused_mut)] let mut object_249 = object.key("Value").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_249, @@ -1328,6 +1389,7 @@ pub fn serialize_structure_crate_model_attribute_name_and_value( object.key("AttributeName").string(var_253.as_str()); } if let Some(var_254) = &input.value { + #[allow(unused_mut)] let mut object_255 = object.key("Value").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_255, @@ -1356,6 +1418,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( input: &crate::model::BatchReadOperation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_258) = &input.list_object_attributes { + #[allow(unused_mut)] let mut object_259 = object.key("ListObjectAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_object_attributes( &mut object_259, @@ -1364,6 +1427,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_259.finish(); } if let Some(var_260) = &input.list_object_children { + #[allow(unused_mut)] let mut object_261 = object.key("ListObjectChildren").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_object_children( &mut object_261, @@ -1372,6 +1436,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_261.finish(); } if let Some(var_262) = &input.list_attached_indices { + #[allow(unused_mut)] let mut object_263 = object.key("ListAttachedIndices").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_attached_indices( &mut object_263, @@ -1380,6 +1445,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_263.finish(); } if let Some(var_264) = &input.list_object_parent_paths { + #[allow(unused_mut)] let mut object_265 = object.key("ListObjectParentPaths").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_object_parent_paths( &mut object_265, @@ -1388,6 +1454,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_265.finish(); } if let Some(var_266) = &input.get_object_information { + #[allow(unused_mut)] let mut object_267 = object.key("GetObjectInformation").start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_object_information( &mut object_267, @@ -1396,6 +1463,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_267.finish(); } if let Some(var_268) = &input.get_object_attributes { + #[allow(unused_mut)] let mut object_269 = object.key("GetObjectAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_object_attributes( &mut object_269, @@ -1404,6 +1472,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_269.finish(); } if let Some(var_270) = &input.list_object_parents { + #[allow(unused_mut)] let mut object_271 = object.key("ListObjectParents").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_object_parents( &mut object_271, @@ -1412,6 +1481,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_271.finish(); } if let Some(var_272) = &input.list_object_policies { + #[allow(unused_mut)] let mut object_273 = object.key("ListObjectPolicies").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_object_policies( &mut object_273, @@ -1420,6 +1490,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_273.finish(); } if let Some(var_274) = &input.list_policy_attachments { + #[allow(unused_mut)] let mut object_275 = object.key("ListPolicyAttachments").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_policy_attachments( &mut object_275, @@ -1428,6 +1499,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_275.finish(); } if let Some(var_276) = &input.lookup_policy { + #[allow(unused_mut)] let mut object_277 = object.key("LookupPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_batch_lookup_policy( &mut object_277, @@ -1436,6 +1508,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_277.finish(); } if let Some(var_278) = &input.list_index { + #[allow(unused_mut)] let mut object_279 = object.key("ListIndex").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_index( &mut object_279, @@ -1444,6 +1517,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_279.finish(); } if let Some(var_280) = &input.list_outgoing_typed_links { + #[allow(unused_mut)] let mut object_281 = object.key("ListOutgoingTypedLinks").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_outgoing_typed_links( &mut object_281, @@ -1452,6 +1526,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_281.finish(); } if let Some(var_282) = &input.list_incoming_typed_links { + #[allow(unused_mut)] let mut object_283 = object.key("ListIncomingTypedLinks").start_object(); crate::json_ser::serialize_structure_crate_model_batch_list_incoming_typed_links( &mut object_283, @@ -1460,6 +1535,7 @@ pub fn serialize_structure_crate_model_batch_read_operation( object_283.finish(); } if let Some(var_284) = &input.get_link_attributes { + #[allow(unused_mut)] let mut object_285 = object.key("GetLinkAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_link_attributes( &mut object_285, @@ -1475,6 +1551,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( input: &crate::model::BatchWriteOperation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_286) = &input.create_object { + #[allow(unused_mut)] let mut object_287 = object.key("CreateObject").start_object(); crate::json_ser::serialize_structure_crate_model_batch_create_object( &mut object_287, @@ -1483,6 +1560,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_287.finish(); } if let Some(var_288) = &input.attach_object { + #[allow(unused_mut)] let mut object_289 = object.key("AttachObject").start_object(); crate::json_ser::serialize_structure_crate_model_batch_attach_object( &mut object_289, @@ -1491,6 +1569,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_289.finish(); } if let Some(var_290) = &input.detach_object { + #[allow(unused_mut)] let mut object_291 = object.key("DetachObject").start_object(); crate::json_ser::serialize_structure_crate_model_batch_detach_object( &mut object_291, @@ -1499,6 +1578,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_291.finish(); } if let Some(var_292) = &input.update_object_attributes { + #[allow(unused_mut)] let mut object_293 = object.key("UpdateObjectAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_batch_update_object_attributes( &mut object_293, @@ -1507,6 +1587,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_293.finish(); } if let Some(var_294) = &input.delete_object { + #[allow(unused_mut)] let mut object_295 = object.key("DeleteObject").start_object(); crate::json_ser::serialize_structure_crate_model_batch_delete_object( &mut object_295, @@ -1515,6 +1596,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_295.finish(); } if let Some(var_296) = &input.add_facet_to_object { + #[allow(unused_mut)] let mut object_297 = object.key("AddFacetToObject").start_object(); crate::json_ser::serialize_structure_crate_model_batch_add_facet_to_object( &mut object_297, @@ -1523,6 +1605,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_297.finish(); } if let Some(var_298) = &input.remove_facet_from_object { + #[allow(unused_mut)] let mut object_299 = object.key("RemoveFacetFromObject").start_object(); crate::json_ser::serialize_structure_crate_model_batch_remove_facet_from_object( &mut object_299, @@ -1531,6 +1614,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_299.finish(); } if let Some(var_300) = &input.attach_policy { + #[allow(unused_mut)] let mut object_301 = object.key("AttachPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_batch_attach_policy( &mut object_301, @@ -1539,6 +1623,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_301.finish(); } if let Some(var_302) = &input.detach_policy { + #[allow(unused_mut)] let mut object_303 = object.key("DetachPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_batch_detach_policy( &mut object_303, @@ -1547,6 +1632,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_303.finish(); } if let Some(var_304) = &input.create_index { + #[allow(unused_mut)] let mut object_305 = object.key("CreateIndex").start_object(); crate::json_ser::serialize_structure_crate_model_batch_create_index( &mut object_305, @@ -1555,6 +1641,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_305.finish(); } if let Some(var_306) = &input.attach_to_index { + #[allow(unused_mut)] let mut object_307 = object.key("AttachToIndex").start_object(); crate::json_ser::serialize_structure_crate_model_batch_attach_to_index( &mut object_307, @@ -1563,6 +1650,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_307.finish(); } if let Some(var_308) = &input.detach_from_index { + #[allow(unused_mut)] let mut object_309 = object.key("DetachFromIndex").start_object(); crate::json_ser::serialize_structure_crate_model_batch_detach_from_index( &mut object_309, @@ -1571,6 +1659,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_309.finish(); } if let Some(var_310) = &input.attach_typed_link { + #[allow(unused_mut)] let mut object_311 = object.key("AttachTypedLink").start_object(); crate::json_ser::serialize_structure_crate_model_batch_attach_typed_link( &mut object_311, @@ -1579,6 +1668,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_311.finish(); } if let Some(var_312) = &input.detach_typed_link { + #[allow(unused_mut)] let mut object_313 = object.key("DetachTypedLink").start_object(); crate::json_ser::serialize_structure_crate_model_batch_detach_typed_link( &mut object_313, @@ -1587,6 +1677,7 @@ pub fn serialize_structure_crate_model_batch_write_operation( object_313.finish(); } if let Some(var_314) = &input.update_link_attributes { + #[allow(unused_mut)] let mut object_315 = object.key("UpdateLinkAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_batch_update_link_attributes( &mut object_315, @@ -1605,6 +1696,7 @@ pub fn serialize_structure_crate_model_facet_attribute( object.key("Name").string(var_316.as_str()); } if let Some(var_317) = &input.attribute_definition { + #[allow(unused_mut)] let mut object_318 = object.key("AttributeDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_facet_attribute_definition( &mut object_318, @@ -1613,6 +1705,7 @@ pub fn serialize_structure_crate_model_facet_attribute( object_318.finish(); } if let Some(var_319) = &input.attribute_reference { + #[allow(unused_mut)] let mut object_320 = object.key("AttributeReference").start_object(); crate::json_ser::serialize_structure_crate_model_facet_attribute_reference( &mut object_320, @@ -1653,6 +1746,7 @@ pub fn serialize_structure_crate_model_typed_link_facet( let mut array_327 = object.key("Attributes").start_array(); for item_328 in var_326 { { + #[allow(unused_mut)] let mut object_329 = array_327.value().start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_attribute_definition( &mut object_329, @@ -1680,6 +1774,7 @@ pub fn serialize_structure_crate_model_typed_link_specifier( input: &crate::model::TypedLinkSpecifier, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_333) = &input.typed_link_facet { + #[allow(unused_mut)] let mut object_334 = object.key("TypedLinkFacet").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_334, @@ -1688,6 +1783,7 @@ pub fn serialize_structure_crate_model_typed_link_specifier( object_334.finish(); } if let Some(var_335) = &input.source_object_reference { + #[allow(unused_mut)] let mut object_336 = object.key("SourceObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_336, @@ -1696,6 +1792,7 @@ pub fn serialize_structure_crate_model_typed_link_specifier( object_336.finish(); } if let Some(var_337) = &input.target_object_reference { + #[allow(unused_mut)] let mut object_338 = object.key("TargetObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_338, @@ -1707,6 +1804,7 @@ pub fn serialize_structure_crate_model_typed_link_specifier( let mut array_340 = object.key("IdentityAttributeValues").start_array(); for item_341 in var_339 { { + #[allow(unused_mut)] let mut object_342 = array_340.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_name_and_value( &mut object_342, @@ -1728,6 +1826,7 @@ pub fn serialize_structure_crate_model_typed_link_attribute_range( object.key("AttributeName").string(var_343.as_str()); } if let Some(var_344) = &input.range { + #[allow(unused_mut)] let mut object_345 = object.key("Range").start_object(); crate::json_ser::serialize_structure_crate_model_typed_attribute_value_range( &mut object_345, @@ -1743,11 +1842,13 @@ pub fn serialize_structure_crate_model_object_attribute_range( input: &crate::model::ObjectAttributeRange, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_346) = &input.attribute_key { + #[allow(unused_mut)] let mut object_347 = object.key("AttributeKey").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key(&mut object_347, var_346)?; object_347.finish(); } if let Some(var_348) = &input.range { + #[allow(unused_mut)] let mut object_349 = object.key("Range").start_object(); crate::json_ser::serialize_structure_crate_model_typed_attribute_value_range( &mut object_349, @@ -1776,6 +1877,7 @@ pub fn serialize_structure_crate_model_facet_attribute_update( input: &crate::model::FacetAttributeUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_352) = &input.attribute { + #[allow(unused_mut)] let mut object_353 = object.key("Attribute").start_object(); crate::json_ser::serialize_structure_crate_model_facet_attribute(&mut object_353, var_352)?; object_353.finish(); @@ -1791,11 +1893,13 @@ pub fn serialize_structure_crate_model_link_attribute_update( input: &crate::model::LinkAttributeUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_355) = &input.attribute_key { + #[allow(unused_mut)] let mut object_356 = object.key("AttributeKey").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key(&mut object_356, var_355)?; object_356.finish(); } if let Some(var_357) = &input.attribute_action { + #[allow(unused_mut)] let mut object_358 = object.key("AttributeAction").start_object(); crate::json_ser::serialize_structure_crate_model_link_attribute_action( &mut object_358, @@ -1811,11 +1915,13 @@ pub fn serialize_structure_crate_model_object_attribute_update( input: &crate::model::ObjectAttributeUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_359) = &input.object_attribute_key { + #[allow(unused_mut)] let mut object_360 = object.key("ObjectAttributeKey").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key(&mut object_360, var_359)?; object_360.finish(); } if let Some(var_361) = &input.object_attribute_action { + #[allow(unused_mut)] let mut object_362 = object.key("ObjectAttributeAction").start_object(); crate::json_ser::serialize_structure_crate_model_object_attribute_action( &mut object_362, @@ -1831,6 +1937,7 @@ pub fn serialize_structure_crate_model_typed_link_facet_attribute_update( input: &crate::model::TypedLinkFacetAttributeUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_363) = &input.attribute { + #[allow(unused_mut)] let mut object_364 = object.key("Attribute").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_attribute_definition( &mut object_364, @@ -1884,6 +1991,7 @@ pub fn serialize_structure_crate_model_batch_list_object_attributes( input: &crate::model::BatchListObjectAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_366) = &input.object_reference { + #[allow(unused_mut)] let mut object_367 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_367, @@ -1901,6 +2009,7 @@ pub fn serialize_structure_crate_model_batch_list_object_attributes( ); } if let Some(var_370) = &input.facet_filter { + #[allow(unused_mut)] let mut object_371 = object.key("FacetFilter").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_371, var_370)?; object_371.finish(); @@ -1913,6 +2022,7 @@ pub fn serialize_structure_crate_model_batch_list_object_children( input: &crate::model::BatchListObjectChildren, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_372) = &input.object_reference { + #[allow(unused_mut)] let mut object_373 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_373, @@ -1937,6 +2047,7 @@ pub fn serialize_structure_crate_model_batch_list_attached_indices( input: &crate::model::BatchListAttachedIndices, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_376) = &input.target_reference { + #[allow(unused_mut)] let mut object_377 = object.key("TargetReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_377, @@ -1961,6 +2072,7 @@ pub fn serialize_structure_crate_model_batch_list_object_parent_paths( input: &crate::model::BatchListObjectParentPaths, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_380) = &input.object_reference { + #[allow(unused_mut)] let mut object_381 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_381, @@ -1985,6 +2097,7 @@ pub fn serialize_structure_crate_model_batch_get_object_information( input: &crate::model::BatchGetObjectInformation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_384) = &input.object_reference { + #[allow(unused_mut)] let mut object_385 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_385, @@ -2000,6 +2113,7 @@ pub fn serialize_structure_crate_model_batch_get_object_attributes( input: &crate::model::BatchGetObjectAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_386) = &input.object_reference { + #[allow(unused_mut)] let mut object_387 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_387, @@ -2008,6 +2122,7 @@ pub fn serialize_structure_crate_model_batch_get_object_attributes( object_387.finish(); } if let Some(var_388) = &input.schema_facet { + #[allow(unused_mut)] let mut object_389 = object.key("SchemaFacet").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_389, var_388)?; object_389.finish(); @@ -2029,6 +2144,7 @@ pub fn serialize_structure_crate_model_batch_list_object_parents( input: &crate::model::BatchListObjectParents, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_393) = &input.object_reference { + #[allow(unused_mut)] let mut object_394 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_394, @@ -2053,6 +2169,7 @@ pub fn serialize_structure_crate_model_batch_list_object_policies( input: &crate::model::BatchListObjectPolicies, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_397) = &input.object_reference { + #[allow(unused_mut)] let mut object_398 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_398, @@ -2077,6 +2194,7 @@ pub fn serialize_structure_crate_model_batch_list_policy_attachments( input: &crate::model::BatchListPolicyAttachments, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_401) = &input.policy_reference { + #[allow(unused_mut)] let mut object_402 = object.key("PolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_402, @@ -2101,6 +2219,7 @@ pub fn serialize_structure_crate_model_batch_lookup_policy( input: &crate::model::BatchLookupPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_405) = &input.object_reference { + #[allow(unused_mut)] let mut object_406 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_406, @@ -2128,6 +2247,7 @@ pub fn serialize_structure_crate_model_batch_list_index( let mut array_410 = object.key("RangesOnIndexedValues").start_array(); for item_411 in var_409 { { + #[allow(unused_mut)] let mut object_412 = array_410.value().start_object(); crate::json_ser::serialize_structure_crate_model_object_attribute_range( &mut object_412, @@ -2139,6 +2259,7 @@ pub fn serialize_structure_crate_model_batch_list_index( array_410.finish(); } if let Some(var_413) = &input.index_reference { + #[allow(unused_mut)] let mut object_414 = object.key("IndexReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_414, @@ -2163,6 +2284,7 @@ pub fn serialize_structure_crate_model_batch_list_outgoing_typed_links( input: &crate::model::BatchListOutgoingTypedLinks, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_417) = &input.object_reference { + #[allow(unused_mut)] let mut object_418 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_418, @@ -2174,6 +2296,7 @@ pub fn serialize_structure_crate_model_batch_list_outgoing_typed_links( let mut array_420 = object.key("FilterAttributeRanges").start_array(); for item_421 in var_419 { { + #[allow(unused_mut)] let mut object_422 = array_420.value().start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_attribute_range( &mut object_422, @@ -2185,6 +2308,7 @@ pub fn serialize_structure_crate_model_batch_list_outgoing_typed_links( array_420.finish(); } if let Some(var_423) = &input.filter_typed_link { + #[allow(unused_mut)] let mut object_424 = object.key("FilterTypedLink").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_424, @@ -2209,6 +2333,7 @@ pub fn serialize_structure_crate_model_batch_list_incoming_typed_links( input: &crate::model::BatchListIncomingTypedLinks, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_427) = &input.object_reference { + #[allow(unused_mut)] let mut object_428 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_428, @@ -2220,6 +2345,7 @@ pub fn serialize_structure_crate_model_batch_list_incoming_typed_links( let mut array_430 = object.key("FilterAttributeRanges").start_array(); for item_431 in var_429 { { + #[allow(unused_mut)] let mut object_432 = array_430.value().start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_attribute_range( &mut object_432, @@ -2231,6 +2357,7 @@ pub fn serialize_structure_crate_model_batch_list_incoming_typed_links( array_430.finish(); } if let Some(var_433) = &input.filter_typed_link { + #[allow(unused_mut)] let mut object_434 = object.key("FilterTypedLink").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_434, @@ -2255,6 +2382,7 @@ pub fn serialize_structure_crate_model_batch_get_link_attributes( input: &crate::model::BatchGetLinkAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_437) = &input.typed_link_specifier { + #[allow(unused_mut)] let mut object_438 = object.key("TypedLinkSpecifier").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_specifier( &mut object_438, @@ -2282,6 +2410,7 @@ pub fn serialize_structure_crate_model_batch_create_object( let mut array_443 = object.key("SchemaFacet").start_array(); for item_444 in var_442 { { + #[allow(unused_mut)] let mut object_445 = array_443.value().start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet( &mut object_445, @@ -2296,6 +2425,7 @@ pub fn serialize_structure_crate_model_batch_create_object( let mut array_447 = object.key("ObjectAttributeList").start_array(); for item_448 in var_446 { { + #[allow(unused_mut)] let mut object_449 = array_447.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key_and_value( &mut object_449, @@ -2307,6 +2437,7 @@ pub fn serialize_structure_crate_model_batch_create_object( array_447.finish(); } if let Some(var_450) = &input.parent_reference { + #[allow(unused_mut)] let mut object_451 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_451, @@ -2328,6 +2459,7 @@ pub fn serialize_structure_crate_model_batch_attach_object( input: &crate::model::BatchAttachObject, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_454) = &input.parent_reference { + #[allow(unused_mut)] let mut object_455 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_455, @@ -2336,6 +2468,7 @@ pub fn serialize_structure_crate_model_batch_attach_object( object_455.finish(); } if let Some(var_456) = &input.child_reference { + #[allow(unused_mut)] let mut object_457 = object.key("ChildReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_457, @@ -2354,6 +2487,7 @@ pub fn serialize_structure_crate_model_batch_detach_object( input: &crate::model::BatchDetachObject, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_459) = &input.parent_reference { + #[allow(unused_mut)] let mut object_460 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_460, @@ -2375,6 +2509,7 @@ pub fn serialize_structure_crate_model_batch_update_object_attributes( input: &crate::model::BatchUpdateObjectAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_463) = &input.object_reference { + #[allow(unused_mut)] let mut object_464 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_464, @@ -2386,6 +2521,7 @@ pub fn serialize_structure_crate_model_batch_update_object_attributes( let mut array_466 = object.key("AttributeUpdates").start_array(); for item_467 in var_465 { { + #[allow(unused_mut)] let mut object_468 = array_466.value().start_object(); crate::json_ser::serialize_structure_crate_model_object_attribute_update( &mut object_468, @@ -2404,6 +2540,7 @@ pub fn serialize_structure_crate_model_batch_delete_object( input: &crate::model::BatchDeleteObject, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_469) = &input.object_reference { + #[allow(unused_mut)] let mut object_470 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_470, @@ -2419,6 +2556,7 @@ pub fn serialize_structure_crate_model_batch_add_facet_to_object( input: &crate::model::BatchAddFacetToObject, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_471) = &input.schema_facet { + #[allow(unused_mut)] let mut object_472 = object.key("SchemaFacet").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_472, var_471)?; object_472.finish(); @@ -2427,6 +2565,7 @@ pub fn serialize_structure_crate_model_batch_add_facet_to_object( let mut array_474 = object.key("ObjectAttributeList").start_array(); for item_475 in var_473 { { + #[allow(unused_mut)] let mut object_476 = array_474.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key_and_value( &mut object_476, @@ -2438,6 +2577,7 @@ pub fn serialize_structure_crate_model_batch_add_facet_to_object( array_474.finish(); } if let Some(var_477) = &input.object_reference { + #[allow(unused_mut)] let mut object_478 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_478, @@ -2453,11 +2593,13 @@ pub fn serialize_structure_crate_model_batch_remove_facet_from_object( input: &crate::model::BatchRemoveFacetFromObject, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_479) = &input.schema_facet { + #[allow(unused_mut)] let mut object_480 = object.key("SchemaFacet").start_object(); crate::json_ser::serialize_structure_crate_model_schema_facet(&mut object_480, var_479)?; object_480.finish(); } if let Some(var_481) = &input.object_reference { + #[allow(unused_mut)] let mut object_482 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_482, @@ -2473,6 +2615,7 @@ pub fn serialize_structure_crate_model_batch_attach_policy( input: &crate::model::BatchAttachPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_483) = &input.policy_reference { + #[allow(unused_mut)] let mut object_484 = object.key("PolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_484, @@ -2481,6 +2624,7 @@ pub fn serialize_structure_crate_model_batch_attach_policy( object_484.finish(); } if let Some(var_485) = &input.object_reference { + #[allow(unused_mut)] let mut object_486 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_486, @@ -2496,6 +2640,7 @@ pub fn serialize_structure_crate_model_batch_detach_policy( input: &crate::model::BatchDetachPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_487) = &input.policy_reference { + #[allow(unused_mut)] let mut object_488 = object.key("PolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_488, @@ -2504,6 +2649,7 @@ pub fn serialize_structure_crate_model_batch_detach_policy( object_488.finish(); } if let Some(var_489) = &input.object_reference { + #[allow(unused_mut)] let mut object_490 = object.key("ObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_490, @@ -2522,6 +2668,7 @@ pub fn serialize_structure_crate_model_batch_create_index( let mut array_492 = object.key("OrderedIndexedAttributeList").start_array(); for item_493 in var_491 { { + #[allow(unused_mut)] let mut object_494 = array_492.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_key( &mut object_494, @@ -2536,6 +2683,7 @@ pub fn serialize_structure_crate_model_batch_create_index( object.key("IsUnique").boolean(input.is_unique); } if let Some(var_495) = &input.parent_reference { + #[allow(unused_mut)] let mut object_496 = object.key("ParentReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_496, @@ -2557,6 +2705,7 @@ pub fn serialize_structure_crate_model_batch_attach_to_index( input: &crate::model::BatchAttachToIndex, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_499) = &input.index_reference { + #[allow(unused_mut)] let mut object_500 = object.key("IndexReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_500, @@ -2565,6 +2714,7 @@ pub fn serialize_structure_crate_model_batch_attach_to_index( object_500.finish(); } if let Some(var_501) = &input.target_reference { + #[allow(unused_mut)] let mut object_502 = object.key("TargetReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_502, @@ -2580,6 +2730,7 @@ pub fn serialize_structure_crate_model_batch_detach_from_index( input: &crate::model::BatchDetachFromIndex, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_503) = &input.index_reference { + #[allow(unused_mut)] let mut object_504 = object.key("IndexReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_504, @@ -2588,6 +2739,7 @@ pub fn serialize_structure_crate_model_batch_detach_from_index( object_504.finish(); } if let Some(var_505) = &input.target_reference { + #[allow(unused_mut)] let mut object_506 = object.key("TargetReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_506, @@ -2603,6 +2755,7 @@ pub fn serialize_structure_crate_model_batch_attach_typed_link( input: &crate::model::BatchAttachTypedLink, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_507) = &input.source_object_reference { + #[allow(unused_mut)] let mut object_508 = object.key("SourceObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_508, @@ -2611,6 +2764,7 @@ pub fn serialize_structure_crate_model_batch_attach_typed_link( object_508.finish(); } if let Some(var_509) = &input.target_object_reference { + #[allow(unused_mut)] let mut object_510 = object.key("TargetObjectReference").start_object(); crate::json_ser::serialize_structure_crate_model_object_reference( &mut object_510, @@ -2619,6 +2773,7 @@ pub fn serialize_structure_crate_model_batch_attach_typed_link( object_510.finish(); } if let Some(var_511) = &input.typed_link_facet { + #[allow(unused_mut)] let mut object_512 = object.key("TypedLinkFacet").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_schema_and_facet_name( &mut object_512, @@ -2630,6 +2785,7 @@ pub fn serialize_structure_crate_model_batch_attach_typed_link( let mut array_514 = object.key("Attributes").start_array(); for item_515 in var_513 { { + #[allow(unused_mut)] let mut object_516 = array_514.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_name_and_value( &mut object_516, @@ -2648,6 +2804,7 @@ pub fn serialize_structure_crate_model_batch_detach_typed_link( input: &crate::model::BatchDetachTypedLink, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_517) = &input.typed_link_specifier { + #[allow(unused_mut)] let mut object_518 = object.key("TypedLinkSpecifier").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_specifier( &mut object_518, @@ -2663,6 +2820,7 @@ pub fn serialize_structure_crate_model_batch_update_link_attributes( input: &crate::model::BatchUpdateLinkAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_519) = &input.typed_link_specifier { + #[allow(unused_mut)] let mut object_520 = object.key("TypedLinkSpecifier").start_object(); crate::json_ser::serialize_structure_crate_model_typed_link_specifier( &mut object_520, @@ -2674,6 +2832,7 @@ pub fn serialize_structure_crate_model_batch_update_link_attributes( let mut array_522 = object.key("AttributeUpdates").start_array(); for item_523 in var_521 { { + #[allow(unused_mut)] let mut object_524 = array_522.value().start_object(); crate::json_ser::serialize_structure_crate_model_link_attribute_update( &mut object_524, @@ -2695,6 +2854,7 @@ pub fn serialize_structure_crate_model_facet_attribute_definition( object.key("Type").string(var_525.as_str()); } if let Some(var_526) = &input.default_value { + #[allow(unused_mut)] let mut object_527 = object.key("DefaultValue").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_527, @@ -2706,9 +2866,11 @@ pub fn serialize_structure_crate_model_facet_attribute_definition( object.key("IsImmutable").boolean(input.is_immutable); } if let Some(var_528) = &input.rules { + #[allow(unused_mut)] let mut object_529 = object.key("Rules").start_object(); for (key_530, value_531) in var_528 { { + #[allow(unused_mut)] let mut object_532 = object_529.key(key_530.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_532, value_531)?; object_532.finish(); @@ -2743,6 +2905,7 @@ pub fn serialize_structure_crate_model_typed_link_attribute_definition( object.key("Type").string(var_536.as_str()); } if let Some(var_537) = &input.default_value { + #[allow(unused_mut)] let mut object_538 = object.key("DefaultValue").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_538, @@ -2754,9 +2917,11 @@ pub fn serialize_structure_crate_model_typed_link_attribute_definition( object.key("IsImmutable").boolean(input.is_immutable); } if let Some(var_539) = &input.rules { + #[allow(unused_mut)] let mut object_540 = object.key("Rules").start_object(); for (key_541, value_542) in var_539 { { + #[allow(unused_mut)] let mut object_543 = object_540.key(key_541.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_543, value_542)?; object_543.finish(); @@ -2778,6 +2943,7 @@ pub fn serialize_structure_crate_model_typed_attribute_value_range( object.key("StartMode").string(var_545.as_str()); } if let Some(var_546) = &input.start_value { + #[allow(unused_mut)] let mut object_547 = object.key("StartValue").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_547, @@ -2789,6 +2955,7 @@ pub fn serialize_structure_crate_model_typed_attribute_value_range( object.key("EndMode").string(var_548.as_str()); } if let Some(var_549) = &input.end_value { + #[allow(unused_mut)] let mut object_550 = object.key("EndValue").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_550, @@ -2807,6 +2974,7 @@ pub fn serialize_structure_crate_model_link_attribute_action( object.key("AttributeActionType").string(var_551.as_str()); } if let Some(var_552) = &input.attribute_update_value { + #[allow(unused_mut)] let mut object_553 = object.key("AttributeUpdateValue").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_553, @@ -2827,6 +2995,7 @@ pub fn serialize_structure_crate_model_object_attribute_action( .string(var_554.as_str()); } if let Some(var_555) = &input.object_attribute_update_value { + #[allow(unused_mut)] let mut object_556 = object.key("ObjectAttributeUpdateValue").start_object(); crate::json_ser::serialize_union_crate_model_typed_attribute_value( &mut object_556, @@ -2845,6 +3014,7 @@ pub fn serialize_structure_crate_model_rule( object.key("Type").string(var_557.as_str()); } if let Some(var_558) = &input.parameters { + #[allow(unused_mut)] let mut object_559 = object.key("Parameters").start_object(); for (key_560, value_561) in var_558 { { diff --git a/sdk/cloudhsm/src/json_ser.rs b/sdk/cloudhsm/src/json_ser.rs index d6abcadf87bc..817ec537004b 100644 --- a/sdk/cloudhsm/src/json_ser.rs +++ b/sdk/cloudhsm/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_tags_to_resource_input( let mut array_3 = object.key("TagList").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); diff --git a/sdk/cloudhsmv2/src/json_ser.rs b/sdk/cloudhsmv2/src/json_ser.rs index b0f684c77250..6910e9272d5d 100644 --- a/sdk/cloudhsmv2/src/json_ser.rs +++ b/sdk/cloudhsmv2/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_copy_backup_to_region_input( let mut array_4 = object.key("TagList").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_6, item_5)?; object_6.finish(); @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( input: &crate::input::CreateClusterInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_7) = &input.backup_retention_policy { + #[allow(unused_mut)] let mut object_8 = object.key("BackupRetentionPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_backup_retention_policy( &mut object_8, @@ -54,6 +56,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_15 = object.key("TagList").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_17, item_16)?; object_17.finish(); @@ -133,6 +136,7 @@ pub fn serialize_structure_crate_input_describe_backups_input( ); } if let Some(var_29) = &input.filters { + #[allow(unused_mut)] let mut object_30 = object.key("Filters").start_object(); for (key_31, value_32) in var_29 { { @@ -158,6 +162,7 @@ pub fn serialize_structure_crate_input_describe_clusters_input( input: &crate::input::DescribeClustersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.filters { + #[allow(unused_mut)] let mut object_37 = object.key("Filters").start_object(); for (key_38, value_39) in var_36 { { @@ -237,6 +242,7 @@ pub fn serialize_structure_crate_input_modify_cluster_input( input: &crate::input::ModifyClusterInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.backup_retention_policy { + #[allow(unused_mut)] let mut object_53 = object.key("BackupRetentionPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_backup_retention_policy( &mut object_53, @@ -271,6 +277,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_58 = object.key("TagList").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_60, item_59)?; object_60.finish(); diff --git a/sdk/cloudtrail/src/json_ser.rs b/sdk/cloudtrail/src/json_ser.rs index 424744aeda47..05cd4d8a75b5 100644 --- a/sdk/cloudtrail/src/json_ser.rs +++ b/sdk/cloudtrail/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_3 = object.key("TagsList").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -44,6 +45,7 @@ pub fn serialize_structure_crate_input_create_event_data_store_input( let mut array_10 = object.key("AdvancedEventSelectors").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_advanced_event_selector( &mut object_12, @@ -73,6 +75,7 @@ pub fn serialize_structure_crate_input_create_event_data_store_input( let mut array_18 = object.key("TagsList").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_20, item_19)?; object_20.finish(); @@ -126,6 +129,7 @@ pub fn serialize_structure_crate_input_create_trail_input( let mut array_33 = object.key("TagsList").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_35, item_34)?; object_35.finish(); @@ -442,6 +446,7 @@ pub fn serialize_structure_crate_input_lookup_events_input( let mut array_81 = object.key("LookupAttributes").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_lookup_attribute( &mut object_83, @@ -488,6 +493,7 @@ pub fn serialize_structure_crate_input_put_event_selectors_input( let mut array_91 = object.key("EventSelectors").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_event_selector( &mut object_93, @@ -502,6 +508,7 @@ pub fn serialize_structure_crate_input_put_event_selectors_input( let mut array_95 = object.key("AdvancedEventSelectors").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_advanced_event_selector( &mut object_97, @@ -526,6 +533,7 @@ pub fn serialize_structure_crate_input_put_insight_selectors_input( let mut array_100 = object.key("InsightSelectors").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_insight_selector( &mut object_102, @@ -550,6 +558,7 @@ pub fn serialize_structure_crate_input_remove_tags_input( let mut array_105 = object.key("TagsList").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_107, item_106)?; object_107.finish(); @@ -584,6 +593,7 @@ pub fn serialize_structure_crate_input_start_import_input( array_110.finish(); } if let Some(var_112) = &input.import_source { + #[allow(unused_mut)] let mut object_113 = object.key("ImportSource").start_object(); crate::json_ser::serialize_structure_crate_model_import_source(&mut object_113, var_112)?; object_113.finish(); @@ -658,6 +668,7 @@ pub fn serialize_structure_crate_input_update_event_data_store_input( let mut array_124 = object.key("AdvancedEventSelectors").start_array(); for item_125 in var_123 { { + #[allow(unused_mut)] let mut object_126 = array_124.value().start_object(); crate::json_ser::serialize_structure_crate_model_advanced_event_selector( &mut object_126, @@ -752,6 +763,7 @@ pub fn serialize_structure_crate_model_advanced_event_selector( let mut array_146 = object.key("FieldSelectors").start_array(); for item_147 in var_145 { { + #[allow(unused_mut)] let mut object_148 = array_146.value().start_object(); crate::json_ser::serialize_structure_crate_model_advanced_field_selector( &mut object_148, @@ -792,6 +804,7 @@ pub fn serialize_structure_crate_model_event_selector( let mut array_154 = object.key("DataResources").start_array(); for item_155 in var_153 { { + #[allow(unused_mut)] let mut object_156 = array_154.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_resource( &mut object_156, @@ -829,6 +842,7 @@ pub fn serialize_structure_crate_model_import_source( input: &crate::model::ImportSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_161) = &input.s3 { + #[allow(unused_mut)] let mut object_162 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_import_source( &mut object_162, diff --git a/sdk/cloudwatchevents/src/json_ser.rs b/sdk/cloudwatchevents/src/json_ser.rs index 484d4e9f46b7..5f60cc2a2f00 100644 --- a/sdk/cloudwatchevents/src/json_ser.rs +++ b/sdk/cloudwatchevents/src/json_ser.rs @@ -86,6 +86,7 @@ pub fn serialize_structure_crate_input_create_connection_input( object.key("AuthorizationType").string(var_16.as_str()); } if let Some(var_17) = &input.auth_parameters { + #[allow(unused_mut)] let mut object_18 = object.key("AuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_auth_request_parameters( &mut object_18, @@ -110,6 +111,7 @@ pub fn serialize_structure_crate_input_create_event_bus_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -585,6 +587,7 @@ pub fn serialize_structure_crate_input_put_events_input( let mut array_94 = object.key("Entries").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_events_request_entry( &mut object_96, @@ -606,6 +609,7 @@ pub fn serialize_structure_crate_input_put_partner_events_input( let mut array_98 = object.key("Entries").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_partner_events_request_entry( &mut object_100, @@ -636,6 +640,7 @@ pub fn serialize_structure_crate_input_put_permission_input( object.key("StatementId").string(var_104.as_str()); } if let Some(var_105) = &input.condition { + #[allow(unused_mut)] let mut object_106 = object.key("Condition").start_object(); crate::json_ser::serialize_structure_crate_model_condition(&mut object_106, var_105)?; object_106.finish(); @@ -672,6 +677,7 @@ pub fn serialize_structure_crate_input_put_rule_input( let mut array_115 = object.key("Tags").start_array(); for item_116 in var_114 { { + #[allow(unused_mut)] let mut object_117 = array_115.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_117, item_116)?; object_117.finish(); @@ -699,6 +705,7 @@ pub fn serialize_structure_crate_input_put_targets_input( let mut array_122 = object.key("Targets").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_124, item_123)?; object_124.finish(); @@ -776,6 +783,7 @@ pub fn serialize_structure_crate_input_start_replay_input( .date_time(var_136, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_137) = &input.destination { + #[allow(unused_mut)] let mut object_138 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_replay_destination( &mut object_138, @@ -797,6 +805,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_141 = object.key("Tags").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_143, item_142)?; object_143.finish(); @@ -903,6 +912,7 @@ pub fn serialize_structure_crate_input_update_connection_input( object.key("AuthorizationType").string(var_162.as_str()); } if let Some(var_163) = &input.auth_parameters { + #[allow(unused_mut)] let mut object_164 = object.key("AuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_auth_request_parameters( &mut object_164, @@ -918,21 +928,25 @@ pub fn serialize_structure_crate_model_create_connection_auth_request_parameters input: &crate::model::CreateConnectionAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_165) = &input.basic_auth_parameters { + #[allow(unused_mut)] let mut object_166 = object.key("BasicAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_basic_auth_request_parameters(&mut object_166, var_165)?; object_166.finish(); } if let Some(var_167) = &input.o_auth_parameters { + #[allow(unused_mut)] let mut object_168 = object.key("OAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_o_auth_request_parameters(&mut object_168, var_167)?; object_168.finish(); } if let Some(var_169) = &input.api_key_auth_parameters { + #[allow(unused_mut)] let mut object_170 = object.key("ApiKeyAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_api_key_auth_request_parameters(&mut object_170, var_169)?; object_170.finish(); } if let Some(var_171) = &input.invocation_http_parameters { + #[allow(unused_mut)] let mut object_172 = object.key("InvocationHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_172, @@ -1058,6 +1072,7 @@ pub fn serialize_structure_crate_model_target( object.key("InputPath").string(var_198.as_str()); } if let Some(var_199) = &input.input_transformer { + #[allow(unused_mut)] let mut object_200 = object.key("InputTransformer").start_object(); crate::json_ser::serialize_structure_crate_model_input_transformer( &mut object_200, @@ -1066,6 +1081,7 @@ pub fn serialize_structure_crate_model_target( object_200.finish(); } if let Some(var_201) = &input.kinesis_parameters { + #[allow(unused_mut)] let mut object_202 = object.key("KinesisParameters").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_parameters( &mut object_202, @@ -1074,6 +1090,7 @@ pub fn serialize_structure_crate_model_target( object_202.finish(); } if let Some(var_203) = &input.run_command_parameters { + #[allow(unused_mut)] let mut object_204 = object.key("RunCommandParameters").start_object(); crate::json_ser::serialize_structure_crate_model_run_command_parameters( &mut object_204, @@ -1082,11 +1099,13 @@ pub fn serialize_structure_crate_model_target( object_204.finish(); } if let Some(var_205) = &input.ecs_parameters { + #[allow(unused_mut)] let mut object_206 = object.key("EcsParameters").start_object(); crate::json_ser::serialize_structure_crate_model_ecs_parameters(&mut object_206, var_205)?; object_206.finish(); } if let Some(var_207) = &input.batch_parameters { + #[allow(unused_mut)] let mut object_208 = object.key("BatchParameters").start_object(); crate::json_ser::serialize_structure_crate_model_batch_parameters( &mut object_208, @@ -1095,16 +1114,19 @@ pub fn serialize_structure_crate_model_target( object_208.finish(); } if let Some(var_209) = &input.sqs_parameters { + #[allow(unused_mut)] let mut object_210 = object.key("SqsParameters").start_object(); crate::json_ser::serialize_structure_crate_model_sqs_parameters(&mut object_210, var_209)?; object_210.finish(); } if let Some(var_211) = &input.http_parameters { + #[allow(unused_mut)] let mut object_212 = object.key("HttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_http_parameters(&mut object_212, var_211)?; object_212.finish(); } if let Some(var_213) = &input.redshift_data_parameters { + #[allow(unused_mut)] let mut object_214 = object.key("RedshiftDataParameters").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_data_parameters( &mut object_214, @@ -1113,6 +1135,7 @@ pub fn serialize_structure_crate_model_target( object_214.finish(); } if let Some(var_215) = &input.sage_maker_pipeline_parameters { + #[allow(unused_mut)] let mut object_216 = object.key("SageMakerPipelineParameters").start_object(); crate::json_ser::serialize_structure_crate_model_sage_maker_pipeline_parameters( &mut object_216, @@ -1121,6 +1144,7 @@ pub fn serialize_structure_crate_model_target( object_216.finish(); } if let Some(var_217) = &input.dead_letter_config { + #[allow(unused_mut)] let mut object_218 = object.key("DeadLetterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dead_letter_config( &mut object_218, @@ -1129,6 +1153,7 @@ pub fn serialize_structure_crate_model_target( object_218.finish(); } if let Some(var_219) = &input.retry_policy { + #[allow(unused_mut)] let mut object_220 = object.key("RetryPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_retry_policy(&mut object_220, var_219)?; object_220.finish(); @@ -1160,21 +1185,25 @@ pub fn serialize_structure_crate_model_update_connection_auth_request_parameters input: &crate::model::UpdateConnectionAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_225) = &input.basic_auth_parameters { + #[allow(unused_mut)] let mut object_226 = object.key("BasicAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_basic_auth_request_parameters(&mut object_226, var_225)?; object_226.finish(); } if let Some(var_227) = &input.o_auth_parameters { + #[allow(unused_mut)] let mut object_228 = object.key("OAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_o_auth_request_parameters(&mut object_228, var_227)?; object_228.finish(); } if let Some(var_229) = &input.api_key_auth_parameters { + #[allow(unused_mut)] let mut object_230 = object.key("ApiKeyAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_api_key_auth_request_parameters(&mut object_230, var_229)?; object_230.finish(); } if let Some(var_231) = &input.invocation_http_parameters { + #[allow(unused_mut)] let mut object_232 = object.key("InvocationHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_232, @@ -1203,6 +1232,7 @@ pub fn serialize_structure_crate_model_create_connection_o_auth_request_paramete input: &crate::model::CreateConnectionOAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_235) = &input.client_parameters { + #[allow(unused_mut)] let mut object_236 = object.key("ClientParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_o_auth_client_request_parameters(&mut object_236, var_235)?; object_236.finish(); @@ -1214,6 +1244,7 @@ pub fn serialize_structure_crate_model_create_connection_o_auth_request_paramete object.key("HttpMethod").string(var_238.as_str()); } if let Some(var_239) = &input.o_auth_http_parameters { + #[allow(unused_mut)] let mut object_240 = object.key("OAuthHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_240, @@ -1245,6 +1276,7 @@ pub fn serialize_structure_crate_model_connection_http_parameters( let mut array_244 = object.key("HeaderParameters").start_array(); for item_245 in var_243 { { + #[allow(unused_mut)] let mut object_246 = array_244.value().start_object(); crate::json_ser::serialize_structure_crate_model_connection_header_parameter( &mut object_246, @@ -1259,6 +1291,7 @@ pub fn serialize_structure_crate_model_connection_http_parameters( let mut array_248 = object.key("QueryStringParameters").start_array(); for item_249 in var_247 { { + #[allow(unused_mut)] let mut object_250 = array_248.value().start_object(); crate::json_ser::serialize_structure_crate_model_connection_query_string_parameter( &mut object_250, @@ -1273,6 +1306,7 @@ pub fn serialize_structure_crate_model_connection_http_parameters( let mut array_252 = object.key("BodyParameters").start_array(); for item_253 in var_251 { { + #[allow(unused_mut)] let mut object_254 = array_252.value().start_object(); crate::json_ser::serialize_structure_crate_model_connection_body_parameter( &mut object_254, @@ -1291,6 +1325,7 @@ pub fn serialize_structure_crate_model_input_transformer( input: &crate::model::InputTransformer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_255) = &input.input_paths_map { + #[allow(unused_mut)] let mut object_256 = object.key("InputPathsMap").start_object(); for (key_257, value_258) in var_255 { { @@ -1323,6 +1358,7 @@ pub fn serialize_structure_crate_model_run_command_parameters( let mut array_262 = object.key("RunCommandTargets").start_array(); for item_263 in var_261 { { + #[allow(unused_mut)] let mut object_264 = array_262.value().start_object(); crate::json_ser::serialize_structure_crate_model_run_command_target( &mut object_264, @@ -1353,6 +1389,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( object.key("LaunchType").string(var_267.as_str()); } if let Some(var_268) = &input.network_configuration { + #[allow(unused_mut)] let mut object_269 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_269, @@ -1370,6 +1407,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_273 = object.key("CapacityProviderStrategy").start_array(); for item_274 in var_272 { { + #[allow(unused_mut)] let mut object_275 = array_273.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_275, @@ -1394,6 +1432,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_277 = object.key("PlacementConstraints").start_array(); for item_278 in var_276 { { + #[allow(unused_mut)] let mut object_279 = array_277.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_constraint( &mut object_279, @@ -1408,6 +1447,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_281 = object.key("PlacementStrategy").start_array(); for item_282 in var_280 { { + #[allow(unused_mut)] let mut object_283 = array_281.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_strategy( &mut object_283, @@ -1428,6 +1468,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_287 = object.key("Tags").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_289, item_288)?; object_289.finish(); @@ -1449,6 +1490,7 @@ pub fn serialize_structure_crate_model_batch_parameters( object.key("JobName").string(var_291.as_str()); } if let Some(var_292) = &input.array_properties { + #[allow(unused_mut)] let mut object_293 = object.key("ArrayProperties").start_object(); crate::json_ser::serialize_structure_crate_model_batch_array_properties( &mut object_293, @@ -1457,6 +1499,7 @@ pub fn serialize_structure_crate_model_batch_parameters( object_293.finish(); } if let Some(var_294) = &input.retry_strategy { + #[allow(unused_mut)] let mut object_295 = object.key("RetryStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_batch_retry_strategy( &mut object_295, @@ -1491,6 +1534,7 @@ pub fn serialize_structure_crate_model_http_parameters( array_298.finish(); } if let Some(var_300) = &input.header_parameters { + #[allow(unused_mut)] let mut object_301 = object.key("HeaderParameters").start_object(); for (key_302, value_303) in var_300 { { @@ -1500,6 +1544,7 @@ pub fn serialize_structure_crate_model_http_parameters( object_301.finish(); } if let Some(var_304) = &input.query_string_parameters { + #[allow(unused_mut)] let mut object_305 = object.key("QueryStringParameters").start_object(); for (key_306, value_307) in var_304 { { @@ -1544,6 +1589,7 @@ pub fn serialize_structure_crate_model_sage_maker_pipeline_parameters( let mut array_314 = object.key("PipelineParameterList").start_array(); for item_315 in var_313 { { + #[allow(unused_mut)] let mut object_316 = array_314.value().start_object(); crate::json_ser::serialize_structure_crate_model_sage_maker_pipeline_parameter( &mut object_316, @@ -1604,6 +1650,7 @@ pub fn serialize_structure_crate_model_update_connection_o_auth_request_paramete input: &crate::model::UpdateConnectionOAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_322) = &input.client_parameters { + #[allow(unused_mut)] let mut object_323 = object.key("ClientParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_o_auth_client_request_parameters(&mut object_323, var_322)?; object_323.finish(); @@ -1615,6 +1662,7 @@ pub fn serialize_structure_crate_model_update_connection_o_auth_request_paramete object.key("HttpMethod").string(var_325.as_str()); } if let Some(var_326) = &input.o_auth_http_parameters { + #[allow(unused_mut)] let mut object_327 = object.key("OAuthHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_327, @@ -1723,6 +1771,7 @@ pub fn serialize_structure_crate_model_network_configuration( input: &crate::model::NetworkConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_342) = &input.awsvpc_configuration { + #[allow(unused_mut)] let mut object_343 = object.key("awsvpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_vpc_configuration( &mut object_343, diff --git a/sdk/cloudwatchlogs/src/json_ser.rs b/sdk/cloudwatchlogs/src/json_ser.rs index db0d36642b33..a83d02aa001e 100644 --- a/sdk/cloudwatchlogs/src/json_ser.rs +++ b/sdk/cloudwatchlogs/src/json_ser.rs @@ -67,6 +67,7 @@ pub fn serialize_structure_crate_input_create_log_group_input( object.key("kmsKeyId").string(var_12.as_str()); } if let Some(var_13) = &input.tags { + #[allow(unused_mut)] let mut object_14 = object.key("tags").start_object(); for (key_15, value_16) in var_13 { { @@ -565,6 +566,7 @@ pub fn serialize_structure_crate_input_put_log_events_input( let mut array_98 = object.key("logEvents").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_log_event( &mut object_100, @@ -598,6 +600,7 @@ pub fn serialize_structure_crate_input_put_metric_filter_input( let mut array_106 = object.key("metricTransformations").start_array(); for item_107 in var_105 { { + #[allow(unused_mut)] let mut object_108 = array_106.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_transformation( &mut object_108, @@ -748,6 +751,7 @@ pub fn serialize_structure_crate_input_tag_log_group_input( object.key("logGroupName").string(var_134.as_str()); } if let Some(var_135) = &input.tags { + #[allow(unused_mut)] let mut object_136 = object.key("tags").start_object(); for (key_137, value_138) in var_135 { { @@ -833,6 +837,7 @@ pub fn serialize_structure_crate_model_metric_transformation( ); } if let Some(var_153) = &input.dimensions { + #[allow(unused_mut)] let mut object_154 = object.key("dimensions").start_object(); for (key_155, value_156) in var_153 { { diff --git a/sdk/codeartifact/src/json_ser.rs b/sdk/codeartifact/src/json_ser.rs index a2d353314722..4a5855d3aa97 100644 --- a/sdk/codeartifact/src/json_ser.rs +++ b/sdk/codeartifact/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_copy_package_versions_input( object.key("includeFromUpstream").boolean(*var_2); } if let Some(var_3) = &input.version_revisions { + #[allow(unused_mut)] let mut object_4 = object.key("versionRevisions").start_object(); for (key_5, value_6) in var_3 { { @@ -41,6 +42,7 @@ pub fn serialize_structure_crate_input_create_domain_input( let mut array_12 = object.key("tags").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_14, item_13)?; object_14.finish(); @@ -62,6 +64,7 @@ pub fn serialize_structure_crate_input_create_repository_input( let mut array_17 = object.key("tags").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_19, item_18)?; object_19.finish(); @@ -73,6 +76,7 @@ pub fn serialize_structure_crate_input_create_repository_input( let mut array_21 = object.key("upstreams").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_upstream_repository( &mut object_23, @@ -113,6 +117,7 @@ pub fn serialize_structure_crate_input_dispose_package_versions_input( object.key("expectedStatus").string(var_28.as_str()); } if let Some(var_29) = &input.version_revisions { + #[allow(unused_mut)] let mut object_30 = object.key("versionRevisions").start_object(); for (key_31, value_32) in var_29 { { @@ -173,6 +178,7 @@ pub fn serialize_structure_crate_input_put_package_origin_configuration_input( input: &crate::input::PutPackageOriginConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_42) = &input.restrictions { + #[allow(unused_mut)] let mut object_43 = object.key("restrictions").start_object(); crate::json_ser::serialize_structure_crate_model_package_origin_restrictions( &mut object_43, @@ -204,6 +210,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_47 = object.key("tags").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_49, item_48)?; object_49.finish(); @@ -241,6 +248,7 @@ pub fn serialize_structure_crate_input_update_package_versions_status_input( object.key("targetStatus").string(var_54.as_str()); } if let Some(var_55) = &input.version_revisions { + #[allow(unused_mut)] let mut object_56 = object.key("versionRevisions").start_object(); for (key_57, value_58) in var_55 { { @@ -272,6 +280,7 @@ pub fn serialize_structure_crate_input_update_repository_input( let mut array_64 = object.key("upstreams").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_upstream_repository( &mut object_66, diff --git a/sdk/codebuild/src/json_ser.rs b/sdk/codebuild/src/json_ser.rs index e9bd126c8364..752b8a6bcb3d 100644 --- a/sdk/codebuild/src/json_ser.rs +++ b/sdk/codebuild/src/json_ser.rs @@ -106,6 +106,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("description").string(var_20.as_str()); } if let Some(var_21) = &input.source { + #[allow(unused_mut)] let mut object_22 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_project_source(&mut object_22, var_21)?; object_22.finish(); @@ -114,6 +115,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_24 = object.key("secondarySources").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source( &mut object_26, @@ -131,6 +133,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_29 = object.key("secondarySourceVersions").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source_version( &mut object_31, @@ -142,6 +145,7 @@ pub fn serialize_structure_crate_input_create_project_input( array_29.finish(); } if let Some(var_32) = &input.artifacts { + #[allow(unused_mut)] let mut object_33 = object.key("artifacts").start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts(&mut object_33, var_32)?; object_33.finish(); @@ -150,6 +154,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_35 = object.key("secondaryArtifacts").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_37, @@ -161,11 +166,13 @@ pub fn serialize_structure_crate_input_create_project_input( array_35.finish(); } if let Some(var_38) = &input.cache { + #[allow(unused_mut)] let mut object_39 = object.key("cache").start_object(); crate::json_ser::serialize_structure_crate_model_project_cache(&mut object_39, var_38)?; object_39.finish(); } if let Some(var_40) = &input.environment { + #[allow(unused_mut)] let mut object_41 = object.key("environment").start_object(); crate::json_ser::serialize_structure_crate_model_project_environment( &mut object_41, @@ -195,6 +202,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_47 = object.key("tags").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_49, item_48)?; object_49.finish(); @@ -203,6 +211,7 @@ pub fn serialize_structure_crate_input_create_project_input( array_47.finish(); } if let Some(var_50) = &input.vpc_config { + #[allow(unused_mut)] let mut object_51 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_51, var_50)?; object_51.finish(); @@ -211,6 +220,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("badgeEnabled").boolean(*var_52); } if let Some(var_53) = &input.logs_config { + #[allow(unused_mut)] let mut object_54 = object.key("logsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_logs_config(&mut object_54, var_53)?; object_54.finish(); @@ -219,6 +229,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_56 = object.key("fileSystemLocations").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_file_system_location( &mut object_58, @@ -230,6 +241,7 @@ pub fn serialize_structure_crate_input_create_project_input( array_56.finish(); } if let Some(var_59) = &input.build_batch_config { + #[allow(unused_mut)] let mut object_60 = object.key("buildBatchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_project_build_batch_config( &mut object_60, @@ -257,6 +269,7 @@ pub fn serialize_structure_crate_input_create_report_group_input( object.key("type").string(var_63.as_str()); } if let Some(var_64) = &input.export_config { + #[allow(unused_mut)] let mut object_65 = object.key("exportConfig").start_object(); crate::json_ser::serialize_structure_crate_model_report_export_config( &mut object_65, @@ -268,6 +281,7 @@ pub fn serialize_structure_crate_input_create_report_group_input( let mut array_67 = object.key("tags").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_69, item_68)?; object_69.finish(); @@ -295,6 +309,7 @@ pub fn serialize_structure_crate_input_create_webhook_input( let mut array_75 = array_73.value().start_array(); for item_76 in item_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_webhook_filter( &mut object_77, @@ -441,6 +456,7 @@ pub fn serialize_structure_crate_input_describe_test_cases_input( ); } if let Some(var_96) = &input.filter { + #[allow(unused_mut)] let mut object_97 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_test_case_filter(&mut object_97, var_96)?; object_97.finish(); @@ -514,6 +530,7 @@ pub fn serialize_structure_crate_input_list_build_batches_input( input: &crate::input::ListBuildBatchesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_108) = &input.filter { + #[allow(unused_mut)] let mut object_109 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_build_batch_filter( &mut object_109, @@ -544,6 +561,7 @@ pub fn serialize_structure_crate_input_list_build_batches_for_project_input( object.key("projectName").string(var_113.as_str()); } if let Some(var_114) = &input.filter { + #[allow(unused_mut)] let mut object_115 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_build_batch_filter( &mut object_115, @@ -650,6 +668,7 @@ pub fn serialize_structure_crate_input_list_reports_input( ); } if let Some(var_134) = &input.filter { + #[allow(unused_mut)] let mut object_135 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_report_filter(&mut object_135, var_134)?; object_135.finish(); @@ -677,6 +696,7 @@ pub fn serialize_structure_crate_input_list_reports_for_report_group_input( ); } if let Some(var_140) = &input.filter { + #[allow(unused_mut)] let mut object_141 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_report_filter(&mut object_141, var_140)?; object_141.finish(); @@ -781,6 +801,7 @@ pub fn serialize_structure_crate_input_start_build_input( let mut array_159 = object.key("secondarySourcesOverride").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source( &mut object_161, @@ -795,6 +816,7 @@ pub fn serialize_structure_crate_input_start_build_input( let mut array_163 = object.key("secondarySourcesVersionOverride").start_array(); for item_164 in var_162 { { + #[allow(unused_mut)] let mut object_165 = array_163.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source_version( &mut object_165, @@ -809,6 +831,7 @@ pub fn serialize_structure_crate_input_start_build_input( object.key("sourceVersion").string(var_166.as_str()); } if let Some(var_167) = &input.artifacts_override { + #[allow(unused_mut)] let mut object_168 = object.key("artifactsOverride").start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_168, @@ -820,6 +843,7 @@ pub fn serialize_structure_crate_input_start_build_input( let mut array_170 = object.key("secondaryArtifactsOverride").start_array(); for item_171 in var_169 { { + #[allow(unused_mut)] let mut object_172 = array_170.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_172, @@ -834,6 +858,7 @@ pub fn serialize_structure_crate_input_start_build_input( let mut array_174 = object.key("environmentVariablesOverride").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_variable( &mut object_176, @@ -853,6 +878,7 @@ pub fn serialize_structure_crate_input_start_build_input( .string(var_178.as_str()); } if let Some(var_179) = &input.source_auth_override { + #[allow(unused_mut)] let mut object_180 = object.key("sourceAuthOverride").start_object(); crate::json_ser::serialize_structure_crate_model_source_auth(&mut object_180, var_179)?; object_180.finish(); @@ -864,6 +890,7 @@ pub fn serialize_structure_crate_input_start_build_input( ); } if let Some(var_182) = &input.git_submodules_config_override { + #[allow(unused_mut)] let mut object_183 = object.key("gitSubmodulesConfigOverride").start_object(); crate::json_ser::serialize_structure_crate_model_git_submodules_config( &mut object_183, @@ -881,6 +908,7 @@ pub fn serialize_structure_crate_input_start_build_input( object.key("reportBuildStatusOverride").boolean(*var_186); } if let Some(var_187) = &input.build_status_config_override { + #[allow(unused_mut)] let mut object_188 = object.key("buildStatusConfigOverride").start_object(); crate::json_ser::serialize_structure_crate_model_build_status_config( &mut object_188, @@ -903,6 +931,7 @@ pub fn serialize_structure_crate_input_start_build_input( object.key("certificateOverride").string(var_192.as_str()); } if let Some(var_193) = &input.cache_override { + #[allow(unused_mut)] let mut object_194 = object.key("cacheOverride").start_object(); crate::json_ser::serialize_structure_crate_model_project_cache(&mut object_194, var_193)?; object_194.finish(); @@ -932,11 +961,13 @@ pub fn serialize_structure_crate_input_start_build_input( object.key("idempotencyToken").string(var_200.as_str()); } if let Some(var_201) = &input.logs_config_override { + #[allow(unused_mut)] let mut object_202 = object.key("logsConfigOverride").start_object(); crate::json_ser::serialize_structure_crate_model_logs_config(&mut object_202, var_201)?; object_202.finish(); } if let Some(var_203) = &input.registry_credential_override { + #[allow(unused_mut)] let mut object_204 = object.key("registryCredentialOverride").start_object(); crate::json_ser::serialize_structure_crate_model_registry_credential( &mut object_204, @@ -966,6 +997,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( let mut array_209 = object.key("secondarySourcesOverride").start_array(); for item_210 in var_208 { { + #[allow(unused_mut)] let mut object_211 = array_209.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source( &mut object_211, @@ -980,6 +1012,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( let mut array_213 = object.key("secondarySourcesVersionOverride").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source_version( &mut object_215, @@ -994,6 +1027,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( object.key("sourceVersion").string(var_216.as_str()); } if let Some(var_217) = &input.artifacts_override { + #[allow(unused_mut)] let mut object_218 = object.key("artifactsOverride").start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_218, @@ -1005,6 +1039,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( let mut array_220 = object.key("secondaryArtifactsOverride").start_array(); for item_221 in var_219 { { + #[allow(unused_mut)] let mut object_222 = array_220.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_222, @@ -1019,6 +1054,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( let mut array_224 = object.key("environmentVariablesOverride").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_variable( &mut object_226, @@ -1038,6 +1074,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( .string(var_228.as_str()); } if let Some(var_229) = &input.source_auth_override { + #[allow(unused_mut)] let mut object_230 = object.key("sourceAuthOverride").start_object(); crate::json_ser::serialize_structure_crate_model_source_auth(&mut object_230, var_229)?; object_230.finish(); @@ -1049,6 +1086,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( ); } if let Some(var_232) = &input.git_submodules_config_override { + #[allow(unused_mut)] let mut object_233 = object.key("gitSubmodulesConfigOverride").start_object(); crate::json_ser::serialize_structure_crate_model_git_submodules_config( &mut object_233, @@ -1082,6 +1120,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( object.key("certificateOverride").string(var_240.as_str()); } if let Some(var_241) = &input.cache_override { + #[allow(unused_mut)] let mut object_242 = object.key("cacheOverride").start_object(); crate::json_ser::serialize_structure_crate_model_project_cache(&mut object_242, var_241)?; object_242.finish(); @@ -1111,11 +1150,13 @@ pub fn serialize_structure_crate_input_start_build_batch_input( object.key("idempotencyToken").string(var_248.as_str()); } if let Some(var_249) = &input.logs_config_override { + #[allow(unused_mut)] let mut object_250 = object.key("logsConfigOverride").start_object(); crate::json_ser::serialize_structure_crate_model_logs_config(&mut object_250, var_249)?; object_250.finish(); } if let Some(var_251) = &input.registry_credential_override { + #[allow(unused_mut)] let mut object_252 = object.key("registryCredentialOverride").start_object(); crate::json_ser::serialize_structure_crate_model_registry_credential( &mut object_252, @@ -1129,6 +1170,7 @@ pub fn serialize_structure_crate_input_start_build_batch_input( .string(var_253.as_str()); } if let Some(var_254) = &input.build_batch_config_override { + #[allow(unused_mut)] let mut object_255 = object.key("buildBatchConfigOverride").start_object(); crate::json_ser::serialize_structure_crate_model_project_build_batch_config( &mut object_255, @@ -1173,6 +1215,7 @@ pub fn serialize_structure_crate_input_update_project_input( object.key("description").string(var_260.as_str()); } if let Some(var_261) = &input.source { + #[allow(unused_mut)] let mut object_262 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_project_source(&mut object_262, var_261)?; object_262.finish(); @@ -1181,6 +1224,7 @@ pub fn serialize_structure_crate_input_update_project_input( let mut array_264 = object.key("secondarySources").start_array(); for item_265 in var_263 { { + #[allow(unused_mut)] let mut object_266 = array_264.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source( &mut object_266, @@ -1198,6 +1242,7 @@ pub fn serialize_structure_crate_input_update_project_input( let mut array_269 = object.key("secondarySourceVersions").start_array(); for item_270 in var_268 { { + #[allow(unused_mut)] let mut object_271 = array_269.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_source_version( &mut object_271, @@ -1209,6 +1254,7 @@ pub fn serialize_structure_crate_input_update_project_input( array_269.finish(); } if let Some(var_272) = &input.artifacts { + #[allow(unused_mut)] let mut object_273 = object.key("artifacts").start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_273, @@ -1220,6 +1266,7 @@ pub fn serialize_structure_crate_input_update_project_input( let mut array_275 = object.key("secondaryArtifacts").start_array(); for item_276 in var_274 { { + #[allow(unused_mut)] let mut object_277 = array_275.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_artifacts( &mut object_277, @@ -1231,11 +1278,13 @@ pub fn serialize_structure_crate_input_update_project_input( array_275.finish(); } if let Some(var_278) = &input.cache { + #[allow(unused_mut)] let mut object_279 = object.key("cache").start_object(); crate::json_ser::serialize_structure_crate_model_project_cache(&mut object_279, var_278)?; object_279.finish(); } if let Some(var_280) = &input.environment { + #[allow(unused_mut)] let mut object_281 = object.key("environment").start_object(); crate::json_ser::serialize_structure_crate_model_project_environment( &mut object_281, @@ -1265,6 +1314,7 @@ pub fn serialize_structure_crate_input_update_project_input( let mut array_287 = object.key("tags").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_289, item_288)?; object_289.finish(); @@ -1273,6 +1323,7 @@ pub fn serialize_structure_crate_input_update_project_input( array_287.finish(); } if let Some(var_290) = &input.vpc_config { + #[allow(unused_mut)] let mut object_291 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_291, var_290)?; object_291.finish(); @@ -1281,6 +1332,7 @@ pub fn serialize_structure_crate_input_update_project_input( object.key("badgeEnabled").boolean(*var_292); } if let Some(var_293) = &input.logs_config { + #[allow(unused_mut)] let mut object_294 = object.key("logsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_logs_config(&mut object_294, var_293)?; object_294.finish(); @@ -1289,6 +1341,7 @@ pub fn serialize_structure_crate_input_update_project_input( let mut array_296 = object.key("fileSystemLocations").start_array(); for item_297 in var_295 { { + #[allow(unused_mut)] let mut object_298 = array_296.value().start_object(); crate::json_ser::serialize_structure_crate_model_project_file_system_location( &mut object_298, @@ -1300,6 +1353,7 @@ pub fn serialize_structure_crate_input_update_project_input( array_296.finish(); } if let Some(var_299) = &input.build_batch_config { + #[allow(unused_mut)] let mut object_300 = object.key("buildBatchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_project_build_batch_config( &mut object_300, @@ -1340,6 +1394,7 @@ pub fn serialize_structure_crate_input_update_report_group_input( object.key("arn").string(var_305.as_str()); } if let Some(var_306) = &input.export_config { + #[allow(unused_mut)] let mut object_307 = object.key("exportConfig").start_object(); crate::json_ser::serialize_structure_crate_model_report_export_config( &mut object_307, @@ -1351,6 +1406,7 @@ pub fn serialize_structure_crate_input_update_report_group_input( let mut array_309 = object.key("tags").start_array(); for item_310 in var_308 { { + #[allow(unused_mut)] let mut object_311 = array_309.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_311, item_310)?; object_311.finish(); @@ -1381,6 +1437,7 @@ pub fn serialize_structure_crate_input_update_webhook_input( let mut array_317 = array_315.value().start_array(); for item_318 in item_316 { { + #[allow(unused_mut)] let mut object_319 = array_317.value().start_object(); crate::json_ser::serialize_structure_crate_model_webhook_filter( &mut object_319, @@ -1417,6 +1474,7 @@ pub fn serialize_structure_crate_model_project_source( ); } if let Some(var_324) = &input.git_submodules_config { + #[allow(unused_mut)] let mut object_325 = object.key("gitSubmodulesConfig").start_object(); crate::json_ser::serialize_structure_crate_model_git_submodules_config( &mut object_325, @@ -1428,6 +1486,7 @@ pub fn serialize_structure_crate_model_project_source( object.key("buildspec").string(var_326.as_str()); } if let Some(var_327) = &input.auth { + #[allow(unused_mut)] let mut object_328 = object.key("auth").start_object(); crate::json_ser::serialize_structure_crate_model_source_auth(&mut object_328, var_327)?; object_328.finish(); @@ -1436,6 +1495,7 @@ pub fn serialize_structure_crate_model_project_source( object.key("reportBuildStatus").boolean(*var_329); } if let Some(var_330) = &input.build_status_config { + #[allow(unused_mut)] let mut object_331 = object.key("buildStatusConfig").start_object(); crate::json_ser::serialize_structure_crate_model_build_status_config( &mut object_331, @@ -1541,6 +1601,7 @@ pub fn serialize_structure_crate_model_project_environment( let mut array_355 = object.key("environmentVariables").start_array(); for item_356 in var_354 { { + #[allow(unused_mut)] let mut object_357 = array_355.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_variable( &mut object_357, @@ -1558,6 +1619,7 @@ pub fn serialize_structure_crate_model_project_environment( object.key("certificate").string(var_359.as_str()); } if let Some(var_360) = &input.registry_credential { + #[allow(unused_mut)] let mut object_361 = object.key("registryCredential").start_object(); crate::json_ser::serialize_structure_crate_model_registry_credential( &mut object_361, @@ -1619,6 +1681,7 @@ pub fn serialize_structure_crate_model_logs_config( input: &crate::model::LogsConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_372) = &input.cloud_watch_logs { + #[allow(unused_mut)] let mut object_373 = object.key("cloudWatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_config( &mut object_373, @@ -1627,6 +1690,7 @@ pub fn serialize_structure_crate_model_logs_config( object_373.finish(); } if let Some(var_374) = &input.s3_logs { + #[allow(unused_mut)] let mut object_375 = object.key("s3Logs").start_object(); crate::json_ser::serialize_structure_crate_model_s3_logs_config(&mut object_375, var_374)?; object_375.finish(); @@ -1667,6 +1731,7 @@ pub fn serialize_structure_crate_model_project_build_batch_config( object.key("combineArtifacts").boolean(*var_382); } if let Some(var_383) = &input.restrictions { + #[allow(unused_mut)] let mut object_384 = object.key("restrictions").start_object(); crate::json_ser::serialize_structure_crate_model_batch_restrictions( &mut object_384, @@ -1694,6 +1759,7 @@ pub fn serialize_structure_crate_model_report_export_config( object.key("exportConfigType").string(var_387.as_str()); } if let Some(var_388) = &input.s3_destination { + #[allow(unused_mut)] let mut object_389 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_report_export_config( &mut object_389, diff --git a/sdk/codecommit/src/json_ser.rs b/sdk/codecommit/src/json_ser.rs index e618d91be6e2..89fcd70a69a8 100644 --- a/sdk/codecommit/src/json_ser.rs +++ b/sdk/codecommit/src/json_ser.rs @@ -213,6 +213,7 @@ pub fn serialize_structure_crate_input_create_commit_input( let mut array_43 = object.key("putFiles").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_file_entry( &mut object_45, @@ -227,6 +228,7 @@ pub fn serialize_structure_crate_input_create_commit_input( let mut array_47 = object.key("deleteFiles").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_delete_file_entry( &mut object_49, @@ -241,6 +243,7 @@ pub fn serialize_structure_crate_input_create_commit_input( let mut array_51 = object.key("setFileModes").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_set_file_mode_entry( &mut object_53, @@ -268,6 +271,7 @@ pub fn serialize_structure_crate_input_create_pull_request_input( let mut array_57 = object.key("targets").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_59, item_58)?; object_59.finish(); @@ -308,6 +312,7 @@ pub fn serialize_structure_crate_input_create_repository_input( object.key("repositoryDescription").string(var_65.as_str()); } if let Some(var_66) = &input.tags { + #[allow(unused_mut)] let mut object_67 = object.key("tags").start_object(); for (key_68, value_69) in var_66 { { @@ -360,6 +365,7 @@ pub fn serialize_structure_crate_input_create_unreferenced_merge_commit_input( .boolean(input.keep_empty_folders); } if let Some(var_79) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_80 = object.key("conflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_80, @@ -1085,6 +1091,7 @@ pub fn serialize_structure_crate_input_merge_branches_by_squash_input( .boolean(input.keep_empty_folders); } if let Some(var_207) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_208 = object.key("conflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_208, @@ -1136,6 +1143,7 @@ pub fn serialize_structure_crate_input_merge_branches_by_three_way_input( .boolean(input.keep_empty_folders); } if let Some(var_218) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_219 = object.key("conflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_219, @@ -1198,6 +1206,7 @@ pub fn serialize_structure_crate_input_merge_pull_request_by_squash_input( .boolean(input.keep_empty_folders); } if let Some(var_231) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_232 = object.key("conflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_232, @@ -1244,6 +1253,7 @@ pub fn serialize_structure_crate_input_merge_pull_request_by_three_way_input( .boolean(input.keep_empty_folders); } if let Some(var_241) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_242 = object.key("conflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_242, @@ -1284,6 +1294,7 @@ pub fn serialize_structure_crate_input_post_comment_for_compared_commit_input( object.key("afterCommitId").string(var_248.as_str()); } if let Some(var_249) = &input.location { + #[allow(unused_mut)] let mut object_250 = object.key("location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_250, var_249)?; object_250.finish(); @@ -1314,6 +1325,7 @@ pub fn serialize_structure_crate_input_post_comment_for_pull_request_input( object.key("afterCommitId").string(var_256.as_str()); } if let Some(var_257) = &input.location { + #[allow(unused_mut)] let mut object_258 = object.key("location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_258, var_257)?; object_258.finish(); @@ -1403,6 +1415,7 @@ pub fn serialize_structure_crate_input_put_repository_triggers_input( let mut array_277 = object.key("triggers").start_array(); for item_278 in var_276 { { + #[allow(unused_mut)] let mut object_279 = array_277.value().start_object(); crate::json_ser::serialize_structure_crate_model_repository_trigger( &mut object_279, @@ -1424,6 +1437,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("resourceArn").string(var_280.as_str()); } if let Some(var_281) = &input.tags { + #[allow(unused_mut)] let mut object_282 = object.key("tags").start_object(); for (key_283, value_284) in var_281 { { @@ -1446,6 +1460,7 @@ pub fn serialize_structure_crate_input_test_repository_triggers_input( let mut array_287 = object.key("triggers").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_repository_trigger( &mut object_289, @@ -1676,6 +1691,7 @@ pub fn serialize_structure_crate_model_put_file_entry( .string_unchecked(&aws_smithy_types::base64::encode(var_324)); } if let Some(var_325) = &input.source_file { + #[allow(unused_mut)] let mut object_326 = object.key("sourceFile").start_object(); crate::json_ser::serialize_structure_crate_model_source_file_specifier( &mut object_326, @@ -1733,6 +1749,7 @@ pub fn serialize_structure_crate_model_conflict_resolution( let mut array_334 = object.key("replaceContents").start_array(); for item_335 in var_333 { { + #[allow(unused_mut)] let mut object_336 = array_334.value().start_object(); crate::json_ser::serialize_structure_crate_model_replace_content_entry( &mut object_336, @@ -1747,6 +1764,7 @@ pub fn serialize_structure_crate_model_conflict_resolution( let mut array_338 = object.key("deleteFiles").start_array(); for item_339 in var_337 { { + #[allow(unused_mut)] let mut object_340 = array_338.value().start_object(); crate::json_ser::serialize_structure_crate_model_delete_file_entry( &mut object_340, @@ -1761,6 +1779,7 @@ pub fn serialize_structure_crate_model_conflict_resolution( let mut array_342 = object.key("setFileModes").start_array(); for item_343 in var_341 { { + #[allow(unused_mut)] let mut object_344 = array_342.value().start_object(); crate::json_ser::serialize_structure_crate_model_set_file_mode_entry( &mut object_344, diff --git a/sdk/codedeploy/src/json_ser.rs b/sdk/codedeploy/src/json_ser.rs index 9dbcf73f8054..82bd0f4063f3 100644 --- a/sdk/codedeploy/src/json_ser.rs +++ b/sdk/codedeploy/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_tags_to_on_premises_instances_input( let mut array_2 = object.key("tags").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_4, item_3)?; object_4.finish(); @@ -37,6 +38,7 @@ pub fn serialize_structure_crate_input_batch_get_application_revisions_input( let mut array_10 = object.key("revisions").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_revision_location( &mut object_12, @@ -182,6 +184,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_39 = object.key("tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -203,6 +206,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object.key("deploymentGroupName").string(var_43.as_str()); } if let Some(var_44) = &input.revision { + #[allow(unused_mut)] let mut object_45 = object.key("revision").start_object(); crate::json_ser::serialize_structure_crate_model_revision_location(&mut object_45, var_44)?; object_45.finish(); @@ -219,11 +223,13 @@ pub fn serialize_structure_crate_input_create_deployment_input( .boolean(input.ignore_application_stop_failures); } if let Some(var_48) = &input.target_instances { + #[allow(unused_mut)] let mut object_49 = object.key("targetInstances").start_object(); crate::json_ser::serialize_structure_crate_model_target_instances(&mut object_49, var_48)?; object_49.finish(); } if let Some(var_50) = &input.auto_rollback_configuration { + #[allow(unused_mut)] let mut object_51 = object.key("autoRollbackConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_rollback_configuration( &mut object_51, @@ -240,6 +246,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object.key("fileExistsBehavior").string(var_52.as_str()); } if let Some(var_53) = &input.override_alarm_configuration { + #[allow(unused_mut)] let mut object_54 = object.key("overrideAlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_54, @@ -258,6 +265,7 @@ pub fn serialize_structure_crate_input_create_deployment_config_input( object.key("deploymentConfigName").string(var_55.as_str()); } if let Some(var_56) = &input.minimum_healthy_hosts { + #[allow(unused_mut)] let mut object_57 = object.key("minimumHealthyHosts").start_object(); crate::json_ser::serialize_structure_crate_model_minimum_healthy_hosts( &mut object_57, @@ -266,6 +274,7 @@ pub fn serialize_structure_crate_input_create_deployment_config_input( object_57.finish(); } if let Some(var_58) = &input.traffic_routing_config { + #[allow(unused_mut)] let mut object_59 = object.key("trafficRoutingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_traffic_routing_config( &mut object_59, @@ -296,6 +305,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( let mut array_65 = object.key("ec2TagFilters").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_filter( &mut object_67, @@ -310,6 +320,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( let mut array_69 = object.key("onPremisesInstanceTagFilters").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_71, @@ -336,6 +347,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( let mut array_77 = object.key("triggerConfigurations").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_trigger_config( &mut object_79, @@ -347,6 +359,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( array_77.finish(); } if let Some(var_80) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_81 = object.key("alarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_81, @@ -355,6 +368,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( object_81.finish(); } if let Some(var_82) = &input.auto_rollback_configuration { + #[allow(unused_mut)] let mut object_83 = object.key("autoRollbackConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_rollback_configuration( &mut object_83, @@ -368,11 +382,13 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( .string(var_84.as_str()); } if let Some(var_85) = &input.deployment_style { + #[allow(unused_mut)] let mut object_86 = object.key("deploymentStyle").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_style(&mut object_86, var_85)?; object_86.finish(); } if let Some(var_87) = &input.blue_green_deployment_configuration { + #[allow(unused_mut)] let mut object_88 = object .key("blueGreenDeploymentConfiguration") .start_object(); @@ -383,6 +399,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( object_88.finish(); } if let Some(var_89) = &input.load_balancer_info { + #[allow(unused_mut)] let mut object_90 = object.key("loadBalancerInfo").start_object(); crate::json_ser::serialize_structure_crate_model_load_balancer_info( &mut object_90, @@ -391,6 +408,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( object_90.finish(); } if let Some(var_91) = &input.ec2_tag_set { + #[allow(unused_mut)] let mut object_92 = object.key("ec2TagSet").start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_set(&mut object_92, var_91)?; object_92.finish(); @@ -399,6 +417,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( let mut array_94 = object.key("ecsServices").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_ecs_service( &mut object_96, @@ -410,6 +429,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( array_94.finish(); } if let Some(var_97) = &input.on_premises_tag_set { + #[allow(unused_mut)] let mut object_98 = object.key("onPremisesTagSet").start_object(); crate::json_ser::serialize_structure_crate_model_on_premises_tag_set( &mut object_98, @@ -421,6 +441,7 @@ pub fn serialize_structure_crate_input_create_deployment_group_input( let mut array_100 = object.key("tags").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_102, item_101)?; object_102.finish(); @@ -512,6 +533,7 @@ pub fn serialize_structure_crate_input_get_application_revision_input( object.key("applicationName").string(var_111.as_str()); } if let Some(var_112) = &input.revision { + #[allow(unused_mut)] let mut object_113 = object.key("revision").start_object(); crate::json_ser::serialize_structure_crate_model_revision_location( &mut object_113, @@ -706,6 +728,7 @@ pub fn serialize_structure_crate_input_list_deployments_input( array_146.finish(); } if let Some(var_148) = &input.create_time_range { + #[allow(unused_mut)] let mut object_149 = object.key("createTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_time_range(&mut object_149, var_148)?; object_149.finish(); @@ -727,6 +750,7 @@ pub fn serialize_structure_crate_input_list_deployment_targets_input( object.key("nextToken").string(var_152.as_str()); } if let Some(var_153) = &input.target_filters { + #[allow(unused_mut)] let mut object_154 = object.key("targetFilters").start_object(); for (key_155, value_156) in var_153 { { @@ -765,6 +789,7 @@ pub fn serialize_structure_crate_input_list_on_premises_instances_input( let mut array_162 = object.key("tagFilters").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_164, @@ -823,6 +848,7 @@ pub fn serialize_structure_crate_input_register_application_revision_input( object.key("description").string(var_172.as_str()); } if let Some(var_173) = &input.revision { + #[allow(unused_mut)] let mut object_174 = object.key("revision").start_object(); crate::json_ser::serialize_structure_crate_model_revision_location( &mut object_174, @@ -857,6 +883,7 @@ pub fn serialize_structure_crate_input_remove_tags_from_on_premises_instances_in let mut array_179 = object.key("tags").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_181, item_180)?; object_181.finish(); @@ -910,6 +937,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_190 = object.key("Tags").start_array(); for item_191 in var_189 { { + #[allow(unused_mut)] let mut object_192 = array_190.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_192, item_191)?; object_192.finish(); @@ -976,6 +1004,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( let mut array_204 = object.key("ec2TagFilters").start_array(); for item_205 in var_203 { { + #[allow(unused_mut)] let mut object_206 = array_204.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_filter( &mut object_206, @@ -990,6 +1019,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( let mut array_208 = object.key("onPremisesInstanceTagFilters").start_array(); for item_209 in var_207 { { + #[allow(unused_mut)] let mut object_210 = array_208.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_210, @@ -1016,6 +1046,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( let mut array_216 = object.key("triggerConfigurations").start_array(); for item_217 in var_215 { { + #[allow(unused_mut)] let mut object_218 = array_216.value().start_object(); crate::json_ser::serialize_structure_crate_model_trigger_config( &mut object_218, @@ -1027,6 +1058,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( array_216.finish(); } if let Some(var_219) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_220 = object.key("alarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_220, @@ -1035,6 +1067,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( object_220.finish(); } if let Some(var_221) = &input.auto_rollback_configuration { + #[allow(unused_mut)] let mut object_222 = object.key("autoRollbackConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_rollback_configuration( &mut object_222, @@ -1048,6 +1081,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( .string(var_223.as_str()); } if let Some(var_224) = &input.deployment_style { + #[allow(unused_mut)] let mut object_225 = object.key("deploymentStyle").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_style( &mut object_225, @@ -1056,6 +1090,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( object_225.finish(); } if let Some(var_226) = &input.blue_green_deployment_configuration { + #[allow(unused_mut)] let mut object_227 = object .key("blueGreenDeploymentConfiguration") .start_object(); @@ -1066,6 +1101,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( object_227.finish(); } if let Some(var_228) = &input.load_balancer_info { + #[allow(unused_mut)] let mut object_229 = object.key("loadBalancerInfo").start_object(); crate::json_ser::serialize_structure_crate_model_load_balancer_info( &mut object_229, @@ -1074,6 +1110,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( object_229.finish(); } if let Some(var_230) = &input.ec2_tag_set { + #[allow(unused_mut)] let mut object_231 = object.key("ec2TagSet").start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_set(&mut object_231, var_230)?; object_231.finish(); @@ -1082,6 +1119,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( let mut array_233 = object.key("ecsServices").start_array(); for item_234 in var_232 { { + #[allow(unused_mut)] let mut object_235 = array_233.value().start_object(); crate::json_ser::serialize_structure_crate_model_ecs_service( &mut object_235, @@ -1093,6 +1131,7 @@ pub fn serialize_structure_crate_input_update_deployment_group_input( array_233.finish(); } if let Some(var_236) = &input.on_premises_tag_set { + #[allow(unused_mut)] let mut object_237 = object.key("onPremisesTagSet").start_object(); crate::json_ser::serialize_structure_crate_model_on_premises_tag_set( &mut object_237, @@ -1124,11 +1163,13 @@ pub fn serialize_structure_crate_model_revision_location( object.key("revisionType").string(var_240.as_str()); } if let Some(var_241) = &input.s3_location { + #[allow(unused_mut)] let mut object_242 = object.key("s3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_242, var_241)?; object_242.finish(); } if let Some(var_243) = &input.git_hub_location { + #[allow(unused_mut)] let mut object_244 = object.key("gitHubLocation").start_object(); crate::json_ser::serialize_structure_crate_model_git_hub_location( &mut object_244, @@ -1137,11 +1178,13 @@ pub fn serialize_structure_crate_model_revision_location( object_244.finish(); } if let Some(var_245) = &input.string { + #[allow(unused_mut)] let mut object_246 = object.key("string").start_object(); crate::json_ser::serialize_structure_crate_model_raw_string(&mut object_246, var_245)?; object_246.finish(); } if let Some(var_247) = &input.app_spec_content { + #[allow(unused_mut)] let mut object_248 = object.key("appSpecContent").start_object(); crate::json_ser::serialize_structure_crate_model_app_spec_content( &mut object_248, @@ -1160,6 +1203,7 @@ pub fn serialize_structure_crate_model_target_instances( let mut array_250 = object.key("tagFilters").start_array(); for item_251 in var_249 { { + #[allow(unused_mut)] let mut object_252 = array_250.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_filter( &mut object_252, @@ -1180,6 +1224,7 @@ pub fn serialize_structure_crate_model_target_instances( array_254.finish(); } if let Some(var_256) = &input.ec2_tag_set { + #[allow(unused_mut)] let mut object_257 = object.key("ec2TagSet").start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_set(&mut object_257, var_256)?; object_257.finish(); @@ -1222,6 +1267,7 @@ pub fn serialize_structure_crate_model_alarm_configuration( let mut array_262 = object.key("alarms").start_array(); for item_263 in var_261 { { + #[allow(unused_mut)] let mut object_264 = array_262.value().start_object(); crate::json_ser::serialize_structure_crate_model_alarm(&mut object_264, item_263)?; object_264.finish(); @@ -1256,6 +1302,7 @@ pub fn serialize_structure_crate_model_traffic_routing_config( object.key("type").string(var_266.as_str()); } if let Some(var_267) = &input.time_based_canary { + #[allow(unused_mut)] let mut object_268 = object.key("timeBasedCanary").start_object(); crate::json_ser::serialize_structure_crate_model_time_based_canary( &mut object_268, @@ -1264,6 +1311,7 @@ pub fn serialize_structure_crate_model_traffic_routing_config( object_268.finish(); } if let Some(var_269) = &input.time_based_linear { + #[allow(unused_mut)] let mut object_270 = object.key("timeBasedLinear").start_object(); crate::json_ser::serialize_structure_crate_model_time_based_linear( &mut object_270, @@ -1346,6 +1394,7 @@ pub fn serialize_structure_crate_model_blue_green_deployment_configuration( input: &crate::model::BlueGreenDeploymentConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_284) = &input.terminate_blue_instances_on_deployment_success { + #[allow(unused_mut)] let mut object_285 = object .key("terminateBlueInstancesOnDeploymentSuccess") .start_object(); @@ -1356,6 +1405,7 @@ pub fn serialize_structure_crate_model_blue_green_deployment_configuration( object_285.finish(); } if let Some(var_286) = &input.deployment_ready_option { + #[allow(unused_mut)] let mut object_287 = object.key("deploymentReadyOption").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_ready_option( &mut object_287, @@ -1364,6 +1414,7 @@ pub fn serialize_structure_crate_model_blue_green_deployment_configuration( object_287.finish(); } if let Some(var_288) = &input.green_fleet_provisioning_option { + #[allow(unused_mut)] let mut object_289 = object.key("greenFleetProvisioningOption").start_object(); crate::json_ser::serialize_structure_crate_model_green_fleet_provisioning_option( &mut object_289, @@ -1382,6 +1433,7 @@ pub fn serialize_structure_crate_model_load_balancer_info( let mut array_291 = object.key("elbInfoList").start_array(); for item_292 in var_290 { { + #[allow(unused_mut)] let mut object_293 = array_291.value().start_object(); crate::json_ser::serialize_structure_crate_model_elb_info( &mut object_293, @@ -1396,6 +1448,7 @@ pub fn serialize_structure_crate_model_load_balancer_info( let mut array_295 = object.key("targetGroupInfoList").start_array(); for item_296 in var_294 { { + #[allow(unused_mut)] let mut object_297 = array_295.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_group_info( &mut object_297, @@ -1410,6 +1463,7 @@ pub fn serialize_structure_crate_model_load_balancer_info( let mut array_299 = object.key("targetGroupPairInfoList").start_array(); for item_300 in var_298 { { + #[allow(unused_mut)] let mut object_301 = array_299.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_group_pair_info( &mut object_301, @@ -1434,6 +1488,7 @@ pub fn serialize_structure_crate_model_ec2_tag_set( let mut array_305 = array_303.value().start_array(); for item_306 in item_304 { { + #[allow(unused_mut)] let mut object_307 = array_305.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_tag_filter( &mut object_307, @@ -1474,6 +1529,7 @@ pub fn serialize_structure_crate_model_on_premises_tag_set( let mut array_313 = array_311.value().start_array(); for item_314 in item_312 { { + #[allow(unused_mut)] let mut object_315 = array_313.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_315, @@ -1686,6 +1742,7 @@ pub fn serialize_structure_crate_model_target_group_pair_info( let mut array_336 = object.key("targetGroups").start_array(); for item_337 in var_335 { { + #[allow(unused_mut)] let mut object_338 = array_336.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_group_info( &mut object_338, @@ -1697,11 +1754,13 @@ pub fn serialize_structure_crate_model_target_group_pair_info( array_336.finish(); } if let Some(var_339) = &input.prod_traffic_route { + #[allow(unused_mut)] let mut object_340 = object.key("prodTrafficRoute").start_object(); crate::json_ser::serialize_structure_crate_model_traffic_route(&mut object_340, var_339)?; object_340.finish(); } if let Some(var_341) = &input.test_traffic_route { + #[allow(unused_mut)] let mut object_342 = object.key("testTrafficRoute").start_object(); crate::json_ser::serialize_structure_crate_model_traffic_route(&mut object_342, var_341)?; object_342.finish(); diff --git a/sdk/codeguruprofiler/src/json_ser.rs b/sdk/codeguruprofiler/src/json_ser.rs index 168d82029822..aff778a9c1bc 100644 --- a/sdk/codeguruprofiler/src/json_ser.rs +++ b/sdk/codeguruprofiler/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_notification_channels_input( let mut array_2 = object.key("channels").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_channel(&mut object_4, item_3)?; object_4.finish(); @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_batch_get_frame_metric_data_input( let mut array_6 = object.key("frameMetrics").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_frame_metric( &mut object_8, @@ -46,6 +48,7 @@ pub fn serialize_structure_crate_input_configure_agent_input( object.key("fleetInstanceId").string(var_9.as_str()); } if let Some(var_10) = &input.metadata { + #[allow(unused_mut)] let mut object_11 = object.key("metadata").start_object(); for (key_12, value_13) in var_10 { { @@ -62,6 +65,7 @@ pub fn serialize_structure_crate_input_create_profiling_group_input( input: &crate::input::CreateProfilingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_14) = &input.agent_orchestration_config { + #[allow(unused_mut)] let mut object_15 = object.key("agentOrchestrationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_agent_orchestration_config( &mut object_15, @@ -76,6 +80,7 @@ pub fn serialize_structure_crate_input_create_profiling_group_input( object.key("profilingGroupName").string(var_17.as_str()); } if let Some(var_18) = &input.tags { + #[allow(unused_mut)] let mut object_19 = object.key("tags").start_object(); for (key_20, value_21) in var_18 { { @@ -124,6 +129,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.tags { + #[allow(unused_mut)] let mut object_29 = object.key("tags").start_object(); for (key_30, value_31) in var_28 { { @@ -140,6 +146,7 @@ pub fn serialize_structure_crate_input_update_profiling_group_input( input: &crate::input::UpdateProfilingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_32) = &input.agent_orchestration_config { + #[allow(unused_mut)] let mut object_33 = object.key("agentOrchestrationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_agent_orchestration_config( &mut object_33, diff --git a/sdk/codegurureviewer/src/json_ser.rs b/sdk/codegurureviewer/src/json_ser.rs index e070f0ba5f5d..e1e21ba43ac2 100644 --- a/sdk/codegurureviewer/src/json_ser.rs +++ b/sdk/codegurureviewer/src/json_ser.rs @@ -7,16 +7,19 @@ pub fn serialize_structure_crate_input_associate_repository_input( object.key("ClientRequestToken").string(var_1.as_str()); } if let Some(var_2) = &input.kms_key_details { + #[allow(unused_mut)] let mut object_3 = object.key("KMSKeyDetails").start_object(); crate::json_ser::serialize_structure_crate_model_kms_key_details(&mut object_3, var_2)?; object_3.finish(); } if let Some(var_4) = &input.repository { + #[allow(unused_mut)] let mut object_5 = object.key("Repository").start_object(); crate::json_ser::serialize_structure_crate_model_repository(&mut object_5, var_4)?; object_5.finish(); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("Tags").start_object(); for (key_8, value_9) in var_6 { { @@ -44,6 +47,7 @@ pub fn serialize_structure_crate_input_create_code_review_input( .string(var_12.as_str()); } if let Some(var_13) = &input.r#type { + #[allow(unused_mut)] let mut object_14 = object.key("Type").start_object(); crate::json_ser::serialize_structure_crate_model_code_review_type(&mut object_14, var_13)?; object_14.finish(); @@ -78,6 +82,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_20) = &input.tags { + #[allow(unused_mut)] let mut object_21 = object.key("Tags").start_object(); for (key_22, value_23) in var_20 { { @@ -107,6 +112,7 @@ pub fn serialize_structure_crate_model_repository( input: &crate::model::Repository, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_26) = &input.code_commit { + #[allow(unused_mut)] let mut object_27 = object.key("CodeCommit").start_object(); crate::json_ser::serialize_structure_crate_model_code_commit_repository( &mut object_27, @@ -115,6 +121,7 @@ pub fn serialize_structure_crate_model_repository( object_27.finish(); } if let Some(var_28) = &input.bitbucket { + #[allow(unused_mut)] let mut object_29 = object.key("Bitbucket").start_object(); crate::json_ser::serialize_structure_crate_model_third_party_source_repository( &mut object_29, @@ -123,6 +130,7 @@ pub fn serialize_structure_crate_model_repository( object_29.finish(); } if let Some(var_30) = &input.git_hub_enterprise_server { + #[allow(unused_mut)] let mut object_31 = object.key("GitHubEnterpriseServer").start_object(); crate::json_ser::serialize_structure_crate_model_third_party_source_repository( &mut object_31, @@ -131,6 +139,7 @@ pub fn serialize_structure_crate_model_repository( object_31.finish(); } if let Some(var_32) = &input.s3_bucket { + #[allow(unused_mut)] let mut object_33 = object.key("S3Bucket").start_object(); crate::json_ser::serialize_structure_crate_model_s3_repository(&mut object_33, var_32)?; object_33.finish(); @@ -143,6 +152,7 @@ pub fn serialize_structure_crate_model_code_review_type( input: &crate::model::CodeReviewType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.repository_analysis { + #[allow(unused_mut)] let mut object_35 = object.key("RepositoryAnalysis").start_object(); crate::json_ser::serialize_structure_crate_model_repository_analysis( &mut object_35, @@ -206,6 +216,7 @@ pub fn serialize_structure_crate_model_repository_analysis( input: &crate::model::RepositoryAnalysis, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.repository_head { + #[allow(unused_mut)] let mut object_46 = object.key("RepositoryHead").start_object(); crate::json_ser::serialize_structure_crate_model_repository_head_source_code_type( &mut object_46, @@ -214,6 +225,7 @@ pub fn serialize_structure_crate_model_repository_analysis( object_46.finish(); } if let Some(var_47) = &input.source_code_type { + #[allow(unused_mut)] let mut object_48 = object.key("SourceCodeType").start_object(); crate::json_ser::serialize_structure_crate_model_source_code_type(&mut object_48, var_47)?; object_48.finish(); @@ -236,6 +248,7 @@ pub fn serialize_structure_crate_model_source_code_type( input: &crate::model::SourceCodeType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_50) = &input.commit_diff { + #[allow(unused_mut)] let mut object_51 = object.key("CommitDiff").start_object(); crate::json_ser::serialize_structure_crate_model_commit_diff_source_code_type( &mut object_51, @@ -244,6 +257,7 @@ pub fn serialize_structure_crate_model_source_code_type( object_51.finish(); } if let Some(var_52) = &input.repository_head { + #[allow(unused_mut)] let mut object_53 = object.key("RepositoryHead").start_object(); crate::json_ser::serialize_structure_crate_model_repository_head_source_code_type( &mut object_53, @@ -252,6 +266,7 @@ pub fn serialize_structure_crate_model_source_code_type( object_53.finish(); } if let Some(var_54) = &input.branch_diff { + #[allow(unused_mut)] let mut object_55 = object.key("BranchDiff").start_object(); crate::json_ser::serialize_structure_crate_model_branch_diff_source_code_type( &mut object_55, @@ -260,6 +275,7 @@ pub fn serialize_structure_crate_model_source_code_type( object_55.finish(); } if let Some(var_56) = &input.s3_bucket_repository { + #[allow(unused_mut)] let mut object_57 = object.key("S3BucketRepository").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_repository( &mut object_57, @@ -268,6 +284,7 @@ pub fn serialize_structure_crate_model_source_code_type( object_57.finish(); } if let Some(var_58) = &input.request_metadata { + #[allow(unused_mut)] let mut object_59 = object.key("RequestMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_request_metadata(&mut object_59, var_58)?; object_59.finish(); @@ -312,6 +329,7 @@ pub fn serialize_structure_crate_model_s3_bucket_repository( object.key("Name").string(var_65.as_str()); } if let Some(var_66) = &input.details { + #[allow(unused_mut)] let mut object_67 = object.key("Details").start_object(); crate::json_ser::serialize_structure_crate_model_s3_repository_details( &mut object_67, @@ -333,6 +351,7 @@ pub fn serialize_structure_crate_model_request_metadata( object.key("Requester").string(var_69.as_str()); } if let Some(var_70) = &input.event_info { + #[allow(unused_mut)] let mut object_71 = object.key("EventInfo").start_object(); crate::json_ser::serialize_structure_crate_model_event_info(&mut object_71, var_70)?; object_71.finish(); @@ -351,6 +370,7 @@ pub fn serialize_structure_crate_model_s3_repository_details( object.key("BucketName").string(var_73.as_str()); } if let Some(var_74) = &input.code_artifacts { + #[allow(unused_mut)] let mut object_75 = object.key("CodeArtifacts").start_object(); crate::json_ser::serialize_structure_crate_model_code_artifacts(&mut object_75, var_74)?; object_75.finish(); diff --git a/sdk/codepipeline/src/json_ser.rs b/sdk/codepipeline/src/json_ser.rs index 7cefd0f83922..3c4f23fb0551 100644 --- a/sdk/codepipeline/src/json_ser.rs +++ b/sdk/codepipeline/src/json_ser.rs @@ -42,6 +42,7 @@ pub fn serialize_structure_crate_input_create_custom_action_type_input( object.key("version").string(var_8.as_str()); } if let Some(var_9) = &input.settings { + #[allow(unused_mut)] let mut object_10 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_settings( &mut object_10, @@ -53,6 +54,7 @@ pub fn serialize_structure_crate_input_create_custom_action_type_input( let mut array_12 = object.key("configurationProperties").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_action_configuration_property( &mut object_14, @@ -64,11 +66,13 @@ pub fn serialize_structure_crate_input_create_custom_action_type_input( array_12.finish(); } if let Some(var_15) = &input.input_artifact_details { + #[allow(unused_mut)] let mut object_16 = object.key("inputArtifactDetails").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_details(&mut object_16, var_15)?; object_16.finish(); } if let Some(var_17) = &input.output_artifact_details { + #[allow(unused_mut)] let mut object_18 = object.key("outputArtifactDetails").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_details(&mut object_18, var_17)?; object_18.finish(); @@ -77,6 +81,7 @@ pub fn serialize_structure_crate_input_create_custom_action_type_input( let mut array_20 = object.key("tags").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_22, item_21)?; object_22.finish(); @@ -92,6 +97,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( input: &crate::input::CreatePipelineInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_23) = &input.pipeline { + #[allow(unused_mut)] let mut object_24 = object.key("pipeline").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_declaration( &mut object_24, @@ -103,6 +109,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( let mut array_26 = object.key("tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -283,6 +290,7 @@ pub fn serialize_structure_crate_input_list_action_executions_input( object.key("pipelineName").string(var_54.as_str()); } if let Some(var_55) = &input.filter { + #[allow(unused_mut)] let mut object_56 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_action_execution_filter( &mut object_56, @@ -393,6 +401,7 @@ pub fn serialize_structure_crate_input_poll_for_jobs_input( input: &crate::input::PollForJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.action_type_id { + #[allow(unused_mut)] let mut object_73 = object.key("actionTypeId").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_id(&mut object_73, var_72)?; object_73.finish(); @@ -404,6 +413,7 @@ pub fn serialize_structure_crate_input_poll_for_jobs_input( ); } if let Some(var_75) = &input.query_param { + #[allow(unused_mut)] let mut object_76 = object.key("queryParam").start_object(); for (key_77, value_78) in var_75 { { @@ -420,6 +430,7 @@ pub fn serialize_structure_crate_input_poll_for_third_party_jobs_input( input: &crate::input::PollForThirdPartyJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_79) = &input.action_type_id { + #[allow(unused_mut)] let mut object_80 = object.key("actionTypeId").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_id(&mut object_80, var_79)?; object_80.finish(); @@ -447,6 +458,7 @@ pub fn serialize_structure_crate_input_put_action_revision_input( object.key("actionName").string(var_84.as_str()); } if let Some(var_85) = &input.action_revision { + #[allow(unused_mut)] let mut object_86 = object.key("actionRevision").start_object(); crate::json_ser::serialize_structure_crate_model_action_revision(&mut object_86, var_85)?; object_86.finish(); @@ -468,6 +480,7 @@ pub fn serialize_structure_crate_input_put_approval_result_input( object.key("actionName").string(var_89.as_str()); } if let Some(var_90) = &input.result { + #[allow(unused_mut)] let mut object_91 = object.key("result").start_object(); crate::json_ser::serialize_structure_crate_model_approval_result(&mut object_91, var_90)?; object_91.finish(); @@ -486,6 +499,7 @@ pub fn serialize_structure_crate_input_put_job_failure_result_input( object.key("jobId").string(var_93.as_str()); } if let Some(var_94) = &input.failure_details { + #[allow(unused_mut)] let mut object_95 = object.key("failureDetails").start_object(); crate::json_ser::serialize_structure_crate_model_failure_details(&mut object_95, var_94)?; object_95.finish(); @@ -501,6 +515,7 @@ pub fn serialize_structure_crate_input_put_job_success_result_input( object.key("jobId").string(var_96.as_str()); } if let Some(var_97) = &input.current_revision { + #[allow(unused_mut)] let mut object_98 = object.key("currentRevision").start_object(); crate::json_ser::serialize_structure_crate_model_current_revision(&mut object_98, var_97)?; object_98.finish(); @@ -509,6 +524,7 @@ pub fn serialize_structure_crate_input_put_job_success_result_input( object.key("continuationToken").string(var_99.as_str()); } if let Some(var_100) = &input.execution_details { + #[allow(unused_mut)] let mut object_101 = object.key("executionDetails").start_object(); crate::json_ser::serialize_structure_crate_model_execution_details( &mut object_101, @@ -517,6 +533,7 @@ pub fn serialize_structure_crate_input_put_job_success_result_input( object_101.finish(); } if let Some(var_102) = &input.output_variables { + #[allow(unused_mut)] let mut object_103 = object.key("outputVariables").start_object(); for (key_104, value_105) in var_102 { { @@ -539,6 +556,7 @@ pub fn serialize_structure_crate_input_put_third_party_job_failure_result_input( object.key("clientToken").string(var_107.as_str()); } if let Some(var_108) = &input.failure_details { + #[allow(unused_mut)] let mut object_109 = object.key("failureDetails").start_object(); crate::json_ser::serialize_structure_crate_model_failure_details(&mut object_109, var_108)?; object_109.finish(); @@ -557,6 +575,7 @@ pub fn serialize_structure_crate_input_put_third_party_job_success_result_input( object.key("clientToken").string(var_111.as_str()); } if let Some(var_112) = &input.current_revision { + #[allow(unused_mut)] let mut object_113 = object.key("currentRevision").start_object(); crate::json_ser::serialize_structure_crate_model_current_revision( &mut object_113, @@ -568,6 +587,7 @@ pub fn serialize_structure_crate_input_put_third_party_job_success_result_input( object.key("continuationToken").string(var_114.as_str()); } if let Some(var_115) = &input.execution_details { + #[allow(unused_mut)] let mut object_116 = object.key("executionDetails").start_object(); crate::json_ser::serialize_structure_crate_model_execution_details( &mut object_116, @@ -583,6 +603,7 @@ pub fn serialize_structure_crate_input_put_webhook_input( input: &crate::input::PutWebhookInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_117) = &input.webhook { + #[allow(unused_mut)] let mut object_118 = object.key("webhook").start_object(); crate::json_ser::serialize_structure_crate_model_webhook_definition( &mut object_118, @@ -594,6 +615,7 @@ pub fn serialize_structure_crate_input_put_webhook_input( let mut array_120 = object.key("tags").start_array(); for item_121 in var_119 { { + #[allow(unused_mut)] let mut object_122 = array_120.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_122, item_121)?; object_122.finish(); @@ -676,6 +698,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_135 = object.key("tags").start_array(); for item_136 in var_134 { { + #[allow(unused_mut)] let mut object_137 = array_135.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_137, item_136)?; object_137.finish(); @@ -710,6 +733,7 @@ pub fn serialize_structure_crate_input_update_action_type_input( input: &crate::input::UpdateActionTypeInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_142) = &input.action_type { + #[allow(unused_mut)] let mut object_143 = object.key("actionType").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_declaration( &mut object_143, @@ -725,6 +749,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( input: &crate::input::UpdatePipelineInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_144) = &input.pipeline { + #[allow(unused_mut)] let mut object_145 = object.key("pipeline").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_declaration( &mut object_145, @@ -827,14 +852,17 @@ pub fn serialize_structure_crate_model_pipeline_declaration( object.key("roleArn").string(var_156.as_str()); } if let Some(var_157) = &input.artifact_store { + #[allow(unused_mut)] let mut object_158 = object.key("artifactStore").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_store(&mut object_158, var_157)?; object_158.finish(); } if let Some(var_159) = &input.artifact_stores { + #[allow(unused_mut)] let mut object_160 = object.key("artifactStores").start_object(); for (key_161, value_162) in var_159 { { + #[allow(unused_mut)] let mut object_163 = object_160.key(key_161.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_artifact_store( &mut object_163, @@ -849,6 +877,7 @@ pub fn serialize_structure_crate_model_pipeline_declaration( let mut array_165 = object.key("stages").start_array(); for item_166 in var_164 { { + #[allow(unused_mut)] let mut object_167 = array_165.value().start_object(); crate::json_ser::serialize_structure_crate_model_stage_declaration( &mut object_167, @@ -1001,6 +1030,7 @@ pub fn serialize_structure_crate_model_webhook_definition( let mut array_193 = object.key("filters").start_array(); for item_194 in var_192 { { + #[allow(unused_mut)] let mut object_195 = array_193.value().start_object(); crate::json_ser::serialize_structure_crate_model_webhook_filter_rule( &mut object_195, @@ -1015,6 +1045,7 @@ pub fn serialize_structure_crate_model_webhook_definition( object.key("authentication").string(var_196.as_str()); } if let Some(var_197) = &input.authentication_configuration { + #[allow(unused_mut)] let mut object_198 = object.key("authenticationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_webhook_auth_configuration( &mut object_198, @@ -1033,6 +1064,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( object.key("description").string(var_199.as_str()); } if let Some(var_200) = &input.executor { + #[allow(unused_mut)] let mut object_201 = object.key("executor").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_executor( &mut object_201, @@ -1041,6 +1073,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( object_201.finish(); } if let Some(var_202) = &input.id { + #[allow(unused_mut)] let mut object_203 = object.key("id").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_identifier( &mut object_203, @@ -1049,6 +1082,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( object_203.finish(); } if let Some(var_204) = &input.input_artifact_details { + #[allow(unused_mut)] let mut object_205 = object.key("inputArtifactDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_artifact_details( &mut object_205, @@ -1057,6 +1091,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( object_205.finish(); } if let Some(var_206) = &input.output_artifact_details { + #[allow(unused_mut)] let mut object_207 = object.key("outputArtifactDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_artifact_details( &mut object_207, @@ -1065,6 +1100,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( object_207.finish(); } if let Some(var_208) = &input.permissions { + #[allow(unused_mut)] let mut object_209 = object.key("permissions").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_permissions( &mut object_209, @@ -1076,6 +1112,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( let mut array_211 = object.key("properties").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_action_type_property( &mut object_213, @@ -1087,6 +1124,7 @@ pub fn serialize_structure_crate_model_action_type_declaration( array_211.finish(); } if let Some(var_214) = &input.urls { + #[allow(unused_mut)] let mut object_215 = object.key("urls").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_urls( &mut object_215, @@ -1108,6 +1146,7 @@ pub fn serialize_structure_crate_model_artifact_store( object.key("location").string(var_217.as_str()); } if let Some(var_218) = &input.encryption_key { + #[allow(unused_mut)] let mut object_219 = object.key("encryptionKey").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_key(&mut object_219, var_218)?; object_219.finish(); @@ -1126,6 +1165,7 @@ pub fn serialize_structure_crate_model_stage_declaration( let mut array_222 = object.key("blockers").start_array(); for item_223 in var_221 { { + #[allow(unused_mut)] let mut object_224 = array_222.value().start_object(); crate::json_ser::serialize_structure_crate_model_blocker_declaration( &mut object_224, @@ -1140,6 +1180,7 @@ pub fn serialize_structure_crate_model_stage_declaration( let mut array_226 = object.key("actions").start_array(); for item_227 in var_225 { { + #[allow(unused_mut)] let mut object_228 = array_226.value().start_object(); crate::json_ser::serialize_structure_crate_model_action_declaration( &mut object_228, @@ -1184,6 +1225,7 @@ pub fn serialize_structure_crate_model_action_type_executor( input: &crate::model::ActionTypeExecutor, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_233) = &input.configuration { + #[allow(unused_mut)] let mut object_234 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_executor_configuration( &mut object_234, @@ -1340,6 +1382,7 @@ pub fn serialize_structure_crate_model_action_declaration( object.key("name").string(var_255.as_str()); } if let Some(var_256) = &input.action_type_id { + #[allow(unused_mut)] let mut object_257 = object.key("actionTypeId").start_object(); crate::json_ser::serialize_structure_crate_model_action_type_id(&mut object_257, var_256)?; object_257.finish(); @@ -1351,6 +1394,7 @@ pub fn serialize_structure_crate_model_action_declaration( ); } if let Some(var_259) = &input.configuration { + #[allow(unused_mut)] let mut object_260 = object.key("configuration").start_object(); for (key_261, value_262) in var_259 { { @@ -1363,6 +1407,7 @@ pub fn serialize_structure_crate_model_action_declaration( let mut array_264 = object.key("outputArtifacts").start_array(); for item_265 in var_263 { { + #[allow(unused_mut)] let mut object_266 = array_264.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_artifact( &mut object_266, @@ -1377,6 +1422,7 @@ pub fn serialize_structure_crate_model_action_declaration( let mut array_268 = object.key("inputArtifacts").start_array(); for item_269 in var_267 { { + #[allow(unused_mut)] let mut object_270 = array_268.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_artifact( &mut object_270, @@ -1404,6 +1450,7 @@ pub fn serialize_structure_crate_model_executor_configuration( input: &crate::model::ExecutorConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_274) = &input.lambda_executor_configuration { + #[allow(unused_mut)] let mut object_275 = object.key("lambdaExecutorConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_executor_configuration( &mut object_275, @@ -1412,6 +1459,7 @@ pub fn serialize_structure_crate_model_executor_configuration( object_275.finish(); } if let Some(var_276) = &input.job_worker_executor_configuration { + #[allow(unused_mut)] let mut object_277 = object.key("jobWorkerExecutorConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_job_worker_executor_configuration( &mut object_277, diff --git a/sdk/codestar/src/json_ser.rs b/sdk/codestar/src/json_ser.rs index 17d0dcfec6c8..60a8ac013676 100644 --- a/sdk/codestar/src/json_ser.rs +++ b/sdk/codestar/src/json_ser.rs @@ -41,6 +41,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_11 = object.key("sourceCode").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_code(&mut object_13, item_12)?; object_13.finish(); @@ -49,11 +50,13 @@ pub fn serialize_structure_crate_input_create_project_input( array_11.finish(); } if let Some(var_14) = &input.toolchain { + #[allow(unused_mut)] let mut object_15 = object.key("toolchain").start_object(); crate::json_ser::serialize_structure_crate_model_toolchain(&mut object_15, var_14)?; object_15.finish(); } if let Some(var_16) = &input.tags { + #[allow(unused_mut)] let mut object_17 = object.key("tags").start_object(); for (key_18, value_19) in var_16 { { @@ -240,6 +243,7 @@ pub fn serialize_structure_crate_input_tag_project_input( object.key("id").string(var_44.as_str()); } if let Some(var_45) = &input.tags { + #[allow(unused_mut)] let mut object_46 = object.key("tags").start_object(); for (key_47, value_48) in var_45 { { @@ -329,11 +333,13 @@ pub fn serialize_structure_crate_model_code( input: &crate::model::Code, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_64) = &input.source { + #[allow(unused_mut)] let mut object_65 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_code_source(&mut object_65, var_64)?; object_65.finish(); } if let Some(var_66) = &input.destination { + #[allow(unused_mut)] let mut object_67 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_code_destination(&mut object_67, var_66)?; object_67.finish(); @@ -346,6 +352,7 @@ pub fn serialize_structure_crate_model_toolchain( input: &crate::model::Toolchain, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_68) = &input.source { + #[allow(unused_mut)] let mut object_69 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_toolchain_source(&mut object_69, var_68)?; object_69.finish(); @@ -354,6 +361,7 @@ pub fn serialize_structure_crate_model_toolchain( object.key("roleArn").string(var_70.as_str()); } if let Some(var_71) = &input.stack_parameters { + #[allow(unused_mut)] let mut object_72 = object.key("stackParameters").start_object(); for (key_73, value_74) in var_71 { { @@ -370,6 +378,7 @@ pub fn serialize_structure_crate_model_code_source( input: &crate::model::CodeSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_75) = &input.s3 { + #[allow(unused_mut)] let mut object_76 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_76, var_75)?; object_76.finish(); @@ -382,6 +391,7 @@ pub fn serialize_structure_crate_model_code_destination( input: &crate::model::CodeDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.code_commit { + #[allow(unused_mut)] let mut object_78 = object.key("codeCommit").start_object(); crate::json_ser::serialize_structure_crate_model_code_commit_code_destination( &mut object_78, @@ -390,6 +400,7 @@ pub fn serialize_structure_crate_model_code_destination( object_78.finish(); } if let Some(var_79) = &input.git_hub { + #[allow(unused_mut)] let mut object_80 = object.key("gitHub").start_object(); crate::json_ser::serialize_structure_crate_model_git_hub_code_destination( &mut object_80, @@ -405,6 +416,7 @@ pub fn serialize_structure_crate_model_toolchain_source( input: &crate::model::ToolchainSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_81) = &input.s3 { + #[allow(unused_mut)] let mut object_82 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_82, var_81)?; object_82.finish(); diff --git a/sdk/codestarconnections/src/json_ser.rs b/sdk/codestarconnections/src/json_ser.rs index 7c51e277ed0f..4b50306a61da 100644 --- a/sdk/codestarconnections/src/json_ser.rs +++ b/sdk/codestarconnections/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_connection_input( let mut array_4 = object.key("Tags").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_6, item_5)?; object_6.finish(); @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_create_host_input( object.key("ProviderEndpoint").string(var_10.as_str()); } if let Some(var_11) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_12 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration(&mut object_12, var_11)?; object_12.finish(); @@ -48,6 +50,7 @@ pub fn serialize_structure_crate_input_create_host_input( let mut array_14 = object.key("Tags").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_16, item_15)?; object_16.finish(); @@ -157,6 +160,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_28 = object.key("Tags").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_30, item_29)?; object_30.finish(); @@ -197,6 +201,7 @@ pub fn serialize_structure_crate_input_update_host_input( object.key("ProviderEndpoint").string(var_36.as_str()); } if let Some(var_37) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_38 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration(&mut object_38, var_37)?; object_38.finish(); diff --git a/sdk/codestarnotifications/src/json_ser.rs b/sdk/codestarnotifications/src/json_ser.rs index 15fda30edad8..1127f86227da 100644 --- a/sdk/codestarnotifications/src/json_ser.rs +++ b/sdk/codestarnotifications/src/json_ser.rs @@ -28,6 +28,7 @@ pub fn serialize_structure_crate_input_create_notification_rule_input( object.key("Status").string(var_8.as_str()); } if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("Tags").start_object(); for (key_11, value_12) in var_9 { { @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_create_notification_rule_input( let mut array_14 = object.key("Targets").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_16, item_15)?; object_16.finish(); @@ -93,6 +95,7 @@ pub fn serialize_structure_crate_input_list_event_types_input( let mut array_21 = object.key("Filters").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_list_event_types_filter( &mut object_23, @@ -123,6 +126,7 @@ pub fn serialize_structure_crate_input_list_notification_rules_input( let mut array_27 = object.key("Filters").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_list_notification_rules_filter( &mut object_29, @@ -163,6 +167,7 @@ pub fn serialize_structure_crate_input_list_targets_input( let mut array_34 = object.key("Filters").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_list_targets_filter( &mut object_36, @@ -196,6 +201,7 @@ pub fn serialize_structure_crate_input_subscribe_input( object.key("ClientRequestToken").string(var_40.as_str()); } if let Some(var_41) = &input.target { + #[allow(unused_mut)] let mut object_42 = object.key("Target").start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_42, var_41)?; object_42.finish(); @@ -211,6 +217,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("Arn").string(var_43.as_str()); } if let Some(var_44) = &input.tags { + #[allow(unused_mut)] let mut object_45 = object.key("Tags").start_object(); for (key_46, value_47) in var_44 { { @@ -264,6 +271,7 @@ pub fn serialize_structure_crate_input_update_notification_rule_input( let mut array_58 = object.key("Targets").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_60, item_59)?; object_60.finish(); diff --git a/sdk/cognitoidentity/src/json_ser.rs b/sdk/cognitoidentity/src/json_ser.rs index 684ec1472801..2bd0dfa20f69 100644 --- a/sdk/cognitoidentity/src/json_ser.rs +++ b/sdk/cognitoidentity/src/json_ser.rs @@ -15,6 +15,7 @@ pub fn serialize_structure_crate_input_create_identity_pool_input( object.key("AllowClassicFlow").boolean(*var_2); } if let Some(var_3) = &input.supported_login_providers { + #[allow(unused_mut)] let mut object_4 = object.key("SupportedLoginProviders").start_object(); for (key_5, value_6) in var_3 { { @@ -39,6 +40,7 @@ pub fn serialize_structure_crate_input_create_identity_pool_input( let mut array_12 = object.key("CognitoIdentityProviders").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_cognito_identity_provider( &mut object_14, @@ -59,6 +61,7 @@ pub fn serialize_structure_crate_input_create_identity_pool_input( array_16.finish(); } if let Some(var_18) = &input.identity_pool_tags { + #[allow(unused_mut)] let mut object_19 = object.key("IdentityPoolTags").start_object(); for (key_20, value_21) in var_18 { { @@ -124,6 +127,7 @@ pub fn serialize_structure_crate_input_get_credentials_for_identity_input( object.key("IdentityId").string(var_28.as_str()); } if let Some(var_29) = &input.logins { + #[allow(unused_mut)] let mut object_30 = object.key("Logins").start_object(); for (key_31, value_32) in var_29 { { @@ -149,6 +153,7 @@ pub fn serialize_structure_crate_input_get_id_input( object.key("IdentityPoolId").string(var_35.as_str()); } if let Some(var_36) = &input.logins { + #[allow(unused_mut)] let mut object_37 = object.key("Logins").start_object(); for (key_38, value_39) in var_36 { { @@ -178,6 +183,7 @@ pub fn serialize_structure_crate_input_get_open_id_token_input( object.key("IdentityId").string(var_41.as_str()); } if let Some(var_42) = &input.logins { + #[allow(unused_mut)] let mut object_43 = object.key("Logins").start_object(); for (key_44, value_45) in var_42 { { @@ -200,6 +206,7 @@ pub fn serialize_structure_crate_input_get_open_id_token_for_developer_identity_ object.key("IdentityId").string(var_47.as_str()); } if let Some(var_48) = &input.logins { + #[allow(unused_mut)] let mut object_49 = object.key("Logins").start_object(); for (key_50, value_51) in var_48 { { @@ -209,6 +216,7 @@ pub fn serialize_structure_crate_input_get_open_id_token_for_developer_identity_ object_49.finish(); } if let Some(var_52) = &input.principal_tags { + #[allow(unused_mut)] let mut object_53 = object.key("PrincipalTags").start_object(); for (key_54, value_55) in var_52 { { @@ -343,6 +351,7 @@ pub fn serialize_structure_crate_input_set_identity_pool_roles_input( object.key("IdentityPoolId").string(var_71.as_str()); } if let Some(var_72) = &input.roles { + #[allow(unused_mut)] let mut object_73 = object.key("Roles").start_object(); for (key_74, value_75) in var_72 { { @@ -352,9 +361,11 @@ pub fn serialize_structure_crate_input_set_identity_pool_roles_input( object_73.finish(); } if let Some(var_76) = &input.role_mappings { + #[allow(unused_mut)] let mut object_77 = object.key("RoleMappings").start_object(); for (key_78, value_79) in var_76 { { + #[allow(unused_mut)] let mut object_80 = object_77.key(key_78.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_role_mapping( &mut object_80, @@ -382,6 +393,7 @@ pub fn serialize_structure_crate_input_set_principal_tag_attribute_map_input( object.key("UseDefaults").boolean(*var_83); } if let Some(var_84) = &input.principal_tags { + #[allow(unused_mut)] let mut object_85 = object.key("PrincipalTags").start_object(); for (key_86, value_87) in var_84 { { @@ -401,6 +413,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("ResourceArn").string(var_88.as_str()); } if let Some(var_89) = &input.tags { + #[allow(unused_mut)] let mut object_90 = object.key("Tags").start_object(); for (key_91, value_92) in var_89 { { @@ -441,6 +454,7 @@ pub fn serialize_structure_crate_input_unlink_identity_input( object.key("IdentityId").string(var_97.as_str()); } if let Some(var_98) = &input.logins { + #[allow(unused_mut)] let mut object_99 = object.key("Logins").start_object(); for (key_100, value_101) in var_98 { { @@ -499,6 +513,7 @@ pub fn serialize_structure_crate_input_update_identity_pool_input( object.key("AllowClassicFlow").boolean(*var_111); } if let Some(var_112) = &input.supported_login_providers { + #[allow(unused_mut)] let mut object_113 = object.key("SupportedLoginProviders").start_object(); for (key_114, value_115) in var_112 { { @@ -523,6 +538,7 @@ pub fn serialize_structure_crate_input_update_identity_pool_input( let mut array_121 = object.key("CognitoIdentityProviders").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_cognito_identity_provider( &mut object_123, @@ -543,6 +559,7 @@ pub fn serialize_structure_crate_input_update_identity_pool_input( array_125.finish(); } if let Some(var_127) = &input.identity_pool_tags { + #[allow(unused_mut)] let mut object_128 = object.key("IdentityPoolTags").start_object(); for (key_129, value_130) in var_127 { { @@ -583,6 +600,7 @@ pub fn serialize_structure_crate_model_role_mapping( .string(var_135.as_str()); } if let Some(var_136) = &input.rules_configuration { + #[allow(unused_mut)] let mut object_137 = object.key("RulesConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_rules_configuration_type( &mut object_137, @@ -601,6 +619,7 @@ pub fn serialize_structure_crate_model_rules_configuration_type( let mut array_139 = object.key("Rules").start_array(); for item_140 in var_138 { { + #[allow(unused_mut)] let mut object_141 = array_139.value().start_object(); crate::json_ser::serialize_structure_crate_model_mapping_rule( &mut object_141, diff --git a/sdk/cognitoidentityprovider/src/json_ser.rs b/sdk/cognitoidentityprovider/src/json_ser.rs index eccfbcae690a..c013f99d065d 100644 --- a/sdk/cognitoidentityprovider/src/json_ser.rs +++ b/sdk/cognitoidentityprovider/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_custom_attributes_input( let mut array_3 = object.key("CustomAttributes").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_schema_attribute_type( &mut object_5, @@ -50,6 +51,7 @@ pub fn serialize_structure_crate_input_admin_confirm_sign_up_input( object.key("Username").string(var_10.as_str()); } if let Some(var_11) = &input.client_metadata { + #[allow(unused_mut)] let mut object_12 = object.key("ClientMetadata").start_object(); for (key_13, value_14) in var_11 { { @@ -75,6 +77,7 @@ pub fn serialize_structure_crate_input_admin_create_user_input( let mut array_18 = object.key("UserAttributes").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_type( &mut object_20, @@ -89,6 +92,7 @@ pub fn serialize_structure_crate_input_admin_create_user_input( let mut array_22 = object.key("ValidationData").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_type( &mut object_24, @@ -120,6 +124,7 @@ pub fn serialize_structure_crate_input_admin_create_user_input( array_28.finish(); } if let Some(var_30) = &input.client_metadata { + #[allow(unused_mut)] let mut object_31 = object.key("ClientMetadata").start_object(); for (key_32, value_33) in var_30 { { @@ -174,6 +179,7 @@ pub fn serialize_structure_crate_input_admin_disable_provider_for_user_input( object.key("UserPoolId").string(var_41.as_str()); } if let Some(var_42) = &input.user { + #[allow(unused_mut)] let mut object_43 = object.key("User").start_object(); crate::json_ser::serialize_structure_crate_model_provider_user_identifier_type( &mut object_43, @@ -269,6 +275,7 @@ pub fn serialize_structure_crate_input_admin_initiate_auth_input( object.key("AuthFlow").string(var_58.as_str()); } if let Some(var_59) = &input.auth_parameters { + #[allow(unused_mut)] let mut object_60 = object.key("AuthParameters").start_object(); for (key_61, value_62) in var_59 { { @@ -278,6 +285,7 @@ pub fn serialize_structure_crate_input_admin_initiate_auth_input( object_60.finish(); } if let Some(var_63) = &input.client_metadata { + #[allow(unused_mut)] let mut object_64 = object.key("ClientMetadata").start_object(); for (key_65, value_66) in var_63 { { @@ -287,6 +295,7 @@ pub fn serialize_structure_crate_input_admin_initiate_auth_input( object_64.finish(); } if let Some(var_67) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_68 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_68, @@ -295,6 +304,7 @@ pub fn serialize_structure_crate_input_admin_initiate_auth_input( object_68.finish(); } if let Some(var_69) = &input.context_data { + #[allow(unused_mut)] let mut object_70 = object.key("ContextData").start_object(); crate::json_ser::serialize_structure_crate_model_context_data_type(&mut object_70, var_69)?; object_70.finish(); @@ -310,6 +320,7 @@ pub fn serialize_structure_crate_input_admin_link_provider_for_user_input( object.key("UserPoolId").string(var_71.as_str()); } if let Some(var_72) = &input.destination_user { + #[allow(unused_mut)] let mut object_73 = object.key("DestinationUser").start_object(); crate::json_ser::serialize_structure_crate_model_provider_user_identifier_type( &mut object_73, @@ -318,6 +329,7 @@ pub fn serialize_structure_crate_input_admin_link_provider_for_user_input( object_73.finish(); } if let Some(var_74) = &input.source_user { + #[allow(unused_mut)] let mut object_75 = object.key("SourceUser").start_object(); crate::json_ser::serialize_structure_crate_model_provider_user_identifier_type( &mut object_75, @@ -421,6 +433,7 @@ pub fn serialize_structure_crate_input_admin_reset_user_password_input( object.key("Username").string(var_92.as_str()); } if let Some(var_93) = &input.client_metadata { + #[allow(unused_mut)] let mut object_94 = object.key("ClientMetadata").start_object(); for (key_95, value_96) in var_93 { { @@ -446,6 +459,7 @@ pub fn serialize_structure_crate_input_admin_respond_to_auth_challenge_input( object.key("ChallengeName").string(var_99.as_str()); } if let Some(var_100) = &input.challenge_responses { + #[allow(unused_mut)] let mut object_101 = object.key("ChallengeResponses").start_object(); for (key_102, value_103) in var_100 { { @@ -458,6 +472,7 @@ pub fn serialize_structure_crate_input_admin_respond_to_auth_challenge_input( object.key("Session").string(var_104.as_str()); } if let Some(var_105) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_106 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_106, @@ -466,6 +481,7 @@ pub fn serialize_structure_crate_input_admin_respond_to_auth_challenge_input( object_106.finish(); } if let Some(var_107) = &input.context_data { + #[allow(unused_mut)] let mut object_108 = object.key("ContextData").start_object(); crate::json_ser::serialize_structure_crate_model_context_data_type( &mut object_108, @@ -474,6 +490,7 @@ pub fn serialize_structure_crate_input_admin_respond_to_auth_challenge_input( object_108.finish(); } if let Some(var_109) = &input.client_metadata { + #[allow(unused_mut)] let mut object_110 = object.key("ClientMetadata").start_object(); for (key_111, value_112) in var_109 { { @@ -490,6 +507,7 @@ pub fn serialize_structure_crate_input_admin_set_user_mfa_preference_input( input: &crate::input::AdminSetUserMfaPreferenceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_113) = &input.sms_mfa_settings { + #[allow(unused_mut)] let mut object_114 = object.key("SMSMfaSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sms_mfa_settings_type( &mut object_114, @@ -498,6 +516,7 @@ pub fn serialize_structure_crate_input_admin_set_user_mfa_preference_input( object_114.finish(); } if let Some(var_115) = &input.software_token_mfa_settings { + #[allow(unused_mut)] let mut object_116 = object.key("SoftwareTokenMfaSettings").start_object(); crate::json_ser::serialize_structure_crate_model_software_token_mfa_settings_type( &mut object_116, @@ -547,6 +566,7 @@ pub fn serialize_structure_crate_input_admin_set_user_settings_input( let mut array_125 = object.key("MFAOptions").start_array(); for item_126 in var_124 { { + #[allow(unused_mut)] let mut object_127 = array_125.value().start_object(); crate::json_ser::serialize_structure_crate_model_mfa_option_type( &mut object_127, @@ -614,6 +634,7 @@ pub fn serialize_structure_crate_input_admin_update_user_attributes_input( let mut array_139 = object.key("UserAttributes").start_array(); for item_140 in var_138 { { + #[allow(unused_mut)] let mut object_141 = array_139.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_type( &mut object_141, @@ -625,6 +646,7 @@ pub fn serialize_structure_crate_input_admin_update_user_attributes_input( array_139.finish(); } if let Some(var_142) = &input.client_metadata { + #[allow(unused_mut)] let mut object_143 = object.key("ClientMetadata").start_object(); for (key_144, value_145) in var_142 { { @@ -689,6 +711,7 @@ pub fn serialize_structure_crate_input_confirm_device_input( object.key("DeviceKey").string(var_154.as_str()); } if let Some(var_155) = &input.device_secret_verifier_config { + #[allow(unused_mut)] let mut object_156 = object.key("DeviceSecretVerifierConfig").start_object(); crate::json_ser::serialize_structure_crate_model_device_secret_verifier_config_type( &mut object_156, @@ -722,6 +745,7 @@ pub fn serialize_structure_crate_input_confirm_forgot_password_input( object.key("Password").string(var_162.as_str()); } if let Some(var_163) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_164 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_164, @@ -730,6 +754,7 @@ pub fn serialize_structure_crate_input_confirm_forgot_password_input( object_164.finish(); } if let Some(var_165) = &input.user_context_data { + #[allow(unused_mut)] let mut object_166 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_166, @@ -738,6 +763,7 @@ pub fn serialize_structure_crate_input_confirm_forgot_password_input( object_166.finish(); } if let Some(var_167) = &input.client_metadata { + #[allow(unused_mut)] let mut object_168 = object.key("ClientMetadata").start_object(); for (key_169, value_170) in var_167 { { @@ -771,6 +797,7 @@ pub fn serialize_structure_crate_input_confirm_sign_up_input( .boolean(input.force_alias_creation); } if let Some(var_175) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_176 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_176, @@ -779,6 +806,7 @@ pub fn serialize_structure_crate_input_confirm_sign_up_input( object_176.finish(); } if let Some(var_177) = &input.user_context_data { + #[allow(unused_mut)] let mut object_178 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_178, @@ -787,6 +815,7 @@ pub fn serialize_structure_crate_input_confirm_sign_up_input( object_178.finish(); } if let Some(var_179) = &input.client_metadata { + #[allow(unused_mut)] let mut object_180 = object.key("ClientMetadata").start_object(); for (key_181, value_182) in var_179 { { @@ -837,6 +866,7 @@ pub fn serialize_structure_crate_input_create_identity_provider_input( object.key("ProviderType").string(var_190.as_str()); } if let Some(var_191) = &input.provider_details { + #[allow(unused_mut)] let mut object_192 = object.key("ProviderDetails").start_object(); for (key_193, value_194) in var_191 { { @@ -846,6 +876,7 @@ pub fn serialize_structure_crate_input_create_identity_provider_input( object_192.finish(); } if let Some(var_195) = &input.attribute_mapping { + #[allow(unused_mut)] let mut object_196 = object.key("AttributeMapping").start_object(); for (key_197, value_198) in var_195 { { @@ -883,6 +914,7 @@ pub fn serialize_structure_crate_input_create_resource_server_input( let mut array_206 = object.key("Scopes").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_server_scope_type( &mut object_208, @@ -920,6 +952,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object.key("PoolName").string(var_212.as_str()); } if let Some(var_213) = &input.policies { + #[allow(unused_mut)] let mut object_214 = object.key("Policies").start_object(); crate::json_ser::serialize_structure_crate_model_user_pool_policy_type( &mut object_214, @@ -928,6 +961,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_214.finish(); } if let Some(var_215) = &input.lambda_config { + #[allow(unused_mut)] let mut object_216 = object.key("LambdaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_config_type( &mut object_216, @@ -978,6 +1012,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( .string(var_228.as_str()); } if let Some(var_229) = &input.verification_message_template { + #[allow(unused_mut)] let mut object_230 = object.key("VerificationMessageTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_verification_message_template_type( &mut object_230, @@ -994,6 +1029,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object.key("MfaConfiguration").string(var_232.as_str()); } if let Some(var_233) = &input.user_attribute_update_settings { + #[allow(unused_mut)] let mut object_234 = object.key("UserAttributeUpdateSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_attribute_update_settings_type( &mut object_234, @@ -1002,6 +1038,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_234.finish(); } if let Some(var_235) = &input.device_configuration { + #[allow(unused_mut)] let mut object_236 = object.key("DeviceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_device_configuration_type( &mut object_236, @@ -1010,6 +1047,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_236.finish(); } if let Some(var_237) = &input.email_configuration { + #[allow(unused_mut)] let mut object_238 = object.key("EmailConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_email_configuration_type( &mut object_238, @@ -1018,6 +1056,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_238.finish(); } if let Some(var_239) = &input.sms_configuration { + #[allow(unused_mut)] let mut object_240 = object.key("SmsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sms_configuration_type( &mut object_240, @@ -1026,6 +1065,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_240.finish(); } if let Some(var_241) = &input.user_pool_tags { + #[allow(unused_mut)] let mut object_242 = object.key("UserPoolTags").start_object(); for (key_243, value_244) in var_241 { { @@ -1035,6 +1075,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_242.finish(); } if let Some(var_245) = &input.admin_create_user_config { + #[allow(unused_mut)] let mut object_246 = object.key("AdminCreateUserConfig").start_object(); crate::json_ser::serialize_structure_crate_model_admin_create_user_config_type( &mut object_246, @@ -1046,6 +1087,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( let mut array_248 = object.key("Schema").start_array(); for item_249 in var_247 { { + #[allow(unused_mut)] let mut object_250 = array_248.value().start_object(); crate::json_ser::serialize_structure_crate_model_schema_attribute_type( &mut object_250, @@ -1057,6 +1099,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( array_248.finish(); } if let Some(var_251) = &input.user_pool_add_ons { + #[allow(unused_mut)] let mut object_252 = object.key("UserPoolAddOns").start_object(); crate::json_ser::serialize_structure_crate_model_user_pool_add_ons_type( &mut object_252, @@ -1065,6 +1108,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_252.finish(); } if let Some(var_253) = &input.username_configuration { + #[allow(unused_mut)] let mut object_254 = object.key("UsernameConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_username_configuration_type( &mut object_254, @@ -1073,6 +1117,7 @@ pub fn serialize_structure_crate_input_create_user_pool_input( object_254.finish(); } if let Some(var_255) = &input.account_recovery_setting { + #[allow(unused_mut)] let mut object_256 = object.key("AccountRecoverySetting").start_object(); crate::json_ser::serialize_structure_crate_model_account_recovery_setting_type( &mut object_256, @@ -1115,6 +1160,7 @@ pub fn serialize_structure_crate_input_create_user_pool_client_input( ); } if let Some(var_261) = &input.token_validity_units { + #[allow(unused_mut)] let mut object_262 = object.key("TokenValidityUnits").start_object(); crate::json_ser::serialize_structure_crate_model_token_validity_units_type( &mut object_262, @@ -1203,6 +1249,7 @@ pub fn serialize_structure_crate_input_create_user_pool_client_input( .boolean(input.allowed_o_auth_flows_user_pool_client); } if let Some(var_288) = &input.analytics_configuration { + #[allow(unused_mut)] let mut object_289 = object.key("AnalyticsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_configuration_type( &mut object_289, @@ -1243,6 +1290,7 @@ pub fn serialize_structure_crate_input_create_user_pool_domain_input( object.key("UserPoolId").string(var_295.as_str()); } if let Some(var_296) = &input.custom_domain_config { + #[allow(unused_mut)] let mut object_297 = object.key("CustomDomainConfig").start_object(); crate::json_ser::serialize_structure_crate_model_custom_domain_config_type( &mut object_297, @@ -1466,6 +1514,7 @@ pub fn serialize_structure_crate_input_forgot_password_input( object.key("SecretHash").string(var_329.as_str()); } if let Some(var_330) = &input.user_context_data { + #[allow(unused_mut)] let mut object_331 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_331, @@ -1477,6 +1526,7 @@ pub fn serialize_structure_crate_input_forgot_password_input( object.key("Username").string(var_332.as_str()); } if let Some(var_333) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_334 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_334, @@ -1485,6 +1535,7 @@ pub fn serialize_structure_crate_input_forgot_password_input( object_334.finish(); } if let Some(var_335) = &input.client_metadata { + #[allow(unused_mut)] let mut object_336 = object.key("ClientMetadata").start_object(); for (key_337, value_338) in var_335 { { @@ -1589,6 +1640,7 @@ pub fn serialize_structure_crate_input_get_user_attribute_verification_code_inpu object.key("AttributeName").string(var_351.as_str()); } if let Some(var_352) = &input.client_metadata { + #[allow(unused_mut)] let mut object_353 = object.key("ClientMetadata").start_object(); for (key_354, value_355) in var_352 { { @@ -1628,6 +1680,7 @@ pub fn serialize_structure_crate_input_initiate_auth_input( object.key("AuthFlow").string(var_358.as_str()); } if let Some(var_359) = &input.auth_parameters { + #[allow(unused_mut)] let mut object_360 = object.key("AuthParameters").start_object(); for (key_361, value_362) in var_359 { { @@ -1637,6 +1690,7 @@ pub fn serialize_structure_crate_input_initiate_auth_input( object_360.finish(); } if let Some(var_363) = &input.client_metadata { + #[allow(unused_mut)] let mut object_364 = object.key("ClientMetadata").start_object(); for (key_365, value_366) in var_363 { { @@ -1649,6 +1703,7 @@ pub fn serialize_structure_crate_input_initiate_auth_input( object.key("ClientId").string(var_367.as_str()); } if let Some(var_368) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_369 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_369, @@ -1657,6 +1712,7 @@ pub fn serialize_structure_crate_input_initiate_auth_input( object_369.finish(); } if let Some(var_370) = &input.user_context_data { + #[allow(unused_mut)] let mut object_371 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_371, @@ -1871,6 +1927,7 @@ pub fn serialize_structure_crate_input_resend_confirmation_code_input( object.key("SecretHash").string(var_401.as_str()); } if let Some(var_402) = &input.user_context_data { + #[allow(unused_mut)] let mut object_403 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_403, @@ -1882,6 +1939,7 @@ pub fn serialize_structure_crate_input_resend_confirmation_code_input( object.key("Username").string(var_404.as_str()); } if let Some(var_405) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_406 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_406, @@ -1890,6 +1948,7 @@ pub fn serialize_structure_crate_input_resend_confirmation_code_input( object_406.finish(); } if let Some(var_407) = &input.client_metadata { + #[allow(unused_mut)] let mut object_408 = object.key("ClientMetadata").start_object(); for (key_409, value_410) in var_407 { { @@ -1915,6 +1974,7 @@ pub fn serialize_structure_crate_input_respond_to_auth_challenge_input( object.key("Session").string(var_413.as_str()); } if let Some(var_414) = &input.challenge_responses { + #[allow(unused_mut)] let mut object_415 = object.key("ChallengeResponses").start_object(); for (key_416, value_417) in var_414 { { @@ -1924,6 +1984,7 @@ pub fn serialize_structure_crate_input_respond_to_auth_challenge_input( object_415.finish(); } if let Some(var_418) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_419 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_419, @@ -1932,6 +1993,7 @@ pub fn serialize_structure_crate_input_respond_to_auth_challenge_input( object_419.finish(); } if let Some(var_420) = &input.user_context_data { + #[allow(unused_mut)] let mut object_421 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_421, @@ -1940,6 +2002,7 @@ pub fn serialize_structure_crate_input_respond_to_auth_challenge_input( object_421.finish(); } if let Some(var_422) = &input.client_metadata { + #[allow(unused_mut)] let mut object_423 = object.key("ClientMetadata").start_object(); for (key_424, value_425) in var_422 { { @@ -1978,6 +2041,7 @@ pub fn serialize_structure_crate_input_set_risk_configuration_input( object.key("ClientId").string(var_430.as_str()); } if let Some(var_431) = &input.compromised_credentials_risk_configuration { + #[allow(unused_mut)] let mut object_432 = object .key("CompromisedCredentialsRiskConfiguration") .start_object(); @@ -1985,6 +2049,7 @@ pub fn serialize_structure_crate_input_set_risk_configuration_input( object_432.finish(); } if let Some(var_433) = &input.account_takeover_risk_configuration { + #[allow(unused_mut)] let mut object_434 = object .key("AccountTakeoverRiskConfiguration") .start_object(); @@ -1995,6 +2060,7 @@ pub fn serialize_structure_crate_input_set_risk_configuration_input( object_434.finish(); } if let Some(var_435) = &input.risk_exception_configuration { + #[allow(unused_mut)] let mut object_436 = object.key("RiskExceptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_risk_exception_configuration_type( &mut object_436, @@ -2031,6 +2097,7 @@ pub fn serialize_structure_crate_input_set_user_mfa_preference_input( input: &crate::input::SetUserMfaPreferenceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_441) = &input.sms_mfa_settings { + #[allow(unused_mut)] let mut object_442 = object.key("SMSMfaSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sms_mfa_settings_type( &mut object_442, @@ -2039,6 +2106,7 @@ pub fn serialize_structure_crate_input_set_user_mfa_preference_input( object_442.finish(); } if let Some(var_443) = &input.software_token_mfa_settings { + #[allow(unused_mut)] let mut object_444 = object.key("SoftwareTokenMfaSettings").start_object(); crate::json_ser::serialize_structure_crate_model_software_token_mfa_settings_type( &mut object_444, @@ -2060,6 +2128,7 @@ pub fn serialize_structure_crate_input_set_user_pool_mfa_config_input( object.key("UserPoolId").string(var_446.as_str()); } if let Some(var_447) = &input.sms_mfa_configuration { + #[allow(unused_mut)] let mut object_448 = object.key("SmsMfaConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sms_mfa_config_type( &mut object_448, @@ -2068,6 +2137,7 @@ pub fn serialize_structure_crate_input_set_user_pool_mfa_config_input( object_448.finish(); } if let Some(var_449) = &input.software_token_mfa_configuration { + #[allow(unused_mut)] let mut object_450 = object.key("SoftwareTokenMfaConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_software_token_mfa_config_type( &mut object_450, @@ -2092,6 +2162,7 @@ pub fn serialize_structure_crate_input_set_user_settings_input( let mut array_454 = object.key("MFAOptions").start_array(); for item_455 in var_453 { { + #[allow(unused_mut)] let mut object_456 = array_454.value().start_object(); crate::json_ser::serialize_structure_crate_model_mfa_option_type( &mut object_456, @@ -2125,6 +2196,7 @@ pub fn serialize_structure_crate_input_sign_up_input( let mut array_462 = object.key("UserAttributes").start_array(); for item_463 in var_461 { { + #[allow(unused_mut)] let mut object_464 = array_462.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_type( &mut object_464, @@ -2139,6 +2211,7 @@ pub fn serialize_structure_crate_input_sign_up_input( let mut array_466 = object.key("ValidationData").start_array(); for item_467 in var_465 { { + #[allow(unused_mut)] let mut object_468 = array_466.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_type( &mut object_468, @@ -2150,6 +2223,7 @@ pub fn serialize_structure_crate_input_sign_up_input( array_466.finish(); } if let Some(var_469) = &input.analytics_metadata { + #[allow(unused_mut)] let mut object_470 = object.key("AnalyticsMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_metadata_type( &mut object_470, @@ -2158,6 +2232,7 @@ pub fn serialize_structure_crate_input_sign_up_input( object_470.finish(); } if let Some(var_471) = &input.user_context_data { + #[allow(unused_mut)] let mut object_472 = object.key("UserContextData").start_object(); crate::json_ser::serialize_structure_crate_model_user_context_data_type( &mut object_472, @@ -2166,6 +2241,7 @@ pub fn serialize_structure_crate_input_sign_up_input( object_472.finish(); } if let Some(var_473) = &input.client_metadata { + #[allow(unused_mut)] let mut object_474 = object.key("ClientMetadata").start_object(); for (key_475, value_476) in var_473 { { @@ -2211,6 +2287,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("ResourceArn").string(var_481.as_str()); } if let Some(var_482) = &input.tags { + #[allow(unused_mut)] let mut object_483 = object.key("Tags").start_object(); for (key_484, value_485) in var_482 { { @@ -2317,6 +2394,7 @@ pub fn serialize_structure_crate_input_update_identity_provider_input( object.key("ProviderName").string(var_504.as_str()); } if let Some(var_505) = &input.provider_details { + #[allow(unused_mut)] let mut object_506 = object.key("ProviderDetails").start_object(); for (key_507, value_508) in var_505 { { @@ -2326,6 +2404,7 @@ pub fn serialize_structure_crate_input_update_identity_provider_input( object_506.finish(); } if let Some(var_509) = &input.attribute_mapping { + #[allow(unused_mut)] let mut object_510 = object.key("AttributeMapping").start_object(); for (key_511, value_512) in var_509 { { @@ -2363,6 +2442,7 @@ pub fn serialize_structure_crate_input_update_resource_server_input( let mut array_520 = object.key("Scopes").start_array(); for item_521 in var_519 { { + #[allow(unused_mut)] let mut object_522 = array_520.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_server_scope_type( &mut object_522, @@ -2384,6 +2464,7 @@ pub fn serialize_structure_crate_input_update_user_attributes_input( let mut array_524 = object.key("UserAttributes").start_array(); for item_525 in var_523 { { + #[allow(unused_mut)] let mut object_526 = array_524.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_type( &mut object_526, @@ -2398,6 +2479,7 @@ pub fn serialize_structure_crate_input_update_user_attributes_input( object.key("AccessToken").string(var_527.as_str()); } if let Some(var_528) = &input.client_metadata { + #[allow(unused_mut)] let mut object_529 = object.key("ClientMetadata").start_object(); for (key_530, value_531) in var_528 { { @@ -2417,6 +2499,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object.key("UserPoolId").string(var_532.as_str()); } if let Some(var_533) = &input.policies { + #[allow(unused_mut)] let mut object_534 = object.key("Policies").start_object(); crate::json_ser::serialize_structure_crate_model_user_pool_policy_type( &mut object_534, @@ -2425,6 +2508,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_534.finish(); } if let Some(var_535) = &input.lambda_config { + #[allow(unused_mut)] let mut object_536 = object.key("LambdaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_config_type( &mut object_536, @@ -2457,6 +2541,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( .string(var_542.as_str()); } if let Some(var_543) = &input.verification_message_template { + #[allow(unused_mut)] let mut object_544 = object.key("VerificationMessageTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_verification_message_template_type( &mut object_544, @@ -2470,6 +2555,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( .string(var_545.as_str()); } if let Some(var_546) = &input.user_attribute_update_settings { + #[allow(unused_mut)] let mut object_547 = object.key("UserAttributeUpdateSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_attribute_update_settings_type( &mut object_547, @@ -2481,6 +2567,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object.key("MfaConfiguration").string(var_548.as_str()); } if let Some(var_549) = &input.device_configuration { + #[allow(unused_mut)] let mut object_550 = object.key("DeviceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_device_configuration_type( &mut object_550, @@ -2489,6 +2576,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_550.finish(); } if let Some(var_551) = &input.email_configuration { + #[allow(unused_mut)] let mut object_552 = object.key("EmailConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_email_configuration_type( &mut object_552, @@ -2497,6 +2585,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_552.finish(); } if let Some(var_553) = &input.sms_configuration { + #[allow(unused_mut)] let mut object_554 = object.key("SmsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sms_configuration_type( &mut object_554, @@ -2505,6 +2594,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_554.finish(); } if let Some(var_555) = &input.user_pool_tags { + #[allow(unused_mut)] let mut object_556 = object.key("UserPoolTags").start_object(); for (key_557, value_558) in var_555 { { @@ -2514,6 +2604,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_556.finish(); } if let Some(var_559) = &input.admin_create_user_config { + #[allow(unused_mut)] let mut object_560 = object.key("AdminCreateUserConfig").start_object(); crate::json_ser::serialize_structure_crate_model_admin_create_user_config_type( &mut object_560, @@ -2522,6 +2613,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_560.finish(); } if let Some(var_561) = &input.user_pool_add_ons { + #[allow(unused_mut)] let mut object_562 = object.key("UserPoolAddOns").start_object(); crate::json_ser::serialize_structure_crate_model_user_pool_add_ons_type( &mut object_562, @@ -2530,6 +2622,7 @@ pub fn serialize_structure_crate_input_update_user_pool_input( object_562.finish(); } if let Some(var_563) = &input.account_recovery_setting { + #[allow(unused_mut)] let mut object_564 = object.key("AccountRecoverySetting").start_object(); crate::json_ser::serialize_structure_crate_model_account_recovery_setting_type( &mut object_564, @@ -2572,6 +2665,7 @@ pub fn serialize_structure_crate_input_update_user_pool_client_input( ); } if let Some(var_570) = &input.token_validity_units { + #[allow(unused_mut)] let mut object_571 = object.key("TokenValidityUnits").start_object(); crate::json_ser::serialize_structure_crate_model_token_validity_units_type( &mut object_571, @@ -2660,6 +2754,7 @@ pub fn serialize_structure_crate_input_update_user_pool_client_input( .boolean(input.allowed_o_auth_flows_user_pool_client); } if let Some(var_597) = &input.analytics_configuration { + #[allow(unused_mut)] let mut object_598 = object.key("AnalyticsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_analytics_configuration_type( &mut object_598, @@ -2700,6 +2795,7 @@ pub fn serialize_structure_crate_input_update_user_pool_domain_input( object.key("UserPoolId").string(var_604.as_str()); } if let Some(var_605) = &input.custom_domain_config { + #[allow(unused_mut)] let mut object_606 = object.key("CustomDomainConfig").start_object(); crate::json_ser::serialize_structure_crate_model_custom_domain_config_type( &mut object_606, @@ -2765,6 +2861,7 @@ pub fn serialize_structure_crate_model_schema_attribute_type( object.key("Required").boolean(*var_618); } if let Some(var_619) = &input.number_attribute_constraints { + #[allow(unused_mut)] let mut object_620 = object.key("NumberAttributeConstraints").start_object(); crate::json_ser::serialize_structure_crate_model_number_attribute_constraints_type( &mut object_620, @@ -2773,6 +2870,7 @@ pub fn serialize_structure_crate_model_schema_attribute_type( object_620.finish(); } if let Some(var_621) = &input.string_attribute_constraints { + #[allow(unused_mut)] let mut object_622 = object.key("StringAttributeConstraints").start_object(); crate::json_ser::serialize_structure_crate_model_string_attribute_constraints_type( &mut object_622, @@ -2841,6 +2939,7 @@ pub fn serialize_structure_crate_model_context_data_type( let mut array_633 = object.key("HttpHeaders").start_array(); for item_634 in var_632 { { + #[allow(unused_mut)] let mut object_635 = array_633.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_header( &mut object_635, @@ -2940,6 +3039,7 @@ pub fn serialize_structure_crate_model_user_pool_policy_type( input: &crate::model::UserPoolPolicyType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_645) = &input.password_policy { + #[allow(unused_mut)] let mut object_646 = object.key("PasswordPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_password_policy_type( &mut object_646, @@ -2987,6 +3087,7 @@ pub fn serialize_structure_crate_model_lambda_config_type( object.key("UserMigration").string(var_656.as_str()); } if let Some(var_657) = &input.custom_sms_sender { + #[allow(unused_mut)] let mut object_658 = object.key("CustomSMSSender").start_object(); crate::json_ser::serialize_structure_crate_model_custom_sms_lambda_version_config_type( &mut object_658, @@ -2995,6 +3096,7 @@ pub fn serialize_structure_crate_model_lambda_config_type( object_658.finish(); } if let Some(var_659) = &input.custom_email_sender { + #[allow(unused_mut)] let mut object_660 = object.key("CustomEmailSender").start_object(); crate::json_ser::serialize_structure_crate_model_custom_email_lambda_version_config_type( &mut object_660, @@ -3122,6 +3224,7 @@ pub fn serialize_structure_crate_model_admin_create_user_config_type( ); } if let Some(var_679) = &input.invite_message_template { + #[allow(unused_mut)] let mut object_680 = object.key("InviteMessageTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_message_template_type( &mut object_680, @@ -3160,6 +3263,7 @@ pub fn serialize_structure_crate_model_account_recovery_setting_type( let mut array_684 = object.key("RecoveryMechanisms").start_array(); for item_685 in var_683 { { + #[allow(unused_mut)] let mut object_686 = array_684.value().start_object(); crate::json_ser::serialize_structure_crate_model_recovery_option_type( &mut object_686, @@ -3235,6 +3339,7 @@ pub fn serialize_structure_crate_model_compromised_credentials_risk_configuratio array_696.finish(); } if let Some(var_698) = &input.actions { + #[allow(unused_mut)] let mut object_699 = object.key("Actions").start_object(); crate::json_ser::serialize_structure_crate_model_compromised_credentials_actions_type( &mut object_699, @@ -3250,6 +3355,7 @@ pub fn serialize_structure_crate_model_account_takeover_risk_configuration_type( input: &crate::model::AccountTakeoverRiskConfigurationType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_700) = &input.notify_configuration { + #[allow(unused_mut)] let mut object_701 = object.key("NotifyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_notify_configuration_type( &mut object_701, @@ -3258,6 +3364,7 @@ pub fn serialize_structure_crate_model_account_takeover_risk_configuration_type( object_701.finish(); } if let Some(var_702) = &input.actions { + #[allow(unused_mut)] let mut object_703 = object.key("Actions").start_object(); crate::json_ser::serialize_structure_crate_model_account_takeover_actions_type( &mut object_703, @@ -3303,6 +3410,7 @@ pub fn serialize_structure_crate_model_sms_mfa_config_type( .string(var_710.as_str()); } if let Some(var_711) = &input.sms_configuration { + #[allow(unused_mut)] let mut object_712 = object.key("SmsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sms_configuration_type( &mut object_712, @@ -3479,6 +3587,7 @@ pub fn serialize_structure_crate_model_notify_configuration_type( object.key("SourceArn").string(var_730.as_str()); } if let Some(var_731) = &input.block_email { + #[allow(unused_mut)] let mut object_732 = object.key("BlockEmail").start_object(); crate::json_ser::serialize_structure_crate_model_notify_email_type( &mut object_732, @@ -3487,6 +3596,7 @@ pub fn serialize_structure_crate_model_notify_configuration_type( object_732.finish(); } if let Some(var_733) = &input.no_action_email { + #[allow(unused_mut)] let mut object_734 = object.key("NoActionEmail").start_object(); crate::json_ser::serialize_structure_crate_model_notify_email_type( &mut object_734, @@ -3495,6 +3605,7 @@ pub fn serialize_structure_crate_model_notify_configuration_type( object_734.finish(); } if let Some(var_735) = &input.mfa_email { + #[allow(unused_mut)] let mut object_736 = object.key("MfaEmail").start_object(); crate::json_ser::serialize_structure_crate_model_notify_email_type( &mut object_736, @@ -3510,6 +3621,7 @@ pub fn serialize_structure_crate_model_account_takeover_actions_type( input: &crate::model::AccountTakeoverActionsType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_737) = &input.low_action { + #[allow(unused_mut)] let mut object_738 = object.key("LowAction").start_object(); crate::json_ser::serialize_structure_crate_model_account_takeover_action_type( &mut object_738, @@ -3518,6 +3630,7 @@ pub fn serialize_structure_crate_model_account_takeover_actions_type( object_738.finish(); } if let Some(var_739) = &input.medium_action { + #[allow(unused_mut)] let mut object_740 = object.key("MediumAction").start_object(); crate::json_ser::serialize_structure_crate_model_account_takeover_action_type( &mut object_740, @@ -3526,6 +3639,7 @@ pub fn serialize_structure_crate_model_account_takeover_actions_type( object_740.finish(); } if let Some(var_741) = &input.high_action { + #[allow(unused_mut)] let mut object_742 = object.key("HighAction").start_object(); crate::json_ser::serialize_structure_crate_model_account_takeover_action_type( &mut object_742, diff --git a/sdk/cognitosync/src/json_ser.rs b/sdk/cognitosync/src/json_ser.rs index 947370fe0d8c..349e56135565 100644 --- a/sdk/cognitosync/src/json_ser.rs +++ b/sdk/cognitosync/src/json_ser.rs @@ -17,6 +17,7 @@ pub fn serialize_structure_crate_input_set_cognito_events_input( input: &crate::input::SetCognitoEventsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3) = &input.events { + #[allow(unused_mut)] let mut object_4 = object.key("Events").start_object(); for (key_5, value_6) in var_3 { { @@ -33,11 +34,13 @@ pub fn serialize_structure_crate_input_set_identity_pool_configuration_input( input: &crate::input::SetIdentityPoolConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_7) = &input.cognito_streams { + #[allow(unused_mut)] let mut object_8 = object.key("CognitoStreams").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_streams(&mut object_8, var_7)?; object_8.finish(); } if let Some(var_9) = &input.push_sync { + #[allow(unused_mut)] let mut object_10 = object.key("PushSync").start_object(); crate::json_ser::serialize_structure_crate_model_push_sync(&mut object_10, var_9)?; object_10.finish(); @@ -56,6 +59,7 @@ pub fn serialize_structure_crate_input_update_records_input( let mut array_13 = object.key("RecordPatches").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_record_patch( &mut object_15, diff --git a/sdk/comprehend/src/json_ser.rs b/sdk/comprehend/src/json_ser.rs index 2acf890f5903..8e3a484d1932 100644 --- a/sdk/comprehend/src/json_ser.rs +++ b/sdk/comprehend/src/json_ser.rs @@ -153,6 +153,7 @@ pub fn serialize_structure_crate_input_create_document_classifier_input( let mut array_32 = object.key("Tags").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_34, item_33)?; object_34.finish(); @@ -161,6 +162,7 @@ pub fn serialize_structure_crate_input_create_document_classifier_input( array_32.finish(); } if let Some(var_35) = &input.input_data_config { + #[allow(unused_mut)] let mut object_36 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_document_classifier_input_data_config( &mut object_36, @@ -169,6 +171,7 @@ pub fn serialize_structure_crate_input_create_document_classifier_input( object_36.finish(); } if let Some(var_37) = &input.output_data_config { + #[allow(unused_mut)] let mut object_38 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_document_classifier_output_data_config( &mut object_38, @@ -186,6 +189,7 @@ pub fn serialize_structure_crate_input_create_document_classifier_input( object.key("VolumeKmsKeyId").string(var_41.as_str()); } if let Some(var_42) = &input.vpc_config { + #[allow(unused_mut)] let mut object_43 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_43, var_42)?; object_43.finish(); @@ -225,6 +229,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( let mut array_52 = object.key("Tags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_54, item_53)?; object_54.finish(); @@ -255,6 +260,7 @@ pub fn serialize_structure_crate_input_create_entity_recognizer_input( let mut array_60 = object.key("Tags").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -263,6 +269,7 @@ pub fn serialize_structure_crate_input_create_entity_recognizer_input( array_60.finish(); } if let Some(var_63) = &input.input_data_config { + #[allow(unused_mut)] let mut object_64 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_entity_recognizer_input_data_config( &mut object_64, @@ -280,6 +287,7 @@ pub fn serialize_structure_crate_input_create_entity_recognizer_input( object.key("VolumeKmsKeyId").string(var_67.as_str()); } if let Some(var_68) = &input.vpc_config { + #[allow(unused_mut)] let mut object_69 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_69, var_68)?; object_69.finish(); @@ -580,6 +588,7 @@ pub fn serialize_structure_crate_input_import_model_input( let mut array_110 = object.key("Tags").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_112, item_111)?; object_112.finish(); @@ -595,6 +604,7 @@ pub fn serialize_structure_crate_input_list_document_classification_jobs_input( input: &crate::input::ListDocumentClassificationJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_113) = &input.filter { + #[allow(unused_mut)] let mut object_114 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_document_classification_job_filter( &mut object_114, @@ -619,6 +629,7 @@ pub fn serialize_structure_crate_input_list_document_classifiers_input( input: &crate::input::ListDocumentClassifiersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_117) = &input.filter { + #[allow(unused_mut)] let mut object_118 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_document_classifier_filter( &mut object_118, @@ -659,6 +670,7 @@ pub fn serialize_structure_crate_input_list_dominant_language_detection_jobs_inp input: &crate::input::ListDominantLanguageDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_123) = &input.filter { + #[allow(unused_mut)] let mut object_124 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_dominant_language_detection_job_filter( &mut object_124, @@ -683,6 +695,7 @@ pub fn serialize_structure_crate_input_list_endpoints_input( input: &crate::input::ListEndpointsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_127) = &input.filter { + #[allow(unused_mut)] let mut object_128 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_filter(&mut object_128, var_127)?; object_128.finish(); @@ -704,6 +717,7 @@ pub fn serialize_structure_crate_input_list_entities_detection_jobs_input( input: &crate::input::ListEntitiesDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_131) = &input.filter { + #[allow(unused_mut)] let mut object_132 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_entities_detection_job_filter( &mut object_132, @@ -728,6 +742,7 @@ pub fn serialize_structure_crate_input_list_entity_recognizers_input( input: &crate::input::ListEntityRecognizersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_135) = &input.filter { + #[allow(unused_mut)] let mut object_136 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_entity_recognizer_filter( &mut object_136, @@ -768,6 +783,7 @@ pub fn serialize_structure_crate_input_list_events_detection_jobs_input( input: &crate::input::ListEventsDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_141) = &input.filter { + #[allow(unused_mut)] let mut object_142 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_events_detection_job_filter( &mut object_142, @@ -792,6 +808,7 @@ pub fn serialize_structure_crate_input_list_key_phrases_detection_jobs_input( input: &crate::input::ListKeyPhrasesDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_145) = &input.filter { + #[allow(unused_mut)] let mut object_146 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_key_phrases_detection_job_filter( &mut object_146, @@ -816,6 +833,7 @@ pub fn serialize_structure_crate_input_list_pii_entities_detection_jobs_input( input: &crate::input::ListPiiEntitiesDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_149) = &input.filter { + #[allow(unused_mut)] let mut object_150 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_pii_entities_detection_job_filter( &mut object_150, @@ -840,6 +858,7 @@ pub fn serialize_structure_crate_input_list_sentiment_detection_jobs_input( input: &crate::input::ListSentimentDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_153) = &input.filter { + #[allow(unused_mut)] let mut object_154 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_sentiment_detection_job_filter( &mut object_154, @@ -874,6 +893,7 @@ pub fn serialize_structure_crate_input_list_targeted_sentiment_detection_jobs_in input: &crate::input::ListTargetedSentimentDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_158) = &input.filter { + #[allow(unused_mut)] let mut object_159 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_targeted_sentiment_detection_job_filter( &mut object_159, @@ -898,6 +918,7 @@ pub fn serialize_structure_crate_input_list_topics_detection_jobs_input( input: &crate::input::ListTopicsDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_162) = &input.filter { + #[allow(unused_mut)] let mut object_163 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_topics_detection_job_filter( &mut object_163, @@ -944,6 +965,7 @@ pub fn serialize_structure_crate_input_start_document_classification_job_input( object.key("DocumentClassifierArn").string(var_170.as_str()); } if let Some(var_171) = &input.input_data_config { + #[allow(unused_mut)] let mut object_172 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_172, @@ -952,6 +974,7 @@ pub fn serialize_structure_crate_input_start_document_classification_job_input( object_172.finish(); } if let Some(var_173) = &input.output_data_config { + #[allow(unused_mut)] let mut object_174 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_174, @@ -969,6 +992,7 @@ pub fn serialize_structure_crate_input_start_document_classification_job_input( object.key("VolumeKmsKeyId").string(var_177.as_str()); } if let Some(var_178) = &input.vpc_config { + #[allow(unused_mut)] let mut object_179 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_179, var_178)?; object_179.finish(); @@ -977,6 +1001,7 @@ pub fn serialize_structure_crate_input_start_document_classification_job_input( let mut array_181 = object.key("Tags").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_183, item_182)?; object_183.finish(); @@ -992,6 +1017,7 @@ pub fn serialize_structure_crate_input_start_dominant_language_detection_job_inp input: &crate::input::StartDominantLanguageDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_184) = &input.input_data_config { + #[allow(unused_mut)] let mut object_185 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_185, @@ -1000,6 +1026,7 @@ pub fn serialize_structure_crate_input_start_dominant_language_detection_job_inp object_185.finish(); } if let Some(var_186) = &input.output_data_config { + #[allow(unused_mut)] let mut object_187 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_187, @@ -1020,6 +1047,7 @@ pub fn serialize_structure_crate_input_start_dominant_language_detection_job_inp object.key("VolumeKmsKeyId").string(var_191.as_str()); } if let Some(var_192) = &input.vpc_config { + #[allow(unused_mut)] let mut object_193 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_193, var_192)?; object_193.finish(); @@ -1028,6 +1056,7 @@ pub fn serialize_structure_crate_input_start_dominant_language_detection_job_inp let mut array_195 = object.key("Tags").start_array(); for item_196 in var_194 { { + #[allow(unused_mut)] let mut object_197 = array_195.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_197, item_196)?; object_197.finish(); @@ -1043,6 +1072,7 @@ pub fn serialize_structure_crate_input_start_entities_detection_job_input( input: &crate::input::StartEntitiesDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_198) = &input.input_data_config { + #[allow(unused_mut)] let mut object_199 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_199, @@ -1051,6 +1081,7 @@ pub fn serialize_structure_crate_input_start_entities_detection_job_input( object_199.finish(); } if let Some(var_200) = &input.output_data_config { + #[allow(unused_mut)] let mut object_201 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_201, @@ -1077,6 +1108,7 @@ pub fn serialize_structure_crate_input_start_entities_detection_job_input( object.key("VolumeKmsKeyId").string(var_207.as_str()); } if let Some(var_208) = &input.vpc_config { + #[allow(unused_mut)] let mut object_209 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_209, var_208)?; object_209.finish(); @@ -1085,6 +1117,7 @@ pub fn serialize_structure_crate_input_start_entities_detection_job_input( let mut array_211 = object.key("Tags").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_213, item_212)?; object_213.finish(); @@ -1100,6 +1133,7 @@ pub fn serialize_structure_crate_input_start_events_detection_job_input( input: &crate::input::StartEventsDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_214) = &input.input_data_config { + #[allow(unused_mut)] let mut object_215 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_215, @@ -1108,6 +1142,7 @@ pub fn serialize_structure_crate_input_start_events_detection_job_input( object_215.finish(); } if let Some(var_216) = &input.output_data_config { + #[allow(unused_mut)] let mut object_217 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_217, @@ -1140,6 +1175,7 @@ pub fn serialize_structure_crate_input_start_events_detection_job_input( let mut array_226 = object.key("Tags").start_array(); for item_227 in var_225 { { + #[allow(unused_mut)] let mut object_228 = array_226.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_228, item_227)?; object_228.finish(); @@ -1155,6 +1191,7 @@ pub fn serialize_structure_crate_input_start_key_phrases_detection_job_input( input: &crate::input::StartKeyPhrasesDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_229) = &input.input_data_config { + #[allow(unused_mut)] let mut object_230 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_230, @@ -1163,6 +1200,7 @@ pub fn serialize_structure_crate_input_start_key_phrases_detection_job_input( object_230.finish(); } if let Some(var_231) = &input.output_data_config { + #[allow(unused_mut)] let mut object_232 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_232, @@ -1186,6 +1224,7 @@ pub fn serialize_structure_crate_input_start_key_phrases_detection_job_input( object.key("VolumeKmsKeyId").string(var_237.as_str()); } if let Some(var_238) = &input.vpc_config { + #[allow(unused_mut)] let mut object_239 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_239, var_238)?; object_239.finish(); @@ -1194,6 +1233,7 @@ pub fn serialize_structure_crate_input_start_key_phrases_detection_job_input( let mut array_241 = object.key("Tags").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_243, item_242)?; object_243.finish(); @@ -1209,6 +1249,7 @@ pub fn serialize_structure_crate_input_start_pii_entities_detection_job_input( input: &crate::input::StartPiiEntitiesDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_244) = &input.input_data_config { + #[allow(unused_mut)] let mut object_245 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_245, @@ -1217,6 +1258,7 @@ pub fn serialize_structure_crate_input_start_pii_entities_detection_job_input( object_245.finish(); } if let Some(var_246) = &input.output_data_config { + #[allow(unused_mut)] let mut object_247 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_247, @@ -1228,6 +1270,7 @@ pub fn serialize_structure_crate_input_start_pii_entities_detection_job_input( object.key("Mode").string(var_248.as_str()); } if let Some(var_249) = &input.redaction_config { + #[allow(unused_mut)] let mut object_250 = object.key("RedactionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_redaction_config( &mut object_250, @@ -1251,6 +1294,7 @@ pub fn serialize_structure_crate_input_start_pii_entities_detection_job_input( let mut array_256 = object.key("Tags").start_array(); for item_257 in var_255 { { + #[allow(unused_mut)] let mut object_258 = array_256.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_258, item_257)?; object_258.finish(); @@ -1266,6 +1310,7 @@ pub fn serialize_structure_crate_input_start_sentiment_detection_job_input( input: &crate::input::StartSentimentDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_259) = &input.input_data_config { + #[allow(unused_mut)] let mut object_260 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_260, @@ -1274,6 +1319,7 @@ pub fn serialize_structure_crate_input_start_sentiment_detection_job_input( object_260.finish(); } if let Some(var_261) = &input.output_data_config { + #[allow(unused_mut)] let mut object_262 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_262, @@ -1297,6 +1343,7 @@ pub fn serialize_structure_crate_input_start_sentiment_detection_job_input( object.key("VolumeKmsKeyId").string(var_267.as_str()); } if let Some(var_268) = &input.vpc_config { + #[allow(unused_mut)] let mut object_269 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_269, var_268)?; object_269.finish(); @@ -1305,6 +1352,7 @@ pub fn serialize_structure_crate_input_start_sentiment_detection_job_input( let mut array_271 = object.key("Tags").start_array(); for item_272 in var_270 { { + #[allow(unused_mut)] let mut object_273 = array_271.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_273, item_272)?; object_273.finish(); @@ -1320,6 +1368,7 @@ pub fn serialize_structure_crate_input_start_targeted_sentiment_detection_job_in input: &crate::input::StartTargetedSentimentDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_274) = &input.input_data_config { + #[allow(unused_mut)] let mut object_275 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_275, @@ -1328,6 +1377,7 @@ pub fn serialize_structure_crate_input_start_targeted_sentiment_detection_job_in object_275.finish(); } if let Some(var_276) = &input.output_data_config { + #[allow(unused_mut)] let mut object_277 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_277, @@ -1351,6 +1401,7 @@ pub fn serialize_structure_crate_input_start_targeted_sentiment_detection_job_in object.key("VolumeKmsKeyId").string(var_282.as_str()); } if let Some(var_283) = &input.vpc_config { + #[allow(unused_mut)] let mut object_284 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_284, var_283)?; object_284.finish(); @@ -1359,6 +1410,7 @@ pub fn serialize_structure_crate_input_start_targeted_sentiment_detection_job_in let mut array_286 = object.key("Tags").start_array(); for item_287 in var_285 { { + #[allow(unused_mut)] let mut object_288 = array_286.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_288, item_287)?; object_288.finish(); @@ -1374,6 +1426,7 @@ pub fn serialize_structure_crate_input_start_topics_detection_job_input( input: &crate::input::StartTopicsDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_289) = &input.input_data_config { + #[allow(unused_mut)] let mut object_290 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_290, @@ -1382,6 +1435,7 @@ pub fn serialize_structure_crate_input_start_topics_detection_job_input( object_290.finish(); } if let Some(var_291) = &input.output_data_config { + #[allow(unused_mut)] let mut object_292 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_292, @@ -1408,6 +1462,7 @@ pub fn serialize_structure_crate_input_start_topics_detection_job_input( object.key("VolumeKmsKeyId").string(var_297.as_str()); } if let Some(var_298) = &input.vpc_config { + #[allow(unused_mut)] let mut object_299 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_299, var_298)?; object_299.finish(); @@ -1416,6 +1471,7 @@ pub fn serialize_structure_crate_input_start_topics_detection_job_input( let mut array_301 = object.key("Tags").start_array(); for item_302 in var_300 { { + #[allow(unused_mut)] let mut object_303 = array_301.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_303, item_302)?; object_303.finish(); @@ -1527,6 +1583,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_315 = object.key("Tags").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_317, item_316)?; object_317.finish(); @@ -1613,6 +1670,7 @@ pub fn serialize_structure_crate_model_document_classifier_input_data_config( let mut array_333 = object.key("AugmentedManifests").start_array(); for item_334 in var_332 { { + #[allow(unused_mut)] let mut object_335 = array_333.value().start_object(); crate::json_ser::serialize_structure_crate_model_augmented_manifests_list_item( &mut object_335, @@ -1675,6 +1733,7 @@ pub fn serialize_structure_crate_model_entity_recognizer_input_data_config( let mut array_346 = object.key("EntityTypes").start_array(); for item_347 in var_345 { { + #[allow(unused_mut)] let mut object_348 = array_346.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity_types_list_item( &mut object_348, @@ -1686,6 +1745,7 @@ pub fn serialize_structure_crate_model_entity_recognizer_input_data_config( array_346.finish(); } if let Some(var_349) = &input.documents { + #[allow(unused_mut)] let mut object_350 = object.key("Documents").start_object(); crate::json_ser::serialize_structure_crate_model_entity_recognizer_documents( &mut object_350, @@ -1694,6 +1754,7 @@ pub fn serialize_structure_crate_model_entity_recognizer_input_data_config( object_350.finish(); } if let Some(var_351) = &input.annotations { + #[allow(unused_mut)] let mut object_352 = object.key("Annotations").start_object(); crate::json_ser::serialize_structure_crate_model_entity_recognizer_annotations( &mut object_352, @@ -1702,6 +1763,7 @@ pub fn serialize_structure_crate_model_entity_recognizer_input_data_config( object_352.finish(); } if let Some(var_353) = &input.entity_list { + #[allow(unused_mut)] let mut object_354 = object.key("EntityList").start_object(); crate::json_ser::serialize_structure_crate_model_entity_recognizer_entity_list( &mut object_354, @@ -1713,6 +1775,7 @@ pub fn serialize_structure_crate_model_entity_recognizer_input_data_config( let mut array_356 = object.key("AugmentedManifests").start_array(); for item_357 in var_355 { { + #[allow(unused_mut)] let mut object_358 = array_356.value().start_object(); crate::json_ser::serialize_structure_crate_model_augmented_manifests_list_item( &mut object_358, @@ -2015,6 +2078,7 @@ pub fn serialize_structure_crate_model_input_data_config( object.key("InputFormat").string(var_408.as_str()); } if let Some(var_409) = &input.document_reader_config { + #[allow(unused_mut)] let mut object_410 = object.key("DocumentReaderConfig").start_object(); crate::json_ser::serialize_structure_crate_model_document_reader_config( &mut object_410, diff --git a/sdk/comprehendmedical/src/json_ser.rs b/sdk/comprehendmedical/src/json_ser.rs index 87b31c7f6f25..dc038f2dd0cc 100644 --- a/sdk/comprehendmedical/src/json_ser.rs +++ b/sdk/comprehendmedical/src/json_ser.rs @@ -114,6 +114,7 @@ pub fn serialize_structure_crate_input_list_entities_detection_v2_jobs_input( input: &crate::input::ListEntitiesDetectionV2JobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_12) = &input.filter { + #[allow(unused_mut)] let mut object_13 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_comprehend_medical_async_job_filter( &mut object_13, @@ -138,6 +139,7 @@ pub fn serialize_structure_crate_input_list_icd10_cm_inference_jobs_input( input: &crate::input::ListIcd10CmInferenceJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.filter { + #[allow(unused_mut)] let mut object_17 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_comprehend_medical_async_job_filter( &mut object_17, @@ -162,6 +164,7 @@ pub fn serialize_structure_crate_input_list_phi_detection_jobs_input( input: &crate::input::ListPhiDetectionJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_20) = &input.filter { + #[allow(unused_mut)] let mut object_21 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_comprehend_medical_async_job_filter( &mut object_21, @@ -186,6 +189,7 @@ pub fn serialize_structure_crate_input_list_rx_norm_inference_jobs_input( input: &crate::input::ListRxNormInferenceJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_24) = &input.filter { + #[allow(unused_mut)] let mut object_25 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_comprehend_medical_async_job_filter( &mut object_25, @@ -210,6 +214,7 @@ pub fn serialize_structure_crate_input_list_snomedct_inference_jobs_input( input: &crate::input::ListSnomedctInferenceJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.filter { + #[allow(unused_mut)] let mut object_29 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_comprehend_medical_async_job_filter( &mut object_29, @@ -234,11 +239,13 @@ pub fn serialize_structure_crate_input_start_entities_detection_v2_job_input( input: &crate::input::StartEntitiesDetectionV2JobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_32) = &input.input_data_config { + #[allow(unused_mut)] let mut object_33 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_33, var_32)?; object_33.finish(); } if let Some(var_34) = &input.output_data_config { + #[allow(unused_mut)] let mut object_35 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_35, @@ -269,11 +276,13 @@ pub fn serialize_structure_crate_input_start_icd10_cm_inference_job_input( input: &crate::input::StartIcd10CmInferenceJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.input_data_config { + #[allow(unused_mut)] let mut object_42 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_42, var_41)?; object_42.finish(); } if let Some(var_43) = &input.output_data_config { + #[allow(unused_mut)] let mut object_44 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_44, @@ -304,11 +313,13 @@ pub fn serialize_structure_crate_input_start_phi_detection_job_input( input: &crate::input::StartPhiDetectionJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_50) = &input.input_data_config { + #[allow(unused_mut)] let mut object_51 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_51, var_50)?; object_51.finish(); } if let Some(var_52) = &input.output_data_config { + #[allow(unused_mut)] let mut object_53 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_53, @@ -339,11 +350,13 @@ pub fn serialize_structure_crate_input_start_rx_norm_inference_job_input( input: &crate::input::StartRxNormInferenceJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_59) = &input.input_data_config { + #[allow(unused_mut)] let mut object_60 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_60, var_59)?; object_60.finish(); } if let Some(var_61) = &input.output_data_config { + #[allow(unused_mut)] let mut object_62 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_62, @@ -374,11 +387,13 @@ pub fn serialize_structure_crate_input_start_snomedct_inference_job_input( input: &crate::input::StartSnomedctInferenceJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_68) = &input.input_data_config { + #[allow(unused_mut)] let mut object_69 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_69, var_68)?; object_69.finish(); } if let Some(var_70) = &input.output_data_config { + #[allow(unused_mut)] let mut object_71 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_71, diff --git a/sdk/computeoptimizer/src/json_ser.rs b/sdk/computeoptimizer/src/json_ser.rs index 24e093e470f8..1cb3a7ff5978 100644 --- a/sdk/computeoptimizer/src/json_ser.rs +++ b/sdk/computeoptimizer/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_delete_recommendation_preferences_input( object.key("resourceType").string(var_1.as_str()); } if let Some(var_2) = &input.scope { + #[allow(unused_mut)] let mut object_3 = object.key("scope").start_object(); crate::json_ser::serialize_structure_crate_model_scope(&mut object_3, var_2)?; object_3.finish(); @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_describe_recommendation_export_jobs_input let mut array_11 = object.key("filters").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_filter( &mut object_13, @@ -79,6 +81,7 @@ pub fn serialize_structure_crate_input_export_auto_scaling_group_recommendations let mut array_20 = object.key("filters").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_22, item_21)?; object_22.finish(); @@ -96,6 +99,7 @@ pub fn serialize_structure_crate_input_export_auto_scaling_group_recommendations array_24.finish(); } if let Some(var_26) = &input.s3_destination_config { + #[allow(unused_mut)] let mut object_27 = object.key("s3DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_config( &mut object_27, @@ -112,6 +116,7 @@ pub fn serialize_structure_crate_input_export_auto_scaling_group_recommendations .boolean(input.include_member_accounts); } if let Some(var_29) = &input.recommendation_preferences { + #[allow(unused_mut)] let mut object_30 = object.key("recommendationPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_preferences( &mut object_30, @@ -139,6 +144,7 @@ pub fn serialize_structure_crate_input_export_ebs_volume_recommendations_input( let mut array_35 = object.key("filters").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_ebs_filter( &mut object_37, @@ -159,6 +165,7 @@ pub fn serialize_structure_crate_input_export_ebs_volume_recommendations_input( array_39.finish(); } if let Some(var_41) = &input.s3_destination_config { + #[allow(unused_mut)] let mut object_42 = object.key("s3DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_config( &mut object_42, @@ -194,6 +201,7 @@ pub fn serialize_structure_crate_input_export_ec2_instance_recommendations_input let mut array_48 = object.key("filters").start_array(); for item_49 in var_47 { { + #[allow(unused_mut)] let mut object_50 = array_48.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_50, item_49)?; object_50.finish(); @@ -211,6 +219,7 @@ pub fn serialize_structure_crate_input_export_ec2_instance_recommendations_input array_52.finish(); } if let Some(var_54) = &input.s3_destination_config { + #[allow(unused_mut)] let mut object_55 = object.key("s3DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_config( &mut object_55, @@ -227,6 +236,7 @@ pub fn serialize_structure_crate_input_export_ec2_instance_recommendations_input .boolean(input.include_member_accounts); } if let Some(var_57) = &input.recommendation_preferences { + #[allow(unused_mut)] let mut object_58 = object.key("recommendationPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_preferences( &mut object_58, @@ -254,6 +264,7 @@ pub fn serialize_structure_crate_input_export_lambda_function_recommendations_in let mut array_63 = object.key("filters").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_lambda_function_recommendation_filter(&mut object_65, item_64)?; object_65.finish(); @@ -271,6 +282,7 @@ pub fn serialize_structure_crate_input_export_lambda_function_recommendations_in array_67.finish(); } if let Some(var_69) = &input.s3_destination_config { + #[allow(unused_mut)] let mut object_70 = object.key("s3DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_config( &mut object_70, @@ -324,6 +336,7 @@ pub fn serialize_structure_crate_input_get_auto_scaling_group_recommendations_in let mut array_81 = object.key("filters").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_83, item_82)?; object_83.finish(); @@ -332,6 +345,7 @@ pub fn serialize_structure_crate_input_get_auto_scaling_group_recommendations_in array_81.finish(); } if let Some(var_84) = &input.recommendation_preferences { + #[allow(unused_mut)] let mut object_85 = object.key("recommendationPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_preferences( &mut object_85, @@ -368,6 +382,7 @@ pub fn serialize_structure_crate_input_get_ebs_volume_recommendations_input( let mut array_92 = object.key("filters").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_ebs_filter( &mut object_94, @@ -416,6 +431,7 @@ pub fn serialize_structure_crate_input_get_ec2_instance_recommendations_input( let mut array_104 = object.key("filters").start_array(); for item_105 in var_103 { { + #[allow(unused_mut)] let mut object_106 = array_104.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_106, item_105)?; object_106.finish(); @@ -433,6 +449,7 @@ pub fn serialize_structure_crate_input_get_ec2_instance_recommendations_input( array_108.finish(); } if let Some(var_110) = &input.recommendation_preferences { + #[allow(unused_mut)] let mut object_111 = object.key("recommendationPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_preferences( &mut object_111, @@ -470,6 +487,7 @@ pub fn serialize_structure_crate_input_get_ec2_recommendation_projected_metrics_ .date_time(var_115, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_116) = &input.recommendation_preferences { + #[allow(unused_mut)] let mut object_117 = object.key("recommendationPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_preferences( &mut object_117, @@ -498,6 +516,7 @@ pub fn serialize_structure_crate_input_get_enrollment_statuses_for_organization_ let mut array_120 = object.key("filters").start_array(); for item_121 in var_119 { { + #[allow(unused_mut)] let mut object_122 = array_120.value().start_object(); crate::json_ser::serialize_structure_crate_model_enrollment_filter( &mut object_122, @@ -546,6 +565,7 @@ pub fn serialize_structure_crate_input_get_lambda_function_recommendations_input let mut array_132 = object.key("filters").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_lambda_function_recommendation_filter(&mut object_134, item_133)?; object_134.finish(); @@ -573,6 +593,7 @@ pub fn serialize_structure_crate_input_get_recommendation_preferences_input( object.key("resourceType").string(var_137.as_str()); } if let Some(var_138) = &input.scope { + #[allow(unused_mut)] let mut object_139 = object.key("scope").start_object(); crate::json_ser::serialize_structure_crate_model_scope(&mut object_139, var_138)?; object_139.finish(); @@ -622,6 +643,7 @@ pub fn serialize_structure_crate_input_put_recommendation_preferences_input( object.key("resourceType").string(var_147.as_str()); } if let Some(var_148) = &input.scope { + #[allow(unused_mut)] let mut object_149 = object.key("scope").start_object(); crate::json_ser::serialize_structure_crate_model_scope(&mut object_149, var_148)?; object_149.finish(); diff --git a/sdk/config/src/json_ser.rs b/sdk/config/src/json_ser.rs index 459ed9bf34c5..2e9ecbdd3c44 100644 --- a/sdk/config/src/json_ser.rs +++ b/sdk/config/src/json_ser.rs @@ -12,6 +12,7 @@ pub fn serialize_structure_crate_input_batch_get_aggregate_resource_config_input let mut array_3 = object.key("ResourceIdentifiers").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_aggregate_resource_identifier( &mut object_5, @@ -33,6 +34,7 @@ pub fn serialize_structure_crate_input_batch_get_resource_config_input( let mut array_7 = object.key("resourceKeys").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_key( &mut object_9, @@ -184,6 +186,7 @@ pub fn serialize_structure_crate_input_delete_remediation_exceptions_input( let mut array_26 = object.key("ResourceKeys").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_remediation_exception_resource_key(&mut object_28, item_27)?; object_28.finish(); @@ -249,6 +252,7 @@ pub fn serialize_structure_crate_input_describe_aggregate_compliance_by_config_r .string(var_34.as_str()); } if let Some(var_35) = &input.filters { + #[allow(unused_mut)] let mut object_36 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_config_rule_compliance_filters( &mut object_36, @@ -278,6 +282,7 @@ pub fn serialize_structure_crate_input_describe_aggregate_compliance_by_conforma .string(var_38.as_str()); } if let Some(var_39) = &input.filters { + #[allow(unused_mut)] let mut object_40 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_aggregate_conformance_pack_compliance_filters(&mut object_40, var_39)?; object_40.finish(); @@ -508,6 +513,7 @@ pub fn serialize_structure_crate_input_describe_conformance_pack_compliance_inpu object.key("ConformancePackName").string(var_79.as_str()); } if let Some(var_80) = &input.filters { + #[allow(unused_mut)] let mut object_81 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_conformance_pack_compliance_filters( &mut object_81, @@ -752,6 +758,7 @@ pub fn serialize_structure_crate_input_describe_remediation_exceptions_input( let mut array_119 = object.key("ResourceKeys").start_array(); for item_120 in var_118 { { + #[allow(unused_mut)] let mut object_121 = array_119.value().start_object(); crate::json_ser::serialize_structure_crate_model_remediation_exception_resource_key(&mut object_121, item_120)?; object_121.finish(); @@ -782,6 +789,7 @@ pub fn serialize_structure_crate_input_describe_remediation_execution_status_inp let mut array_125 = object.key("ResourceKeys").start_array(); for item_126 in var_124 { { + #[allow(unused_mut)] let mut object_127 = array_125.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_key( &mut object_127, @@ -866,6 +874,7 @@ pub fn serialize_structure_crate_input_get_aggregate_config_rule_compliance_summ .string(var_139.as_str()); } if let Some(var_140) = &input.filters { + #[allow(unused_mut)] let mut object_141 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_config_rule_compliance_summary_filters( &mut object_141, @@ -898,6 +907,7 @@ pub fn serialize_structure_crate_input_get_aggregate_conformance_pack_compliance .string(var_144.as_str()); } if let Some(var_145) = &input.filters { + #[allow(unused_mut)] let mut object_146 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_aggregate_conformance_pack_compliance_summary_filters(&mut object_146, var_145)?; object_146.finish(); @@ -927,6 +937,7 @@ pub fn serialize_structure_crate_input_get_aggregate_discovered_resource_counts_ .string(var_149.as_str()); } if let Some(var_150) = &input.filters { + #[allow(unused_mut)] let mut object_151 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_resource_count_filters( &mut object_151, @@ -959,6 +970,7 @@ pub fn serialize_structure_crate_input_get_aggregate_resource_config_input( .string(var_154.as_str()); } if let Some(var_155) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_156 = object.key("ResourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_aggregate_resource_identifier( &mut object_156, @@ -1046,6 +1058,7 @@ pub fn serialize_structure_crate_input_get_conformance_pack_compliance_details_i object.key("ConformancePackName").string(var_171.as_str()); } if let Some(var_172) = &input.filters { + #[allow(unused_mut)] let mut object_173 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_conformance_pack_evaluation_filters( &mut object_173, @@ -1135,6 +1148,7 @@ pub fn serialize_structure_crate_input_get_organization_config_rule_detailed_sta .string(var_184.as_str()); } if let Some(var_185) = &input.filters { + #[allow(unused_mut)] let mut object_186 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_status_detail_filters( &mut object_186, @@ -1164,6 +1178,7 @@ pub fn serialize_structure_crate_input_get_organization_conformance_pack_detaile .string(var_188.as_str()); } if let Some(var_189) = &input.filters { + #[allow(unused_mut)] let mut object_190 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_organization_resource_detailed_status_filters(&mut object_190, var_189)?; object_190.finish(); @@ -1250,6 +1265,7 @@ pub fn serialize_structure_crate_input_list_aggregate_discovered_resources_input object.key("ResourceType").string(var_201.as_str()); } if let Some(var_202) = &input.filters { + #[allow(unused_mut)] let mut object_203 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_resource_filters( &mut object_203, @@ -1274,6 +1290,7 @@ pub fn serialize_structure_crate_input_list_conformance_pack_compliance_scores_i input: &crate::input::ListConformancePackComplianceScoresInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_205) = &input.filters { + #[allow(unused_mut)] let mut object_206 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_conformance_pack_compliance_scores_filters(&mut object_206, var_205)?; object_206.finish(); @@ -1381,6 +1398,7 @@ pub fn serialize_structure_crate_input_put_aggregation_authorization_input( let mut array_223 = object.key("Tags").start_array(); for item_224 in var_222 { { + #[allow(unused_mut)] let mut object_225 = array_223.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_225, item_224)?; object_225.finish(); @@ -1396,6 +1414,7 @@ pub fn serialize_structure_crate_input_put_config_rule_input( input: &crate::input::PutConfigRuleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_226) = &input.config_rule { + #[allow(unused_mut)] let mut object_227 = object.key("ConfigRule").start_object(); crate::json_ser::serialize_structure_crate_model_config_rule(&mut object_227, var_226)?; object_227.finish(); @@ -1404,6 +1423,7 @@ pub fn serialize_structure_crate_input_put_config_rule_input( let mut array_229 = object.key("Tags").start_array(); for item_230 in var_228 { { + #[allow(unused_mut)] let mut object_231 = array_229.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_231, item_230)?; object_231.finish(); @@ -1427,6 +1447,7 @@ pub fn serialize_structure_crate_input_put_configuration_aggregator_input( let mut array_234 = object.key("AccountAggregationSources").start_array(); for item_235 in var_233 { { + #[allow(unused_mut)] let mut object_236 = array_234.value().start_object(); crate::json_ser::serialize_structure_crate_model_account_aggregation_source( &mut object_236, @@ -1438,6 +1459,7 @@ pub fn serialize_structure_crate_input_put_configuration_aggregator_input( array_234.finish(); } if let Some(var_237) = &input.organization_aggregation_source { + #[allow(unused_mut)] let mut object_238 = object.key("OrganizationAggregationSource").start_object(); crate::json_ser::serialize_structure_crate_model_organization_aggregation_source( &mut object_238, @@ -1449,6 +1471,7 @@ pub fn serialize_structure_crate_input_put_configuration_aggregator_input( let mut array_240 = object.key("Tags").start_array(); for item_241 in var_239 { { + #[allow(unused_mut)] let mut object_242 = array_240.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_242, item_241)?; object_242.finish(); @@ -1464,6 +1487,7 @@ pub fn serialize_structure_crate_input_put_configuration_recorder_input( input: &crate::input::PutConfigurationRecorderInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_243) = &input.configuration_recorder { + #[allow(unused_mut)] let mut object_244 = object.key("ConfigurationRecorder").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_recorder( &mut object_244, @@ -1497,6 +1521,7 @@ pub fn serialize_structure_crate_input_put_conformance_pack_input( let mut array_251 = object.key("ConformancePackInputParameters").start_array(); for item_252 in var_250 { { + #[allow(unused_mut)] let mut object_253 = array_251.value().start_object(); crate::json_ser::serialize_structure_crate_model_conformance_pack_input_parameter( &mut object_253, @@ -1508,6 +1533,7 @@ pub fn serialize_structure_crate_input_put_conformance_pack_input( array_251.finish(); } if let Some(var_254) = &input.template_ssm_document_details { + #[allow(unused_mut)] let mut object_255 = object.key("TemplateSSMDocumentDetails").start_object(); crate::json_ser::serialize_structure_crate_model_template_ssm_document_details( &mut object_255, @@ -1523,6 +1549,7 @@ pub fn serialize_structure_crate_input_put_delivery_channel_input( input: &crate::input::PutDeliveryChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_256) = &input.delivery_channel { + #[allow(unused_mut)] let mut object_257 = object.key("DeliveryChannel").start_object(); crate::json_ser::serialize_structure_crate_model_delivery_channel( &mut object_257, @@ -1541,6 +1568,7 @@ pub fn serialize_structure_crate_input_put_evaluations_input( let mut array_259 = object.key("Evaluations").start_array(); for item_260 in var_258 { { + #[allow(unused_mut)] let mut object_261 = array_259.value().start_object(); crate::json_ser::serialize_structure_crate_model_evaluation( &mut object_261, @@ -1568,6 +1596,7 @@ pub fn serialize_structure_crate_input_put_external_evaluation_input( object.key("ConfigRuleName").string(var_263.as_str()); } if let Some(var_264) = &input.external_evaluation { + #[allow(unused_mut)] let mut object_265 = object.key("ExternalEvaluation").start_object(); crate::json_ser::serialize_structure_crate_model_external_evaluation( &mut object_265, @@ -1588,6 +1617,7 @@ pub fn serialize_structure_crate_input_put_organization_config_rule_input( .string(var_266.as_str()); } if let Some(var_267) = &input.organization_managed_rule_metadata { + #[allow(unused_mut)] let mut object_268 = object.key("OrganizationManagedRuleMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_organization_managed_rule_metadata( &mut object_268, @@ -1596,6 +1626,7 @@ pub fn serialize_structure_crate_input_put_organization_config_rule_input( object_268.finish(); } if let Some(var_269) = &input.organization_custom_rule_metadata { + #[allow(unused_mut)] let mut object_270 = object.key("OrganizationCustomRuleMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_organization_custom_rule_metadata( &mut object_270, @@ -1613,6 +1644,7 @@ pub fn serialize_structure_crate_input_put_organization_config_rule_input( array_272.finish(); } if let Some(var_274) = &input.organization_custom_policy_rule_metadata { + #[allow(unused_mut)] let mut object_275 = object .key("OrganizationCustomPolicyRuleMetadata") .start_object(); @@ -1650,6 +1682,7 @@ pub fn serialize_structure_crate_input_put_organization_conformance_pack_input( let mut array_282 = object.key("ConformancePackInputParameters").start_array(); for item_283 in var_281 { { + #[allow(unused_mut)] let mut object_284 = array_282.value().start_object(); crate::json_ser::serialize_structure_crate_model_conformance_pack_input_parameter( &mut object_284, @@ -1680,6 +1713,7 @@ pub fn serialize_structure_crate_input_put_remediation_configurations_input( let mut array_289 = object.key("RemediationConfigurations").start_array(); for item_290 in var_288 { { + #[allow(unused_mut)] let mut object_291 = array_289.value().start_object(); crate::json_ser::serialize_structure_crate_model_remediation_configuration( &mut object_291, @@ -1704,6 +1738,7 @@ pub fn serialize_structure_crate_input_put_remediation_exceptions_input( let mut array_294 = object.key("ResourceKeys").start_array(); for item_295 in var_293 { { + #[allow(unused_mut)] let mut object_296 = array_294.value().start_object(); crate::json_ser::serialize_structure_crate_model_remediation_exception_resource_key(&mut object_296, item_295)?; object_296.finish(); @@ -1742,6 +1777,7 @@ pub fn serialize_structure_crate_input_put_resource_config_input( object.key("Configuration").string(var_303.as_str()); } if let Some(var_304) = &input.tags { + #[allow(unused_mut)] let mut object_305 = object.key("Tags").start_object(); for (key_306, value_307) in var_304 { { @@ -1771,6 +1807,7 @@ pub fn serialize_structure_crate_input_put_stored_query_input( input: &crate::input::PutStoredQueryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_308) = &input.stored_query { + #[allow(unused_mut)] let mut object_309 = object.key("StoredQuery").start_object(); crate::json_ser::serialize_structure_crate_model_stored_query(&mut object_309, var_308)?; object_309.finish(); @@ -1779,6 +1816,7 @@ pub fn serialize_structure_crate_input_put_stored_query_input( let mut array_311 = object.key("Tags").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_313, item_312)?; object_313.finish(); @@ -1877,6 +1915,7 @@ pub fn serialize_structure_crate_input_start_remediation_execution_input( let mut array_325 = object.key("ResourceKeys").start_array(); for item_326 in var_324 { { + #[allow(unused_mut)] let mut object_327 = array_325.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_key( &mut object_327, @@ -1913,6 +1952,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_331 = object.key("Tags").start_array(); for item_332 in var_330 { { + #[allow(unused_mut)] let mut object_333 = array_331.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_333, item_332)?; object_333.finish(); @@ -2213,11 +2253,13 @@ pub fn serialize_structure_crate_model_config_rule( object.key("Description").string(var_390.as_str()); } if let Some(var_391) = &input.scope { + #[allow(unused_mut)] let mut object_392 = object.key("Scope").start_object(); crate::json_ser::serialize_structure_crate_model_scope(&mut object_392, var_391)?; object_392.finish(); } if let Some(var_393) = &input.source { + #[allow(unused_mut)] let mut object_394 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_394, var_393)?; object_394.finish(); @@ -2300,6 +2342,7 @@ pub fn serialize_structure_crate_model_configuration_recorder( object.key("roleARN").string(var_410.as_str()); } if let Some(var_411) = &input.recording_group { + #[allow(unused_mut)] let mut object_412 = object.key("recordingGroup").start_object(); crate::json_ser::serialize_structure_crate_model_recording_group(&mut object_412, var_411)?; object_412.finish(); @@ -2353,6 +2396,7 @@ pub fn serialize_structure_crate_model_delivery_channel( object.key("snsTopicARN").string(var_421.as_str()); } if let Some(var_422) = &input.config_snapshot_delivery_properties { + #[allow(unused_mut)] let mut object_423 = object .key("configSnapshotDeliveryProperties") .start_object(); @@ -2585,9 +2629,11 @@ pub fn serialize_structure_crate_model_remediation_configuration( object.key("TargetVersion").string(var_477.as_str()); } if let Some(var_478) = &input.parameters { + #[allow(unused_mut)] let mut object_479 = object.key("Parameters").start_object(); for (key_480, value_481) in var_478 { { + #[allow(unused_mut)] let mut object_482 = object_479.key(key_480.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_remediation_parameter_value( &mut object_482, @@ -2605,6 +2651,7 @@ pub fn serialize_structure_crate_model_remediation_configuration( object.key("Automatic").boolean(input.automatic); } if let Some(var_484) = &input.execution_controls { + #[allow(unused_mut)] let mut object_485 = object.key("ExecutionControls").start_object(); crate::json_ser::serialize_structure_crate_model_execution_controls( &mut object_485, @@ -2694,6 +2741,7 @@ pub fn serialize_structure_crate_model_source( let mut array_504 = object.key("SourceDetails").start_array(); for item_505 in var_503 { { + #[allow(unused_mut)] let mut object_506 = array_504.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_detail( &mut object_506, @@ -2705,6 +2753,7 @@ pub fn serialize_structure_crate_model_source( array_504.finish(); } if let Some(var_507) = &input.custom_policy_details { + #[allow(unused_mut)] let mut object_508 = object.key("CustomPolicyDetails").start_object(); crate::json_ser::serialize_structure_crate_model_custom_policy_details( &mut object_508, @@ -2754,11 +2803,13 @@ pub fn serialize_structure_crate_model_remediation_parameter_value( input: &crate::model::RemediationParameterValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_513) = &input.resource_value { + #[allow(unused_mut)] let mut object_514 = object.key("ResourceValue").start_object(); crate::json_ser::serialize_structure_crate_model_resource_value(&mut object_514, var_513)?; object_514.finish(); } if let Some(var_515) = &input.static_value { + #[allow(unused_mut)] let mut object_516 = object.key("StaticValue").start_object(); crate::json_ser::serialize_structure_crate_model_static_value(&mut object_516, var_515)?; object_516.finish(); @@ -2771,6 +2822,7 @@ pub fn serialize_structure_crate_model_execution_controls( input: &crate::model::ExecutionControls, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_517) = &input.ssm_controls { + #[allow(unused_mut)] let mut object_518 = object.key("SsmControls").start_object(); crate::json_ser::serialize_structure_crate_model_ssm_controls(&mut object_518, var_517)?; object_518.finish(); diff --git a/sdk/connect/src/json_ser.rs b/sdk/connect/src/json_ser.rs index 1406a980d4c0..b22189b49b54 100644 --- a/sdk/connect/src/json_ser.rs +++ b/sdk/connect/src/json_ser.rs @@ -14,11 +14,13 @@ pub fn serialize_structure_crate_input_associate_bot_input( input: &crate::input::AssociateBotInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.lex_bot { + #[allow(unused_mut)] let mut object_3 = object.key("LexBot").start_object(); crate::json_ser::serialize_structure_crate_model_lex_bot(&mut object_3, var_2)?; object_3.finish(); } if let Some(var_4) = &input.lex_v2_bot { + #[allow(unused_mut)] let mut object_5 = object.key("LexV2Bot").start_object(); crate::json_ser::serialize_structure_crate_model_lex_v2_bot(&mut object_5, var_4)?; object_5.finish(); @@ -44,6 +46,7 @@ pub fn serialize_structure_crate_input_associate_instance_storage_config_input( object.key("ResourceType").string(var_7.as_str()); } if let Some(var_8) = &input.storage_config { + #[allow(unused_mut)] let mut object_9 = object.key("StorageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_instance_storage_config( &mut object_9, @@ -69,6 +72,7 @@ pub fn serialize_structure_crate_input_associate_lex_bot_input( input: &crate::input::AssociateLexBotInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.lex_bot { + #[allow(unused_mut)] let mut object_12 = object.key("LexBot").start_object(); crate::json_ser::serialize_structure_crate_model_lex_bot(&mut object_12, var_11)?; object_12.finish(); @@ -113,6 +117,7 @@ pub fn serialize_structure_crate_input_associate_routing_profile_queues_input( let mut array_19 = object.key("QueueConfigs").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_queue_config( &mut object_21, @@ -150,6 +155,7 @@ pub fn serialize_structure_crate_input_claim_phone_number_input( object.key("PhoneNumberDescription").string(var_25.as_str()); } if let Some(var_26) = &input.tags { + #[allow(unused_mut)] let mut object_27 = object.key("Tags").start_object(); for (key_28, value_29) in var_26 { { @@ -184,6 +190,7 @@ pub fn serialize_structure_crate_input_create_agent_status_input( object.key("State").string(var_34.as_str()); } if let Some(var_35) = &input.tags { + #[allow(unused_mut)] let mut object_36 = object.key("Tags").start_object(); for (key_37, value_38) in var_35 { { @@ -209,6 +216,7 @@ pub fn serialize_structure_crate_input_create_contact_flow_input( object.key("Name").string(var_41.as_str()); } if let Some(var_42) = &input.tags { + #[allow(unused_mut)] let mut object_43 = object.key("Tags").start_object(); for (key_44, value_45) in var_42 { { @@ -240,6 +248,7 @@ pub fn serialize_structure_crate_input_create_contact_flow_module_input( object.key("Name").string(var_50.as_str()); } if let Some(var_51) = &input.tags { + #[allow(unused_mut)] let mut object_52 = object.key("Tags").start_object(); for (key_53, value_54) in var_51 { { @@ -259,6 +268,7 @@ pub fn serialize_structure_crate_input_create_hours_of_operation_input( let mut array_56 = object.key("Config").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_hours_of_operation_config( &mut object_58, @@ -276,6 +286,7 @@ pub fn serialize_structure_crate_input_create_hours_of_operation_input( object.key("Name").string(var_60.as_str()); } if let Some(var_61) = &input.tags { + #[allow(unused_mut)] let mut object_62 = object.key("Tags").start_object(); for (key_63, value_64) in var_61 { { @@ -335,6 +346,7 @@ pub fn serialize_structure_crate_input_create_integration_association_input( object.key("SourceType").string(var_76.as_str()); } if let Some(var_77) = &input.tags { + #[allow(unused_mut)] let mut object_78 = object.key("Tags").start_object(); for (key_79, value_80) in var_77 { { @@ -366,6 +378,7 @@ pub fn serialize_structure_crate_input_create_queue_input( object.key("Name").string(var_84.as_str()); } if let Some(var_85) = &input.outbound_caller_config { + #[allow(unused_mut)] let mut object_86 = object.key("OutboundCallerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_outbound_caller_config( &mut object_86, @@ -383,6 +396,7 @@ pub fn serialize_structure_crate_input_create_queue_input( array_88.finish(); } if let Some(var_90) = &input.tags { + #[allow(unused_mut)] let mut object_91 = object.key("Tags").start_object(); for (key_92, value_93) in var_90 { { @@ -405,6 +419,7 @@ pub fn serialize_structure_crate_input_create_quick_connect_input( object.key("Name").string(var_95.as_str()); } if let Some(var_96) = &input.quick_connect_config { + #[allow(unused_mut)] let mut object_97 = object.key("QuickConnectConfig").start_object(); crate::json_ser::serialize_structure_crate_model_quick_connect_config( &mut object_97, @@ -413,6 +428,7 @@ pub fn serialize_structure_crate_input_create_quick_connect_input( object_97.finish(); } if let Some(var_98) = &input.tags { + #[allow(unused_mut)] let mut object_99 = object.key("Tags").start_object(); for (key_100, value_101) in var_98 { { @@ -440,6 +456,7 @@ pub fn serialize_structure_crate_input_create_routing_profile_input( let mut array_105 = object.key("MediaConcurrencies").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_concurrency( &mut object_107, @@ -457,6 +474,7 @@ pub fn serialize_structure_crate_input_create_routing_profile_input( let mut array_110 = object.key("QueueConfigs").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_queue_config( &mut object_112, @@ -468,6 +486,7 @@ pub fn serialize_structure_crate_input_create_routing_profile_input( array_110.finish(); } if let Some(var_113) = &input.tags { + #[allow(unused_mut)] let mut object_114 = object.key("Tags").start_object(); for (key_115, value_116) in var_113 { { @@ -499,6 +518,7 @@ pub fn serialize_structure_crate_input_create_security_profile_input( object.key("SecurityProfileName").string(var_121.as_str()); } if let Some(var_122) = &input.tags { + #[allow(unused_mut)] let mut object_123 = object.key("Tags").start_object(); for (key_124, value_125) in var_122 { { @@ -518,6 +538,7 @@ pub fn serialize_structure_crate_input_create_task_template_input( object.key("ClientToken").string(var_126.as_str()); } if let Some(var_127) = &input.constraints { + #[allow(unused_mut)] let mut object_128 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_constraints( &mut object_128, @@ -529,6 +550,7 @@ pub fn serialize_structure_crate_input_create_task_template_input( object.key("ContactFlowId").string(var_129.as_str()); } if let Some(var_130) = &input.defaults { + #[allow(unused_mut)] let mut object_131 = object.key("Defaults").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_defaults( &mut object_131, @@ -543,6 +565,7 @@ pub fn serialize_structure_crate_input_create_task_template_input( let mut array_134 = object.key("Fields").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field( &mut object_136, @@ -567,6 +590,7 @@ pub fn serialize_structure_crate_input_create_use_case_input( input: &crate::input::CreateUseCaseInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_139) = &input.tags { + #[allow(unused_mut)] let mut object_140 = object.key("Tags").start_object(); for (key_141, value_142) in var_139 { { @@ -592,6 +616,7 @@ pub fn serialize_structure_crate_input_create_user_input( object.key("HierarchyGroupId").string(var_145.as_str()); } if let Some(var_146) = &input.identity_info { + #[allow(unused_mut)] let mut object_147 = object.key("IdentityInfo").start_object(); crate::json_ser::serialize_structure_crate_model_user_identity_info( &mut object_147, @@ -603,6 +628,7 @@ pub fn serialize_structure_crate_input_create_user_input( object.key("Password").string(var_148.as_str()); } if let Some(var_149) = &input.phone_config { + #[allow(unused_mut)] let mut object_150 = object.key("PhoneConfig").start_object(); crate::json_ser::serialize_structure_crate_model_user_phone_config( &mut object_150, @@ -623,6 +649,7 @@ pub fn serialize_structure_crate_input_create_user_input( array_153.finish(); } if let Some(var_155) = &input.tags { + #[allow(unused_mut)] let mut object_156 = object.key("Tags").start_object(); for (key_157, value_158) in var_155 { { @@ -648,6 +675,7 @@ pub fn serialize_structure_crate_input_create_user_hierarchy_group_input( object.key("ParentGroupId").string(var_161.as_str()); } if let Some(var_162) = &input.tags { + #[allow(unused_mut)] let mut object_163 = object.key("Tags").start_object(); for (key_164, value_165) in var_162 { { @@ -673,6 +701,7 @@ pub fn serialize_structure_crate_input_create_vocabulary_input( object.key("LanguageCode").string(var_168.as_str()); } if let Some(var_169) = &input.tags { + #[allow(unused_mut)] let mut object_170 = object.key("Tags").start_object(); for (key_171, value_172) in var_169 { { @@ -692,11 +721,13 @@ pub fn serialize_structure_crate_input_disassociate_bot_input( input: &crate::input::DisassociateBotInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_174) = &input.lex_bot { + #[allow(unused_mut)] let mut object_175 = object.key("LexBot").start_object(); crate::json_ser::serialize_structure_crate_model_lex_bot(&mut object_175, var_174)?; object_175.finish(); } if let Some(var_176) = &input.lex_v2_bot { + #[allow(unused_mut)] let mut object_177 = object.key("LexV2Bot").start_object(); crate::json_ser::serialize_structure_crate_model_lex_v2_bot(&mut object_177, var_176)?; object_177.finish(); @@ -728,6 +759,7 @@ pub fn serialize_structure_crate_input_disassociate_routing_profile_queues_input let mut array_182 = object.key("QueueReferences").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_queue_reference( &mut object_184, @@ -749,6 +781,7 @@ pub fn serialize_structure_crate_input_get_current_metric_data_input( let mut array_186 = object.key("CurrentMetrics").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_current_metric( &mut object_188, @@ -760,6 +793,7 @@ pub fn serialize_structure_crate_input_get_current_metric_data_input( array_186.finish(); } if let Some(var_189) = &input.filters { + #[allow(unused_mut)] let mut object_190 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_filters(&mut object_190, var_189)?; object_190.finish(); @@ -790,6 +824,7 @@ pub fn serialize_structure_crate_input_get_current_user_data_input( input: &crate::input::GetCurrentUserDataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_196) = &input.filters { + #[allow(unused_mut)] let mut object_197 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_user_data_filters( &mut object_197, @@ -819,6 +854,7 @@ pub fn serialize_structure_crate_input_get_metric_data_input( .date_time(var_200, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_201) = &input.filters { + #[allow(unused_mut)] let mut object_202 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_filters(&mut object_202, var_201)?; object_202.finish(); @@ -836,6 +872,7 @@ pub fn serialize_structure_crate_input_get_metric_data_input( let mut array_207 = object.key("HistoricalMetrics").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_historical_metric( &mut object_209, @@ -995,6 +1032,7 @@ pub fn serialize_structure_crate_input_search_queues_input( object.key("NextToken").string(var_237.as_str()); } if let Some(var_238) = &input.search_criteria { + #[allow(unused_mut)] let mut object_239 = object.key("SearchCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_queue_search_criteria( &mut object_239, @@ -1003,6 +1041,7 @@ pub fn serialize_structure_crate_input_search_queues_input( object_239.finish(); } if let Some(var_240) = &input.search_filter { + #[allow(unused_mut)] let mut object_241 = object.key("SearchFilter").start_object(); crate::json_ser::serialize_structure_crate_model_queue_search_filter( &mut object_241, @@ -1030,6 +1069,7 @@ pub fn serialize_structure_crate_input_search_routing_profiles_input( object.key("NextToken").string(var_244.as_str()); } if let Some(var_245) = &input.search_criteria { + #[allow(unused_mut)] let mut object_246 = object.key("SearchCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_search_criteria( &mut object_246, @@ -1038,6 +1078,7 @@ pub fn serialize_structure_crate_input_search_routing_profiles_input( object_246.finish(); } if let Some(var_247) = &input.search_filter { + #[allow(unused_mut)] let mut object_248 = object.key("SearchFilter").start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_search_filter( &mut object_248, @@ -1065,6 +1106,7 @@ pub fn serialize_structure_crate_input_search_security_profiles_input( object.key("NextToken").string(var_251.as_str()); } if let Some(var_252) = &input.search_criteria { + #[allow(unused_mut)] let mut object_253 = object.key("SearchCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_security_profile_search_criteria( &mut object_253, @@ -1073,6 +1115,7 @@ pub fn serialize_structure_crate_input_search_security_profiles_input( object_253.finish(); } if let Some(var_254) = &input.search_filter { + #[allow(unused_mut)] let mut object_255 = object.key("SearchFilter").start_object(); crate::json_ser::serialize_structure_crate_model_security_profiles_search_filter( &mut object_255, @@ -1100,6 +1143,7 @@ pub fn serialize_structure_crate_input_search_users_input( object.key("NextToken").string(var_258.as_str()); } if let Some(var_259) = &input.search_criteria { + #[allow(unused_mut)] let mut object_260 = object.key("SearchCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_user_search_criteria( &mut object_260, @@ -1108,6 +1152,7 @@ pub fn serialize_structure_crate_input_search_users_input( object_260.finish(); } if let Some(var_261) = &input.search_filter { + #[allow(unused_mut)] let mut object_262 = object.key("SearchFilter").start_object(); crate::json_ser::serialize_structure_crate_model_user_search_filter( &mut object_262, @@ -1148,6 +1193,7 @@ pub fn serialize_structure_crate_input_start_chat_contact_input( input: &crate::input::StartChatContactInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_267) = &input.attributes { + #[allow(unused_mut)] let mut object_268 = object.key("Attributes").start_object(); for (key_269, value_270) in var_267 { { @@ -1169,6 +1215,7 @@ pub fn serialize_structure_crate_input_start_chat_contact_input( object.key("ContactFlowId").string(var_273.as_str()); } if let Some(var_274) = &input.initial_message { + #[allow(unused_mut)] let mut object_275 = object.key("InitialMessage").start_object(); crate::json_ser::serialize_structure_crate_model_chat_message(&mut object_275, var_274)?; object_275.finish(); @@ -1177,6 +1224,7 @@ pub fn serialize_structure_crate_input_start_chat_contact_input( object.key("InstanceId").string(var_276.as_str()); } if let Some(var_277) = &input.participant_details { + #[allow(unused_mut)] let mut object_278 = object.key("ParticipantDetails").start_object(); crate::json_ser::serialize_structure_crate_model_participant_details( &mut object_278, @@ -1210,6 +1258,7 @@ pub fn serialize_structure_crate_input_start_contact_recording_input( object.key("InstanceId").string(var_284.as_str()); } if let Some(var_285) = &input.voice_recording_configuration { + #[allow(unused_mut)] let mut object_286 = object.key("VoiceRecordingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_voice_recording_configuration( &mut object_286, @@ -1225,6 +1274,7 @@ pub fn serialize_structure_crate_input_start_contact_streaming_input( input: &crate::input::StartContactStreamingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_287) = &input.chat_streaming_configuration { + #[allow(unused_mut)] let mut object_288 = object.key("ChatStreamingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chat_streaming_configuration( &mut object_288, @@ -1249,6 +1299,7 @@ pub fn serialize_structure_crate_input_start_outbound_voice_contact_input( input: &crate::input::StartOutboundVoiceContactInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_292) = &input.answer_machine_detection_config { + #[allow(unused_mut)] let mut object_293 = object.key("AnswerMachineDetectionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_answer_machine_detection_config( &mut object_293, @@ -1257,6 +1308,7 @@ pub fn serialize_structure_crate_input_start_outbound_voice_contact_input( object_293.finish(); } if let Some(var_294) = &input.attributes { + #[allow(unused_mut)] let mut object_295 = object.key("Attributes").start_object(); for (key_296, value_297) in var_294 { { @@ -1299,6 +1351,7 @@ pub fn serialize_structure_crate_input_start_task_contact_input( input: &crate::input::StartTaskContactInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_306) = &input.attributes { + #[allow(unused_mut)] let mut object_307 = object.key("Attributes").start_object(); for (key_308, value_309) in var_306 { { @@ -1329,9 +1382,11 @@ pub fn serialize_structure_crate_input_start_task_contact_input( object.key("QuickConnectId").string(var_316.as_str()); } if let Some(var_317) = &input.references { + #[allow(unused_mut)] let mut object_318 = object.key("References").start_object(); for (key_319, value_320) in var_317 { { + #[allow(unused_mut)] let mut object_321 = object_318.key(key_319.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_reference( &mut object_321, @@ -1419,6 +1474,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_335) = &input.tags { + #[allow(unused_mut)] let mut object_336 = object.key("tags").start_object(); for (key_337, value_338) in var_335 { { @@ -1493,9 +1549,11 @@ pub fn serialize_structure_crate_input_update_contact_input( object.key("Name").string(var_350.as_str()); } if let Some(var_351) = &input.references { + #[allow(unused_mut)] let mut object_352 = object.key("References").start_object(); for (key_353, value_354) in var_351 { { + #[allow(unused_mut)] let mut object_355 = object_352.key(key_353.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_reference( &mut object_355, @@ -1514,6 +1572,7 @@ pub fn serialize_structure_crate_input_update_contact_attributes_input( input: &crate::input::UpdateContactAttributesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_356) = &input.attributes { + #[allow(unused_mut)] let mut object_357 = object.key("Attributes").start_object(); for (key_358, value_359) in var_356 { { @@ -1622,6 +1681,7 @@ pub fn serialize_structure_crate_input_update_hours_of_operation_input( let mut array_376 = object.key("Config").start_array(); for item_377 in var_375 { { + #[allow(unused_mut)] let mut object_378 = array_376.value().start_object(); crate::json_ser::serialize_structure_crate_model_hours_of_operation_config( &mut object_378, @@ -1659,6 +1719,7 @@ pub fn serialize_structure_crate_input_update_instance_storage_config_input( input: &crate::input::UpdateInstanceStorageConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_383) = &input.storage_config { + #[allow(unused_mut)] let mut object_384 = object.key("StorageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_instance_storage_config( &mut object_384, @@ -1723,6 +1784,7 @@ pub fn serialize_structure_crate_input_update_queue_outbound_caller_config_input input: &crate::input::UpdateQueueOutboundCallerConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_391) = &input.outbound_caller_config { + #[allow(unused_mut)] let mut object_392 = object.key("OutboundCallerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_outbound_caller_config( &mut object_392, @@ -1748,6 +1810,7 @@ pub fn serialize_structure_crate_input_update_quick_connect_config_input( input: &crate::input::UpdateQuickConnectConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_394) = &input.quick_connect_config { + #[allow(unused_mut)] let mut object_395 = object.key("QuickConnectConfig").start_object(); crate::json_ser::serialize_structure_crate_model_quick_connect_config( &mut object_395, @@ -1779,6 +1842,7 @@ pub fn serialize_structure_crate_input_update_routing_profile_concurrency_input( let mut array_399 = object.key("MediaConcurrencies").start_array(); for item_400 in var_398 { { + #[allow(unused_mut)] let mut object_401 = array_399.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_concurrency( &mut object_401, @@ -1825,6 +1889,7 @@ pub fn serialize_structure_crate_input_update_routing_profile_queues_input( let mut array_406 = object.key("QueueConfigs").start_array(); for item_407 in var_405 { { + #[allow(unused_mut)] let mut object_408 = array_406.value().start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_queue_config( &mut object_408, @@ -1862,6 +1927,7 @@ pub fn serialize_structure_crate_input_update_task_template_input( input: &crate::input::UpdateTaskTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_413) = &input.constraints { + #[allow(unused_mut)] let mut object_414 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_constraints( &mut object_414, @@ -1873,6 +1939,7 @@ pub fn serialize_structure_crate_input_update_task_template_input( object.key("ContactFlowId").string(var_415.as_str()); } if let Some(var_416) = &input.defaults { + #[allow(unused_mut)] let mut object_417 = object.key("Defaults").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_defaults( &mut object_417, @@ -1887,6 +1954,7 @@ pub fn serialize_structure_crate_input_update_task_template_input( let mut array_420 = object.key("Fields").start_array(); for item_421 in var_419 { { + #[allow(unused_mut)] let mut object_422 = array_420.value().start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field( &mut object_422, @@ -1931,6 +1999,7 @@ pub fn serialize_structure_crate_input_update_user_hierarchy_structure_input( input: &crate::input::UpdateUserHierarchyStructureInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_427) = &input.hierarchy_structure { + #[allow(unused_mut)] let mut object_428 = object.key("HierarchyStructure").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_structure_update( &mut object_428, @@ -1946,6 +2015,7 @@ pub fn serialize_structure_crate_input_update_user_identity_info_input( input: &crate::input::UpdateUserIdentityInfoInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_429) = &input.identity_info { + #[allow(unused_mut)] let mut object_430 = object.key("IdentityInfo").start_object(); crate::json_ser::serialize_structure_crate_model_user_identity_info( &mut object_430, @@ -1961,6 +2031,7 @@ pub fn serialize_structure_crate_input_update_user_phone_config_input( input: &crate::input::UpdateUserPhoneConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_431) = &input.phone_config { + #[allow(unused_mut)] let mut object_432 = object.key("PhoneConfig").start_object(); crate::json_ser::serialize_structure_crate_model_user_phone_config( &mut object_432, @@ -2031,11 +2102,13 @@ pub fn serialize_structure_crate_model_instance_storage_config( object.key("StorageType").string(var_441.as_str()); } if let Some(var_442) = &input.s3_config { + #[allow(unused_mut)] let mut object_443 = object.key("S3Config").start_object(); crate::json_ser::serialize_structure_crate_model_s3_config(&mut object_443, var_442)?; object_443.finish(); } if let Some(var_444) = &input.kinesis_video_stream_config { + #[allow(unused_mut)] let mut object_445 = object.key("KinesisVideoStreamConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_video_stream_config( &mut object_445, @@ -2044,6 +2117,7 @@ pub fn serialize_structure_crate_model_instance_storage_config( object_445.finish(); } if let Some(var_446) = &input.kinesis_stream_config { + #[allow(unused_mut)] let mut object_447 = object.key("KinesisStreamConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_stream_config( &mut object_447, @@ -2052,6 +2126,7 @@ pub fn serialize_structure_crate_model_instance_storage_config( object_447.finish(); } if let Some(var_448) = &input.kinesis_firehose_config { + #[allow(unused_mut)] let mut object_449 = object.key("KinesisFirehoseConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_config( &mut object_449, @@ -2067,6 +2142,7 @@ pub fn serialize_structure_crate_model_routing_profile_queue_config( input: &crate::model::RoutingProfileQueueConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_450) = &input.queue_reference { + #[allow(unused_mut)] let mut object_451 = object.key("QueueReference").start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_queue_reference( &mut object_451, @@ -2097,6 +2173,7 @@ pub fn serialize_structure_crate_model_hours_of_operation_config( object.key("Day").string(var_454.as_str()); } if let Some(var_455) = &input.start_time { + #[allow(unused_mut)] let mut object_456 = object.key("StartTime").start_object(); crate::json_ser::serialize_structure_crate_model_hours_of_operation_time_slice( &mut object_456, @@ -2105,6 +2182,7 @@ pub fn serialize_structure_crate_model_hours_of_operation_config( object_456.finish(); } if let Some(var_457) = &input.end_time { + #[allow(unused_mut)] let mut object_458 = object.key("EndTime").start_object(); crate::json_ser::serialize_structure_crate_model_hours_of_operation_time_slice( &mut object_458, @@ -2141,6 +2219,7 @@ pub fn serialize_structure_crate_model_quick_connect_config( object.key("QuickConnectType").string(var_462.as_str()); } if let Some(var_463) = &input.user_config { + #[allow(unused_mut)] let mut object_464 = object.key("UserConfig").start_object(); crate::json_ser::serialize_structure_crate_model_user_quick_connect_config( &mut object_464, @@ -2149,6 +2228,7 @@ pub fn serialize_structure_crate_model_quick_connect_config( object_464.finish(); } if let Some(var_465) = &input.queue_config { + #[allow(unused_mut)] let mut object_466 = object.key("QueueConfig").start_object(); crate::json_ser::serialize_structure_crate_model_queue_quick_connect_config( &mut object_466, @@ -2157,6 +2237,7 @@ pub fn serialize_structure_crate_model_quick_connect_config( object_466.finish(); } if let Some(var_467) = &input.phone_config { + #[allow(unused_mut)] let mut object_468 = object.key("PhoneConfig").start_object(); crate::json_ser::serialize_structure_crate_model_phone_number_quick_connect_config( &mut object_468, @@ -2191,6 +2272,7 @@ pub fn serialize_structure_crate_model_task_template_constraints( let mut array_471 = object.key("RequiredFields").start_array(); for item_472 in var_470 { { + #[allow(unused_mut)] let mut object_473 = array_471.value().start_object(); crate::json_ser::serialize_structure_crate_model_required_field_info( &mut object_473, @@ -2205,6 +2287,7 @@ pub fn serialize_structure_crate_model_task_template_constraints( let mut array_475 = object.key("ReadOnlyFields").start_array(); for item_476 in var_474 { { + #[allow(unused_mut)] let mut object_477 = array_475.value().start_object(); crate::json_ser::serialize_structure_crate_model_read_only_field_info( &mut object_477, @@ -2219,6 +2302,7 @@ pub fn serialize_structure_crate_model_task_template_constraints( let mut array_479 = object.key("InvisibleFields").start_array(); for item_480 in var_478 { { + #[allow(unused_mut)] let mut object_481 = array_479.value().start_object(); crate::json_ser::serialize_structure_crate_model_invisible_field_info( &mut object_481, @@ -2240,6 +2324,7 @@ pub fn serialize_structure_crate_model_task_template_defaults( let mut array_483 = object.key("DefaultFieldValues").start_array(); for item_484 in var_482 { { + #[allow(unused_mut)] let mut object_485 = array_483.value().start_object(); crate::json_ser::serialize_structure_crate_model_task_template_default_field_value( &mut object_485, @@ -2258,6 +2343,7 @@ pub fn serialize_structure_crate_model_task_template_field( input: &crate::model::TaskTemplateField, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_486) = &input.id { + #[allow(unused_mut)] let mut object_487 = object.key("Id").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field_identifier( &mut object_487, @@ -2386,6 +2472,7 @@ pub fn serialize_structure_crate_model_user_data_filters( array_509.finish(); } if let Some(var_511) = &input.contact_filter { + #[allow(unused_mut)] let mut object_512 = object.key("ContactFilter").start_object(); crate::json_ser::serialize_structure_crate_model_contact_filter(&mut object_512, var_511)?; object_512.finish(); @@ -2401,6 +2488,7 @@ pub fn serialize_structure_crate_model_historical_metric( object.key("Name").string(var_513.as_str()); } if let Some(var_514) = &input.threshold { + #[allow(unused_mut)] let mut object_515 = object.key("Threshold").start_object(); crate::json_ser::serialize_structure_crate_model_threshold(&mut object_515, var_514)?; object_515.finish(); @@ -2422,6 +2510,7 @@ pub fn serialize_structure_crate_model_queue_search_criteria( let mut array_519 = object.key("OrConditions").start_array(); for item_520 in var_518 { { + #[allow(unused_mut)] let mut object_521 = array_519.value().start_object(); crate::json_ser::serialize_structure_crate_model_queue_search_criteria( &mut object_521, @@ -2436,6 +2525,7 @@ pub fn serialize_structure_crate_model_queue_search_criteria( let mut array_523 = object.key("AndConditions").start_array(); for item_524 in var_522 { { + #[allow(unused_mut)] let mut object_525 = array_523.value().start_object(); crate::json_ser::serialize_structure_crate_model_queue_search_criteria( &mut object_525, @@ -2447,6 +2537,7 @@ pub fn serialize_structure_crate_model_queue_search_criteria( array_523.finish(); } if let Some(var_526) = &input.string_condition { + #[allow(unused_mut)] let mut object_527 = object.key("StringCondition").start_object(); crate::json_ser::serialize_structure_crate_model_string_condition( &mut object_527, @@ -2465,6 +2556,7 @@ pub fn serialize_structure_crate_model_queue_search_filter( input: &crate::model::QueueSearchFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_529) = &input.tag_filter { + #[allow(unused_mut)] let mut object_530 = object.key("TagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_control_plane_tag_filter( &mut object_530, @@ -2483,6 +2575,7 @@ pub fn serialize_structure_crate_model_routing_profile_search_criteria( let mut array_532 = object.key("OrConditions").start_array(); for item_533 in var_531 { { + #[allow(unused_mut)] let mut object_534 = array_532.value().start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_search_criteria( &mut object_534, @@ -2497,6 +2590,7 @@ pub fn serialize_structure_crate_model_routing_profile_search_criteria( let mut array_536 = object.key("AndConditions").start_array(); for item_537 in var_535 { { + #[allow(unused_mut)] let mut object_538 = array_536.value().start_object(); crate::json_ser::serialize_structure_crate_model_routing_profile_search_criteria( &mut object_538, @@ -2508,6 +2602,7 @@ pub fn serialize_structure_crate_model_routing_profile_search_criteria( array_536.finish(); } if let Some(var_539) = &input.string_condition { + #[allow(unused_mut)] let mut object_540 = object.key("StringCondition").start_object(); crate::json_ser::serialize_structure_crate_model_string_condition( &mut object_540, @@ -2523,6 +2618,7 @@ pub fn serialize_structure_crate_model_routing_profile_search_filter( input: &crate::model::RoutingProfileSearchFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_541) = &input.tag_filter { + #[allow(unused_mut)] let mut object_542 = object.key("TagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_control_plane_tag_filter( &mut object_542, @@ -2541,6 +2637,7 @@ pub fn serialize_structure_crate_model_security_profile_search_criteria( let mut array_544 = object.key("OrConditions").start_array(); for item_545 in var_543 { { + #[allow(unused_mut)] let mut object_546 = array_544.value().start_object(); crate::json_ser::serialize_structure_crate_model_security_profile_search_criteria( &mut object_546, @@ -2555,6 +2652,7 @@ pub fn serialize_structure_crate_model_security_profile_search_criteria( let mut array_548 = object.key("AndConditions").start_array(); for item_549 in var_547 { { + #[allow(unused_mut)] let mut object_550 = array_548.value().start_object(); crate::json_ser::serialize_structure_crate_model_security_profile_search_criteria( &mut object_550, @@ -2566,6 +2664,7 @@ pub fn serialize_structure_crate_model_security_profile_search_criteria( array_548.finish(); } if let Some(var_551) = &input.string_condition { + #[allow(unused_mut)] let mut object_552 = object.key("StringCondition").start_object(); crate::json_ser::serialize_structure_crate_model_string_condition( &mut object_552, @@ -2581,6 +2680,7 @@ pub fn serialize_structure_crate_model_security_profiles_search_filter( input: &crate::model::SecurityProfilesSearchFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_553) = &input.tag_filter { + #[allow(unused_mut)] let mut object_554 = object.key("TagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_control_plane_tag_filter( &mut object_554, @@ -2599,6 +2699,7 @@ pub fn serialize_structure_crate_model_user_search_criteria( let mut array_556 = object.key("OrConditions").start_array(); for item_557 in var_555 { { + #[allow(unused_mut)] let mut object_558 = array_556.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_search_criteria( &mut object_558, @@ -2613,6 +2714,7 @@ pub fn serialize_structure_crate_model_user_search_criteria( let mut array_560 = object.key("AndConditions").start_array(); for item_561 in var_559 { { + #[allow(unused_mut)] let mut object_562 = array_560.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_search_criteria( &mut object_562, @@ -2624,6 +2726,7 @@ pub fn serialize_structure_crate_model_user_search_criteria( array_560.finish(); } if let Some(var_563) = &input.string_condition { + #[allow(unused_mut)] let mut object_564 = object.key("StringCondition").start_object(); crate::json_ser::serialize_structure_crate_model_string_condition( &mut object_564, @@ -2632,6 +2735,7 @@ pub fn serialize_structure_crate_model_user_search_criteria( object_564.finish(); } if let Some(var_565) = &input.hierarchy_group_condition { + #[allow(unused_mut)] let mut object_566 = object.key("HierarchyGroupCondition").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_group_condition( &mut object_566, @@ -2647,6 +2751,7 @@ pub fn serialize_structure_crate_model_user_search_filter( input: &crate::model::UserSearchFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_567) = &input.tag_filter { + #[allow(unused_mut)] let mut object_568 = object.key("TagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_control_plane_tag_filter( &mut object_568, @@ -2735,6 +2840,7 @@ pub fn serialize_structure_crate_model_hierarchy_structure_update( input: &crate::model::HierarchyStructureUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_576) = &input.level_one { + #[allow(unused_mut)] let mut object_577 = object.key("LevelOne").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_level_update( &mut object_577, @@ -2743,6 +2849,7 @@ pub fn serialize_structure_crate_model_hierarchy_structure_update( object_577.finish(); } if let Some(var_578) = &input.level_two { + #[allow(unused_mut)] let mut object_579 = object.key("LevelTwo").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_level_update( &mut object_579, @@ -2751,6 +2858,7 @@ pub fn serialize_structure_crate_model_hierarchy_structure_update( object_579.finish(); } if let Some(var_580) = &input.level_three { + #[allow(unused_mut)] let mut object_581 = object.key("LevelThree").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_level_update( &mut object_581, @@ -2759,6 +2867,7 @@ pub fn serialize_structure_crate_model_hierarchy_structure_update( object_581.finish(); } if let Some(var_582) = &input.level_four { + #[allow(unused_mut)] let mut object_583 = object.key("LevelFour").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_level_update( &mut object_583, @@ -2767,6 +2876,7 @@ pub fn serialize_structure_crate_model_hierarchy_structure_update( object_583.finish(); } if let Some(var_584) = &input.level_five { + #[allow(unused_mut)] let mut object_585 = object.key("LevelFive").start_object(); crate::json_ser::serialize_structure_crate_model_hierarchy_level_update( &mut object_585, @@ -2788,6 +2898,7 @@ pub fn serialize_structure_crate_model_s3_config( object.key("BucketPrefix").string(var_587.as_str()); } if let Some(var_588) = &input.encryption_config { + #[allow(unused_mut)] let mut object_589 = object.key("EncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config( &mut object_589, @@ -2812,6 +2923,7 @@ pub fn serialize_structure_crate_model_kinesis_video_stream_config( ); } if let Some(var_591) = &input.encryption_config { + #[allow(unused_mut)] let mut object_592 = object.key("EncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config( &mut object_592, @@ -2902,6 +3014,7 @@ pub fn serialize_structure_crate_model_required_field_info( input: &crate::model::RequiredFieldInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_602) = &input.id { + #[allow(unused_mut)] let mut object_603 = object.key("Id").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field_identifier( &mut object_603, @@ -2917,6 +3030,7 @@ pub fn serialize_structure_crate_model_read_only_field_info( input: &crate::model::ReadOnlyFieldInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_604) = &input.id { + #[allow(unused_mut)] let mut object_605 = object.key("Id").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field_identifier( &mut object_605, @@ -2932,6 +3046,7 @@ pub fn serialize_structure_crate_model_invisible_field_info( input: &crate::model::InvisibleFieldInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_606) = &input.id { + #[allow(unused_mut)] let mut object_607 = object.key("Id").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field_identifier( &mut object_607, @@ -2947,6 +3062,7 @@ pub fn serialize_structure_crate_model_task_template_default_field_value( input: &crate::model::TaskTemplateDefaultFieldValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_608) = &input.id { + #[allow(unused_mut)] let mut object_609 = object.key("Id").start_object(); crate::json_ser::serialize_structure_crate_model_task_template_field_identifier( &mut object_609, @@ -3029,6 +3145,7 @@ pub fn serialize_structure_crate_model_control_plane_tag_filter( let mut array_623 = array_621.value().start_array(); for item_624 in item_622 { { + #[allow(unused_mut)] let mut object_625 = array_623.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_condition( &mut object_625, @@ -3046,6 +3163,7 @@ pub fn serialize_structure_crate_model_control_plane_tag_filter( let mut array_627 = object.key("AndConditions").start_array(); for item_628 in var_626 { { + #[allow(unused_mut)] let mut object_629 = array_627.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_condition( &mut object_629, @@ -3057,6 +3175,7 @@ pub fn serialize_structure_crate_model_control_plane_tag_filter( array_627.finish(); } if let Some(var_630) = &input.tag_condition { + #[allow(unused_mut)] let mut object_631 = object.key("TagCondition").start_object(); crate::json_ser::serialize_structure_crate_model_tag_condition(&mut object_631, var_630)?; object_631.finish(); diff --git a/sdk/connectcampaigns/src/json_ser.rs b/sdk/connectcampaigns/src/json_ser.rs index f3e42dbba081..b7685e8e05c6 100644 --- a/sdk/connectcampaigns/src/json_ser.rs +++ b/sdk/connectcampaigns/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( object.key("connectInstanceId").string(var_1.as_str()); } if let Some(var_2) = &input.dialer_config { + #[allow(unused_mut)] let mut object_3 = object.key("dialerConfig").start_object(); crate::json_ser::serialize_union_crate_model_dialer_config(&mut object_3, var_2)?; object_3.finish(); @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( object.key("name").string(var_4.as_str()); } if let Some(var_5) = &input.outbound_call_config { + #[allow(unused_mut)] let mut object_6 = object.key("outboundCallConfig").start_object(); crate::json_ser::serialize_structure_crate_model_outbound_call_config( &mut object_6, @@ -23,6 +25,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( object_6.finish(); } if let Some(var_7) = &input.tags { + #[allow(unused_mut)] let mut object_8 = object.key("tags").start_object(); for (key_9, value_10) in var_7 { { @@ -55,6 +58,7 @@ pub fn serialize_structure_crate_input_list_campaigns_input( input: &crate::input::ListCampaignsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_14) = &input.filters { + #[allow(unused_mut)] let mut object_15 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_filters(&mut object_15, var_14)?; object_15.finish(); @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_put_dial_request_batch_input( let mut array_19 = object.key("dialRequests").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_dial_request( &mut object_21, @@ -97,6 +102,7 @@ pub fn serialize_structure_crate_input_start_instance_onboarding_job_input( input: &crate::input::StartInstanceOnboardingJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.encryption_config { + #[allow(unused_mut)] let mut object_23 = object.key("encryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config(&mut object_23, var_22)?; object_23.finish(); @@ -109,6 +115,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_24) = &input.tags { + #[allow(unused_mut)] let mut object_25 = object.key("tags").start_object(); for (key_26, value_27) in var_24 { { @@ -125,6 +132,7 @@ pub fn serialize_structure_crate_input_update_campaign_dialer_config_input( input: &crate::input::UpdateCampaignDialerConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.dialer_config { + #[allow(unused_mut)] let mut object_29 = object.key("dialerConfig").start_object(); crate::json_ser::serialize_union_crate_model_dialer_config(&mut object_29, var_28)?; object_29.finish(); @@ -147,6 +155,7 @@ pub fn serialize_structure_crate_input_update_campaign_outbound_call_config_inpu input: &crate::input::UpdateCampaignOutboundCallConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_31) = &input.answer_machine_detection_config { + #[allow(unused_mut)] let mut object_32 = object.key("answerMachineDetectionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_answer_machine_detection_config( &mut object_32, @@ -171,6 +180,7 @@ pub fn serialize_union_crate_model_dialer_config( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::DialerConfig::ProgressiveDialerConfig(inner) => { + #[allow(unused_mut)] let mut object_35 = object_3.key("progressiveDialerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_progressive_dialer_config( &mut object_35, @@ -179,6 +189,7 @@ pub fn serialize_union_crate_model_dialer_config( object_35.finish(); } crate::model::DialerConfig::PredictiveDialerConfig(inner) => { + #[allow(unused_mut)] let mut object_36 = object_3.key("predictiveDialerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_predictive_dialer_config( &mut object_36, @@ -213,6 +224,7 @@ pub fn serialize_structure_crate_model_outbound_call_config( object.key("connectQueueId").string(var_39.as_str()); } if let Some(var_40) = &input.answer_machine_detection_config { + #[allow(unused_mut)] let mut object_41 = object.key("answerMachineDetectionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_answer_machine_detection_config( &mut object_41, @@ -228,6 +240,7 @@ pub fn serialize_structure_crate_model_campaign_filters( input: &crate::model::CampaignFilters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_42) = &input.instance_id_filter { + #[allow(unused_mut)] let mut object_43 = object.key("instanceIdFilter").start_object(); crate::json_ser::serialize_structure_crate_model_instance_id_filter( &mut object_43, @@ -254,6 +267,7 @@ pub fn serialize_structure_crate_model_dial_request( .date_time(var_46, aws_smithy_types::date_time::Format::DateTime)?; } if let Some(var_47) = &input.attributes { + #[allow(unused_mut)] let mut object_48 = object.key("attributes").start_object(); for (key_49, value_50) in var_47 { { diff --git a/sdk/connectcases/src/json_ser.rs b/sdk/connectcases/src/json_ser.rs index 1ad235988107..8352f234f344 100644 --- a/sdk/connectcases/src/json_ser.rs +++ b/sdk/connectcases/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_get_field_input( let mut array_2 = object.key("fields").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_identifier( &mut object_4, @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_batch_put_field_options_input( let mut array_6 = object.key("options").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_option( &mut object_8, @@ -52,6 +54,7 @@ pub fn serialize_structure_crate_input_create_case_input( let mut array_11 = object.key("fields").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_value( &mut object_13, @@ -99,6 +102,7 @@ pub fn serialize_structure_crate_input_create_layout_input( input: &crate::input::CreateLayoutInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.content { + #[allow(unused_mut)] let mut object_20 = object.key("content").start_object(); crate::json_ser::serialize_union_crate_model_layout_content(&mut object_20, var_19)?; object_20.finish(); @@ -114,6 +118,7 @@ pub fn serialize_structure_crate_input_create_related_item_input( input: &crate::input::CreateRelatedItemInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.content { + #[allow(unused_mut)] let mut object_23 = object.key("content").start_object(); crate::json_ser::serialize_union_crate_model_related_item_input_content( &mut object_23, @@ -135,6 +140,7 @@ pub fn serialize_structure_crate_input_create_template_input( object.key("description").string(var_25.as_str()); } if let Some(var_26) = &input.layout_configuration { + #[allow(unused_mut)] let mut object_27 = object.key("layoutConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_layout_configuration( &mut object_27, @@ -149,6 +155,7 @@ pub fn serialize_structure_crate_input_create_template_input( let mut array_30 = object.key("requiredFields").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_required_field( &mut object_32, @@ -170,6 +177,7 @@ pub fn serialize_structure_crate_input_get_case_input( let mut array_34 = object.key("fields").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_identifier( &mut object_36, @@ -210,6 +218,7 @@ pub fn serialize_structure_crate_input_put_case_event_configuration_input( input: &crate::input::PutCaseEventConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.event_bridge { + #[allow(unused_mut)] let mut object_42 = object.key("eventBridge").start_object(); crate::json_ser::serialize_structure_crate_model_event_bridge_configuration( &mut object_42, @@ -228,6 +237,7 @@ pub fn serialize_structure_crate_input_search_cases_input( let mut array_44 = object.key("fields").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_identifier( &mut object_46, @@ -239,6 +249,7 @@ pub fn serialize_structure_crate_input_search_cases_input( array_44.finish(); } if let Some(var_47) = &input.filter { + #[allow(unused_mut)] let mut object_48 = object.key("filter").start_object(); crate::json_ser::serialize_union_crate_model_case_filter(&mut object_48, var_47)?; object_48.finish(); @@ -259,6 +270,7 @@ pub fn serialize_structure_crate_input_search_cases_input( let mut array_53 = object.key("sorts").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_55, item_54)?; object_55.finish(); @@ -277,6 +289,7 @@ pub fn serialize_structure_crate_input_search_related_items_input( let mut array_57 = object.key("filters").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_union_crate_model_related_item_type_filter( &mut object_59, @@ -304,6 +317,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_62) = &input.tags { + #[allow(unused_mut)] let mut object_63 = object.key("tags").start_object(); for (key_64, value_65) in var_62 { if let Some(var_66) = value_65 { @@ -325,6 +339,7 @@ pub fn serialize_structure_crate_input_update_case_input( let mut array_68 = object.key("fields").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_value( &mut object_70, @@ -356,6 +371,7 @@ pub fn serialize_structure_crate_input_update_layout_input( input: &crate::input::UpdateLayoutInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_73) = &input.content { + #[allow(unused_mut)] let mut object_74 = object.key("content").start_object(); crate::json_ser::serialize_union_crate_model_layout_content(&mut object_74, var_73)?; object_74.finish(); @@ -374,6 +390,7 @@ pub fn serialize_structure_crate_input_update_template_input( object.key("description").string(var_76.as_str()); } if let Some(var_77) = &input.layout_configuration { + #[allow(unused_mut)] let mut object_78 = object.key("layoutConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_layout_configuration( &mut object_78, @@ -388,6 +405,7 @@ pub fn serialize_structure_crate_input_update_template_input( let mut array_81 = object.key("requiredFields").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_required_field( &mut object_83, @@ -435,6 +453,7 @@ pub fn serialize_structure_crate_model_field_value( object.key("id").string(var_88.as_str()); } if let Some(var_89) = &input.value { + #[allow(unused_mut)] let mut object_90 = object.key("value").start_object(); crate::json_ser::serialize_union_crate_model_field_value_union(&mut object_90, var_89)?; object_90.finish(); @@ -448,6 +467,7 @@ pub fn serialize_union_crate_model_layout_content( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::LayoutContent::Basic(inner) => { + #[allow(unused_mut)] let mut object_91 = object_20.key("basic").start_object(); crate::json_ser::serialize_structure_crate_model_basic_layout(&mut object_91, inner)?; object_91.finish(); @@ -469,11 +489,13 @@ pub fn serialize_union_crate_model_related_item_input_content( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::RelatedItemInputContent::Contact(inner) => { + #[allow(unused_mut)] let mut object_92 = object_23.key("contact").start_object(); crate::json_ser::serialize_structure_crate_model_contact(&mut object_92, inner)?; object_92.finish(); } crate::model::RelatedItemInputContent::Comment(inner) => { + #[allow(unused_mut)] let mut object_93 = object_23.key("comment").start_object(); crate::json_ser::serialize_structure_crate_model_comment_content( &mut object_93, @@ -520,6 +542,7 @@ pub fn serialize_structure_crate_model_event_bridge_configuration( object.key("enabled").boolean(*var_96); } if let Some(var_97) = &input.included_data { + #[allow(unused_mut)] let mut object_98 = object.key("includedData").start_object(); crate::json_ser::serialize_structure_crate_model_event_included_data( &mut object_98, @@ -536,11 +559,13 @@ pub fn serialize_union_crate_model_case_filter( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::CaseFilter::Field(inner) => { + #[allow(unused_mut)] let mut object_99 = object_48.key("field").start_object(); crate::json_ser::serialize_union_crate_model_field_filter(&mut object_99, inner)?; object_99.finish(); } crate::model::CaseFilter::Not(inner) => { + #[allow(unused_mut)] let mut object_100 = object_48.key("not").start_object(); crate::json_ser::serialize_union_crate_model_case_filter(&mut object_100, inner)?; object_100.finish(); @@ -549,6 +574,7 @@ pub fn serialize_union_crate_model_case_filter( let mut array_101 = object_48.key("andAll").start_array(); for item_102 in inner { { + #[allow(unused_mut)] let mut object_103 = array_101.value().start_object(); crate::json_ser::serialize_union_crate_model_case_filter( &mut object_103, @@ -589,6 +615,7 @@ pub fn serialize_union_crate_model_related_item_type_filter( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::RelatedItemTypeFilter::Contact(inner) => { + #[allow(unused_mut)] let mut object_106 = object_59.key("contact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_filter( &mut object_106, @@ -597,6 +624,7 @@ pub fn serialize_union_crate_model_related_item_type_filter( object_106.finish(); } crate::model::RelatedItemTypeFilter::Comment(inner) => { + #[allow(unused_mut)] let mut object_107 = object_59.key("comment").start_object(); crate::json_ser::serialize_structure_crate_model_comment_filter( &mut object_107, @@ -648,11 +676,13 @@ pub fn serialize_structure_crate_model_basic_layout( input: &crate::model::BasicLayout, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_108) = &input.top_panel { + #[allow(unused_mut)] let mut object_109 = object.key("topPanel").start_object(); crate::json_ser::serialize_structure_crate_model_layout_sections(&mut object_109, var_108)?; object_109.finish(); } if let Some(var_110) = &input.more_info { + #[allow(unused_mut)] let mut object_111 = object.key("moreInfo").start_object(); crate::json_ser::serialize_structure_crate_model_layout_sections(&mut object_111, var_110)?; object_111.finish(); @@ -688,6 +718,7 @@ pub fn serialize_structure_crate_model_event_included_data( input: &crate::model::EventIncludedData, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_115) = &input.case_data { + #[allow(unused_mut)] let mut object_116 = object.key("caseData").start_object(); crate::json_ser::serialize_structure_crate_model_case_event_included_data( &mut object_116, @@ -696,6 +727,7 @@ pub fn serialize_structure_crate_model_event_included_data( object_116.finish(); } if let Some(var_117) = &input.related_item_data { + #[allow(unused_mut)] let mut object_118 = object.key("relatedItemData").start_object(); crate::json_ser::serialize_structure_crate_model_related_item_event_included_data( &mut object_118, @@ -712,31 +744,37 @@ pub fn serialize_union_crate_model_field_filter( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::FieldFilter::EqualTo(inner) => { + #[allow(unused_mut)] let mut object_119 = object_99.key("equalTo").start_object(); crate::json_ser::serialize_structure_crate_model_field_value(&mut object_119, inner)?; object_119.finish(); } crate::model::FieldFilter::Contains(inner) => { + #[allow(unused_mut)] let mut object_120 = object_99.key("contains").start_object(); crate::json_ser::serialize_structure_crate_model_field_value(&mut object_120, inner)?; object_120.finish(); } crate::model::FieldFilter::GreaterThan(inner) => { + #[allow(unused_mut)] let mut object_121 = object_99.key("greaterThan").start_object(); crate::json_ser::serialize_structure_crate_model_field_value(&mut object_121, inner)?; object_121.finish(); } crate::model::FieldFilter::GreaterThanOrEqualTo(inner) => { + #[allow(unused_mut)] let mut object_122 = object_99.key("greaterThanOrEqualTo").start_object(); crate::json_ser::serialize_structure_crate_model_field_value(&mut object_122, inner)?; object_122.finish(); } crate::model::FieldFilter::LessThan(inner) => { + #[allow(unused_mut)] let mut object_123 = object_99.key("lessThan").start_object(); crate::json_ser::serialize_structure_crate_model_field_value(&mut object_123, inner)?; object_123.finish(); } crate::model::FieldFilter::LessThanOrEqualTo(inner) => { + #[allow(unused_mut)] let mut object_124 = object_99.key("lessThanOrEqualTo").start_object(); crate::json_ser::serialize_structure_crate_model_field_value(&mut object_124, inner)?; object_124.finish(); @@ -787,6 +825,7 @@ pub fn serialize_structure_crate_model_layout_sections( let mut array_130 = object.key("sections").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_union_crate_model_section(&mut object_132, item_131)?; object_132.finish(); @@ -805,6 +844,7 @@ pub fn serialize_structure_crate_model_case_event_included_data( let mut array_134 = object.key("fields").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_identifier( &mut object_136, @@ -834,6 +874,7 @@ pub fn serialize_union_crate_model_section( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Section::FieldGroup(inner) => { + #[allow(unused_mut)] let mut object_138 = object_132.key("fieldGroup").start_object(); crate::json_ser::serialize_structure_crate_model_field_group(&mut object_138, inner)?; object_138.finish(); @@ -858,6 +899,7 @@ pub fn serialize_structure_crate_model_field_group( let mut array_141 = object.key("fields").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_item( &mut object_143, diff --git a/sdk/connectparticipant/src/json_ser.rs b/sdk/connectparticipant/src/json_ser.rs index 6389ec387cc0..bd4533169958 100644 --- a/sdk/connectparticipant/src/json_ser.rs +++ b/sdk/connectparticipant/src/json_ser.rs @@ -80,6 +80,7 @@ pub fn serialize_structure_crate_input_get_transcript_input( object.key("SortOrder").string(var_15.as_str()); } if let Some(var_16) = &input.start_position { + #[allow(unused_mut)] let mut object_17 = object.key("StartPosition").start_object(); crate::json_ser::serialize_structure_crate_model_start_position(&mut object_17, var_16)?; object_17.finish(); diff --git a/sdk/costandusagereport/src/json_ser.rs b/sdk/costandusagereport/src/json_ser.rs index 6d25248fdde5..179e361d8038 100644 --- a/sdk/costandusagereport/src/json_ser.rs +++ b/sdk/costandusagereport/src/json_ser.rs @@ -33,6 +33,7 @@ pub fn serialize_structure_crate_input_modify_report_definition_input( object.key("ReportName").string(var_4.as_str()); } if let Some(var_5) = &input.report_definition { + #[allow(unused_mut)] let mut object_6 = object.key("ReportDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_report_definition(&mut object_6, var_5)?; object_6.finish(); @@ -45,6 +46,7 @@ pub fn serialize_structure_crate_input_put_report_definition_input( input: &crate::input::PutReportDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_7) = &input.report_definition { + #[allow(unused_mut)] let mut object_8 = object.key("ReportDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_report_definition(&mut object_8, var_7)?; object_8.finish(); diff --git a/sdk/costexplorer/src/json_ser.rs b/sdk/costexplorer/src/json_ser.rs index 09e8349fd879..5cdd4c0f0239 100644 --- a/sdk/costexplorer/src/json_ser.rs +++ b/sdk/costexplorer/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_anomaly_monitor_input( input: &crate::input::CreateAnomalyMonitorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.anomaly_monitor { + #[allow(unused_mut)] let mut object_2 = object.key("AnomalyMonitor").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_monitor(&mut object_2, var_1)?; object_2.finish(); @@ -12,6 +13,7 @@ pub fn serialize_structure_crate_input_create_anomaly_monitor_input( let mut array_4 = object.key("ResourceTags").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_6, @@ -30,6 +32,7 @@ pub fn serialize_structure_crate_input_create_anomaly_subscription_input( input: &crate::input::CreateAnomalySubscriptionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_7) = &input.anomaly_subscription { + #[allow(unused_mut)] let mut object_8 = object.key("AnomalySubscription").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_subscription( &mut object_8, @@ -41,6 +44,7 @@ pub fn serialize_structure_crate_input_create_anomaly_subscription_input( let mut array_10 = object.key("ResourceTags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_12, @@ -71,6 +75,7 @@ pub fn serialize_structure_crate_input_create_cost_category_definition_input( let mut array_17 = object.key("Rules").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_rule( &mut object_19, @@ -88,6 +93,7 @@ pub fn serialize_structure_crate_input_create_cost_category_definition_input( let mut array_22 = object.key("SplitChargeRules").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_split_charge_rule( &mut object_24, @@ -102,6 +108,7 @@ pub fn serialize_structure_crate_input_create_cost_category_definition_input( let mut array_26 = object.key("ResourceTags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_28, @@ -166,6 +173,7 @@ pub fn serialize_structure_crate_input_get_anomalies_input( object.key("MonitorArn").string(var_34.as_str()); } if let Some(var_35) = &input.date_interval { + #[allow(unused_mut)] let mut object_36 = object.key("DateInterval").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_date_interval( &mut object_36, @@ -177,6 +185,7 @@ pub fn serialize_structure_crate_input_get_anomalies_input( object.key("Feedback").string(var_37.as_str()); } if let Some(var_38) = &input.total_impact { + #[allow(unused_mut)] let mut object_39 = object.key("TotalImpact").start_object(); crate::json_ser::serialize_structure_crate_model_total_impact_filter( &mut object_39, @@ -254,6 +263,7 @@ pub fn serialize_structure_crate_input_get_cost_and_usage_input( input: &crate::input::GetCostAndUsageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_53) = &input.time_period { + #[allow(unused_mut)] let mut object_54 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_54, var_53)?; object_54.finish(); @@ -262,6 +272,7 @@ pub fn serialize_structure_crate_input_get_cost_and_usage_input( object.key("Granularity").string(var_55.as_str()); } if let Some(var_56) = &input.filter { + #[allow(unused_mut)] let mut object_57 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_57, var_56)?; object_57.finish(); @@ -279,6 +290,7 @@ pub fn serialize_structure_crate_input_get_cost_and_usage_input( let mut array_62 = object.key("GroupBy").start_array(); for item_63 in var_61 { { + #[allow(unused_mut)] let mut object_64 = array_62.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_definition( &mut object_64, @@ -300,6 +312,7 @@ pub fn serialize_structure_crate_input_get_cost_and_usage_with_resources_input( input: &crate::input::GetCostAndUsageWithResourcesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.time_period { + #[allow(unused_mut)] let mut object_67 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_67, var_66)?; object_67.finish(); @@ -308,6 +321,7 @@ pub fn serialize_structure_crate_input_get_cost_and_usage_with_resources_input( object.key("Granularity").string(var_68.as_str()); } if let Some(var_69) = &input.filter { + #[allow(unused_mut)] let mut object_70 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_70, var_69)?; object_70.finish(); @@ -325,6 +339,7 @@ pub fn serialize_structure_crate_input_get_cost_and_usage_with_resources_input( let mut array_75 = object.key("GroupBy").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_definition( &mut object_77, @@ -349,6 +364,7 @@ pub fn serialize_structure_crate_input_get_cost_categories_input( object.key("SearchString").string(var_79.as_str()); } if let Some(var_80) = &input.time_period { + #[allow(unused_mut)] let mut object_81 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_81, var_80)?; object_81.finish(); @@ -357,6 +373,7 @@ pub fn serialize_structure_crate_input_get_cost_categories_input( object.key("CostCategoryName").string(var_82.as_str()); } if let Some(var_83) = &input.filter { + #[allow(unused_mut)] let mut object_84 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_84, var_83)?; object_84.finish(); @@ -365,6 +382,7 @@ pub fn serialize_structure_crate_input_get_cost_categories_input( let mut array_86 = object.key("SortBy").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition( &mut object_88, @@ -392,6 +410,7 @@ pub fn serialize_structure_crate_input_get_cost_forecast_input( input: &crate::input::GetCostForecastInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.time_period { + #[allow(unused_mut)] let mut object_91 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_91, var_90)?; object_91.finish(); @@ -403,6 +422,7 @@ pub fn serialize_structure_crate_input_get_cost_forecast_input( object.key("Granularity").string(var_93.as_str()); } if let Some(var_94) = &input.filter { + #[allow(unused_mut)] let mut object_95 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_95, var_94)?; object_95.finish(); @@ -424,6 +444,7 @@ pub fn serialize_structure_crate_input_get_dimension_values_input( object.key("SearchString").string(var_97.as_str()); } if let Some(var_98) = &input.time_period { + #[allow(unused_mut)] let mut object_99 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_99, var_98)?; object_99.finish(); @@ -435,6 +456,7 @@ pub fn serialize_structure_crate_input_get_dimension_values_input( object.key("Context").string(var_101.as_str()); } if let Some(var_102) = &input.filter { + #[allow(unused_mut)] let mut object_103 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_103, var_102)?; object_103.finish(); @@ -443,6 +465,7 @@ pub fn serialize_structure_crate_input_get_dimension_values_input( let mut array_105 = object.key("SortBy").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition( &mut object_107, @@ -470,6 +493,7 @@ pub fn serialize_structure_crate_input_get_reservation_coverage_input( input: &crate::input::GetReservationCoverageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_109) = &input.time_period { + #[allow(unused_mut)] let mut object_110 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_110, var_109)?; object_110.finish(); @@ -478,6 +502,7 @@ pub fn serialize_structure_crate_input_get_reservation_coverage_input( let mut array_112 = object.key("GroupBy").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_definition( &mut object_114, @@ -492,6 +517,7 @@ pub fn serialize_structure_crate_input_get_reservation_coverage_input( object.key("Granularity").string(var_115.as_str()); } if let Some(var_116) = &input.filter { + #[allow(unused_mut)] let mut object_117 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_117, var_116)?; object_117.finish(); @@ -509,6 +535,7 @@ pub fn serialize_structure_crate_input_get_reservation_coverage_input( object.key("NextPageToken").string(var_121.as_str()); } if let Some(var_122) = &input.sort_by { + #[allow(unused_mut)] let mut object_123 = object.key("SortBy").start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition(&mut object_123, var_122)?; object_123.finish(); @@ -533,6 +560,7 @@ pub fn serialize_structure_crate_input_get_reservation_purchase_recommendation_i object.key("Service").string(var_126.as_str()); } if let Some(var_127) = &input.filter { + #[allow(unused_mut)] let mut object_128 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_128, var_127)?; object_128.finish(); @@ -550,6 +578,7 @@ pub fn serialize_structure_crate_input_get_reservation_purchase_recommendation_i object.key("PaymentOption").string(var_132.as_str()); } if let Some(var_133) = &input.service_specification { + #[allow(unused_mut)] let mut object_134 = object.key("ServiceSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_service_specification( &mut object_134, @@ -574,6 +603,7 @@ pub fn serialize_structure_crate_input_get_reservation_utilization_input( input: &crate::input::GetReservationUtilizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_136) = &input.time_period { + #[allow(unused_mut)] let mut object_137 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_137, var_136)?; object_137.finish(); @@ -582,6 +612,7 @@ pub fn serialize_structure_crate_input_get_reservation_utilization_input( let mut array_139 = object.key("GroupBy").start_array(); for item_140 in var_138 { { + #[allow(unused_mut)] let mut object_141 = array_139.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_definition( &mut object_141, @@ -596,11 +627,13 @@ pub fn serialize_structure_crate_input_get_reservation_utilization_input( object.key("Granularity").string(var_142.as_str()); } if let Some(var_143) = &input.filter { + #[allow(unused_mut)] let mut object_144 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_144, var_143)?; object_144.finish(); } if let Some(var_145) = &input.sort_by { + #[allow(unused_mut)] let mut object_146 = object.key("SortBy").start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition(&mut object_146, var_145)?; object_146.finish(); @@ -622,11 +655,13 @@ pub fn serialize_structure_crate_input_get_rightsizing_recommendation_input( input: &crate::input::GetRightsizingRecommendationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_149) = &input.filter { + #[allow(unused_mut)] let mut object_150 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_150, var_149)?; object_150.finish(); } if let Some(var_151) = &input.configuration { + #[allow(unused_mut)] let mut object_152 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_rightsizing_recommendation_configuration( &mut object_152, @@ -654,6 +689,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_coverage_input( input: &crate::input::GetSavingsPlansCoverageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_155) = &input.time_period { + #[allow(unused_mut)] let mut object_156 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_156, var_155)?; object_156.finish(); @@ -662,6 +698,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_coverage_input( let mut array_158 = object.key("GroupBy").start_array(); for item_159 in var_157 { { + #[allow(unused_mut)] let mut object_160 = array_158.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_definition( &mut object_160, @@ -676,6 +713,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_coverage_input( object.key("Granularity").string(var_161.as_str()); } if let Some(var_162) = &input.filter { + #[allow(unused_mut)] let mut object_163 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_163, var_162)?; object_163.finish(); @@ -699,6 +737,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_coverage_input( ); } if let Some(var_169) = &input.sort_by { + #[allow(unused_mut)] let mut object_170 = object.key("SortBy").start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition(&mut object_170, var_169)?; object_170.finish(); @@ -735,6 +774,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_purchase_recommendation object.key("LookbackPeriodInDays").string(var_176.as_str()); } if let Some(var_177) = &input.filter { + #[allow(unused_mut)] let mut object_178 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_178, var_177)?; object_178.finish(); @@ -747,6 +787,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_utilization_input( input: &crate::input::GetSavingsPlansUtilizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_179) = &input.time_period { + #[allow(unused_mut)] let mut object_180 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_180, var_179)?; object_180.finish(); @@ -755,11 +796,13 @@ pub fn serialize_structure_crate_input_get_savings_plans_utilization_input( object.key("Granularity").string(var_181.as_str()); } if let Some(var_182) = &input.filter { + #[allow(unused_mut)] let mut object_183 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_183, var_182)?; object_183.finish(); } if let Some(var_184) = &input.sort_by { + #[allow(unused_mut)] let mut object_185 = object.key("SortBy").start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition(&mut object_185, var_184)?; object_185.finish(); @@ -772,11 +815,13 @@ pub fn serialize_structure_crate_input_get_savings_plans_utilization_details_inp input: &crate::input::GetSavingsPlansUtilizationDetailsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_186) = &input.time_period { + #[allow(unused_mut)] let mut object_187 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_187, var_186)?; object_187.finish(); } if let Some(var_188) = &input.filter { + #[allow(unused_mut)] let mut object_189 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_189, var_188)?; object_189.finish(); @@ -800,6 +845,7 @@ pub fn serialize_structure_crate_input_get_savings_plans_utilization_details_inp ); } if let Some(var_195) = &input.sort_by { + #[allow(unused_mut)] let mut object_196 = object.key("SortBy").start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition(&mut object_196, var_195)?; object_196.finish(); @@ -815,6 +861,7 @@ pub fn serialize_structure_crate_input_get_tags_input( object.key("SearchString").string(var_197.as_str()); } if let Some(var_198) = &input.time_period { + #[allow(unused_mut)] let mut object_199 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_199, var_198)?; object_199.finish(); @@ -823,6 +870,7 @@ pub fn serialize_structure_crate_input_get_tags_input( object.key("TagKey").string(var_200.as_str()); } if let Some(var_201) = &input.filter { + #[allow(unused_mut)] let mut object_202 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_202, var_201)?; object_202.finish(); @@ -831,6 +879,7 @@ pub fn serialize_structure_crate_input_get_tags_input( let mut array_204 = object.key("SortBy").start_array(); for item_205 in var_203 { { + #[allow(unused_mut)] let mut object_206 = array_204.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort_definition( &mut object_206, @@ -858,6 +907,7 @@ pub fn serialize_structure_crate_input_get_usage_forecast_input( input: &crate::input::GetUsageForecastInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_208) = &input.time_period { + #[allow(unused_mut)] let mut object_209 = object.key("TimePeriod").start_object(); crate::json_ser::serialize_structure_crate_model_date_interval(&mut object_209, var_208)?; object_209.finish(); @@ -869,6 +919,7 @@ pub fn serialize_structure_crate_input_get_usage_forecast_input( object.key("Granularity").string(var_211.as_str()); } if let Some(var_212) = &input.filter { + #[allow(unused_mut)] let mut object_213 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_213, var_212)?; object_213.finish(); @@ -966,6 +1017,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_230 = object.key("ResourceTags").start_array(); for item_231 in var_229 { { + #[allow(unused_mut)] let mut object_232 = array_230.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_232, @@ -1040,6 +1092,7 @@ pub fn serialize_structure_crate_input_update_anomaly_subscription_input( let mut array_246 = object.key("Subscribers").start_array(); for item_247 in var_245 { { + #[allow(unused_mut)] let mut object_248 = array_246.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscriber( &mut object_248, @@ -1064,6 +1117,7 @@ pub fn serialize_structure_crate_input_update_cost_allocation_tags_status_input( let mut array_251 = object.key("CostAllocationTagsStatus").start_array(); for item_252 in var_250 { { + #[allow(unused_mut)] let mut object_253 = array_251.value().start_object(); crate::json_ser::serialize_structure_crate_model_cost_allocation_tag_status_entry( &mut object_253, @@ -1094,6 +1148,7 @@ pub fn serialize_structure_crate_input_update_cost_category_definition_input( let mut array_258 = object.key("Rules").start_array(); for item_259 in var_257 { { + #[allow(unused_mut)] let mut object_260 = array_258.value().start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_rule( &mut object_260, @@ -1111,6 +1166,7 @@ pub fn serialize_structure_crate_input_update_cost_category_definition_input( let mut array_263 = object.key("SplitChargeRules").start_array(); for item_264 in var_262 { { + #[allow(unused_mut)] let mut object_265 = array_263.value().start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_split_charge_rule( &mut object_265, @@ -1150,6 +1206,7 @@ pub fn serialize_structure_crate_model_anomaly_monitor( object.key("MonitorDimension").string(var_272.as_str()); } if let Some(var_273) = &input.monitor_specification { + #[allow(unused_mut)] let mut object_274 = object.key("MonitorSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_274, var_273)?; object_274.finish(); @@ -1199,6 +1256,7 @@ pub fn serialize_structure_crate_model_anomaly_subscription( let mut array_283 = object.key("Subscribers").start_array(); for item_284 in var_282 { { + #[allow(unused_mut)] let mut object_285 = array_283.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscriber( &mut object_285, @@ -1232,11 +1290,13 @@ pub fn serialize_structure_crate_model_cost_category_rule( object.key("Value").string(var_289.as_str()); } if let Some(var_290) = &input.rule { + #[allow(unused_mut)] let mut object_291 = object.key("Rule").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_291, var_290)?; object_291.finish(); } if let Some(var_292) = &input.inherited_value { + #[allow(unused_mut)] let mut object_293 = object.key("InheritedValue").start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_inherited_value_dimension( &mut object_293, @@ -1273,6 +1333,7 @@ pub fn serialize_structure_crate_model_cost_category_split_charge_rule( let mut array_301 = object.key("Parameters").start_array(); for item_302 in var_300 { { + #[allow(unused_mut)] let mut object_303 = array_301.value().start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_split_charge_rule_parameter(&mut object_303, item_302)?; object_303.finish(); @@ -1339,6 +1400,7 @@ pub fn serialize_structure_crate_model_expression( let mut array_310 = object.key("Or").start_array(); for item_311 in var_309 { { + #[allow(unused_mut)] let mut object_312 = array_310.value().start_object(); crate::json_ser::serialize_structure_crate_model_expression( &mut object_312, @@ -1353,6 +1415,7 @@ pub fn serialize_structure_crate_model_expression( let mut array_314 = object.key("And").start_array(); for item_315 in var_313 { { + #[allow(unused_mut)] let mut object_316 = array_314.value().start_object(); crate::json_ser::serialize_structure_crate_model_expression( &mut object_316, @@ -1364,11 +1427,13 @@ pub fn serialize_structure_crate_model_expression( array_314.finish(); } if let Some(var_317) = &input.not { + #[allow(unused_mut)] let mut object_318 = object.key("Not").start_object(); crate::json_ser::serialize_structure_crate_model_expression(&mut object_318, var_317)?; object_318.finish(); } if let Some(var_319) = &input.dimensions { + #[allow(unused_mut)] let mut object_320 = object.key("Dimensions").start_object(); crate::json_ser::serialize_structure_crate_model_dimension_values( &mut object_320, @@ -1377,11 +1442,13 @@ pub fn serialize_structure_crate_model_expression( object_320.finish(); } if let Some(var_321) = &input.tags { + #[allow(unused_mut)] let mut object_322 = object.key("Tags").start_object(); crate::json_ser::serialize_structure_crate_model_tag_values(&mut object_322, var_321)?; object_322.finish(); } if let Some(var_323) = &input.cost_categories { + #[allow(unused_mut)] let mut object_324 = object.key("CostCategories").start_object(); crate::json_ser::serialize_structure_crate_model_cost_category_values( &mut object_324, @@ -1423,6 +1490,7 @@ pub fn serialize_structure_crate_model_service_specification( input: &crate::model::ServiceSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_329) = &input.ec2_specification { + #[allow(unused_mut)] let mut object_330 = object.key("EC2Specification").start_object(); crate::json_ser::serialize_structure_crate_model_ec2_specification( &mut object_330, diff --git a/sdk/customerprofiles/src/json_ser.rs b/sdk/customerprofiles/src/json_ser.rs index 6c0f10a2f711..c91fef475645 100644 --- a/sdk/customerprofiles/src/json_ser.rs +++ b/sdk/customerprofiles/src/json_ser.rs @@ -38,11 +38,13 @@ pub fn serialize_structure_crate_input_create_domain_input( ); } if let Some(var_9) = &input.matching { + #[allow(unused_mut)] let mut object_10 = object.key("Matching").start_object(); crate::json_ser::serialize_structure_crate_model_matching_request(&mut object_10, var_9)?; object_10.finish(); } if let Some(var_11) = &input.tags { + #[allow(unused_mut)] let mut object_12 = object.key("Tags").start_object(); for (key_13, value_14) in var_11 { { @@ -59,6 +61,7 @@ pub fn serialize_structure_crate_input_create_integration_workflow_input( input: &crate::input::CreateIntegrationWorkflowInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.integration_config { + #[allow(unused_mut)] let mut object_16 = object.key("IntegrationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_integration_config( &mut object_16, @@ -73,6 +76,7 @@ pub fn serialize_structure_crate_input_create_integration_workflow_input( object.key("RoleArn").string(var_18.as_str()); } if let Some(var_19) = &input.tags { + #[allow(unused_mut)] let mut object_20 = object.key("Tags").start_object(); for (key_21, value_22) in var_19 { { @@ -98,11 +102,13 @@ pub fn serialize_structure_crate_input_create_profile_input( object.key("AdditionalInformation").string(var_25.as_str()); } if let Some(var_26) = &input.address { + #[allow(unused_mut)] let mut object_27 = object.key("Address").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_27, var_26)?; object_27.finish(); } if let Some(var_28) = &input.attributes { + #[allow(unused_mut)] let mut object_29 = object.key("Attributes").start_object(); for (key_30, value_31) in var_28 { { @@ -112,6 +118,7 @@ pub fn serialize_structure_crate_input_create_profile_input( object_29.finish(); } if let Some(var_32) = &input.billing_address { + #[allow(unused_mut)] let mut object_33 = object.key("BillingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_33, var_32)?; object_33.finish(); @@ -144,6 +151,7 @@ pub fn serialize_structure_crate_input_create_profile_input( object.key("LastName").string(var_42.as_str()); } if let Some(var_43) = &input.mailing_address { + #[allow(unused_mut)] let mut object_44 = object.key("MailingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_44, var_43)?; object_44.finish(); @@ -164,6 +172,7 @@ pub fn serialize_structure_crate_input_create_profile_input( object.key("PhoneNumber").string(var_49.as_str()); } if let Some(var_50) = &input.shipping_address { + #[allow(unused_mut)] let mut object_51 = object.key("ShippingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_51, var_50)?; object_51.finish(); @@ -234,6 +243,7 @@ pub fn serialize_structure_crate_input_get_auto_merging_preview_input( input: &crate::input::GetAutoMergingPreviewInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_62) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_63 = object.key("ConflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_63, @@ -242,6 +252,7 @@ pub fn serialize_structure_crate_input_get_auto_merging_preview_input( object_63.finish(); } if let Some(var_64) = &input.consolidation { + #[allow(unused_mut)] let mut object_65 = object.key("Consolidation").start_object(); crate::json_ser::serialize_structure_crate_model_consolidation(&mut object_65, var_64)?; object_65.finish(); @@ -280,6 +291,7 @@ pub fn serialize_structure_crate_input_list_profile_objects_input( input: &crate::input::ListProfileObjectsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_69) = &input.object_filter { + #[allow(unused_mut)] let mut object_70 = object.key("ObjectFilter").start_object(); crate::json_ser::serialize_structure_crate_model_object_filter(&mut object_70, var_69)?; object_70.finish(); @@ -321,6 +333,7 @@ pub fn serialize_structure_crate_input_merge_profiles_input( input: &crate::input::MergeProfilesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.field_source_profile_ids { + #[allow(unused_mut)] let mut object_78 = object.key("FieldSourceProfileIds").start_object(); crate::json_ser::serialize_structure_crate_model_field_source_profile_ids( &mut object_78, @@ -348,6 +361,7 @@ pub fn serialize_structure_crate_input_put_integration_input( input: &crate::input::PutIntegrationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_83) = &input.flow_definition { + #[allow(unused_mut)] let mut object_84 = object.key("FlowDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_flow_definition(&mut object_84, var_83)?; object_84.finish(); @@ -356,6 +370,7 @@ pub fn serialize_structure_crate_input_put_integration_input( object.key("ObjectTypeName").string(var_85.as_str()); } if let Some(var_86) = &input.object_type_names { + #[allow(unused_mut)] let mut object_87 = object.key("ObjectTypeNames").start_object(); for (key_88, value_89) in var_86 { { @@ -365,6 +380,7 @@ pub fn serialize_structure_crate_input_put_integration_input( object_87.finish(); } if let Some(var_90) = &input.tags { + #[allow(unused_mut)] let mut object_91 = object.key("Tags").start_object(); for (key_92, value_93) in var_90 { { @@ -414,9 +430,11 @@ pub fn serialize_structure_crate_input_put_profile_object_type_input( ); } if let Some(var_100) = &input.fields { + #[allow(unused_mut)] let mut object_101 = object.key("Fields").start_object(); for (key_102, value_103) in var_100 { { + #[allow(unused_mut)] let mut object_104 = object_101.key(key_102.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_object_type_field( &mut object_104, @@ -428,12 +446,14 @@ pub fn serialize_structure_crate_input_put_profile_object_type_input( object_101.finish(); } if let Some(var_105) = &input.keys { + #[allow(unused_mut)] let mut object_106 = object.key("Keys").start_object(); for (key_107, value_108) in var_105 { { let mut array_109 = object_106.key(key_107.as_str()).start_array(); for item_110 in value_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_object_type_key( &mut object_111, @@ -453,6 +473,7 @@ pub fn serialize_structure_crate_input_put_profile_object_type_input( .string(var_112.as_str()); } if let Some(var_113) = &input.tags { + #[allow(unused_mut)] let mut object_114 = object.key("Tags").start_object(); for (key_115, value_116) in var_113 { { @@ -491,6 +512,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_122) = &input.tags { + #[allow(unused_mut)] let mut object_123 = object.key("tags").start_object(); for (key_124, value_125) in var_122 { { @@ -519,6 +541,7 @@ pub fn serialize_structure_crate_input_update_domain_input( ); } if let Some(var_129) = &input.matching { + #[allow(unused_mut)] let mut object_130 = object.key("Matching").start_object(); crate::json_ser::serialize_structure_crate_model_matching_request( &mut object_130, @@ -527,6 +550,7 @@ pub fn serialize_structure_crate_input_update_domain_input( object_130.finish(); } if let Some(var_131) = &input.tags { + #[allow(unused_mut)] let mut object_132 = object.key("Tags").start_object(); for (key_133, value_134) in var_131 { { @@ -549,11 +573,13 @@ pub fn serialize_structure_crate_input_update_profile_input( object.key("AdditionalInformation").string(var_136.as_str()); } if let Some(var_137) = &input.address { + #[allow(unused_mut)] let mut object_138 = object.key("Address").start_object(); crate::json_ser::serialize_structure_crate_model_update_address(&mut object_138, var_137)?; object_138.finish(); } if let Some(var_139) = &input.attributes { + #[allow(unused_mut)] let mut object_140 = object.key("Attributes").start_object(); for (key_141, value_142) in var_139 { { @@ -563,6 +589,7 @@ pub fn serialize_structure_crate_input_update_profile_input( object_140.finish(); } if let Some(var_143) = &input.billing_address { + #[allow(unused_mut)] let mut object_144 = object.key("BillingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_update_address(&mut object_144, var_143)?; object_144.finish(); @@ -595,6 +622,7 @@ pub fn serialize_structure_crate_input_update_profile_input( object.key("LastName").string(var_153.as_str()); } if let Some(var_154) = &input.mailing_address { + #[allow(unused_mut)] let mut object_155 = object.key("MailingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_update_address(&mut object_155, var_154)?; object_155.finish(); @@ -618,6 +646,7 @@ pub fn serialize_structure_crate_input_update_profile_input( object.key("ProfileId").string(var_161.as_str()); } if let Some(var_162) = &input.shipping_address { + #[allow(unused_mut)] let mut object_163 = object.key("ShippingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_update_address(&mut object_163, var_162)?; object_163.finish(); @@ -633,16 +662,19 @@ pub fn serialize_structure_crate_model_matching_request( object.key("Enabled").boolean(*var_164); } if let Some(var_165) = &input.job_schedule { + #[allow(unused_mut)] let mut object_166 = object.key("JobSchedule").start_object(); crate::json_ser::serialize_structure_crate_model_job_schedule(&mut object_166, var_165)?; object_166.finish(); } if let Some(var_167) = &input.auto_merging { + #[allow(unused_mut)] let mut object_168 = object.key("AutoMerging").start_object(); crate::json_ser::serialize_structure_crate_model_auto_merging(&mut object_168, var_167)?; object_168.finish(); } if let Some(var_169) = &input.exporting_config { + #[allow(unused_mut)] let mut object_170 = object.key("ExportingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_exporting_config( &mut object_170, @@ -658,6 +690,7 @@ pub fn serialize_structure_crate_model_integration_config( input: &crate::model::IntegrationConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_171) = &input.appflow_integration { + #[allow(unused_mut)] let mut object_172 = object.key("AppflowIntegration").start_object(); crate::json_ser::serialize_structure_crate_model_appflow_integration( &mut object_172, @@ -826,6 +859,7 @@ pub fn serialize_structure_crate_model_field_source_profile_ids( object.key("BillingAddress").string(var_213.as_str()); } if let Some(var_214) = &input.attributes { + #[allow(unused_mut)] let mut object_215 = object.key("Attributes").start_object(); for (key_216, value_217) in var_214 { { @@ -851,6 +885,7 @@ pub fn serialize_structure_crate_model_flow_definition( object.key("KmsArn").string(var_220.as_str()); } if let Some(var_221) = &input.source_flow_config { + #[allow(unused_mut)] let mut object_222 = object.key("SourceFlowConfig").start_object(); crate::json_ser::serialize_structure_crate_model_source_flow_config( &mut object_222, @@ -862,6 +897,7 @@ pub fn serialize_structure_crate_model_flow_definition( let mut array_224 = object.key("Tasks").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_task(&mut object_226, item_225)?; object_226.finish(); @@ -870,6 +906,7 @@ pub fn serialize_structure_crate_model_flow_definition( array_224.finish(); } if let Some(var_227) = &input.trigger_config { + #[allow(unused_mut)] let mut object_228 = object.key("TriggerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_config(&mut object_228, var_227)?; object_228.finish(); @@ -976,11 +1013,13 @@ pub fn serialize_structure_crate_model_auto_merging( object.key("Enabled").boolean(*var_250); } if let Some(var_251) = &input.consolidation { + #[allow(unused_mut)] let mut object_252 = object.key("Consolidation").start_object(); crate::json_ser::serialize_structure_crate_model_consolidation(&mut object_252, var_251)?; object_252.finish(); } if let Some(var_253) = &input.conflict_resolution { + #[allow(unused_mut)] let mut object_254 = object.key("ConflictResolution").start_object(); crate::json_ser::serialize_structure_crate_model_conflict_resolution( &mut object_254, @@ -1002,6 +1041,7 @@ pub fn serialize_structure_crate_model_exporting_config( input: &crate::model::ExportingConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_256) = &input.s3_exporting { + #[allow(unused_mut)] let mut object_257 = object.key("S3Exporting").start_object(); crate::json_ser::serialize_structure_crate_model_s3_exporting_config( &mut object_257, @@ -1017,6 +1057,7 @@ pub fn serialize_structure_crate_model_appflow_integration( input: &crate::model::AppflowIntegration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_258) = &input.flow_definition { + #[allow(unused_mut)] let mut object_259 = object.key("FlowDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_flow_definition(&mut object_259, var_258)?; object_259.finish(); @@ -1025,6 +1066,7 @@ pub fn serialize_structure_crate_model_appflow_integration( let mut array_261 = object.key("Batches").start_array(); for item_262 in var_260 { { + #[allow(unused_mut)] let mut object_263 = array_261.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch(&mut object_263, item_262)?; object_263.finish(); @@ -1046,6 +1088,7 @@ pub fn serialize_structure_crate_model_source_flow_config( object.key("ConnectorType").string(var_265.as_str()); } if let Some(var_266) = &input.incremental_pull_config { + #[allow(unused_mut)] let mut object_267 = object.key("IncrementalPullConfig").start_object(); crate::json_ser::serialize_structure_crate_model_incremental_pull_config( &mut object_267, @@ -1054,6 +1097,7 @@ pub fn serialize_structure_crate_model_source_flow_config( object_267.finish(); } if let Some(var_268) = &input.source_connector_properties { + #[allow(unused_mut)] let mut object_269 = object.key("SourceConnectorProperties").start_object(); crate::json_ser::serialize_structure_crate_model_source_connector_properties( &mut object_269, @@ -1069,6 +1113,7 @@ pub fn serialize_structure_crate_model_task( input: &crate::model::Task, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_270) = &input.connector_operator { + #[allow(unused_mut)] let mut object_271 = object.key("ConnectorOperator").start_object(); crate::json_ser::serialize_structure_crate_model_connector_operator( &mut object_271, @@ -1089,6 +1134,7 @@ pub fn serialize_structure_crate_model_task( array_274.finish(); } if let Some(var_276) = &input.task_properties { + #[allow(unused_mut)] let mut object_277 = object.key("TaskProperties").start_object(); for (key_278, value_279) in var_276 { { @@ -1111,6 +1157,7 @@ pub fn serialize_structure_crate_model_trigger_config( object.key("TriggerType").string(var_281.as_str()); } if let Some(var_282) = &input.trigger_properties { + #[allow(unused_mut)] let mut object_283 = object.key("TriggerProperties").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_properties( &mut object_283, @@ -1166,6 +1213,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( input: &crate::model::SourceConnectorProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_289) = &input.marketo { + #[allow(unused_mut)] let mut object_290 = object.key("Marketo").start_object(); crate::json_ser::serialize_structure_crate_model_marketo_source_properties( &mut object_290, @@ -1174,6 +1222,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_290.finish(); } if let Some(var_291) = &input.s3 { + #[allow(unused_mut)] let mut object_292 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source_properties( &mut object_292, @@ -1182,6 +1231,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_292.finish(); } if let Some(var_293) = &input.salesforce { + #[allow(unused_mut)] let mut object_294 = object.key("Salesforce").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_source_properties( &mut object_294, @@ -1190,6 +1240,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_294.finish(); } if let Some(var_295) = &input.service_now { + #[allow(unused_mut)] let mut object_296 = object.key("ServiceNow").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_source_properties( &mut object_296, @@ -1198,6 +1249,7 @@ pub fn serialize_structure_crate_model_source_connector_properties( object_296.finish(); } if let Some(var_297) = &input.zendesk { + #[allow(unused_mut)] let mut object_298 = object.key("Zendesk").start_object(); crate::json_ser::serialize_structure_crate_model_zendesk_source_properties( &mut object_298, @@ -1235,6 +1287,7 @@ pub fn serialize_structure_crate_model_trigger_properties( input: &crate::model::TriggerProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_304) = &input.scheduled { + #[allow(unused_mut)] let mut object_305 = object.key("Scheduled").start_object(); crate::json_ser::serialize_structure_crate_model_scheduled_trigger_properties( &mut object_305, diff --git a/sdk/databasemigration/src/json_ser.rs b/sdk/databasemigration/src/json_ser.rs index 71e709aeabed..3516edfdff57 100644 --- a/sdk/databasemigration/src/json_ser.rs +++ b/sdk/databasemigration/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_tags_to_resource_input( let mut array_3 = object.key("Tags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -91,6 +92,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -113,6 +115,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( .string(var_27.as_str()); } if let Some(var_28) = &input.dynamo_db_settings { + #[allow(unused_mut)] let mut object_29 = object.key("DynamoDbSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_settings( &mut object_29, @@ -121,11 +124,13 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object_29.finish(); } if let Some(var_30) = &input.s3_settings { + #[allow(unused_mut)] let mut object_31 = object.key("S3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_s3_settings(&mut object_31, var_30)?; object_31.finish(); } if let Some(var_32) = &input.dms_transfer_settings { + #[allow(unused_mut)] let mut object_33 = object.key("DmsTransferSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dms_transfer_settings( &mut object_33, @@ -134,21 +139,25 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object_33.finish(); } if let Some(var_34) = &input.mongo_db_settings { + #[allow(unused_mut)] let mut object_35 = object.key("MongoDbSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mongo_db_settings(&mut object_35, var_34)?; object_35.finish(); } if let Some(var_36) = &input.kinesis_settings { + #[allow(unused_mut)] let mut object_37 = object.key("KinesisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_settings(&mut object_37, var_36)?; object_37.finish(); } if let Some(var_38) = &input.kafka_settings { + #[allow(unused_mut)] let mut object_39 = object.key("KafkaSettings").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_settings(&mut object_39, var_38)?; object_39.finish(); } if let Some(var_40) = &input.elasticsearch_settings { + #[allow(unused_mut)] let mut object_41 = object.key("ElasticsearchSettings").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_settings( &mut object_41, @@ -157,16 +166,19 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object_41.finish(); } if let Some(var_42) = &input.neptune_settings { + #[allow(unused_mut)] let mut object_43 = object.key("NeptuneSettings").start_object(); crate::json_ser::serialize_structure_crate_model_neptune_settings(&mut object_43, var_42)?; object_43.finish(); } if let Some(var_44) = &input.redshift_settings { + #[allow(unused_mut)] let mut object_45 = object.key("RedshiftSettings").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_settings(&mut object_45, var_44)?; object_45.finish(); } if let Some(var_46) = &input.postgre_sql_settings { + #[allow(unused_mut)] let mut object_47 = object.key("PostgreSQLSettings").start_object(); crate::json_ser::serialize_structure_crate_model_postgre_sql_settings( &mut object_47, @@ -175,21 +187,25 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object_47.finish(); } if let Some(var_48) = &input.my_sql_settings { + #[allow(unused_mut)] let mut object_49 = object.key("MySQLSettings").start_object(); crate::json_ser::serialize_structure_crate_model_my_sql_settings(&mut object_49, var_48)?; object_49.finish(); } if let Some(var_50) = &input.oracle_settings { + #[allow(unused_mut)] let mut object_51 = object.key("OracleSettings").start_object(); crate::json_ser::serialize_structure_crate_model_oracle_settings(&mut object_51, var_50)?; object_51.finish(); } if let Some(var_52) = &input.sybase_settings { + #[allow(unused_mut)] let mut object_53 = object.key("SybaseSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sybase_settings(&mut object_53, var_52)?; object_53.finish(); } if let Some(var_54) = &input.microsoft_sql_server_settings { + #[allow(unused_mut)] let mut object_55 = object.key("MicrosoftSQLServerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_microsoft_sql_server_settings( &mut object_55, @@ -198,6 +214,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object_55.finish(); } if let Some(var_56) = &input.ibm_db2_settings { + #[allow(unused_mut)] let mut object_57 = object.key("IBMDb2Settings").start_object(); crate::json_ser::serialize_structure_crate_model_ibm_db2_settings(&mut object_57, var_56)?; object_57.finish(); @@ -206,16 +223,19 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object.key("ResourceIdentifier").string(var_58.as_str()); } if let Some(var_59) = &input.doc_db_settings { + #[allow(unused_mut)] let mut object_60 = object.key("DocDbSettings").start_object(); crate::json_ser::serialize_structure_crate_model_doc_db_settings(&mut object_60, var_59)?; object_60.finish(); } if let Some(var_61) = &input.redis_settings { + #[allow(unused_mut)] let mut object_62 = object.key("RedisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_redis_settings(&mut object_62, var_61)?; object_62.finish(); } if let Some(var_63) = &input.gcp_my_sql_settings { + #[allow(unused_mut)] let mut object_64 = object.key("GcpMySQLSettings").start_object(); crate::json_ser::serialize_structure_crate_model_gcp_my_sql_settings( &mut object_64, @@ -264,6 +284,7 @@ pub fn serialize_structure_crate_input_create_event_subscription_input( let mut array_76 = object.key("Tags").start_array(); for item_77 in var_75 { { + #[allow(unused_mut)] let mut object_78 = array_76.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_78, item_77)?; object_78.finish(); @@ -348,6 +369,7 @@ pub fn serialize_structure_crate_input_create_replication_instance_input( let mut array_96 = object.key("Tags").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_98, item_97)?; object_98.finish(); @@ -397,6 +419,7 @@ pub fn serialize_structure_crate_input_create_replication_subnet_group_input( let mut array_109 = object.key("Tags").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_111, item_110)?; object_111.finish(); @@ -453,6 +476,7 @@ pub fn serialize_structure_crate_input_create_replication_task_input( let mut array_123 = object.key("Tags").start_array(); for item_124 in var_122 { { + #[allow(unused_mut)] let mut object_125 = array_123.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_125, item_124)?; object_125.finish(); @@ -627,6 +651,7 @@ pub fn serialize_structure_crate_input_describe_certificates_input( let mut array_149 = object.key("Filters").start_array(); for item_150 in var_148 { { + #[allow(unused_mut)] let mut object_151 = array_149.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_151, item_150)?; object_151.finish(); @@ -654,6 +679,7 @@ pub fn serialize_structure_crate_input_describe_connections_input( let mut array_155 = object.key("Filters").start_array(); for item_156 in var_154 { { + #[allow(unused_mut)] let mut object_157 = array_155.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_157, item_156)?; object_157.finish(); @@ -681,6 +707,7 @@ pub fn serialize_structure_crate_input_describe_endpoints_input( let mut array_161 = object.key("Filters").start_array(); for item_162 in var_160 { { + #[allow(unused_mut)] let mut object_163 = array_161.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_163, item_162)?; object_163.finish(); @@ -727,6 +754,7 @@ pub fn serialize_structure_crate_input_describe_endpoint_types_input( let mut array_170 = object.key("Filters").start_array(); for item_171 in var_169 { { + #[allow(unused_mut)] let mut object_172 = array_170.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_172, item_171)?; object_172.finish(); @@ -757,6 +785,7 @@ pub fn serialize_structure_crate_input_describe_event_categories_input( let mut array_177 = object.key("Filters").start_array(); for item_178 in var_176 { { + #[allow(unused_mut)] let mut object_179 = array_177.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_179, item_178)?; object_179.finish(); @@ -806,6 +835,7 @@ pub fn serialize_structure_crate_input_describe_events_input( let mut array_189 = object.key("Filters").start_array(); for item_190 in var_188 { { + #[allow(unused_mut)] let mut object_191 = array_189.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_191, item_190)?; object_191.finish(); @@ -836,6 +866,7 @@ pub fn serialize_structure_crate_input_describe_event_subscriptions_input( let mut array_196 = object.key("Filters").start_array(); for item_197 in var_195 { { + #[allow(unused_mut)] let mut object_198 = array_196.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_198, item_197)?; object_198.finish(); @@ -863,6 +894,7 @@ pub fn serialize_structure_crate_input_describe_fleet_advisor_collectors_input( let mut array_202 = object.key("Filters").start_array(); for item_203 in var_201 { { + #[allow(unused_mut)] let mut object_204 = array_202.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_204, item_203)?; object_204.finish(); @@ -890,6 +922,7 @@ pub fn serialize_structure_crate_input_describe_fleet_advisor_databases_input( let mut array_208 = object.key("Filters").start_array(); for item_209 in var_207 { { + #[allow(unused_mut)] let mut object_210 = array_208.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_210, item_209)?; object_210.finish(); @@ -933,6 +966,7 @@ pub fn serialize_structure_crate_input_describe_fleet_advisor_schema_object_summ let mut array_216 = object.key("Filters").start_array(); for item_217 in var_215 { { + #[allow(unused_mut)] let mut object_218 = array_216.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_218, item_217)?; object_218.finish(); @@ -960,6 +994,7 @@ pub fn serialize_structure_crate_input_describe_fleet_advisor_schemas_input( let mut array_222 = object.key("Filters").start_array(); for item_223 in var_221 { { + #[allow(unused_mut)] let mut object_224 = array_222.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_224, item_223)?; object_224.finish(); @@ -1008,6 +1043,7 @@ pub fn serialize_structure_crate_input_describe_pending_maintenance_actions_inpu let mut array_231 = object.key("Filters").start_array(); for item_232 in var_230 { { + #[allow(unused_mut)] let mut object_233 = array_231.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_233, item_232)?; object_233.finish(); @@ -1045,6 +1081,7 @@ pub fn serialize_structure_crate_input_describe_replication_instances_input( let mut array_238 = object.key("Filters").start_array(); for item_239 in var_237 { { + #[allow(unused_mut)] let mut object_240 = array_238.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_240, item_239)?; object_240.finish(); @@ -1093,6 +1130,7 @@ pub fn serialize_structure_crate_input_describe_replication_subnet_groups_input( let mut array_247 = object.key("Filters").start_array(); for item_248 in var_246 { { + #[allow(unused_mut)] let mut object_249 = array_247.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_249, item_248)?; object_249.finish(); @@ -1139,6 +1177,7 @@ pub fn serialize_structure_crate_input_describe_replication_task_assessment_runs let mut array_256 = object.key("Filters").start_array(); for item_257 in var_255 { { + #[allow(unused_mut)] let mut object_258 = array_256.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_258, item_257)?; object_258.finish(); @@ -1166,6 +1205,7 @@ pub fn serialize_structure_crate_input_describe_replication_task_individual_asse let mut array_262 = object.key("Filters").start_array(); for item_263 in var_261 { { + #[allow(unused_mut)] let mut object_264 = array_262.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_264, item_263)?; object_264.finish(); @@ -1193,6 +1233,7 @@ pub fn serialize_structure_crate_input_describe_replication_tasks_input( let mut array_268 = object.key("Filters").start_array(); for item_269 in var_267 { { + #[allow(unused_mut)] let mut object_270 = array_268.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_270, item_269)?; object_270.finish(); @@ -1254,6 +1295,7 @@ pub fn serialize_structure_crate_input_describe_table_statistics_input( let mut array_281 = object.key("Filters").start_array(); for item_282 in var_280 { { + #[allow(unused_mut)] let mut object_283 = array_281.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_283, item_282)?; object_283.finish(); @@ -1283,6 +1325,7 @@ pub fn serialize_structure_crate_input_import_certificate_input( let mut array_288 = object.key("Tags").start_array(); for item_289 in var_287 { { + #[allow(unused_mut)] let mut object_290 = array_288.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_290, item_289)?; object_290.finish(); @@ -1366,6 +1409,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( .string(var_308.as_str()); } if let Some(var_309) = &input.dynamo_db_settings { + #[allow(unused_mut)] let mut object_310 = object.key("DynamoDbSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_settings( &mut object_310, @@ -1374,11 +1418,13 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_310.finish(); } if let Some(var_311) = &input.s3_settings { + #[allow(unused_mut)] let mut object_312 = object.key("S3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_s3_settings(&mut object_312, var_311)?; object_312.finish(); } if let Some(var_313) = &input.dms_transfer_settings { + #[allow(unused_mut)] let mut object_314 = object.key("DmsTransferSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dms_transfer_settings( &mut object_314, @@ -1387,6 +1433,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_314.finish(); } if let Some(var_315) = &input.mongo_db_settings { + #[allow(unused_mut)] let mut object_316 = object.key("MongoDbSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mongo_db_settings( &mut object_316, @@ -1395,6 +1442,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_316.finish(); } if let Some(var_317) = &input.kinesis_settings { + #[allow(unused_mut)] let mut object_318 = object.key("KinesisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_settings( &mut object_318, @@ -1403,11 +1451,13 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_318.finish(); } if let Some(var_319) = &input.kafka_settings { + #[allow(unused_mut)] let mut object_320 = object.key("KafkaSettings").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_settings(&mut object_320, var_319)?; object_320.finish(); } if let Some(var_321) = &input.elasticsearch_settings { + #[allow(unused_mut)] let mut object_322 = object.key("ElasticsearchSettings").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_settings( &mut object_322, @@ -1416,6 +1466,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_322.finish(); } if let Some(var_323) = &input.neptune_settings { + #[allow(unused_mut)] let mut object_324 = object.key("NeptuneSettings").start_object(); crate::json_ser::serialize_structure_crate_model_neptune_settings( &mut object_324, @@ -1424,6 +1475,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_324.finish(); } if let Some(var_325) = &input.redshift_settings { + #[allow(unused_mut)] let mut object_326 = object.key("RedshiftSettings").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_settings( &mut object_326, @@ -1432,6 +1484,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_326.finish(); } if let Some(var_327) = &input.postgre_sql_settings { + #[allow(unused_mut)] let mut object_328 = object.key("PostgreSQLSettings").start_object(); crate::json_ser::serialize_structure_crate_model_postgre_sql_settings( &mut object_328, @@ -1440,21 +1493,25 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_328.finish(); } if let Some(var_329) = &input.my_sql_settings { + #[allow(unused_mut)] let mut object_330 = object.key("MySQLSettings").start_object(); crate::json_ser::serialize_structure_crate_model_my_sql_settings(&mut object_330, var_329)?; object_330.finish(); } if let Some(var_331) = &input.oracle_settings { + #[allow(unused_mut)] let mut object_332 = object.key("OracleSettings").start_object(); crate::json_ser::serialize_structure_crate_model_oracle_settings(&mut object_332, var_331)?; object_332.finish(); } if let Some(var_333) = &input.sybase_settings { + #[allow(unused_mut)] let mut object_334 = object.key("SybaseSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sybase_settings(&mut object_334, var_333)?; object_334.finish(); } if let Some(var_335) = &input.microsoft_sql_server_settings { + #[allow(unused_mut)] let mut object_336 = object.key("MicrosoftSQLServerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_microsoft_sql_server_settings( &mut object_336, @@ -1463,6 +1520,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_336.finish(); } if let Some(var_337) = &input.ibm_db2_settings { + #[allow(unused_mut)] let mut object_338 = object.key("IBMDb2Settings").start_object(); crate::json_ser::serialize_structure_crate_model_ibm_db2_settings( &mut object_338, @@ -1471,11 +1529,13 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object_338.finish(); } if let Some(var_339) = &input.doc_db_settings { + #[allow(unused_mut)] let mut object_340 = object.key("DocDbSettings").start_object(); crate::json_ser::serialize_structure_crate_model_doc_db_settings(&mut object_340, var_339)?; object_340.finish(); } if let Some(var_341) = &input.redis_settings { + #[allow(unused_mut)] let mut object_342 = object.key("RedisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_redis_settings(&mut object_342, var_341)?; object_342.finish(); @@ -1484,6 +1544,7 @@ pub fn serialize_structure_crate_input_modify_endpoint_input( object.key("ExactSettings").boolean(*var_343); } if let Some(var_344) = &input.gcp_my_sql_settings { + #[allow(unused_mut)] let mut object_345 = object.key("GcpMySQLSettings").start_object(); crate::json_ser::serialize_structure_crate_model_gcp_my_sql_settings( &mut object_345, @@ -1708,6 +1769,7 @@ pub fn serialize_structure_crate_input_reload_tables_input( let mut array_387 = object.key("TablesToReload").start_array(); for item_388 in var_386 { { + #[allow(unused_mut)] let mut object_389 = array_387.value().start_object(); crate::json_ser::serialize_structure_crate_model_table_to_reload( &mut object_389, diff --git a/sdk/databrew/src/json_ser.rs b/sdk/databrew/src/json_ser.rs index 01ddbb9059d4..1a53cee45c46 100644 --- a/sdk/databrew/src/json_ser.rs +++ b/sdk/databrew/src/json_ser.rs @@ -23,11 +23,13 @@ pub fn serialize_structure_crate_input_create_dataset_input( object.key("Format").string(var_4.as_str()); } if let Some(var_5) = &input.format_options { + #[allow(unused_mut)] let mut object_6 = object.key("FormatOptions").start_object(); crate::json_ser::serialize_structure_crate_model_format_options(&mut object_6, var_5)?; object_6.finish(); } if let Some(var_7) = &input.input { + #[allow(unused_mut)] let mut object_8 = object.key("Input").start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_8, var_7)?; object_8.finish(); @@ -36,11 +38,13 @@ pub fn serialize_structure_crate_input_create_dataset_input( object.key("Name").string(var_9.as_str()); } if let Some(var_10) = &input.path_options { + #[allow(unused_mut)] let mut object_11 = object.key("PathOptions").start_object(); crate::json_ser::serialize_structure_crate_model_path_options(&mut object_11, var_10)?; object_11.finish(); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("Tags").start_object(); for (key_14, value_15) in var_12 { { @@ -57,6 +61,7 @@ pub fn serialize_structure_crate_input_create_profile_job_input( input: &crate::input::CreateProfileJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.configuration { + #[allow(unused_mut)] let mut object_17 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_profile_configuration( &mut object_17, @@ -74,6 +79,7 @@ pub fn serialize_structure_crate_input_create_profile_job_input( object.key("EncryptionMode").string(var_20.as_str()); } if let Some(var_21) = &input.job_sample { + #[allow(unused_mut)] let mut object_22 = object.key("JobSample").start_object(); crate::json_ser::serialize_structure_crate_model_job_sample(&mut object_22, var_21)?; object_22.finish(); @@ -97,6 +103,7 @@ pub fn serialize_structure_crate_input_create_profile_job_input( object.key("Name").string(var_24.as_str()); } if let Some(var_25) = &input.output_location { + #[allow(unused_mut)] let mut object_26 = object.key("OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_26, var_25)?; object_26.finish(); @@ -105,6 +112,7 @@ pub fn serialize_structure_crate_input_create_profile_job_input( object.key("RoleArn").string(var_27.as_str()); } if let Some(var_28) = &input.tags { + #[allow(unused_mut)] let mut object_29 = object.key("Tags").start_object(); for (key_30, value_31) in var_28 { { @@ -123,6 +131,7 @@ pub fn serialize_structure_crate_input_create_profile_job_input( let mut array_33 = object.key("ValidationConfigurations").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_validation_configuration( &mut object_35, @@ -153,11 +162,13 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("RoleArn").string(var_39.as_str()); } if let Some(var_40) = &input.sample { + #[allow(unused_mut)] let mut object_41 = object.key("Sample").start_object(); crate::json_ser::serialize_structure_crate_model_sample(&mut object_41, var_40)?; object_41.finish(); } if let Some(var_42) = &input.tags { + #[allow(unused_mut)] let mut object_43 = object.key("Tags").start_object(); for (key_44, value_45) in var_42 { { @@ -183,6 +194,7 @@ pub fn serialize_structure_crate_input_create_recipe_input( let mut array_49 = object.key("Steps").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_recipe_step( &mut object_51, @@ -194,6 +206,7 @@ pub fn serialize_structure_crate_input_create_recipe_input( array_49.finish(); } if let Some(var_52) = &input.tags { + #[allow(unused_mut)] let mut object_53 = object.key("Tags").start_object(); for (key_54, value_55) in var_52 { { @@ -213,6 +226,7 @@ pub fn serialize_structure_crate_input_create_recipe_job_input( let mut array_57 = object.key("DataCatalogOutputs").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_catalog_output( &mut object_59, @@ -227,6 +241,7 @@ pub fn serialize_structure_crate_input_create_recipe_job_input( let mut array_61 = object.key("DatabaseOutputs").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_database_output( &mut object_63, @@ -268,6 +283,7 @@ pub fn serialize_structure_crate_input_create_recipe_job_input( let mut array_70 = object.key("Outputs").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_72, item_71)?; object_72.finish(); @@ -279,6 +295,7 @@ pub fn serialize_structure_crate_input_create_recipe_job_input( object.key("ProjectName").string(var_73.as_str()); } if let Some(var_74) = &input.recipe_reference { + #[allow(unused_mut)] let mut object_75 = object.key("RecipeReference").start_object(); crate::json_ser::serialize_structure_crate_model_recipe_reference(&mut object_75, var_74)?; object_75.finish(); @@ -287,6 +304,7 @@ pub fn serialize_structure_crate_input_create_recipe_job_input( object.key("RoleArn").string(var_76.as_str()); } if let Some(var_77) = &input.tags { + #[allow(unused_mut)] let mut object_78 = object.key("Tags").start_object(); for (key_79, value_80) in var_77 { { @@ -318,6 +336,7 @@ pub fn serialize_structure_crate_input_create_ruleset_input( let mut array_84 = object.key("Rules").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_86, item_85)?; object_86.finish(); @@ -326,6 +345,7 @@ pub fn serialize_structure_crate_input_create_ruleset_input( array_84.finish(); } if let Some(var_87) = &input.tags { + #[allow(unused_mut)] let mut object_88 = object.key("Tags").start_object(); for (key_89, value_90) in var_87 { { @@ -360,6 +380,7 @@ pub fn serialize_structure_crate_input_create_schedule_input( object.key("Name").string(var_96.as_str()); } if let Some(var_97) = &input.tags { + #[allow(unused_mut)] let mut object_98 = object.key("Tags").start_object(); for (key_99, value_100) in var_97 { { @@ -392,6 +413,7 @@ pub fn serialize_structure_crate_input_send_project_session_action_input( object.key("Preview").boolean(input.preview); } if let Some(var_103) = &input.recipe_step { + #[allow(unused_mut)] let mut object_104 = object.key("RecipeStep").start_object(); crate::json_ser::serialize_structure_crate_model_recipe_step(&mut object_104, var_103)?; object_104.finish(); @@ -403,6 +425,7 @@ pub fn serialize_structure_crate_input_send_project_session_action_input( ); } if let Some(var_106) = &input.view_frame { + #[allow(unused_mut)] let mut object_107 = object.key("ViewFrame").start_object(); crate::json_ser::serialize_structure_crate_model_view_frame(&mut object_107, var_106)?; object_107.finish(); @@ -425,6 +448,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_108) = &input.tags { + #[allow(unused_mut)] let mut object_109 = object.key("Tags").start_object(); for (key_110, value_111) in var_108 { { @@ -444,16 +468,19 @@ pub fn serialize_structure_crate_input_update_dataset_input( object.key("Format").string(var_112.as_str()); } if let Some(var_113) = &input.format_options { + #[allow(unused_mut)] let mut object_114 = object.key("FormatOptions").start_object(); crate::json_ser::serialize_structure_crate_model_format_options(&mut object_114, var_113)?; object_114.finish(); } if let Some(var_115) = &input.input { + #[allow(unused_mut)] let mut object_116 = object.key("Input").start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_116, var_115)?; object_116.finish(); } if let Some(var_117) = &input.path_options { + #[allow(unused_mut)] let mut object_118 = object.key("PathOptions").start_object(); crate::json_ser::serialize_structure_crate_model_path_options(&mut object_118, var_117)?; object_118.finish(); @@ -466,6 +493,7 @@ pub fn serialize_structure_crate_input_update_profile_job_input( input: &crate::input::UpdateProfileJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_119) = &input.configuration { + #[allow(unused_mut)] let mut object_120 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_profile_configuration( &mut object_120, @@ -480,6 +508,7 @@ pub fn serialize_structure_crate_input_update_profile_job_input( object.key("EncryptionMode").string(var_122.as_str()); } if let Some(var_123) = &input.job_sample { + #[allow(unused_mut)] let mut object_124 = object.key("JobSample").start_object(); crate::json_ser::serialize_structure_crate_model_job_sample(&mut object_124, var_123)?; object_124.finish(); @@ -500,6 +529,7 @@ pub fn serialize_structure_crate_input_update_profile_job_input( ); } if let Some(var_126) = &input.output_location { + #[allow(unused_mut)] let mut object_127 = object.key("OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_127, var_126)?; object_127.finish(); @@ -517,6 +547,7 @@ pub fn serialize_structure_crate_input_update_profile_job_input( let mut array_130 = object.key("ValidationConfigurations").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_validation_configuration( &mut object_132, @@ -538,6 +569,7 @@ pub fn serialize_structure_crate_input_update_project_input( object.key("RoleArn").string(var_133.as_str()); } if let Some(var_134) = &input.sample { + #[allow(unused_mut)] let mut object_135 = object.key("Sample").start_object(); crate::json_ser::serialize_structure_crate_model_sample(&mut object_135, var_134)?; object_135.finish(); @@ -556,6 +588,7 @@ pub fn serialize_structure_crate_input_update_recipe_input( let mut array_138 = object.key("Steps").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_recipe_step( &mut object_140, @@ -577,6 +610,7 @@ pub fn serialize_structure_crate_input_update_recipe_job_input( let mut array_142 = object.key("DataCatalogOutputs").start_array(); for item_143 in var_141 { { + #[allow(unused_mut)] let mut object_144 = array_142.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_catalog_output( &mut object_144, @@ -591,6 +625,7 @@ pub fn serialize_structure_crate_input_update_recipe_job_input( let mut array_146 = object.key("DatabaseOutputs").start_array(); for item_147 in var_145 { { + #[allow(unused_mut)] let mut object_148 = array_146.value().start_object(); crate::json_ser::serialize_structure_crate_model_database_output( &mut object_148, @@ -626,6 +661,7 @@ pub fn serialize_structure_crate_input_update_recipe_job_input( let mut array_153 = object.key("Outputs").start_array(); for item_154 in var_152 { { + #[allow(unused_mut)] let mut object_155 = array_153.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_155, item_154)?; object_155.finish(); @@ -656,6 +692,7 @@ pub fn serialize_structure_crate_input_update_ruleset_input( let mut array_159 = object.key("Rules").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_161, item_160)?; object_161.finish(); @@ -690,16 +727,19 @@ pub fn serialize_structure_crate_model_format_options( input: &crate::model::FormatOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_166) = &input.json { + #[allow(unused_mut)] let mut object_167 = object.key("Json").start_object(); crate::json_ser::serialize_structure_crate_model_json_options(&mut object_167, var_166)?; object_167.finish(); } if let Some(var_168) = &input.excel { + #[allow(unused_mut)] let mut object_169 = object.key("Excel").start_object(); crate::json_ser::serialize_structure_crate_model_excel_options(&mut object_169, var_168)?; object_169.finish(); } if let Some(var_170) = &input.csv { + #[allow(unused_mut)] let mut object_171 = object.key("Csv").start_object(); crate::json_ser::serialize_structure_crate_model_csv_options(&mut object_171, var_170)?; object_171.finish(); @@ -712,11 +752,13 @@ pub fn serialize_structure_crate_model_input( input: &crate::model::Input, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_172) = &input.s3_input_definition { + #[allow(unused_mut)] let mut object_173 = object.key("S3InputDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_173, var_172)?; object_173.finish(); } if let Some(var_174) = &input.data_catalog_input_definition { + #[allow(unused_mut)] let mut object_175 = object.key("DataCatalogInputDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_data_catalog_input_definition( &mut object_175, @@ -725,6 +767,7 @@ pub fn serialize_structure_crate_model_input( object_175.finish(); } if let Some(var_176) = &input.database_input_definition { + #[allow(unused_mut)] let mut object_177 = object.key("DatabaseInputDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_database_input_definition( &mut object_177, @@ -733,6 +776,7 @@ pub fn serialize_structure_crate_model_input( object_177.finish(); } if let Some(var_178) = &input.metadata { + #[allow(unused_mut)] let mut object_179 = object.key("Metadata").start_object(); crate::json_ser::serialize_structure_crate_model_metadata(&mut object_179, var_178)?; object_179.finish(); @@ -745,6 +789,7 @@ pub fn serialize_structure_crate_model_path_options( input: &crate::model::PathOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_180) = &input.last_modified_date_condition { + #[allow(unused_mut)] let mut object_181 = object.key("LastModifiedDateCondition").start_object(); crate::json_ser::serialize_structure_crate_model_filter_expression( &mut object_181, @@ -753,14 +798,17 @@ pub fn serialize_structure_crate_model_path_options( object_181.finish(); } if let Some(var_182) = &input.files_limit { + #[allow(unused_mut)] let mut object_183 = object.key("FilesLimit").start_object(); crate::json_ser::serialize_structure_crate_model_files_limit(&mut object_183, var_182)?; object_183.finish(); } if let Some(var_184) = &input.parameters { + #[allow(unused_mut)] let mut object_185 = object.key("Parameters").start_object(); for (key_186, value_187) in var_184 { { + #[allow(unused_mut)] let mut object_188 = object_185.key(key_186.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_dataset_parameter( &mut object_188, @@ -779,6 +827,7 @@ pub fn serialize_structure_crate_model_profile_configuration( input: &crate::model::ProfileConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_189) = &input.dataset_statistics_configuration { + #[allow(unused_mut)] let mut object_190 = object.key("DatasetStatisticsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_statistics_configuration( &mut object_190, @@ -790,6 +839,7 @@ pub fn serialize_structure_crate_model_profile_configuration( let mut array_192 = object.key("ProfileColumns").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_selector( &mut object_194, @@ -804,6 +854,7 @@ pub fn serialize_structure_crate_model_profile_configuration( let mut array_196 = object.key("ColumnStatisticsConfigurations").start_array(); for item_197 in var_195 { { + #[allow(unused_mut)] let mut object_198 = array_196.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_statistics_configuration( &mut object_198, @@ -815,6 +866,7 @@ pub fn serialize_structure_crate_model_profile_configuration( array_196.finish(); } if let Some(var_199) = &input.entity_detector_configuration { + #[allow(unused_mut)] let mut object_200 = object.key("EntityDetectorConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_entity_detector_configuration( &mut object_200, @@ -891,6 +943,7 @@ pub fn serialize_structure_crate_model_recipe_step( input: &crate::model::RecipeStep, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_210) = &input.action { + #[allow(unused_mut)] let mut object_211 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_recipe_action(&mut object_211, var_210)?; object_211.finish(); @@ -899,6 +952,7 @@ pub fn serialize_structure_crate_model_recipe_step( let mut array_213 = object.key("ConditionExpressions").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition_expression( &mut object_215, @@ -926,6 +980,7 @@ pub fn serialize_structure_crate_model_data_catalog_output( object.key("TableName").string(var_218.as_str()); } if let Some(var_219) = &input.s3_options { + #[allow(unused_mut)] let mut object_220 = object.key("S3Options").start_object(); crate::json_ser::serialize_structure_crate_model_s3_table_output_options( &mut object_220, @@ -934,6 +989,7 @@ pub fn serialize_structure_crate_model_data_catalog_output( object_220.finish(); } if let Some(var_221) = &input.database_options { + #[allow(unused_mut)] let mut object_222 = object.key("DatabaseOptions").start_object(); crate::json_ser::serialize_structure_crate_model_database_table_output_options( &mut object_222, @@ -955,6 +1011,7 @@ pub fn serialize_structure_crate_model_database_output( object.key("GlueConnectionName").string(var_223.as_str()); } if let Some(var_224) = &input.database_options { + #[allow(unused_mut)] let mut object_225 = object.key("DatabaseOptions").start_object(); crate::json_ser::serialize_structure_crate_model_database_table_output_options( &mut object_225, @@ -988,6 +1045,7 @@ pub fn serialize_structure_crate_model_output( array_230.finish(); } if let Some(var_232) = &input.location { + #[allow(unused_mut)] let mut object_233 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_233, var_232)?; object_233.finish(); @@ -996,6 +1054,7 @@ pub fn serialize_structure_crate_model_output( object.key("Overwrite").boolean(input.overwrite); } if let Some(var_234) = &input.format_options { + #[allow(unused_mut)] let mut object_235 = object.key("FormatOptions").start_object(); crate::json_ser::serialize_structure_crate_model_output_format_options( &mut object_235, @@ -1039,6 +1098,7 @@ pub fn serialize_structure_crate_model_rule( object.key("CheckExpression").string(var_240.as_str()); } if let Some(var_241) = &input.substitution_map { + #[allow(unused_mut)] let mut object_242 = object.key("SubstitutionMap").start_object(); for (key_243, value_244) in var_241 { { @@ -1048,6 +1108,7 @@ pub fn serialize_structure_crate_model_rule( object_242.finish(); } if let Some(var_245) = &input.threshold { + #[allow(unused_mut)] let mut object_246 = object.key("Threshold").start_object(); crate::json_ser::serialize_structure_crate_model_threshold(&mut object_246, var_245)?; object_246.finish(); @@ -1056,6 +1117,7 @@ pub fn serialize_structure_crate_model_rule( let mut array_248 = object.key("ColumnSelectors").start_array(); for item_249 in var_247 { { + #[allow(unused_mut)] let mut object_250 = array_248.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_selector( &mut object_250, @@ -1180,6 +1242,7 @@ pub fn serialize_structure_crate_model_data_catalog_input_definition( object.key("TableName").string(var_270.as_str()); } if let Some(var_271) = &input.temp_directory { + #[allow(unused_mut)] let mut object_272 = object.key("TempDirectory").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_272, var_271)?; object_272.finish(); @@ -1198,6 +1261,7 @@ pub fn serialize_structure_crate_model_database_input_definition( object.key("DatabaseTableName").string(var_274.as_str()); } if let Some(var_275) = &input.temp_directory { + #[allow(unused_mut)] let mut object_276 = object.key("TempDirectory").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_276, var_275)?; object_276.finish(); @@ -1226,6 +1290,7 @@ pub fn serialize_structure_crate_model_filter_expression( object.key("Expression").string(var_279.as_str()); } if let Some(var_280) = &input.values_map { + #[allow(unused_mut)] let mut object_281 = object.key("ValuesMap").start_object(); for (key_282, value_283) in var_280 { { @@ -1267,6 +1332,7 @@ pub fn serialize_structure_crate_model_dataset_parameter( object.key("Type").string(var_287.as_str()); } if let Some(var_288) = &input.datetime_options { + #[allow(unused_mut)] let mut object_289 = object.key("DatetimeOptions").start_object(); crate::json_ser::serialize_structure_crate_model_datetime_options( &mut object_289, @@ -1278,6 +1344,7 @@ pub fn serialize_structure_crate_model_dataset_parameter( object.key("CreateColumn").boolean(input.create_column); } if let Some(var_290) = &input.filter { + #[allow(unused_mut)] let mut object_291 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_filter_expression( &mut object_291, @@ -1305,6 +1372,7 @@ pub fn serialize_structure_crate_model_statistics_configuration( let mut array_296 = object.key("Overrides").start_array(); for item_297 in var_295 { { + #[allow(unused_mut)] let mut object_298 = array_296.value().start_object(); crate::json_ser::serialize_structure_crate_model_statistic_override( &mut object_298, @@ -1339,6 +1407,7 @@ pub fn serialize_structure_crate_model_column_statistics_configuration( let mut array_302 = object.key("Selectors").start_array(); for item_303 in var_301 { { + #[allow(unused_mut)] let mut object_304 = array_302.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_selector( &mut object_304, @@ -1350,6 +1419,7 @@ pub fn serialize_structure_crate_model_column_statistics_configuration( array_302.finish(); } if let Some(var_305) = &input.statistics { + #[allow(unused_mut)] let mut object_306 = object.key("Statistics").start_object(); crate::json_ser::serialize_structure_crate_model_statistics_configuration( &mut object_306, @@ -1377,6 +1447,7 @@ pub fn serialize_structure_crate_model_entity_detector_configuration( let mut array_311 = object.key("AllowedStatistics").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_allowed_statistics( &mut object_313, @@ -1398,6 +1469,7 @@ pub fn serialize_structure_crate_model_recipe_action( object.key("Operation").string(var_314.as_str()); } if let Some(var_315) = &input.parameters { + #[allow(unused_mut)] let mut object_316 = object.key("Parameters").start_object(); for (key_317, value_318) in var_315 { { @@ -1430,6 +1502,7 @@ pub fn serialize_structure_crate_model_s3_table_output_options( input: &crate::model::S3TableOutputOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_322) = &input.location { + #[allow(unused_mut)] let mut object_323 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_323, var_322)?; object_323.finish(); @@ -1442,6 +1515,7 @@ pub fn serialize_structure_crate_model_database_table_output_options( input: &crate::model::DatabaseTableOutputOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_324) = &input.temp_directory { + #[allow(unused_mut)] let mut object_325 = object.key("TempDirectory").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_325, var_324)?; object_325.finish(); @@ -1457,6 +1531,7 @@ pub fn serialize_structure_crate_model_output_format_options( input: &crate::model::OutputFormatOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_327) = &input.csv { + #[allow(unused_mut)] let mut object_328 = object.key("Csv").start_object(); crate::json_ser::serialize_structure_crate_model_csv_output_options( &mut object_328, @@ -1510,6 +1585,7 @@ pub fn serialize_structure_crate_model_statistic_override( object.key("Statistic").string(var_334.as_str()); } if let Some(var_335) = &input.parameters { + #[allow(unused_mut)] let mut object_336 = object.key("Parameters").start_object(); for (key_337, value_338) in var_335 { { diff --git a/sdk/dataexchange/src/json_ser.rs b/sdk/dataexchange/src/json_ser.rs index d700ba537d1d..9322bda6c162 100644 --- a/sdk/dataexchange/src/json_ser.rs +++ b/sdk/dataexchange/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( object.key("Name").string(var_3.as_str()); } if let Some(var_4) = &input.tags { + #[allow(unused_mut)] let mut object_5 = object.key("Tags").start_object(); for (key_6, value_7) in var_4 { { @@ -29,11 +30,13 @@ pub fn serialize_structure_crate_input_create_event_action_input( input: &crate::input::CreateEventActionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_8) = &input.action { + #[allow(unused_mut)] let mut object_9 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_9, var_8)?; object_9.finish(); } if let Some(var_10) = &input.event { + #[allow(unused_mut)] let mut object_11 = object.key("Event").start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_11, var_10)?; object_11.finish(); @@ -46,6 +49,7 @@ pub fn serialize_structure_crate_input_create_job_input( input: &crate::input::CreateJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_12) = &input.details { + #[allow(unused_mut)] let mut object_13 = object.key("Details").start_object(); crate::json_ser::serialize_structure_crate_model_request_details(&mut object_13, var_12)?; object_13.finish(); @@ -64,6 +68,7 @@ pub fn serialize_structure_crate_input_create_revision_input( object.key("Comment").string(var_15.as_str()); } if let Some(var_16) = &input.tags { + #[allow(unused_mut)] let mut object_17 = object.key("Tags").start_object(); for (key_18, value_19) in var_16 { { @@ -90,6 +95,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_21) = &input.tags { + #[allow(unused_mut)] let mut object_22 = object.key("tags").start_object(); for (key_23, value_24) in var_21 { { @@ -129,6 +135,7 @@ pub fn serialize_structure_crate_input_update_event_action_input( input: &crate::input::UpdateEventActionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.action { + #[allow(unused_mut)] let mut object_29 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_29, var_28)?; object_29.finish(); @@ -154,6 +161,7 @@ pub fn serialize_structure_crate_model_action( input: &crate::model::Action, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_31) = &input.export_revision_to_s3 { + #[allow(unused_mut)] let mut object_32 = object.key("ExportRevisionToS3").start_object(); crate::json_ser::serialize_structure_crate_model_auto_export_revision_to_s3_request_details(&mut object_32, var_31)?; object_32.finish(); @@ -166,6 +174,7 @@ pub fn serialize_structure_crate_model_event( input: &crate::model::Event, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_33) = &input.revision_published { + #[allow(unused_mut)] let mut object_34 = object.key("RevisionPublished").start_object(); crate::json_ser::serialize_structure_crate_model_revision_published( &mut object_34, @@ -181,11 +190,13 @@ pub fn serialize_structure_crate_model_request_details( input: &crate::model::RequestDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_35) = &input.export_asset_to_signed_url { + #[allow(unused_mut)] let mut object_36 = object.key("ExportAssetToSignedUrl").start_object(); crate::json_ser::serialize_structure_crate_model_export_asset_to_signed_url_request_details(&mut object_36, var_35)?; object_36.finish(); } if let Some(var_37) = &input.export_assets_to_s3 { + #[allow(unused_mut)] let mut object_38 = object.key("ExportAssetsToS3").start_object(); crate::json_ser::serialize_structure_crate_model_export_assets_to_s3_request_details( &mut object_38, @@ -194,6 +205,7 @@ pub fn serialize_structure_crate_model_request_details( object_38.finish(); } if let Some(var_39) = &input.export_revisions_to_s3 { + #[allow(unused_mut)] let mut object_40 = object.key("ExportRevisionsToS3").start_object(); crate::json_ser::serialize_structure_crate_model_export_revisions_to_s3_request_details( &mut object_40, @@ -202,11 +214,13 @@ pub fn serialize_structure_crate_model_request_details( object_40.finish(); } if let Some(var_41) = &input.import_asset_from_signed_url { + #[allow(unused_mut)] let mut object_42 = object.key("ImportAssetFromSignedUrl").start_object(); crate::json_ser::serialize_structure_crate_model_import_asset_from_signed_url_request_details(&mut object_42, var_41)?; object_42.finish(); } if let Some(var_43) = &input.import_assets_from_s3 { + #[allow(unused_mut)] let mut object_44 = object.key("ImportAssetsFromS3").start_object(); crate::json_ser::serialize_structure_crate_model_import_assets_from_s3_request_details( &mut object_44, @@ -215,6 +229,7 @@ pub fn serialize_structure_crate_model_request_details( object_44.finish(); } if let Some(var_45) = &input.import_assets_from_redshift_data_shares { + #[allow(unused_mut)] let mut object_46 = object .key("ImportAssetsFromRedshiftDataShares") .start_object(); @@ -222,6 +237,7 @@ pub fn serialize_structure_crate_model_request_details( object_46.finish(); } if let Some(var_47) = &input.import_asset_from_api_gateway_api { + #[allow(unused_mut)] let mut object_48 = object.key("ImportAssetFromApiGatewayApi").start_object(); crate::json_ser::serialize_structure_crate_model_import_asset_from_api_gateway_api_request_details(&mut object_48, var_47)?; object_48.finish(); @@ -234,6 +250,7 @@ pub fn serialize_structure_crate_model_auto_export_revision_to_s3_request_detail input: &crate::model::AutoExportRevisionToS3RequestDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_49) = &input.encryption { + #[allow(unused_mut)] let mut object_50 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_export_server_side_encryption( &mut object_50, @@ -242,6 +259,7 @@ pub fn serialize_structure_crate_model_auto_export_revision_to_s3_request_detail object_50.finish(); } if let Some(var_51) = &input.revision_destination { + #[allow(unused_mut)] let mut object_52 = object.key("RevisionDestination").start_object(); crate::json_ser::serialize_structure_crate_model_auto_export_revision_destination_entry( &mut object_52, @@ -286,6 +304,7 @@ pub fn serialize_structure_crate_model_export_assets_to_s3_request_details( let mut array_58 = object.key("AssetDestinations").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_destination_entry( &mut object_60, @@ -300,6 +319,7 @@ pub fn serialize_structure_crate_model_export_assets_to_s3_request_details( object.key("DataSetId").string(var_61.as_str()); } if let Some(var_62) = &input.encryption { + #[allow(unused_mut)] let mut object_63 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_export_server_side_encryption( &mut object_63, @@ -321,6 +341,7 @@ pub fn serialize_structure_crate_model_export_revisions_to_s3_request_details( object.key("DataSetId").string(var_65.as_str()); } if let Some(var_66) = &input.encryption { + #[allow(unused_mut)] let mut object_67 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_export_server_side_encryption( &mut object_67, @@ -332,6 +353,7 @@ pub fn serialize_structure_crate_model_export_revisions_to_s3_request_details( let mut array_69 = object.key("RevisionDestinations").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_revision_destination_entry( &mut object_71, @@ -372,6 +394,7 @@ pub fn serialize_structure_crate_model_import_assets_from_s3_request_details( let mut array_77 = object.key("AssetSources").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_source_entry( &mut object_79, @@ -399,6 +422,7 @@ pub fn serialize_structure_crate_model_import_assets_from_redshift_data_shares_r let mut array_83 = object.key("AssetSources").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_redshift_data_share_asset_source_entry(&mut object_85, item_84)?; object_85.finish(); diff --git a/sdk/datapipeline/src/json_ser.rs b/sdk/datapipeline/src/json_ser.rs index c394e70489b3..d5fa83039757 100644 --- a/sdk/datapipeline/src/json_ser.rs +++ b/sdk/datapipeline/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_activate_pipeline_input( let mut array_3 = object.key("parameterValues").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_value( &mut object_5, @@ -39,6 +40,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_9 = object.key("tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -66,6 +68,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( let mut array_16 = object.key("tags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_18, item_17)?; object_18.finish(); @@ -192,6 +195,7 @@ pub fn serialize_structure_crate_input_poll_for_task_input( object.key("hostname").string(var_37.as_str()); } if let Some(var_38) = &input.instance_identity { + #[allow(unused_mut)] let mut object_39 = object.key("instanceIdentity").start_object(); crate::json_ser::serialize_structure_crate_model_instance_identity(&mut object_39, var_38)?; object_39.finish(); @@ -210,6 +214,7 @@ pub fn serialize_structure_crate_input_put_pipeline_definition_input( let mut array_42 = object.key("pipelineObjects").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_object( &mut object_44, @@ -224,6 +229,7 @@ pub fn serialize_structure_crate_input_put_pipeline_definition_input( let mut array_46 = object.key("parameterObjects").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_object( &mut object_48, @@ -238,6 +244,7 @@ pub fn serialize_structure_crate_input_put_pipeline_definition_input( let mut array_50 = object.key("parameterValues").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_value( &mut object_52, @@ -259,6 +266,7 @@ pub fn serialize_structure_crate_input_query_objects_input( object.key("pipelineId").string(var_53.as_str()); } if let Some(var_54) = &input.query { + #[allow(unused_mut)] let mut object_55 = object.key("query").start_object(); crate::json_ser::serialize_structure_crate_model_query(&mut object_55, var_54)?; object_55.finish(); @@ -308,6 +316,7 @@ pub fn serialize_structure_crate_input_report_task_progress_input( let mut array_65 = object.key("fields").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_field(&mut object_67, item_66)?; object_67.finish(); @@ -389,6 +398,7 @@ pub fn serialize_structure_crate_input_validate_pipeline_definition_input( let mut array_83 = object.key("pipelineObjects").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_object( &mut object_85, @@ -403,6 +413,7 @@ pub fn serialize_structure_crate_input_validate_pipeline_definition_input( let mut array_87 = object.key("parameterObjects").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_object( &mut object_89, @@ -417,6 +428,7 @@ pub fn serialize_structure_crate_input_validate_pipeline_definition_input( let mut array_91 = object.key("parameterValues").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_value( &mut object_93, @@ -483,6 +495,7 @@ pub fn serialize_structure_crate_model_pipeline_object( let mut array_103 = object.key("fields").start_array(); for item_104 in var_102 { { + #[allow(unused_mut)] let mut object_105 = array_103.value().start_object(); crate::json_ser::serialize_structure_crate_model_field(&mut object_105, item_104)?; object_105.finish(); @@ -504,6 +517,7 @@ pub fn serialize_structure_crate_model_parameter_object( let mut array_108 = object.key("attributes").start_array(); for item_109 in var_107 { { + #[allow(unused_mut)] let mut object_110 = array_108.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_attribute( &mut object_110, @@ -525,6 +539,7 @@ pub fn serialize_structure_crate_model_query( let mut array_112 = object.key("selectors").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_selector( &mut object_114, @@ -575,6 +590,7 @@ pub fn serialize_structure_crate_model_selector( object.key("fieldName").string(var_120.as_str()); } if let Some(var_121) = &input.operator { + #[allow(unused_mut)] let mut object_122 = object.key("operator").start_object(); crate::json_ser::serialize_structure_crate_model_operator(&mut object_122, var_121)?; object_122.finish(); diff --git a/sdk/datasync/src/json_ser.rs b/sdk/datasync/src/json_ser.rs index 4725ba326dba..d769ab73f69b 100644 --- a/sdk/datasync/src/json_ser.rs +++ b/sdk/datasync/src/json_ser.rs @@ -23,6 +23,7 @@ pub fn serialize_structure_crate_input_create_agent_input( let mut array_5 = object.key("Tags").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_7, @@ -68,6 +69,7 @@ pub fn serialize_structure_crate_input_create_location_efs_input( object.key("EfsFilesystemArn").string(var_16.as_str()); } if let Some(var_17) = &input.ec2_config { + #[allow(unused_mut)] let mut object_18 = object.key("Ec2Config").start_object(); crate::json_ser::serialize_structure_crate_model_ec2_config(&mut object_18, var_17)?; object_18.finish(); @@ -76,6 +78,7 @@ pub fn serialize_structure_crate_input_create_location_efs_input( let mut array_20 = object.key("Tags").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_22, @@ -123,6 +126,7 @@ pub fn serialize_structure_crate_input_create_location_fsx_lustre_input( let mut array_32 = object.key("Tags").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_34, @@ -141,6 +145,7 @@ pub fn serialize_structure_crate_input_create_location_fsx_ontap_input( input: &crate::input::CreateLocationFsxOntapInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_35) = &input.protocol { + #[allow(unused_mut)] let mut object_36 = object.key("Protocol").start_object(); crate::json_ser::serialize_structure_crate_model_fsx_protocol(&mut object_36, var_35)?; object_36.finish(); @@ -166,6 +171,7 @@ pub fn serialize_structure_crate_input_create_location_fsx_ontap_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_45, @@ -187,6 +193,7 @@ pub fn serialize_structure_crate_input_create_location_fsx_open_zfs_input( object.key("FsxFilesystemArn").string(var_46.as_str()); } if let Some(var_47) = &input.protocol { + #[allow(unused_mut)] let mut object_48 = object.key("Protocol").start_object(); crate::json_ser::serialize_structure_crate_model_fsx_protocol(&mut object_48, var_47)?; object_48.finish(); @@ -207,6 +214,7 @@ pub fn serialize_structure_crate_input_create_location_fsx_open_zfs_input( let mut array_54 = object.key("Tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_56, @@ -243,6 +251,7 @@ pub fn serialize_structure_crate_input_create_location_fsx_windows_input( let mut array_63 = object.key("Tags").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_65, @@ -276,6 +285,7 @@ pub fn serialize_structure_crate_input_create_location_hdfs_input( let mut array_71 = object.key("NameNodes").start_array(); for item_72 in var_70 { { + #[allow(unused_mut)] let mut object_73 = array_71.value().start_object(); crate::json_ser::serialize_structure_crate_model_hdfs_name_node( &mut object_73, @@ -302,6 +312,7 @@ pub fn serialize_structure_crate_input_create_location_hdfs_input( object.key("KmsKeyProviderUri").string(var_76.as_str()); } if let Some(var_77) = &input.qop_configuration { + #[allow(unused_mut)] let mut object_78 = object.key("QopConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_qop_configuration(&mut object_78, var_77)?; object_78.finish(); @@ -338,6 +349,7 @@ pub fn serialize_structure_crate_input_create_location_hdfs_input( let mut array_88 = object.key("Tags").start_array(); for item_89 in var_87 { { + #[allow(unused_mut)] let mut object_90 = array_88.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_90, @@ -362,11 +374,13 @@ pub fn serialize_structure_crate_input_create_location_nfs_input( object.key("ServerHostname").string(var_92.as_str()); } if let Some(var_93) = &input.on_prem_config { + #[allow(unused_mut)] let mut object_94 = object.key("OnPremConfig").start_object(); crate::json_ser::serialize_structure_crate_model_on_prem_config(&mut object_94, var_93)?; object_94.finish(); } if let Some(var_95) = &input.mount_options { + #[allow(unused_mut)] let mut object_96 = object.key("MountOptions").start_object(); crate::json_ser::serialize_structure_crate_model_nfs_mount_options(&mut object_96, var_95)?; object_96.finish(); @@ -375,6 +389,7 @@ pub fn serialize_structure_crate_input_create_location_nfs_input( let mut array_98 = object.key("Tags").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_100, @@ -429,6 +444,7 @@ pub fn serialize_structure_crate_input_create_location_object_storage_input( let mut array_112 = object.key("Tags").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_114, @@ -456,6 +472,7 @@ pub fn serialize_structure_crate_input_create_location_s3_input( object.key("S3StorageClass").string(var_117.as_str()); } if let Some(var_118) = &input.s3_config { + #[allow(unused_mut)] let mut object_119 = object.key("S3Config").start_object(); crate::json_ser::serialize_structure_crate_model_s3_config(&mut object_119, var_118)?; object_119.finish(); @@ -473,6 +490,7 @@ pub fn serialize_structure_crate_input_create_location_s3_input( let mut array_124 = object.key("Tags").start_array(); for item_125 in var_123 { { + #[allow(unused_mut)] let mut object_126 = array_124.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_126, @@ -515,6 +533,7 @@ pub fn serialize_structure_crate_input_create_location_smb_input( array_133.finish(); } if let Some(var_135) = &input.mount_options { + #[allow(unused_mut)] let mut object_136 = object.key("MountOptions").start_object(); crate::json_ser::serialize_structure_crate_model_smb_mount_options( &mut object_136, @@ -526,6 +545,7 @@ pub fn serialize_structure_crate_input_create_location_smb_input( let mut array_138 = object.key("Tags").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_140, @@ -558,6 +578,7 @@ pub fn serialize_structure_crate_input_create_task_input( object.key("Name").string(var_144.as_str()); } if let Some(var_145) = &input.options { + #[allow(unused_mut)] let mut object_146 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_options(&mut object_146, var_145)?; object_146.finish(); @@ -566,6 +587,7 @@ pub fn serialize_structure_crate_input_create_task_input( let mut array_148 = object.key("Excludes").start_array(); for item_149 in var_147 { { + #[allow(unused_mut)] let mut object_150 = array_148.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_rule( &mut object_150, @@ -577,6 +599,7 @@ pub fn serialize_structure_crate_input_create_task_input( array_148.finish(); } if let Some(var_151) = &input.schedule { + #[allow(unused_mut)] let mut object_152 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_task_schedule(&mut object_152, var_151)?; object_152.finish(); @@ -585,6 +608,7 @@ pub fn serialize_structure_crate_input_create_task_input( let mut array_154 = object.key("Tags").start_array(); for item_155 in var_153 { { + #[allow(unused_mut)] let mut object_156 = array_154.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_156, @@ -599,6 +623,7 @@ pub fn serialize_structure_crate_input_create_task_input( let mut array_158 = object.key("Includes").start_array(); for item_159 in var_157 { { + #[allow(unused_mut)] let mut object_160 = array_158.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_rule( &mut object_160, @@ -805,6 +830,7 @@ pub fn serialize_structure_crate_input_list_locations_input( let mut array_182 = object.key("Filters").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_location_filter( &mut object_184, @@ -873,6 +899,7 @@ pub fn serialize_structure_crate_input_list_tasks_input( let mut array_194 = object.key("Filters").start_array(); for item_195 in var_193 { { + #[allow(unused_mut)] let mut object_196 = array_194.value().start_object(); crate::json_ser::serialize_structure_crate_model_task_filter( &mut object_196, @@ -894,6 +921,7 @@ pub fn serialize_structure_crate_input_start_task_execution_input( object.key("TaskArn").string(var_197.as_str()); } if let Some(var_198) = &input.override_options { + #[allow(unused_mut)] let mut object_199 = object.key("OverrideOptions").start_object(); crate::json_ser::serialize_structure_crate_model_options(&mut object_199, var_198)?; object_199.finish(); @@ -902,6 +930,7 @@ pub fn serialize_structure_crate_input_start_task_execution_input( let mut array_201 = object.key("Includes").start_array(); for item_202 in var_200 { { + #[allow(unused_mut)] let mut object_203 = array_201.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_rule( &mut object_203, @@ -916,6 +945,7 @@ pub fn serialize_structure_crate_input_start_task_execution_input( let mut array_205 = object.key("Excludes").start_array(); for item_206 in var_204 { { + #[allow(unused_mut)] let mut object_207 = array_205.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_rule( &mut object_207, @@ -940,6 +970,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_210 = object.key("Tags").start_array(); for item_211 in var_209 { { + #[allow(unused_mut)] let mut object_212 = array_210.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_list_entry( &mut object_212, @@ -999,6 +1030,7 @@ pub fn serialize_structure_crate_input_update_location_hdfs_input( let mut array_222 = object.key("NameNodes").start_array(); for item_223 in var_221 { { + #[allow(unused_mut)] let mut object_224 = array_222.value().start_object(); crate::json_ser::serialize_structure_crate_model_hdfs_name_node( &mut object_224, @@ -1025,6 +1057,7 @@ pub fn serialize_structure_crate_input_update_location_hdfs_input( object.key("KmsKeyProviderUri").string(var_227.as_str()); } if let Some(var_228) = &input.qop_configuration { + #[allow(unused_mut)] let mut object_229 = object.key("QopConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_qop_configuration( &mut object_229, @@ -1074,11 +1107,13 @@ pub fn serialize_structure_crate_input_update_location_nfs_input( object.key("Subdirectory").string(var_239.as_str()); } if let Some(var_240) = &input.on_prem_config { + #[allow(unused_mut)] let mut object_241 = object.key("OnPremConfig").start_object(); crate::json_ser::serialize_structure_crate_model_on_prem_config(&mut object_241, var_240)?; object_241.finish(); } if let Some(var_242) = &input.mount_options { + #[allow(unused_mut)] let mut object_243 = object.key("MountOptions").start_object(); crate::json_ser::serialize_structure_crate_model_nfs_mount_options( &mut object_243, @@ -1155,6 +1190,7 @@ pub fn serialize_structure_crate_input_update_location_smb_input( array_259.finish(); } if let Some(var_261) = &input.mount_options { + #[allow(unused_mut)] let mut object_262 = object.key("MountOptions").start_object(); crate::json_ser::serialize_structure_crate_model_smb_mount_options( &mut object_262, @@ -1173,6 +1209,7 @@ pub fn serialize_structure_crate_input_update_task_input( object.key("TaskArn").string(var_263.as_str()); } if let Some(var_264) = &input.options { + #[allow(unused_mut)] let mut object_265 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_options(&mut object_265, var_264)?; object_265.finish(); @@ -1181,6 +1218,7 @@ pub fn serialize_structure_crate_input_update_task_input( let mut array_267 = object.key("Excludes").start_array(); for item_268 in var_266 { { + #[allow(unused_mut)] let mut object_269 = array_267.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_rule( &mut object_269, @@ -1192,6 +1230,7 @@ pub fn serialize_structure_crate_input_update_task_input( array_267.finish(); } if let Some(var_270) = &input.schedule { + #[allow(unused_mut)] let mut object_271 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_task_schedule(&mut object_271, var_270)?; object_271.finish(); @@ -1206,6 +1245,7 @@ pub fn serialize_structure_crate_input_update_task_input( let mut array_275 = object.key("Includes").start_array(); for item_276 in var_274 { { + #[allow(unused_mut)] let mut object_277 = array_275.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_rule( &mut object_277, @@ -1227,6 +1267,7 @@ pub fn serialize_structure_crate_input_update_task_execution_input( object.key("TaskExecutionArn").string(var_278.as_str()); } if let Some(var_279) = &input.options { + #[allow(unused_mut)] let mut object_280 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_options(&mut object_280, var_279)?; object_280.finish(); @@ -1271,6 +1312,7 @@ pub fn serialize_structure_crate_model_fsx_protocol( input: &crate::model::FsxProtocol, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_287) = &input.nfs { + #[allow(unused_mut)] let mut object_288 = object.key("NFS").start_object(); crate::json_ser::serialize_structure_crate_model_fsx_protocol_nfs( &mut object_288, @@ -1279,6 +1321,7 @@ pub fn serialize_structure_crate_model_fsx_protocol( object_288.finish(); } if let Some(var_289) = &input.smb { + #[allow(unused_mut)] let mut object_290 = object.key("SMB").start_object(); crate::json_ser::serialize_structure_crate_model_fsx_protocol_smb( &mut object_290, @@ -1495,6 +1538,7 @@ pub fn serialize_structure_crate_model_fsx_protocol_nfs( input: &crate::model::FsxProtocolNfs, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_329) = &input.mount_options { + #[allow(unused_mut)] let mut object_330 = object.key("MountOptions").start_object(); crate::json_ser::serialize_structure_crate_model_nfs_mount_options( &mut object_330, @@ -1513,6 +1557,7 @@ pub fn serialize_structure_crate_model_fsx_protocol_smb( object.key("Domain").string(var_331.as_str()); } if let Some(var_332) = &input.mount_options { + #[allow(unused_mut)] let mut object_333 = object.key("MountOptions").start_object(); crate::json_ser::serialize_structure_crate_model_smb_mount_options( &mut object_333, diff --git a/sdk/dax/src/json_ser.rs b/sdk/dax/src/json_ser.rs index c67f8b22cffe..6e1aa6cb3b71 100644 --- a/sdk/dax/src/json_ser.rs +++ b/sdk/dax/src/json_ser.rs @@ -57,6 +57,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_16 = object.key("Tags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_18, item_17)?; object_18.finish(); @@ -65,6 +66,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( array_16.finish(); } if let Some(var_19) = &input.sse_specification { + #[allow(unused_mut)] let mut object_20 = object.key("SSESpecification").start_object(); crate::json_ser::serialize_structure_crate_model_sse_specification(&mut object_20, var_19)?; object_20.finish(); @@ -389,6 +391,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_77 = object.key("Tags").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_79, item_78)?; object_79.finish(); @@ -467,6 +470,7 @@ pub fn serialize_structure_crate_input_update_parameter_group_input( let mut array_95 = object.key("ParameterNameValues").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_name_value( &mut object_97, diff --git a/sdk/detective/src/json_ser.rs b/sdk/detective/src/json_ser.rs index 28497e0acbf2..5479d9f9b2c9 100644 --- a/sdk/detective/src/json_ser.rs +++ b/sdk/detective/src/json_ser.rs @@ -49,6 +49,7 @@ pub fn serialize_structure_crate_input_create_graph_input( input: &crate::input::CreateGraphInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("Tags").start_object(); for (key_11, value_12) in var_9 { { @@ -68,6 +69,7 @@ pub fn serialize_structure_crate_input_create_members_input( let mut array_14 = object.key("Accounts").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_account(&mut object_16, item_15)?; object_16.finish(); @@ -281,6 +283,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.tags { + #[allow(unused_mut)] let mut object_47 = object.key("Tags").start_object(); for (key_48, value_49) in var_46 { { diff --git a/sdk/devicefarm/src/json_ser.rs b/sdk/devicefarm/src/json_ser.rs index 97fa03340633..415113aa2d98 100644 --- a/sdk/devicefarm/src/json_ser.rs +++ b/sdk/devicefarm/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_device_pool_input( let mut array_5 = object.key("rules").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_7, item_6)?; object_7.finish(); @@ -141,6 +142,7 @@ pub fn serialize_structure_crate_input_create_project_input( ); } if let Some(var_28) = &input.vpc_config { + #[allow(unused_mut)] let mut object_29 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_29, var_28)?; object_29.finish(); @@ -180,6 +182,7 @@ pub fn serialize_structure_crate_input_create_remote_access_session_input( object.key("clientId").string(var_38.as_str()); } if let Some(var_39) = &input.configuration { + #[allow(unused_mut)] let mut object_40 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_create_remote_access_session_configuration(&mut object_40, var_39)?; object_40.finish(); @@ -204,6 +207,7 @@ pub fn serialize_structure_crate_input_create_test_grid_project_input( object.key("description").string(var_44.as_str()); } if let Some(var_45) = &input.vpc_config { + #[allow(unused_mut)] let mut object_46 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_test_grid_vpc_config( &mut object_46, @@ -404,11 +408,13 @@ pub fn serialize_structure_crate_input_get_device_pool_compatibility_input( object.key("testType").string(var_71.as_str()); } if let Some(var_72) = &input.test { + #[allow(unused_mut)] let mut object_73 = object.key("test").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_run_test(&mut object_73, var_72)?; object_73.finish(); } if let Some(var_74) = &input.configuration { + #[allow(unused_mut)] let mut object_75 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_run_configuration( &mut object_75, @@ -630,6 +636,7 @@ pub fn serialize_structure_crate_input_list_devices_input( let mut array_104 = object.key("filters").start_array(); for item_105 in var_103 { { + #[allow(unused_mut)] let mut object_106 = array_104.value().start_object(); crate::json_ser::serialize_structure_crate_model_device_filter( &mut object_106, @@ -999,6 +1006,7 @@ pub fn serialize_structure_crate_input_schedule_run_input( object.key("devicePoolArn").string(var_161.as_str()); } if let Some(var_162) = &input.device_selection_configuration { + #[allow(unused_mut)] let mut object_163 = object.key("deviceSelectionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_device_selection_configuration( &mut object_163, @@ -1010,6 +1018,7 @@ pub fn serialize_structure_crate_input_schedule_run_input( object.key("name").string(var_164.as_str()); } if let Some(var_165) = &input.test { + #[allow(unused_mut)] let mut object_166 = object.key("test").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_run_test( &mut object_166, @@ -1018,6 +1027,7 @@ pub fn serialize_structure_crate_input_schedule_run_input( object_166.finish(); } if let Some(var_167) = &input.configuration { + #[allow(unused_mut)] let mut object_168 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_run_configuration( &mut object_168, @@ -1026,6 +1036,7 @@ pub fn serialize_structure_crate_input_schedule_run_input( object_168.finish(); } if let Some(var_169) = &input.execution_configuration { + #[allow(unused_mut)] let mut object_170 = object.key("executionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_execution_configuration( &mut object_170, @@ -1077,6 +1088,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_176 = object.key("Tags").start_array(); for item_177 in var_175 { { + #[allow(unused_mut)] let mut object_178 = array_176.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_178, item_177)?; object_178.finish(); @@ -1145,6 +1157,7 @@ pub fn serialize_structure_crate_input_update_device_pool_input( let mut array_192 = object.key("rules").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_194, item_193)?; object_194.finish(); @@ -1279,6 +1292,7 @@ pub fn serialize_structure_crate_input_update_project_input( ); } if let Some(var_218) = &input.vpc_config { + #[allow(unused_mut)] let mut object_219 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_219, var_218)?; object_219.finish(); @@ -1300,6 +1314,7 @@ pub fn serialize_structure_crate_input_update_test_grid_project_input( object.key("description").string(var_222.as_str()); } if let Some(var_223) = &input.vpc_config { + #[allow(unused_mut)] let mut object_224 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_test_grid_vpc_config( &mut object_224, @@ -1461,6 +1476,7 @@ pub fn serialize_structure_crate_model_schedule_run_test( object.key("filter").string(var_258.as_str()); } if let Some(var_259) = &input.parameters { + #[allow(unused_mut)] let mut object_260 = object.key("parameters").start_object(); for (key_261, value_262) in var_259 { { @@ -1486,6 +1502,7 @@ pub fn serialize_structure_crate_model_schedule_run_configuration( object.key("locale").string(var_265.as_str()); } if let Some(var_266) = &input.location { + #[allow(unused_mut)] let mut object_267 = object.key("location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_267, var_266)?; object_267.finish(); @@ -1500,6 +1517,7 @@ pub fn serialize_structure_crate_model_schedule_run_configuration( array_269.finish(); } if let Some(var_271) = &input.customer_artifact_paths { + #[allow(unused_mut)] let mut object_272 = object.key("customerArtifactPaths").start_object(); crate::json_ser::serialize_structure_crate_model_customer_artifact_paths( &mut object_272, @@ -1508,6 +1526,7 @@ pub fn serialize_structure_crate_model_schedule_run_configuration( object_272.finish(); } if let Some(var_273) = &input.radios { + #[allow(unused_mut)] let mut object_274 = object.key("radios").start_object(); crate::json_ser::serialize_structure_crate_model_radios(&mut object_274, var_273)?; object_274.finish(); @@ -1557,6 +1576,7 @@ pub fn serialize_structure_crate_model_device_selection_configuration( let mut array_285 = object.key("filters").start_array(); for item_286 in var_284 { { + #[allow(unused_mut)] let mut object_287 = array_285.value().start_object(); crate::json_ser::serialize_structure_crate_model_device_filter( &mut object_287, diff --git a/sdk/devopsguru/src/json_ser.rs b/sdk/devopsguru/src/json_ser.rs index 3e581c081580..15d3a2af7291 100644 --- a/sdk/devopsguru/src/json_ser.rs +++ b/sdk/devopsguru/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_add_notification_channel_input( input: &crate::input::AddNotificationChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.config { + #[allow(unused_mut)] let mut object_2 = object.key("Config").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel_config( &mut object_2, @@ -157,6 +158,7 @@ pub fn serialize_structure_crate_input_list_anomalies_for_insight_input( object.key("NextToken").string(var_31.as_str()); } if let Some(var_32) = &input.start_time_range { + #[allow(unused_mut)] let mut object_33 = object.key("StartTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_start_time_range(&mut object_33, var_32)?; object_33.finish(); @@ -191,6 +193,7 @@ pub fn serialize_structure_crate_input_list_events_input( object.key("AccountId").string(var_37.as_str()); } if let Some(var_38) = &input.filters { + #[allow(unused_mut)] let mut object_39 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_events_filters( &mut object_39, @@ -224,6 +227,7 @@ pub fn serialize_structure_crate_input_list_insights_input( object.key("NextToken").string(var_43.as_str()); } if let Some(var_44) = &input.status_filter { + #[allow(unused_mut)] let mut object_45 = object.key("StatusFilter").start_object(); crate::json_ser::serialize_structure_crate_model_list_insights_status_filter( &mut object_45, @@ -239,6 +243,7 @@ pub fn serialize_structure_crate_input_list_monitored_resources_input( input: &crate::input::ListMonitoredResourcesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.filters { + #[allow(unused_mut)] let mut object_47 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_monitored_resources_filters( &mut object_47, @@ -300,6 +305,7 @@ pub fn serialize_structure_crate_input_list_organization_insights_input( array_57.finish(); } if let Some(var_59) = &input.status_filter { + #[allow(unused_mut)] let mut object_60 = object.key("StatusFilter").start_object(); crate::json_ser::serialize_structure_crate_model_list_insights_status_filter( &mut object_60, @@ -334,6 +340,7 @@ pub fn serialize_structure_crate_input_put_feedback_input( input: &crate::input::PutFeedbackInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.insight_feedback { + #[allow(unused_mut)] let mut object_66 = object.key("InsightFeedback").start_object(); crate::json_ser::serialize_structure_crate_model_insight_feedback(&mut object_66, var_65)?; object_66.finish(); @@ -346,6 +353,7 @@ pub fn serialize_structure_crate_input_search_insights_input( input: &crate::input::SearchInsightsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_67) = &input.filters { + #[allow(unused_mut)] let mut object_68 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_search_insights_filters( &mut object_68, @@ -363,6 +371,7 @@ pub fn serialize_structure_crate_input_search_insights_input( object.key("NextToken").string(var_70.as_str()); } if let Some(var_71) = &input.start_time_range { + #[allow(unused_mut)] let mut object_72 = object.key("StartTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_start_time_range(&mut object_72, var_71)?; object_72.finish(); @@ -387,6 +396,7 @@ pub fn serialize_structure_crate_input_search_organization_insights_input( array_75.finish(); } if let Some(var_77) = &input.filters { + #[allow(unused_mut)] let mut object_78 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_search_organization_insights_filters( &mut object_78, @@ -404,6 +414,7 @@ pub fn serialize_structure_crate_input_search_organization_insights_input( object.key("NextToken").string(var_80.as_str()); } if let Some(var_81) = &input.start_time_range { + #[allow(unused_mut)] let mut object_82 = object.key("StartTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_start_time_range(&mut object_82, var_81)?; object_82.finish(); @@ -422,6 +433,7 @@ pub fn serialize_structure_crate_input_start_cost_estimation_input( object.key("ClientToken").string(var_84.as_str()); } if let Some(var_85) = &input.resource_collection { + #[allow(unused_mut)] let mut object_86 = object.key("ResourceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_cost_estimation_resource_collection_filter(&mut object_86, var_85)?; object_86.finish(); @@ -434,6 +446,7 @@ pub fn serialize_structure_crate_input_update_event_sources_config_input( input: &crate::input::UpdateEventSourcesConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_87) = &input.event_sources { + #[allow(unused_mut)] let mut object_88 = object.key("EventSources").start_object(); crate::json_ser::serialize_structure_crate_model_event_sources_config( &mut object_88, @@ -452,6 +465,7 @@ pub fn serialize_structure_crate_input_update_resource_collection_input( object.key("Action").string(var_89.as_str()); } if let Some(var_90) = &input.resource_collection { + #[allow(unused_mut)] let mut object_91 = object.key("ResourceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_update_resource_collection_filter( &mut object_91, @@ -467,6 +481,7 @@ pub fn serialize_structure_crate_input_update_service_integration_input( input: &crate::input::UpdateServiceIntegrationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_92) = &input.service_integration { + #[allow(unused_mut)] let mut object_93 = object.key("ServiceIntegration").start_object(); crate::json_ser::serialize_structure_crate_model_update_service_integration_config( &mut object_93, @@ -482,6 +497,7 @@ pub fn serialize_structure_crate_model_notification_channel_config( input: &crate::model::NotificationChannelConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_94) = &input.sns { + #[allow(unused_mut)] let mut object_95 = object.key("Sns").start_object(); crate::json_ser::serialize_structure_crate_model_sns_channel_config( &mut object_95, @@ -490,6 +506,7 @@ pub fn serialize_structure_crate_model_notification_channel_config( object_95.finish(); } if let Some(var_96) = &input.filters { + #[allow(unused_mut)] let mut object_97 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_notification_filter_config( &mut object_97, @@ -525,6 +542,7 @@ pub fn serialize_structure_crate_model_list_events_filters( object.key("InsightId").string(var_100.as_str()); } if let Some(var_101) = &input.event_time_range { + #[allow(unused_mut)] let mut object_102 = object.key("EventTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_event_time_range( &mut object_102, @@ -542,6 +560,7 @@ pub fn serialize_structure_crate_model_list_events_filters( object.key("DataSource").string(var_105.as_str()); } if let Some(var_106) = &input.resource_collection { + #[allow(unused_mut)] let mut object_107 = object.key("ResourceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_resource_collection( &mut object_107, @@ -557,6 +576,7 @@ pub fn serialize_structure_crate_model_list_insights_status_filter( input: &crate::model::ListInsightsStatusFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_108) = &input.ongoing { + #[allow(unused_mut)] let mut object_109 = object.key("Ongoing").start_object(); crate::json_ser::serialize_structure_crate_model_list_insights_ongoing_status_filter( &mut object_109, @@ -565,6 +585,7 @@ pub fn serialize_structure_crate_model_list_insights_status_filter( object_109.finish(); } if let Some(var_110) = &input.closed { + #[allow(unused_mut)] let mut object_111 = object.key("Closed").start_object(); crate::json_ser::serialize_structure_crate_model_list_insights_closed_status_filter( &mut object_111, @@ -573,6 +594,7 @@ pub fn serialize_structure_crate_model_list_insights_status_filter( object_111.finish(); } if let Some(var_112) = &input.any { + #[allow(unused_mut)] let mut object_113 = object.key("Any").start_object(); crate::json_ser::serialize_structure_crate_model_list_insights_any_status_filter( &mut object_113, @@ -638,6 +660,7 @@ pub fn serialize_structure_crate_model_search_insights_filters( array_124.finish(); } if let Some(var_126) = &input.resource_collection { + #[allow(unused_mut)] let mut object_127 = object.key("ResourceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_resource_collection( &mut object_127, @@ -646,6 +669,7 @@ pub fn serialize_structure_crate_model_search_insights_filters( object_127.finish(); } if let Some(var_128) = &input.service_collection { + #[allow(unused_mut)] let mut object_129 = object.key("ServiceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_service_collection( &mut object_129, @@ -679,6 +703,7 @@ pub fn serialize_structure_crate_model_search_organization_insights_filters( array_134.finish(); } if let Some(var_136) = &input.resource_collection { + #[allow(unused_mut)] let mut object_137 = object.key("ResourceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_resource_collection( &mut object_137, @@ -687,6 +712,7 @@ pub fn serialize_structure_crate_model_search_organization_insights_filters( object_137.finish(); } if let Some(var_138) = &input.service_collection { + #[allow(unused_mut)] let mut object_139 = object.key("ServiceCollection").start_object(); crate::json_ser::serialize_structure_crate_model_service_collection( &mut object_139, @@ -702,6 +728,7 @@ pub fn serialize_structure_crate_model_cost_estimation_resource_collection_filte input: &crate::model::CostEstimationResourceCollectionFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_140) = &input.cloud_formation { + #[allow(unused_mut)] let mut object_141 = object.key("CloudFormation").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_formation_cost_estimation_resource_collection_filter(&mut object_141, var_140)?; object_141.finish(); @@ -710,6 +737,7 @@ pub fn serialize_structure_crate_model_cost_estimation_resource_collection_filte let mut array_143 = object.key("Tags").start_array(); for item_144 in var_142 { { + #[allow(unused_mut)] let mut object_145 = array_143.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_cost_estimation_resource_collection_filter(&mut object_145, item_144)?; object_145.finish(); @@ -725,6 +753,7 @@ pub fn serialize_structure_crate_model_event_sources_config( input: &crate::model::EventSourcesConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_146) = &input.amazon_code_guru_profiler { + #[allow(unused_mut)] let mut object_147 = object.key("AmazonCodeGuruProfiler").start_object(); crate::json_ser::serialize_structure_crate_model_amazon_code_guru_profiler_integration( &mut object_147, @@ -740,6 +769,7 @@ pub fn serialize_structure_crate_model_update_resource_collection_filter( input: &crate::model::UpdateResourceCollectionFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_148) = &input.cloud_formation { + #[allow(unused_mut)] let mut object_149 = object.key("CloudFormation").start_object(); crate::json_ser::serialize_structure_crate_model_update_cloud_formation_collection_filter( &mut object_149, @@ -751,6 +781,7 @@ pub fn serialize_structure_crate_model_update_resource_collection_filter( let mut array_151 = object.key("Tags").start_array(); for item_152 in var_150 { { + #[allow(unused_mut)] let mut object_153 = array_151.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_tag_collection_filter( &mut object_153, @@ -769,6 +800,7 @@ pub fn serialize_structure_crate_model_update_service_integration_config( input: &crate::model::UpdateServiceIntegrationConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_154) = &input.ops_center { + #[allow(unused_mut)] let mut object_155 = object.key("OpsCenter").start_object(); crate::json_ser::serialize_structure_crate_model_ops_center_integration_config( &mut object_155, @@ -777,6 +809,7 @@ pub fn serialize_structure_crate_model_update_service_integration_config( object_155.finish(); } if let Some(var_156) = &input.logs_anomaly_detection { + #[allow(unused_mut)] let mut object_157 = object.key("LogsAnomalyDetection").start_object(); crate::json_ser::serialize_structure_crate_model_logs_anomaly_detection_integration_config( &mut object_157, @@ -844,6 +877,7 @@ pub fn serialize_structure_crate_model_resource_collection( input: &crate::model::ResourceCollection, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_167) = &input.cloud_formation { + #[allow(unused_mut)] let mut object_168 = object.key("CloudFormation").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_formation_collection( &mut object_168, @@ -855,6 +889,7 @@ pub fn serialize_structure_crate_model_resource_collection( let mut array_170 = object.key("Tags").start_array(); for item_171 in var_169 { { + #[allow(unused_mut)] let mut object_172 = array_170.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_collection( &mut object_172, @@ -886,6 +921,7 @@ pub fn serialize_structure_crate_model_list_insights_closed_status_filter( object.key("Type").string(var_174.as_str()); } if let Some(var_175) = &input.end_time_range { + #[allow(unused_mut)] let mut object_176 = object.key("EndTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_end_time_range(&mut object_176, var_175)?; object_176.finish(); @@ -901,6 +937,7 @@ pub fn serialize_structure_crate_model_list_insights_any_status_filter( object.key("Type").string(var_177.as_str()); } if let Some(var_178) = &input.start_time_range { + #[allow(unused_mut)] let mut object_179 = object.key("StartTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_start_time_range( &mut object_179, diff --git a/sdk/directconnect/src/json_ser.rs b/sdk/directconnect/src/json_ser.rs index aa131c394aaf..84d52c9233af 100644 --- a/sdk/directconnect/src/json_ser.rs +++ b/sdk/directconnect/src/json_ser.rs @@ -20,6 +20,7 @@ pub fn serialize_structure_crate_input_accept_direct_connect_gateway_association .start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_7, @@ -84,6 +85,7 @@ pub fn serialize_structure_crate_input_allocate_hosted_connection_input( let mut array_17 = object.key("tags").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_19, item_18)?; object_19.finish(); @@ -105,6 +107,7 @@ pub fn serialize_structure_crate_input_allocate_private_virtual_interface_input( object.key("ownerAccount").string(var_21.as_str()); } if let Some(var_22) = &input.new_private_virtual_interface_allocation { + #[allow(unused_mut)] let mut object_23 = object .key("newPrivateVirtualInterfaceAllocation") .start_object(); @@ -128,6 +131,7 @@ pub fn serialize_structure_crate_input_allocate_public_virtual_interface_input( object.key("ownerAccount").string(var_25.as_str()); } if let Some(var_26) = &input.new_public_virtual_interface_allocation { + #[allow(unused_mut)] let mut object_27 = object .key("newPublicVirtualInterfaceAllocation") .start_object(); @@ -151,6 +155,7 @@ pub fn serialize_structure_crate_input_allocate_transit_virtual_interface_input( object.key("ownerAccount").string(var_29.as_str()); } if let Some(var_30) = &input.new_transit_virtual_interface_allocation { + #[allow(unused_mut)] let mut object_31 = object .key("newTransitVirtualInterfaceAllocation") .start_object(); @@ -288,6 +293,7 @@ pub fn serialize_structure_crate_input_create_bgp_peer_input( object.key("virtualInterfaceId").string(var_50.as_str()); } if let Some(var_51) = &input.new_bgp_peer { + #[allow(unused_mut)] let mut object_52 = object.key("newBGPPeer").start_object(); crate::json_ser::serialize_structure_crate_model_new_bgp_peer(&mut object_52, var_51)?; object_52.finish(); @@ -315,6 +321,7 @@ pub fn serialize_structure_crate_input_create_connection_input( let mut array_58 = object.key("tags").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_60, item_59)?; object_60.finish(); @@ -365,6 +372,7 @@ pub fn serialize_structure_crate_input_create_direct_connect_gateway_association .start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_70, @@ -402,6 +410,7 @@ pub fn serialize_structure_crate_input_create_direct_connect_gateway_association .start_array(); for item_77 in var_75 { { + #[allow(unused_mut)] let mut object_78 = array_76.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_78, @@ -418,6 +427,7 @@ pub fn serialize_structure_crate_input_create_direct_connect_gateway_association .start_array(); for item_81 in var_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_82, @@ -451,6 +461,7 @@ pub fn serialize_structure_crate_input_create_interconnect_input( let mut array_88 = object.key("tags").start_array(); for item_89 in var_87 { { + #[allow(unused_mut)] let mut object_90 = array_88.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_90, item_89)?; object_90.finish(); @@ -490,6 +501,7 @@ pub fn serialize_structure_crate_input_create_lag_input( let mut array_97 = object.key("tags").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_99, item_98)?; object_99.finish(); @@ -501,6 +513,7 @@ pub fn serialize_structure_crate_input_create_lag_input( let mut array_101 = object.key("childConnectionTags").start_array(); for item_102 in var_100 { { + #[allow(unused_mut)] let mut object_103 = array_101.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_103, item_102)?; object_103.finish(); @@ -525,6 +538,7 @@ pub fn serialize_structure_crate_input_create_private_virtual_interface_input( object.key("connectionId").string(var_106.as_str()); } if let Some(var_107) = &input.new_private_virtual_interface { + #[allow(unused_mut)] let mut object_108 = object.key("newPrivateVirtualInterface").start_object(); crate::json_ser::serialize_structure_crate_model_new_private_virtual_interface( &mut object_108, @@ -543,6 +557,7 @@ pub fn serialize_structure_crate_input_create_public_virtual_interface_input( object.key("connectionId").string(var_109.as_str()); } if let Some(var_110) = &input.new_public_virtual_interface { + #[allow(unused_mut)] let mut object_111 = object.key("newPublicVirtualInterface").start_object(); crate::json_ser::serialize_structure_crate_model_new_public_virtual_interface( &mut object_111, @@ -561,6 +576,7 @@ pub fn serialize_structure_crate_input_create_transit_virtual_interface_input( object.key("connectionId").string(var_112.as_str()); } if let Some(var_113) = &input.new_transit_virtual_interface { + #[allow(unused_mut)] let mut object_114 = object.key("newTransitVirtualInterface").start_object(); crate::json_ser::serialize_structure_crate_model_new_transit_virtual_interface( &mut object_114, @@ -1021,6 +1037,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_186 = object.key("tags").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_188, item_187)?; object_188.finish(); @@ -1096,6 +1113,7 @@ pub fn serialize_structure_crate_input_update_direct_connect_gateway_association .start_array(); for item_201 in var_199 { { + #[allow(unused_mut)] let mut object_202 = array_200.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_202, @@ -1112,6 +1130,7 @@ pub fn serialize_structure_crate_input_update_direct_connect_gateway_association .start_array(); for item_205 in var_203 { { + #[allow(unused_mut)] let mut object_206 = array_204.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_206, @@ -1233,6 +1252,7 @@ pub fn serialize_structure_crate_model_new_private_virtual_interface_allocation( let mut array_224 = object.key("tags").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_226, item_225)?; object_226.finish(); @@ -1278,6 +1298,7 @@ pub fn serialize_structure_crate_model_new_public_virtual_interface_allocation( let mut array_233 = object.key("routeFilterPrefixes").start_array(); for item_234 in var_232 { { + #[allow(unused_mut)] let mut object_235 = array_233.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_235, @@ -1292,6 +1313,7 @@ pub fn serialize_structure_crate_model_new_public_virtual_interface_allocation( let mut array_237 = object.key("tags").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_239, item_238)?; object_239.finish(); @@ -1343,6 +1365,7 @@ pub fn serialize_structure_crate_model_new_transit_virtual_interface_allocation( let mut array_247 = object.key("tags").start_array(); for item_248 in var_246 { { + #[allow(unused_mut)] let mut object_249 = array_247.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_249, item_248)?; object_249.finish(); @@ -1427,6 +1450,7 @@ pub fn serialize_structure_crate_model_new_private_virtual_interface( let mut array_263 = object.key("tags").start_array(); for item_264 in var_262 { { + #[allow(unused_mut)] let mut object_265 = array_263.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_265, item_264)?; object_265.finish(); @@ -1475,6 +1499,7 @@ pub fn serialize_structure_crate_model_new_public_virtual_interface( let mut array_273 = object.key("routeFilterPrefixes").start_array(); for item_274 in var_272 { { + #[allow(unused_mut)] let mut object_275 = array_273.value().start_object(); crate::json_ser::serialize_structure_crate_model_route_filter_prefix( &mut object_275, @@ -1489,6 +1514,7 @@ pub fn serialize_structure_crate_model_new_public_virtual_interface( let mut array_277 = object.key("tags").start_array(); for item_278 in var_276 { { + #[allow(unused_mut)] let mut object_279 = array_277.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_279, item_278)?; object_279.finish(); @@ -1545,6 +1571,7 @@ pub fn serialize_structure_crate_model_new_transit_virtual_interface( let mut array_288 = object.key("tags").start_array(); for item_289 in var_287 { { + #[allow(unused_mut)] let mut object_290 = array_288.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_290, item_289)?; object_290.finish(); diff --git a/sdk/directory/src/json_ser.rs b/sdk/directory/src/json_ser.rs index eb6562a5d54d..787f2b822b40 100644 --- a/sdk/directory/src/json_ser.rs +++ b/sdk/directory/src/json_ser.rs @@ -20,6 +20,7 @@ pub fn serialize_structure_crate_input_add_ip_routes_input( let mut array_4 = object.key("IpRoutes").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_route(&mut object_6, item_5)?; object_6.finish(); @@ -46,6 +47,7 @@ pub fn serialize_structure_crate_input_add_region_input( object.key("RegionName").string(var_8.as_str()); } if let Some(var_9) = &input.vpc_settings { + #[allow(unused_mut)] let mut object_10 = object.key("VPCSettings").start_object(); crate::json_ser::serialize_structure_crate_model_directory_vpc_settings( &mut object_10, @@ -67,6 +69,7 @@ pub fn serialize_structure_crate_input_add_tags_to_resource_input( let mut array_13 = object.key("Tags").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_15, item_14)?; object_15.finish(); @@ -110,6 +113,7 @@ pub fn serialize_structure_crate_input_connect_directory_input( object.key("Size").string(var_22.as_str()); } if let Some(var_23) = &input.connect_settings { + #[allow(unused_mut)] let mut object_24 = object.key("ConnectSettings").start_object(); crate::json_ser::serialize_structure_crate_model_directory_connect_settings( &mut object_24, @@ -121,6 +125,7 @@ pub fn serialize_structure_crate_input_connect_directory_input( let mut array_26 = object.key("Tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -166,6 +171,7 @@ pub fn serialize_structure_crate_input_create_computer_input( let mut array_36 = object.key("ComputerAttributes").start_array(); for item_37 in var_35 { { + #[allow(unused_mut)] let mut object_38 = array_36.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_38, @@ -221,6 +227,7 @@ pub fn serialize_structure_crate_input_create_directory_input( object.key("Size").string(var_48.as_str()); } if let Some(var_49) = &input.vpc_settings { + #[allow(unused_mut)] let mut object_50 = object.key("VpcSettings").start_object(); crate::json_ser::serialize_structure_crate_model_directory_vpc_settings( &mut object_50, @@ -232,6 +239,7 @@ pub fn serialize_structure_crate_input_create_directory_input( let mut array_52 = object.key("Tags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_54, item_53)?; object_54.finish(); @@ -272,6 +280,7 @@ pub fn serialize_structure_crate_input_create_microsoft_ad_input( object.key("Description").string(var_60.as_str()); } if let Some(var_61) = &input.vpc_settings { + #[allow(unused_mut)] let mut object_62 = object.key("VpcSettings").start_object(); crate::json_ser::serialize_structure_crate_model_directory_vpc_settings( &mut object_62, @@ -286,6 +295,7 @@ pub fn serialize_structure_crate_input_create_microsoft_ad_input( let mut array_65 = object.key("Tags").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_67, item_66)?; object_67.finish(); @@ -777,6 +787,7 @@ pub fn serialize_structure_crate_input_enable_radius_input( object.key("DirectoryId").string(var_154.as_str()); } if let Some(var_155) = &input.radius_settings { + #[allow(unused_mut)] let mut object_156 = object.key("RadiusSettings").start_object(); crate::json_ser::serialize_structure_crate_model_radius_settings(&mut object_156, var_155)?; object_156.finish(); @@ -919,6 +930,7 @@ pub fn serialize_structure_crate_input_register_certificate_input( object.key("Type").string(var_178.as_str()); } if let Some(var_179) = &input.client_cert_auth_settings { + #[allow(unused_mut)] let mut object_180 = object.key("ClientCertAuthSettings").start_object(); crate::json_ser::serialize_structure_crate_model_client_cert_auth_settings( &mut object_180, @@ -1037,6 +1049,7 @@ pub fn serialize_structure_crate_input_share_directory_input( object.key("ShareNotes").string(var_198.as_str()); } if let Some(var_199) = &input.share_target { + #[allow(unused_mut)] let mut object_200 = object.key("ShareTarget").start_object(); crate::json_ser::serialize_structure_crate_model_share_target(&mut object_200, var_199)?; object_200.finish(); @@ -1076,6 +1089,7 @@ pub fn serialize_structure_crate_input_unshare_directory_input( object.key("DirectoryId").string(var_205.as_str()); } if let Some(var_206) = &input.unshare_target { + #[allow(unused_mut)] let mut object_207 = object.key("UnshareTarget").start_object(); crate::json_ser::serialize_structure_crate_model_unshare_target(&mut object_207, var_206)?; object_207.finish(); @@ -1129,6 +1143,7 @@ pub fn serialize_structure_crate_input_update_radius_input( object.key("DirectoryId").string(var_214.as_str()); } if let Some(var_215) = &input.radius_settings { + #[allow(unused_mut)] let mut object_216 = object.key("RadiusSettings").start_object(); crate::json_ser::serialize_structure_crate_model_radius_settings(&mut object_216, var_215)?; object_216.finish(); @@ -1147,6 +1162,7 @@ pub fn serialize_structure_crate_input_update_settings_input( let mut array_219 = object.key("Settings").start_array(); for item_220 in var_218 { { + #[allow(unused_mut)] let mut object_221 = array_219.value().start_object(); crate::json_ser::serialize_structure_crate_model_setting( &mut object_221, diff --git a/sdk/dlm/src/json_ser.rs b/sdk/dlm/src/json_ser.rs index 6009fa32e461..d8ad139be7fc 100644 --- a/sdk/dlm/src/json_ser.rs +++ b/sdk/dlm/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_lifecycle_policy_input( object.key("ExecutionRoleArn").string(var_2.as_str()); } if let Some(var_3) = &input.policy_details { + #[allow(unused_mut)] let mut object_4 = object.key("PolicyDetails").start_object(); crate::json_ser::serialize_structure_crate_model_policy_details(&mut object_4, var_3)?; object_4.finish(); @@ -18,6 +19,7 @@ pub fn serialize_structure_crate_input_create_lifecycle_policy_input( object.key("State").string(var_5.as_str()); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("Tags").start_object(); for (key_8, value_9) in var_6 { { @@ -34,6 +36,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("Tags").start_object(); for (key_12, value_13) in var_10 { { @@ -56,6 +59,7 @@ pub fn serialize_structure_crate_input_update_lifecycle_policy_input( object.key("ExecutionRoleArn").string(var_15.as_str()); } if let Some(var_16) = &input.policy_details { + #[allow(unused_mut)] let mut object_17 = object.key("PolicyDetails").start_object(); crate::json_ser::serialize_structure_crate_model_policy_details(&mut object_17, var_16)?; object_17.finish(); @@ -95,6 +99,7 @@ pub fn serialize_structure_crate_model_policy_details( let mut array_27 = object.key("TargetTags").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_29, item_28)?; object_29.finish(); @@ -106,6 +111,7 @@ pub fn serialize_structure_crate_model_policy_details( let mut array_31 = object.key("Schedules").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_schedule(&mut object_33, item_32)?; object_33.finish(); @@ -114,11 +120,13 @@ pub fn serialize_structure_crate_model_policy_details( array_31.finish(); } if let Some(var_34) = &input.parameters { + #[allow(unused_mut)] let mut object_35 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_parameters(&mut object_35, var_34)?; object_35.finish(); } if let Some(var_36) = &input.event_source { + #[allow(unused_mut)] let mut object_37 = object.key("EventSource").start_object(); crate::json_ser::serialize_structure_crate_model_event_source(&mut object_37, var_36)?; object_37.finish(); @@ -127,6 +135,7 @@ pub fn serialize_structure_crate_model_policy_details( let mut array_39 = object.key("Actions").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_41, item_40)?; object_41.finish(); @@ -164,6 +173,7 @@ pub fn serialize_structure_crate_model_schedule( let mut array_46 = object.key("TagsToAdd").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_48, item_47)?; object_48.finish(); @@ -175,6 +185,7 @@ pub fn serialize_structure_crate_model_schedule( let mut array_50 = object.key("VariableTags").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_52, item_51)?; object_52.finish(); @@ -183,16 +194,19 @@ pub fn serialize_structure_crate_model_schedule( array_50.finish(); } if let Some(var_53) = &input.create_rule { + #[allow(unused_mut)] let mut object_54 = object.key("CreateRule").start_object(); crate::json_ser::serialize_structure_crate_model_create_rule(&mut object_54, var_53)?; object_54.finish(); } if let Some(var_55) = &input.retain_rule { + #[allow(unused_mut)] let mut object_56 = object.key("RetainRule").start_object(); crate::json_ser::serialize_structure_crate_model_retain_rule(&mut object_56, var_55)?; object_56.finish(); } if let Some(var_57) = &input.fast_restore_rule { + #[allow(unused_mut)] let mut object_58 = object.key("FastRestoreRule").start_object(); crate::json_ser::serialize_structure_crate_model_fast_restore_rule(&mut object_58, var_57)?; object_58.finish(); @@ -201,6 +215,7 @@ pub fn serialize_structure_crate_model_schedule( let mut array_60 = object.key("CrossRegionCopyRules").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_cross_region_copy_rule( &mut object_62, @@ -215,6 +230,7 @@ pub fn serialize_structure_crate_model_schedule( let mut array_64 = object.key("ShareRules").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_share_rule( &mut object_66, @@ -226,11 +242,13 @@ pub fn serialize_structure_crate_model_schedule( array_64.finish(); } if let Some(var_67) = &input.deprecate_rule { + #[allow(unused_mut)] let mut object_68 = object.key("DeprecateRule").start_object(); crate::json_ser::serialize_structure_crate_model_deprecate_rule(&mut object_68, var_67)?; object_68.finish(); } if let Some(var_69) = &input.archive_rule { + #[allow(unused_mut)] let mut object_70 = object.key("ArchiveRule").start_object(); crate::json_ser::serialize_structure_crate_model_archive_rule(&mut object_70, var_69)?; object_70.finish(); @@ -252,6 +270,7 @@ pub fn serialize_structure_crate_model_parameters( let mut array_74 = object.key("ExcludeDataVolumeTags").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_76, item_75)?; object_76.finish(); @@ -270,6 +289,7 @@ pub fn serialize_structure_crate_model_event_source( object.key("Type").string(var_77.as_str()); } if let Some(var_78) = &input.parameters { + #[allow(unused_mut)] let mut object_79 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_event_parameters(&mut object_79, var_78)?; object_79.finish(); @@ -288,6 +308,7 @@ pub fn serialize_structure_crate_model_action( let mut array_82 = object.key("CrossRegionCopy").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_cross_region_copy_action( &mut object_84, @@ -405,6 +426,7 @@ pub fn serialize_structure_crate_model_cross_region_copy_rule( object.key("CopyTags").boolean(*var_100); } if let Some(var_101) = &input.retain_rule { + #[allow(unused_mut)] let mut object_102 = object.key("RetainRule").start_object(); crate::json_ser::serialize_structure_crate_model_cross_region_copy_retain_rule( &mut object_102, @@ -413,6 +435,7 @@ pub fn serialize_structure_crate_model_cross_region_copy_rule( object_102.finish(); } if let Some(var_103) = &input.deprecate_rule { + #[allow(unused_mut)] let mut object_104 = object.key("DeprecateRule").start_object(); crate::json_ser::serialize_structure_crate_model_cross_region_copy_deprecate_rule( &mut object_104, @@ -475,6 +498,7 @@ pub fn serialize_structure_crate_model_archive_rule( input: &crate::model::ArchiveRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_110) = &input.retain_rule { + #[allow(unused_mut)] let mut object_111 = object.key("RetainRule").start_object(); crate::json_ser::serialize_structure_crate_model_archive_retain_rule( &mut object_111, @@ -515,6 +539,7 @@ pub fn serialize_structure_crate_model_cross_region_copy_action( object.key("Target").string(var_117.as_str()); } if let Some(var_118) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_119 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_119, @@ -523,6 +548,7 @@ pub fn serialize_structure_crate_model_cross_region_copy_action( object_119.finish(); } if let Some(var_120) = &input.retain_rule { + #[allow(unused_mut)] let mut object_121 = object.key("RetainRule").start_object(); crate::json_ser::serialize_structure_crate_model_cross_region_copy_retain_rule( &mut object_121, @@ -570,6 +596,7 @@ pub fn serialize_structure_crate_model_archive_retain_rule( input: &crate::model::ArchiveRetainRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_124) = &input.retention_archive_tier { + #[allow(unused_mut)] let mut object_125 = object.key("RetentionArchiveTier").start_object(); crate::json_ser::serialize_structure_crate_model_retention_archive_tier( &mut object_125, diff --git a/sdk/drs/src/json_ser.rs b/sdk/drs/src/json_ser.rs index e92ffcf61cc2..9ee407454341 100644 --- a/sdk/drs/src/json_ser.rs +++ b/sdk/drs/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_extended_source_server_input( object.key("sourceServerArn").string(var_1.as_str()); } if let Some(var_2) = &input.tags { + #[allow(unused_mut)] let mut object_3 = object.key("tags").start_object(); for (key_4, value_5) in var_2 { { @@ -52,6 +53,7 @@ pub fn serialize_structure_crate_input_create_replication_configuration_template let mut array_13 = object.key("pitPolicy").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_pit_policy_rule( &mut object_15, @@ -82,6 +84,7 @@ pub fn serialize_structure_crate_input_create_replication_configuration_template object.key("stagingAreaSubnetId").string(var_20.as_str()); } if let Some(var_21) = &input.staging_area_tags { + #[allow(unused_mut)] let mut object_22 = object.key("stagingAreaTags").start_object(); for (key_23, value_24) in var_21 { { @@ -91,6 +94,7 @@ pub fn serialize_structure_crate_input_create_replication_configuration_template object_22.finish(); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -171,6 +175,7 @@ pub fn serialize_structure_crate_input_describe_jobs_input( input: &crate::input::DescribeJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.filters { + #[allow(unused_mut)] let mut object_37 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_describe_jobs_request_filters( &mut object_37, @@ -195,6 +200,7 @@ pub fn serialize_structure_crate_input_describe_recovery_instances_input( input: &crate::input::DescribeRecoveryInstancesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.filters { + #[allow(unused_mut)] let mut object_40 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_describe_recovery_instances_request_filters(&mut object_40, var_39)?; object_40.finish(); @@ -216,6 +222,7 @@ pub fn serialize_structure_crate_input_describe_recovery_snapshots_input( input: &crate::input::DescribeRecoverySnapshotsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_42) = &input.filters { + #[allow(unused_mut)] let mut object_43 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_describe_recovery_snapshots_request_filters(&mut object_43, var_42)?; object_43.finish(); @@ -270,6 +277,7 @@ pub fn serialize_structure_crate_input_describe_source_servers_input( input: &crate::input::DescribeSourceServersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_51) = &input.filters { + #[allow(unused_mut)] let mut object_52 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_describe_source_servers_request_filters( &mut object_52, @@ -382,6 +390,7 @@ pub fn serialize_structure_crate_input_start_failback_launch_input( array_63.finish(); } if let Some(var_65) = &input.tags { + #[allow(unused_mut)] let mut object_66 = object.key("tags").start_object(); for (key_67, value_68) in var_65 { { @@ -404,6 +413,7 @@ pub fn serialize_structure_crate_input_start_recovery_input( let mut array_71 = object.key("sourceServers").start_array(); for item_72 in var_70 { { + #[allow(unused_mut)] let mut object_73 = array_71.value().start_object(); crate::json_ser::serialize_structure_crate_model_start_recovery_request_source_server(&mut object_73, item_72)?; object_73.finish(); @@ -412,6 +422,7 @@ pub fn serialize_structure_crate_input_start_recovery_input( array_71.finish(); } if let Some(var_74) = &input.tags { + #[allow(unused_mut)] let mut object_75 = object.key("tags").start_object(); for (key_76, value_77) in var_74 { { @@ -438,6 +449,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_79) = &input.tags { + #[allow(unused_mut)] let mut object_80 = object.key("tags").start_object(); for (key_81, value_82) in var_79 { { @@ -501,6 +513,7 @@ pub fn serialize_structure_crate_input_update_launch_configuration_input( object.key("launchDisposition").string(var_91.as_str()); } if let Some(var_92) = &input.licensing { + #[allow(unused_mut)] let mut object_93 = object.key("licensing").start_object(); crate::json_ser::serialize_structure_crate_model_licensing(&mut object_93, var_92)?; object_93.finish(); @@ -556,6 +569,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_input( let mut array_105 = object.key("pitPolicy").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_pit_policy_rule( &mut object_107, @@ -570,6 +584,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_input( let mut array_109 = object.key("replicatedDisks").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_replication_configuration_replicated_disk(&mut object_111, item_110)?; object_111.finish(); @@ -600,6 +615,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_input( object.key("stagingAreaSubnetId").string(var_117.as_str()); } if let Some(var_118) = &input.staging_area_tags { + #[allow(unused_mut)] let mut object_119 = object.key("stagingAreaTags").start_object(); for (key_120, value_121) in var_118 { { @@ -655,6 +671,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_template let mut array_131 = object.key("pitPolicy").start_array(); for item_132 in var_130 { { + #[allow(unused_mut)] let mut object_133 = array_131.value().start_object(); crate::json_ser::serialize_structure_crate_model_pit_policy_rule( &mut object_133, @@ -690,6 +707,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_template object.key("stagingAreaSubnetId").string(var_139.as_str()); } if let Some(var_140) = &input.staging_area_tags { + #[allow(unused_mut)] let mut object_141 = object.key("stagingAreaTags").start_object(); for (key_142, value_143) in var_140 { { diff --git a/sdk/dynamodb/src/json_ser.rs b/sdk/dynamodb/src/json_ser.rs index d115a854ef54..840fb54ab704 100644 --- a/sdk/dynamodb/src/json_ser.rs +++ b/sdk/dynamodb/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_execute_statement_input( let mut array_2 = object.key("Statements").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_statement_request( &mut object_4, @@ -28,9 +29,11 @@ pub fn serialize_structure_crate_input_batch_get_item_input( input: &crate::input::BatchGetItemInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_6) = &input.request_items { + #[allow(unused_mut)] let mut object_7 = object.key("RequestItems").start_object(); for (key_8, value_9) in var_6 { { + #[allow(unused_mut)] let mut object_10 = object_7.key(key_8.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_keys_and_attributes( &mut object_10, @@ -52,12 +55,14 @@ pub fn serialize_structure_crate_input_batch_write_item_input( input: &crate::input::BatchWriteItemInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_12) = &input.request_items { + #[allow(unused_mut)] let mut object_13 = object.key("RequestItems").start_object(); for (key_14, value_15) in var_12 { { let mut array_16 = object_13.key(key_14.as_str()).start_array(); for item_17 in value_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_write_request( &mut object_18, @@ -106,6 +111,7 @@ pub fn serialize_structure_crate_input_create_global_table_input( let mut array_25 = object.key("ReplicationGroup").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica(&mut object_27, item_26)?; object_27.finish(); @@ -124,6 +130,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_29 = object.key("AttributeDefinitions").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_definition( &mut object_31, @@ -141,6 +148,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_34 = object.key("KeySchema").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_schema_element( &mut object_36, @@ -155,6 +163,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_38 = object.key("LocalSecondaryIndexes").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_local_secondary_index( &mut object_40, @@ -169,6 +178,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_42 = object.key("GlobalSecondaryIndexes").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_secondary_index( &mut object_44, @@ -183,6 +193,7 @@ pub fn serialize_structure_crate_input_create_table_input( object.key("BillingMode").string(var_45.as_str()); } if let Some(var_46) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_47 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_47, @@ -191,6 +202,7 @@ pub fn serialize_structure_crate_input_create_table_input( object_47.finish(); } if let Some(var_48) = &input.stream_specification { + #[allow(unused_mut)] let mut object_49 = object.key("StreamSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_stream_specification( &mut object_49, @@ -199,6 +211,7 @@ pub fn serialize_structure_crate_input_create_table_input( object_49.finish(); } if let Some(var_50) = &input.sse_specification { + #[allow(unused_mut)] let mut object_51 = object.key("SSESpecification").start_object(); crate::json_ser::serialize_structure_crate_model_sse_specification(&mut object_51, var_50)?; object_51.finish(); @@ -207,6 +220,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_53 = object.key("Tags").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_55, item_54)?; object_55.finish(); @@ -238,9 +252,11 @@ pub fn serialize_structure_crate_input_delete_item_input( object.key("TableName").string(var_58.as_str()); } if let Some(var_59) = &input.key { + #[allow(unused_mut)] let mut object_60 = object.key("Key").start_object(); for (key_61, value_62) in var_59 { { + #[allow(unused_mut)] let mut object_63 = object_60.key(key_61.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_63, @@ -252,9 +268,11 @@ pub fn serialize_structure_crate_input_delete_item_input( object_60.finish(); } if let Some(var_64) = &input.expected { + #[allow(unused_mut)] let mut object_65 = object.key("Expected").start_object(); for (key_66, value_67) in var_64 { { + #[allow(unused_mut)] let mut object_68 = object_65.key(key_66.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_expected_attribute_value( &mut object_68, @@ -283,6 +301,7 @@ pub fn serialize_structure_crate_input_delete_item_input( object.key("ConditionExpression").string(var_73.as_str()); } if let Some(var_74) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_75 = object.key("ExpressionAttributeNames").start_object(); for (key_76, value_77) in var_74 { { @@ -292,9 +311,11 @@ pub fn serialize_structure_crate_input_delete_item_input( object_75.finish(); } if let Some(var_78) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_79 = object.key("ExpressionAttributeValues").start_object(); for (key_80, value_81) in var_78 { { + #[allow(unused_mut)] let mut object_82 = object_79.key(key_80.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_82, @@ -468,6 +489,7 @@ pub fn serialize_structure_crate_input_execute_statement_input( let mut array_102 = object.key("Parameters").start_array(); for item_103 in var_101 { { + #[allow(unused_mut)] let mut object_104 = array_102.value().start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_104, @@ -506,6 +528,7 @@ pub fn serialize_structure_crate_input_execute_transaction_input( let mut array_110 = object.key("TransactStatements").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameterized_statement( &mut object_112, @@ -571,9 +594,11 @@ pub fn serialize_structure_crate_input_get_item_input( object.key("TableName").string(var_124.as_str()); } if let Some(var_125) = &input.key { + #[allow(unused_mut)] let mut object_126 = object.key("Key").start_object(); for (key_127, value_128) in var_125 { { + #[allow(unused_mut)] let mut object_129 = object_126.key(key_127.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_129, @@ -605,6 +630,7 @@ pub fn serialize_structure_crate_input_get_item_input( object.key("ProjectionExpression").string(var_135.as_str()); } if let Some(var_136) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_137 = object.key("ExpressionAttributeNames").start_object(); for (key_138, value_139) in var_136 { { @@ -624,6 +650,7 @@ pub fn serialize_structure_crate_input_import_table_input( object.key("ClientToken").string(var_140.as_str()); } if let Some(var_141) = &input.s3_bucket_source { + #[allow(unused_mut)] let mut object_142 = object.key("S3BucketSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_source( &mut object_142, @@ -635,6 +662,7 @@ pub fn serialize_structure_crate_input_import_table_input( object.key("InputFormat").string(var_143.as_str()); } if let Some(var_144) = &input.input_format_options { + #[allow(unused_mut)] let mut object_145 = object.key("InputFormatOptions").start_object(); crate::json_ser::serialize_structure_crate_model_input_format_options( &mut object_145, @@ -646,6 +674,7 @@ pub fn serialize_structure_crate_input_import_table_input( object.key("InputCompressionType").string(var_146.as_str()); } if let Some(var_147) = &input.table_creation_parameters { + #[allow(unused_mut)] let mut object_148 = object.key("TableCreationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_table_creation_parameters( &mut object_148, @@ -807,9 +836,11 @@ pub fn serialize_structure_crate_input_put_item_input( object.key("TableName").string(var_170.as_str()); } if let Some(var_171) = &input.item { + #[allow(unused_mut)] let mut object_172 = object.key("Item").start_object(); for (key_173, value_174) in var_171 { { + #[allow(unused_mut)] let mut object_175 = object_172.key(key_173.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_175, @@ -821,9 +852,11 @@ pub fn serialize_structure_crate_input_put_item_input( object_172.finish(); } if let Some(var_176) = &input.expected { + #[allow(unused_mut)] let mut object_177 = object.key("Expected").start_object(); for (key_178, value_179) in var_176 { { + #[allow(unused_mut)] let mut object_180 = object_177.key(key_178.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_expected_attribute_value( &mut object_180, @@ -854,6 +887,7 @@ pub fn serialize_structure_crate_input_put_item_input( object.key("ConditionExpression").string(var_185.as_str()); } if let Some(var_186) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_187 = object.key("ExpressionAttributeNames").start_object(); for (key_188, value_189) in var_186 { { @@ -863,9 +897,11 @@ pub fn serialize_structure_crate_input_put_item_input( object_187.finish(); } if let Some(var_190) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_191 = object.key("ExpressionAttributeValues").start_object(); for (key_192, value_193) in var_190 { { + #[allow(unused_mut)] let mut object_194 = object_191.key(key_192.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_194, @@ -911,9 +947,11 @@ pub fn serialize_structure_crate_input_query_input( object.key("ConsistentRead").boolean(*var_202); } if let Some(var_203) = &input.key_conditions { + #[allow(unused_mut)] let mut object_204 = object.key("KeyConditions").start_object(); for (key_205, value_206) in var_203 { { + #[allow(unused_mut)] let mut object_207 = object_204.key(key_205.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_207, @@ -925,9 +963,11 @@ pub fn serialize_structure_crate_input_query_input( object_204.finish(); } if let Some(var_208) = &input.query_filter { + #[allow(unused_mut)] let mut object_209 = object.key("QueryFilter").start_object(); for (key_210, value_211) in var_208 { { + #[allow(unused_mut)] let mut object_212 = object_209.key(key_210.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_212, @@ -945,9 +985,11 @@ pub fn serialize_structure_crate_input_query_input( object.key("ScanIndexForward").boolean(*var_214); } if let Some(var_215) = &input.exclusive_start_key { + #[allow(unused_mut)] let mut object_216 = object.key("ExclusiveStartKey").start_object(); for (key_217, value_218) in var_215 { { + #[allow(unused_mut)] let mut object_219 = object_216.key(key_217.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_219, @@ -975,6 +1017,7 @@ pub fn serialize_structure_crate_input_query_input( .string(var_223.as_str()); } if let Some(var_224) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_225 = object.key("ExpressionAttributeNames").start_object(); for (key_226, value_227) in var_224 { { @@ -984,9 +1027,11 @@ pub fn serialize_structure_crate_input_query_input( object_225.finish(); } if let Some(var_228) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_229 = object.key("ExpressionAttributeValues").start_object(); for (key_230, value_231) in var_228 { { + #[allow(unused_mut)] let mut object_232 = object_229.key(key_230.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_232, @@ -1017,6 +1062,7 @@ pub fn serialize_structure_crate_input_restore_table_from_backup_input( let mut array_237 = object.key("GlobalSecondaryIndexOverride").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_secondary_index( &mut object_239, @@ -1031,6 +1077,7 @@ pub fn serialize_structure_crate_input_restore_table_from_backup_input( let mut array_241 = object.key("LocalSecondaryIndexOverride").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_local_secondary_index( &mut object_243, @@ -1042,6 +1089,7 @@ pub fn serialize_structure_crate_input_restore_table_from_backup_input( array_241.finish(); } if let Some(var_244) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_245 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_245, @@ -1050,6 +1098,7 @@ pub fn serialize_structure_crate_input_restore_table_from_backup_input( object_245.finish(); } if let Some(var_246) = &input.sse_specification_override { + #[allow(unused_mut)] let mut object_247 = object.key("SSESpecificationOverride").start_object(); crate::json_ser::serialize_structure_crate_model_sse_specification( &mut object_247, @@ -1088,6 +1137,7 @@ pub fn serialize_structure_crate_input_restore_table_to_point_in_time_input( let mut array_255 = object.key("GlobalSecondaryIndexOverride").start_array(); for item_256 in var_254 { { + #[allow(unused_mut)] let mut object_257 = array_255.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_secondary_index( &mut object_257, @@ -1102,6 +1152,7 @@ pub fn serialize_structure_crate_input_restore_table_to_point_in_time_input( let mut array_259 = object.key("LocalSecondaryIndexOverride").start_array(); for item_260 in var_258 { { + #[allow(unused_mut)] let mut object_261 = array_259.value().start_object(); crate::json_ser::serialize_structure_crate_model_local_secondary_index( &mut object_261, @@ -1113,6 +1164,7 @@ pub fn serialize_structure_crate_input_restore_table_to_point_in_time_input( array_259.finish(); } if let Some(var_262) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_263 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_263, @@ -1121,6 +1173,7 @@ pub fn serialize_structure_crate_input_restore_table_to_point_in_time_input( object_263.finish(); } if let Some(var_264) = &input.sse_specification_override { + #[allow(unused_mut)] let mut object_265 = object.key("SSESpecificationOverride").start_object(); crate::json_ser::serialize_structure_crate_model_sse_specification( &mut object_265, @@ -1160,9 +1213,11 @@ pub fn serialize_structure_crate_input_scan_input( object.key("Select").string(var_272.as_str()); } if let Some(var_273) = &input.scan_filter { + #[allow(unused_mut)] let mut object_274 = object.key("ScanFilter").start_object(); for (key_275, value_276) in var_273 { { + #[allow(unused_mut)] let mut object_277 = object_274.key(key_275.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_277, @@ -1177,9 +1232,11 @@ pub fn serialize_structure_crate_input_scan_input( object.key("ConditionalOperator").string(var_278.as_str()); } if let Some(var_279) = &input.exclusive_start_key { + #[allow(unused_mut)] let mut object_280 = object.key("ExclusiveStartKey").start_object(); for (key_281, value_282) in var_279 { { + #[allow(unused_mut)] let mut object_283 = object_280.key(key_281.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_283, @@ -1214,6 +1271,7 @@ pub fn serialize_structure_crate_input_scan_input( object.key("FilterExpression").string(var_288.as_str()); } if let Some(var_289) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_290 = object.key("ExpressionAttributeNames").start_object(); for (key_291, value_292) in var_289 { { @@ -1223,9 +1281,11 @@ pub fn serialize_structure_crate_input_scan_input( object_290.finish(); } if let Some(var_293) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_294 = object.key("ExpressionAttributeValues").start_object(); for (key_295, value_296) in var_293 { { + #[allow(unused_mut)] let mut object_297 = object_294.key(key_295.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_297, @@ -1253,6 +1313,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_301 = object.key("Tags").start_array(); for item_302 in var_300 { { + #[allow(unused_mut)] let mut object_303 = array_301.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_303, item_302)?; object_303.finish(); @@ -1271,6 +1332,7 @@ pub fn serialize_structure_crate_input_transact_get_items_input( let mut array_305 = object.key("TransactItems").start_array(); for item_306 in var_304 { { + #[allow(unused_mut)] let mut object_307 = array_305.value().start_object(); crate::json_ser::serialize_structure_crate_model_transact_get_item( &mut object_307, @@ -1297,6 +1359,7 @@ pub fn serialize_structure_crate_input_transact_write_items_input( let mut array_310 = object.key("TransactItems").start_array(); for item_311 in var_309 { { + #[allow(unused_mut)] let mut object_312 = array_310.value().start_object(); crate::json_ser::serialize_structure_crate_model_transact_write_item( &mut object_312, @@ -1350,6 +1413,7 @@ pub fn serialize_structure_crate_input_update_continuous_backups_input( object.key("TableName").string(var_320.as_str()); } if let Some(var_321) = &input.point_in_time_recovery_specification { + #[allow(unused_mut)] let mut object_322 = object .key("PointInTimeRecoverySpecification") .start_object(); @@ -1391,6 +1455,7 @@ pub fn serialize_structure_crate_input_update_global_table_input( let mut array_328 = object.key("ReplicaUpdates").start_array(); for item_329 in var_327 { { + #[allow(unused_mut)] let mut object_330 = array_328.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_update( &mut object_330, @@ -1427,6 +1492,7 @@ pub fn serialize_structure_crate_input_update_global_table_settings_input( if let Some(var_334) = &input.global_table_provisioned_write_capacity_auto_scaling_settings_update { + #[allow(unused_mut)] let mut object_335 = object .key("GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate") .start_object(); @@ -1442,6 +1508,7 @@ pub fn serialize_structure_crate_input_update_global_table_settings_input( .start_array(); for item_338 in var_336 { { + #[allow(unused_mut)] let mut object_339 = array_337.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_table_global_secondary_index_settings_update(&mut object_339, item_338)?; object_339.finish(); @@ -1453,6 +1520,7 @@ pub fn serialize_structure_crate_input_update_global_table_settings_input( let mut array_341 = object.key("ReplicaSettingsUpdate").start_array(); for item_342 in var_340 { { + #[allow(unused_mut)] let mut object_343 = array_341.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_settings_update( &mut object_343, @@ -1474,9 +1542,11 @@ pub fn serialize_structure_crate_input_update_item_input( object.key("TableName").string(var_344.as_str()); } if let Some(var_345) = &input.key { + #[allow(unused_mut)] let mut object_346 = object.key("Key").start_object(); for (key_347, value_348) in var_345 { { + #[allow(unused_mut)] let mut object_349 = object_346.key(key_347.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_349, @@ -1488,9 +1558,11 @@ pub fn serialize_structure_crate_input_update_item_input( object_346.finish(); } if let Some(var_350) = &input.attribute_updates { + #[allow(unused_mut)] let mut object_351 = object.key("AttributeUpdates").start_object(); for (key_352, value_353) in var_350 { { + #[allow(unused_mut)] let mut object_354 = object_351.key(key_352.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_attribute_value_update( &mut object_354, @@ -1502,9 +1574,11 @@ pub fn serialize_structure_crate_input_update_item_input( object_351.finish(); } if let Some(var_355) = &input.expected { + #[allow(unused_mut)] let mut object_356 = object.key("Expected").start_object(); for (key_357, value_358) in var_355 { { + #[allow(unused_mut)] let mut object_359 = object_356.key(key_357.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_expected_attribute_value( &mut object_359, @@ -1538,6 +1612,7 @@ pub fn serialize_structure_crate_input_update_item_input( object.key("ConditionExpression").string(var_365.as_str()); } if let Some(var_366) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_367 = object.key("ExpressionAttributeNames").start_object(); for (key_368, value_369) in var_366 { { @@ -1547,9 +1622,11 @@ pub fn serialize_structure_crate_input_update_item_input( object_367.finish(); } if let Some(var_370) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_371 = object.key("ExpressionAttributeValues").start_object(); for (key_372, value_373) in var_370 { { + #[allow(unused_mut)] let mut object_374 = object_371.key(key_372.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_374, @@ -1571,6 +1648,7 @@ pub fn serialize_structure_crate_input_update_table_input( let mut array_376 = object.key("AttributeDefinitions").start_array(); for item_377 in var_375 { { + #[allow(unused_mut)] let mut object_378 = array_376.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_definition( &mut object_378, @@ -1588,6 +1666,7 @@ pub fn serialize_structure_crate_input_update_table_input( object.key("BillingMode").string(var_380.as_str()); } if let Some(var_381) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_382 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_382, @@ -1599,6 +1678,7 @@ pub fn serialize_structure_crate_input_update_table_input( let mut array_384 = object.key("GlobalSecondaryIndexUpdates").start_array(); for item_385 in var_383 { { + #[allow(unused_mut)] let mut object_386 = array_384.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_secondary_index_update( &mut object_386, @@ -1610,6 +1690,7 @@ pub fn serialize_structure_crate_input_update_table_input( array_384.finish(); } if let Some(var_387) = &input.stream_specification { + #[allow(unused_mut)] let mut object_388 = object.key("StreamSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_stream_specification( &mut object_388, @@ -1618,6 +1699,7 @@ pub fn serialize_structure_crate_input_update_table_input( object_388.finish(); } if let Some(var_389) = &input.sse_specification { + #[allow(unused_mut)] let mut object_390 = object.key("SSESpecification").start_object(); crate::json_ser::serialize_structure_crate_model_sse_specification( &mut object_390, @@ -1629,6 +1711,7 @@ pub fn serialize_structure_crate_input_update_table_input( let mut array_392 = object.key("ReplicaUpdates").start_array(); for item_393 in var_391 { { + #[allow(unused_mut)] let mut object_394 = array_392.value().start_object(); crate::json_ser::serialize_structure_crate_model_replication_group_update( &mut object_394, @@ -1653,6 +1736,7 @@ pub fn serialize_structure_crate_input_update_table_replica_auto_scaling_input( let mut array_397 = object.key("GlobalSecondaryIndexUpdates").start_array(); for item_398 in var_396 { { + #[allow(unused_mut)] let mut object_399 = array_397.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_secondary_index_auto_scaling_update(&mut object_399, item_398)?; object_399.finish(); @@ -1664,6 +1748,7 @@ pub fn serialize_structure_crate_input_update_table_replica_auto_scaling_input( object.key("TableName").string(var_400.as_str()); } if let Some(var_401) = &input.provisioned_write_capacity_auto_scaling_update { + #[allow(unused_mut)] let mut object_402 = object .key("ProvisionedWriteCapacityAutoScalingUpdate") .start_object(); @@ -1677,6 +1762,7 @@ pub fn serialize_structure_crate_input_update_table_replica_auto_scaling_input( let mut array_404 = object.key("ReplicaUpdates").start_array(); for item_405 in var_403 { { + #[allow(unused_mut)] let mut object_406 = array_404.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_auto_scaling_update( &mut object_406, @@ -1698,6 +1784,7 @@ pub fn serialize_structure_crate_input_update_time_to_live_input( object.key("TableName").string(var_407.as_str()); } if let Some(var_408) = &input.time_to_live_specification { + #[allow(unused_mut)] let mut object_409 = object.key("TimeToLiveSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_time_to_live_specification( &mut object_409, @@ -1719,6 +1806,7 @@ pub fn serialize_structure_crate_model_batch_statement_request( let mut array_412 = object.key("Parameters").start_array(); for item_413 in var_411 { { + #[allow(unused_mut)] let mut object_414 = array_412.value().start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_414, @@ -1743,9 +1831,11 @@ pub fn serialize_structure_crate_model_keys_and_attributes( let mut array_417 = object.key("Keys").start_array(); for item_418 in var_416 { { + #[allow(unused_mut)] let mut object_419 = array_417.value().start_object(); for (key_420, value_421) in item_418 { { + #[allow(unused_mut)] let mut object_422 = object_419.key(key_420.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_422, @@ -1775,6 +1865,7 @@ pub fn serialize_structure_crate_model_keys_and_attributes( object.key("ProjectionExpression").string(var_427.as_str()); } if let Some(var_428) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_429 = object.key("ExpressionAttributeNames").start_object(); for (key_430, value_431) in var_428 { { @@ -1791,11 +1882,13 @@ pub fn serialize_structure_crate_model_write_request( input: &crate::model::WriteRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_432) = &input.put_request { + #[allow(unused_mut)] let mut object_433 = object.key("PutRequest").start_object(); crate::json_ser::serialize_structure_crate_model_put_request(&mut object_433, var_432)?; object_433.finish(); } if let Some(var_434) = &input.delete_request { + #[allow(unused_mut)] let mut object_435 = object.key("DeleteRequest").start_object(); crate::json_ser::serialize_structure_crate_model_delete_request(&mut object_435, var_434)?; object_435.finish(); @@ -1850,6 +1943,7 @@ pub fn serialize_structure_crate_model_local_secondary_index( let mut array_443 = object.key("KeySchema").start_array(); for item_444 in var_442 { { + #[allow(unused_mut)] let mut object_445 = array_443.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_schema_element( &mut object_445, @@ -1861,6 +1955,7 @@ pub fn serialize_structure_crate_model_local_secondary_index( array_443.finish(); } if let Some(var_446) = &input.projection { + #[allow(unused_mut)] let mut object_447 = object.key("Projection").start_object(); crate::json_ser::serialize_structure_crate_model_projection(&mut object_447, var_446)?; object_447.finish(); @@ -1879,6 +1974,7 @@ pub fn serialize_structure_crate_model_global_secondary_index( let mut array_450 = object.key("KeySchema").start_array(); for item_451 in var_449 { { + #[allow(unused_mut)] let mut object_452 = array_450.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_schema_element( &mut object_452, @@ -1890,11 +1986,13 @@ pub fn serialize_structure_crate_model_global_secondary_index( array_450.finish(); } if let Some(var_453) = &input.projection { + #[allow(unused_mut)] let mut object_454 = object.key("Projection").start_object(); crate::json_ser::serialize_structure_crate_model_projection(&mut object_454, var_453)?; object_454.finish(); } if let Some(var_455) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_456 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_456, @@ -2012,9 +2110,11 @@ pub fn serialize_union_crate_model_attribute_value( array_470.finish(); } crate::model::AttributeValue::M(inner) => { + #[allow(unused_mut)] let mut object_472 = object_63.key("M").start_object(); for (key_473, value_474) in inner { { + #[allow(unused_mut)] let mut object_475 = object_472.key(key_473.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_475, @@ -2029,6 +2129,7 @@ pub fn serialize_union_crate_model_attribute_value( let mut array_476 = object_63.key("L").start_array(); for item_477 in inner { { + #[allow(unused_mut)] let mut object_478 = array_476.value().start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_478, @@ -2061,6 +2162,7 @@ pub fn serialize_structure_crate_model_expected_attribute_value( input: &crate::model::ExpectedAttributeValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_479) = &input.value { + #[allow(unused_mut)] let mut object_480 = object.key("Value").start_object(); crate::json_ser::serialize_union_crate_model_attribute_value(&mut object_480, var_479)?; object_480.finish(); @@ -2075,6 +2177,7 @@ pub fn serialize_structure_crate_model_expected_attribute_value( let mut array_484 = object.key("AttributeValueList").start_array(); for item_485 in var_483 { { + #[allow(unused_mut)] let mut object_486 = array_484.value().start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_486, @@ -2099,6 +2202,7 @@ pub fn serialize_structure_crate_model_parameterized_statement( let mut array_489 = object.key("Parameters").start_array(); for item_490 in var_488 { { + #[allow(unused_mut)] let mut object_491 = array_489.value().start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_491, @@ -2133,6 +2237,7 @@ pub fn serialize_structure_crate_model_input_format_options( input: &crate::model::InputFormatOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_495) = &input.csv { + #[allow(unused_mut)] let mut object_496 = object.key("Csv").start_object(); crate::json_ser::serialize_structure_crate_model_csv_options(&mut object_496, var_495)?; object_496.finish(); @@ -2151,6 +2256,7 @@ pub fn serialize_structure_crate_model_table_creation_parameters( let mut array_499 = object.key("AttributeDefinitions").start_array(); for item_500 in var_498 { { + #[allow(unused_mut)] let mut object_501 = array_499.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_definition( &mut object_501, @@ -2165,6 +2271,7 @@ pub fn serialize_structure_crate_model_table_creation_parameters( let mut array_503 = object.key("KeySchema").start_array(); for item_504 in var_502 { { + #[allow(unused_mut)] let mut object_505 = array_503.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_schema_element( &mut object_505, @@ -2179,6 +2286,7 @@ pub fn serialize_structure_crate_model_table_creation_parameters( object.key("BillingMode").string(var_506.as_str()); } if let Some(var_507) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_508 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_508, @@ -2187,6 +2295,7 @@ pub fn serialize_structure_crate_model_table_creation_parameters( object_508.finish(); } if let Some(var_509) = &input.sse_specification { + #[allow(unused_mut)] let mut object_510 = object.key("SSESpecification").start_object(); crate::json_ser::serialize_structure_crate_model_sse_specification( &mut object_510, @@ -2198,6 +2307,7 @@ pub fn serialize_structure_crate_model_table_creation_parameters( let mut array_512 = object.key("GlobalSecondaryIndexes").start_array(); for item_513 in var_511 { { + #[allow(unused_mut)] let mut object_514 = array_512.value().start_object(); crate::json_ser::serialize_structure_crate_model_global_secondary_index( &mut object_514, @@ -2219,6 +2329,7 @@ pub fn serialize_structure_crate_model_condition( let mut array_516 = object.key("AttributeValueList").start_array(); for item_517 in var_515 { { + #[allow(unused_mut)] let mut object_518 = array_516.value().start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_518, @@ -2240,6 +2351,7 @@ pub fn serialize_structure_crate_model_transact_get_item( input: &crate::model::TransactGetItem, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_520) = &input.get { + #[allow(unused_mut)] let mut object_521 = object.key("Get").start_object(); crate::json_ser::serialize_structure_crate_model_get(&mut object_521, var_520)?; object_521.finish(); @@ -2252,21 +2364,25 @@ pub fn serialize_structure_crate_model_transact_write_item( input: &crate::model::TransactWriteItem, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_522) = &input.condition_check { + #[allow(unused_mut)] let mut object_523 = object.key("ConditionCheck").start_object(); crate::json_ser::serialize_structure_crate_model_condition_check(&mut object_523, var_522)?; object_523.finish(); } if let Some(var_524) = &input.put { + #[allow(unused_mut)] let mut object_525 = object.key("Put").start_object(); crate::json_ser::serialize_structure_crate_model_put(&mut object_525, var_524)?; object_525.finish(); } if let Some(var_526) = &input.delete { + #[allow(unused_mut)] let mut object_527 = object.key("Delete").start_object(); crate::json_ser::serialize_structure_crate_model_delete(&mut object_527, var_526)?; object_527.finish(); } if let Some(var_528) = &input.update { + #[allow(unused_mut)] let mut object_529 = object.key("Update").start_object(); crate::json_ser::serialize_structure_crate_model_update(&mut object_529, var_528)?; object_529.finish(); @@ -2289,6 +2405,7 @@ pub fn serialize_structure_crate_model_replica_update( input: &crate::model::ReplicaUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_531) = &input.create { + #[allow(unused_mut)] let mut object_532 = object.key("Create").start_object(); crate::json_ser::serialize_structure_crate_model_create_replica_action( &mut object_532, @@ -2297,6 +2414,7 @@ pub fn serialize_structure_crate_model_replica_update( object_532.finish(); } if let Some(var_533) = &input.delete { + #[allow(unused_mut)] let mut object_534 = object.key("Delete").start_object(); crate::json_ser::serialize_structure_crate_model_delete_replica_action( &mut object_534, @@ -2330,6 +2448,7 @@ pub fn serialize_structure_crate_model_auto_scaling_settings_update( object.key("AutoScalingRoleArn").string(var_538.as_str()); } if let Some(var_539) = &input.scaling_policy_update { + #[allow(unused_mut)] let mut object_540 = object.key("ScalingPolicyUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_policy_update( &mut object_540, @@ -2354,6 +2473,7 @@ pub fn serialize_structure_crate_model_global_table_global_secondary_index_setti ); } if let Some(var_543) = &input.provisioned_write_capacity_auto_scaling_settings_update { + #[allow(unused_mut)] let mut object_544 = object .key("ProvisionedWriteCapacityAutoScalingSettingsUpdate") .start_object(); @@ -2380,6 +2500,7 @@ pub fn serialize_structure_crate_model_replica_settings_update( ); } if let Some(var_547) = &input.replica_provisioned_read_capacity_auto_scaling_settings_update { + #[allow(unused_mut)] let mut object_548 = object .key("ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate") .start_object(); @@ -2395,6 +2516,7 @@ pub fn serialize_structure_crate_model_replica_settings_update( .start_array(); for item_551 in var_549 { { + #[allow(unused_mut)] let mut object_552 = array_550.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_global_secondary_index_settings_update(&mut object_552, item_551)?; object_552.finish(); @@ -2413,6 +2535,7 @@ pub fn serialize_structure_crate_model_attribute_value_update( input: &crate::model::AttributeValueUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_554) = &input.value { + #[allow(unused_mut)] let mut object_555 = object.key("Value").start_object(); crate::json_ser::serialize_union_crate_model_attribute_value(&mut object_555, var_554)?; object_555.finish(); @@ -2428,6 +2551,7 @@ pub fn serialize_structure_crate_model_global_secondary_index_update( input: &crate::model::GlobalSecondaryIndexUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_557) = &input.update { + #[allow(unused_mut)] let mut object_558 = object.key("Update").start_object(); crate::json_ser::serialize_structure_crate_model_update_global_secondary_index_action( &mut object_558, @@ -2436,6 +2560,7 @@ pub fn serialize_structure_crate_model_global_secondary_index_update( object_558.finish(); } if let Some(var_559) = &input.create { + #[allow(unused_mut)] let mut object_560 = object.key("Create").start_object(); crate::json_ser::serialize_structure_crate_model_create_global_secondary_index_action( &mut object_560, @@ -2444,6 +2569,7 @@ pub fn serialize_structure_crate_model_global_secondary_index_update( object_560.finish(); } if let Some(var_561) = &input.delete { + #[allow(unused_mut)] let mut object_562 = object.key("Delete").start_object(); crate::json_ser::serialize_structure_crate_model_delete_global_secondary_index_action( &mut object_562, @@ -2459,6 +2585,7 @@ pub fn serialize_structure_crate_model_replication_group_update( input: &crate::model::ReplicationGroupUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_563) = &input.create { + #[allow(unused_mut)] let mut object_564 = object.key("Create").start_object(); crate::json_ser::serialize_structure_crate_model_create_replication_group_member_action( &mut object_564, @@ -2467,6 +2594,7 @@ pub fn serialize_structure_crate_model_replication_group_update( object_564.finish(); } if let Some(var_565) = &input.update { + #[allow(unused_mut)] let mut object_566 = object.key("Update").start_object(); crate::json_ser::serialize_structure_crate_model_update_replication_group_member_action( &mut object_566, @@ -2475,6 +2603,7 @@ pub fn serialize_structure_crate_model_replication_group_update( object_566.finish(); } if let Some(var_567) = &input.delete { + #[allow(unused_mut)] let mut object_568 = object.key("Delete").start_object(); crate::json_ser::serialize_structure_crate_model_delete_replication_group_member_action( &mut object_568, @@ -2493,6 +2622,7 @@ pub fn serialize_structure_crate_model_global_secondary_index_auto_scaling_updat object.key("IndexName").string(var_569.as_str()); } if let Some(var_570) = &input.provisioned_write_capacity_auto_scaling_update { + #[allow(unused_mut)] let mut object_571 = object .key("ProvisionedWriteCapacityAutoScalingUpdate") .start_object(); @@ -2518,6 +2648,7 @@ pub fn serialize_structure_crate_model_replica_auto_scaling_update( .start_array(); for item_575 in var_573 { { + #[allow(unused_mut)] let mut object_576 = array_574.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_global_secondary_index_auto_scaling_update(&mut object_576, item_575)?; object_576.finish(); @@ -2526,6 +2657,7 @@ pub fn serialize_structure_crate_model_replica_auto_scaling_update( array_574.finish(); } if let Some(var_577) = &input.replica_provisioned_read_capacity_auto_scaling_update { + #[allow(unused_mut)] let mut object_578 = object .key("ReplicaProvisionedReadCapacityAutoScalingUpdate") .start_object(); @@ -2556,9 +2688,11 @@ pub fn serialize_structure_crate_model_put_request( input: &crate::model::PutRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_581) = &input.item { + #[allow(unused_mut)] let mut object_582 = object.key("Item").start_object(); for (key_583, value_584) in var_581 { { + #[allow(unused_mut)] let mut object_585 = object_582.key(key_583.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_585, @@ -2577,9 +2711,11 @@ pub fn serialize_structure_crate_model_delete_request( input: &crate::model::DeleteRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_586) = &input.key { + #[allow(unused_mut)] let mut object_587 = object.key("Key").start_object(); for (key_588, value_589) in var_586 { { + #[allow(unused_mut)] let mut object_590 = object_587.key(key_588.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_590, @@ -2636,9 +2772,11 @@ pub fn serialize_structure_crate_model_get( input: &crate::model::Get, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_599) = &input.key { + #[allow(unused_mut)] let mut object_600 = object.key("Key").start_object(); for (key_601, value_602) in var_599 { { + #[allow(unused_mut)] let mut object_603 = object_600.key(key_601.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_603, @@ -2656,6 +2794,7 @@ pub fn serialize_structure_crate_model_get( object.key("ProjectionExpression").string(var_605.as_str()); } if let Some(var_606) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_607 = object.key("ExpressionAttributeNames").start_object(); for (key_608, value_609) in var_606 { { @@ -2672,9 +2811,11 @@ pub fn serialize_structure_crate_model_condition_check( input: &crate::model::ConditionCheck, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_610) = &input.key { + #[allow(unused_mut)] let mut object_611 = object.key("Key").start_object(); for (key_612, value_613) in var_610 { { + #[allow(unused_mut)] let mut object_614 = object_611.key(key_612.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_614, @@ -2692,6 +2833,7 @@ pub fn serialize_structure_crate_model_condition_check( object.key("ConditionExpression").string(var_616.as_str()); } if let Some(var_617) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_618 = object.key("ExpressionAttributeNames").start_object(); for (key_619, value_620) in var_617 { { @@ -2701,9 +2843,11 @@ pub fn serialize_structure_crate_model_condition_check( object_618.finish(); } if let Some(var_621) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_622 = object.key("ExpressionAttributeValues").start_object(); for (key_623, value_624) in var_621 { { + #[allow(unused_mut)] let mut object_625 = object_622.key(key_623.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_625, @@ -2727,9 +2871,11 @@ pub fn serialize_structure_crate_model_put( input: &crate::model::Put, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_627) = &input.item { + #[allow(unused_mut)] let mut object_628 = object.key("Item").start_object(); for (key_629, value_630) in var_627 { { + #[allow(unused_mut)] let mut object_631 = object_628.key(key_629.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_631, @@ -2747,6 +2893,7 @@ pub fn serialize_structure_crate_model_put( object.key("ConditionExpression").string(var_633.as_str()); } if let Some(var_634) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_635 = object.key("ExpressionAttributeNames").start_object(); for (key_636, value_637) in var_634 { { @@ -2756,9 +2903,11 @@ pub fn serialize_structure_crate_model_put( object_635.finish(); } if let Some(var_638) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_639 = object.key("ExpressionAttributeValues").start_object(); for (key_640, value_641) in var_638 { { + #[allow(unused_mut)] let mut object_642 = object_639.key(key_640.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_642, @@ -2782,9 +2931,11 @@ pub fn serialize_structure_crate_model_delete( input: &crate::model::Delete, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_644) = &input.key { + #[allow(unused_mut)] let mut object_645 = object.key("Key").start_object(); for (key_646, value_647) in var_644 { { + #[allow(unused_mut)] let mut object_648 = object_645.key(key_646.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_648, @@ -2802,6 +2953,7 @@ pub fn serialize_structure_crate_model_delete( object.key("ConditionExpression").string(var_650.as_str()); } if let Some(var_651) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_652 = object.key("ExpressionAttributeNames").start_object(); for (key_653, value_654) in var_651 { { @@ -2811,9 +2963,11 @@ pub fn serialize_structure_crate_model_delete( object_652.finish(); } if let Some(var_655) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_656 = object.key("ExpressionAttributeValues").start_object(); for (key_657, value_658) in var_655 { { + #[allow(unused_mut)] let mut object_659 = object_656.key(key_657.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_659, @@ -2837,9 +2991,11 @@ pub fn serialize_structure_crate_model_update( input: &crate::model::Update, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_661) = &input.key { + #[allow(unused_mut)] let mut object_662 = object.key("Key").start_object(); for (key_663, value_664) in var_661 { { + #[allow(unused_mut)] let mut object_665 = object_662.key(key_663.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_665, @@ -2860,6 +3016,7 @@ pub fn serialize_structure_crate_model_update( object.key("ConditionExpression").string(var_668.as_str()); } if let Some(var_669) = &input.expression_attribute_names { + #[allow(unused_mut)] let mut object_670 = object.key("ExpressionAttributeNames").start_object(); for (key_671, value_672) in var_669 { { @@ -2869,9 +3026,11 @@ pub fn serialize_structure_crate_model_update( object_670.finish(); } if let Some(var_673) = &input.expression_attribute_values { + #[allow(unused_mut)] let mut object_674 = object.key("ExpressionAttributeValues").start_object(); for (key_675, value_676) in var_673 { { + #[allow(unused_mut)] let mut object_677 = object_674.key(key_675.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_attribute_value( &mut object_677, @@ -2918,6 +3077,7 @@ pub fn serialize_structure_crate_model_auto_scaling_policy_update( object.key("PolicyName").string(var_681.as_str()); } if let Some(var_682) = &input.target_tracking_scaling_policy_configuration { + #[allow(unused_mut)] let mut object_683 = object .key("TargetTrackingScalingPolicyConfiguration") .start_object(); @@ -2941,6 +3101,7 @@ pub fn serialize_structure_crate_model_replica_global_secondary_index_settings_u ); } if let Some(var_686) = &input.provisioned_read_capacity_auto_scaling_settings_update { + #[allow(unused_mut)] let mut object_687 = object .key("ProvisionedReadCapacityAutoScalingSettingsUpdate") .start_object(); @@ -2961,6 +3122,7 @@ pub fn serialize_structure_crate_model_update_global_secondary_index_action( object.key("IndexName").string(var_688.as_str()); } if let Some(var_689) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_690 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_690, @@ -2982,6 +3144,7 @@ pub fn serialize_structure_crate_model_create_global_secondary_index_action( let mut array_693 = object.key("KeySchema").start_array(); for item_694 in var_692 { { + #[allow(unused_mut)] let mut object_695 = array_693.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_schema_element( &mut object_695, @@ -2993,11 +3156,13 @@ pub fn serialize_structure_crate_model_create_global_secondary_index_action( array_693.finish(); } if let Some(var_696) = &input.projection { + #[allow(unused_mut)] let mut object_697 = object.key("Projection").start_object(); crate::json_ser::serialize_structure_crate_model_projection(&mut object_697, var_696)?; object_697.finish(); } if let Some(var_698) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_699 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_699, @@ -3029,6 +3194,7 @@ pub fn serialize_structure_crate_model_create_replication_group_member_action( object.key("KMSMasterKeyId").string(var_702.as_str()); } if let Some(var_703) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_704 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput_override( &mut object_704, @@ -3040,6 +3206,7 @@ pub fn serialize_structure_crate_model_create_replication_group_member_action( let mut array_706 = object.key("GlobalSecondaryIndexes").start_array(); for item_707 in var_705 { { + #[allow(unused_mut)] let mut object_708 = array_706.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_global_secondary_index( &mut object_708, @@ -3067,6 +3234,7 @@ pub fn serialize_structure_crate_model_update_replication_group_member_action( object.key("KMSMasterKeyId").string(var_711.as_str()); } if let Some(var_712) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_713 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput_override( &mut object_713, @@ -3078,6 +3246,7 @@ pub fn serialize_structure_crate_model_update_replication_group_member_action( let mut array_715 = object.key("GlobalSecondaryIndexes").start_array(); for item_716 in var_714 { { + #[allow(unused_mut)] let mut object_717 = array_715.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_global_secondary_index( &mut object_717, @@ -3112,6 +3281,7 @@ pub fn serialize_structure_crate_model_replica_global_secondary_index_auto_scali object.key("IndexName").string(var_720.as_str()); } if let Some(var_721) = &input.provisioned_read_capacity_auto_scaling_update { + #[allow(unused_mut)] let mut object_722 = object .key("ProvisionedReadCapacityAutoScalingUpdate") .start_object(); @@ -3173,6 +3343,7 @@ pub fn serialize_structure_crate_model_replica_global_secondary_index( object.key("IndexName").string(var_728.as_str()); } if let Some(var_729) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_730 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput_override( &mut object_730, diff --git a/sdk/ebs/src/json_ser.rs b/sdk/ebs/src/json_ser.rs index 27a810de4f66..e560b5381ced 100644 --- a/sdk/ebs/src/json_ser.rs +++ b/sdk/ebs/src/json_ser.rs @@ -22,6 +22,7 @@ pub fn serialize_structure_crate_input_start_snapshot_input( let mut array_7 = object.key("Tags").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_9, item_8)?; object_9.finish(); diff --git a/sdk/ecr/src/json_ser.rs b/sdk/ecr/src/json_ser.rs index 7e05f303557d..d351075c3822 100644 --- a/sdk/ecr/src/json_ser.rs +++ b/sdk/ecr/src/json_ser.rs @@ -35,6 +35,7 @@ pub fn serialize_structure_crate_input_batch_delete_image_input( let mut array_9 = object.key("imageIds").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_11, @@ -62,6 +63,7 @@ pub fn serialize_structure_crate_input_batch_get_image_input( let mut array_15 = object.key("imageIds").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_17, @@ -155,6 +157,7 @@ pub fn serialize_structure_crate_input_create_repository_input( let mut array_36 = object.key("tags").start_array(); for item_37 in var_35 { { + #[allow(unused_mut)] let mut object_38 = array_36.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_38, item_37)?; object_38.finish(); @@ -166,6 +169,7 @@ pub fn serialize_structure_crate_input_create_repository_input( object.key("imageTagMutability").string(var_39.as_str()); } if let Some(var_40) = &input.image_scanning_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("imageScanningConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_scanning_configuration( &mut object_41, @@ -174,6 +178,7 @@ pub fn serialize_structure_crate_input_create_repository_input( object_41.finish(); } if let Some(var_42) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_43 = object.key("encryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_43, @@ -247,6 +252,7 @@ pub fn serialize_structure_crate_input_describe_image_replication_status_input( object.key("repositoryName").string(var_52.as_str()); } if let Some(var_53) = &input.image_id { + #[allow(unused_mut)] let mut object_54 = object.key("imageId").start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier(&mut object_54, var_53)?; object_54.finish(); @@ -271,6 +277,7 @@ pub fn serialize_structure_crate_input_describe_images_input( let mut array_59 = object.key("imageIds").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_61, @@ -291,6 +298,7 @@ pub fn serialize_structure_crate_input_describe_images_input( ); } if let Some(var_64) = &input.filter { + #[allow(unused_mut)] let mut object_65 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_describe_images_filter( &mut object_65, @@ -312,6 +320,7 @@ pub fn serialize_structure_crate_input_describe_image_scan_findings_input( object.key("repositoryName").string(var_67.as_str()); } if let Some(var_68) = &input.image_id { + #[allow(unused_mut)] let mut object_69 = object.key("imageId").start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier(&mut object_69, var_68)?; object_69.finish(); @@ -443,6 +452,7 @@ pub fn serialize_structure_crate_input_get_lifecycle_policy_preview_input( let mut array_95 = object.key("imageIds").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_97, @@ -463,6 +473,7 @@ pub fn serialize_structure_crate_input_get_lifecycle_policy_preview_input( ); } if let Some(var_100) = &input.filter { + #[allow(unused_mut)] let mut object_101 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle_policy_preview_filter( &mut object_101, @@ -519,6 +530,7 @@ pub fn serialize_structure_crate_input_list_images_input( ); } if let Some(var_110) = &input.filter { + #[allow(unused_mut)] let mut object_111 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_list_images_filter( &mut object_111, @@ -577,6 +589,7 @@ pub fn serialize_structure_crate_input_put_image_scanning_configuration_input( object.key("repositoryName").string(var_120.as_str()); } if let Some(var_121) = &input.image_scanning_configuration { + #[allow(unused_mut)] let mut object_122 = object.key("imageScanningConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_scanning_configuration( &mut object_122, @@ -640,6 +653,7 @@ pub fn serialize_structure_crate_input_put_registry_scanning_configuration_input let mut array_132 = object.key("rules").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_registry_scanning_rule( &mut object_134, @@ -658,6 +672,7 @@ pub fn serialize_structure_crate_input_put_replication_configuration_input( input: &crate::input::PutReplicationConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_135) = &input.replication_configuration { + #[allow(unused_mut)] let mut object_136 = object.key("replicationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_replication_configuration( &mut object_136, @@ -698,6 +713,7 @@ pub fn serialize_structure_crate_input_start_image_scan_input( object.key("repositoryName").string(var_141.as_str()); } if let Some(var_142) = &input.image_id { + #[allow(unused_mut)] let mut object_143 = object.key("imageId").start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_143, @@ -735,6 +751,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_149 = object.key("tags").start_array(); for item_150 in var_148 { { + #[allow(unused_mut)] let mut object_151 = array_149.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_151, item_150)?; object_151.finish(); @@ -887,6 +904,7 @@ pub fn serialize_structure_crate_model_registry_scanning_rule( let mut array_173 = object.key("repositoryFilters").start_array(); for item_174 in var_172 { { + #[allow(unused_mut)] let mut object_175 = array_173.value().start_object(); crate::json_ser::serialize_structure_crate_model_scanning_repository_filter( &mut object_175, @@ -908,6 +926,7 @@ pub fn serialize_structure_crate_model_replication_configuration( let mut array_177 = object.key("rules").start_array(); for item_178 in var_176 { { + #[allow(unused_mut)] let mut object_179 = array_177.value().start_object(); crate::json_ser::serialize_structure_crate_model_replication_rule( &mut object_179, @@ -942,6 +961,7 @@ pub fn serialize_structure_crate_model_replication_rule( let mut array_183 = object.key("destinations").start_array(); for item_184 in var_182 { { + #[allow(unused_mut)] let mut object_185 = array_183.value().start_object(); crate::json_ser::serialize_structure_crate_model_replication_destination( &mut object_185, @@ -956,6 +976,7 @@ pub fn serialize_structure_crate_model_replication_rule( let mut array_187 = object.key("repositoryFilters").start_array(); for item_188 in var_186 { { + #[allow(unused_mut)] let mut object_189 = array_187.value().start_object(); crate::json_ser::serialize_structure_crate_model_repository_filter( &mut object_189, diff --git a/sdk/ecrpublic/src/json_ser.rs b/sdk/ecrpublic/src/json_ser.rs index b851ca51726a..ea1783264f5b 100644 --- a/sdk/ecrpublic/src/json_ser.rs +++ b/sdk/ecrpublic/src/json_ser.rs @@ -35,6 +35,7 @@ pub fn serialize_structure_crate_input_batch_delete_image_input( let mut array_9 = object.key("imageIds").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_11, @@ -81,6 +82,7 @@ pub fn serialize_structure_crate_input_create_repository_input( object.key("repositoryName").string(var_18.as_str()); } if let Some(var_19) = &input.catalog_data { + #[allow(unused_mut)] let mut object_20 = object.key("catalogData").start_object(); crate::json_ser::serialize_structure_crate_model_repository_catalog_data_input( &mut object_20, @@ -92,6 +94,7 @@ pub fn serialize_structure_crate_input_create_repository_input( let mut array_22 = object.key("tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -145,6 +148,7 @@ pub fn serialize_structure_crate_input_describe_images_input( let mut array_32 = object.key("imageIds").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_image_identifier( &mut object_34, @@ -328,6 +332,7 @@ pub fn serialize_structure_crate_input_put_repository_catalog_data_input( object.key("repositoryName").string(var_64.as_str()); } if let Some(var_65) = &input.catalog_data { + #[allow(unused_mut)] let mut object_66 = object.key("catalogData").start_object(); crate::json_ser::serialize_structure_crate_model_repository_catalog_data_input( &mut object_66, @@ -368,6 +373,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_72 = object.key("tags").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_74, item_73)?; object_74.finish(); diff --git a/sdk/ecs/src/json_ser.rs b/sdk/ecs/src/json_ser.rs index f92e855aa4e7..8a08243ce5fa 100644 --- a/sdk/ecs/src/json_ser.rs +++ b/sdk/ecs/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_capacity_provider_input( object.key("name").string(var_1.as_str()); } if let Some(var_2) = &input.auto_scaling_group_provider { + #[allow(unused_mut)] let mut object_3 = object.key("autoScalingGroupProvider").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_group_provider( &mut object_3, @@ -18,6 +19,7 @@ pub fn serialize_structure_crate_input_create_capacity_provider_input( let mut array_5 = object.key("tags").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_7, item_6)?; object_7.finish(); @@ -39,6 +41,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_10 = object.key("tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -50,6 +53,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_14 = object.key("settings").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_cluster_setting( &mut object_16, @@ -61,6 +65,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( array_14.finish(); } if let Some(var_17) = &input.configuration { + #[allow(unused_mut)] let mut object_18 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_cluster_configuration( &mut object_18, @@ -81,6 +86,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_23 = object.key("defaultCapacityProviderStrategy").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_25, @@ -111,6 +117,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_30 = object.key("loadBalancers").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_load_balancer( &mut object_32, @@ -125,6 +132,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_34 = object.key("serviceRegistries").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_service_registry( &mut object_36, @@ -151,6 +159,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_41 = object.key("capacityProviderStrategy").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_43, @@ -168,6 +177,7 @@ pub fn serialize_structure_crate_input_create_service_input( object.key("role").string(var_45.as_str()); } if let Some(var_46) = &input.deployment_configuration { + #[allow(unused_mut)] let mut object_47 = object.key("deploymentConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_configuration( &mut object_47, @@ -179,6 +189,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_49 = object.key("placementConstraints").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_constraint( &mut object_51, @@ -193,6 +204,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_53 = object.key("placementStrategy").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_strategy( &mut object_55, @@ -204,6 +216,7 @@ pub fn serialize_structure_crate_input_create_service_input( array_53.finish(); } if let Some(var_56) = &input.network_configuration { + #[allow(unused_mut)] let mut object_57 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_57, @@ -221,6 +234,7 @@ pub fn serialize_structure_crate_input_create_service_input( object.key("schedulingStrategy").string(var_59.as_str()); } if let Some(var_60) = &input.deployment_controller { + #[allow(unused_mut)] let mut object_61 = object.key("deploymentController").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_controller( &mut object_61, @@ -232,6 +246,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_63 = object.key("tags").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_65, item_64)?; object_65.finish(); @@ -272,6 +287,7 @@ pub fn serialize_structure_crate_input_create_task_set_input( object.key("taskDefinition").string(var_70.as_str()); } if let Some(var_71) = &input.network_configuration { + #[allow(unused_mut)] let mut object_72 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_72, @@ -283,6 +299,7 @@ pub fn serialize_structure_crate_input_create_task_set_input( let mut array_74 = object.key("loadBalancers").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_load_balancer( &mut object_76, @@ -297,6 +314,7 @@ pub fn serialize_structure_crate_input_create_task_set_input( let mut array_78 = object.key("serviceRegistries").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_service_registry( &mut object_80, @@ -314,6 +332,7 @@ pub fn serialize_structure_crate_input_create_task_set_input( let mut array_83 = object.key("capacityProviderStrategy").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_85, @@ -328,6 +347,7 @@ pub fn serialize_structure_crate_input_create_task_set_input( object.key("platformVersion").string(var_86.as_str()); } if let Some(var_87) = &input.scale { + #[allow(unused_mut)] let mut object_88 = object.key("scale").start_object(); crate::json_ser::serialize_structure_crate_model_scale(&mut object_88, var_87)?; object_88.finish(); @@ -339,6 +359,7 @@ pub fn serialize_structure_crate_input_create_task_set_input( let mut array_91 = object.key("tags").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_93, item_92)?; object_93.finish(); @@ -373,6 +394,7 @@ pub fn serialize_structure_crate_input_delete_attributes_input( let mut array_98 = object.key("attributes").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_100, @@ -953,6 +975,7 @@ pub fn serialize_structure_crate_input_put_attributes_input( let mut array_215 = object.key("attributes").start_array(); for item_216 in var_214 { { + #[allow(unused_mut)] let mut object_217 = array_215.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_217, @@ -986,6 +1009,7 @@ pub fn serialize_structure_crate_input_put_cluster_capacity_providers_input( let mut array_223 = object.key("defaultCapacityProviderStrategy").start_array(); for item_224 in var_222 { { + #[allow(unused_mut)] let mut object_225 = array_223.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_225, @@ -1020,6 +1044,7 @@ pub fn serialize_structure_crate_input_register_container_instance_input( let mut array_230 = object.key("totalResources").start_array(); for item_231 in var_229 { { + #[allow(unused_mut)] let mut object_232 = array_230.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource( &mut object_232, @@ -1031,6 +1056,7 @@ pub fn serialize_structure_crate_input_register_container_instance_input( array_230.finish(); } if let Some(var_233) = &input.version_info { + #[allow(unused_mut)] let mut object_234 = object.key("versionInfo").start_object(); crate::json_ser::serialize_structure_crate_model_version_info(&mut object_234, var_233)?; object_234.finish(); @@ -1042,6 +1068,7 @@ pub fn serialize_structure_crate_input_register_container_instance_input( let mut array_237 = object.key("attributes").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_239, @@ -1056,6 +1083,7 @@ pub fn serialize_structure_crate_input_register_container_instance_input( let mut array_241 = object.key("platformDevices").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_platform_device( &mut object_243, @@ -1070,6 +1098,7 @@ pub fn serialize_structure_crate_input_register_container_instance_input( let mut array_245 = object.key("tags").start_array(); for item_246 in var_244 { { + #[allow(unused_mut)] let mut object_247 = array_245.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_247, item_246)?; object_247.finish(); @@ -1100,6 +1129,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( let mut array_253 = object.key("containerDefinitions").start_array(); for item_254 in var_252 { { + #[allow(unused_mut)] let mut object_255 = array_253.value().start_object(); crate::json_ser::serialize_structure_crate_model_container_definition( &mut object_255, @@ -1114,6 +1144,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( let mut array_257 = object.key("volumes").start_array(); for item_258 in var_256 { { + #[allow(unused_mut)] let mut object_259 = array_257.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume(&mut object_259, item_258)?; object_259.finish(); @@ -1125,6 +1156,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( let mut array_261 = object.key("placementConstraints").start_array(); for item_262 in var_260 { { + #[allow(unused_mut)] let mut object_263 = array_261.value().start_object(); crate::json_ser::serialize_structure_crate_model_task_definition_placement_constraint(&mut object_263, item_262)?; object_263.finish(); @@ -1151,6 +1183,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( let mut array_270 = object.key("tags").start_array(); for item_271 in var_269 { { + #[allow(unused_mut)] let mut object_272 = array_270.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_272, item_271)?; object_272.finish(); @@ -1165,6 +1198,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( object.key("ipcMode").string(var_274.as_str()); } if let Some(var_275) = &input.proxy_configuration { + #[allow(unused_mut)] let mut object_276 = object.key("proxyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_proxy_configuration( &mut object_276, @@ -1176,6 +1210,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( let mut array_278 = object.key("inferenceAccelerators").start_array(); for item_279 in var_277 { { + #[allow(unused_mut)] let mut object_280 = array_278.value().start_object(); crate::json_ser::serialize_structure_crate_model_inference_accelerator( &mut object_280, @@ -1187,6 +1222,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( array_278.finish(); } if let Some(var_281) = &input.ephemeral_storage { + #[allow(unused_mut)] let mut object_282 = object.key("ephemeralStorage").start_object(); crate::json_ser::serialize_structure_crate_model_ephemeral_storage( &mut object_282, @@ -1195,6 +1231,7 @@ pub fn serialize_structure_crate_input_register_task_definition_input( object_282.finish(); } if let Some(var_283) = &input.runtime_platform { + #[allow(unused_mut)] let mut object_284 = object.key("runtimePlatform").start_object(); crate::json_ser::serialize_structure_crate_model_runtime_platform( &mut object_284, @@ -1213,6 +1250,7 @@ pub fn serialize_structure_crate_input_run_task_input( let mut array_286 = object.key("capacityProviderStrategy").start_array(); for item_287 in var_285 { { + #[allow(unused_mut)] let mut object_288 = array_286.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_288, @@ -1249,6 +1287,7 @@ pub fn serialize_structure_crate_input_run_task_input( object.key("launchType").string(var_292.as_str()); } if let Some(var_293) = &input.network_configuration { + #[allow(unused_mut)] let mut object_294 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_294, @@ -1257,6 +1296,7 @@ pub fn serialize_structure_crate_input_run_task_input( object_294.finish(); } if let Some(var_295) = &input.overrides { + #[allow(unused_mut)] let mut object_296 = object.key("overrides").start_object(); crate::json_ser::serialize_structure_crate_model_task_override(&mut object_296, var_295)?; object_296.finish(); @@ -1265,6 +1305,7 @@ pub fn serialize_structure_crate_input_run_task_input( let mut array_298 = object.key("placementConstraints").start_array(); for item_299 in var_297 { { + #[allow(unused_mut)] let mut object_300 = array_298.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_constraint( &mut object_300, @@ -1279,6 +1320,7 @@ pub fn serialize_structure_crate_input_run_task_input( let mut array_302 = object.key("placementStrategy").start_array(); for item_303 in var_301 { { + #[allow(unused_mut)] let mut object_304 = array_302.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_strategy( &mut object_304, @@ -1305,6 +1347,7 @@ pub fn serialize_structure_crate_input_run_task_input( let mut array_310 = object.key("tags").start_array(); for item_311 in var_309 { { + #[allow(unused_mut)] let mut object_312 = array_310.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_312, item_311)?; object_312.finish(); @@ -1348,6 +1391,7 @@ pub fn serialize_structure_crate_input_start_task_input( object.key("group").string(var_318.as_str()); } if let Some(var_319) = &input.network_configuration { + #[allow(unused_mut)] let mut object_320 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_320, @@ -1356,6 +1400,7 @@ pub fn serialize_structure_crate_input_start_task_input( object_320.finish(); } if let Some(var_321) = &input.overrides { + #[allow(unused_mut)] let mut object_322 = object.key("overrides").start_object(); crate::json_ser::serialize_structure_crate_model_task_override(&mut object_322, var_321)?; object_322.finish(); @@ -1373,6 +1418,7 @@ pub fn serialize_structure_crate_input_start_task_input( let mut array_327 = object.key("tags").start_array(); for item_328 in var_326 { { + #[allow(unused_mut)] let mut object_329 = array_327.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_329, item_328)?; object_329.finish(); @@ -1413,6 +1459,7 @@ pub fn serialize_structure_crate_input_submit_attachment_state_changes_input( let mut array_336 = object.key("attachments").start_array(); for item_337 in var_335 { { + #[allow(unused_mut)] let mut object_338 = array_336.value().start_object(); crate::json_ser::serialize_structure_crate_model_attachment_state_change( &mut object_338, @@ -1458,6 +1505,7 @@ pub fn serialize_structure_crate_input_submit_container_state_change_input( let mut array_347 = object.key("networkBindings").start_array(); for item_348 in var_346 { { + #[allow(unused_mut)] let mut object_349 = array_347.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_binding( &mut object_349, @@ -1491,6 +1539,7 @@ pub fn serialize_structure_crate_input_submit_task_state_change_input( let mut array_355 = object.key("containers").start_array(); for item_356 in var_354 { { + #[allow(unused_mut)] let mut object_357 = array_355.value().start_object(); crate::json_ser::serialize_structure_crate_model_container_state_change( &mut object_357, @@ -1505,6 +1554,7 @@ pub fn serialize_structure_crate_input_submit_task_state_change_input( let mut array_359 = object.key("attachments").start_array(); for item_360 in var_358 { { + #[allow(unused_mut)] let mut object_361 = array_359.value().start_object(); crate::json_ser::serialize_structure_crate_model_attachment_state_change( &mut object_361, @@ -1519,6 +1569,7 @@ pub fn serialize_structure_crate_input_submit_task_state_change_input( let mut array_363 = object.key("managedAgents").start_array(); for item_364 in var_362 { { + #[allow(unused_mut)] let mut object_365 = array_363.value().start_object(); crate::json_ser::serialize_structure_crate_model_managed_agent_state_change( &mut object_365, @@ -1558,6 +1609,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_371 = object.key("tags").start_array(); for item_372 in var_370 { { + #[allow(unused_mut)] let mut object_373 = array_371.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_373, item_372)?; object_373.finish(); @@ -1595,6 +1647,7 @@ pub fn serialize_structure_crate_input_update_capacity_provider_input( object.key("name").string(var_378.as_str()); } if let Some(var_379) = &input.auto_scaling_group_provider { + #[allow(unused_mut)] let mut object_380 = object.key("autoScalingGroupProvider").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_group_provider_update( &mut object_380, @@ -1616,6 +1669,7 @@ pub fn serialize_structure_crate_input_update_cluster_input( let mut array_383 = object.key("settings").start_array(); for item_384 in var_382 { { + #[allow(unused_mut)] let mut object_385 = array_383.value().start_object(); crate::json_ser::serialize_structure_crate_model_cluster_setting( &mut object_385, @@ -1627,6 +1681,7 @@ pub fn serialize_structure_crate_input_update_cluster_input( array_383.finish(); } if let Some(var_386) = &input.configuration { + #[allow(unused_mut)] let mut object_387 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_cluster_configuration( &mut object_387, @@ -1648,6 +1703,7 @@ pub fn serialize_structure_crate_input_update_cluster_settings_input( let mut array_390 = object.key("settings").start_array(); for item_391 in var_389 { { + #[allow(unused_mut)] let mut object_392 = array_390.value().start_object(); crate::json_ser::serialize_structure_crate_model_cluster_setting( &mut object_392, @@ -1719,6 +1775,7 @@ pub fn serialize_structure_crate_input_update_service_input( let mut array_405 = object.key("capacityProviderStrategy").start_array(); for item_406 in var_404 { { + #[allow(unused_mut)] let mut object_407 = array_405.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_407, @@ -1730,6 +1787,7 @@ pub fn serialize_structure_crate_input_update_service_input( array_405.finish(); } if let Some(var_408) = &input.deployment_configuration { + #[allow(unused_mut)] let mut object_409 = object.key("deploymentConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_configuration( &mut object_409, @@ -1738,6 +1796,7 @@ pub fn serialize_structure_crate_input_update_service_input( object_409.finish(); } if let Some(var_410) = &input.network_configuration { + #[allow(unused_mut)] let mut object_411 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_411, @@ -1749,6 +1808,7 @@ pub fn serialize_structure_crate_input_update_service_input( let mut array_413 = object.key("placementConstraints").start_array(); for item_414 in var_412 { { + #[allow(unused_mut)] let mut object_415 = array_413.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_constraint( &mut object_415, @@ -1763,6 +1823,7 @@ pub fn serialize_structure_crate_input_update_service_input( let mut array_417 = object.key("placementStrategy").start_array(); for item_418 in var_416 { { + #[allow(unused_mut)] let mut object_419 = array_417.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_strategy( &mut object_419, @@ -1797,6 +1858,7 @@ pub fn serialize_structure_crate_input_update_service_input( let mut array_425 = object.key("loadBalancers").start_array(); for item_426 in var_424 { { + #[allow(unused_mut)] let mut object_427 = array_425.value().start_object(); crate::json_ser::serialize_structure_crate_model_load_balancer( &mut object_427, @@ -1814,6 +1876,7 @@ pub fn serialize_structure_crate_input_update_service_input( let mut array_430 = object.key("serviceRegistries").start_array(); for item_431 in var_429 { { + #[allow(unused_mut)] let mut object_432 = array_430.value().start_object(); crate::json_ser::serialize_structure_crate_model_service_registry( &mut object_432, @@ -1857,6 +1920,7 @@ pub fn serialize_structure_crate_input_update_task_set_input( object.key("taskSet").string(var_438.as_str()); } if let Some(var_439) = &input.scale { + #[allow(unused_mut)] let mut object_440 = object.key("scale").start_object(); crate::json_ser::serialize_structure_crate_model_scale(&mut object_440, var_439)?; object_440.finish(); @@ -1872,6 +1936,7 @@ pub fn serialize_structure_crate_model_auto_scaling_group_provider( object.key("autoScalingGroupArn").string(var_441.as_str()); } if let Some(var_442) = &input.managed_scaling { + #[allow(unused_mut)] let mut object_443 = object.key("managedScaling").start_object(); crate::json_ser::serialize_structure_crate_model_managed_scaling(&mut object_443, var_442)?; object_443.finish(); @@ -1915,6 +1980,7 @@ pub fn serialize_structure_crate_model_cluster_configuration( input: &crate::model::ClusterConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_449) = &input.execute_command_configuration { + #[allow(unused_mut)] let mut object_450 = object.key("executeCommandConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_execute_command_configuration( &mut object_450, @@ -1999,6 +2065,7 @@ pub fn serialize_structure_crate_model_deployment_configuration( input: &crate::model::DeploymentConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_460) = &input.deployment_circuit_breaker { + #[allow(unused_mut)] let mut object_461 = object.key("deploymentCircuitBreaker").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_circuit_breaker( &mut object_461, @@ -2052,6 +2119,7 @@ pub fn serialize_structure_crate_model_network_configuration( input: &crate::model::NetworkConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_468) = &input.awsvpc_configuration { + #[allow(unused_mut)] let mut object_469 = object.key("awsvpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_vpc_configuration( &mut object_469, @@ -2187,6 +2255,7 @@ pub fn serialize_structure_crate_model_container_definition( object.key("image").string(var_487.as_str()); } if let Some(var_488) = &input.repository_credentials { + #[allow(unused_mut)] let mut object_489 = object.key("repositoryCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_repository_credentials( &mut object_489, @@ -2225,6 +2294,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_496 = object.key("portMappings").start_array(); for item_497 in var_495 { { + #[allow(unused_mut)] let mut object_498 = array_496.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_mapping( &mut object_498, @@ -2260,6 +2330,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_507 = object.key("environment").start_array(); for item_508 in var_506 { { + #[allow(unused_mut)] let mut object_509 = array_507.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_value_pair( &mut object_509, @@ -2274,6 +2345,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_511 = object.key("environmentFiles").start_array(); for item_512 in var_510 { { + #[allow(unused_mut)] let mut object_513 = array_511.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_file( &mut object_513, @@ -2288,6 +2360,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_515 = object.key("mountPoints").start_array(); for item_516 in var_514 { { + #[allow(unused_mut)] let mut object_517 = array_515.value().start_object(); crate::json_ser::serialize_structure_crate_model_mount_point( &mut object_517, @@ -2302,6 +2375,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_519 = object.key("volumesFrom").start_array(); for item_520 in var_518 { { + #[allow(unused_mut)] let mut object_521 = array_519.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume_from( &mut object_521, @@ -2313,6 +2387,7 @@ pub fn serialize_structure_crate_model_container_definition( array_519.finish(); } if let Some(var_522) = &input.linux_parameters { + #[allow(unused_mut)] let mut object_523 = object.key("linuxParameters").start_object(); crate::json_ser::serialize_structure_crate_model_linux_parameters( &mut object_523, @@ -2324,6 +2399,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_525 = object.key("secrets").start_array(); for item_526 in var_524 { { + #[allow(unused_mut)] let mut object_527 = array_525.value().start_object(); crate::json_ser::serialize_structure_crate_model_secret(&mut object_527, item_526)?; object_527.finish(); @@ -2335,6 +2411,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_529 = object.key("dependsOn").start_array(); for item_530 in var_528 { { + #[allow(unused_mut)] let mut object_531 = array_529.value().start_object(); crate::json_ser::serialize_structure_crate_model_container_dependency( &mut object_531, @@ -2397,6 +2474,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_547 = object.key("extraHosts").start_array(); for item_548 in var_546 { { + #[allow(unused_mut)] let mut object_549 = array_547.value().start_object(); crate::json_ser::serialize_structure_crate_model_host_entry( &mut object_549, @@ -2423,6 +2501,7 @@ pub fn serialize_structure_crate_model_container_definition( object.key("pseudoTerminal").boolean(*var_554); } if let Some(var_555) = &input.docker_labels { + #[allow(unused_mut)] let mut object_556 = object.key("dockerLabels").start_object(); for (key_557, value_558) in var_555 { { @@ -2435,6 +2514,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_560 = object.key("ulimits").start_array(); for item_561 in var_559 { { + #[allow(unused_mut)] let mut object_562 = array_560.value().start_object(); crate::json_ser::serialize_structure_crate_model_ulimit(&mut object_562, item_561)?; object_562.finish(); @@ -2443,6 +2523,7 @@ pub fn serialize_structure_crate_model_container_definition( array_560.finish(); } if let Some(var_563) = &input.log_configuration { + #[allow(unused_mut)] let mut object_564 = object.key("logConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_log_configuration( &mut object_564, @@ -2451,6 +2532,7 @@ pub fn serialize_structure_crate_model_container_definition( object_564.finish(); } if let Some(var_565) = &input.health_check { + #[allow(unused_mut)] let mut object_566 = object.key("healthCheck").start_object(); crate::json_ser::serialize_structure_crate_model_health_check(&mut object_566, var_565)?; object_566.finish(); @@ -2459,6 +2541,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_568 = object.key("systemControls").start_array(); for item_569 in var_567 { { + #[allow(unused_mut)] let mut object_570 = array_568.value().start_object(); crate::json_ser::serialize_structure_crate_model_system_control( &mut object_570, @@ -2473,6 +2556,7 @@ pub fn serialize_structure_crate_model_container_definition( let mut array_572 = object.key("resourceRequirements").start_array(); for item_573 in var_571 { { + #[allow(unused_mut)] let mut object_574 = array_572.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_requirement( &mut object_574, @@ -2484,6 +2568,7 @@ pub fn serialize_structure_crate_model_container_definition( array_572.finish(); } if let Some(var_575) = &input.firelens_configuration { + #[allow(unused_mut)] let mut object_576 = object.key("firelensConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_firelens_configuration( &mut object_576, @@ -2502,6 +2587,7 @@ pub fn serialize_structure_crate_model_volume( object.key("name").string(var_577.as_str()); } if let Some(var_578) = &input.host { + #[allow(unused_mut)] let mut object_579 = object.key("host").start_object(); crate::json_ser::serialize_structure_crate_model_host_volume_properties( &mut object_579, @@ -2510,6 +2596,7 @@ pub fn serialize_structure_crate_model_volume( object_579.finish(); } if let Some(var_580) = &input.docker_volume_configuration { + #[allow(unused_mut)] let mut object_581 = object.key("dockerVolumeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_docker_volume_configuration( &mut object_581, @@ -2518,6 +2605,7 @@ pub fn serialize_structure_crate_model_volume( object_581.finish(); } if let Some(var_582) = &input.efs_volume_configuration { + #[allow(unused_mut)] let mut object_583 = object.key("efsVolumeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_efs_volume_configuration( &mut object_583, @@ -2526,6 +2614,7 @@ pub fn serialize_structure_crate_model_volume( object_583.finish(); } if let Some(var_584) = &input.fsx_windows_file_server_volume_configuration { + #[allow(unused_mut)] let mut object_585 = object .key("fsxWindowsFileServerVolumeConfiguration") .start_object(); @@ -2562,6 +2651,7 @@ pub fn serialize_structure_crate_model_proxy_configuration( let mut array_591 = object.key("properties").start_array(); for item_592 in var_590 { { + #[allow(unused_mut)] let mut object_593 = array_591.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_value_pair( &mut object_593, @@ -2622,6 +2712,7 @@ pub fn serialize_structure_crate_model_task_override( let mut array_599 = object.key("containerOverrides").start_array(); for item_600 in var_598 { { + #[allow(unused_mut)] let mut object_601 = array_599.value().start_object(); crate::json_ser::serialize_structure_crate_model_container_override( &mut object_601, @@ -2639,6 +2730,7 @@ pub fn serialize_structure_crate_model_task_override( let mut array_604 = object.key("inferenceAcceleratorOverrides").start_array(); for item_605 in var_603 { { + #[allow(unused_mut)] let mut object_606 = array_604.value().start_object(); crate::json_ser::serialize_structure_crate_model_inference_accelerator_override( &mut object_606, @@ -2659,6 +2751,7 @@ pub fn serialize_structure_crate_model_task_override( object.key("taskRoleArn").string(var_609.as_str()); } if let Some(var_610) = &input.ephemeral_storage { + #[allow(unused_mut)] let mut object_611 = object.key("ephemeralStorage").start_object(); crate::json_ser::serialize_structure_crate_model_ephemeral_storage( &mut object_611, @@ -2730,6 +2823,7 @@ pub fn serialize_structure_crate_model_container_state_change( let mut array_623 = object.key("networkBindings").start_array(); for item_624 in var_622 { { + #[allow(unused_mut)] let mut object_625 = array_623.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_binding( &mut object_625, @@ -2773,6 +2867,7 @@ pub fn serialize_structure_crate_model_auto_scaling_group_provider_update( input: &crate::model::AutoScalingGroupProviderUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_632) = &input.managed_scaling { + #[allow(unused_mut)] let mut object_633 = object.key("managedScaling").start_object(); crate::json_ser::serialize_structure_crate_model_managed_scaling(&mut object_633, var_632)?; object_633.finish(); @@ -2830,6 +2925,7 @@ pub fn serialize_structure_crate_model_execute_command_configuration( object.key("logging").string(var_641.as_str()); } if let Some(var_642) = &input.log_configuration { + #[allow(unused_mut)] let mut object_643 = object.key("logConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_execute_command_log_configuration( &mut object_643, @@ -2973,6 +3069,7 @@ pub fn serialize_structure_crate_model_linux_parameters( input: &crate::model::LinuxParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_664) = &input.capabilities { + #[allow(unused_mut)] let mut object_665 = object.key("capabilities").start_object(); crate::json_ser::serialize_structure_crate_model_kernel_capabilities( &mut object_665, @@ -2984,6 +3081,7 @@ pub fn serialize_structure_crate_model_linux_parameters( let mut array_667 = object.key("devices").start_array(); for item_668 in var_666 { { + #[allow(unused_mut)] let mut object_669 = array_667.value().start_object(); crate::json_ser::serialize_structure_crate_model_device(&mut object_669, item_668)?; object_669.finish(); @@ -3004,6 +3102,7 @@ pub fn serialize_structure_crate_model_linux_parameters( let mut array_673 = object.key("tmpfs").start_array(); for item_674 in var_672 { { + #[allow(unused_mut)] let mut object_675 = array_673.value().start_object(); crate::json_ser::serialize_structure_crate_model_tmpfs(&mut object_675, item_674)?; object_675.finish(); @@ -3095,6 +3194,7 @@ pub fn serialize_structure_crate_model_log_configuration( object.key("logDriver").string(var_685.as_str()); } if let Some(var_686) = &input.options { + #[allow(unused_mut)] let mut object_687 = object.key("options").start_object(); for (key_688, value_689) in var_686 { { @@ -3107,6 +3207,7 @@ pub fn serialize_structure_crate_model_log_configuration( let mut array_691 = object.key("secretOptions").start_array(); for item_692 in var_690 { { + #[allow(unused_mut)] let mut object_693 = array_691.value().start_object(); crate::json_ser::serialize_structure_crate_model_secret(&mut object_693, item_692)?; object_693.finish(); @@ -3191,6 +3292,7 @@ pub fn serialize_structure_crate_model_firelens_configuration( object.key("type").string(var_705.as_str()); } if let Some(var_706) = &input.options { + #[allow(unused_mut)] let mut object_707 = object.key("options").start_object(); for (key_708, value_709) in var_706 { { @@ -3226,6 +3328,7 @@ pub fn serialize_structure_crate_model_docker_volume_configuration( object.key("driver").string(var_713.as_str()); } if let Some(var_714) = &input.driver_opts { + #[allow(unused_mut)] let mut object_715 = object.key("driverOpts").start_object(); for (key_716, value_717) in var_714 { { @@ -3235,6 +3338,7 @@ pub fn serialize_structure_crate_model_docker_volume_configuration( object_715.finish(); } if let Some(var_718) = &input.labels { + #[allow(unused_mut)] let mut object_719 = object.key("labels").start_object(); for (key_720, value_721) in var_718 { { @@ -3266,6 +3370,7 @@ pub fn serialize_structure_crate_model_efs_volume_configuration( ); } if let Some(var_726) = &input.authorization_config { + #[allow(unused_mut)] let mut object_727 = object.key("authorizationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_efs_authorization_config( &mut object_727, @@ -3287,6 +3392,7 @@ pub fn serialize_structure_crate_model_f_sx_windows_file_server_volume_configura object.key("rootDirectory").string(var_729.as_str()); } if let Some(var_730) = &input.authorization_config { + #[allow(unused_mut)] let mut object_731 = object.key("authorizationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_f_sx_windows_file_server_authorization_config(&mut object_731, var_730)?; object_731.finish(); @@ -3314,6 +3420,7 @@ pub fn serialize_structure_crate_model_container_override( let mut array_737 = object.key("environment").start_array(); for item_738 in var_736 { { + #[allow(unused_mut)] let mut object_739 = array_737.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_value_pair( &mut object_739, @@ -3328,6 +3435,7 @@ pub fn serialize_structure_crate_model_container_override( let mut array_741 = object.key("environmentFiles").start_array(); for item_742 in var_740 { { + #[allow(unused_mut)] let mut object_743 = array_741.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_file( &mut object_743, @@ -3360,6 +3468,7 @@ pub fn serialize_structure_crate_model_container_override( let mut array_748 = object.key("resourceRequirements").start_array(); for item_749 in var_747 { { + #[allow(unused_mut)] let mut object_750 = array_748.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_requirement( &mut object_750, diff --git a/sdk/efs/src/json_ser.rs b/sdk/efs/src/json_ser.rs index 299267525d0e..9693b847537a 100644 --- a/sdk/efs/src/json_ser.rs +++ b/sdk/efs/src/json_ser.rs @@ -10,11 +10,13 @@ pub fn serialize_structure_crate_input_create_access_point_input( object.key("FileSystemId").string(var_2.as_str()); } if let Some(var_3) = &input.posix_user { + #[allow(unused_mut)] let mut object_4 = object.key("PosixUser").start_object(); crate::json_ser::serialize_structure_crate_model_posix_user(&mut object_4, var_3)?; object_4.finish(); } if let Some(var_5) = &input.root_directory { + #[allow(unused_mut)] let mut object_6 = object.key("RootDirectory").start_object(); crate::json_ser::serialize_structure_crate_model_root_directory(&mut object_6, var_5)?; object_6.finish(); @@ -23,6 +25,7 @@ pub fn serialize_structure_crate_input_create_access_point_input( let mut array_8 = object.key("Tags").start_array(); for item_9 in var_7 { { + #[allow(unused_mut)] let mut object_10 = array_8.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_10, item_9)?; object_10.finish(); @@ -65,6 +68,7 @@ pub fn serialize_structure_crate_input_create_file_system_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -111,6 +115,7 @@ pub fn serialize_structure_crate_input_create_replication_configuration_input( let mut array_30 = object.key("Destinations").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_destination_to_create( &mut object_32, @@ -132,6 +137,7 @@ pub fn serialize_structure_crate_input_create_tags_input( let mut array_34 = object.key("Tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -205,6 +211,7 @@ pub fn serialize_structure_crate_input_put_backup_policy_input( input: &crate::input::PutBackupPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.backup_policy { + #[allow(unused_mut)] let mut object_47 = object.key("BackupPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_backup_policy(&mut object_47, var_46)?; object_47.finish(); @@ -235,6 +242,7 @@ pub fn serialize_structure_crate_input_put_lifecycle_configuration_input( let mut array_50 = object.key("LifecyclePolicies").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle_policy( &mut object_52, @@ -256,6 +264,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_54 = object.key("Tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -321,6 +330,7 @@ pub fn serialize_structure_crate_model_root_directory( object.key("Path").string(var_64.as_str()); } if let Some(var_65) = &input.creation_info { + #[allow(unused_mut)] let mut object_66 = object.key("CreationInfo").start_object(); crate::json_ser::serialize_structure_crate_model_creation_info(&mut object_66, var_65)?; object_66.finish(); diff --git a/sdk/eks/src/json_ser.rs b/sdk/eks/src/json_ser.rs index 8c5b51af6785..727bb980f723 100644 --- a/sdk/eks/src/json_ser.rs +++ b/sdk/eks/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_associate_encryption_config_input( let mut array_3 = object.key("encryptionConfig").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config( &mut object_5, @@ -31,6 +32,7 @@ pub fn serialize_structure_crate_input_associate_identity_provider_config_input( object.key("clientRequestToken").string(var_6.as_str()); } if let Some(var_7) = &input.oidc { + #[allow(unused_mut)] let mut object_8 = object.key("oidc").start_object(); crate::json_ser::serialize_structure_crate_model_oidc_identity_provider_config_request( &mut object_8, @@ -39,6 +41,7 @@ pub fn serialize_structure_crate_input_associate_identity_provider_config_input( object_8.finish(); } if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("tags").start_object(); for (key_11, value_12) in var_9 { { @@ -70,6 +73,7 @@ pub fn serialize_structure_crate_input_create_addon_input( object.key("serviceAccountRoleArn").string(var_17.as_str()); } if let Some(var_18) = &input.tags { + #[allow(unused_mut)] let mut object_19 = object.key("tags").start_object(); for (key_20, value_21) in var_18 { { @@ -92,6 +96,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_24 = object.key("encryptionConfig").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config( &mut object_26, @@ -103,6 +108,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( array_24.finish(); } if let Some(var_27) = &input.kubernetes_network_config { + #[allow(unused_mut)] let mut object_28 = object.key("kubernetesNetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kubernetes_network_config_request( &mut object_28, @@ -111,6 +117,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object_28.finish(); } if let Some(var_29) = &input.logging { + #[allow(unused_mut)] let mut object_30 = object.key("logging").start_object(); crate::json_ser::serialize_structure_crate_model_logging(&mut object_30, var_29)?; object_30.finish(); @@ -119,6 +126,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("name").string(var_31.as_str()); } if let Some(var_32) = &input.outpost_config { + #[allow(unused_mut)] let mut object_33 = object.key("outpostConfig").start_object(); crate::json_ser::serialize_structure_crate_model_outpost_config_request( &mut object_33, @@ -127,6 +135,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object_33.finish(); } if let Some(var_34) = &input.resources_vpc_config { + #[allow(unused_mut)] let mut object_35 = object.key("resourcesVpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config_request( &mut object_35, @@ -138,6 +147,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("roleArn").string(var_36.as_str()); } if let Some(var_37) = &input.tags { + #[allow(unused_mut)] let mut object_38 = object.key("tags").start_object(); for (key_39, value_40) in var_37 { { @@ -169,6 +179,7 @@ pub fn serialize_structure_crate_input_create_fargate_profile_input( let mut array_46 = object.key("selectors").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_fargate_profile_selector( &mut object_48, @@ -189,6 +200,7 @@ pub fn serialize_structure_crate_input_create_fargate_profile_input( array_50.finish(); } if let Some(var_52) = &input.tags { + #[allow(unused_mut)] let mut object_53 = object.key("tags").start_object(); for (key_54, value_55) in var_52 { { @@ -229,6 +241,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( array_61.finish(); } if let Some(var_63) = &input.labels { + #[allow(unused_mut)] let mut object_64 = object.key("labels").start_object(); for (key_65, value_66) in var_63 { { @@ -238,6 +251,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( object_64.finish(); } if let Some(var_67) = &input.launch_template { + #[allow(unused_mut)] let mut object_68 = object.key("launchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_launch_template_specification( &mut object_68, @@ -255,6 +269,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( object.key("releaseVersion").string(var_71.as_str()); } if let Some(var_72) = &input.remote_access { + #[allow(unused_mut)] let mut object_73 = object.key("remoteAccess").start_object(); crate::json_ser::serialize_structure_crate_model_remote_access_config( &mut object_73, @@ -263,6 +278,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( object_73.finish(); } if let Some(var_74) = &input.scaling_config { + #[allow(unused_mut)] let mut object_75 = object.key("scalingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_nodegroup_scaling_config( &mut object_75, @@ -280,6 +296,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( array_77.finish(); } if let Some(var_79) = &input.tags { + #[allow(unused_mut)] let mut object_80 = object.key("tags").start_object(); for (key_81, value_82) in var_79 { { @@ -292,6 +309,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( let mut array_84 = object.key("taints").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_taint(&mut object_86, item_85)?; object_86.finish(); @@ -300,6 +318,7 @@ pub fn serialize_structure_crate_input_create_nodegroup_input( array_84.finish(); } if let Some(var_87) = &input.update_config { + #[allow(unused_mut)] let mut object_88 = object.key("updateConfig").start_object(); crate::json_ser::serialize_structure_crate_model_nodegroup_update_config( &mut object_88, @@ -318,6 +337,7 @@ pub fn serialize_structure_crate_input_describe_identity_provider_config_input( input: &crate::input::DescribeIdentityProviderConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.identity_provider_config { + #[allow(unused_mut)] let mut object_91 = object.key("identityProviderConfig").start_object(); crate::json_ser::serialize_structure_crate_model_identity_provider_config( &mut object_91, @@ -336,6 +356,7 @@ pub fn serialize_structure_crate_input_disassociate_identity_provider_config_inp object.key("clientRequestToken").string(var_92.as_str()); } if let Some(var_93) = &input.identity_provider_config { + #[allow(unused_mut)] let mut object_94 = object.key("identityProviderConfig").start_object(); crate::json_ser::serialize_structure_crate_model_identity_provider_config( &mut object_94, @@ -354,6 +375,7 @@ pub fn serialize_structure_crate_input_register_cluster_input( object.key("clientRequestToken").string(var_95.as_str()); } if let Some(var_96) = &input.connector_config { + #[allow(unused_mut)] let mut object_97 = object.key("connectorConfig").start_object(); crate::json_ser::serialize_structure_crate_model_connector_config_request( &mut object_97, @@ -365,6 +387,7 @@ pub fn serialize_structure_crate_input_register_cluster_input( object.key("name").string(var_98.as_str()); } if let Some(var_99) = &input.tags { + #[allow(unused_mut)] let mut object_100 = object.key("tags").start_object(); for (key_101, value_102) in var_99 { { @@ -381,6 +404,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_103) = &input.tags { + #[allow(unused_mut)] let mut object_104 = object.key("tags").start_object(); for (key_105, value_106) in var_103 { { @@ -419,11 +443,13 @@ pub fn serialize_structure_crate_input_update_cluster_config_input( object.key("clientRequestToken").string(var_111.as_str()); } if let Some(var_112) = &input.logging { + #[allow(unused_mut)] let mut object_113 = object.key("logging").start_object(); crate::json_ser::serialize_structure_crate_model_logging(&mut object_113, var_112)?; object_113.finish(); } if let Some(var_114) = &input.resources_vpc_config { + #[allow(unused_mut)] let mut object_115 = object.key("resourcesVpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config_request( &mut object_115, @@ -455,6 +481,7 @@ pub fn serialize_structure_crate_input_update_nodegroup_config_input( object.key("clientRequestToken").string(var_118.as_str()); } if let Some(var_119) = &input.labels { + #[allow(unused_mut)] let mut object_120 = object.key("labels").start_object(); crate::json_ser::serialize_structure_crate_model_update_labels_payload( &mut object_120, @@ -463,6 +490,7 @@ pub fn serialize_structure_crate_input_update_nodegroup_config_input( object_120.finish(); } if let Some(var_121) = &input.scaling_config { + #[allow(unused_mut)] let mut object_122 = object.key("scalingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_nodegroup_scaling_config( &mut object_122, @@ -471,6 +499,7 @@ pub fn serialize_structure_crate_input_update_nodegroup_config_input( object_122.finish(); } if let Some(var_123) = &input.taints { + #[allow(unused_mut)] let mut object_124 = object.key("taints").start_object(); crate::json_ser::serialize_structure_crate_model_update_taints_payload( &mut object_124, @@ -479,6 +508,7 @@ pub fn serialize_structure_crate_input_update_nodegroup_config_input( object_124.finish(); } if let Some(var_125) = &input.update_config { + #[allow(unused_mut)] let mut object_126 = object.key("updateConfig").start_object(); crate::json_ser::serialize_structure_crate_model_nodegroup_update_config( &mut object_126, @@ -500,6 +530,7 @@ pub fn serialize_structure_crate_input_update_nodegroup_version_input( object.key("force").boolean(input.force); } if let Some(var_128) = &input.launch_template { + #[allow(unused_mut)] let mut object_129 = object.key("launchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_launch_template_specification( &mut object_129, @@ -530,6 +561,7 @@ pub fn serialize_structure_crate_model_encryption_config( array_133.finish(); } if let Some(var_135) = &input.provider { + #[allow(unused_mut)] let mut object_136 = object.key("provider").start_object(); crate::json_ser::serialize_structure_crate_model_provider(&mut object_136, var_135)?; object_136.finish(); @@ -565,6 +597,7 @@ pub fn serialize_structure_crate_model_oidc_identity_provider_config_request( object.key("groupsPrefix").string(var_143.as_str()); } if let Some(var_144) = &input.required_claims { + #[allow(unused_mut)] let mut object_145 = object.key("requiredClaims").start_object(); for (key_146, value_147) in var_144 { { @@ -597,6 +630,7 @@ pub fn serialize_structure_crate_model_logging( let mut array_151 = object.key("clusterLogging").start_array(); for item_152 in var_150 { { + #[allow(unused_mut)] let mut object_153 = array_151.value().start_object(); crate::json_ser::serialize_structure_crate_model_log_setup( &mut object_153, @@ -679,6 +713,7 @@ pub fn serialize_structure_crate_model_fargate_profile_selector( object.key("namespace").string(var_169.as_str()); } if let Some(var_170) = &input.labels { + #[allow(unused_mut)] let mut object_171 = object.key("labels").start_object(); for (key_172, value_173) in var_170 { { @@ -816,6 +851,7 @@ pub fn serialize_structure_crate_model_update_labels_payload( input: &crate::model::UpdateLabelsPayload, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_193) = &input.add_or_update_labels { + #[allow(unused_mut)] let mut object_194 = object.key("addOrUpdateLabels").start_object(); for (key_195, value_196) in var_193 { { @@ -844,6 +880,7 @@ pub fn serialize_structure_crate_model_update_taints_payload( let mut array_201 = object.key("addOrUpdateTaints").start_array(); for item_202 in var_200 { { + #[allow(unused_mut)] let mut object_203 = array_201.value().start_object(); crate::json_ser::serialize_structure_crate_model_taint(&mut object_203, item_202)?; object_203.finish(); @@ -855,6 +892,7 @@ pub fn serialize_structure_crate_model_update_taints_payload( let mut array_205 = object.key("removeTaints").start_array(); for item_206 in var_204 { { + #[allow(unused_mut)] let mut object_207 = array_205.value().start_object(); crate::json_ser::serialize_structure_crate_model_taint(&mut object_207, item_206)?; object_207.finish(); diff --git a/sdk/elasticinference/src/json_ser.rs b/sdk/elasticinference/src/json_ser.rs index a0d2c07773ab..1a755a7744cc 100644 --- a/sdk/elasticinference/src/json_ser.rs +++ b/sdk/elasticinference/src/json_ser.rs @@ -35,6 +35,7 @@ pub fn serialize_structure_crate_input_describe_accelerators_input( let mut array_9 = object.key("filters").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_11, item_10)?; object_11.finish(); @@ -59,6 +60,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_13) = &input.tags { + #[allow(unused_mut)] let mut object_14 = object.key("tags").start_object(); for (key_15, value_16) in var_13 { { diff --git a/sdk/elasticsearch/src/json_ser.rs b/sdk/elasticsearch/src/json_ser.rs index 700316f8ba6c..659312189a68 100644 --- a/sdk/elasticsearch/src/json_ser.rs +++ b/sdk/elasticsearch/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_3 = object.key("TagList").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -38,6 +39,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object.key("AccessPolicies").string(var_7.as_str()); } if let Some(var_8) = &input.advanced_options { + #[allow(unused_mut)] let mut object_9 = object.key("AdvancedOptions").start_object(); for (key_10, value_11) in var_8 { { @@ -47,6 +49,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object_9.finish(); } if let Some(var_12) = &input.advanced_security_options { + #[allow(unused_mut)] let mut object_13 = object.key("AdvancedSecurityOptions").start_object(); crate::json_ser::serialize_structure_crate_model_advanced_security_options_input( &mut object_13, @@ -55,6 +58,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object_13.finish(); } if let Some(var_14) = &input.auto_tune_options { + #[allow(unused_mut)] let mut object_15 = object.key("AutoTuneOptions").start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_options_input( &mut object_15, @@ -63,11 +67,13 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object_15.finish(); } if let Some(var_16) = &input.cognito_options { + #[allow(unused_mut)] let mut object_17 = object.key("CognitoOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_options(&mut object_17, var_16)?; object_17.finish(); } if let Some(var_18) = &input.domain_endpoint_options { + #[allow(unused_mut)] let mut object_19 = object.key("DomainEndpointOptions").start_object(); crate::json_ser::serialize_structure_crate_model_domain_endpoint_options( &mut object_19, @@ -79,11 +85,13 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object.key("DomainName").string(var_20.as_str()); } if let Some(var_21) = &input.ebs_options { + #[allow(unused_mut)] let mut object_22 = object.key("EBSOptions").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_options(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.elasticsearch_cluster_config { + #[allow(unused_mut)] let mut object_24 = object.key("ElasticsearchClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_cluster_config( &mut object_24, @@ -95,6 +103,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object.key("ElasticsearchVersion").string(var_25.as_str()); } if let Some(var_26) = &input.encryption_at_rest_options { + #[allow(unused_mut)] let mut object_27 = object.key("EncryptionAtRestOptions").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_at_rest_options( &mut object_27, @@ -103,9 +112,11 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object_27.finish(); } if let Some(var_28) = &input.log_publishing_options { + #[allow(unused_mut)] let mut object_29 = object.key("LogPublishingOptions").start_object(); for (key_30, value_31) in var_28 { { + #[allow(unused_mut)] let mut object_32 = object_29.key(key_30.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_log_publishing_option( &mut object_32, @@ -117,6 +128,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object_29.finish(); } if let Some(var_33) = &input.node_to_node_encryption_options { + #[allow(unused_mut)] let mut object_34 = object.key("NodeToNodeEncryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_node_to_node_encryption_options( &mut object_34, @@ -125,6 +137,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( object_34.finish(); } if let Some(var_35) = &input.snapshot_options { + #[allow(unused_mut)] let mut object_36 = object.key("SnapshotOptions").start_object(); crate::json_ser::serialize_structure_crate_model_snapshot_options(&mut object_36, var_35)?; object_36.finish(); @@ -133,6 +146,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( let mut array_38 = object.key("TagList").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -141,6 +155,7 @@ pub fn serialize_structure_crate_input_create_elasticsearch_domain_input( array_38.finish(); } if let Some(var_41) = &input.vpc_options { + #[allow(unused_mut)] let mut object_42 = object.key("VPCOptions").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_options(&mut object_42, var_41)?; object_42.finish(); @@ -156,6 +171,7 @@ pub fn serialize_structure_crate_input_create_outbound_cross_cluster_search_conn object.key("ConnectionAlias").string(var_43.as_str()); } if let Some(var_44) = &input.destination_domain_info { + #[allow(unused_mut)] let mut object_45 = object.key("DestinationDomainInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_information( &mut object_45, @@ -164,6 +180,7 @@ pub fn serialize_structure_crate_input_create_outbound_cross_cluster_search_conn object_45.finish(); } if let Some(var_46) = &input.source_domain_info { + #[allow(unused_mut)] let mut object_47 = object.key("SourceDomainInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_information( &mut object_47, @@ -185,6 +202,7 @@ pub fn serialize_structure_crate_input_create_package_input( object.key("PackageName").string(var_49.as_str()); } if let Some(var_50) = &input.package_source { + #[allow(unused_mut)] let mut object_51 = object.key("PackageSource").start_object(); crate::json_ser::serialize_structure_crate_model_package_source(&mut object_51, var_50)?; object_51.finish(); @@ -235,6 +253,7 @@ pub fn serialize_structure_crate_input_describe_inbound_cross_cluster_search_con let mut array_58 = object.key("Filters").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_60, item_59)?; object_60.finish(); @@ -262,6 +281,7 @@ pub fn serialize_structure_crate_input_describe_outbound_cross_cluster_search_co let mut array_63 = object.key("Filters").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_65, item_64)?; object_65.finish(); @@ -289,6 +309,7 @@ pub fn serialize_structure_crate_input_describe_packages_input( let mut array_68 = object.key("Filters").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_describe_packages_filter( &mut object_70, @@ -369,6 +390,7 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object.key("AccessPolicies").string(var_79.as_str()); } if let Some(var_80) = &input.advanced_options { + #[allow(unused_mut)] let mut object_81 = object.key("AdvancedOptions").start_object(); for (key_82, value_83) in var_80 { { @@ -378,6 +400,7 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_81.finish(); } if let Some(var_84) = &input.advanced_security_options { + #[allow(unused_mut)] let mut object_85 = object.key("AdvancedSecurityOptions").start_object(); crate::json_ser::serialize_structure_crate_model_advanced_security_options_input( &mut object_85, @@ -386,16 +409,19 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_85.finish(); } if let Some(var_86) = &input.auto_tune_options { + #[allow(unused_mut)] let mut object_87 = object.key("AutoTuneOptions").start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_options(&mut object_87, var_86)?; object_87.finish(); } if let Some(var_88) = &input.cognito_options { + #[allow(unused_mut)] let mut object_89 = object.key("CognitoOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_options(&mut object_89, var_88)?; object_89.finish(); } if let Some(var_90) = &input.domain_endpoint_options { + #[allow(unused_mut)] let mut object_91 = object.key("DomainEndpointOptions").start_object(); crate::json_ser::serialize_structure_crate_model_domain_endpoint_options( &mut object_91, @@ -407,11 +433,13 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object.key("DryRun").boolean(*var_92); } if let Some(var_93) = &input.ebs_options { + #[allow(unused_mut)] let mut object_94 = object.key("EBSOptions").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_options(&mut object_94, var_93)?; object_94.finish(); } if let Some(var_95) = &input.elasticsearch_cluster_config { + #[allow(unused_mut)] let mut object_96 = object.key("ElasticsearchClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_cluster_config( &mut object_96, @@ -420,6 +448,7 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_96.finish(); } if let Some(var_97) = &input.encryption_at_rest_options { + #[allow(unused_mut)] let mut object_98 = object.key("EncryptionAtRestOptions").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_at_rest_options( &mut object_98, @@ -428,9 +457,11 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_98.finish(); } if let Some(var_99) = &input.log_publishing_options { + #[allow(unused_mut)] let mut object_100 = object.key("LogPublishingOptions").start_object(); for (key_101, value_102) in var_99 { { + #[allow(unused_mut)] let mut object_103 = object_100.key(key_101.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_log_publishing_option( &mut object_103, @@ -442,6 +473,7 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_100.finish(); } if let Some(var_104) = &input.node_to_node_encryption_options { + #[allow(unused_mut)] let mut object_105 = object.key("NodeToNodeEncryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_node_to_node_encryption_options( &mut object_105, @@ -450,6 +482,7 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_105.finish(); } if let Some(var_106) = &input.snapshot_options { + #[allow(unused_mut)] let mut object_107 = object.key("SnapshotOptions").start_object(); crate::json_ser::serialize_structure_crate_model_snapshot_options( &mut object_107, @@ -458,6 +491,7 @@ pub fn serialize_structure_crate_input_update_elasticsearch_domain_config_input( object_107.finish(); } if let Some(var_108) = &input.vpc_options { + #[allow(unused_mut)] let mut object_109 = object.key("VPCOptions").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_options(&mut object_109, var_108)?; object_109.finish(); @@ -479,6 +513,7 @@ pub fn serialize_structure_crate_input_update_package_input( object.key("PackageID").string(var_112.as_str()); } if let Some(var_113) = &input.package_source { + #[allow(unused_mut)] let mut object_114 = object.key("PackageSource").start_object(); crate::json_ser::serialize_structure_crate_model_package_source(&mut object_114, var_113)?; object_114.finish(); @@ -526,6 +561,7 @@ pub fn serialize_structure_crate_model_advanced_security_options_input( object.key("InternalUserDatabaseEnabled").boolean(*var_121); } if let Some(var_122) = &input.master_user_options { + #[allow(unused_mut)] let mut object_123 = object.key("MasterUserOptions").start_object(); crate::json_ser::serialize_structure_crate_model_master_user_options( &mut object_123, @@ -534,6 +570,7 @@ pub fn serialize_structure_crate_model_advanced_security_options_input( object_123.finish(); } if let Some(var_124) = &input.saml_options { + #[allow(unused_mut)] let mut object_125 = object.key("SAMLOptions").start_object(); crate::json_ser::serialize_structure_crate_model_saml_options_input( &mut object_125, @@ -558,6 +595,7 @@ pub fn serialize_structure_crate_model_auto_tune_options_input( let mut array_129 = object.key("MaintenanceSchedules").start_array(); for item_130 in var_128 { { + #[allow(unused_mut)] let mut object_131 = array_129.value().start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_maintenance_schedule( &mut object_131, @@ -665,6 +703,7 @@ pub fn serialize_structure_crate_model_elasticsearch_cluster_config( object.key("ZoneAwarenessEnabled").boolean(*var_149); } if let Some(var_150) = &input.zone_awareness_config { + #[allow(unused_mut)] let mut object_151 = object.key("ZoneAwarenessConfig").start_object(); crate::json_ser::serialize_structure_crate_model_zone_awareness_config( &mut object_151, @@ -694,6 +733,7 @@ pub fn serialize_structure_crate_model_elasticsearch_cluster_config( ); } if let Some(var_157) = &input.cold_storage_options { + #[allow(unused_mut)] let mut object_158 = object.key("ColdStorageOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cold_storage_options( &mut object_158, @@ -861,6 +901,7 @@ pub fn serialize_structure_crate_model_auto_tune_options( let mut array_187 = object.key("MaintenanceSchedules").start_array(); for item_188 in var_186 { { + #[allow(unused_mut)] let mut object_189 = array_187.value().start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_maintenance_schedule( &mut object_189, @@ -898,6 +939,7 @@ pub fn serialize_structure_crate_model_saml_options_input( object.key("Enabled").boolean(*var_193); } if let Some(var_194) = &input.idp { + #[allow(unused_mut)] let mut object_195 = object.key("Idp").start_object(); crate::json_ser::serialize_structure_crate_model_saml_idp(&mut object_195, var_194)?; object_195.finish(); @@ -933,6 +975,7 @@ pub fn serialize_structure_crate_model_auto_tune_maintenance_schedule( .date_time(var_201, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_202) = &input.duration { + #[allow(unused_mut)] let mut object_203 = object.key("Duration").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_203, var_202)?; object_203.finish(); diff --git a/sdk/elastictranscoder/src/json_ser.rs b/sdk/elastictranscoder/src/json_ser.rs index e6da0146d3ef..327772fab163 100644 --- a/sdk/elastictranscoder/src/json_ser.rs +++ b/sdk/elastictranscoder/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_job_input( input: &crate::input::CreateJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.input { + #[allow(unused_mut)] let mut object_2 = object.key("Input").start_object(); crate::json_ser::serialize_structure_crate_model_job_input(&mut object_2, var_1)?; object_2.finish(); @@ -12,6 +13,7 @@ pub fn serialize_structure_crate_input_create_job_input( let mut array_4 = object.key("Inputs").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_input(&mut object_6, item_5)?; object_6.finish(); @@ -20,6 +22,7 @@ pub fn serialize_structure_crate_input_create_job_input( array_4.finish(); } if let Some(var_7) = &input.output { + #[allow(unused_mut)] let mut object_8 = object.key("Output").start_object(); crate::json_ser::serialize_structure_crate_model_create_job_output(&mut object_8, var_7)?; object_8.finish(); @@ -31,6 +34,7 @@ pub fn serialize_structure_crate_input_create_job_input( let mut array_11 = object.key("Outputs").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_job_output( &mut object_13, @@ -48,6 +52,7 @@ pub fn serialize_structure_crate_input_create_job_input( let mut array_16 = object.key("Playlists").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_job_playlist( &mut object_18, @@ -59,6 +64,7 @@ pub fn serialize_structure_crate_input_create_job_input( array_16.finish(); } if let Some(var_19) = &input.user_metadata { + #[allow(unused_mut)] let mut object_20 = object.key("UserMetadata").start_object(); for (key_21, value_22) in var_19 { { @@ -78,6 +84,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( object.key("AwsKmsKeyArn").string(var_23.as_str()); } if let Some(var_24) = &input.content_config { + #[allow(unused_mut)] let mut object_25 = object.key("ContentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_output_config( &mut object_25, @@ -92,6 +99,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( object.key("Name").string(var_27.as_str()); } if let Some(var_28) = &input.notifications { + #[allow(unused_mut)] let mut object_29 = object.key("Notifications").start_object(); crate::json_ser::serialize_structure_crate_model_notifications(&mut object_29, var_28)?; object_29.finish(); @@ -103,6 +111,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( object.key("Role").string(var_31.as_str()); } if let Some(var_32) = &input.thumbnail_config { + #[allow(unused_mut)] let mut object_33 = object.key("ThumbnailConfig").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_output_config( &mut object_33, @@ -118,6 +127,7 @@ pub fn serialize_structure_crate_input_create_preset_input( input: &crate::input::CreatePresetInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.audio { + #[allow(unused_mut)] let mut object_35 = object.key("Audio").start_object(); crate::json_ser::serialize_structure_crate_model_audio_parameters(&mut object_35, var_34)?; object_35.finish(); @@ -132,11 +142,13 @@ pub fn serialize_structure_crate_input_create_preset_input( object.key("Name").string(var_38.as_str()); } if let Some(var_39) = &input.thumbnails { + #[allow(unused_mut)] let mut object_40 = object.key("Thumbnails").start_object(); crate::json_ser::serialize_structure_crate_model_thumbnails(&mut object_40, var_39)?; object_40.finish(); } if let Some(var_41) = &input.video { + #[allow(unused_mut)] let mut object_42 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video_parameters(&mut object_42, var_41)?; object_42.finish(); @@ -177,6 +189,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( object.key("AwsKmsKeyArn").string(var_49.as_str()); } if let Some(var_50) = &input.content_config { + #[allow(unused_mut)] let mut object_51 = object.key("ContentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_output_config( &mut object_51, @@ -191,6 +204,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( object.key("Name").string(var_53.as_str()); } if let Some(var_54) = &input.notifications { + #[allow(unused_mut)] let mut object_55 = object.key("Notifications").start_object(); crate::json_ser::serialize_structure_crate_model_notifications(&mut object_55, var_54)?; object_55.finish(); @@ -199,6 +213,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( object.key("Role").string(var_56.as_str()); } if let Some(var_57) = &input.thumbnail_config { + #[allow(unused_mut)] let mut object_58 = object.key("ThumbnailConfig").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_output_config( &mut object_58, @@ -214,6 +229,7 @@ pub fn serialize_structure_crate_input_update_pipeline_notifications_input( input: &crate::input::UpdatePipelineNotificationsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_59) = &input.notifications { + #[allow(unused_mut)] let mut object_60 = object.key("Notifications").start_object(); crate::json_ser::serialize_structure_crate_model_notifications(&mut object_60, var_59)?; object_60.finish(); @@ -254,21 +270,25 @@ pub fn serialize_structure_crate_model_job_input( object.key("Container").string(var_67.as_str()); } if let Some(var_68) = &input.encryption { + #[allow(unused_mut)] let mut object_69 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_69, var_68)?; object_69.finish(); } if let Some(var_70) = &input.time_span { + #[allow(unused_mut)] let mut object_71 = object.key("TimeSpan").start_object(); crate::json_ser::serialize_structure_crate_model_time_span(&mut object_71, var_70)?; object_71.finish(); } if let Some(var_72) = &input.input_captions { + #[allow(unused_mut)] let mut object_73 = object.key("InputCaptions").start_object(); crate::json_ser::serialize_structure_crate_model_input_captions(&mut object_73, var_72)?; object_73.finish(); } if let Some(var_74) = &input.detected_properties { + #[allow(unused_mut)] let mut object_75 = object.key("DetectedProperties").start_object(); crate::json_ser::serialize_structure_crate_model_detected_properties( &mut object_75, @@ -290,6 +310,7 @@ pub fn serialize_structure_crate_model_create_job_output( object.key("ThumbnailPattern").string(var_77.as_str()); } if let Some(var_78) = &input.thumbnail_encryption { + #[allow(unused_mut)] let mut object_79 = object.key("ThumbnailEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_79, var_78)?; object_79.finish(); @@ -307,6 +328,7 @@ pub fn serialize_structure_crate_model_create_job_output( let mut array_84 = object.key("Watermarks").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_watermark( &mut object_86, @@ -318,6 +340,7 @@ pub fn serialize_structure_crate_model_create_job_output( array_84.finish(); } if let Some(var_87) = &input.album_art { + #[allow(unused_mut)] let mut object_88 = object.key("AlbumArt").start_object(); crate::json_ser::serialize_structure_crate_model_job_album_art(&mut object_88, var_87)?; object_88.finish(); @@ -326,6 +349,7 @@ pub fn serialize_structure_crate_model_create_job_output( let mut array_90 = object.key("Composition").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_clip(&mut object_92, item_91)?; object_92.finish(); @@ -334,11 +358,13 @@ pub fn serialize_structure_crate_model_create_job_output( array_90.finish(); } if let Some(var_93) = &input.captions { + #[allow(unused_mut)] let mut object_94 = object.key("Captions").start_object(); crate::json_ser::serialize_structure_crate_model_captions(&mut object_94, var_93)?; object_94.finish(); } if let Some(var_95) = &input.encryption { + #[allow(unused_mut)] let mut object_96 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_96, var_95)?; object_96.finish(); @@ -366,6 +392,7 @@ pub fn serialize_structure_crate_model_create_job_playlist( array_100.finish(); } if let Some(var_102) = &input.hls_content_protection { + #[allow(unused_mut)] let mut object_103 = object.key("HlsContentProtection").start_object(); crate::json_ser::serialize_structure_crate_model_hls_content_protection( &mut object_103, @@ -374,6 +401,7 @@ pub fn serialize_structure_crate_model_create_job_playlist( object_103.finish(); } if let Some(var_104) = &input.play_ready_drm { + #[allow(unused_mut)] let mut object_105 = object.key("PlayReadyDrm").start_object(); crate::json_ser::serialize_structure_crate_model_play_ready_drm(&mut object_105, var_104)?; object_105.finish(); @@ -395,6 +423,7 @@ pub fn serialize_structure_crate_model_pipeline_output_config( let mut array_109 = object.key("Permissions").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_permission( &mut object_111, @@ -447,6 +476,7 @@ pub fn serialize_structure_crate_model_audio_parameters( object.key("AudioPackingMode").string(var_120.as_str()); } if let Some(var_121) = &input.codec_options { + #[allow(unused_mut)] let mut object_122 = object.key("CodecOptions").start_object(); crate::json_ser::serialize_structure_crate_model_audio_codec_options( &mut object_122, @@ -496,6 +526,7 @@ pub fn serialize_structure_crate_model_video_parameters( object.key("Codec").string(var_131.as_str()); } if let Some(var_132) = &input.codec_options { + #[allow(unused_mut)] let mut object_133 = object.key("CodecOptions").start_object(); for (key_134, value_135) in var_132 { { @@ -544,6 +575,7 @@ pub fn serialize_structure_crate_model_video_parameters( let mut array_149 = object.key("Watermarks").start_array(); for item_150 in var_148 { { + #[allow(unused_mut)] let mut object_151 = array_149.value().start_object(); crate::json_ser::serialize_structure_crate_model_preset_watermark( &mut object_151, @@ -600,6 +632,7 @@ pub fn serialize_structure_crate_model_input_captions( let mut array_160 = object.key("CaptionSources").start_array(); for item_161 in var_159 { { + #[allow(unused_mut)] let mut object_162 = array_160.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_source( &mut object_162, @@ -658,6 +691,7 @@ pub fn serialize_structure_crate_model_job_watermark( object.key("InputKey").string(var_169.as_str()); } if let Some(var_170) = &input.encryption { + #[allow(unused_mut)] let mut object_171 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_171, var_170)?; object_171.finish(); @@ -676,6 +710,7 @@ pub fn serialize_structure_crate_model_job_album_art( let mut array_174 = object.key("Artwork").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_artwork( &mut object_176, @@ -694,6 +729,7 @@ pub fn serialize_structure_crate_model_clip( input: &crate::model::Clip, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_177) = &input.time_span { + #[allow(unused_mut)] let mut object_178 = object.key("TimeSpan").start_object(); crate::json_ser::serialize_structure_crate_model_time_span(&mut object_178, var_177)?; object_178.finish(); @@ -712,6 +748,7 @@ pub fn serialize_structure_crate_model_captions( let mut array_181 = object.key("CaptionSources").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_source( &mut object_183, @@ -726,6 +763,7 @@ pub fn serialize_structure_crate_model_captions( let mut array_185 = object.key("CaptionFormats").start_array(); for item_186 in var_184 { { + #[allow(unused_mut)] let mut object_187 = array_185.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_format( &mut object_187, @@ -884,6 +922,7 @@ pub fn serialize_structure_crate_model_caption_source( object.key("Label").string(var_222.as_str()); } if let Some(var_223) = &input.encryption { + #[allow(unused_mut)] let mut object_224 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_224, var_223)?; object_224.finish(); @@ -914,6 +953,7 @@ pub fn serialize_structure_crate_model_artwork( object.key("AlbumArtFormat").string(var_230.as_str()); } if let Some(var_231) = &input.encryption { + #[allow(unused_mut)] let mut object_232 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_232, var_231)?; object_232.finish(); @@ -932,6 +972,7 @@ pub fn serialize_structure_crate_model_caption_format( object.key("Pattern").string(var_234.as_str()); } if let Some(var_235) = &input.encryption { + #[allow(unused_mut)] let mut object_236 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_236, var_235)?; object_236.finish(); diff --git a/sdk/emr/src/json_ser.rs b/sdk/emr/src/json_ser.rs index 056bc00d5ac7..bfe491923f76 100644 --- a/sdk/emr/src/json_ser.rs +++ b/sdk/emr/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_instance_fleet_input( object.key("ClusterId").string(var_1.as_str()); } if let Some(var_2) = &input.instance_fleet { + #[allow(unused_mut)] let mut object_3 = object.key("InstanceFleet").start_object(); crate::json_ser::serialize_structure_crate_model_instance_fleet_config( &mut object_3, @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_add_instance_groups_input( let mut array_5 = object.key("InstanceGroups").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_group_config( &mut object_7, @@ -52,6 +54,7 @@ pub fn serialize_structure_crate_input_add_job_flow_steps_input( let mut array_11 = object.key("Steps").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_step_config( &mut object_13, @@ -79,6 +82,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_17 = object.key("Tags").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_19, item_18)?; object_19.finish(); @@ -178,6 +182,7 @@ pub fn serialize_structure_crate_input_create_studio_input( let mut array_42 = object.key("Tags").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_44, item_43)?; object_44.finish(); @@ -534,6 +539,7 @@ pub fn serialize_structure_crate_input_list_release_labels_input( input: &crate::input::ListReleaseLabelsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_107) = &input.filters { + #[allow(unused_mut)] let mut object_108 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_release_label_filter( &mut object_108, @@ -644,6 +650,7 @@ pub fn serialize_structure_crate_input_modify_instance_fleet_input( object.key("ClusterId").string(var_126.as_str()); } if let Some(var_127) = &input.instance_fleet { + #[allow(unused_mut)] let mut object_128 = object.key("InstanceFleet").start_object(); crate::json_ser::serialize_structure_crate_model_instance_fleet_modify_config( &mut object_128, @@ -665,6 +672,7 @@ pub fn serialize_structure_crate_input_modify_instance_groups_input( let mut array_131 = object.key("InstanceGroups").start_array(); for item_132 in var_130 { { + #[allow(unused_mut)] let mut object_133 = array_131.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_group_modify_config( &mut object_133, @@ -689,6 +697,7 @@ pub fn serialize_structure_crate_input_put_auto_scaling_policy_input( object.key("InstanceGroupId").string(var_135.as_str()); } if let Some(var_136) = &input.auto_scaling_policy { + #[allow(unused_mut)] let mut object_137 = object.key("AutoScalingPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_policy( &mut object_137, @@ -707,6 +716,7 @@ pub fn serialize_structure_crate_input_put_auto_termination_policy_input( object.key("ClusterId").string(var_138.as_str()); } if let Some(var_139) = &input.auto_termination_policy { + #[allow(unused_mut)] let mut object_140 = object.key("AutoTerminationPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_auto_termination_policy( &mut object_140, @@ -722,6 +732,7 @@ pub fn serialize_structure_crate_input_put_block_public_access_configuration_inp input: &crate::input::PutBlockPublicAccessConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_141) = &input.block_public_access_configuration { + #[allow(unused_mut)] let mut object_142 = object.key("BlockPublicAccessConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_block_public_access_configuration( &mut object_142, @@ -740,6 +751,7 @@ pub fn serialize_structure_crate_input_put_managed_scaling_policy_input( object.key("ClusterId").string(var_143.as_str()); } if let Some(var_144) = &input.managed_scaling_policy { + #[allow(unused_mut)] let mut object_145 = object.key("ManagedScalingPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_managed_scaling_policy( &mut object_145, @@ -825,6 +837,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( object.key("ReleaseLabel").string(var_159.as_str()); } if let Some(var_160) = &input.instances { + #[allow(unused_mut)] let mut object_161 = object.key("Instances").start_object(); crate::json_ser::serialize_structure_crate_model_job_flow_instances_config( &mut object_161, @@ -836,6 +849,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_163 = object.key("Steps").start_array(); for item_164 in var_162 { { + #[allow(unused_mut)] let mut object_165 = array_163.value().start_object(); crate::json_ser::serialize_structure_crate_model_step_config( &mut object_165, @@ -850,6 +864,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_167 = object.key("BootstrapActions").start_array(); for item_168 in var_166 { { + #[allow(unused_mut)] let mut object_169 = array_167.value().start_object(); crate::json_ser::serialize_structure_crate_model_bootstrap_action_config( &mut object_169, @@ -873,6 +888,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_174 = object.key("NewSupportedProducts").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_supported_product_config( &mut object_176, @@ -887,6 +903,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_178 = object.key("Applications").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_application( &mut object_180, @@ -901,6 +918,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_182 = object.key("Configurations").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_184, @@ -926,6 +944,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_188 = object.key("Tags").start_array(); for item_189 in var_187 { { + #[allow(unused_mut)] let mut object_190 = array_188.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_190, item_189)?; object_190.finish(); @@ -955,6 +974,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( object.key("RepoUpgradeOnBoot").string(var_196.as_str()); } if let Some(var_197) = &input.kerberos_attributes { + #[allow(unused_mut)] let mut object_198 = object.key("KerberosAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_kerberos_attributes( &mut object_198, @@ -969,6 +989,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( ); } if let Some(var_200) = &input.managed_scaling_policy { + #[allow(unused_mut)] let mut object_201 = object.key("ManagedScalingPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_managed_scaling_policy( &mut object_201, @@ -980,6 +1001,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( let mut array_203 = object.key("PlacementGroupConfigs").start_array(); for item_204 in var_202 { { + #[allow(unused_mut)] let mut object_205 = array_203.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_group_config( &mut object_205, @@ -991,6 +1013,7 @@ pub fn serialize_structure_crate_input_run_job_flow_input( array_203.finish(); } if let Some(var_206) = &input.auto_termination_policy { + #[allow(unused_mut)] let mut object_207 = object.key("AutoTerminationPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_auto_termination_policy( &mut object_207, @@ -1063,6 +1086,7 @@ pub fn serialize_structure_crate_input_start_notebook_execution_input( object.key("NotebookParams").string(var_218.as_str()); } if let Some(var_219) = &input.execution_engine { + #[allow(unused_mut)] let mut object_220 = object.key("ExecutionEngine").start_object(); crate::json_ser::serialize_structure_crate_model_execution_engine_config( &mut object_220, @@ -1082,6 +1106,7 @@ pub fn serialize_structure_crate_input_start_notebook_execution_input( let mut array_224 = object.key("Tags").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_226, item_225)?; object_226.finish(); @@ -1194,6 +1219,7 @@ pub fn serialize_structure_crate_model_instance_fleet_config( let mut array_248 = object.key("InstanceTypeConfigs").start_array(); for item_249 in var_247 { { + #[allow(unused_mut)] let mut object_250 = array_248.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_type_config( &mut object_250, @@ -1205,6 +1231,7 @@ pub fn serialize_structure_crate_model_instance_fleet_config( array_248.finish(); } if let Some(var_251) = &input.launch_specifications { + #[allow(unused_mut)] let mut object_252 = object.key("LaunchSpecifications").start_object(); crate::json_ser::serialize_structure_crate_model_instance_fleet_provisioning_specifications(&mut object_252, var_251)?; object_252.finish(); @@ -1241,6 +1268,7 @@ pub fn serialize_structure_crate_model_instance_group_config( let mut array_260 = object.key("Configurations").start_array(); for item_261 in var_259 { { + #[allow(unused_mut)] let mut object_262 = array_260.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_262, @@ -1252,6 +1280,7 @@ pub fn serialize_structure_crate_model_instance_group_config( array_260.finish(); } if let Some(var_263) = &input.ebs_configuration { + #[allow(unused_mut)] let mut object_264 = object.key("EbsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_configuration( &mut object_264, @@ -1260,6 +1289,7 @@ pub fn serialize_structure_crate_model_instance_group_config( object_264.finish(); } if let Some(var_265) = &input.auto_scaling_policy { + #[allow(unused_mut)] let mut object_266 = object.key("AutoScalingPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_policy( &mut object_266, @@ -1284,6 +1314,7 @@ pub fn serialize_structure_crate_model_step_config( object.key("ActionOnFailure").string(var_269.as_str()); } if let Some(var_270) = &input.hadoop_jar_step { + #[allow(unused_mut)] let mut object_271 = object.key("HadoopJarStep").start_object(); crate::json_ser::serialize_structure_crate_model_hadoop_jar_step_config( &mut object_271, @@ -1365,6 +1396,7 @@ pub fn serialize_structure_crate_model_instance_group_modify_config( array_282.finish(); } if let Some(var_284) = &input.shrink_policy { + #[allow(unused_mut)] let mut object_285 = object.key("ShrinkPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_shrink_policy(&mut object_285, var_284)?; object_285.finish(); @@ -1376,6 +1408,7 @@ pub fn serialize_structure_crate_model_instance_group_modify_config( let mut array_288 = object.key("Configurations").start_array(); for item_289 in var_287 { { + #[allow(unused_mut)] let mut object_290 = array_288.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_290, @@ -1394,6 +1427,7 @@ pub fn serialize_structure_crate_model_auto_scaling_policy( input: &crate::model::AutoScalingPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_291) = &input.constraints { + #[allow(unused_mut)] let mut object_292 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_scaling_constraints( &mut object_292, @@ -1405,6 +1439,7 @@ pub fn serialize_structure_crate_model_auto_scaling_policy( let mut array_294 = object.key("Rules").start_array(); for item_295 in var_293 { { + #[allow(unused_mut)] let mut object_296 = array_294.value().start_object(); crate::json_ser::serialize_structure_crate_model_scaling_rule( &mut object_296, @@ -1446,6 +1481,7 @@ pub fn serialize_structure_crate_model_block_public_access_configuration( .start_array(); for item_299 in var_297 { { + #[allow(unused_mut)] let mut object_300 = array_298.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_300, @@ -1463,6 +1499,7 @@ pub fn serialize_structure_crate_model_block_public_access_configuration( let mut array_303 = object.key("Configurations").start_array(); for item_304 in var_302 { { + #[allow(unused_mut)] let mut object_305 = array_303.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_305, @@ -1474,6 +1511,7 @@ pub fn serialize_structure_crate_model_block_public_access_configuration( array_303.finish(); } if let Some(var_306) = &input.properties { + #[allow(unused_mut)] let mut object_307 = object.key("Properties").start_object(); for (key_308, value_309) in var_306 { { @@ -1490,6 +1528,7 @@ pub fn serialize_structure_crate_model_managed_scaling_policy( input: &crate::model::ManagedScalingPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_310) = &input.compute_limits { + #[allow(unused_mut)] let mut object_311 = object.key("ComputeLimits").start_object(); crate::json_ser::serialize_structure_crate_model_compute_limits(&mut object_311, var_310)?; object_311.finish(); @@ -1517,6 +1556,7 @@ pub fn serialize_structure_crate_model_job_flow_instances_config( let mut array_316 = object.key("InstanceGroups").start_array(); for item_317 in var_315 { { + #[allow(unused_mut)] let mut object_318 = array_316.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_group_config( &mut object_318, @@ -1531,6 +1571,7 @@ pub fn serialize_structure_crate_model_job_flow_instances_config( let mut array_320 = object.key("InstanceFleets").start_array(); for item_321 in var_319 { { + #[allow(unused_mut)] let mut object_322 = array_320.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_fleet_config( &mut object_322, @@ -1545,6 +1586,7 @@ pub fn serialize_structure_crate_model_job_flow_instances_config( object.key("Ec2KeyName").string(var_323.as_str()); } if let Some(var_324) = &input.placement { + #[allow(unused_mut)] let mut object_325 = object.key("Placement").start_object(); crate::json_ser::serialize_structure_crate_model_placement_type(&mut object_325, var_324)?; object_325.finish(); @@ -1618,6 +1660,7 @@ pub fn serialize_structure_crate_model_bootstrap_action_config( object.key("Name").string(var_340.as_str()); } if let Some(var_341) = &input.script_bootstrap_action { + #[allow(unused_mut)] let mut object_342 = object.key("ScriptBootstrapAction").start_object(); crate::json_ser::serialize_structure_crate_model_script_bootstrap_action_config( &mut object_342, @@ -1667,6 +1710,7 @@ pub fn serialize_structure_crate_model_application( array_350.finish(); } if let Some(var_352) = &input.additional_info { + #[allow(unused_mut)] let mut object_353 = object.key("AdditionalInfo").start_object(); for (key_354, value_355) in var_352 { { @@ -1689,6 +1733,7 @@ pub fn serialize_structure_crate_model_configuration( let mut array_358 = object.key("Configurations").start_array(); for item_359 in var_357 { { + #[allow(unused_mut)] let mut object_360 = array_358.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_360, @@ -1700,6 +1745,7 @@ pub fn serialize_structure_crate_model_configuration( array_358.finish(); } if let Some(var_361) = &input.properties { + #[allow(unused_mut)] let mut object_362 = object.key("Properties").start_object(); for (key_363, value_364) in var_361 { { @@ -1789,6 +1835,7 @@ pub fn serialize_structure_crate_model_instance_type_config( ); } if let Some(var_379) = &input.ebs_configuration { + #[allow(unused_mut)] let mut object_380 = object.key("EbsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_configuration( &mut object_380, @@ -1800,6 +1847,7 @@ pub fn serialize_structure_crate_model_instance_type_config( let mut array_382 = object.key("Configurations").start_array(); for item_383 in var_381 { { + #[allow(unused_mut)] let mut object_384 = array_382.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_384, @@ -1821,6 +1869,7 @@ pub fn serialize_structure_crate_model_instance_fleet_provisioning_specification input: &crate::model::InstanceFleetProvisioningSpecifications, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_386) = &input.spot_specification { + #[allow(unused_mut)] let mut object_387 = object.key("SpotSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_spot_provisioning_specification( &mut object_387, @@ -1829,6 +1878,7 @@ pub fn serialize_structure_crate_model_instance_fleet_provisioning_specification object_387.finish(); } if let Some(var_388) = &input.on_demand_specification { + #[allow(unused_mut)] let mut object_389 = object.key("OnDemandSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_on_demand_provisioning_specification( &mut object_389, @@ -1847,6 +1897,7 @@ pub fn serialize_structure_crate_model_ebs_configuration( let mut array_391 = object.key("EbsBlockDeviceConfigs").start_array(); for item_392 in var_390 { { + #[allow(unused_mut)] let mut object_393 = array_391.value().start_object(); crate::json_ser::serialize_structure_crate_model_ebs_block_device_config( &mut object_393, @@ -1871,6 +1922,7 @@ pub fn serialize_structure_crate_model_hadoop_jar_step_config( let mut array_396 = object.key("Properties").start_array(); for item_397 in var_395 { { + #[allow(unused_mut)] let mut object_398 = array_396.value().start_object(); crate::json_ser::serialize_structure_crate_model_key_value( &mut object_398, @@ -1910,6 +1962,7 @@ pub fn serialize_structure_crate_model_shrink_policy( ); } if let Some(var_405) = &input.instance_resize_policy { + #[allow(unused_mut)] let mut object_406 = object.key("InstanceResizePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_instance_resize_policy( &mut object_406, @@ -1950,11 +2003,13 @@ pub fn serialize_structure_crate_model_scaling_rule( object.key("Description").string(var_410.as_str()); } if let Some(var_411) = &input.action { + #[allow(unused_mut)] let mut object_412 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_scaling_action(&mut object_412, var_411)?; object_412.finish(); } if let Some(var_413) = &input.trigger { + #[allow(unused_mut)] let mut object_414 = object.key("Trigger").start_object(); crate::json_ser::serialize_structure_crate_model_scaling_trigger(&mut object_414, var_413)?; object_414.finish(); @@ -2086,6 +2141,7 @@ pub fn serialize_structure_crate_model_on_demand_provisioning_specification( object.key("AllocationStrategy").string(var_434.as_str()); } if let Some(var_435) = &input.capacity_reservation_options { + #[allow(unused_mut)] let mut object_436 = object.key("CapacityReservationOptions").start_object(); crate::json_ser::serialize_structure_crate_model_on_demand_capacity_reservation_options( &mut object_436, @@ -2101,6 +2157,7 @@ pub fn serialize_structure_crate_model_ebs_block_device_config( input: &crate::model::EbsBlockDeviceConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_437) = &input.volume_specification { + #[allow(unused_mut)] let mut object_438 = object.key("VolumeSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_volume_specification( &mut object_438, @@ -2169,6 +2226,7 @@ pub fn serialize_structure_crate_model_scaling_action( object.key("Market").string(var_449.as_str()); } if let Some(var_450) = &input.simple_scaling_policy_configuration { + #[allow(unused_mut)] let mut object_451 = object .key("SimpleScalingPolicyConfiguration") .start_object(); @@ -2186,6 +2244,7 @@ pub fn serialize_structure_crate_model_scaling_trigger( input: &crate::model::ScalingTrigger, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_452) = &input.cloud_watch_alarm_definition { + #[allow(unused_mut)] let mut object_453 = object.key("CloudWatchAlarmDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_alarm_definition( &mut object_453, @@ -2307,6 +2366,7 @@ pub fn serialize_structure_crate_model_cloud_watch_alarm_definition( let mut array_473 = object.key("Dimensions").start_array(); for item_474 in var_472 { { + #[allow(unused_mut)] let mut object_475 = array_473.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_475, diff --git a/sdk/emrcontainers/src/json_ser.rs b/sdk/emrcontainers/src/json_ser.rs index a604a87ef431..0199c307642a 100644 --- a/sdk/emrcontainers/src/json_ser.rs +++ b/sdk/emrcontainers/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_managed_endpoint_input( object.key("clientToken").string(var_2.as_str()); } if let Some(var_3) = &input.configuration_overrides { + #[allow(unused_mut)] let mut object_4 = object.key("configurationOverrides").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_overrides( &mut object_4, @@ -27,6 +28,7 @@ pub fn serialize_structure_crate_input_create_managed_endpoint_input( object.key("releaseLabel").string(var_7.as_str()); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { @@ -49,6 +51,7 @@ pub fn serialize_structure_crate_input_create_virtual_cluster_input( object.key("clientToken").string(var_13.as_str()); } if let Some(var_14) = &input.container_provider { + #[allow(unused_mut)] let mut object_15 = object.key("containerProvider").start_object(); crate::json_ser::serialize_structure_crate_model_container_provider( &mut object_15, @@ -60,6 +63,7 @@ pub fn serialize_structure_crate_input_create_virtual_cluster_input( object.key("name").string(var_16.as_str()); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("clientToken").string(var_21.as_str()); } if let Some(var_22) = &input.configuration_overrides { + #[allow(unused_mut)] let mut object_23 = object.key("configurationOverrides").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_overrides( &mut object_23, @@ -90,6 +95,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("executionRoleArn").string(var_24.as_str()); } if let Some(var_25) = &input.job_driver { + #[allow(unused_mut)] let mut object_26 = object.key("jobDriver").start_object(); crate::json_ser::serialize_structure_crate_model_job_driver(&mut object_26, var_25)?; object_26.finish(); @@ -101,6 +107,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("releaseLabel").string(var_28.as_str()); } if let Some(var_29) = &input.tags { + #[allow(unused_mut)] let mut object_30 = object.key("tags").start_object(); for (key_31, value_32) in var_29 { { @@ -117,6 +124,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_33) = &input.tags { + #[allow(unused_mut)] let mut object_34 = object.key("tags").start_object(); for (key_35, value_36) in var_33 { { @@ -136,6 +144,7 @@ pub fn serialize_structure_crate_model_configuration_overrides( let mut array_38 = object.key("applicationConfiguration").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_40, @@ -147,6 +156,7 @@ pub fn serialize_structure_crate_model_configuration_overrides( array_38.finish(); } if let Some(var_41) = &input.monitoring_configuration { + #[allow(unused_mut)] let mut object_42 = object.key("monitoringConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_configuration( &mut object_42, @@ -168,6 +178,7 @@ pub fn serialize_structure_crate_model_container_provider( object.key("id").string(var_44.as_str()); } if let Some(var_45) = &input.info { + #[allow(unused_mut)] let mut object_46 = object.key("info").start_object(); crate::json_ser::serialize_union_crate_model_container_info(&mut object_46, var_45)?; object_46.finish(); @@ -180,6 +191,7 @@ pub fn serialize_structure_crate_model_job_driver( input: &crate::model::JobDriver, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_47) = &input.spark_submit_job_driver { + #[allow(unused_mut)] let mut object_48 = object.key("sparkSubmitJobDriver").start_object(); crate::json_ser::serialize_structure_crate_model_spark_submit_job_driver( &mut object_48, @@ -188,6 +200,7 @@ pub fn serialize_structure_crate_model_job_driver( object_48.finish(); } if let Some(var_49) = &input.spark_sql_job_driver { + #[allow(unused_mut)] let mut object_50 = object.key("sparkSqlJobDriver").start_object(); crate::json_ser::serialize_structure_crate_model_spark_sql_job_driver( &mut object_50, @@ -206,6 +219,7 @@ pub fn serialize_structure_crate_model_configuration( object.key("classification").string(var_51.as_str()); } if let Some(var_52) = &input.properties { + #[allow(unused_mut)] let mut object_53 = object.key("properties").start_object(); for (key_54, value_55) in var_52 { { @@ -218,6 +232,7 @@ pub fn serialize_structure_crate_model_configuration( let mut array_57 = object.key("configurations").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_59, @@ -239,6 +254,7 @@ pub fn serialize_structure_crate_model_monitoring_configuration( object.key("persistentAppUI").string(var_60.as_str()); } if let Some(var_61) = &input.cloud_watch_monitoring_configuration { + #[allow(unused_mut)] let mut object_62 = object .key("cloudWatchMonitoringConfiguration") .start_object(); @@ -249,6 +265,7 @@ pub fn serialize_structure_crate_model_monitoring_configuration( object_62.finish(); } if let Some(var_63) = &input.s3_monitoring_configuration { + #[allow(unused_mut)] let mut object_64 = object.key("s3MonitoringConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_monitoring_configuration( &mut object_64, @@ -265,6 +282,7 @@ pub fn serialize_union_crate_model_container_info( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ContainerInfo::EksInfo(inner) => { + #[allow(unused_mut)] let mut object_65 = object_46.key("eksInfo").start_object(); crate::json_ser::serialize_structure_crate_model_eks_info(&mut object_65, inner)?; object_65.finish(); diff --git a/sdk/emrserverless/src/json_ser.rs b/sdk/emrserverless/src/json_ser.rs index bff627c00a8c..80100fe57716 100644 --- a/sdk/emrserverless/src/json_ser.rs +++ b/sdk/emrserverless/src/json_ser.rs @@ -4,11 +4,13 @@ pub fn serialize_structure_crate_input_create_application_input( input: &crate::input::CreateApplicationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.auto_start_configuration { + #[allow(unused_mut)] let mut object_2 = object.key("autoStartConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_start_config(&mut object_2, var_1)?; object_2.finish(); } if let Some(var_3) = &input.auto_stop_configuration { + #[allow(unused_mut)] let mut object_4 = object.key("autoStopConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_stop_config(&mut object_4, var_3)?; object_4.finish(); @@ -17,9 +19,11 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("clientToken").string(var_5.as_str()); } if let Some(var_6) = &input.initial_capacity { + #[allow(unused_mut)] let mut object_7 = object.key("initialCapacity").start_object(); for (key_8, value_9) in var_6 { { + #[allow(unused_mut)] let mut object_10 = object_7.key(key_8.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_initial_capacity_config( &mut object_10, @@ -31,6 +35,7 @@ pub fn serialize_structure_crate_input_create_application_input( object_7.finish(); } if let Some(var_11) = &input.maximum_capacity { + #[allow(unused_mut)] let mut object_12 = object.key("maximumCapacity").start_object(); crate::json_ser::serialize_structure_crate_model_maximum_allowed_resources( &mut object_12, @@ -42,6 +47,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("name").string(var_13.as_str()); } if let Some(var_14) = &input.network_configuration { + #[allow(unused_mut)] let mut object_15 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_15, @@ -53,6 +59,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("releaseLabel").string(var_16.as_str()); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -75,6 +82,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("clientToken").string(var_22.as_str()); } if let Some(var_23) = &input.configuration_overrides { + #[allow(unused_mut)] let mut object_24 = object.key("configurationOverrides").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_overrides( &mut object_24, @@ -92,6 +100,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( ); } if let Some(var_27) = &input.job_driver { + #[allow(unused_mut)] let mut object_28 = object.key("jobDriver").start_object(); crate::json_ser::serialize_union_crate_model_job_driver(&mut object_28, var_27)?; object_28.finish(); @@ -100,6 +109,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("name").string(var_29.as_str()); } if let Some(var_30) = &input.tags { + #[allow(unused_mut)] let mut object_31 = object.key("tags").start_object(); for (key_32, value_33) in var_30 { { @@ -116,6 +126,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("tags").start_object(); for (key_36, value_37) in var_34 { { @@ -132,11 +143,13 @@ pub fn serialize_structure_crate_input_update_application_input( input: &crate::input::UpdateApplicationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_38) = &input.auto_start_configuration { + #[allow(unused_mut)] let mut object_39 = object.key("autoStartConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_start_config(&mut object_39, var_38)?; object_39.finish(); } if let Some(var_40) = &input.auto_stop_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("autoStopConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_stop_config(&mut object_41, var_40)?; object_41.finish(); @@ -145,9 +158,11 @@ pub fn serialize_structure_crate_input_update_application_input( object.key("clientToken").string(var_42.as_str()); } if let Some(var_43) = &input.initial_capacity { + #[allow(unused_mut)] let mut object_44 = object.key("initialCapacity").start_object(); for (key_45, value_46) in var_43 { { + #[allow(unused_mut)] let mut object_47 = object_44.key(key_45.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_initial_capacity_config( &mut object_47, @@ -159,6 +174,7 @@ pub fn serialize_structure_crate_input_update_application_input( object_44.finish(); } if let Some(var_48) = &input.maximum_capacity { + #[allow(unused_mut)] let mut object_49 = object.key("maximumCapacity").start_object(); crate::json_ser::serialize_structure_crate_model_maximum_allowed_resources( &mut object_49, @@ -167,6 +183,7 @@ pub fn serialize_structure_crate_input_update_application_input( object_49.finish(); } if let Some(var_50) = &input.network_configuration { + #[allow(unused_mut)] let mut object_51 = object.key("networkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_51, @@ -214,6 +231,7 @@ pub fn serialize_structure_crate_model_initial_capacity_config( ); } if let Some(var_55) = &input.worker_configuration { + #[allow(unused_mut)] let mut object_56 = object.key("workerConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_worker_resource_config( &mut object_56, @@ -273,6 +291,7 @@ pub fn serialize_structure_crate_model_configuration_overrides( let mut array_67 = object.key("applicationConfiguration").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_69, @@ -284,6 +303,7 @@ pub fn serialize_structure_crate_model_configuration_overrides( array_67.finish(); } if let Some(var_70) = &input.monitoring_configuration { + #[allow(unused_mut)] let mut object_71 = object.key("monitoringConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_configuration( &mut object_71, @@ -300,11 +320,13 @@ pub fn serialize_union_crate_model_job_driver( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::JobDriver::SparkSubmit(inner) => { + #[allow(unused_mut)] let mut object_72 = object_28.key("sparkSubmit").start_object(); crate::json_ser::serialize_structure_crate_model_spark_submit(&mut object_72, inner)?; object_72.finish(); } crate::model::JobDriver::Hive(inner) => { + #[allow(unused_mut)] let mut object_73 = object_28.key("hive").start_object(); crate::json_ser::serialize_structure_crate_model_hive(&mut object_73, inner)?; object_73.finish(); @@ -342,6 +364,7 @@ pub fn serialize_structure_crate_model_configuration( object.key("classification").string(var_77.as_str()); } if let Some(var_78) = &input.properties { + #[allow(unused_mut)] let mut object_79 = object.key("properties").start_object(); for (key_80, value_81) in var_78 { { @@ -354,6 +377,7 @@ pub fn serialize_structure_crate_model_configuration( let mut array_83 = object.key("configurations").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_85, @@ -372,6 +396,7 @@ pub fn serialize_structure_crate_model_monitoring_configuration( input: &crate::model::MonitoringConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_86) = &input.s3_monitoring_configuration { + #[allow(unused_mut)] let mut object_87 = object.key("s3MonitoringConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_monitoring_configuration( &mut object_87, @@ -380,6 +405,7 @@ pub fn serialize_structure_crate_model_monitoring_configuration( object_87.finish(); } if let Some(var_88) = &input.managed_persistence_monitoring_configuration { + #[allow(unused_mut)] let mut object_89 = object .key("managedPersistenceMonitoringConfiguration") .start_object(); diff --git a/sdk/eventbridge/src/json_ser.rs b/sdk/eventbridge/src/json_ser.rs index 64894070b7c6..5bd9a4797c2b 100644 --- a/sdk/eventbridge/src/json_ser.rs +++ b/sdk/eventbridge/src/json_ser.rs @@ -86,6 +86,7 @@ pub fn serialize_structure_crate_input_create_connection_input( object.key("AuthorizationType").string(var_16.as_str()); } if let Some(var_17) = &input.auth_parameters { + #[allow(unused_mut)] let mut object_18 = object.key("AuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_auth_request_parameters( &mut object_18, @@ -107,11 +108,13 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object.key("Description").string(var_20.as_str()); } if let Some(var_21) = &input.routing_config { + #[allow(unused_mut)] let mut object_22 = object.key("RoutingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_routing_config(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.replication_config { + #[allow(unused_mut)] let mut object_24 = object.key("ReplicationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_replication_config( &mut object_24, @@ -123,6 +126,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( let mut array_26 = object.key("EventBuses").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_event_bus( &mut object_28, @@ -153,6 +157,7 @@ pub fn serialize_structure_crate_input_create_event_bus_input( let mut array_33 = object.key("Tags").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_35, item_34)?; object_35.finish(); @@ -673,6 +678,7 @@ pub fn serialize_structure_crate_input_put_events_input( let mut array_112 = object.key("Entries").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_events_request_entry( &mut object_114, @@ -697,6 +703,7 @@ pub fn serialize_structure_crate_input_put_partner_events_input( let mut array_117 = object.key("Entries").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_partner_events_request_entry( &mut object_119, @@ -727,6 +734,7 @@ pub fn serialize_structure_crate_input_put_permission_input( object.key("StatementId").string(var_123.as_str()); } if let Some(var_124) = &input.condition { + #[allow(unused_mut)] let mut object_125 = object.key("Condition").start_object(); crate::json_ser::serialize_structure_crate_model_condition(&mut object_125, var_124)?; object_125.finish(); @@ -763,6 +771,7 @@ pub fn serialize_structure_crate_input_put_rule_input( let mut array_134 = object.key("Tags").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_136, item_135)?; object_136.finish(); @@ -790,6 +799,7 @@ pub fn serialize_structure_crate_input_put_targets_input( let mut array_141 = object.key("Targets").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_143, item_142)?; object_143.finish(); @@ -867,6 +877,7 @@ pub fn serialize_structure_crate_input_start_replay_input( .date_time(var_155, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_156) = &input.destination { + #[allow(unused_mut)] let mut object_157 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_replay_destination( &mut object_157, @@ -888,6 +899,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_160 = object.key("Tags").start_array(); for item_161 in var_159 { { + #[allow(unused_mut)] let mut object_162 = array_160.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_162, item_161)?; object_162.finish(); @@ -994,6 +1006,7 @@ pub fn serialize_structure_crate_input_update_connection_input( object.key("AuthorizationType").string(var_181.as_str()); } if let Some(var_182) = &input.auth_parameters { + #[allow(unused_mut)] let mut object_183 = object.key("AuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_auth_request_parameters( &mut object_183, @@ -1015,11 +1028,13 @@ pub fn serialize_structure_crate_input_update_endpoint_input( object.key("Description").string(var_185.as_str()); } if let Some(var_186) = &input.routing_config { + #[allow(unused_mut)] let mut object_187 = object.key("RoutingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_routing_config(&mut object_187, var_186)?; object_187.finish(); } if let Some(var_188) = &input.replication_config { + #[allow(unused_mut)] let mut object_189 = object.key("ReplicationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_replication_config( &mut object_189, @@ -1031,6 +1046,7 @@ pub fn serialize_structure_crate_input_update_endpoint_input( let mut array_191 = object.key("EventBuses").start_array(); for item_192 in var_190 { { + #[allow(unused_mut)] let mut object_193 = array_191.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_event_bus( &mut object_193, @@ -1052,21 +1068,25 @@ pub fn serialize_structure_crate_model_create_connection_auth_request_parameters input: &crate::model::CreateConnectionAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_195) = &input.basic_auth_parameters { + #[allow(unused_mut)] let mut object_196 = object.key("BasicAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_basic_auth_request_parameters(&mut object_196, var_195)?; object_196.finish(); } if let Some(var_197) = &input.o_auth_parameters { + #[allow(unused_mut)] let mut object_198 = object.key("OAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_o_auth_request_parameters(&mut object_198, var_197)?; object_198.finish(); } if let Some(var_199) = &input.api_key_auth_parameters { + #[allow(unused_mut)] let mut object_200 = object.key("ApiKeyAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_api_key_auth_request_parameters(&mut object_200, var_199)?; object_200.finish(); } if let Some(var_201) = &input.invocation_http_parameters { + #[allow(unused_mut)] let mut object_202 = object.key("InvocationHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_202, @@ -1082,6 +1102,7 @@ pub fn serialize_structure_crate_model_routing_config( input: &crate::model::RoutingConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_203) = &input.failover_config { + #[allow(unused_mut)] let mut object_204 = object.key("FailoverConfig").start_object(); crate::json_ser::serialize_structure_crate_model_failover_config(&mut object_204, var_203)?; object_204.finish(); @@ -1224,6 +1245,7 @@ pub fn serialize_structure_crate_model_target( object.key("InputPath").string(var_232.as_str()); } if let Some(var_233) = &input.input_transformer { + #[allow(unused_mut)] let mut object_234 = object.key("InputTransformer").start_object(); crate::json_ser::serialize_structure_crate_model_input_transformer( &mut object_234, @@ -1232,6 +1254,7 @@ pub fn serialize_structure_crate_model_target( object_234.finish(); } if let Some(var_235) = &input.kinesis_parameters { + #[allow(unused_mut)] let mut object_236 = object.key("KinesisParameters").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_parameters( &mut object_236, @@ -1240,6 +1263,7 @@ pub fn serialize_structure_crate_model_target( object_236.finish(); } if let Some(var_237) = &input.run_command_parameters { + #[allow(unused_mut)] let mut object_238 = object.key("RunCommandParameters").start_object(); crate::json_ser::serialize_structure_crate_model_run_command_parameters( &mut object_238, @@ -1248,11 +1272,13 @@ pub fn serialize_structure_crate_model_target( object_238.finish(); } if let Some(var_239) = &input.ecs_parameters { + #[allow(unused_mut)] let mut object_240 = object.key("EcsParameters").start_object(); crate::json_ser::serialize_structure_crate_model_ecs_parameters(&mut object_240, var_239)?; object_240.finish(); } if let Some(var_241) = &input.batch_parameters { + #[allow(unused_mut)] let mut object_242 = object.key("BatchParameters").start_object(); crate::json_ser::serialize_structure_crate_model_batch_parameters( &mut object_242, @@ -1261,16 +1287,19 @@ pub fn serialize_structure_crate_model_target( object_242.finish(); } if let Some(var_243) = &input.sqs_parameters { + #[allow(unused_mut)] let mut object_244 = object.key("SqsParameters").start_object(); crate::json_ser::serialize_structure_crate_model_sqs_parameters(&mut object_244, var_243)?; object_244.finish(); } if let Some(var_245) = &input.http_parameters { + #[allow(unused_mut)] let mut object_246 = object.key("HttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_http_parameters(&mut object_246, var_245)?; object_246.finish(); } if let Some(var_247) = &input.redshift_data_parameters { + #[allow(unused_mut)] let mut object_248 = object.key("RedshiftDataParameters").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_data_parameters( &mut object_248, @@ -1279,6 +1308,7 @@ pub fn serialize_structure_crate_model_target( object_248.finish(); } if let Some(var_249) = &input.sage_maker_pipeline_parameters { + #[allow(unused_mut)] let mut object_250 = object.key("SageMakerPipelineParameters").start_object(); crate::json_ser::serialize_structure_crate_model_sage_maker_pipeline_parameters( &mut object_250, @@ -1287,6 +1317,7 @@ pub fn serialize_structure_crate_model_target( object_250.finish(); } if let Some(var_251) = &input.dead_letter_config { + #[allow(unused_mut)] let mut object_252 = object.key("DeadLetterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dead_letter_config( &mut object_252, @@ -1295,6 +1326,7 @@ pub fn serialize_structure_crate_model_target( object_252.finish(); } if let Some(var_253) = &input.retry_policy { + #[allow(unused_mut)] let mut object_254 = object.key("RetryPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_retry_policy(&mut object_254, var_253)?; object_254.finish(); @@ -1326,21 +1358,25 @@ pub fn serialize_structure_crate_model_update_connection_auth_request_parameters input: &crate::model::UpdateConnectionAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_259) = &input.basic_auth_parameters { + #[allow(unused_mut)] let mut object_260 = object.key("BasicAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_basic_auth_request_parameters(&mut object_260, var_259)?; object_260.finish(); } if let Some(var_261) = &input.o_auth_parameters { + #[allow(unused_mut)] let mut object_262 = object.key("OAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_o_auth_request_parameters(&mut object_262, var_261)?; object_262.finish(); } if let Some(var_263) = &input.api_key_auth_parameters { + #[allow(unused_mut)] let mut object_264 = object.key("ApiKeyAuthParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_api_key_auth_request_parameters(&mut object_264, var_263)?; object_264.finish(); } if let Some(var_265) = &input.invocation_http_parameters { + #[allow(unused_mut)] let mut object_266 = object.key("InvocationHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_266, @@ -1369,6 +1405,7 @@ pub fn serialize_structure_crate_model_create_connection_o_auth_request_paramete input: &crate::model::CreateConnectionOAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_269) = &input.client_parameters { + #[allow(unused_mut)] let mut object_270 = object.key("ClientParameters").start_object(); crate::json_ser::serialize_structure_crate_model_create_connection_o_auth_client_request_parameters(&mut object_270, var_269)?; object_270.finish(); @@ -1380,6 +1417,7 @@ pub fn serialize_structure_crate_model_create_connection_o_auth_request_paramete object.key("HttpMethod").string(var_272.as_str()); } if let Some(var_273) = &input.o_auth_http_parameters { + #[allow(unused_mut)] let mut object_274 = object.key("OAuthHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_274, @@ -1411,6 +1449,7 @@ pub fn serialize_structure_crate_model_connection_http_parameters( let mut array_278 = object.key("HeaderParameters").start_array(); for item_279 in var_277 { { + #[allow(unused_mut)] let mut object_280 = array_278.value().start_object(); crate::json_ser::serialize_structure_crate_model_connection_header_parameter( &mut object_280, @@ -1425,6 +1464,7 @@ pub fn serialize_structure_crate_model_connection_http_parameters( let mut array_282 = object.key("QueryStringParameters").start_array(); for item_283 in var_281 { { + #[allow(unused_mut)] let mut object_284 = array_282.value().start_object(); crate::json_ser::serialize_structure_crate_model_connection_query_string_parameter( &mut object_284, @@ -1439,6 +1479,7 @@ pub fn serialize_structure_crate_model_connection_http_parameters( let mut array_286 = object.key("BodyParameters").start_array(); for item_287 in var_285 { { + #[allow(unused_mut)] let mut object_288 = array_286.value().start_object(); crate::json_ser::serialize_structure_crate_model_connection_body_parameter( &mut object_288, @@ -1457,11 +1498,13 @@ pub fn serialize_structure_crate_model_failover_config( input: &crate::model::FailoverConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_289) = &input.primary { + #[allow(unused_mut)] let mut object_290 = object.key("Primary").start_object(); crate::json_ser::serialize_structure_crate_model_primary(&mut object_290, var_289)?; object_290.finish(); } if let Some(var_291) = &input.secondary { + #[allow(unused_mut)] let mut object_292 = object.key("Secondary").start_object(); crate::json_ser::serialize_structure_crate_model_secondary(&mut object_292, var_291)?; object_292.finish(); @@ -1474,6 +1517,7 @@ pub fn serialize_structure_crate_model_input_transformer( input: &crate::model::InputTransformer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_293) = &input.input_paths_map { + #[allow(unused_mut)] let mut object_294 = object.key("InputPathsMap").start_object(); for (key_295, value_296) in var_293 { { @@ -1506,6 +1550,7 @@ pub fn serialize_structure_crate_model_run_command_parameters( let mut array_300 = object.key("RunCommandTargets").start_array(); for item_301 in var_299 { { + #[allow(unused_mut)] let mut object_302 = array_300.value().start_object(); crate::json_ser::serialize_structure_crate_model_run_command_target( &mut object_302, @@ -1536,6 +1581,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( object.key("LaunchType").string(var_305.as_str()); } if let Some(var_306) = &input.network_configuration { + #[allow(unused_mut)] let mut object_307 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_307, @@ -1553,6 +1599,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_311 = object.key("CapacityProviderStrategy").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_capacity_provider_strategy_item( &mut object_313, @@ -1577,6 +1624,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_315 = object.key("PlacementConstraints").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_constraint( &mut object_317, @@ -1591,6 +1639,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_319 = object.key("PlacementStrategy").start_array(); for item_320 in var_318 { { + #[allow(unused_mut)] let mut object_321 = array_319.value().start_object(); crate::json_ser::serialize_structure_crate_model_placement_strategy( &mut object_321, @@ -1611,6 +1660,7 @@ pub fn serialize_structure_crate_model_ecs_parameters( let mut array_325 = object.key("Tags").start_array(); for item_326 in var_324 { { + #[allow(unused_mut)] let mut object_327 = array_325.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_327, item_326)?; object_327.finish(); @@ -1632,6 +1682,7 @@ pub fn serialize_structure_crate_model_batch_parameters( object.key("JobName").string(var_329.as_str()); } if let Some(var_330) = &input.array_properties { + #[allow(unused_mut)] let mut object_331 = object.key("ArrayProperties").start_object(); crate::json_ser::serialize_structure_crate_model_batch_array_properties( &mut object_331, @@ -1640,6 +1691,7 @@ pub fn serialize_structure_crate_model_batch_parameters( object_331.finish(); } if let Some(var_332) = &input.retry_strategy { + #[allow(unused_mut)] let mut object_333 = object.key("RetryStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_batch_retry_strategy( &mut object_333, @@ -1674,6 +1726,7 @@ pub fn serialize_structure_crate_model_http_parameters( array_336.finish(); } if let Some(var_338) = &input.header_parameters { + #[allow(unused_mut)] let mut object_339 = object.key("HeaderParameters").start_object(); for (key_340, value_341) in var_338 { { @@ -1683,6 +1736,7 @@ pub fn serialize_structure_crate_model_http_parameters( object_339.finish(); } if let Some(var_342) = &input.query_string_parameters { + #[allow(unused_mut)] let mut object_343 = object.key("QueryStringParameters").start_object(); for (key_344, value_345) in var_342 { { @@ -1727,6 +1781,7 @@ pub fn serialize_structure_crate_model_sage_maker_pipeline_parameters( let mut array_352 = object.key("PipelineParameterList").start_array(); for item_353 in var_351 { { + #[allow(unused_mut)] let mut object_354 = array_352.value().start_object(); crate::json_ser::serialize_structure_crate_model_sage_maker_pipeline_parameter( &mut object_354, @@ -1787,6 +1842,7 @@ pub fn serialize_structure_crate_model_update_connection_o_auth_request_paramete input: &crate::model::UpdateConnectionOAuthRequestParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_360) = &input.client_parameters { + #[allow(unused_mut)] let mut object_361 = object.key("ClientParameters").start_object(); crate::json_ser::serialize_structure_crate_model_update_connection_o_auth_client_request_parameters(&mut object_361, var_360)?; object_361.finish(); @@ -1798,6 +1854,7 @@ pub fn serialize_structure_crate_model_update_connection_o_auth_request_paramete object.key("HttpMethod").string(var_363.as_str()); } if let Some(var_364) = &input.o_auth_http_parameters { + #[allow(unused_mut)] let mut object_365 = object.key("OAuthHttpParameters").start_object(); crate::json_ser::serialize_structure_crate_model_connection_http_parameters( &mut object_365, @@ -1926,6 +1983,7 @@ pub fn serialize_structure_crate_model_network_configuration( input: &crate::model::NetworkConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_382) = &input.awsvpc_configuration { + #[allow(unused_mut)] let mut object_383 = object.key("awsvpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_vpc_configuration( &mut object_383, diff --git a/sdk/evidently/src/json_ser.rs b/sdk/evidently/src/json_ser.rs index 974071d8cc20..8e658241617c 100644 --- a/sdk/evidently/src/json_ser.rs +++ b/sdk/evidently/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_evaluate_feature_input( let mut array_2 = object.key("requests").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_evaluation_request( &mut object_4, @@ -31,6 +32,7 @@ pub fn serialize_structure_crate_input_create_experiment_input( let mut array_7 = object.key("metricGoals").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_goal_config( &mut object_9, @@ -45,6 +47,7 @@ pub fn serialize_structure_crate_input_create_experiment_input( object.key("name").string(var_10.as_str()); } if let Some(var_11) = &input.online_ab_config { + #[allow(unused_mut)] let mut object_12 = object.key("onlineAbConfig").start_object(); crate::json_ser::serialize_structure_crate_model_online_ab_config(&mut object_12, var_11)?; object_12.finish(); @@ -62,6 +65,7 @@ pub fn serialize_structure_crate_input_create_experiment_input( object.key("segment").string(var_15.as_str()); } if let Some(var_16) = &input.tags { + #[allow(unused_mut)] let mut object_17 = object.key("tags").start_object(); for (key_18, value_19) in var_16 { { @@ -74,6 +78,7 @@ pub fn serialize_structure_crate_input_create_experiment_input( let mut array_21 = object.key("treatments").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_treatment_config( &mut object_23, @@ -98,6 +103,7 @@ pub fn serialize_structure_crate_input_create_feature_input( object.key("description").string(var_25.as_str()); } if let Some(var_26) = &input.entity_overrides { + #[allow(unused_mut)] let mut object_27 = object.key("entityOverrides").start_object(); for (key_28, value_29) in var_26 { { @@ -113,6 +119,7 @@ pub fn serialize_structure_crate_input_create_feature_input( object.key("name").string(var_31.as_str()); } if let Some(var_32) = &input.tags { + #[allow(unused_mut)] let mut object_33 = object.key("tags").start_object(); for (key_34, value_35) in var_32 { { @@ -125,6 +132,7 @@ pub fn serialize_structure_crate_input_create_feature_input( let mut array_37 = object.key("variations").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_variation_config( &mut object_39, @@ -149,6 +157,7 @@ pub fn serialize_structure_crate_input_create_launch_input( let mut array_42 = object.key("groups").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_launch_group_config( &mut object_44, @@ -163,6 +172,7 @@ pub fn serialize_structure_crate_input_create_launch_input( let mut array_46 = object.key("metricMonitors").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_monitor_config( &mut object_48, @@ -180,6 +190,7 @@ pub fn serialize_structure_crate_input_create_launch_input( object.key("randomizationSalt").string(var_50.as_str()); } if let Some(var_51) = &input.scheduled_splits_config { + #[allow(unused_mut)] let mut object_52 = object.key("scheduledSplitsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_scheduled_splits_launch_config( &mut object_52, @@ -188,6 +199,7 @@ pub fn serialize_structure_crate_input_create_launch_input( object_52.finish(); } if let Some(var_53) = &input.tags { + #[allow(unused_mut)] let mut object_54 = object.key("tags").start_object(); for (key_55, value_56) in var_53 { { @@ -204,6 +216,7 @@ pub fn serialize_structure_crate_input_create_project_input( input: &crate::input::CreateProjectInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_57) = &input.app_config_resource { + #[allow(unused_mut)] let mut object_58 = object.key("appConfigResource").start_object(); crate::json_ser::serialize_structure_crate_model_project_app_config_resource_config( &mut object_58, @@ -212,6 +225,7 @@ pub fn serialize_structure_crate_input_create_project_input( object_58.finish(); } if let Some(var_59) = &input.data_delivery { + #[allow(unused_mut)] let mut object_60 = object.key("dataDelivery").start_object(); crate::json_ser::serialize_structure_crate_model_project_data_delivery_config( &mut object_60, @@ -226,6 +240,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("name").string(var_62.as_str()); } if let Some(var_63) = &input.tags { + #[allow(unused_mut)] let mut object_64 = object.key("tags").start_object(); for (key_65, value_66) in var_63 { { @@ -251,6 +266,7 @@ pub fn serialize_structure_crate_input_create_segment_input( object.key("pattern").string(var_69.as_str()); } if let Some(var_70) = &input.tags { + #[allow(unused_mut)] let mut object_71 = object.key("tags").start_object(); for (key_72, value_73) in var_70 { { @@ -345,6 +361,7 @@ pub fn serialize_structure_crate_input_put_project_events_input( let mut array_92 = object.key("events").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_94, item_93)?; object_94.finish(); @@ -398,6 +415,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_100) = &input.tags { + #[allow(unused_mut)] let mut object_101 = object.key("tags").start_object(); for (key_102, value_103) in var_100 { { @@ -433,6 +451,7 @@ pub fn serialize_structure_crate_input_update_experiment_input( let mut array_108 = object.key("metricGoals").start_array(); for item_109 in var_107 { { + #[allow(unused_mut)] let mut object_110 = array_108.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_goal_config( &mut object_110, @@ -444,6 +463,7 @@ pub fn serialize_structure_crate_input_update_experiment_input( array_108.finish(); } if let Some(var_111) = &input.online_ab_config { + #[allow(unused_mut)] let mut object_112 = object.key("onlineAbConfig").start_object(); crate::json_ser::serialize_structure_crate_model_online_ab_config( &mut object_112, @@ -470,6 +490,7 @@ pub fn serialize_structure_crate_input_update_experiment_input( let mut array_117 = object.key("treatments").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_treatment_config( &mut object_119, @@ -491,6 +512,7 @@ pub fn serialize_structure_crate_input_update_feature_input( let mut array_121 = object.key("addOrUpdateVariations").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_variation_config( &mut object_123, @@ -508,6 +530,7 @@ pub fn serialize_structure_crate_input_update_feature_input( object.key("description").string(var_125.as_str()); } if let Some(var_126) = &input.entity_overrides { + #[allow(unused_mut)] let mut object_127 = object.key("entityOverrides").start_object(); for (key_128, value_129) in var_126 { { @@ -542,6 +565,7 @@ pub fn serialize_structure_crate_input_update_launch_input( let mut array_136 = object.key("groups").start_array(); for item_137 in var_135 { { + #[allow(unused_mut)] let mut object_138 = array_136.value().start_object(); crate::json_ser::serialize_structure_crate_model_launch_group_config( &mut object_138, @@ -556,6 +580,7 @@ pub fn serialize_structure_crate_input_update_launch_input( let mut array_140 = object.key("metricMonitors").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_monitor_config( &mut object_142, @@ -570,6 +595,7 @@ pub fn serialize_structure_crate_input_update_launch_input( object.key("randomizationSalt").string(var_143.as_str()); } if let Some(var_144) = &input.scheduled_splits_config { + #[allow(unused_mut)] let mut object_145 = object.key("scheduledSplitsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_scheduled_splits_launch_config( &mut object_145, @@ -585,6 +611,7 @@ pub fn serialize_structure_crate_input_update_project_input( input: &crate::input::UpdateProjectInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_146) = &input.app_config_resource { + #[allow(unused_mut)] let mut object_147 = object.key("appConfigResource").start_object(); crate::json_ser::serialize_structure_crate_model_project_app_config_resource_config( &mut object_147, @@ -603,6 +630,7 @@ pub fn serialize_structure_crate_input_update_project_data_delivery_input( input: &crate::input::UpdateProjectDataDeliveryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_149) = &input.cloud_watch_logs { + #[allow(unused_mut)] let mut object_150 = object.key("cloudWatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_destination_config( &mut object_150, @@ -611,6 +639,7 @@ pub fn serialize_structure_crate_input_update_project_data_delivery_input( object_150.finish(); } if let Some(var_151) = &input.s3_destination { + #[allow(unused_mut)] let mut object_152 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_config( &mut object_152, @@ -642,6 +671,7 @@ pub fn serialize_structure_crate_model_metric_goal_config( input: &crate::model::MetricGoalConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_156) = &input.metric_definition { + #[allow(unused_mut)] let mut object_157 = object.key("metricDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_metric_definition_config( &mut object_157, @@ -663,6 +693,7 @@ pub fn serialize_structure_crate_model_online_ab_config( object.key("controlTreatmentName").string(var_159.as_str()); } if let Some(var_160) = &input.treatment_weights { + #[allow(unused_mut)] let mut object_161 = object.key("treatmentWeights").start_object(); for (key_162, value_163) in var_160 { { @@ -704,6 +735,7 @@ pub fn serialize_structure_crate_model_variation_config( object.key("name").string(var_168.as_str()); } if let Some(var_169) = &input.value { + #[allow(unused_mut)] let mut object_170 = object.key("value").start_object(); crate::json_ser::serialize_union_crate_model_variable_value(&mut object_170, var_169)?; object_170.finish(); @@ -735,6 +767,7 @@ pub fn serialize_structure_crate_model_metric_monitor_config( input: &crate::model::MetricMonitorConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_175) = &input.metric_definition { + #[allow(unused_mut)] let mut object_176 = object.key("metricDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_metric_definition_config( &mut object_176, @@ -753,6 +786,7 @@ pub fn serialize_structure_crate_model_scheduled_splits_launch_config( let mut array_178 = object.key("steps").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_scheduled_split_config( &mut object_180, @@ -784,6 +818,7 @@ pub fn serialize_structure_crate_model_project_data_delivery_config( input: &crate::model::ProjectDataDeliveryConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_183) = &input.s3_destination { + #[allow(unused_mut)] let mut object_184 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_config( &mut object_184, @@ -792,6 +827,7 @@ pub fn serialize_structure_crate_model_project_data_delivery_config( object_184.finish(); } if let Some(var_185) = &input.cloud_watch_logs { + #[allow(unused_mut)] let mut object_186 = object.key("cloudWatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_destination_config( &mut object_186, @@ -909,6 +945,7 @@ pub fn serialize_structure_crate_model_scheduled_split_config( .date_time(var_198, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_199) = &input.group_weights { + #[allow(unused_mut)] let mut object_200 = object.key("groupWeights").start_object(); for (key_201, value_202) in var_199 { { @@ -924,6 +961,7 @@ pub fn serialize_structure_crate_model_scheduled_split_config( let mut array_204 = object.key("segmentOverrides").start_array(); for item_205 in var_203 { { + #[allow(unused_mut)] let mut object_206 = array_204.value().start_object(); crate::json_ser::serialize_structure_crate_model_segment_override( &mut object_206, @@ -951,6 +989,7 @@ pub fn serialize_structure_crate_model_segment_override( ); } if let Some(var_209) = &input.weights { + #[allow(unused_mut)] let mut object_210 = object.key("weights").start_object(); for (key_211, value_212) in var_209 { { diff --git a/sdk/finspace/src/json_ser.rs b/sdk/finspace/src/json_ser.rs index 5732b4669eb8..a9ad7b76d793 100644 --- a/sdk/finspace/src/json_ser.rs +++ b/sdk/finspace/src/json_ser.rs @@ -19,6 +19,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("federationMode").string(var_5.as_str()); } if let Some(var_6) = &input.federation_parameters { + #[allow(unused_mut)] let mut object_7 = object.key("federationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_federation_parameters( &mut object_7, @@ -33,6 +34,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("name").string(var_9.as_str()); } if let Some(var_10) = &input.superuser_parameters { + #[allow(unused_mut)] let mut object_11 = object.key("superuserParameters").start_object(); crate::json_ser::serialize_structure_crate_model_superuser_parameters( &mut object_11, @@ -41,6 +43,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object_11.finish(); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -57,6 +60,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.tags { + #[allow(unused_mut)] let mut object_17 = object.key("tags").start_object(); for (key_18, value_19) in var_16 { { @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_update_environment_input( object.key("federationMode").string(var_21.as_str()); } if let Some(var_22) = &input.federation_parameters { + #[allow(unused_mut)] let mut object_23 = object.key("federationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_federation_parameters( &mut object_23, @@ -112,6 +117,7 @@ pub fn serialize_structure_crate_model_federation_parameters( object.key("federationProviderName").string(var_29.as_str()); } if let Some(var_30) = &input.attribute_map { + #[allow(unused_mut)] let mut object_31 = object.key("attributeMap").start_object(); for (key_32, value_33) in var_30 { { diff --git a/sdk/finspacedata/src/json_ser.rs b/sdk/finspacedata/src/json_ser.rs index 26d970340162..aa622b64bdac 100644 --- a/sdk/finspacedata/src/json_ser.rs +++ b/sdk/finspacedata/src/json_ser.rs @@ -20,6 +20,7 @@ pub fn serialize_structure_crate_input_create_changeset_input( object.key("clientToken").string(var_3.as_str()); } if let Some(var_4) = &input.format_params { + #[allow(unused_mut)] let mut object_5 = object.key("formatParams").start_object(); for (key_6, value_7) in var_4 { { @@ -29,6 +30,7 @@ pub fn serialize_structure_crate_input_create_changeset_input( object_5.finish(); } if let Some(var_8) = &input.source_params { + #[allow(unused_mut)] let mut object_9 = object.key("sourceParams").start_object(); for (key_10, value_11) in var_8 { { @@ -60,6 +62,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( object.key("kind").string(var_16.as_str()); } if let Some(var_17) = &input.owner_info { + #[allow(unused_mut)] let mut object_18 = object.key("ownerInfo").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_owner_info( &mut object_18, @@ -68,6 +71,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( object_18.finish(); } if let Some(var_19) = &input.permission_group_params { + #[allow(unused_mut)] let mut object_20 = object.key("permissionGroupParams").start_object(); crate::json_ser::serialize_structure_crate_model_permission_group_params( &mut object_20, @@ -76,6 +80,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( object_20.finish(); } if let Some(var_21) = &input.schema_definition { + #[allow(unused_mut)] let mut object_22 = object.key("schemaDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_schema_union(&mut object_22, var_21)?; object_22.finish(); @@ -100,6 +105,7 @@ pub fn serialize_structure_crate_input_create_data_view_input( object.key("clientToken").string(var_24.as_str()); } if let Some(var_25) = &input.destination_type_params { + #[allow(unused_mut)] let mut object_26 = object.key("destinationTypeParams").start_object(); crate::json_ser::serialize_structure_crate_model_data_view_destination_type_params( &mut object_26, @@ -229,6 +235,7 @@ pub fn serialize_structure_crate_input_update_changeset_input( object.key("clientToken").string(var_50.as_str()); } if let Some(var_51) = &input.format_params { + #[allow(unused_mut)] let mut object_52 = object.key("formatParams").start_object(); for (key_53, value_54) in var_51 { { @@ -238,6 +245,7 @@ pub fn serialize_structure_crate_input_update_changeset_input( object_52.finish(); } if let Some(var_55) = &input.source_params { + #[allow(unused_mut)] let mut object_56 = object.key("sourceParams").start_object(); for (key_57, value_58) in var_55 { { @@ -269,6 +277,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( object.key("kind").string(var_63.as_str()); } if let Some(var_64) = &input.schema_definition { + #[allow(unused_mut)] let mut object_65 = object.key("schemaDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_schema_union(&mut object_65, var_64)?; object_65.finish(); @@ -353,6 +362,7 @@ pub fn serialize_structure_crate_model_permission_group_params( let mut array_83 = object.key("datasetPermissions").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_85, @@ -371,6 +381,7 @@ pub fn serialize_structure_crate_model_schema_union( input: &crate::model::SchemaUnion, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_86) = &input.tabular_schema_config { + #[allow(unused_mut)] let mut object_87 = object.key("tabularSchemaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_schema_definition(&mut object_87, var_86)?; object_87.finish(); @@ -391,6 +402,7 @@ pub fn serialize_structure_crate_model_data_view_destination_type_params( .string(var_89.as_str()); } if let Some(var_90) = &input.s3_destination_export_file_format_options { + #[allow(unused_mut)] let mut object_91 = object .key("s3DestinationExportFileFormatOptions") .start_object(); @@ -422,6 +434,7 @@ pub fn serialize_structure_crate_model_schema_definition( let mut array_96 = object.key("columns").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_definition( &mut object_98, diff --git a/sdk/firehose/src/json_ser.rs b/sdk/firehose/src/json_ser.rs index dd322016718c..25e18ebfe97c 100644 --- a/sdk/firehose/src/json_ser.rs +++ b/sdk/firehose/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object.key("DeliveryStreamType").string(var_2.as_str()); } if let Some(var_3) = &input.kinesis_stream_source_configuration { + #[allow(unused_mut)] let mut object_4 = object .key("KinesisStreamSourceConfiguration") .start_object(); @@ -20,6 +21,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_4.finish(); } if let Some(var_5) = &input.delivery_stream_encryption_configuration_input { + #[allow(unused_mut)] let mut object_6 = object .key("DeliveryStreamEncryptionConfigurationInput") .start_object(); @@ -27,6 +29,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_6.finish(); } if let Some(var_7) = &input.s3_destination_configuration { + #[allow(unused_mut)] let mut object_8 = object.key("S3DestinationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_8, @@ -35,6 +38,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_8.finish(); } if let Some(var_9) = &input.extended_s3_destination_configuration { + #[allow(unused_mut)] let mut object_10 = object .key("ExtendedS3DestinationConfiguration") .start_object(); @@ -45,6 +49,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_10.finish(); } if let Some(var_11) = &input.redshift_destination_configuration { + #[allow(unused_mut)] let mut object_12 = object .key("RedshiftDestinationConfiguration") .start_object(); @@ -55,6 +60,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_12.finish(); } if let Some(var_13) = &input.elasticsearch_destination_configuration { + #[allow(unused_mut)] let mut object_14 = object .key("ElasticsearchDestinationConfiguration") .start_object(); @@ -65,6 +71,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_14.finish(); } if let Some(var_15) = &input.amazonopensearchservice_destination_configuration { + #[allow(unused_mut)] let mut object_16 = object .key("AmazonopensearchserviceDestinationConfiguration") .start_object(); @@ -72,6 +79,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_16.finish(); } if let Some(var_17) = &input.splunk_destination_configuration { + #[allow(unused_mut)] let mut object_18 = object.key("SplunkDestinationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_splunk_destination_configuration( &mut object_18, @@ -80,6 +88,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( object_18.finish(); } if let Some(var_19) = &input.http_endpoint_destination_configuration { + #[allow(unused_mut)] let mut object_20 = object .key("HttpEndpointDestinationConfiguration") .start_object(); @@ -93,6 +102,7 @@ pub fn serialize_structure_crate_input_create_delivery_stream_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -185,6 +195,7 @@ pub fn serialize_structure_crate_input_put_record_input( object.key("DeliveryStreamName").string(var_36.as_str()); } if let Some(var_37) = &input.record { + #[allow(unused_mut)] let mut object_38 = object.key("Record").start_object(); crate::json_ser::serialize_structure_crate_model_record(&mut object_38, var_37)?; object_38.finish(); @@ -203,6 +214,7 @@ pub fn serialize_structure_crate_input_put_record_batch_input( let mut array_41 = object.key("Records").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_record(&mut object_43, item_42)?; object_43.finish(); @@ -221,6 +233,7 @@ pub fn serialize_structure_crate_input_start_delivery_stream_encryption_input( object.key("DeliveryStreamName").string(var_44.as_str()); } if let Some(var_45) = &input.delivery_stream_encryption_configuration_input { + #[allow(unused_mut)] let mut object_46 = object .key("DeliveryStreamEncryptionConfigurationInput") .start_object(); @@ -251,6 +264,7 @@ pub fn serialize_structure_crate_input_tag_delivery_stream_input( let mut array_50 = object.key("Tags").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_52, item_51)?; object_52.finish(); @@ -296,6 +310,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object.key("DestinationId").string(var_59.as_str()); } if let Some(var_60) = &input.s3_destination_update { + #[allow(unused_mut)] let mut object_61 = object.key("S3DestinationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_61, @@ -304,6 +319,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object_61.finish(); } if let Some(var_62) = &input.extended_s3_destination_update { + #[allow(unused_mut)] let mut object_63 = object.key("ExtendedS3DestinationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_extended_s3_destination_update( &mut object_63, @@ -312,6 +328,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object_63.finish(); } if let Some(var_64) = &input.redshift_destination_update { + #[allow(unused_mut)] let mut object_65 = object.key("RedshiftDestinationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_destination_update( &mut object_65, @@ -320,6 +337,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object_65.finish(); } if let Some(var_66) = &input.elasticsearch_destination_update { + #[allow(unused_mut)] let mut object_67 = object.key("ElasticsearchDestinationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_destination_update( &mut object_67, @@ -328,6 +346,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object_67.finish(); } if let Some(var_68) = &input.amazonopensearchservice_destination_update { + #[allow(unused_mut)] let mut object_69 = object .key("AmazonopensearchserviceDestinationUpdate") .start_object(); @@ -335,6 +354,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object_69.finish(); } if let Some(var_70) = &input.splunk_destination_update { + #[allow(unused_mut)] let mut object_71 = object.key("SplunkDestinationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_splunk_destination_update( &mut object_71, @@ -343,6 +363,7 @@ pub fn serialize_structure_crate_input_update_destination_input( object_71.finish(); } if let Some(var_72) = &input.http_endpoint_destination_update { + #[allow(unused_mut)] let mut object_73 = object.key("HttpEndpointDestinationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_destination_update( &mut object_73, @@ -396,6 +417,7 @@ pub fn serialize_structure_crate_model_s3_destination_configuration( object.key("ErrorOutputPrefix").string(var_81.as_str()); } if let Some(var_82) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_83 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_buffering_hints(&mut object_83, var_82)?; object_83.finish(); @@ -404,6 +426,7 @@ pub fn serialize_structure_crate_model_s3_destination_configuration( object.key("CompressionFormat").string(var_84.as_str()); } if let Some(var_85) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_86 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_86, @@ -412,6 +435,7 @@ pub fn serialize_structure_crate_model_s3_destination_configuration( object_86.finish(); } if let Some(var_87) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_88 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_88, @@ -439,6 +463,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object.key("ErrorOutputPrefix").string(var_92.as_str()); } if let Some(var_93) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_94 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_buffering_hints(&mut object_94, var_93)?; object_94.finish(); @@ -447,6 +472,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object.key("CompressionFormat").string(var_95.as_str()); } if let Some(var_96) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_97 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_97, @@ -455,6 +481,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object_97.finish(); } if let Some(var_98) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_99 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_99, @@ -463,6 +490,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object_99.finish(); } if let Some(var_100) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_101 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_101, @@ -474,6 +502,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object.key("S3BackupMode").string(var_102.as_str()); } if let Some(var_103) = &input.s3_backup_configuration { + #[allow(unused_mut)] let mut object_104 = object.key("S3BackupConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_104, @@ -482,6 +511,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object_104.finish(); } if let Some(var_105) = &input.data_format_conversion_configuration { + #[allow(unused_mut)] let mut object_106 = object .key("DataFormatConversionConfiguration") .start_object(); @@ -492,6 +522,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_configuration( object_106.finish(); } if let Some(var_107) = &input.dynamic_partitioning_configuration { + #[allow(unused_mut)] let mut object_108 = object .key("DynamicPartitioningConfiguration") .start_object(); @@ -515,6 +546,7 @@ pub fn serialize_structure_crate_model_redshift_destination_configuration( object.key("ClusterJDBCURL").string(var_110.as_str()); } if let Some(var_111) = &input.copy_command { + #[allow(unused_mut)] let mut object_112 = object.key("CopyCommand").start_object(); crate::json_ser::serialize_structure_crate_model_copy_command(&mut object_112, var_111)?; object_112.finish(); @@ -526,6 +558,7 @@ pub fn serialize_structure_crate_model_redshift_destination_configuration( object.key("Password").string(var_114.as_str()); } if let Some(var_115) = &input.retry_options { + #[allow(unused_mut)] let mut object_116 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_retry_options( &mut object_116, @@ -534,6 +567,7 @@ pub fn serialize_structure_crate_model_redshift_destination_configuration( object_116.finish(); } if let Some(var_117) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_118 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_118, @@ -542,6 +576,7 @@ pub fn serialize_structure_crate_model_redshift_destination_configuration( object_118.finish(); } if let Some(var_119) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_120 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_120, @@ -553,6 +588,7 @@ pub fn serialize_structure_crate_model_redshift_destination_configuration( object.key("S3BackupMode").string(var_121.as_str()); } if let Some(var_122) = &input.s3_backup_configuration { + #[allow(unused_mut)] let mut object_123 = object.key("S3BackupConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_123, @@ -561,6 +597,7 @@ pub fn serialize_structure_crate_model_redshift_destination_configuration( object_123.finish(); } if let Some(var_124) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_125 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_125, @@ -594,6 +631,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_configuration( object.key("IndexRotationPeriod").string(var_131.as_str()); } if let Some(var_132) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_133 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_buffering_hints( &mut object_133, @@ -602,6 +640,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_configuration( object_133.finish(); } if let Some(var_134) = &input.retry_options { + #[allow(unused_mut)] let mut object_135 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_retry_options( &mut object_135, @@ -613,6 +652,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_configuration( object.key("S3BackupMode").string(var_136.as_str()); } if let Some(var_137) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_138 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_138, @@ -621,6 +661,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_configuration( object_138.finish(); } if let Some(var_139) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_140 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_140, @@ -629,6 +670,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_configuration( object_140.finish(); } if let Some(var_141) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_142 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_142, @@ -637,6 +679,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_configuration( object_142.finish(); } if let Some(var_143) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_144 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration( &mut object_144, @@ -670,6 +713,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_confi object.key("IndexRotationPeriod").string(var_150.as_str()); } if let Some(var_151) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_152 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_amazonopensearchservice_buffering_hints( &mut object_152, @@ -678,6 +722,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_confi object_152.finish(); } if let Some(var_153) = &input.retry_options { + #[allow(unused_mut)] let mut object_154 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_amazonopensearchservice_retry_options( &mut object_154, @@ -689,6 +734,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_confi object.key("S3BackupMode").string(var_155.as_str()); } if let Some(var_156) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_157 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_157, @@ -697,6 +743,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_confi object_157.finish(); } if let Some(var_158) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_159 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_159, @@ -705,6 +752,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_confi object_159.finish(); } if let Some(var_160) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_161 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_161, @@ -713,6 +761,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_confi object_161.finish(); } if let Some(var_162) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_163 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration( &mut object_163, @@ -743,6 +792,7 @@ pub fn serialize_structure_crate_model_splunk_destination_configuration( ); } if let Some(var_168) = &input.retry_options { + #[allow(unused_mut)] let mut object_169 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_splunk_retry_options( &mut object_169, @@ -754,6 +804,7 @@ pub fn serialize_structure_crate_model_splunk_destination_configuration( object.key("S3BackupMode").string(var_170.as_str()); } if let Some(var_171) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_172 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_172, @@ -762,6 +813,7 @@ pub fn serialize_structure_crate_model_splunk_destination_configuration( object_172.finish(); } if let Some(var_173) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_174 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_174, @@ -770,6 +822,7 @@ pub fn serialize_structure_crate_model_splunk_destination_configuration( object_174.finish(); } if let Some(var_175) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_176 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_176, @@ -785,6 +838,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( input: &crate::model::HttpEndpointDestinationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_177) = &input.endpoint_configuration { + #[allow(unused_mut)] let mut object_178 = object.key("EndpointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_configuration( &mut object_178, @@ -793,6 +847,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( object_178.finish(); } if let Some(var_179) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_180 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_buffering_hints( &mut object_180, @@ -801,6 +856,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( object_180.finish(); } if let Some(var_181) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_182 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_182, @@ -809,6 +865,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( object_182.finish(); } if let Some(var_183) = &input.request_configuration { + #[allow(unused_mut)] let mut object_184 = object.key("RequestConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_request_configuration( &mut object_184, @@ -817,6 +874,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( object_184.finish(); } if let Some(var_185) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_186 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_186, @@ -828,6 +886,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( object.key("RoleARN").string(var_187.as_str()); } if let Some(var_188) = &input.retry_options { + #[allow(unused_mut)] let mut object_189 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_retry_options( &mut object_189, @@ -839,6 +898,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_configuration( object.key("S3BackupMode").string(var_190.as_str()); } if let Some(var_191) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_192 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_192, @@ -891,6 +951,7 @@ pub fn serialize_structure_crate_model_s3_destination_update( object.key("ErrorOutputPrefix").string(var_199.as_str()); } if let Some(var_200) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_201 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_buffering_hints(&mut object_201, var_200)?; object_201.finish(); @@ -899,6 +960,7 @@ pub fn serialize_structure_crate_model_s3_destination_update( object.key("CompressionFormat").string(var_202.as_str()); } if let Some(var_203) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_204 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_204, @@ -907,6 +969,7 @@ pub fn serialize_structure_crate_model_s3_destination_update( object_204.finish(); } if let Some(var_205) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_206 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_206, @@ -934,6 +997,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object.key("ErrorOutputPrefix").string(var_210.as_str()); } if let Some(var_211) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_212 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_buffering_hints(&mut object_212, var_211)?; object_212.finish(); @@ -942,6 +1006,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object.key("CompressionFormat").string(var_213.as_str()); } if let Some(var_214) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_215 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_215, @@ -950,6 +1015,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object_215.finish(); } if let Some(var_216) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_217 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_217, @@ -958,6 +1024,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object_217.finish(); } if let Some(var_218) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_219 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_219, @@ -969,6 +1036,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object.key("S3BackupMode").string(var_220.as_str()); } if let Some(var_221) = &input.s3_backup_update { + #[allow(unused_mut)] let mut object_222 = object.key("S3BackupUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_222, @@ -977,6 +1045,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object_222.finish(); } if let Some(var_223) = &input.data_format_conversion_configuration { + #[allow(unused_mut)] let mut object_224 = object .key("DataFormatConversionConfiguration") .start_object(); @@ -987,6 +1056,7 @@ pub fn serialize_structure_crate_model_extended_s3_destination_update( object_224.finish(); } if let Some(var_225) = &input.dynamic_partitioning_configuration { + #[allow(unused_mut)] let mut object_226 = object .key("DynamicPartitioningConfiguration") .start_object(); @@ -1010,6 +1080,7 @@ pub fn serialize_structure_crate_model_redshift_destination_update( object.key("ClusterJDBCURL").string(var_228.as_str()); } if let Some(var_229) = &input.copy_command { + #[allow(unused_mut)] let mut object_230 = object.key("CopyCommand").start_object(); crate::json_ser::serialize_structure_crate_model_copy_command(&mut object_230, var_229)?; object_230.finish(); @@ -1021,6 +1092,7 @@ pub fn serialize_structure_crate_model_redshift_destination_update( object.key("Password").string(var_232.as_str()); } if let Some(var_233) = &input.retry_options { + #[allow(unused_mut)] let mut object_234 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_retry_options( &mut object_234, @@ -1029,6 +1101,7 @@ pub fn serialize_structure_crate_model_redshift_destination_update( object_234.finish(); } if let Some(var_235) = &input.s3_update { + #[allow(unused_mut)] let mut object_236 = object.key("S3Update").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_236, @@ -1037,6 +1110,7 @@ pub fn serialize_structure_crate_model_redshift_destination_update( object_236.finish(); } if let Some(var_237) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_238 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_238, @@ -1048,6 +1122,7 @@ pub fn serialize_structure_crate_model_redshift_destination_update( object.key("S3BackupMode").string(var_239.as_str()); } if let Some(var_240) = &input.s3_backup_update { + #[allow(unused_mut)] let mut object_241 = object.key("S3BackupUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_241, @@ -1056,6 +1131,7 @@ pub fn serialize_structure_crate_model_redshift_destination_update( object_241.finish(); } if let Some(var_242) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_243 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_243, @@ -1089,6 +1165,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_update( object.key("IndexRotationPeriod").string(var_249.as_str()); } if let Some(var_250) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_251 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_buffering_hints( &mut object_251, @@ -1097,6 +1174,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_update( object_251.finish(); } if let Some(var_252) = &input.retry_options { + #[allow(unused_mut)] let mut object_253 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_retry_options( &mut object_253, @@ -1105,6 +1183,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_update( object_253.finish(); } if let Some(var_254) = &input.s3_update { + #[allow(unused_mut)] let mut object_255 = object.key("S3Update").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_255, @@ -1113,6 +1192,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_update( object_255.finish(); } if let Some(var_256) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_257 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_257, @@ -1121,6 +1201,7 @@ pub fn serialize_structure_crate_model_elasticsearch_destination_update( object_257.finish(); } if let Some(var_258) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_259 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_259, @@ -1154,6 +1235,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_updat object.key("IndexRotationPeriod").string(var_265.as_str()); } if let Some(var_266) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_267 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_amazonopensearchservice_buffering_hints( &mut object_267, @@ -1162,6 +1244,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_updat object_267.finish(); } if let Some(var_268) = &input.retry_options { + #[allow(unused_mut)] let mut object_269 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_amazonopensearchservice_retry_options( &mut object_269, @@ -1170,6 +1253,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_updat object_269.finish(); } if let Some(var_270) = &input.s3_update { + #[allow(unused_mut)] let mut object_271 = object.key("S3Update").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_271, @@ -1178,6 +1262,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_updat object_271.finish(); } if let Some(var_272) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_273 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_273, @@ -1186,6 +1271,7 @@ pub fn serialize_structure_crate_model_amazonopensearchservice_destination_updat object_273.finish(); } if let Some(var_274) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_275 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_275, @@ -1216,6 +1302,7 @@ pub fn serialize_structure_crate_model_splunk_destination_update( ); } if let Some(var_280) = &input.retry_options { + #[allow(unused_mut)] let mut object_281 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_splunk_retry_options( &mut object_281, @@ -1227,6 +1314,7 @@ pub fn serialize_structure_crate_model_splunk_destination_update( object.key("S3BackupMode").string(var_282.as_str()); } if let Some(var_283) = &input.s3_update { + #[allow(unused_mut)] let mut object_284 = object.key("S3Update").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_284, @@ -1235,6 +1323,7 @@ pub fn serialize_structure_crate_model_splunk_destination_update( object_284.finish(); } if let Some(var_285) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_286 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_286, @@ -1243,6 +1332,7 @@ pub fn serialize_structure_crate_model_splunk_destination_update( object_286.finish(); } if let Some(var_287) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_288 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_288, @@ -1258,6 +1348,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( input: &crate::model::HttpEndpointDestinationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_289) = &input.endpoint_configuration { + #[allow(unused_mut)] let mut object_290 = object.key("EndpointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_configuration( &mut object_290, @@ -1266,6 +1357,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( object_290.finish(); } if let Some(var_291) = &input.buffering_hints { + #[allow(unused_mut)] let mut object_292 = object.key("BufferingHints").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_buffering_hints( &mut object_292, @@ -1274,6 +1366,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( object_292.finish(); } if let Some(var_293) = &input.cloud_watch_logging_options { + #[allow(unused_mut)] let mut object_294 = object.key("CloudWatchLoggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_options( &mut object_294, @@ -1282,6 +1375,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( object_294.finish(); } if let Some(var_295) = &input.request_configuration { + #[allow(unused_mut)] let mut object_296 = object.key("RequestConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_request_configuration( &mut object_296, @@ -1290,6 +1384,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( object_296.finish(); } if let Some(var_297) = &input.processing_configuration { + #[allow(unused_mut)] let mut object_298 = object.key("ProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_processing_configuration( &mut object_298, @@ -1301,6 +1396,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( object.key("RoleARN").string(var_299.as_str()); } if let Some(var_300) = &input.retry_options { + #[allow(unused_mut)] let mut object_301 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_retry_options( &mut object_301, @@ -1312,6 +1408,7 @@ pub fn serialize_structure_crate_model_http_endpoint_destination_update( object.key("S3BackupMode").string(var_302.as_str()); } if let Some(var_303) = &input.s3_update { + #[allow(unused_mut)] let mut object_304 = object.key("S3Update").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_update( &mut object_304, @@ -1349,6 +1446,7 @@ pub fn serialize_structure_crate_model_encryption_configuration( object.key("NoEncryptionConfig").string(var_307.as_str()); } if let Some(var_308) = &input.kms_encryption_config { + #[allow(unused_mut)] let mut object_309 = object.key("KMSEncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kms_encryption_config( &mut object_309, @@ -1386,6 +1484,7 @@ pub fn serialize_structure_crate_model_processing_configuration( let mut array_315 = object.key("Processors").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_processor( &mut object_317, @@ -1404,6 +1503,7 @@ pub fn serialize_structure_crate_model_data_format_conversion_configuration( input: &crate::model::DataFormatConversionConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_318) = &input.schema_configuration { + #[allow(unused_mut)] let mut object_319 = object.key("SchemaConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_schema_configuration( &mut object_319, @@ -1412,6 +1512,7 @@ pub fn serialize_structure_crate_model_data_format_conversion_configuration( object_319.finish(); } if let Some(var_320) = &input.input_format_configuration { + #[allow(unused_mut)] let mut object_321 = object.key("InputFormatConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_format_configuration( &mut object_321, @@ -1420,6 +1521,7 @@ pub fn serialize_structure_crate_model_data_format_conversion_configuration( object_321.finish(); } if let Some(var_322) = &input.output_format_configuration { + #[allow(unused_mut)] let mut object_323 = object.key("OutputFormatConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_output_format_configuration( &mut object_323, @@ -1438,6 +1540,7 @@ pub fn serialize_structure_crate_model_dynamic_partitioning_configuration( input: &crate::model::DynamicPartitioningConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_325) = &input.retry_options { + #[allow(unused_mut)] let mut object_326 = object.key("RetryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_retry_options(&mut object_326, var_325)?; object_326.finish(); @@ -1628,6 +1731,7 @@ pub fn serialize_structure_crate_model_http_endpoint_request_configuration( let mut array_353 = object.key("CommonAttributes").start_array(); for item_354 in var_352 { { + #[allow(unused_mut)] let mut object_355 = array_353.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_endpoint_common_attribute( &mut object_355, @@ -1675,6 +1779,7 @@ pub fn serialize_structure_crate_model_processor( let mut array_360 = object.key("Parameters").start_array(); for item_361 in var_359 { { + #[allow(unused_mut)] let mut object_362 = array_360.value().start_object(); crate::json_ser::serialize_structure_crate_model_processor_parameter( &mut object_362, @@ -1718,6 +1823,7 @@ pub fn serialize_structure_crate_model_input_format_configuration( input: &crate::model::InputFormatConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_369) = &input.deserializer { + #[allow(unused_mut)] let mut object_370 = object.key("Deserializer").start_object(); crate::json_ser::serialize_structure_crate_model_deserializer(&mut object_370, var_369)?; object_370.finish(); @@ -1730,6 +1836,7 @@ pub fn serialize_structure_crate_model_output_format_configuration( input: &crate::model::OutputFormatConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_371) = &input.serializer { + #[allow(unused_mut)] let mut object_372 = object.key("Serializer").start_object(); crate::json_ser::serialize_structure_crate_model_serializer(&mut object_372, var_371)?; object_372.finish(); @@ -1781,6 +1888,7 @@ pub fn serialize_structure_crate_model_deserializer( input: &crate::model::Deserializer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_378) = &input.open_x_json_ser_de { + #[allow(unused_mut)] let mut object_379 = object.key("OpenXJsonSerDe").start_object(); crate::json_ser::serialize_structure_crate_model_open_x_json_ser_de( &mut object_379, @@ -1789,6 +1897,7 @@ pub fn serialize_structure_crate_model_deserializer( object_379.finish(); } if let Some(var_380) = &input.hive_json_ser_de { + #[allow(unused_mut)] let mut object_381 = object.key("HiveJsonSerDe").start_object(); crate::json_ser::serialize_structure_crate_model_hive_json_ser_de( &mut object_381, @@ -1804,11 +1913,13 @@ pub fn serialize_structure_crate_model_serializer( input: &crate::model::Serializer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_382) = &input.parquet_ser_de { + #[allow(unused_mut)] let mut object_383 = object.key("ParquetSerDe").start_object(); crate::json_ser::serialize_structure_crate_model_parquet_ser_de(&mut object_383, var_382)?; object_383.finish(); } if let Some(var_384) = &input.orc_ser_de { + #[allow(unused_mut)] let mut object_385 = object.key("OrcSerDe").start_object(); crate::json_ser::serialize_structure_crate_model_orc_ser_de(&mut object_385, var_384)?; object_385.finish(); @@ -1829,6 +1940,7 @@ pub fn serialize_structure_crate_model_open_x_json_ser_de( object.key("CaseInsensitive").boolean(*var_387); } if let Some(var_388) = &input.column_to_json_key_mappings { + #[allow(unused_mut)] let mut object_389 = object.key("ColumnToJsonKeyMappings").start_object(); for (key_390, value_391) in var_388 { { diff --git a/sdk/fis/src/json_ser.rs b/sdk/fis/src/json_ser.rs index 89b9ded08c88..b1f60b5e57c3 100644 --- a/sdk/fis/src/json_ser.rs +++ b/sdk/fis/src/json_ser.rs @@ -4,9 +4,11 @@ pub fn serialize_structure_crate_input_create_experiment_template_input( input: &crate::input::CreateExperimentTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.actions { + #[allow(unused_mut)] let mut object_2 = object.key("actions").start_object(); for (key_3, value_4) in var_1 { { + #[allow(unused_mut)] let mut object_5 = object_2.key(key_3.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_create_experiment_template_action_input(&mut object_5, value_4)?; object_5.finish(); @@ -21,6 +23,7 @@ pub fn serialize_structure_crate_input_create_experiment_template_input( object.key("description").string(var_7.as_str()); } if let Some(var_8) = &input.log_configuration { + #[allow(unused_mut)] let mut object_9 = object.key("logConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_experiment_template_log_configuration_input(&mut object_9, var_8)?; object_9.finish(); @@ -32,6 +35,7 @@ pub fn serialize_structure_crate_input_create_experiment_template_input( let mut array_12 = object.key("stopConditions").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_experiment_template_stop_condition_input(&mut object_14, item_13)?; object_14.finish(); @@ -40,6 +44,7 @@ pub fn serialize_structure_crate_input_create_experiment_template_input( array_12.finish(); } if let Some(var_15) = &input.tags { + #[allow(unused_mut)] let mut object_16 = object.key("tags").start_object(); for (key_17, value_18) in var_15 { { @@ -49,9 +54,11 @@ pub fn serialize_structure_crate_input_create_experiment_template_input( object_16.finish(); } if let Some(var_19) = &input.targets { + #[allow(unused_mut)] let mut object_20 = object.key("targets").start_object(); for (key_21, value_22) in var_19 { { + #[allow(unused_mut)] let mut object_23 = object_20.key(key_21.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_create_experiment_template_target_input(&mut object_23, value_22)?; object_23.finish(); @@ -73,6 +80,7 @@ pub fn serialize_structure_crate_input_start_experiment_input( object.key("experimentTemplateId").string(var_25.as_str()); } if let Some(var_26) = &input.tags { + #[allow(unused_mut)] let mut object_27 = object.key("tags").start_object(); for (key_28, value_29) in var_26 { { @@ -89,6 +97,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_30) = &input.tags { + #[allow(unused_mut)] let mut object_31 = object.key("tags").start_object(); for (key_32, value_33) in var_30 { { @@ -105,9 +114,11 @@ pub fn serialize_structure_crate_input_update_experiment_template_input( input: &crate::input::UpdateExperimentTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.actions { + #[allow(unused_mut)] let mut object_35 = object.key("actions").start_object(); for (key_36, value_37) in var_34 { { + #[allow(unused_mut)] let mut object_38 = object_35.key(key_36.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_update_experiment_template_action_input_item(&mut object_38, value_37)?; object_38.finish(); @@ -119,6 +130,7 @@ pub fn serialize_structure_crate_input_update_experiment_template_input( object.key("description").string(var_39.as_str()); } if let Some(var_40) = &input.log_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("logConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_experiment_template_log_configuration_input(&mut object_41, var_40)?; object_41.finish(); @@ -130,6 +142,7 @@ pub fn serialize_structure_crate_input_update_experiment_template_input( let mut array_44 = object.key("stopConditions").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_experiment_template_stop_condition_input(&mut object_46, item_45)?; object_46.finish(); @@ -138,9 +151,11 @@ pub fn serialize_structure_crate_input_update_experiment_template_input( array_44.finish(); } if let Some(var_47) = &input.targets { + #[allow(unused_mut)] let mut object_48 = object.key("targets").start_object(); for (key_49, value_50) in var_47 { { + #[allow(unused_mut)] let mut object_51 = object_48.key(key_49.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_update_experiment_template_target_input(&mut object_51, value_50)?; object_51.finish(); @@ -162,6 +177,7 @@ pub fn serialize_structure_crate_model_create_experiment_template_action_input( object.key("description").string(var_53.as_str()); } if let Some(var_54) = &input.parameters { + #[allow(unused_mut)] let mut object_55 = object.key("parameters").start_object(); for (key_56, value_57) in var_54 { { @@ -171,6 +187,7 @@ pub fn serialize_structure_crate_model_create_experiment_template_action_input( object_55.finish(); } if let Some(var_58) = &input.targets { + #[allow(unused_mut)] let mut object_59 = object.key("targets").start_object(); for (key_60, value_61) in var_58 { { @@ -196,11 +213,13 @@ pub fn serialize_structure_crate_model_create_experiment_template_log_configurat input: &crate::model::CreateExperimentTemplateLogConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.cloud_watch_logs_configuration { + #[allow(unused_mut)] let mut object_66 = object.key("cloudWatchLogsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_template_cloud_watch_logs_log_configuration_input(&mut object_66, var_65)?; object_66.finish(); } if let Some(var_67) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_68 = object.key("s3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_template_s3_log_configuration_input(&mut object_68, var_67)?; object_68.finish(); @@ -244,6 +263,7 @@ pub fn serialize_structure_crate_model_create_experiment_template_target_input( array_74.finish(); } if let Some(var_76) = &input.resource_tags { + #[allow(unused_mut)] let mut object_77 = object.key("resourceTags").start_object(); for (key_78, value_79) in var_76 { { @@ -256,6 +276,7 @@ pub fn serialize_structure_crate_model_create_experiment_template_target_input( let mut array_81 = object.key("filters").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_experiment_template_target_input_filter(&mut object_83, item_82)?; object_83.finish(); @@ -267,6 +288,7 @@ pub fn serialize_structure_crate_model_create_experiment_template_target_input( object.key("selectionMode").string(var_84.as_str()); } if let Some(var_85) = &input.parameters { + #[allow(unused_mut)] let mut object_86 = object.key("parameters").start_object(); for (key_87, value_88) in var_85 { { @@ -289,6 +311,7 @@ pub fn serialize_structure_crate_model_update_experiment_template_action_input_i object.key("description").string(var_90.as_str()); } if let Some(var_91) = &input.parameters { + #[allow(unused_mut)] let mut object_92 = object.key("parameters").start_object(); for (key_93, value_94) in var_91 { { @@ -298,6 +321,7 @@ pub fn serialize_structure_crate_model_update_experiment_template_action_input_i object_92.finish(); } if let Some(var_95) = &input.targets { + #[allow(unused_mut)] let mut object_96 = object.key("targets").start_object(); for (key_97, value_98) in var_95 { { @@ -323,11 +347,13 @@ pub fn serialize_structure_crate_model_update_experiment_template_log_configurat input: &crate::model::UpdateExperimentTemplateLogConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.cloud_watch_logs_configuration { + #[allow(unused_mut)] let mut object_103 = object.key("cloudWatchLogsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_template_cloud_watch_logs_log_configuration_input(&mut object_103, var_102)?; object_103.finish(); } if let Some(var_104) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_105 = object.key("s3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_template_s3_log_configuration_input(&mut object_105, var_104)?; object_105.finish(); @@ -371,6 +397,7 @@ pub fn serialize_structure_crate_model_update_experiment_template_target_input( array_111.finish(); } if let Some(var_113) = &input.resource_tags { + #[allow(unused_mut)] let mut object_114 = object.key("resourceTags").start_object(); for (key_115, value_116) in var_113 { { @@ -383,6 +410,7 @@ pub fn serialize_structure_crate_model_update_experiment_template_target_input( let mut array_118 = object.key("filters").start_array(); for item_119 in var_117 { { + #[allow(unused_mut)] let mut object_120 = array_118.value().start_object(); crate::json_ser::serialize_structure_crate_model_experiment_template_target_input_filter(&mut object_120, item_119)?; object_120.finish(); @@ -394,6 +422,7 @@ pub fn serialize_structure_crate_model_update_experiment_template_target_input( object.key("selectionMode").string(var_121.as_str()); } if let Some(var_122) = &input.parameters { + #[allow(unused_mut)] let mut object_123 = object.key("parameters").start_object(); for (key_124, value_125) in var_122 { { diff --git a/sdk/fms/src/json_ser.rs b/sdk/fms/src/json_ser.rs index 89dc43d0f594..0b8416a99d6b 100644 --- a/sdk/fms/src/json_ser.rs +++ b/sdk/fms/src/json_ser.rs @@ -297,6 +297,7 @@ pub fn serialize_structure_crate_input_put_apps_list_input( input: &crate::input::PutAppsListInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_38) = &input.apps_list { + #[allow(unused_mut)] let mut object_39 = object.key("AppsList").start_object(); crate::json_ser::serialize_structure_crate_model_apps_list_data(&mut object_39, var_38)?; object_39.finish(); @@ -305,6 +306,7 @@ pub fn serialize_structure_crate_input_put_apps_list_input( let mut array_41 = object.key("TagList").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_43, item_42)?; object_43.finish(); @@ -333,6 +335,7 @@ pub fn serialize_structure_crate_input_put_policy_input( input: &crate::input::PutPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.policy { + #[allow(unused_mut)] let mut object_47 = object.key("Policy").start_object(); crate::json_ser::serialize_structure_crate_model_policy(&mut object_47, var_46)?; object_47.finish(); @@ -341,6 +344,7 @@ pub fn serialize_structure_crate_input_put_policy_input( let mut array_49 = object.key("TagList").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_51, item_50)?; object_51.finish(); @@ -356,6 +360,7 @@ pub fn serialize_structure_crate_input_put_protocols_list_input( input: &crate::input::PutProtocolsListInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.protocols_list { + #[allow(unused_mut)] let mut object_53 = object.key("ProtocolsList").start_object(); crate::json_ser::serialize_structure_crate_model_protocols_list_data( &mut object_53, @@ -367,6 +372,7 @@ pub fn serialize_structure_crate_input_put_protocols_list_input( let mut array_55 = object.key("TagList").start_array(); for item_56 in var_54 { { + #[allow(unused_mut)] let mut object_57 = array_55.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_57, item_56)?; object_57.finish(); @@ -388,6 +394,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_60 = object.key("TagList").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -444,6 +451,7 @@ pub fn serialize_structure_crate_model_apps_list_data( let mut array_73 = object.key("AppsList").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_app(&mut object_75, item_74)?; object_75.finish(); @@ -452,12 +460,14 @@ pub fn serialize_structure_crate_model_apps_list_data( array_73.finish(); } if let Some(var_76) = &input.previous_apps_list { + #[allow(unused_mut)] let mut object_77 = object.key("PreviousAppsList").start_object(); for (key_78, value_79) in var_76 { { let mut array_80 = object_77.key(key_78.as_str()).start_array(); for item_81 in value_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_structure_crate_model_app( &mut object_82, @@ -501,6 +511,7 @@ pub fn serialize_structure_crate_model_policy( object.key("PolicyUpdateToken").string(var_87.as_str()); } if let Some(var_88) = &input.security_service_policy_data { + #[allow(unused_mut)] let mut object_89 = object.key("SecurityServicePolicyData").start_object(); crate::json_ser::serialize_structure_crate_model_security_service_policy_data( &mut object_89, @@ -524,6 +535,7 @@ pub fn serialize_structure_crate_model_policy( let mut array_95 = object.key("ResourceTags").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_97, @@ -550,6 +562,7 @@ pub fn serialize_structure_crate_model_policy( .boolean(input.delete_unused_fm_managed_resources); } if let Some(var_98) = &input.include_map { + #[allow(unused_mut)] let mut object_99 = object.key("IncludeMap").start_object(); for (key_100, value_101) in var_98 { { @@ -565,6 +578,7 @@ pub fn serialize_structure_crate_model_policy( object_99.finish(); } if let Some(var_104) = &input.exclude_map { + #[allow(unused_mut)] let mut object_105 = object.key("ExcludeMap").start_object(); for (key_106, value_107) in var_104 { { @@ -615,6 +629,7 @@ pub fn serialize_structure_crate_model_protocols_list_data( array_116.finish(); } if let Some(var_118) = &input.previous_protocols_list { + #[allow(unused_mut)] let mut object_119 = object.key("PreviousProtocolsList").start_object(); for (key_120, value_121) in var_118 { { @@ -662,6 +677,7 @@ pub fn serialize_structure_crate_model_security_service_policy_data( object.key("ManagedServiceData").string(var_128.as_str()); } if let Some(var_129) = &input.policy_option { + #[allow(unused_mut)] let mut object_130 = object.key("PolicyOption").start_object(); crate::json_ser::serialize_structure_crate_model_policy_option(&mut object_130, var_129)?; object_130.finish(); @@ -687,6 +703,7 @@ pub fn serialize_structure_crate_model_policy_option( input: &crate::model::PolicyOption, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_133) = &input.network_firewall_policy { + #[allow(unused_mut)] let mut object_134 = object.key("NetworkFirewallPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_network_firewall_policy( &mut object_134, @@ -695,6 +712,7 @@ pub fn serialize_structure_crate_model_policy_option( object_134.finish(); } if let Some(var_135) = &input.third_party_firewall_policy { + #[allow(unused_mut)] let mut object_136 = object.key("ThirdPartyFirewallPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_third_party_firewall_policy( &mut object_136, diff --git a/sdk/forecast/src/json_ser.rs b/sdk/forecast/src/json_ser.rs index dd19414d71ec..14b7bb66bb10 100644 --- a/sdk/forecast/src/json_ser.rs +++ b/sdk/forecast/src/json_ser.rs @@ -34,11 +34,13 @@ pub fn serialize_structure_crate_input_create_auto_predictor_input( object.key("ForecastFrequency").string(var_9.as_str()); } if let Some(var_10) = &input.data_config { + #[allow(unused_mut)] let mut object_11 = object.key("DataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_data_config(&mut object_11, var_10)?; object_11.finish(); } if let Some(var_12) = &input.encryption_config { + #[allow(unused_mut)] let mut object_13 = object.key("EncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config(&mut object_13, var_12)?; object_13.finish(); @@ -56,6 +58,7 @@ pub fn serialize_structure_crate_input_create_auto_predictor_input( let mut array_18 = object.key("Tags").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_20, item_19)?; object_20.finish(); @@ -64,11 +67,13 @@ pub fn serialize_structure_crate_input_create_auto_predictor_input( array_18.finish(); } if let Some(var_21) = &input.monitor_config { + #[allow(unused_mut)] let mut object_22 = object.key("MonitorConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitor_config(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.time_alignment_boundary { + #[allow(unused_mut)] let mut object_24 = object.key("TimeAlignmentBoundary").start_object(); crate::json_ser::serialize_structure_crate_model_time_alignment_boundary( &mut object_24, @@ -96,11 +101,13 @@ pub fn serialize_structure_crate_input_create_dataset_input( object.key("DataFrequency").string(var_28.as_str()); } if let Some(var_29) = &input.schema { + #[allow(unused_mut)] let mut object_30 = object.key("Schema").start_object(); crate::json_ser::serialize_structure_crate_model_schema(&mut object_30, var_29)?; object_30.finish(); } if let Some(var_31) = &input.encryption_config { + #[allow(unused_mut)] let mut object_32 = object.key("EncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config(&mut object_32, var_31)?; object_32.finish(); @@ -109,6 +116,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_34 = object.key("Tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -142,6 +150,7 @@ pub fn serialize_structure_crate_input_create_dataset_group_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -163,6 +172,7 @@ pub fn serialize_structure_crate_input_create_dataset_import_job_input( object.key("DatasetArn").string(var_47.as_str()); } if let Some(var_48) = &input.data_source { + #[allow(unused_mut)] let mut object_49 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_data_source(&mut object_49, var_48)?; object_49.finish(); @@ -185,6 +195,7 @@ pub fn serialize_structure_crate_input_create_dataset_import_job_input( let mut array_54 = object.key("Tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -209,6 +220,7 @@ pub fn serialize_structure_crate_input_create_explainability_input( object.key("ResourceArn").string(var_59.as_str()); } if let Some(var_60) = &input.explainability_config { + #[allow(unused_mut)] let mut object_61 = object.key("ExplainabilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_explainability_config( &mut object_61, @@ -217,11 +229,13 @@ pub fn serialize_structure_crate_input_create_explainability_input( object_61.finish(); } if let Some(var_62) = &input.data_source { + #[allow(unused_mut)] let mut object_63 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_data_source(&mut object_63, var_62)?; object_63.finish(); } if let Some(var_64) = &input.schema { + #[allow(unused_mut)] let mut object_65 = object.key("Schema").start_object(); crate::json_ser::serialize_structure_crate_model_schema(&mut object_65, var_64)?; object_65.finish(); @@ -239,6 +253,7 @@ pub fn serialize_structure_crate_input_create_explainability_input( let mut array_70 = object.key("Tags").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_72, item_71)?; object_72.finish(); @@ -262,6 +277,7 @@ pub fn serialize_structure_crate_input_create_explainability_export_input( object.key("ExplainabilityArn").string(var_74.as_str()); } if let Some(var_75) = &input.destination { + #[allow(unused_mut)] let mut object_76 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_data_destination(&mut object_76, var_75)?; object_76.finish(); @@ -270,6 +286,7 @@ pub fn serialize_structure_crate_input_create_explainability_export_input( let mut array_78 = object.key("Tags").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_80, item_79)?; object_80.finish(); @@ -306,6 +323,7 @@ pub fn serialize_structure_crate_input_create_forecast_input( let mut array_88 = object.key("Tags").start_array(); for item_89 in var_87 { { + #[allow(unused_mut)] let mut object_90 = array_88.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_90, item_89)?; object_90.finish(); @@ -314,6 +332,7 @@ pub fn serialize_structure_crate_input_create_forecast_input( array_88.finish(); } if let Some(var_91) = &input.time_series_selector { + #[allow(unused_mut)] let mut object_92 = object.key("TimeSeriesSelector").start_object(); crate::json_ser::serialize_structure_crate_model_time_series_selector( &mut object_92, @@ -335,6 +354,7 @@ pub fn serialize_structure_crate_input_create_forecast_export_job_input( object.key("ForecastArn").string(var_94.as_str()); } if let Some(var_95) = &input.destination { + #[allow(unused_mut)] let mut object_96 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_data_destination(&mut object_96, var_95)?; object_96.finish(); @@ -343,6 +363,7 @@ pub fn serialize_structure_crate_input_create_forecast_export_job_input( let mut array_98 = object.key("Tags").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_100, item_99)?; object_100.finish(); @@ -370,6 +391,7 @@ pub fn serialize_structure_crate_input_create_monitor_input( let mut array_105 = object.key("Tags").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_107, item_106)?; object_107.finish(); @@ -417,6 +439,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( object.key("PerformHPO").boolean(*var_116); } if let Some(var_117) = &input.training_parameters { + #[allow(unused_mut)] let mut object_118 = object.key("TrainingParameters").start_object(); for (key_119, value_120) in var_117 { { @@ -426,6 +449,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( object_118.finish(); } if let Some(var_121) = &input.evaluation_parameters { + #[allow(unused_mut)] let mut object_122 = object.key("EvaluationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_evaluation_parameters( &mut object_122, @@ -434,6 +458,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( object_122.finish(); } if let Some(var_123) = &input.hpo_config { + #[allow(unused_mut)] let mut object_124 = object.key("HPOConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_job_config( &mut object_124, @@ -442,6 +467,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( object_124.finish(); } if let Some(var_125) = &input.input_data_config { + #[allow(unused_mut)] let mut object_126 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config( &mut object_126, @@ -450,6 +476,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( object_126.finish(); } if let Some(var_127) = &input.featurization_config { + #[allow(unused_mut)] let mut object_128 = object.key("FeaturizationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_featurization_config( &mut object_128, @@ -458,6 +485,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( object_128.finish(); } if let Some(var_129) = &input.encryption_config { + #[allow(unused_mut)] let mut object_130 = object.key("EncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_config( &mut object_130, @@ -469,6 +497,7 @@ pub fn serialize_structure_crate_input_create_predictor_input( let mut array_132 = object.key("Tags").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_134, item_133)?; object_134.finish(); @@ -495,6 +524,7 @@ pub fn serialize_structure_crate_input_create_predictor_backtest_export_job_inpu object.key("PredictorArn").string(var_137.as_str()); } if let Some(var_138) = &input.destination { + #[allow(unused_mut)] let mut object_139 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_data_destination( &mut object_139, @@ -506,6 +536,7 @@ pub fn serialize_structure_crate_input_create_predictor_backtest_export_job_inpu let mut array_141 = object.key("Tags").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_143, item_142)?; object_143.finish(); @@ -530,6 +561,7 @@ pub fn serialize_structure_crate_input_create_what_if_analysis_input( object.key("ForecastArn").string(var_146.as_str()); } if let Some(var_147) = &input.time_series_selector { + #[allow(unused_mut)] let mut object_148 = object.key("TimeSeriesSelector").start_object(); crate::json_ser::serialize_structure_crate_model_time_series_selector( &mut object_148, @@ -541,6 +573,7 @@ pub fn serialize_structure_crate_input_create_what_if_analysis_input( let mut array_150 = object.key("Tags").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_152, item_151)?; object_152.finish(); @@ -565,6 +598,7 @@ pub fn serialize_structure_crate_input_create_what_if_forecast_input( let mut array_156 = object.key("TimeSeriesTransformations").start_array(); for item_157 in var_155 { { + #[allow(unused_mut)] let mut object_158 = array_156.value().start_object(); crate::json_ser::serialize_structure_crate_model_time_series_transformation( &mut object_158, @@ -576,6 +610,7 @@ pub fn serialize_structure_crate_input_create_what_if_forecast_input( array_156.finish(); } if let Some(var_159) = &input.time_series_replacements_data_source { + #[allow(unused_mut)] let mut object_160 = object .key("TimeSeriesReplacementsDataSource") .start_object(); @@ -589,6 +624,7 @@ pub fn serialize_structure_crate_input_create_what_if_forecast_input( let mut array_162 = object.key("Tags").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_164, item_163)?; object_164.finish(); @@ -618,6 +654,7 @@ pub fn serialize_structure_crate_input_create_what_if_forecast_export_input( array_167.finish(); } if let Some(var_169) = &input.destination { + #[allow(unused_mut)] let mut object_170 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_data_destination( &mut object_170, @@ -629,6 +666,7 @@ pub fn serialize_structure_crate_input_create_what_if_forecast_export_input( let mut array_172 = object.key("Tags").start_array(); for item_173 in var_171 { { + #[allow(unused_mut)] let mut object_174 = array_172.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_174, item_173)?; object_174.finish(); @@ -977,6 +1015,7 @@ pub fn serialize_structure_crate_input_list_dataset_import_jobs_input( let mut array_210 = object.key("Filters").start_array(); for item_211 in var_209 { { + #[allow(unused_mut)] let mut object_212 = array_210.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_212, item_211)?; object_212.finish(); @@ -1020,6 +1059,7 @@ pub fn serialize_structure_crate_input_list_explainabilities_input( let mut array_218 = object.key("Filters").start_array(); for item_219 in var_217 { { + #[allow(unused_mut)] let mut object_220 = array_218.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_220, item_219)?; object_220.finish(); @@ -1047,6 +1087,7 @@ pub fn serialize_structure_crate_input_list_explainability_exports_input( let mut array_224 = object.key("Filters").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_226, item_225)?; object_226.finish(); @@ -1074,6 +1115,7 @@ pub fn serialize_structure_crate_input_list_forecast_export_jobs_input( let mut array_230 = object.key("Filters").start_array(); for item_231 in var_229 { { + #[allow(unused_mut)] let mut object_232 = array_230.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_232, item_231)?; object_232.finish(); @@ -1101,6 +1143,7 @@ pub fn serialize_structure_crate_input_list_forecasts_input( let mut array_236 = object.key("Filters").start_array(); for item_237 in var_235 { { + #[allow(unused_mut)] let mut object_238 = array_236.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_238, item_237)?; object_238.finish(); @@ -1131,6 +1174,7 @@ pub fn serialize_structure_crate_input_list_monitor_evaluations_input( let mut array_243 = object.key("Filters").start_array(); for item_244 in var_242 { { + #[allow(unused_mut)] let mut object_245 = array_243.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_245, item_244)?; object_245.finish(); @@ -1158,6 +1202,7 @@ pub fn serialize_structure_crate_input_list_monitors_input( let mut array_249 = object.key("Filters").start_array(); for item_250 in var_248 { { + #[allow(unused_mut)] let mut object_251 = array_249.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_251, item_250)?; object_251.finish(); @@ -1185,6 +1230,7 @@ pub fn serialize_structure_crate_input_list_predictor_backtest_export_jobs_input let mut array_255 = object.key("Filters").start_array(); for item_256 in var_254 { { + #[allow(unused_mut)] let mut object_257 = array_255.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_257, item_256)?; object_257.finish(); @@ -1212,6 +1258,7 @@ pub fn serialize_structure_crate_input_list_predictors_input( let mut array_261 = object.key("Filters").start_array(); for item_262 in var_260 { { + #[allow(unused_mut)] let mut object_263 = array_261.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_263, item_262)?; object_263.finish(); @@ -1249,6 +1296,7 @@ pub fn serialize_structure_crate_input_list_what_if_analyses_input( let mut array_268 = object.key("Filters").start_array(); for item_269 in var_267 { { + #[allow(unused_mut)] let mut object_270 = array_268.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_270, item_269)?; object_270.finish(); @@ -1276,6 +1324,7 @@ pub fn serialize_structure_crate_input_list_what_if_forecast_exports_input( let mut array_274 = object.key("Filters").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_276, item_275)?; object_276.finish(); @@ -1303,6 +1352,7 @@ pub fn serialize_structure_crate_input_list_what_if_forecasts_input( let mut array_280 = object.key("Filters").start_array(); for item_281 in var_279 { { + #[allow(unused_mut)] let mut object_282 = array_280.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_282, item_281)?; object_282.finish(); @@ -1344,6 +1394,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_287 = object.key("Tags").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_289, item_288)?; object_289.finish(); @@ -1403,6 +1454,7 @@ pub fn serialize_structure_crate_model_data_config( let mut array_300 = object.key("AttributeConfigs").start_array(); for item_301 in var_299 { { + #[allow(unused_mut)] let mut object_302 = array_300.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_config( &mut object_302, @@ -1417,6 +1469,7 @@ pub fn serialize_structure_crate_model_data_config( let mut array_304 = object.key("AdditionalDatasets").start_array(); for item_305 in var_303 { { + #[allow(unused_mut)] let mut object_306 = array_304.value().start_object(); crate::json_ser::serialize_structure_crate_model_additional_dataset( &mut object_306, @@ -1499,6 +1552,7 @@ pub fn serialize_structure_crate_model_schema( let mut array_317 = object.key("Attributes").start_array(); for item_318 in var_316 { { + #[allow(unused_mut)] let mut object_319 = array_317.value().start_object(); crate::json_ser::serialize_structure_crate_model_schema_attribute( &mut object_319, @@ -1517,6 +1571,7 @@ pub fn serialize_structure_crate_model_data_source( input: &crate::model::DataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_320) = &input.s3_config { + #[allow(unused_mut)] let mut object_321 = object.key("S3Config").start_object(); crate::json_ser::serialize_structure_crate_model_s3_config(&mut object_321, var_320)?; object_321.finish(); @@ -1542,6 +1597,7 @@ pub fn serialize_structure_crate_model_data_destination( input: &crate::model::DataDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_324) = &input.s3_config { + #[allow(unused_mut)] let mut object_325 = object.key("S3Config").start_object(); crate::json_ser::serialize_structure_crate_model_s3_config(&mut object_325, var_324)?; object_325.finish(); @@ -1554,6 +1610,7 @@ pub fn serialize_structure_crate_model_time_series_selector( input: &crate::model::TimeSeriesSelector, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_326) = &input.time_series_identifiers { + #[allow(unused_mut)] let mut object_327 = object.key("TimeSeriesIdentifiers").start_object(); crate::json_ser::serialize_structure_crate_model_time_series_identifiers( &mut object_327, @@ -1588,6 +1645,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_config( input: &crate::model::HyperParameterTuningJobConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_330) = &input.parameter_ranges { + #[allow(unused_mut)] let mut object_331 = object.key("ParameterRanges").start_object(); crate::json_ser::serialize_structure_crate_model_parameter_ranges( &mut object_331, @@ -1609,6 +1667,7 @@ pub fn serialize_structure_crate_model_input_data_config( let mut array_334 = object.key("SupplementaryFeatures").start_array(); for item_335 in var_333 { { + #[allow(unused_mut)] let mut object_336 = array_334.value().start_object(); crate::json_ser::serialize_structure_crate_model_supplementary_feature( &mut object_336, @@ -1642,6 +1701,7 @@ pub fn serialize_structure_crate_model_featurization_config( let mut array_342 = object.key("Featurizations").start_array(); for item_343 in var_341 { { + #[allow(unused_mut)] let mut object_344 = array_342.value().start_object(); crate::json_ser::serialize_structure_crate_model_featurization( &mut object_344, @@ -1660,6 +1720,7 @@ pub fn serialize_structure_crate_model_time_series_transformation( input: &crate::model::TimeSeriesTransformation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_345) = &input.action { + #[allow(unused_mut)] let mut object_346 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_346, var_345)?; object_346.finish(); @@ -1668,6 +1729,7 @@ pub fn serialize_structure_crate_model_time_series_transformation( let mut array_348 = object.key("TimeSeriesConditions").start_array(); for item_349 in var_347 { { + #[allow(unused_mut)] let mut object_350 = array_348.value().start_object(); crate::json_ser::serialize_structure_crate_model_time_series_condition( &mut object_350, @@ -1686,11 +1748,13 @@ pub fn serialize_structure_crate_model_time_series_replacements_data_source( input: &crate::model::TimeSeriesReplacementsDataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_351) = &input.s3_config { + #[allow(unused_mut)] let mut object_352 = object.key("S3Config").start_object(); crate::json_ser::serialize_structure_crate_model_s3_config(&mut object_352, var_351)?; object_352.finish(); } if let Some(var_353) = &input.schema { + #[allow(unused_mut)] let mut object_354 = object.key("Schema").start_object(); crate::json_ser::serialize_structure_crate_model_schema(&mut object_354, var_353)?; object_354.finish(); @@ -1728,6 +1792,7 @@ pub fn serialize_structure_crate_model_attribute_config( object.key("AttributeName").string(var_360.as_str()); } if let Some(var_361) = &input.transformations { + #[allow(unused_mut)] let mut object_362 = object.key("Transformations").start_object(); for (key_363, value_364) in var_361 { { @@ -1747,6 +1812,7 @@ pub fn serialize_structure_crate_model_additional_dataset( object.key("Name").string(var_365.as_str()); } if let Some(var_366) = &input.configuration { + #[allow(unused_mut)] let mut object_367 = object.key("Configuration").start_object(); for (key_368, value_369) in var_366 { { @@ -1798,11 +1864,13 @@ pub fn serialize_structure_crate_model_time_series_identifiers( input: &crate::model::TimeSeriesIdentifiers, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_377) = &input.data_source { + #[allow(unused_mut)] let mut object_378 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_data_source(&mut object_378, var_377)?; object_378.finish(); } if let Some(var_379) = &input.schema { + #[allow(unused_mut)] let mut object_380 = object.key("Schema").start_object(); crate::json_ser::serialize_structure_crate_model_schema(&mut object_380, var_379)?; object_380.finish(); @@ -1821,6 +1889,7 @@ pub fn serialize_structure_crate_model_parameter_ranges( let mut array_383 = object.key("CategoricalParameterRanges").start_array(); for item_384 in var_382 { { + #[allow(unused_mut)] let mut object_385 = array_383.value().start_object(); crate::json_ser::serialize_structure_crate_model_categorical_parameter_range( &mut object_385, @@ -1835,6 +1904,7 @@ pub fn serialize_structure_crate_model_parameter_ranges( let mut array_387 = object.key("ContinuousParameterRanges").start_array(); for item_388 in var_386 { { + #[allow(unused_mut)] let mut object_389 = array_387.value().start_object(); crate::json_ser::serialize_structure_crate_model_continuous_parameter_range( &mut object_389, @@ -1849,6 +1919,7 @@ pub fn serialize_structure_crate_model_parameter_ranges( let mut array_391 = object.key("IntegerParameterRanges").start_array(); for item_392 in var_390 { { + #[allow(unused_mut)] let mut object_393 = array_391.value().start_object(); crate::json_ser::serialize_structure_crate_model_integer_parameter_range( &mut object_393, @@ -1886,6 +1957,7 @@ pub fn serialize_structure_crate_model_featurization( let mut array_398 = object.key("FeaturizationPipeline").start_array(); for item_399 in var_397 { { + #[allow(unused_mut)] let mut object_400 = array_398.value().start_object(); crate::json_ser::serialize_structure_crate_model_featurization_method( &mut object_400, @@ -2013,6 +2085,7 @@ pub fn serialize_structure_crate_model_featurization_method( .string(var_419.as_str()); } if let Some(var_420) = &input.featurization_method_parameters { + #[allow(unused_mut)] let mut object_421 = object.key("FeaturizationMethodParameters").start_object(); for (key_422, value_423) in var_420 { { diff --git a/sdk/forecastquery/src/json_ser.rs b/sdk/forecastquery/src/json_ser.rs index 1a3a9a6c5273..b50c220fde25 100644 --- a/sdk/forecastquery/src/json_ser.rs +++ b/sdk/forecastquery/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_query_forecast_input( object.key("EndDate").string(var_3.as_str()); } if let Some(var_4) = &input.filters { + #[allow(unused_mut)] let mut object_5 = object.key("Filters").start_object(); for (key_6, value_7) in var_4 { { @@ -41,6 +42,7 @@ pub fn serialize_structure_crate_input_query_what_if_forecast_input( object.key("EndDate").string(var_11.as_str()); } if let Some(var_12) = &input.filters { + #[allow(unused_mut)] let mut object_13 = object.key("Filters").start_object(); for (key_14, value_15) in var_12 { { diff --git a/sdk/frauddetector/src/json_ser.rs b/sdk/frauddetector/src/json_ser.rs index 4b612afceacf..11cabfdff856 100644 --- a/sdk/frauddetector/src/json_ser.rs +++ b/sdk/frauddetector/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_create_variable_input( let mut array_2 = object.key("variableEntries").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_variable_entry( &mut object_4, @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_batch_create_variable_input( let mut array_6 = object.key("tags").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_8, item_7)?; object_8.finish(); @@ -90,6 +92,7 @@ pub fn serialize_structure_crate_input_create_batch_import_job_input( let mut array_20 = object.key("tags").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_22, item_21)?; object_22.finish(); @@ -129,6 +132,7 @@ pub fn serialize_structure_crate_input_create_batch_prediction_job_input( let mut array_31 = object.key("tags").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_33, item_32)?; object_33.finish(); @@ -162,6 +166,7 @@ pub fn serialize_structure_crate_input_create_detector_version_input( let mut array_40 = object.key("rules").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_42, item_41)?; object_42.finish(); @@ -173,6 +178,7 @@ pub fn serialize_structure_crate_input_create_detector_version_input( let mut array_44 = object.key("modelVersions").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_version( &mut object_46, @@ -190,6 +196,7 @@ pub fn serialize_structure_crate_input_create_detector_version_input( let mut array_49 = object.key("tags").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_51, item_50)?; object_51.finish(); @@ -220,6 +227,7 @@ pub fn serialize_structure_crate_input_create_model_input( let mut array_57 = object.key("tags").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_59, item_58)?; object_59.finish(); @@ -244,6 +252,7 @@ pub fn serialize_structure_crate_input_create_model_version_input( object.key("trainingDataSource").string(var_62.as_str()); } if let Some(var_63) = &input.training_data_schema { + #[allow(unused_mut)] let mut object_64 = object.key("trainingDataSchema").start_object(); crate::json_ser::serialize_structure_crate_model_training_data_schema( &mut object_64, @@ -252,6 +261,7 @@ pub fn serialize_structure_crate_input_create_model_version_input( object_64.finish(); } if let Some(var_65) = &input.external_events_detail { + #[allow(unused_mut)] let mut object_66 = object.key("externalEventsDetail").start_object(); crate::json_ser::serialize_structure_crate_model_external_events_detail( &mut object_66, @@ -260,6 +270,7 @@ pub fn serialize_structure_crate_input_create_model_version_input( object_66.finish(); } if let Some(var_67) = &input.ingested_events_detail { + #[allow(unused_mut)] let mut object_68 = object.key("ingestedEventsDetail").start_object(); crate::json_ser::serialize_structure_crate_model_ingested_events_detail( &mut object_68, @@ -271,6 +282,7 @@ pub fn serialize_structure_crate_input_create_model_version_input( let mut array_70 = object.key("tags").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_72, item_71)?; object_72.finish(); @@ -313,6 +325,7 @@ pub fn serialize_structure_crate_input_create_rule_input( let mut array_82 = object.key("tags").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_84, item_83)?; object_84.finish(); @@ -349,6 +362,7 @@ pub fn serialize_structure_crate_input_create_variable_input( let mut array_92 = object.key("tags").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_94, item_93)?; object_94.finish(); @@ -512,6 +526,7 @@ pub fn serialize_structure_crate_input_delete_rule_input( input: &crate::input::DeleteRuleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_114) = &input.rule { + #[allow(unused_mut)] let mut object_115 = object.key("rule").start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_115, var_114)?; object_115.finish(); @@ -705,6 +720,7 @@ pub fn serialize_structure_crate_input_get_event_prediction_input( let mut array_147 = object.key("entities").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity(&mut object_149, item_148)?; object_149.finish(); @@ -716,6 +732,7 @@ pub fn serialize_structure_crate_input_get_event_prediction_input( object.key("eventTimestamp").string(var_150.as_str()); } if let Some(var_151) = &input.event_variables { + #[allow(unused_mut)] let mut object_152 = object.key("eventVariables").start_object(); for (key_153, value_154) in var_151 { { @@ -725,9 +742,11 @@ pub fn serialize_structure_crate_input_get_event_prediction_input( object_152.finish(); } if let Some(var_155) = &input.external_model_endpoint_data_blobs { + #[allow(unused_mut)] let mut object_156 = object.key("externalModelEndpointDataBlobs").start_object(); for (key_157, value_158) in var_155 { { + #[allow(unused_mut)] let mut object_159 = object_156.key(key_157.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_model_endpoint_data_blob( &mut object_159, @@ -926,6 +945,7 @@ pub fn serialize_structure_crate_input_list_event_predictions_input( input: &crate::input::ListEventPredictionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_192) = &input.event_id { + #[allow(unused_mut)] let mut object_193 = object.key("eventId").start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_193, @@ -934,6 +954,7 @@ pub fn serialize_structure_crate_input_list_event_predictions_input( object_193.finish(); } if let Some(var_194) = &input.event_type { + #[allow(unused_mut)] let mut object_195 = object.key("eventType").start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_195, @@ -942,6 +963,7 @@ pub fn serialize_structure_crate_input_list_event_predictions_input( object_195.finish(); } if let Some(var_196) = &input.detector_id { + #[allow(unused_mut)] let mut object_197 = object.key("detectorId").start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_197, @@ -950,6 +972,7 @@ pub fn serialize_structure_crate_input_list_event_predictions_input( object_197.finish(); } if let Some(var_198) = &input.detector_version_id { + #[allow(unused_mut)] let mut object_199 = object.key("detectorVersionId").start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_199, @@ -958,6 +981,7 @@ pub fn serialize_structure_crate_input_list_event_predictions_input( object_199.finish(); } if let Some(var_200) = &input.prediction_time_range { + #[allow(unused_mut)] let mut object_201 = object.key("predictionTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_prediction_time_range( &mut object_201, @@ -1013,6 +1037,7 @@ pub fn serialize_structure_crate_input_put_detector_input( let mut array_211 = object.key("tags").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_213, item_212)?; object_213.finish(); @@ -1037,6 +1062,7 @@ pub fn serialize_structure_crate_input_put_entity_type_input( let mut array_217 = object.key("tags").start_array(); for item_218 in var_216 { { + #[allow(unused_mut)] let mut object_219 = array_217.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_219, item_218)?; object_219.finish(); @@ -1091,6 +1117,7 @@ pub fn serialize_structure_crate_input_put_event_type_input( let mut array_233 = object.key("tags").start_array(); for item_234 in var_232 { { + #[allow(unused_mut)] let mut object_235 = array_233.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_235, item_234)?; object_235.finish(); @@ -1117,6 +1144,7 @@ pub fn serialize_structure_crate_input_put_external_model_input( .string(var_238.as_str()); } if let Some(var_239) = &input.input_configuration { + #[allow(unused_mut)] let mut object_240 = object.key("inputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_model_input_configuration( &mut object_240, @@ -1125,6 +1153,7 @@ pub fn serialize_structure_crate_input_put_external_model_input( object_240.finish(); } if let Some(var_241) = &input.output_configuration { + #[allow(unused_mut)] let mut object_242 = object.key("outputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_model_output_configuration( &mut object_242, @@ -1139,6 +1168,7 @@ pub fn serialize_structure_crate_input_put_external_model_input( let mut array_245 = object.key("tags").start_array(); for item_246 in var_244 { { + #[allow(unused_mut)] let mut object_247 = array_245.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_247, item_246)?; object_247.finish(); @@ -1173,6 +1203,7 @@ pub fn serialize_structure_crate_input_put_label_input( let mut array_252 = object.key("tags").start_array(); for item_253 in var_251 { { + #[allow(unused_mut)] let mut object_254 = array_252.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_254, item_253)?; object_254.finish(); @@ -1197,6 +1228,7 @@ pub fn serialize_structure_crate_input_put_outcome_input( let mut array_258 = object.key("tags").start_array(); for item_259 in var_257 { { + #[allow(unused_mut)] let mut object_260 = array_258.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_260, item_259)?; object_260.finish(); @@ -1221,6 +1253,7 @@ pub fn serialize_structure_crate_input_send_event_input( object.key("eventTimestamp").string(var_263.as_str()); } if let Some(var_264) = &input.event_variables { + #[allow(unused_mut)] let mut object_265 = object.key("eventVariables").start_object(); for (key_266, value_267) in var_264 { { @@ -1239,6 +1272,7 @@ pub fn serialize_structure_crate_input_send_event_input( let mut array_271 = object.key("entities").start_array(); for item_272 in var_270 { { + #[allow(unused_mut)] let mut object_273 = array_271.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity(&mut object_273, item_272)?; object_273.finish(); @@ -1260,6 +1294,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_276 = object.key("tags").start_array(); for item_277 in var_275 { { + #[allow(unused_mut)] let mut object_278 = array_276.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_278, item_277)?; object_278.finish(); @@ -1312,6 +1347,7 @@ pub fn serialize_structure_crate_input_update_detector_version_input( let mut array_289 = object.key("rules").start_array(); for item_290 in var_288 { { + #[allow(unused_mut)] let mut object_291 = array_289.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_291, item_290)?; object_291.finish(); @@ -1326,6 +1362,7 @@ pub fn serialize_structure_crate_input_update_detector_version_input( let mut array_294 = object.key("modelVersions").start_array(); for item_295 in var_293 { { + #[allow(unused_mut)] let mut object_296 = array_294.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_version( &mut object_296, @@ -1423,6 +1460,7 @@ pub fn serialize_structure_crate_input_update_model_version_input( object.key("majorVersionNumber").string(var_313.as_str()); } if let Some(var_314) = &input.external_events_detail { + #[allow(unused_mut)] let mut object_315 = object.key("externalEventsDetail").start_object(); crate::json_ser::serialize_structure_crate_model_external_events_detail( &mut object_315, @@ -1431,6 +1469,7 @@ pub fn serialize_structure_crate_input_update_model_version_input( object_315.finish(); } if let Some(var_316) = &input.ingested_events_detail { + #[allow(unused_mut)] let mut object_317 = object.key("ingestedEventsDetail").start_object(); crate::json_ser::serialize_structure_crate_model_ingested_events_detail( &mut object_317, @@ -1442,6 +1481,7 @@ pub fn serialize_structure_crate_input_update_model_version_input( let mut array_319 = object.key("tags").start_array(); for item_320 in var_318 { { + #[allow(unused_mut)] let mut object_321 = array_319.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_321, item_320)?; object_321.finish(); @@ -1476,6 +1516,7 @@ pub fn serialize_structure_crate_input_update_rule_metadata_input( input: &crate::input::UpdateRuleMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_326) = &input.rule { + #[allow(unused_mut)] let mut object_327 = object.key("rule").start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_327, var_326)?; object_327.finish(); @@ -1491,6 +1532,7 @@ pub fn serialize_structure_crate_input_update_rule_version_input( input: &crate::input::UpdateRuleVersionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_329) = &input.rule { + #[allow(unused_mut)] let mut object_330 = object.key("rule").start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_330, var_329)?; object_330.finish(); @@ -1517,6 +1559,7 @@ pub fn serialize_structure_crate_input_update_rule_version_input( let mut array_338 = object.key("tags").start_array(); for item_339 in var_337 { { + #[allow(unused_mut)] let mut object_340 = array_338.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_340, item_339)?; object_340.finish(); @@ -1633,6 +1676,7 @@ pub fn serialize_structure_crate_model_training_data_schema( array_361.finish(); } if let Some(var_363) = &input.label_schema { + #[allow(unused_mut)] let mut object_364 = object.key("labelSchema").start_object(); crate::json_ser::serialize_structure_crate_model_label_schema(&mut object_364, var_363)?; object_364.finish(); @@ -1658,6 +1702,7 @@ pub fn serialize_structure_crate_model_ingested_events_detail( input: &crate::model::IngestedEventsDetail, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_367) = &input.ingested_events_time_window { + #[allow(unused_mut)] let mut object_368 = object.key("ingestedEventsTimeWindow").start_object(); crate::json_ser::serialize_structure_crate_model_ingested_events_time_window( &mut object_368, @@ -1749,6 +1794,7 @@ pub fn serialize_structure_crate_model_model_output_configuration( object.key("format").string(var_381.as_str()); } if let Some(var_382) = &input.json_key_to_variable_map { + #[allow(unused_mut)] let mut object_383 = object.key("jsonKeyToVariableMap").start_object(); for (key_384, value_385) in var_382 { { @@ -1758,6 +1804,7 @@ pub fn serialize_structure_crate_model_model_output_configuration( object_383.finish(); } if let Some(var_386) = &input.csv_index_to_variable_map { + #[allow(unused_mut)] let mut object_387 = object.key("csvIndexToVariableMap").start_object(); for (key_388, value_389) in var_386 { { @@ -1774,6 +1821,7 @@ pub fn serialize_structure_crate_model_label_schema( input: &crate::model::LabelSchema, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_390) = &input.label_mapper { + #[allow(unused_mut)] let mut object_391 = object.key("labelMapper").start_object(); for (key_392, value_393) in var_390 { { diff --git a/sdk/fsx/src/json_ser.rs b/sdk/fsx/src/json_ser.rs index 7652a2effdea..7d59c8f7f936 100644 --- a/sdk/fsx/src/json_ser.rs +++ b/sdk/fsx/src/json_ser.rs @@ -54,6 +54,7 @@ pub fn serialize_structure_crate_input_copy_backup_input( let mut array_13 = object.key("Tags").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_15, item_14)?; object_15.finish(); @@ -78,6 +79,7 @@ pub fn serialize_structure_crate_input_create_backup_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -114,6 +116,7 @@ pub fn serialize_structure_crate_input_create_data_repository_association_input( ); } if let Some(var_28) = &input.s3 { + #[allow(unused_mut)] let mut object_29 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_repository_configuration( &mut object_29, @@ -128,6 +131,7 @@ pub fn serialize_structure_crate_input_create_data_repository_association_input( let mut array_32 = object.key("Tags").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_34, item_33)?; object_34.finish(); @@ -158,6 +162,7 @@ pub fn serialize_structure_crate_input_create_data_repository_task_input( object.key("FileSystemId").string(var_39.as_str()); } if let Some(var_40) = &input.report { + #[allow(unused_mut)] let mut object_41 = object.key("Report").start_object(); crate::json_ser::serialize_structure_crate_model_completion_report(&mut object_41, var_40)?; object_41.finish(); @@ -169,6 +174,7 @@ pub fn serialize_structure_crate_input_create_data_repository_task_input( let mut array_44 = object.key("Tags").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_46, item_45)?; object_46.finish(); @@ -226,6 +232,7 @@ pub fn serialize_structure_crate_input_create_file_cache_input( let mut array_59 = object.key("Tags").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_61, item_60)?; object_61.finish(); @@ -242,6 +249,7 @@ pub fn serialize_structure_crate_input_create_file_cache_input( object.key("KmsKeyId").string(var_63.as_str()); } if let Some(var_64) = &input.lustre_configuration { + #[allow(unused_mut)] let mut object_65 = object.key("LustreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_cache_lustre_configuration( &mut object_65, @@ -253,6 +261,7 @@ pub fn serialize_structure_crate_input_create_file_cache_input( let mut array_67 = object.key("DataRepositoryAssociations").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_file_cache_data_repository_association(&mut object_69, item_68)?; object_69.finish(); @@ -304,6 +313,7 @@ pub fn serialize_structure_crate_input_create_file_system_input( let mut array_81 = object.key("Tags").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_83, item_82)?; object_83.finish(); @@ -315,6 +325,7 @@ pub fn serialize_structure_crate_input_create_file_system_input( object.key("KmsKeyId").string(var_84.as_str()); } if let Some(var_85) = &input.windows_configuration { + #[allow(unused_mut)] let mut object_86 = object.key("WindowsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_windows_configuration( &mut object_86, @@ -323,6 +334,7 @@ pub fn serialize_structure_crate_input_create_file_system_input( object_86.finish(); } if let Some(var_87) = &input.lustre_configuration { + #[allow(unused_mut)] let mut object_88 = object.key("LustreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_lustre_configuration( &mut object_88, @@ -331,6 +343,7 @@ pub fn serialize_structure_crate_input_create_file_system_input( object_88.finish(); } if let Some(var_89) = &input.ontap_configuration { + #[allow(unused_mut)] let mut object_90 = object.key("OntapConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_ontap_configuration( &mut object_90, @@ -342,6 +355,7 @@ pub fn serialize_structure_crate_input_create_file_system_input( object.key("FileSystemTypeVersion").string(var_91.as_str()); } if let Some(var_92) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_93 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_open_zfs_configuration( &mut object_93, @@ -384,6 +398,7 @@ pub fn serialize_structure_crate_input_create_file_system_from_backup_input( let mut array_103 = object.key("Tags").start_array(); for item_104 in var_102 { { + #[allow(unused_mut)] let mut object_105 = array_103.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_105, item_104)?; object_105.finish(); @@ -392,6 +407,7 @@ pub fn serialize_structure_crate_input_create_file_system_from_backup_input( array_103.finish(); } if let Some(var_106) = &input.windows_configuration { + #[allow(unused_mut)] let mut object_107 = object.key("WindowsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_windows_configuration( &mut object_107, @@ -400,6 +416,7 @@ pub fn serialize_structure_crate_input_create_file_system_from_backup_input( object_107.finish(); } if let Some(var_108) = &input.lustre_configuration { + #[allow(unused_mut)] let mut object_109 = object.key("LustreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_lustre_configuration( &mut object_109, @@ -417,6 +434,7 @@ pub fn serialize_structure_crate_input_create_file_system_from_backup_input( object.key("FileSystemTypeVersion").string(var_112.as_str()); } if let Some(var_113) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_114 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_file_system_open_zfs_configuration( &mut object_114, @@ -450,6 +468,7 @@ pub fn serialize_structure_crate_input_create_snapshot_input( let mut array_120 = object.key("Tags").start_array(); for item_121 in var_119 { { + #[allow(unused_mut)] let mut object_122 = array_120.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_122, item_121)?; object_122.finish(); @@ -465,6 +484,7 @@ pub fn serialize_structure_crate_input_create_storage_virtual_machine_input( input: &crate::input::CreateStorageVirtualMachineInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_123) = &input.active_directory_configuration { + #[allow(unused_mut)] let mut object_124 = object.key("ActiveDirectoryConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_svm_active_directory_configuration( &mut object_124, @@ -488,6 +508,7 @@ pub fn serialize_structure_crate_input_create_storage_virtual_machine_input( let mut array_130 = object.key("Tags").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_132, item_131)?; object_132.finish(); @@ -517,6 +538,7 @@ pub fn serialize_structure_crate_input_create_volume_input( object.key("Name").string(var_136.as_str()); } if let Some(var_137) = &input.ontap_configuration { + #[allow(unused_mut)] let mut object_138 = object.key("OntapConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_ontap_volume_configuration( &mut object_138, @@ -528,6 +550,7 @@ pub fn serialize_structure_crate_input_create_volume_input( let mut array_140 = object.key("Tags").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_142, item_141)?; object_142.finish(); @@ -536,6 +559,7 @@ pub fn serialize_structure_crate_input_create_volume_input( array_140.finish(); } if let Some(var_143) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_144 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_open_zfs_volume_configuration( &mut object_144, @@ -560,6 +584,7 @@ pub fn serialize_structure_crate_input_create_volume_from_backup_input( object.key("Name").string(var_147.as_str()); } if let Some(var_148) = &input.ontap_configuration { + #[allow(unused_mut)] let mut object_149 = object.key("OntapConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_create_ontap_volume_configuration( &mut object_149, @@ -571,6 +596,7 @@ pub fn serialize_structure_crate_input_create_volume_from_backup_input( let mut array_151 = object.key("Tags").start_array(); for item_152 in var_150 { { + #[allow(unused_mut)] let mut object_153 = array_151.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_153, item_152)?; object_153.finish(); @@ -634,6 +660,7 @@ pub fn serialize_structure_crate_input_delete_file_system_input( object.key("ClientRequestToken").string(var_162.as_str()); } if let Some(var_163) = &input.windows_configuration { + #[allow(unused_mut)] let mut object_164 = object.key("WindowsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_delete_file_system_windows_configuration( &mut object_164, @@ -642,6 +669,7 @@ pub fn serialize_structure_crate_input_delete_file_system_input( object_164.finish(); } if let Some(var_165) = &input.lustre_configuration { + #[allow(unused_mut)] let mut object_166 = object.key("LustreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_delete_file_system_lustre_configuration( &mut object_166, @@ -650,6 +678,7 @@ pub fn serialize_structure_crate_input_delete_file_system_input( object_166.finish(); } if let Some(var_167) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_168 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_delete_file_system_open_zfs_configuration( &mut object_168, @@ -699,6 +728,7 @@ pub fn serialize_structure_crate_input_delete_volume_input( object.key("VolumeId").string(var_174.as_str()); } if let Some(var_175) = &input.ontap_configuration { + #[allow(unused_mut)] let mut object_176 = object.key("OntapConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_delete_volume_ontap_configuration( &mut object_176, @@ -707,6 +737,7 @@ pub fn serialize_structure_crate_input_delete_volume_input( object_176.finish(); } if let Some(var_177) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_178 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_delete_volume_open_zfs_configuration( &mut object_178, @@ -734,6 +765,7 @@ pub fn serialize_structure_crate_input_describe_backups_input( let mut array_183 = object.key("Filters").start_array(); for item_184 in var_182 { { + #[allow(unused_mut)] let mut object_185 = array_183.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_185, item_184)?; object_185.finish(); @@ -770,6 +802,7 @@ pub fn serialize_structure_crate_input_describe_data_repository_associations_inp let mut array_192 = object.key("Filters").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_194, item_193)?; object_194.finish(); @@ -806,6 +839,7 @@ pub fn serialize_structure_crate_input_describe_data_repository_tasks_input( let mut array_201 = object.key("Filters").start_array(); for item_202 in var_200 { { + #[allow(unused_mut)] let mut object_203 = array_201.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_repository_task_filter( &mut object_203, @@ -917,6 +951,7 @@ pub fn serialize_structure_crate_input_describe_snapshots_input( let mut array_224 = object.key("Filters").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_snapshot_filter( &mut object_226, @@ -956,6 +991,7 @@ pub fn serialize_structure_crate_input_describe_storage_virtual_machines_input( let mut array_233 = object.key("Filters").start_array(); for item_234 in var_232 { { + #[allow(unused_mut)] let mut object_235 = array_233.value().start_object(); crate::json_ser::serialize_structure_crate_model_storage_virtual_machine_filter( &mut object_235, @@ -995,6 +1031,7 @@ pub fn serialize_structure_crate_input_describe_volumes_input( let mut array_242 = object.key("Filters").start_array(); for item_243 in var_241 { { + #[allow(unused_mut)] let mut object_244 = array_242.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume_filter( &mut object_244, @@ -1107,6 +1144,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_265 = object.key("Tags").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_267, item_266)?; object_267.finish(); @@ -1153,6 +1191,7 @@ pub fn serialize_structure_crate_input_update_data_repository_association_input( ); } if let Some(var_275) = &input.s3 { + #[allow(unused_mut)] let mut object_276 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_repository_configuration( &mut object_276, @@ -1174,6 +1213,7 @@ pub fn serialize_structure_crate_input_update_file_cache_input( object.key("ClientRequestToken").string(var_278.as_str()); } if let Some(var_279) = &input.lustre_configuration { + #[allow(unused_mut)] let mut object_280 = object.key("LustreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_file_cache_lustre_configuration( &mut object_280, @@ -1201,6 +1241,7 @@ pub fn serialize_structure_crate_input_update_file_system_input( ); } if let Some(var_284) = &input.windows_configuration { + #[allow(unused_mut)] let mut object_285 = object.key("WindowsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_file_system_windows_configuration( &mut object_285, @@ -1209,6 +1250,7 @@ pub fn serialize_structure_crate_input_update_file_system_input( object_285.finish(); } if let Some(var_286) = &input.lustre_configuration { + #[allow(unused_mut)] let mut object_287 = object.key("LustreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_file_system_lustre_configuration( &mut object_287, @@ -1217,6 +1259,7 @@ pub fn serialize_structure_crate_input_update_file_system_input( object_287.finish(); } if let Some(var_288) = &input.ontap_configuration { + #[allow(unused_mut)] let mut object_289 = object.key("OntapConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_file_system_ontap_configuration( &mut object_289, @@ -1225,6 +1268,7 @@ pub fn serialize_structure_crate_input_update_file_system_input( object_289.finish(); } if let Some(var_290) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_291 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_file_system_open_zfs_configuration( &mut object_291, @@ -1256,6 +1300,7 @@ pub fn serialize_structure_crate_input_update_storage_virtual_machine_input( input: &crate::input::UpdateStorageVirtualMachineInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_295) = &input.active_directory_configuration { + #[allow(unused_mut)] let mut object_296 = object.key("ActiveDirectoryConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_svm_active_directory_configuration( &mut object_296, @@ -1288,6 +1333,7 @@ pub fn serialize_structure_crate_input_update_volume_input( object.key("VolumeId").string(var_301.as_str()); } if let Some(var_302) = &input.ontap_configuration { + #[allow(unused_mut)] let mut object_303 = object.key("OntapConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_ontap_volume_configuration( &mut object_303, @@ -1299,6 +1345,7 @@ pub fn serialize_structure_crate_input_update_volume_input( object.key("Name").string(var_304.as_str()); } if let Some(var_305) = &input.open_zfs_configuration { + #[allow(unused_mut)] let mut object_306 = object.key("OpenZFSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_open_zfs_volume_configuration( &mut object_306, @@ -1327,6 +1374,7 @@ pub fn serialize_structure_crate_model_s3_data_repository_configuration( input: &crate::model::S3DataRepositoryConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_309) = &input.auto_import_policy { + #[allow(unused_mut)] let mut object_310 = object.key("AutoImportPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_auto_import_policy( &mut object_310, @@ -1335,6 +1383,7 @@ pub fn serialize_structure_crate_model_s3_data_repository_configuration( object_310.finish(); } if let Some(var_311) = &input.auto_export_policy { + #[allow(unused_mut)] let mut object_312 = object.key("AutoExportPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_auto_export_policy( &mut object_312, @@ -1383,6 +1432,7 @@ pub fn serialize_structure_crate_model_create_file_cache_lustre_configuration( .string(var_319.as_str()); } if let Some(var_320) = &input.metadata_configuration { + #[allow(unused_mut)] let mut object_321 = object.key("MetadataConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_file_cache_lustre_metadata_configuration( &mut object_321, @@ -1413,6 +1463,7 @@ pub fn serialize_structure_crate_model_file_cache_data_repository_association( array_325.finish(); } if let Some(var_327) = &input.nfs { + #[allow(unused_mut)] let mut object_328 = object.key("NFS").start_object(); crate::json_ser::serialize_structure_crate_model_file_cache_nfs_configuration( &mut object_328, @@ -1431,6 +1482,7 @@ pub fn serialize_structure_crate_model_create_file_system_windows_configuration( object.key("ActiveDirectoryId").string(var_329.as_str()); } if let Some(var_330) = &input.self_managed_active_directory_configuration { + #[allow(unused_mut)] let mut object_331 = object .key("SelfManagedActiveDirectoryConfiguration") .start_object(); @@ -1478,6 +1530,7 @@ pub fn serialize_structure_crate_model_create_file_system_windows_configuration( array_340.finish(); } if let Some(var_342) = &input.audit_log_configuration { + #[allow(unused_mut)] let mut object_343 = object.key("AuditLogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_windows_audit_log_create_configuration( &mut object_343, @@ -1542,6 +1595,7 @@ pub fn serialize_structure_crate_model_create_file_system_lustre_configuration( object.key("DataCompressionType").string(var_355.as_str()); } if let Some(var_356) = &input.log_configuration { + #[allow(unused_mut)] let mut object_357 = object.key("LogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lustre_log_create_configuration( &mut object_357, @@ -1550,6 +1604,7 @@ pub fn serialize_structure_crate_model_create_file_system_lustre_configuration( object_357.finish(); } if let Some(var_358) = &input.root_squash_configuration { + #[allow(unused_mut)] let mut object_359 = object.key("RootSquashConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lustre_root_squash_configuration( &mut object_359, @@ -1587,6 +1642,7 @@ pub fn serialize_structure_crate_model_create_file_system_ontap_configuration( object.key("FsxAdminPassword").string(var_364.as_str()); } if let Some(var_365) = &input.disk_iops_configuration { + #[allow(unused_mut)] let mut object_366 = object.key("DiskIopsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_disk_iops_configuration( &mut object_366, @@ -1656,6 +1712,7 @@ pub fn serialize_structure_crate_model_create_file_system_open_zfs_configuration .string(var_379.as_str()); } if let Some(var_380) = &input.disk_iops_configuration { + #[allow(unused_mut)] let mut object_381 = object.key("DiskIopsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_disk_iops_configuration( &mut object_381, @@ -1664,6 +1721,7 @@ pub fn serialize_structure_crate_model_create_file_system_open_zfs_configuration object_381.finish(); } if let Some(var_382) = &input.root_volume_configuration { + #[allow(unused_mut)] let mut object_383 = object.key("RootVolumeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_create_root_volume_configuration( &mut object_383, @@ -1682,6 +1740,7 @@ pub fn serialize_structure_crate_model_create_svm_active_directory_configuration object.key("NetBiosName").string(var_384.as_str()); } if let Some(var_385) = &input.self_managed_active_directory_configuration { + #[allow(unused_mut)] let mut object_386 = object .key("SelfManagedActiveDirectoryConfiguration") .start_object(); @@ -1716,6 +1775,7 @@ pub fn serialize_structure_crate_model_create_ontap_volume_configuration( .string(var_391.as_str()); } if let Some(var_392) = &input.tiering_policy { + #[allow(unused_mut)] let mut object_393 = object.key("TieringPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_tiering_policy(&mut object_393, var_392)?; object_393.finish(); @@ -1755,6 +1815,7 @@ pub fn serialize_structure_crate_model_create_open_zfs_volume_configuration( object.key("CopyTagsToSnapshots").boolean(*var_399); } if let Some(var_400) = &input.origin_snapshot { + #[allow(unused_mut)] let mut object_401 = object.key("OriginSnapshot").start_object(); crate::json_ser::serialize_structure_crate_model_create_open_zfs_origin_snapshot_configuration(&mut object_401, var_400)?; object_401.finish(); @@ -1766,6 +1827,7 @@ pub fn serialize_structure_crate_model_create_open_zfs_volume_configuration( let mut array_404 = object.key("NfsExports").start_array(); for item_405 in var_403 { { + #[allow(unused_mut)] let mut object_406 = array_404.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_nfs_export( &mut object_406, @@ -1780,6 +1842,7 @@ pub fn serialize_structure_crate_model_create_open_zfs_volume_configuration( let mut array_408 = object.key("UserAndGroupQuotas").start_array(); for item_409 in var_407 { { + #[allow(unused_mut)] let mut object_410 = array_408.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_user_or_group_quota( &mut object_410, @@ -1804,6 +1867,7 @@ pub fn serialize_structure_crate_model_delete_file_system_windows_configuration( let mut array_413 = object.key("FinalBackupTags").start_array(); for item_414 in var_412 { { + #[allow(unused_mut)] let mut object_415 = array_413.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_415, item_414)?; object_415.finish(); @@ -1825,6 +1889,7 @@ pub fn serialize_structure_crate_model_delete_file_system_lustre_configuration( let mut array_418 = object.key("FinalBackupTags").start_array(); for item_419 in var_417 { { + #[allow(unused_mut)] let mut object_420 = array_418.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_420, item_419)?; object_420.finish(); @@ -1846,6 +1911,7 @@ pub fn serialize_structure_crate_model_delete_file_system_open_zfs_configuration let mut array_423 = object.key("FinalBackupTags").start_array(); for item_424 in var_422 { { + #[allow(unused_mut)] let mut object_425 = array_423.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_425, item_424)?; object_425.finish(); @@ -1876,6 +1942,7 @@ pub fn serialize_structure_crate_model_delete_volume_ontap_configuration( let mut array_431 = object.key("FinalBackupTags").start_array(); for item_432 in var_430 { { + #[allow(unused_mut)] let mut object_433 = array_431.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_433, item_432)?; object_433.finish(); @@ -2036,6 +2103,7 @@ pub fn serialize_structure_crate_model_update_file_system_windows_configuration( ); } if let Some(var_462) = &input.self_managed_active_directory_configuration { + #[allow(unused_mut)] let mut object_463 = object .key("SelfManagedActiveDirectoryConfiguration") .start_object(); @@ -2043,6 +2111,7 @@ pub fn serialize_structure_crate_model_update_file_system_windows_configuration( object_463.finish(); } if let Some(var_464) = &input.audit_log_configuration { + #[allow(unused_mut)] let mut object_465 = object.key("AuditLogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_windows_audit_log_create_configuration( &mut object_465, @@ -2080,6 +2149,7 @@ pub fn serialize_structure_crate_model_update_file_system_lustre_configuration( object.key("DataCompressionType").string(var_470.as_str()); } if let Some(var_471) = &input.log_configuration { + #[allow(unused_mut)] let mut object_472 = object.key("LogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lustre_log_create_configuration( &mut object_472, @@ -2088,6 +2158,7 @@ pub fn serialize_structure_crate_model_update_file_system_lustre_configuration( object_472.finish(); } if let Some(var_473) = &input.root_squash_configuration { + #[allow(unused_mut)] let mut object_474 = object.key("RootSquashConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lustre_root_squash_configuration( &mut object_474, @@ -2122,6 +2193,7 @@ pub fn serialize_structure_crate_model_update_file_system_ontap_configuration( .string(var_478.as_str()); } if let Some(var_479) = &input.disk_iops_configuration { + #[allow(unused_mut)] let mut object_480 = object.key("DiskIopsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_disk_iops_configuration( &mut object_480, @@ -2171,6 +2243,7 @@ pub fn serialize_structure_crate_model_update_file_system_open_zfs_configuration .string(var_487.as_str()); } if let Some(var_488) = &input.disk_iops_configuration { + #[allow(unused_mut)] let mut object_489 = object.key("DiskIopsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_disk_iops_configuration( &mut object_489, @@ -2186,6 +2259,7 @@ pub fn serialize_structure_crate_model_update_svm_active_directory_configuration input: &crate::model::UpdateSvmActiveDirectoryConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_490) = &input.self_managed_active_directory_configuration { + #[allow(unused_mut)] let mut object_491 = object .key("SelfManagedActiveDirectoryConfiguration") .start_object(); @@ -2215,6 +2289,7 @@ pub fn serialize_structure_crate_model_update_ontap_volume_configuration( object.key("StorageEfficiencyEnabled").boolean(*var_495); } if let Some(var_496) = &input.tiering_policy { + #[allow(unused_mut)] let mut object_497 = object.key("TieringPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_tiering_policy(&mut object_497, var_496)?; object_497.finish(); @@ -2251,6 +2326,7 @@ pub fn serialize_structure_crate_model_update_open_zfs_volume_configuration( let mut array_503 = object.key("NfsExports").start_array(); for item_504 in var_502 { { + #[allow(unused_mut)] let mut object_505 = array_503.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_nfs_export( &mut object_505, @@ -2265,6 +2341,7 @@ pub fn serialize_structure_crate_model_update_open_zfs_volume_configuration( let mut array_507 = object.key("UserAndGroupQuotas").start_array(); for item_508 in var_506 { { + #[allow(unused_mut)] let mut object_509 = array_507.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_user_or_group_quota( &mut object_509, @@ -2465,6 +2542,7 @@ pub fn serialize_structure_crate_model_open_zfs_create_root_volume_configuration let mut array_544 = object.key("NfsExports").start_array(); for item_545 in var_543 { { + #[allow(unused_mut)] let mut object_546 = array_544.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_nfs_export( &mut object_546, @@ -2479,6 +2557,7 @@ pub fn serialize_structure_crate_model_open_zfs_create_root_volume_configuration let mut array_548 = object.key("UserAndGroupQuotas").start_array(); for item_549 in var_547 { { + #[allow(unused_mut)] let mut object_550 = array_548.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_user_or_group_quota( &mut object_550, @@ -2535,6 +2614,7 @@ pub fn serialize_structure_crate_model_open_zfs_nfs_export( let mut array_558 = object.key("ClientConfigurations").start_array(); for item_559 in var_557 { { + #[allow(unused_mut)] let mut object_560 = array_558.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_zfs_client_configuration( &mut object_560, diff --git a/sdk/gamelift/src/json_ser.rs b/sdk/gamelift/src/json_ser.rs index a614c17a04bf..61d6c0f64107 100644 --- a/sdk/gamelift/src/json_ser.rs +++ b/sdk/gamelift/src/json_ser.rs @@ -48,6 +48,7 @@ pub fn serialize_structure_crate_input_create_alias_input( object.key("Description").string(var_10.as_str()); } if let Some(var_11) = &input.routing_strategy { + #[allow(unused_mut)] let mut object_12 = object.key("RoutingStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_routing_strategy(&mut object_12, var_11)?; object_12.finish(); @@ -56,6 +57,7 @@ pub fn serialize_structure_crate_input_create_alias_input( let mut array_14 = object.key("Tags").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_16, item_15)?; object_16.finish(); @@ -77,6 +79,7 @@ pub fn serialize_structure_crate_input_create_build_input( object.key("Version").string(var_18.as_str()); } if let Some(var_19) = &input.storage_location { + #[allow(unused_mut)] let mut object_20 = object.key("StorageLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_20, var_19)?; object_20.finish(); @@ -88,6 +91,7 @@ pub fn serialize_structure_crate_input_create_build_input( let mut array_23 = object.key("Tags").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_25, item_24)?; object_25.finish(); @@ -136,6 +140,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( let mut array_37 = object.key("EC2InboundPermissions").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_permission( &mut object_39, @@ -152,6 +157,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( .string(var_40.as_str()); } if let Some(var_41) = &input.runtime_configuration { + #[allow(unused_mut)] let mut object_42 = object.key("RuntimeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_runtime_configuration( &mut object_42, @@ -160,6 +166,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( object_42.finish(); } if let Some(var_43) = &input.resource_creation_limit_policy { + #[allow(unused_mut)] let mut object_44 = object.key("ResourceCreationLimitPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_resource_creation_limit_policy( &mut object_44, @@ -189,6 +196,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( object.key("InstanceRoleArn").string(var_51.as_str()); } if let Some(var_52) = &input.certificate_configuration { + #[allow(unused_mut)] let mut object_53 = object.key("CertificateConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_certificate_configuration( &mut object_53, @@ -200,6 +208,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( let mut array_55 = object.key("Locations").start_array(); for item_56 in var_54 { { + #[allow(unused_mut)] let mut object_57 = array_55.value().start_object(); crate::json_ser::serialize_structure_crate_model_location_configuration( &mut object_57, @@ -214,6 +223,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( let mut array_59 = object.key("Tags").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_61, item_60)?; object_61.finish(); @@ -235,6 +245,7 @@ pub fn serialize_structure_crate_input_create_fleet_locations_input( let mut array_64 = object.key("Locations").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_location_configuration( &mut object_66, @@ -271,6 +282,7 @@ pub fn serialize_structure_crate_input_create_game_server_group_input( ); } if let Some(var_71) = &input.launch_template { + #[allow(unused_mut)] let mut object_72 = object.key("LaunchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_launch_template_specification( &mut object_72, @@ -282,6 +294,7 @@ pub fn serialize_structure_crate_input_create_game_server_group_input( let mut array_74 = object.key("InstanceDefinitions").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_definition( &mut object_76, @@ -293,6 +306,7 @@ pub fn serialize_structure_crate_input_create_game_server_group_input( array_74.finish(); } if let Some(var_77) = &input.auto_scaling_policy { + #[allow(unused_mut)] let mut object_78 = object.key("AutoScalingPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_game_server_group_auto_scaling_policy( &mut object_78, @@ -321,6 +335,7 @@ pub fn serialize_structure_crate_input_create_game_server_group_input( let mut array_85 = object.key("Tags").start_array(); for item_86 in var_84 { { + #[allow(unused_mut)] let mut object_87 = array_85.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_87, item_86)?; object_87.finish(); @@ -354,6 +369,7 @@ pub fn serialize_structure_crate_input_create_game_session_input( let mut array_93 = object.key("GameProperties").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_game_property( &mut object_95, @@ -399,6 +415,7 @@ pub fn serialize_structure_crate_input_create_game_session_queue_input( let mut array_104 = object.key("PlayerLatencyPolicies").start_array(); for item_105 in var_103 { { + #[allow(unused_mut)] let mut object_106 = array_104.value().start_object(); crate::json_ser::serialize_structure_crate_model_player_latency_policy( &mut object_106, @@ -413,6 +430,7 @@ pub fn serialize_structure_crate_input_create_game_session_queue_input( let mut array_108 = object.key("Destinations").start_array(); for item_109 in var_107 { { + #[allow(unused_mut)] let mut object_110 = array_108.value().start_object(); crate::json_ser::serialize_structure_crate_model_game_session_queue_destination( &mut object_110, @@ -424,6 +442,7 @@ pub fn serialize_structure_crate_input_create_game_session_queue_input( array_108.finish(); } if let Some(var_111) = &input.filter_configuration { + #[allow(unused_mut)] let mut object_112 = object.key("FilterConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_filter_configuration( &mut object_112, @@ -432,6 +451,7 @@ pub fn serialize_structure_crate_input_create_game_session_queue_input( object_112.finish(); } if let Some(var_113) = &input.priority_configuration { + #[allow(unused_mut)] let mut object_114 = object.key("PriorityConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_priority_configuration( &mut object_114, @@ -449,6 +469,7 @@ pub fn serialize_structure_crate_input_create_game_session_queue_input( let mut array_118 = object.key("Tags").start_array(); for item_119 in var_117 { { + #[allow(unused_mut)] let mut object_120 = array_118.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_120, item_119)?; object_120.finish(); @@ -512,6 +533,7 @@ pub fn serialize_structure_crate_input_create_matchmaking_configuration_input( let mut array_134 = object.key("GameProperties").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_game_property( &mut object_136, @@ -535,6 +557,7 @@ pub fn serialize_structure_crate_input_create_matchmaking_configuration_input( let mut array_141 = object.key("Tags").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_143, item_142)?; object_143.finish(); @@ -559,6 +582,7 @@ pub fn serialize_structure_crate_input_create_matchmaking_rule_set_input( let mut array_147 = object.key("Tags").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_149, item_148)?; object_149.finish(); @@ -602,6 +626,7 @@ pub fn serialize_structure_crate_input_create_player_sessions_input( array_155.finish(); } if let Some(var_157) = &input.player_data_map { + #[allow(unused_mut)] let mut object_158 = object.key("PlayerDataMap").start_object(); for (key_159, value_160) in var_157 { { @@ -624,6 +649,7 @@ pub fn serialize_structure_crate_input_create_script_input( object.key("Version").string(var_162.as_str()); } if let Some(var_163) = &input.storage_location { + #[allow(unused_mut)] let mut object_164 = object.key("StorageLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_164, var_163)?; object_164.finish(); @@ -637,6 +663,7 @@ pub fn serialize_structure_crate_input_create_script_input( let mut array_167 = object.key("Tags").start_array(); for item_168 in var_166 { { + #[allow(unused_mut)] let mut object_169 = array_167.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_169, item_168)?; object_169.finish(); @@ -1554,6 +1581,7 @@ pub fn serialize_structure_crate_input_put_scaling_policy_input( object.key("PolicyType").string(var_323.as_str()); } if let Some(var_324) = &input.target_configuration { + #[allow(unused_mut)] let mut object_325 = object.key("TargetConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_target_configuration( &mut object_325, @@ -1692,6 +1720,7 @@ pub fn serialize_structure_crate_input_start_game_session_placement_input( let mut array_352 = object.key("GameProperties").start_array(); for item_353 in var_351 { { + #[allow(unused_mut)] let mut object_354 = array_352.value().start_object(); crate::json_ser::serialize_structure_crate_model_game_property( &mut object_354, @@ -1715,6 +1744,7 @@ pub fn serialize_structure_crate_input_start_game_session_placement_input( let mut array_358 = object.key("PlayerLatencies").start_array(); for item_359 in var_357 { { + #[allow(unused_mut)] let mut object_360 = array_358.value().start_object(); crate::json_ser::serialize_structure_crate_model_player_latency( &mut object_360, @@ -1729,6 +1759,7 @@ pub fn serialize_structure_crate_input_start_game_session_placement_input( let mut array_362 = object.key("DesiredPlayerSessions").start_array(); for item_363 in var_361 { { + #[allow(unused_mut)] let mut object_364 = array_362.value().start_object(); crate::json_ser::serialize_structure_crate_model_desired_player_session( &mut object_364, @@ -1762,6 +1793,7 @@ pub fn serialize_structure_crate_input_start_match_backfill_input( let mut array_370 = object.key("Players").start_array(); for item_371 in var_369 { { + #[allow(unused_mut)] let mut object_372 = array_370.value().start_object(); crate::json_ser::serialize_structure_crate_model_player(&mut object_372, item_371)?; object_372.finish(); @@ -1786,6 +1818,7 @@ pub fn serialize_structure_crate_input_start_matchmaking_input( let mut array_376 = object.key("Players").start_array(); for item_377 in var_375 { { + #[allow(unused_mut)] let mut object_378 = array_376.value().start_object(); crate::json_ser::serialize_structure_crate_model_player(&mut object_378, item_377)?; object_378.finish(); @@ -1868,6 +1901,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_392 = object.key("Tags").start_array(); for item_393 in var_391 { { + #[allow(unused_mut)] let mut object_394 = array_392.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_394, item_393)?; object_394.finish(); @@ -1911,6 +1945,7 @@ pub fn serialize_structure_crate_input_update_alias_input( object.key("Description").string(var_401.as_str()); } if let Some(var_402) = &input.routing_strategy { + #[allow(unused_mut)] let mut object_403 = object.key("RoutingStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_routing_strategy( &mut object_403, @@ -1956,6 +1991,7 @@ pub fn serialize_structure_crate_input_update_fleet_attributes_input( .string(var_410.as_str()); } if let Some(var_411) = &input.resource_creation_limit_policy { + #[allow(unused_mut)] let mut object_412 = object.key("ResourceCreationLimitPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_resource_creation_limit_policy( &mut object_412, @@ -2017,6 +2053,7 @@ pub fn serialize_structure_crate_input_update_fleet_port_settings_input( let mut array_423 = object.key("InboundPermissionAuthorizations").start_array(); for item_424 in var_422 { { + #[allow(unused_mut)] let mut object_425 = array_423.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_permission( &mut object_425, @@ -2031,6 +2068,7 @@ pub fn serialize_structure_crate_input_update_fleet_port_settings_input( let mut array_427 = object.key("InboundPermissionRevocations").start_array(); for item_428 in var_426 { { + #[allow(unused_mut)] let mut object_429 = array_427.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_permission( &mut object_429, @@ -2080,6 +2118,7 @@ pub fn serialize_structure_crate_input_update_game_server_group_input( let mut array_438 = object.key("InstanceDefinitions").start_array(); for item_439 in var_437 { { + #[allow(unused_mut)] let mut object_440 = array_438.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_definition( &mut object_440, @@ -2145,6 +2184,7 @@ pub fn serialize_structure_crate_input_update_game_session_queue_input( let mut array_451 = object.key("PlayerLatencyPolicies").start_array(); for item_452 in var_450 { { + #[allow(unused_mut)] let mut object_453 = array_451.value().start_object(); crate::json_ser::serialize_structure_crate_model_player_latency_policy( &mut object_453, @@ -2159,6 +2199,7 @@ pub fn serialize_structure_crate_input_update_game_session_queue_input( let mut array_455 = object.key("Destinations").start_array(); for item_456 in var_454 { { + #[allow(unused_mut)] let mut object_457 = array_455.value().start_object(); crate::json_ser::serialize_structure_crate_model_game_session_queue_destination( &mut object_457, @@ -2170,6 +2211,7 @@ pub fn serialize_structure_crate_input_update_game_session_queue_input( array_455.finish(); } if let Some(var_458) = &input.filter_configuration { + #[allow(unused_mut)] let mut object_459 = object.key("FilterConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_filter_configuration( &mut object_459, @@ -2178,6 +2220,7 @@ pub fn serialize_structure_crate_input_update_game_session_queue_input( object_459.finish(); } if let Some(var_460) = &input.priority_configuration { + #[allow(unused_mut)] let mut object_461 = object.key("PriorityConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_priority_configuration( &mut object_461, @@ -2247,6 +2290,7 @@ pub fn serialize_structure_crate_input_update_matchmaking_configuration_input( let mut array_477 = object.key("GameProperties").start_array(); for item_478 in var_476 { { + #[allow(unused_mut)] let mut object_479 = array_477.value().start_object(); crate::json_ser::serialize_structure_crate_model_game_property( &mut object_479, @@ -2277,6 +2321,7 @@ pub fn serialize_structure_crate_input_update_runtime_configuration_input( object.key("FleetId").string(var_483.as_str()); } if let Some(var_484) = &input.runtime_configuration { + #[allow(unused_mut)] let mut object_485 = object.key("RuntimeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_runtime_configuration( &mut object_485, @@ -2301,6 +2346,7 @@ pub fn serialize_structure_crate_input_update_script_input( object.key("Version").string(var_488.as_str()); } if let Some(var_489) = &input.storage_location { + #[allow(unused_mut)] let mut object_490 = object.key("StorageLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_490, var_489)?; object_490.finish(); @@ -2404,6 +2450,7 @@ pub fn serialize_structure_crate_model_runtime_configuration( let mut array_507 = object.key("ServerProcesses").start_array(); for item_508 in var_506 { { + #[allow(unused_mut)] let mut object_509 = array_507.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_process( &mut object_509, @@ -2508,6 +2555,7 @@ pub fn serialize_structure_crate_model_game_server_group_auto_scaling_policy( ); } if let Some(var_522) = &input.target_tracking_configuration { + #[allow(unused_mut)] let mut object_523 = object.key("TargetTrackingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_target_tracking_configuration( &mut object_523, @@ -2656,9 +2704,11 @@ pub fn serialize_structure_crate_model_player( object.key("PlayerId").string(var_542.as_str()); } if let Some(var_543) = &input.player_attributes { + #[allow(unused_mut)] let mut object_544 = object.key("PlayerAttributes").start_object(); for (key_545, value_546) in var_543 { { + #[allow(unused_mut)] let mut object_547 = object_544.key(key_545.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_attribute_value( &mut object_547, @@ -2673,6 +2723,7 @@ pub fn serialize_structure_crate_model_player( object.key("Team").string(var_548.as_str()); } if let Some(var_549) = &input.latency_in_ms { + #[allow(unused_mut)] let mut object_550 = object.key("LatencyInMs").start_object(); for (key_551, value_552) in var_549 { { @@ -2742,6 +2793,7 @@ pub fn serialize_structure_crate_model_attribute_value( array_560.finish(); } if let Some(var_562) = &input.sdm { + #[allow(unused_mut)] let mut object_563 = object.key("SDM").start_object(); for (key_564, value_565) in var_562 { { diff --git a/sdk/gamesparks/src/json_ser.rs b/sdk/gamesparks/src/json_ser.rs index 9949f4b66b31..eb427cd9112c 100644 --- a/sdk/gamesparks/src/json_ser.rs +++ b/sdk/gamesparks/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_game_input( object.key("GameName").string(var_3.as_str()); } if let Some(var_4) = &input.tags { + #[allow(unused_mut)] let mut object_5 = object.key("Tags").start_object(); for (key_6, value_7) in var_4 { { @@ -51,6 +52,7 @@ pub fn serialize_structure_crate_input_create_stage_input( object.key("StageName").string(var_12.as_str()); } if let Some(var_13) = &input.tags { + #[allow(unused_mut)] let mut object_14 = object.key("Tags").start_object(); for (key_15, value_16) in var_13 { { @@ -67,6 +69,7 @@ pub fn serialize_structure_crate_input_import_game_configuration_input( input: &crate::input::ImportGameConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_17) = &input.import_source { + #[allow(unused_mut)] let mut object_18 = object.key("ImportSource").start_object(); crate::json_ser::serialize_structure_crate_model_import_game_configuration_source( &mut object_18, @@ -82,6 +85,7 @@ pub fn serialize_structure_crate_input_start_generated_code_job_input( input: &crate::input::StartGeneratedCodeJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.generator { + #[allow(unused_mut)] let mut object_20 = object.key("Generator").start_object(); crate::json_ser::serialize_structure_crate_model_generator(&mut object_20, var_19)?; object_20.finish(); @@ -107,6 +111,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_23) = &input.tags { + #[allow(unused_mut)] let mut object_24 = object.key("tags").start_object(); for (key_25, value_26) in var_23 { { @@ -136,6 +141,7 @@ pub fn serialize_structure_crate_input_update_game_configuration_input( let mut array_29 = object.key("Modifications").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_section_modification( &mut object_31, diff --git a/sdk/glacier/src/json_ser.rs b/sdk/glacier/src/json_ser.rs index e2cf35ff4f18..cb91b56e3149 100644 --- a/sdk/glacier/src/json_ser.rs +++ b/sdk/glacier/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_add_tags_to_vault_input( input: &crate::input::AddTagsToVaultInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.tags { + #[allow(unused_mut)] let mut object_2 = object.key("Tags").start_object(); for (key_3, value_4) in var_1 { { @@ -36,6 +37,7 @@ pub fn serialize_structure_crate_input_set_data_retrieval_policy_input( input: &crate::input::SetDataRetrievalPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_8) = &input.policy { + #[allow(unused_mut)] let mut object_9 = object.key("Policy").start_object(); crate::json_ser::serialize_structure_crate_model_data_retrieval_policy( &mut object_9, @@ -54,6 +56,7 @@ pub fn serialize_structure_crate_model_data_retrieval_policy( let mut array_11 = object.key("Rules").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_retrieval_rule( &mut object_13, @@ -93,6 +96,7 @@ pub fn serialize_structure_crate_model_job_parameters( object.key("Tier").string(var_20.as_str()); } if let Some(var_21) = &input.inventory_retrieval_parameters { + #[allow(unused_mut)] let mut object_22 = object.key("InventoryRetrievalParameters").start_object(); crate::json_ser::serialize_structure_crate_model_inventory_retrieval_job_input( &mut object_22, @@ -101,11 +105,13 @@ pub fn serialize_structure_crate_model_job_parameters( object_22.finish(); } if let Some(var_23) = &input.select_parameters { + #[allow(unused_mut)] let mut object_24 = object.key("SelectParameters").start_object(); crate::json_ser::serialize_structure_crate_model_select_parameters(&mut object_24, var_23)?; object_24.finish(); } if let Some(var_25) = &input.output_location { + #[allow(unused_mut)] let mut object_26 = object.key("OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_output_location(&mut object_26, var_25)?; object_26.finish(); @@ -192,6 +198,7 @@ pub fn serialize_structure_crate_model_select_parameters( input: &crate::model::SelectParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.input_serialization { + #[allow(unused_mut)] let mut object_40 = object.key("InputSerialization").start_object(); crate::json_ser::serialize_structure_crate_model_input_serialization( &mut object_40, @@ -206,6 +213,7 @@ pub fn serialize_structure_crate_model_select_parameters( object.key("Expression").string(var_42.as_str()); } if let Some(var_43) = &input.output_serialization { + #[allow(unused_mut)] let mut object_44 = object.key("OutputSerialization").start_object(); crate::json_ser::serialize_structure_crate_model_output_serialization( &mut object_44, @@ -221,6 +229,7 @@ pub fn serialize_structure_crate_model_output_location( input: &crate::model::OutputLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.s3 { + #[allow(unused_mut)] let mut object_46 = object.key("S3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_46, var_45)?; object_46.finish(); @@ -233,6 +242,7 @@ pub fn serialize_structure_crate_model_input_serialization( input: &crate::model::InputSerialization, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_47) = &input.csv { + #[allow(unused_mut)] let mut object_48 = object.key("csv").start_object(); crate::json_ser::serialize_structure_crate_model_csv_input(&mut object_48, var_47)?; object_48.finish(); @@ -245,6 +255,7 @@ pub fn serialize_structure_crate_model_output_serialization( input: &crate::model::OutputSerialization, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_49) = &input.csv { + #[allow(unused_mut)] let mut object_50 = object.key("csv").start_object(); crate::json_ser::serialize_structure_crate_model_csv_output(&mut object_50, var_49)?; object_50.finish(); @@ -263,6 +274,7 @@ pub fn serialize_structure_crate_model_s3_location( object.key("Prefix").string(var_52.as_str()); } if let Some(var_53) = &input.encryption { + #[allow(unused_mut)] let mut object_54 = object.key("Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_54, var_53)?; object_54.finish(); @@ -274,6 +286,7 @@ pub fn serialize_structure_crate_model_s3_location( let mut array_57 = object.key("AccessControlList").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_grant(&mut object_59, item_58)?; object_59.finish(); @@ -282,6 +295,7 @@ pub fn serialize_structure_crate_model_s3_location( array_57.finish(); } if let Some(var_60) = &input.tagging { + #[allow(unused_mut)] let mut object_61 = object.key("Tagging").start_object(); for (key_62, value_63) in var_60 { { @@ -291,6 +305,7 @@ pub fn serialize_structure_crate_model_s3_location( object_61.finish(); } if let Some(var_64) = &input.user_metadata { + #[allow(unused_mut)] let mut object_65 = object.key("UserMetadata").start_object(); for (key_66, value_67) in var_64 { { @@ -373,6 +388,7 @@ pub fn serialize_structure_crate_model_grant( input: &crate::model::Grant, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_83) = &input.grantee { + #[allow(unused_mut)] let mut object_84 = object.key("Grantee").start_object(); crate::json_ser::serialize_structure_crate_model_grantee(&mut object_84, var_83)?; object_84.finish(); diff --git a/sdk/globalaccelerator/src/json_ser.rs b/sdk/globalaccelerator/src/json_ser.rs index 4f089247bda5..4e03933c47f4 100644 --- a/sdk/globalaccelerator/src/json_ser.rs +++ b/sdk/globalaccelerator/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_custom_routing_endpoints_input( let mut array_2 = object.key("EndpointConfigurations").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_routing_endpoint_configuration(&mut object_4, item_3)?; object_4.finish(); @@ -96,6 +97,7 @@ pub fn serialize_structure_crate_input_create_accelerator_input( let mut array_24 = object.key("Tags").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_26, item_25)?; object_26.finish(); @@ -135,6 +137,7 @@ pub fn serialize_structure_crate_input_create_custom_routing_accelerator_input( let mut array_35 = object.key("Tags").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_37, item_36)?; object_37.finish(); @@ -159,6 +162,7 @@ pub fn serialize_structure_crate_input_create_custom_routing_endpoint_group_inpu let mut array_41 = object.key("DestinationConfigurations").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_routing_destination_configuration(&mut object_43, item_42)?; object_43.finish(); @@ -183,6 +187,7 @@ pub fn serialize_structure_crate_input_create_custom_routing_listener_input( let mut array_47 = object.key("PortRanges").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_49, @@ -213,6 +218,7 @@ pub fn serialize_structure_crate_input_create_endpoint_group_input( let mut array_54 = object.key("EndpointConfigurations").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_configuration( &mut object_56, @@ -260,6 +266,7 @@ pub fn serialize_structure_crate_input_create_endpoint_group_input( let mut array_65 = object.key("PortOverrides").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_override( &mut object_67, @@ -284,6 +291,7 @@ pub fn serialize_structure_crate_input_create_listener_input( let mut array_70 = object.key("PortRanges").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_72, @@ -679,6 +687,7 @@ pub fn serialize_structure_crate_input_provision_byoip_cidr_input( object.key("Cidr").string(var_127.as_str()); } if let Some(var_128) = &input.cidr_authorization_context { + #[allow(unused_mut)] let mut object_129 = object.key("CidrAuthorizationContext").start_object(); crate::json_ser::serialize_structure_crate_model_cidr_authorization_context( &mut object_129, @@ -719,6 +728,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_136 = object.key("Tags").start_array(); for item_137 in var_135 { { + #[allow(unused_mut)] let mut object_138 = array_136.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_138, item_137)?; object_138.finish(); @@ -835,6 +845,7 @@ pub fn serialize_structure_crate_input_update_custom_routing_listener_input( let mut array_161 = object.key("PortRanges").start_array(); for item_162 in var_160 { { + #[allow(unused_mut)] let mut object_163 = array_161.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_163, @@ -859,6 +870,7 @@ pub fn serialize_structure_crate_input_update_endpoint_group_input( let mut array_166 = object.key("EndpointConfigurations").start_array(); for item_167 in var_165 { { + #[allow(unused_mut)] let mut object_168 = array_166.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_configuration( &mut object_168, @@ -903,6 +915,7 @@ pub fn serialize_structure_crate_input_update_endpoint_group_input( let mut array_176 = object.key("PortOverrides").start_array(); for item_177 in var_175 { { + #[allow(unused_mut)] let mut object_178 = array_176.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_override( &mut object_178, @@ -927,6 +940,7 @@ pub fn serialize_structure_crate_input_update_listener_input( let mut array_181 = object.key("PortRanges").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_183, diff --git a/sdk/glue/src/json_ser.rs b/sdk/glue/src/json_ser.rs index 61be1bbba96e..8a2961127127 100644 --- a/sdk/glue/src/json_ser.rs +++ b/sdk/glue/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_batch_create_partition_input( let mut array_5 = object.key("PartitionInputList").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_partition_input( &mut object_7, @@ -65,6 +66,7 @@ pub fn serialize_structure_crate_input_batch_delete_partition_input( let mut array_16 = object.key("PartitionsToDelete").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_partition_value_list( &mut object_18, @@ -231,6 +233,7 @@ pub fn serialize_structure_crate_input_batch_get_partition_input( let mut array_52 = object.key("PartitionsToGet").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_partition_value_list( &mut object_54, @@ -315,6 +318,7 @@ pub fn serialize_structure_crate_input_batch_update_partition_input( let mut array_70 = object.key("Entries").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_update_partition_request_entry(&mut object_72, item_71)?; object_72.finish(); @@ -384,6 +388,7 @@ pub fn serialize_structure_crate_input_create_blueprint_input( object.key("BlueprintLocation").string(var_81.as_str()); } if let Some(var_82) = &input.tags { + #[allow(unused_mut)] let mut object_83 = object.key("Tags").start_object(); for (key_84, value_85) in var_82 { { @@ -400,6 +405,7 @@ pub fn serialize_structure_crate_input_create_classifier_input( input: &crate::input::CreateClassifierInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_86) = &input.grok_classifier { + #[allow(unused_mut)] let mut object_87 = object.key("GrokClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_create_grok_classifier_request( &mut object_87, @@ -408,6 +414,7 @@ pub fn serialize_structure_crate_input_create_classifier_input( object_87.finish(); } if let Some(var_88) = &input.xml_classifier { + #[allow(unused_mut)] let mut object_89 = object.key("XMLClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_create_xml_classifier_request( &mut object_89, @@ -416,6 +423,7 @@ pub fn serialize_structure_crate_input_create_classifier_input( object_89.finish(); } if let Some(var_90) = &input.json_classifier { + #[allow(unused_mut)] let mut object_91 = object.key("JsonClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_create_json_classifier_request( &mut object_91, @@ -424,6 +432,7 @@ pub fn serialize_structure_crate_input_create_classifier_input( object_91.finish(); } if let Some(var_92) = &input.csv_classifier { + #[allow(unused_mut)] let mut object_93 = object.key("CsvClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_create_csv_classifier_request( &mut object_93, @@ -442,11 +451,13 @@ pub fn serialize_structure_crate_input_create_connection_input( object.key("CatalogId").string(var_94.as_str()); } if let Some(var_95) = &input.connection_input { + #[allow(unused_mut)] let mut object_96 = object.key("ConnectionInput").start_object(); crate::json_ser::serialize_structure_crate_model_connection_input(&mut object_96, var_95)?; object_96.finish(); } if let Some(var_97) = &input.tags { + #[allow(unused_mut)] let mut object_98 = object.key("Tags").start_object(); for (key_99, value_100) in var_97 { { @@ -475,6 +486,7 @@ pub fn serialize_structure_crate_input_create_crawler_input( object.key("Description").string(var_104.as_str()); } if let Some(var_105) = &input.targets { + #[allow(unused_mut)] let mut object_106 = object.key("Targets").start_object(); crate::json_ser::serialize_structure_crate_model_crawler_targets(&mut object_106, var_105)?; object_106.finish(); @@ -495,6 +507,7 @@ pub fn serialize_structure_crate_input_create_crawler_input( object.key("TablePrefix").string(var_111.as_str()); } if let Some(var_112) = &input.schema_change_policy { + #[allow(unused_mut)] let mut object_113 = object.key("SchemaChangePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_schema_change_policy( &mut object_113, @@ -503,11 +516,13 @@ pub fn serialize_structure_crate_input_create_crawler_input( object_113.finish(); } if let Some(var_114) = &input.recrawl_policy { + #[allow(unused_mut)] let mut object_115 = object.key("RecrawlPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_recrawl_policy(&mut object_115, var_114)?; object_115.finish(); } if let Some(var_116) = &input.lineage_configuration { + #[allow(unused_mut)] let mut object_117 = object.key("LineageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lineage_configuration( &mut object_117, @@ -516,6 +531,7 @@ pub fn serialize_structure_crate_input_create_crawler_input( object_117.finish(); } if let Some(var_118) = &input.lake_formation_configuration { + #[allow(unused_mut)] let mut object_119 = object.key("LakeFormationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lake_formation_configuration( &mut object_119, @@ -532,6 +548,7 @@ pub fn serialize_structure_crate_input_create_crawler_input( .string(var_121.as_str()); } if let Some(var_122) = &input.tags { + #[allow(unused_mut)] let mut object_123 = object.key("Tags").start_object(); for (key_124, value_125) in var_122 { { @@ -573,11 +590,13 @@ pub fn serialize_structure_crate_input_create_database_input( object.key("CatalogId").string(var_131.as_str()); } if let Some(var_132) = &input.database_input { + #[allow(unused_mut)] let mut object_133 = object.key("DatabaseInput").start_object(); crate::json_ser::serialize_structure_crate_model_database_input(&mut object_133, var_132)?; object_133.finish(); } if let Some(var_134) = &input.tags { + #[allow(unused_mut)] let mut object_135 = object.key("Tags").start_object(); for (key_136, value_137) in var_134 { { @@ -651,6 +670,7 @@ pub fn serialize_structure_crate_input_create_dev_endpoint_input( object.key("SecurityConfiguration").string(var_153.as_str()); } if let Some(var_154) = &input.tags { + #[allow(unused_mut)] let mut object_155 = object.key("Tags").start_object(); for (key_156, value_157) in var_154 { { @@ -660,6 +680,7 @@ pub fn serialize_structure_crate_input_create_dev_endpoint_input( object_155.finish(); } if let Some(var_158) = &input.arguments { + #[allow(unused_mut)] let mut object_159 = object.key("Arguments").start_object(); for (key_160, value_161) in var_158 { { @@ -688,6 +709,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("Role").string(var_165.as_str()); } if let Some(var_166) = &input.execution_property { + #[allow(unused_mut)] let mut object_167 = object.key("ExecutionProperty").start_object(); crate::json_ser::serialize_structure_crate_model_execution_property( &mut object_167, @@ -696,11 +718,13 @@ pub fn serialize_structure_crate_input_create_job_input( object_167.finish(); } if let Some(var_168) = &input.command { + #[allow(unused_mut)] let mut object_169 = object.key("Command").start_object(); crate::json_ser::serialize_structure_crate_model_job_command(&mut object_169, var_168)?; object_169.finish(); } if let Some(var_170) = &input.default_arguments { + #[allow(unused_mut)] let mut object_171 = object.key("DefaultArguments").start_object(); for (key_172, value_173) in var_170 { { @@ -710,6 +734,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_171.finish(); } if let Some(var_174) = &input.non_overridable_arguments { + #[allow(unused_mut)] let mut object_175 = object.key("NonOverridableArguments").start_object(); for (key_176, value_177) in var_174 { { @@ -719,6 +744,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_175.finish(); } if let Some(var_178) = &input.connections { + #[allow(unused_mut)] let mut object_179 = object.key("Connections").start_object(); crate::json_ser::serialize_structure_crate_model_connections_list( &mut object_179, @@ -754,6 +780,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("SecurityConfiguration").string(var_182.as_str()); } if let Some(var_183) = &input.tags { + #[allow(unused_mut)] let mut object_184 = object.key("Tags").start_object(); for (key_185, value_186) in var_183 { { @@ -763,6 +790,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_184.finish(); } if let Some(var_187) = &input.notification_property { + #[allow(unused_mut)] let mut object_188 = object.key("NotificationProperty").start_object(); crate::json_ser::serialize_structure_crate_model_notification_property( &mut object_188, @@ -783,9 +811,11 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("WorkerType").string(var_191.as_str()); } if let Some(var_192) = &input.code_gen_configuration_nodes { + #[allow(unused_mut)] let mut object_193 = object.key("CodeGenConfigurationNodes").start_object(); for (key_194, value_195) in var_192 { { + #[allow(unused_mut)] let mut object_196 = object_193.key(key_194.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_configuration_node( &mut object_196, @@ -816,6 +846,7 @@ pub fn serialize_structure_crate_input_create_ml_transform_input( let mut array_201 = object.key("InputRecordTables").start_array(); for item_202 in var_200 { { + #[allow(unused_mut)] let mut object_203 = array_201.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_table( &mut object_203, @@ -827,6 +858,7 @@ pub fn serialize_structure_crate_input_create_ml_transform_input( array_201.finish(); } if let Some(var_204) = &input.parameters { + #[allow(unused_mut)] let mut object_205 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_transform_parameters( &mut object_205, @@ -868,6 +900,7 @@ pub fn serialize_structure_crate_input_create_ml_transform_input( ); } if let Some(var_213) = &input.tags { + #[allow(unused_mut)] let mut object_214 = object.key("Tags").start_object(); for (key_215, value_216) in var_213 { { @@ -877,6 +910,7 @@ pub fn serialize_structure_crate_input_create_ml_transform_input( object_214.finish(); } if let Some(var_217) = &input.transform_encryption { + #[allow(unused_mut)] let mut object_218 = object.key("TransformEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_transform_encryption( &mut object_218, @@ -901,6 +935,7 @@ pub fn serialize_structure_crate_input_create_partition_input( object.key("TableName").string(var_221.as_str()); } if let Some(var_222) = &input.partition_input { + #[allow(unused_mut)] let mut object_223 = object.key("PartitionInput").start_object(); crate::json_ser::serialize_structure_crate_model_partition_input(&mut object_223, var_222)?; object_223.finish(); @@ -922,6 +957,7 @@ pub fn serialize_structure_crate_input_create_partition_index_input( object.key("TableName").string(var_226.as_str()); } if let Some(var_227) = &input.partition_index { + #[allow(unused_mut)] let mut object_228 = object.key("PartitionIndex").start_object(); crate::json_ser::serialize_structure_crate_model_partition_index(&mut object_228, var_227)?; object_228.finish(); @@ -940,6 +976,7 @@ pub fn serialize_structure_crate_input_create_registry_input( object.key("Description").string(var_230.as_str()); } if let Some(var_231) = &input.tags { + #[allow(unused_mut)] let mut object_232 = object.key("Tags").start_object(); for (key_233, value_234) in var_231 { { @@ -956,6 +993,7 @@ pub fn serialize_structure_crate_input_create_schema_input( input: &crate::input::CreateSchemaInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_235) = &input.registry_id { + #[allow(unused_mut)] let mut object_236 = object.key("RegistryId").start_object(); crate::json_ser::serialize_structure_crate_model_registry_id(&mut object_236, var_235)?; object_236.finish(); @@ -973,6 +1011,7 @@ pub fn serialize_structure_crate_input_create_schema_input( object.key("Description").string(var_240.as_str()); } if let Some(var_241) = &input.tags { + #[allow(unused_mut)] let mut object_242 = object.key("Tags").start_object(); for (key_243, value_244) in var_241 { { @@ -995,6 +1034,7 @@ pub fn serialize_structure_crate_input_create_script_input( let mut array_247 = object.key("DagNodes").start_array(); for item_248 in var_246 { { + #[allow(unused_mut)] let mut object_249 = array_247.value().start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_node( &mut object_249, @@ -1009,6 +1049,7 @@ pub fn serialize_structure_crate_input_create_script_input( let mut array_251 = object.key("DagEdges").start_array(); for item_252 in var_250 { { + #[allow(unused_mut)] let mut object_253 = array_251.value().start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_edge( &mut object_253, @@ -1033,6 +1074,7 @@ pub fn serialize_structure_crate_input_create_security_configuration_input( object.key("Name").string(var_255.as_str()); } if let Some(var_256) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_257 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_257, @@ -1057,6 +1099,7 @@ pub fn serialize_structure_crate_input_create_session_input( object.key("Role").string(var_260.as_str()); } if let Some(var_261) = &input.command { + #[allow(unused_mut)] let mut object_262 = object.key("Command").start_object(); crate::json_ser::serialize_structure_crate_model_session_command(&mut object_262, var_261)?; object_262.finish(); @@ -1074,6 +1117,7 @@ pub fn serialize_structure_crate_input_create_session_input( ); } if let Some(var_265) = &input.default_arguments { + #[allow(unused_mut)] let mut object_266 = object.key("DefaultArguments").start_object(); for (key_267, value_268) in var_265 { { @@ -1083,6 +1127,7 @@ pub fn serialize_structure_crate_input_create_session_input( object_266.finish(); } if let Some(var_269) = &input.connections { + #[allow(unused_mut)] let mut object_270 = object.key("Connections").start_object(); crate::json_ser::serialize_structure_crate_model_connections_list( &mut object_270, @@ -1112,6 +1157,7 @@ pub fn serialize_structure_crate_input_create_session_input( object.key("GlueVersion").string(var_275.as_str()); } if let Some(var_276) = &input.tags { + #[allow(unused_mut)] let mut object_277 = object.key("Tags").start_object(); for (key_278, value_279) in var_276 { { @@ -1137,6 +1183,7 @@ pub fn serialize_structure_crate_input_create_table_input( object.key("DatabaseName").string(var_282.as_str()); } if let Some(var_283) = &input.table_input { + #[allow(unused_mut)] let mut object_284 = object.key("TableInput").start_object(); crate::json_ser::serialize_structure_crate_model_table_input(&mut object_284, var_283)?; object_284.finish(); @@ -1145,6 +1192,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_286 = object.key("PartitionIndexes").start_array(); for item_287 in var_285 { { + #[allow(unused_mut)] let mut object_288 = array_286.value().start_object(); crate::json_ser::serialize_structure_crate_model_partition_index( &mut object_288, @@ -1178,6 +1226,7 @@ pub fn serialize_structure_crate_input_create_trigger_input( object.key("Schedule").string(var_293.as_str()); } if let Some(var_294) = &input.predicate { + #[allow(unused_mut)] let mut object_295 = object.key("Predicate").start_object(); crate::json_ser::serialize_structure_crate_model_predicate(&mut object_295, var_294)?; object_295.finish(); @@ -1186,6 +1235,7 @@ pub fn serialize_structure_crate_input_create_trigger_input( let mut array_297 = object.key("Actions").start_array(); for item_298 in var_296 { { + #[allow(unused_mut)] let mut object_299 = array_297.value().start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_299, item_298)?; object_299.finish(); @@ -1202,6 +1252,7 @@ pub fn serialize_structure_crate_input_create_trigger_input( .boolean(input.start_on_creation); } if let Some(var_301) = &input.tags { + #[allow(unused_mut)] let mut object_302 = object.key("Tags").start_object(); for (key_303, value_304) in var_301 { { @@ -1211,6 +1262,7 @@ pub fn serialize_structure_crate_input_create_trigger_input( object_302.finish(); } if let Some(var_305) = &input.event_batching_condition { + #[allow(unused_mut)] let mut object_306 = object.key("EventBatchingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_event_batching_condition( &mut object_306, @@ -1232,6 +1284,7 @@ pub fn serialize_structure_crate_input_create_user_defined_function_input( object.key("DatabaseName").string(var_308.as_str()); } if let Some(var_309) = &input.function_input { + #[allow(unused_mut)] let mut object_310 = object.key("FunctionInput").start_object(); crate::json_ser::serialize_structure_crate_model_user_defined_function_input( &mut object_310, @@ -1253,6 +1306,7 @@ pub fn serialize_structure_crate_input_create_workflow_input( object.key("Description").string(var_312.as_str()); } if let Some(var_313) = &input.default_run_properties { + #[allow(unused_mut)] let mut object_314 = object.key("DefaultRunProperties").start_object(); for (key_315, value_316) in var_313 { { @@ -1262,6 +1316,7 @@ pub fn serialize_structure_crate_input_create_workflow_input( object_314.finish(); } if let Some(var_317) = &input.tags { + #[allow(unused_mut)] let mut object_318 = object.key("Tags").start_object(); for (key_319, value_320) in var_317 { { @@ -1471,6 +1526,7 @@ pub fn serialize_structure_crate_input_delete_registry_input( input: &crate::input::DeleteRegistryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_354) = &input.registry_id { + #[allow(unused_mut)] let mut object_355 = object.key("RegistryId").start_object(); crate::json_ser::serialize_structure_crate_model_registry_id(&mut object_355, var_354)?; object_355.finish(); @@ -1496,6 +1552,7 @@ pub fn serialize_structure_crate_input_delete_schema_input( input: &crate::input::DeleteSchemaInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_358) = &input.schema_id { + #[allow(unused_mut)] let mut object_359 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_359, var_358)?; object_359.finish(); @@ -1508,6 +1565,7 @@ pub fn serialize_structure_crate_input_delete_schema_versions_input( input: &crate::input::DeleteSchemaVersionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_360) = &input.schema_id { + #[allow(unused_mut)] let mut object_361 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_361, var_360)?; object_361.finish(); @@ -1782,6 +1840,7 @@ pub fn serialize_structure_crate_input_get_connections_input( object.key("CatalogId").string(var_408.as_str()); } if let Some(var_409) = &input.filter { + #[allow(unused_mut)] let mut object_410 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_get_connections_filter( &mut object_410, @@ -2027,6 +2086,7 @@ pub fn serialize_structure_crate_input_get_mapping_input( input: &crate::input::GetMappingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_443) = &input.source { + #[allow(unused_mut)] let mut object_444 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_entry(&mut object_444, var_443)?; object_444.finish(); @@ -2035,6 +2095,7 @@ pub fn serialize_structure_crate_input_get_mapping_input( let mut array_446 = object.key("Sinks").start_array(); for item_447 in var_445 { { + #[allow(unused_mut)] let mut object_448 = array_446.value().start_object(); crate::json_ser::serialize_structure_crate_model_catalog_entry( &mut object_448, @@ -2046,6 +2107,7 @@ pub fn serialize_structure_crate_input_get_mapping_input( array_446.finish(); } if let Some(var_449) = &input.location { + #[allow(unused_mut)] let mut object_450 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_450, var_449)?; object_450.finish(); @@ -2083,6 +2145,7 @@ pub fn serialize_structure_crate_input_get_ml_task_runs_input( ); } if let Some(var_456) = &input.filter { + #[allow(unused_mut)] let mut object_457 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_task_run_filter_criteria( &mut object_457, @@ -2091,6 +2154,7 @@ pub fn serialize_structure_crate_input_get_ml_task_runs_input( object_457.finish(); } if let Some(var_458) = &input.sort { + #[allow(unused_mut)] let mut object_459 = object.key("Sort").start_object(); crate::json_ser::serialize_structure_crate_model_task_run_sort_criteria( &mut object_459, @@ -2125,6 +2189,7 @@ pub fn serialize_structure_crate_input_get_ml_transforms_input( ); } if let Some(var_463) = &input.filter { + #[allow(unused_mut)] let mut object_464 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_transform_filter_criteria( &mut object_464, @@ -2133,6 +2198,7 @@ pub fn serialize_structure_crate_input_get_ml_transforms_input( object_464.finish(); } if let Some(var_465) = &input.sort { + #[allow(unused_mut)] let mut object_466 = object.key("Sort").start_object(); crate::json_ser::serialize_structure_crate_model_transform_sort_criteria( &mut object_466, @@ -2207,6 +2273,7 @@ pub fn serialize_structure_crate_input_get_partitions_input( object.key("NextToken").string(var_481.as_str()); } if let Some(var_482) = &input.segment { + #[allow(unused_mut)] let mut object_483 = object.key("Segment").start_object(); crate::json_ser::serialize_structure_crate_model_segment(&mut object_483, var_482)?; object_483.finish(); @@ -2239,6 +2306,7 @@ pub fn serialize_structure_crate_input_get_plan_input( let mut array_489 = object.key("Mapping").start_array(); for item_490 in var_488 { { + #[allow(unused_mut)] let mut object_491 = array_489.value().start_object(); crate::json_ser::serialize_structure_crate_model_mapping_entry( &mut object_491, @@ -2250,6 +2318,7 @@ pub fn serialize_structure_crate_input_get_plan_input( array_489.finish(); } if let Some(var_492) = &input.source { + #[allow(unused_mut)] let mut object_493 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_entry(&mut object_493, var_492)?; object_493.finish(); @@ -2258,6 +2327,7 @@ pub fn serialize_structure_crate_input_get_plan_input( let mut array_495 = object.key("Sinks").start_array(); for item_496 in var_494 { { + #[allow(unused_mut)] let mut object_497 = array_495.value().start_object(); crate::json_ser::serialize_structure_crate_model_catalog_entry( &mut object_497, @@ -2269,6 +2339,7 @@ pub fn serialize_structure_crate_input_get_plan_input( array_495.finish(); } if let Some(var_498) = &input.location { + #[allow(unused_mut)] let mut object_499 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_499, var_498)?; object_499.finish(); @@ -2277,6 +2348,7 @@ pub fn serialize_structure_crate_input_get_plan_input( object.key("Language").string(var_500.as_str()); } if let Some(var_501) = &input.additional_plan_options_map { + #[allow(unused_mut)] let mut object_502 = object.key("AdditionalPlanOptionsMap").start_object(); for (key_503, value_504) in var_501 { { @@ -2293,6 +2365,7 @@ pub fn serialize_structure_crate_input_get_registry_input( input: &crate::input::GetRegistryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_505) = &input.registry_id { + #[allow(unused_mut)] let mut object_506 = object.key("RegistryId").start_object(); crate::json_ser::serialize_structure_crate_model_registry_id(&mut object_506, var_505)?; object_506.finish(); @@ -2331,6 +2404,7 @@ pub fn serialize_structure_crate_input_get_schema_input( input: &crate::input::GetSchemaInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_510) = &input.schema_id { + #[allow(unused_mut)] let mut object_511 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_511, var_510)?; object_511.finish(); @@ -2343,6 +2417,7 @@ pub fn serialize_structure_crate_input_get_schema_by_definition_input( input: &crate::input::GetSchemaByDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_512) = &input.schema_id { + #[allow(unused_mut)] let mut object_513 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_513, var_512)?; object_513.finish(); @@ -2358,6 +2433,7 @@ pub fn serialize_structure_crate_input_get_schema_version_input( input: &crate::input::GetSchemaVersionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_515) = &input.schema_id { + #[allow(unused_mut)] let mut object_516 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_516, var_515)?; object_516.finish(); @@ -2366,6 +2442,7 @@ pub fn serialize_structure_crate_input_get_schema_version_input( object.key("SchemaVersionId").string(var_517.as_str()); } if let Some(var_518) = &input.schema_version_number { + #[allow(unused_mut)] let mut object_519 = object.key("SchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_519, @@ -2381,11 +2458,13 @@ pub fn serialize_structure_crate_input_get_schema_versions_diff_input( input: &crate::input::GetSchemaVersionsDiffInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_520) = &input.schema_id { + #[allow(unused_mut)] let mut object_521 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_521, var_520)?; object_521.finish(); } if let Some(var_522) = &input.first_schema_version_number { + #[allow(unused_mut)] let mut object_523 = object.key("FirstSchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_523, @@ -2394,6 +2473,7 @@ pub fn serialize_structure_crate_input_get_schema_versions_diff_input( object_523.finish(); } if let Some(var_524) = &input.second_schema_version_number { + #[allow(unused_mut)] let mut object_525 = object.key("SecondSchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_525, @@ -2628,6 +2708,7 @@ pub fn serialize_structure_crate_input_get_unfiltered_partition_metadata_input( array_564.finish(); } if let Some(var_566) = &input.audit_context { + #[allow(unused_mut)] let mut object_567 = object.key("AuditContext").start_object(); crate::json_ser::serialize_structure_crate_model_audit_context(&mut object_567, var_566)?; object_567.finish(); @@ -2661,6 +2742,7 @@ pub fn serialize_structure_crate_input_get_unfiltered_partitions_metadata_input( object.key("Expression").string(var_574.as_str()); } if let Some(var_575) = &input.audit_context { + #[allow(unused_mut)] let mut object_576 = object.key("AuditContext").start_object(); crate::json_ser::serialize_structure_crate_model_audit_context(&mut object_576, var_575)?; object_576.finish(); @@ -2678,6 +2760,7 @@ pub fn serialize_structure_crate_input_get_unfiltered_partitions_metadata_input( object.key("NextToken").string(var_580.as_str()); } if let Some(var_581) = &input.segment { + #[allow(unused_mut)] let mut object_582 = object.key("Segment").start_object(); crate::json_ser::serialize_structure_crate_model_segment(&mut object_582, var_581)?; object_582.finish(); @@ -2705,6 +2788,7 @@ pub fn serialize_structure_crate_input_get_unfiltered_table_metadata_input( object.key("Name").string(var_586.as_str()); } if let Some(var_587) = &input.audit_context { + #[allow(unused_mut)] let mut object_588 = object.key("AuditContext").start_object(); crate::json_ser::serialize_structure_crate_model_audit_context(&mut object_588, var_587)?; object_588.finish(); @@ -2850,6 +2934,7 @@ pub fn serialize_structure_crate_input_list_blueprints_input( ); } if let Some(var_614) = &input.tags { + #[allow(unused_mut)] let mut object_615 = object.key("Tags").start_object(); for (key_616, value_617) in var_614 { { @@ -2875,6 +2960,7 @@ pub fn serialize_structure_crate_input_list_crawlers_input( object.key("NextToken").string(var_619.as_str()); } if let Some(var_620) = &input.tags { + #[allow(unused_mut)] let mut object_621 = object.key("Tags").start_object(); for (key_622, value_623) in var_620 { { @@ -2903,6 +2989,7 @@ pub fn serialize_structure_crate_input_list_crawls_input( let mut array_627 = object.key("Filters").start_array(); for item_628 in var_626 { { + #[allow(unused_mut)] let mut object_629 = array_627.value().start_object(); crate::json_ser::serialize_structure_crate_model_crawls_filter( &mut object_629, @@ -2949,6 +3036,7 @@ pub fn serialize_structure_crate_input_list_dev_endpoints_input( ); } if let Some(var_635) = &input.tags { + #[allow(unused_mut)] let mut object_636 = object.key("Tags").start_object(); for (key_637, value_638) in var_635 { { @@ -2974,6 +3062,7 @@ pub fn serialize_structure_crate_input_list_jobs_input( ); } if let Some(var_641) = &input.tags { + #[allow(unused_mut)] let mut object_642 = object.key("Tags").start_object(); for (key_643, value_644) in var_641 { { @@ -2999,6 +3088,7 @@ pub fn serialize_structure_crate_input_list_ml_transforms_input( ); } if let Some(var_647) = &input.filter { + #[allow(unused_mut)] let mut object_648 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_transform_filter_criteria( &mut object_648, @@ -3007,6 +3097,7 @@ pub fn serialize_structure_crate_input_list_ml_transforms_input( object_648.finish(); } if let Some(var_649) = &input.sort { + #[allow(unused_mut)] let mut object_650 = object.key("Sort").start_object(); crate::json_ser::serialize_structure_crate_model_transform_sort_criteria( &mut object_650, @@ -3015,6 +3106,7 @@ pub fn serialize_structure_crate_input_list_ml_transforms_input( object_650.finish(); } if let Some(var_651) = &input.tags { + #[allow(unused_mut)] let mut object_652 = object.key("Tags").start_object(); for (key_653, value_654) in var_651 { { @@ -3047,6 +3139,7 @@ pub fn serialize_structure_crate_input_list_schemas_input( input: &crate::input::ListSchemasInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_657) = &input.registry_id { + #[allow(unused_mut)] let mut object_658 = object.key("RegistryId").start_object(); crate::json_ser::serialize_structure_crate_model_registry_id(&mut object_658, var_657)?; object_658.finish(); @@ -3068,6 +3161,7 @@ pub fn serialize_structure_crate_input_list_schema_versions_input( input: &crate::input::ListSchemaVersionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_661) = &input.schema_id { + #[allow(unused_mut)] let mut object_662 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_662, var_661)?; object_662.finish(); @@ -3098,6 +3192,7 @@ pub fn serialize_structure_crate_input_list_sessions_input( ); } if let Some(var_667) = &input.tags { + #[allow(unused_mut)] let mut object_668 = object.key("Tags").start_object(); for (key_669, value_670) in var_667 { { @@ -3145,6 +3240,7 @@ pub fn serialize_structure_crate_input_list_triggers_input( ); } if let Some(var_678) = &input.tags { + #[allow(unused_mut)] let mut object_679 = object.key("Tags").start_object(); for (key_680, value_681) in var_678 { { @@ -3180,6 +3276,7 @@ pub fn serialize_structure_crate_input_put_data_catalog_encryption_settings_inpu object.key("CatalogId").string(var_684.as_str()); } if let Some(var_685) = &input.data_catalog_encryption_settings { + #[allow(unused_mut)] let mut object_686 = object.key("DataCatalogEncryptionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_data_catalog_encryption_settings( &mut object_686, @@ -3217,11 +3314,13 @@ pub fn serialize_structure_crate_input_put_schema_version_metadata_input( input: &crate::input::PutSchemaVersionMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_692) = &input.schema_id { + #[allow(unused_mut)] let mut object_693 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_693, var_692)?; object_693.finish(); } if let Some(var_694) = &input.schema_version_number { + #[allow(unused_mut)] let mut object_695 = object.key("SchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_695, @@ -3233,6 +3332,7 @@ pub fn serialize_structure_crate_input_put_schema_version_metadata_input( object.key("SchemaVersionId").string(var_696.as_str()); } if let Some(var_697) = &input.metadata_key_value { + #[allow(unused_mut)] let mut object_698 = object.key("MetadataKeyValue").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_key_value_pair( &mut object_698, @@ -3254,6 +3354,7 @@ pub fn serialize_structure_crate_input_put_workflow_run_properties_input( object.key("RunId").string(var_700.as_str()); } if let Some(var_701) = &input.run_properties { + #[allow(unused_mut)] let mut object_702 = object.key("RunProperties").start_object(); for (key_703, value_704) in var_701 { { @@ -3270,11 +3371,13 @@ pub fn serialize_structure_crate_input_query_schema_version_metadata_input( input: &crate::input::QuerySchemaVersionMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_705) = &input.schema_id { + #[allow(unused_mut)] let mut object_706 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_706, var_705)?; object_706.finish(); } if let Some(var_707) = &input.schema_version_number { + #[allow(unused_mut)] let mut object_708 = object.key("SchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_708, @@ -3289,6 +3392,7 @@ pub fn serialize_structure_crate_input_query_schema_version_metadata_input( let mut array_711 = object.key("MetadataList").start_array(); for item_712 in var_710 { { + #[allow(unused_mut)] let mut object_713 = array_711.value().start_object(); crate::json_ser::serialize_structure_crate_model_metadata_key_value_pair( &mut object_713, @@ -3316,6 +3420,7 @@ pub fn serialize_structure_crate_input_register_schema_version_input( input: &crate::input::RegisterSchemaVersionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_715) = &input.schema_id { + #[allow(unused_mut)] let mut object_716 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_716, var_715)?; object_716.finish(); @@ -3331,11 +3436,13 @@ pub fn serialize_structure_crate_input_remove_schema_version_metadata_input( input: &crate::input::RemoveSchemaVersionMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_718) = &input.schema_id { + #[allow(unused_mut)] let mut object_719 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_719, var_718)?; object_719.finish(); } if let Some(var_720) = &input.schema_version_number { + #[allow(unused_mut)] let mut object_721 = object.key("SchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_721, @@ -3347,6 +3454,7 @@ pub fn serialize_structure_crate_input_remove_schema_version_metadata_input( object.key("SchemaVersionId").string(var_722.as_str()); } if let Some(var_723) = &input.metadata_key_value { + #[allow(unused_mut)] let mut object_724 = object.key("MetadataKeyValue").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_key_value_pair( &mut object_724, @@ -3422,6 +3530,7 @@ pub fn serialize_structure_crate_input_search_tables_input( let mut array_738 = object.key("Filters").start_array(); for item_739 in var_737 { { + #[allow(unused_mut)] let mut object_740 = array_738.value().start_object(); crate::json_ser::serialize_structure_crate_model_property_predicate( &mut object_740, @@ -3439,6 +3548,7 @@ pub fn serialize_structure_crate_input_search_tables_input( let mut array_743 = object.key("SortCriteria").start_array(); for item_744 in var_742 { { + #[allow(unused_mut)] let mut object_745 = array_743.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort_criterion( &mut object_745, @@ -3539,6 +3649,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("JobRunId").string(var_758.as_str()); } if let Some(var_759) = &input.arguments { + #[allow(unused_mut)] let mut object_760 = object.key("Arguments").start_object(); for (key_761, value_762) in var_759 { { @@ -3569,6 +3680,7 @@ pub fn serialize_structure_crate_input_start_job_run_input( object.key("SecurityConfiguration").string(var_765.as_str()); } if let Some(var_766) = &input.notification_property { + #[allow(unused_mut)] let mut object_767 = object.key("NotificationProperty").start_object(); crate::json_ser::serialize_structure_crate_model_notification_property( &mut object_767, @@ -3632,6 +3744,7 @@ pub fn serialize_structure_crate_input_start_workflow_run_input( object.key("Name").string(var_775.as_str()); } if let Some(var_776) = &input.run_properties { + #[allow(unused_mut)] let mut object_777 = object.key("RunProperties").start_object(); for (key_778, value_779) in var_776 { { @@ -3707,6 +3820,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("ResourceArn").string(var_787.as_str()); } if let Some(var_788) = &input.tags_to_add { + #[allow(unused_mut)] let mut object_789 = object.key("TagsToAdd").start_object(); for (key_790, value_791) in var_788 { { @@ -3758,6 +3872,7 @@ pub fn serialize_structure_crate_input_update_classifier_input( input: &crate::input::UpdateClassifierInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_799) = &input.grok_classifier { + #[allow(unused_mut)] let mut object_800 = object.key("GrokClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_update_grok_classifier_request( &mut object_800, @@ -3766,6 +3881,7 @@ pub fn serialize_structure_crate_input_update_classifier_input( object_800.finish(); } if let Some(var_801) = &input.xml_classifier { + #[allow(unused_mut)] let mut object_802 = object.key("XMLClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_update_xml_classifier_request( &mut object_802, @@ -3774,6 +3890,7 @@ pub fn serialize_structure_crate_input_update_classifier_input( object_802.finish(); } if let Some(var_803) = &input.json_classifier { + #[allow(unused_mut)] let mut object_804 = object.key("JsonClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_update_json_classifier_request( &mut object_804, @@ -3782,6 +3899,7 @@ pub fn serialize_structure_crate_input_update_classifier_input( object_804.finish(); } if let Some(var_805) = &input.csv_classifier { + #[allow(unused_mut)] let mut object_806 = object.key("CsvClassifier").start_object(); crate::json_ser::serialize_structure_crate_model_update_csv_classifier_request( &mut object_806, @@ -3818,6 +3936,7 @@ pub fn serialize_structure_crate_input_update_column_statistics_for_partition_in let mut array_814 = object.key("ColumnStatisticsList").start_array(); for item_815 in var_813 { { + #[allow(unused_mut)] let mut object_816 = array_814.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_statistics( &mut object_816, @@ -3848,6 +3967,7 @@ pub fn serialize_structure_crate_input_update_column_statistics_for_table_input( let mut array_821 = object.key("ColumnStatisticsList").start_array(); for item_822 in var_820 { { + #[allow(unused_mut)] let mut object_823 = array_821.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_statistics( &mut object_823, @@ -3872,6 +3992,7 @@ pub fn serialize_structure_crate_input_update_connection_input( object.key("Name").string(var_825.as_str()); } if let Some(var_826) = &input.connection_input { + #[allow(unused_mut)] let mut object_827 = object.key("ConnectionInput").start_object(); crate::json_ser::serialize_structure_crate_model_connection_input( &mut object_827, @@ -3899,6 +4020,7 @@ pub fn serialize_structure_crate_input_update_crawler_input( object.key("Description").string(var_831.as_str()); } if let Some(var_832) = &input.targets { + #[allow(unused_mut)] let mut object_833 = object.key("Targets").start_object(); crate::json_ser::serialize_structure_crate_model_crawler_targets(&mut object_833, var_832)?; object_833.finish(); @@ -3919,6 +4041,7 @@ pub fn serialize_structure_crate_input_update_crawler_input( object.key("TablePrefix").string(var_838.as_str()); } if let Some(var_839) = &input.schema_change_policy { + #[allow(unused_mut)] let mut object_840 = object.key("SchemaChangePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_schema_change_policy( &mut object_840, @@ -3927,11 +4050,13 @@ pub fn serialize_structure_crate_input_update_crawler_input( object_840.finish(); } if let Some(var_841) = &input.recrawl_policy { + #[allow(unused_mut)] let mut object_842 = object.key("RecrawlPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_recrawl_policy(&mut object_842, var_841)?; object_842.finish(); } if let Some(var_843) = &input.lineage_configuration { + #[allow(unused_mut)] let mut object_844 = object.key("LineageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lineage_configuration( &mut object_844, @@ -3940,6 +4065,7 @@ pub fn serialize_structure_crate_input_update_crawler_input( object_844.finish(); } if let Some(var_845) = &input.lake_formation_configuration { + #[allow(unused_mut)] let mut object_846 = object.key("LakeFormationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lake_formation_configuration( &mut object_846, @@ -3982,6 +4108,7 @@ pub fn serialize_structure_crate_input_update_database_input( object.key("Name").string(var_852.as_str()); } if let Some(var_853) = &input.database_input { + #[allow(unused_mut)] let mut object_854 = object.key("DatabaseInput").start_object(); crate::json_ser::serialize_structure_crate_model_database_input(&mut object_854, var_853)?; object_854.finish(); @@ -4018,6 +4145,7 @@ pub fn serialize_structure_crate_input_update_dev_endpoint_input( array_861.finish(); } if let Some(var_863) = &input.custom_libraries { + #[allow(unused_mut)] let mut object_864 = object.key("CustomLibraries").start_object(); crate::json_ser::serialize_structure_crate_model_dev_endpoint_custom_libraries( &mut object_864, @@ -4040,6 +4168,7 @@ pub fn serialize_structure_crate_input_update_dev_endpoint_input( array_866.finish(); } if let Some(var_868) = &input.add_arguments { + #[allow(unused_mut)] let mut object_869 = object.key("AddArguments").start_object(); for (key_870, value_871) in var_868 { { @@ -4059,6 +4188,7 @@ pub fn serialize_structure_crate_input_update_job_input( object.key("JobName").string(var_872.as_str()); } if let Some(var_873) = &input.job_update { + #[allow(unused_mut)] let mut object_874 = object.key("JobUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_job_update(&mut object_874, var_873)?; object_874.finish(); @@ -4080,6 +4210,7 @@ pub fn serialize_structure_crate_input_update_ml_transform_input( object.key("Description").string(var_877.as_str()); } if let Some(var_878) = &input.parameters { + #[allow(unused_mut)] let mut object_879 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_transform_parameters( &mut object_879, @@ -4146,6 +4277,7 @@ pub fn serialize_structure_crate_input_update_partition_input( array_891.finish(); } if let Some(var_893) = &input.partition_input { + #[allow(unused_mut)] let mut object_894 = object.key("PartitionInput").start_object(); crate::json_ser::serialize_structure_crate_model_partition_input(&mut object_894, var_893)?; object_894.finish(); @@ -4158,6 +4290,7 @@ pub fn serialize_structure_crate_input_update_registry_input( input: &crate::input::UpdateRegistryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_895) = &input.registry_id { + #[allow(unused_mut)] let mut object_896 = object.key("RegistryId").start_object(); crate::json_ser::serialize_structure_crate_model_registry_id(&mut object_896, var_895)?; object_896.finish(); @@ -4173,11 +4306,13 @@ pub fn serialize_structure_crate_input_update_schema_input( input: &crate::input::UpdateSchemaInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_898) = &input.schema_id { + #[allow(unused_mut)] let mut object_899 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_899, var_898)?; object_899.finish(); } if let Some(var_900) = &input.schema_version_number { + #[allow(unused_mut)] let mut object_901 = object.key("SchemaVersionNumber").start_object(); crate::json_ser::serialize_structure_crate_model_schema_version_number( &mut object_901, @@ -4205,6 +4340,7 @@ pub fn serialize_structure_crate_input_update_table_input( object.key("DatabaseName").string(var_905.as_str()); } if let Some(var_906) = &input.table_input { + #[allow(unused_mut)] let mut object_907 = object.key("TableInput").start_object(); crate::json_ser::serialize_structure_crate_model_table_input(&mut object_907, var_906)?; object_907.finish(); @@ -4229,6 +4365,7 @@ pub fn serialize_structure_crate_input_update_trigger_input( object.key("Name").string(var_911.as_str()); } if let Some(var_912) = &input.trigger_update { + #[allow(unused_mut)] let mut object_913 = object.key("TriggerUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_update(&mut object_913, var_912)?; object_913.finish(); @@ -4250,6 +4387,7 @@ pub fn serialize_structure_crate_input_update_user_defined_function_input( object.key("FunctionName").string(var_916.as_str()); } if let Some(var_917) = &input.function_input { + #[allow(unused_mut)] let mut object_918 = object.key("FunctionInput").start_object(); crate::json_ser::serialize_structure_crate_model_user_defined_function_input( &mut object_918, @@ -4271,6 +4409,7 @@ pub fn serialize_structure_crate_input_update_workflow_input( object.key("Description").string(var_920.as_str()); } if let Some(var_921) = &input.default_run_properties { + #[allow(unused_mut)] let mut object_922 = object.key("DefaultRunProperties").start_object(); for (key_923, value_924) in var_921 { { @@ -4307,6 +4446,7 @@ pub fn serialize_structure_crate_model_partition_input( .date_time(var_929, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_930) = &input.storage_descriptor { + #[allow(unused_mut)] let mut object_931 = object.key("StorageDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_storage_descriptor( &mut object_931, @@ -4315,6 +4455,7 @@ pub fn serialize_structure_crate_model_partition_input( object_931.finish(); } if let Some(var_932) = &input.parameters { + #[allow(unused_mut)] let mut object_933 = object.key("Parameters").start_object(); for (key_934, value_935) in var_932 { { @@ -4361,6 +4502,7 @@ pub fn serialize_structure_crate_model_batch_update_partition_request_entry( array_941.finish(); } if let Some(var_943) = &input.partition_input { + #[allow(unused_mut)] let mut object_944 = object.key("PartitionInput").start_object(); crate::json_ser::serialize_structure_crate_model_partition_input(&mut object_944, var_943)?; object_944.finish(); @@ -4473,6 +4615,7 @@ pub fn serialize_structure_crate_model_connection_input( array_967.finish(); } if let Some(var_969) = &input.connection_properties { + #[allow(unused_mut)] let mut object_970 = object.key("ConnectionProperties").start_object(); for (key_971, value_972) in var_969 { { @@ -4482,6 +4625,7 @@ pub fn serialize_structure_crate_model_connection_input( object_970.finish(); } if let Some(var_973) = &input.physical_connection_requirements { + #[allow(unused_mut)] let mut object_974 = object.key("PhysicalConnectionRequirements").start_object(); crate::json_ser::serialize_structure_crate_model_physical_connection_requirements( &mut object_974, @@ -4500,6 +4644,7 @@ pub fn serialize_structure_crate_model_crawler_targets( let mut array_976 = object.key("S3Targets").start_array(); for item_977 in var_975 { { + #[allow(unused_mut)] let mut object_978 = array_976.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_target( &mut object_978, @@ -4514,6 +4659,7 @@ pub fn serialize_structure_crate_model_crawler_targets( let mut array_980 = object.key("JdbcTargets").start_array(); for item_981 in var_979 { { + #[allow(unused_mut)] let mut object_982 = array_980.value().start_object(); crate::json_ser::serialize_structure_crate_model_jdbc_target( &mut object_982, @@ -4528,6 +4674,7 @@ pub fn serialize_structure_crate_model_crawler_targets( let mut array_984 = object.key("MongoDBTargets").start_array(); for item_985 in var_983 { { + #[allow(unused_mut)] let mut object_986 = array_984.value().start_object(); crate::json_ser::serialize_structure_crate_model_mongo_db_target( &mut object_986, @@ -4542,6 +4689,7 @@ pub fn serialize_structure_crate_model_crawler_targets( let mut array_988 = object.key("DynamoDBTargets").start_array(); for item_989 in var_987 { { + #[allow(unused_mut)] let mut object_990 = array_988.value().start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_target( &mut object_990, @@ -4556,6 +4704,7 @@ pub fn serialize_structure_crate_model_crawler_targets( let mut array_992 = object.key("CatalogTargets").start_array(); for item_993 in var_991 { { + #[allow(unused_mut)] let mut object_994 = array_992.value().start_object(); crate::json_ser::serialize_structure_crate_model_catalog_target( &mut object_994, @@ -4570,6 +4719,7 @@ pub fn serialize_structure_crate_model_crawler_targets( let mut array_996 = object.key("DeltaTargets").start_array(); for item_997 in var_995 { { + #[allow(unused_mut)] let mut object_998 = array_996.value().start_object(); crate::json_ser::serialize_structure_crate_model_delta_target( &mut object_998, @@ -4645,6 +4795,7 @@ pub fn serialize_structure_crate_model_database_input( object.key("LocationUri").string(var_1007.as_str()); } if let Some(var_1008) = &input.parameters { + #[allow(unused_mut)] let mut object_1009 = object.key("Parameters").start_object(); for (key_1010, value_1011) in var_1008 { { @@ -4659,6 +4810,7 @@ pub fn serialize_structure_crate_model_database_input( let mut array_1013 = object.key("CreateTableDefaultPermissions").start_array(); for item_1014 in var_1012 { { + #[allow(unused_mut)] let mut object_1015 = array_1013.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal_permissions( &mut object_1015, @@ -4670,6 +4822,7 @@ pub fn serialize_structure_crate_model_database_input( array_1013.finish(); } if let Some(var_1016) = &input.target_database { + #[allow(unused_mut)] let mut object_1017 = object.key("TargetDatabase").start_object(); crate::json_ser::serialize_structure_crate_model_database_identifier( &mut object_1017, @@ -4743,6 +4896,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( input: &crate::model::CodeGenConfigurationNode, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1025) = &input.athena_connector_source { + #[allow(unused_mut)] let mut object_1026 = object.key("AthenaConnectorSource").start_object(); crate::json_ser::serialize_structure_crate_model_athena_connector_source( &mut object_1026, @@ -4751,6 +4905,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1026.finish(); } if let Some(var_1027) = &input.jdbc_connector_source { + #[allow(unused_mut)] let mut object_1028 = object.key("JDBCConnectorSource").start_object(); crate::json_ser::serialize_structure_crate_model_jdbc_connector_source( &mut object_1028, @@ -4759,6 +4914,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1028.finish(); } if let Some(var_1029) = &input.spark_connector_source { + #[allow(unused_mut)] let mut object_1030 = object.key("SparkConnectorSource").start_object(); crate::json_ser::serialize_structure_crate_model_spark_connector_source( &mut object_1030, @@ -4767,6 +4923,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1030.finish(); } if let Some(var_1031) = &input.catalog_source { + #[allow(unused_mut)] let mut object_1032 = object.key("CatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_source( &mut object_1032, @@ -4775,6 +4932,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1032.finish(); } if let Some(var_1033) = &input.redshift_source { + #[allow(unused_mut)] let mut object_1034 = object.key("RedshiftSource").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_source( &mut object_1034, @@ -4783,6 +4941,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1034.finish(); } if let Some(var_1035) = &input.s3_catalog_source { + #[allow(unused_mut)] let mut object_1036 = object.key("S3CatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_catalog_source( &mut object_1036, @@ -4791,11 +4950,13 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1036.finish(); } if let Some(var_1037) = &input.s3_csv_source { + #[allow(unused_mut)] let mut object_1038 = object.key("S3CsvSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_csv_source(&mut object_1038, var_1037)?; object_1038.finish(); } if let Some(var_1039) = &input.s3_json_source { + #[allow(unused_mut)] let mut object_1040 = object.key("S3JsonSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_json_source( &mut object_1040, @@ -4804,6 +4965,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1040.finish(); } if let Some(var_1041) = &input.s3_parquet_source { + #[allow(unused_mut)] let mut object_1042 = object.key("S3ParquetSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_parquet_source( &mut object_1042, @@ -4812,6 +4974,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1042.finish(); } if let Some(var_1043) = &input.relational_catalog_source { + #[allow(unused_mut)] let mut object_1044 = object.key("RelationalCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_relational_catalog_source( &mut object_1044, @@ -4820,6 +4983,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1044.finish(); } if let Some(var_1045) = &input.dynamo_db_catalog_source { + #[allow(unused_mut)] let mut object_1046 = object.key("DynamoDBCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_catalog_source( &mut object_1046, @@ -4828,6 +4992,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1046.finish(); } if let Some(var_1047) = &input.jdbc_connector_target { + #[allow(unused_mut)] let mut object_1048 = object.key("JDBCConnectorTarget").start_object(); crate::json_ser::serialize_structure_crate_model_jdbc_connector_target( &mut object_1048, @@ -4836,6 +5001,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1048.finish(); } if let Some(var_1049) = &input.spark_connector_target { + #[allow(unused_mut)] let mut object_1050 = object.key("SparkConnectorTarget").start_object(); crate::json_ser::serialize_structure_crate_model_spark_connector_target( &mut object_1050, @@ -4844,6 +5010,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1050.finish(); } if let Some(var_1051) = &input.catalog_target { + #[allow(unused_mut)] let mut object_1052 = object.key("CatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_basic_catalog_target( &mut object_1052, @@ -4852,6 +5019,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1052.finish(); } if let Some(var_1053) = &input.redshift_target { + #[allow(unused_mut)] let mut object_1054 = object.key("RedshiftTarget").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_target( &mut object_1054, @@ -4860,6 +5028,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1054.finish(); } if let Some(var_1055) = &input.s3_catalog_target { + #[allow(unused_mut)] let mut object_1056 = object.key("S3CatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_s3_catalog_target( &mut object_1056, @@ -4868,6 +5037,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1056.finish(); } if let Some(var_1057) = &input.s3_glue_parquet_target { + #[allow(unused_mut)] let mut object_1058 = object.key("S3GlueParquetTarget").start_object(); crate::json_ser::serialize_structure_crate_model_s3_glue_parquet_target( &mut object_1058, @@ -4876,6 +5046,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1058.finish(); } if let Some(var_1059) = &input.s3_direct_target { + #[allow(unused_mut)] let mut object_1060 = object.key("S3DirectTarget").start_object(); crate::json_ser::serialize_structure_crate_model_s3_direct_target( &mut object_1060, @@ -4884,41 +5055,49 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1060.finish(); } if let Some(var_1061) = &input.apply_mapping { + #[allow(unused_mut)] let mut object_1062 = object.key("ApplyMapping").start_object(); crate::json_ser::serialize_structure_crate_model_apply_mapping(&mut object_1062, var_1061)?; object_1062.finish(); } if let Some(var_1063) = &input.select_fields { + #[allow(unused_mut)] let mut object_1064 = object.key("SelectFields").start_object(); crate::json_ser::serialize_structure_crate_model_select_fields(&mut object_1064, var_1063)?; object_1064.finish(); } if let Some(var_1065) = &input.drop_fields { + #[allow(unused_mut)] let mut object_1066 = object.key("DropFields").start_object(); crate::json_ser::serialize_structure_crate_model_drop_fields(&mut object_1066, var_1065)?; object_1066.finish(); } if let Some(var_1067) = &input.rename_field { + #[allow(unused_mut)] let mut object_1068 = object.key("RenameField").start_object(); crate::json_ser::serialize_structure_crate_model_rename_field(&mut object_1068, var_1067)?; object_1068.finish(); } if let Some(var_1069) = &input.spigot { + #[allow(unused_mut)] let mut object_1070 = object.key("Spigot").start_object(); crate::json_ser::serialize_structure_crate_model_spigot(&mut object_1070, var_1069)?; object_1070.finish(); } if let Some(var_1071) = &input.join { + #[allow(unused_mut)] let mut object_1072 = object.key("Join").start_object(); crate::json_ser::serialize_structure_crate_model_join(&mut object_1072, var_1071)?; object_1072.finish(); } if let Some(var_1073) = &input.split_fields { + #[allow(unused_mut)] let mut object_1074 = object.key("SplitFields").start_object(); crate::json_ser::serialize_structure_crate_model_split_fields(&mut object_1074, var_1073)?; object_1074.finish(); } if let Some(var_1075) = &input.select_from_collection { + #[allow(unused_mut)] let mut object_1076 = object.key("SelectFromCollection").start_object(); crate::json_ser::serialize_structure_crate_model_select_from_collection( &mut object_1076, @@ -4927,6 +5106,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1076.finish(); } if let Some(var_1077) = &input.fill_missing_values { + #[allow(unused_mut)] let mut object_1078 = object.key("FillMissingValues").start_object(); crate::json_ser::serialize_structure_crate_model_fill_missing_values( &mut object_1078, @@ -4935,21 +5115,25 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1078.finish(); } if let Some(var_1079) = &input.filter { + #[allow(unused_mut)] let mut object_1080 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_1080, var_1079)?; object_1080.finish(); } if let Some(var_1081) = &input.custom_code { + #[allow(unused_mut)] let mut object_1082 = object.key("CustomCode").start_object(); crate::json_ser::serialize_structure_crate_model_custom_code(&mut object_1082, var_1081)?; object_1082.finish(); } if let Some(var_1083) = &input.spark_sql { + #[allow(unused_mut)] let mut object_1084 = object.key("SparkSQL").start_object(); crate::json_ser::serialize_structure_crate_model_spark_sql(&mut object_1084, var_1083)?; object_1084.finish(); } if let Some(var_1085) = &input.direct_kinesis_source { + #[allow(unused_mut)] let mut object_1086 = object.key("DirectKinesisSource").start_object(); crate::json_ser::serialize_structure_crate_model_direct_kinesis_source( &mut object_1086, @@ -4958,6 +5142,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1086.finish(); } if let Some(var_1087) = &input.direct_kafka_source { + #[allow(unused_mut)] let mut object_1088 = object.key("DirectKafkaSource").start_object(); crate::json_ser::serialize_structure_crate_model_direct_kafka_source( &mut object_1088, @@ -4966,6 +5151,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1088.finish(); } if let Some(var_1089) = &input.catalog_kinesis_source { + #[allow(unused_mut)] let mut object_1090 = object.key("CatalogKinesisSource").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_kinesis_source( &mut object_1090, @@ -4974,6 +5160,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1090.finish(); } if let Some(var_1091) = &input.catalog_kafka_source { + #[allow(unused_mut)] let mut object_1092 = object.key("CatalogKafkaSource").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_kafka_source( &mut object_1092, @@ -4982,6 +5169,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1092.finish(); } if let Some(var_1093) = &input.drop_null_fields { + #[allow(unused_mut)] let mut object_1094 = object.key("DropNullFields").start_object(); crate::json_ser::serialize_structure_crate_model_drop_null_fields( &mut object_1094, @@ -4990,26 +5178,31 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1094.finish(); } if let Some(var_1095) = &input.merge { + #[allow(unused_mut)] let mut object_1096 = object.key("Merge").start_object(); crate::json_ser::serialize_structure_crate_model_merge(&mut object_1096, var_1095)?; object_1096.finish(); } if let Some(var_1097) = &input.union { + #[allow(unused_mut)] let mut object_1098 = object.key("Union").start_object(); crate::json_ser::serialize_structure_crate_model_union(&mut object_1098, var_1097)?; object_1098.finish(); } if let Some(var_1099) = &input.pii_detection { + #[allow(unused_mut)] let mut object_1100 = object.key("PIIDetection").start_object(); crate::json_ser::serialize_structure_crate_model_pii_detection(&mut object_1100, var_1099)?; object_1100.finish(); } if let Some(var_1101) = &input.aggregate { + #[allow(unused_mut)] let mut object_1102 = object.key("Aggregate").start_object(); crate::json_ser::serialize_structure_crate_model_aggregate(&mut object_1102, var_1101)?; object_1102.finish(); } if let Some(var_1103) = &input.drop_duplicates { + #[allow(unused_mut)] let mut object_1104 = object.key("DropDuplicates").start_object(); crate::json_ser::serialize_structure_crate_model_drop_duplicates( &mut object_1104, @@ -5018,6 +5211,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1104.finish(); } if let Some(var_1105) = &input.governed_catalog_target { + #[allow(unused_mut)] let mut object_1106 = object.key("GovernedCatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_governed_catalog_target( &mut object_1106, @@ -5026,6 +5220,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1106.finish(); } if let Some(var_1107) = &input.governed_catalog_source { + #[allow(unused_mut)] let mut object_1108 = object.key("GovernedCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_governed_catalog_source( &mut object_1108, @@ -5034,6 +5229,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1108.finish(); } if let Some(var_1109) = &input.microsoft_sql_server_catalog_source { + #[allow(unused_mut)] let mut object_1110 = object.key("MicrosoftSQLServerCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_microsoft_sql_server_catalog_source( &mut object_1110, @@ -5042,6 +5238,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1110.finish(); } if let Some(var_1111) = &input.my_sql_catalog_source { + #[allow(unused_mut)] let mut object_1112 = object.key("MySQLCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_my_sql_catalog_source( &mut object_1112, @@ -5050,6 +5247,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1112.finish(); } if let Some(var_1113) = &input.oracle_sql_catalog_source { + #[allow(unused_mut)] let mut object_1114 = object.key("OracleSQLCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_oracle_sql_catalog_source( &mut object_1114, @@ -5058,6 +5256,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1114.finish(); } if let Some(var_1115) = &input.postgre_sql_catalog_source { + #[allow(unused_mut)] let mut object_1116 = object.key("PostgreSQLCatalogSource").start_object(); crate::json_ser::serialize_structure_crate_model_postgre_sql_catalog_source( &mut object_1116, @@ -5066,6 +5265,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1116.finish(); } if let Some(var_1117) = &input.microsoft_sql_server_catalog_target { + #[allow(unused_mut)] let mut object_1118 = object.key("MicrosoftSQLServerCatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_microsoft_sql_server_catalog_target( &mut object_1118, @@ -5074,6 +5274,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1118.finish(); } if let Some(var_1119) = &input.my_sql_catalog_target { + #[allow(unused_mut)] let mut object_1120 = object.key("MySQLCatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_my_sql_catalog_target( &mut object_1120, @@ -5082,6 +5283,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1120.finish(); } if let Some(var_1121) = &input.oracle_sql_catalog_target { + #[allow(unused_mut)] let mut object_1122 = object.key("OracleSQLCatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_oracle_sql_catalog_target( &mut object_1122, @@ -5090,6 +5292,7 @@ pub fn serialize_structure_crate_model_code_gen_configuration_node( object_1122.finish(); } if let Some(var_1123) = &input.postgre_sql_catalog_target { + #[allow(unused_mut)] let mut object_1124 = object.key("PostgreSQLCatalogTarget").start_object(); crate::json_ser::serialize_structure_crate_model_postgre_sql_catalog_target( &mut object_1124, @@ -5127,6 +5330,7 @@ pub fn serialize_structure_crate_model_transform_parameters( object.key("TransformType").string(var_1129.as_str()); } if let Some(var_1130) = &input.find_matches_parameters { + #[allow(unused_mut)] let mut object_1131 = object.key("FindMatchesParameters").start_object(); crate::json_ser::serialize_structure_crate_model_find_matches_parameters( &mut object_1131, @@ -5142,6 +5346,7 @@ pub fn serialize_structure_crate_model_transform_encryption( input: &crate::model::TransformEncryption, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1132) = &input.ml_user_data_encryption { + #[allow(unused_mut)] let mut object_1133 = object.key("MlUserDataEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_ml_user_data_encryption( &mut object_1133, @@ -5203,6 +5408,7 @@ pub fn serialize_structure_crate_model_code_gen_node( let mut array_1144 = object.key("Args").start_array(); for item_1145 in var_1143 { { + #[allow(unused_mut)] let mut object_1146 = array_1144.value().start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_node_arg( &mut object_1146, @@ -5246,6 +5452,7 @@ pub fn serialize_structure_crate_model_encryption_configuration( let mut array_1151 = object.key("S3Encryption").start_array(); for item_1152 in var_1150 { { + #[allow(unused_mut)] let mut object_1153 = array_1151.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_encryption( &mut object_1153, @@ -5257,6 +5464,7 @@ pub fn serialize_structure_crate_model_encryption_configuration( array_1151.finish(); } if let Some(var_1154) = &input.cloud_watch_encryption { + #[allow(unused_mut)] let mut object_1155 = object.key("CloudWatchEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_encryption( &mut object_1155, @@ -5265,6 +5473,7 @@ pub fn serialize_structure_crate_model_encryption_configuration( object_1155.finish(); } if let Some(var_1156) = &input.job_bookmarks_encryption { + #[allow(unused_mut)] let mut object_1157 = object.key("JobBookmarksEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_job_bookmarks_encryption( &mut object_1157, @@ -5318,6 +5527,7 @@ pub fn serialize_structure_crate_model_table_input( ); } if let Some(var_1165) = &input.storage_descriptor { + #[allow(unused_mut)] let mut object_1166 = object.key("StorageDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_storage_descriptor( &mut object_1166, @@ -5329,6 +5539,7 @@ pub fn serialize_structure_crate_model_table_input( let mut array_1168 = object.key("PartitionKeys").start_array(); for item_1169 in var_1167 { { + #[allow(unused_mut)] let mut object_1170 = array_1168.value().start_object(); crate::json_ser::serialize_structure_crate_model_column( &mut object_1170, @@ -5349,6 +5560,7 @@ pub fn serialize_structure_crate_model_table_input( object.key("TableType").string(var_1173.as_str()); } if let Some(var_1174) = &input.parameters { + #[allow(unused_mut)] let mut object_1175 = object.key("Parameters").start_object(); for (key_1176, value_1177) in var_1174 { { @@ -5360,6 +5572,7 @@ pub fn serialize_structure_crate_model_table_input( object_1175.finish(); } if let Some(var_1178) = &input.target_table { + #[allow(unused_mut)] let mut object_1179 = object.key("TargetTable").start_object(); crate::json_ser::serialize_structure_crate_model_table_identifier( &mut object_1179, @@ -5381,6 +5594,7 @@ pub fn serialize_structure_crate_model_predicate( let mut array_1182 = object.key("Conditions").start_array(); for item_1183 in var_1181 { { + #[allow(unused_mut)] let mut object_1184 = array_1182.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_1184, @@ -5402,6 +5616,7 @@ pub fn serialize_structure_crate_model_action( object.key("JobName").string(var_1185.as_str()); } if let Some(var_1186) = &input.arguments { + #[allow(unused_mut)] let mut object_1187 = object.key("Arguments").start_object(); for (key_1188, value_1189) in var_1186 { { @@ -5424,6 +5639,7 @@ pub fn serialize_structure_crate_model_action( .string(var_1191.as_str()); } if let Some(var_1192) = &input.notification_property { + #[allow(unused_mut)] let mut object_1193 = object.key("NotificationProperty").start_object(); crate::json_ser::serialize_structure_crate_model_notification_property( &mut object_1193, @@ -5476,6 +5692,7 @@ pub fn serialize_structure_crate_model_user_defined_function_input( let mut array_1201 = object.key("ResourceUris").start_array(); for item_1202 in var_1200 { { + #[allow(unused_mut)] let mut object_1203 = array_1201.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_uri( &mut object_1203, @@ -5545,6 +5762,7 @@ pub fn serialize_structure_crate_model_location( let mut array_1214 = object.key("Jdbc").start_array(); for item_1215 in var_1213 { { + #[allow(unused_mut)] let mut object_1216 = array_1214.value().start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_node_arg( &mut object_1216, @@ -5559,6 +5777,7 @@ pub fn serialize_structure_crate_model_location( let mut array_1218 = object.key("S3").start_array(); for item_1219 in var_1217 { { + #[allow(unused_mut)] let mut object_1220 = array_1218.value().start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_node_arg( &mut object_1220, @@ -5573,6 +5792,7 @@ pub fn serialize_structure_crate_model_location( let mut array_1222 = object.key("DynamoDB").start_array(); for item_1223 in var_1221 { { + #[allow(unused_mut)] let mut object_1224 = array_1222.value().start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_node_arg( &mut object_1224, @@ -5662,6 +5882,7 @@ pub fn serialize_structure_crate_model_transform_filter_criteria( let mut array_1240 = object.key("Schema").start_array(); for item_1241 in var_1239 { { + #[allow(unused_mut)] let mut object_1242 = array_1240.value().start_object(); crate::json_ser::serialize_structure_crate_model_schema_column( &mut object_1242, @@ -5793,6 +6014,7 @@ pub fn serialize_structure_crate_model_data_catalog_encryption_settings( input: &crate::model::DataCatalogEncryptionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1259) = &input.encryption_at_rest { + #[allow(unused_mut)] let mut object_1260 = object.key("EncryptionAtRest").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_at_rest( &mut object_1260, @@ -5801,6 +6023,7 @@ pub fn serialize_structure_crate_model_data_catalog_encryption_settings( object_1260.finish(); } if let Some(var_1261) = &input.connection_password_encryption { + #[allow(unused_mut)] let mut object_1262 = object.key("ConnectionPasswordEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_connection_password_encryption( &mut object_1262, @@ -5951,6 +6174,7 @@ pub fn serialize_structure_crate_model_column_statistics( .date_time(var_1290, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_1291) = &input.statistics_data { + #[allow(unused_mut)] let mut object_1292 = object.key("StatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_column_statistics_data( &mut object_1292, @@ -5990,6 +6214,7 @@ pub fn serialize_structure_crate_model_job_update( object.key("Role").string(var_1297.as_str()); } if let Some(var_1298) = &input.execution_property { + #[allow(unused_mut)] let mut object_1299 = object.key("ExecutionProperty").start_object(); crate::json_ser::serialize_structure_crate_model_execution_property( &mut object_1299, @@ -5998,11 +6223,13 @@ pub fn serialize_structure_crate_model_job_update( object_1299.finish(); } if let Some(var_1300) = &input.command { + #[allow(unused_mut)] let mut object_1301 = object.key("Command").start_object(); crate::json_ser::serialize_structure_crate_model_job_command(&mut object_1301, var_1300)?; object_1301.finish(); } if let Some(var_1302) = &input.default_arguments { + #[allow(unused_mut)] let mut object_1303 = object.key("DefaultArguments").start_object(); for (key_1304, value_1305) in var_1302 { { @@ -6014,6 +6241,7 @@ pub fn serialize_structure_crate_model_job_update( object_1303.finish(); } if let Some(var_1306) = &input.non_overridable_arguments { + #[allow(unused_mut)] let mut object_1307 = object.key("NonOverridableArguments").start_object(); for (key_1308, value_1309) in var_1306 { { @@ -6025,6 +6253,7 @@ pub fn serialize_structure_crate_model_job_update( object_1307.finish(); } if let Some(var_1310) = &input.connections { + #[allow(unused_mut)] let mut object_1311 = object.key("Connections").start_object(); crate::json_ser::serialize_structure_crate_model_connections_list( &mut object_1311, @@ -6071,6 +6300,7 @@ pub fn serialize_structure_crate_model_job_update( .string(var_1316.as_str()); } if let Some(var_1317) = &input.notification_property { + #[allow(unused_mut)] let mut object_1318 = object.key("NotificationProperty").start_object(); crate::json_ser::serialize_structure_crate_model_notification_property( &mut object_1318, @@ -6082,9 +6312,11 @@ pub fn serialize_structure_crate_model_job_update( object.key("GlueVersion").string(var_1319.as_str()); } if let Some(var_1320) = &input.code_gen_configuration_nodes { + #[allow(unused_mut)] let mut object_1321 = object.key("CodeGenConfigurationNodes").start_object(); for (key_1322, value_1323) in var_1320 { { + #[allow(unused_mut)] let mut object_1324 = object_1321.key(key_1322.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_code_gen_configuration_node( &mut object_1324, @@ -6118,6 +6350,7 @@ pub fn serialize_structure_crate_model_trigger_update( let mut array_1330 = object.key("Actions").start_array(); for item_1331 in var_1329 { { + #[allow(unused_mut)] let mut object_1332 = array_1330.value().start_object(); crate::json_ser::serialize_structure_crate_model_action( &mut object_1332, @@ -6129,11 +6362,13 @@ pub fn serialize_structure_crate_model_trigger_update( array_1330.finish(); } if let Some(var_1333) = &input.predicate { + #[allow(unused_mut)] let mut object_1334 = object.key("Predicate").start_object(); crate::json_ser::serialize_structure_crate_model_predicate(&mut object_1334, var_1333)?; object_1334.finish(); } if let Some(var_1335) = &input.event_batching_condition { + #[allow(unused_mut)] let mut object_1336 = object.key("EventBatchingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_event_batching_condition( &mut object_1336, @@ -6152,6 +6387,7 @@ pub fn serialize_structure_crate_model_storage_descriptor( let mut array_1338 = object.key("Columns").start_array(); for item_1339 in var_1337 { { + #[allow(unused_mut)] let mut object_1340 = array_1338.value().start_object(); crate::json_ser::serialize_structure_crate_model_column( &mut object_1340, @@ -6190,6 +6426,7 @@ pub fn serialize_structure_crate_model_storage_descriptor( ); } if let Some(var_1347) = &input.serde_info { + #[allow(unused_mut)] let mut object_1348 = object.key("SerdeInfo").start_object(); crate::json_ser::serialize_structure_crate_model_ser_de_info(&mut object_1348, var_1347)?; object_1348.finish(); @@ -6207,6 +6444,7 @@ pub fn serialize_structure_crate_model_storage_descriptor( let mut array_1353 = object.key("SortColumns").start_array(); for item_1354 in var_1352 { { + #[allow(unused_mut)] let mut object_1355 = array_1353.value().start_object(); crate::json_ser::serialize_structure_crate_model_order( &mut object_1355, @@ -6218,6 +6456,7 @@ pub fn serialize_structure_crate_model_storage_descriptor( array_1353.finish(); } if let Some(var_1356) = &input.parameters { + #[allow(unused_mut)] let mut object_1357 = object.key("Parameters").start_object(); for (key_1358, value_1359) in var_1356 { { @@ -6229,6 +6468,7 @@ pub fn serialize_structure_crate_model_storage_descriptor( object_1357.finish(); } if let Some(var_1360) = &input.skewed_info { + #[allow(unused_mut)] let mut object_1361 = object.key("SkewedInfo").start_object(); crate::json_ser::serialize_structure_crate_model_skewed_info(&mut object_1361, var_1360)?; object_1361.finish(); @@ -6239,6 +6479,7 @@ pub fn serialize_structure_crate_model_storage_descriptor( .boolean(input.stored_as_sub_directories); } if let Some(var_1362) = &input.schema_reference { + #[allow(unused_mut)] let mut object_1363 = object.key("SchemaReference").start_object(); crate::json_ser::serialize_structure_crate_model_schema_reference( &mut object_1363, @@ -6417,6 +6658,7 @@ pub fn serialize_structure_crate_model_principal_permissions( input: &crate::model::PrincipalPermissions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1400) = &input.principal { + #[allow(unused_mut)] let mut object_1401 = object.key("Principal").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_1401, @@ -6475,6 +6717,7 @@ pub fn serialize_structure_crate_model_athena_connector_source( let mut array_1414 = object.key("OutputSchemas").start_array(); for item_1415 in var_1413 { { + #[allow(unused_mut)] let mut object_1416 = array_1414.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1416, @@ -6505,6 +6748,7 @@ pub fn serialize_structure_crate_model_jdbc_connector_source( object.key("ConnectionType").string(var_1420.as_str()); } if let Some(var_1421) = &input.additional_options { + #[allow(unused_mut)] let mut object_1422 = object.key("AdditionalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_jdbc_connector_options( &mut object_1422, @@ -6522,6 +6766,7 @@ pub fn serialize_structure_crate_model_jdbc_connector_source( let mut array_1426 = object.key("OutputSchemas").start_array(); for item_1427 in var_1425 { { + #[allow(unused_mut)] let mut object_1428 = array_1426.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1428, @@ -6552,6 +6797,7 @@ pub fn serialize_structure_crate_model_spark_connector_source( object.key("ConnectionType").string(var_1432.as_str()); } if let Some(var_1433) = &input.additional_options { + #[allow(unused_mut)] let mut object_1434 = object.key("AdditionalOptions").start_object(); for (key_1435, value_1436) in var_1433 { { @@ -6566,6 +6812,7 @@ pub fn serialize_structure_crate_model_spark_connector_source( let mut array_1438 = object.key("OutputSchemas").start_array(); for item_1439 in var_1437 { { + #[allow(unused_mut)] let mut object_1440 = array_1438.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1440, @@ -6634,6 +6881,7 @@ pub fn serialize_structure_crate_model_s3_catalog_source( object.key("PartitionPredicate").string(var_1452.as_str()); } if let Some(var_1453) = &input.additional_options { + #[allow(unused_mut)] let mut object_1454 = object.key("AdditionalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source_additional_options( &mut object_1454, @@ -6694,6 +6942,7 @@ pub fn serialize_structure_crate_model_s3_csv_source( ); } if let Some(var_1468) = &input.additional_options { + #[allow(unused_mut)] let mut object_1469 = object.key("AdditionalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_s3_direct_source_additional_options( &mut object_1469, @@ -6731,6 +6980,7 @@ pub fn serialize_structure_crate_model_s3_csv_source( let mut array_1478 = object.key("OutputSchemas").start_array(); for item_1479 in var_1477 { { + #[allow(unused_mut)] let mut object_1480 = array_1478.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1480, @@ -6794,6 +7044,7 @@ pub fn serialize_structure_crate_model_s3_json_source( ); } if let Some(var_1494) = &input.additional_options { + #[allow(unused_mut)] let mut object_1495 = object.key("AdditionalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_s3_direct_source_additional_options( &mut object_1495, @@ -6811,6 +7062,7 @@ pub fn serialize_structure_crate_model_s3_json_source( let mut array_1499 = object.key("OutputSchemas").start_array(); for item_1500 in var_1498 { { + #[allow(unused_mut)] let mut object_1501 = array_1499.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1501, @@ -6874,6 +7126,7 @@ pub fn serialize_structure_crate_model_s3_parquet_source( ); } if let Some(var_1515) = &input.additional_options { + #[allow(unused_mut)] let mut object_1516 = object.key("AdditionalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_s3_direct_source_additional_options( &mut object_1516, @@ -6885,6 +7138,7 @@ pub fn serialize_structure_crate_model_s3_parquet_source( let mut array_1518 = object.key("OutputSchemas").start_array(); for item_1519 in var_1517 { { + #[allow(unused_mut)] let mut object_1520 = array_1518.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1520, @@ -6959,6 +7213,7 @@ pub fn serialize_structure_crate_model_jdbc_connector_target( object.key("ConnectionType").string(var_1534.as_str()); } if let Some(var_1535) = &input.additional_options { + #[allow(unused_mut)] let mut object_1536 = object.key("AdditionalOptions").start_object(); for (key_1537, value_1538) in var_1535 { { @@ -6973,6 +7228,7 @@ pub fn serialize_structure_crate_model_jdbc_connector_target( let mut array_1540 = object.key("OutputSchemas").start_array(); for item_1541 in var_1539 { { + #[allow(unused_mut)] let mut object_1542 = array_1540.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1542, @@ -7012,6 +7268,7 @@ pub fn serialize_structure_crate_model_spark_connector_target( object.key("ConnectionType").string(var_1549.as_str()); } if let Some(var_1550) = &input.additional_options { + #[allow(unused_mut)] let mut object_1551 = object.key("AdditionalOptions").start_object(); for (key_1552, value_1553) in var_1550 { { @@ -7026,6 +7283,7 @@ pub fn serialize_structure_crate_model_spark_connector_target( let mut array_1555 = object.key("OutputSchemas").start_array(); for item_1556 in var_1554 { { + #[allow(unused_mut)] let mut object_1557 = array_1555.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1557, @@ -7093,6 +7351,7 @@ pub fn serialize_structure_crate_model_redshift_target( object.key("TmpDirIAMRole").string(var_1571.as_str()); } if let Some(var_1572) = &input.upsert_redshift_options { + #[allow(unused_mut)] let mut object_1573 = object.key("UpsertRedshiftOptions").start_object(); crate::json_ser::serialize_structure_crate_model_upsert_redshift_target_options( &mut object_1573, @@ -7141,6 +7400,7 @@ pub fn serialize_structure_crate_model_s3_catalog_target( object.key("Database").string(var_1584.as_str()); } if let Some(var_1585) = &input.schema_change_policy { + #[allow(unused_mut)] let mut object_1586 = object.key("SchemaChangePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_schema_change_policy( &mut object_1586, @@ -7189,6 +7449,7 @@ pub fn serialize_structure_crate_model_s3_glue_parquet_target( object.key("Compression").string(var_1597.as_str()); } if let Some(var_1598) = &input.schema_change_policy { + #[allow(unused_mut)] let mut object_1599 = object.key("SchemaChangePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_direct_schema_change_policy( &mut object_1599, @@ -7240,6 +7501,7 @@ pub fn serialize_structure_crate_model_s3_direct_target( object.key("Format").string(var_1611.as_str()); } if let Some(var_1612) = &input.schema_change_policy { + #[allow(unused_mut)] let mut object_1613 = object.key("SchemaChangePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_direct_schema_change_policy( &mut object_1613, @@ -7270,6 +7532,7 @@ pub fn serialize_structure_crate_model_apply_mapping( let mut array_1619 = object.key("Mapping").start_array(); for item_1620 in var_1618 { { + #[allow(unused_mut)] let mut object_1621 = array_1619.value().start_object(); crate::json_ser::serialize_structure_crate_model_mapping( &mut object_1621, @@ -7445,6 +7708,7 @@ pub fn serialize_structure_crate_model_join( let mut array_1663 = object.key("Columns").start_array(); for item_1664 in var_1662 { { + #[allow(unused_mut)] let mut object_1665 = array_1663.value().start_object(); crate::json_ser::serialize_structure_crate_model_join_column( &mut object_1665, @@ -7565,6 +7829,7 @@ pub fn serialize_structure_crate_model_filter( let mut array_1691 = object.key("Filters").start_array(); for item_1692 in var_1690 { { + #[allow(unused_mut)] let mut object_1693 = array_1691.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_expression( &mut object_1693, @@ -7604,6 +7869,7 @@ pub fn serialize_structure_crate_model_custom_code( let mut array_1701 = object.key("OutputSchemas").start_array(); for item_1702 in var_1700 { { + #[allow(unused_mut)] let mut object_1703 = array_1701.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1703, @@ -7640,6 +7906,7 @@ pub fn serialize_structure_crate_model_spark_sql( let mut array_1710 = object.key("SqlAliases").start_array(); for item_1711 in var_1709 { { + #[allow(unused_mut)] let mut object_1712 = array_1710.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_alias( &mut object_1712, @@ -7654,6 +7921,7 @@ pub fn serialize_structure_crate_model_spark_sql( let mut array_1714 = object.key("OutputSchemas").start_array(); for item_1715 in var_1713 { { + #[allow(unused_mut)] let mut object_1716 = array_1714.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_schema( &mut object_1716, @@ -7684,6 +7952,7 @@ pub fn serialize_structure_crate_model_direct_kinesis_source( object.key("DetectSchema").boolean(*var_1719); } if let Some(var_1720) = &input.streaming_options { + #[allow(unused_mut)] let mut object_1721 = object.key("StreamingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streaming_source_options( &mut object_1721, @@ -7692,6 +7961,7 @@ pub fn serialize_structure_crate_model_direct_kinesis_source( object_1721.finish(); } if let Some(var_1722) = &input.data_preview_options { + #[allow(unused_mut)] let mut object_1723 = object.key("DataPreviewOptions").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_data_preview_options( &mut object_1723, @@ -7710,6 +7980,7 @@ pub fn serialize_structure_crate_model_direct_kafka_source( object.key("Name").string(var_1724.as_str()); } if let Some(var_1725) = &input.streaming_options { + #[allow(unused_mut)] let mut object_1726 = object.key("StreamingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_streaming_source_options( &mut object_1726, @@ -7727,6 +7998,7 @@ pub fn serialize_structure_crate_model_direct_kafka_source( object.key("DetectSchema").boolean(*var_1728); } if let Some(var_1729) = &input.data_preview_options { + #[allow(unused_mut)] let mut object_1730 = object.key("DataPreviewOptions").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_data_preview_options( &mut object_1730, @@ -7760,6 +8032,7 @@ pub fn serialize_structure_crate_model_catalog_kinesis_source( object.key("Database").string(var_1735.as_str()); } if let Some(var_1736) = &input.streaming_options { + #[allow(unused_mut)] let mut object_1737 = object.key("StreamingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streaming_source_options( &mut object_1737, @@ -7768,6 +8041,7 @@ pub fn serialize_structure_crate_model_catalog_kinesis_source( object_1737.finish(); } if let Some(var_1738) = &input.data_preview_options { + #[allow(unused_mut)] let mut object_1739 = object.key("DataPreviewOptions").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_data_preview_options( &mut object_1739, @@ -7801,6 +8075,7 @@ pub fn serialize_structure_crate_model_catalog_kafka_source( object.key("Database").string(var_1744.as_str()); } if let Some(var_1745) = &input.streaming_options { + #[allow(unused_mut)] let mut object_1746 = object.key("StreamingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_streaming_source_options( &mut object_1746, @@ -7809,6 +8084,7 @@ pub fn serialize_structure_crate_model_catalog_kafka_source( object_1746.finish(); } if let Some(var_1747) = &input.data_preview_options { + #[allow(unused_mut)] let mut object_1748 = object.key("DataPreviewOptions").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_data_preview_options( &mut object_1748, @@ -7836,6 +8112,7 @@ pub fn serialize_structure_crate_model_drop_null_fields( array_1751.finish(); } if let Some(var_1753) = &input.null_check_box_list { + #[allow(unused_mut)] let mut object_1754 = object.key("NullCheckBoxList").start_object(); crate::json_ser::serialize_structure_crate_model_null_check_box_list( &mut object_1754, @@ -7847,6 +8124,7 @@ pub fn serialize_structure_crate_model_drop_null_fields( let mut array_1756 = object.key("NullTextList").start_array(); for item_1757 in var_1755 { { + #[allow(unused_mut)] let mut object_1758 = array_1756.value().start_object(); crate::json_ser::serialize_structure_crate_model_null_value_field( &mut object_1758, @@ -8003,6 +8281,7 @@ pub fn serialize_structure_crate_model_aggregate( let mut array_1796 = object.key("Aggs").start_array(); for item_1797 in var_1795 { { + #[allow(unused_mut)] let mut object_1798 = array_1796.value().start_object(); crate::json_ser::serialize_structure_crate_model_aggregate_operation( &mut object_1798, @@ -8088,6 +8367,7 @@ pub fn serialize_structure_crate_model_governed_catalog_target( object.key("Database").string(var_1818.as_str()); } if let Some(var_1819) = &input.schema_change_policy { + #[allow(unused_mut)] let mut object_1820 = object.key("SchemaChangePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_schema_change_policy( &mut object_1820, @@ -8115,6 +8395,7 @@ pub fn serialize_structure_crate_model_governed_catalog_source( object.key("PartitionPredicate").string(var_1824.as_str()); } if let Some(var_1825) = &input.additional_options { + #[allow(unused_mut)] let mut object_1826 = object.key("AdditionalOptions").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source_additional_options( &mut object_1826, @@ -8402,6 +8683,7 @@ pub fn serialize_structure_crate_model_column( object.key("Comment").string(var_1879.as_str()); } if let Some(var_1880) = &input.parameters { + #[allow(unused_mut)] let mut object_1881 = object.key("Parameters").start_object(); for (key_1882, value_1883) in var_1880 { { @@ -8517,6 +8799,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object.key("Type").string(var_1899.as_str()); } if let Some(var_1900) = &input.boolean_column_statistics_data { + #[allow(unused_mut)] let mut object_1901 = object.key("BooleanColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_boolean_column_statistics_data( &mut object_1901, @@ -8525,6 +8808,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object_1901.finish(); } if let Some(var_1902) = &input.date_column_statistics_data { + #[allow(unused_mut)] let mut object_1903 = object.key("DateColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_date_column_statistics_data( &mut object_1903, @@ -8533,6 +8817,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object_1903.finish(); } if let Some(var_1904) = &input.decimal_column_statistics_data { + #[allow(unused_mut)] let mut object_1905 = object.key("DecimalColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_decimal_column_statistics_data( &mut object_1905, @@ -8541,6 +8826,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object_1905.finish(); } if let Some(var_1906) = &input.double_column_statistics_data { + #[allow(unused_mut)] let mut object_1907 = object.key("DoubleColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_double_column_statistics_data( &mut object_1907, @@ -8549,6 +8835,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object_1907.finish(); } if let Some(var_1908) = &input.long_column_statistics_data { + #[allow(unused_mut)] let mut object_1909 = object.key("LongColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_long_column_statistics_data( &mut object_1909, @@ -8557,6 +8844,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object_1909.finish(); } if let Some(var_1910) = &input.string_column_statistics_data { + #[allow(unused_mut)] let mut object_1911 = object.key("StringColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_string_column_statistics_data( &mut object_1911, @@ -8565,6 +8853,7 @@ pub fn serialize_structure_crate_model_column_statistics_data( object_1911.finish(); } if let Some(var_1912) = &input.binary_column_statistics_data { + #[allow(unused_mut)] let mut object_1913 = object.key("BinaryColumnStatisticsData").start_object(); crate::json_ser::serialize_structure_crate_model_binary_column_statistics_data( &mut object_1913, @@ -8586,6 +8875,7 @@ pub fn serialize_structure_crate_model_ser_de_info( object.key("SerializationLibrary").string(var_1915.as_str()); } if let Some(var_1916) = &input.parameters { + #[allow(unused_mut)] let mut object_1917 = object.key("Parameters").start_object(); for (key_1918, value_1919) in var_1916 { { @@ -8638,6 +8928,7 @@ pub fn serialize_structure_crate_model_skewed_info( array_1925.finish(); } if let Some(var_1927) = &input.skewed_column_value_location_maps { + #[allow(unused_mut)] let mut object_1928 = object.key("SkewedColumnValueLocationMaps").start_object(); for (key_1929, value_1930) in var_1927 { { @@ -8656,6 +8947,7 @@ pub fn serialize_structure_crate_model_schema_reference( input: &crate::model::SchemaReference, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1931) = &input.schema_id { + #[allow(unused_mut)] let mut object_1932 = object.key("SchemaId").start_object(); crate::json_ser::serialize_structure_crate_model_schema_id(&mut object_1932, var_1931)?; object_1932.finish(); @@ -8692,6 +8984,7 @@ pub fn serialize_structure_crate_model_glue_schema( let mut array_1937 = object.key("Columns").start_array(); for item_1938 in var_1936 { { + #[allow(unused_mut)] let mut object_1939 = array_1937.value().start_object(); crate::json_ser::serialize_structure_crate_model_glue_studio_schema_column( &mut object_1939, @@ -8748,6 +9041,7 @@ pub fn serialize_structure_crate_model_jdbc_connector_options( .string(var_1948.as_str()); } if let Some(var_1949) = &input.data_type_mapping { + #[allow(unused_mut)] let mut object_1950 = object.key("DataTypeMapping").start_object(); for (key_1951, value_1952) in var_1949 { { @@ -8888,6 +9182,7 @@ pub fn serialize_structure_crate_model_mapping( let mut array_1978 = object.key("Children").start_array(); for item_1979 in var_1977 { { + #[allow(unused_mut)] let mut object_1980 = array_1978.value().start_object(); crate::json_ser::serialize_structure_crate_model_mapping( &mut object_1980, @@ -8940,6 +9235,7 @@ pub fn serialize_structure_crate_model_filter_expression( let mut array_1990 = object.key("Values").start_array(); for item_1991 in var_1989 { { + #[allow(unused_mut)] let mut object_1992 = array_1990.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_value( &mut object_1992, @@ -9161,6 +9457,7 @@ pub fn serialize_structure_crate_model_null_value_field( object.key("Value").string(var_2033.as_str()); } if let Some(var_2034) = &input.datatype { + #[allow(unused_mut)] let mut object_2035 = object.key("Datatype").start_object(); crate::json_ser::serialize_structure_crate_model_datatype(&mut object_2035, var_2034)?; object_2035.finish(); @@ -9246,6 +9543,7 @@ pub fn serialize_structure_crate_model_decimal_column_statistics_data( input: &crate::model::DecimalColumnStatisticsData, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2042) = &input.minimum_value { + #[allow(unused_mut)] let mut object_2043 = object.key("MinimumValue").start_object(); crate::json_ser::serialize_structure_crate_model_decimal_number( &mut object_2043, @@ -9254,6 +9552,7 @@ pub fn serialize_structure_crate_model_decimal_column_statistics_data( object_2043.finish(); } if let Some(var_2044) = &input.maximum_value { + #[allow(unused_mut)] let mut object_2045 = object.key("MaximumValue").start_object(); crate::json_ser::serialize_structure_crate_model_decimal_number( &mut object_2045, diff --git a/sdk/grafana/src/json_ser.rs b/sdk/grafana/src/json_ser.rs index de2b42198830..a1a292b0af0a 100644 --- a/sdk/grafana/src/json_ser.rs +++ b/sdk/grafana/src/json_ser.rs @@ -28,6 +28,7 @@ pub fn serialize_structure_crate_input_create_workspace_input( object.key("stackSetName").string(var_8.as_str()); } if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("tags").start_object(); for (key_11, value_12) in var_9 { { @@ -101,6 +102,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.tags { + #[allow(unused_mut)] let mut object_29 = object.key("tags").start_object(); for (key_30, value_31) in var_28 { { @@ -120,6 +122,7 @@ pub fn serialize_structure_crate_input_update_permissions_input( let mut array_33 = object.key("updateInstructionBatch").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_instruction( &mut object_35, @@ -204,6 +207,7 @@ pub fn serialize_structure_crate_input_update_workspace_authentication_input( array_53.finish(); } if let Some(var_55) = &input.saml_configuration { + #[allow(unused_mut)] let mut object_56 = object.key("samlConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_saml_configuration( &mut object_56, @@ -228,6 +232,7 @@ pub fn serialize_structure_crate_model_update_instruction( let mut array_60 = object.key("users").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_user(&mut object_62, item_61)?; object_62.finish(); @@ -243,11 +248,13 @@ pub fn serialize_structure_crate_model_saml_configuration( input: &crate::model::SamlConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.idp_metadata { + #[allow(unused_mut)] let mut object_64 = object.key("idpMetadata").start_object(); crate::json_ser::serialize_union_crate_model_idp_metadata(&mut object_64, var_63)?; object_64.finish(); } if let Some(var_65) = &input.assertion_attributes { + #[allow(unused_mut)] let mut object_66 = object.key("assertionAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_assertion_attributes( &mut object_66, @@ -256,6 +263,7 @@ pub fn serialize_structure_crate_model_saml_configuration( object_66.finish(); } if let Some(var_67) = &input.role_values { + #[allow(unused_mut)] let mut object_68 = object.key("roleValues").start_object(); crate::json_ser::serialize_structure_crate_model_role_values(&mut object_68, var_67)?; object_68.finish(); diff --git a/sdk/greengrass/src/json_ser.rs b/sdk/greengrass/src/json_ser.rs index a4f68eddb22b..7e0b7ac68313 100644 --- a/sdk/greengrass/src/json_ser.rs +++ b/sdk/greengrass/src/json_ser.rs @@ -24,6 +24,7 @@ pub fn serialize_structure_crate_input_create_connector_definition_input( input: &crate::input::CreateConnectorDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3) = &input.initial_version { + #[allow(unused_mut)] let mut object_4 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_connector_definition_version( &mut object_4, @@ -35,6 +36,7 @@ pub fn serialize_structure_crate_input_create_connector_definition_input( object.key("Name").string(var_5.as_str()); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("tags").start_object(); for (key_8, value_9) in var_6 { { @@ -54,6 +56,7 @@ pub fn serialize_structure_crate_input_create_connector_definition_version_input let mut array_11 = object.key("Connectors").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_connector( &mut object_13, @@ -72,6 +75,7 @@ pub fn serialize_structure_crate_input_create_core_definition_input( input: &crate::input::CreateCoreDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_14) = &input.initial_version { + #[allow(unused_mut)] let mut object_15 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_core_definition_version( &mut object_15, @@ -83,6 +87,7 @@ pub fn serialize_structure_crate_input_create_core_definition_input( object.key("Name").string(var_16.as_str()); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -102,6 +107,7 @@ pub fn serialize_structure_crate_input_create_core_definition_version_input( let mut array_22 = object.key("Cores").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_core(&mut object_24, item_23)?; object_24.finish(); @@ -133,6 +139,7 @@ pub fn serialize_structure_crate_input_create_device_definition_input( input: &crate::input::CreateDeviceDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.initial_version { + #[allow(unused_mut)] let mut object_29 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_device_definition_version( &mut object_29, @@ -144,6 +151,7 @@ pub fn serialize_structure_crate_input_create_device_definition_input( object.key("Name").string(var_30.as_str()); } if let Some(var_31) = &input.tags { + #[allow(unused_mut)] let mut object_32 = object.key("tags").start_object(); for (key_33, value_34) in var_31 { { @@ -163,6 +171,7 @@ pub fn serialize_structure_crate_input_create_device_definition_version_input( let mut array_36 = object.key("Devices").start_array(); for item_37 in var_35 { { + #[allow(unused_mut)] let mut object_38 = array_36.value().start_object(); crate::json_ser::serialize_structure_crate_model_device(&mut object_38, item_37)?; object_38.finish(); @@ -178,6 +187,7 @@ pub fn serialize_structure_crate_input_create_function_definition_input( input: &crate::input::CreateFunctionDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.initial_version { + #[allow(unused_mut)] let mut object_40 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_function_definition_version( &mut object_40, @@ -189,6 +199,7 @@ pub fn serialize_structure_crate_input_create_function_definition_input( object.key("Name").string(var_41.as_str()); } if let Some(var_42) = &input.tags { + #[allow(unused_mut)] let mut object_43 = object.key("tags").start_object(); for (key_44, value_45) in var_42 { { @@ -205,6 +216,7 @@ pub fn serialize_structure_crate_input_create_function_definition_version_input( input: &crate::input::CreateFunctionDefinitionVersionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.default_config { + #[allow(unused_mut)] let mut object_47 = object.key("DefaultConfig").start_object(); crate::json_ser::serialize_structure_crate_model_function_default_config( &mut object_47, @@ -216,6 +228,7 @@ pub fn serialize_structure_crate_input_create_function_definition_version_input( let mut array_49 = object.key("Functions").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_function(&mut object_51, item_50)?; object_51.finish(); @@ -231,6 +244,7 @@ pub fn serialize_structure_crate_input_create_group_input( input: &crate::input::CreateGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.initial_version { + #[allow(unused_mut)] let mut object_53 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_group_version(&mut object_53, var_52)?; object_53.finish(); @@ -239,6 +253,7 @@ pub fn serialize_structure_crate_input_create_group_input( object.key("Name").string(var_54.as_str()); } if let Some(var_55) = &input.tags { + #[allow(unused_mut)] let mut object_56 = object.key("tags").start_object(); for (key_57, value_58) in var_55 { { @@ -297,6 +312,7 @@ pub fn serialize_structure_crate_input_create_logger_definition_input( input: &crate::input::CreateLoggerDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.initial_version { + #[allow(unused_mut)] let mut object_67 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_logger_definition_version( &mut object_67, @@ -308,6 +324,7 @@ pub fn serialize_structure_crate_input_create_logger_definition_input( object.key("Name").string(var_68.as_str()); } if let Some(var_69) = &input.tags { + #[allow(unused_mut)] let mut object_70 = object.key("tags").start_object(); for (key_71, value_72) in var_69 { { @@ -327,6 +344,7 @@ pub fn serialize_structure_crate_input_create_logger_definition_version_input( let mut array_74 = object.key("Loggers").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_logger(&mut object_76, item_75)?; object_76.finish(); @@ -342,6 +360,7 @@ pub fn serialize_structure_crate_input_create_resource_definition_input( input: &crate::input::CreateResourceDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.initial_version { + #[allow(unused_mut)] let mut object_78 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_resource_definition_version( &mut object_78, @@ -353,6 +372,7 @@ pub fn serialize_structure_crate_input_create_resource_definition_input( object.key("Name").string(var_79.as_str()); } if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("tags").start_object(); for (key_82, value_83) in var_80 { { @@ -372,6 +392,7 @@ pub fn serialize_structure_crate_input_create_resource_definition_version_input( let mut array_85 = object.key("Resources").start_array(); for item_86 in var_84 { { + #[allow(unused_mut)] let mut object_87 = array_85.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_87, item_86)?; object_87.finish(); @@ -422,6 +443,7 @@ pub fn serialize_structure_crate_input_create_subscription_definition_input( input: &crate::input::CreateSubscriptionDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_96) = &input.initial_version { + #[allow(unused_mut)] let mut object_97 = object.key("InitialVersion").start_object(); crate::json_ser::serialize_structure_crate_model_subscription_definition_version( &mut object_97, @@ -433,6 +455,7 @@ pub fn serialize_structure_crate_input_create_subscription_definition_input( object.key("Name").string(var_98.as_str()); } if let Some(var_99) = &input.tags { + #[allow(unused_mut)] let mut object_100 = object.key("tags").start_object(); for (key_101, value_102) in var_99 { { @@ -452,6 +475,7 @@ pub fn serialize_structure_crate_input_create_subscription_definition_version_in let mut array_104 = object.key("Subscriptions").start_array(); for item_105 in var_103 { { + #[allow(unused_mut)] let mut object_106 = array_104.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscription( &mut object_106, @@ -486,6 +510,7 @@ pub fn serialize_structure_crate_input_start_bulk_deployment_input( object.key("InputFileUri").string(var_108.as_str()); } if let Some(var_109) = &input.tags { + #[allow(unused_mut)] let mut object_110 = object.key("tags").start_object(); for (key_111, value_112) in var_109 { { @@ -502,6 +527,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_113) = &input.tags { + #[allow(unused_mut)] let mut object_114 = object.key("tags").start_object(); for (key_115, value_116) in var_113 { { @@ -521,6 +547,7 @@ pub fn serialize_structure_crate_input_update_connectivity_info_input( let mut array_118 = object.key("ConnectivityInfo").start_array(); for item_119 in var_117 { { + #[allow(unused_mut)] let mut object_120 = array_118.value().start_object(); crate::json_ser::serialize_structure_crate_model_connectivity_info( &mut object_120, @@ -631,6 +658,7 @@ pub fn serialize_structure_crate_input_update_thing_runtime_configuration_input( input: &crate::input::UpdateThingRuntimeConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_130) = &input.telemetry_configuration { + #[allow(unused_mut)] let mut object_131 = object.key("TelemetryConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_telemetry_configuration_update( &mut object_131, @@ -649,6 +677,7 @@ pub fn serialize_structure_crate_model_connector_definition_version( let mut array_133 = object.key("Connectors").start_array(); for item_134 in var_132 { { + #[allow(unused_mut)] let mut object_135 = array_133.value().start_object(); crate::json_ser::serialize_structure_crate_model_connector( &mut object_135, @@ -673,6 +702,7 @@ pub fn serialize_structure_crate_model_connector( object.key("Id").string(var_137.as_str()); } if let Some(var_138) = &input.parameters { + #[allow(unused_mut)] let mut object_139 = object.key("Parameters").start_object(); for (key_140, value_141) in var_138 { { @@ -692,6 +722,7 @@ pub fn serialize_structure_crate_model_core_definition_version( let mut array_143 = object.key("Cores").start_array(); for item_144 in var_142 { { + #[allow(unused_mut)] let mut object_145 = array_143.value().start_object(); crate::json_ser::serialize_structure_crate_model_core(&mut object_145, item_144)?; object_145.finish(); @@ -729,6 +760,7 @@ pub fn serialize_structure_crate_model_device_definition_version( let mut array_150 = object.key("Devices").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_device(&mut object_152, item_151)?; object_152.finish(); @@ -763,6 +795,7 @@ pub fn serialize_structure_crate_model_function_definition_version( input: &crate::model::FunctionDefinitionVersion, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_156) = &input.default_config { + #[allow(unused_mut)] let mut object_157 = object.key("DefaultConfig").start_object(); crate::json_ser::serialize_structure_crate_model_function_default_config( &mut object_157, @@ -774,6 +807,7 @@ pub fn serialize_structure_crate_model_function_definition_version( let mut array_159 = object.key("Functions").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_function( &mut object_161, @@ -792,6 +826,7 @@ pub fn serialize_structure_crate_model_function_default_config( input: &crate::model::FunctionDefaultConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_162) = &input.execution { + #[allow(unused_mut)] let mut object_163 = object.key("Execution").start_object(); crate::json_ser::serialize_structure_crate_model_function_default_execution_config( &mut object_163, @@ -810,6 +845,7 @@ pub fn serialize_structure_crate_model_function( object.key("FunctionArn").string(var_164.as_str()); } if let Some(var_165) = &input.function_configuration { + #[allow(unused_mut)] let mut object_166 = object.key("FunctionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_function_configuration( &mut object_166, @@ -873,6 +909,7 @@ pub fn serialize_structure_crate_model_logger_definition_version( let mut array_176 = object.key("Loggers").start_array(); for item_177 in var_175 { { + #[allow(unused_mut)] let mut object_178 = array_176.value().start_object(); crate::json_ser::serialize_structure_crate_model_logger(&mut object_178, item_177)?; object_178.finish(); @@ -916,6 +953,7 @@ pub fn serialize_structure_crate_model_resource_definition_version( let mut array_184 = object.key("Resources").start_array(); for item_185 in var_183 { { + #[allow(unused_mut)] let mut object_186 = array_184.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource( &mut object_186, @@ -940,6 +978,7 @@ pub fn serialize_structure_crate_model_resource( object.key("Name").string(var_188.as_str()); } if let Some(var_189) = &input.resource_data_container { + #[allow(unused_mut)] let mut object_190 = object.key("ResourceDataContainer").start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_container( &mut object_190, @@ -958,6 +997,7 @@ pub fn serialize_structure_crate_model_subscription_definition_version( let mut array_192 = object.key("Subscriptions").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_subscription( &mut object_194, @@ -1030,6 +1070,7 @@ pub fn serialize_structure_crate_model_function_default_execution_config( object.key("IsolationMode").string(var_203.as_str()); } if let Some(var_204) = &input.run_as { + #[allow(unused_mut)] let mut object_205 = object.key("RunAs").start_object(); crate::json_ser::serialize_structure_crate_model_function_run_as_config( &mut object_205, @@ -1048,6 +1089,7 @@ pub fn serialize_structure_crate_model_function_configuration( object.key("EncodingType").string(var_206.as_str()); } if let Some(var_207) = &input.environment { + #[allow(unused_mut)] let mut object_208 = object.key("Environment").start_object(); crate::json_ser::serialize_structure_crate_model_function_configuration_environment( &mut object_208, @@ -1084,6 +1126,7 @@ pub fn serialize_structure_crate_model_resource_data_container( input: &crate::model::ResourceDataContainer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_211) = &input.local_device_resource_data { + #[allow(unused_mut)] let mut object_212 = object.key("LocalDeviceResourceData").start_object(); crate::json_ser::serialize_structure_crate_model_local_device_resource_data( &mut object_212, @@ -1092,6 +1135,7 @@ pub fn serialize_structure_crate_model_resource_data_container( object_212.finish(); } if let Some(var_213) = &input.local_volume_resource_data { + #[allow(unused_mut)] let mut object_214 = object.key("LocalVolumeResourceData").start_object(); crate::json_ser::serialize_structure_crate_model_local_volume_resource_data( &mut object_214, @@ -1100,6 +1144,7 @@ pub fn serialize_structure_crate_model_resource_data_container( object_214.finish(); } if let Some(var_215) = &input.s3_machine_learning_model_resource_data { + #[allow(unused_mut)] let mut object_216 = object .key("S3MachineLearningModelResourceData") .start_object(); @@ -1110,6 +1155,7 @@ pub fn serialize_structure_crate_model_resource_data_container( object_216.finish(); } if let Some(var_217) = &input.sage_maker_machine_learning_model_resource_data { + #[allow(unused_mut)] let mut object_218 = object .key("SageMakerMachineLearningModelResourceData") .start_object(); @@ -1117,6 +1163,7 @@ pub fn serialize_structure_crate_model_resource_data_container( object_218.finish(); } if let Some(var_219) = &input.secrets_manager_secret_resource_data { + #[allow(unused_mut)] let mut object_220 = object .key("SecretsManagerSecretResourceData") .start_object(); @@ -1156,6 +1203,7 @@ pub fn serialize_structure_crate_model_function_configuration_environment( object.key("AccessSysfs").boolean(input.access_sysfs); } if let Some(var_221) = &input.execution { + #[allow(unused_mut)] let mut object_222 = object.key("Execution").start_object(); crate::json_ser::serialize_structure_crate_model_function_execution_config( &mut object_222, @@ -1167,6 +1215,7 @@ pub fn serialize_structure_crate_model_function_configuration_environment( let mut array_224 = object.key("ResourceAccessPolicies").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_access_policy( &mut object_226, @@ -1178,6 +1227,7 @@ pub fn serialize_structure_crate_model_function_configuration_environment( array_224.finish(); } if let Some(var_227) = &input.variables { + #[allow(unused_mut)] let mut object_228 = object.key("Variables").start_object(); for (key_229, value_230) in var_227 { { @@ -1194,6 +1244,7 @@ pub fn serialize_structure_crate_model_local_device_resource_data( input: &crate::model::LocalDeviceResourceData, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_231) = &input.group_owner_setting { + #[allow(unused_mut)] let mut object_232 = object.key("GroupOwnerSetting").start_object(); crate::json_ser::serialize_structure_crate_model_group_owner_setting( &mut object_232, @@ -1215,6 +1266,7 @@ pub fn serialize_structure_crate_model_local_volume_resource_data( object.key("DestinationPath").string(var_234.as_str()); } if let Some(var_235) = &input.group_owner_setting { + #[allow(unused_mut)] let mut object_236 = object.key("GroupOwnerSetting").start_object(); crate::json_ser::serialize_structure_crate_model_group_owner_setting( &mut object_236, @@ -1236,6 +1288,7 @@ pub fn serialize_structure_crate_model_s3_machine_learning_model_resource_data( object.key("DestinationPath").string(var_238.as_str()); } if let Some(var_239) = &input.owner_setting { + #[allow(unused_mut)] let mut object_240 = object.key("OwnerSetting").start_object(); crate::json_ser::serialize_structure_crate_model_resource_download_owner_setting( &mut object_240, @@ -1257,6 +1310,7 @@ pub fn serialize_structure_crate_model_sage_maker_machine_learning_model_resourc object.key("DestinationPath").string(var_242.as_str()); } if let Some(var_243) = &input.owner_setting { + #[allow(unused_mut)] let mut object_244 = object.key("OwnerSetting").start_object(); crate::json_ser::serialize_structure_crate_model_resource_download_owner_setting( &mut object_244, @@ -1299,6 +1353,7 @@ pub fn serialize_structure_crate_model_function_execution_config( object.key("IsolationMode").string(var_250.as_str()); } if let Some(var_251) = &input.run_as { + #[allow(unused_mut)] let mut object_252 = object.key("RunAs").start_object(); crate::json_ser::serialize_structure_crate_model_function_run_as_config( &mut object_252, diff --git a/sdk/greengrassv2/src/json_ser.rs b/sdk/greengrassv2/src/json_ser.rs index 52cb915285a0..076bc303823f 100644 --- a/sdk/greengrassv2/src/json_ser.rs +++ b/sdk/greengrassv2/src/json_ser.rs @@ -17,6 +17,7 @@ pub fn serialize_structure_crate_input_batch_associate_client_device_with_core_d let mut array_3 = object.key("entries").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_associate_client_device_with_core_device_entry(&mut object_5, item_4)?; object_5.finish(); @@ -35,6 +36,7 @@ pub fn serialize_structure_crate_input_batch_disassociate_client_device_from_cor let mut array_7 = object.key("entries").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_disassociate_client_device_from_core_device_entry(&mut object_9, item_8)?; object_9.finish(); @@ -58,6 +60,7 @@ pub fn serialize_structure_crate_input_create_component_version_input( .string_unchecked(&aws_smithy_types::base64::encode(var_11)); } if let Some(var_12) = &input.lambda_function { + #[allow(unused_mut)] let mut object_13 = object.key("lambdaFunction").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_function_recipe_source( &mut object_13, @@ -66,6 +69,7 @@ pub fn serialize_structure_crate_input_create_component_version_input( object_13.finish(); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("tags").start_object(); for (key_16, value_17) in var_14 { { @@ -85,9 +89,11 @@ pub fn serialize_structure_crate_input_create_deployment_input( object.key("clientToken").string(var_18.as_str()); } if let Some(var_19) = &input.components { + #[allow(unused_mut)] let mut object_20 = object.key("components").start_object(); for (key_21, value_22) in var_19 { { + #[allow(unused_mut)] let mut object_23 = object_20.key(key_21.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_deployment_specification(&mut object_23, value_22)?; object_23.finish(); @@ -99,6 +105,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object.key("deploymentName").string(var_24.as_str()); } if let Some(var_25) = &input.deployment_policies { + #[allow(unused_mut)] let mut object_26 = object.key("deploymentPolicies").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_policies( &mut object_26, @@ -107,6 +114,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object_26.finish(); } if let Some(var_27) = &input.iot_job_configuration { + #[allow(unused_mut)] let mut object_28 = object.key("iotJobConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_io_t_job_configuration( &mut object_28, @@ -115,6 +123,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( object_28.finish(); } if let Some(var_29) = &input.tags { + #[allow(unused_mut)] let mut object_30 = object.key("tags").start_object(); for (key_31, value_32) in var_29 { { @@ -137,6 +146,7 @@ pub fn serialize_structure_crate_input_resolve_component_candidates_input( let mut array_35 = object.key("componentCandidates").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_candidate( &mut object_37, @@ -148,6 +158,7 @@ pub fn serialize_structure_crate_input_resolve_component_candidates_input( array_35.finish(); } if let Some(var_38) = &input.platform { + #[allow(unused_mut)] let mut object_39 = object.key("platform").start_object(); crate::json_ser::serialize_structure_crate_model_component_platform( &mut object_39, @@ -163,6 +174,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_40) = &input.tags { + #[allow(unused_mut)] let mut object_41 = object.key("tags").start_object(); for (key_42, value_43) in var_40 { { @@ -182,6 +194,7 @@ pub fn serialize_structure_crate_input_update_connectivity_info_input( let mut array_45 = object.key("ConnectivityInfo").start_array(); for item_46 in var_44 { { + #[allow(unused_mut)] let mut object_47 = array_45.value().start_object(); crate::json_ser::serialize_structure_crate_model_connectivity_info( &mut object_47, @@ -232,6 +245,7 @@ pub fn serialize_structure_crate_model_lambda_function_recipe_source( let mut array_54 = object.key("componentPlatforms").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_platform( &mut object_56, @@ -243,9 +257,11 @@ pub fn serialize_structure_crate_model_lambda_function_recipe_source( array_54.finish(); } if let Some(var_57) = &input.component_dependencies { + #[allow(unused_mut)] let mut object_58 = object.key("componentDependencies").start_object(); for (key_59, value_60) in var_57 { { + #[allow(unused_mut)] let mut object_61 = object_58.key(key_59.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_dependency_requirement( &mut object_61, @@ -257,6 +273,7 @@ pub fn serialize_structure_crate_model_lambda_function_recipe_source( object_58.finish(); } if let Some(var_62) = &input.component_lambda_parameters { + #[allow(unused_mut)] let mut object_63 = object.key("componentLambdaParameters").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_execution_parameters( &mut object_63, @@ -275,6 +292,7 @@ pub fn serialize_structure_crate_model_component_deployment_specification( object.key("componentVersion").string(var_64.as_str()); } if let Some(var_65) = &input.configuration_update { + #[allow(unused_mut)] let mut object_66 = object.key("configurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_component_configuration_update( &mut object_66, @@ -283,6 +301,7 @@ pub fn serialize_structure_crate_model_component_deployment_specification( object_66.finish(); } if let Some(var_67) = &input.run_with { + #[allow(unused_mut)] let mut object_68 = object.key("runWith").start_object(); crate::json_ser::serialize_structure_crate_model_component_run_with( &mut object_68, @@ -301,6 +320,7 @@ pub fn serialize_structure_crate_model_deployment_policies( object.key("failureHandlingPolicy").string(var_69.as_str()); } if let Some(var_70) = &input.component_update_policy { + #[allow(unused_mut)] let mut object_71 = object.key("componentUpdatePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_component_update_policy( &mut object_71, @@ -309,6 +329,7 @@ pub fn serialize_structure_crate_model_deployment_policies( object_71.finish(); } if let Some(var_72) = &input.configuration_validation_policy { + #[allow(unused_mut)] let mut object_73 = object.key("configurationValidationPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_configuration_validation_policy(&mut object_73, var_72)?; object_73.finish(); @@ -321,6 +342,7 @@ pub fn serialize_structure_crate_model_deployment_io_t_job_configuration( input: &crate::model::DeploymentIoTJobConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_74) = &input.job_executions_rollout_config { + #[allow(unused_mut)] let mut object_75 = object.key("jobExecutionsRolloutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_io_t_job_executions_rollout_config( &mut object_75, @@ -329,6 +351,7 @@ pub fn serialize_structure_crate_model_deployment_io_t_job_configuration( object_75.finish(); } if let Some(var_76) = &input.abort_config { + #[allow(unused_mut)] let mut object_77 = object.key("abortConfig").start_object(); crate::json_ser::serialize_structure_crate_model_io_t_job_abort_config( &mut object_77, @@ -337,6 +360,7 @@ pub fn serialize_structure_crate_model_deployment_io_t_job_configuration( object_77.finish(); } if let Some(var_78) = &input.timeout_config { + #[allow(unused_mut)] let mut object_79 = object.key("timeoutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_io_t_job_timeout_config( &mut object_79, @@ -358,6 +382,7 @@ pub fn serialize_structure_crate_model_component_candidate( object.key("componentVersion").string(var_81.as_str()); } if let Some(var_82) = &input.version_requirements { + #[allow(unused_mut)] let mut object_83 = object.key("versionRequirements").start_object(); for (key_84, value_85) in var_82 { { @@ -377,6 +402,7 @@ pub fn serialize_structure_crate_model_component_platform( object.key("name").string(var_86.as_str()); } if let Some(var_87) = &input.attributes { + #[allow(unused_mut)] let mut object_88 = object.key("attributes").start_object(); for (key_89, value_90) in var_87 { { @@ -431,6 +457,7 @@ pub fn serialize_structure_crate_model_lambda_execution_parameters( let mut array_97 = object.key("eventSources").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_lambda_event_source( &mut object_99, @@ -489,6 +516,7 @@ pub fn serialize_structure_crate_model_lambda_execution_parameters( array_108.finish(); } if let Some(var_110) = &input.environment_variables { + #[allow(unused_mut)] let mut object_111 = object.key("environmentVariables").start_object(); for (key_112, value_113) in var_110 { { @@ -498,6 +526,7 @@ pub fn serialize_structure_crate_model_lambda_execution_parameters( object_111.finish(); } if let Some(var_114) = &input.linux_process_params { + #[allow(unused_mut)] let mut object_115 = object.key("linuxProcessParams").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_linux_process_params( &mut object_115, @@ -535,6 +564,7 @@ pub fn serialize_structure_crate_model_component_run_with( object.key("posixUser").string(var_120.as_str()); } if let Some(var_121) = &input.system_resource_limits { + #[allow(unused_mut)] let mut object_122 = object.key("systemResourceLimits").start_object(); crate::json_ser::serialize_structure_crate_model_system_resource_limits( &mut object_122, @@ -582,6 +612,7 @@ pub fn serialize_structure_crate_model_io_t_job_executions_rollout_config( input: &crate::model::IoTJobExecutionsRolloutConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_127) = &input.exponential_rate { + #[allow(unused_mut)] let mut object_128 = object.key("exponentialRate").start_object(); crate::json_ser::serialize_structure_crate_model_io_t_job_exponential_rollout_rate( &mut object_128, @@ -606,6 +637,7 @@ pub fn serialize_structure_crate_model_io_t_job_abort_config( let mut array_131 = object.key("criteriaList").start_array(); for item_132 in var_130 { { + #[allow(unused_mut)] let mut object_133 = array_131.value().start_object(); crate::json_ser::serialize_structure_crate_model_io_t_job_abort_criteria( &mut object_133, @@ -653,6 +685,7 @@ pub fn serialize_structure_crate_model_lambda_linux_process_params( object.key("isolationMode").string(var_137.as_str()); } if let Some(var_138) = &input.container_params { + #[allow(unused_mut)] let mut object_139 = object.key("containerParams").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_container_params( &mut object_139, @@ -699,6 +732,7 @@ pub fn serialize_structure_crate_model_io_t_job_exponential_rollout_rate( ); } if let Some(var_140) = &input.rate_increase_criteria { + #[allow(unused_mut)] let mut object_141 = object.key("rateIncreaseCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_io_t_job_rate_increase_criteria( &mut object_141, @@ -751,6 +785,7 @@ pub fn serialize_structure_crate_model_lambda_container_params( let mut array_147 = object.key("volumes").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_lambda_volume_mount( &mut object_149, @@ -765,6 +800,7 @@ pub fn serialize_structure_crate_model_lambda_container_params( let mut array_151 = object.key("devices").start_array(); for item_152 in var_150 { { + #[allow(unused_mut)] let mut object_153 = array_151.value().start_object(); crate::json_ser::serialize_structure_crate_model_lambda_device_mount( &mut object_153, diff --git a/sdk/groundstation/src/json_ser.rs b/sdk/groundstation/src/json_ser.rs index 6c86bbc4c0c7..b41e380cf605 100644 --- a/sdk/groundstation/src/json_ser.rs +++ b/sdk/groundstation/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_config_input( input: &crate::input::CreateConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.config_data { + #[allow(unused_mut)] let mut object_2 = object.key("configData").start_object(); crate::json_ser::serialize_union_crate_model_config_type_data(&mut object_2, var_1)?; object_2.finish(); @@ -12,6 +13,7 @@ pub fn serialize_structure_crate_input_create_config_input( object.key("name").string(var_3.as_str()); } if let Some(var_4) = &input.tags { + #[allow(unused_mut)] let mut object_5 = object.key("tags").start_object(); for (key_6, value_7) in var_4 { { @@ -31,6 +33,7 @@ pub fn serialize_structure_crate_input_create_dataflow_endpoint_group_input( let mut array_9 = object.key("endpointDetails").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_details( &mut object_11, @@ -42,6 +45,7 @@ pub fn serialize_structure_crate_input_create_dataflow_endpoint_group_input( array_9.finish(); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -94,6 +98,7 @@ pub fn serialize_structure_crate_input_create_mission_profile_input( object.key("name").string(var_24.as_str()); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -195,6 +200,7 @@ pub fn serialize_structure_crate_input_reserve_contact_input( .date_time(var_46, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_47) = &input.tags { + #[allow(unused_mut)] let mut object_48 = object.key("tags").start_object(); for (key_49, value_50) in var_47 { { @@ -211,6 +217,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_51) = &input.tags { + #[allow(unused_mut)] let mut object_52 = object.key("tags").start_object(); for (key_53, value_54) in var_51 { { @@ -227,6 +234,7 @@ pub fn serialize_structure_crate_input_update_config_input( input: &crate::input::UpdateConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_55) = &input.config_data { + #[allow(unused_mut)] let mut object_56 = object.key("configData").start_object(); crate::json_ser::serialize_union_crate_model_config_type_data(&mut object_56, var_55)?; object_56.finish(); @@ -289,6 +297,7 @@ pub fn serialize_union_crate_model_config_type_data( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ConfigTypeData::AntennaDownlinkConfig(inner) => { + #[allow(unused_mut)] let mut object_68 = object_2.key("antennaDownlinkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_antenna_downlink_config( &mut object_68, @@ -297,6 +306,7 @@ pub fn serialize_union_crate_model_config_type_data( object_68.finish(); } crate::model::ConfigTypeData::TrackingConfig(inner) => { + #[allow(unused_mut)] let mut object_69 = object_2.key("trackingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tracking_config( &mut object_69, @@ -305,6 +315,7 @@ pub fn serialize_union_crate_model_config_type_data( object_69.finish(); } crate::model::ConfigTypeData::DataflowEndpointConfig(inner) => { + #[allow(unused_mut)] let mut object_70 = object_2.key("dataflowEndpointConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dataflow_endpoint_config( &mut object_70, @@ -313,6 +324,7 @@ pub fn serialize_union_crate_model_config_type_data( object_70.finish(); } crate::model::ConfigTypeData::AntennaDownlinkDemodDecodeConfig(inner) => { + #[allow(unused_mut)] let mut object_71 = object_2 .key("antennaDownlinkDemodDecodeConfig") .start_object(); @@ -323,6 +335,7 @@ pub fn serialize_union_crate_model_config_type_data( object_71.finish(); } crate::model::ConfigTypeData::AntennaUplinkConfig(inner) => { + #[allow(unused_mut)] let mut object_72 = object_2.key("antennaUplinkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_antenna_uplink_config( &mut object_72, @@ -331,6 +344,7 @@ pub fn serialize_union_crate_model_config_type_data( object_72.finish(); } crate::model::ConfigTypeData::UplinkEchoConfig(inner) => { + #[allow(unused_mut)] let mut object_73 = object_2.key("uplinkEchoConfig").start_object(); crate::json_ser::serialize_structure_crate_model_uplink_echo_config( &mut object_73, @@ -339,6 +353,7 @@ pub fn serialize_union_crate_model_config_type_data( object_73.finish(); } crate::model::ConfigTypeData::S3RecordingConfig(inner) => { + #[allow(unused_mut)] let mut object_74 = object_2.key("s3RecordingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_recording_config( &mut object_74, @@ -362,11 +377,13 @@ pub fn serialize_structure_crate_model_endpoint_details( input: &crate::model::EndpointDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_75) = &input.security_details { + #[allow(unused_mut)] let mut object_76 = object.key("securityDetails").start_object(); crate::json_ser::serialize_structure_crate_model_security_details(&mut object_76, var_75)?; object_76.finish(); } if let Some(var_77) = &input.endpoint { + #[allow(unused_mut)] let mut object_78 = object.key("endpoint").start_object(); crate::json_ser::serialize_structure_crate_model_dataflow_endpoint(&mut object_78, var_77)?; object_78.finish(); @@ -379,6 +396,7 @@ pub fn serialize_structure_crate_model_antenna_downlink_config( input: &crate::model::AntennaDownlinkConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_79) = &input.spectrum_config { + #[allow(unused_mut)] let mut object_80 = object.key("spectrumConfig").start_object(); crate::json_ser::serialize_structure_crate_model_spectrum_config(&mut object_80, var_79)?; object_80.finish(); @@ -414,11 +432,13 @@ pub fn serialize_structure_crate_model_antenna_downlink_demod_decode_config( input: &crate::model::AntennaDownlinkDemodDecodeConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_84) = &input.spectrum_config { + #[allow(unused_mut)] let mut object_85 = object.key("spectrumConfig").start_object(); crate::json_ser::serialize_structure_crate_model_spectrum_config(&mut object_85, var_84)?; object_85.finish(); } if let Some(var_86) = &input.demodulation_config { + #[allow(unused_mut)] let mut object_87 = object.key("demodulationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_demodulation_config( &mut object_87, @@ -427,6 +447,7 @@ pub fn serialize_structure_crate_model_antenna_downlink_demod_decode_config( object_87.finish(); } if let Some(var_88) = &input.decode_config { + #[allow(unused_mut)] let mut object_89 = object.key("decodeConfig").start_object(); crate::json_ser::serialize_structure_crate_model_decode_config(&mut object_89, var_88)?; object_89.finish(); @@ -442,6 +463,7 @@ pub fn serialize_structure_crate_model_antenna_uplink_config( object.key("transmitDisabled").boolean(*var_90); } if let Some(var_91) = &input.spectrum_config { + #[allow(unused_mut)] let mut object_92 = object.key("spectrumConfig").start_object(); crate::json_ser::serialize_structure_crate_model_uplink_spectrum_config( &mut object_92, @@ -450,6 +472,7 @@ pub fn serialize_structure_crate_model_antenna_uplink_config( object_92.finish(); } if let Some(var_93) = &input.target_eirp { + #[allow(unused_mut)] let mut object_94 = object.key("targetEirp").start_object(); crate::json_ser::serialize_structure_crate_model_eirp(&mut object_94, var_93)?; object_94.finish(); @@ -522,6 +545,7 @@ pub fn serialize_structure_crate_model_dataflow_endpoint( object.key("name").string(var_107.as_str()); } if let Some(var_108) = &input.address { + #[allow(unused_mut)] let mut object_109 = object.key("address").start_object(); crate::json_ser::serialize_structure_crate_model_socket_address(&mut object_109, var_108)?; object_109.finish(); @@ -543,11 +567,13 @@ pub fn serialize_structure_crate_model_spectrum_config( input: &crate::model::SpectrumConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_112) = &input.center_frequency { + #[allow(unused_mut)] let mut object_113 = object.key("centerFrequency").start_object(); crate::json_ser::serialize_structure_crate_model_frequency(&mut object_113, var_112)?; object_113.finish(); } if let Some(var_114) = &input.bandwidth { + #[allow(unused_mut)] let mut object_115 = object.key("bandwidth").start_object(); crate::json_ser::serialize_structure_crate_model_frequency_bandwidth( &mut object_115, @@ -586,6 +612,7 @@ pub fn serialize_structure_crate_model_uplink_spectrum_config( input: &crate::model::UplinkSpectrumConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_119) = &input.center_frequency { + #[allow(unused_mut)] let mut object_120 = object.key("centerFrequency").start_object(); crate::json_ser::serialize_structure_crate_model_frequency(&mut object_120, var_119)?; object_120.finish(); diff --git a/sdk/guardduty/src/json_ser.rs b/sdk/guardduty/src/json_ser.rs index 913a4425f0c6..2a36d712d654 100644 --- a/sdk/guardduty/src/json_ser.rs +++ b/sdk/guardduty/src/json_ser.rs @@ -49,6 +49,7 @@ pub fn serialize_structure_crate_input_create_detector_input( object.key("clientToken").string(var_8.as_str()); } if let Some(var_9) = &input.data_sources { + #[allow(unused_mut)] let mut object_10 = object.key("dataSources").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configurations( &mut object_10, @@ -65,6 +66,7 @@ pub fn serialize_structure_crate_input_create_detector_input( .string(var_11.as_str()); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -90,6 +92,7 @@ pub fn serialize_structure_crate_input_create_filter_input( object.key("description").string(var_18.as_str()); } if let Some(var_19) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_20 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria(&mut object_20, var_19)?; object_20.finish(); @@ -104,6 +107,7 @@ pub fn serialize_structure_crate_input_create_filter_input( ); } if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("tags").start_object(); for (key_24, value_25) in var_22 { { @@ -135,6 +139,7 @@ pub fn serialize_structure_crate_input_create_ip_set_input( object.key("name").string(var_29.as_str()); } if let Some(var_30) = &input.tags { + #[allow(unused_mut)] let mut object_31 = object.key("tags").start_object(); for (key_32, value_33) in var_30 { { @@ -154,6 +159,7 @@ pub fn serialize_structure_crate_input_create_members_input( let mut array_35 = object.key("accountDetails").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_account_detail( &mut object_37, @@ -175,6 +181,7 @@ pub fn serialize_structure_crate_input_create_publishing_destination_input( object.key("clientToken").string(var_38.as_str()); } if let Some(var_39) = &input.destination_properties { + #[allow(unused_mut)] let mut object_40 = object.key("destinationProperties").start_object(); crate::json_ser::serialize_structure_crate_model_destination_properties( &mut object_40, @@ -224,6 +231,7 @@ pub fn serialize_structure_crate_input_create_threat_intel_set_input( object.key("name").string(var_48.as_str()); } if let Some(var_49) = &input.tags { + #[allow(unused_mut)] let mut object_50 = object.key("tags").start_object(); for (key_51, value_52) in var_49 { { @@ -288,6 +296,7 @@ pub fn serialize_structure_crate_input_describe_malware_scans_input( input: &crate::input::DescribeMalwareScansInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_62) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_63 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_63, var_62)?; object_63.finish(); @@ -302,6 +311,7 @@ pub fn serialize_structure_crate_input_describe_malware_scans_input( object.key("nextToken").string(var_64.as_str()); } if let Some(var_65) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_66 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_66, var_65)?; object_66.finish(); @@ -359,6 +369,7 @@ pub fn serialize_structure_crate_input_get_findings_input( array_73.finish(); } if let Some(var_75) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_76 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_76, var_75)?; object_76.finish(); @@ -371,6 +382,7 @@ pub fn serialize_structure_crate_input_get_findings_statistics_input( input: &crate::input::GetFindingsStatisticsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_78 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria(&mut object_78, var_77)?; object_78.finish(); @@ -452,6 +464,7 @@ pub fn serialize_structure_crate_input_get_usage_statistics_input( object.key("unit").string(var_92.as_str()); } if let Some(var_93) = &input.usage_criteria { + #[allow(unused_mut)] let mut object_94 = object.key("usageCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_usage_criteria(&mut object_94, var_93)?; object_94.finish(); @@ -491,6 +504,7 @@ pub fn serialize_structure_crate_input_list_findings_input( input: &crate::input::ListFindingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_100) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_101 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria( &mut object_101, @@ -508,6 +522,7 @@ pub fn serialize_structure_crate_input_list_findings_input( object.key("nextToken").string(var_102.as_str()); } if let Some(var_103) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_104 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_104, var_103)?; object_104.finish(); @@ -552,6 +567,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_111) = &input.tags { + #[allow(unused_mut)] let mut object_112 = object.key("tags").start_object(); for (key_113, value_114) in var_111 { { @@ -584,6 +600,7 @@ pub fn serialize_structure_crate_input_update_detector_input( input: &crate::input::UpdateDetectorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_118) = &input.data_sources { + #[allow(unused_mut)] let mut object_119 = object.key("dataSources").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configurations( &mut object_119, @@ -613,6 +630,7 @@ pub fn serialize_structure_crate_input_update_filter_input( object.key("description").string(var_122.as_str()); } if let Some(var_123) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_124 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria( &mut object_124, @@ -677,6 +695,7 @@ pub fn serialize_structure_crate_input_update_malware_scan_settings_input( .string(var_132.as_str()); } if let Some(var_133) = &input.scan_resource_criteria { + #[allow(unused_mut)] let mut object_134 = object.key("scanResourceCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_scan_resource_criteria( &mut object_134, @@ -701,6 +720,7 @@ pub fn serialize_structure_crate_input_update_member_detectors_input( array_136.finish(); } if let Some(var_138) = &input.data_sources { + #[allow(unused_mut)] let mut object_139 = object.key("dataSources").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configurations( &mut object_139, @@ -719,6 +739,7 @@ pub fn serialize_structure_crate_input_update_organization_configuration_input( object.key("autoEnable").boolean(input.auto_enable); } if let Some(var_140) = &input.data_sources { + #[allow(unused_mut)] let mut object_141 = object.key("dataSources").start_object(); crate::json_ser::serialize_structure_crate_model_organization_data_source_configurations( &mut object_141, @@ -734,6 +755,7 @@ pub fn serialize_structure_crate_input_update_publishing_destination_input( input: &crate::input::UpdatePublishingDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_142) = &input.destination_properties { + #[allow(unused_mut)] let mut object_143 = object.key("destinationProperties").start_object(); crate::json_ser::serialize_structure_crate_model_destination_properties( &mut object_143, @@ -765,6 +787,7 @@ pub fn serialize_structure_crate_model_data_source_configurations( input: &crate::model::DataSourceConfigurations, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_146) = &input.s3_logs { + #[allow(unused_mut)] let mut object_147 = object.key("s3Logs").start_object(); crate::json_ser::serialize_structure_crate_model_s3_logs_configuration( &mut object_147, @@ -773,6 +796,7 @@ pub fn serialize_structure_crate_model_data_source_configurations( object_147.finish(); } if let Some(var_148) = &input.kubernetes { + #[allow(unused_mut)] let mut object_149 = object.key("kubernetes").start_object(); crate::json_ser::serialize_structure_crate_model_kubernetes_configuration( &mut object_149, @@ -781,6 +805,7 @@ pub fn serialize_structure_crate_model_data_source_configurations( object_149.finish(); } if let Some(var_150) = &input.malware_protection { + #[allow(unused_mut)] let mut object_151 = object.key("malwareProtection").start_object(); crate::json_ser::serialize_structure_crate_model_malware_protection_configuration( &mut object_151, @@ -796,9 +821,11 @@ pub fn serialize_structure_crate_model_finding_criteria( input: &crate::model::FindingCriteria, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_152) = &input.criterion { + #[allow(unused_mut)] let mut object_153 = object.key("criterion").start_object(); for (key_154, value_155) in var_152 { { + #[allow(unused_mut)] let mut object_156 = object_153.key(key_154.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_156, @@ -846,6 +873,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_162 = object.key("filterCriterion").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_criterion( &mut object_164, @@ -911,9 +939,11 @@ pub fn serialize_structure_crate_model_scan_resource_criteria( input: &crate::model::ScanResourceCriteria, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_176) = &input.include { + #[allow(unused_mut)] let mut object_177 = object.key("include").start_object(); for (key_178, value_179) in var_176 { { + #[allow(unused_mut)] let mut object_180 = object_177.key(key_178.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_scan_condition( &mut object_180, @@ -925,9 +955,11 @@ pub fn serialize_structure_crate_model_scan_resource_criteria( object_177.finish(); } if let Some(var_181) = &input.exclude { + #[allow(unused_mut)] let mut object_182 = object.key("exclude").start_object(); for (key_183, value_184) in var_181 { { + #[allow(unused_mut)] let mut object_185 = object_182.key(key_183.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_scan_condition( &mut object_185, @@ -946,6 +978,7 @@ pub fn serialize_structure_crate_model_organization_data_source_configurations( input: &crate::model::OrganizationDataSourceConfigurations, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_186) = &input.s3_logs { + #[allow(unused_mut)] let mut object_187 = object.key("s3Logs").start_object(); crate::json_ser::serialize_structure_crate_model_organization_s3_logs_configuration( &mut object_187, @@ -954,6 +987,7 @@ pub fn serialize_structure_crate_model_organization_data_source_configurations( object_187.finish(); } if let Some(var_188) = &input.kubernetes { + #[allow(unused_mut)] let mut object_189 = object.key("kubernetes").start_object(); crate::json_ser::serialize_structure_crate_model_organization_kubernetes_configuration( &mut object_189, @@ -962,6 +996,7 @@ pub fn serialize_structure_crate_model_organization_data_source_configurations( object_189.finish(); } if let Some(var_190) = &input.malware_protection { + #[allow(unused_mut)] let mut object_191 = object.key("malwareProtection").start_object(); crate::json_ser::serialize_structure_crate_model_organization_malware_protection_configuration(&mut object_191, var_190)?; object_191.finish(); @@ -984,6 +1019,7 @@ pub fn serialize_structure_crate_model_kubernetes_configuration( input: &crate::model::KubernetesConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_192) = &input.audit_logs { + #[allow(unused_mut)] let mut object_193 = object.key("auditLogs").start_object(); crate::json_ser::serialize_structure_crate_model_kubernetes_audit_logs_configuration( &mut object_193, @@ -999,6 +1035,7 @@ pub fn serialize_structure_crate_model_malware_protection_configuration( input: &crate::model::MalwareProtectionConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_194) = &input.scan_ec2_instance_with_findings { + #[allow(unused_mut)] let mut object_195 = object.key("scanEc2InstanceWithFindings").start_object(); crate::json_ser::serialize_structure_crate_model_scan_ec2_instance_with_findings( &mut object_195, @@ -1108,6 +1145,7 @@ pub fn serialize_structure_crate_model_filter_criterion( object.key("criterionKey").string(var_208.as_str()); } if let Some(var_209) = &input.filter_condition { + #[allow(unused_mut)] let mut object_210 = object.key("filterCondition").start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_210, @@ -1126,6 +1164,7 @@ pub fn serialize_structure_crate_model_scan_condition( let mut array_212 = object.key("mapEquals").start_array(); for item_213 in var_211 { { + #[allow(unused_mut)] let mut object_214 = array_212.value().start_object(); crate::json_ser::serialize_structure_crate_model_scan_condition_pair( &mut object_214, @@ -1154,6 +1193,7 @@ pub fn serialize_structure_crate_model_organization_kubernetes_configuration( input: &crate::model::OrganizationKubernetesConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_215) = &input.audit_logs { + #[allow(unused_mut)] let mut object_216 = object.key("auditLogs").start_object(); crate::json_ser::serialize_structure_crate_model_organization_kubernetes_audit_logs_configuration(&mut object_216, var_215)?; object_216.finish(); @@ -1166,6 +1206,7 @@ pub fn serialize_structure_crate_model_organization_malware_protection_configura input: &crate::model::OrganizationMalwareProtectionConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_217) = &input.scan_ec2_instance_with_findings { + #[allow(unused_mut)] let mut object_218 = object.key("scanEc2InstanceWithFindings").start_object(); crate::json_ser::serialize_structure_crate_model_organization_scan_ec2_instance_with_findings(&mut object_218, var_217)?; object_218.finish(); @@ -1243,6 +1284,7 @@ pub fn serialize_structure_crate_model_organization_scan_ec2_instance_with_findi input: &crate::model::OrganizationScanEc2InstanceWithFindings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_222) = &input.ebs_volumes { + #[allow(unused_mut)] let mut object_223 = object.key("ebsVolumes").start_object(); crate::json_ser::serialize_structure_crate_model_organization_ebs_volumes( &mut object_223, diff --git a/sdk/health/src/json_ser.rs b/sdk/health/src/json_ser.rs index d5edb6ad477b..bceed5d26b1c 100644 --- a/sdk/health/src/json_ser.rs +++ b/sdk/health/src/json_ser.rs @@ -23,6 +23,7 @@ pub fn serialize_structure_crate_input_describe_affected_entities_input( input: &crate::input::DescribeAffectedEntitiesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_4) = &input.filter { + #[allow(unused_mut)] let mut object_5 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_entity_filter(&mut object_5, var_4)?; object_5.finish(); @@ -50,6 +51,7 @@ pub fn serialize_structure_crate_input_describe_affected_entities_for_organizati let mut array_10 = object.key("organizationEntityFilters").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_event_account_filter( &mut object_12, @@ -96,6 +98,7 @@ pub fn serialize_structure_crate_input_describe_event_aggregates_input( input: &crate::input::DescribeEventAggregatesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.filter { + #[allow(unused_mut)] let mut object_20 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_event_filter(&mut object_20, var_19)?; object_20.finish(); @@ -142,6 +145,7 @@ pub fn serialize_structure_crate_input_describe_event_details_for_organization_i let mut array_29 = object.key("organizationEventDetailFilters").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_event_account_filter( &mut object_31, @@ -163,6 +167,7 @@ pub fn serialize_structure_crate_input_describe_events_input( input: &crate::input::DescribeEventsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_33) = &input.filter { + #[allow(unused_mut)] let mut object_34 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_event_filter(&mut object_34, var_33)?; object_34.finish(); @@ -187,6 +192,7 @@ pub fn serialize_structure_crate_input_describe_events_for_organization_input( input: &crate::input::DescribeEventsForOrganizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_38) = &input.filter { + #[allow(unused_mut)] let mut object_39 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_organization_event_filter( &mut object_39, @@ -214,6 +220,7 @@ pub fn serialize_structure_crate_input_describe_event_types_input( input: &crate::input::DescribeEventTypesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_43) = &input.filter { + #[allow(unused_mut)] let mut object_44 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_event_type_filter(&mut object_44, var_43)?; object_44.finish(); @@ -268,6 +275,7 @@ pub fn serialize_structure_crate_model_entity_filter( let mut array_58 = object.key("lastUpdatedTimes").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range( &mut object_60, @@ -282,6 +290,7 @@ pub fn serialize_structure_crate_model_entity_filter( let mut array_62 = object.key("tags").start_array(); for item_63 in var_61 { { + #[allow(unused_mut)] let mut object_64 = array_62.value().start_object(); for (key_65, value_66) in item_63 { { @@ -371,6 +380,7 @@ pub fn serialize_structure_crate_model_event_filter( let mut array_88 = object.key("startTimes").start_array(); for item_89 in var_87 { { + #[allow(unused_mut)] let mut object_90 = array_88.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range( &mut object_90, @@ -385,6 +395,7 @@ pub fn serialize_structure_crate_model_event_filter( let mut array_92 = object.key("endTimes").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range( &mut object_94, @@ -399,6 +410,7 @@ pub fn serialize_structure_crate_model_event_filter( let mut array_96 = object.key("lastUpdatedTimes").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range( &mut object_98, @@ -440,6 +452,7 @@ pub fn serialize_structure_crate_model_event_filter( let mut array_109 = object.key("tags").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); for (key_112, value_113) in item_110 { { @@ -504,16 +517,19 @@ pub fn serialize_structure_crate_model_organization_event_filter( array_127.finish(); } if let Some(var_129) = &input.start_time { + #[allow(unused_mut)] let mut object_130 = object.key("startTime").start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range(&mut object_130, var_129)?; object_130.finish(); } if let Some(var_131) = &input.end_time { + #[allow(unused_mut)] let mut object_132 = object.key("endTime").start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range(&mut object_132, var_131)?; object_132.finish(); } if let Some(var_133) = &input.last_updated_time { + #[allow(unused_mut)] let mut object_134 = object.key("lastUpdatedTime").start_object(); crate::json_ser::serialize_structure_crate_model_date_time_range(&mut object_134, var_133)?; object_134.finish(); diff --git a/sdk/healthlake/src/json_ser.rs b/sdk/healthlake/src/json_ser.rs index f02f74fad84e..b7d586874072 100644 --- a/sdk/healthlake/src/json_ser.rs +++ b/sdk/healthlake/src/json_ser.rs @@ -10,11 +10,13 @@ pub fn serialize_structure_crate_input_create_fhir_datastore_input( object.key("DatastoreTypeVersion").string(var_2.as_str()); } if let Some(var_3) = &input.sse_configuration { + #[allow(unused_mut)] let mut object_4 = object.key("SseConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sse_configuration(&mut object_4, var_3)?; object_4.finish(); } if let Some(var_5) = &input.preload_data_config { + #[allow(unused_mut)] let mut object_6 = object.key("PreloadDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_preload_data_config(&mut object_6, var_5)?; object_6.finish(); @@ -26,6 +28,7 @@ pub fn serialize_structure_crate_input_create_fhir_datastore_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -87,6 +90,7 @@ pub fn serialize_structure_crate_input_list_fhir_datastores_input( input: &crate::input::ListFhirDatastoresInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_18) = &input.filter { + #[allow(unused_mut)] let mut object_19 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_datastore_filter(&mut object_19, var_18)?; object_19.finish(); @@ -191,6 +195,7 @@ pub fn serialize_structure_crate_input_start_fhir_export_job_input( object.key("JobName").string(var_37.as_str()); } if let Some(var_38) = &input.output_data_config { + #[allow(unused_mut)] let mut object_39 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_union_crate_model_output_data_config(&mut object_39, var_38)?; object_39.finish(); @@ -215,11 +220,13 @@ pub fn serialize_structure_crate_input_start_fhir_import_job_input( object.key("JobName").string(var_43.as_str()); } if let Some(var_44) = &input.input_data_config { + #[allow(unused_mut)] let mut object_45 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_union_crate_model_input_data_config(&mut object_45, var_44)?; object_45.finish(); } if let Some(var_46) = &input.job_output_data_config { + #[allow(unused_mut)] let mut object_47 = object.key("JobOutputDataConfig").start_object(); crate::json_ser::serialize_union_crate_model_output_data_config(&mut object_47, var_46)?; object_47.finish(); @@ -247,6 +254,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_53 = object.key("Tags").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_55, item_54)?; object_55.finish(); @@ -281,6 +289,7 @@ pub fn serialize_structure_crate_model_sse_configuration( input: &crate::model::SseConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_60) = &input.kms_encryption_config { + #[allow(unused_mut)] let mut object_61 = object.key("KmsEncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kms_encryption_config( &mut object_61, @@ -343,6 +352,7 @@ pub fn serialize_union_crate_model_output_data_config( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::OutputDataConfig::S3Configuration(inner) => { + #[allow(unused_mut)] let mut object_69 = object_39.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_configuration( &mut object_69, diff --git a/sdk/honeycode/src/json_ser.rs b/sdk/honeycode/src/json_ser.rs index 3a9fa6ba0a08..ceb63b04e40c 100644 --- a/sdk/honeycode/src/json_ser.rs +++ b/sdk/honeycode/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_batch_create_table_rows_input( let mut array_3 = object.key("rowsToCreate").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_row_data( &mut object_5, @@ -53,6 +54,7 @@ pub fn serialize_structure_crate_input_batch_update_table_rows_input( let mut array_12 = object.key("rowsToUpdate").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_row_data( &mut object_14, @@ -77,6 +79,7 @@ pub fn serialize_structure_crate_input_batch_upsert_table_rows_input( let mut array_17 = object.key("rowsToUpsert").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_upsert_row_data( &mut object_19, @@ -110,9 +113,11 @@ pub fn serialize_structure_crate_input_get_screen_data_input( object.key("screenId").string(var_23.as_str()); } if let Some(var_24) = &input.variables { + #[allow(unused_mut)] let mut object_25 = object.key("variables").start_object(); for (key_26, value_27) in var_24 { { + #[allow(unused_mut)] let mut object_28 = object_25.key(key_26.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_variable_value( &mut object_28, @@ -140,9 +145,11 @@ pub fn serialize_structure_crate_input_invoke_screen_automation_input( object.key("rowId").string(var_31.as_str()); } if let Some(var_32) = &input.variables { + #[allow(unused_mut)] let mut object_33 = object.key("variables").start_object(); for (key_34, value_35) in var_32 { { + #[allow(unused_mut)] let mut object_36 = object_33.key(key_34.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_variable_value( &mut object_36, @@ -186,6 +193,7 @@ pub fn serialize_structure_crate_input_query_table_rows_input( input: &crate::input::QueryTableRowsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_42) = &input.filter_formula { + #[allow(unused_mut)] let mut object_43 = object.key("filterFormula").start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_43, var_42)?; object_43.finish(); @@ -213,6 +221,7 @@ pub fn serialize_structure_crate_input_start_table_data_import_job_input( object.key("dataFormat").string(var_47.as_str()); } if let Some(var_48) = &input.data_source { + #[allow(unused_mut)] let mut object_49 = object.key("dataSource").start_object(); crate::json_ser::serialize_structure_crate_model_import_data_source( &mut object_49, @@ -221,6 +230,7 @@ pub fn serialize_structure_crate_input_start_table_data_import_job_input( object_49.finish(); } if let Some(var_50) = &input.import_options { + #[allow(unused_mut)] let mut object_51 = object.key("importOptions").start_object(); crate::json_ser::serialize_structure_crate_model_import_options(&mut object_51, var_50)?; object_51.finish(); @@ -233,6 +243,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.tags { + #[allow(unused_mut)] let mut object_53 = object.key("tags").start_object(); for (key_54, value_55) in var_52 { { @@ -252,9 +263,11 @@ pub fn serialize_structure_crate_model_create_row_data( object.key("batchItemId").string(var_56.as_str()); } if let Some(var_57) = &input.cells_to_create { + #[allow(unused_mut)] let mut object_58 = object.key("cellsToCreate").start_object(); for (key_59, value_60) in var_57 { { + #[allow(unused_mut)] let mut object_61 = object_58.key(key_59.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_cell_input( &mut object_61, @@ -276,9 +289,11 @@ pub fn serialize_structure_crate_model_update_row_data( object.key("rowId").string(var_62.as_str()); } if let Some(var_63) = &input.cells_to_update { + #[allow(unused_mut)] let mut object_64 = object.key("cellsToUpdate").start_object(); for (key_65, value_66) in var_63 { { + #[allow(unused_mut)] let mut object_67 = object_64.key(key_65.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_cell_input( &mut object_67, @@ -300,14 +315,17 @@ pub fn serialize_structure_crate_model_upsert_row_data( object.key("batchItemId").string(var_68.as_str()); } if let Some(var_69) = &input.filter { + #[allow(unused_mut)] let mut object_70 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_70, var_69)?; object_70.finish(); } if let Some(var_71) = &input.cells_to_update { + #[allow(unused_mut)] let mut object_72 = object.key("cellsToUpdate").start_object(); for (key_73, value_74) in var_71 { { + #[allow(unused_mut)] let mut object_75 = object_72.key(key_73.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_cell_input( &mut object_75, @@ -349,6 +367,7 @@ pub fn serialize_structure_crate_model_import_data_source( input: &crate::model::ImportDataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_79) = &input.data_source_config { + #[allow(unused_mut)] let mut object_80 = object.key("dataSourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_import_data_source_config( &mut object_80, @@ -364,6 +383,7 @@ pub fn serialize_structure_crate_model_import_options( input: &crate::model::ImportOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_81) = &input.destination_options { + #[allow(unused_mut)] let mut object_82 = object.key("destinationOptions").start_object(); crate::json_ser::serialize_structure_crate_model_destination_options( &mut object_82, @@ -372,6 +392,7 @@ pub fn serialize_structure_crate_model_import_options( object_82.finish(); } if let Some(var_83) = &input.delimited_text_options { + #[allow(unused_mut)] let mut object_84 = object.key("delimitedTextOptions").start_object(); crate::json_ser::serialize_structure_crate_model_delimited_text_import_options( &mut object_84, @@ -416,9 +437,11 @@ pub fn serialize_structure_crate_model_destination_options( input: &crate::model::DestinationOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.column_map { + #[allow(unused_mut)] let mut object_91 = object.key("columnMap").start_object(); for (key_92, value_93) in var_90 { { + #[allow(unused_mut)] let mut object_94 = object_91.key(key_92.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_source_data_column_properties( &mut object_94, diff --git a/sdk/identitystore/src/json_ser.rs b/sdk/identitystore/src/json_ser.rs index ef52dfc0db88..9f0bd3e00aec 100644 --- a/sdk/identitystore/src/json_ser.rs +++ b/sdk/identitystore/src/json_ser.rs @@ -26,6 +26,7 @@ pub fn serialize_structure_crate_input_create_group_membership_input( object.key("GroupId").string(var_5.as_str()); } if let Some(var_6) = &input.member_id { + #[allow(unused_mut)] let mut object_7 = object.key("MemberId").start_object(); crate::json_ser::serialize_union_crate_model_member_id(&mut object_7, var_6)?; object_7.finish(); @@ -44,6 +45,7 @@ pub fn serialize_structure_crate_input_create_user_input( object.key("UserName").string(var_9.as_str()); } if let Some(var_10) = &input.name { + #[allow(unused_mut)] let mut object_11 = object.key("Name").start_object(); crate::json_ser::serialize_structure_crate_model_name(&mut object_11, var_10)?; object_11.finish(); @@ -61,6 +63,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_16 = object.key("Emails").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_email(&mut object_18, item_17)?; object_18.finish(); @@ -72,6 +75,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_20 = object.key("Addresses").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_22, item_21)?; object_22.finish(); @@ -83,6 +87,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_24 = object.key("PhoneNumbers").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_phone_number( &mut object_26, @@ -197,6 +202,7 @@ pub fn serialize_structure_crate_input_get_group_id_input( object.key("IdentityStoreId").string(var_44.as_str()); } if let Some(var_45) = &input.alternate_identifier { + #[allow(unused_mut)] let mut object_46 = object.key("AlternateIdentifier").start_object(); crate::json_ser::serialize_union_crate_model_alternate_identifier(&mut object_46, var_45)?; object_46.finish(); @@ -215,6 +221,7 @@ pub fn serialize_structure_crate_input_get_group_membership_id_input( object.key("GroupId").string(var_48.as_str()); } if let Some(var_49) = &input.member_id { + #[allow(unused_mut)] let mut object_50 = object.key("MemberId").start_object(); crate::json_ser::serialize_union_crate_model_member_id(&mut object_50, var_49)?; object_50.finish(); @@ -230,6 +237,7 @@ pub fn serialize_structure_crate_input_get_user_id_input( object.key("IdentityStoreId").string(var_51.as_str()); } if let Some(var_52) = &input.alternate_identifier { + #[allow(unused_mut)] let mut object_53 = object.key("AlternateIdentifier").start_object(); crate::json_ser::serialize_union_crate_model_alternate_identifier(&mut object_53, var_52)?; object_53.finish(); @@ -245,6 +253,7 @@ pub fn serialize_structure_crate_input_is_member_in_groups_input( object.key("IdentityStoreId").string(var_54.as_str()); } if let Some(var_55) = &input.member_id { + #[allow(unused_mut)] let mut object_56 = object.key("MemberId").start_object(); crate::json_ser::serialize_union_crate_model_member_id(&mut object_56, var_55)?; object_56.finish(); @@ -291,6 +300,7 @@ pub fn serialize_structure_crate_input_list_group_memberships_for_member_input( object.key("IdentityStoreId").string(var_64.as_str()); } if let Some(var_65) = &input.member_id { + #[allow(unused_mut)] let mut object_66 = object.key("MemberId").start_object(); crate::json_ser::serialize_union_crate_model_member_id(&mut object_66, var_65)?; object_66.finish(); @@ -327,6 +337,7 @@ pub fn serialize_structure_crate_input_list_groups_input( let mut array_73 = object.key("Filters").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_75, item_74)?; object_75.finish(); @@ -357,6 +368,7 @@ pub fn serialize_structure_crate_input_list_users_input( let mut array_80 = object.key("Filters").start_array(); for item_81 in var_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_82, item_81)?; object_82.finish(); @@ -381,6 +393,7 @@ pub fn serialize_structure_crate_input_update_group_input( let mut array_86 = object.key("Operations").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_operation( &mut object_88, @@ -408,6 +421,7 @@ pub fn serialize_structure_crate_input_update_user_input( let mut array_92 = object.key("Operations").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_operation( &mut object_94, @@ -532,11 +546,13 @@ pub fn serialize_union_crate_model_alternate_identifier( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::AlternateIdentifier::ExternalId(inner) => { + #[allow(unused_mut)] let mut object_112 = object_46.key("ExternalId").start_object(); crate::json_ser::serialize_structure_crate_model_external_id(&mut object_112, inner)?; object_112.finish(); } crate::model::AlternateIdentifier::UniqueAttribute(inner) => { + #[allow(unused_mut)] let mut object_113 = object_46.key("UniqueAttribute").start_object(); crate::json_ser::serialize_structure_crate_model_unique_attribute( &mut object_113, diff --git a/sdk/imagebuilder/src/json_ser.rs b/sdk/imagebuilder/src/json_ser.rs index 35aca2c0e995..67126c36edce 100644 --- a/sdk/imagebuilder/src/json_ser.rs +++ b/sdk/imagebuilder/src/json_ser.rs @@ -50,6 +50,7 @@ pub fn serialize_structure_crate_input_create_component_input( array_12.finish(); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("tags").start_object(); for (key_16, value_17) in var_14 { { @@ -75,6 +76,7 @@ pub fn serialize_structure_crate_input_create_container_recipe_input( let mut array_21 = object.key("components").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_configuration( &mut object_23, @@ -101,6 +103,7 @@ pub fn serialize_structure_crate_input_create_container_recipe_input( object.key("imageOsVersionOverride").string(var_28.as_str()); } if let Some(var_29) = &input.instance_configuration { + #[allow(unused_mut)] let mut object_30 = object.key("instanceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_instance_configuration( &mut object_30, @@ -124,6 +127,7 @@ pub fn serialize_structure_crate_input_create_container_recipe_input( object.key("semanticVersion").string(var_35.as_str()); } if let Some(var_36) = &input.tags { + #[allow(unused_mut)] let mut object_37 = object.key("tags").start_object(); for (key_38, value_39) in var_36 { { @@ -133,6 +137,7 @@ pub fn serialize_structure_crate_input_create_container_recipe_input( object_37.finish(); } if let Some(var_40) = &input.target_repository { + #[allow(unused_mut)] let mut object_41 = object.key("targetRepository").start_object(); crate::json_ser::serialize_structure_crate_model_target_container_repository( &mut object_41, @@ -160,6 +165,7 @@ pub fn serialize_structure_crate_input_create_distribution_configuration_input( let mut array_46 = object.key("distributions").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_distribution( &mut object_48, @@ -174,6 +180,7 @@ pub fn serialize_structure_crate_input_create_distribution_configuration_input( object.key("name").string(var_49.as_str()); } if let Some(var_50) = &input.tags { + #[allow(unused_mut)] let mut object_51 = object.key("tags").start_object(); for (key_52, value_53) in var_50 { { @@ -207,6 +214,7 @@ pub fn serialize_structure_crate_input_create_image_input( object.key("imageRecipeArn").string(var_58.as_str()); } if let Some(var_59) = &input.image_tests_configuration { + #[allow(unused_mut)] let mut object_60 = object.key("imageTestsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_tests_configuration( &mut object_60, @@ -220,6 +228,7 @@ pub fn serialize_structure_crate_input_create_image_input( .string(var_61.as_str()); } if let Some(var_62) = &input.tags { + #[allow(unused_mut)] let mut object_63 = object.key("tags").start_object(); for (key_64, value_65) in var_62 { { @@ -256,6 +265,7 @@ pub fn serialize_structure_crate_input_create_image_pipeline_input( object.key("imageRecipeArn").string(var_71.as_str()); } if let Some(var_72) = &input.image_tests_configuration { + #[allow(unused_mut)] let mut object_73 = object.key("imageTestsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_tests_configuration( &mut object_73, @@ -272,6 +282,7 @@ pub fn serialize_structure_crate_input_create_image_pipeline_input( object.key("name").string(var_75.as_str()); } if let Some(var_76) = &input.schedule { + #[allow(unused_mut)] let mut object_77 = object.key("schedule").start_object(); crate::json_ser::serialize_structure_crate_model_schedule(&mut object_77, var_76)?; object_77.finish(); @@ -280,6 +291,7 @@ pub fn serialize_structure_crate_input_create_image_pipeline_input( object.key("status").string(var_78.as_str()); } if let Some(var_79) = &input.tags { + #[allow(unused_mut)] let mut object_80 = object.key("tags").start_object(); for (key_81, value_82) in var_79 { { @@ -296,6 +308,7 @@ pub fn serialize_structure_crate_input_create_image_recipe_input( input: &crate::input::CreateImageRecipeInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_83) = &input.additional_instance_configuration { + #[allow(unused_mut)] let mut object_84 = object.key("additionalInstanceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_additional_instance_configuration( &mut object_84, @@ -307,6 +320,7 @@ pub fn serialize_structure_crate_input_create_image_recipe_input( let mut array_86 = object.key("blockDeviceMappings").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_block_device_mapping( &mut object_88, @@ -324,6 +338,7 @@ pub fn serialize_structure_crate_input_create_image_recipe_input( let mut array_91 = object.key("components").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_configuration( &mut object_93, @@ -347,6 +362,7 @@ pub fn serialize_structure_crate_input_create_image_recipe_input( object.key("semanticVersion").string(var_97.as_str()); } if let Some(var_98) = &input.tags { + #[allow(unused_mut)] let mut object_99 = object.key("tags").start_object(); for (key_100, value_101) in var_98 { { @@ -372,6 +388,7 @@ pub fn serialize_structure_crate_input_create_infrastructure_configuration_input object.key("description").string(var_104.as_str()); } if let Some(var_105) = &input.instance_metadata_options { + #[allow(unused_mut)] let mut object_106 = object.key("instanceMetadataOptions").start_object(); crate::json_ser::serialize_structure_crate_model_instance_metadata_options( &mut object_106, @@ -395,6 +412,7 @@ pub fn serialize_structure_crate_input_create_infrastructure_configuration_input object.key("keyPair").string(var_111.as_str()); } if let Some(var_112) = &input.logging { + #[allow(unused_mut)] let mut object_113 = object.key("logging").start_object(); crate::json_ser::serialize_structure_crate_model_logging(&mut object_113, var_112)?; object_113.finish(); @@ -403,6 +421,7 @@ pub fn serialize_structure_crate_input_create_infrastructure_configuration_input object.key("name").string(var_114.as_str()); } if let Some(var_115) = &input.resource_tags { + #[allow(unused_mut)] let mut object_116 = object.key("resourceTags").start_object(); for (key_117, value_118) in var_115 { { @@ -427,6 +446,7 @@ pub fn serialize_structure_crate_input_create_infrastructure_configuration_input object.key("subnetId").string(var_123.as_str()); } if let Some(var_124) = &input.tags { + #[allow(unused_mut)] let mut object_125 = object.key("tags").start_object(); for (key_126, value_127) in var_124 { { @@ -473,6 +493,7 @@ pub fn serialize_structure_crate_input_import_component_input( object.key("semanticVersion").string(var_137.as_str()); } if let Some(var_138) = &input.tags { + #[allow(unused_mut)] let mut object_139 = object.key("tags").start_object(); for (key_140, value_141) in var_138 { { @@ -513,6 +534,7 @@ pub fn serialize_structure_crate_input_import_vm_image_input( object.key("semanticVersion").string(var_149.as_str()); } if let Some(var_150) = &input.tags { + #[allow(unused_mut)] let mut object_151 = object.key("tags").start_object(); for (key_152, value_153) in var_150 { { @@ -557,6 +579,7 @@ pub fn serialize_structure_crate_input_list_components_input( let mut array_159 = object.key("filters").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_161, item_160)?; object_161.finish(); @@ -587,6 +610,7 @@ pub fn serialize_structure_crate_input_list_container_recipes_input( let mut array_166 = object.key("filters").start_array(); for item_167 in var_165 { { + #[allow(unused_mut)] let mut object_168 = array_166.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_168, item_167)?; object_168.finish(); @@ -617,6 +641,7 @@ pub fn serialize_structure_crate_input_list_distribution_configurations_input( let mut array_173 = object.key("filters").start_array(); for item_174 in var_172 { { + #[allow(unused_mut)] let mut object_175 = array_173.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_175, item_174)?; object_175.finish(); @@ -644,6 +669,7 @@ pub fn serialize_structure_crate_input_list_image_build_versions_input( let mut array_179 = object.key("filters").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_181, item_180)?; object_181.finish(); @@ -693,6 +719,7 @@ pub fn serialize_structure_crate_input_list_image_pipeline_images_input( let mut array_189 = object.key("filters").start_array(); for item_190 in var_188 { { + #[allow(unused_mut)] let mut object_191 = array_189.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_191, item_190)?; object_191.finish(); @@ -723,6 +750,7 @@ pub fn serialize_structure_crate_input_list_image_pipelines_input( let mut array_196 = object.key("filters").start_array(); for item_197 in var_195 { { + #[allow(unused_mut)] let mut object_198 = array_196.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_198, item_197)?; object_198.finish(); @@ -750,6 +778,7 @@ pub fn serialize_structure_crate_input_list_image_recipes_input( let mut array_202 = object.key("filters").start_array(); for item_203 in var_201 { { + #[allow(unused_mut)] let mut object_204 = array_202.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_204, item_203)?; object_204.finish(); @@ -783,6 +812,7 @@ pub fn serialize_structure_crate_input_list_images_input( let mut array_209 = object.key("filters").start_array(); for item_210 in var_208 { { + #[allow(unused_mut)] let mut object_211 = array_209.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_211, item_210)?; object_211.finish(); @@ -816,6 +846,7 @@ pub fn serialize_structure_crate_input_list_infrastructure_configurations_input( let mut array_217 = object.key("filters").start_array(); for item_218 in var_216 { { + #[allow(unused_mut)] let mut object_219 = array_217.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_219, item_218)?; object_219.finish(); @@ -905,6 +936,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_232) = &input.tags { + #[allow(unused_mut)] let mut object_233 = object.key("tags").start_object(); for (key_234, value_235) in var_232 { { @@ -935,6 +967,7 @@ pub fn serialize_structure_crate_input_update_distribution_configuration_input( let mut array_240 = object.key("distributions").start_array(); for item_241 in var_239 { { + #[allow(unused_mut)] let mut object_242 = array_240.value().start_object(); crate::json_ser::serialize_structure_crate_model_distribution( &mut object_242, @@ -976,6 +1009,7 @@ pub fn serialize_structure_crate_input_update_image_pipeline_input( object.key("imageRecipeArn").string(var_249.as_str()); } if let Some(var_250) = &input.image_tests_configuration { + #[allow(unused_mut)] let mut object_251 = object.key("imageTestsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_tests_configuration( &mut object_251, @@ -989,6 +1023,7 @@ pub fn serialize_structure_crate_input_update_image_pipeline_input( .string(var_252.as_str()); } if let Some(var_253) = &input.schedule { + #[allow(unused_mut)] let mut object_254 = object.key("schedule").start_object(); crate::json_ser::serialize_structure_crate_model_schedule(&mut object_254, var_253)?; object_254.finish(); @@ -1015,6 +1050,7 @@ pub fn serialize_structure_crate_input_update_infrastructure_configuration_input .string(var_258.as_str()); } if let Some(var_259) = &input.instance_metadata_options { + #[allow(unused_mut)] let mut object_260 = object.key("instanceMetadataOptions").start_object(); crate::json_ser::serialize_structure_crate_model_instance_metadata_options( &mut object_260, @@ -1038,11 +1074,13 @@ pub fn serialize_structure_crate_input_update_infrastructure_configuration_input object.key("keyPair").string(var_265.as_str()); } if let Some(var_266) = &input.logging { + #[allow(unused_mut)] let mut object_267 = object.key("logging").start_object(); crate::json_ser::serialize_structure_crate_model_logging(&mut object_267, var_266)?; object_267.finish(); } if let Some(var_268) = &input.resource_tags { + #[allow(unused_mut)] let mut object_269 = object.key("resourceTags").start_object(); for (key_270, value_271) in var_268 { { @@ -1083,6 +1121,7 @@ pub fn serialize_structure_crate_model_component_configuration( let mut array_280 = object.key("parameters").start_array(); for item_281 in var_279 { { + #[allow(unused_mut)] let mut object_282 = array_280.value().start_object(); crate::json_ser::serialize_structure_crate_model_component_parameter( &mut object_282, @@ -1107,6 +1146,7 @@ pub fn serialize_structure_crate_model_instance_configuration( let mut array_285 = object.key("blockDeviceMappings").start_array(); for item_286 in var_284 { { + #[allow(unused_mut)] let mut object_287 = array_285.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_block_device_mapping( &mut object_287, @@ -1141,6 +1181,7 @@ pub fn serialize_structure_crate_model_distribution( object.key("region").string(var_290.as_str()); } if let Some(var_291) = &input.ami_distribution_configuration { + #[allow(unused_mut)] let mut object_292 = object.key("amiDistributionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ami_distribution_configuration( &mut object_292, @@ -1149,6 +1190,7 @@ pub fn serialize_structure_crate_model_distribution( object_292.finish(); } if let Some(var_293) = &input.container_distribution_configuration { + #[allow(unused_mut)] let mut object_294 = object .key("containerDistributionConfiguration") .start_object(); @@ -1171,6 +1213,7 @@ pub fn serialize_structure_crate_model_distribution( let mut array_299 = object.key("launchTemplateConfigurations").start_array(); for item_300 in var_298 { { + #[allow(unused_mut)] let mut object_301 = array_299.value().start_object(); crate::json_ser::serialize_structure_crate_model_launch_template_configuration( &mut object_301, @@ -1182,6 +1225,7 @@ pub fn serialize_structure_crate_model_distribution( array_299.finish(); } if let Some(var_302) = &input.s3_export_configuration { + #[allow(unused_mut)] let mut object_303 = object.key("s3ExportConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_export_configuration( &mut object_303, @@ -1193,6 +1237,7 @@ pub fn serialize_structure_crate_model_distribution( let mut array_305 = object.key("fastLaunchConfigurations").start_array(); for item_306 in var_304 { { + #[allow(unused_mut)] let mut object_307 = array_305.value().start_object(); crate::json_ser::serialize_structure_crate_model_fast_launch_configuration( &mut object_307, @@ -1245,6 +1290,7 @@ pub fn serialize_structure_crate_model_additional_instance_configuration( input: &crate::model::AdditionalInstanceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_313) = &input.systems_manager_agent { + #[allow(unused_mut)] let mut object_314 = object.key("systemsManagerAgent").start_object(); crate::json_ser::serialize_structure_crate_model_systems_manager_agent( &mut object_314, @@ -1266,6 +1312,7 @@ pub fn serialize_structure_crate_model_instance_block_device_mapping( object.key("deviceName").string(var_316.as_str()); } if let Some(var_317) = &input.ebs { + #[allow(unused_mut)] let mut object_318 = object.key("ebs").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_instance_block_device_specification( &mut object_318, @@ -1303,6 +1350,7 @@ pub fn serialize_structure_crate_model_logging( input: &crate::model::Logging, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_323) = &input.s3_logs { + #[allow(unused_mut)] let mut object_324 = object.key("s3Logs").start_object(); crate::json_ser::serialize_structure_crate_model_s3_logs(&mut object_324, var_323)?; object_324.finish(); @@ -1368,6 +1416,7 @@ pub fn serialize_structure_crate_model_ami_distribution_configuration( array_336.finish(); } if let Some(var_338) = &input.ami_tags { + #[allow(unused_mut)] let mut object_339 = object.key("amiTags").start_object(); for (key_340, value_341) in var_338 { { @@ -1380,6 +1429,7 @@ pub fn serialize_structure_crate_model_ami_distribution_configuration( object.key("kmsKeyId").string(var_342.as_str()); } if let Some(var_343) = &input.launch_permission { + #[allow(unused_mut)] let mut object_344 = object.key("launchPermission").start_object(); crate::json_ser::serialize_structure_crate_model_launch_permission_configuration( &mut object_344, @@ -1407,6 +1457,7 @@ pub fn serialize_structure_crate_model_container_distribution_configuration( array_347.finish(); } if let Some(var_349) = &input.target_repository { + #[allow(unused_mut)] let mut object_350 = object.key("targetRepository").start_object(); crate::json_ser::serialize_structure_crate_model_target_container_repository( &mut object_350, @@ -1462,6 +1513,7 @@ pub fn serialize_structure_crate_model_fast_launch_configuration( object.key("enabled").boolean(input.enabled); } if let Some(var_357) = &input.snapshot_configuration { + #[allow(unused_mut)] let mut object_358 = object.key("snapshotConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_fast_launch_snapshot_configuration( &mut object_358, @@ -1476,6 +1528,7 @@ pub fn serialize_structure_crate_model_fast_launch_configuration( ); } if let Some(var_360) = &input.launch_template { + #[allow(unused_mut)] let mut object_361 = object.key("launchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_fast_launch_launch_template_specification( &mut object_361, diff --git a/sdk/inspector/src/json_ser.rs b/sdk/inspector/src/json_ser.rs index 737172464b66..b2eb18a8c3a7 100644 --- a/sdk/inspector/src/json_ser.rs +++ b/sdk/inspector/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_add_attributes_to_findings_input( let mut array_5 = object.key("attributes").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute(&mut object_7, item_6)?; object_7.finish(); @@ -68,6 +69,7 @@ pub fn serialize_structure_crate_input_create_assessment_template_input( let mut array_16 = object.key("userAttributesForFindings").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_18, @@ -99,6 +101,7 @@ pub fn serialize_structure_crate_input_create_resource_group_input( let mut array_21 = object.key("resourceGroupTags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_group_tag( &mut object_23, @@ -322,6 +325,7 @@ pub fn serialize_structure_crate_input_list_assessment_run_agents_input( object.key("assessmentRunArn").string(var_60.as_str()); } if let Some(var_61) = &input.filter { + #[allow(unused_mut)] let mut object_62 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_agent_filter(&mut object_62, var_61)?; object_62.finish(); @@ -352,6 +356,7 @@ pub fn serialize_structure_crate_input_list_assessment_runs_input( array_66.finish(); } if let Some(var_68) = &input.filter { + #[allow(unused_mut)] let mut object_69 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_assessment_run_filter( &mut object_69, @@ -376,6 +381,7 @@ pub fn serialize_structure_crate_input_list_assessment_targets_input( input: &crate::input::ListAssessmentTargetsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.filter { + #[allow(unused_mut)] let mut object_73 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_assessment_target_filter( &mut object_73, @@ -409,6 +415,7 @@ pub fn serialize_structure_crate_input_list_assessment_templates_input( array_77.finish(); } if let Some(var_79) = &input.filter { + #[allow(unused_mut)] let mut object_80 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_assessment_template_filter( &mut object_80, @@ -480,6 +487,7 @@ pub fn serialize_structure_crate_input_list_findings_input( array_90.finish(); } if let Some(var_92) = &input.filter { + #[allow(unused_mut)] let mut object_93 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_finding_filter(&mut object_93, var_92)?; object_93.finish(); @@ -587,6 +595,7 @@ pub fn serialize_structure_crate_input_set_tags_for_resource_input( let mut array_111 = object.key("tags").start_array(); for item_112 in var_110 { { + #[allow(unused_mut)] let mut object_113 = array_111.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_113, item_112)?; object_113.finish(); @@ -739,6 +748,7 @@ pub fn serialize_structure_crate_model_assessment_run_filter( array_139.finish(); } if let Some(var_141) = &input.duration_range { + #[allow(unused_mut)] let mut object_142 = object.key("durationRange").start_object(); crate::json_ser::serialize_structure_crate_model_duration_range(&mut object_142, var_141)?; object_142.finish(); @@ -753,16 +763,19 @@ pub fn serialize_structure_crate_model_assessment_run_filter( array_144.finish(); } if let Some(var_146) = &input.start_time_range { + #[allow(unused_mut)] let mut object_147 = object.key("startTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_range(&mut object_147, var_146)?; object_147.finish(); } if let Some(var_148) = &input.completion_time_range { + #[allow(unused_mut)] let mut object_149 = object.key("completionTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_range(&mut object_149, var_148)?; object_149.finish(); } if let Some(var_150) = &input.state_change_time_range { + #[allow(unused_mut)] let mut object_151 = object.key("stateChangeTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_range(&mut object_151, var_150)?; object_151.finish(); @@ -790,6 +803,7 @@ pub fn serialize_structure_crate_model_assessment_template_filter( object.key("namePattern").string(var_153.as_str()); } if let Some(var_154) = &input.duration_range { + #[allow(unused_mut)] let mut object_155 = object.key("durationRange").start_object(); crate::json_ser::serialize_structure_crate_model_duration_range(&mut object_155, var_154)?; object_155.finish(); @@ -859,6 +873,7 @@ pub fn serialize_structure_crate_model_finding_filter( let mut array_175 = object.key("attributes").start_array(); for item_176 in var_174 { { + #[allow(unused_mut)] let mut object_177 = array_175.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_177, @@ -873,6 +888,7 @@ pub fn serialize_structure_crate_model_finding_filter( let mut array_179 = object.key("userAttributes").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_181, @@ -884,6 +900,7 @@ pub fn serialize_structure_crate_model_finding_filter( array_179.finish(); } if let Some(var_182) = &input.creation_time_range { + #[allow(unused_mut)] let mut object_183 = object.key("creationTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_range(&mut object_183, var_182)?; object_183.finish(); diff --git a/sdk/inspector2/src/json_ser.rs b/sdk/inspector2/src/json_ser.rs index 5a7b4a6b5f58..116083ee1123 100644 --- a/sdk/inspector2/src/json_ser.rs +++ b/sdk/inspector2/src/json_ser.rs @@ -62,6 +62,7 @@ pub fn serialize_structure_crate_input_create_filter_input( object.key("description").string(var_10.as_str()); } if let Some(var_11) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_12 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_12, var_11)?; object_12.finish(); @@ -73,6 +74,7 @@ pub fn serialize_structure_crate_input_create_filter_input( object.key("reason").string(var_14.as_str()); } if let Some(var_15) = &input.tags { + #[allow(unused_mut)] let mut object_16 = object.key("tags").start_object(); for (key_17, value_18) in var_15 { { @@ -89,6 +91,7 @@ pub fn serialize_structure_crate_input_create_findings_report_input( input: &crate::input::CreateFindingsReportInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_20 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_20, var_19)?; object_20.finish(); @@ -97,6 +100,7 @@ pub fn serialize_structure_crate_input_create_findings_report_input( object.key("reportFormat").string(var_21.as_str()); } if let Some(var_22) = &input.s3_destination { + #[allow(unused_mut)] let mut object_23 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_destination(&mut object_23, var_22)?; object_23.finish(); @@ -248,6 +252,7 @@ pub fn serialize_structure_crate_input_list_coverage_input( input: &crate::input::ListCoverageInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_47) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_48 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_coverage_filter_criteria( &mut object_48, @@ -272,6 +277,7 @@ pub fn serialize_structure_crate_input_list_coverage_statistics_input( input: &crate::input::ListCoverageStatisticsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_51) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_52 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_coverage_filter_criteria( &mut object_52, @@ -340,6 +346,7 @@ pub fn serialize_structure_crate_input_list_finding_aggregations_input( let mut array_64 = object.key("accountIds").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_66, @@ -351,6 +358,7 @@ pub fn serialize_structure_crate_input_list_finding_aggregations_input( array_64.finish(); } if let Some(var_67) = &input.aggregation_request { + #[allow(unused_mut)] let mut object_68 = object.key("aggregationRequest").start_object(); crate::json_ser::serialize_union_crate_model_aggregation_request(&mut object_68, var_67)?; object_68.finish(); @@ -375,6 +383,7 @@ pub fn serialize_structure_crate_input_list_findings_input( input: &crate::input::ListFindingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_73 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_73, var_72)?; object_73.finish(); @@ -389,6 +398,7 @@ pub fn serialize_structure_crate_input_list_findings_input( object.key("nextToken").string(var_75.as_str()); } if let Some(var_76) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_77 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_77, var_76)?; object_77.finish(); @@ -445,6 +455,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_86) = &input.tags { + #[allow(unused_mut)] let mut object_87 = object.key("tags").start_object(); for (key_88, value_89) in var_86 { { @@ -461,6 +472,7 @@ pub fn serialize_structure_crate_input_update_configuration_input( input: &crate::input::UpdateConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.ecr_configuration { + #[allow(unused_mut)] let mut object_91 = object.key("ecrConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ecr_configuration(&mut object_91, var_90)?; object_91.finish(); @@ -482,6 +494,7 @@ pub fn serialize_structure_crate_input_update_filter_input( object.key("filterArn").string(var_94.as_str()); } if let Some(var_95) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_96 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_96, var_95)?; object_96.finish(); @@ -500,6 +513,7 @@ pub fn serialize_structure_crate_input_update_organization_configuration_input( input: &crate::input::UpdateOrganizationConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_99) = &input.auto_enable { + #[allow(unused_mut)] let mut object_100 = object.key("autoEnable").start_object(); crate::json_ser::serialize_structure_crate_model_auto_enable(&mut object_100, var_99)?; object_100.finish(); @@ -515,6 +529,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_102 = object.key("findingArn").start_array(); for item_103 in var_101 { { + #[allow(unused_mut)] let mut object_104 = array_102.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_104, @@ -529,6 +544,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_106 = object.key("awsAccountId").start_array(); for item_107 in var_105 { { + #[allow(unused_mut)] let mut object_108 = array_106.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_108, @@ -543,6 +559,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_110 = object.key("findingType").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_112, @@ -557,6 +574,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_114 = object.key("severity").start_array(); for item_115 in var_113 { { + #[allow(unused_mut)] let mut object_116 = array_114.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_116, @@ -571,6 +589,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_118 = object.key("firstObservedAt").start_array(); for item_119 in var_117 { { + #[allow(unused_mut)] let mut object_120 = array_118.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_120, @@ -585,6 +604,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_122 = object.key("lastObservedAt").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_124, @@ -599,6 +619,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_126 = object.key("updatedAt").start_array(); for item_127 in var_125 { { + #[allow(unused_mut)] let mut object_128 = array_126.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_128, @@ -613,6 +634,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_130 = object.key("findingStatus").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_132, @@ -627,6 +649,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_134 = object.key("title").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_136, @@ -641,6 +664,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_138 = object.key("inspectorScore").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_140, @@ -655,6 +679,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_142 = object.key("resourceType").start_array(); for item_143 in var_141 { { + #[allow(unused_mut)] let mut object_144 = array_142.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_144, @@ -669,6 +694,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_146 = object.key("resourceId").start_array(); for item_147 in var_145 { { + #[allow(unused_mut)] let mut object_148 = array_146.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_148, @@ -683,6 +709,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_150 = object.key("resourceTags").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_map_filter( &mut object_152, @@ -697,6 +724,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_154 = object.key("ec2InstanceImageId").start_array(); for item_155 in var_153 { { + #[allow(unused_mut)] let mut object_156 = array_154.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_156, @@ -711,6 +739,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_158 = object.key("ec2InstanceVpcId").start_array(); for item_159 in var_157 { { + #[allow(unused_mut)] let mut object_160 = array_158.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_160, @@ -725,6 +754,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_162 = object.key("ec2InstanceSubnetId").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_164, @@ -739,6 +769,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_166 = object.key("ecrImagePushedAt").start_array(); for item_167 in var_165 { { + #[allow(unused_mut)] let mut object_168 = array_166.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_168, @@ -753,6 +784,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_170 = object.key("ecrImageArchitecture").start_array(); for item_171 in var_169 { { + #[allow(unused_mut)] let mut object_172 = array_170.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_172, @@ -767,6 +799,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_174 = object.key("ecrImageRegistry").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_176, @@ -781,6 +814,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_178 = object.key("ecrImageRepositoryName").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_180, @@ -795,6 +829,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_182 = object.key("ecrImageTags").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_184, @@ -809,6 +844,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_186 = object.key("ecrImageHash").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_188, @@ -823,6 +859,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_190 = object.key("portRange").start_array(); for item_191 in var_189 { { + #[allow(unused_mut)] let mut object_192 = array_190.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range_filter( &mut object_192, @@ -837,6 +874,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_194 = object.key("networkProtocol").start_array(); for item_195 in var_193 { { + #[allow(unused_mut)] let mut object_196 = array_194.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_196, @@ -851,6 +889,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_198 = object.key("componentId").start_array(); for item_199 in var_197 { { + #[allow(unused_mut)] let mut object_200 = array_198.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_200, @@ -865,6 +904,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_202 = object.key("componentType").start_array(); for item_203 in var_201 { { + #[allow(unused_mut)] let mut object_204 = array_202.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_204, @@ -879,6 +919,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_206 = object.key("vulnerabilityId").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_208, @@ -893,6 +934,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_210 = object.key("vulnerabilitySource").start_array(); for item_211 in var_209 { { + #[allow(unused_mut)] let mut object_212 = array_210.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_212, @@ -907,6 +949,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_214 = object.key("vendorSeverity").start_array(); for item_215 in var_213 { { + #[allow(unused_mut)] let mut object_216 = array_214.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_216, @@ -921,6 +964,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_218 = object.key("vulnerablePackages").start_array(); for item_219 in var_217 { { + #[allow(unused_mut)] let mut object_220 = array_218.value().start_object(); crate::json_ser::serialize_structure_crate_model_package_filter( &mut object_220, @@ -935,6 +979,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_222 = object.key("relatedVulnerabilities").start_array(); for item_223 in var_221 { { + #[allow(unused_mut)] let mut object_224 = array_222.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_224, @@ -949,6 +994,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_226 = object.key("fixAvailable").start_array(); for item_227 in var_225 { { + #[allow(unused_mut)] let mut object_228 = array_226.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_228, @@ -986,6 +1032,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_233 = object.key("scanStatusCode").start_array(); for item_234 in var_232 { { + #[allow(unused_mut)] let mut object_235 = array_233.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_235, @@ -1000,6 +1047,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_237 = object.key("scanStatusReason").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_239, @@ -1014,6 +1062,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_241 = object.key("accountId").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_243, @@ -1028,6 +1077,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_245 = object.key("resourceId").start_array(); for item_246 in var_244 { { + #[allow(unused_mut)] let mut object_247 = array_245.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_247, @@ -1042,6 +1092,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_249 = object.key("resourceType").start_array(); for item_250 in var_248 { { + #[allow(unused_mut)] let mut object_251 = array_249.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_251, @@ -1056,6 +1107,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_253 = object.key("scanType").start_array(); for item_254 in var_252 { { + #[allow(unused_mut)] let mut object_255 = array_253.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_255, @@ -1070,6 +1122,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_257 = object.key("ecrRepositoryName").start_array(); for item_258 in var_256 { { + #[allow(unused_mut)] let mut object_259 = array_257.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_259, @@ -1084,6 +1137,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_261 = object.key("ecrImageTags").start_array(); for item_262 in var_260 { { + #[allow(unused_mut)] let mut object_263 = array_261.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_string_filter( &mut object_263, @@ -1098,6 +1152,7 @@ pub fn serialize_structure_crate_model_coverage_filter_criteria( let mut array_265 = object.key("ec2InstanceTags").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_coverage_map_filter( &mut object_267, @@ -1130,6 +1185,7 @@ pub fn serialize_union_crate_model_aggregation_request( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::AggregationRequest::AccountAggregation(inner) => { + #[allow(unused_mut)] let mut object_270 = object_68.key("accountAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_account_aggregation( &mut object_270, @@ -1138,6 +1194,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_270.finish(); } crate::model::AggregationRequest::AmiAggregation(inner) => { + #[allow(unused_mut)] let mut object_271 = object_68.key("amiAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_ami_aggregation( &mut object_271, @@ -1146,6 +1203,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_271.finish(); } crate::model::AggregationRequest::AwsEcrContainerAggregation(inner) => { + #[allow(unused_mut)] let mut object_272 = object_68.key("awsEcrContainerAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecr_container_aggregation( &mut object_272, @@ -1154,6 +1212,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_272.finish(); } crate::model::AggregationRequest::Ec2InstanceAggregation(inner) => { + #[allow(unused_mut)] let mut object_273 = object_68.key("ec2InstanceAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_ec2_instance_aggregation( &mut object_273, @@ -1162,6 +1221,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_273.finish(); } crate::model::AggregationRequest::FindingTypeAggregation(inner) => { + #[allow(unused_mut)] let mut object_274 = object_68.key("findingTypeAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_finding_type_aggregation( &mut object_274, @@ -1170,6 +1230,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_274.finish(); } crate::model::AggregationRequest::ImageLayerAggregation(inner) => { + #[allow(unused_mut)] let mut object_275 = object_68.key("imageLayerAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_image_layer_aggregation( &mut object_275, @@ -1178,6 +1239,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_275.finish(); } crate::model::AggregationRequest::PackageAggregation(inner) => { + #[allow(unused_mut)] let mut object_276 = object_68.key("packageAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_package_aggregation( &mut object_276, @@ -1186,6 +1248,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_276.finish(); } crate::model::AggregationRequest::RepositoryAggregation(inner) => { + #[allow(unused_mut)] let mut object_277 = object_68.key("repositoryAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_repository_aggregation( &mut object_277, @@ -1194,6 +1257,7 @@ pub fn serialize_union_crate_model_aggregation_request( object_277.finish(); } crate::model::AggregationRequest::TitleAggregation(inner) => { + #[allow(unused_mut)] let mut object_278 = object_68.key("titleAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_title_aggregation( &mut object_278, @@ -1324,31 +1388,37 @@ pub fn serialize_structure_crate_model_package_filter( input: &crate::model::PackageFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_293) = &input.name { + #[allow(unused_mut)] let mut object_294 = object.key("name").start_object(); crate::json_ser::serialize_structure_crate_model_string_filter(&mut object_294, var_293)?; object_294.finish(); } if let Some(var_295) = &input.version { + #[allow(unused_mut)] let mut object_296 = object.key("version").start_object(); crate::json_ser::serialize_structure_crate_model_string_filter(&mut object_296, var_295)?; object_296.finish(); } if let Some(var_297) = &input.epoch { + #[allow(unused_mut)] let mut object_298 = object.key("epoch").start_object(); crate::json_ser::serialize_structure_crate_model_number_filter(&mut object_298, var_297)?; object_298.finish(); } if let Some(var_299) = &input.release { + #[allow(unused_mut)] let mut object_300 = object.key("release").start_object(); crate::json_ser::serialize_structure_crate_model_string_filter(&mut object_300, var_299)?; object_300.finish(); } if let Some(var_301) = &input.architecture { + #[allow(unused_mut)] let mut object_302 = object.key("architecture").start_object(); crate::json_ser::serialize_structure_crate_model_string_filter(&mut object_302, var_301)?; object_302.finish(); } if let Some(var_303) = &input.source_layer_hash { + #[allow(unused_mut)] let mut object_304 = object.key("sourceLayerHash").start_object(); crate::json_ser::serialize_structure_crate_model_string_filter(&mut object_304, var_303)?; object_304.finish(); @@ -1412,6 +1482,7 @@ pub fn serialize_structure_crate_model_ami_aggregation( let mut array_315 = object.key("amis").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_317, @@ -1439,6 +1510,7 @@ pub fn serialize_structure_crate_model_aws_ecr_container_aggregation( let mut array_321 = object.key("resourceIds").start_array(); for item_322 in var_320 { { + #[allow(unused_mut)] let mut object_323 = array_321.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_323, @@ -1453,6 +1525,7 @@ pub fn serialize_structure_crate_model_aws_ecr_container_aggregation( let mut array_325 = object.key("imageShas").start_array(); for item_326 in var_324 { { + #[allow(unused_mut)] let mut object_327 = array_325.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_327, @@ -1467,6 +1540,7 @@ pub fn serialize_structure_crate_model_aws_ecr_container_aggregation( let mut array_329 = object.key("repositories").start_array(); for item_330 in var_328 { { + #[allow(unused_mut)] let mut object_331 = array_329.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_331, @@ -1481,6 +1555,7 @@ pub fn serialize_structure_crate_model_aws_ecr_container_aggregation( let mut array_333 = object.key("architectures").start_array(); for item_334 in var_332 { { + #[allow(unused_mut)] let mut object_335 = array_333.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_335, @@ -1495,6 +1570,7 @@ pub fn serialize_structure_crate_model_aws_ecr_container_aggregation( let mut array_337 = object.key("imageTags").start_array(); for item_338 in var_336 { { + #[allow(unused_mut)] let mut object_339 = array_337.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_339, @@ -1522,6 +1598,7 @@ pub fn serialize_structure_crate_model_ec2_instance_aggregation( let mut array_343 = object.key("amis").start_array(); for item_344 in var_342 { { + #[allow(unused_mut)] let mut object_345 = array_343.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_345, @@ -1536,6 +1613,7 @@ pub fn serialize_structure_crate_model_ec2_instance_aggregation( let mut array_347 = object.key("operatingSystems").start_array(); for item_348 in var_346 { { + #[allow(unused_mut)] let mut object_349 = array_347.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_349, @@ -1550,6 +1628,7 @@ pub fn serialize_structure_crate_model_ec2_instance_aggregation( let mut array_351 = object.key("instanceIds").start_array(); for item_352 in var_350 { { + #[allow(unused_mut)] let mut object_353 = array_351.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_353, @@ -1564,6 +1643,7 @@ pub fn serialize_structure_crate_model_ec2_instance_aggregation( let mut array_355 = object.key("instanceTags").start_array(); for item_356 in var_354 { { + #[allow(unused_mut)] let mut object_357 = array_355.value().start_object(); crate::json_ser::serialize_structure_crate_model_map_filter( &mut object_357, @@ -1610,6 +1690,7 @@ pub fn serialize_structure_crate_model_image_layer_aggregation( let mut array_365 = object.key("repositories").start_array(); for item_366 in var_364 { { + #[allow(unused_mut)] let mut object_367 = array_365.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_367, @@ -1624,6 +1705,7 @@ pub fn serialize_structure_crate_model_image_layer_aggregation( let mut array_369 = object.key("resourceIds").start_array(); for item_370 in var_368 { { + #[allow(unused_mut)] let mut object_371 = array_369.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_371, @@ -1638,6 +1720,7 @@ pub fn serialize_structure_crate_model_image_layer_aggregation( let mut array_373 = object.key("layerHashes").start_array(); for item_374 in var_372 { { + #[allow(unused_mut)] let mut object_375 = array_373.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_375, @@ -1665,6 +1748,7 @@ pub fn serialize_structure_crate_model_package_aggregation( let mut array_379 = object.key("packageNames").start_array(); for item_380 in var_378 { { + #[allow(unused_mut)] let mut object_381 = array_379.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_381, @@ -1692,6 +1776,7 @@ pub fn serialize_structure_crate_model_repository_aggregation( let mut array_385 = object.key("repositories").start_array(); for item_386 in var_384 { { + #[allow(unused_mut)] let mut object_387 = array_385.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_387, @@ -1719,6 +1804,7 @@ pub fn serialize_structure_crate_model_title_aggregation( let mut array_391 = object.key("titles").start_array(); for item_392 in var_390 { { + #[allow(unused_mut)] let mut object_393 = array_391.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_393, @@ -1733,6 +1819,7 @@ pub fn serialize_structure_crate_model_title_aggregation( let mut array_395 = object.key("vulnerabilityIds").start_array(); for item_396 in var_394 { { + #[allow(unused_mut)] let mut object_397 = array_395.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_397, diff --git a/sdk/iot/src/json_ser.rs b/sdk/iot/src/json_ser.rs index 46af0a0d4a3f..05fae9393b73 100644 --- a/sdk/iot/src/json_ser.rs +++ b/sdk/iot/src/json_ser.rs @@ -95,6 +95,7 @@ pub fn serialize_structure_crate_input_cancel_job_execution_input( ); } if let Some(var_17) = &input.status_details { + #[allow(unused_mut)] let mut object_18 = object.key("statusDetails").start_object(); for (key_19, value_20) in var_17 { { @@ -125,6 +126,7 @@ pub fn serialize_structure_crate_input_create_audit_suppression_input( .date_time(var_24, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_25) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_26 = object.key("resourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_resource_identifier( &mut object_26, @@ -158,6 +160,7 @@ pub fn serialize_structure_crate_input_create_authorizer_input( let mut array_33 = object.key("tags").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_35, item_34)?; object_35.finish(); @@ -169,6 +172,7 @@ pub fn serialize_structure_crate_input_create_authorizer_input( object.key("tokenKeyName").string(var_36.as_str()); } if let Some(var_37) = &input.token_signing_public_keys { + #[allow(unused_mut)] let mut object_38 = object.key("tokenSigningPublicKeys").start_object(); for (key_39, value_40) in var_37 { { @@ -185,6 +189,7 @@ pub fn serialize_structure_crate_input_create_billing_group_input( input: &crate::input::CreateBillingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.billing_group_properties { + #[allow(unused_mut)] let mut object_42 = object.key("billingGroupProperties").start_object(); crate::json_ser::serialize_structure_crate_model_billing_group_properties( &mut object_42, @@ -196,6 +201,7 @@ pub fn serialize_structure_crate_input_create_billing_group_input( let mut array_44 = object.key("tags").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_46, item_45)?; object_46.finish(); @@ -235,6 +241,7 @@ pub fn serialize_structure_crate_input_create_custom_metric_input( let mut array_52 = object.key("tags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_54, item_53)?; object_54.finish(); @@ -265,6 +272,7 @@ pub fn serialize_structure_crate_input_create_dimension_input( let mut array_60 = object.key("tags").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -283,6 +291,7 @@ pub fn serialize_structure_crate_input_create_domain_configuration_input( input: &crate::input::CreateDomainConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_64) = &input.authorizer_config { + #[allow(unused_mut)] let mut object_65 = object.key("authorizerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_authorizer_config(&mut object_65, var_64)?; object_65.finish(); @@ -306,6 +315,7 @@ pub fn serialize_structure_crate_input_create_domain_configuration_input( let mut array_72 = object.key("tags").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_74, item_73)?; object_74.finish(); @@ -338,6 +348,7 @@ pub fn serialize_structure_crate_input_create_dynamic_thing_group_input( let mut array_80 = object.key("tags").start_array(); for item_81 in var_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_82, item_81)?; object_82.finish(); @@ -346,6 +357,7 @@ pub fn serialize_structure_crate_input_create_dynamic_thing_group_input( array_80.finish(); } if let Some(var_83) = &input.thing_group_properties { + #[allow(unused_mut)] let mut object_84 = object.key("thingGroupProperties").start_object(); crate::json_ser::serialize_structure_crate_model_thing_group_properties( &mut object_84, @@ -364,6 +376,7 @@ pub fn serialize_structure_crate_input_create_fleet_metric_input( object.key("aggregationField").string(var_85.as_str()); } if let Some(var_86) = &input.aggregation_type { + #[allow(unused_mut)] let mut object_87 = object.key("aggregationType").start_object(); crate::json_ser::serialize_structure_crate_model_aggregation_type(&mut object_87, var_86)?; object_87.finish(); @@ -390,6 +403,7 @@ pub fn serialize_structure_crate_input_create_fleet_metric_input( let mut array_94 = object.key("tags").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_96, item_95)?; object_96.finish(); @@ -408,6 +422,7 @@ pub fn serialize_structure_crate_input_create_job_input( input: &crate::input::CreateJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_98) = &input.abort_config { + #[allow(unused_mut)] let mut object_99 = object.key("abortConfig").start_object(); crate::json_ser::serialize_structure_crate_model_abort_config(&mut object_99, var_98)?; object_99.finish(); @@ -419,6 +434,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("document").string(var_101.as_str()); } if let Some(var_102) = &input.document_parameters { + #[allow(unused_mut)] let mut object_103 = object.key("documentParameters").start_object(); for (key_104, value_105) in var_102 { { @@ -431,6 +447,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("documentSource").string(var_106.as_str()); } if let Some(var_107) = &input.job_executions_retry_config { + #[allow(unused_mut)] let mut object_108 = object.key("jobExecutionsRetryConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_executions_retry_config( &mut object_108, @@ -439,6 +456,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_108.finish(); } if let Some(var_109) = &input.job_executions_rollout_config { + #[allow(unused_mut)] let mut object_110 = object.key("jobExecutionsRolloutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_executions_rollout_config( &mut object_110, @@ -453,6 +471,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("namespaceId").string(var_112.as_str()); } if let Some(var_113) = &input.presigned_url_config { + #[allow(unused_mut)] let mut object_114 = object.key("presignedUrlConfig").start_object(); crate::json_ser::serialize_structure_crate_model_presigned_url_config( &mut object_114, @@ -464,6 +483,7 @@ pub fn serialize_structure_crate_input_create_job_input( let mut array_116 = object.key("tags").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_118, item_117)?; object_118.finish(); @@ -484,6 +504,7 @@ pub fn serialize_structure_crate_input_create_job_input( array_121.finish(); } if let Some(var_123) = &input.timeout_config { + #[allow(unused_mut)] let mut object_124 = object.key("timeoutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timeout_config(&mut object_124, var_123)?; object_124.finish(); @@ -496,6 +517,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( input: &crate::input::CreateJobTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_125) = &input.abort_config { + #[allow(unused_mut)] let mut object_126 = object.key("abortConfig").start_object(); crate::json_ser::serialize_structure_crate_model_abort_config(&mut object_126, var_125)?; object_126.finish(); @@ -513,6 +535,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( object.key("jobArn").string(var_130.as_str()); } if let Some(var_131) = &input.job_executions_retry_config { + #[allow(unused_mut)] let mut object_132 = object.key("jobExecutionsRetryConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_executions_retry_config( &mut object_132, @@ -521,6 +544,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( object_132.finish(); } if let Some(var_133) = &input.job_executions_rollout_config { + #[allow(unused_mut)] let mut object_134 = object.key("jobExecutionsRolloutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_executions_rollout_config( &mut object_134, @@ -529,6 +553,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( object_134.finish(); } if let Some(var_135) = &input.presigned_url_config { + #[allow(unused_mut)] let mut object_136 = object.key("presignedUrlConfig").start_object(); crate::json_ser::serialize_structure_crate_model_presigned_url_config( &mut object_136, @@ -540,6 +565,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( let mut array_138 = object.key("tags").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_140, item_139)?; object_140.finish(); @@ -548,6 +574,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( array_138.finish(); } if let Some(var_141) = &input.timeout_config { + #[allow(unused_mut)] let mut object_142 = object.key("timeoutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timeout_config(&mut object_142, var_141)?; object_142.finish(); @@ -560,6 +587,7 @@ pub fn serialize_structure_crate_input_create_mitigation_action_input( input: &crate::input::CreateMitigationActionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_143) = &input.action_params { + #[allow(unused_mut)] let mut object_144 = object.key("actionParams").start_object(); crate::json_ser::serialize_structure_crate_model_mitigation_action_params( &mut object_144, @@ -574,6 +602,7 @@ pub fn serialize_structure_crate_input_create_mitigation_action_input( let mut array_147 = object.key("tags").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_149, item_148)?; object_149.finish(); @@ -589,6 +618,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( input: &crate::input::CreateOtaUpdateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_150) = &input.additional_parameters { + #[allow(unused_mut)] let mut object_151 = object.key("additionalParameters").start_object(); for (key_152, value_153) in var_150 { { @@ -598,6 +628,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( object_151.finish(); } if let Some(var_154) = &input.aws_job_abort_config { + #[allow(unused_mut)] let mut object_155 = object.key("awsJobAbortConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_abort_config( &mut object_155, @@ -606,6 +637,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( object_155.finish(); } if let Some(var_156) = &input.aws_job_executions_rollout_config { + #[allow(unused_mut)] let mut object_157 = object.key("awsJobExecutionsRolloutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_executions_rollout_config( &mut object_157, @@ -614,6 +646,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( object_157.finish(); } if let Some(var_158) = &input.aws_job_presigned_url_config { + #[allow(unused_mut)] let mut object_159 = object.key("awsJobPresignedUrlConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_presigned_url_config( &mut object_159, @@ -622,6 +655,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( object_159.finish(); } if let Some(var_160) = &input.aws_job_timeout_config { + #[allow(unused_mut)] let mut object_161 = object.key("awsJobTimeoutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_timeout_config( &mut object_161, @@ -636,6 +670,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( let mut array_164 = object.key("files").start_array(); for item_165 in var_163 { { + #[allow(unused_mut)] let mut object_166 = array_164.value().start_object(); crate::json_ser::serialize_structure_crate_model_ota_update_file( &mut object_166, @@ -662,6 +697,7 @@ pub fn serialize_structure_crate_input_create_ota_update_input( let mut array_172 = object.key("tags").start_array(); for item_173 in var_171 { { + #[allow(unused_mut)] let mut object_174 = array_172.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_174, item_173)?; object_174.finish(); @@ -695,6 +731,7 @@ pub fn serialize_structure_crate_input_create_policy_input( let mut array_181 = object.key("tags").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_183, item_182)?; object_183.finish(); @@ -726,6 +763,7 @@ pub fn serialize_structure_crate_input_create_provisioning_template_input( object.key("enabled").boolean(input.enabled); } if let Some(var_186) = &input.pre_provisioning_hook { + #[allow(unused_mut)] let mut object_187 = object.key("preProvisioningHook").start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_hook( &mut object_187, @@ -740,6 +778,7 @@ pub fn serialize_structure_crate_input_create_provisioning_template_input( let mut array_190 = object.key("tags").start_array(); for item_191 in var_189 { { + #[allow(unused_mut)] let mut object_192 = array_190.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_192, item_191)?; object_192.finish(); @@ -786,6 +825,7 @@ pub fn serialize_structure_crate_input_create_role_alias_input( let mut array_200 = object.key("tags").start_array(); for item_201 in var_199 { { + #[allow(unused_mut)] let mut object_202 = array_200.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_202, item_201)?; object_202.finish(); @@ -813,6 +853,7 @@ pub fn serialize_structure_crate_input_create_scheduled_audit_input( let mut array_207 = object.key("tags").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_209, item_208)?; object_209.finish(); @@ -849,6 +890,7 @@ pub fn serialize_structure_crate_input_create_security_profile_input( let mut array_217 = object.key("additionalMetricsToRetainV2").start_array(); for item_218 in var_216 { { + #[allow(unused_mut)] let mut object_219 = array_217.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_to_retain( &mut object_219, @@ -860,9 +902,11 @@ pub fn serialize_structure_crate_input_create_security_profile_input( array_217.finish(); } if let Some(var_220) = &input.alert_targets { + #[allow(unused_mut)] let mut object_221 = object.key("alertTargets").start_object(); for (key_222, value_223) in var_220 { { + #[allow(unused_mut)] let mut object_224 = object_221.key(key_222.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_alert_target( &mut object_224, @@ -877,6 +921,7 @@ pub fn serialize_structure_crate_input_create_security_profile_input( let mut array_226 = object.key("behaviors").start_array(); for item_227 in var_225 { { + #[allow(unused_mut)] let mut object_228 = array_226.value().start_object(); crate::json_ser::serialize_structure_crate_model_behavior( &mut object_228, @@ -896,6 +941,7 @@ pub fn serialize_structure_crate_input_create_security_profile_input( let mut array_231 = object.key("tags").start_array(); for item_232 in var_230 { { + #[allow(unused_mut)] let mut object_233 = array_231.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_233, item_232)?; object_233.finish(); @@ -917,6 +963,7 @@ pub fn serialize_structure_crate_input_create_stream_input( let mut array_236 = object.key("files").start_array(); for item_237 in var_235 { { + #[allow(unused_mut)] let mut object_238 = array_236.value().start_object(); crate::json_ser::serialize_structure_crate_model_stream_file( &mut object_238, @@ -934,6 +981,7 @@ pub fn serialize_structure_crate_input_create_stream_input( let mut array_241 = object.key("tags").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_243, item_242)?; object_243.finish(); @@ -949,6 +997,7 @@ pub fn serialize_structure_crate_input_create_thing_input( input: &crate::input::CreateThingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_244) = &input.attribute_payload { + #[allow(unused_mut)] let mut object_245 = object.key("attributePayload").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_payload( &mut object_245, @@ -976,6 +1025,7 @@ pub fn serialize_structure_crate_input_create_thing_group_input( let mut array_250 = object.key("tags").start_array(); for item_251 in var_249 { { + #[allow(unused_mut)] let mut object_252 = array_250.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_252, item_251)?; object_252.finish(); @@ -984,6 +1034,7 @@ pub fn serialize_structure_crate_input_create_thing_group_input( array_250.finish(); } if let Some(var_253) = &input.thing_group_properties { + #[allow(unused_mut)] let mut object_254 = object.key("thingGroupProperties").start_object(); crate::json_ser::serialize_structure_crate_model_thing_group_properties( &mut object_254, @@ -1002,6 +1053,7 @@ pub fn serialize_structure_crate_input_create_thing_type_input( let mut array_256 = object.key("tags").start_array(); for item_257 in var_255 { { + #[allow(unused_mut)] let mut object_258 = array_256.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_258, item_257)?; object_258.finish(); @@ -1010,6 +1062,7 @@ pub fn serialize_structure_crate_input_create_thing_type_input( array_256.finish(); } if let Some(var_259) = &input.thing_type_properties { + #[allow(unused_mut)] let mut object_260 = object.key("thingTypeProperties").start_object(); crate::json_ser::serialize_structure_crate_model_thing_type_properties( &mut object_260, @@ -1025,6 +1078,7 @@ pub fn serialize_structure_crate_input_create_topic_rule_destination_input( input: &crate::input::CreateTopicRuleDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_261) = &input.destination_configuration { + #[allow(unused_mut)] let mut object_262 = object.key("destinationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_topic_rule_destination_configuration( &mut object_262, @@ -1043,6 +1097,7 @@ pub fn serialize_structure_crate_input_delete_audit_suppression_input( object.key("checkName").string(var_263.as_str()); } if let Some(var_264) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_265 = object.key("resourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_resource_identifier( &mut object_265, @@ -1071,6 +1126,7 @@ pub fn serialize_structure_crate_input_describe_audit_suppression_input( object.key("checkName").string(var_266.as_str()); } if let Some(var_267) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_268 = object.key("resourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_resource_identifier( &mut object_268, @@ -1099,6 +1155,7 @@ pub fn serialize_structure_crate_input_get_buckets_aggregation_input( object.key("aggregationField").string(var_270.as_str()); } if let Some(var_271) = &input.buckets_aggregation_type { + #[allow(unused_mut)] let mut object_272 = object.key("bucketsAggregationType").start_object(); crate::json_ser::serialize_structure_crate_model_buckets_aggregation_type( &mut object_272, @@ -1227,6 +1284,7 @@ pub fn serialize_structure_crate_input_list_audit_findings_input( object.key("nextToken").string(var_296.as_str()); } if let Some(var_297) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_298 = object.key("resourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_resource_identifier( &mut object_298, @@ -1265,6 +1323,7 @@ pub fn serialize_structure_crate_input_list_audit_suppressions_input( object.key("nextToken").string(var_303.as_str()); } if let Some(var_304) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_305 = object.key("resourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_resource_identifier( &mut object_305, @@ -1301,6 +1360,7 @@ pub fn serialize_structure_crate_input_register_ca_certificate_input( object.key("certificateMode").string(var_309.as_str()); } if let Some(var_310) = &input.registration_config { + #[allow(unused_mut)] let mut object_311 = object.key("registrationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_registration_config( &mut object_311, @@ -1312,6 +1372,7 @@ pub fn serialize_structure_crate_input_register_ca_certificate_input( let mut array_313 = object.key("tags").start_array(); for item_314 in var_312 { { + #[allow(unused_mut)] let mut object_315 = array_313.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_315, item_314)?; object_315.finish(); @@ -1361,6 +1422,7 @@ pub fn serialize_structure_crate_input_register_thing_input( input: &crate::input::RegisterThingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_322) = &input.parameters { + #[allow(unused_mut)] let mut object_323 = object.key("parameters").start_object(); for (key_324, value_325) in var_322 { { @@ -1466,6 +1528,7 @@ pub fn serialize_structure_crate_input_set_v2_logging_level_input( object.key("logLevel").string(var_342.as_str()); } if let Some(var_343) = &input.log_target { + #[allow(unused_mut)] let mut object_344 = object.key("logTarget").start_object(); crate::json_ser::serialize_structure_crate_model_log_target(&mut object_344, var_343)?; object_344.finish(); @@ -1494,6 +1557,7 @@ pub fn serialize_structure_crate_input_start_audit_mitigation_actions_task_input input: &crate::input::StartAuditMitigationActionsTaskInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_347) = &input.audit_check_to_actions_mapping { + #[allow(unused_mut)] let mut object_348 = object.key("auditCheckToActionsMapping").start_object(); for (key_349, value_350) in var_347 { { @@ -1512,6 +1576,7 @@ pub fn serialize_structure_crate_input_start_audit_mitigation_actions_task_input object.key("clientRequestToken").string(var_353.as_str()); } if let Some(var_354) = &input.target { + #[allow(unused_mut)] let mut object_355 = object.key("target").start_object(); crate::json_ser::serialize_structure_crate_model_audit_mitigation_actions_task_target( &mut object_355, @@ -1545,6 +1610,7 @@ pub fn serialize_structure_crate_input_start_detect_mitigation_actions_task_inpu object.key("includeSuppressedAlerts").boolean(*var_361); } if let Some(var_362) = &input.target { + #[allow(unused_mut)] let mut object_363 = object.key("target").start_object(); crate::json_ser::serialize_structure_crate_model_detect_mitigation_actions_task_target( &mut object_363, @@ -1553,6 +1619,7 @@ pub fn serialize_structure_crate_input_start_detect_mitigation_actions_task_inpu object_363.finish(); } if let Some(var_364) = &input.violation_event_occurrence_range { + #[allow(unused_mut)] let mut object_365 = object.key("violationEventOccurrenceRange").start_object(); crate::json_ser::serialize_structure_crate_model_violation_event_occurrence_range( &mut object_365, @@ -1609,6 +1676,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_375 = object.key("tags").start_array(); for item_376 in var_374 { { + #[allow(unused_mut)] let mut object_377 = array_375.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_377, item_376)?; object_377.finish(); @@ -1627,6 +1695,7 @@ pub fn serialize_structure_crate_input_test_authorization_input( let mut array_379 = object.key("authInfos").start_array(); for item_380 in var_378 { { + #[allow(unused_mut)] let mut object_381 = array_379.value().start_object(); crate::json_ser::serialize_structure_crate_model_auth_info( &mut object_381, @@ -1669,16 +1738,19 @@ pub fn serialize_structure_crate_input_test_invoke_authorizer_input( input: &crate::input::TestInvokeAuthorizerInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_390) = &input.http_context { + #[allow(unused_mut)] let mut object_391 = object.key("httpContext").start_object(); crate::json_ser::serialize_structure_crate_model_http_context(&mut object_391, var_390)?; object_391.finish(); } if let Some(var_392) = &input.mqtt_context { + #[allow(unused_mut)] let mut object_393 = object.key("mqttContext").start_object(); crate::json_ser::serialize_structure_crate_model_mqtt_context(&mut object_393, var_392)?; object_393.finish(); } if let Some(var_394) = &input.tls_context { + #[allow(unused_mut)] let mut object_395 = object.key("tlsContext").start_object(); crate::json_ser::serialize_structure_crate_model_tls_context(&mut object_395, var_394)?; object_395.finish(); @@ -1726,9 +1798,11 @@ pub fn serialize_structure_crate_input_update_account_audit_configuration_input( input: &crate::input::UpdateAccountAuditConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_403) = &input.audit_check_configurations { + #[allow(unused_mut)] let mut object_404 = object.key("auditCheckConfigurations").start_object(); for (key_405, value_406) in var_403 { { + #[allow(unused_mut)] let mut object_407 = object_404.key(key_405.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_audit_check_configuration( &mut object_407, @@ -1740,11 +1814,13 @@ pub fn serialize_structure_crate_input_update_account_audit_configuration_input( object_404.finish(); } if let Some(var_408) = &input.audit_notification_target_configurations { + #[allow(unused_mut)] let mut object_409 = object .key("auditNotificationTargetConfigurations") .start_object(); for (key_410, value_411) in var_408 { { + #[allow(unused_mut)] let mut object_412 = object_409.key(key_410.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_audit_notification_target( &mut object_412, @@ -1777,6 +1853,7 @@ pub fn serialize_structure_crate_input_update_audit_suppression_input( .date_time(var_416, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_417) = &input.resource_identifier { + #[allow(unused_mut)] let mut object_418 = object.key("resourceIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_resource_identifier( &mut object_418, @@ -1807,6 +1884,7 @@ pub fn serialize_structure_crate_input_update_authorizer_input( object.key("tokenKeyName").string(var_423.as_str()); } if let Some(var_424) = &input.token_signing_public_keys { + #[allow(unused_mut)] let mut object_425 = object.key("tokenSigningPublicKeys").start_object(); for (key_426, value_427) in var_424 { { @@ -1823,6 +1901,7 @@ pub fn serialize_structure_crate_input_update_billing_group_input( input: &crate::input::UpdateBillingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_428) = &input.billing_group_properties { + #[allow(unused_mut)] let mut object_429 = object.key("billingGroupProperties").start_object(); crate::json_ser::serialize_structure_crate_model_billing_group_properties( &mut object_429, @@ -1844,6 +1923,7 @@ pub fn serialize_structure_crate_input_update_ca_certificate_input( input: &crate::input::UpdateCaCertificateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_431) = &input.registration_config { + #[allow(unused_mut)] let mut object_432 = object.key("registrationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_registration_config( &mut object_432, @@ -1890,6 +1970,7 @@ pub fn serialize_structure_crate_input_update_domain_configuration_input( input: &crate::input::UpdateDomainConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_437) = &input.authorizer_config { + #[allow(unused_mut)] let mut object_438 = object.key("authorizerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_authorizer_config( &mut object_438, @@ -1930,6 +2011,7 @@ pub fn serialize_structure_crate_input_update_dynamic_thing_group_input( object.key("queryVersion").string(var_443.as_str()); } if let Some(var_444) = &input.thing_group_properties { + #[allow(unused_mut)] let mut object_445 = object.key("thingGroupProperties").start_object(); crate::json_ser::serialize_structure_crate_model_thing_group_properties( &mut object_445, @@ -1945,9 +2027,11 @@ pub fn serialize_structure_crate_input_update_event_configurations_input( input: &crate::input::UpdateEventConfigurationsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_446) = &input.event_configurations { + #[allow(unused_mut)] let mut object_447 = object.key("eventConfigurations").start_object(); for (key_448, value_449) in var_446 { { + #[allow(unused_mut)] let mut object_450 = object_447.key(key_448.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_configuration( &mut object_450, @@ -1969,6 +2053,7 @@ pub fn serialize_structure_crate_input_update_fleet_metric_input( object.key("aggregationField").string(var_451.as_str()); } if let Some(var_452) = &input.aggregation_type { + #[allow(unused_mut)] let mut object_453 = object.key("aggregationType").start_object(); crate::json_ser::serialize_structure_crate_model_aggregation_type( &mut object_453, @@ -2011,6 +2096,7 @@ pub fn serialize_structure_crate_input_update_indexing_configuration_input( input: &crate::input::UpdateIndexingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_461) = &input.thing_group_indexing_configuration { + #[allow(unused_mut)] let mut object_462 = object.key("thingGroupIndexingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_thing_group_indexing_configuration( &mut object_462, @@ -2019,6 +2105,7 @@ pub fn serialize_structure_crate_input_update_indexing_configuration_input( object_462.finish(); } if let Some(var_463) = &input.thing_indexing_configuration { + #[allow(unused_mut)] let mut object_464 = object.key("thingIndexingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_thing_indexing_configuration( &mut object_464, @@ -2034,6 +2121,7 @@ pub fn serialize_structure_crate_input_update_job_input( input: &crate::input::UpdateJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_465) = &input.abort_config { + #[allow(unused_mut)] let mut object_466 = object.key("abortConfig").start_object(); crate::json_ser::serialize_structure_crate_model_abort_config(&mut object_466, var_465)?; object_466.finish(); @@ -2042,6 +2130,7 @@ pub fn serialize_structure_crate_input_update_job_input( object.key("description").string(var_467.as_str()); } if let Some(var_468) = &input.job_executions_retry_config { + #[allow(unused_mut)] let mut object_469 = object.key("jobExecutionsRetryConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_executions_retry_config( &mut object_469, @@ -2050,6 +2139,7 @@ pub fn serialize_structure_crate_input_update_job_input( object_469.finish(); } if let Some(var_470) = &input.job_executions_rollout_config { + #[allow(unused_mut)] let mut object_471 = object.key("jobExecutionsRolloutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_job_executions_rollout_config( &mut object_471, @@ -2058,6 +2148,7 @@ pub fn serialize_structure_crate_input_update_job_input( object_471.finish(); } if let Some(var_472) = &input.presigned_url_config { + #[allow(unused_mut)] let mut object_473 = object.key("presignedUrlConfig").start_object(); crate::json_ser::serialize_structure_crate_model_presigned_url_config( &mut object_473, @@ -2066,6 +2157,7 @@ pub fn serialize_structure_crate_input_update_job_input( object_473.finish(); } if let Some(var_474) = &input.timeout_config { + #[allow(unused_mut)] let mut object_475 = object.key("timeoutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timeout_config(&mut object_475, var_474)?; object_475.finish(); @@ -2078,6 +2170,7 @@ pub fn serialize_structure_crate_input_update_mitigation_action_input( input: &crate::input::UpdateMitigationActionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_476) = &input.action_params { + #[allow(unused_mut)] let mut object_477 = object.key("actionParams").start_object(); crate::json_ser::serialize_structure_crate_model_mitigation_action_params( &mut object_477, @@ -2108,6 +2201,7 @@ pub fn serialize_structure_crate_input_update_provisioning_template_input( object.key("enabled").boolean(input.enabled); } if let Some(var_481) = &input.pre_provisioning_hook { + #[allow(unused_mut)] let mut object_482 = object.key("preProvisioningHook").start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_hook( &mut object_482, @@ -2182,6 +2276,7 @@ pub fn serialize_structure_crate_input_update_security_profile_input( let mut array_497 = object.key("additionalMetricsToRetainV2").start_array(); for item_498 in var_496 { { + #[allow(unused_mut)] let mut object_499 = array_497.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_to_retain( &mut object_499, @@ -2193,9 +2288,11 @@ pub fn serialize_structure_crate_input_update_security_profile_input( array_497.finish(); } if let Some(var_500) = &input.alert_targets { + #[allow(unused_mut)] let mut object_501 = object.key("alertTargets").start_object(); for (key_502, value_503) in var_500 { { + #[allow(unused_mut)] let mut object_504 = object_501.key(key_502.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_alert_target( &mut object_504, @@ -2210,6 +2307,7 @@ pub fn serialize_structure_crate_input_update_security_profile_input( let mut array_506 = object.key("behaviors").start_array(); for item_507 in var_505 { { + #[allow(unused_mut)] let mut object_508 = array_506.value().start_object(); crate::json_ser::serialize_structure_crate_model_behavior( &mut object_508, @@ -2254,6 +2352,7 @@ pub fn serialize_structure_crate_input_update_stream_input( let mut array_512 = object.key("files").start_array(); for item_513 in var_511 { { + #[allow(unused_mut)] let mut object_514 = array_512.value().start_object(); crate::json_ser::serialize_structure_crate_model_stream_file( &mut object_514, @@ -2275,6 +2374,7 @@ pub fn serialize_structure_crate_input_update_thing_input( input: &crate::input::UpdateThingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_516) = &input.attribute_payload { + #[allow(unused_mut)] let mut object_517 = object.key("attributePayload").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_payload( &mut object_517, @@ -2310,6 +2410,7 @@ pub fn serialize_structure_crate_input_update_thing_group_input( ); } if let Some(var_521) = &input.thing_group_properties { + #[allow(unused_mut)] let mut object_522 = object.key("thingGroupProperties").start_object(); crate::json_ser::serialize_structure_crate_model_thing_group_properties( &mut object_522, @@ -2374,6 +2475,7 @@ pub fn serialize_structure_crate_input_validate_security_profile_behaviors_input let mut array_533 = object.key("behaviors").start_array(); for item_534 in var_532 { { + #[allow(unused_mut)] let mut object_535 = array_533.value().start_object(); crate::json_ser::serialize_structure_crate_model_behavior( &mut object_535, @@ -2404,6 +2506,7 @@ pub fn serialize_structure_crate_model_resource_identifier( object.key("clientId").string(var_539.as_str()); } if let Some(var_540) = &input.policy_version_identifier { + #[allow(unused_mut)] let mut object_541 = object.key("policyVersionIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_policy_version_identifier( &mut object_541, @@ -2469,6 +2572,7 @@ pub fn serialize_structure_crate_model_thing_group_properties( object.key("thingGroupDescription").string(var_550.as_str()); } if let Some(var_551) = &input.attribute_payload { + #[allow(unused_mut)] let mut object_552 = object.key("attributePayload").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_payload( &mut object_552, @@ -2506,6 +2610,7 @@ pub fn serialize_structure_crate_model_abort_config( let mut array_558 = object.key("criteriaList").start_array(); for item_559 in var_557 { { + #[allow(unused_mut)] let mut object_560 = array_558.value().start_object(); crate::json_ser::serialize_structure_crate_model_abort_criteria( &mut object_560, @@ -2527,6 +2632,7 @@ pub fn serialize_structure_crate_model_job_executions_retry_config( let mut array_562 = object.key("criteriaList").start_array(); for item_563 in var_561 { { + #[allow(unused_mut)] let mut object_564 = array_562.value().start_object(); crate::json_ser::serialize_structure_crate_model_retry_criteria( &mut object_564, @@ -2551,6 +2657,7 @@ pub fn serialize_structure_crate_model_job_executions_rollout_config( ); } if let Some(var_566) = &input.exponential_rate { + #[allow(unused_mut)] let mut object_567 = object.key("exponentialRate").start_object(); crate::json_ser::serialize_structure_crate_model_exponential_rollout_rate( &mut object_567, @@ -2595,6 +2702,7 @@ pub fn serialize_structure_crate_model_mitigation_action_params( input: &crate::model::MitigationActionParams, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_571) = &input.update_device_certificate_params { + #[allow(unused_mut)] let mut object_572 = object.key("updateDeviceCertificateParams").start_object(); crate::json_ser::serialize_structure_crate_model_update_device_certificate_params( &mut object_572, @@ -2603,6 +2711,7 @@ pub fn serialize_structure_crate_model_mitigation_action_params( object_572.finish(); } if let Some(var_573) = &input.update_ca_certificate_params { + #[allow(unused_mut)] let mut object_574 = object.key("updateCACertificateParams").start_object(); crate::json_ser::serialize_structure_crate_model_update_ca_certificate_params( &mut object_574, @@ -2611,6 +2720,7 @@ pub fn serialize_structure_crate_model_mitigation_action_params( object_574.finish(); } if let Some(var_575) = &input.add_things_to_thing_group_params { + #[allow(unused_mut)] let mut object_576 = object.key("addThingsToThingGroupParams").start_object(); crate::json_ser::serialize_structure_crate_model_add_things_to_thing_group_params( &mut object_576, @@ -2619,6 +2729,7 @@ pub fn serialize_structure_crate_model_mitigation_action_params( object_576.finish(); } if let Some(var_577) = &input.replace_default_policy_version_params { + #[allow(unused_mut)] let mut object_578 = object .key("replaceDefaultPolicyVersionParams") .start_object(); @@ -2629,6 +2740,7 @@ pub fn serialize_structure_crate_model_mitigation_action_params( object_578.finish(); } if let Some(var_579) = &input.enable_io_t_logging_params { + #[allow(unused_mut)] let mut object_580 = object.key("enableIoTLoggingParams").start_object(); crate::json_ser::serialize_structure_crate_model_enable_io_t_logging_params( &mut object_580, @@ -2637,6 +2749,7 @@ pub fn serialize_structure_crate_model_mitigation_action_params( object_580.finish(); } if let Some(var_581) = &input.publish_finding_to_sns_params { + #[allow(unused_mut)] let mut object_582 = object.key("publishFindingToSnsParams").start_object(); crate::json_ser::serialize_structure_crate_model_publish_finding_to_sns_params( &mut object_582, @@ -2655,6 +2768,7 @@ pub fn serialize_structure_crate_model_aws_job_abort_config( let mut array_584 = object.key("abortCriteriaList").start_array(); for item_585 in var_583 { { + #[allow(unused_mut)] let mut object_586 = array_584.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_abort_criteria( &mut object_586, @@ -2679,6 +2793,7 @@ pub fn serialize_structure_crate_model_aws_job_executions_rollout_config( ); } if let Some(var_588) = &input.exponential_rate { + #[allow(unused_mut)] let mut object_589 = object.key("exponentialRate").start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_exponential_rollout_rate( &mut object_589, @@ -2732,16 +2847,19 @@ pub fn serialize_structure_crate_model_ota_update_file( object.key("fileVersion").string(var_594.as_str()); } if let Some(var_595) = &input.file_location { + #[allow(unused_mut)] let mut object_596 = object.key("fileLocation").start_object(); crate::json_ser::serialize_structure_crate_model_file_location(&mut object_596, var_595)?; object_596.finish(); } if let Some(var_597) = &input.code_signing { + #[allow(unused_mut)] let mut object_598 = object.key("codeSigning").start_object(); crate::json_ser::serialize_structure_crate_model_code_signing(&mut object_598, var_597)?; object_598.finish(); } if let Some(var_599) = &input.attributes { + #[allow(unused_mut)] let mut object_600 = object.key("attributes").start_object(); for (key_601, value_602) in var_599 { { @@ -2774,6 +2892,7 @@ pub fn serialize_structure_crate_model_metric_to_retain( object.key("metric").string(var_605.as_str()); } if let Some(var_606) = &input.metric_dimension { + #[allow(unused_mut)] let mut object_607 = object.key("metricDimension").start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_607, @@ -2808,6 +2927,7 @@ pub fn serialize_structure_crate_model_behavior( object.key("metric").string(var_611.as_str()); } if let Some(var_612) = &input.metric_dimension { + #[allow(unused_mut)] let mut object_613 = object.key("metricDimension").start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_613, @@ -2816,6 +2936,7 @@ pub fn serialize_structure_crate_model_behavior( object_613.finish(); } if let Some(var_614) = &input.criteria { + #[allow(unused_mut)] let mut object_615 = object.key("criteria").start_object(); crate::json_ser::serialize_structure_crate_model_behavior_criteria( &mut object_615, @@ -2840,6 +2961,7 @@ pub fn serialize_structure_crate_model_stream_file( ); } if let Some(var_618) = &input.s3_location { + #[allow(unused_mut)] let mut object_619 = object.key("s3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_619, var_618)?; object_619.finish(); @@ -2852,6 +2974,7 @@ pub fn serialize_structure_crate_model_attribute_payload( input: &crate::model::AttributePayload, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_620) = &input.attributes { + #[allow(unused_mut)] let mut object_621 = object.key("attributes").start_object(); for (key_622, value_623) in var_620 { { @@ -2890,6 +3013,7 @@ pub fn serialize_structure_crate_model_topic_rule_destination_configuration( input: &crate::model::TopicRuleDestinationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_628) = &input.http_url_configuration { + #[allow(unused_mut)] let mut object_629 = object.key("httpUrlConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_url_destination_configuration( &mut object_629, @@ -2898,6 +3022,7 @@ pub fn serialize_structure_crate_model_topic_rule_destination_configuration( object_629.finish(); } if let Some(var_630) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_631 = object.key("vpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_destination_configuration( &mut object_631, @@ -2913,6 +3038,7 @@ pub fn serialize_structure_crate_model_buckets_aggregation_type( input: &crate::model::BucketsAggregationType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_632) = &input.terms_aggregation { + #[allow(unused_mut)] let mut object_633 = object.key("termsAggregation").start_object(); crate::json_ser::serialize_structure_crate_model_terms_aggregation( &mut object_633, @@ -2969,6 +3095,7 @@ pub fn serialize_structure_crate_model_audit_mitigation_actions_task_target( array_641.finish(); } if let Some(var_643) = &input.audit_check_to_reason_code_filter { + #[allow(unused_mut)] let mut object_644 = object.key("auditCheckToReasonCodeFilter").start_object(); for (key_645, value_646) in var_643 { { @@ -3049,6 +3176,7 @@ pub fn serialize_structure_crate_model_http_context( input: &crate::model::HttpContext, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_660) = &input.headers { + #[allow(unused_mut)] let mut object_661 = object.key("headers").start_object(); for (key_662, value_663) in var_660 { { @@ -3140,6 +3268,7 @@ pub fn serialize_structure_crate_model_thing_group_indexing_configuration( let mut array_673 = object.key("managedFields").start_array(); for item_674 in var_672 { { + #[allow(unused_mut)] let mut object_675 = array_673.value().start_object(); crate::json_ser::serialize_structure_crate_model_field(&mut object_675, item_674)?; object_675.finish(); @@ -3151,6 +3280,7 @@ pub fn serialize_structure_crate_model_thing_group_indexing_configuration( let mut array_677 = object.key("customFields").start_array(); for item_678 in var_676 { { + #[allow(unused_mut)] let mut object_679 = array_677.value().start_object(); crate::json_ser::serialize_structure_crate_model_field(&mut object_679, item_678)?; object_679.finish(); @@ -3187,6 +3317,7 @@ pub fn serialize_structure_crate_model_thing_indexing_configuration( let mut array_685 = object.key("managedFields").start_array(); for item_686 in var_684 { { + #[allow(unused_mut)] let mut object_687 = array_685.value().start_object(); crate::json_ser::serialize_structure_crate_model_field(&mut object_687, item_686)?; object_687.finish(); @@ -3198,6 +3329,7 @@ pub fn serialize_structure_crate_model_thing_indexing_configuration( let mut array_689 = object.key("customFields").start_array(); for item_690 in var_688 { { + #[allow(unused_mut)] let mut object_691 = array_689.value().start_object(); crate::json_ser::serialize_structure_crate_model_field(&mut object_691, item_690)?; object_691.finish(); @@ -3206,6 +3338,7 @@ pub fn serialize_structure_crate_model_thing_indexing_configuration( array_689.finish(); } if let Some(var_692) = &input.filter { + #[allow(unused_mut)] let mut object_693 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_indexing_filter(&mut object_693, var_692)?; object_693.finish(); @@ -3227,6 +3360,7 @@ pub fn serialize_structure_crate_model_topic_rule_payload( let mut array_697 = object.key("actions").start_array(); for item_698 in var_696 { { + #[allow(unused_mut)] let mut object_699 = array_697.value().start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_699, item_698)?; object_699.finish(); @@ -3241,6 +3375,7 @@ pub fn serialize_structure_crate_model_topic_rule_payload( object.key("awsIotSqlVersion").string(var_701.as_str()); } if let Some(var_702) = &input.error_action { + #[allow(unused_mut)] let mut object_703 = object.key("errorAction").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_703, var_702)?; object_703.finish(); @@ -3332,6 +3467,7 @@ pub fn serialize_structure_crate_model_exponential_rollout_rate( ); } if let Some(var_715) = &input.rate_increase_criteria { + #[allow(unused_mut)] let mut object_716 = object.key("rateIncreaseCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_rate_increase_criteria( &mut object_716, @@ -3456,6 +3592,7 @@ pub fn serialize_structure_crate_model_aws_job_exponential_rollout_rate( ); } if let Some(var_732) = &input.rate_increase_criteria { + #[allow(unused_mut)] let mut object_733 = object.key("rateIncreaseCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_aws_job_rate_increase_criteria( &mut object_733, @@ -3471,11 +3608,13 @@ pub fn serialize_structure_crate_model_file_location( input: &crate::model::FileLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_734) = &input.stream { + #[allow(unused_mut)] let mut object_735 = object.key("stream").start_object(); crate::json_ser::serialize_structure_crate_model_stream(&mut object_735, var_734)?; object_735.finish(); } if let Some(var_736) = &input.s3_location { + #[allow(unused_mut)] let mut object_737 = object.key("s3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_737, var_736)?; object_737.finish(); @@ -3491,6 +3630,7 @@ pub fn serialize_structure_crate_model_code_signing( object.key("awsSignerJobId").string(var_738.as_str()); } if let Some(var_739) = &input.start_signing_job_parameter { + #[allow(unused_mut)] let mut object_740 = object.key("startSigningJobParameter").start_object(); crate::json_ser::serialize_structure_crate_model_start_signing_job_parameter( &mut object_740, @@ -3499,6 +3639,7 @@ pub fn serialize_structure_crate_model_code_signing( object_740.finish(); } if let Some(var_741) = &input.custom_code_signing { + #[allow(unused_mut)] let mut object_742 = object.key("customCodeSigning").start_object(); crate::json_ser::serialize_structure_crate_model_custom_code_signing( &mut object_742, @@ -3530,6 +3671,7 @@ pub fn serialize_structure_crate_model_behavior_criteria( object.key("comparisonOperator").string(var_745.as_str()); } if let Some(var_746) = &input.value { + #[allow(unused_mut)] let mut object_747 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_metric_value(&mut object_747, var_746)?; object_747.finish(); @@ -3553,6 +3695,7 @@ pub fn serialize_structure_crate_model_behavior_criteria( ); } if let Some(var_751) = &input.statistical_threshold { + #[allow(unused_mut)] let mut object_752 = object.key("statisticalThreshold").start_object(); crate::json_ser::serialize_structure_crate_model_statistical_threshold( &mut object_752, @@ -3561,6 +3704,7 @@ pub fn serialize_structure_crate_model_behavior_criteria( object_752.finish(); } if let Some(var_753) = &input.ml_detection_config { + #[allow(unused_mut)] let mut object_754 = object.key("mlDetectionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_machine_learning_detection_config( &mut object_754, @@ -3675,6 +3819,7 @@ pub fn serialize_structure_crate_model_action( input: &crate::model::Action, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_772) = &input.dynamo_db { + #[allow(unused_mut)] let mut object_773 = object.key("dynamoDB").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_action( &mut object_773, @@ -3683,6 +3828,7 @@ pub fn serialize_structure_crate_model_action( object_773.finish(); } if let Some(var_774) = &input.dynamo_d_bv2 { + #[allow(unused_mut)] let mut object_775 = object.key("dynamoDBv2").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_d_bv2_action( &mut object_775, @@ -3691,26 +3837,31 @@ pub fn serialize_structure_crate_model_action( object_775.finish(); } if let Some(var_776) = &input.lambda { + #[allow(unused_mut)] let mut object_777 = object.key("lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_action(&mut object_777, var_776)?; object_777.finish(); } if let Some(var_778) = &input.sns { + #[allow(unused_mut)] let mut object_779 = object.key("sns").start_object(); crate::json_ser::serialize_structure_crate_model_sns_action(&mut object_779, var_778)?; object_779.finish(); } if let Some(var_780) = &input.sqs { + #[allow(unused_mut)] let mut object_781 = object.key("sqs").start_object(); crate::json_ser::serialize_structure_crate_model_sqs_action(&mut object_781, var_780)?; object_781.finish(); } if let Some(var_782) = &input.kinesis { + #[allow(unused_mut)] let mut object_783 = object.key("kinesis").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_action(&mut object_783, var_782)?; object_783.finish(); } if let Some(var_784) = &input.republish { + #[allow(unused_mut)] let mut object_785 = object.key("republish").start_object(); crate::json_ser::serialize_structure_crate_model_republish_action( &mut object_785, @@ -3719,16 +3870,19 @@ pub fn serialize_structure_crate_model_action( object_785.finish(); } if let Some(var_786) = &input.s3 { + #[allow(unused_mut)] let mut object_787 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_action(&mut object_787, var_786)?; object_787.finish(); } if let Some(var_788) = &input.firehose { + #[allow(unused_mut)] let mut object_789 = object.key("firehose").start_object(); crate::json_ser::serialize_structure_crate_model_firehose_action(&mut object_789, var_788)?; object_789.finish(); } if let Some(var_790) = &input.cloudwatch_metric { + #[allow(unused_mut)] let mut object_791 = object.key("cloudwatchMetric").start_object(); crate::json_ser::serialize_structure_crate_model_cloudwatch_metric_action( &mut object_791, @@ -3737,6 +3891,7 @@ pub fn serialize_structure_crate_model_action( object_791.finish(); } if let Some(var_792) = &input.cloudwatch_alarm { + #[allow(unused_mut)] let mut object_793 = object.key("cloudwatchAlarm").start_object(); crate::json_ser::serialize_structure_crate_model_cloudwatch_alarm_action( &mut object_793, @@ -3745,6 +3900,7 @@ pub fn serialize_structure_crate_model_action( object_793.finish(); } if let Some(var_794) = &input.cloudwatch_logs { + #[allow(unused_mut)] let mut object_795 = object.key("cloudwatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_cloudwatch_logs_action( &mut object_795, @@ -3753,6 +3909,7 @@ pub fn serialize_structure_crate_model_action( object_795.finish(); } if let Some(var_796) = &input.elasticsearch { + #[allow(unused_mut)] let mut object_797 = object.key("elasticsearch").start_object(); crate::json_ser::serialize_structure_crate_model_elasticsearch_action( &mut object_797, @@ -3761,6 +3918,7 @@ pub fn serialize_structure_crate_model_action( object_797.finish(); } if let Some(var_798) = &input.salesforce { + #[allow(unused_mut)] let mut object_799 = object.key("salesforce").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_action( &mut object_799, @@ -3769,6 +3927,7 @@ pub fn serialize_structure_crate_model_action( object_799.finish(); } if let Some(var_800) = &input.iot_analytics { + #[allow(unused_mut)] let mut object_801 = object.key("iotAnalytics").start_object(); crate::json_ser::serialize_structure_crate_model_iot_analytics_action( &mut object_801, @@ -3777,6 +3936,7 @@ pub fn serialize_structure_crate_model_action( object_801.finish(); } if let Some(var_802) = &input.iot_events { + #[allow(unused_mut)] let mut object_803 = object.key("iotEvents").start_object(); crate::json_ser::serialize_structure_crate_model_iot_events_action( &mut object_803, @@ -3785,6 +3945,7 @@ pub fn serialize_structure_crate_model_action( object_803.finish(); } if let Some(var_804) = &input.iot_site_wise { + #[allow(unused_mut)] let mut object_805 = object.key("iotSiteWise").start_object(); crate::json_ser::serialize_structure_crate_model_iot_site_wise_action( &mut object_805, @@ -3793,6 +3954,7 @@ pub fn serialize_structure_crate_model_action( object_805.finish(); } if let Some(var_806) = &input.step_functions { + #[allow(unused_mut)] let mut object_807 = object.key("stepFunctions").start_object(); crate::json_ser::serialize_structure_crate_model_step_functions_action( &mut object_807, @@ -3801,6 +3963,7 @@ pub fn serialize_structure_crate_model_action( object_807.finish(); } if let Some(var_808) = &input.timestream { + #[allow(unused_mut)] let mut object_809 = object.key("timestream").start_object(); crate::json_ser::serialize_structure_crate_model_timestream_action( &mut object_809, @@ -3809,16 +3972,19 @@ pub fn serialize_structure_crate_model_action( object_809.finish(); } if let Some(var_810) = &input.http { + #[allow(unused_mut)] let mut object_811 = object.key("http").start_object(); crate::json_ser::serialize_structure_crate_model_http_action(&mut object_811, var_810)?; object_811.finish(); } if let Some(var_812) = &input.kafka { + #[allow(unused_mut)] let mut object_813 = object.key("kafka").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_action(&mut object_813, var_812)?; object_813.finish(); } if let Some(var_814) = &input.open_search { + #[allow(unused_mut)] let mut object_815 = object.key("openSearch").start_object(); crate::json_ser::serialize_structure_crate_model_open_search_action( &mut object_815, @@ -3888,6 +4054,7 @@ pub fn serialize_structure_crate_model_start_signing_job_parameter( input: &crate::model::StartSigningJobParameter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_822) = &input.signing_profile_parameter { + #[allow(unused_mut)] let mut object_823 = object.key("signingProfileParameter").start_object(); crate::json_ser::serialize_structure_crate_model_signing_profile_parameter( &mut object_823, @@ -3899,6 +4066,7 @@ pub fn serialize_structure_crate_model_start_signing_job_parameter( object.key("signingProfileName").string(var_824.as_str()); } if let Some(var_825) = &input.destination { + #[allow(unused_mut)] let mut object_826 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_destination(&mut object_826, var_825)?; object_826.finish(); @@ -3911,6 +4079,7 @@ pub fn serialize_structure_crate_model_custom_code_signing( input: &crate::model::CustomCodeSigning, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_827) = &input.signature { + #[allow(unused_mut)] let mut object_828 = object.key("signature").start_object(); crate::json_ser::serialize_structure_crate_model_code_signing_signature( &mut object_828, @@ -3919,6 +4088,7 @@ pub fn serialize_structure_crate_model_custom_code_signing( object_828.finish(); } if let Some(var_829) = &input.certificate_chain { + #[allow(unused_mut)] let mut object_830 = object.key("certificateChain").start_object(); crate::json_ser::serialize_structure_crate_model_code_signing_certificate_chain( &mut object_830, @@ -4061,6 +4231,7 @@ pub fn serialize_structure_crate_model_dynamo_d_bv2_action( object.key("roleArn").string(var_859.as_str()); } if let Some(var_860) = &input.put_item { + #[allow(unused_mut)] let mut object_861 = object.key("putItem").start_object(); crate::json_ser::serialize_structure_crate_model_put_item_input(&mut object_861, var_860)?; object_861.finish(); @@ -4321,6 +4492,7 @@ pub fn serialize_structure_crate_model_iot_site_wise_action( let mut array_911 = object.key("putAssetPropertyValueEntries").start_array(); for item_912 in var_910 { { + #[allow(unused_mut)] let mut object_913 = array_911.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_asset_property_value_entry( &mut object_913, @@ -4370,6 +4542,7 @@ pub fn serialize_structure_crate_model_timestream_action( let mut array_922 = object.key("dimensions").start_array(); for item_923 in var_921 { { + #[allow(unused_mut)] let mut object_924 = array_922.value().start_object(); crate::json_ser::serialize_structure_crate_model_timestream_dimension( &mut object_924, @@ -4381,6 +4554,7 @@ pub fn serialize_structure_crate_model_timestream_action( array_922.finish(); } if let Some(var_925) = &input.timestamp { + #[allow(unused_mut)] let mut object_926 = object.key("timestamp").start_object(); crate::json_ser::serialize_structure_crate_model_timestream_timestamp( &mut object_926, @@ -4405,6 +4579,7 @@ pub fn serialize_structure_crate_model_http_action( let mut array_930 = object.key("headers").start_array(); for item_931 in var_929 { { + #[allow(unused_mut)] let mut object_932 = array_930.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_action_header( &mut object_932, @@ -4416,6 +4591,7 @@ pub fn serialize_structure_crate_model_http_action( array_930.finish(); } if let Some(var_933) = &input.auth { + #[allow(unused_mut)] let mut object_934 = object.key("auth").start_object(); crate::json_ser::serialize_structure_crate_model_http_authorization( &mut object_934, @@ -4443,6 +4619,7 @@ pub fn serialize_structure_crate_model_kafka_action( object.key("partition").string(var_938.as_str()); } if let Some(var_939) = &input.client_properties { + #[allow(unused_mut)] let mut object_940 = object.key("clientProperties").start_object(); for (key_941, value_942) in var_939 { { @@ -4499,6 +4676,7 @@ pub fn serialize_structure_crate_model_destination( input: &crate::model::Destination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_951) = &input.s3_destination { + #[allow(unused_mut)] let mut object_952 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination(&mut object_952, var_951)?; object_952.finish(); @@ -4561,6 +4739,7 @@ pub fn serialize_structure_crate_model_put_asset_property_value_entry( let mut array_962 = object.key("propertyValues").start_array(); for item_963 in var_961 { { + #[allow(unused_mut)] let mut object_964 = array_962.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_property_value( &mut object_964, @@ -4618,6 +4797,7 @@ pub fn serialize_structure_crate_model_http_authorization( input: &crate::model::HttpAuthorization, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_971) = &input.sigv4 { + #[allow(unused_mut)] let mut object_972 = object.key("sigv4").start_object(); crate::json_ser::serialize_structure_crate_model_sig_v4_authorization( &mut object_972, @@ -4646,6 +4826,7 @@ pub fn serialize_structure_crate_model_asset_property_value( input: &crate::model::AssetPropertyValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_975) = &input.value { + #[allow(unused_mut)] let mut object_976 = object.key("value").start_object(); crate::json_ser::serialize_union_crate_model_asset_property_variant( &mut object_976, @@ -4654,6 +4835,7 @@ pub fn serialize_structure_crate_model_asset_property_value( object_976.finish(); } if let Some(var_977) = &input.timestamp { + #[allow(unused_mut)] let mut object_978 = object.key("timestamp").start_object(); crate::json_ser::serialize_structure_crate_model_asset_property_timestamp( &mut object_978, diff --git a/sdk/iot1clickdevices/src/json_ser.rs b/sdk/iot1clickdevices/src/json_ser.rs index b450cb5afd25..0942808bb8bc 100644 --- a/sdk/iot1clickdevices/src/json_ser.rs +++ b/sdk/iot1clickdevices/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_finalize_device_claim_input( input: &crate::input::FinalizeDeviceClaimInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.tags { + #[allow(unused_mut)] let mut object_2 = object.key("tags").start_object(); for (key_3, value_4) in var_1 { { @@ -20,6 +21,7 @@ pub fn serialize_structure_crate_input_invoke_device_method_input( input: &crate::input::InvokeDeviceMethodInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_5) = &input.device_method { + #[allow(unused_mut)] let mut object_6 = object.key("deviceMethod").start_object(); crate::json_ser::serialize_structure_crate_model_device_method(&mut object_6, var_5)?; object_6.finish(); @@ -35,6 +37,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { diff --git a/sdk/iot1clickprojects/src/json_ser.rs b/sdk/iot1clickprojects/src/json_ser.rs index c72f712ceed1..31db3f7ddaa7 100644 --- a/sdk/iot1clickprojects/src/json_ser.rs +++ b/sdk/iot1clickprojects/src/json_ser.rs @@ -14,6 +14,7 @@ pub fn serialize_structure_crate_input_create_placement_input( input: &crate::input::CreatePlacementInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.attributes { + #[allow(unused_mut)] let mut object_3 = object.key("attributes").start_object(); for (key_4, value_5) in var_2 { { @@ -36,6 +37,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("description").string(var_7.as_str()); } if let Some(var_8) = &input.placement_template { + #[allow(unused_mut)] let mut object_9 = object.key("placementTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_placement_template(&mut object_9, var_8)?; object_9.finish(); @@ -44,6 +46,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("projectName").string(var_10.as_str()); } if let Some(var_11) = &input.tags { + #[allow(unused_mut)] let mut object_12 = object.key("tags").start_object(); for (key_13, value_14) in var_11 { { @@ -60,6 +63,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.tags { + #[allow(unused_mut)] let mut object_16 = object.key("tags").start_object(); for (key_17, value_18) in var_15 { { @@ -76,6 +80,7 @@ pub fn serialize_structure_crate_input_update_placement_input( input: &crate::input::UpdatePlacementInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.attributes { + #[allow(unused_mut)] let mut object_20 = object.key("attributes").start_object(); for (key_21, value_22) in var_19 { { @@ -95,6 +100,7 @@ pub fn serialize_structure_crate_input_update_project_input( object.key("description").string(var_23.as_str()); } if let Some(var_24) = &input.placement_template { + #[allow(unused_mut)] let mut object_25 = object.key("placementTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_placement_template( &mut object_25, @@ -110,6 +116,7 @@ pub fn serialize_structure_crate_model_placement_template( input: &crate::model::PlacementTemplate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_26) = &input.default_attributes { + #[allow(unused_mut)] let mut object_27 = object.key("defaultAttributes").start_object(); for (key_28, value_29) in var_26 { { @@ -119,9 +126,11 @@ pub fn serialize_structure_crate_model_placement_template( object_27.finish(); } if let Some(var_30) = &input.device_templates { + #[allow(unused_mut)] let mut object_31 = object.key("deviceTemplates").start_object(); for (key_32, value_33) in var_30 { { + #[allow(unused_mut)] let mut object_34 = object_31.key(key_32.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_device_template( &mut object_34, @@ -143,6 +152,7 @@ pub fn serialize_structure_crate_model_device_template( object.key("deviceType").string(var_35.as_str()); } if let Some(var_36) = &input.callback_overrides { + #[allow(unused_mut)] let mut object_37 = object.key("callbackOverrides").start_object(); for (key_38, value_39) in var_36 { { diff --git a/sdk/iotanalytics/src/json_ser.rs b/sdk/iotanalytics/src/json_ser.rs index 6374ee8ed4c5..2172ae54b616 100644 --- a/sdk/iotanalytics/src/json_ser.rs +++ b/sdk/iotanalytics/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_batch_put_message_input( let mut array_3 = object.key("messages").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_5, item_4)?; object_5.finish(); @@ -28,11 +29,13 @@ pub fn serialize_structure_crate_input_create_channel_input( object.key("channelName").string(var_6.as_str()); } if let Some(var_7) = &input.channel_storage { + #[allow(unused_mut)] let mut object_8 = object.key("channelStorage").start_object(); crate::json_ser::serialize_structure_crate_model_channel_storage(&mut object_8, var_7)?; object_8.finish(); } if let Some(var_9) = &input.retention_period { + #[allow(unused_mut)] let mut object_10 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_10, var_9)?; object_10.finish(); @@ -41,6 +44,7 @@ pub fn serialize_structure_crate_input_create_channel_input( let mut array_12 = object.key("tags").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_14, item_13)?; object_14.finish(); @@ -59,6 +63,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_16 = object.key("actions").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_dataset_action( &mut object_18, @@ -73,6 +78,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_20 = object.key("contentDeliveryRules").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_dataset_content_delivery_rule( &mut object_22, @@ -90,6 +96,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_25 = object.key("lateDataRules").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_late_data_rule( &mut object_27, @@ -101,6 +108,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( array_25.finish(); } if let Some(var_28) = &input.retention_period { + #[allow(unused_mut)] let mut object_29 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_29, var_28)?; object_29.finish(); @@ -109,6 +117,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_31 = object.key("tags").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_33, item_32)?; object_33.finish(); @@ -120,6 +129,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_35 = object.key("triggers").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_dataset_trigger( &mut object_37, @@ -131,6 +141,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( array_35.finish(); } if let Some(var_38) = &input.versioning_configuration { + #[allow(unused_mut)] let mut object_39 = object.key("versioningConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_versioning_configuration( &mut object_39, @@ -159,6 +170,7 @@ pub fn serialize_structure_crate_input_create_datastore_input( object.key("datastoreName").string(var_41.as_str()); } if let Some(var_42) = &input.datastore_partitions { + #[allow(unused_mut)] let mut object_43 = object.key("datastorePartitions").start_object(); crate::json_ser::serialize_structure_crate_model_datastore_partitions( &mut object_43, @@ -167,11 +179,13 @@ pub fn serialize_structure_crate_input_create_datastore_input( object_43.finish(); } if let Some(var_44) = &input.datastore_storage { + #[allow(unused_mut)] let mut object_45 = object.key("datastoreStorage").start_object(); crate::json_ser::serialize_union_crate_model_datastore_storage(&mut object_45, var_44)?; object_45.finish(); } if let Some(var_46) = &input.file_format_configuration { + #[allow(unused_mut)] let mut object_47 = object.key("fileFormatConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_file_format_configuration( &mut object_47, @@ -180,6 +194,7 @@ pub fn serialize_structure_crate_input_create_datastore_input( object_47.finish(); } if let Some(var_48) = &input.retention_period { + #[allow(unused_mut)] let mut object_49 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_49, var_48)?; object_49.finish(); @@ -188,6 +203,7 @@ pub fn serialize_structure_crate_input_create_datastore_input( let mut array_51 = object.key("tags").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_53, item_52)?; object_53.finish(); @@ -206,6 +222,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( let mut array_55 = object.key("pipelineActivities").start_array(); for item_56 in var_54 { { + #[allow(unused_mut)] let mut object_57 = array_55.value().start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_activity( &mut object_57, @@ -223,6 +240,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( let mut array_60 = object.key("tags").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -238,6 +256,7 @@ pub fn serialize_structure_crate_input_put_logging_options_input( input: &crate::input::PutLoggingOptionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.logging_options { + #[allow(unused_mut)] let mut object_64 = object.key("loggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_logging_options(&mut object_64, var_63)?; object_64.finish(); @@ -261,6 +280,7 @@ pub fn serialize_structure_crate_input_run_pipeline_activity_input( array_66.finish(); } if let Some(var_68) = &input.pipeline_activity { + #[allow(unused_mut)] let mut object_69 = object.key("pipelineActivity").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_activity(&mut object_69, var_68)?; object_69.finish(); @@ -273,6 +293,7 @@ pub fn serialize_structure_crate_input_start_pipeline_reprocessing_input( input: &crate::input::StartPipelineReprocessingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.channel_messages { + #[allow(unused_mut)] let mut object_71 = object.key("channelMessages").start_object(); crate::json_ser::serialize_structure_crate_model_channel_messages(&mut object_71, var_70)?; object_71.finish(); @@ -298,6 +319,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_75 = object.key("tags").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_77, item_76)?; object_77.finish(); @@ -313,11 +335,13 @@ pub fn serialize_structure_crate_input_update_channel_input( input: &crate::input::UpdateChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_78) = &input.channel_storage { + #[allow(unused_mut)] let mut object_79 = object.key("channelStorage").start_object(); crate::json_ser::serialize_structure_crate_model_channel_storage(&mut object_79, var_78)?; object_79.finish(); } if let Some(var_80) = &input.retention_period { + #[allow(unused_mut)] let mut object_81 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_81, var_80)?; object_81.finish(); @@ -333,6 +357,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( let mut array_83 = object.key("actions").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_dataset_action( &mut object_85, @@ -347,6 +372,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( let mut array_87 = object.key("contentDeliveryRules").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_dataset_content_delivery_rule( &mut object_89, @@ -361,6 +387,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( let mut array_91 = object.key("lateDataRules").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_late_data_rule( &mut object_93, @@ -372,6 +399,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( array_91.finish(); } if let Some(var_94) = &input.retention_period { + #[allow(unused_mut)] let mut object_95 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_95, var_94)?; object_95.finish(); @@ -380,6 +408,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( let mut array_97 = object.key("triggers").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_dataset_trigger( &mut object_99, @@ -391,6 +420,7 @@ pub fn serialize_structure_crate_input_update_dataset_input( array_97.finish(); } if let Some(var_100) = &input.versioning_configuration { + #[allow(unused_mut)] let mut object_101 = object.key("versioningConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_versioning_configuration( &mut object_101, @@ -406,11 +436,13 @@ pub fn serialize_structure_crate_input_update_datastore_input( input: &crate::input::UpdateDatastoreInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.datastore_storage { + #[allow(unused_mut)] let mut object_103 = object.key("datastoreStorage").start_object(); crate::json_ser::serialize_union_crate_model_datastore_storage(&mut object_103, var_102)?; object_103.finish(); } if let Some(var_104) = &input.file_format_configuration { + #[allow(unused_mut)] let mut object_105 = object.key("fileFormatConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_file_format_configuration( &mut object_105, @@ -419,6 +451,7 @@ pub fn serialize_structure_crate_input_update_datastore_input( object_105.finish(); } if let Some(var_106) = &input.retention_period { + #[allow(unused_mut)] let mut object_107 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period( &mut object_107, @@ -437,6 +470,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( let mut array_109 = object.key("pipelineActivities").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_activity( &mut object_111, @@ -470,6 +504,7 @@ pub fn serialize_structure_crate_model_channel_storage( input: &crate::model::ChannelStorage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_114) = &input.service_managed_s3 { + #[allow(unused_mut)] let mut object_115 = object.key("serviceManagedS3").start_object(); crate::json_ser::serialize_structure_crate_model_service_managed_channel_s3_storage( &mut object_115, @@ -478,6 +513,7 @@ pub fn serialize_structure_crate_model_channel_storage( object_115.finish(); } if let Some(var_116) = &input.customer_managed_s3 { + #[allow(unused_mut)] let mut object_117 = object.key("customerManagedS3").start_object(); crate::json_ser::serialize_structure_crate_model_customer_managed_channel_s3_storage( &mut object_117, @@ -525,6 +561,7 @@ pub fn serialize_structure_crate_model_dataset_action( object.key("actionName").string(var_121.as_str()); } if let Some(var_122) = &input.query_action { + #[allow(unused_mut)] let mut object_123 = object.key("queryAction").start_object(); crate::json_ser::serialize_structure_crate_model_sql_query_dataset_action( &mut object_123, @@ -533,6 +570,7 @@ pub fn serialize_structure_crate_model_dataset_action( object_123.finish(); } if let Some(var_124) = &input.container_action { + #[allow(unused_mut)] let mut object_125 = object.key("containerAction").start_object(); crate::json_ser::serialize_structure_crate_model_container_dataset_action( &mut object_125, @@ -551,6 +589,7 @@ pub fn serialize_structure_crate_model_dataset_content_delivery_rule( object.key("entryName").string(var_126.as_str()); } if let Some(var_127) = &input.destination { + #[allow(unused_mut)] let mut object_128 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_content_delivery_destination( &mut object_128, @@ -569,6 +608,7 @@ pub fn serialize_structure_crate_model_late_data_rule( object.key("ruleName").string(var_129.as_str()); } if let Some(var_130) = &input.rule_configuration { + #[allow(unused_mut)] let mut object_131 = object.key("ruleConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_late_data_rule_configuration( &mut object_131, @@ -584,11 +624,13 @@ pub fn serialize_structure_crate_model_dataset_trigger( input: &crate::model::DatasetTrigger, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_132) = &input.schedule { + #[allow(unused_mut)] let mut object_133 = object.key("schedule").start_object(); crate::json_ser::serialize_structure_crate_model_schedule(&mut object_133, var_132)?; object_133.finish(); } if let Some(var_134) = &input.dataset { + #[allow(unused_mut)] let mut object_135 = object.key("dataset").start_object(); crate::json_ser::serialize_structure_crate_model_triggering_dataset( &mut object_135, @@ -623,6 +665,7 @@ pub fn serialize_structure_crate_model_datastore_partitions( let mut array_138 = object.key("partitions").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_datastore_partition( &mut object_140, @@ -642,6 +685,7 @@ pub fn serialize_union_crate_model_datastore_storage( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::DatastoreStorage::ServiceManagedS3(inner) => { + #[allow(unused_mut)] let mut object_141 = object_45.key("serviceManagedS3").start_object(); crate::json_ser::serialize_structure_crate_model_service_managed_datastore_s3_storage( &mut object_141, @@ -650,6 +694,7 @@ pub fn serialize_union_crate_model_datastore_storage( object_141.finish(); } crate::model::DatastoreStorage::CustomerManagedS3(inner) => { + #[allow(unused_mut)] let mut object_142 = object_45.key("customerManagedS3").start_object(); crate::json_ser::serialize_structure_crate_model_customer_managed_datastore_s3_storage( &mut object_142, @@ -658,6 +703,7 @@ pub fn serialize_union_crate_model_datastore_storage( object_142.finish(); } crate::model::DatastoreStorage::IotSiteWiseMultiLayerStorage(inner) => { + #[allow(unused_mut)] let mut object_143 = object_45.key("iotSiteWiseMultiLayerStorage").start_object(); crate::json_ser::serialize_structure_crate_model_datastore_iot_site_wise_multi_layer_storage(&mut object_143, inner)?; object_143.finish(); @@ -678,6 +724,7 @@ pub fn serialize_structure_crate_model_file_format_configuration( input: &crate::model::FileFormatConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_144) = &input.json_configuration { + #[allow(unused_mut)] let mut object_145 = object.key("jsonConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_json_configuration( &mut object_145, @@ -686,6 +733,7 @@ pub fn serialize_structure_crate_model_file_format_configuration( object_145.finish(); } if let Some(var_146) = &input.parquet_configuration { + #[allow(unused_mut)] let mut object_147 = object.key("parquetConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parquet_configuration( &mut object_147, @@ -701,6 +749,7 @@ pub fn serialize_structure_crate_model_pipeline_activity( input: &crate::model::PipelineActivity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_148) = &input.channel { + #[allow(unused_mut)] let mut object_149 = object.key("channel").start_object(); crate::json_ser::serialize_structure_crate_model_channel_activity( &mut object_149, @@ -709,11 +758,13 @@ pub fn serialize_structure_crate_model_pipeline_activity( object_149.finish(); } if let Some(var_150) = &input.lambda { + #[allow(unused_mut)] let mut object_151 = object.key("lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_activity(&mut object_151, var_150)?; object_151.finish(); } if let Some(var_152) = &input.datastore { + #[allow(unused_mut)] let mut object_153 = object.key("datastore").start_object(); crate::json_ser::serialize_structure_crate_model_datastore_activity( &mut object_153, @@ -722,6 +773,7 @@ pub fn serialize_structure_crate_model_pipeline_activity( object_153.finish(); } if let Some(var_154) = &input.add_attributes { + #[allow(unused_mut)] let mut object_155 = object.key("addAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_add_attributes_activity( &mut object_155, @@ -730,6 +782,7 @@ pub fn serialize_structure_crate_model_pipeline_activity( object_155.finish(); } if let Some(var_156) = &input.remove_attributes { + #[allow(unused_mut)] let mut object_157 = object.key("removeAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_remove_attributes_activity( &mut object_157, @@ -738,6 +791,7 @@ pub fn serialize_structure_crate_model_pipeline_activity( object_157.finish(); } if let Some(var_158) = &input.select_attributes { + #[allow(unused_mut)] let mut object_159 = object.key("selectAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_select_attributes_activity( &mut object_159, @@ -746,16 +800,19 @@ pub fn serialize_structure_crate_model_pipeline_activity( object_159.finish(); } if let Some(var_160) = &input.filter { + #[allow(unused_mut)] let mut object_161 = object.key("filter").start_object(); crate::json_ser::serialize_structure_crate_model_filter_activity(&mut object_161, var_160)?; object_161.finish(); } if let Some(var_162) = &input.math { + #[allow(unused_mut)] let mut object_163 = object.key("math").start_object(); crate::json_ser::serialize_structure_crate_model_math_activity(&mut object_163, var_162)?; object_163.finish(); } if let Some(var_164) = &input.device_registry_enrich { + #[allow(unused_mut)] let mut object_165 = object.key("deviceRegistryEnrich").start_object(); crate::json_ser::serialize_structure_crate_model_device_registry_enrich_activity( &mut object_165, @@ -764,6 +821,7 @@ pub fn serialize_structure_crate_model_pipeline_activity( object_165.finish(); } if let Some(var_166) = &input.device_shadow_enrich { + #[allow(unused_mut)] let mut object_167 = object.key("deviceShadowEnrich").start_object(); crate::json_ser::serialize_structure_crate_model_device_shadow_enrich_activity( &mut object_167, @@ -841,6 +899,7 @@ pub fn serialize_structure_crate_model_sql_query_dataset_action( let mut array_178 = object.key("filters").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_query_filter( &mut object_180, @@ -865,6 +924,7 @@ pub fn serialize_structure_crate_model_container_dataset_action( object.key("executionRoleArn").string(var_182.as_str()); } if let Some(var_183) = &input.resource_configuration { + #[allow(unused_mut)] let mut object_184 = object.key("resourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_resource_configuration( &mut object_184, @@ -876,6 +936,7 @@ pub fn serialize_structure_crate_model_container_dataset_action( let mut array_186 = object.key("variables").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_variable( &mut object_188, @@ -894,6 +955,7 @@ pub fn serialize_structure_crate_model_dataset_content_delivery_destination( input: &crate::model::DatasetContentDeliveryDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_189) = &input.iot_events_destination_configuration { + #[allow(unused_mut)] let mut object_190 = object .key("iotEventsDestinationConfiguration") .start_object(); @@ -904,6 +966,7 @@ pub fn serialize_structure_crate_model_dataset_content_delivery_destination( object_190.finish(); } if let Some(var_191) = &input.s3_destination_configuration { + #[allow(unused_mut)] let mut object_192 = object.key("s3DestinationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_192, @@ -919,6 +982,7 @@ pub fn serialize_structure_crate_model_late_data_rule_configuration( input: &crate::model::LateDataRuleConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_193) = &input.delta_time_session_window_configuration { + #[allow(unused_mut)] let mut object_194 = object .key("deltaTimeSessionWindowConfiguration") .start_object(); @@ -956,11 +1020,13 @@ pub fn serialize_structure_crate_model_datastore_partition( input: &crate::model::DatastorePartition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_197) = &input.attribute_partition { + #[allow(unused_mut)] let mut object_198 = object.key("attributePartition").start_object(); crate::json_ser::serialize_structure_crate_model_partition(&mut object_198, var_197)?; object_198.finish(); } if let Some(var_199) = &input.timestamp_partition { + #[allow(unused_mut)] let mut object_200 = object.key("timestampPartition").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_partition( &mut object_200, @@ -1000,6 +1066,7 @@ pub fn serialize_structure_crate_model_datastore_iot_site_wise_multi_layer_stora input: &crate::model::DatastoreIotSiteWiseMultiLayerStorage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_204) = &input.customer_managed_s3_storage { + #[allow(unused_mut)] let mut object_205 = object.key("customerManagedS3Storage").start_object(); crate::json_ser::serialize_structure_crate_model_iot_site_wise_customer_managed_datastore_s3_storage(&mut object_205, var_204)?; object_205.finish(); @@ -1020,6 +1087,7 @@ pub fn serialize_structure_crate_model_parquet_configuration( input: &crate::model::ParquetConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_206) = &input.schema_definition { + #[allow(unused_mut)] let mut object_207 = object.key("schemaDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_schema_definition( &mut object_207, @@ -1089,6 +1157,7 @@ pub fn serialize_structure_crate_model_add_attributes_activity( object.key("name").string(var_217.as_str()); } if let Some(var_218) = &input.attributes { + #[allow(unused_mut)] let mut object_219 = object.key("attributes").start_object(); for (key_220, value_221) in var_218 { { @@ -1231,6 +1300,7 @@ pub fn serialize_structure_crate_model_query_filter( input: &crate::model::QueryFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_250) = &input.delta_time { + #[allow(unused_mut)] let mut object_251 = object.key("deltaTime").start_object(); crate::json_ser::serialize_structure_crate_model_delta_time(&mut object_251, var_250)?; object_251.finish(); @@ -1271,6 +1341,7 @@ pub fn serialize_structure_crate_model_variable( ); } if let Some(var_256) = &input.dataset_content_version_value { + #[allow(unused_mut)] let mut object_257 = object.key("datasetContentVersionValue").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_content_version_value( &mut object_257, @@ -1279,6 +1350,7 @@ pub fn serialize_structure_crate_model_variable( object_257.finish(); } if let Some(var_258) = &input.output_file_uri_value { + #[allow(unused_mut)] let mut object_259 = object.key("outputFileUriValue").start_object(); crate::json_ser::serialize_structure_crate_model_output_file_uri_value( &mut object_259, @@ -1313,6 +1385,7 @@ pub fn serialize_structure_crate_model_s3_destination_configuration( object.key("key").string(var_263.as_str()); } if let Some(var_264) = &input.glue_configuration { + #[allow(unused_mut)] let mut object_265 = object.key("glueConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_glue_configuration( &mut object_265, @@ -1383,6 +1456,7 @@ pub fn serialize_structure_crate_model_schema_definition( let mut array_274 = object.key("columns").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_column(&mut object_276, item_275)?; object_276.finish(); diff --git a/sdk/iotdeviceadvisor/src/json_ser.rs b/sdk/iotdeviceadvisor/src/json_ser.rs index 343207b64ecf..6b9d0b2fe348 100644 --- a/sdk/iotdeviceadvisor/src/json_ser.rs +++ b/sdk/iotdeviceadvisor/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_suite_definition_input( input: &crate::input::CreateSuiteDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.suite_definition_configuration { + #[allow(unused_mut)] let mut object_2 = object.key("suiteDefinitionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_suite_definition_configuration( &mut object_2, @@ -12,6 +13,7 @@ pub fn serialize_structure_crate_input_create_suite_definition_input( object_2.finish(); } if let Some(var_3) = &input.tags { + #[allow(unused_mut)] let mut object_4 = object.key("tags").start_object(); for (key_5, value_6) in var_3 { { @@ -31,6 +33,7 @@ pub fn serialize_structure_crate_input_start_suite_run_input( object.key("suiteDefinitionVersion").string(var_7.as_str()); } if let Some(var_8) = &input.suite_run_configuration { + #[allow(unused_mut)] let mut object_9 = object.key("suiteRunConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_suite_run_configuration( &mut object_9, @@ -39,6 +42,7 @@ pub fn serialize_structure_crate_input_start_suite_run_input( object_9.finish(); } if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("tags").start_object(); for (key_12, value_13) in var_10 { { @@ -55,6 +59,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("tags").start_object(); for (key_16, value_17) in var_14 { { @@ -71,6 +76,7 @@ pub fn serialize_structure_crate_input_update_suite_definition_input( input: &crate::input::UpdateSuiteDefinitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_18) = &input.suite_definition_configuration { + #[allow(unused_mut)] let mut object_19 = object.key("suiteDefinitionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_suite_definition_configuration( &mut object_19, @@ -92,6 +98,7 @@ pub fn serialize_structure_crate_model_suite_definition_configuration( let mut array_22 = object.key("devices").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_device_under_test( &mut object_24, @@ -131,6 +138,7 @@ pub fn serialize_structure_crate_model_suite_run_configuration( input: &crate::model::SuiteRunConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.primary_device { + #[allow(unused_mut)] let mut object_29 = object.key("primaryDevice").start_object(); crate::json_ser::serialize_structure_crate_model_device_under_test(&mut object_29, var_28)?; object_29.finish(); diff --git a/sdk/iotevents/src/json_ser.rs b/sdk/iotevents/src/json_ser.rs index 4f6e037a627a..a150fffcedf1 100644 --- a/sdk/iotevents/src/json_ser.rs +++ b/sdk/iotevents/src/json_ser.rs @@ -4,11 +4,13 @@ pub fn serialize_structure_crate_input_create_alarm_model_input( input: &crate::input::CreateAlarmModelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.alarm_capabilities { + #[allow(unused_mut)] let mut object_2 = object.key("alarmCapabilities").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_capabilities(&mut object_2, var_1)?; object_2.finish(); } if let Some(var_3) = &input.alarm_event_actions { + #[allow(unused_mut)] let mut object_4 = object.key("alarmEventActions").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_event_actions(&mut object_4, var_3)?; object_4.finish(); @@ -20,11 +22,13 @@ pub fn serialize_structure_crate_input_create_alarm_model_input( object.key("alarmModelName").string(var_6.as_str()); } if let Some(var_7) = &input.alarm_notification { + #[allow(unused_mut)] let mut object_8 = object.key("alarmNotification").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_notification(&mut object_8, var_7)?; object_8.finish(); } if let Some(var_9) = &input.alarm_rule { + #[allow(unused_mut)] let mut object_10 = object.key("alarmRule").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_rule(&mut object_10, var_9)?; object_10.finish(); @@ -45,6 +49,7 @@ pub fn serialize_structure_crate_input_create_alarm_model_input( let mut array_15 = object.key("tags").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_17, item_16)?; object_17.finish(); @@ -60,6 +65,7 @@ pub fn serialize_structure_crate_input_create_detector_model_input( input: &crate::input::CreateDetectorModelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_18) = &input.detector_model_definition { + #[allow(unused_mut)] let mut object_19 = object.key("detectorModelDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_detector_model_definition( &mut object_19, @@ -88,6 +94,7 @@ pub fn serialize_structure_crate_input_create_detector_model_input( let mut array_26 = object.key("tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -103,6 +110,7 @@ pub fn serialize_structure_crate_input_create_input_input( input: &crate::input::CreateInputInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_29) = &input.input_definition { + #[allow(unused_mut)] let mut object_30 = object.key("inputDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_input_definition(&mut object_30, var_29)?; object_30.finish(); @@ -117,6 +125,7 @@ pub fn serialize_structure_crate_input_create_input_input( let mut array_34 = object.key("tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -132,6 +141,7 @@ pub fn serialize_structure_crate_input_list_input_routings_input( input: &crate::input::ListInputRoutingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_37) = &input.input_identifier { + #[allow(unused_mut)] let mut object_38 = object.key("inputIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_input_identifier(&mut object_38, var_37)?; object_38.finish(); @@ -153,6 +163,7 @@ pub fn serialize_structure_crate_input_put_logging_options_input( input: &crate::input::PutLoggingOptionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.logging_options { + #[allow(unused_mut)] let mut object_42 = object.key("loggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_logging_options(&mut object_42, var_41)?; object_42.finish(); @@ -165,6 +176,7 @@ pub fn serialize_structure_crate_input_start_detector_model_analysis_input( input: &crate::input::StartDetectorModelAnalysisInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_43) = &input.detector_model_definition { + #[allow(unused_mut)] let mut object_44 = object.key("detectorModelDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_detector_model_definition( &mut object_44, @@ -183,6 +195,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_46 = object.key("tags").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_48, item_47)?; object_48.finish(); @@ -198,6 +211,7 @@ pub fn serialize_structure_crate_input_update_alarm_model_input( input: &crate::input::UpdateAlarmModelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_49) = &input.alarm_capabilities { + #[allow(unused_mut)] let mut object_50 = object.key("alarmCapabilities").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_capabilities( &mut object_50, @@ -206,6 +220,7 @@ pub fn serialize_structure_crate_input_update_alarm_model_input( object_50.finish(); } if let Some(var_51) = &input.alarm_event_actions { + #[allow(unused_mut)] let mut object_52 = object.key("alarmEventActions").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_event_actions( &mut object_52, @@ -217,6 +232,7 @@ pub fn serialize_structure_crate_input_update_alarm_model_input( object.key("alarmModelDescription").string(var_53.as_str()); } if let Some(var_54) = &input.alarm_notification { + #[allow(unused_mut)] let mut object_55 = object.key("alarmNotification").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_notification( &mut object_55, @@ -225,6 +241,7 @@ pub fn serialize_structure_crate_input_update_alarm_model_input( object_55.finish(); } if let Some(var_56) = &input.alarm_rule { + #[allow(unused_mut)] let mut object_57 = object.key("alarmRule").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_rule(&mut object_57, var_56)?; object_57.finish(); @@ -246,6 +263,7 @@ pub fn serialize_structure_crate_input_update_detector_model_input( input: &crate::input::UpdateDetectorModelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_60) = &input.detector_model_definition { + #[allow(unused_mut)] let mut object_61 = object.key("detectorModelDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_detector_model_definition( &mut object_61, @@ -272,6 +290,7 @@ pub fn serialize_structure_crate_input_update_input_input( input: &crate::input::UpdateInputInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.input_definition { + #[allow(unused_mut)] let mut object_66 = object.key("inputDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_input_definition(&mut object_66, var_65)?; object_66.finish(); @@ -287,6 +306,7 @@ pub fn serialize_structure_crate_model_alarm_capabilities( input: &crate::model::AlarmCapabilities, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_68) = &input.initialization_configuration { + #[allow(unused_mut)] let mut object_69 = object.key("initializationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_initialization_configuration( &mut object_69, @@ -295,6 +315,7 @@ pub fn serialize_structure_crate_model_alarm_capabilities( object_69.finish(); } if let Some(var_70) = &input.acknowledge_flow { + #[allow(unused_mut)] let mut object_71 = object.key("acknowledgeFlow").start_object(); crate::json_ser::serialize_structure_crate_model_acknowledge_flow(&mut object_71, var_70)?; object_71.finish(); @@ -310,6 +331,7 @@ pub fn serialize_structure_crate_model_alarm_event_actions( let mut array_73 = object.key("alarmActions").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_alarm_action( &mut object_75, @@ -331,6 +353,7 @@ pub fn serialize_structure_crate_model_alarm_notification( let mut array_77 = object.key("notificationActions").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_notification_action( &mut object_79, @@ -349,6 +372,7 @@ pub fn serialize_structure_crate_model_alarm_rule( input: &crate::model::AlarmRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.simple_rule { + #[allow(unused_mut)] let mut object_81 = object.key("simpleRule").start_object(); crate::json_ser::serialize_structure_crate_model_simple_rule(&mut object_81, var_80)?; object_81.finish(); @@ -377,6 +401,7 @@ pub fn serialize_structure_crate_model_detector_model_definition( let mut array_85 = object.key("states").start_array(); for item_86 in var_84 { { + #[allow(unused_mut)] let mut object_87 = array_85.value().start_object(); crate::json_ser::serialize_structure_crate_model_state(&mut object_87, item_86)?; object_87.finish(); @@ -398,6 +423,7 @@ pub fn serialize_structure_crate_model_input_definition( let mut array_90 = object.key("attributes").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute( &mut object_92, @@ -416,6 +442,7 @@ pub fn serialize_structure_crate_model_input_identifier( input: &crate::model::InputIdentifier, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_93) = &input.iot_events_input_identifier { + #[allow(unused_mut)] let mut object_94 = object.key("iotEventsInputIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_iot_events_input_identifier( &mut object_94, @@ -424,6 +451,7 @@ pub fn serialize_structure_crate_model_input_identifier( object_94.finish(); } if let Some(var_95) = &input.iot_site_wise_input_identifier { + #[allow(unused_mut)] let mut object_96 = object.key("iotSiteWiseInputIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_iot_site_wise_input_identifier( &mut object_96, @@ -451,6 +479,7 @@ pub fn serialize_structure_crate_model_logging_options( let mut array_100 = object.key("detectorDebugOptions").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_detector_debug_option( &mut object_102, @@ -489,6 +518,7 @@ pub fn serialize_structure_crate_model_alarm_action( input: &crate::model::AlarmAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_105) = &input.sns { + #[allow(unused_mut)] let mut object_106 = object.key("sns").start_object(); crate::json_ser::serialize_structure_crate_model_sns_topic_publish_action( &mut object_106, @@ -497,6 +527,7 @@ pub fn serialize_structure_crate_model_alarm_action( object_106.finish(); } if let Some(var_107) = &input.iot_topic_publish { + #[allow(unused_mut)] let mut object_108 = object.key("iotTopicPublish").start_object(); crate::json_ser::serialize_structure_crate_model_iot_topic_publish_action( &mut object_108, @@ -505,11 +536,13 @@ pub fn serialize_structure_crate_model_alarm_action( object_108.finish(); } if let Some(var_109) = &input.lambda { + #[allow(unused_mut)] let mut object_110 = object.key("lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_action(&mut object_110, var_109)?; object_110.finish(); } if let Some(var_111) = &input.iot_events { + #[allow(unused_mut)] let mut object_112 = object.key("iotEvents").start_object(); crate::json_ser::serialize_structure_crate_model_iot_events_action( &mut object_112, @@ -518,16 +551,19 @@ pub fn serialize_structure_crate_model_alarm_action( object_112.finish(); } if let Some(var_113) = &input.sqs { + #[allow(unused_mut)] let mut object_114 = object.key("sqs").start_object(); crate::json_ser::serialize_structure_crate_model_sqs_action(&mut object_114, var_113)?; object_114.finish(); } if let Some(var_115) = &input.firehose { + #[allow(unused_mut)] let mut object_116 = object.key("firehose").start_object(); crate::json_ser::serialize_structure_crate_model_firehose_action(&mut object_116, var_115)?; object_116.finish(); } if let Some(var_117) = &input.dynamo_db { + #[allow(unused_mut)] let mut object_118 = object.key("dynamoDB").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_action( &mut object_118, @@ -536,6 +572,7 @@ pub fn serialize_structure_crate_model_alarm_action( object_118.finish(); } if let Some(var_119) = &input.dynamo_d_bv2 { + #[allow(unused_mut)] let mut object_120 = object.key("dynamoDBv2").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_d_bv2_action( &mut object_120, @@ -544,6 +581,7 @@ pub fn serialize_structure_crate_model_alarm_action( object_120.finish(); } if let Some(var_121) = &input.iot_site_wise { + #[allow(unused_mut)] let mut object_122 = object.key("iotSiteWise").start_object(); crate::json_ser::serialize_structure_crate_model_iot_site_wise_action( &mut object_122, @@ -559,6 +597,7 @@ pub fn serialize_structure_crate_model_notification_action( input: &crate::model::NotificationAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_123) = &input.action { + #[allow(unused_mut)] let mut object_124 = object.key("action").start_object(); crate::json_ser::serialize_structure_crate_model_notification_target_actions( &mut object_124, @@ -570,6 +609,7 @@ pub fn serialize_structure_crate_model_notification_action( let mut array_126 = object.key("smsConfigurations").start_array(); for item_127 in var_125 { { + #[allow(unused_mut)] let mut object_128 = array_126.value().start_object(); crate::json_ser::serialize_structure_crate_model_sms_configuration( &mut object_128, @@ -584,6 +624,7 @@ pub fn serialize_structure_crate_model_notification_action( let mut array_130 = object.key("emailConfigurations").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_email_configuration( &mut object_132, @@ -621,6 +662,7 @@ pub fn serialize_structure_crate_model_state( object.key("stateName").string(var_136.as_str()); } if let Some(var_137) = &input.on_input { + #[allow(unused_mut)] let mut object_138 = object.key("onInput").start_object(); crate::json_ser::serialize_structure_crate_model_on_input_lifecycle( &mut object_138, @@ -629,6 +671,7 @@ pub fn serialize_structure_crate_model_state( object_138.finish(); } if let Some(var_139) = &input.on_enter { + #[allow(unused_mut)] let mut object_140 = object.key("onEnter").start_object(); crate::json_ser::serialize_structure_crate_model_on_enter_lifecycle( &mut object_140, @@ -637,6 +680,7 @@ pub fn serialize_structure_crate_model_state( object_140.finish(); } if let Some(var_141) = &input.on_exit { + #[allow(unused_mut)] let mut object_142 = object.key("onExit").start_object(); crate::json_ser::serialize_structure_crate_model_on_exit_lifecycle( &mut object_142, @@ -672,6 +716,7 @@ pub fn serialize_structure_crate_model_iot_site_wise_input_identifier( input: &crate::model::IotSiteWiseInputIdentifier, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_145) = &input.iot_site_wise_asset_model_property_identifier { + #[allow(unused_mut)] let mut object_146 = object .key("iotSiteWiseAssetModelPropertyIdentifier") .start_object(); @@ -702,6 +747,7 @@ pub fn serialize_structure_crate_model_sns_topic_publish_action( object.key("targetArn").string(var_149.as_str()); } if let Some(var_150) = &input.payload { + #[allow(unused_mut)] let mut object_151 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_151, var_150)?; object_151.finish(); @@ -717,6 +763,7 @@ pub fn serialize_structure_crate_model_iot_topic_publish_action( object.key("mqttTopic").string(var_152.as_str()); } if let Some(var_153) = &input.payload { + #[allow(unused_mut)] let mut object_154 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_154, var_153)?; object_154.finish(); @@ -732,6 +779,7 @@ pub fn serialize_structure_crate_model_lambda_action( object.key("functionArn").string(var_155.as_str()); } if let Some(var_156) = &input.payload { + #[allow(unused_mut)] let mut object_157 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_157, var_156)?; object_157.finish(); @@ -747,6 +795,7 @@ pub fn serialize_structure_crate_model_iot_events_action( object.key("inputName").string(var_158.as_str()); } if let Some(var_159) = &input.payload { + #[allow(unused_mut)] let mut object_160 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_160, var_159)?; object_160.finish(); @@ -765,6 +814,7 @@ pub fn serialize_structure_crate_model_sqs_action( object.key("useBase64").boolean(*var_162); } if let Some(var_163) = &input.payload { + #[allow(unused_mut)] let mut object_164 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_164, var_163)?; object_164.finish(); @@ -783,6 +833,7 @@ pub fn serialize_structure_crate_model_firehose_action( object.key("separator").string(var_166.as_str()); } if let Some(var_167) = &input.payload { + #[allow(unused_mut)] let mut object_168 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_168, var_167)?; object_168.finish(); @@ -822,6 +873,7 @@ pub fn serialize_structure_crate_model_dynamo_db_action( object.key("tableName").string(var_177.as_str()); } if let Some(var_178) = &input.payload { + #[allow(unused_mut)] let mut object_179 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_179, var_178)?; object_179.finish(); @@ -837,6 +889,7 @@ pub fn serialize_structure_crate_model_dynamo_d_bv2_action( object.key("tableName").string(var_180.as_str()); } if let Some(var_181) = &input.payload { + #[allow(unused_mut)] let mut object_182 = object.key("payload").start_object(); crate::json_ser::serialize_structure_crate_model_payload(&mut object_182, var_181)?; object_182.finish(); @@ -861,6 +914,7 @@ pub fn serialize_structure_crate_model_iot_site_wise_action( object.key("propertyAlias").string(var_186.as_str()); } if let Some(var_187) = &input.property_value { + #[allow(unused_mut)] let mut object_188 = object.key("propertyValue").start_object(); crate::json_ser::serialize_structure_crate_model_asset_property_value( &mut object_188, @@ -876,6 +930,7 @@ pub fn serialize_structure_crate_model_notification_target_actions( input: &crate::model::NotificationTargetActions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_189) = &input.lambda_action { + #[allow(unused_mut)] let mut object_190 = object.key("lambdaAction").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_action(&mut object_190, var_189)?; object_190.finish(); @@ -897,6 +952,7 @@ pub fn serialize_structure_crate_model_sms_configuration( let mut array_194 = object.key("recipients").start_array(); for item_195 in var_193 { { + #[allow(unused_mut)] let mut object_196 = array_194.value().start_object(); crate::json_ser::serialize_structure_crate_model_recipient_detail( &mut object_196, @@ -918,11 +974,13 @@ pub fn serialize_structure_crate_model_email_configuration( object.key("from").string(var_197.as_str()); } if let Some(var_198) = &input.content { + #[allow(unused_mut)] let mut object_199 = object.key("content").start_object(); crate::json_ser::serialize_structure_crate_model_email_content(&mut object_199, var_198)?; object_199.finish(); } if let Some(var_200) = &input.recipients { + #[allow(unused_mut)] let mut object_201 = object.key("recipients").start_object(); crate::json_ser::serialize_structure_crate_model_email_recipients( &mut object_201, @@ -941,6 +999,7 @@ pub fn serialize_structure_crate_model_on_input_lifecycle( let mut array_203 = object.key("events").start_array(); for item_204 in var_202 { { + #[allow(unused_mut)] let mut object_205 = array_203.value().start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_205, item_204)?; object_205.finish(); @@ -952,6 +1011,7 @@ pub fn serialize_structure_crate_model_on_input_lifecycle( let mut array_207 = object.key("transitionEvents").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_transition_event( &mut object_209, @@ -973,6 +1033,7 @@ pub fn serialize_structure_crate_model_on_enter_lifecycle( let mut array_211 = object.key("events").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_213, item_212)?; object_213.finish(); @@ -991,6 +1052,7 @@ pub fn serialize_structure_crate_model_on_exit_lifecycle( let mut array_215 = object.key("events").start_array(); for item_216 in var_214 { { + #[allow(unused_mut)] let mut object_217 = array_215.value().start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_217, item_216)?; object_217.finish(); @@ -1032,6 +1094,7 @@ pub fn serialize_structure_crate_model_asset_property_value( input: &crate::model::AssetPropertyValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_222) = &input.value { + #[allow(unused_mut)] let mut object_223 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_asset_property_variant( &mut object_223, @@ -1040,6 +1103,7 @@ pub fn serialize_structure_crate_model_asset_property_value( object_223.finish(); } if let Some(var_224) = &input.timestamp { + #[allow(unused_mut)] let mut object_225 = object.key("timestamp").start_object(); crate::json_ser::serialize_structure_crate_model_asset_property_timestamp( &mut object_225, @@ -1058,6 +1122,7 @@ pub fn serialize_structure_crate_model_recipient_detail( input: &crate::model::RecipientDetail, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_227) = &input.sso_identity { + #[allow(unused_mut)] let mut object_228 = object.key("ssoIdentity").start_object(); crate::json_ser::serialize_structure_crate_model_sso_identity(&mut object_228, var_227)?; object_228.finish(); @@ -1086,6 +1151,7 @@ pub fn serialize_structure_crate_model_email_recipients( let mut array_232 = object.key("to").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_recipient_detail( &mut object_234, @@ -1113,6 +1179,7 @@ pub fn serialize_structure_crate_model_event( let mut array_238 = object.key("actions").start_array(); for item_239 in var_237 { { + #[allow(unused_mut)] let mut object_240 = array_238.value().start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_240, item_239)?; object_240.finish(); @@ -1137,6 +1204,7 @@ pub fn serialize_structure_crate_model_transition_event( let mut array_244 = object.key("actions").start_array(); for item_245 in var_243 { { + #[allow(unused_mut)] let mut object_246 = array_244.value().start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_246, item_245)?; object_246.finish(); @@ -1200,6 +1268,7 @@ pub fn serialize_structure_crate_model_action( input: &crate::model::Action, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_256) = &input.set_variable { + #[allow(unused_mut)] let mut object_257 = object.key("setVariable").start_object(); crate::json_ser::serialize_structure_crate_model_set_variable_action( &mut object_257, @@ -1208,6 +1277,7 @@ pub fn serialize_structure_crate_model_action( object_257.finish(); } if let Some(var_258) = &input.sns { + #[allow(unused_mut)] let mut object_259 = object.key("sns").start_object(); crate::json_ser::serialize_structure_crate_model_sns_topic_publish_action( &mut object_259, @@ -1216,6 +1286,7 @@ pub fn serialize_structure_crate_model_action( object_259.finish(); } if let Some(var_260) = &input.iot_topic_publish { + #[allow(unused_mut)] let mut object_261 = object.key("iotTopicPublish").start_object(); crate::json_ser::serialize_structure_crate_model_iot_topic_publish_action( &mut object_261, @@ -1224,6 +1295,7 @@ pub fn serialize_structure_crate_model_action( object_261.finish(); } if let Some(var_262) = &input.set_timer { + #[allow(unused_mut)] let mut object_263 = object.key("setTimer").start_object(); crate::json_ser::serialize_structure_crate_model_set_timer_action( &mut object_263, @@ -1232,6 +1304,7 @@ pub fn serialize_structure_crate_model_action( object_263.finish(); } if let Some(var_264) = &input.clear_timer { + #[allow(unused_mut)] let mut object_265 = object.key("clearTimer").start_object(); crate::json_ser::serialize_structure_crate_model_clear_timer_action( &mut object_265, @@ -1240,6 +1313,7 @@ pub fn serialize_structure_crate_model_action( object_265.finish(); } if let Some(var_266) = &input.reset_timer { + #[allow(unused_mut)] let mut object_267 = object.key("resetTimer").start_object(); crate::json_ser::serialize_structure_crate_model_reset_timer_action( &mut object_267, @@ -1248,11 +1322,13 @@ pub fn serialize_structure_crate_model_action( object_267.finish(); } if let Some(var_268) = &input.lambda { + #[allow(unused_mut)] let mut object_269 = object.key("lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_action(&mut object_269, var_268)?; object_269.finish(); } if let Some(var_270) = &input.iot_events { + #[allow(unused_mut)] let mut object_271 = object.key("iotEvents").start_object(); crate::json_ser::serialize_structure_crate_model_iot_events_action( &mut object_271, @@ -1261,16 +1337,19 @@ pub fn serialize_structure_crate_model_action( object_271.finish(); } if let Some(var_272) = &input.sqs { + #[allow(unused_mut)] let mut object_273 = object.key("sqs").start_object(); crate::json_ser::serialize_structure_crate_model_sqs_action(&mut object_273, var_272)?; object_273.finish(); } if let Some(var_274) = &input.firehose { + #[allow(unused_mut)] let mut object_275 = object.key("firehose").start_object(); crate::json_ser::serialize_structure_crate_model_firehose_action(&mut object_275, var_274)?; object_275.finish(); } if let Some(var_276) = &input.dynamo_db { + #[allow(unused_mut)] let mut object_277 = object.key("dynamoDB").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_db_action( &mut object_277, @@ -1279,6 +1358,7 @@ pub fn serialize_structure_crate_model_action( object_277.finish(); } if let Some(var_278) = &input.dynamo_d_bv2 { + #[allow(unused_mut)] let mut object_279 = object.key("dynamoDBv2").start_object(); crate::json_ser::serialize_structure_crate_model_dynamo_d_bv2_action( &mut object_279, @@ -1287,6 +1367,7 @@ pub fn serialize_structure_crate_model_action( object_279.finish(); } if let Some(var_280) = &input.iot_site_wise { + #[allow(unused_mut)] let mut object_281 = object.key("iotSiteWise").start_object(); crate::json_ser::serialize_structure_crate_model_iot_site_wise_action( &mut object_281, diff --git a/sdk/ioteventsdata/src/json_ser.rs b/sdk/ioteventsdata/src/json_ser.rs index 43a15d35e70f..9ed6bb042599 100644 --- a/sdk/ioteventsdata/src/json_ser.rs +++ b/sdk/ioteventsdata/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_acknowledge_alarm_input( let mut array_2 = object.key("acknowledgeActionRequests").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_acknowledge_alarm_action_request( &mut object_4, @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_batch_delete_detector_input( let mut array_6 = object.key("detectors").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_delete_detector_request( &mut object_8, @@ -49,6 +51,7 @@ pub fn serialize_structure_crate_input_batch_disable_alarm_input( let mut array_10 = object.key("disableActionRequests").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_disable_alarm_action_request( &mut object_12, @@ -70,6 +73,7 @@ pub fn serialize_structure_crate_input_batch_enable_alarm_input( let mut array_14 = object.key("enableActionRequests").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_enable_alarm_action_request( &mut object_16, @@ -91,6 +95,7 @@ pub fn serialize_structure_crate_input_batch_put_message_input( let mut array_18 = object.key("messages").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_20, item_19)?; object_20.finish(); @@ -109,6 +114,7 @@ pub fn serialize_structure_crate_input_batch_reset_alarm_input( let mut array_22 = object.key("resetActionRequests").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_reset_alarm_action_request( &mut object_24, @@ -130,6 +136,7 @@ pub fn serialize_structure_crate_input_batch_snooze_alarm_input( let mut array_26 = object.key("snoozeActionRequests").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_snooze_alarm_action_request( &mut object_28, @@ -151,6 +158,7 @@ pub fn serialize_structure_crate_input_batch_update_detector_input( let mut array_30 = object.key("detectors").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_detector_request( &mut object_32, @@ -253,6 +261,7 @@ pub fn serialize_structure_crate_model_message( .string_unchecked(&aws_smithy_types::base64::encode(var_50)); } if let Some(var_51) = &input.timestamp { + #[allow(unused_mut)] let mut object_52 = object.key("timestamp").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_value(&mut object_52, var_51)?; object_52.finish(); @@ -318,6 +327,7 @@ pub fn serialize_structure_crate_model_update_detector_request( object.key("keyValue").string(var_64.as_str()); } if let Some(var_65) = &input.state { + #[allow(unused_mut)] let mut object_66 = object.key("state").start_object(); crate::json_ser::serialize_structure_crate_model_detector_state_definition( &mut object_66, @@ -352,6 +362,7 @@ pub fn serialize_structure_crate_model_detector_state_definition( let mut array_70 = object.key("variables").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_variable_definition( &mut object_72, @@ -366,6 +377,7 @@ pub fn serialize_structure_crate_model_detector_state_definition( let mut array_74 = object.key("timers").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_timer_definition( &mut object_76, diff --git a/sdk/iotfleethub/src/json_ser.rs b/sdk/iotfleethub/src/json_ser.rs index 3e0811276fec..62684d646b4d 100644 --- a/sdk/iotfleethub/src/json_ser.rs +++ b/sdk/iotfleethub/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("roleArn").string(var_4.as_str()); } if let Some(var_5) = &input.tags { + #[allow(unused_mut)] let mut object_6 = object.key("tags").start_object(); for (key_7, value_8) in var_5 { { @@ -32,6 +33,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("tags").start_object(); for (key_11, value_12) in var_9 { { diff --git a/sdk/iotfleetwise/src/json_ser.rs b/sdk/iotfleetwise/src/json_ser.rs index 137e51600862..bcee32eb2166 100644 --- a/sdk/iotfleetwise/src/json_ser.rs +++ b/sdk/iotfleetwise/src/json_ser.rs @@ -20,6 +20,7 @@ pub fn serialize_structure_crate_input_batch_create_vehicle_input( let mut array_4 = object.key("vehicles").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_vehicle_request_item( &mut object_6, @@ -41,6 +42,7 @@ pub fn serialize_structure_crate_input_batch_update_vehicle_input( let mut array_8 = object.key("vehicles").start_array(); for item_9 in var_7 { { + #[allow(unused_mut)] let mut object_10 = array_8.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_vehicle_request_item( &mut object_10, @@ -105,6 +107,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( let mut array_23 = object.key("signalsToCollect").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_signal_information( &mut object_25, @@ -116,6 +119,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( array_23.finish(); } if let Some(var_26) = &input.collection_scheme { + #[allow(unused_mut)] let mut object_27 = object.key("collectionScheme").start_object(); crate::json_ser::serialize_union_crate_model_collection_scheme(&mut object_27, var_26)?; object_27.finish(); @@ -133,6 +137,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( let mut array_32 = object.key("tags").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_34, item_33)?; object_34.finish(); @@ -160,6 +165,7 @@ pub fn serialize_structure_crate_input_create_decoder_manifest_input( let mut array_39 = object.key("signalDecoders").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_signal_decoder( &mut object_41, @@ -174,6 +180,7 @@ pub fn serialize_structure_crate_input_create_decoder_manifest_input( let mut array_43 = object.key("networkInterfaces").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_interface( &mut object_45, @@ -188,6 +195,7 @@ pub fn serialize_structure_crate_input_create_decoder_manifest_input( let mut array_47 = object.key("tags").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_49, item_48)?; object_49.finish(); @@ -215,6 +223,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( let mut array_54 = object.key("tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -251,6 +260,7 @@ pub fn serialize_structure_crate_input_create_model_manifest_input( let mut array_64 = object.key("tags").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_66, item_65)?; object_66.finish(); @@ -275,6 +285,7 @@ pub fn serialize_structure_crate_input_create_signal_catalog_input( let mut array_70 = object.key("nodes").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_union_crate_model_node(&mut object_72, item_71)?; object_72.finish(); @@ -286,6 +297,7 @@ pub fn serialize_structure_crate_input_create_signal_catalog_input( let mut array_74 = object.key("tags").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_76, item_75)?; object_76.finish(); @@ -310,6 +322,7 @@ pub fn serialize_structure_crate_input_create_vehicle_input( object.key("decoderManifestArn").string(var_79.as_str()); } if let Some(var_80) = &input.attributes { + #[allow(unused_mut)] let mut object_81 = object.key("attributes").start_object(); for (key_82, value_83) in var_80 { { @@ -325,6 +338,7 @@ pub fn serialize_structure_crate_input_create_vehicle_input( let mut array_86 = object.key("tags").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_88, item_87)?; object_88.finish(); @@ -498,6 +512,7 @@ pub fn serialize_structure_crate_input_import_decoder_manifest_input( let mut array_108 = object.key("networkFileDefinitions").start_array(); for item_109 in var_107 { { + #[allow(unused_mut)] let mut object_110 = array_108.value().start_object(); crate::json_ser::serialize_union_crate_model_network_file_definition( &mut object_110, @@ -522,6 +537,7 @@ pub fn serialize_structure_crate_input_import_signal_catalog_input( object.key("description").string(var_112.as_str()); } if let Some(var_113) = &input.vss { + #[allow(unused_mut)] let mut object_114 = object.key("vss").start_object(); crate::json_ser::serialize_union_crate_model_formatted_vss(&mut object_114, var_113)?; object_114.finish(); @@ -530,6 +546,7 @@ pub fn serialize_structure_crate_input_import_signal_catalog_input( let mut array_116 = object.key("tags").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_118, item_117)?; object_118.finish(); @@ -777,6 +794,7 @@ pub fn serialize_structure_crate_input_put_logging_options_input( input: &crate::input::PutLoggingOptionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_154) = &input.cloud_watch_log_delivery { + #[allow(unused_mut)] let mut object_155 = object.key("cloudWatchLogDelivery").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_log_delivery_options( &mut object_155, @@ -792,6 +810,7 @@ pub fn serialize_structure_crate_input_register_account_input( input: &crate::input::RegisterAccountInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_156) = &input.timestream_resources { + #[allow(unused_mut)] let mut object_157 = object.key("timestreamResources").start_object(); crate::json_ser::serialize_structure_crate_model_timestream_resources( &mut object_157, @@ -800,6 +819,7 @@ pub fn serialize_structure_crate_input_register_account_input( object_157.finish(); } if let Some(var_158) = &input.iam_resources { + #[allow(unused_mut)] let mut object_159 = object.key("iamResources").start_object(); crate::json_ser::serialize_structure_crate_model_iam_resources(&mut object_159, var_158)?; object_159.finish(); @@ -818,6 +838,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_162 = object.key("Tags").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_164, item_163)?; object_164.finish(); @@ -886,6 +907,7 @@ pub fn serialize_structure_crate_input_update_decoder_manifest_input( let mut array_178 = object.key("signalDecodersToAdd").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_signal_decoder( &mut object_180, @@ -900,6 +922,7 @@ pub fn serialize_structure_crate_input_update_decoder_manifest_input( let mut array_182 = object.key("signalDecodersToUpdate").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_signal_decoder( &mut object_184, @@ -923,6 +946,7 @@ pub fn serialize_structure_crate_input_update_decoder_manifest_input( let mut array_189 = object.key("networkInterfacesToAdd").start_array(); for item_190 in var_188 { { + #[allow(unused_mut)] let mut object_191 = array_189.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_interface( &mut object_191, @@ -937,6 +961,7 @@ pub fn serialize_structure_crate_input_update_decoder_manifest_input( let mut array_193 = object.key("networkInterfacesToUpdate").start_array(); for item_194 in var_192 { { + #[allow(unused_mut)] let mut object_195 = array_193.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_interface( &mut object_195, @@ -1023,6 +1048,7 @@ pub fn serialize_structure_crate_input_update_signal_catalog_input( let mut array_214 = object.key("nodesToAdd").start_array(); for item_215 in var_213 { { + #[allow(unused_mut)] let mut object_216 = array_214.value().start_object(); crate::json_ser::serialize_union_crate_model_node(&mut object_216, item_215)?; object_216.finish(); @@ -1034,6 +1060,7 @@ pub fn serialize_structure_crate_input_update_signal_catalog_input( let mut array_218 = object.key("nodesToUpdate").start_array(); for item_219 in var_217 { { + #[allow(unused_mut)] let mut object_220 = array_218.value().start_object(); crate::json_ser::serialize_union_crate_model_node(&mut object_220, item_219)?; object_220.finish(); @@ -1067,6 +1094,7 @@ pub fn serialize_structure_crate_input_update_vehicle_input( object.key("decoderManifestArn").string(var_226.as_str()); } if let Some(var_227) = &input.attributes { + #[allow(unused_mut)] let mut object_228 = object.key("attributes").start_object(); for (key_229, value_230) in var_227 { { @@ -1095,6 +1123,7 @@ pub fn serialize_structure_crate_model_create_vehicle_request_item( object.key("decoderManifestArn").string(var_234.as_str()); } if let Some(var_235) = &input.attributes { + #[allow(unused_mut)] let mut object_236 = object.key("attributes").start_object(); for (key_237, value_238) in var_235 { { @@ -1110,6 +1139,7 @@ pub fn serialize_structure_crate_model_create_vehicle_request_item( let mut array_241 = object.key("tags").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_243, item_242)?; object_243.finish(); @@ -1134,6 +1164,7 @@ pub fn serialize_structure_crate_model_update_vehicle_request_item( object.key("decoderManifestArn").string(var_246.as_str()); } if let Some(var_247) = &input.attributes { + #[allow(unused_mut)] let mut object_248 = object.key("attributes").start_object(); for (key_249, value_250) in var_247 { { @@ -1176,6 +1207,7 @@ pub fn serialize_union_crate_model_collection_scheme( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::CollectionScheme::TimeBasedCollectionScheme(inner) => { + #[allow(unused_mut)] let mut object_255 = object_27.key("timeBasedCollectionScheme").start_object(); crate::json_ser::serialize_structure_crate_model_time_based_collection_scheme( &mut object_255, @@ -1184,6 +1216,7 @@ pub fn serialize_union_crate_model_collection_scheme( object_255.finish(); } crate::model::CollectionScheme::ConditionBasedCollectionScheme(inner) => { + #[allow(unused_mut)] let mut object_256 = object_27 .key("conditionBasedCollectionScheme") .start_object(); @@ -1231,11 +1264,13 @@ pub fn serialize_structure_crate_model_signal_decoder( object.key("interfaceId").string(var_261.as_str()); } if let Some(var_262) = &input.can_signal { + #[allow(unused_mut)] let mut object_263 = object.key("canSignal").start_object(); crate::json_ser::serialize_structure_crate_model_can_signal(&mut object_263, var_262)?; object_263.finish(); } if let Some(var_264) = &input.obd_signal { + #[allow(unused_mut)] let mut object_265 = object.key("obdSignal").start_object(); crate::json_ser::serialize_structure_crate_model_obd_signal(&mut object_265, var_264)?; object_265.finish(); @@ -1254,11 +1289,13 @@ pub fn serialize_structure_crate_model_network_interface( object.key("type").string(var_267.as_str()); } if let Some(var_268) = &input.can_interface { + #[allow(unused_mut)] let mut object_269 = object.key("canInterface").start_object(); crate::json_ser::serialize_structure_crate_model_can_interface(&mut object_269, var_268)?; object_269.finish(); } if let Some(var_270) = &input.obd_interface { + #[allow(unused_mut)] let mut object_271 = object.key("obdInterface").start_object(); crate::json_ser::serialize_structure_crate_model_obd_interface(&mut object_271, var_270)?; object_271.finish(); @@ -1272,21 +1309,25 @@ pub fn serialize_union_crate_model_node( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Node::Branch(inner) => { + #[allow(unused_mut)] let mut object_272 = object_72.key("branch").start_object(); crate::json_ser::serialize_structure_crate_model_branch(&mut object_272, inner)?; object_272.finish(); } crate::model::Node::Sensor(inner) => { + #[allow(unused_mut)] let mut object_273 = object_72.key("sensor").start_object(); crate::json_ser::serialize_structure_crate_model_sensor(&mut object_273, inner)?; object_273.finish(); } crate::model::Node::Actuator(inner) => { + #[allow(unused_mut)] let mut object_274 = object_72.key("actuator").start_object(); crate::json_ser::serialize_structure_crate_model_actuator(&mut object_274, inner)?; object_274.finish(); } crate::model::Node::Attribute(inner) => { + #[allow(unused_mut)] let mut object_275 = object_72.key("attribute").start_object(); crate::json_ser::serialize_structure_crate_model_attribute(&mut object_275, inner)?; object_275.finish(); @@ -1306,6 +1347,7 @@ pub fn serialize_union_crate_model_network_file_definition( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::NetworkFileDefinition::CanDbc(inner) => { + #[allow(unused_mut)] let mut object_276 = object_110.key("canDbc").start_object(); crate::json_ser::serialize_structure_crate_model_can_dbc_definition( &mut object_276, @@ -1742,6 +1784,7 @@ pub fn serialize_structure_crate_model_can_dbc_definition( array_333.finish(); } if let Some(var_335) = &input.signals_map { + #[allow(unused_mut)] let mut object_336 = object.key("signalsMap").start_object(); for (key_337, value_338) in var_335 { { diff --git a/sdk/iotjobsdataplane/src/json_ser.rs b/sdk/iotjobsdataplane/src/json_ser.rs index cd1b892a384f..176a4694aeff 100644 --- a/sdk/iotjobsdataplane/src/json_ser.rs +++ b/sdk/iotjobsdataplane/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_start_next_pending_job_execution_input( input: &crate::input::StartNextPendingJobExecutionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.status_details { + #[allow(unused_mut)] let mut object_2 = object.key("statusDetails").start_object(); for (key_3, value_4) in var_1 { { @@ -47,6 +48,7 @@ pub fn serialize_structure_crate_input_update_job_execution_input( object.key("status").string(var_10.as_str()); } if let Some(var_11) = &input.status_details { + #[allow(unused_mut)] let mut object_12 = object.key("statusDetails").start_object(); for (key_13, value_14) in var_11 { { diff --git a/sdk/iotsecuretunneling/src/json_ser.rs b/sdk/iotsecuretunneling/src/json_ser.rs index c45f9884cf4f..9a8883d54942 100644 --- a/sdk/iotsecuretunneling/src/json_ser.rs +++ b/sdk/iotsecuretunneling/src/json_ser.rs @@ -62,6 +62,7 @@ pub fn serialize_structure_crate_input_open_tunnel_input( let mut array_10 = object.key("tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -70,6 +71,7 @@ pub fn serialize_structure_crate_input_open_tunnel_input( array_10.finish(); } if let Some(var_13) = &input.destination_config { + #[allow(unused_mut)] let mut object_14 = object.key("destinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_destination_config( &mut object_14, @@ -78,6 +80,7 @@ pub fn serialize_structure_crate_input_open_tunnel_input( object_14.finish(); } if let Some(var_15) = &input.timeout_config { + #[allow(unused_mut)] let mut object_16 = object.key("timeoutConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timeout_config(&mut object_16, var_15)?; object_16.finish(); @@ -96,6 +99,7 @@ pub fn serialize_structure_crate_input_rotate_tunnel_access_token_input( object.key("clientMode").string(var_18.as_str()); } if let Some(var_19) = &input.destination_config { + #[allow(unused_mut)] let mut object_20 = object.key("destinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_destination_config( &mut object_20, @@ -117,6 +121,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_23 = object.key("tags").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_25, item_24)?; object_25.finish(); diff --git a/sdk/iotsitewise/src/json_ser.rs b/sdk/iotsitewise/src/json_ser.rs index 45f98914cddf..6d2b436a7ec4 100644 --- a/sdk/iotsitewise/src/json_ser.rs +++ b/sdk/iotsitewise/src/json_ser.rs @@ -71,6 +71,7 @@ pub fn serialize_structure_crate_input_batch_get_asset_property_aggregates_input let mut array_14 = object.key("entries").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_asset_property_aggregates_entry(&mut object_16, item_15)?; object_16.finish(); @@ -98,6 +99,7 @@ pub fn serialize_structure_crate_input_batch_get_asset_property_value_input( let mut array_20 = object.key("entries").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_asset_property_value_entry(&mut object_22, item_21)?; object_22.finish(); @@ -119,6 +121,7 @@ pub fn serialize_structure_crate_input_batch_get_asset_property_value_history_in let mut array_25 = object.key("entries").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_asset_property_value_history_entry(&mut object_27, item_26)?; object_27.finish(); @@ -146,6 +149,7 @@ pub fn serialize_structure_crate_input_batch_put_asset_property_value_input( let mut array_31 = object.key("entries").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_asset_property_value_entry( &mut object_33, @@ -164,6 +168,7 @@ pub fn serialize_structure_crate_input_create_access_policy_input( input: &crate::input::CreateAccessPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.access_policy_identity { + #[allow(unused_mut)] let mut object_35 = object.key("accessPolicyIdentity").start_object(); crate::json_ser::serialize_structure_crate_model_identity(&mut object_35, var_34)?; object_35.finish(); @@ -172,6 +177,7 @@ pub fn serialize_structure_crate_input_create_access_policy_input( object.key("accessPolicyPermission").string(var_36.as_str()); } if let Some(var_37) = &input.access_policy_resource { + #[allow(unused_mut)] let mut object_38 = object.key("accessPolicyResource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_38, var_37)?; object_38.finish(); @@ -180,6 +186,7 @@ pub fn serialize_structure_crate_input_create_access_policy_input( object.key("clientToken").string(var_39.as_str()); } if let Some(var_40) = &input.tags { + #[allow(unused_mut)] let mut object_41 = object.key("tags").start_object(); for (key_42, value_43) in var_40 { { @@ -208,6 +215,7 @@ pub fn serialize_structure_crate_input_create_asset_input( object.key("clientToken").string(var_47.as_str()); } if let Some(var_48) = &input.tags { + #[allow(unused_mut)] let mut object_49 = object.key("tags").start_object(); for (key_50, value_51) in var_48 { { @@ -227,6 +235,7 @@ pub fn serialize_structure_crate_input_create_asset_model_input( let mut array_53 = object.key("assetModelCompositeModels").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_composite_model_definition(&mut object_55, item_54)?; object_55.finish(); @@ -241,6 +250,7 @@ pub fn serialize_structure_crate_input_create_asset_model_input( let mut array_58 = object.key("assetModelHierarchies").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_hierarchy_definition( &mut object_60, @@ -258,6 +268,7 @@ pub fn serialize_structure_crate_input_create_asset_model_input( let mut array_63 = object.key("assetModelProperties").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_property_definition( &mut object_65, @@ -272,6 +283,7 @@ pub fn serialize_structure_crate_input_create_asset_model_input( object.key("clientToken").string(var_66.as_str()); } if let Some(var_67) = &input.tags { + #[allow(unused_mut)] let mut object_68 = object.key("tags").start_object(); for (key_69, value_70) in var_67 { { @@ -288,6 +300,7 @@ pub fn serialize_structure_crate_input_create_bulk_import_job_input( input: &crate::input::CreateBulkImportJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_71) = &input.error_report_location { + #[allow(unused_mut)] let mut object_72 = object.key("errorReportLocation").start_object(); crate::json_ser::serialize_structure_crate_model_error_report_location( &mut object_72, @@ -299,6 +312,7 @@ pub fn serialize_structure_crate_input_create_bulk_import_job_input( let mut array_74 = object.key("files").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_file(&mut object_76, item_75)?; object_76.finish(); @@ -307,6 +321,7 @@ pub fn serialize_structure_crate_input_create_bulk_import_job_input( array_74.finish(); } if let Some(var_77) = &input.job_configuration { + #[allow(unused_mut)] let mut object_78 = object.key("jobConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_job_configuration(&mut object_78, var_77)?; object_78.finish(); @@ -340,6 +355,7 @@ pub fn serialize_structure_crate_input_create_dashboard_input( object.key("projectId").string(var_85.as_str()); } if let Some(var_86) = &input.tags { + #[allow(unused_mut)] let mut object_87 = object.key("tags").start_object(); for (key_88, value_89) in var_86 { { @@ -359,11 +375,13 @@ pub fn serialize_structure_crate_input_create_gateway_input( object.key("gatewayName").string(var_90.as_str()); } if let Some(var_91) = &input.gateway_platform { + #[allow(unused_mut)] let mut object_92 = object.key("gatewayPlatform").start_object(); crate::json_ser::serialize_structure_crate_model_gateway_platform(&mut object_92, var_91)?; object_92.finish(); } if let Some(var_93) = &input.tags { + #[allow(unused_mut)] let mut object_94 = object.key("tags").start_object(); for (key_95, value_96) in var_93 { { @@ -380,6 +398,7 @@ pub fn serialize_structure_crate_input_create_portal_input( input: &crate::input::CreatePortalInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_97) = &input.alarms { + #[allow(unused_mut)] let mut object_98 = object.key("alarms").start_object(); crate::json_ser::serialize_structure_crate_model_alarms(&mut object_98, var_97)?; object_98.finish(); @@ -402,6 +421,7 @@ pub fn serialize_structure_crate_input_create_portal_input( object.key("portalDescription").string(var_103.as_str()); } if let Some(var_104) = &input.portal_logo_image_file { + #[allow(unused_mut)] let mut object_105 = object.key("portalLogoImageFile").start_object(); crate::json_ser::serialize_structure_crate_model_image_file(&mut object_105, var_104)?; object_105.finish(); @@ -413,6 +433,7 @@ pub fn serialize_structure_crate_input_create_portal_input( object.key("roleArn").string(var_107.as_str()); } if let Some(var_108) = &input.tags { + #[allow(unused_mut)] let mut object_109 = object.key("tags").start_object(); for (key_110, value_111) in var_108 { { @@ -441,6 +462,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("projectName").string(var_115.as_str()); } if let Some(var_116) = &input.tags { + #[allow(unused_mut)] let mut object_117 = object.key("tags").start_object(); for (key_118, value_119) in var_116 { { @@ -506,6 +528,7 @@ pub fn serialize_structure_crate_input_put_logging_options_input( input: &crate::input::PutLoggingOptionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_127) = &input.logging_options { + #[allow(unused_mut)] let mut object_128 = object.key("loggingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_logging_options(&mut object_128, var_127)?; object_128.finish(); @@ -523,6 +546,7 @@ pub fn serialize_structure_crate_input_put_storage_configuration_input( .string(var_129.as_str()); } if let Some(var_130) = &input.multi_layer_storage { + #[allow(unused_mut)] let mut object_131 = object.key("multiLayerStorage").start_object(); crate::json_ser::serialize_structure_crate_model_multi_layer_storage( &mut object_131, @@ -531,6 +555,7 @@ pub fn serialize_structure_crate_input_put_storage_configuration_input( object_131.finish(); } if let Some(var_132) = &input.retention_period { + #[allow(unused_mut)] let mut object_133 = object.key("retentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period( &mut object_133, @@ -549,6 +574,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_135) = &input.tags { + #[allow(unused_mut)] let mut object_136 = object.key("tags").start_object(); for (key_137, value_138) in var_135 { { @@ -565,6 +591,7 @@ pub fn serialize_structure_crate_input_update_access_policy_input( input: &crate::input::UpdateAccessPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_139) = &input.access_policy_identity { + #[allow(unused_mut)] let mut object_140 = object.key("accessPolicyIdentity").start_object(); crate::json_ser::serialize_structure_crate_model_identity(&mut object_140, var_139)?; object_140.finish(); @@ -575,6 +602,7 @@ pub fn serialize_structure_crate_input_update_access_policy_input( .string(var_141.as_str()); } if let Some(var_142) = &input.access_policy_resource { + #[allow(unused_mut)] let mut object_143 = object.key("accessPolicyResource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_143, var_142)?; object_143.finish(); @@ -609,6 +637,7 @@ pub fn serialize_structure_crate_input_update_asset_model_input( let mut array_149 = object.key("assetModelCompositeModels").start_array(); for item_150 in var_148 { { + #[allow(unused_mut)] let mut object_151 = array_149.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_composite_model( &mut object_151, @@ -626,6 +655,7 @@ pub fn serialize_structure_crate_input_update_asset_model_input( let mut array_154 = object.key("assetModelHierarchies").start_array(); for item_155 in var_153 { { + #[allow(unused_mut)] let mut object_156 = array_154.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_hierarchy( &mut object_156, @@ -643,6 +673,7 @@ pub fn serialize_structure_crate_input_update_asset_model_input( let mut array_159 = object.key("assetModelProperties").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_property( &mut object_161, @@ -729,6 +760,7 @@ pub fn serialize_structure_crate_input_update_portal_input( input: &crate::input::UpdatePortalInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_174) = &input.alarms { + #[allow(unused_mut)] let mut object_175 = object.key("alarms").start_object(); crate::json_ser::serialize_structure_crate_model_alarms(&mut object_175, var_174)?; object_175.finish(); @@ -748,6 +780,7 @@ pub fn serialize_structure_crate_input_update_portal_input( object.key("portalDescription").string(var_179.as_str()); } if let Some(var_180) = &input.portal_logo_image { + #[allow(unused_mut)] let mut object_181 = object.key("portalLogoImage").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_181, var_180)?; object_181.finish(); @@ -910,6 +943,7 @@ pub fn serialize_structure_crate_model_put_asset_property_value_entry( let mut array_220 = object.key("propertyValues").start_array(); for item_221 in var_219 { { + #[allow(unused_mut)] let mut object_222 = array_220.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_property_value( &mut object_222, @@ -928,16 +962,19 @@ pub fn serialize_structure_crate_model_identity( input: &crate::model::Identity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_223) = &input.user { + #[allow(unused_mut)] let mut object_224 = object.key("user").start_object(); crate::json_ser::serialize_structure_crate_model_user_identity(&mut object_224, var_223)?; object_224.finish(); } if let Some(var_225) = &input.group { + #[allow(unused_mut)] let mut object_226 = object.key("group").start_object(); crate::json_ser::serialize_structure_crate_model_group_identity(&mut object_226, var_225)?; object_226.finish(); } if let Some(var_227) = &input.iam_user { + #[allow(unused_mut)] let mut object_228 = object.key("iamUser").start_object(); crate::json_ser::serialize_structure_crate_model_iam_user_identity( &mut object_228, @@ -946,6 +983,7 @@ pub fn serialize_structure_crate_model_identity( object_228.finish(); } if let Some(var_229) = &input.iam_role { + #[allow(unused_mut)] let mut object_230 = object.key("iamRole").start_object(); crate::json_ser::serialize_structure_crate_model_iam_role_identity( &mut object_230, @@ -961,11 +999,13 @@ pub fn serialize_structure_crate_model_resource( input: &crate::model::Resource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_231) = &input.portal { + #[allow(unused_mut)] let mut object_232 = object.key("portal").start_object(); crate::json_ser::serialize_structure_crate_model_portal_resource(&mut object_232, var_231)?; object_232.finish(); } if let Some(var_233) = &input.project { + #[allow(unused_mut)] let mut object_234 = object.key("project").start_object(); crate::json_ser::serialize_structure_crate_model_project_resource( &mut object_234, @@ -993,6 +1033,7 @@ pub fn serialize_structure_crate_model_asset_model_composite_model_definition( let mut array_239 = object.key("properties").start_array(); for item_240 in var_238 { { + #[allow(unused_mut)] let mut object_241 = array_239.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_property_definition( &mut object_241, @@ -1036,6 +1077,7 @@ pub fn serialize_structure_crate_model_asset_model_property_definition( object.key("unit").string(var_247.as_str()); } if let Some(var_248) = &input.r#type { + #[allow(unused_mut)] let mut object_249 = object.key("type").start_object(); crate::json_ser::serialize_structure_crate_model_property_type(&mut object_249, var_248)?; object_249.finish(); @@ -1077,6 +1119,7 @@ pub fn serialize_structure_crate_model_job_configuration( input: &crate::model::JobConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_255) = &input.file_format { + #[allow(unused_mut)] let mut object_256 = object.key("fileFormat").start_object(); crate::json_ser::serialize_structure_crate_model_file_format(&mut object_256, var_255)?; object_256.finish(); @@ -1089,11 +1132,13 @@ pub fn serialize_structure_crate_model_gateway_platform( input: &crate::model::GatewayPlatform, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_257) = &input.greengrass { + #[allow(unused_mut)] let mut object_258 = object.key("greengrass").start_object(); crate::json_ser::serialize_structure_crate_model_greengrass(&mut object_258, var_257)?; object_258.finish(); } if let Some(var_259) = &input.greengrass_v2 { + #[allow(unused_mut)] let mut object_260 = object.key("greengrassV2").start_object(); crate::json_ser::serialize_structure_crate_model_greengrass_v2(&mut object_260, var_259)?; object_260.finish(); @@ -1144,6 +1189,7 @@ pub fn serialize_structure_crate_model_multi_layer_storage( input: &crate::model::MultiLayerStorage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_266) = &input.customer_managed_s3_storage { + #[allow(unused_mut)] let mut object_267 = object.key("customerManagedS3Storage").start_object(); crate::json_ser::serialize_structure_crate_model_customer_managed_s3_storage( &mut object_267, @@ -1187,6 +1233,7 @@ pub fn serialize_structure_crate_model_asset_model_composite_model( let mut array_274 = object.key("properties").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset_model_property( &mut object_276, @@ -1236,6 +1283,7 @@ pub fn serialize_structure_crate_model_asset_model_property( object.key("unit").string(var_284.as_str()); } if let Some(var_285) = &input.r#type { + #[allow(unused_mut)] let mut object_286 = object.key("type").start_object(); crate::json_ser::serialize_structure_crate_model_property_type(&mut object_286, var_285)?; object_286.finish(); @@ -1251,6 +1299,7 @@ pub fn serialize_structure_crate_model_image( object.key("id").string(var_287.as_str()); } if let Some(var_288) = &input.file { + #[allow(unused_mut)] let mut object_289 = object.key("file").start_object(); crate::json_ser::serialize_structure_crate_model_image_file(&mut object_289, var_288)?; object_289.finish(); @@ -1263,11 +1312,13 @@ pub fn serialize_structure_crate_model_asset_property_value( input: &crate::model::AssetPropertyValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_290) = &input.value { + #[allow(unused_mut)] let mut object_291 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_variant(&mut object_291, var_290)?; object_291.finish(); } if let Some(var_292) = &input.timestamp { + #[allow(unused_mut)] let mut object_293 = object.key("timestamp").start_object(); crate::json_ser::serialize_structure_crate_model_time_in_nanos(&mut object_293, var_292)?; object_293.finish(); @@ -1343,21 +1394,25 @@ pub fn serialize_structure_crate_model_property_type( input: &crate::model::PropertyType, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_301) = &input.attribute { + #[allow(unused_mut)] let mut object_302 = object.key("attribute").start_object(); crate::json_ser::serialize_structure_crate_model_attribute(&mut object_302, var_301)?; object_302.finish(); } if let Some(var_303) = &input.measurement { + #[allow(unused_mut)] let mut object_304 = object.key("measurement").start_object(); crate::json_ser::serialize_structure_crate_model_measurement(&mut object_304, var_303)?; object_304.finish(); } if let Some(var_305) = &input.transform { + #[allow(unused_mut)] let mut object_306 = object.key("transform").start_object(); crate::json_ser::serialize_structure_crate_model_transform(&mut object_306, var_305)?; object_306.finish(); } if let Some(var_307) = &input.metric { + #[allow(unused_mut)] let mut object_308 = object.key("metric").start_object(); crate::json_ser::serialize_structure_crate_model_metric(&mut object_308, var_307)?; object_308.finish(); @@ -1370,6 +1425,7 @@ pub fn serialize_structure_crate_model_file_format( input: &crate::model::FileFormat, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_309) = &input.csv { + #[allow(unused_mut)] let mut object_310 = object.key("csv").start_object(); crate::json_ser::serialize_structure_crate_model_csv(&mut object_310, var_309)?; object_310.finish(); @@ -1469,6 +1525,7 @@ pub fn serialize_structure_crate_model_measurement( input: &crate::model::Measurement, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_322) = &input.processing_config { + #[allow(unused_mut)] let mut object_323 = object.key("processingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_measurement_processing_config( &mut object_323, @@ -1490,6 +1547,7 @@ pub fn serialize_structure_crate_model_transform( let mut array_326 = object.key("variables").start_array(); for item_327 in var_325 { { + #[allow(unused_mut)] let mut object_328 = array_326.value().start_object(); crate::json_ser::serialize_structure_crate_model_expression_variable( &mut object_328, @@ -1501,6 +1559,7 @@ pub fn serialize_structure_crate_model_transform( array_326.finish(); } if let Some(var_329) = &input.processing_config { + #[allow(unused_mut)] let mut object_330 = object.key("processingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_transform_processing_config( &mut object_330, @@ -1522,6 +1581,7 @@ pub fn serialize_structure_crate_model_metric( let mut array_333 = object.key("variables").start_array(); for item_334 in var_332 { { + #[allow(unused_mut)] let mut object_335 = array_333.value().start_object(); crate::json_ser::serialize_structure_crate_model_expression_variable( &mut object_335, @@ -1533,11 +1593,13 @@ pub fn serialize_structure_crate_model_metric( array_333.finish(); } if let Some(var_336) = &input.window { + #[allow(unused_mut)] let mut object_337 = object.key("window").start_object(); crate::json_ser::serialize_structure_crate_model_metric_window(&mut object_337, var_336)?; object_337.finish(); } if let Some(var_338) = &input.processing_config { + #[allow(unused_mut)] let mut object_339 = object.key("processingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_metric_processing_config( &mut object_339, @@ -1569,6 +1631,7 @@ pub fn serialize_structure_crate_model_measurement_processing_config( input: &crate::model::MeasurementProcessingConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_343) = &input.forwarding_config { + #[allow(unused_mut)] let mut object_344 = object.key("forwardingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_forwarding_config( &mut object_344, @@ -1587,6 +1650,7 @@ pub fn serialize_structure_crate_model_expression_variable( object.key("name").string(var_345.as_str()); } if let Some(var_346) = &input.value { + #[allow(unused_mut)] let mut object_347 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_variable_value(&mut object_347, var_346)?; object_347.finish(); @@ -1602,6 +1666,7 @@ pub fn serialize_structure_crate_model_transform_processing_config( object.key("computeLocation").string(var_348.as_str()); } if let Some(var_349) = &input.forwarding_config { + #[allow(unused_mut)] let mut object_350 = object.key("forwardingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_forwarding_config( &mut object_350, @@ -1617,6 +1682,7 @@ pub fn serialize_structure_crate_model_metric_window( input: &crate::model::MetricWindow, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_351) = &input.tumbling { + #[allow(unused_mut)] let mut object_352 = object.key("tumbling").start_object(); crate::json_ser::serialize_structure_crate_model_tumbling_window(&mut object_352, var_351)?; object_352.finish(); diff --git a/sdk/iotthingsgraph/src/json_ser.rs b/sdk/iotthingsgraph/src/json_ser.rs index c7803d3ef6d5..3e744b3cdcd2 100644 --- a/sdk/iotthingsgraph/src/json_ser.rs +++ b/sdk/iotthingsgraph/src/json_ser.rs @@ -23,6 +23,7 @@ pub fn serialize_structure_crate_input_create_flow_template_input( input: &crate::input::CreateFlowTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_4) = &input.definition { + #[allow(unused_mut)] let mut object_5 = object.key("definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition_document(&mut object_5, var_4)?; object_5.finish(); @@ -44,6 +45,7 @@ pub fn serialize_structure_crate_input_create_system_instance_input( let mut array_8 = object.key("tags").start_array(); for item_9 in var_7 { { + #[allow(unused_mut)] let mut object_10 = array_8.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_10, item_9)?; object_10.finish(); @@ -52,6 +54,7 @@ pub fn serialize_structure_crate_input_create_system_instance_input( array_8.finish(); } if let Some(var_11) = &input.definition { + #[allow(unused_mut)] let mut object_12 = object.key("definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition_document( &mut object_12, @@ -69,6 +72,7 @@ pub fn serialize_structure_crate_input_create_system_instance_input( object.key("s3BucketName").string(var_15.as_str()); } if let Some(var_16) = &input.metrics_configuration { + #[allow(unused_mut)] let mut object_17 = object.key("metricsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_configuration( &mut object_17, @@ -87,6 +91,7 @@ pub fn serialize_structure_crate_input_create_system_template_input( input: &crate::input::CreateSystemTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.definition { + #[allow(unused_mut)] let mut object_20 = object.key("definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition_document( &mut object_20, @@ -353,6 +358,7 @@ pub fn serialize_structure_crate_input_search_entities_input( let mut array_57 = object.key("filters").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity_filter( &mut object_59, @@ -421,6 +427,7 @@ pub fn serialize_structure_crate_input_search_flow_templates_input( let mut array_70 = object.key("filters").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_flow_template_filter( &mut object_72, @@ -451,6 +458,7 @@ pub fn serialize_structure_crate_input_search_system_instances_input( let mut array_76 = object.key("filters").start_array(); for item_77 in var_75 { { + #[allow(unused_mut)] let mut object_78 = array_76.value().start_object(); crate::json_ser::serialize_structure_crate_model_system_instance_filter( &mut object_78, @@ -481,6 +489,7 @@ pub fn serialize_structure_crate_input_search_system_templates_input( let mut array_82 = object.key("filters").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_system_template_filter( &mut object_84, @@ -539,6 +548,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_93 = object.key("tags").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_95, item_94)?; object_95.finish(); @@ -586,6 +596,7 @@ pub fn serialize_structure_crate_input_update_flow_template_input( object.key("id").string(var_101.as_str()); } if let Some(var_102) = &input.definition { + #[allow(unused_mut)] let mut object_103 = object.key("definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition_document( &mut object_103, @@ -610,6 +621,7 @@ pub fn serialize_structure_crate_input_update_system_template_input( object.key("id").string(var_105.as_str()); } if let Some(var_106) = &input.definition { + #[allow(unused_mut)] let mut object_107 = object.key("definition").start_object(); crate::json_ser::serialize_structure_crate_model_definition_document( &mut object_107, @@ -631,6 +643,7 @@ pub fn serialize_structure_crate_input_upload_entity_definitions_input( input: &crate::input::UploadEntityDefinitionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_109) = &input.document { + #[allow(unused_mut)] let mut object_110 = object.key("document").start_object(); crate::json_ser::serialize_structure_crate_model_definition_document( &mut object_110, diff --git a/sdk/iottwinmaker/src/json_ser.rs b/sdk/iottwinmaker/src/json_ser.rs index cc41923637d5..3a3a6515017a 100644 --- a/sdk/iottwinmaker/src/json_ser.rs +++ b/sdk/iottwinmaker/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_put_property_values_input( let mut array_2 = object.key("entries").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_property_value_entry( &mut object_4, @@ -37,9 +38,11 @@ pub fn serialize_structure_crate_input_create_component_type_input( array_7.finish(); } if let Some(var_9) = &input.functions { + #[allow(unused_mut)] let mut object_10 = object.key("functions").start_object(); for (key_11, value_12) in var_9 { { + #[allow(unused_mut)] let mut object_13 = object_10.key(key_11.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_function_request( &mut object_13, @@ -54,9 +57,11 @@ pub fn serialize_structure_crate_input_create_component_type_input( object.key("isSingleton").boolean(*var_14); } if let Some(var_15) = &input.property_definitions { + #[allow(unused_mut)] let mut object_16 = object.key("propertyDefinitions").start_object(); for (key_17, value_18) in var_15 { { + #[allow(unused_mut)] let mut object_19 = object_16.key(key_17.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_property_definition_request( &mut object_19, @@ -68,6 +73,7 @@ pub fn serialize_structure_crate_input_create_component_type_input( object_16.finish(); } if let Some(var_20) = &input.tags { + #[allow(unused_mut)] let mut object_21 = object.key("tags").start_object(); for (key_22, value_23) in var_20 { { @@ -84,9 +90,11 @@ pub fn serialize_structure_crate_input_create_entity_input( input: &crate::input::CreateEntityInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_24) = &input.components { + #[allow(unused_mut)] let mut object_25 = object.key("components").start_object(); for (key_26, value_27) in var_24 { { + #[allow(unused_mut)] let mut object_28 = object_25.key(key_26.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_request( &mut object_28, @@ -110,6 +118,7 @@ pub fn serialize_structure_crate_input_create_entity_input( object.key("parentEntityId").string(var_32.as_str()); } if let Some(var_33) = &input.tags { + #[allow(unused_mut)] let mut object_34 = object.key("tags").start_object(); for (key_35, value_36) in var_33 { { @@ -144,6 +153,7 @@ pub fn serialize_structure_crate_input_create_scene_input( object.key("sceneId").string(var_42.as_str()); } if let Some(var_43) = &input.tags { + #[allow(unused_mut)] let mut object_44 = object.key("tags").start_object(); for (key_45, value_46) in var_43 { { @@ -169,6 +179,7 @@ pub fn serialize_structure_crate_input_create_workspace_input( object.key("s3Location").string(var_49.as_str()); } if let Some(var_50) = &input.tags { + #[allow(unused_mut)] let mut object_51 = object.key("tags").start_object(); for (key_52, value_53) in var_50 { { @@ -227,6 +238,7 @@ pub fn serialize_structure_crate_input_get_property_value_history_input( object.key("entityId").string(var_64.as_str()); } if let Some(var_65) = &input.interpolation { + #[allow(unused_mut)] let mut object_66 = object.key("interpolation").start_object(); crate::json_ser::serialize_structure_crate_model_interpolation_parameters( &mut object_66, @@ -250,6 +262,7 @@ pub fn serialize_structure_crate_input_get_property_value_history_input( let mut array_71 = object.key("propertyFilters").start_array(); for item_72 in var_70 { { + #[allow(unused_mut)] let mut object_73 = array_71.value().start_object(); crate::json_ser::serialize_structure_crate_model_property_filter( &mut object_73, @@ -288,6 +301,7 @@ pub fn serialize_structure_crate_input_list_component_types_input( let mut array_80 = object.key("filters").start_array(); for item_81 in var_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_union_crate_model_list_component_types_filter( &mut object_82, @@ -318,6 +332,7 @@ pub fn serialize_structure_crate_input_list_entities_input( let mut array_86 = object.key("filters").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_union_crate_model_list_entities_filter( &mut object_88, @@ -399,6 +414,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("resourceARN").string(var_98.as_str()); } if let Some(var_99) = &input.tags { + #[allow(unused_mut)] let mut object_100 = object.key("tags").start_object(); for (key_101, value_102) in var_99 { { @@ -427,9 +443,11 @@ pub fn serialize_structure_crate_input_update_component_type_input( array_105.finish(); } if let Some(var_107) = &input.functions { + #[allow(unused_mut)] let mut object_108 = object.key("functions").start_object(); for (key_109, value_110) in var_107 { { + #[allow(unused_mut)] let mut object_111 = object_108.key(key_109.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_function_request( &mut object_111, @@ -444,9 +462,11 @@ pub fn serialize_structure_crate_input_update_component_type_input( object.key("isSingleton").boolean(*var_112); } if let Some(var_113) = &input.property_definitions { + #[allow(unused_mut)] let mut object_114 = object.key("propertyDefinitions").start_object(); for (key_115, value_116) in var_113 { { + #[allow(unused_mut)] let mut object_117 = object_114.key(key_115.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_property_definition_request( &mut object_117, @@ -465,9 +485,11 @@ pub fn serialize_structure_crate_input_update_entity_input( input: &crate::input::UpdateEntityInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_118) = &input.component_updates { + #[allow(unused_mut)] let mut object_119 = object.key("componentUpdates").start_object(); for (key_120, value_121) in var_118 { { + #[allow(unused_mut)] let mut object_122 = object_119.key(key_120.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_component_update_request( &mut object_122, @@ -485,6 +507,7 @@ pub fn serialize_structure_crate_input_update_entity_input( object.key("entityName").string(var_124.as_str()); } if let Some(var_125) = &input.parent_entity_update { + #[allow(unused_mut)] let mut object_126 = object.key("parentEntityUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_parent_entity_update_request( &mut object_126, @@ -535,6 +558,7 @@ pub fn serialize_structure_crate_model_property_value_entry( input: &crate::model::PropertyValueEntry, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_134) = &input.entity_property_reference { + #[allow(unused_mut)] let mut object_135 = object.key("entityPropertyReference").start_object(); crate::json_ser::serialize_structure_crate_model_entity_property_reference( &mut object_135, @@ -546,6 +570,7 @@ pub fn serialize_structure_crate_model_property_value_entry( let mut array_137 = object.key("propertyValues").start_array(); for item_138 in var_136 { { + #[allow(unused_mut)] let mut object_139 = array_137.value().start_object(); crate::json_ser::serialize_structure_crate_model_property_value( &mut object_139, @@ -576,6 +601,7 @@ pub fn serialize_structure_crate_model_function_request( object.key("scope").string(var_143.as_str()); } if let Some(var_144) = &input.implemented_by { + #[allow(unused_mut)] let mut object_145 = object.key("implementedBy").start_object(); crate::json_ser::serialize_structure_crate_model_data_connector(&mut object_145, var_144)?; object_145.finish(); @@ -588,6 +614,7 @@ pub fn serialize_structure_crate_model_property_definition_request( input: &crate::model::PropertyDefinitionRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_146) = &input.data_type { + #[allow(unused_mut)] let mut object_147 = object.key("dataType").start_object(); crate::json_ser::serialize_structure_crate_model_data_type(&mut object_147, var_146)?; object_147.finish(); @@ -605,11 +632,13 @@ pub fn serialize_structure_crate_model_property_definition_request( object.key("isTimeSeries").boolean(*var_151); } if let Some(var_152) = &input.default_value { + #[allow(unused_mut)] let mut object_153 = object.key("defaultValue").start_object(); crate::json_ser::serialize_structure_crate_model_data_value(&mut object_153, var_152)?; object_153.finish(); } if let Some(var_154) = &input.configuration { + #[allow(unused_mut)] let mut object_155 = object.key("configuration").start_object(); for (key_156, value_157) in var_154 { { @@ -632,9 +661,11 @@ pub fn serialize_structure_crate_model_component_request( object.key("componentTypeId").string(var_159.as_str()); } if let Some(var_160) = &input.properties { + #[allow(unused_mut)] let mut object_161 = object.key("properties").start_object(); for (key_162, value_163) in var_160 { { + #[allow(unused_mut)] let mut object_164 = object_161.key(key_162.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_property_request( &mut object_164, @@ -675,6 +706,7 @@ pub fn serialize_structure_crate_model_property_filter( object.key("operator").string(var_168.as_str()); } if let Some(var_169) = &input.value { + #[allow(unused_mut)] let mut object_170 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_data_value(&mut object_170, var_169)?; object_170.finish(); @@ -746,9 +778,11 @@ pub fn serialize_structure_crate_model_component_update_request( object.key("componentTypeId").string(var_173.as_str()); } if let Some(var_174) = &input.property_updates { + #[allow(unused_mut)] let mut object_175 = object.key("propertyUpdates").start_object(); for (key_176, value_177) in var_174 { { + #[allow(unused_mut)] let mut object_178 = object_175.key(key_176.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_property_request( &mut object_178, @@ -783,6 +817,7 @@ pub fn serialize_structure_crate_model_entity_property_reference( object.key("componentName").string(var_181.as_str()); } if let Some(var_182) = &input.external_id_property { + #[allow(unused_mut)] let mut object_183 = object.key("externalIdProperty").start_object(); for (key_184, value_185) in var_182 { { @@ -810,6 +845,7 @@ pub fn serialize_structure_crate_model_property_value( .date_time(var_188, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_189) = &input.value { + #[allow(unused_mut)] let mut object_190 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_data_value(&mut object_190, var_189)?; object_190.finish(); @@ -825,6 +861,7 @@ pub fn serialize_structure_crate_model_data_connector( input: &crate::model::DataConnector, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_192) = &input.lambda { + #[allow(unused_mut)] let mut object_193 = object.key("lambda").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_function(&mut object_193, var_192)?; object_193.finish(); @@ -843,6 +880,7 @@ pub fn serialize_structure_crate_model_data_type( object.key("type").string(var_195.as_str()); } if let Some(var_196) = &input.nested_type { + #[allow(unused_mut)] let mut object_197 = object.key("nestedType").start_object(); crate::json_ser::serialize_structure_crate_model_data_type(&mut object_197, var_196)?; object_197.finish(); @@ -851,6 +889,7 @@ pub fn serialize_structure_crate_model_data_type( let mut array_199 = object.key("allowedValues").start_array(); for item_200 in var_198 { { + #[allow(unused_mut)] let mut object_201 = array_199.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_value( &mut object_201, @@ -865,6 +904,7 @@ pub fn serialize_structure_crate_model_data_type( object.key("unitOfMeasure").string(var_202.as_str()); } if let Some(var_203) = &input.relationship { + #[allow(unused_mut)] let mut object_204 = object.key("relationship").start_object(); crate::json_ser::serialize_structure_crate_model_relationship(&mut object_204, var_203)?; object_204.finish(); @@ -904,6 +944,7 @@ pub fn serialize_structure_crate_model_data_value( let mut array_211 = object.key("listValue").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_value( &mut object_213, @@ -915,9 +956,11 @@ pub fn serialize_structure_crate_model_data_value( array_211.finish(); } if let Some(var_214) = &input.map_value { + #[allow(unused_mut)] let mut object_215 = object.key("mapValue").start_object(); for (key_216, value_217) in var_214 { { + #[allow(unused_mut)] let mut object_218 = object_215.key(key_216.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_data_value( &mut object_218, @@ -929,6 +972,7 @@ pub fn serialize_structure_crate_model_data_value( object_215.finish(); } if let Some(var_219) = &input.relationship_value { + #[allow(unused_mut)] let mut object_220 = object.key("relationshipValue").start_object(); crate::json_ser::serialize_structure_crate_model_relationship_value( &mut object_220, @@ -947,6 +991,7 @@ pub fn serialize_structure_crate_model_property_request( input: &crate::model::PropertyRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_222) = &input.definition { + #[allow(unused_mut)] let mut object_223 = object.key("definition").start_object(); crate::json_ser::serialize_structure_crate_model_property_definition_request( &mut object_223, @@ -955,6 +1000,7 @@ pub fn serialize_structure_crate_model_property_request( object_223.finish(); } if let Some(var_224) = &input.value { + #[allow(unused_mut)] let mut object_225 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_data_value(&mut object_225, var_224)?; object_225.finish(); diff --git a/sdk/iotwireless/src/json_ser.rs b/sdk/iotwireless/src/json_ser.rs index fc85f7078455..dafacbfdcd66 100644 --- a/sdk/iotwireless/src/json_ser.rs +++ b/sdk/iotwireless/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_associate_aws_account_with_partner_accoun object.key("ClientRequestToken").string(var_1.as_str()); } if let Some(var_2) = &input.sidewalk { + #[allow(unused_mut)] let mut object_3 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_account_info( &mut object_3, @@ -18,6 +19,7 @@ pub fn serialize_structure_crate_input_associate_aws_account_with_partner_accoun let mut array_5 = object.key("Tags").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_7, item_6)?; object_7.finish(); @@ -114,6 +116,7 @@ pub fn serialize_structure_crate_input_create_destination_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -132,6 +135,7 @@ pub fn serialize_structure_crate_input_create_device_profile_input( object.key("ClientRequestToken").string(var_24.as_str()); } if let Some(var_25) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_26 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_device_profile( &mut object_26, @@ -146,6 +150,7 @@ pub fn serialize_structure_crate_input_create_device_profile_input( let mut array_29 = object.key("Tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_31, item_30)?; object_31.finish(); @@ -173,6 +178,7 @@ pub fn serialize_structure_crate_input_create_fuota_task_input( object.key("FirmwareUpdateRole").string(var_35.as_str()); } if let Some(var_36) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_37 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_fuota_task( &mut object_37, @@ -187,6 +193,7 @@ pub fn serialize_structure_crate_input_create_fuota_task_input( let mut array_40 = object.key("Tags").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_42, item_41)?; object_42.finish(); @@ -208,6 +215,7 @@ pub fn serialize_structure_crate_input_create_multicast_group_input( object.key("Description").string(var_44.as_str()); } if let Some(var_45) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_46 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_multicast( &mut object_46, @@ -222,6 +230,7 @@ pub fn serialize_structure_crate_input_create_multicast_group_input( let mut array_49 = object.key("Tags").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_51, item_50)?; object_51.finish(); @@ -249,6 +258,7 @@ pub fn serialize_structure_crate_input_create_network_analyzer_configuration_inp let mut array_56 = object.key("Tags").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_58, item_57)?; object_58.finish(); @@ -257,6 +267,7 @@ pub fn serialize_structure_crate_input_create_network_analyzer_configuration_inp array_56.finish(); } if let Some(var_59) = &input.trace_content { + #[allow(unused_mut)] let mut object_60 = object.key("TraceContent").start_object(); crate::json_ser::serialize_structure_crate_model_trace_content(&mut object_60, var_59)?; object_60.finish(); @@ -290,6 +301,7 @@ pub fn serialize_structure_crate_input_create_service_profile_input( object.key("ClientRequestToken").string(var_67.as_str()); } if let Some(var_68) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_69 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_service_profile( &mut object_69, @@ -304,6 +316,7 @@ pub fn serialize_structure_crate_input_create_service_profile_input( let mut array_72 = object.key("Tags").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_74, item_73)?; object_74.finish(); @@ -328,6 +341,7 @@ pub fn serialize_structure_crate_input_create_wireless_device_input( object.key("DestinationName").string(var_77.as_str()); } if let Some(var_78) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_79 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_device(&mut object_79, var_78)?; object_79.finish(); @@ -339,6 +353,7 @@ pub fn serialize_structure_crate_input_create_wireless_device_input( let mut array_82 = object.key("Tags").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_84, item_83)?; object_84.finish(); @@ -363,6 +378,7 @@ pub fn serialize_structure_crate_input_create_wireless_gateway_input( object.key("Description").string(var_87.as_str()); } if let Some(var_88) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_89 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_gateway(&mut object_89, var_88)?; object_89.finish(); @@ -374,6 +390,7 @@ pub fn serialize_structure_crate_input_create_wireless_gateway_input( let mut array_92 = object.key("Tags").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_94, item_93)?; object_94.finish(); @@ -415,6 +432,7 @@ pub fn serialize_structure_crate_input_create_wireless_gateway_task_definition_i let mut array_99 = object.key("Tags").start_array(); for item_100 in var_98 { { + #[allow(unused_mut)] let mut object_101 = array_99.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_101, item_100)?; object_101.finish(); @@ -423,6 +441,7 @@ pub fn serialize_structure_crate_input_create_wireless_gateway_task_definition_i array_99.finish(); } if let Some(var_102) = &input.update { + #[allow(unused_mut)] let mut object_103 = object.key("Update").start_object(); crate::json_ser::serialize_structure_crate_model_update_wireless_gateway_task_create( &mut object_103, @@ -441,6 +460,7 @@ pub fn serialize_structure_crate_input_put_position_configuration_input( object.key("Destination").string(var_104.as_str()); } if let Some(var_105) = &input.solvers { + #[allow(unused_mut)] let mut object_106 = object.key("Solvers").start_object(); crate::json_ser::serialize_structure_crate_model_position_solver_configurations( &mut object_106, @@ -469,6 +489,7 @@ pub fn serialize_structure_crate_input_send_data_to_multicast_group_input( object.key("PayloadData").string(var_108.as_str()); } if let Some(var_109) = &input.wireless_metadata { + #[allow(unused_mut)] let mut object_110 = object.key("WirelessMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_multicast_wireless_metadata( &mut object_110, @@ -493,6 +514,7 @@ pub fn serialize_structure_crate_input_send_data_to_wireless_device_input( ); } if let Some(var_113) = &input.wireless_metadata { + #[allow(unused_mut)] let mut object_114 = object.key("WirelessMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_wireless_metadata( &mut object_114, @@ -514,6 +536,7 @@ pub fn serialize_structure_crate_input_start_bulk_associate_wireless_device_with let mut array_117 = object.key("Tags").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_119, item_118)?; object_119.finish(); @@ -535,6 +558,7 @@ pub fn serialize_structure_crate_input_start_bulk_disassociate_wireless_device_f let mut array_122 = object.key("Tags").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_124, item_123)?; object_124.finish(); @@ -550,6 +574,7 @@ pub fn serialize_structure_crate_input_start_fuota_task_input( input: &crate::input::StartFuotaTaskInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_125) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_126 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_start_fuota_task( &mut object_126, @@ -565,6 +590,7 @@ pub fn serialize_structure_crate_input_start_multicast_group_session_input( input: &crate::input::StartMulticastGroupSessionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_127) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_128 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_multicast_session( &mut object_128, @@ -583,6 +609,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_130 = object.key("Tags").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_132, item_131)?; object_132.finish(); @@ -617,16 +644,19 @@ pub fn serialize_structure_crate_input_update_event_configuration_by_resource_ty input: &crate::input::UpdateEventConfigurationByResourceTypesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_137) = &input.connection_status { + #[allow(unused_mut)] let mut object_138 = object.key("ConnectionStatus").start_object(); crate::json_ser::serialize_structure_crate_model_connection_status_resource_type_event_configuration(&mut object_138, var_137)?; object_138.finish(); } if let Some(var_139) = &input.device_registration_state { + #[allow(unused_mut)] let mut object_140 = object.key("DeviceRegistrationState").start_object(); crate::json_ser::serialize_structure_crate_model_device_registration_state_resource_type_event_configuration(&mut object_140, var_139)?; object_140.finish(); } if let Some(var_141) = &input.join { + #[allow(unused_mut)] let mut object_142 = object.key("Join").start_object(); crate::json_ser::serialize_structure_crate_model_join_resource_type_event_configuration( &mut object_142, @@ -635,11 +665,13 @@ pub fn serialize_structure_crate_input_update_event_configuration_by_resource_ty object_142.finish(); } if let Some(var_143) = &input.message_delivery_status { + #[allow(unused_mut)] let mut object_144 = object.key("MessageDeliveryStatus").start_object(); crate::json_ser::serialize_structure_crate_model_message_delivery_status_resource_type_event_configuration(&mut object_144, var_143)?; object_144.finish(); } if let Some(var_145) = &input.proximity { + #[allow(unused_mut)] let mut object_146 = object.key("Proximity").start_object(); crate::json_ser::serialize_structure_crate_model_proximity_resource_type_event_configuration(&mut object_146, var_145)?; object_146.finish(); @@ -661,6 +693,7 @@ pub fn serialize_structure_crate_input_update_fuota_task_input( object.key("FirmwareUpdateRole").string(var_149.as_str()); } if let Some(var_150) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_151 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_fuota_task( &mut object_151, @@ -685,6 +718,7 @@ pub fn serialize_structure_crate_input_update_log_levels_by_resource_types_input let mut array_155 = object.key("WirelessDeviceLogOptions").start_array(); for item_156 in var_154 { { + #[allow(unused_mut)] let mut object_157 = array_155.value().start_object(); crate::json_ser::serialize_structure_crate_model_wireless_device_log_option( &mut object_157, @@ -699,6 +733,7 @@ pub fn serialize_structure_crate_input_update_log_levels_by_resource_types_input let mut array_159 = object.key("WirelessGatewayLogOptions").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_wireless_gateway_log_option( &mut object_161, @@ -720,6 +755,7 @@ pub fn serialize_structure_crate_input_update_multicast_group_input( object.key("Description").string(var_162.as_str()); } if let Some(var_163) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_164 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_multicast( &mut object_164, @@ -741,6 +777,7 @@ pub fn serialize_structure_crate_input_update_network_analyzer_configuration_inp object.key("Description").string(var_166.as_str()); } if let Some(var_167) = &input.trace_content { + #[allow(unused_mut)] let mut object_168 = object.key("TraceContent").start_object(); crate::json_ser::serialize_structure_crate_model_trace_content(&mut object_168, var_167)?; object_168.finish(); @@ -789,6 +826,7 @@ pub fn serialize_structure_crate_input_update_partner_account_input( input: &crate::input::UpdatePartnerAccountInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_181) = &input.sidewalk { + #[allow(unused_mut)] let mut object_182 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_update_account( &mut object_182, @@ -823,6 +861,7 @@ pub fn serialize_structure_crate_input_update_resource_event_configuration_input input: &crate::input::UpdateResourceEventConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_186) = &input.connection_status { + #[allow(unused_mut)] let mut object_187 = object.key("ConnectionStatus").start_object(); crate::json_ser::serialize_structure_crate_model_connection_status_event_configuration( &mut object_187, @@ -831,11 +870,13 @@ pub fn serialize_structure_crate_input_update_resource_event_configuration_input object_187.finish(); } if let Some(var_188) = &input.device_registration_state { + #[allow(unused_mut)] let mut object_189 = object.key("DeviceRegistrationState").start_object(); crate::json_ser::serialize_structure_crate_model_device_registration_state_event_configuration(&mut object_189, var_188)?; object_189.finish(); } if let Some(var_190) = &input.join { + #[allow(unused_mut)] let mut object_191 = object.key("Join").start_object(); crate::json_ser::serialize_structure_crate_model_join_event_configuration( &mut object_191, @@ -844,11 +885,13 @@ pub fn serialize_structure_crate_input_update_resource_event_configuration_input object_191.finish(); } if let Some(var_192) = &input.message_delivery_status { + #[allow(unused_mut)] let mut object_193 = object.key("MessageDeliveryStatus").start_object(); crate::json_ser::serialize_structure_crate_model_message_delivery_status_event_configuration(&mut object_193, var_192)?; object_193.finish(); } if let Some(var_194) = &input.proximity { + #[allow(unused_mut)] let mut object_195 = object.key("Proximity").start_object(); crate::json_ser::serialize_structure_crate_model_proximity_event_configuration( &mut object_195, @@ -870,6 +913,7 @@ pub fn serialize_structure_crate_input_update_wireless_device_input( object.key("DestinationName").string(var_197.as_str()); } if let Some(var_198) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_199 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_update_device( &mut object_199, @@ -1128,26 +1172,31 @@ pub fn serialize_structure_crate_model_lo_ra_wan_device( object.key("ServiceProfileId").string(var_242.as_str()); } if let Some(var_243) = &input.otaa_v1_1 { + #[allow(unused_mut)] let mut object_244 = object.key("OtaaV1_1").start_object(); crate::json_ser::serialize_structure_crate_model_otaa_v11(&mut object_244, var_243)?; object_244.finish(); } if let Some(var_245) = &input.otaa_v1_0_x { + #[allow(unused_mut)] let mut object_246 = object.key("OtaaV1_0_x").start_object(); crate::json_ser::serialize_structure_crate_model_otaa_v10_x(&mut object_246, var_245)?; object_246.finish(); } if let Some(var_247) = &input.abp_v1_1 { + #[allow(unused_mut)] let mut object_248 = object.key("AbpV1_1").start_object(); crate::json_ser::serialize_structure_crate_model_abp_v11(&mut object_248, var_247)?; object_248.finish(); } if let Some(var_249) = &input.abp_v1_0_x { + #[allow(unused_mut)] let mut object_250 = object.key("AbpV1_0_x").start_object(); crate::json_ser::serialize_structure_crate_model_abp_v10_x(&mut object_250, var_249)?; object_250.finish(); } if let Some(var_251) = &input.f_ports { + #[allow(unused_mut)] let mut object_252 = object.key("FPorts").start_object(); crate::json_ser::serialize_structure_crate_model_f_ports(&mut object_252, var_251)?; object_252.finish(); @@ -1202,6 +1251,7 @@ pub fn serialize_structure_crate_model_lo_ra_wan_gateway( array_264.finish(); } if let Some(var_266) = &input.beaconing { + #[allow(unused_mut)] let mut object_267 = object.key("Beaconing").start_object(); crate::json_ser::serialize_structure_crate_model_beaconing(&mut object_267, var_266)?; object_267.finish(); @@ -1220,6 +1270,7 @@ pub fn serialize_structure_crate_model_update_wireless_gateway_task_create( object.key("UpdateDataRole").string(var_269.as_str()); } if let Some(var_270) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_271 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_update_gateway_task_create( &mut object_271, @@ -1235,6 +1286,7 @@ pub fn serialize_structure_crate_model_position_solver_configurations( input: &crate::model::PositionSolverConfigurations, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_272) = &input.semtech_gnss { + #[allow(unused_mut)] let mut object_273 = object.key("SemtechGnss").start_object(); crate::json_ser::serialize_structure_crate_model_semtech_gnss_configuration( &mut object_273, @@ -1250,6 +1302,7 @@ pub fn serialize_structure_crate_model_multicast_wireless_metadata( input: &crate::model::MulticastWirelessMetadata, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_274) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_275 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_multicast_metadata( &mut object_275, @@ -1265,6 +1318,7 @@ pub fn serialize_structure_crate_model_wireless_metadata( input: &crate::model::WirelessMetadata, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_276) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_277 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_send_data_to_device( &mut object_277, @@ -1273,6 +1327,7 @@ pub fn serialize_structure_crate_model_wireless_metadata( object_277.finish(); } if let Some(var_278) = &input.sidewalk { + #[allow(unused_mut)] let mut object_279 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_send_data_to_device( &mut object_279, @@ -1330,6 +1385,7 @@ pub fn serialize_structure_crate_model_connection_status_resource_type_event_con input: &crate::model::ConnectionStatusResourceTypeEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_285) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_286 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_connection_status_resource_type_event_configuration(&mut object_286, var_285)?; object_286.finish(); @@ -1342,6 +1398,7 @@ pub fn serialize_structure_crate_model_device_registration_state_resource_type_e input: &crate::model::DeviceRegistrationStateResourceTypeEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_287) = &input.sidewalk { + #[allow(unused_mut)] let mut object_288 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_resource_type_event_configuration(&mut object_288, var_287)?; object_288.finish(); @@ -1354,6 +1411,7 @@ pub fn serialize_structure_crate_model_join_resource_type_event_configuration( input: &crate::model::JoinResourceTypeEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_289) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_290 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_join_resource_type_event_configuration(&mut object_290, var_289)?; object_290.finish(); @@ -1366,6 +1424,7 @@ pub fn serialize_structure_crate_model_message_delivery_status_resource_type_eve input: &crate::model::MessageDeliveryStatusResourceTypeEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_291) = &input.sidewalk { + #[allow(unused_mut)] let mut object_292 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_resource_type_event_configuration(&mut object_292, var_291)?; object_292.finish(); @@ -1378,6 +1437,7 @@ pub fn serialize_structure_crate_model_proximity_resource_type_event_configurati input: &crate::model::ProximityResourceTypeEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_293) = &input.sidewalk { + #[allow(unused_mut)] let mut object_294 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_resource_type_event_configuration(&mut object_294, var_293)?; object_294.finish(); @@ -1399,6 +1459,7 @@ pub fn serialize_structure_crate_model_wireless_device_log_option( let mut array_298 = object.key("Events").start_array(); for item_299 in var_297 { { + #[allow(unused_mut)] let mut object_300 = array_298.value().start_object(); crate::json_ser::serialize_structure_crate_model_wireless_device_event_log_option( &mut object_300, @@ -1426,6 +1487,7 @@ pub fn serialize_structure_crate_model_wireless_gateway_log_option( let mut array_304 = object.key("Events").start_array(); for item_305 in var_303 { { + #[allow(unused_mut)] let mut object_306 = array_304.value().start_object(); crate::json_ser::serialize_structure_crate_model_wireless_gateway_event_log_option( &mut object_306, @@ -1454,6 +1516,7 @@ pub fn serialize_structure_crate_model_connection_status_event_configuration( input: &crate::model::ConnectionStatusEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_308) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_309 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_connection_status_event_notification_configurations(&mut object_309, var_308)?; object_309.finish(); @@ -1471,6 +1534,7 @@ pub fn serialize_structure_crate_model_device_registration_state_event_configura input: &crate::model::DeviceRegistrationStateEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_311) = &input.sidewalk { + #[allow(unused_mut)] let mut object_312 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_event_notification_configurations(&mut object_312, var_311)?; object_312.finish(); @@ -1488,6 +1552,7 @@ pub fn serialize_structure_crate_model_join_event_configuration( input: &crate::model::JoinEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_314) = &input.lo_ra_wan { + #[allow(unused_mut)] let mut object_315 = object.key("LoRaWAN").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_join_event_notification_configurations(&mut object_315, var_314)?; object_315.finish(); @@ -1505,6 +1570,7 @@ pub fn serialize_structure_crate_model_message_delivery_status_event_configurati input: &crate::model::MessageDeliveryStatusEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_317) = &input.sidewalk { + #[allow(unused_mut)] let mut object_318 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_event_notification_configurations(&mut object_318, var_317)?; object_318.finish(); @@ -1522,6 +1588,7 @@ pub fn serialize_structure_crate_model_proximity_event_configuration( input: &crate::model::ProximityEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_320) = &input.sidewalk { + #[allow(unused_mut)] let mut object_321 = object.key("Sidewalk").start_object(); crate::json_ser::serialize_structure_crate_model_sidewalk_event_notification_configurations(&mut object_321, var_320)?; object_321.finish(); @@ -1545,11 +1612,13 @@ pub fn serialize_structure_crate_model_lo_ra_wan_update_device( object.key("ServiceProfileId").string(var_324.as_str()); } if let Some(var_325) = &input.abp_v1_1 { + #[allow(unused_mut)] let mut object_326 = object.key("AbpV1_1").start_object(); crate::json_ser::serialize_structure_crate_model_update_abp_v11(&mut object_326, var_325)?; object_326.finish(); } if let Some(var_327) = &input.abp_v1_0_x { + #[allow(unused_mut)] let mut object_328 = object.key("AbpV1_0_x").start_object(); crate::json_ser::serialize_structure_crate_model_update_abp_v10_x( &mut object_328, @@ -1558,6 +1627,7 @@ pub fn serialize_structure_crate_model_lo_ra_wan_update_device( object_328.finish(); } if let Some(var_329) = &input.f_ports { + #[allow(unused_mut)] let mut object_330 = object.key("FPorts").start_object(); crate::json_ser::serialize_structure_crate_model_update_f_ports(&mut object_330, var_329)?; object_330.finish(); @@ -1605,6 +1675,7 @@ pub fn serialize_structure_crate_model_abp_v11( object.key("DevAddr").string(var_337.as_str()); } if let Some(var_338) = &input.session_keys { + #[allow(unused_mut)] let mut object_339 = object.key("SessionKeys").start_object(); crate::json_ser::serialize_structure_crate_model_session_keys_abp_v11( &mut object_339, @@ -1629,6 +1700,7 @@ pub fn serialize_structure_crate_model_abp_v10_x( object.key("DevAddr").string(var_341.as_str()); } if let Some(var_342) = &input.session_keys { + #[allow(unused_mut)] let mut object_343 = object.key("SessionKeys").start_object(); crate::json_ser::serialize_structure_crate_model_session_keys_abp_v10_x( &mut object_343, @@ -1668,6 +1740,7 @@ pub fn serialize_structure_crate_model_f_ports( ); } if let Some(var_348) = &input.positioning { + #[allow(unused_mut)] let mut object_349 = object.key("Positioning").start_object(); crate::json_ser::serialize_structure_crate_model_positioning(&mut object_349, var_348)?; object_349.finish(); @@ -1714,6 +1787,7 @@ pub fn serialize_structure_crate_model_lo_ra_wan_update_gateway_task_create( ); } if let Some(var_356) = &input.current_version { + #[allow(unused_mut)] let mut object_357 = object.key("CurrentVersion").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_gateway_version( &mut object_357, @@ -1722,6 +1796,7 @@ pub fn serialize_structure_crate_model_lo_ra_wan_update_gateway_task_create( object_357.finish(); } if let Some(var_358) = &input.update_version { + #[allow(unused_mut)] let mut object_359 = object.key("UpdateVersion").start_object(); crate::json_ser::serialize_structure_crate_model_lo_ra_wan_gateway_version( &mut object_359, @@ -1769,6 +1844,7 @@ pub fn serialize_structure_crate_model_lo_ra_wan_send_data_to_device( ); } if let Some(var_364) = &input.participating_gateways { + #[allow(unused_mut)] let mut object_365 = object.key("ParticipatingGateways").start_object(); crate::json_ser::serialize_structure_crate_model_participating_gateways( &mut object_365, @@ -1924,6 +2000,7 @@ pub fn serialize_structure_crate_model_update_f_ports( input: &crate::model::UpdateFPorts, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_381) = &input.positioning { + #[allow(unused_mut)] let mut object_382 = object.key("Positioning").start_object(); crate::json_ser::serialize_structure_crate_model_positioning(&mut object_382, var_381)?; object_382.finish(); @@ -2015,6 +2092,7 @@ pub fn serialize_structure_crate_model_participating_gateways( let mut array_397 = object.key("GatewayList").start_array(); for item_398 in var_396 { { + #[allow(unused_mut)] let mut object_399 = array_397.value().start_object(); crate::json_ser::serialize_structure_crate_model_gateway_list_item( &mut object_399, diff --git a/sdk/ivs/src/json_ser.rs b/sdk/ivs/src/json_ser.rs index a57b660a8380..9a718a8f3ef8 100644 --- a/sdk/ivs/src/json_ser.rs +++ b/sdk/ivs/src/json_ser.rs @@ -50,6 +50,7 @@ pub fn serialize_structure_crate_input_create_channel_input( .string(var_9.as_str()); } if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("tags").start_object(); for (key_12, value_13) in var_10 { { @@ -69,6 +70,7 @@ pub fn serialize_structure_crate_input_create_recording_configuration_input( input: &crate::input::CreateRecordingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.destination_configuration { + #[allow(unused_mut)] let mut object_16 = object.key("destinationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_destination_configuration( &mut object_16, @@ -86,6 +88,7 @@ pub fn serialize_structure_crate_input_create_recording_configuration_input( ); } if let Some(var_18) = &input.tags { + #[allow(unused_mut)] let mut object_19 = object.key("tags").start_object(); for (key_20, value_21) in var_18 { { @@ -95,6 +98,7 @@ pub fn serialize_structure_crate_input_create_recording_configuration_input( object_19.finish(); } if let Some(var_22) = &input.thumbnail_configuration { + #[allow(unused_mut)] let mut object_23 = object.key("thumbnailConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_thumbnail_configuration( &mut object_23, @@ -113,6 +117,7 @@ pub fn serialize_structure_crate_input_create_stream_key_input( object.key("channelArn").string(var_24.as_str()); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -238,6 +243,7 @@ pub fn serialize_structure_crate_input_import_playback_key_pair_input( object.key("publicKeyMaterial").string(var_41.as_str()); } if let Some(var_42) = &input.tags { + #[allow(unused_mut)] let mut object_43 = object.key("tags").start_object(); for (key_44, value_45) in var_42 { { @@ -329,6 +335,7 @@ pub fn serialize_structure_crate_input_list_streams_input( input: &crate::input::ListStreamsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_53) = &input.filter_by { + #[allow(unused_mut)] let mut object_54 = object.key("filterBy").start_object(); crate::json_ser::serialize_structure_crate_model_stream_filters(&mut object_54, var_53)?; object_54.finish(); @@ -392,6 +399,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_61) = &input.tags { + #[allow(unused_mut)] let mut object_62 = object.key("tags").start_object(); for (key_63, value_64) in var_61 { { @@ -435,6 +443,7 @@ pub fn serialize_structure_crate_model_destination_configuration( input: &crate::model::DestinationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.s3 { + #[allow(unused_mut)] let mut object_71 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_configuration( &mut object_71, diff --git a/sdk/ivschat/src/json_ser.rs b/sdk/ivschat/src/json_ser.rs index eafa91ded473..2b836245de0c 100644 --- a/sdk/ivschat/src/json_ser.rs +++ b/sdk/ivschat/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_chat_token_input( input: &crate::input::CreateChatTokenInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.attributes { + #[allow(unused_mut)] let mut object_2 = object.key("attributes").start_object(); for (key_3, value_4) in var_1 { { @@ -53,6 +54,7 @@ pub fn serialize_structure_crate_input_create_room_input( ); } if let Some(var_10) = &input.message_review_handler { + #[allow(unused_mut)] let mut object_11 = object.key("messageReviewHandler").start_object(); crate::json_ser::serialize_structure_crate_model_message_review_handler( &mut object_11, @@ -64,6 +66,7 @@ pub fn serialize_structure_crate_input_create_room_input( object.key("name").string(var_12.as_str()); } if let Some(var_13) = &input.tags { + #[allow(unused_mut)] let mut object_14 = object.key("tags").start_object(); for (key_15, value_16) in var_13 { { @@ -156,6 +159,7 @@ pub fn serialize_structure_crate_input_send_event_input( input: &crate::input::SendEventInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.attributes { + #[allow(unused_mut)] let mut object_29 = object.key("attributes").start_object(); for (key_30, value_31) in var_28 { { @@ -178,6 +182,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("tags").start_object(); for (key_36, value_37) in var_34 { { @@ -209,6 +214,7 @@ pub fn serialize_structure_crate_input_update_room_input( ); } if let Some(var_39) = &input.message_review_handler { + #[allow(unused_mut)] let mut object_40 = object.key("messageReviewHandler").start_object(); crate::json_ser::serialize_structure_crate_model_message_review_handler( &mut object_40, diff --git a/sdk/kafka/src/json_ser.rs b/sdk/kafka/src/json_ser.rs index b058688c0ce2..472a94eb8410 100644 --- a/sdk/kafka/src/json_ser.rs +++ b/sdk/kafka/src/json_ser.rs @@ -36,6 +36,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( input: &crate::input::CreateClusterInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_7) = &input.broker_node_group_info { + #[allow(unused_mut)] let mut object_8 = object.key("brokerNodeGroupInfo").start_object(); crate::json_ser::serialize_structure_crate_model_broker_node_group_info( &mut object_8, @@ -44,6 +45,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object_8.finish(); } if let Some(var_9) = &input.client_authentication { + #[allow(unused_mut)] let mut object_10 = object.key("clientAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_client_authentication( &mut object_10, @@ -55,6 +57,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("clusterName").string(var_11.as_str()); } if let Some(var_12) = &input.configuration_info { + #[allow(unused_mut)] let mut object_13 = object.key("configurationInfo").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_info( &mut object_13, @@ -63,6 +66,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object_13.finish(); } if let Some(var_14) = &input.encryption_info { + #[allow(unused_mut)] let mut object_15 = object.key("encryptionInfo").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_info(&mut object_15, var_14)?; object_15.finish(); @@ -74,6 +78,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("kafkaVersion").string(var_17.as_str()); } if let Some(var_18) = &input.logging_info { + #[allow(unused_mut)] let mut object_19 = object.key("loggingInfo").start_object(); crate::json_ser::serialize_structure_crate_model_logging_info(&mut object_19, var_18)?; object_19.finish(); @@ -85,6 +90,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( ); } if let Some(var_20) = &input.open_monitoring { + #[allow(unused_mut)] let mut object_21 = object.key("openMonitoring").start_object(); crate::json_ser::serialize_structure_crate_model_open_monitoring_info( &mut object_21, @@ -93,6 +99,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object_21.finish(); } if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("tags").start_object(); for (key_24, value_25) in var_22 { { @@ -112,6 +119,7 @@ pub fn serialize_structure_crate_input_create_cluster_v2_input( object.key("clusterName").string(var_26.as_str()); } if let Some(var_27) = &input.provisioned { + #[allow(unused_mut)] let mut object_28 = object.key("provisioned").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_request( &mut object_28, @@ -120,6 +128,7 @@ pub fn serialize_structure_crate_input_create_cluster_v2_input( object_28.finish(); } if let Some(var_29) = &input.serverless { + #[allow(unused_mut)] let mut object_30 = object.key("serverless").start_object(); crate::json_ser::serialize_structure_crate_model_serverless_request( &mut object_30, @@ -128,6 +137,7 @@ pub fn serialize_structure_crate_input_create_cluster_v2_input( object_30.finish(); } if let Some(var_31) = &input.tags { + #[allow(unused_mut)] let mut object_32 = object.key("tags").start_object(); for (key_33, value_34) in var_31 { { @@ -187,6 +197,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_44) = &input.tags { + #[allow(unused_mut)] let mut object_45 = object.key("tags").start_object(); for (key_46, value_47) in var_44 { { @@ -225,6 +236,7 @@ pub fn serialize_structure_crate_input_update_broker_storage_input( let mut array_51 = object.key("targetBrokerEBSVolumeInfo").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_broker_ebs_volume_info( &mut object_53, @@ -256,6 +268,7 @@ pub fn serialize_structure_crate_input_update_cluster_configuration_input( input: &crate::input::UpdateClusterConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_56) = &input.configuration_info { + #[allow(unused_mut)] let mut object_57 = object.key("configurationInfo").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_info( &mut object_57, @@ -274,6 +287,7 @@ pub fn serialize_structure_crate_input_update_cluster_kafka_version_input( input: &crate::input::UpdateClusterKafkaVersionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_59) = &input.configuration_info { + #[allow(unused_mut)] let mut object_60 = object.key("configurationInfo").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_info( &mut object_60, @@ -310,6 +324,7 @@ pub fn serialize_structure_crate_input_update_connectivity_input( input: &crate::input::UpdateConnectivityInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.connectivity_info { + #[allow(unused_mut)] let mut object_66 = object.key("connectivityInfo").start_object(); crate::json_ser::serialize_structure_crate_model_connectivity_info(&mut object_66, var_65)?; object_66.finish(); @@ -331,11 +346,13 @@ pub fn serialize_structure_crate_input_update_monitoring_input( object.key("enhancedMonitoring").string(var_69.as_str()); } if let Some(var_70) = &input.logging_info { + #[allow(unused_mut)] let mut object_71 = object.key("loggingInfo").start_object(); crate::json_ser::serialize_structure_crate_model_logging_info(&mut object_71, var_70)?; object_71.finish(); } if let Some(var_72) = &input.open_monitoring { + #[allow(unused_mut)] let mut object_73 = object.key("openMonitoring").start_object(); crate::json_ser::serialize_structure_crate_model_open_monitoring_info( &mut object_73, @@ -351,6 +368,7 @@ pub fn serialize_structure_crate_input_update_security_input( input: &crate::input::UpdateSecurityInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_74) = &input.client_authentication { + #[allow(unused_mut)] let mut object_75 = object.key("clientAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_client_authentication( &mut object_75, @@ -362,6 +380,7 @@ pub fn serialize_structure_crate_input_update_security_input( object.key("currentVersion").string(var_76.as_str()); } if let Some(var_77) = &input.encryption_info { + #[allow(unused_mut)] let mut object_78 = object.key("encryptionInfo").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_info(&mut object_78, var_77)?; object_78.finish(); @@ -398,11 +417,13 @@ pub fn serialize_structure_crate_model_broker_node_group_info( array_85.finish(); } if let Some(var_87) = &input.storage_info { + #[allow(unused_mut)] let mut object_88 = object.key("storageInfo").start_object(); crate::json_ser::serialize_structure_crate_model_storage_info(&mut object_88, var_87)?; object_88.finish(); } if let Some(var_89) = &input.connectivity_info { + #[allow(unused_mut)] let mut object_90 = object.key("connectivityInfo").start_object(); crate::json_ser::serialize_structure_crate_model_connectivity_info(&mut object_90, var_89)?; object_90.finish(); @@ -415,16 +436,19 @@ pub fn serialize_structure_crate_model_client_authentication( input: &crate::model::ClientAuthentication, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_91) = &input.sasl { + #[allow(unused_mut)] let mut object_92 = object.key("sasl").start_object(); crate::json_ser::serialize_structure_crate_model_sasl(&mut object_92, var_91)?; object_92.finish(); } if let Some(var_93) = &input.tls { + #[allow(unused_mut)] let mut object_94 = object.key("tls").start_object(); crate::json_ser::serialize_structure_crate_model_tls(&mut object_94, var_93)?; object_94.finish(); } if let Some(var_95) = &input.unauthenticated { + #[allow(unused_mut)] let mut object_96 = object.key("unauthenticated").start_object(); crate::json_ser::serialize_structure_crate_model_unauthenticated(&mut object_96, var_95)?; object_96.finish(); @@ -453,6 +477,7 @@ pub fn serialize_structure_crate_model_encryption_info( input: &crate::model::EncryptionInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_98) = &input.encryption_at_rest { + #[allow(unused_mut)] let mut object_99 = object.key("encryptionAtRest").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_at_rest( &mut object_99, @@ -461,6 +486,7 @@ pub fn serialize_structure_crate_model_encryption_info( object_99.finish(); } if let Some(var_100) = &input.encryption_in_transit { + #[allow(unused_mut)] let mut object_101 = object.key("encryptionInTransit").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_in_transit( &mut object_101, @@ -476,6 +502,7 @@ pub fn serialize_structure_crate_model_logging_info( input: &crate::model::LoggingInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.broker_logs { + #[allow(unused_mut)] let mut object_103 = object.key("brokerLogs").start_object(); crate::json_ser::serialize_structure_crate_model_broker_logs(&mut object_103, var_102)?; object_103.finish(); @@ -488,6 +515,7 @@ pub fn serialize_structure_crate_model_open_monitoring_info( input: &crate::model::OpenMonitoringInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_104) = &input.prometheus { + #[allow(unused_mut)] let mut object_105 = object.key("prometheus").start_object(); crate::json_ser::serialize_structure_crate_model_prometheus_info(&mut object_105, var_104)?; object_105.finish(); @@ -500,6 +528,7 @@ pub fn serialize_structure_crate_model_provisioned_request( input: &crate::model::ProvisionedRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_106) = &input.broker_node_group_info { + #[allow(unused_mut)] let mut object_107 = object.key("brokerNodeGroupInfo").start_object(); crate::json_ser::serialize_structure_crate_model_broker_node_group_info( &mut object_107, @@ -508,6 +537,7 @@ pub fn serialize_structure_crate_model_provisioned_request( object_107.finish(); } if let Some(var_108) = &input.client_authentication { + #[allow(unused_mut)] let mut object_109 = object.key("clientAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_client_authentication( &mut object_109, @@ -516,6 +546,7 @@ pub fn serialize_structure_crate_model_provisioned_request( object_109.finish(); } if let Some(var_110) = &input.configuration_info { + #[allow(unused_mut)] let mut object_111 = object.key("configurationInfo").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_info( &mut object_111, @@ -524,6 +555,7 @@ pub fn serialize_structure_crate_model_provisioned_request( object_111.finish(); } if let Some(var_112) = &input.encryption_info { + #[allow(unused_mut)] let mut object_113 = object.key("encryptionInfo").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_info(&mut object_113, var_112)?; object_113.finish(); @@ -532,6 +564,7 @@ pub fn serialize_structure_crate_model_provisioned_request( object.key("enhancedMonitoring").string(var_114.as_str()); } if let Some(var_115) = &input.open_monitoring { + #[allow(unused_mut)] let mut object_116 = object.key("openMonitoring").start_object(); crate::json_ser::serialize_structure_crate_model_open_monitoring_info( &mut object_116, @@ -543,6 +576,7 @@ pub fn serialize_structure_crate_model_provisioned_request( object.key("kafkaVersion").string(var_117.as_str()); } if let Some(var_118) = &input.logging_info { + #[allow(unused_mut)] let mut object_119 = object.key("loggingInfo").start_object(); crate::json_ser::serialize_structure_crate_model_logging_info(&mut object_119, var_118)?; object_119.finish(); @@ -564,6 +598,7 @@ pub fn serialize_structure_crate_model_serverless_request( let mut array_121 = object.key("vpcConfigs").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config( &mut object_123, @@ -575,6 +610,7 @@ pub fn serialize_structure_crate_model_serverless_request( array_121.finish(); } if let Some(var_124) = &input.client_authentication { + #[allow(unused_mut)] let mut object_125 = object.key("clientAuthentication").start_object(); crate::json_ser::serialize_structure_crate_model_serverless_client_authentication( &mut object_125, @@ -593,6 +629,7 @@ pub fn serialize_structure_crate_model_broker_ebs_volume_info( object.key("kafkaBrokerNodeId").string(var_126.as_str()); } if let Some(var_127) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_128 = object.key("provisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_128, @@ -614,6 +651,7 @@ pub fn serialize_structure_crate_model_connectivity_info( input: &crate::model::ConnectivityInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_129) = &input.public_access { + #[allow(unused_mut)] let mut object_130 = object.key("publicAccess").start_object(); crate::json_ser::serialize_structure_crate_model_public_access(&mut object_130, var_129)?; object_130.finish(); @@ -626,6 +664,7 @@ pub fn serialize_structure_crate_model_storage_info( input: &crate::model::StorageInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_131) = &input.ebs_storage_info { + #[allow(unused_mut)] let mut object_132 = object.key("ebsStorageInfo").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_storage_info( &mut object_132, @@ -641,11 +680,13 @@ pub fn serialize_structure_crate_model_sasl( input: &crate::model::Sasl, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_133) = &input.scram { + #[allow(unused_mut)] let mut object_134 = object.key("scram").start_object(); crate::json_ser::serialize_structure_crate_model_scram(&mut object_134, var_133)?; object_134.finish(); } if let Some(var_135) = &input.iam { + #[allow(unused_mut)] let mut object_136 = object.key("iam").start_object(); crate::json_ser::serialize_structure_crate_model_iam(&mut object_136, var_135)?; object_136.finish(); @@ -710,6 +751,7 @@ pub fn serialize_structure_crate_model_broker_logs( input: &crate::model::BrokerLogs, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_142) = &input.cloud_watch_logs { + #[allow(unused_mut)] let mut object_143 = object.key("cloudWatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs( &mut object_143, @@ -718,11 +760,13 @@ pub fn serialize_structure_crate_model_broker_logs( object_143.finish(); } if let Some(var_144) = &input.firehose { + #[allow(unused_mut)] let mut object_145 = object.key("firehose").start_object(); crate::json_ser::serialize_structure_crate_model_firehose(&mut object_145, var_144)?; object_145.finish(); } if let Some(var_146) = &input.s3 { + #[allow(unused_mut)] let mut object_147 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3(&mut object_147, var_146)?; object_147.finish(); @@ -735,6 +779,7 @@ pub fn serialize_structure_crate_model_prometheus_info( input: &crate::model::PrometheusInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_148) = &input.jmx_exporter { + #[allow(unused_mut)] let mut object_149 = object.key("jmxExporter").start_object(); crate::json_ser::serialize_structure_crate_model_jmx_exporter_info( &mut object_149, @@ -743,6 +788,7 @@ pub fn serialize_structure_crate_model_prometheus_info( object_149.finish(); } if let Some(var_150) = &input.node_exporter { + #[allow(unused_mut)] let mut object_151 = object.key("nodeExporter").start_object(); crate::json_ser::serialize_structure_crate_model_node_exporter_info( &mut object_151, @@ -783,6 +829,7 @@ pub fn serialize_structure_crate_model_serverless_client_authentication( input: &crate::model::ServerlessClientAuthentication, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_158) = &input.sasl { + #[allow(unused_mut)] let mut object_159 = object.key("sasl").start_object(); crate::json_ser::serialize_structure_crate_model_serverless_sasl(&mut object_159, var_158)?; object_159.finish(); @@ -821,6 +868,7 @@ pub fn serialize_structure_crate_model_ebs_storage_info( input: &crate::model::EbsStorageInfo, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_161) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_162 = object.key("provisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_throughput( &mut object_162, @@ -928,6 +976,7 @@ pub fn serialize_structure_crate_model_serverless_sasl( input: &crate::model::ServerlessSasl, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_167) = &input.iam { + #[allow(unused_mut)] let mut object_168 = object.key("iam").start_object(); crate::json_ser::serialize_structure_crate_model_iam(&mut object_168, var_167)?; object_168.finish(); diff --git a/sdk/kafkaconnect/src/json_ser.rs b/sdk/kafkaconnect/src/json_ser.rs index 891c93a7a1c6..ba83695f1ad3 100644 --- a/sdk/kafkaconnect/src/json_ser.rs +++ b/sdk/kafkaconnect/src/json_ser.rs @@ -4,11 +4,13 @@ pub fn serialize_structure_crate_input_create_connector_input( input: &crate::input::CreateConnectorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.capacity { + #[allow(unused_mut)] let mut object_2 = object.key("capacity").start_object(); crate::json_ser::serialize_structure_crate_model_capacity(&mut object_2, var_1)?; object_2.finish(); } if let Some(var_3) = &input.connector_configuration { + #[allow(unused_mut)] let mut object_4 = object.key("connectorConfiguration").start_object(); for (key_5, value_6) in var_3 { { @@ -24,11 +26,13 @@ pub fn serialize_structure_crate_input_create_connector_input( object.key("connectorName").string(var_8.as_str()); } if let Some(var_9) = &input.kafka_cluster { + #[allow(unused_mut)] let mut object_10 = object.key("kafkaCluster").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_cluster(&mut object_10, var_9)?; object_10.finish(); } if let Some(var_11) = &input.kafka_cluster_client_authentication { + #[allow(unused_mut)] let mut object_12 = object .key("kafkaClusterClientAuthentication") .start_object(); @@ -39,6 +43,7 @@ pub fn serialize_structure_crate_input_create_connector_input( object_12.finish(); } if let Some(var_13) = &input.kafka_cluster_encryption_in_transit { + #[allow(unused_mut)] let mut object_14 = object.key("kafkaClusterEncryptionInTransit").start_object(); crate::json_ser::serialize_structure_crate_model_kafka_cluster_encryption_in_transit( &mut object_14, @@ -50,6 +55,7 @@ pub fn serialize_structure_crate_input_create_connector_input( object.key("kafkaConnectVersion").string(var_15.as_str()); } if let Some(var_16) = &input.log_delivery { + #[allow(unused_mut)] let mut object_17 = object.key("logDelivery").start_object(); crate::json_ser::serialize_structure_crate_model_log_delivery(&mut object_17, var_16)?; object_17.finish(); @@ -58,6 +64,7 @@ pub fn serialize_structure_crate_input_create_connector_input( let mut array_19 = object.key("plugins").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_plugin(&mut object_21, item_20)?; object_21.finish(); @@ -71,6 +78,7 @@ pub fn serialize_structure_crate_input_create_connector_input( .string(var_22.as_str()); } if let Some(var_23) = &input.worker_configuration { + #[allow(unused_mut)] let mut object_24 = object.key("workerConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_worker_configuration( &mut object_24, @@ -92,6 +100,7 @@ pub fn serialize_structure_crate_input_create_custom_plugin_input( object.key("description").string(var_26.as_str()); } if let Some(var_27) = &input.location { + #[allow(unused_mut)] let mut object_28 = object.key("location").start_object(); crate::json_ser::serialize_structure_crate_model_custom_plugin_location( &mut object_28, @@ -126,6 +135,7 @@ pub fn serialize_structure_crate_input_update_connector_input( input: &crate::input::UpdateConnectorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_33) = &input.capacity { + #[allow(unused_mut)] let mut object_34 = object.key("capacity").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_update(&mut object_34, var_33)?; object_34.finish(); @@ -138,11 +148,13 @@ pub fn serialize_structure_crate_model_capacity( input: &crate::model::Capacity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_35) = &input.auto_scaling { + #[allow(unused_mut)] let mut object_36 = object.key("autoScaling").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling(&mut object_36, var_35)?; object_36.finish(); } if let Some(var_37) = &input.provisioned_capacity { + #[allow(unused_mut)] let mut object_38 = object.key("provisionedCapacity").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_capacity( &mut object_38, @@ -158,6 +170,7 @@ pub fn serialize_structure_crate_model_kafka_cluster( input: &crate::model::KafkaCluster, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.apache_kafka_cluster { + #[allow(unused_mut)] let mut object_40 = object.key("apacheKafkaCluster").start_object(); crate::json_ser::serialize_structure_crate_model_apache_kafka_cluster( &mut object_40, @@ -193,6 +206,7 @@ pub fn serialize_structure_crate_model_log_delivery( input: &crate::model::LogDelivery, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_43) = &input.worker_log_delivery { + #[allow(unused_mut)] let mut object_44 = object.key("workerLogDelivery").start_object(); crate::json_ser::serialize_structure_crate_model_worker_log_delivery( &mut object_44, @@ -208,6 +222,7 @@ pub fn serialize_structure_crate_model_plugin( input: &crate::model::Plugin, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.custom_plugin { + #[allow(unused_mut)] let mut object_46 = object.key("customPlugin").start_object(); crate::json_ser::serialize_structure_crate_model_custom_plugin(&mut object_46, var_45)?; object_46.finish(); @@ -236,6 +251,7 @@ pub fn serialize_structure_crate_model_custom_plugin_location( input: &crate::model::CustomPluginLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_48) = &input.s3_location { + #[allow(unused_mut)] let mut object_49 = object.key("s3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_49, var_48)?; object_49.finish(); @@ -248,6 +264,7 @@ pub fn serialize_structure_crate_model_capacity_update( input: &crate::model::CapacityUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_50) = &input.auto_scaling { + #[allow(unused_mut)] let mut object_51 = object.key("autoScaling").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_update( &mut object_51, @@ -256,6 +273,7 @@ pub fn serialize_structure_crate_model_capacity_update( object_51.finish(); } if let Some(var_52) = &input.provisioned_capacity { + #[allow(unused_mut)] let mut object_53 = object.key("provisionedCapacity").start_object(); crate::json_ser::serialize_structure_crate_model_provisioned_capacity_update( &mut object_53, @@ -289,11 +307,13 @@ pub fn serialize_structure_crate_model_auto_scaling( ); } if let Some(var_54) = &input.scale_in_policy { + #[allow(unused_mut)] let mut object_55 = object.key("scaleInPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_scale_in_policy(&mut object_55, var_54)?; object_55.finish(); } if let Some(var_56) = &input.scale_out_policy { + #[allow(unused_mut)] let mut object_57 = object.key("scaleOutPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_scale_out_policy(&mut object_57, var_56)?; object_57.finish(); @@ -328,6 +348,7 @@ pub fn serialize_structure_crate_model_apache_kafka_cluster( object.key("bootstrapServers").string(var_58.as_str()); } if let Some(var_59) = &input.vpc { + #[allow(unused_mut)] let mut object_60 = object.key("vpc").start_object(); crate::json_ser::serialize_structure_crate_model_vpc(&mut object_60, var_59)?; object_60.finish(); @@ -340,6 +361,7 @@ pub fn serialize_structure_crate_model_worker_log_delivery( input: &crate::model::WorkerLogDelivery, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_61) = &input.cloud_watch_logs { + #[allow(unused_mut)] let mut object_62 = object.key("cloudWatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_log_delivery( &mut object_62, @@ -348,6 +370,7 @@ pub fn serialize_structure_crate_model_worker_log_delivery( object_62.finish(); } if let Some(var_63) = &input.firehose { + #[allow(unused_mut)] let mut object_64 = object.key("firehose").start_object(); crate::json_ser::serialize_structure_crate_model_firehose_log_delivery( &mut object_64, @@ -356,6 +379,7 @@ pub fn serialize_structure_crate_model_worker_log_delivery( object_64.finish(); } if let Some(var_65) = &input.s3 { + #[allow(unused_mut)] let mut object_66 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_log_delivery(&mut object_66, var_65)?; object_66.finish(); @@ -418,6 +442,7 @@ pub fn serialize_structure_crate_model_auto_scaling_update( ); } if let Some(var_71) = &input.scale_in_policy { + #[allow(unused_mut)] let mut object_72 = object.key("scaleInPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_scale_in_policy_update( &mut object_72, @@ -426,6 +451,7 @@ pub fn serialize_structure_crate_model_auto_scaling_update( object_72.finish(); } if let Some(var_73) = &input.scale_out_policy { + #[allow(unused_mut)] let mut object_74 = object.key("scaleOutPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_scale_out_policy_update( &mut object_74, diff --git a/sdk/kendra/src/json_ser.rs b/sdk/kendra/src/json_ser.rs index 9d19bf0bf79c..a450357f4aa8 100644 --- a/sdk/kendra/src/json_ser.rs +++ b/sdk/kendra/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_associate_entities_to_experience_input( let mut array_4 = object.key("EntityList").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity_configuration( &mut object_6, @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_associate_personas_to_entities_input( let mut array_10 = object.key("Personas").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity_persona_configuration( &mut object_12, @@ -70,6 +72,7 @@ pub fn serialize_structure_crate_input_batch_delete_document_input( array_15.finish(); } if let Some(var_17) = &input.data_source_sync_job_metric_target { + #[allow(unused_mut)] let mut object_18 = object.key("DataSourceSyncJobMetricTarget").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_sync_job_metric_target( &mut object_18, @@ -91,6 +94,7 @@ pub fn serialize_structure_crate_input_batch_get_document_status_input( let mut array_21 = object.key("DocumentInfoList").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_info( &mut object_23, @@ -118,6 +122,7 @@ pub fn serialize_structure_crate_input_batch_put_document_input( let mut array_27 = object.key("Documents").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_document(&mut object_29, item_28)?; object_29.finish(); @@ -126,6 +131,7 @@ pub fn serialize_structure_crate_input_batch_put_document_input( array_27.finish(); } if let Some(var_30) = &input.custom_document_enrichment_configuration { + #[allow(unused_mut)] let mut object_31 = object .key("CustomDocumentEnrichmentConfiguration") .start_object(); @@ -165,6 +171,7 @@ pub fn serialize_structure_crate_input_create_access_control_configuration_input let mut array_37 = object.key("AccessControlList").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal( &mut object_39, @@ -179,6 +186,7 @@ pub fn serialize_structure_crate_input_create_access_control_configuration_input let mut array_41 = object.key("HierarchicalAccessControlList").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_hierarchical_principal( &mut object_43, @@ -209,6 +217,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object.key("Type").string(var_47.as_str()); } if let Some(var_48) = &input.configuration { + #[allow(unused_mut)] let mut object_49 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configuration( &mut object_49, @@ -217,6 +226,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object_49.finish(); } if let Some(var_50) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_51 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_51, @@ -237,6 +247,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( let mut array_56 = object.key("Tags").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_58, item_57)?; object_58.finish(); @@ -251,6 +262,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object.key("LanguageCode").string(var_60.as_str()); } if let Some(var_61) = &input.custom_document_enrichment_configuration { + #[allow(unused_mut)] let mut object_62 = object .key("CustomDocumentEnrichmentConfiguration") .start_object(); @@ -277,6 +289,7 @@ pub fn serialize_structure_crate_input_create_experience_input( object.key("RoleArn").string(var_65.as_str()); } if let Some(var_66) = &input.configuration { + #[allow(unused_mut)] let mut object_67 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_experience_configuration( &mut object_67, @@ -307,6 +320,7 @@ pub fn serialize_structure_crate_input_create_faq_input( object.key("Description").string(var_72.as_str()); } if let Some(var_73) = &input.s3_path { + #[allow(unused_mut)] let mut object_74 = object.key("S3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_74, var_73)?; object_74.finish(); @@ -318,6 +332,7 @@ pub fn serialize_structure_crate_input_create_faq_input( let mut array_77 = object.key("Tags").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_79, item_78)?; object_79.finish(); @@ -351,6 +366,7 @@ pub fn serialize_structure_crate_input_create_index_input( object.key("RoleArn").string(var_85.as_str()); } if let Some(var_86) = &input.server_side_encryption_configuration { + #[allow(unused_mut)] let mut object_87 = object .key("ServerSideEncryptionConfiguration") .start_object(); @@ -370,6 +386,7 @@ pub fn serialize_structure_crate_input_create_index_input( let mut array_91 = object.key("Tags").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_93, item_92)?; object_93.finish(); @@ -381,6 +398,7 @@ pub fn serialize_structure_crate_input_create_index_input( let mut array_95 = object.key("UserTokenConfigurations").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_token_configuration( &mut object_97, @@ -395,6 +413,7 @@ pub fn serialize_structure_crate_input_create_index_input( object.key("UserContextPolicy").string(var_98.as_str()); } if let Some(var_99) = &input.user_group_resolution_configuration { + #[allow(unused_mut)] let mut object_100 = object .key("UserGroupResolutionConfiguration") .start_object(); @@ -421,6 +440,7 @@ pub fn serialize_structure_crate_input_create_query_suggestions_block_list_input object.key("Description").string(var_103.as_str()); } if let Some(var_104) = &input.source_s3_path { + #[allow(unused_mut)] let mut object_105 = object.key("SourceS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_105, var_104)?; object_105.finish(); @@ -435,6 +455,7 @@ pub fn serialize_structure_crate_input_create_query_suggestions_block_list_input let mut array_109 = object.key("Tags").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_111, item_110)?; object_111.finish(); @@ -465,6 +486,7 @@ pub fn serialize_structure_crate_input_create_thesaurus_input( let mut array_117 = object.key("Tags").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_119, item_118)?; object_119.finish(); @@ -473,6 +495,7 @@ pub fn serialize_structure_crate_input_create_thesaurus_input( array_117.finish(); } if let Some(var_120) = &input.source_s3_path { + #[allow(unused_mut)] let mut object_121 = object.key("SourceS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_121, var_120)?; object_121.finish(); @@ -721,6 +744,7 @@ pub fn serialize_structure_crate_input_disassociate_entities_from_experience_inp let mut array_160 = object.key("EntityList").start_array(); for item_161 in var_159 { { + #[allow(unused_mut)] let mut object_162 = array_160.value().start_object(); crate::json_ser::serialize_structure_crate_model_entity_configuration( &mut object_162, @@ -858,6 +882,7 @@ pub fn serialize_structure_crate_input_list_data_source_sync_jobs_input( ); } if let Some(var_186) = &input.start_time_filter { + #[allow(unused_mut)] let mut object_187 = object.key("StartTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_time_range(&mut object_187, var_186)?; object_187.finish(); @@ -1050,6 +1075,7 @@ pub fn serialize_structure_crate_input_put_principal_mapping_input( object.key("GroupId").string(var_218.as_str()); } if let Some(var_219) = &input.group_members { + #[allow(unused_mut)] let mut object_220 = object.key("GroupMembers").start_object(); crate::json_ser::serialize_structure_crate_model_group_members(&mut object_220, var_219)?; object_220.finish(); @@ -1077,6 +1103,7 @@ pub fn serialize_structure_crate_input_query_input( object.key("QueryText").string(var_224.as_str()); } if let Some(var_225) = &input.attribute_filter { + #[allow(unused_mut)] let mut object_226 = object.key("AttributeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_filter( &mut object_226, @@ -1088,6 +1115,7 @@ pub fn serialize_structure_crate_input_query_input( let mut array_228 = object.key("Facets").start_array(); for item_229 in var_227 { { + #[allow(unused_mut)] let mut object_230 = array_228.value().start_object(); crate::json_ser::serialize_structure_crate_model_facet(&mut object_230, item_229)?; object_230.finish(); @@ -1113,6 +1141,7 @@ pub fn serialize_structure_crate_input_query_input( .start_array(); for item_237 in var_235 { { + #[allow(unused_mut)] let mut object_238 = array_236.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_relevance_configuration( &mut object_238, @@ -1136,6 +1165,7 @@ pub fn serialize_structure_crate_input_query_input( ); } if let Some(var_241) = &input.sorting_configuration { + #[allow(unused_mut)] let mut object_242 = object.key("SortingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sorting_configuration( &mut object_242, @@ -1144,6 +1174,7 @@ pub fn serialize_structure_crate_input_query_input( object_242.finish(); } if let Some(var_243) = &input.user_context { + #[allow(unused_mut)] let mut object_244 = object.key("UserContext").start_object(); crate::json_ser::serialize_structure_crate_model_user_context(&mut object_244, var_243)?; object_244.finish(); @@ -1152,6 +1183,7 @@ pub fn serialize_structure_crate_input_query_input( object.key("VisitorId").string(var_245.as_str()); } if let Some(var_246) = &input.spell_correction_configuration { + #[allow(unused_mut)] let mut object_247 = object.key("SpellCorrectionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_spell_correction_configuration( &mut object_247, @@ -1202,6 +1234,7 @@ pub fn serialize_structure_crate_input_submit_feedback_input( let mut array_255 = object.key("ClickFeedbackItems").start_array(); for item_256 in var_254 { { + #[allow(unused_mut)] let mut object_257 = array_255.value().start_object(); crate::json_ser::serialize_structure_crate_model_click_feedback( &mut object_257, @@ -1216,6 +1249,7 @@ pub fn serialize_structure_crate_input_submit_feedback_input( let mut array_259 = object.key("RelevanceFeedbackItems").start_array(); for item_260 in var_258 { { + #[allow(unused_mut)] let mut object_261 = array_259.value().start_object(); crate::json_ser::serialize_structure_crate_model_relevance_feedback( &mut object_261, @@ -1240,6 +1274,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_264 = object.key("Tags").start_array(); for item_265 in var_263 { { + #[allow(unused_mut)] let mut object_266 = array_264.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_266, item_265)?; object_266.finish(); @@ -1289,6 +1324,7 @@ pub fn serialize_structure_crate_input_update_access_control_configuration_input let mut array_276 = object.key("AccessControlList").start_array(); for item_277 in var_275 { { + #[allow(unused_mut)] let mut object_278 = array_276.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal( &mut object_278, @@ -1303,6 +1339,7 @@ pub fn serialize_structure_crate_input_update_access_control_configuration_input let mut array_280 = object.key("HierarchicalAccessControlList").start_array(); for item_281 in var_279 { { + #[allow(unused_mut)] let mut object_282 = array_280.value().start_object(); crate::json_ser::serialize_structure_crate_model_hierarchical_principal( &mut object_282, @@ -1330,6 +1367,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object.key("IndexId").string(var_285.as_str()); } if let Some(var_286) = &input.configuration { + #[allow(unused_mut)] let mut object_287 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configuration( &mut object_287, @@ -1338,6 +1376,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_287.finish(); } if let Some(var_288) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_289 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_289, @@ -1358,6 +1397,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object.key("LanguageCode").string(var_293.as_str()); } if let Some(var_294) = &input.custom_document_enrichment_configuration { + #[allow(unused_mut)] let mut object_295 = object .key("CustomDocumentEnrichmentConfiguration") .start_object(); @@ -1387,6 +1427,7 @@ pub fn serialize_structure_crate_input_update_experience_input( object.key("RoleArn").string(var_299.as_str()); } if let Some(var_300) = &input.configuration { + #[allow(unused_mut)] let mut object_301 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_experience_configuration( &mut object_301, @@ -1422,6 +1463,7 @@ pub fn serialize_structure_crate_input_update_index_input( .start_array(); for item_309 in var_307 { { + #[allow(unused_mut)] let mut object_310 = array_308.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_metadata_configuration( &mut object_310, @@ -1433,6 +1475,7 @@ pub fn serialize_structure_crate_input_update_index_input( array_308.finish(); } if let Some(var_311) = &input.capacity_units { + #[allow(unused_mut)] let mut object_312 = object.key("CapacityUnits").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_units_configuration( &mut object_312, @@ -1444,6 +1487,7 @@ pub fn serialize_structure_crate_input_update_index_input( let mut array_314 = object.key("UserTokenConfigurations").start_array(); for item_315 in var_313 { { + #[allow(unused_mut)] let mut object_316 = array_314.value().start_object(); crate::json_ser::serialize_structure_crate_model_user_token_configuration( &mut object_316, @@ -1458,6 +1502,7 @@ pub fn serialize_structure_crate_input_update_index_input( object.key("UserContextPolicy").string(var_317.as_str()); } if let Some(var_318) = &input.user_group_resolution_configuration { + #[allow(unused_mut)] let mut object_319 = object .key("UserGroupResolutionConfiguration") .start_object(); @@ -1487,6 +1532,7 @@ pub fn serialize_structure_crate_input_update_query_suggestions_block_list_input object.key("Description").string(var_323.as_str()); } if let Some(var_324) = &input.source_s3_path { + #[allow(unused_mut)] let mut object_325 = object.key("SourceS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_325, var_324)?; object_325.finish(); @@ -1553,6 +1599,7 @@ pub fn serialize_structure_crate_input_update_thesaurus_input( object.key("RoleArn").string(var_337.as_str()); } if let Some(var_338) = &input.source_s3_path { + #[allow(unused_mut)] let mut object_339 = object.key("SourceS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_339, var_338)?; object_339.finish(); @@ -1610,6 +1657,7 @@ pub fn serialize_structure_crate_model_document_info( let mut array_348 = object.key("Attributes").start_array(); for item_349 in var_347 { { + #[allow(unused_mut)] let mut object_350 = array_348.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_350, @@ -1639,6 +1687,7 @@ pub fn serialize_structure_crate_model_document( .string_unchecked(&aws_smithy_types::base64::encode(var_353)); } if let Some(var_354) = &input.s3_path { + #[allow(unused_mut)] let mut object_355 = object.key("S3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_355, var_354)?; object_355.finish(); @@ -1647,6 +1696,7 @@ pub fn serialize_structure_crate_model_document( let mut array_357 = object.key("Attributes").start_array(); for item_358 in var_356 { { + #[allow(unused_mut)] let mut object_359 = array_357.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_359, @@ -1661,6 +1711,7 @@ pub fn serialize_structure_crate_model_document( let mut array_361 = object.key("AccessControlList").start_array(); for item_362 in var_360 { { + #[allow(unused_mut)] let mut object_363 = array_361.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal( &mut object_363, @@ -1675,6 +1726,7 @@ pub fn serialize_structure_crate_model_document( let mut array_365 = object.key("HierarchicalAccessControlList").start_array(); for item_366 in var_364 { { + #[allow(unused_mut)] let mut object_367 = array_365.value().start_object(); crate::json_ser::serialize_structure_crate_model_hierarchical_principal( &mut object_367, @@ -1704,6 +1756,7 @@ pub fn serialize_structure_crate_model_custom_document_enrichment_configuration( let mut array_371 = object.key("InlineConfigurations").start_array(); for item_372 in var_370 { { + #[allow(unused_mut)] let mut object_373 = array_371.value().start_object(); crate::json_ser::serialize_structure_crate_model_inline_custom_document_enrichment_configuration(&mut object_373, item_372)?; object_373.finish(); @@ -1712,6 +1765,7 @@ pub fn serialize_structure_crate_model_custom_document_enrichment_configuration( array_371.finish(); } if let Some(var_374) = &input.pre_extraction_hook_configuration { + #[allow(unused_mut)] let mut object_375 = object.key("PreExtractionHookConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_hook_configuration( &mut object_375, @@ -1720,6 +1774,7 @@ pub fn serialize_structure_crate_model_custom_document_enrichment_configuration( object_375.finish(); } if let Some(var_376) = &input.post_extraction_hook_configuration { + #[allow(unused_mut)] let mut object_377 = object.key("PostExtractionHookConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_hook_configuration( &mut object_377, @@ -1760,6 +1815,7 @@ pub fn serialize_structure_crate_model_hierarchical_principal( let mut array_384 = object.key("PrincipalList").start_array(); for item_385 in var_383 { { + #[allow(unused_mut)] let mut object_386 = array_384.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal( &mut object_386, @@ -1778,6 +1834,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( input: &crate::model::DataSourceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_387) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_388 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_source_configuration( &mut object_388, @@ -1786,6 +1843,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_388.finish(); } if let Some(var_389) = &input.share_point_configuration { + #[allow(unused_mut)] let mut object_390 = object.key("SharePointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_share_point_configuration( &mut object_390, @@ -1794,6 +1852,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_390.finish(); } if let Some(var_391) = &input.database_configuration { + #[allow(unused_mut)] let mut object_392 = object.key("DatabaseConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_database_configuration( &mut object_392, @@ -1802,6 +1861,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_392.finish(); } if let Some(var_393) = &input.salesforce_configuration { + #[allow(unused_mut)] let mut object_394 = object.key("SalesforceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_configuration( &mut object_394, @@ -1810,6 +1870,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_394.finish(); } if let Some(var_395) = &input.one_drive_configuration { + #[allow(unused_mut)] let mut object_396 = object.key("OneDriveConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_one_drive_configuration( &mut object_396, @@ -1818,6 +1879,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_396.finish(); } if let Some(var_397) = &input.service_now_configuration { + #[allow(unused_mut)] let mut object_398 = object.key("ServiceNowConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_configuration( &mut object_398, @@ -1826,6 +1888,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_398.finish(); } if let Some(var_399) = &input.confluence_configuration { + #[allow(unused_mut)] let mut object_400 = object.key("ConfluenceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_confluence_configuration( &mut object_400, @@ -1834,6 +1897,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_400.finish(); } if let Some(var_401) = &input.google_drive_configuration { + #[allow(unused_mut)] let mut object_402 = object.key("GoogleDriveConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_google_drive_configuration( &mut object_402, @@ -1842,6 +1906,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_402.finish(); } if let Some(var_403) = &input.web_crawler_configuration { + #[allow(unused_mut)] let mut object_404 = object.key("WebCrawlerConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_web_crawler_configuration( &mut object_404, @@ -1850,6 +1915,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_404.finish(); } if let Some(var_405) = &input.work_docs_configuration { + #[allow(unused_mut)] let mut object_406 = object.key("WorkDocsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_work_docs_configuration( &mut object_406, @@ -1858,6 +1924,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_406.finish(); } if let Some(var_407) = &input.fsx_configuration { + #[allow(unused_mut)] let mut object_408 = object.key("FsxConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_fsx_configuration( &mut object_408, @@ -1866,6 +1933,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_408.finish(); } if let Some(var_409) = &input.slack_configuration { + #[allow(unused_mut)] let mut object_410 = object.key("SlackConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_slack_configuration( &mut object_410, @@ -1874,6 +1942,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_410.finish(); } if let Some(var_411) = &input.box_configuration { + #[allow(unused_mut)] let mut object_412 = object.key("BoxConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_box_configuration( &mut object_412, @@ -1882,6 +1951,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_412.finish(); } if let Some(var_413) = &input.quip_configuration { + #[allow(unused_mut)] let mut object_414 = object.key("QuipConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_quip_configuration( &mut object_414, @@ -1890,6 +1960,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_414.finish(); } if let Some(var_415) = &input.jira_configuration { + #[allow(unused_mut)] let mut object_416 = object.key("JiraConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_jira_configuration( &mut object_416, @@ -1898,6 +1969,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_416.finish(); } if let Some(var_417) = &input.git_hub_configuration { + #[allow(unused_mut)] let mut object_418 = object.key("GitHubConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_git_hub_configuration( &mut object_418, @@ -1906,6 +1978,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_418.finish(); } if let Some(var_419) = &input.alfresco_configuration { + #[allow(unused_mut)] let mut object_420 = object.key("AlfrescoConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alfresco_configuration( &mut object_420, @@ -1914,6 +1987,7 @@ pub fn serialize_structure_crate_model_data_source_configuration( object_420.finish(); } if let Some(var_421) = &input.template_configuration { + #[allow(unused_mut)] let mut object_422 = object.key("TemplateConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_template_configuration( &mut object_422, @@ -1967,6 +2041,7 @@ pub fn serialize_structure_crate_model_experience_configuration( input: &crate::model::ExperienceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_431) = &input.content_source_configuration { + #[allow(unused_mut)] let mut object_432 = object.key("ContentSourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_content_source_configuration( &mut object_432, @@ -1975,6 +2050,7 @@ pub fn serialize_structure_crate_model_experience_configuration( object_432.finish(); } if let Some(var_433) = &input.user_identity_configuration { + #[allow(unused_mut)] let mut object_434 = object.key("UserIdentityConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_user_identity_configuration( &mut object_434, @@ -2013,6 +2089,7 @@ pub fn serialize_structure_crate_model_user_token_configuration( input: &crate::model::UserTokenConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_438) = &input.jwt_token_type_configuration { + #[allow(unused_mut)] let mut object_439 = object.key("JwtTokenTypeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_jwt_token_type_configuration( &mut object_439, @@ -2021,6 +2098,7 @@ pub fn serialize_structure_crate_model_user_token_configuration( object_439.finish(); } if let Some(var_440) = &input.json_token_type_configuration { + #[allow(unused_mut)] let mut object_441 = object.key("JsonTokenTypeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_json_token_type_configuration( &mut object_441, @@ -2068,6 +2146,7 @@ pub fn serialize_structure_crate_model_group_members( let mut array_446 = object.key("MemberGroups").start_array(); for item_447 in var_445 { { + #[allow(unused_mut)] let mut object_448 = array_446.value().start_object(); crate::json_ser::serialize_structure_crate_model_member_group( &mut object_448, @@ -2082,6 +2161,7 @@ pub fn serialize_structure_crate_model_group_members( let mut array_450 = object.key("MemberUsers").start_array(); for item_451 in var_449 { { + #[allow(unused_mut)] let mut object_452 = array_450.value().start_object(); crate::json_ser::serialize_structure_crate_model_member_user( &mut object_452, @@ -2093,6 +2173,7 @@ pub fn serialize_structure_crate_model_group_members( array_450.finish(); } if let Some(var_453) = &input.s3_pathfor_group_members { + #[allow(unused_mut)] let mut object_454 = object.key("S3PathforGroupMembers").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_454, var_453)?; object_454.finish(); @@ -2108,6 +2189,7 @@ pub fn serialize_structure_crate_model_attribute_filter( let mut array_456 = object.key("AndAllFilters").start_array(); for item_457 in var_455 { { + #[allow(unused_mut)] let mut object_458 = array_456.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_filter( &mut object_458, @@ -2122,6 +2204,7 @@ pub fn serialize_structure_crate_model_attribute_filter( let mut array_460 = object.key("OrAllFilters").start_array(); for item_461 in var_459 { { + #[allow(unused_mut)] let mut object_462 = array_460.value().start_object(); crate::json_ser::serialize_structure_crate_model_attribute_filter( &mut object_462, @@ -2133,6 +2216,7 @@ pub fn serialize_structure_crate_model_attribute_filter( array_460.finish(); } if let Some(var_463) = &input.not_filter { + #[allow(unused_mut)] let mut object_464 = object.key("NotFilter").start_object(); crate::json_ser::serialize_structure_crate_model_attribute_filter( &mut object_464, @@ -2141,6 +2225,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_464.finish(); } if let Some(var_465) = &input.equals_to { + #[allow(unused_mut)] let mut object_466 = object.key("EqualsTo").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_466, @@ -2149,6 +2234,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_466.finish(); } if let Some(var_467) = &input.contains_all { + #[allow(unused_mut)] let mut object_468 = object.key("ContainsAll").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_468, @@ -2157,6 +2243,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_468.finish(); } if let Some(var_469) = &input.contains_any { + #[allow(unused_mut)] let mut object_470 = object.key("ContainsAny").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_470, @@ -2165,6 +2252,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_470.finish(); } if let Some(var_471) = &input.greater_than { + #[allow(unused_mut)] let mut object_472 = object.key("GreaterThan").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_472, @@ -2173,6 +2261,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_472.finish(); } if let Some(var_473) = &input.greater_than_or_equals { + #[allow(unused_mut)] let mut object_474 = object.key("GreaterThanOrEquals").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_474, @@ -2181,6 +2270,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_474.finish(); } if let Some(var_475) = &input.less_than { + #[allow(unused_mut)] let mut object_476 = object.key("LessThan").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_476, @@ -2189,6 +2279,7 @@ pub fn serialize_structure_crate_model_attribute_filter( object_476.finish(); } if let Some(var_477) = &input.less_than_or_equals { + #[allow(unused_mut)] let mut object_478 = object.key("LessThanOrEquals").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute( &mut object_478, @@ -2210,6 +2301,7 @@ pub fn serialize_structure_crate_model_facet( let mut array_481 = object.key("Facets").start_array(); for item_482 in var_480 { { + #[allow(unused_mut)] let mut object_483 = array_481.value().start_object(); crate::json_ser::serialize_structure_crate_model_facet(&mut object_483, item_482)?; object_483.finish(); @@ -2234,6 +2326,7 @@ pub fn serialize_structure_crate_model_document_relevance_configuration( object.key("Name").string(var_484.as_str()); } if let Some(var_485) = &input.relevance { + #[allow(unused_mut)] let mut object_486 = object.key("Relevance").start_object(); crate::json_ser::serialize_structure_crate_model_relevance(&mut object_486, var_485)?; object_486.finish(); @@ -2277,6 +2370,7 @@ pub fn serialize_structure_crate_model_user_context( let mut array_495 = object.key("DataSourceGroups").start_array(); for item_496 in var_494 { { + #[allow(unused_mut)] let mut object_497 = array_495.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_group( &mut object_497, @@ -2341,11 +2435,13 @@ pub fn serialize_structure_crate_model_document_metadata_configuration( object.key("Type").string(var_503.as_str()); } if let Some(var_504) = &input.relevance { + #[allow(unused_mut)] let mut object_505 = object.key("Relevance").start_object(); crate::json_ser::serialize_structure_crate_model_relevance(&mut object_505, var_504)?; object_505.finish(); } if let Some(var_506) = &input.search { + #[allow(unused_mut)] let mut object_507 = object.key("Search").start_object(); crate::json_ser::serialize_structure_crate_model_search(&mut object_507, var_506)?; object_507.finish(); @@ -2380,6 +2476,7 @@ pub fn serialize_structure_crate_model_document_attribute( object.key("Key").string(var_510.as_str()); } if let Some(var_511) = &input.value { + #[allow(unused_mut)] let mut object_512 = object.key("Value").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute_value( &mut object_512, @@ -2395,6 +2492,7 @@ pub fn serialize_structure_crate_model_inline_custom_document_enrichment_configu input: &crate::model::InlineCustomDocumentEnrichmentConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_513) = &input.condition { + #[allow(unused_mut)] let mut object_514 = object.key("Condition").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute_condition( &mut object_514, @@ -2403,6 +2501,7 @@ pub fn serialize_structure_crate_model_inline_custom_document_enrichment_configu object_514.finish(); } if let Some(var_515) = &input.target { + #[allow(unused_mut)] let mut object_516 = object.key("Target").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute_target( &mut object_516, @@ -2423,6 +2522,7 @@ pub fn serialize_structure_crate_model_hook_configuration( input: &crate::model::HookConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_517) = &input.invocation_condition { + #[allow(unused_mut)] let mut object_518 = object.key("InvocationCondition").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute_condition( &mut object_518, @@ -2474,6 +2574,7 @@ pub fn serialize_structure_crate_model_s3_data_source_configuration( array_529.finish(); } if let Some(var_531) = &input.documents_metadata_configuration { + #[allow(unused_mut)] let mut object_532 = object.key("DocumentsMetadataConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_documents_metadata_configuration( &mut object_532, @@ -2482,6 +2583,7 @@ pub fn serialize_structure_crate_model_s3_data_source_configuration( object_532.finish(); } if let Some(var_533) = &input.access_control_list_configuration { + #[allow(unused_mut)] let mut object_534 = object.key("AccessControlListConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_access_control_list_configuration( &mut object_534, @@ -2538,6 +2640,7 @@ pub fn serialize_structure_crate_model_share_point_configuration( array_544.finish(); } if let Some(var_546) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_547 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_547, @@ -2549,6 +2652,7 @@ pub fn serialize_structure_crate_model_share_point_configuration( let mut array_549 = object.key("FieldMappings").start_array(); for item_550 in var_548 { { + #[allow(unused_mut)] let mut object_551 = array_549.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_551, item_550)?; object_551.finish(); @@ -2567,6 +2671,7 @@ pub fn serialize_structure_crate_model_share_point_configuration( .boolean(input.disable_local_groups); } if let Some(var_553) = &input.ssl_certificate_s3_path { + #[allow(unused_mut)] let mut object_554 = object.key("SslCertificateS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_554, var_553)?; object_554.finish(); @@ -2575,6 +2680,7 @@ pub fn serialize_structure_crate_model_share_point_configuration( object.key("AuthenticationType").string(var_555.as_str()); } if let Some(var_556) = &input.proxy_configuration { + #[allow(unused_mut)] let mut object_557 = object.key("ProxyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_proxy_configuration( &mut object_557, @@ -2593,6 +2699,7 @@ pub fn serialize_structure_crate_model_database_configuration( object.key("DatabaseEngineType").string(var_558.as_str()); } if let Some(var_559) = &input.connection_configuration { + #[allow(unused_mut)] let mut object_560 = object.key("ConnectionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_connection_configuration( &mut object_560, @@ -2601,6 +2708,7 @@ pub fn serialize_structure_crate_model_database_configuration( object_560.finish(); } if let Some(var_561) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_562 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_562, @@ -2609,6 +2717,7 @@ pub fn serialize_structure_crate_model_database_configuration( object_562.finish(); } if let Some(var_563) = &input.column_configuration { + #[allow(unused_mut)] let mut object_564 = object.key("ColumnConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_column_configuration( &mut object_564, @@ -2617,6 +2726,7 @@ pub fn serialize_structure_crate_model_database_configuration( object_564.finish(); } if let Some(var_565) = &input.acl_configuration { + #[allow(unused_mut)] let mut object_566 = object.key("AclConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_acl_configuration( &mut object_566, @@ -2625,6 +2735,7 @@ pub fn serialize_structure_crate_model_database_configuration( object_566.finish(); } if let Some(var_567) = &input.sql_configuration { + #[allow(unused_mut)] let mut object_568 = object.key("SqlConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sql_configuration( &mut object_568, @@ -2649,6 +2760,7 @@ pub fn serialize_structure_crate_model_salesforce_configuration( let mut array_572 = object.key("StandardObjectConfigurations").start_array(); for item_573 in var_571 { { + #[allow(unused_mut)] let mut object_574 = array_572.value().start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_standard_object_configuration(&mut object_574, item_573)?; object_574.finish(); @@ -2657,11 +2769,13 @@ pub fn serialize_structure_crate_model_salesforce_configuration( array_572.finish(); } if let Some(var_575) = &input.knowledge_article_configuration { + #[allow(unused_mut)] let mut object_576 = object.key("KnowledgeArticleConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_knowledge_article_configuration(&mut object_576, var_575)?; object_576.finish(); } if let Some(var_577) = &input.chatter_feed_configuration { + #[allow(unused_mut)] let mut object_578 = object.key("ChatterFeedConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_chatter_feed_configuration( &mut object_578, @@ -2675,6 +2789,7 @@ pub fn serialize_structure_crate_model_salesforce_configuration( .boolean(input.crawl_attachments); } if let Some(var_579) = &input.standard_object_attachment_configuration { + #[allow(unused_mut)] let mut object_580 = object .key("StandardObjectAttachmentConfiguration") .start_object(); @@ -2713,6 +2828,7 @@ pub fn serialize_structure_crate_model_one_drive_configuration( object.key("SecretArn").string(var_588.as_str()); } if let Some(var_589) = &input.one_drive_users { + #[allow(unused_mut)] let mut object_590 = object.key("OneDriveUsers").start_object(); crate::json_ser::serialize_structure_crate_model_one_drive_users(&mut object_590, var_589)?; object_590.finish(); @@ -2739,6 +2855,7 @@ pub fn serialize_structure_crate_model_one_drive_configuration( let mut array_598 = object.key("FieldMappings").start_array(); for item_599 in var_597 { { + #[allow(unused_mut)] let mut object_600 = array_598.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_600, item_599)?; object_600.finish(); @@ -2770,11 +2887,13 @@ pub fn serialize_structure_crate_model_service_now_configuration( .string(var_603.as_str()); } if let Some(var_604) = &input.knowledge_article_configuration { + #[allow(unused_mut)] let mut object_605 = object.key("KnowledgeArticleConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_knowledge_article_configuration(&mut object_605, var_604)?; object_605.finish(); } if let Some(var_606) = &input.service_catalog_configuration { + #[allow(unused_mut)] let mut object_607 = object.key("ServiceCatalogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_service_catalog_configuration( &mut object_607, @@ -2802,6 +2921,7 @@ pub fn serialize_structure_crate_model_confluence_configuration( object.key("Version").string(var_611.as_str()); } if let Some(var_612) = &input.space_configuration { + #[allow(unused_mut)] let mut object_613 = object.key("SpaceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_confluence_space_configuration( &mut object_613, @@ -2810,6 +2930,7 @@ pub fn serialize_structure_crate_model_confluence_configuration( object_613.finish(); } if let Some(var_614) = &input.page_configuration { + #[allow(unused_mut)] let mut object_615 = object.key("PageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_confluence_page_configuration( &mut object_615, @@ -2818,6 +2939,7 @@ pub fn serialize_structure_crate_model_confluence_configuration( object_615.finish(); } if let Some(var_616) = &input.blog_configuration { + #[allow(unused_mut)] let mut object_617 = object.key("BlogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_confluence_blog_configuration( &mut object_617, @@ -2826,6 +2948,7 @@ pub fn serialize_structure_crate_model_confluence_configuration( object_617.finish(); } if let Some(var_618) = &input.attachment_configuration { + #[allow(unused_mut)] let mut object_619 = object.key("AttachmentConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_confluence_attachment_configuration( &mut object_619, @@ -2834,6 +2957,7 @@ pub fn serialize_structure_crate_model_confluence_configuration( object_619.finish(); } if let Some(var_620) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_621 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_621, @@ -2860,6 +2984,7 @@ pub fn serialize_structure_crate_model_confluence_configuration( array_626.finish(); } if let Some(var_628) = &input.proxy_configuration { + #[allow(unused_mut)] let mut object_629 = object.key("ProxyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_proxy_configuration( &mut object_629, @@ -2902,6 +3027,7 @@ pub fn serialize_structure_crate_model_google_drive_configuration( let mut array_639 = object.key("FieldMappings").start_array(); for item_640 in var_638 { { + #[allow(unused_mut)] let mut object_641 = array_639.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_641, item_640)?; object_641.finish(); @@ -2944,6 +3070,7 @@ pub fn serialize_structure_crate_model_web_crawler_configuration( input: &crate::model::WebCrawlerConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_651) = &input.urls { + #[allow(unused_mut)] let mut object_652 = object.key("Urls").start_object(); crate::json_ser::serialize_structure_crate_model_urls(&mut object_652, var_651)?; object_652.finish(); @@ -2991,6 +3118,7 @@ pub fn serialize_structure_crate_model_web_crawler_configuration( array_661.finish(); } if let Some(var_663) = &input.proxy_configuration { + #[allow(unused_mut)] let mut object_664 = object.key("ProxyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_proxy_configuration( &mut object_664, @@ -2999,6 +3127,7 @@ pub fn serialize_structure_crate_model_web_crawler_configuration( object_664.finish(); } if let Some(var_665) = &input.authentication_configuration { + #[allow(unused_mut)] let mut object_666 = object.key("AuthenticationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_authentication_configuration( &mut object_666, @@ -3044,6 +3173,7 @@ pub fn serialize_structure_crate_model_work_docs_configuration( let mut array_675 = object.key("FieldMappings").start_array(); for item_676 in var_674 { { + #[allow(unused_mut)] let mut object_677 = array_675.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_677, item_676)?; object_677.finish(); @@ -3065,6 +3195,7 @@ pub fn serialize_structure_crate_model_fsx_configuration( object.key("FileSystemType").string(var_679.as_str()); } if let Some(var_680) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_681 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_681, @@ -3097,6 +3228,7 @@ pub fn serialize_structure_crate_model_fsx_configuration( let mut array_690 = object.key("FieldMappings").start_array(); for item_691 in var_689 { { + #[allow(unused_mut)] let mut object_692 = array_690.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_692, item_691)?; object_692.finish(); @@ -3118,6 +3250,7 @@ pub fn serialize_structure_crate_model_slack_configuration( object.key("SecretArn").string(var_694.as_str()); } if let Some(var_695) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_696 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_696, @@ -3196,6 +3329,7 @@ pub fn serialize_structure_crate_model_slack_configuration( let mut array_715 = object.key("FieldMappings").start_array(); for item_716 in var_714 { { + #[allow(unused_mut)] let mut object_717 = array_715.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_717, item_716)?; object_717.finish(); @@ -3232,6 +3366,7 @@ pub fn serialize_structure_crate_model_box_configuration( let mut array_721 = object.key("FileFieldMappings").start_array(); for item_722 in var_720 { { + #[allow(unused_mut)] let mut object_723 = array_721.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_723, item_722)?; object_723.finish(); @@ -3243,6 +3378,7 @@ pub fn serialize_structure_crate_model_box_configuration( let mut array_725 = object.key("TaskFieldMappings").start_array(); for item_726 in var_724 { { + #[allow(unused_mut)] let mut object_727 = array_725.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_727, item_726)?; object_727.finish(); @@ -3254,6 +3390,7 @@ pub fn serialize_structure_crate_model_box_configuration( let mut array_729 = object.key("CommentFieldMappings").start_array(); for item_730 in var_728 { { + #[allow(unused_mut)] let mut object_731 = array_729.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_731, item_730)?; object_731.finish(); @@ -3265,6 +3402,7 @@ pub fn serialize_structure_crate_model_box_configuration( let mut array_733 = object.key("WebLinkFieldMappings").start_array(); for item_734 in var_732 { { + #[allow(unused_mut)] let mut object_735 = array_733.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_735, item_734)?; object_735.finish(); @@ -3291,6 +3429,7 @@ pub fn serialize_structure_crate_model_box_configuration( array_740.finish(); } if let Some(var_742) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_743 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_743, @@ -3337,6 +3476,7 @@ pub fn serialize_structure_crate_model_quip_configuration( let mut array_750 = object.key("ThreadFieldMappings").start_array(); for item_751 in var_749 { { + #[allow(unused_mut)] let mut object_752 = array_750.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_752, item_751)?; object_752.finish(); @@ -3348,6 +3488,7 @@ pub fn serialize_structure_crate_model_quip_configuration( let mut array_754 = object.key("MessageFieldMappings").start_array(); for item_755 in var_753 { { + #[allow(unused_mut)] let mut object_756 = array_754.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_756, item_755)?; object_756.finish(); @@ -3359,6 +3500,7 @@ pub fn serialize_structure_crate_model_quip_configuration( let mut array_758 = object.key("AttachmentFieldMappings").start_array(); for item_759 in var_757 { { + #[allow(unused_mut)] let mut object_760 = array_758.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_760, item_759)?; object_760.finish(); @@ -3385,6 +3527,7 @@ pub fn serialize_structure_crate_model_quip_configuration( array_765.finish(); } if let Some(var_767) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_768 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_768, @@ -3448,6 +3591,7 @@ pub fn serialize_structure_crate_model_jira_configuration( let mut array_784 = object.key("AttachmentFieldMappings").start_array(); for item_785 in var_783 { { + #[allow(unused_mut)] let mut object_786 = array_784.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_786, item_785)?; object_786.finish(); @@ -3459,6 +3603,7 @@ pub fn serialize_structure_crate_model_jira_configuration( let mut array_788 = object.key("CommentFieldMappings").start_array(); for item_789 in var_787 { { + #[allow(unused_mut)] let mut object_790 = array_788.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_790, item_789)?; object_790.finish(); @@ -3470,6 +3615,7 @@ pub fn serialize_structure_crate_model_jira_configuration( let mut array_792 = object.key("IssueFieldMappings").start_array(); for item_793 in var_791 { { + #[allow(unused_mut)] let mut object_794 = array_792.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_794, item_793)?; object_794.finish(); @@ -3481,6 +3627,7 @@ pub fn serialize_structure_crate_model_jira_configuration( let mut array_796 = object.key("ProjectFieldMappings").start_array(); for item_797 in var_795 { { + #[allow(unused_mut)] let mut object_798 = array_796.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_798, item_797)?; object_798.finish(); @@ -3492,6 +3639,7 @@ pub fn serialize_structure_crate_model_jira_configuration( let mut array_800 = object.key("WorkLogFieldMappings").start_array(); for item_801 in var_799 { { + #[allow(unused_mut)] let mut object_802 = array_800.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_802, item_801)?; object_802.finish(); @@ -3518,6 +3666,7 @@ pub fn serialize_structure_crate_model_jira_configuration( array_807.finish(); } if let Some(var_809) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_810 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_810, @@ -3533,6 +3682,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( input: &crate::model::GitHubConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_811) = &input.saa_s_configuration { + #[allow(unused_mut)] let mut object_812 = object.key("SaaSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_saa_s_configuration( &mut object_812, @@ -3541,6 +3691,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( object_812.finish(); } if let Some(var_813) = &input.on_premise_configuration { + #[allow(unused_mut)] let mut object_814 = object.key("OnPremiseConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_on_premise_configuration( &mut object_814, @@ -3558,6 +3709,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( object.key("UseChangeLog").boolean(input.use_change_log); } if let Some(var_817) = &input.git_hub_document_crawl_properties { + #[allow(unused_mut)] let mut object_818 = object.key("GitHubDocumentCrawlProperties").start_object(); crate::json_ser::serialize_structure_crate_model_git_hub_document_crawl_properties( &mut object_818, @@ -3629,6 +3781,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( array_838.finish(); } if let Some(var_840) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_841 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_841, @@ -3642,6 +3795,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_844 in var_842 { { + #[allow(unused_mut)] let mut object_845 = array_843.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_845, item_844)?; object_845.finish(); @@ -3655,6 +3809,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_848 in var_846 { { + #[allow(unused_mut)] let mut object_849 = array_847.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_849, item_848)?; object_849.finish(); @@ -3668,6 +3823,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_852 in var_850 { { + #[allow(unused_mut)] let mut object_853 = array_851.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_853, item_852)?; object_853.finish(); @@ -3681,6 +3837,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_856 in var_854 { { + #[allow(unused_mut)] let mut object_857 = array_855.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_857, item_856)?; object_857.finish(); @@ -3694,6 +3851,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_860 in var_858 { { + #[allow(unused_mut)] let mut object_861 = array_859.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_861, item_860)?; object_861.finish(); @@ -3707,6 +3865,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_864 in var_862 { { + #[allow(unused_mut)] let mut object_865 = array_863.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_865, item_864)?; object_865.finish(); @@ -3720,6 +3879,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_868 in var_866 { { + #[allow(unused_mut)] let mut object_869 = array_867.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_869, item_868)?; object_869.finish(); @@ -3735,6 +3895,7 @@ pub fn serialize_structure_crate_model_git_hub_configuration( .start_array(); for item_872 in var_870 { { + #[allow(unused_mut)] let mut object_873 = array_871.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_873, item_872)?; object_873.finish(); @@ -3759,6 +3920,7 @@ pub fn serialize_structure_crate_model_alfresco_configuration( object.key("SecretArn").string(var_876.as_str()); } if let Some(var_877) = &input.ssl_certificate_s3_path { + #[allow(unused_mut)] let mut object_878 = object.key("SslCertificateS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_878, var_877)?; object_878.finish(); @@ -3784,6 +3946,7 @@ pub fn serialize_structure_crate_model_alfresco_configuration( let mut array_883 = object.key("DocumentLibraryFieldMappings").start_array(); for item_884 in var_882 { { + #[allow(unused_mut)] let mut object_885 = array_883.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_885, item_884)?; object_885.finish(); @@ -3795,6 +3958,7 @@ pub fn serialize_structure_crate_model_alfresco_configuration( let mut array_887 = object.key("BlogFieldMappings").start_array(); for item_888 in var_886 { { + #[allow(unused_mut)] let mut object_889 = array_887.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_889, item_888)?; object_889.finish(); @@ -3806,6 +3970,7 @@ pub fn serialize_structure_crate_model_alfresco_configuration( let mut array_891 = object.key("WikiFieldMappings").start_array(); for item_892 in var_890 { { + #[allow(unused_mut)] let mut object_893 = array_891.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_893, item_892)?; object_893.finish(); @@ -3832,6 +3997,7 @@ pub fn serialize_structure_crate_model_alfresco_configuration( array_898.finish(); } if let Some(var_900) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_901 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_vpc_configuration( &mut object_901, @@ -3980,6 +4146,7 @@ pub fn serialize_structure_crate_model_relevance( object.key("RankOrder").string(var_925.as_str()); } if let Some(var_926) = &input.value_importance_map { + #[allow(unused_mut)] let mut object_927 = object.key("ValueImportanceMap").start_object(); for (key_928, value_929) in var_926 { { @@ -4069,6 +4236,7 @@ pub fn serialize_structure_crate_model_document_attribute_condition( object.key("Operator").string(var_939.as_str()); } if let Some(var_940) = &input.condition_on_value { + #[allow(unused_mut)] let mut object_941 = object.key("ConditionOnValue").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute_value( &mut object_941, @@ -4094,6 +4262,7 @@ pub fn serialize_structure_crate_model_document_attribute_target( .boolean(input.target_document_attribute_value_deletion); } if let Some(var_943) = &input.target_document_attribute_value { + #[allow(unused_mut)] let mut object_944 = object.key("TargetDocumentAttributeValue").start_object(); crate::json_ser::serialize_structure_crate_model_document_attribute_value( &mut object_944, @@ -4205,6 +4374,7 @@ pub fn serialize_structure_crate_model_column_configuration( let mut array_962 = object.key("FieldMappings").start_array(); for item_963 in var_961 { { + #[allow(unused_mut)] let mut object_964 = array_962.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_964, item_963)?; object_964.finish(); @@ -4267,6 +4437,7 @@ pub fn serialize_structure_crate_model_salesforce_standard_object_configuration( let mut array_974 = object.key("FieldMappings").start_array(); for item_975 in var_973 { { + #[allow(unused_mut)] let mut object_976 = array_974.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_976, item_975)?; object_976.finish(); @@ -4291,6 +4462,7 @@ pub fn serialize_structure_crate_model_salesforce_knowledge_article_configuratio array_978.finish(); } if let Some(var_980) = &input.standard_knowledge_article_type_configuration { + #[allow(unused_mut)] let mut object_981 = object .key("StandardKnowledgeArticleTypeConfiguration") .start_object(); @@ -4303,6 +4475,7 @@ pub fn serialize_structure_crate_model_salesforce_knowledge_article_configuratio .start_array(); for item_984 in var_982 { { + #[allow(unused_mut)] let mut object_985 = array_983.value().start_object(); crate::json_ser::serialize_structure_crate_model_salesforce_custom_knowledge_article_type_configuration(&mut object_985, item_984)?; object_985.finish(); @@ -4329,6 +4502,7 @@ pub fn serialize_structure_crate_model_salesforce_chatter_feed_configuration( let mut array_989 = object.key("FieldMappings").start_array(); for item_990 in var_988 { { + #[allow(unused_mut)] let mut object_991 = array_989.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_991, item_990)?; object_991.finish(); @@ -4361,6 +4535,7 @@ pub fn serialize_structure_crate_model_salesforce_standard_object_attachment_con let mut array_997 = object.key("FieldMappings").start_array(); for item_998 in var_996 { { + #[allow(unused_mut)] let mut object_999 = array_997.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_999, item_998)?; object_999.finish(); @@ -4385,6 +4560,7 @@ pub fn serialize_structure_crate_model_one_drive_users( array_1001.finish(); } if let Some(var_1003) = &input.one_drive_user_s3_path { + #[allow(unused_mut)] let mut object_1004 = object.key("OneDriveUserS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_1004, var_1003)?; object_1004.finish(); @@ -4433,6 +4609,7 @@ pub fn serialize_structure_crate_model_service_now_knowledge_article_configurati let mut array_1014 = object.key("FieldMappings").start_array(); for item_1015 in var_1013 { { + #[allow(unused_mut)] let mut object_1016 = array_1014.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_1016, item_1015)?; object_1016.finish(); @@ -4487,6 +4664,7 @@ pub fn serialize_structure_crate_model_service_now_service_catalog_configuration let mut array_1027 = object.key("FieldMappings").start_array(); for item_1028 in var_1026 { { + #[allow(unused_mut)] let mut object_1029 = array_1027.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_1029, item_1028)?; object_1029.finish(); @@ -4533,6 +4711,7 @@ pub fn serialize_structure_crate_model_confluence_space_configuration( let mut array_1037 = object.key("SpaceFieldMappings").start_array(); for item_1038 in var_1036 { { + #[allow(unused_mut)] let mut object_1039 = array_1037.value().start_object(); crate::json_ser::serialize_structure_crate_model_confluence_space_to_index_field_mapping(&mut object_1039, item_1038)?; object_1039.finish(); @@ -4551,6 +4730,7 @@ pub fn serialize_structure_crate_model_confluence_page_configuration( let mut array_1041 = object.key("PageFieldMappings").start_array(); for item_1042 in var_1040 { { + #[allow(unused_mut)] let mut object_1043 = array_1041.value().start_object(); crate::json_ser::serialize_structure_crate_model_confluence_page_to_index_field_mapping(&mut object_1043, item_1042)?; object_1043.finish(); @@ -4569,6 +4749,7 @@ pub fn serialize_structure_crate_model_confluence_blog_configuration( let mut array_1045 = object.key("BlogFieldMappings").start_array(); for item_1046 in var_1044 { { + #[allow(unused_mut)] let mut object_1047 = array_1045.value().start_object(); crate::json_ser::serialize_structure_crate_model_confluence_blog_to_index_field_mapping(&mut object_1047, item_1046)?; object_1047.finish(); @@ -4592,6 +4773,7 @@ pub fn serialize_structure_crate_model_confluence_attachment_configuration( let mut array_1049 = object.key("AttachmentFieldMappings").start_array(); for item_1050 in var_1048 { { + #[allow(unused_mut)] let mut object_1051 = array_1049.value().start_object(); crate::json_ser::serialize_structure_crate_model_confluence_attachment_to_index_field_mapping(&mut object_1051, item_1050)?; object_1051.finish(); @@ -4607,6 +4789,7 @@ pub fn serialize_structure_crate_model_urls( input: &crate::model::Urls, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1052) = &input.seed_url_configuration { + #[allow(unused_mut)] let mut object_1053 = object.key("SeedUrlConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_seed_url_configuration( &mut object_1053, @@ -4615,6 +4798,7 @@ pub fn serialize_structure_crate_model_urls( object_1053.finish(); } if let Some(var_1054) = &input.site_maps_configuration { + #[allow(unused_mut)] let mut object_1055 = object.key("SiteMapsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_site_maps_configuration( &mut object_1055, @@ -4633,6 +4817,7 @@ pub fn serialize_structure_crate_model_authentication_configuration( let mut array_1057 = object.key("BasicAuthentication").start_array(); for item_1058 in var_1056 { { + #[allow(unused_mut)] let mut object_1059 = array_1057.value().start_object(); crate::json_ser::serialize_structure_crate_model_basic_authentication_configuration(&mut object_1059, item_1058)?; object_1059.finish(); @@ -4667,6 +4852,7 @@ pub fn serialize_structure_crate_model_on_premise_configuration( object.key("OrganizationName").string(var_1063.as_str()); } if let Some(var_1064) = &input.ssl_certificate_s3_path { + #[allow(unused_mut)] let mut object_1065 = object.key("SslCertificateS3Path").start_object(); crate::json_ser::serialize_structure_crate_model_s3_path(&mut object_1065, var_1064)?; object_1065.finish(); @@ -4732,6 +4918,7 @@ pub fn serialize_structure_crate_model_salesforce_standard_knowledge_article_typ let mut array_1069 = object.key("FieldMappings").start_array(); for item_1070 in var_1068 { { + #[allow(unused_mut)] let mut object_1071 = array_1069.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_1071, item_1070)?; object_1071.finish(); @@ -4763,6 +4950,7 @@ pub fn serialize_structure_crate_model_salesforce_custom_knowledge_article_type_ let mut array_1076 = object.key("FieldMappings").start_array(); for item_1077 in var_1075 { { + #[allow(unused_mut)] let mut object_1078 = array_1076.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_to_index_field_mapping(&mut object_1078, item_1077)?; object_1078.finish(); diff --git a/sdk/keyspaces/src/json_ser.rs b/sdk/keyspaces/src/json_ser.rs index a6707875a89a..e258fbcb2894 100644 --- a/sdk/keyspaces/src/json_ser.rs +++ b/sdk/keyspaces/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_keyspace_input( let mut array_3 = object.key("tags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -31,16 +32,19 @@ pub fn serialize_structure_crate_input_create_table_input( object.key("tableName").string(var_7.as_str()); } if let Some(var_8) = &input.schema_definition { + #[allow(unused_mut)] let mut object_9 = object.key("schemaDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_schema_definition(&mut object_9, var_8)?; object_9.finish(); } if let Some(var_10) = &input.comment { + #[allow(unused_mut)] let mut object_11 = object.key("comment").start_object(); crate::json_ser::serialize_structure_crate_model_comment(&mut object_11, var_10)?; object_11.finish(); } if let Some(var_12) = &input.capacity_specification { + #[allow(unused_mut)] let mut object_13 = object.key("capacitySpecification").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_specification( &mut object_13, @@ -49,6 +53,7 @@ pub fn serialize_structure_crate_input_create_table_input( object_13.finish(); } if let Some(var_14) = &input.encryption_specification { + #[allow(unused_mut)] let mut object_15 = object.key("encryptionSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_specification( &mut object_15, @@ -57,6 +62,7 @@ pub fn serialize_structure_crate_input_create_table_input( object_15.finish(); } if let Some(var_16) = &input.point_in_time_recovery { + #[allow(unused_mut)] let mut object_17 = object.key("pointInTimeRecovery").start_object(); crate::json_ser::serialize_structure_crate_model_point_in_time_recovery( &mut object_17, @@ -65,6 +71,7 @@ pub fn serialize_structure_crate_input_create_table_input( object_17.finish(); } if let Some(var_18) = &input.ttl { + #[allow(unused_mut)] let mut object_19 = object.key("ttl").start_object(); crate::json_ser::serialize_structure_crate_model_time_to_live(&mut object_19, var_18)?; object_19.finish(); @@ -79,6 +86,7 @@ pub fn serialize_structure_crate_input_create_table_input( let mut array_22 = object.key("tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -211,6 +219,7 @@ pub fn serialize_structure_crate_input_restore_table_input( .date_time(var_43, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_44) = &input.capacity_specification_override { + #[allow(unused_mut)] let mut object_45 = object.key("capacitySpecificationOverride").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_specification( &mut object_45, @@ -219,6 +228,7 @@ pub fn serialize_structure_crate_input_restore_table_input( object_45.finish(); } if let Some(var_46) = &input.encryption_specification_override { + #[allow(unused_mut)] let mut object_47 = object.key("encryptionSpecificationOverride").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_specification( &mut object_47, @@ -227,6 +237,7 @@ pub fn serialize_structure_crate_input_restore_table_input( object_47.finish(); } if let Some(var_48) = &input.point_in_time_recovery_override { + #[allow(unused_mut)] let mut object_49 = object.key("pointInTimeRecoveryOverride").start_object(); crate::json_ser::serialize_structure_crate_model_point_in_time_recovery( &mut object_49, @@ -238,6 +249,7 @@ pub fn serialize_structure_crate_input_restore_table_input( let mut array_51 = object.key("tagsOverride").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_53, item_52)?; object_53.finish(); @@ -259,6 +271,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_56 = object.key("tags").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_58, item_57)?; object_58.finish(); @@ -280,6 +293,7 @@ pub fn serialize_structure_crate_input_untag_resource_input( let mut array_61 = object.key("tags").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_63, item_62)?; object_63.finish(); @@ -304,6 +318,7 @@ pub fn serialize_structure_crate_input_update_table_input( let mut array_67 = object.key("addColumns").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_definition( &mut object_69, @@ -315,6 +330,7 @@ pub fn serialize_structure_crate_input_update_table_input( array_67.finish(); } if let Some(var_70) = &input.capacity_specification { + #[allow(unused_mut)] let mut object_71 = object.key("capacitySpecification").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_specification( &mut object_71, @@ -323,6 +339,7 @@ pub fn serialize_structure_crate_input_update_table_input( object_71.finish(); } if let Some(var_72) = &input.encryption_specification { + #[allow(unused_mut)] let mut object_73 = object.key("encryptionSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_specification( &mut object_73, @@ -331,6 +348,7 @@ pub fn serialize_structure_crate_input_update_table_input( object_73.finish(); } if let Some(var_74) = &input.point_in_time_recovery { + #[allow(unused_mut)] let mut object_75 = object.key("pointInTimeRecovery").start_object(); crate::json_ser::serialize_structure_crate_model_point_in_time_recovery( &mut object_75, @@ -339,6 +357,7 @@ pub fn serialize_structure_crate_input_update_table_input( object_75.finish(); } if let Some(var_76) = &input.ttl { + #[allow(unused_mut)] let mut object_77 = object.key("ttl").start_object(); crate::json_ser::serialize_structure_crate_model_time_to_live(&mut object_77, var_76)?; object_77.finish(); @@ -373,6 +392,7 @@ pub fn serialize_structure_crate_model_schema_definition( let mut array_82 = object.key("allColumns").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_definition( &mut object_84, @@ -387,6 +407,7 @@ pub fn serialize_structure_crate_model_schema_definition( let mut array_86 = object.key("partitionKeys").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_partition_key( &mut object_88, @@ -401,6 +422,7 @@ pub fn serialize_structure_crate_model_schema_definition( let mut array_90 = object.key("clusteringKeys").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_clustering_key( &mut object_92, @@ -415,6 +437,7 @@ pub fn serialize_structure_crate_model_schema_definition( let mut array_94 = object.key("staticColumns").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_static_column( &mut object_96, diff --git a/sdk/kinesis/src/json_ser.rs b/sdk/kinesis/src/json_ser.rs index b097759fab1e..213f168e40f7 100644 --- a/sdk/kinesis/src/json_ser.rs +++ b/sdk/kinesis/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_tags_to_stream_input( object.key("StreamName").string(var_1.as_str()); } if let Some(var_2) = &input.tags { + #[allow(unused_mut)] let mut object_3 = object.key("Tags").start_object(); for (key_4, value_5) in var_2 { { @@ -32,6 +33,7 @@ pub fn serialize_structure_crate_input_create_stream_input( ); } if let Some(var_8) = &input.stream_mode_details { + #[allow(unused_mut)] let mut object_9 = object.key("StreamModeDetails").start_object(); crate::json_ser::serialize_structure_crate_model_stream_mode_details(&mut object_9, var_8)?; object_9.finish(); @@ -248,6 +250,7 @@ pub fn serialize_structure_crate_input_list_shards_input( .date_time(var_45, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_46) = &input.shard_filter { + #[allow(unused_mut)] let mut object_47 = object.key("ShardFilter").start_object(); crate::json_ser::serialize_structure_crate_model_shard_filter(&mut object_47, var_46)?; object_47.finish(); @@ -366,6 +369,7 @@ pub fn serialize_structure_crate_input_put_records_input( let mut array_66 = object.key("Records").start_array(); for item_67 in var_65 { { + #[allow(unused_mut)] let mut object_68 = array_66.value().start_object(); crate::json_ser::serialize_structure_crate_model_put_records_request_entry( &mut object_68, @@ -489,6 +493,7 @@ pub fn serialize_structure_crate_input_update_stream_mode_input( object.key("StreamARN").string(var_88.as_str()); } if let Some(var_89) = &input.stream_mode_details { + #[allow(unused_mut)] let mut object_90 = object.key("StreamModeDetails").start_object(); crate::json_ser::serialize_structure_crate_model_stream_mode_details( &mut object_90, diff --git a/sdk/kinesisanalytics/src/json_ser.rs b/sdk/kinesisanalytics/src/json_ser.rs index 304e81bdac1f..5c62c0991ecc 100644 --- a/sdk/kinesisanalytics/src/json_ser.rs +++ b/sdk/kinesisanalytics/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_add_application_cloud_watch_logging_optio ); } if let Some(var_3) = &input.cloud_watch_logging_option { + #[allow(unused_mut)] let mut object_4 = object.key("CloudWatchLoggingOption").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_option( &mut object_4, @@ -37,6 +38,7 @@ pub fn serialize_structure_crate_input_add_application_input_input( ); } if let Some(var_7) = &input.input { + #[allow(unused_mut)] let mut object_8 = object.key("Input").start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_8, var_7)?; object_8.finish(); @@ -61,6 +63,7 @@ pub fn serialize_structure_crate_input_add_application_input_processing_configur object.key("InputId").string(var_11.as_str()); } if let Some(var_12) = &input.input_processing_configuration { + #[allow(unused_mut)] let mut object_13 = object.key("InputProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_processing_configuration( &mut object_13, @@ -85,6 +88,7 @@ pub fn serialize_structure_crate_input_add_application_output_input( ); } if let Some(var_16) = &input.output { + #[allow(unused_mut)] let mut object_17 = object.key("Output").start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_17, var_16)?; object_17.finish(); @@ -106,6 +110,7 @@ pub fn serialize_structure_crate_input_add_application_reference_data_source_inp ); } if let Some(var_20) = &input.reference_data_source { + #[allow(unused_mut)] let mut object_21 = object.key("ReferenceDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_reference_data_source( &mut object_21, @@ -130,6 +135,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_25 = object.key("Inputs").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_27, item_26)?; object_27.finish(); @@ -141,6 +147,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_29 = object.key("Outputs").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_31, item_30)?; object_31.finish(); @@ -152,6 +159,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_33 = object.key("CloudWatchLoggingOptions").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_option( &mut object_35, @@ -169,6 +177,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_38 = object.key("Tags").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -293,6 +302,7 @@ pub fn serialize_structure_crate_input_discover_input_schema_input( object.key("RoleARN").string(var_57.as_str()); } if let Some(var_58) = &input.input_starting_position_configuration { + #[allow(unused_mut)] let mut object_59 = object .key("InputStartingPositionConfiguration") .start_object(); @@ -303,11 +313,13 @@ pub fn serialize_structure_crate_input_discover_input_schema_input( object_59.finish(); } if let Some(var_60) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_61 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_configuration(&mut object_61, var_60)?; object_61.finish(); } if let Some(var_62) = &input.input_processing_configuration { + #[allow(unused_mut)] let mut object_63 = object.key("InputProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_processing_configuration( &mut object_63, @@ -357,6 +369,7 @@ pub fn serialize_structure_crate_input_start_application_input( let mut array_69 = object.key("InputConfigurations").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_configuration( &mut object_71, @@ -391,6 +404,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_75 = object.key("Tags").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_77, item_76)?; object_77.finish(); @@ -434,6 +448,7 @@ pub fn serialize_structure_crate_input_update_application_input( ); } if let Some(var_84) = &input.application_update { + #[allow(unused_mut)] let mut object_85 = object.key("ApplicationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_application_update( &mut object_85, @@ -465,6 +480,7 @@ pub fn serialize_structure_crate_model_input( object.key("NamePrefix").string(var_88.as_str()); } if let Some(var_89) = &input.input_processing_configuration { + #[allow(unused_mut)] let mut object_90 = object.key("InputProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_processing_configuration( &mut object_90, @@ -473,6 +489,7 @@ pub fn serialize_structure_crate_model_input( object_90.finish(); } if let Some(var_91) = &input.kinesis_streams_input { + #[allow(unused_mut)] let mut object_92 = object.key("KinesisStreamsInput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_input( &mut object_92, @@ -481,6 +498,7 @@ pub fn serialize_structure_crate_model_input( object_92.finish(); } if let Some(var_93) = &input.kinesis_firehose_input { + #[allow(unused_mut)] let mut object_94 = object.key("KinesisFirehoseInput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_input( &mut object_94, @@ -489,11 +507,13 @@ pub fn serialize_structure_crate_model_input( object_94.finish(); } if let Some(var_95) = &input.input_parallelism { + #[allow(unused_mut)] let mut object_96 = object.key("InputParallelism").start_object(); crate::json_ser::serialize_structure_crate_model_input_parallelism(&mut object_96, var_95)?; object_96.finish(); } if let Some(var_97) = &input.input_schema { + #[allow(unused_mut)] let mut object_98 = object.key("InputSchema").start_object(); crate::json_ser::serialize_structure_crate_model_source_schema(&mut object_98, var_97)?; object_98.finish(); @@ -506,6 +526,7 @@ pub fn serialize_structure_crate_model_input_processing_configuration( input: &crate::model::InputProcessingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_99) = &input.input_lambda_processor { + #[allow(unused_mut)] let mut object_100 = object.key("InputLambdaProcessor").start_object(); crate::json_ser::serialize_structure_crate_model_input_lambda_processor( &mut object_100, @@ -524,6 +545,7 @@ pub fn serialize_structure_crate_model_output( object.key("Name").string(var_101.as_str()); } if let Some(var_102) = &input.kinesis_streams_output { + #[allow(unused_mut)] let mut object_103 = object.key("KinesisStreamsOutput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_output( &mut object_103, @@ -532,6 +554,7 @@ pub fn serialize_structure_crate_model_output( object_103.finish(); } if let Some(var_104) = &input.kinesis_firehose_output { + #[allow(unused_mut)] let mut object_105 = object.key("KinesisFirehoseOutput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_output( &mut object_105, @@ -540,11 +563,13 @@ pub fn serialize_structure_crate_model_output( object_105.finish(); } if let Some(var_106) = &input.lambda_output { + #[allow(unused_mut)] let mut object_107 = object.key("LambdaOutput").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_output(&mut object_107, var_106)?; object_107.finish(); } if let Some(var_108) = &input.destination_schema { + #[allow(unused_mut)] let mut object_109 = object.key("DestinationSchema").start_object(); crate::json_ser::serialize_structure_crate_model_destination_schema( &mut object_109, @@ -563,6 +588,7 @@ pub fn serialize_structure_crate_model_reference_data_source( object.key("TableName").string(var_110.as_str()); } if let Some(var_111) = &input.s3_reference_data_source { + #[allow(unused_mut)] let mut object_112 = object.key("S3ReferenceDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_reference_data_source( &mut object_112, @@ -571,6 +597,7 @@ pub fn serialize_structure_crate_model_reference_data_source( object_112.finish(); } if let Some(var_113) = &input.reference_schema { + #[allow(unused_mut)] let mut object_114 = object.key("ReferenceSchema").start_object(); crate::json_ser::serialize_structure_crate_model_source_schema(&mut object_114, var_113)?; object_114.finish(); @@ -625,6 +652,7 @@ pub fn serialize_structure_crate_model_input_configuration( object.key("Id").string(var_121.as_str()); } if let Some(var_122) = &input.input_starting_position_configuration { + #[allow(unused_mut)] let mut object_123 = object .key("InputStartingPositionConfiguration") .start_object(); @@ -645,6 +673,7 @@ pub fn serialize_structure_crate_model_application_update( let mut array_125 = object.key("InputUpdates").start_array(); for item_126 in var_124 { { + #[allow(unused_mut)] let mut object_127 = array_125.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_update( &mut object_127, @@ -662,6 +691,7 @@ pub fn serialize_structure_crate_model_application_update( let mut array_130 = object.key("OutputUpdates").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_update( &mut object_132, @@ -676,6 +706,7 @@ pub fn serialize_structure_crate_model_application_update( let mut array_134 = object.key("ReferenceDataSourceUpdates").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_reference_data_source_update( &mut object_136, @@ -690,6 +721,7 @@ pub fn serialize_structure_crate_model_application_update( let mut array_138 = object.key("CloudWatchLoggingOptionUpdates").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_option_update( &mut object_140, @@ -747,6 +779,7 @@ pub fn serialize_structure_crate_model_source_schema( input: &crate::model::SourceSchema, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_146) = &input.record_format { + #[allow(unused_mut)] let mut object_147 = object.key("RecordFormat").start_object(); crate::json_ser::serialize_structure_crate_model_record_format(&mut object_147, var_146)?; object_147.finish(); @@ -758,6 +791,7 @@ pub fn serialize_structure_crate_model_source_schema( let mut array_150 = object.key("RecordColumns").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_record_column( &mut object_152, @@ -860,6 +894,7 @@ pub fn serialize_structure_crate_model_input_update( object.key("NamePrefixUpdate").string(var_166.as_str()); } if let Some(var_167) = &input.input_processing_configuration_update { + #[allow(unused_mut)] let mut object_168 = object .key("InputProcessingConfigurationUpdate") .start_object(); @@ -870,6 +905,7 @@ pub fn serialize_structure_crate_model_input_update( object_168.finish(); } if let Some(var_169) = &input.kinesis_streams_input_update { + #[allow(unused_mut)] let mut object_170 = object.key("KinesisStreamsInputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_input_update( &mut object_170, @@ -878,6 +914,7 @@ pub fn serialize_structure_crate_model_input_update( object_170.finish(); } if let Some(var_171) = &input.kinesis_firehose_input_update { + #[allow(unused_mut)] let mut object_172 = object.key("KinesisFirehoseInputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_input_update( &mut object_172, @@ -886,6 +923,7 @@ pub fn serialize_structure_crate_model_input_update( object_172.finish(); } if let Some(var_173) = &input.input_schema_update { + #[allow(unused_mut)] let mut object_174 = object.key("InputSchemaUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_input_schema_update( &mut object_174, @@ -894,6 +932,7 @@ pub fn serialize_structure_crate_model_input_update( object_174.finish(); } if let Some(var_175) = &input.input_parallelism_update { + #[allow(unused_mut)] let mut object_176 = object.key("InputParallelismUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_input_parallelism_update( &mut object_176, @@ -915,6 +954,7 @@ pub fn serialize_structure_crate_model_output_update( object.key("NameUpdate").string(var_178.as_str()); } if let Some(var_179) = &input.kinesis_streams_output_update { + #[allow(unused_mut)] let mut object_180 = object.key("KinesisStreamsOutputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_output_update( &mut object_180, @@ -923,6 +963,7 @@ pub fn serialize_structure_crate_model_output_update( object_180.finish(); } if let Some(var_181) = &input.kinesis_firehose_output_update { + #[allow(unused_mut)] let mut object_182 = object.key("KinesisFirehoseOutputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_output_update( &mut object_182, @@ -931,6 +972,7 @@ pub fn serialize_structure_crate_model_output_update( object_182.finish(); } if let Some(var_183) = &input.lambda_output_update { + #[allow(unused_mut)] let mut object_184 = object.key("LambdaOutputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_output_update( &mut object_184, @@ -939,6 +981,7 @@ pub fn serialize_structure_crate_model_output_update( object_184.finish(); } if let Some(var_185) = &input.destination_schema_update { + #[allow(unused_mut)] let mut object_186 = object.key("DestinationSchemaUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_destination_schema( &mut object_186, @@ -960,6 +1003,7 @@ pub fn serialize_structure_crate_model_reference_data_source_update( object.key("TableNameUpdate").string(var_188.as_str()); } if let Some(var_189) = &input.s3_reference_data_source_update { + #[allow(unused_mut)] let mut object_190 = object.key("S3ReferenceDataSourceUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_reference_data_source_update( &mut object_190, @@ -968,6 +1012,7 @@ pub fn serialize_structure_crate_model_reference_data_source_update( object_190.finish(); } if let Some(var_191) = &input.reference_schema_update { + #[allow(unused_mut)] let mut object_192 = object.key("ReferenceSchemaUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_source_schema(&mut object_192, var_191)?; object_192.finish(); @@ -1001,6 +1046,7 @@ pub fn serialize_structure_crate_model_record_format( object.key("RecordFormatType").string(var_196.as_str()); } if let Some(var_197) = &input.mapping_parameters { + #[allow(unused_mut)] let mut object_198 = object.key("MappingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_mapping_parameters( &mut object_198, @@ -1032,6 +1078,7 @@ pub fn serialize_structure_crate_model_input_processing_configuration_update( input: &crate::model::InputProcessingConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_202) = &input.input_lambda_processor_update { + #[allow(unused_mut)] let mut object_203 = object.key("InputLambdaProcessorUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_input_lambda_processor_update( &mut object_203, @@ -1073,6 +1120,7 @@ pub fn serialize_structure_crate_model_input_schema_update( input: &crate::model::InputSchemaUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_208) = &input.record_format_update { + #[allow(unused_mut)] let mut object_209 = object.key("RecordFormatUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_record_format(&mut object_209, var_208)?; object_209.finish(); @@ -1084,6 +1132,7 @@ pub fn serialize_structure_crate_model_input_schema_update( let mut array_212 = object.key("RecordColumnUpdates").start_array(); for item_213 in var_211 { { + #[allow(unused_mut)] let mut object_214 = array_212.value().start_object(); crate::json_ser::serialize_structure_crate_model_record_column( &mut object_214, @@ -1172,6 +1221,7 @@ pub fn serialize_structure_crate_model_mapping_parameters( input: &crate::model::MappingParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_225) = &input.json_mapping_parameters { + #[allow(unused_mut)] let mut object_226 = object.key("JSONMappingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_json_mapping_parameters( &mut object_226, @@ -1180,6 +1230,7 @@ pub fn serialize_structure_crate_model_mapping_parameters( object_226.finish(); } if let Some(var_227) = &input.csv_mapping_parameters { + #[allow(unused_mut)] let mut object_228 = object.key("CSVMappingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_csv_mapping_parameters( &mut object_228, diff --git a/sdk/kinesisanalyticsv2/src/json_ser.rs b/sdk/kinesisanalyticsv2/src/json_ser.rs index a8187aebe802..97a7cdda5182 100644 --- a/sdk/kinesisanalyticsv2/src/json_ser.rs +++ b/sdk/kinesisanalyticsv2/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_add_application_cloud_watch_logging_optio ); } if let Some(var_3) = &input.cloud_watch_logging_option { + #[allow(unused_mut)] let mut object_4 = object.key("CloudWatchLoggingOption").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_option( &mut object_4, @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_add_application_input_input( ); } if let Some(var_8) = &input.input { + #[allow(unused_mut)] let mut object_9 = object.key("Input").start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_9, var_8)?; object_9.finish(); @@ -64,6 +66,7 @@ pub fn serialize_structure_crate_input_add_application_input_processing_configur object.key("InputId").string(var_12.as_str()); } if let Some(var_13) = &input.input_processing_configuration { + #[allow(unused_mut)] let mut object_14 = object.key("InputProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_processing_configuration( &mut object_14, @@ -88,6 +91,7 @@ pub fn serialize_structure_crate_input_add_application_output_input( ); } if let Some(var_17) = &input.output { + #[allow(unused_mut)] let mut object_18 = object.key("Output").start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_18, var_17)?; object_18.finish(); @@ -109,6 +113,7 @@ pub fn serialize_structure_crate_input_add_application_reference_data_source_inp ); } if let Some(var_21) = &input.reference_data_source { + #[allow(unused_mut)] let mut object_22 = object.key("ReferenceDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_reference_data_source( &mut object_22, @@ -133,6 +138,7 @@ pub fn serialize_structure_crate_input_add_application_vpc_configuration_input( ); } if let Some(var_25) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_26 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration(&mut object_26, var_25)?; object_26.finish(); @@ -160,6 +166,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("ServiceExecutionRole").string(var_31.as_str()); } if let Some(var_32) = &input.application_configuration { + #[allow(unused_mut)] let mut object_33 = object.key("ApplicationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_application_configuration( &mut object_33, @@ -171,6 +178,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_35 = object.key("CloudWatchLoggingOptions").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_option( &mut object_37, @@ -185,6 +193,7 @@ pub fn serialize_structure_crate_input_create_application_input( let mut array_39 = object.key("Tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -419,6 +428,7 @@ pub fn serialize_structure_crate_input_discover_input_schema_input( object.key("ServiceExecutionRole").string(var_77.as_str()); } if let Some(var_78) = &input.input_starting_position_configuration { + #[allow(unused_mut)] let mut object_79 = object .key("InputStartingPositionConfiguration") .start_object(); @@ -429,11 +439,13 @@ pub fn serialize_structure_crate_input_discover_input_schema_input( object_79.finish(); } if let Some(var_80) = &input.s3_configuration { + #[allow(unused_mut)] let mut object_81 = object.key("S3Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_configuration(&mut object_81, var_80)?; object_81.finish(); } if let Some(var_82) = &input.input_processing_configuration { + #[allow(unused_mut)] let mut object_83 = object.key("InputProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_processing_configuration( &mut object_83, @@ -532,6 +544,7 @@ pub fn serialize_structure_crate_input_start_application_input( object.key("ApplicationName").string(var_95.as_str()); } if let Some(var_96) = &input.run_configuration { + #[allow(unused_mut)] let mut object_97 = object.key("RunConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_run_configuration(&mut object_97, var_96)?; object_97.finish(); @@ -563,6 +576,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_102 = object.key("Tags").start_array(); for item_103 in var_101 { { + #[allow(unused_mut)] let mut object_104 = array_102.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_104, item_103)?; object_104.finish(); @@ -606,6 +620,7 @@ pub fn serialize_structure_crate_input_update_application_input( ); } if let Some(var_111) = &input.application_configuration_update { + #[allow(unused_mut)] let mut object_112 = object.key("ApplicationConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_application_configuration_update( &mut object_112, @@ -619,6 +634,7 @@ pub fn serialize_structure_crate_input_update_application_input( .string(var_113.as_str()); } if let Some(var_114) = &input.run_configuration_update { + #[allow(unused_mut)] let mut object_115 = object.key("RunConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_run_configuration_update( &mut object_115, @@ -630,6 +646,7 @@ pub fn serialize_structure_crate_input_update_application_input( let mut array_117 = object.key("CloudWatchLoggingOptionUpdates").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logging_option_update( &mut object_119, @@ -654,6 +671,7 @@ pub fn serialize_structure_crate_input_update_application_maintenance_configurat object.key("ApplicationName").string(var_121.as_str()); } if let Some(var_122) = &input.application_maintenance_configuration_update { + #[allow(unused_mut)] let mut object_123 = object .key("ApplicationMaintenanceConfigurationUpdate") .start_object(); @@ -681,6 +699,7 @@ pub fn serialize_structure_crate_model_input( object.key("NamePrefix").string(var_125.as_str()); } if let Some(var_126) = &input.input_processing_configuration { + #[allow(unused_mut)] let mut object_127 = object.key("InputProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_input_processing_configuration( &mut object_127, @@ -689,6 +708,7 @@ pub fn serialize_structure_crate_model_input( object_127.finish(); } if let Some(var_128) = &input.kinesis_streams_input { + #[allow(unused_mut)] let mut object_129 = object.key("KinesisStreamsInput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_input( &mut object_129, @@ -697,6 +717,7 @@ pub fn serialize_structure_crate_model_input( object_129.finish(); } if let Some(var_130) = &input.kinesis_firehose_input { + #[allow(unused_mut)] let mut object_131 = object.key("KinesisFirehoseInput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_input( &mut object_131, @@ -705,6 +726,7 @@ pub fn serialize_structure_crate_model_input( object_131.finish(); } if let Some(var_132) = &input.input_parallelism { + #[allow(unused_mut)] let mut object_133 = object.key("InputParallelism").start_object(); crate::json_ser::serialize_structure_crate_model_input_parallelism( &mut object_133, @@ -713,6 +735,7 @@ pub fn serialize_structure_crate_model_input( object_133.finish(); } if let Some(var_134) = &input.input_schema { + #[allow(unused_mut)] let mut object_135 = object.key("InputSchema").start_object(); crate::json_ser::serialize_structure_crate_model_source_schema(&mut object_135, var_134)?; object_135.finish(); @@ -725,6 +748,7 @@ pub fn serialize_structure_crate_model_input_processing_configuration( input: &crate::model::InputProcessingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_136) = &input.input_lambda_processor { + #[allow(unused_mut)] let mut object_137 = object.key("InputLambdaProcessor").start_object(); crate::json_ser::serialize_structure_crate_model_input_lambda_processor( &mut object_137, @@ -743,6 +767,7 @@ pub fn serialize_structure_crate_model_output( object.key("Name").string(var_138.as_str()); } if let Some(var_139) = &input.kinesis_streams_output { + #[allow(unused_mut)] let mut object_140 = object.key("KinesisStreamsOutput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_output( &mut object_140, @@ -751,6 +776,7 @@ pub fn serialize_structure_crate_model_output( object_140.finish(); } if let Some(var_141) = &input.kinesis_firehose_output { + #[allow(unused_mut)] let mut object_142 = object.key("KinesisFirehoseOutput").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_output( &mut object_142, @@ -759,11 +785,13 @@ pub fn serialize_structure_crate_model_output( object_142.finish(); } if let Some(var_143) = &input.lambda_output { + #[allow(unused_mut)] let mut object_144 = object.key("LambdaOutput").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_output(&mut object_144, var_143)?; object_144.finish(); } if let Some(var_145) = &input.destination_schema { + #[allow(unused_mut)] let mut object_146 = object.key("DestinationSchema").start_object(); crate::json_ser::serialize_structure_crate_model_destination_schema( &mut object_146, @@ -782,6 +810,7 @@ pub fn serialize_structure_crate_model_reference_data_source( object.key("TableName").string(var_147.as_str()); } if let Some(var_148) = &input.s3_reference_data_source { + #[allow(unused_mut)] let mut object_149 = object.key("S3ReferenceDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_reference_data_source( &mut object_149, @@ -790,6 +819,7 @@ pub fn serialize_structure_crate_model_reference_data_source( object_149.finish(); } if let Some(var_150) = &input.reference_schema { + #[allow(unused_mut)] let mut object_151 = object.key("ReferenceSchema").start_object(); crate::json_ser::serialize_structure_crate_model_source_schema(&mut object_151, var_150)?; object_151.finish(); @@ -827,6 +857,7 @@ pub fn serialize_structure_crate_model_application_configuration( input: &crate::model::ApplicationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_158) = &input.sql_application_configuration { + #[allow(unused_mut)] let mut object_159 = object.key("SqlApplicationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sql_application_configuration( &mut object_159, @@ -835,6 +866,7 @@ pub fn serialize_structure_crate_model_application_configuration( object_159.finish(); } if let Some(var_160) = &input.flink_application_configuration { + #[allow(unused_mut)] let mut object_161 = object.key("FlinkApplicationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_flink_application_configuration( &mut object_161, @@ -843,6 +875,7 @@ pub fn serialize_structure_crate_model_application_configuration( object_161.finish(); } if let Some(var_162) = &input.environment_properties { + #[allow(unused_mut)] let mut object_163 = object.key("EnvironmentProperties").start_object(); crate::json_ser::serialize_structure_crate_model_environment_properties( &mut object_163, @@ -851,6 +884,7 @@ pub fn serialize_structure_crate_model_application_configuration( object_163.finish(); } if let Some(var_164) = &input.application_code_configuration { + #[allow(unused_mut)] let mut object_165 = object.key("ApplicationCodeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_application_code_configuration( &mut object_165, @@ -859,6 +893,7 @@ pub fn serialize_structure_crate_model_application_configuration( object_165.finish(); } if let Some(var_166) = &input.application_snapshot_configuration { + #[allow(unused_mut)] let mut object_167 = object .key("ApplicationSnapshotConfiguration") .start_object(); @@ -872,6 +907,7 @@ pub fn serialize_structure_crate_model_application_configuration( let mut array_169 = object.key("VpcConfigurations").start_array(); for item_170 in var_168 { { + #[allow(unused_mut)] let mut object_171 = array_169.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration( &mut object_171, @@ -883,6 +919,7 @@ pub fn serialize_structure_crate_model_application_configuration( array_169.finish(); } if let Some(var_172) = &input.zeppelin_application_configuration { + #[allow(unused_mut)] let mut object_173 = object .key("ZeppelinApplicationConfiguration") .start_object(); @@ -936,6 +973,7 @@ pub fn serialize_structure_crate_model_run_configuration( input: &crate::model::RunConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_179) = &input.flink_run_configuration { + #[allow(unused_mut)] let mut object_180 = object.key("FlinkRunConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_flink_run_configuration( &mut object_180, @@ -947,6 +985,7 @@ pub fn serialize_structure_crate_model_run_configuration( let mut array_182 = object.key("SqlRunConfigurations").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_run_configuration( &mut object_184, @@ -958,6 +997,7 @@ pub fn serialize_structure_crate_model_run_configuration( array_182.finish(); } if let Some(var_185) = &input.application_restore_configuration { + #[allow(unused_mut)] let mut object_186 = object.key("ApplicationRestoreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_application_restore_configuration( &mut object_186, @@ -973,6 +1013,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( input: &crate::model::ApplicationConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_187) = &input.sql_application_configuration_update { + #[allow(unused_mut)] let mut object_188 = object .key("SqlApplicationConfigurationUpdate") .start_object(); @@ -983,6 +1024,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( object_188.finish(); } if let Some(var_189) = &input.application_code_configuration_update { + #[allow(unused_mut)] let mut object_190 = object .key("ApplicationCodeConfigurationUpdate") .start_object(); @@ -993,6 +1035,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( object_190.finish(); } if let Some(var_191) = &input.flink_application_configuration_update { + #[allow(unused_mut)] let mut object_192 = object .key("FlinkApplicationConfigurationUpdate") .start_object(); @@ -1003,6 +1046,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( object_192.finish(); } if let Some(var_193) = &input.environment_property_updates { + #[allow(unused_mut)] let mut object_194 = object.key("EnvironmentPropertyUpdates").start_object(); crate::json_ser::serialize_structure_crate_model_environment_property_updates( &mut object_194, @@ -1011,6 +1055,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( object_194.finish(); } if let Some(var_195) = &input.application_snapshot_configuration_update { + #[allow(unused_mut)] let mut object_196 = object .key("ApplicationSnapshotConfigurationUpdate") .start_object(); @@ -1024,6 +1069,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( let mut array_198 = object.key("VpcConfigurationUpdates").start_array(); for item_199 in var_197 { { + #[allow(unused_mut)] let mut object_200 = array_198.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration_update( &mut object_200, @@ -1035,6 +1081,7 @@ pub fn serialize_structure_crate_model_application_configuration_update( array_198.finish(); } if let Some(var_201) = &input.zeppelin_application_configuration_update { + #[allow(unused_mut)] let mut object_202 = object .key("ZeppelinApplicationConfigurationUpdate") .start_object(); @@ -1052,6 +1099,7 @@ pub fn serialize_structure_crate_model_run_configuration_update( input: &crate::model::RunConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_203) = &input.flink_run_configuration { + #[allow(unused_mut)] let mut object_204 = object.key("FlinkRunConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_flink_run_configuration( &mut object_204, @@ -1060,6 +1108,7 @@ pub fn serialize_structure_crate_model_run_configuration_update( object_204.finish(); } if let Some(var_205) = &input.application_restore_configuration { + #[allow(unused_mut)] let mut object_206 = object.key("ApplicationRestoreConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_application_restore_configuration( &mut object_206, @@ -1135,6 +1184,7 @@ pub fn serialize_structure_crate_model_source_schema( input: &crate::model::SourceSchema, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_213) = &input.record_format { + #[allow(unused_mut)] let mut object_214 = object.key("RecordFormat").start_object(); crate::json_ser::serialize_structure_crate_model_record_format(&mut object_214, var_213)?; object_214.finish(); @@ -1146,6 +1196,7 @@ pub fn serialize_structure_crate_model_source_schema( let mut array_217 = object.key("RecordColumns").start_array(); for item_218 in var_216 { { + #[allow(unused_mut)] let mut object_219 = array_217.value().start_object(); crate::json_ser::serialize_structure_crate_model_record_column( &mut object_219, @@ -1230,6 +1281,7 @@ pub fn serialize_structure_crate_model_sql_application_configuration( let mut array_228 = object.key("Inputs").start_array(); for item_229 in var_227 { { + #[allow(unused_mut)] let mut object_230 = array_228.value().start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_230, item_229)?; object_230.finish(); @@ -1241,6 +1293,7 @@ pub fn serialize_structure_crate_model_sql_application_configuration( let mut array_232 = object.key("Outputs").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_234, item_233)?; object_234.finish(); @@ -1252,6 +1305,7 @@ pub fn serialize_structure_crate_model_sql_application_configuration( let mut array_236 = object.key("ReferenceDataSources").start_array(); for item_237 in var_235 { { + #[allow(unused_mut)] let mut object_238 = array_236.value().start_object(); crate::json_ser::serialize_structure_crate_model_reference_data_source( &mut object_238, @@ -1270,6 +1324,7 @@ pub fn serialize_structure_crate_model_flink_application_configuration( input: &crate::model::FlinkApplicationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_239) = &input.checkpoint_configuration { + #[allow(unused_mut)] let mut object_240 = object.key("CheckpointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_checkpoint_configuration( &mut object_240, @@ -1278,6 +1333,7 @@ pub fn serialize_structure_crate_model_flink_application_configuration( object_240.finish(); } if let Some(var_241) = &input.monitoring_configuration { + #[allow(unused_mut)] let mut object_242 = object.key("MonitoringConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_configuration( &mut object_242, @@ -1286,6 +1342,7 @@ pub fn serialize_structure_crate_model_flink_application_configuration( object_242.finish(); } if let Some(var_243) = &input.parallelism_configuration { + #[allow(unused_mut)] let mut object_244 = object.key("ParallelismConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration( &mut object_244, @@ -1304,6 +1361,7 @@ pub fn serialize_structure_crate_model_environment_properties( let mut array_246 = object.key("PropertyGroups").start_array(); for item_247 in var_245 { { + #[allow(unused_mut)] let mut object_248 = array_246.value().start_object(); crate::json_ser::serialize_structure_crate_model_property_group( &mut object_248, @@ -1322,6 +1380,7 @@ pub fn serialize_structure_crate_model_application_code_configuration( input: &crate::model::ApplicationCodeConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_249) = &input.code_content { + #[allow(unused_mut)] let mut object_250 = object.key("CodeContent").start_object(); crate::json_ser::serialize_structure_crate_model_code_content(&mut object_250, var_249)?; object_250.finish(); @@ -1347,6 +1406,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration( input: &crate::model::ZeppelinApplicationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_253) = &input.monitoring_configuration { + #[allow(unused_mut)] let mut object_254 = object.key("MonitoringConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_zeppelin_monitoring_configuration( &mut object_254, @@ -1355,6 +1415,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration( object_254.finish(); } if let Some(var_255) = &input.catalog_configuration { + #[allow(unused_mut)] let mut object_256 = object.key("CatalogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_configuration( &mut object_256, @@ -1363,6 +1424,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration( object_256.finish(); } if let Some(var_257) = &input.deploy_as_application_configuration { + #[allow(unused_mut)] let mut object_258 = object .key("DeployAsApplicationConfiguration") .start_object(); @@ -1376,6 +1438,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration( let mut array_260 = object.key("CustomArtifactsConfiguration").start_array(); for item_261 in var_259 { { + #[allow(unused_mut)] let mut object_262 = array_260.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_artifact_configuration( &mut object_262, @@ -1407,6 +1470,7 @@ pub fn serialize_structure_crate_model_sql_run_configuration( object.key("InputId").string(var_264.as_str()); } if let Some(var_265) = &input.input_starting_position_configuration { + #[allow(unused_mut)] let mut object_266 = object .key("InputStartingPositionConfiguration") .start_object(); @@ -1442,6 +1506,7 @@ pub fn serialize_structure_crate_model_sql_application_configuration_update( let mut array_270 = object.key("InputUpdates").start_array(); for item_271 in var_269 { { + #[allow(unused_mut)] let mut object_272 = array_270.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_update( &mut object_272, @@ -1456,6 +1521,7 @@ pub fn serialize_structure_crate_model_sql_application_configuration_update( let mut array_274 = object.key("OutputUpdates").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_update( &mut object_276, @@ -1470,6 +1536,7 @@ pub fn serialize_structure_crate_model_sql_application_configuration_update( let mut array_278 = object.key("ReferenceDataSourceUpdates").start_array(); for item_279 in var_277 { { + #[allow(unused_mut)] let mut object_280 = array_278.value().start_object(); crate::json_ser::serialize_structure_crate_model_reference_data_source_update( &mut object_280, @@ -1491,6 +1558,7 @@ pub fn serialize_structure_crate_model_application_code_configuration_update( object.key("CodeContentTypeUpdate").string(var_281.as_str()); } if let Some(var_282) = &input.code_content_update { + #[allow(unused_mut)] let mut object_283 = object.key("CodeContentUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_code_content_update( &mut object_283, @@ -1506,6 +1574,7 @@ pub fn serialize_structure_crate_model_flink_application_configuration_update( input: &crate::model::FlinkApplicationConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_284) = &input.checkpoint_configuration_update { + #[allow(unused_mut)] let mut object_285 = object.key("CheckpointConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_checkpoint_configuration_update( &mut object_285, @@ -1514,6 +1583,7 @@ pub fn serialize_structure_crate_model_flink_application_configuration_update( object_285.finish(); } if let Some(var_286) = &input.monitoring_configuration_update { + #[allow(unused_mut)] let mut object_287 = object.key("MonitoringConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_configuration_update( &mut object_287, @@ -1522,6 +1592,7 @@ pub fn serialize_structure_crate_model_flink_application_configuration_update( object_287.finish(); } if let Some(var_288) = &input.parallelism_configuration_update { + #[allow(unused_mut)] let mut object_289 = object.key("ParallelismConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration_update( &mut object_289, @@ -1540,6 +1611,7 @@ pub fn serialize_structure_crate_model_environment_property_updates( let mut array_291 = object.key("PropertyGroups").start_array(); for item_292 in var_290 { { + #[allow(unused_mut)] let mut object_293 = array_291.value().start_object(); crate::json_ser::serialize_structure_crate_model_property_group( &mut object_293, @@ -1596,6 +1668,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration_update input: &crate::model::ZeppelinApplicationConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_302) = &input.monitoring_configuration_update { + #[allow(unused_mut)] let mut object_303 = object.key("MonitoringConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_zeppelin_monitoring_configuration_update( &mut object_303, @@ -1604,6 +1677,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration_update object_303.finish(); } if let Some(var_304) = &input.catalog_configuration_update { + #[allow(unused_mut)] let mut object_305 = object.key("CatalogConfigurationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_configuration_update( &mut object_305, @@ -1612,6 +1686,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration_update object_305.finish(); } if let Some(var_306) = &input.deploy_as_application_configuration_update { + #[allow(unused_mut)] let mut object_307 = object .key("DeployAsApplicationConfigurationUpdate") .start_object(); @@ -1624,6 +1699,7 @@ pub fn serialize_structure_crate_model_zeppelin_application_configuration_update .start_array(); for item_310 in var_308 { { + #[allow(unused_mut)] let mut object_311 = array_309.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_artifact_configuration( &mut object_311, @@ -1645,6 +1721,7 @@ pub fn serialize_structure_crate_model_record_format( object.key("RecordFormatType").string(var_312.as_str()); } if let Some(var_313) = &input.mapping_parameters { + #[allow(unused_mut)] let mut object_314 = object.key("MappingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_mapping_parameters( &mut object_314, @@ -1745,6 +1822,7 @@ pub fn serialize_structure_crate_model_property_group( object.key("PropertyGroupId").string(var_329.as_str()); } if let Some(var_330) = &input.property_map { + #[allow(unused_mut)] let mut object_331 = object.key("PropertyMap").start_object(); for (key_332, value_333) in var_330 { { @@ -1769,6 +1847,7 @@ pub fn serialize_structure_crate_model_code_content( .string_unchecked(&aws_smithy_types::base64::encode(var_335)); } if let Some(var_336) = &input.s3_content_location { + #[allow(unused_mut)] let mut object_337 = object.key("S3ContentLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_content_location( &mut object_337, @@ -1794,6 +1873,7 @@ pub fn serialize_structure_crate_model_catalog_configuration( input: &crate::model::CatalogConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_339) = &input.glue_data_catalog_configuration { + #[allow(unused_mut)] let mut object_340 = object.key("GlueDataCatalogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_glue_data_catalog_configuration( &mut object_340, @@ -1809,6 +1889,7 @@ pub fn serialize_structure_crate_model_deploy_as_application_configuration( input: &crate::model::DeployAsApplicationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_341) = &input.s3_content_location { + #[allow(unused_mut)] let mut object_342 = object.key("S3ContentLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_content_base_location( &mut object_342, @@ -1827,6 +1908,7 @@ pub fn serialize_structure_crate_model_custom_artifact_configuration( object.key("ArtifactType").string(var_343.as_str()); } if let Some(var_344) = &input.s3_content_location { + #[allow(unused_mut)] let mut object_345 = object.key("S3ContentLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_content_location( &mut object_345, @@ -1835,6 +1917,7 @@ pub fn serialize_structure_crate_model_custom_artifact_configuration( object_345.finish(); } if let Some(var_346) = &input.maven_reference { + #[allow(unused_mut)] let mut object_347 = object.key("MavenReference").start_object(); crate::json_ser::serialize_structure_crate_model_maven_reference(&mut object_347, var_346)?; object_347.finish(); @@ -1853,6 +1936,7 @@ pub fn serialize_structure_crate_model_input_update( object.key("NamePrefixUpdate").string(var_349.as_str()); } if let Some(var_350) = &input.input_processing_configuration_update { + #[allow(unused_mut)] let mut object_351 = object .key("InputProcessingConfigurationUpdate") .start_object(); @@ -1863,6 +1947,7 @@ pub fn serialize_structure_crate_model_input_update( object_351.finish(); } if let Some(var_352) = &input.kinesis_streams_input_update { + #[allow(unused_mut)] let mut object_353 = object.key("KinesisStreamsInputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_input_update( &mut object_353, @@ -1871,6 +1956,7 @@ pub fn serialize_structure_crate_model_input_update( object_353.finish(); } if let Some(var_354) = &input.kinesis_firehose_input_update { + #[allow(unused_mut)] let mut object_355 = object.key("KinesisFirehoseInputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_input_update( &mut object_355, @@ -1879,6 +1965,7 @@ pub fn serialize_structure_crate_model_input_update( object_355.finish(); } if let Some(var_356) = &input.input_schema_update { + #[allow(unused_mut)] let mut object_357 = object.key("InputSchemaUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_input_schema_update( &mut object_357, @@ -1887,6 +1974,7 @@ pub fn serialize_structure_crate_model_input_update( object_357.finish(); } if let Some(var_358) = &input.input_parallelism_update { + #[allow(unused_mut)] let mut object_359 = object.key("InputParallelismUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_input_parallelism_update( &mut object_359, @@ -1908,6 +1996,7 @@ pub fn serialize_structure_crate_model_output_update( object.key("NameUpdate").string(var_361.as_str()); } if let Some(var_362) = &input.kinesis_streams_output_update { + #[allow(unused_mut)] let mut object_363 = object.key("KinesisStreamsOutputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_streams_output_update( &mut object_363, @@ -1916,6 +2005,7 @@ pub fn serialize_structure_crate_model_output_update( object_363.finish(); } if let Some(var_364) = &input.kinesis_firehose_output_update { + #[allow(unused_mut)] let mut object_365 = object.key("KinesisFirehoseOutputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_output_update( &mut object_365, @@ -1924,6 +2014,7 @@ pub fn serialize_structure_crate_model_output_update( object_365.finish(); } if let Some(var_366) = &input.lambda_output_update { + #[allow(unused_mut)] let mut object_367 = object.key("LambdaOutputUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_output_update( &mut object_367, @@ -1932,6 +2023,7 @@ pub fn serialize_structure_crate_model_output_update( object_367.finish(); } if let Some(var_368) = &input.destination_schema_update { + #[allow(unused_mut)] let mut object_369 = object.key("DestinationSchemaUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_destination_schema( &mut object_369, @@ -1953,6 +2045,7 @@ pub fn serialize_structure_crate_model_reference_data_source_update( object.key("TableNameUpdate").string(var_371.as_str()); } if let Some(var_372) = &input.s3_reference_data_source_update { + #[allow(unused_mut)] let mut object_373 = object.key("S3ReferenceDataSourceUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_reference_data_source_update( &mut object_373, @@ -1961,6 +2054,7 @@ pub fn serialize_structure_crate_model_reference_data_source_update( object_373.finish(); } if let Some(var_374) = &input.reference_schema_update { + #[allow(unused_mut)] let mut object_375 = object.key("ReferenceSchemaUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_source_schema(&mut object_375, var_374)?; object_375.finish(); @@ -1981,6 +2075,7 @@ pub fn serialize_structure_crate_model_code_content_update( .string_unchecked(&aws_smithy_types::base64::encode(var_377)); } if let Some(var_378) = &input.s3_content_location_update { + #[allow(unused_mut)] let mut object_379 = object.key("S3ContentLocationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_content_location_update( &mut object_379, @@ -2078,6 +2173,7 @@ pub fn serialize_structure_crate_model_catalog_configuration_update( input: &crate::model::CatalogConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_392) = &input.glue_data_catalog_configuration_update { + #[allow(unused_mut)] let mut object_393 = object .key("GlueDataCatalogConfigurationUpdate") .start_object(); @@ -2095,6 +2191,7 @@ pub fn serialize_structure_crate_model_deploy_as_application_configuration_updat input: &crate::model::DeployAsApplicationConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_394) = &input.s3_content_location_update { + #[allow(unused_mut)] let mut object_395 = object.key("S3ContentLocationUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_s3_content_base_location_update( &mut object_395, @@ -2110,6 +2207,7 @@ pub fn serialize_structure_crate_model_mapping_parameters( input: &crate::model::MappingParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_396) = &input.json_mapping_parameters { + #[allow(unused_mut)] let mut object_397 = object.key("JSONMappingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_json_mapping_parameters( &mut object_397, @@ -2118,6 +2216,7 @@ pub fn serialize_structure_crate_model_mapping_parameters( object_397.finish(); } if let Some(var_398) = &input.csv_mapping_parameters { + #[allow(unused_mut)] let mut object_399 = object.key("CSVMappingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_csv_mapping_parameters( &mut object_399, @@ -2188,6 +2287,7 @@ pub fn serialize_structure_crate_model_input_processing_configuration_update( input: &crate::model::InputProcessingConfigurationUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_409) = &input.input_lambda_processor_update { + #[allow(unused_mut)] let mut object_410 = object.key("InputLambdaProcessorUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_input_lambda_processor_update( &mut object_410, @@ -2223,6 +2323,7 @@ pub fn serialize_structure_crate_model_input_schema_update( input: &crate::model::InputSchemaUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_413) = &input.record_format_update { + #[allow(unused_mut)] let mut object_414 = object.key("RecordFormatUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_record_format(&mut object_414, var_413)?; object_414.finish(); @@ -2234,6 +2335,7 @@ pub fn serialize_structure_crate_model_input_schema_update( let mut array_417 = object.key("RecordColumnUpdates").start_array(); for item_418 in var_416 { { + #[allow(unused_mut)] let mut object_419 = array_417.value().start_object(); crate::json_ser::serialize_structure_crate_model_record_column( &mut object_419, diff --git a/sdk/kinesisvideo/src/json_ser.rs b/sdk/kinesisvideo/src/json_ser.rs index 467405c1de60..5bd081fbbd60 100644 --- a/sdk/kinesisvideo/src/json_ser.rs +++ b/sdk/kinesisvideo/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_signaling_channel_input( object.key("ChannelType").string(var_2.as_str()); } if let Some(var_3) = &input.single_master_configuration { + #[allow(unused_mut)] let mut object_4 = object.key("SingleMasterConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_single_master_configuration( &mut object_4, @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_create_signaling_channel_input( let mut array_6 = object.key("Tags").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_8, item_7)?; object_8.finish(); @@ -54,6 +56,7 @@ pub fn serialize_structure_crate_input_create_stream_input( object.key("StreamName").string(var_13.as_str()); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("Tags").start_object(); for (key_16, value_17) in var_14 { { @@ -167,6 +170,7 @@ pub fn serialize_structure_crate_input_get_signaling_channel_endpoint_input( object.key("ChannelARN").string(var_33.as_str()); } if let Some(var_34) = &input.single_master_channel_endpoint_configuration { + #[allow(unused_mut)] let mut object_35 = object .key("SingleMasterChannelEndpointConfiguration") .start_object(); @@ -181,6 +185,7 @@ pub fn serialize_structure_crate_input_list_signaling_channels_input( input: &crate::input::ListSignalingChannelsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.channel_name_condition { + #[allow(unused_mut)] let mut object_37 = object.key("ChannelNameCondition").start_object(); crate::json_ser::serialize_structure_crate_model_channel_name_condition( &mut object_37, @@ -214,6 +219,7 @@ pub fn serialize_structure_crate_input_list_streams_input( object.key("NextToken").string(var_41.as_str()); } if let Some(var_42) = &input.stream_name_condition { + #[allow(unused_mut)] let mut object_43 = object.key("StreamNameCondition").start_object(); crate::json_ser::serialize_structure_crate_model_stream_name_condition( &mut object_43, @@ -264,6 +270,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_51 = object.key("Tags").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_53, item_52)?; object_53.finish(); @@ -285,6 +292,7 @@ pub fn serialize_structure_crate_input_tag_stream_input( object.key("StreamName").string(var_55.as_str()); } if let Some(var_56) = &input.tags { + #[allow(unused_mut)] let mut object_57 = object.key("Tags").start_object(); for (key_58, value_59) in var_56 { { @@ -367,6 +375,7 @@ pub fn serialize_structure_crate_input_update_image_generation_configuration_inp input: &crate::input::UpdateImageGenerationConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_74) = &input.image_generation_configuration { + #[allow(unused_mut)] let mut object_75 = object.key("ImageGenerationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_image_generation_configuration( &mut object_75, @@ -388,6 +397,7 @@ pub fn serialize_structure_crate_input_update_notification_configuration_input( input: &crate::input::UpdateNotificationConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_78) = &input.notification_configuration { + #[allow(unused_mut)] let mut object_79 = object.key("NotificationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_notification_configuration( &mut object_79, @@ -415,6 +425,7 @@ pub fn serialize_structure_crate_input_update_signaling_channel_input( object.key("CurrentVersion").string(var_83.as_str()); } if let Some(var_84) = &input.single_master_configuration { + #[allow(unused_mut)] let mut object_85 = object.key("SingleMasterConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_single_master_configuration( &mut object_85, @@ -529,6 +540,7 @@ pub fn serialize_structure_crate_model_image_generation_configuration( object.key("ImageSelectorType").string(var_103.as_str()); } if let Some(var_104) = &input.destination_config { + #[allow(unused_mut)] let mut object_105 = object.key("DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_image_generation_destination_config( &mut object_105, @@ -546,6 +558,7 @@ pub fn serialize_structure_crate_model_image_generation_configuration( object.key("Format").string(var_107.as_str()); } if let Some(var_108) = &input.format_config { + #[allow(unused_mut)] let mut object_109 = object.key("FormatConfig").start_object(); for (key_110, value_111) in var_108 { { @@ -577,6 +590,7 @@ pub fn serialize_structure_crate_model_notification_configuration( object.key("Status").string(var_114.as_str()); } if let Some(var_115) = &input.destination_config { + #[allow(unused_mut)] let mut object_116 = object.key("DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_notification_destination_config( &mut object_116, diff --git a/sdk/kinesisvideoarchivedmedia/src/json_ser.rs b/sdk/kinesisvideoarchivedmedia/src/json_ser.rs index faa6fff36ff4..0c65180a0482 100644 --- a/sdk/kinesisvideoarchivedmedia/src/json_ser.rs +++ b/sdk/kinesisvideoarchivedmedia/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_get_clip_input( input: &crate::input::GetClipInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.clip_fragment_selector { + #[allow(unused_mut)] let mut object_2 = object.key("ClipFragmentSelector").start_object(); crate::json_ser::serialize_structure_crate_model_clip_fragment_selector( &mut object_2, @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_get_dash_streaming_session_url_input( input: &crate::input::GetDashStreamingSessionUrlInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_5) = &input.dash_fragment_selector { + #[allow(unused_mut)] let mut object_6 = object.key("DASHFragmentSelector").start_object(); crate::json_ser::serialize_structure_crate_model_dash_fragment_selector( &mut object_6, @@ -86,6 +88,7 @@ pub fn serialize_structure_crate_input_get_hls_streaming_session_url_input( ); } if let Some(var_18) = &input.hls_fragment_selector { + #[allow(unused_mut)] let mut object_19 = object.key("HLSFragmentSelector").start_object(); crate::json_ser::serialize_structure_crate_model_hls_fragment_selector( &mut object_19, @@ -124,6 +127,7 @@ pub fn serialize_structure_crate_input_get_images_input( object.key("Format").string(var_25.as_str()); } if let Some(var_26) = &input.format_config { + #[allow(unused_mut)] let mut object_27 = object.key("FormatConfig").start_object(); for (key_28, value_29) in var_26 { { @@ -203,6 +207,7 @@ pub fn serialize_structure_crate_input_list_fragments_input( input: &crate::input::ListFragmentsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_44) = &input.fragment_selector { + #[allow(unused_mut)] let mut object_45 = object.key("FragmentSelector").start_object(); crate::json_ser::serialize_structure_crate_model_fragment_selector(&mut object_45, var_44)?; object_45.finish(); @@ -233,6 +238,7 @@ pub fn serialize_structure_crate_model_clip_fragment_selector( object.key("FragmentSelectorType").string(var_50.as_str()); } if let Some(var_51) = &input.timestamp_range { + #[allow(unused_mut)] let mut object_52 = object.key("TimestampRange").start_object(); crate::json_ser::serialize_structure_crate_model_clip_timestamp_range( &mut object_52, @@ -251,6 +257,7 @@ pub fn serialize_structure_crate_model_dash_fragment_selector( object.key("FragmentSelectorType").string(var_53.as_str()); } if let Some(var_54) = &input.timestamp_range { + #[allow(unused_mut)] let mut object_55 = object.key("TimestampRange").start_object(); crate::json_ser::serialize_structure_crate_model_dash_timestamp_range( &mut object_55, @@ -269,6 +276,7 @@ pub fn serialize_structure_crate_model_hls_fragment_selector( object.key("FragmentSelectorType").string(var_56.as_str()); } if let Some(var_57) = &input.timestamp_range { + #[allow(unused_mut)] let mut object_58 = object.key("TimestampRange").start_object(); crate::json_ser::serialize_structure_crate_model_hls_timestamp_range( &mut object_58, @@ -287,6 +295,7 @@ pub fn serialize_structure_crate_model_fragment_selector( object.key("FragmentSelectorType").string(var_59.as_str()); } if let Some(var_60) = &input.timestamp_range { + #[allow(unused_mut)] let mut object_61 = object.key("TimestampRange").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_range(&mut object_61, var_60)?; object_61.finish(); diff --git a/sdk/kinesisvideomedia/src/json_ser.rs b/sdk/kinesisvideomedia/src/json_ser.rs index 20010239823c..abb203c13d1c 100644 --- a/sdk/kinesisvideomedia/src/json_ser.rs +++ b/sdk/kinesisvideomedia/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_get_media_input( input: &crate::input::GetMediaInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.start_selector { + #[allow(unused_mut)] let mut object_2 = object.key("StartSelector").start_object(); crate::json_ser::serialize_structure_crate_model_start_selector(&mut object_2, var_1)?; object_2.finish(); diff --git a/sdk/kms/src/json_ser.rs b/sdk/kms/src/json_ser.rs index 176af9762561..a26dcdb84d97 100644 --- a/sdk/kms/src/json_ser.rs +++ b/sdk/kms/src/json_ser.rs @@ -74,6 +74,7 @@ pub fn serialize_structure_crate_input_create_grant_input( array_13.finish(); } if let Some(var_15) = &input.constraints { + #[allow(unused_mut)] let mut object_16 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_grant_constraints(&mut object_16, var_15)?; object_16.finish(); @@ -127,6 +128,7 @@ pub fn serialize_structure_crate_input_create_key_input( let mut array_29 = object.key("Tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_31, item_30)?; object_31.finish(); @@ -150,6 +152,7 @@ pub fn serialize_structure_crate_input_decrypt_input( .string_unchecked(&aws_smithy_types::base64::encode(var_33)); } if let Some(var_34) = &input.encryption_context { + #[allow(unused_mut)] let mut object_35 = object.key("EncryptionContext").start_object(); for (key_36, value_37) in var_34 { { @@ -310,6 +313,7 @@ pub fn serialize_structure_crate_input_encrypt_input( .string_unchecked(&aws_smithy_types::base64::encode(var_60)); } if let Some(var_61) = &input.encryption_context { + #[allow(unused_mut)] let mut object_62 = object.key("EncryptionContext").start_object(); for (key_63, value_64) in var_61 { { @@ -341,6 +345,7 @@ pub fn serialize_structure_crate_input_generate_data_key_input( object.key("KeyId").string(var_69.as_str()); } if let Some(var_70) = &input.encryption_context { + #[allow(unused_mut)] let mut object_71 = object.key("EncryptionContext").start_object(); for (key_72, value_73) in var_70 { { @@ -375,6 +380,7 @@ pub fn serialize_structure_crate_input_generate_data_key_pair_input( input: &crate::input::GenerateDataKeyPairInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_79) = &input.encryption_context { + #[allow(unused_mut)] let mut object_80 = object.key("EncryptionContext").start_object(); for (key_81, value_82) in var_79 { { @@ -406,6 +412,7 @@ pub fn serialize_structure_crate_input_generate_data_key_pair_without_plaintext_ input: &crate::input::GenerateDataKeyPairWithoutPlaintextInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_88) = &input.encryption_context { + #[allow(unused_mut)] let mut object_89 = object.key("EncryptionContext").start_object(); for (key_90, value_91) in var_88 { { @@ -440,6 +447,7 @@ pub fn serialize_structure_crate_input_generate_data_key_without_plaintext_input object.key("KeyId").string(var_97.as_str()); } if let Some(var_98) = &input.encryption_context { + #[allow(unused_mut)] let mut object_99 = object.key("EncryptionContext").start_object(); for (key_100, value_101) in var_98 { { @@ -746,6 +754,7 @@ pub fn serialize_structure_crate_input_re_encrypt_input( .string_unchecked(&aws_smithy_types::base64::encode(var_152)); } if let Some(var_153) = &input.source_encryption_context { + #[allow(unused_mut)] let mut object_154 = object.key("SourceEncryptionContext").start_object(); for (key_155, value_156) in var_153 { { @@ -761,6 +770,7 @@ pub fn serialize_structure_crate_input_re_encrypt_input( object.key("DestinationKeyId").string(var_158.as_str()); } if let Some(var_159) = &input.destination_encryption_context { + #[allow(unused_mut)] let mut object_160 = object.key("DestinationEncryptionContext").start_object(); for (key_161, value_162) in var_159 { { @@ -816,6 +826,7 @@ pub fn serialize_structure_crate_input_replicate_key_input( let mut array_173 = object.key("Tags").start_array(); for item_174 in var_172 { { + #[allow(unused_mut)] let mut object_175 = array_173.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_175, item_174)?; object_175.finish(); @@ -912,6 +923,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_192 = object.key("Tags").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_194, item_193)?; object_194.finish(); @@ -1071,6 +1083,7 @@ pub fn serialize_structure_crate_model_grant_constraints( input: &crate::model::GrantConstraints, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_224) = &input.encryption_context_subset { + #[allow(unused_mut)] let mut object_225 = object.key("EncryptionContextSubset").start_object(); for (key_226, value_227) in var_224 { { @@ -1080,6 +1093,7 @@ pub fn serialize_structure_crate_model_grant_constraints( object_225.finish(); } if let Some(var_228) = &input.encryption_context_equals { + #[allow(unused_mut)] let mut object_229 = object.key("EncryptionContextEquals").start_object(); for (key_230, value_231) in var_228 { { diff --git a/sdk/lakeformation/src/json_ser.rs b/sdk/lakeformation/src/json_ser.rs index 90e535d45143..7e8179dbf388 100644 --- a/sdk/lakeformation/src/json_ser.rs +++ b/sdk/lakeformation/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_lf_tags_to_resource_input( let mut array_3 = object.key("LFTags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag_pair( &mut object_5, @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_add_lf_tags_to_resource_input( array_3.finish(); } if let Some(var_6) = &input.resource { + #[allow(unused_mut)] let mut object_7 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_7, var_6)?; object_7.finish(); @@ -61,6 +63,7 @@ pub fn serialize_structure_crate_input_batch_grant_permissions_input( let mut array_14 = object.key("Entries").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_permissions_request_entry( &mut object_16, @@ -85,6 +88,7 @@ pub fn serialize_structure_crate_input_batch_revoke_permissions_input( let mut array_19 = object.key("Entries").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_permissions_request_entry( &mut object_21, @@ -123,6 +127,7 @@ pub fn serialize_structure_crate_input_create_data_cells_filter_input( input: &crate::input::CreateDataCellsFilterInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_24) = &input.table_data { + #[allow(unused_mut)] let mut object_25 = object.key("TableData").start_object(); crate::json_ser::serialize_structure_crate_model_data_cells_filter(&mut object_25, var_24)?; object_25.finish(); @@ -198,6 +203,7 @@ pub fn serialize_structure_crate_input_delete_objects_on_cancel_input( let mut array_40 = object.key("Objects").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_virtual_object( &mut object_42, @@ -330,6 +336,7 @@ pub fn serialize_structure_crate_input_get_resource_lf_tags_input( object.key("CatalogId").string(var_58.as_str()); } if let Some(var_59) = &input.resource { + #[allow(unused_mut)] let mut object_60 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_60, var_59)?; object_60.finish(); @@ -381,6 +388,7 @@ pub fn serialize_structure_crate_input_get_temporary_glue_partition_credentials_ input: &crate::input::GetTemporaryGluePartitionCredentialsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.audit_context { + #[allow(unused_mut)] let mut object_71 = object.key("AuditContext").start_object(); crate::json_ser::serialize_structure_crate_model_audit_context(&mut object_71, var_70)?; object_71.finish(); @@ -392,6 +400,7 @@ pub fn serialize_structure_crate_input_get_temporary_glue_partition_credentials_ ); } if let Some(var_73) = &input.partition { + #[allow(unused_mut)] let mut object_74 = object.key("Partition").start_object(); crate::json_ser::serialize_structure_crate_model_partition_value_list( &mut object_74, @@ -428,6 +437,7 @@ pub fn serialize_structure_crate_input_get_temporary_glue_table_credentials_inpu input: &crate::input::GetTemporaryGlueTableCredentialsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_82) = &input.audit_context { + #[allow(unused_mut)] let mut object_83 = object.key("AuditContext").start_object(); crate::json_ser::serialize_structure_crate_model_audit_context(&mut object_83, var_82)?; object_83.finish(); @@ -526,6 +536,7 @@ pub fn serialize_structure_crate_input_grant_permissions_input( array_102.finish(); } if let Some(var_104) = &input.principal { + #[allow(unused_mut)] let mut object_105 = object.key("Principal").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_105, @@ -534,6 +545,7 @@ pub fn serialize_structure_crate_input_grant_permissions_input( object_105.finish(); } if let Some(var_106) = &input.resource { + #[allow(unused_mut)] let mut object_107 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_107, var_106)?; object_107.finish(); @@ -555,6 +567,7 @@ pub fn serialize_structure_crate_input_list_data_cells_filter_input( object.key("NextToken").string(var_109.as_str()); } if let Some(var_110) = &input.table { + #[allow(unused_mut)] let mut object_111 = object.key("Table").start_object(); crate::json_ser::serialize_structure_crate_model_table_resource(&mut object_111, var_110)?; object_111.finish(); @@ -604,6 +617,7 @@ pub fn serialize_structure_crate_input_list_permissions_input( object.key("NextToken").string(var_119.as_str()); } if let Some(var_120) = &input.principal { + #[allow(unused_mut)] let mut object_121 = object.key("Principal").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_121, @@ -612,6 +626,7 @@ pub fn serialize_structure_crate_input_list_permissions_input( object_121.finish(); } if let Some(var_122) = &input.resource { + #[allow(unused_mut)] let mut object_123 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_123, var_122)?; object_123.finish(); @@ -630,6 +645,7 @@ pub fn serialize_structure_crate_input_list_resources_input( let mut array_126 = object.key("FilterConditionList").start_array(); for item_127 in var_125 { { + #[allow(unused_mut)] let mut object_128 = array_126.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_128, @@ -710,6 +726,7 @@ pub fn serialize_structure_crate_input_put_data_lake_settings_input( object.key("CatalogId").string(var_141.as_str()); } if let Some(var_142) = &input.data_lake_settings { + #[allow(unused_mut)] let mut object_143 = object.key("DataLakeSettings").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_settings( &mut object_143, @@ -747,6 +764,7 @@ pub fn serialize_structure_crate_input_remove_lf_tags_from_resource_input( let mut array_149 = object.key("LFTags").start_array(); for item_150 in var_148 { { + #[allow(unused_mut)] let mut object_151 = array_149.value().start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag_pair( &mut object_151, @@ -758,6 +776,7 @@ pub fn serialize_structure_crate_input_remove_lf_tags_from_resource_input( array_149.finish(); } if let Some(var_152) = &input.resource { + #[allow(unused_mut)] let mut object_153 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_153, var_152)?; object_153.finish(); @@ -791,6 +810,7 @@ pub fn serialize_structure_crate_input_revoke_permissions_input( array_159.finish(); } if let Some(var_161) = &input.principal { + #[allow(unused_mut)] let mut object_162 = object.key("Principal").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_162, @@ -799,6 +819,7 @@ pub fn serialize_structure_crate_input_revoke_permissions_input( object_162.finish(); } if let Some(var_163) = &input.resource { + #[allow(unused_mut)] let mut object_164 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_164, var_163)?; object_164.finish(); @@ -817,6 +838,7 @@ pub fn serialize_structure_crate_input_search_databases_by_lf_tags_input( let mut array_167 = object.key("Expression").start_array(); for item_168 in var_166 { { + #[allow(unused_mut)] let mut object_169 = array_167.value().start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag(&mut object_169, item_168)?; object_169.finish(); @@ -847,6 +869,7 @@ pub fn serialize_structure_crate_input_search_tables_by_lf_tags_input( let mut array_174 = object.key("Expression").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag(&mut object_176, item_175)?; object_176.finish(); @@ -871,6 +894,7 @@ pub fn serialize_structure_crate_input_start_query_planning_input( input: &crate::input::StartQueryPlanningInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_179) = &input.query_planning_context { + #[allow(unused_mut)] let mut object_180 = object.key("QueryPlanningContext").start_object(); crate::json_ser::serialize_structure_crate_model_query_planning_context( &mut object_180, @@ -958,6 +982,7 @@ pub fn serialize_structure_crate_input_update_table_objects_input( let mut array_198 = object.key("WriteOperations").start_array(); for item_199 in var_197 { { + #[allow(unused_mut)] let mut object_200 = array_198.value().start_object(); crate::json_ser::serialize_structure_crate_model_write_operation( &mut object_200, @@ -982,9 +1007,11 @@ pub fn serialize_structure_crate_input_update_table_storage_optimizer_input( object.key("DatabaseName").string(var_202.as_str()); } if let Some(var_203) = &input.storage_optimizer_config { + #[allow(unused_mut)] let mut object_204 = object.key("StorageOptimizerConfig").start_object(); for (key_205, value_206) in var_203 { { + #[allow(unused_mut)] let mut object_207 = object_204.key(key_205.as_str()).start_object(); for (key_208, value_209) in value_206 { { @@ -1029,6 +1056,7 @@ pub fn serialize_structure_crate_model_resource( input: &crate::model::Resource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_216) = &input.catalog { + #[allow(unused_mut)] let mut object_217 = object.key("Catalog").start_object(); crate::json_ser::serialize_structure_crate_model_catalog_resource( &mut object_217, @@ -1037,6 +1065,7 @@ pub fn serialize_structure_crate_model_resource( object_217.finish(); } if let Some(var_218) = &input.database { + #[allow(unused_mut)] let mut object_219 = object.key("Database").start_object(); crate::json_ser::serialize_structure_crate_model_database_resource( &mut object_219, @@ -1045,11 +1074,13 @@ pub fn serialize_structure_crate_model_resource( object_219.finish(); } if let Some(var_220) = &input.table { + #[allow(unused_mut)] let mut object_221 = object.key("Table").start_object(); crate::json_ser::serialize_structure_crate_model_table_resource(&mut object_221, var_220)?; object_221.finish(); } if let Some(var_222) = &input.table_with_columns { + #[allow(unused_mut)] let mut object_223 = object.key("TableWithColumns").start_object(); crate::json_ser::serialize_structure_crate_model_table_with_columns_resource( &mut object_223, @@ -1058,6 +1089,7 @@ pub fn serialize_structure_crate_model_resource( object_223.finish(); } if let Some(var_224) = &input.data_location { + #[allow(unused_mut)] let mut object_225 = object.key("DataLocation").start_object(); crate::json_ser::serialize_structure_crate_model_data_location_resource( &mut object_225, @@ -1066,6 +1098,7 @@ pub fn serialize_structure_crate_model_resource( object_225.finish(); } if let Some(var_226) = &input.data_cells_filter { + #[allow(unused_mut)] let mut object_227 = object.key("DataCellsFilter").start_object(); crate::json_ser::serialize_structure_crate_model_data_cells_filter_resource( &mut object_227, @@ -1074,6 +1107,7 @@ pub fn serialize_structure_crate_model_resource( object_227.finish(); } if let Some(var_228) = &input.lf_tag { + #[allow(unused_mut)] let mut object_229 = object.key("LFTag").start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag_key_resource( &mut object_229, @@ -1082,6 +1116,7 @@ pub fn serialize_structure_crate_model_resource( object_229.finish(); } if let Some(var_230) = &input.lf_tag_policy { + #[allow(unused_mut)] let mut object_231 = object.key("LFTagPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag_policy_resource( &mut object_231, @@ -1100,6 +1135,7 @@ pub fn serialize_structure_crate_model_batch_permissions_request_entry( object.key("Id").string(var_232.as_str()); } if let Some(var_233) = &input.principal { + #[allow(unused_mut)] let mut object_234 = object.key("Principal").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_234, @@ -1108,6 +1144,7 @@ pub fn serialize_structure_crate_model_batch_permissions_request_entry( object_234.finish(); } if let Some(var_235) = &input.resource { + #[allow(unused_mut)] let mut object_236 = object.key("Resource").start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_236, var_235)?; object_236.finish(); @@ -1150,6 +1187,7 @@ pub fn serialize_structure_crate_model_data_cells_filter( object.key("Name").string(var_246.as_str()); } if let Some(var_247) = &input.row_filter { + #[allow(unused_mut)] let mut object_248 = object.key("RowFilter").start_object(); crate::json_ser::serialize_structure_crate_model_row_filter(&mut object_248, var_247)?; object_248.finish(); @@ -1164,6 +1202,7 @@ pub fn serialize_structure_crate_model_data_cells_filter( array_250.finish(); } if let Some(var_252) = &input.column_wildcard { + #[allow(unused_mut)] let mut object_253 = object.key("ColumnWildcard").start_object(); crate::json_ser::serialize_structure_crate_model_column_wildcard(&mut object_253, var_252)?; object_253.finish(); @@ -1238,6 +1277,7 @@ pub fn serialize_structure_crate_model_table_resource( object.key("Name").string(var_263.as_str()); } if let Some(var_264) = &input.table_wildcard { + #[allow(unused_mut)] let mut object_265 = object.key("TableWildcard").start_object(); crate::json_ser::serialize_structure_crate_model_table_wildcard(&mut object_265, var_264)?; object_265.finish(); @@ -1275,6 +1315,7 @@ pub fn serialize_structure_crate_model_data_lake_settings( let mut array_272 = object.key("DataLakeAdmins").start_array(); for item_273 in var_271 { { + #[allow(unused_mut)] let mut object_274 = array_272.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_274, @@ -1289,6 +1330,7 @@ pub fn serialize_structure_crate_model_data_lake_settings( let mut array_276 = object.key("CreateDatabaseDefaultPermissions").start_array(); for item_277 in var_275 { { + #[allow(unused_mut)] let mut object_278 = array_276.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal_permissions( &mut object_278, @@ -1303,6 +1345,7 @@ pub fn serialize_structure_crate_model_data_lake_settings( let mut array_280 = object.key("CreateTableDefaultPermissions").start_array(); for item_281 in var_279 { { + #[allow(unused_mut)] let mut object_282 = array_280.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal_permissions( &mut object_282, @@ -1329,6 +1372,7 @@ pub fn serialize_structure_crate_model_data_lake_settings( let mut array_288 = object.key("ExternalDataFilteringAllowList").start_array(); for item_289 in var_287 { { + #[allow(unused_mut)] let mut object_290 = array_288.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_290, @@ -1386,6 +1430,7 @@ pub fn serialize_structure_crate_model_query_planning_context( .date_time(var_300, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_301) = &input.query_parameters { + #[allow(unused_mut)] let mut object_302 = object.key("QueryParameters").start_object(); for (key_303, value_304) in var_301 { { @@ -1405,6 +1450,7 @@ pub fn serialize_structure_crate_model_write_operation( input: &crate::model::WriteOperation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_306) = &input.add_object { + #[allow(unused_mut)] let mut object_307 = object.key("AddObject").start_object(); crate::json_ser::serialize_structure_crate_model_add_object_input( &mut object_307, @@ -1413,6 +1459,7 @@ pub fn serialize_structure_crate_model_write_operation( object_307.finish(); } if let Some(var_308) = &input.delete_object { + #[allow(unused_mut)] let mut object_309 = object.key("DeleteObject").start_object(); crate::json_ser::serialize_structure_crate_model_delete_object_input( &mut object_309, @@ -1467,6 +1514,7 @@ pub fn serialize_structure_crate_model_table_with_columns_resource( array_316.finish(); } if let Some(var_318) = &input.column_wildcard { + #[allow(unused_mut)] let mut object_319 = object.key("ColumnWildcard").start_object(); crate::json_ser::serialize_structure_crate_model_column_wildcard(&mut object_319, var_318)?; object_319.finish(); @@ -1542,6 +1590,7 @@ pub fn serialize_structure_crate_model_lf_tag_policy_resource( let mut array_334 = object.key("Expression").start_array(); for item_335 in var_333 { { + #[allow(unused_mut)] let mut object_336 = array_334.value().start_object(); crate::json_ser::serialize_structure_crate_model_lf_tag(&mut object_336, item_335)?; object_336.finish(); @@ -1560,6 +1609,7 @@ pub fn serialize_structure_crate_model_row_filter( object.key("FilterExpression").string(var_337.as_str()); } if let Some(var_338) = &input.all_rows_wildcard { + #[allow(unused_mut)] let mut object_339 = object.key("AllRowsWildcard").start_object(); crate::json_ser::serialize_structure_crate_model_all_rows_wildcard( &mut object_339, @@ -1599,6 +1649,7 @@ pub fn serialize_structure_crate_model_principal_permissions( input: &crate::model::PrincipalPermissions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_343) = &input.principal { + #[allow(unused_mut)] let mut object_344 = object.key("Principal").start_object(); crate::json_ser::serialize_structure_crate_model_data_lake_principal( &mut object_344, diff --git a/sdk/lambda/src/json_ser.rs b/sdk/lambda/src/json_ser.rs index 40f85a2a1227..44e7a63383b5 100644 --- a/sdk/lambda/src/json_ser.rs +++ b/sdk/lambda/src/json_ser.rs @@ -66,6 +66,7 @@ pub fn serialize_structure_crate_input_create_alias_input( object.key("Name").string(var_16.as_str()); } if let Some(var_17) = &input.routing_config { + #[allow(unused_mut)] let mut object_18 = object.key("RoutingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_alias_routing_configuration( &mut object_18, @@ -81,6 +82,7 @@ pub fn serialize_structure_crate_input_create_code_signing_config_input( input: &crate::input::CreateCodeSigningConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.allowed_publishers { + #[allow(unused_mut)] let mut object_20 = object.key("AllowedPublishers").start_object(); crate::json_ser::serialize_structure_crate_model_allowed_publishers( &mut object_20, @@ -89,6 +91,7 @@ pub fn serialize_structure_crate_input_create_code_signing_config_input( object_20.finish(); } if let Some(var_21) = &input.code_signing_policies { + #[allow(unused_mut)] let mut object_22 = object.key("CodeSigningPolicies").start_object(); crate::json_ser::serialize_structure_crate_model_code_signing_policies( &mut object_22, @@ -107,6 +110,7 @@ pub fn serialize_structure_crate_input_create_event_source_mapping_input( input: &crate::input::CreateEventSourceMappingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_24) = &input.amazon_managed_kafka_event_source_config { + #[allow(unused_mut)] let mut object_25 = object .key("AmazonManagedKafkaEventSourceConfig") .start_object(); @@ -126,6 +130,7 @@ pub fn serialize_structure_crate_input_create_event_source_mapping_input( object.key("BisectBatchOnFunctionError").boolean(*var_27); } if let Some(var_28) = &input.destination_config { + #[allow(unused_mut)] let mut object_29 = object.key("DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_destination_config( &mut object_29, @@ -140,6 +145,7 @@ pub fn serialize_structure_crate_input_create_event_source_mapping_input( object.key("EventSourceArn").string(var_31.as_str()); } if let Some(var_32) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_33 = object.key("FilterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_33, var_32)?; object_33.finish(); @@ -190,6 +196,7 @@ pub fn serialize_structure_crate_input_create_event_source_mapping_input( array_43.finish(); } if let Some(var_45) = &input.self_managed_event_source { + #[allow(unused_mut)] let mut object_46 = object.key("SelfManagedEventSource").start_object(); crate::json_ser::serialize_structure_crate_model_self_managed_event_source( &mut object_46, @@ -198,6 +205,7 @@ pub fn serialize_structure_crate_input_create_event_source_mapping_input( object_46.finish(); } if let Some(var_47) = &input.self_managed_kafka_event_source_config { + #[allow(unused_mut)] let mut object_48 = object .key("SelfManagedKafkaEventSourceConfig") .start_object(); @@ -211,6 +219,7 @@ pub fn serialize_structure_crate_input_create_event_source_mapping_input( let mut array_50 = object.key("SourceAccessConfigurations").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_access_configuration( &mut object_52, @@ -261,6 +270,7 @@ pub fn serialize_structure_crate_input_create_function_input( array_60.finish(); } if let Some(var_62) = &input.code { + #[allow(unused_mut)] let mut object_63 = object.key("Code").start_object(); crate::json_ser::serialize_structure_crate_model_function_code(&mut object_63, var_62)?; object_63.finish(); @@ -269,6 +279,7 @@ pub fn serialize_structure_crate_input_create_function_input( object.key("CodeSigningConfigArn").string(var_64.as_str()); } if let Some(var_65) = &input.dead_letter_config { + #[allow(unused_mut)] let mut object_66 = object.key("DeadLetterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dead_letter_config( &mut object_66, @@ -280,11 +291,13 @@ pub fn serialize_structure_crate_input_create_function_input( object.key("Description").string(var_67.as_str()); } if let Some(var_68) = &input.environment { + #[allow(unused_mut)] let mut object_69 = object.key("Environment").start_object(); crate::json_ser::serialize_structure_crate_model_environment(&mut object_69, var_68)?; object_69.finish(); } if let Some(var_70) = &input.ephemeral_storage { + #[allow(unused_mut)] let mut object_71 = object.key("EphemeralStorage").start_object(); crate::json_ser::serialize_structure_crate_model_ephemeral_storage(&mut object_71, var_70)?; object_71.finish(); @@ -293,6 +306,7 @@ pub fn serialize_structure_crate_input_create_function_input( let mut array_73 = object.key("FileSystemConfigs").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_file_system_config( &mut object_75, @@ -310,6 +324,7 @@ pub fn serialize_structure_crate_input_create_function_input( object.key("Handler").string(var_77.as_str()); } if let Some(var_78) = &input.image_config { + #[allow(unused_mut)] let mut object_79 = object.key("ImageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_image_config(&mut object_79, var_78)?; object_79.finish(); @@ -345,6 +360,7 @@ pub fn serialize_structure_crate_input_create_function_input( object.key("Runtime").string(var_87.as_str()); } if let Some(var_88) = &input.tags { + #[allow(unused_mut)] let mut object_89 = object.key("Tags").start_object(); for (key_90, value_91) in var_88 { { @@ -360,11 +376,13 @@ pub fn serialize_structure_crate_input_create_function_input( ); } if let Some(var_93) = &input.tracing_config { + #[allow(unused_mut)] let mut object_94 = object.key("TracingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tracing_config(&mut object_94, var_93)?; object_94.finish(); } if let Some(var_95) = &input.vpc_config { + #[allow(unused_mut)] let mut object_96 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_96, var_95)?; object_96.finish(); @@ -380,6 +398,7 @@ pub fn serialize_structure_crate_input_create_function_url_config_input( object.key("AuthType").string(var_97.as_str()); } if let Some(var_98) = &input.cors { + #[allow(unused_mut)] let mut object_99 = object.key("Cors").start_object(); crate::json_ser::serialize_structure_crate_model_cors(&mut object_99, var_98)?; object_99.finish(); @@ -410,6 +429,7 @@ pub fn serialize_structure_crate_input_publish_layer_version_input( array_104.finish(); } if let Some(var_106) = &input.content { + #[allow(unused_mut)] let mut object_107 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_layer_version_content_input( &mut object_107, @@ -470,6 +490,7 @@ pub fn serialize_structure_crate_input_put_function_event_invoke_config_input( input: &crate::input::PutFunctionEventInvokeConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_115) = &input.destination_config { + #[allow(unused_mut)] let mut object_116 = object.key("DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_destination_config( &mut object_116, @@ -510,6 +531,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_120) = &input.tags { + #[allow(unused_mut)] let mut object_121 = object.key("Tags").start_object(); for (key_122, value_123) in var_120 { { @@ -535,6 +557,7 @@ pub fn serialize_structure_crate_input_update_alias_input( object.key("RevisionId").string(var_126.as_str()); } if let Some(var_127) = &input.routing_config { + #[allow(unused_mut)] let mut object_128 = object.key("RoutingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_alias_routing_configuration( &mut object_128, @@ -550,6 +573,7 @@ pub fn serialize_structure_crate_input_update_code_signing_config_input( input: &crate::input::UpdateCodeSigningConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_129) = &input.allowed_publishers { + #[allow(unused_mut)] let mut object_130 = object.key("AllowedPublishers").start_object(); crate::json_ser::serialize_structure_crate_model_allowed_publishers( &mut object_130, @@ -558,6 +582,7 @@ pub fn serialize_structure_crate_input_update_code_signing_config_input( object_130.finish(); } if let Some(var_131) = &input.code_signing_policies { + #[allow(unused_mut)] let mut object_132 = object.key("CodeSigningPolicies").start_object(); crate::json_ser::serialize_structure_crate_model_code_signing_policies( &mut object_132, @@ -585,6 +610,7 @@ pub fn serialize_structure_crate_input_update_event_source_mapping_input( object.key("BisectBatchOnFunctionError").boolean(*var_135); } if let Some(var_136) = &input.destination_config { + #[allow(unused_mut)] let mut object_137 = object.key("DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_destination_config( &mut object_137, @@ -596,6 +622,7 @@ pub fn serialize_structure_crate_input_update_event_source_mapping_input( object.key("Enabled").boolean(*var_138); } if let Some(var_139) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_140 = object.key("FilterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_filter_criteria(&mut object_140, var_139)?; object_140.finish(); @@ -640,6 +667,7 @@ pub fn serialize_structure_crate_input_update_event_source_mapping_input( let mut array_150 = object.key("SourceAccessConfigurations").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_access_configuration( &mut object_152, @@ -706,6 +734,7 @@ pub fn serialize_structure_crate_input_update_function_configuration_input( input: &crate::input::UpdateFunctionConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_163) = &input.dead_letter_config { + #[allow(unused_mut)] let mut object_164 = object.key("DeadLetterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dead_letter_config( &mut object_164, @@ -717,11 +746,13 @@ pub fn serialize_structure_crate_input_update_function_configuration_input( object.key("Description").string(var_165.as_str()); } if let Some(var_166) = &input.environment { + #[allow(unused_mut)] let mut object_167 = object.key("Environment").start_object(); crate::json_ser::serialize_structure_crate_model_environment(&mut object_167, var_166)?; object_167.finish(); } if let Some(var_168) = &input.ephemeral_storage { + #[allow(unused_mut)] let mut object_169 = object.key("EphemeralStorage").start_object(); crate::json_ser::serialize_structure_crate_model_ephemeral_storage( &mut object_169, @@ -733,6 +764,7 @@ pub fn serialize_structure_crate_input_update_function_configuration_input( let mut array_171 = object.key("FileSystemConfigs").start_array(); for item_172 in var_170 { { + #[allow(unused_mut)] let mut object_173 = array_171.value().start_object(); crate::json_ser::serialize_structure_crate_model_file_system_config( &mut object_173, @@ -747,6 +779,7 @@ pub fn serialize_structure_crate_input_update_function_configuration_input( object.key("Handler").string(var_174.as_str()); } if let Some(var_175) = &input.image_config { + #[allow(unused_mut)] let mut object_176 = object.key("ImageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_image_config(&mut object_176, var_175)?; object_176.finish(); @@ -785,11 +818,13 @@ pub fn serialize_structure_crate_input_update_function_configuration_input( ); } if let Some(var_186) = &input.tracing_config { + #[allow(unused_mut)] let mut object_187 = object.key("TracingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tracing_config(&mut object_187, var_186)?; object_187.finish(); } if let Some(var_188) = &input.vpc_config { + #[allow(unused_mut)] let mut object_189 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_189, var_188)?; object_189.finish(); @@ -802,6 +837,7 @@ pub fn serialize_structure_crate_input_update_function_event_invoke_config_input input: &crate::input::UpdateFunctionEventInvokeConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_190) = &input.destination_config { + #[allow(unused_mut)] let mut object_191 = object.key("DestinationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_destination_config( &mut object_191, @@ -832,6 +868,7 @@ pub fn serialize_structure_crate_input_update_function_url_config_input( object.key("AuthType").string(var_194.as_str()); } if let Some(var_195) = &input.cors { + #[allow(unused_mut)] let mut object_196 = object.key("Cors").start_object(); crate::json_ser::serialize_structure_crate_model_cors(&mut object_196, var_195)?; object_196.finish(); @@ -844,6 +881,7 @@ pub fn serialize_structure_crate_model_alias_routing_configuration( input: &crate::model::AliasRoutingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_197) = &input.additional_version_weights { + #[allow(unused_mut)] let mut object_198 = object.key("AdditionalVersionWeights").start_object(); for (key_199, value_200) in var_197 { { @@ -901,11 +939,13 @@ pub fn serialize_structure_crate_model_destination_config( input: &crate::model::DestinationConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_206) = &input.on_success { + #[allow(unused_mut)] let mut object_207 = object.key("OnSuccess").start_object(); crate::json_ser::serialize_structure_crate_model_on_success(&mut object_207, var_206)?; object_207.finish(); } if let Some(var_208) = &input.on_failure { + #[allow(unused_mut)] let mut object_209 = object.key("OnFailure").start_object(); crate::json_ser::serialize_structure_crate_model_on_failure(&mut object_209, var_208)?; object_209.finish(); @@ -921,6 +961,7 @@ pub fn serialize_structure_crate_model_filter_criteria( let mut array_211 = object.key("Filters").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_213, item_212)?; object_213.finish(); @@ -936,6 +977,7 @@ pub fn serialize_structure_crate_model_self_managed_event_source( input: &crate::model::SelfManagedEventSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_214) = &input.endpoints { + #[allow(unused_mut)] let mut object_215 = object.key("Endpoints").start_object(); for (key_216, value_217) in var_214 { { @@ -1015,6 +1057,7 @@ pub fn serialize_structure_crate_model_environment( input: &crate::model::Environment, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_229) = &input.variables { + #[allow(unused_mut)] let mut object_230 = object.key("Variables").start_object(); for (key_231, value_232) in var_229 { { diff --git a/sdk/lexmodelbuilding/src/json_ser.rs b/sdk/lexmodelbuilding/src/json_ser.rs index 5c9f71341bd7..04860c1ec8a5 100644 --- a/sdk/lexmodelbuilding/src/json_ser.rs +++ b/sdk/lexmodelbuilding/src/json_ser.rs @@ -34,6 +34,7 @@ pub fn serialize_structure_crate_input_put_bot_input( input: &crate::input::PutBotInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_4) = &input.abort_statement { + #[allow(unused_mut)] let mut object_5 = object.key("abortStatement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_5, var_4)?; object_5.finish(); @@ -45,6 +46,7 @@ pub fn serialize_structure_crate_input_put_bot_input( object.key("childDirected").boolean(*var_7); } if let Some(var_8) = &input.clarification_prompt { + #[allow(unused_mut)] let mut object_9 = object.key("clarificationPrompt").start_object(); crate::json_ser::serialize_structure_crate_model_prompt(&mut object_9, var_8)?; object_9.finish(); @@ -71,6 +73,7 @@ pub fn serialize_structure_crate_input_put_bot_input( let mut array_16 = object.key("intents").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_intent(&mut object_18, item_17)?; object_18.finish(); @@ -94,6 +97,7 @@ pub fn serialize_structure_crate_input_put_bot_input( let mut array_23 = object.key("tags").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_25, item_24)?; object_25.finish(); @@ -118,6 +122,7 @@ pub fn serialize_structure_crate_input_put_bot_alias_input( object.key("checksum").string(var_28.as_str()); } if let Some(var_29) = &input.conversation_logs { + #[allow(unused_mut)] let mut object_30 = object.key("conversationLogs").start_object(); crate::json_ser::serialize_structure_crate_model_conversation_logs_request( &mut object_30, @@ -132,6 +137,7 @@ pub fn serialize_structure_crate_input_put_bot_alias_input( let mut array_33 = object.key("tags").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_35, item_34)?; object_35.finish(); @@ -150,11 +156,13 @@ pub fn serialize_structure_crate_input_put_intent_input( object.key("checksum").string(var_36.as_str()); } if let Some(var_37) = &input.conclusion_statement { + #[allow(unused_mut)] let mut object_38 = object.key("conclusionStatement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_38, var_37)?; object_38.finish(); } if let Some(var_39) = &input.confirmation_prompt { + #[allow(unused_mut)] let mut object_40 = object.key("confirmationPrompt").start_object(); crate::json_ser::serialize_structure_crate_model_prompt(&mut object_40, var_39)?; object_40.finish(); @@ -166,16 +174,19 @@ pub fn serialize_structure_crate_input_put_intent_input( object.key("description").string(var_42.as_str()); } if let Some(var_43) = &input.dialog_code_hook { + #[allow(unused_mut)] let mut object_44 = object.key("dialogCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_code_hook(&mut object_44, var_43)?; object_44.finish(); } if let Some(var_45) = &input.follow_up_prompt { + #[allow(unused_mut)] let mut object_46 = object.key("followUpPrompt").start_object(); crate::json_ser::serialize_structure_crate_model_follow_up_prompt(&mut object_46, var_45)?; object_46.finish(); } if let Some(var_47) = &input.fulfillment_activity { + #[allow(unused_mut)] let mut object_48 = object.key("fulfillmentActivity").start_object(); crate::json_ser::serialize_structure_crate_model_fulfillment_activity( &mut object_48, @@ -187,6 +198,7 @@ pub fn serialize_structure_crate_input_put_intent_input( let mut array_50 = object.key("inputContexts").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_context( &mut object_52, @@ -198,6 +210,7 @@ pub fn serialize_structure_crate_input_put_intent_input( array_50.finish(); } if let Some(var_53) = &input.kendra_configuration { + #[allow(unused_mut)] let mut object_54 = object.key("kendraConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_kendra_configuration( &mut object_54, @@ -209,6 +222,7 @@ pub fn serialize_structure_crate_input_put_intent_input( let mut array_56 = object.key("outputContexts").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_context( &mut object_58, @@ -223,6 +237,7 @@ pub fn serialize_structure_crate_input_put_intent_input( object.key("parentIntentSignature").string(var_59.as_str()); } if let Some(var_60) = &input.rejection_statement { + #[allow(unused_mut)] let mut object_61 = object.key("rejectionStatement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_61, var_60)?; object_61.finish(); @@ -240,6 +255,7 @@ pub fn serialize_structure_crate_input_put_intent_input( let mut array_66 = object.key("slots").start_array(); for item_67 in var_65 { { + #[allow(unused_mut)] let mut object_68 = array_66.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot(&mut object_68, item_67)?; object_68.finish(); @@ -267,6 +283,7 @@ pub fn serialize_structure_crate_input_put_slot_type_input( let mut array_73 = object.key("enumerationValues").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_enumeration_value( &mut object_75, @@ -286,6 +303,7 @@ pub fn serialize_structure_crate_input_put_slot_type_input( let mut array_78 = object.key("slotTypeConfigurations").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_type_configuration( &mut object_80, @@ -321,6 +339,7 @@ pub fn serialize_structure_crate_input_start_import_input( let mut array_86 = object.key("tags").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_88, item_87)?; object_88.finish(); @@ -361,6 +380,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_95 = object.key("tags").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_97, item_96)?; object_97.finish(); @@ -379,6 +399,7 @@ pub fn serialize_structure_crate_model_statement( let mut array_99 = object.key("messages").start_array(); for item_100 in var_98 { { + #[allow(unused_mut)] let mut object_101 = array_99.value().start_object(); crate::json_ser::serialize_structure_crate_model_message( &mut object_101, @@ -403,6 +424,7 @@ pub fn serialize_structure_crate_model_prompt( let mut array_104 = object.key("messages").start_array(); for item_105 in var_103 { { + #[allow(unused_mut)] let mut object_106 = array_104.value().start_object(); crate::json_ser::serialize_structure_crate_model_message( &mut object_106, @@ -459,6 +481,7 @@ pub fn serialize_structure_crate_model_conversation_logs_request( let mut array_114 = object.key("logSettings").start_array(); for item_115 in var_113 { { + #[allow(unused_mut)] let mut object_116 = array_114.value().start_object(); crate::json_ser::serialize_structure_crate_model_log_settings_request( &mut object_116, @@ -493,11 +516,13 @@ pub fn serialize_structure_crate_model_follow_up_prompt( input: &crate::model::FollowUpPrompt, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_120) = &input.prompt { + #[allow(unused_mut)] let mut object_121 = object.key("prompt").start_object(); crate::json_ser::serialize_structure_crate_model_prompt(&mut object_121, var_120)?; object_121.finish(); } if let Some(var_122) = &input.rejection_statement { + #[allow(unused_mut)] let mut object_123 = object.key("rejectionStatement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_123, var_122)?; object_123.finish(); @@ -513,6 +538,7 @@ pub fn serialize_structure_crate_model_fulfillment_activity( object.key("type").string(var_124.as_str()); } if let Some(var_125) = &input.code_hook { + #[allow(unused_mut)] let mut object_126 = object.key("codeHook").start_object(); crate::json_ser::serialize_structure_crate_model_code_hook(&mut object_126, var_125)?; object_126.finish(); @@ -588,6 +614,7 @@ pub fn serialize_structure_crate_model_slot( object.key("slotTypeVersion").string(var_138.as_str()); } if let Some(var_139) = &input.value_elicitation_prompt { + #[allow(unused_mut)] let mut object_140 = object.key("valueElicitationPrompt").start_object(); crate::json_ser::serialize_structure_crate_model_prompt(&mut object_140, var_139)?; object_140.finish(); @@ -614,6 +641,7 @@ pub fn serialize_structure_crate_model_slot( object.key("obfuscationSetting").string(var_146.as_str()); } if let Some(var_147) = &input.default_value_spec { + #[allow(unused_mut)] let mut object_148 = object.key("defaultValueSpec").start_object(); crate::json_ser::serialize_structure_crate_model_slot_default_value_spec( &mut object_148, @@ -648,6 +676,7 @@ pub fn serialize_structure_crate_model_slot_type_configuration( input: &crate::model::SlotTypeConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_153) = &input.regex_configuration { + #[allow(unused_mut)] let mut object_154 = object.key("regexConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_slot_type_regex_configuration( &mut object_154, @@ -704,6 +733,7 @@ pub fn serialize_structure_crate_model_slot_default_value_spec( let mut array_163 = object.key("defaultValueList").start_array(); for item_164 in var_162 { { + #[allow(unused_mut)] let mut object_165 = array_163.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_default_value( &mut object_165, diff --git a/sdk/lexmodelsv2/src/json_ser.rs b/sdk/lexmodelsv2/src/json_ser.rs index d74d2ec1b33f..001404b146b7 100644 --- a/sdk/lexmodelsv2/src/json_ser.rs +++ b/sdk/lexmodelsv2/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_bot_input( object.key("botName").string(var_1.as_str()); } if let Some(var_2) = &input.bot_tags { + #[allow(unused_mut)] let mut object_3 = object.key("botTags").start_object(); for (key_4, value_5) in var_2 { { @@ -16,6 +17,7 @@ pub fn serialize_structure_crate_input_create_bot_input( object_3.finish(); } if let Some(var_6) = &input.data_privacy { + #[allow(unused_mut)] let mut object_7 = object.key("dataPrivacy").start_object(); crate::json_ser::serialize_structure_crate_model_data_privacy(&mut object_7, var_6)?; object_7.finish(); @@ -33,6 +35,7 @@ pub fn serialize_structure_crate_input_create_bot_input( object.key("roleArn").string(var_10.as_str()); } if let Some(var_11) = &input.test_bot_alias_tags { + #[allow(unused_mut)] let mut object_12 = object.key("testBotAliasTags").start_object(); for (key_13, value_14) in var_11 { { @@ -49,9 +52,11 @@ pub fn serialize_structure_crate_input_create_bot_alias_input( input: &crate::input::CreateBotAliasInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.bot_alias_locale_settings { + #[allow(unused_mut)] let mut object_16 = object.key("botAliasLocaleSettings").start_object(); for (key_17, value_18) in var_15 { { + #[allow(unused_mut)] let mut object_19 = object_16.key(key_17.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_bot_alias_locale_settings( &mut object_19, @@ -69,6 +74,7 @@ pub fn serialize_structure_crate_input_create_bot_alias_input( object.key("botVersion").string(var_21.as_str()); } if let Some(var_22) = &input.conversation_log_settings { + #[allow(unused_mut)] let mut object_23 = object.key("conversationLogSettings").start_object(); crate::json_ser::serialize_structure_crate_model_conversation_log_settings( &mut object_23, @@ -80,6 +86,7 @@ pub fn serialize_structure_crate_input_create_bot_alias_input( object.key("description").string(var_24.as_str()); } if let Some(var_25) = &input.sentiment_analysis_settings { + #[allow(unused_mut)] let mut object_26 = object.key("sentimentAnalysisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sentiment_analysis_settings( &mut object_26, @@ -88,6 +95,7 @@ pub fn serialize_structure_crate_input_create_bot_alias_input( object_26.finish(); } if let Some(var_27) = &input.tags { + #[allow(unused_mut)] let mut object_28 = object.key("tags").start_object(); for (key_29, value_30) in var_27 { { @@ -116,6 +124,7 @@ pub fn serialize_structure_crate_input_create_bot_locale_input( ); } if let Some(var_34) = &input.voice_settings { + #[allow(unused_mut)] let mut object_35 = object.key("voiceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_voice_settings(&mut object_35, var_34)?; object_35.finish(); @@ -128,9 +137,11 @@ pub fn serialize_structure_crate_input_create_bot_version_input( input: &crate::input::CreateBotVersionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.bot_version_locale_specification { + #[allow(unused_mut)] let mut object_37 = object.key("botVersionLocaleSpecification").start_object(); for (key_38, value_39) in var_36 { { + #[allow(unused_mut)] let mut object_40 = object_37.key(key_38.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_bot_version_locale_details( &mut object_40, @@ -158,6 +169,7 @@ pub fn serialize_structure_crate_input_create_export_input( object.key("filePassword").string(var_43.as_str()); } if let Some(var_44) = &input.resource_specification { + #[allow(unused_mut)] let mut object_45 = object.key("resourceSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_export_resource_specification( &mut object_45, @@ -176,6 +188,7 @@ pub fn serialize_structure_crate_input_create_intent_input( object.key("description").string(var_46.as_str()); } if let Some(var_47) = &input.dialog_code_hook { + #[allow(unused_mut)] let mut object_48 = object.key("dialogCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_code_hook_settings( &mut object_48, @@ -184,6 +197,7 @@ pub fn serialize_structure_crate_input_create_intent_input( object_48.finish(); } if let Some(var_49) = &input.fulfillment_code_hook { + #[allow(unused_mut)] let mut object_50 = object.key("fulfillmentCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_fulfillment_code_hook_settings( &mut object_50, @@ -192,6 +206,7 @@ pub fn serialize_structure_crate_input_create_intent_input( object_50.finish(); } if let Some(var_51) = &input.initial_response_setting { + #[allow(unused_mut)] let mut object_52 = object.key("initialResponseSetting").start_object(); crate::json_ser::serialize_structure_crate_model_initial_response_setting( &mut object_52, @@ -203,6 +218,7 @@ pub fn serialize_structure_crate_input_create_intent_input( let mut array_54 = object.key("inputContexts").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_context( &mut object_56, @@ -214,6 +230,7 @@ pub fn serialize_structure_crate_input_create_intent_input( array_54.finish(); } if let Some(var_57) = &input.intent_closing_setting { + #[allow(unused_mut)] let mut object_58 = object.key("intentClosingSetting").start_object(); crate::json_ser::serialize_structure_crate_model_intent_closing_setting( &mut object_58, @@ -222,6 +239,7 @@ pub fn serialize_structure_crate_input_create_intent_input( object_58.finish(); } if let Some(var_59) = &input.intent_confirmation_setting { + #[allow(unused_mut)] let mut object_60 = object.key("intentConfirmationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_intent_confirmation_setting( &mut object_60, @@ -233,6 +251,7 @@ pub fn serialize_structure_crate_input_create_intent_input( object.key("intentName").string(var_61.as_str()); } if let Some(var_62) = &input.kendra_configuration { + #[allow(unused_mut)] let mut object_63 = object.key("kendraConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_kendra_configuration( &mut object_63, @@ -244,6 +263,7 @@ pub fn serialize_structure_crate_input_create_intent_input( let mut array_65 = object.key("outputContexts").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_context( &mut object_67, @@ -261,6 +281,7 @@ pub fn serialize_structure_crate_input_create_intent_input( let mut array_70 = object.key("sampleUtterances").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_sample_utterance( &mut object_72, @@ -298,9 +319,11 @@ pub fn serialize_structure_crate_input_create_resource_policy_statement_input( array_75.finish(); } if let Some(var_77) = &input.condition { + #[allow(unused_mut)] let mut object_78 = object.key("condition").start_object(); for (key_79, value_80) in var_77 { { + #[allow(unused_mut)] let mut object_81 = object_78.key(key_79.as_str()).start_object(); for (key_82, value_83) in value_80 { { @@ -319,6 +342,7 @@ pub fn serialize_structure_crate_input_create_resource_policy_statement_input( let mut array_86 = object.key("principal").start_array(); for item_87 in var_85 { { + #[allow(unused_mut)] let mut object_88 = array_86.value().start_object(); crate::json_ser::serialize_structure_crate_model_principal( &mut object_88, @@ -343,6 +367,7 @@ pub fn serialize_structure_crate_input_create_slot_input( object.key("description").string(var_90.as_str()); } if let Some(var_91) = &input.multiple_values_setting { + #[allow(unused_mut)] let mut object_92 = object.key("multipleValuesSetting").start_object(); crate::json_ser::serialize_structure_crate_model_multiple_values_setting( &mut object_92, @@ -351,6 +376,7 @@ pub fn serialize_structure_crate_input_create_slot_input( object_92.finish(); } if let Some(var_93) = &input.obfuscation_setting { + #[allow(unused_mut)] let mut object_94 = object.key("obfuscationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_obfuscation_setting( &mut object_94, @@ -365,11 +391,13 @@ pub fn serialize_structure_crate_input_create_slot_input( object.key("slotTypeId").string(var_96.as_str()); } if let Some(var_97) = &input.sub_slot_setting { + #[allow(unused_mut)] let mut object_98 = object.key("subSlotSetting").start_object(); crate::json_ser::serialize_structure_crate_model_sub_slot_setting(&mut object_98, var_97)?; object_98.finish(); } if let Some(var_99) = &input.value_elicitation_setting { + #[allow(unused_mut)] let mut object_100 = object.key("valueElicitationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_elicitation_setting( &mut object_100, @@ -385,6 +413,7 @@ pub fn serialize_structure_crate_input_create_slot_type_input( input: &crate::input::CreateSlotTypeInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_101) = &input.composite_slot_type_setting { + #[allow(unused_mut)] let mut object_102 = object.key("compositeSlotTypeSetting").start_object(); crate::json_ser::serialize_structure_crate_model_composite_slot_type_setting( &mut object_102, @@ -396,6 +425,7 @@ pub fn serialize_structure_crate_input_create_slot_type_input( object.key("description").string(var_103.as_str()); } if let Some(var_104) = &input.external_source_setting { + #[allow(unused_mut)] let mut object_105 = object.key("externalSourceSetting").start_object(); crate::json_ser::serialize_structure_crate_model_external_source_setting( &mut object_105, @@ -415,6 +445,7 @@ pub fn serialize_structure_crate_input_create_slot_type_input( let mut array_109 = object.key("slotTypeValues").start_array(); for item_110 in var_108 { { + #[allow(unused_mut)] let mut object_111 = array_109.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_type_value( &mut object_111, @@ -426,6 +457,7 @@ pub fn serialize_structure_crate_input_create_slot_type_input( array_109.finish(); } if let Some(var_112) = &input.value_selection_setting { + #[allow(unused_mut)] let mut object_113 = object.key("valueSelectionSetting").start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_selection_setting( &mut object_113, @@ -441,6 +473,7 @@ pub fn serialize_structure_crate_input_list_aggregated_utterances_input( input: &crate::input::ListAggregatedUtterancesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_114) = &input.aggregation_duration { + #[allow(unused_mut)] let mut object_115 = object.key("aggregationDuration").start_object(); crate::json_ser::serialize_structure_crate_model_utterance_aggregation_duration( &mut object_115, @@ -458,6 +491,7 @@ pub fn serialize_structure_crate_input_list_aggregated_utterances_input( let mut array_119 = object.key("filters").start_array(); for item_120 in var_118 { { + #[allow(unused_mut)] let mut object_121 = array_119.value().start_object(); crate::json_ser::serialize_structure_crate_model_aggregated_utterances_filter( &mut object_121, @@ -481,6 +515,7 @@ pub fn serialize_structure_crate_input_list_aggregated_utterances_input( object.key("nextToken").string(var_124.as_str()); } if let Some(var_125) = &input.sort_by { + #[allow(unused_mut)] let mut object_126 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_aggregated_utterances_sort_by( &mut object_126, @@ -515,6 +550,7 @@ pub fn serialize_structure_crate_input_list_bot_locales_input( let mut array_130 = object.key("filters").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_bot_locale_filter( &mut object_132, @@ -535,6 +571,7 @@ pub fn serialize_structure_crate_input_list_bot_locales_input( object.key("nextToken").string(var_134.as_str()); } if let Some(var_135) = &input.sort_by { + #[allow(unused_mut)] let mut object_136 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_bot_locale_sort_by( &mut object_136, @@ -569,6 +606,7 @@ pub fn serialize_structure_crate_input_list_bots_input( let mut array_140 = object.key("filters").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_bot_filter( &mut object_142, @@ -589,6 +627,7 @@ pub fn serialize_structure_crate_input_list_bots_input( object.key("nextToken").string(var_144.as_str()); } if let Some(var_145) = &input.sort_by { + #[allow(unused_mut)] let mut object_146 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_bot_sort_by(&mut object_146, var_145)?; object_146.finish(); @@ -610,6 +649,7 @@ pub fn serialize_structure_crate_input_list_bot_versions_input( object.key("nextToken").string(var_148.as_str()); } if let Some(var_149) = &input.sort_by { + #[allow(unused_mut)] let mut object_150 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_bot_version_sort_by( &mut object_150, @@ -634,6 +674,7 @@ pub fn serialize_structure_crate_input_list_built_in_intents_input( object.key("nextToken").string(var_152.as_str()); } if let Some(var_153) = &input.sort_by { + #[allow(unused_mut)] let mut object_154 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_built_in_intent_sort_by( &mut object_154, @@ -658,6 +699,7 @@ pub fn serialize_structure_crate_input_list_built_in_slot_types_input( object.key("nextToken").string(var_156.as_str()); } if let Some(var_157) = &input.sort_by { + #[allow(unused_mut)] let mut object_158 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_built_in_slot_type_sort_by( &mut object_158, @@ -682,6 +724,7 @@ pub fn serialize_structure_crate_input_list_exports_input( let mut array_162 = object.key("filters").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_export_filter( &mut object_164, @@ -705,6 +748,7 @@ pub fn serialize_structure_crate_input_list_exports_input( object.key("nextToken").string(var_167.as_str()); } if let Some(var_168) = &input.sort_by { + #[allow(unused_mut)] let mut object_169 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_export_sort_by(&mut object_169, var_168)?; object_169.finish(); @@ -726,6 +770,7 @@ pub fn serialize_structure_crate_input_list_imports_input( let mut array_173 = object.key("filters").start_array(); for item_174 in var_172 { { + #[allow(unused_mut)] let mut object_175 = array_173.value().start_object(); crate::json_ser::serialize_structure_crate_model_import_filter( &mut object_175, @@ -749,6 +794,7 @@ pub fn serialize_structure_crate_input_list_imports_input( object.key("nextToken").string(var_178.as_str()); } if let Some(var_179) = &input.sort_by { + #[allow(unused_mut)] let mut object_180 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_import_sort_by(&mut object_180, var_179)?; object_180.finish(); @@ -764,6 +810,7 @@ pub fn serialize_structure_crate_input_list_intents_input( let mut array_182 = object.key("filters").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_intent_filter( &mut object_184, @@ -784,6 +831,7 @@ pub fn serialize_structure_crate_input_list_intents_input( object.key("nextToken").string(var_186.as_str()); } if let Some(var_187) = &input.sort_by { + #[allow(unused_mut)] let mut object_188 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_intent_sort_by(&mut object_188, var_187)?; object_188.finish(); @@ -815,6 +863,7 @@ pub fn serialize_structure_crate_input_list_slots_input( let mut array_192 = object.key("filters").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_filter( &mut object_194, @@ -835,6 +884,7 @@ pub fn serialize_structure_crate_input_list_slots_input( object.key("nextToken").string(var_196.as_str()); } if let Some(var_197) = &input.sort_by { + #[allow(unused_mut)] let mut object_198 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_slot_sort_by(&mut object_198, var_197)?; object_198.finish(); @@ -850,6 +900,7 @@ pub fn serialize_structure_crate_input_list_slot_types_input( let mut array_200 = object.key("filters").start_array(); for item_201 in var_199 { { + #[allow(unused_mut)] let mut object_202 = array_200.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_type_filter( &mut object_202, @@ -870,6 +921,7 @@ pub fn serialize_structure_crate_input_list_slot_types_input( object.key("nextToken").string(var_204.as_str()); } if let Some(var_205) = &input.sort_by { + #[allow(unused_mut)] let mut object_206 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_slot_type_sort_by( &mut object_206, @@ -888,6 +940,7 @@ pub fn serialize_structure_crate_input_search_associated_transcripts_input( let mut array_208 = object.key("filters").start_array(); for item_209 in var_207 { { + #[allow(unused_mut)] let mut object_210 = array_208.value().start_object(); crate::json_ser::serialize_structure_crate_model_associated_transcript_filter( &mut object_210, @@ -921,6 +974,7 @@ pub fn serialize_structure_crate_input_start_bot_recommendation_input( input: &crate::input::StartBotRecommendationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_214) = &input.encryption_setting { + #[allow(unused_mut)] let mut object_215 = object.key("encryptionSetting").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_setting( &mut object_215, @@ -929,6 +983,7 @@ pub fn serialize_structure_crate_input_start_bot_recommendation_input( object_215.finish(); } if let Some(var_216) = &input.transcript_source_setting { + #[allow(unused_mut)] let mut object_217 = object.key("transcriptSourceSetting").start_object(); crate::json_ser::serialize_structure_crate_model_transcript_source_setting( &mut object_217, @@ -953,6 +1008,7 @@ pub fn serialize_structure_crate_input_start_import_input( object.key("mergeStrategy").string(var_220.as_str()); } if let Some(var_221) = &input.resource_specification { + #[allow(unused_mut)] let mut object_222 = object.key("resourceSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_import_resource_specification( &mut object_222, @@ -968,6 +1024,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_223) = &input.tags { + #[allow(unused_mut)] let mut object_224 = object.key("tags").start_object(); for (key_225, value_226) in var_223 { { @@ -987,6 +1044,7 @@ pub fn serialize_structure_crate_input_update_bot_input( object.key("botName").string(var_227.as_str()); } if let Some(var_228) = &input.data_privacy { + #[allow(unused_mut)] let mut object_229 = object.key("dataPrivacy").start_object(); crate::json_ser::serialize_structure_crate_model_data_privacy(&mut object_229, var_228)?; object_229.finish(); @@ -1011,9 +1069,11 @@ pub fn serialize_structure_crate_input_update_bot_alias_input( input: &crate::input::UpdateBotAliasInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_233) = &input.bot_alias_locale_settings { + #[allow(unused_mut)] let mut object_234 = object.key("botAliasLocaleSettings").start_object(); for (key_235, value_236) in var_233 { { + #[allow(unused_mut)] let mut object_237 = object_234.key(key_235.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_bot_alias_locale_settings( &mut object_237, @@ -1031,6 +1091,7 @@ pub fn serialize_structure_crate_input_update_bot_alias_input( object.key("botVersion").string(var_239.as_str()); } if let Some(var_240) = &input.conversation_log_settings { + #[allow(unused_mut)] let mut object_241 = object.key("conversationLogSettings").start_object(); crate::json_ser::serialize_structure_crate_model_conversation_log_settings( &mut object_241, @@ -1042,6 +1103,7 @@ pub fn serialize_structure_crate_input_update_bot_alias_input( object.key("description").string(var_242.as_str()); } if let Some(var_243) = &input.sentiment_analysis_settings { + #[allow(unused_mut)] let mut object_244 = object.key("sentimentAnalysisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sentiment_analysis_settings( &mut object_244, @@ -1066,6 +1128,7 @@ pub fn serialize_structure_crate_input_update_bot_locale_input( ); } if let Some(var_247) = &input.voice_settings { + #[allow(unused_mut)] let mut object_248 = object.key("voiceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_voice_settings(&mut object_248, var_247)?; object_248.finish(); @@ -1078,6 +1141,7 @@ pub fn serialize_structure_crate_input_update_bot_recommendation_input( input: &crate::input::UpdateBotRecommendationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_249) = &input.encryption_setting { + #[allow(unused_mut)] let mut object_250 = object.key("encryptionSetting").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_setting( &mut object_250, @@ -1106,6 +1170,7 @@ pub fn serialize_structure_crate_input_update_intent_input( object.key("description").string(var_252.as_str()); } if let Some(var_253) = &input.dialog_code_hook { + #[allow(unused_mut)] let mut object_254 = object.key("dialogCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_code_hook_settings( &mut object_254, @@ -1114,6 +1179,7 @@ pub fn serialize_structure_crate_input_update_intent_input( object_254.finish(); } if let Some(var_255) = &input.fulfillment_code_hook { + #[allow(unused_mut)] let mut object_256 = object.key("fulfillmentCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_fulfillment_code_hook_settings( &mut object_256, @@ -1122,6 +1188,7 @@ pub fn serialize_structure_crate_input_update_intent_input( object_256.finish(); } if let Some(var_257) = &input.initial_response_setting { + #[allow(unused_mut)] let mut object_258 = object.key("initialResponseSetting").start_object(); crate::json_ser::serialize_structure_crate_model_initial_response_setting( &mut object_258, @@ -1133,6 +1200,7 @@ pub fn serialize_structure_crate_input_update_intent_input( let mut array_260 = object.key("inputContexts").start_array(); for item_261 in var_259 { { + #[allow(unused_mut)] let mut object_262 = array_260.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_context( &mut object_262, @@ -1144,6 +1212,7 @@ pub fn serialize_structure_crate_input_update_intent_input( array_260.finish(); } if let Some(var_263) = &input.intent_closing_setting { + #[allow(unused_mut)] let mut object_264 = object.key("intentClosingSetting").start_object(); crate::json_ser::serialize_structure_crate_model_intent_closing_setting( &mut object_264, @@ -1152,6 +1221,7 @@ pub fn serialize_structure_crate_input_update_intent_input( object_264.finish(); } if let Some(var_265) = &input.intent_confirmation_setting { + #[allow(unused_mut)] let mut object_266 = object.key("intentConfirmationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_intent_confirmation_setting( &mut object_266, @@ -1163,6 +1233,7 @@ pub fn serialize_structure_crate_input_update_intent_input( object.key("intentName").string(var_267.as_str()); } if let Some(var_268) = &input.kendra_configuration { + #[allow(unused_mut)] let mut object_269 = object.key("kendraConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_kendra_configuration( &mut object_269, @@ -1174,6 +1245,7 @@ pub fn serialize_structure_crate_input_update_intent_input( let mut array_271 = object.key("outputContexts").start_array(); for item_272 in var_270 { { + #[allow(unused_mut)] let mut object_273 = array_271.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_context( &mut object_273, @@ -1191,6 +1263,7 @@ pub fn serialize_structure_crate_input_update_intent_input( let mut array_276 = object.key("sampleUtterances").start_array(); for item_277 in var_275 { { + #[allow(unused_mut)] let mut object_278 = array_276.value().start_object(); crate::json_ser::serialize_structure_crate_model_sample_utterance( &mut object_278, @@ -1205,6 +1278,7 @@ pub fn serialize_structure_crate_input_update_intent_input( let mut array_280 = object.key("slotPriorities").start_array(); for item_281 in var_279 { { + #[allow(unused_mut)] let mut object_282 = array_280.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_priority( &mut object_282, @@ -1236,6 +1310,7 @@ pub fn serialize_structure_crate_input_update_slot_input( object.key("description").string(var_284.as_str()); } if let Some(var_285) = &input.multiple_values_setting { + #[allow(unused_mut)] let mut object_286 = object.key("multipleValuesSetting").start_object(); crate::json_ser::serialize_structure_crate_model_multiple_values_setting( &mut object_286, @@ -1244,6 +1319,7 @@ pub fn serialize_structure_crate_input_update_slot_input( object_286.finish(); } if let Some(var_287) = &input.obfuscation_setting { + #[allow(unused_mut)] let mut object_288 = object.key("obfuscationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_obfuscation_setting( &mut object_288, @@ -1258,6 +1334,7 @@ pub fn serialize_structure_crate_input_update_slot_input( object.key("slotTypeId").string(var_290.as_str()); } if let Some(var_291) = &input.sub_slot_setting { + #[allow(unused_mut)] let mut object_292 = object.key("subSlotSetting").start_object(); crate::json_ser::serialize_structure_crate_model_sub_slot_setting( &mut object_292, @@ -1266,6 +1343,7 @@ pub fn serialize_structure_crate_input_update_slot_input( object_292.finish(); } if let Some(var_293) = &input.value_elicitation_setting { + #[allow(unused_mut)] let mut object_294 = object.key("valueElicitationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_elicitation_setting( &mut object_294, @@ -1281,6 +1359,7 @@ pub fn serialize_structure_crate_input_update_slot_type_input( input: &crate::input::UpdateSlotTypeInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_295) = &input.composite_slot_type_setting { + #[allow(unused_mut)] let mut object_296 = object.key("compositeSlotTypeSetting").start_object(); crate::json_ser::serialize_structure_crate_model_composite_slot_type_setting( &mut object_296, @@ -1292,6 +1371,7 @@ pub fn serialize_structure_crate_input_update_slot_type_input( object.key("description").string(var_297.as_str()); } if let Some(var_298) = &input.external_source_setting { + #[allow(unused_mut)] let mut object_299 = object.key("externalSourceSetting").start_object(); crate::json_ser::serialize_structure_crate_model_external_source_setting( &mut object_299, @@ -1311,6 +1391,7 @@ pub fn serialize_structure_crate_input_update_slot_type_input( let mut array_303 = object.key("slotTypeValues").start_array(); for item_304 in var_302 { { + #[allow(unused_mut)] let mut object_305 = array_303.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_type_value( &mut object_305, @@ -1322,6 +1403,7 @@ pub fn serialize_structure_crate_input_update_slot_type_input( array_303.finish(); } if let Some(var_306) = &input.value_selection_setting { + #[allow(unused_mut)] let mut object_307 = object.key("valueSelectionSetting").start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_selection_setting( &mut object_307, @@ -1350,6 +1432,7 @@ pub fn serialize_structure_crate_model_bot_alias_locale_settings( object.key("enabled").boolean(input.enabled); } if let Some(var_308) = &input.code_hook_specification { + #[allow(unused_mut)] let mut object_309 = object.key("codeHookSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_code_hook_specification( &mut object_309, @@ -1368,6 +1451,7 @@ pub fn serialize_structure_crate_model_conversation_log_settings( let mut array_311 = object.key("textLogSettings").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_log_setting( &mut object_313, @@ -1382,6 +1466,7 @@ pub fn serialize_structure_crate_model_conversation_log_settings( let mut array_315 = object.key("audioLogSettings").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_log_setting( &mut object_317, @@ -1435,6 +1520,7 @@ pub fn serialize_structure_crate_model_export_resource_specification( input: &crate::model::ExportResourceSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_321) = &input.bot_export_specification { + #[allow(unused_mut)] let mut object_322 = object.key("botExportSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_bot_export_specification( &mut object_322, @@ -1443,6 +1529,7 @@ pub fn serialize_structure_crate_model_export_resource_specification( object_322.finish(); } if let Some(var_323) = &input.bot_locale_export_specification { + #[allow(unused_mut)] let mut object_324 = object.key("botLocaleExportSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_bot_locale_export_specification( &mut object_324, @@ -1451,6 +1538,7 @@ pub fn serialize_structure_crate_model_export_resource_specification( object_324.finish(); } if let Some(var_325) = &input.custom_vocabulary_export_specification { + #[allow(unused_mut)] let mut object_326 = object .key("customVocabularyExportSpecification") .start_object(); @@ -1481,6 +1569,7 @@ pub fn serialize_structure_crate_model_fulfillment_code_hook_settings( object.key("enabled").boolean(input.enabled); } if let Some(var_327) = &input.post_fulfillment_status_specification { + #[allow(unused_mut)] let mut object_328 = object .key("postFulfillmentStatusSpecification") .start_object(); @@ -1491,6 +1580,7 @@ pub fn serialize_structure_crate_model_fulfillment_code_hook_settings( object_328.finish(); } if let Some(var_329) = &input.fulfillment_updates_specification { + #[allow(unused_mut)] let mut object_330 = object.key("fulfillmentUpdatesSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_fulfillment_updates_specification( &mut object_330, @@ -1509,6 +1599,7 @@ pub fn serialize_structure_crate_model_initial_response_setting( input: &crate::model::InitialResponseSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_332) = &input.initial_response { + #[allow(unused_mut)] let mut object_333 = object.key("initialResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_333, @@ -1517,11 +1608,13 @@ pub fn serialize_structure_crate_model_initial_response_setting( object_333.finish(); } if let Some(var_334) = &input.next_step { + #[allow(unused_mut)] let mut object_335 = object.key("nextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_335, var_334)?; object_335.finish(); } if let Some(var_336) = &input.conditional { + #[allow(unused_mut)] let mut object_337 = object.key("conditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_337, @@ -1530,6 +1623,7 @@ pub fn serialize_structure_crate_model_initial_response_setting( object_337.finish(); } if let Some(var_338) = &input.code_hook { + #[allow(unused_mut)] let mut object_339 = object.key("codeHook").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_code_hook_invocation_setting( &mut object_339, @@ -1555,6 +1649,7 @@ pub fn serialize_structure_crate_model_intent_closing_setting( input: &crate::model::IntentClosingSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_341) = &input.closing_response { + #[allow(unused_mut)] let mut object_342 = object.key("closingResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_342, @@ -1566,11 +1661,13 @@ pub fn serialize_structure_crate_model_intent_closing_setting( object.key("active").boolean(*var_343); } if let Some(var_344) = &input.next_step { + #[allow(unused_mut)] let mut object_345 = object.key("nextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_345, var_344)?; object_345.finish(); } if let Some(var_346) = &input.conditional { + #[allow(unused_mut)] let mut object_347 = object.key("conditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_347, @@ -1586,6 +1683,7 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( input: &crate::model::IntentConfirmationSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_348) = &input.prompt_specification { + #[allow(unused_mut)] let mut object_349 = object.key("promptSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_prompt_specification( &mut object_349, @@ -1594,6 +1692,7 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_349.finish(); } if let Some(var_350) = &input.declination_response { + #[allow(unused_mut)] let mut object_351 = object.key("declinationResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_351, @@ -1605,6 +1704,7 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object.key("active").boolean(*var_352); } if let Some(var_353) = &input.confirmation_response { + #[allow(unused_mut)] let mut object_354 = object.key("confirmationResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_354, @@ -1613,11 +1713,13 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_354.finish(); } if let Some(var_355) = &input.confirmation_next_step { + #[allow(unused_mut)] let mut object_356 = object.key("confirmationNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_356, var_355)?; object_356.finish(); } if let Some(var_357) = &input.confirmation_conditional { + #[allow(unused_mut)] let mut object_358 = object.key("confirmationConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_358, @@ -1626,11 +1728,13 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_358.finish(); } if let Some(var_359) = &input.declination_next_step { + #[allow(unused_mut)] let mut object_360 = object.key("declinationNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_360, var_359)?; object_360.finish(); } if let Some(var_361) = &input.declination_conditional { + #[allow(unused_mut)] let mut object_362 = object.key("declinationConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_362, @@ -1639,6 +1743,7 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_362.finish(); } if let Some(var_363) = &input.failure_response { + #[allow(unused_mut)] let mut object_364 = object.key("failureResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_364, @@ -1647,11 +1752,13 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_364.finish(); } if let Some(var_365) = &input.failure_next_step { + #[allow(unused_mut)] let mut object_366 = object.key("failureNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_366, var_365)?; object_366.finish(); } if let Some(var_367) = &input.failure_conditional { + #[allow(unused_mut)] let mut object_368 = object.key("failureConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_368, @@ -1660,6 +1767,7 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_368.finish(); } if let Some(var_369) = &input.code_hook { + #[allow(unused_mut)] let mut object_370 = object.key("codeHook").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_code_hook_invocation_setting( &mut object_370, @@ -1668,6 +1776,7 @@ pub fn serialize_structure_crate_model_intent_confirmation_setting( object_370.finish(); } if let Some(var_371) = &input.elicitation_code_hook { + #[allow(unused_mut)] let mut object_372 = object.key("elicitationCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_elicitation_code_hook_invocation_setting( &mut object_372, @@ -1773,9 +1882,11 @@ pub fn serialize_structure_crate_model_sub_slot_setting( object.key("expression").string(var_382.as_str()); } if let Some(var_383) = &input.slot_specifications { + #[allow(unused_mut)] let mut object_384 = object.key("slotSpecifications").start_object(); for (key_385, value_386) in var_383 { { + #[allow(unused_mut)] let mut object_387 = object_384.key(key_385.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_specifications( &mut object_387, @@ -1794,6 +1905,7 @@ pub fn serialize_structure_crate_model_slot_value_elicitation_setting( input: &crate::model::SlotValueElicitationSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_388) = &input.default_value_specification { + #[allow(unused_mut)] let mut object_389 = object.key("defaultValueSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_slot_default_value_specification( &mut object_389, @@ -1805,6 +1917,7 @@ pub fn serialize_structure_crate_model_slot_value_elicitation_setting( object.key("slotConstraint").string(var_390.as_str()); } if let Some(var_391) = &input.prompt_specification { + #[allow(unused_mut)] let mut object_392 = object.key("promptSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_prompt_specification( &mut object_392, @@ -1816,6 +1929,7 @@ pub fn serialize_structure_crate_model_slot_value_elicitation_setting( let mut array_394 = object.key("sampleUtterances").start_array(); for item_395 in var_393 { { + #[allow(unused_mut)] let mut object_396 = array_394.value().start_object(); crate::json_ser::serialize_structure_crate_model_sample_utterance( &mut object_396, @@ -1827,6 +1941,7 @@ pub fn serialize_structure_crate_model_slot_value_elicitation_setting( array_394.finish(); } if let Some(var_397) = &input.wait_and_continue_specification { + #[allow(unused_mut)] let mut object_398 = object.key("waitAndContinueSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_wait_and_continue_specification( &mut object_398, @@ -1835,6 +1950,7 @@ pub fn serialize_structure_crate_model_slot_value_elicitation_setting( object_398.finish(); } if let Some(var_399) = &input.slot_capture_setting { + #[allow(unused_mut)] let mut object_400 = object.key("slotCaptureSetting").start_object(); crate::json_ser::serialize_structure_crate_model_slot_capture_setting( &mut object_400, @@ -1853,6 +1969,7 @@ pub fn serialize_structure_crate_model_composite_slot_type_setting( let mut array_402 = object.key("subSlots").start_array(); for item_403 in var_401 { { + #[allow(unused_mut)] let mut object_404 = array_402.value().start_object(); crate::json_ser::serialize_structure_crate_model_sub_slot_type_composition( &mut object_404, @@ -1871,6 +1988,7 @@ pub fn serialize_structure_crate_model_external_source_setting( input: &crate::model::ExternalSourceSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_405) = &input.grammar_slot_type_setting { + #[allow(unused_mut)] let mut object_406 = object.key("grammarSlotTypeSetting").start_object(); crate::json_ser::serialize_structure_crate_model_grammar_slot_type_setting( &mut object_406, @@ -1886,6 +2004,7 @@ pub fn serialize_structure_crate_model_slot_type_value( input: &crate::model::SlotTypeValue, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_407) = &input.sample_value { + #[allow(unused_mut)] let mut object_408 = object.key("sampleValue").start_object(); crate::json_ser::serialize_structure_crate_model_sample_value(&mut object_408, var_407)?; object_408.finish(); @@ -1894,6 +2013,7 @@ pub fn serialize_structure_crate_model_slot_type_value( let mut array_410 = object.key("synonyms").start_array(); for item_411 in var_409 { { + #[allow(unused_mut)] let mut object_412 = array_410.value().start_object(); crate::json_ser::serialize_structure_crate_model_sample_value( &mut object_412, @@ -1915,6 +2035,7 @@ pub fn serialize_structure_crate_model_slot_value_selection_setting( object.key("resolutionStrategy").string(var_413.as_str()); } if let Some(var_414) = &input.regex_filter { + #[allow(unused_mut)] let mut object_415 = object.key("regexFilter").start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_regex_filter( &mut object_415, @@ -1923,6 +2044,7 @@ pub fn serialize_structure_crate_model_slot_value_selection_setting( object_415.finish(); } if let Some(var_416) = &input.advanced_recognition_setting { + #[allow(unused_mut)] let mut object_417 = object.key("advancedRecognitionSetting").start_object(); crate::json_ser::serialize_structure_crate_model_advanced_recognition_setting( &mut object_417, @@ -1938,6 +2060,7 @@ pub fn serialize_structure_crate_model_utterance_aggregation_duration( input: &crate::model::UtteranceAggregationDuration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_418) = &input.relative_aggregation_duration { + #[allow(unused_mut)] let mut object_419 = object.key("relativeAggregationDuration").start_object(); crate::json_ser::serialize_structure_crate_model_relative_aggregation_duration( &mut object_419, @@ -2311,6 +2434,7 @@ pub fn serialize_structure_crate_model_transcript_source_setting( input: &crate::model::TranscriptSourceSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_489) = &input.s3_bucket_transcript_source { + #[allow(unused_mut)] let mut object_490 = object.key("s3BucketTranscriptSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_transcript_source( &mut object_490, @@ -2326,6 +2450,7 @@ pub fn serialize_structure_crate_model_import_resource_specification( input: &crate::model::ImportResourceSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_491) = &input.bot_import_specification { + #[allow(unused_mut)] let mut object_492 = object.key("botImportSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_bot_import_specification( &mut object_492, @@ -2334,6 +2459,7 @@ pub fn serialize_structure_crate_model_import_resource_specification( object_492.finish(); } if let Some(var_493) = &input.bot_locale_import_specification { + #[allow(unused_mut)] let mut object_494 = object.key("botLocaleImportSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_bot_locale_import_specification( &mut object_494, @@ -2342,6 +2468,7 @@ pub fn serialize_structure_crate_model_import_resource_specification( object_494.finish(); } if let Some(var_495) = &input.custom_vocabulary_import_specification { + #[allow(unused_mut)] let mut object_496 = object .key("customVocabularyImportSpecification") .start_object(); @@ -2375,6 +2502,7 @@ pub fn serialize_structure_crate_model_code_hook_specification( input: &crate::model::CodeHookSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_499) = &input.lambda_code_hook { + #[allow(unused_mut)] let mut object_500 = object.key("lambdaCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_code_hook( &mut object_500, @@ -2393,6 +2521,7 @@ pub fn serialize_structure_crate_model_text_log_setting( object.key("enabled").boolean(input.enabled); } if let Some(var_501) = &input.destination { + #[allow(unused_mut)] let mut object_502 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_text_log_destination( &mut object_502, @@ -2411,6 +2540,7 @@ pub fn serialize_structure_crate_model_audio_log_setting( object.key("enabled").boolean(input.enabled); } if let Some(var_503) = &input.destination { + #[allow(unused_mut)] let mut object_504 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_audio_log_destination( &mut object_504, @@ -2471,6 +2601,7 @@ pub fn serialize_structure_crate_model_post_fulfillment_status_specification( input: &crate::model::PostFulfillmentStatusSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_513) = &input.success_response { + #[allow(unused_mut)] let mut object_514 = object.key("successResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_514, @@ -2479,6 +2610,7 @@ pub fn serialize_structure_crate_model_post_fulfillment_status_specification( object_514.finish(); } if let Some(var_515) = &input.failure_response { + #[allow(unused_mut)] let mut object_516 = object.key("failureResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_516, @@ -2487,6 +2619,7 @@ pub fn serialize_structure_crate_model_post_fulfillment_status_specification( object_516.finish(); } if let Some(var_517) = &input.timeout_response { + #[allow(unused_mut)] let mut object_518 = object.key("timeoutResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_518, @@ -2495,11 +2628,13 @@ pub fn serialize_structure_crate_model_post_fulfillment_status_specification( object_518.finish(); } if let Some(var_519) = &input.success_next_step { + #[allow(unused_mut)] let mut object_520 = object.key("successNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_520, var_519)?; object_520.finish(); } if let Some(var_521) = &input.success_conditional { + #[allow(unused_mut)] let mut object_522 = object.key("successConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_522, @@ -2508,11 +2643,13 @@ pub fn serialize_structure_crate_model_post_fulfillment_status_specification( object_522.finish(); } if let Some(var_523) = &input.failure_next_step { + #[allow(unused_mut)] let mut object_524 = object.key("failureNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_524, var_523)?; object_524.finish(); } if let Some(var_525) = &input.failure_conditional { + #[allow(unused_mut)] let mut object_526 = object.key("failureConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_526, @@ -2521,11 +2658,13 @@ pub fn serialize_structure_crate_model_post_fulfillment_status_specification( object_526.finish(); } if let Some(var_527) = &input.timeout_next_step { + #[allow(unused_mut)] let mut object_528 = object.key("timeoutNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_528, var_527)?; object_528.finish(); } if let Some(var_529) = &input.timeout_conditional { + #[allow(unused_mut)] let mut object_530 = object.key("timeoutConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_530, @@ -2544,6 +2683,7 @@ pub fn serialize_structure_crate_model_fulfillment_updates_specification( object.key("active").boolean(*var_531); } if let Some(var_532) = &input.start_response { + #[allow(unused_mut)] let mut object_533 = object.key("startResponse").start_object(); crate::json_ser::serialize_structure_crate_model_fulfillment_start_response_specification( &mut object_533, @@ -2552,6 +2692,7 @@ pub fn serialize_structure_crate_model_fulfillment_updates_specification( object_533.finish(); } if let Some(var_534) = &input.update_response { + #[allow(unused_mut)] let mut object_535 = object.key("updateResponse").start_object(); crate::json_ser::serialize_structure_crate_model_fulfillment_update_response_specification( &mut object_535, @@ -2576,6 +2717,7 @@ pub fn serialize_structure_crate_model_response_specification( let mut array_538 = object.key("messageGroups").start_array(); for item_539 in var_537 { { + #[allow(unused_mut)] let mut object_540 = array_538.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_group( &mut object_540, @@ -2597,16 +2739,19 @@ pub fn serialize_structure_crate_model_dialog_state( input: &crate::model::DialogState, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_542) = &input.dialog_action { + #[allow(unused_mut)] let mut object_543 = object.key("dialogAction").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_action(&mut object_543, var_542)?; object_543.finish(); } if let Some(var_544) = &input.intent { + #[allow(unused_mut)] let mut object_545 = object.key("intent").start_object(); crate::json_ser::serialize_structure_crate_model_intent_override(&mut object_545, var_544)?; object_545.finish(); } if let Some(var_546) = &input.session_attributes { + #[allow(unused_mut)] let mut object_547 = object.key("sessionAttributes").start_object(); for (key_548, value_549) in var_546 { { @@ -2629,6 +2774,7 @@ pub fn serialize_structure_crate_model_conditional_specification( let mut array_552 = object.key("conditionalBranches").start_array(); for item_553 in var_551 { { + #[allow(unused_mut)] let mut object_554 = array_552.value().start_object(); crate::json_ser::serialize_structure_crate_model_conditional_branch( &mut object_554, @@ -2640,6 +2786,7 @@ pub fn serialize_structure_crate_model_conditional_specification( array_552.finish(); } if let Some(var_555) = &input.default_branch { + #[allow(unused_mut)] let mut object_556 = object.key("defaultBranch").start_object(); crate::json_ser::serialize_structure_crate_model_default_conditional_branch( &mut object_556, @@ -2664,6 +2811,7 @@ pub fn serialize_structure_crate_model_dialog_code_hook_invocation_setting( object.key("invocationLabel").string(var_559.as_str()); } if let Some(var_560) = &input.post_code_hook_specification { + #[allow(unused_mut)] let mut object_561 = object.key("postCodeHookSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_post_dialog_code_hook_invocation_specification(&mut object_561, var_560)?; object_561.finish(); @@ -2679,6 +2827,7 @@ pub fn serialize_structure_crate_model_prompt_specification( let mut array_563 = object.key("messageGroups").start_array(); for item_564 in var_562 { { + #[allow(unused_mut)] let mut object_565 = array_563.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_group( &mut object_565, @@ -2704,9 +2853,11 @@ pub fn serialize_structure_crate_model_prompt_specification( .string(var_568.as_str()); } if let Some(var_569) = &input.prompt_attempts_specification { + #[allow(unused_mut)] let mut object_570 = object.key("promptAttemptsSpecification").start_object(); for (key_571, value_572) in var_569 { { + #[allow(unused_mut)] let mut object_573 = object_570.key(key_571.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_prompt_attempt_specification( &mut object_573, @@ -2741,6 +2892,7 @@ pub fn serialize_structure_crate_model_specifications( object.key("slotTypeId").string(var_576.as_str()); } if let Some(var_577) = &input.value_elicitation_setting { + #[allow(unused_mut)] let mut object_578 = object.key("valueElicitationSetting").start_object(); crate::json_ser::serialize_structure_crate_model_sub_slot_value_elicitation_setting( &mut object_578, @@ -2759,6 +2911,7 @@ pub fn serialize_structure_crate_model_slot_default_value_specification( let mut array_580 = object.key("defaultValueList").start_array(); for item_581 in var_579 { { + #[allow(unused_mut)] let mut object_582 = array_580.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_default_value( &mut object_582, @@ -2777,6 +2930,7 @@ pub fn serialize_structure_crate_model_wait_and_continue_specification( input: &crate::model::WaitAndContinueSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_583) = &input.waiting_response { + #[allow(unused_mut)] let mut object_584 = object.key("waitingResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_584, @@ -2785,6 +2939,7 @@ pub fn serialize_structure_crate_model_wait_and_continue_specification( object_584.finish(); } if let Some(var_585) = &input.continue_response { + #[allow(unused_mut)] let mut object_586 = object.key("continueResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_586, @@ -2793,6 +2948,7 @@ pub fn serialize_structure_crate_model_wait_and_continue_specification( object_586.finish(); } if let Some(var_587) = &input.still_waiting_response { + #[allow(unused_mut)] let mut object_588 = object.key("stillWaitingResponse").start_object(); crate::json_ser::serialize_structure_crate_model_still_waiting_response_specification( &mut object_588, @@ -2811,6 +2967,7 @@ pub fn serialize_structure_crate_model_slot_capture_setting( input: &crate::model::SlotCaptureSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_590) = &input.capture_response { + #[allow(unused_mut)] let mut object_591 = object.key("captureResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_591, @@ -2819,11 +2976,13 @@ pub fn serialize_structure_crate_model_slot_capture_setting( object_591.finish(); } if let Some(var_592) = &input.capture_next_step { + #[allow(unused_mut)] let mut object_593 = object.key("captureNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_593, var_592)?; object_593.finish(); } if let Some(var_594) = &input.capture_conditional { + #[allow(unused_mut)] let mut object_595 = object.key("captureConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_595, @@ -2832,6 +2991,7 @@ pub fn serialize_structure_crate_model_slot_capture_setting( object_595.finish(); } if let Some(var_596) = &input.failure_response { + #[allow(unused_mut)] let mut object_597 = object.key("failureResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_597, @@ -2840,11 +3000,13 @@ pub fn serialize_structure_crate_model_slot_capture_setting( object_597.finish(); } if let Some(var_598) = &input.failure_next_step { + #[allow(unused_mut)] let mut object_599 = object.key("failureNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_599, var_598)?; object_599.finish(); } if let Some(var_600) = &input.failure_conditional { + #[allow(unused_mut)] let mut object_601 = object.key("failureConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_601, @@ -2853,6 +3015,7 @@ pub fn serialize_structure_crate_model_slot_capture_setting( object_601.finish(); } if let Some(var_602) = &input.code_hook { + #[allow(unused_mut)] let mut object_603 = object.key("codeHook").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_code_hook_invocation_setting( &mut object_603, @@ -2861,6 +3024,7 @@ pub fn serialize_structure_crate_model_slot_capture_setting( object_603.finish(); } if let Some(var_604) = &input.elicitation_code_hook { + #[allow(unused_mut)] let mut object_605 = object.key("elicitationCodeHook").start_object(); crate::json_ser::serialize_structure_crate_model_elicitation_code_hook_invocation_setting( &mut object_605, @@ -2889,6 +3053,7 @@ pub fn serialize_structure_crate_model_grammar_slot_type_setting( input: &crate::model::GrammarSlotTypeSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_608) = &input.source { + #[allow(unused_mut)] let mut object_609 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_grammar_slot_type_source( &mut object_609, @@ -2955,6 +3120,7 @@ pub fn serialize_structure_crate_model_s3_bucket_transcript_source( object.key("s3BucketName").string(var_614.as_str()); } if let Some(var_615) = &input.path_format { + #[allow(unused_mut)] let mut object_616 = object.key("pathFormat").start_object(); crate::json_ser::serialize_structure_crate_model_path_format(&mut object_616, var_615)?; object_616.finish(); @@ -2963,6 +3129,7 @@ pub fn serialize_structure_crate_model_s3_bucket_transcript_source( object.key("transcriptFormat").string(var_617.as_str()); } if let Some(var_618) = &input.transcript_filter { + #[allow(unused_mut)] let mut object_619 = object.key("transcriptFilter").start_object(); crate::json_ser::serialize_structure_crate_model_transcript_filter( &mut object_619, @@ -2987,6 +3154,7 @@ pub fn serialize_structure_crate_model_bot_import_specification( object.key("roleArn").string(var_622.as_str()); } if let Some(var_623) = &input.data_privacy { + #[allow(unused_mut)] let mut object_624 = object.key("dataPrivacy").start_object(); crate::json_ser::serialize_structure_crate_model_data_privacy(&mut object_624, var_623)?; object_624.finish(); @@ -2998,6 +3166,7 @@ pub fn serialize_structure_crate_model_bot_import_specification( ); } if let Some(var_626) = &input.bot_tags { + #[allow(unused_mut)] let mut object_627 = object.key("botTags").start_object(); for (key_628, value_629) in var_626 { { @@ -3007,6 +3176,7 @@ pub fn serialize_structure_crate_model_bot_import_specification( object_627.finish(); } if let Some(var_630) = &input.test_bot_alias_tags { + #[allow(unused_mut)] let mut object_631 = object.key("testBotAliasTags").start_object(); for (key_632, value_633) in var_630 { { @@ -3038,6 +3208,7 @@ pub fn serialize_structure_crate_model_bot_locale_import_specification( ); } if let Some(var_638) = &input.voice_settings { + #[allow(unused_mut)] let mut object_639 = object.key("voiceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_voice_settings(&mut object_639, var_638)?; object_639.finish(); @@ -3081,6 +3252,7 @@ pub fn serialize_structure_crate_model_text_log_destination( input: &crate::model::TextLogDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_645) = &input.cloud_watch { + #[allow(unused_mut)] let mut object_646 = object.key("cloudWatch").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_log_group_log_destination( &mut object_646, @@ -3096,6 +3268,7 @@ pub fn serialize_structure_crate_model_audio_log_destination( input: &crate::model::AudioLogDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_647) = &input.s3_bucket { + #[allow(unused_mut)] let mut object_648 = object.key("s3Bucket").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_log_destination( &mut object_648, @@ -3120,6 +3293,7 @@ pub fn serialize_structure_crate_model_fulfillment_start_response_specification( let mut array_651 = object.key("messageGroups").start_array(); for item_652 in var_650 { { + #[allow(unused_mut)] let mut object_653 = array_651.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_group( &mut object_653, @@ -3150,6 +3324,7 @@ pub fn serialize_structure_crate_model_fulfillment_update_response_specification let mut array_657 = object.key("messageGroups").start_array(); for item_658 in var_656 { { + #[allow(unused_mut)] let mut object_659 = array_657.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_group( &mut object_659, @@ -3171,6 +3346,7 @@ pub fn serialize_structure_crate_model_message_group( input: &crate::model::MessageGroup, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_661) = &input.message { + #[allow(unused_mut)] let mut object_662 = object.key("message").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_662, var_661)?; object_662.finish(); @@ -3179,6 +3355,7 @@ pub fn serialize_structure_crate_model_message_group( let mut array_664 = object.key("variations").start_array(); for item_665 in var_663 { { + #[allow(unused_mut)] let mut object_666 = array_664.value().start_object(); crate::json_ser::serialize_structure_crate_model_message( &mut object_666, @@ -3216,9 +3393,11 @@ pub fn serialize_structure_crate_model_intent_override( object.key("name").string(var_670.as_str()); } if let Some(var_671) = &input.slots { + #[allow(unused_mut)] let mut object_672 = object.key("slots").start_object(); for (key_673, value_674) in var_671 { { + #[allow(unused_mut)] let mut object_675 = object_672.key(key_673.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_override( &mut object_675, @@ -3240,16 +3419,19 @@ pub fn serialize_structure_crate_model_conditional_branch( object.key("name").string(var_676.as_str()); } if let Some(var_677) = &input.condition { + #[allow(unused_mut)] let mut object_678 = object.key("condition").start_object(); crate::json_ser::serialize_structure_crate_model_condition(&mut object_678, var_677)?; object_678.finish(); } if let Some(var_679) = &input.next_step { + #[allow(unused_mut)] let mut object_680 = object.key("nextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_680, var_679)?; object_680.finish(); } if let Some(var_681) = &input.response { + #[allow(unused_mut)] let mut object_682 = object.key("response").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_682, @@ -3265,11 +3447,13 @@ pub fn serialize_structure_crate_model_default_conditional_branch( input: &crate::model::DefaultConditionalBranch, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_683) = &input.next_step { + #[allow(unused_mut)] let mut object_684 = object.key("nextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_684, var_683)?; object_684.finish(); } if let Some(var_685) = &input.response { + #[allow(unused_mut)] let mut object_686 = object.key("response").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_686, @@ -3285,6 +3469,7 @@ pub fn serialize_structure_crate_model_post_dialog_code_hook_invocation_specific input: &crate::model::PostDialogCodeHookInvocationSpecification, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_687) = &input.success_response { + #[allow(unused_mut)] let mut object_688 = object.key("successResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_688, @@ -3293,11 +3478,13 @@ pub fn serialize_structure_crate_model_post_dialog_code_hook_invocation_specific object_688.finish(); } if let Some(var_689) = &input.success_next_step { + #[allow(unused_mut)] let mut object_690 = object.key("successNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_690, var_689)?; object_690.finish(); } if let Some(var_691) = &input.success_conditional { + #[allow(unused_mut)] let mut object_692 = object.key("successConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_692, @@ -3306,6 +3493,7 @@ pub fn serialize_structure_crate_model_post_dialog_code_hook_invocation_specific object_692.finish(); } if let Some(var_693) = &input.failure_response { + #[allow(unused_mut)] let mut object_694 = object.key("failureResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_694, @@ -3314,11 +3502,13 @@ pub fn serialize_structure_crate_model_post_dialog_code_hook_invocation_specific object_694.finish(); } if let Some(var_695) = &input.failure_next_step { + #[allow(unused_mut)] let mut object_696 = object.key("failureNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_696, var_695)?; object_696.finish(); } if let Some(var_697) = &input.failure_conditional { + #[allow(unused_mut)] let mut object_698 = object.key("failureConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_698, @@ -3327,6 +3517,7 @@ pub fn serialize_structure_crate_model_post_dialog_code_hook_invocation_specific object_698.finish(); } if let Some(var_699) = &input.timeout_response { + #[allow(unused_mut)] let mut object_700 = object.key("timeoutResponse").start_object(); crate::json_ser::serialize_structure_crate_model_response_specification( &mut object_700, @@ -3335,11 +3526,13 @@ pub fn serialize_structure_crate_model_post_dialog_code_hook_invocation_specific object_700.finish(); } if let Some(var_701) = &input.timeout_next_step { + #[allow(unused_mut)] let mut object_702 = object.key("timeoutNextStep").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_state(&mut object_702, var_701)?; object_702.finish(); } if let Some(var_703) = &input.timeout_conditional { + #[allow(unused_mut)] let mut object_704 = object.key("timeoutConditional").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_specification( &mut object_704, @@ -3358,6 +3551,7 @@ pub fn serialize_structure_crate_model_prompt_attempt_specification( object.key("allowInterrupt").boolean(*var_705); } if let Some(var_706) = &input.allowed_input_types { + #[allow(unused_mut)] let mut object_707 = object.key("allowedInputTypes").start_object(); crate::json_ser::serialize_structure_crate_model_allowed_input_types( &mut object_707, @@ -3366,6 +3560,7 @@ pub fn serialize_structure_crate_model_prompt_attempt_specification( object_707.finish(); } if let Some(var_708) = &input.audio_and_dtmf_input_specification { + #[allow(unused_mut)] let mut object_709 = object.key("audioAndDTMFInputSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_audio_and_dtmf_input_specification( &mut object_709, @@ -3374,6 +3569,7 @@ pub fn serialize_structure_crate_model_prompt_attempt_specification( object_709.finish(); } if let Some(var_710) = &input.text_input_specification { + #[allow(unused_mut)] let mut object_711 = object.key("textInputSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_text_input_specification( &mut object_711, @@ -3389,6 +3585,7 @@ pub fn serialize_structure_crate_model_sub_slot_value_elicitation_setting( input: &crate::model::SubSlotValueElicitationSetting, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_712) = &input.default_value_specification { + #[allow(unused_mut)] let mut object_713 = object.key("defaultValueSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_slot_default_value_specification( &mut object_713, @@ -3397,6 +3594,7 @@ pub fn serialize_structure_crate_model_sub_slot_value_elicitation_setting( object_713.finish(); } if let Some(var_714) = &input.prompt_specification { + #[allow(unused_mut)] let mut object_715 = object.key("promptSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_prompt_specification( &mut object_715, @@ -3408,6 +3606,7 @@ pub fn serialize_structure_crate_model_sub_slot_value_elicitation_setting( let mut array_717 = object.key("sampleUtterances").start_array(); for item_718 in var_716 { { + #[allow(unused_mut)] let mut object_719 = array_717.value().start_object(); crate::json_ser::serialize_structure_crate_model_sample_utterance( &mut object_719, @@ -3419,6 +3618,7 @@ pub fn serialize_structure_crate_model_sub_slot_value_elicitation_setting( array_717.finish(); } if let Some(var_720) = &input.wait_and_continue_specification { + #[allow(unused_mut)] let mut object_721 = object.key("waitAndContinueSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_wait_and_continue_specification( &mut object_721, @@ -3447,6 +3647,7 @@ pub fn serialize_structure_crate_model_still_waiting_response_specification( let mut array_724 = object.key("messageGroups").start_array(); for item_725 in var_723 { { + #[allow(unused_mut)] let mut object_726 = array_724.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_group( &mut object_726, @@ -3512,6 +3713,7 @@ pub fn serialize_structure_crate_model_transcript_filter( input: &crate::model::TranscriptFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_736) = &input.lex_transcript_filter { + #[allow(unused_mut)] let mut object_737 = object.key("lexTranscriptFilter").start_object(); crate::json_ser::serialize_structure_crate_model_lex_transcript_filter( &mut object_737, @@ -3556,6 +3758,7 @@ pub fn serialize_structure_crate_model_message( input: &crate::model::Message, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_743) = &input.plain_text_message { + #[allow(unused_mut)] let mut object_744 = object.key("plainTextMessage").start_object(); crate::json_ser::serialize_structure_crate_model_plain_text_message( &mut object_744, @@ -3564,16 +3767,19 @@ pub fn serialize_structure_crate_model_message( object_744.finish(); } if let Some(var_745) = &input.custom_payload { + #[allow(unused_mut)] let mut object_746 = object.key("customPayload").start_object(); crate::json_ser::serialize_structure_crate_model_custom_payload(&mut object_746, var_745)?; object_746.finish(); } if let Some(var_747) = &input.ssml_message { + #[allow(unused_mut)] let mut object_748 = object.key("ssmlMessage").start_object(); crate::json_ser::serialize_structure_crate_model_ssml_message(&mut object_748, var_747)?; object_748.finish(); } if let Some(var_749) = &input.image_response_card { + #[allow(unused_mut)] let mut object_750 = object.key("imageResponseCard").start_object(); crate::json_ser::serialize_structure_crate_model_image_response_card( &mut object_750, @@ -3592,6 +3798,7 @@ pub fn serialize_structure_crate_model_slot_value_override( object.key("shape").string(var_751.as_str()); } if let Some(var_752) = &input.value { + #[allow(unused_mut)] let mut object_753 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_slot_value(&mut object_753, var_752)?; object_753.finish(); @@ -3600,6 +3807,7 @@ pub fn serialize_structure_crate_model_slot_value_override( let mut array_755 = object.key("values").start_array(); for item_756 in var_754 { { + #[allow(unused_mut)] let mut object_757 = array_755.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot_value_override( &mut object_757, @@ -3647,6 +3855,7 @@ pub fn serialize_structure_crate_model_audio_and_dtmf_input_specification( ); } if let Some(var_762) = &input.audio_specification { + #[allow(unused_mut)] let mut object_763 = object.key("audioSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_audio_specification( &mut object_763, @@ -3655,6 +3864,7 @@ pub fn serialize_structure_crate_model_audio_and_dtmf_input_specification( object_763.finish(); } if let Some(var_764) = &input.dtmf_specification { + #[allow(unused_mut)] let mut object_765 = object.key("dtmfSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_dtmf_specification( &mut object_765, @@ -3683,6 +3893,7 @@ pub fn serialize_structure_crate_model_lex_transcript_filter( input: &crate::model::LexTranscriptFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_767) = &input.date_range_filter { + #[allow(unused_mut)] let mut object_768 = object.key("dateRangeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_date_range_filter( &mut object_768, @@ -3740,6 +3951,7 @@ pub fn serialize_structure_crate_model_image_response_card( let mut array_776 = object.key("buttons").start_array(); for item_777 in var_775 { { + #[allow(unused_mut)] let mut object_778 = array_776.value().start_object(); crate::json_ser::serialize_structure_crate_model_button(&mut object_778, item_777)?; object_778.finish(); diff --git a/sdk/lexruntime/src/json_ser.rs b/sdk/lexruntime/src/json_ser.rs index d2232eb4e035..4196f6636692 100644 --- a/sdk/lexruntime/src/json_ser.rs +++ b/sdk/lexruntime/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_post_text_input( let mut array_2 = object.key("activeContexts").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_active_context( &mut object_4, @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_post_text_input( object.key("inputText").string(var_5.as_str()); } if let Some(var_6) = &input.request_attributes { + #[allow(unused_mut)] let mut object_7 = object.key("requestAttributes").start_object(); for (key_8, value_9) in var_6 { { @@ -30,6 +32,7 @@ pub fn serialize_structure_crate_input_post_text_input( object_7.finish(); } if let Some(var_10) = &input.session_attributes { + #[allow(unused_mut)] let mut object_11 = object.key("sessionAttributes").start_object(); for (key_12, value_13) in var_10 { { @@ -49,6 +52,7 @@ pub fn serialize_structure_crate_input_put_session_input( let mut array_15 = object.key("activeContexts").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_active_context( &mut object_17, @@ -60,6 +64,7 @@ pub fn serialize_structure_crate_input_put_session_input( array_15.finish(); } if let Some(var_18) = &input.dialog_action { + #[allow(unused_mut)] let mut object_19 = object.key("dialogAction").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_action(&mut object_19, var_18)?; object_19.finish(); @@ -68,6 +73,7 @@ pub fn serialize_structure_crate_input_put_session_input( let mut array_21 = object.key("recentIntentSummaryView").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_intent_summary( &mut object_23, @@ -79,6 +85,7 @@ pub fn serialize_structure_crate_input_put_session_input( array_21.finish(); } if let Some(var_24) = &input.session_attributes { + #[allow(unused_mut)] let mut object_25 = object.key("sessionAttributes").start_object(); for (key_26, value_27) in var_24 { { @@ -98,6 +105,7 @@ pub fn serialize_structure_crate_model_active_context( object.key("name").string(var_28.as_str()); } if let Some(var_29) = &input.time_to_live { + #[allow(unused_mut)] let mut object_30 = object.key("timeToLive").start_object(); crate::json_ser::serialize_structure_crate_model_active_context_time_to_live( &mut object_30, @@ -106,6 +114,7 @@ pub fn serialize_structure_crate_model_active_context( object_30.finish(); } if let Some(var_31) = &input.parameters { + #[allow(unused_mut)] let mut object_32 = object.key("parameters").start_object(); for (key_33, value_34) in var_31 { { @@ -128,6 +137,7 @@ pub fn serialize_structure_crate_model_dialog_action( object.key("intentName").string(var_36.as_str()); } if let Some(var_37) = &input.slots { + #[allow(unused_mut)] let mut object_38 = object.key("slots").start_object(); for (key_39, value_40) in var_37 { { @@ -162,6 +172,7 @@ pub fn serialize_structure_crate_model_intent_summary( object.key("checkpointLabel").string(var_46.as_str()); } if let Some(var_47) = &input.slots { + #[allow(unused_mut)] let mut object_48 = object.key("slots").start_object(); for (key_49, value_50) in var_47 { { diff --git a/sdk/lexruntimev2/src/json_ser.rs b/sdk/lexruntimev2/src/json_ser.rs index b459ffbdd1c9..63cb25051fe5 100644 --- a/sdk/lexruntimev2/src/json_ser.rs +++ b/sdk/lexruntimev2/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_put_session_input( let mut array_2 = object.key("messages").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_4, item_3)?; object_4.finish(); @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_put_session_input( array_2.finish(); } if let Some(var_5) = &input.request_attributes { + #[allow(unused_mut)] let mut object_6 = object.key("requestAttributes").start_object(); for (key_7, value_8) in var_5 { { @@ -24,6 +26,7 @@ pub fn serialize_structure_crate_input_put_session_input( object_6.finish(); } if let Some(var_9) = &input.session_state { + #[allow(unused_mut)] let mut object_10 = object.key("sessionState").start_object(); crate::json_ser::serialize_structure_crate_model_session_state(&mut object_10, var_9)?; object_10.finish(); @@ -36,6 +39,7 @@ pub fn serialize_structure_crate_input_recognize_text_input( input: &crate::input::RecognizeTextInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.request_attributes { + #[allow(unused_mut)] let mut object_12 = object.key("requestAttributes").start_object(); for (key_13, value_14) in var_11 { { @@ -45,6 +49,7 @@ pub fn serialize_structure_crate_input_recognize_text_input( object_12.finish(); } if let Some(var_15) = &input.session_state { + #[allow(unused_mut)] let mut object_16 = object.key("sessionState").start_object(); crate::json_ser::serialize_structure_crate_model_session_state(&mut object_16, var_15)?; object_16.finish(); @@ -66,6 +71,7 @@ pub fn serialize_structure_crate_model_message( object.key("contentType").string(var_19.as_str()); } if let Some(var_20) = &input.image_response_card { + #[allow(unused_mut)] let mut object_21 = object.key("imageResponseCard").start_object(); crate::json_ser::serialize_structure_crate_model_image_response_card( &mut object_21, @@ -81,11 +87,13 @@ pub fn serialize_structure_crate_model_session_state( input: &crate::model::SessionState, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.dialog_action { + #[allow(unused_mut)] let mut object_23 = object.key("dialogAction").start_object(); crate::json_ser::serialize_structure_crate_model_dialog_action(&mut object_23, var_22)?; object_23.finish(); } if let Some(var_24) = &input.intent { + #[allow(unused_mut)] let mut object_25 = object.key("intent").start_object(); crate::json_ser::serialize_structure_crate_model_intent(&mut object_25, var_24)?; object_25.finish(); @@ -94,6 +102,7 @@ pub fn serialize_structure_crate_model_session_state( let mut array_27 = object.key("activeContexts").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_active_context( &mut object_29, @@ -105,6 +114,7 @@ pub fn serialize_structure_crate_model_session_state( array_27.finish(); } if let Some(var_30) = &input.session_attributes { + #[allow(unused_mut)] let mut object_31 = object.key("sessionAttributes").start_object(); for (key_32, value_33) in var_30 { { @@ -117,6 +127,7 @@ pub fn serialize_structure_crate_model_session_state( object.key("originatingRequestId").string(var_34.as_str()); } if let Some(var_35) = &input.runtime_hints { + #[allow(unused_mut)] let mut object_36 = object.key("runtimeHints").start_object(); crate::json_ser::serialize_structure_crate_model_runtime_hints(&mut object_36, var_35)?; object_36.finish(); @@ -141,6 +152,7 @@ pub fn serialize_structure_crate_model_image_response_card( let mut array_41 = object.key("buttons").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_button(&mut object_43, item_42)?; object_43.finish(); @@ -165,6 +177,7 @@ pub fn serialize_structure_crate_model_dialog_action( object.key("slotElicitationStyle").string(var_46.as_str()); } if let Some(var_47) = &input.sub_slot_to_elicit { + #[allow(unused_mut)] let mut object_48 = object.key("subSlotToElicit").start_object(); crate::json_ser::serialize_structure_crate_model_elicit_sub_slot(&mut object_48, var_47)?; object_48.finish(); @@ -180,9 +193,11 @@ pub fn serialize_structure_crate_model_intent( object.key("name").string(var_49.as_str()); } if let Some(var_50) = &input.slots { + #[allow(unused_mut)] let mut object_51 = object.key("slots").start_object(); for (key_52, value_53) in var_50 { { + #[allow(unused_mut)] let mut object_54 = object_51.key(key_52.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_slot(&mut object_54, value_53)?; object_54.finish(); @@ -207,6 +222,7 @@ pub fn serialize_structure_crate_model_active_context( object.key("name").string(var_57.as_str()); } if let Some(var_58) = &input.time_to_live { + #[allow(unused_mut)] let mut object_59 = object.key("timeToLive").start_object(); crate::json_ser::serialize_structure_crate_model_active_context_time_to_live( &mut object_59, @@ -215,6 +231,7 @@ pub fn serialize_structure_crate_model_active_context( object_59.finish(); } if let Some(var_60) = &input.context_attributes { + #[allow(unused_mut)] let mut object_61 = object.key("contextAttributes").start_object(); for (key_62, value_63) in var_60 { { @@ -231,12 +248,15 @@ pub fn serialize_structure_crate_model_runtime_hints( input: &crate::model::RuntimeHints, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_64) = &input.slot_hints { + #[allow(unused_mut)] let mut object_65 = object.key("slotHints").start_object(); for (key_66, value_67) in var_64 { { + #[allow(unused_mut)] let mut object_68 = object_65.key(key_66.as_str()).start_object(); for (key_69, value_70) in value_67 { { + #[allow(unused_mut)] let mut object_71 = object_68.key(key_69.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_runtime_hint_details( &mut object_71, @@ -274,6 +294,7 @@ pub fn serialize_structure_crate_model_elicit_sub_slot( object.key("name").string(var_74.as_str()); } if let Some(var_75) = &input.sub_slot_to_elicit { + #[allow(unused_mut)] let mut object_76 = object.key("subSlotToElicit").start_object(); crate::json_ser::serialize_structure_crate_model_elicit_sub_slot(&mut object_76, var_75)?; object_76.finish(); @@ -286,6 +307,7 @@ pub fn serialize_structure_crate_model_slot( input: &crate::model::Slot, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_77) = &input.value { + #[allow(unused_mut)] let mut object_78 = object.key("value").start_object(); crate::json_ser::serialize_structure_crate_model_value(&mut object_78, var_77)?; object_78.finish(); @@ -297,6 +319,7 @@ pub fn serialize_structure_crate_model_slot( let mut array_81 = object.key("values").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_slot(&mut object_83, item_82)?; object_83.finish(); @@ -305,9 +328,11 @@ pub fn serialize_structure_crate_model_slot( array_81.finish(); } if let Some(var_84) = &input.sub_slots { + #[allow(unused_mut)] let mut object_85 = object.key("subSlots").start_object(); for (key_86, value_87) in var_84 { { + #[allow(unused_mut)] let mut object_88 = object_85.key(key_86.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_slot(&mut object_88, value_87)?; object_88.finish(); @@ -345,6 +370,7 @@ pub fn serialize_structure_crate_model_runtime_hint_details( let mut array_92 = object.key("runtimeHintValues").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_runtime_hint_value( &mut object_94, @@ -356,9 +382,11 @@ pub fn serialize_structure_crate_model_runtime_hint_details( array_92.finish(); } if let Some(var_95) = &input.sub_slot_hints { + #[allow(unused_mut)] let mut object_96 = object.key("subSlotHints").start_object(); for (key_97, value_98) in var_95 { { + #[allow(unused_mut)] let mut object_99 = object_96.key(key_97.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_runtime_hint_details( &mut object_99, diff --git a/sdk/licensemanager/src/json_ser.rs b/sdk/licensemanager/src/json_ser.rs index 9441431bb202..3907c541c7d7 100644 --- a/sdk/licensemanager/src/json_ser.rs +++ b/sdk/licensemanager/src/json_ser.rs @@ -33,6 +33,7 @@ pub fn serialize_structure_crate_input_checkout_borrow_license_input( let mut array_6 = object.key("Entitlements").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_entitlement_data( &mut object_8, @@ -53,6 +54,7 @@ pub fn serialize_structure_crate_input_checkout_borrow_license_input( let mut array_12 = object.key("CheckoutMetadata").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_metadata(&mut object_14, item_13)?; object_14.finish(); @@ -83,6 +85,7 @@ pub fn serialize_structure_crate_input_checkout_license_input( let mut array_20 = object.key("Entitlements").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_entitlement_data( &mut object_22, @@ -190,6 +193,7 @@ pub fn serialize_structure_crate_input_create_license_input( object.key("ProductSKU").string(var_47.as_str()); } if let Some(var_48) = &input.issuer { + #[allow(unused_mut)] let mut object_49 = object.key("Issuer").start_object(); crate::json_ser::serialize_structure_crate_model_issuer(&mut object_49, var_48)?; object_49.finish(); @@ -198,6 +202,7 @@ pub fn serialize_structure_crate_input_create_license_input( object.key("HomeRegion").string(var_50.as_str()); } if let Some(var_51) = &input.validity { + #[allow(unused_mut)] let mut object_52 = object.key("Validity").start_object(); crate::json_ser::serialize_structure_crate_model_datetime_range(&mut object_52, var_51)?; object_52.finish(); @@ -206,6 +211,7 @@ pub fn serialize_structure_crate_input_create_license_input( let mut array_54 = object.key("Entitlements").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_entitlement( &mut object_56, @@ -220,6 +226,7 @@ pub fn serialize_structure_crate_input_create_license_input( object.key("Beneficiary").string(var_57.as_str()); } if let Some(var_58) = &input.consumption_configuration { + #[allow(unused_mut)] let mut object_59 = object.key("ConsumptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_consumption_configuration( &mut object_59, @@ -231,6 +238,7 @@ pub fn serialize_structure_crate_input_create_license_input( let mut array_61 = object.key("LicenseMetadata").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_metadata(&mut object_63, item_62)?; object_63.finish(); @@ -279,6 +287,7 @@ pub fn serialize_structure_crate_input_create_license_configuration_input( let mut array_74 = object.key("Tags").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_76, item_75)?; object_76.finish(); @@ -293,6 +302,7 @@ pub fn serialize_structure_crate_input_create_license_configuration_input( let mut array_79 = object.key("ProductInformationList").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_product_information( &mut object_81, @@ -314,6 +324,7 @@ pub fn serialize_structure_crate_input_create_license_conversion_task_for_resour object.key("ResourceArn").string(var_82.as_str()); } if let Some(var_83) = &input.source_license_context { + #[allow(unused_mut)] let mut object_84 = object.key("SourceLicenseContext").start_object(); crate::json_ser::serialize_structure_crate_model_license_conversion_context( &mut object_84, @@ -322,6 +333,7 @@ pub fn serialize_structure_crate_input_create_license_conversion_task_for_resour object_84.finish(); } if let Some(var_85) = &input.destination_license_context { + #[allow(unused_mut)] let mut object_86 = object.key("DestinationLicenseContext").start_object(); crate::json_ser::serialize_structure_crate_model_license_conversion_context( &mut object_86, @@ -349,11 +361,13 @@ pub fn serialize_structure_crate_input_create_license_manager_report_generator_i array_89.finish(); } if let Some(var_91) = &input.report_context { + #[allow(unused_mut)] let mut object_92 = object.key("ReportContext").start_object(); crate::json_ser::serialize_structure_crate_model_report_context(&mut object_92, var_91)?; object_92.finish(); } if let Some(var_93) = &input.report_frequency { + #[allow(unused_mut)] let mut object_94 = object.key("ReportFrequency").start_object(); crate::json_ser::serialize_structure_crate_model_report_frequency(&mut object_94, var_93)?; object_94.finish(); @@ -368,6 +382,7 @@ pub fn serialize_structure_crate_input_create_license_manager_report_generator_i let mut array_98 = object.key("Tags").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_100, item_99)?; object_100.finish(); @@ -392,6 +407,7 @@ pub fn serialize_structure_crate_input_create_license_version_input( object.key("ProductName").string(var_103.as_str()); } if let Some(var_104) = &input.issuer { + #[allow(unused_mut)] let mut object_105 = object.key("Issuer").start_object(); crate::json_ser::serialize_structure_crate_model_issuer(&mut object_105, var_104)?; object_105.finish(); @@ -400,6 +416,7 @@ pub fn serialize_structure_crate_input_create_license_version_input( object.key("HomeRegion").string(var_106.as_str()); } if let Some(var_107) = &input.validity { + #[allow(unused_mut)] let mut object_108 = object.key("Validity").start_object(); crate::json_ser::serialize_structure_crate_model_datetime_range(&mut object_108, var_107)?; object_108.finish(); @@ -408,6 +425,7 @@ pub fn serialize_structure_crate_input_create_license_version_input( let mut array_110 = object.key("LicenseMetadata").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_metadata( &mut object_112, @@ -422,6 +440,7 @@ pub fn serialize_structure_crate_input_create_license_version_input( let mut array_114 = object.key("Entitlements").start_array(); for item_115 in var_113 { { + #[allow(unused_mut)] let mut object_116 = array_114.value().start_object(); crate::json_ser::serialize_structure_crate_model_entitlement( &mut object_116, @@ -433,6 +452,7 @@ pub fn serialize_structure_crate_input_create_license_version_input( array_114.finish(); } if let Some(var_117) = &input.consumption_configuration { + #[allow(unused_mut)] let mut object_118 = object.key("ConsumptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_consumption_configuration( &mut object_118, @@ -696,6 +716,7 @@ pub fn serialize_structure_crate_input_list_distributed_grants_input( let mut array_159 = object.key("Filters").start_array(); for item_160 in var_158 { { + #[allow(unused_mut)] let mut object_161 = array_159.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_161, item_160)?; object_161.finish(); @@ -762,6 +783,7 @@ pub fn serialize_structure_crate_input_list_license_configurations_input( let mut array_173 = object.key("Filters").start_array(); for item_174 in var_172 { { + #[allow(unused_mut)] let mut object_175 = array_173.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_175, item_174)?; object_175.finish(); @@ -789,6 +811,7 @@ pub fn serialize_structure_crate_input_list_license_conversion_tasks_input( let mut array_179 = object.key("Filters").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_181, item_180)?; object_181.finish(); @@ -807,6 +830,7 @@ pub fn serialize_structure_crate_input_list_license_manager_report_generators_in let mut array_183 = object.key("Filters").start_array(); for item_184 in var_182 { { + #[allow(unused_mut)] let mut object_185 = array_183.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_185, item_184)?; object_185.finish(); @@ -843,6 +867,7 @@ pub fn serialize_structure_crate_input_list_licenses_input( let mut array_192 = object.key("Filters").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_194, item_193)?; object_194.finish(); @@ -917,6 +942,7 @@ pub fn serialize_structure_crate_input_list_received_grants_input( let mut array_207 = object.key("Filters").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_209, item_208)?; object_209.finish(); @@ -953,6 +979,7 @@ pub fn serialize_structure_crate_input_list_received_licenses_input( let mut array_216 = object.key("Filters").start_array(); for item_217 in var_215 { { + #[allow(unused_mut)] let mut object_218 = array_216.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_218, item_217)?; object_218.finish(); @@ -989,6 +1016,7 @@ pub fn serialize_structure_crate_input_list_resource_inventory_input( let mut array_224 = object.key("Filters").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_filter( &mut object_226, @@ -1029,6 +1057,7 @@ pub fn serialize_structure_crate_input_list_tokens_input( let mut array_232 = object.key("Filters").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_234, item_233)?; object_234.finish(); @@ -1070,6 +1099,7 @@ pub fn serialize_structure_crate_input_list_usage_for_license_configuration_inpu let mut array_241 = object.key("Filters").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_243, item_242)?; object_243.finish(); @@ -1101,6 +1131,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_247 = object.key("Tags").start_array(); for item_248 in var_246 { { + #[allow(unused_mut)] let mut object_249 = array_247.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_249, item_248)?; object_249.finish(); @@ -1172,6 +1203,7 @@ pub fn serialize_structure_crate_input_update_license_configuration_input( let mut array_264 = object.key("ProductInformationList").start_array(); for item_265 in var_263 { { + #[allow(unused_mut)] let mut object_266 = array_264.value().start_object(); crate::json_ser::serialize_structure_crate_model_product_information( &mut object_266, @@ -1210,11 +1242,13 @@ pub fn serialize_structure_crate_input_update_license_manager_report_generator_i array_271.finish(); } if let Some(var_273) = &input.report_context { + #[allow(unused_mut)] let mut object_274 = object.key("ReportContext").start_object(); crate::json_ser::serialize_structure_crate_model_report_context(&mut object_274, var_273)?; object_274.finish(); } if let Some(var_275) = &input.report_frequency { + #[allow(unused_mut)] let mut object_276 = object.key("ReportFrequency").start_object(); crate::json_ser::serialize_structure_crate_model_report_frequency( &mut object_276, @@ -1242,6 +1276,7 @@ pub fn serialize_structure_crate_input_update_license_specifications_for_resourc let mut array_281 = object.key("AddLicenseSpecifications").start_array(); for item_282 in var_280 { { + #[allow(unused_mut)] let mut object_283 = array_281.value().start_object(); crate::json_ser::serialize_structure_crate_model_license_specification( &mut object_283, @@ -1256,6 +1291,7 @@ pub fn serialize_structure_crate_input_update_license_specifications_for_resourc let mut array_285 = object.key("RemoveLicenseSpecifications").start_array(); for item_286 in var_284 { { + #[allow(unused_mut)] let mut object_287 = array_285.value().start_object(); crate::json_ser::serialize_structure_crate_model_license_specification( &mut object_287, @@ -1280,6 +1316,7 @@ pub fn serialize_structure_crate_input_update_service_settings_input( object.key("SnsTopicArn").string(var_289.as_str()); } if let Some(var_290) = &input.organization_configuration { + #[allow(unused_mut)] let mut object_291 = object.key("OrganizationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_organization_configuration( &mut object_291, @@ -1384,6 +1421,7 @@ pub fn serialize_structure_crate_model_consumption_configuration( object.key("RenewType").string(var_308.as_str()); } if let Some(var_309) = &input.provisional_configuration { + #[allow(unused_mut)] let mut object_310 = object.key("ProvisionalConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_provisional_configuration( &mut object_310, @@ -1392,6 +1430,7 @@ pub fn serialize_structure_crate_model_consumption_configuration( object_310.finish(); } if let Some(var_311) = &input.borrow_configuration { + #[allow(unused_mut)] let mut object_312 = object.key("BorrowConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_borrow_configuration( &mut object_312, @@ -1426,6 +1465,7 @@ pub fn serialize_structure_crate_model_product_information( let mut array_317 = object.key("ProductInformationFilterList").start_array(); for item_318 in var_316 { { + #[allow(unused_mut)] let mut object_319 = array_317.value().start_object(); crate::json_ser::serialize_structure_crate_model_product_information_filter( &mut object_319, diff --git a/sdk/licensemanagerusersubscriptions/src/json_ser.rs b/sdk/licensemanagerusersubscriptions/src/json_ser.rs index 5803f461fcc3..4b0696a11e23 100644 --- a/sdk/licensemanagerusersubscriptions/src/json_ser.rs +++ b/sdk/licensemanagerusersubscriptions/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_associate_user_input( object.key("Domain").string(var_1.as_str()); } if let Some(var_2) = &input.identity_provider { + #[allow(unused_mut)] let mut object_3 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_3, var_2)?; object_3.finish(); @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_deregister_identity_provider_input( input: &crate::input::DeregisterIdentityProviderInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_6) = &input.identity_provider { + #[allow(unused_mut)] let mut object_7 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_7, var_6)?; object_7.finish(); @@ -43,6 +45,7 @@ pub fn serialize_structure_crate_input_disassociate_user_input( object.key("Domain").string(var_9.as_str()); } if let Some(var_10) = &input.identity_provider { + #[allow(unused_mut)] let mut object_11 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_11, var_10)?; object_11.finish(); @@ -80,6 +83,7 @@ pub fn serialize_structure_crate_input_list_instances_input( let mut array_17 = object.key("Filters").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_19, item_18)?; object_19.finish(); @@ -107,6 +111,7 @@ pub fn serialize_structure_crate_input_list_product_subscriptions_input( let mut array_23 = object.key("Filters").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_25, item_24)?; object_25.finish(); @@ -115,6 +120,7 @@ pub fn serialize_structure_crate_input_list_product_subscriptions_input( array_23.finish(); } if let Some(var_26) = &input.identity_provider { + #[allow(unused_mut)] let mut object_27 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_27, var_26)?; object_27.finish(); @@ -142,6 +148,7 @@ pub fn serialize_structure_crate_input_list_user_associations_input( let mut array_32 = object.key("Filters").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_34, item_33)?; object_34.finish(); @@ -150,6 +157,7 @@ pub fn serialize_structure_crate_input_list_user_associations_input( array_32.finish(); } if let Some(var_35) = &input.identity_provider { + #[allow(unused_mut)] let mut object_36 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_36, var_35)?; object_36.finish(); @@ -174,6 +182,7 @@ pub fn serialize_structure_crate_input_register_identity_provider_input( input: &crate::input::RegisterIdentityProviderInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_40) = &input.identity_provider { + #[allow(unused_mut)] let mut object_41 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_41, var_40)?; object_41.finish(); @@ -192,6 +201,7 @@ pub fn serialize_structure_crate_input_start_product_subscription_input( object.key("Domain").string(var_43.as_str()); } if let Some(var_44) = &input.identity_provider { + #[allow(unused_mut)] let mut object_45 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_45, var_44)?; object_45.finish(); @@ -213,6 +223,7 @@ pub fn serialize_structure_crate_input_stop_product_subscription_input( object.key("Domain").string(var_48.as_str()); } if let Some(var_49) = &input.identity_provider { + #[allow(unused_mut)] let mut object_50 = object.key("IdentityProvider").start_object(); crate::json_ser::serialize_union_crate_model_identity_provider(&mut object_50, var_49)?; object_50.finish(); @@ -232,6 +243,7 @@ pub fn serialize_union_crate_model_identity_provider( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::IdentityProvider::ActiveDirectoryIdentityProvider(inner) => { + #[allow(unused_mut)] let mut object_53 = object_3 .key("ActiveDirectoryIdentityProvider") .start_object(); diff --git a/sdk/lightsail/src/json_ser.rs b/sdk/lightsail/src/json_ser.rs index 2183b604c26d..45240299b7aa 100644 --- a/sdk/lightsail/src/json_ser.rs +++ b/sdk/lightsail/src/json_ser.rs @@ -88,6 +88,7 @@ pub fn serialize_structure_crate_input_close_instance_public_ports_input( input: &crate::input::CloseInstancePublicPortsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.port_info { + #[allow(unused_mut)] let mut object_16 = object.key("portInfo").start_object(); crate::json_ser::serialize_structure_crate_model_port_info(&mut object_16, var_15)?; object_16.finish(); @@ -139,6 +140,7 @@ pub fn serialize_structure_crate_input_create_bucket_input( let mut array_27 = object.key("tags").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_29, item_28)?; object_29.finish(); @@ -185,6 +187,7 @@ pub fn serialize_structure_crate_input_create_certificate_input( let mut array_38 = object.key("tags").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -203,6 +206,7 @@ pub fn serialize_structure_crate_input_create_cloud_formation_stack_input( let mut array_42 = object.key("instances").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_entry( &mut object_44, @@ -249,6 +253,7 @@ pub fn serialize_structure_crate_input_create_container_service_input( let mut array_51 = object.key("tags").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_53, item_52)?; object_53.finish(); @@ -257,6 +262,7 @@ pub fn serialize_structure_crate_input_create_container_service_input( array_51.finish(); } if let Some(var_54) = &input.public_domain_names { + #[allow(unused_mut)] let mut object_55 = object.key("publicDomainNames").start_object(); for (key_56, value_57) in var_54 { { @@ -272,6 +278,7 @@ pub fn serialize_structure_crate_input_create_container_service_input( object_55.finish(); } if let Some(var_60) = &input.deployment { + #[allow(unused_mut)] let mut object_61 = object.key("deployment").start_object(); crate::json_ser::serialize_structure_crate_model_container_service_deployment_request( &mut object_61, @@ -280,6 +287,7 @@ pub fn serialize_structure_crate_input_create_container_service_input( object_61.finish(); } if let Some(var_62) = &input.private_registry_access { + #[allow(unused_mut)] let mut object_63 = object.key("privateRegistryAccess").start_object(); crate::json_ser::serialize_structure_crate_model_private_registry_access_request( &mut object_63, @@ -298,9 +306,11 @@ pub fn serialize_structure_crate_input_create_container_service_deployment_input object.key("serviceName").string(var_64.as_str()); } if let Some(var_65) = &input.containers { + #[allow(unused_mut)] let mut object_66 = object.key("containers").start_object(); for (key_67, value_68) in var_65 { { + #[allow(unused_mut)] let mut object_69 = object_66.key(key_67.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_container( &mut object_69, @@ -312,6 +322,7 @@ pub fn serialize_structure_crate_input_create_container_service_deployment_input object_66.finish(); } if let Some(var_70) = &input.public_endpoint { + #[allow(unused_mut)] let mut object_71 = object.key("publicEndpoint").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_request(&mut object_71, var_70)?; object_71.finish(); @@ -339,6 +350,7 @@ pub fn serialize_structure_crate_input_create_disk_input( let mut array_76 = object.key("tags").start_array(); for item_77 in var_75 { { + #[allow(unused_mut)] let mut object_78 = array_76.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_78, item_77)?; object_78.finish(); @@ -350,6 +362,7 @@ pub fn serialize_structure_crate_input_create_disk_input( let mut array_80 = object.key("addOns").start_array(); for item_81 in var_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_on_request( &mut object_82, @@ -386,6 +399,7 @@ pub fn serialize_structure_crate_input_create_disk_from_snapshot_input( let mut array_88 = object.key("tags").start_array(); for item_89 in var_87 { { + #[allow(unused_mut)] let mut object_90 = array_88.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_90, item_89)?; object_90.finish(); @@ -397,6 +411,7 @@ pub fn serialize_structure_crate_input_create_disk_from_snapshot_input( let mut array_92 = object.key("addOns").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_on_request( &mut object_94, @@ -438,6 +453,7 @@ pub fn serialize_structure_crate_input_create_disk_snapshot_input( let mut array_102 = object.key("tags").start_array(); for item_103 in var_101 { { + #[allow(unused_mut)] let mut object_104 = array_102.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_104, item_103)?; object_104.finish(); @@ -456,16 +472,19 @@ pub fn serialize_structure_crate_input_create_distribution_input( object.key("distributionName").string(var_105.as_str()); } if let Some(var_106) = &input.origin { + #[allow(unused_mut)] let mut object_107 = object.key("origin").start_object(); crate::json_ser::serialize_structure_crate_model_input_origin(&mut object_107, var_106)?; object_107.finish(); } if let Some(var_108) = &input.default_cache_behavior { + #[allow(unused_mut)] let mut object_109 = object.key("defaultCacheBehavior").start_object(); crate::json_ser::serialize_structure_crate_model_cache_behavior(&mut object_109, var_108)?; object_109.finish(); } if let Some(var_110) = &input.cache_behavior_settings { + #[allow(unused_mut)] let mut object_111 = object.key("cacheBehaviorSettings").start_object(); crate::json_ser::serialize_structure_crate_model_cache_settings(&mut object_111, var_110)?; object_111.finish(); @@ -474,6 +493,7 @@ pub fn serialize_structure_crate_input_create_distribution_input( let mut array_113 = object.key("cacheBehaviors").start_array(); for item_114 in var_112 { { + #[allow(unused_mut)] let mut object_115 = array_113.value().start_object(); crate::json_ser::serialize_structure_crate_model_cache_behavior_per_path( &mut object_115, @@ -494,6 +514,7 @@ pub fn serialize_structure_crate_input_create_distribution_input( let mut array_119 = object.key("tags").start_array(); for item_120 in var_118 { { + #[allow(unused_mut)] let mut object_121 = array_119.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_121, item_120)?; object_121.finish(); @@ -515,6 +536,7 @@ pub fn serialize_structure_crate_input_create_domain_input( let mut array_124 = object.key("tags").start_array(); for item_125 in var_123 { { + #[allow(unused_mut)] let mut object_126 = array_124.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_126, item_125)?; object_126.finish(); @@ -533,6 +555,7 @@ pub fn serialize_structure_crate_input_create_domain_entry_input( object.key("domainName").string(var_127.as_str()); } if let Some(var_128) = &input.domain_entry { + #[allow(unused_mut)] let mut object_129 = object.key("domainEntry").start_object(); crate::json_ser::serialize_structure_crate_model_domain_entry(&mut object_129, var_128)?; object_129.finish(); @@ -575,6 +598,7 @@ pub fn serialize_structure_crate_input_create_instances_input( let mut array_140 = object.key("tags").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_142, item_141)?; object_142.finish(); @@ -586,6 +610,7 @@ pub fn serialize_structure_crate_input_create_instances_input( let mut array_144 = object.key("addOns").start_array(); for item_145 in var_143 { { + #[allow(unused_mut)] let mut object_146 = array_144.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_on_request( &mut object_146, @@ -616,12 +641,14 @@ pub fn serialize_structure_crate_input_create_instances_from_snapshot_input( array_149.finish(); } if let Some(var_151) = &input.attached_disk_mapping { + #[allow(unused_mut)] let mut object_152 = object.key("attachedDiskMapping").start_object(); for (key_153, value_154) in var_151 { { let mut array_155 = object_152.key(key_153.as_str()).start_array(); for item_156 in value_154 { { + #[allow(unused_mut)] let mut object_157 = array_155.value().start_object(); crate::json_ser::serialize_structure_crate_model_disk_map( &mut object_157, @@ -654,6 +681,7 @@ pub fn serialize_structure_crate_input_create_instances_from_snapshot_input( let mut array_164 = object.key("tags").start_array(); for item_165 in var_163 { { + #[allow(unused_mut)] let mut object_166 = array_164.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_166, item_165)?; object_166.finish(); @@ -665,6 +693,7 @@ pub fn serialize_structure_crate_input_create_instances_from_snapshot_input( let mut array_168 = object.key("addOns").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_on_request( &mut object_170, @@ -706,6 +735,7 @@ pub fn serialize_structure_crate_input_create_instance_snapshot_input( let mut array_178 = object.key("tags").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_180, item_179)?; object_180.finish(); @@ -727,6 +757,7 @@ pub fn serialize_structure_crate_input_create_key_pair_input( let mut array_183 = object.key("tags").start_array(); for item_184 in var_182 { { + #[allow(unused_mut)] let mut object_185 = array_183.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_185, item_184)?; object_185.finish(); @@ -772,6 +803,7 @@ pub fn serialize_structure_crate_input_create_load_balancer_input( let mut array_194 = object.key("tags").start_array(); for item_195 in var_193 { { + #[allow(unused_mut)] let mut object_196 = array_194.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_196, item_195)?; object_196.finish(); @@ -814,6 +846,7 @@ pub fn serialize_structure_crate_input_create_load_balancer_tls_certificate_inpu let mut array_206 = object.key("tags").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_208, item_207)?; object_208.finish(); @@ -870,6 +903,7 @@ pub fn serialize_structure_crate_input_create_relational_database_input( let mut array_220 = object.key("tags").start_array(); for item_221 in var_219 { { + #[allow(unused_mut)] let mut object_222 = array_220.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_222, item_221)?; object_222.finish(); @@ -922,6 +956,7 @@ pub fn serialize_structure_crate_input_create_relational_database_from_snapshot_ let mut array_232 = object.key("tags").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_234, item_233)?; object_234.finish(); @@ -950,6 +985,7 @@ pub fn serialize_structure_crate_input_create_relational_database_snapshot_input let mut array_238 = object.key("tags").start_array(); for item_239 in var_237 { { + #[allow(unused_mut)] let mut object_240 = array_238.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_240, item_239)?; object_240.finish(); @@ -1103,6 +1139,7 @@ pub fn serialize_structure_crate_input_delete_domain_entry_input( object.key("domainName").string(var_258.as_str()); } if let Some(var_259) = &input.domain_entry { + #[allow(unused_mut)] let mut object_260 = object.key("domainEntry").start_object(); crate::json_ser::serialize_structure_crate_model_domain_entry(&mut object_260, var_259)?; object_260.finish(); @@ -1284,6 +1321,7 @@ pub fn serialize_structure_crate_input_enable_add_on_input( object.key("resourceName").string(var_284.as_str()); } if let Some(var_285) = &input.add_on_request { + #[allow(unused_mut)] let mut object_286 = object.key("addOnRequest").start_object(); crate::json_ser::serialize_structure_crate_model_add_on_request(&mut object_286, var_285)?; object_286.finish(); @@ -2229,6 +2267,7 @@ pub fn serialize_structure_crate_input_open_instance_public_ports_input( input: &crate::input::OpenInstancePublicPortsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_422) = &input.port_info { + #[allow(unused_mut)] let mut object_423 = object.key("portInfo").start_object(); crate::json_ser::serialize_structure_crate_model_port_info(&mut object_423, var_422)?; object_423.finish(); @@ -2308,6 +2347,7 @@ pub fn serialize_structure_crate_input_put_instance_public_ports_input( let mut array_441 = object.key("portInfos").start_array(); for item_442 in var_440 { { + #[allow(unused_mut)] let mut object_443 = array_441.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_info( &mut object_443, @@ -2490,6 +2530,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_468 = object.key("tags").start_array(); for item_469 in var_467 { { + #[allow(unused_mut)] let mut object_470 = array_468.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_470, item_469)?; object_470.finish(); @@ -2543,6 +2584,7 @@ pub fn serialize_structure_crate_input_update_bucket_input( object.key("bucketName").string(var_478.as_str()); } if let Some(var_479) = &input.access_rules { + #[allow(unused_mut)] let mut object_480 = object.key("accessRules").start_object(); crate::json_ser::serialize_structure_crate_model_access_rules(&mut object_480, var_479)?; object_480.finish(); @@ -2560,6 +2602,7 @@ pub fn serialize_structure_crate_input_update_bucket_input( array_483.finish(); } if let Some(var_485) = &input.access_log_config { + #[allow(unused_mut)] let mut object_486 = object.key("accessLogConfig").start_object(); crate::json_ser::serialize_structure_crate_model_bucket_access_log_config( &mut object_486, @@ -2603,6 +2646,7 @@ pub fn serialize_structure_crate_input_update_container_service_input( object.key("isDisabled").boolean(*var_492); } if let Some(var_493) = &input.public_domain_names { + #[allow(unused_mut)] let mut object_494 = object.key("publicDomainNames").start_object(); for (key_495, value_496) in var_493 { { @@ -2618,6 +2662,7 @@ pub fn serialize_structure_crate_input_update_container_service_input( object_494.finish(); } if let Some(var_499) = &input.private_registry_access { + #[allow(unused_mut)] let mut object_500 = object.key("privateRegistryAccess").start_object(); crate::json_ser::serialize_structure_crate_model_private_registry_access_request( &mut object_500, @@ -2636,16 +2681,19 @@ pub fn serialize_structure_crate_input_update_distribution_input( object.key("distributionName").string(var_501.as_str()); } if let Some(var_502) = &input.origin { + #[allow(unused_mut)] let mut object_503 = object.key("origin").start_object(); crate::json_ser::serialize_structure_crate_model_input_origin(&mut object_503, var_502)?; object_503.finish(); } if let Some(var_504) = &input.default_cache_behavior { + #[allow(unused_mut)] let mut object_505 = object.key("defaultCacheBehavior").start_object(); crate::json_ser::serialize_structure_crate_model_cache_behavior(&mut object_505, var_504)?; object_505.finish(); } if let Some(var_506) = &input.cache_behavior_settings { + #[allow(unused_mut)] let mut object_507 = object.key("cacheBehaviorSettings").start_object(); crate::json_ser::serialize_structure_crate_model_cache_settings(&mut object_507, var_506)?; object_507.finish(); @@ -2654,6 +2702,7 @@ pub fn serialize_structure_crate_input_update_distribution_input( let mut array_509 = object.key("cacheBehaviors").start_array(); for item_510 in var_508 { { + #[allow(unused_mut)] let mut object_511 = array_509.value().start_object(); crate::json_ser::serialize_structure_crate_model_cache_behavior_per_path( &mut object_511, @@ -2691,6 +2740,7 @@ pub fn serialize_structure_crate_input_update_domain_entry_input( object.key("domainName").string(var_515.as_str()); } if let Some(var_516) = &input.domain_entry { + #[allow(unused_mut)] let mut object_517 = object.key("domainEntry").start_object(); crate::json_ser::serialize_structure_crate_model_domain_entry(&mut object_517, var_516)?; object_517.finish(); @@ -2795,6 +2845,7 @@ pub fn serialize_structure_crate_input_update_relational_database_parameters_inp let mut array_538 = object.key("parameters").start_array(); for item_539 in var_537 { { + #[allow(unused_mut)] let mut object_540 = array_538.value().start_object(); crate::json_ser::serialize_structure_crate_model_relational_database_parameter( &mut object_540, @@ -2897,9 +2948,11 @@ pub fn serialize_structure_crate_model_container_service_deployment_request( input: &crate::model::ContainerServiceDeploymentRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_558) = &input.containers { + #[allow(unused_mut)] let mut object_559 = object.key("containers").start_object(); for (key_560, value_561) in var_558 { { + #[allow(unused_mut)] let mut object_562 = object_559.key(key_560.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_container( &mut object_562, @@ -2911,6 +2964,7 @@ pub fn serialize_structure_crate_model_container_service_deployment_request( object_559.finish(); } if let Some(var_563) = &input.public_endpoint { + #[allow(unused_mut)] let mut object_564 = object.key("publicEndpoint").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_request( &mut object_564, @@ -2926,6 +2980,7 @@ pub fn serialize_structure_crate_model_private_registry_access_request( input: &crate::model::PrivateRegistryAccessRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_565) = &input.ecr_image_puller_role { + #[allow(unused_mut)] let mut object_566 = object.key("ecrImagePullerRole").start_object(); crate::json_ser::serialize_structure_crate_model_container_service_ecr_image_puller_role_request(&mut object_566, var_565)?; object_566.finish(); @@ -2950,6 +3005,7 @@ pub fn serialize_structure_crate_model_container( array_569.finish(); } if let Some(var_571) = &input.environment { + #[allow(unused_mut)] let mut object_572 = object.key("environment").start_object(); for (key_573, value_574) in var_571 { { @@ -2959,6 +3015,7 @@ pub fn serialize_structure_crate_model_container( object_572.finish(); } if let Some(var_575) = &input.ports { + #[allow(unused_mut)] let mut object_576 = object.key("ports").start_object(); for (key_577, value_578) in var_575 { { @@ -2984,6 +3041,7 @@ pub fn serialize_structure_crate_model_endpoint_request( ); } if let Some(var_581) = &input.health_check { + #[allow(unused_mut)] let mut object_582 = object.key("healthCheck").start_object(); crate::json_ser::serialize_structure_crate_model_container_service_health_check_config( &mut object_582, @@ -3002,6 +3060,7 @@ pub fn serialize_structure_crate_model_add_on_request( object.key("addOnType").string(var_583.as_str()); } if let Some(var_584) = &input.auto_snapshot_add_on_request { + #[allow(unused_mut)] let mut object_585 = object.key("autoSnapshotAddOnRequest").start_object(); crate::json_ser::serialize_structure_crate_model_auto_snapshot_add_on_request( &mut object_585, @@ -3067,16 +3126,19 @@ pub fn serialize_structure_crate_model_cache_settings( object.key("cachedHTTPMethods").string(var_594.as_str()); } if let Some(var_595) = &input.forwarded_cookies { + #[allow(unused_mut)] let mut object_596 = object.key("forwardedCookies").start_object(); crate::json_ser::serialize_structure_crate_model_cookie_object(&mut object_596, var_595)?; object_596.finish(); } if let Some(var_597) = &input.forwarded_headers { + #[allow(unused_mut)] let mut object_598 = object.key("forwardedHeaders").start_object(); crate::json_ser::serialize_structure_crate_model_header_object(&mut object_598, var_597)?; object_598.finish(); } if let Some(var_599) = &input.forwarded_query_strings { + #[allow(unused_mut)] let mut object_600 = object.key("forwardedQueryStrings").start_object(); crate::json_ser::serialize_structure_crate_model_query_string_object( &mut object_600, @@ -3120,6 +3182,7 @@ pub fn serialize_structure_crate_model_domain_entry( object.key("type").string(var_607.as_str()); } if let Some(var_608) = &input.options { + #[allow(unused_mut)] let mut object_609 = object.key("options").start_object(); for (key_610, value_611) in var_608 { { diff --git a/sdk/location/src/json_ser.rs b/sdk/location/src/json_ser.rs index 395ffe9743fb..43894ae04f59 100644 --- a/sdk/location/src/json_ser.rs +++ b/sdk/location/src/json_ser.rs @@ -49,6 +49,7 @@ pub fn serialize_structure_crate_input_batch_evaluate_geofences_input( let mut array_9 = object.key("DevicePositionUpdates").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_device_position_update( &mut object_11, @@ -86,6 +87,7 @@ pub fn serialize_structure_crate_input_batch_put_geofence_input( let mut array_16 = object.key("Entries").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_put_geofence_request_entry( &mut object_18, @@ -107,6 +109,7 @@ pub fn serialize_structure_crate_input_batch_update_device_position_input( let mut array_20 = object.key("Updates").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_device_position_update( &mut object_22, @@ -125,6 +128,7 @@ pub fn serialize_structure_crate_input_calculate_route_input( input: &crate::input::CalculateRouteInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_23) = &input.car_mode_options { + #[allow(unused_mut)] let mut object_24 = object.key("CarModeOptions").start_object(); crate::json_ser::serialize_structure_crate_model_calculate_route_car_mode_options( &mut object_24, @@ -174,6 +178,7 @@ pub fn serialize_structure_crate_input_calculate_route_input( object.key("TravelMode").string(var_35.as_str()); } if let Some(var_36) = &input.truck_mode_options { + #[allow(unused_mut)] let mut object_37 = object.key("TruckModeOptions").start_object(); crate::json_ser::serialize_structure_crate_model_calculate_route_truck_mode_options( &mut object_37, @@ -207,6 +212,7 @@ pub fn serialize_structure_crate_input_calculate_route_matrix_input( input: &crate::input::CalculateRouteMatrixInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_43) = &input.car_mode_options { + #[allow(unused_mut)] let mut object_44 = object.key("CarModeOptions").start_object(); crate::json_ser::serialize_structure_crate_model_calculate_route_car_mode_options( &mut object_44, @@ -265,6 +271,7 @@ pub fn serialize_structure_crate_input_calculate_route_matrix_input( object.key("TravelMode").string(var_58.as_str()); } if let Some(var_59) = &input.truck_mode_options { + #[allow(unused_mut)] let mut object_60 = object.key("TruckModeOptions").start_object(); crate::json_ser::serialize_structure_crate_model_calculate_route_truck_mode_options( &mut object_60, @@ -295,6 +302,7 @@ pub fn serialize_structure_crate_input_create_geofence_collection_input( object.key("PricingPlanDataSource").string(var_65.as_str()); } if let Some(var_66) = &input.tags { + #[allow(unused_mut)] let mut object_67 = object.key("Tags").start_object(); for (key_68, value_69) in var_66 { { @@ -311,6 +319,7 @@ pub fn serialize_structure_crate_input_create_map_input( input: &crate::input::CreateMapInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.configuration { + #[allow(unused_mut)] let mut object_71 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_map_configuration(&mut object_71, var_70)?; object_71.finish(); @@ -325,6 +334,7 @@ pub fn serialize_structure_crate_input_create_map_input( object.key("PricingPlan").string(var_74.as_str()); } if let Some(var_75) = &input.tags { + #[allow(unused_mut)] let mut object_76 = object.key("Tags").start_object(); for (key_77, value_78) in var_75 { { @@ -344,6 +354,7 @@ pub fn serialize_structure_crate_input_create_place_index_input( object.key("DataSource").string(var_79.as_str()); } if let Some(var_80) = &input.data_source_configuration { + #[allow(unused_mut)] let mut object_81 = object.key("DataSourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configuration( &mut object_81, @@ -361,6 +372,7 @@ pub fn serialize_structure_crate_input_create_place_index_input( object.key("PricingPlan").string(var_84.as_str()); } if let Some(var_85) = &input.tags { + #[allow(unused_mut)] let mut object_86 = object.key("Tags").start_object(); for (key_87, value_88) in var_85 { { @@ -389,6 +401,7 @@ pub fn serialize_structure_crate_input_create_route_calculator_input( object.key("PricingPlan").string(var_92.as_str()); } if let Some(var_93) = &input.tags { + #[allow(unused_mut)] let mut object_94 = object.key("Tags").start_object(); for (key_95, value_96) in var_93 { { @@ -420,6 +433,7 @@ pub fn serialize_structure_crate_input_create_tracker_input( object.key("PricingPlanDataSource").string(var_101.as_str()); } if let Some(var_102) = &input.tags { + #[allow(unused_mut)] let mut object_103 = object.key("Tags").start_object(); for (key_104, value_105) in var_102 { { @@ -593,6 +607,7 @@ pub fn serialize_structure_crate_input_put_geofence_input( input: &crate::input::PutGeofenceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_127) = &input.geometry { + #[allow(unused_mut)] let mut object_128 = object.key("Geometry").start_object(); crate::json_ser::serialize_structure_crate_model_geofence_geometry( &mut object_128, @@ -740,6 +755,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_156) = &input.tags { + #[allow(unused_mut)] let mut object_157 = object.key("Tags").start_object(); for (key_158, value_159) in var_156 { { @@ -785,6 +801,7 @@ pub fn serialize_structure_crate_input_update_place_index_input( input: &crate::input::UpdatePlaceIndexInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_165) = &input.data_source_configuration { + #[allow(unused_mut)] let mut object_166 = object.key("DataSourceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_configuration( &mut object_166, @@ -858,6 +875,7 @@ pub fn serialize_structure_crate_model_device_position_update( array_178.finish(); } if let Some(var_180) = &input.accuracy { + #[allow(unused_mut)] let mut object_181 = object.key("Accuracy").start_object(); crate::json_ser::serialize_structure_crate_model_positional_accuracy( &mut object_181, @@ -866,6 +884,7 @@ pub fn serialize_structure_crate_model_device_position_update( object_181.finish(); } if let Some(var_182) = &input.position_properties { + #[allow(unused_mut)] let mut object_183 = object.key("PositionProperties").start_object(); for (key_184, value_185) in var_182 { { @@ -885,6 +904,7 @@ pub fn serialize_structure_crate_model_batch_put_geofence_request_entry( object.key("GeofenceId").string(var_186.as_str()); } if let Some(var_187) = &input.geometry { + #[allow(unused_mut)] let mut object_188 = object.key("Geometry").start_object(); crate::json_ser::serialize_structure_crate_model_geofence_geometry( &mut object_188, @@ -919,6 +939,7 @@ pub fn serialize_structure_crate_model_calculate_route_truck_mode_options( object.key("AvoidTolls").boolean(*var_192); } if let Some(var_193) = &input.dimensions { + #[allow(unused_mut)] let mut object_194 = object.key("Dimensions").start_object(); crate::json_ser::serialize_structure_crate_model_truck_dimensions( &mut object_194, @@ -927,6 +948,7 @@ pub fn serialize_structure_crate_model_calculate_route_truck_mode_options( object_194.finish(); } if let Some(var_195) = &input.weight { + #[allow(unused_mut)] let mut object_196 = object.key("Weight").start_object(); crate::json_ser::serialize_structure_crate_model_truck_weight(&mut object_196, var_195)?; object_196.finish(); @@ -983,6 +1005,7 @@ pub fn serialize_structure_crate_model_geofence_geometry( array_200.finish(); } if let Some(var_206) = &input.circle { + #[allow(unused_mut)] let mut object_207 = object.key("Circle").start_object(); crate::json_ser::serialize_structure_crate_model_circle(&mut object_207, var_206)?; object_207.finish(); diff --git a/sdk/lookoutequipment/src/json_ser.rs b/sdk/lookoutequipment/src/json_ser.rs index 4d1f56a5b436..49e5b97c5373 100644 --- a/sdk/lookoutequipment/src/json_ser.rs +++ b/sdk/lookoutequipment/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( object.key("DatasetName").string(var_1.as_str()); } if let Some(var_2) = &input.dataset_schema { + #[allow(unused_mut)] let mut object_3 = object.key("DatasetSchema").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_schema(&mut object_3, var_2)?; object_3.finish(); @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_7 = object.key("Tags").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_9, item_8)?; object_9.finish(); @@ -51,6 +53,7 @@ pub fn serialize_structure_crate_input_create_inference_scheduler_input( object.key("DataUploadFrequency").string(var_13.as_str()); } if let Some(var_14) = &input.data_input_configuration { + #[allow(unused_mut)] let mut object_15 = object.key("DataInputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_input_configuration( &mut object_15, @@ -59,6 +62,7 @@ pub fn serialize_structure_crate_input_create_inference_scheduler_input( object_15.finish(); } if let Some(var_16) = &input.data_output_configuration { + #[allow(unused_mut)] let mut object_17 = object.key("DataOutputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_output_configuration( &mut object_17, @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_create_inference_scheduler_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -147,6 +152,7 @@ pub fn serialize_structure_crate_input_create_label_group_input( let mut array_39 = object.key("Tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -168,11 +174,13 @@ pub fn serialize_structure_crate_input_create_model_input( object.key("DatasetName").string(var_43.as_str()); } if let Some(var_44) = &input.dataset_schema { + #[allow(unused_mut)] let mut object_45 = object.key("DatasetSchema").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_schema(&mut object_45, var_44)?; object_45.finish(); } if let Some(var_46) = &input.labels_input_configuration { + #[allow(unused_mut)] let mut object_47 = object.key("LabelsInputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_labels_input_configuration( &mut object_47, @@ -207,6 +215,7 @@ pub fn serialize_structure_crate_input_create_model_input( object.key("RoleArn").string(var_53.as_str()); } if let Some(var_54) = &input.data_pre_processing_configuration { + #[allow(unused_mut)] let mut object_55 = object.key("DataPreProcessingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_pre_processing_configuration( &mut object_55, @@ -221,6 +230,7 @@ pub fn serialize_structure_crate_input_create_model_input( let mut array_58 = object.key("Tags").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_60, item_59)?; object_60.finish(); @@ -597,6 +607,7 @@ pub fn serialize_structure_crate_input_start_data_ingestion_job_input( object.key("DatasetName").string(var_117.as_str()); } if let Some(var_118) = &input.ingestion_input_configuration { + #[allow(unused_mut)] let mut object_119 = object.key("IngestionInputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ingestion_input_configuration( &mut object_119, @@ -648,6 +659,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_126 = object.key("Tags").start_array(); for item_127 in var_125 { { + #[allow(unused_mut)] let mut object_128 = array_126.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_128, item_127)?; object_128.finish(); @@ -696,6 +708,7 @@ pub fn serialize_structure_crate_input_update_inference_scheduler_input( object.key("DataUploadFrequency").string(var_135.as_str()); } if let Some(var_136) = &input.data_input_configuration { + #[allow(unused_mut)] let mut object_137 = object.key("DataInputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_input_configuration( &mut object_137, @@ -704,6 +717,7 @@ pub fn serialize_structure_crate_input_update_inference_scheduler_input( object_137.finish(); } if let Some(var_138) = &input.data_output_configuration { + #[allow(unused_mut)] let mut object_139 = object.key("DataOutputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_output_configuration( &mut object_139, @@ -764,6 +778,7 @@ pub fn serialize_structure_crate_model_inference_input_configuration( input: &crate::model::InferenceInputConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_148) = &input.s3_input_configuration { + #[allow(unused_mut)] let mut object_149 = object.key("S3InputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_s3_input_configuration( &mut object_149, @@ -775,6 +790,7 @@ pub fn serialize_structure_crate_model_inference_input_configuration( object.key("InputTimeZoneOffset").string(var_150.as_str()); } if let Some(var_151) = &input.inference_input_name_configuration { + #[allow(unused_mut)] let mut object_152 = object.key("InferenceInputNameConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_input_name_configuration( &mut object_152, @@ -790,6 +806,7 @@ pub fn serialize_structure_crate_model_inference_output_configuration( input: &crate::model::InferenceOutputConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_153) = &input.s3_output_configuration { + #[allow(unused_mut)] let mut object_154 = object.key("S3OutputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_inference_s3_output_configuration( &mut object_154, @@ -808,6 +825,7 @@ pub fn serialize_structure_crate_model_labels_input_configuration( input: &crate::model::LabelsInputConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_156) = &input.s3_input_configuration { + #[allow(unused_mut)] let mut object_157 = object.key("S3InputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_labels_s3_input_configuration( &mut object_157, @@ -836,6 +854,7 @@ pub fn serialize_structure_crate_model_ingestion_input_configuration( input: &crate::model::IngestionInputConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_160) = &input.s3_input_configuration { + #[allow(unused_mut)] let mut object_161 = object.key("S3InputConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ingestion_s3_input_configuration( &mut object_161, diff --git a/sdk/lookoutmetrics/src/json_ser.rs b/sdk/lookoutmetrics/src/json_ser.rs index 0a938f4a9957..320c805fe2a0 100644 --- a/sdk/lookoutmetrics/src/json_ser.rs +++ b/sdk/lookoutmetrics/src/json_ser.rs @@ -24,6 +24,7 @@ pub fn serialize_structure_crate_input_create_alert_input( input: &crate::input::CreateAlertInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3) = &input.action { + #[allow(unused_mut)] let mut object_4 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_4, var_3)?; object_4.finish(); @@ -32,6 +33,7 @@ pub fn serialize_structure_crate_input_create_alert_input( object.key("AlertDescription").string(var_5.as_str()); } if let Some(var_6) = &input.alert_filters { + #[allow(unused_mut)] let mut object_7 = object.key("AlertFilters").start_object(); crate::json_ser::serialize_structure_crate_model_alert_filters(&mut object_7, var_6)?; object_7.finish(); @@ -49,6 +51,7 @@ pub fn serialize_structure_crate_input_create_alert_input( object.key("AnomalyDetectorArn").string(var_9.as_str()); } if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("Tags").start_object(); for (key_12, value_13) in var_10 { { @@ -65,6 +68,7 @@ pub fn serialize_structure_crate_input_create_anomaly_detector_input( input: &crate::input::CreateAnomalyDetectorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_14) = &input.anomaly_detector_config { + #[allow(unused_mut)] let mut object_15 = object.key("AnomalyDetectorConfig").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_detector_config( &mut object_15, @@ -84,6 +88,7 @@ pub fn serialize_structure_crate_input_create_anomaly_detector_input( object.key("KmsKeyArn").string(var_18.as_str()); } if let Some(var_19) = &input.tags { + #[allow(unused_mut)] let mut object_20 = object.key("Tags").start_object(); for (key_21, value_22) in var_19 { { @@ -106,6 +111,7 @@ pub fn serialize_structure_crate_input_create_metric_set_input( let mut array_25 = object.key("DimensionFilterList").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_set_dimension_filter( &mut object_27, @@ -129,6 +135,7 @@ pub fn serialize_structure_crate_input_create_metric_set_input( let mut array_32 = object.key("MetricList").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric(&mut object_34, item_33)?; object_34.finish(); @@ -146,6 +153,7 @@ pub fn serialize_structure_crate_input_create_metric_set_input( object.key("MetricSetName").string(var_37.as_str()); } if let Some(var_38) = &input.metric_source { + #[allow(unused_mut)] let mut object_39 = object.key("MetricSource").start_object(); crate::json_ser::serialize_structure_crate_model_metric_source(&mut object_39, var_38)?; object_39.finish(); @@ -157,6 +165,7 @@ pub fn serialize_structure_crate_input_create_metric_set_input( ); } if let Some(var_41) = &input.tags { + #[allow(unused_mut)] let mut object_42 = object.key("Tags").start_object(); for (key_43, value_44) in var_41 { { @@ -166,6 +175,7 @@ pub fn serialize_structure_crate_input_create_metric_set_input( object_42.finish(); } if let Some(var_45) = &input.timestamp_column { + #[allow(unused_mut)] let mut object_46 = object.key("TimestampColumn").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_column(&mut object_46, var_45)?; object_46.finish(); @@ -266,6 +276,7 @@ pub fn serialize_structure_crate_input_detect_metric_set_config_input( object.key("AnomalyDetectorArn").string(var_58.as_str()); } if let Some(var_59) = &input.auto_detection_metric_source { + #[allow(unused_mut)] let mut object_60 = object.key("AutoDetectionMetricSource").start_object(); crate::json_ser::serialize_structure_crate_model_auto_detection_metric_source( &mut object_60, @@ -310,6 +321,7 @@ pub fn serialize_structure_crate_input_get_feedback_input( object.key("AnomalyDetectorArn").string(var_65.as_str()); } if let Some(var_66) = &input.anomaly_group_time_series_feedback { + #[allow(unused_mut)] let mut object_67 = object.key("AnomalyGroupTimeSeriesFeedback").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_group_time_series( &mut object_67, @@ -334,6 +346,7 @@ pub fn serialize_structure_crate_input_get_sample_data_input( input: &crate::input::GetSampleDataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.s3_source_config { + #[allow(unused_mut)] let mut object_71 = object.key("S3SourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_sample_data_s3_source_config( &mut object_71, @@ -481,6 +494,7 @@ pub fn serialize_structure_crate_input_put_feedback_input( object.key("AnomalyDetectorArn").string(var_93.as_str()); } if let Some(var_94) = &input.anomaly_group_time_series_feedback { + #[allow(unused_mut)] let mut object_95 = object.key("AnomalyGroupTimeSeriesFeedback").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_group_time_series_feedback( &mut object_95, @@ -496,6 +510,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_96) = &input.tags { + #[allow(unused_mut)] let mut object_97 = object.key("tags").start_object(); for (key_98, value_99) in var_96 { { @@ -512,6 +527,7 @@ pub fn serialize_structure_crate_input_update_alert_input( input: &crate::input::UpdateAlertInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_100) = &input.action { + #[allow(unused_mut)] let mut object_101 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_101, var_100)?; object_101.finish(); @@ -523,6 +539,7 @@ pub fn serialize_structure_crate_input_update_alert_input( object.key("AlertDescription").string(var_103.as_str()); } if let Some(var_104) = &input.alert_filters { + #[allow(unused_mut)] let mut object_105 = object.key("AlertFilters").start_object(); crate::json_ser::serialize_structure_crate_model_alert_filters(&mut object_105, var_104)?; object_105.finish(); @@ -544,6 +561,7 @@ pub fn serialize_structure_crate_input_update_anomaly_detector_input( object.key("AnomalyDetectorArn").string(var_106.as_str()); } if let Some(var_107) = &input.anomaly_detector_config { + #[allow(unused_mut)] let mut object_108 = object.key("AnomalyDetectorConfig").start_object(); crate::json_ser::serialize_structure_crate_model_anomaly_detector_config( &mut object_108, @@ -570,6 +588,7 @@ pub fn serialize_structure_crate_input_update_metric_set_input( let mut array_112 = object.key("DimensionFilterList").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_set_dimension_filter( &mut object_114, @@ -593,6 +612,7 @@ pub fn serialize_structure_crate_input_update_metric_set_input( let mut array_119 = object.key("MetricList").start_array(); for item_120 in var_118 { { + #[allow(unused_mut)] let mut object_121 = array_119.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric(&mut object_121, item_120)?; object_121.finish(); @@ -610,6 +630,7 @@ pub fn serialize_structure_crate_input_update_metric_set_input( object.key("MetricSetFrequency").string(var_124.as_str()); } if let Some(var_125) = &input.metric_source { + #[allow(unused_mut)] let mut object_126 = object.key("MetricSource").start_object(); crate::json_ser::serialize_structure_crate_model_metric_source(&mut object_126, var_125)?; object_126.finish(); @@ -621,6 +642,7 @@ pub fn serialize_structure_crate_input_update_metric_set_input( ); } if let Some(var_128) = &input.timestamp_column { + #[allow(unused_mut)] let mut object_129 = object.key("TimestampColumn").start_object(); crate::json_ser::serialize_structure_crate_model_timestamp_column( &mut object_129, @@ -636,6 +658,7 @@ pub fn serialize_structure_crate_model_action( input: &crate::model::Action, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_130) = &input.sns_configuration { + #[allow(unused_mut)] let mut object_131 = object.key("SNSConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_sns_configuration( &mut object_131, @@ -644,6 +667,7 @@ pub fn serialize_structure_crate_model_action( object_131.finish(); } if let Some(var_132) = &input.lambda_configuration { + #[allow(unused_mut)] let mut object_133 = object.key("LambdaConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_configuration( &mut object_133, @@ -671,6 +695,7 @@ pub fn serialize_structure_crate_model_alert_filters( let mut array_138 = object.key("DimensionFilterList").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_dimension_filter( &mut object_140, @@ -707,6 +732,7 @@ pub fn serialize_structure_crate_model_metric_set_dimension_filter( let mut array_144 = object.key("FilterList").start_array(); for item_145 in var_143 { { + #[allow(unused_mut)] let mut object_146 = array_144.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_146, item_145)?; object_146.finish(); @@ -738,6 +764,7 @@ pub fn serialize_structure_crate_model_metric_source( input: &crate::model::MetricSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_150) = &input.s3_source_config { + #[allow(unused_mut)] let mut object_151 = object.key("S3SourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source_config( &mut object_151, @@ -746,11 +773,13 @@ pub fn serialize_structure_crate_model_metric_source( object_151.finish(); } if let Some(var_152) = &input.app_flow_config { + #[allow(unused_mut)] let mut object_153 = object.key("AppFlowConfig").start_object(); crate::json_ser::serialize_structure_crate_model_app_flow_config(&mut object_153, var_152)?; object_153.finish(); } if let Some(var_154) = &input.cloud_watch_config { + #[allow(unused_mut)] let mut object_155 = object.key("CloudWatchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_config( &mut object_155, @@ -759,6 +788,7 @@ pub fn serialize_structure_crate_model_metric_source( object_155.finish(); } if let Some(var_156) = &input.rds_source_config { + #[allow(unused_mut)] let mut object_157 = object.key("RDSSourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_rds_source_config( &mut object_157, @@ -767,6 +797,7 @@ pub fn serialize_structure_crate_model_metric_source( object_157.finish(); } if let Some(var_158) = &input.redshift_source_config { + #[allow(unused_mut)] let mut object_159 = object.key("RedshiftSourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_source_config( &mut object_159, @@ -775,6 +806,7 @@ pub fn serialize_structure_crate_model_metric_source( object_159.finish(); } if let Some(var_160) = &input.athena_source_config { + #[allow(unused_mut)] let mut object_161 = object.key("AthenaSourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_athena_source_config( &mut object_161, @@ -803,6 +835,7 @@ pub fn serialize_structure_crate_model_auto_detection_metric_source( input: &crate::model::AutoDetectionMetricSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_164) = &input.s3_source_config { + #[allow(unused_mut)] let mut object_165 = object.key("S3SourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_detection_s3_source_config( &mut object_165, @@ -852,6 +885,7 @@ pub fn serialize_structure_crate_model_sample_data_s3_source_config( array_173.finish(); } if let Some(var_175) = &input.file_format_descriptor { + #[allow(unused_mut)] let mut object_176 = object.key("FileFormatDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_file_format_descriptor( &mut object_176, @@ -965,6 +999,7 @@ pub fn serialize_structure_crate_model_s3_source_config( array_196.finish(); } if let Some(var_198) = &input.file_format_descriptor { + #[allow(unused_mut)] let mut object_199 = object.key("FileFormatDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_file_format_descriptor( &mut object_199, @@ -996,6 +1031,7 @@ pub fn serialize_structure_crate_model_cloud_watch_config( object.key("RoleArn").string(var_202.as_str()); } if let Some(var_203) = &input.back_test_configuration { + #[allow(unused_mut)] let mut object_204 = object.key("BackTestConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_back_test_configuration( &mut object_204, @@ -1035,6 +1071,7 @@ pub fn serialize_structure_crate_model_rds_source_config( object.key("RoleArn").string(var_211.as_str()); } if let Some(var_212) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_213 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration( &mut object_213, @@ -1074,6 +1111,7 @@ pub fn serialize_structure_crate_model_redshift_source_config( object.key("RoleArn").string(var_220.as_str()); } if let Some(var_221) = &input.vpc_configuration { + #[allow(unused_mut)] let mut object_222 = object.key("VpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_configuration( &mut object_222, @@ -1107,6 +1145,7 @@ pub fn serialize_structure_crate_model_athena_source_config( object.key("S3ResultsPath").string(var_228.as_str()); } if let Some(var_229) = &input.back_test_configuration { + #[allow(unused_mut)] let mut object_230 = object.key("BackTestConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_back_test_configuration( &mut object_230, @@ -1147,6 +1186,7 @@ pub fn serialize_structure_crate_model_file_format_descriptor( input: &crate::model::FileFormatDescriptor, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_237) = &input.csv_format_descriptor { + #[allow(unused_mut)] let mut object_238 = object.key("CsvFormatDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_csv_format_descriptor( &mut object_238, @@ -1155,6 +1195,7 @@ pub fn serialize_structure_crate_model_file_format_descriptor( object_238.finish(); } if let Some(var_239) = &input.json_format_descriptor { + #[allow(unused_mut)] let mut object_240 = object.key("JsonFormatDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_json_format_descriptor( &mut object_240, diff --git a/sdk/lookoutvision/src/json_ser.rs b/sdk/lookoutvision/src/json_ser.rs index 2d77166586b0..9409071fed25 100644 --- a/sdk/lookoutvision/src/json_ser.rs +++ b/sdk/lookoutvision/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( input: &crate::input::CreateDatasetInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.dataset_source { + #[allow(unused_mut)] let mut object_2 = object.key("DatasetSource").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_source(&mut object_2, var_1)?; object_2.finish(); @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_create_model_input( object.key("KmsKeyId").string(var_5.as_str()); } if let Some(var_6) = &input.output_config { + #[allow(unused_mut)] let mut object_7 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_7, var_6)?; object_7.finish(); @@ -33,6 +35,7 @@ pub fn serialize_structure_crate_input_create_model_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -77,6 +80,7 @@ pub fn serialize_structure_crate_input_start_model_packaging_job_input( input: &crate::input::StartModelPackagingJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.configuration { + #[allow(unused_mut)] let mut object_16 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_model_packaging_configuration( &mut object_16, @@ -104,6 +108,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -131,6 +136,7 @@ pub fn serialize_structure_crate_model_dataset_source( input: &crate::model::DatasetSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_25) = &input.ground_truth_manifest { + #[allow(unused_mut)] let mut object_26 = object.key("GroundTruthManifest").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_ground_truth_manifest( &mut object_26, @@ -146,6 +152,7 @@ pub fn serialize_structure_crate_model_output_config( input: &crate::model::OutputConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_27) = &input.s3_location { + #[allow(unused_mut)] let mut object_28 = object.key("S3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_28, var_27)?; object_28.finish(); @@ -171,6 +178,7 @@ pub fn serialize_structure_crate_model_model_packaging_configuration( input: &crate::model::ModelPackagingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_31) = &input.greengrass { + #[allow(unused_mut)] let mut object_32 = object.key("Greengrass").start_object(); crate::json_ser::serialize_structure_crate_model_greengrass_configuration( &mut object_32, @@ -186,6 +194,7 @@ pub fn serialize_structure_crate_model_dataset_ground_truth_manifest( input: &crate::model::DatasetGroundTruthManifest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_33) = &input.s3_object { + #[allow(unused_mut)] let mut object_34 = object.key("S3Object").start_object(); crate::json_ser::serialize_structure_crate_model_input_s3_object(&mut object_34, var_33)?; object_34.finish(); @@ -217,11 +226,13 @@ pub fn serialize_structure_crate_model_greengrass_configuration( object.key("TargetDevice").string(var_38.as_str()); } if let Some(var_39) = &input.target_platform { + #[allow(unused_mut)] let mut object_40 = object.key("TargetPlatform").start_object(); crate::json_ser::serialize_structure_crate_model_target_platform(&mut object_40, var_39)?; object_40.finish(); } if let Some(var_41) = &input.s3_output_location { + #[allow(unused_mut)] let mut object_42 = object.key("S3OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_42, var_41)?; object_42.finish(); @@ -239,6 +250,7 @@ pub fn serialize_structure_crate_model_greengrass_configuration( let mut array_47 = object.key("Tags").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_49, item_48)?; object_49.finish(); diff --git a/sdk/m2/src/json_ser.rs b/sdk/m2/src/json_ser.rs index 4326ae91d0be..6ec1999331d9 100644 --- a/sdk/m2/src/json_ser.rs +++ b/sdk/m2/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("clientToken").string(var_1.as_str()); } if let Some(var_2) = &input.definition { + #[allow(unused_mut)] let mut object_3 = object.key("definition").start_object(); crate::json_ser::serialize_union_crate_model_definition(&mut object_3, var_2)?; object_3.finish(); @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("name").string(var_6.as_str()); } if let Some(var_7) = &input.tags { + #[allow(unused_mut)] let mut object_8 = object.key("tags").start_object(); for (key_9, value_10) in var_7 { { @@ -40,6 +42,7 @@ pub fn serialize_structure_crate_input_create_data_set_import_task_input( object.key("clientToken").string(var_11.as_str()); } if let Some(var_12) = &input.import_config { + #[allow(unused_mut)] let mut object_13 = object.key("importConfig").start_object(); crate::json_ser::serialize_union_crate_model_data_set_import_config( &mut object_13, @@ -86,6 +89,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("engineVersion").string(var_20.as_str()); } if let Some(var_21) = &input.high_availability_config { + #[allow(unused_mut)] let mut object_22 = object.key("highAvailabilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_high_availability_config( &mut object_22, @@ -122,6 +126,7 @@ pub fn serialize_structure_crate_input_create_environment_input( let mut array_30 = object.key("storageConfigurations").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_union_crate_model_storage_configuration( &mut object_32, @@ -142,6 +147,7 @@ pub fn serialize_structure_crate_input_create_environment_input( array_34.finish(); } if let Some(var_36) = &input.tags { + #[allow(unused_mut)] let mut object_37 = object.key("tags").start_object(); for (key_38, value_39) in var_36 { { @@ -158,11 +164,13 @@ pub fn serialize_structure_crate_input_start_batch_job_input( input: &crate::input::StartBatchJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_40) = &input.batch_job_identifier { + #[allow(unused_mut)] let mut object_41 = object.key("batchJobIdentifier").start_object(); crate::json_ser::serialize_union_crate_model_batch_job_identifier(&mut object_41, var_40)?; object_41.finish(); } if let Some(var_42) = &input.job_params { + #[allow(unused_mut)] let mut object_43 = object.key("jobParams").start_object(); for (key_44, value_45) in var_42 { { @@ -189,6 +197,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.tags { + #[allow(unused_mut)] let mut object_47 = object.key("tags").start_object(); for (key_48, value_49) in var_46 { { @@ -211,6 +220,7 @@ pub fn serialize_structure_crate_input_update_application_input( ); } if let Some(var_51) = &input.definition { + #[allow(unused_mut)] let mut object_52 = object.key("definition").start_object(); crate::json_ser::serialize_union_crate_model_definition(&mut object_52, var_51)?; object_52.finish(); @@ -284,6 +294,7 @@ pub fn serialize_union_crate_model_data_set_import_config( let mut array_58 = object_13.key("dataSets").start_array(); for item_59 in inner { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_set_import_item( &mut object_60, @@ -324,6 +335,7 @@ pub fn serialize_union_crate_model_storage_configuration( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::StorageConfiguration::Efs(inner) => { + #[allow(unused_mut)] let mut object_62 = object_32.key("efs").start_object(); crate::json_ser::serialize_structure_crate_model_efs_storage_configuration( &mut object_62, @@ -332,6 +344,7 @@ pub fn serialize_union_crate_model_storage_configuration( object_62.finish(); } crate::model::StorageConfiguration::Fsx(inner) => { + #[allow(unused_mut)] let mut object_63 = object_32.key("fsx").start_object(); crate::json_ser::serialize_structure_crate_model_fsx_storage_configuration( &mut object_63, @@ -356,6 +369,7 @@ pub fn serialize_union_crate_model_batch_job_identifier( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::BatchJobIdentifier::FileBatchJobIdentifier(inner) => { + #[allow(unused_mut)] let mut object_64 = object_41.key("fileBatchJobIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_file_batch_job_identifier( &mut object_64, @@ -364,6 +378,7 @@ pub fn serialize_union_crate_model_batch_job_identifier( object_64.finish(); } crate::model::BatchJobIdentifier::ScriptBatchJobIdentifier(inner) => { + #[allow(unused_mut)] let mut object_65 = object_41.key("scriptBatchJobIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_script_batch_job_identifier( &mut object_65, @@ -387,11 +402,13 @@ pub fn serialize_structure_crate_model_data_set_import_item( input: &crate::model::DataSetImportItem, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.data_set { + #[allow(unused_mut)] let mut object_67 = object.key("dataSet").start_object(); crate::json_ser::serialize_structure_crate_model_data_set(&mut object_67, var_66)?; object_67.finish(); } if let Some(var_68) = &input.external_location { + #[allow(unused_mut)] let mut object_69 = object.key("externalLocation").start_object(); crate::json_ser::serialize_union_crate_model_external_location(&mut object_69, var_68)?; object_69.finish(); @@ -459,6 +476,7 @@ pub fn serialize_structure_crate_model_data_set( object.key("datasetName").string(var_78.as_str()); } if let Some(var_79) = &input.dataset_org { + #[allow(unused_mut)] let mut object_80 = object.key("datasetOrg").start_object(); crate::json_ser::serialize_union_crate_model_dataset_org_attributes( &mut object_80, @@ -470,6 +488,7 @@ pub fn serialize_structure_crate_model_data_set( object.key("relativePath").string(var_81.as_str()); } if let Some(var_82) = &input.record_length { + #[allow(unused_mut)] let mut object_83 = object.key("recordLength").start_object(); crate::json_ser::serialize_structure_crate_model_record_length(&mut object_83, var_82)?; object_83.finish(); @@ -502,6 +521,7 @@ pub fn serialize_union_crate_model_dataset_org_attributes( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::DatasetOrgAttributes::Vsam(inner) => { + #[allow(unused_mut)] let mut object_84 = object_80.key("vsam").start_object(); crate::json_ser::serialize_structure_crate_model_vsam_attributes( &mut object_84, @@ -510,6 +530,7 @@ pub fn serialize_union_crate_model_dataset_org_attributes( object_84.finish(); } crate::model::DatasetOrgAttributes::Gdg(inner) => { + #[allow(unused_mut)] let mut object_85 = object_80.key("gdg").start_object(); crate::json_ser::serialize_structure_crate_model_gdg_attributes(&mut object_85, inner)?; object_85.finish(); @@ -558,6 +579,7 @@ pub fn serialize_structure_crate_model_vsam_attributes( object.key("compressed").boolean(input.compressed); } if let Some(var_88) = &input.primary_key { + #[allow(unused_mut)] let mut object_89 = object.key("primaryKey").start_object(); crate::json_ser::serialize_structure_crate_model_primary_key(&mut object_89, var_88)?; object_89.finish(); @@ -566,6 +588,7 @@ pub fn serialize_structure_crate_model_vsam_attributes( let mut array_91 = object.key("alternateKeys").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_alternate_key( &mut object_93, diff --git a/sdk/machinelearning/src/json_ser.rs b/sdk/machinelearning/src/json_ser.rs index 198f49057c6f..56f25a4c2eaf 100644 --- a/sdk/machinelearning/src/json_ser.rs +++ b/sdk/machinelearning/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_2 = object.key("Tags").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_4, item_3)?; object_4.finish(); @@ -58,6 +59,7 @@ pub fn serialize_structure_crate_input_create_data_source_from_rds_input( object.key("DataSourceName").string(var_13.as_str()); } if let Some(var_14) = &input.rds_data { + #[allow(unused_mut)] let mut object_15 = object.key("RDSData").start_object(); crate::json_ser::serialize_structure_crate_model_rds_data_spec(&mut object_15, var_14)?; object_15.finish(); @@ -84,6 +86,7 @@ pub fn serialize_structure_crate_input_create_data_source_from_redshift_input( object.key("DataSourceName").string(var_18.as_str()); } if let Some(var_19) = &input.data_spec { + #[allow(unused_mut)] let mut object_20 = object.key("DataSpec").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_data_spec( &mut object_20, @@ -113,6 +116,7 @@ pub fn serialize_structure_crate_input_create_data_source_from_s3_input( object.key("DataSourceName").string(var_23.as_str()); } if let Some(var_24) = &input.data_spec { + #[allow(unused_mut)] let mut object_25 = object.key("DataSpec").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_spec(&mut object_25, var_24)?; object_25.finish(); @@ -158,6 +162,7 @@ pub fn serialize_structure_crate_input_create_ml_model_input( object.key("MLModelType").string(var_32.as_str()); } if let Some(var_33) = &input.parameters { + #[allow(unused_mut)] let mut object_34 = object.key("Parameters").start_object(); for (key_35, value_36) in var_33 { { @@ -499,6 +504,7 @@ pub fn serialize_structure_crate_input_predict_input( object.key("MLModelId").string(var_101.as_str()); } if let Some(var_102) = &input.record { + #[allow(unused_mut)] let mut object_103 = object.key("Record").start_object(); for (key_104, value_105) in var_102 { { @@ -589,6 +595,7 @@ pub fn serialize_structure_crate_model_rds_data_spec( input: &crate::model::RdsDataSpec, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_118) = &input.database_information { + #[allow(unused_mut)] let mut object_119 = object.key("DatabaseInformation").start_object(); crate::json_ser::serialize_structure_crate_model_rds_database(&mut object_119, var_118)?; object_119.finish(); @@ -597,6 +604,7 @@ pub fn serialize_structure_crate_model_rds_data_spec( object.key("SelectSqlQuery").string(var_120.as_str()); } if let Some(var_121) = &input.database_credentials { + #[allow(unused_mut)] let mut object_122 = object.key("DatabaseCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_rds_database_credentials( &mut object_122, @@ -642,6 +650,7 @@ pub fn serialize_structure_crate_model_redshift_data_spec( input: &crate::model::RedshiftDataSpec, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_133) = &input.database_information { + #[allow(unused_mut)] let mut object_134 = object.key("DatabaseInformation").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_database( &mut object_134, @@ -653,6 +662,7 @@ pub fn serialize_structure_crate_model_redshift_data_spec( object.key("SelectSqlQuery").string(var_135.as_str()); } if let Some(var_136) = &input.database_credentials { + #[allow(unused_mut)] let mut object_137 = object.key("DatabaseCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_database_credentials( &mut object_137, diff --git a/sdk/macie/src/json_ser.rs b/sdk/macie/src/json_ser.rs index 664c36830a02..0d76901f8d44 100644 --- a/sdk/macie/src/json_ser.rs +++ b/sdk/macie/src/json_ser.rs @@ -20,6 +20,7 @@ pub fn serialize_structure_crate_input_associate_s3_resources_input( let mut array_4 = object.key("s3Resources").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_resource_classification( &mut object_6, @@ -54,6 +55,7 @@ pub fn serialize_structure_crate_input_disassociate_s3_resources_input( let mut array_10 = object.key("associatedS3Resources").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_resource( &mut object_12, @@ -113,6 +115,7 @@ pub fn serialize_structure_crate_input_update_s3_resources_input( let mut array_20 = object.key("s3ResourcesUpdate").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_resource_classification_update( &mut object_22, @@ -137,6 +140,7 @@ pub fn serialize_structure_crate_model_s3_resource_classification( object.key("prefix").string(var_24.as_str()); } if let Some(var_25) = &input.classification_type { + #[allow(unused_mut)] let mut object_26 = object.key("classificationType").start_object(); crate::json_ser::serialize_structure_crate_model_classification_type( &mut object_26, @@ -171,6 +175,7 @@ pub fn serialize_structure_crate_model_s3_resource_classification_update( object.key("prefix").string(var_30.as_str()); } if let Some(var_31) = &input.classification_type_update { + #[allow(unused_mut)] let mut object_32 = object.key("classificationTypeUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_classification_type_update( &mut object_32, diff --git a/sdk/macie2/src/json_ser.rs b/sdk/macie2/src/json_ser.rs index 80a1594ea055..bae980dc3a7a 100644 --- a/sdk/macie2/src/json_ser.rs +++ b/sdk/macie2/src/json_ser.rs @@ -39,6 +39,7 @@ pub fn serialize_structure_crate_input_create_allow_list_input( object.key("clientToken").string(var_7.as_str()); } if let Some(var_8) = &input.criteria { + #[allow(unused_mut)] let mut object_9 = object.key("criteria").start_object(); crate::json_ser::serialize_structure_crate_model_allow_list_criteria(&mut object_9, var_8)?; object_9.finish(); @@ -50,6 +51,7 @@ pub fn serialize_structure_crate_input_create_allow_list_input( object.key("name").string(var_11.as_str()); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -113,6 +115,7 @@ pub fn serialize_structure_crate_input_create_classification_job_input( object.key("name").string(var_29.as_str()); } if let Some(var_30) = &input.s3_job_definition { + #[allow(unused_mut)] let mut object_31 = object.key("s3JobDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_s3_job_definition(&mut object_31, var_30)?; object_31.finish(); @@ -124,6 +127,7 @@ pub fn serialize_structure_crate_input_create_classification_job_input( ); } if let Some(var_32) = &input.schedule_frequency { + #[allow(unused_mut)] let mut object_33 = object.key("scheduleFrequency").start_object(); crate::json_ser::serialize_structure_crate_model_job_schedule_frequency( &mut object_33, @@ -132,6 +136,7 @@ pub fn serialize_structure_crate_input_create_classification_job_input( object_33.finish(); } if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("tags").start_object(); for (key_36, value_37) in var_34 { { @@ -187,6 +192,7 @@ pub fn serialize_structure_crate_input_create_custom_data_identifier_input( let mut array_49 = object.key("severityLevels").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_severity_level( &mut object_51, @@ -198,6 +204,7 @@ pub fn serialize_structure_crate_input_create_custom_data_identifier_input( array_49.finish(); } if let Some(var_52) = &input.tags { + #[allow(unused_mut)] let mut object_53 = object.key("tags").start_object(); for (key_54, value_55) in var_52 { { @@ -223,6 +230,7 @@ pub fn serialize_structure_crate_input_create_findings_filter_input( object.key("description").string(var_58.as_str()); } if let Some(var_59) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_60 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria(&mut object_60, var_59)?; object_60.finish(); @@ -237,6 +245,7 @@ pub fn serialize_structure_crate_input_create_findings_filter_input( ); } if let Some(var_62) = &input.tags { + #[allow(unused_mut)] let mut object_63 = object.key("tags").start_object(); for (key_64, value_65) in var_62 { { @@ -277,11 +286,13 @@ pub fn serialize_structure_crate_input_create_member_input( input: &crate::input::CreateMemberInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.account { + #[allow(unused_mut)] let mut object_71 = object.key("account").start_object(); crate::json_ser::serialize_structure_crate_model_account_detail(&mut object_71, var_70)?; object_71.finish(); } if let Some(var_72) = &input.tags { + #[allow(unused_mut)] let mut object_73 = object.key("tags").start_object(); for (key_74, value_75) in var_72 { { @@ -346,9 +357,11 @@ pub fn serialize_structure_crate_input_describe_buckets_input( input: &crate::input::DescribeBucketsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_85) = &input.criteria { + #[allow(unused_mut)] let mut object_86 = object.key("criteria").start_object(); for (key_87, value_88) in var_85 { { + #[allow(unused_mut)] let mut object_89 = object_86.key(key_87.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_bucket_criteria_additional_properties(&mut object_89, value_88)?; object_89.finish(); @@ -366,6 +379,7 @@ pub fn serialize_structure_crate_input_describe_buckets_input( object.key("nextToken").string(var_90.as_str()); } if let Some(var_91) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_92 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_bucket_sort_criteria( &mut object_92, @@ -431,6 +445,7 @@ pub fn serialize_structure_crate_input_get_findings_input( array_100.finish(); } if let Some(var_102) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_103 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_103, var_102)?; object_103.finish(); @@ -443,6 +458,7 @@ pub fn serialize_structure_crate_input_get_finding_statistics_input( input: &crate::input::GetFindingStatisticsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_104) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_105 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria( &mut object_105, @@ -460,6 +476,7 @@ pub fn serialize_structure_crate_input_get_finding_statistics_input( ); } if let Some(var_107) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_108 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_statistics_sort_criteria( &mut object_108, @@ -478,6 +495,7 @@ pub fn serialize_structure_crate_input_get_usage_statistics_input( let mut array_110 = object.key("filterBy").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_usage_statistics_filter( &mut object_112, @@ -498,6 +516,7 @@ pub fn serialize_structure_crate_input_get_usage_statistics_input( object.key("nextToken").string(var_113.as_str()); } if let Some(var_114) = &input.sort_by { + #[allow(unused_mut)] let mut object_115 = object.key("sortBy").start_object(); crate::json_ser::serialize_structure_crate_model_usage_statistics_sort_by( &mut object_115, @@ -516,6 +535,7 @@ pub fn serialize_structure_crate_input_list_classification_jobs_input( input: &crate::input::ListClassificationJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_117) = &input.filter_criteria { + #[allow(unused_mut)] let mut object_118 = object.key("filterCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_list_jobs_filter_criteria( &mut object_118, @@ -533,6 +553,7 @@ pub fn serialize_structure_crate_input_list_classification_jobs_input( object.key("nextToken").string(var_119.as_str()); } if let Some(var_120) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_121 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_list_jobs_sort_criteria( &mut object_121, @@ -564,6 +585,7 @@ pub fn serialize_structure_crate_input_list_findings_input( input: &crate::input::ListFindingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_123) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_124 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria( &mut object_124, @@ -581,6 +603,7 @@ pub fn serialize_structure_crate_input_list_findings_input( object.key("nextToken").string(var_125.as_str()); } if let Some(var_126) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_127 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_sort_criteria(&mut object_127, var_126)?; object_127.finish(); @@ -603,6 +626,7 @@ pub fn serialize_structure_crate_input_put_classification_export_configuration_i input: &crate::input::PutClassificationExportConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_129) = &input.configuration { + #[allow(unused_mut)] let mut object_130 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_classification_export_configuration( &mut object_130, @@ -621,6 +645,7 @@ pub fn serialize_structure_crate_input_put_findings_publication_configuration_in object.key("clientToken").string(var_131.as_str()); } if let Some(var_132) = &input.security_hub_configuration { + #[allow(unused_mut)] let mut object_133 = object.key("securityHubConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_security_hub_configuration( &mut object_133, @@ -636,6 +661,7 @@ pub fn serialize_structure_crate_input_search_resources_input( input: &crate::input::SearchResourcesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_134) = &input.bucket_criteria { + #[allow(unused_mut)] let mut object_135 = object.key("bucketCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_bucket_criteria( &mut object_135, @@ -653,6 +679,7 @@ pub fn serialize_structure_crate_input_search_resources_input( object.key("nextToken").string(var_136.as_str()); } if let Some(var_137) = &input.sort_criteria { + #[allow(unused_mut)] let mut object_138 = object.key("sortCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_sort_criteria( &mut object_138, @@ -668,6 +695,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_139) = &input.tags { + #[allow(unused_mut)] let mut object_140 = object.key("tags").start_object(); for (key_141, value_142) in var_139 { { @@ -721,6 +749,7 @@ pub fn serialize_structure_crate_input_update_allow_list_input( input: &crate::input::UpdateAllowListInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_151) = &input.criteria { + #[allow(unused_mut)] let mut object_152 = object.key("criteria").start_object(); crate::json_ser::serialize_structure_crate_model_allow_list_criteria( &mut object_152, @@ -761,6 +790,7 @@ pub fn serialize_structure_crate_input_update_findings_filter_input( object.key("description").string(var_158.as_str()); } if let Some(var_159) = &input.finding_criteria { + #[allow(unused_mut)] let mut object_160 = object.key("findingCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_finding_criteria( &mut object_160, @@ -820,6 +850,7 @@ pub fn serialize_structure_crate_input_update_reveal_configuration_input( input: &crate::input::UpdateRevealConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_165) = &input.configuration { + #[allow(unused_mut)] let mut object_166 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_reveal_configuration( &mut object_166, @@ -838,6 +869,7 @@ pub fn serialize_structure_crate_model_allow_list_criteria( object.key("regex").string(var_167.as_str()); } if let Some(var_168) = &input.s3_words_list { + #[allow(unused_mut)] let mut object_169 = object.key("s3WordsList").start_object(); crate::json_ser::serialize_structure_crate_model_s3_words_list(&mut object_169, var_168)?; object_169.finish(); @@ -853,6 +885,7 @@ pub fn serialize_structure_crate_model_s3_job_definition( let mut array_171 = object.key("bucketDefinitions").start_array(); for item_172 in var_170 { { + #[allow(unused_mut)] let mut object_173 = array_171.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_definition_for_job( &mut object_173, @@ -864,11 +897,13 @@ pub fn serialize_structure_crate_model_s3_job_definition( array_171.finish(); } if let Some(var_174) = &input.scoping { + #[allow(unused_mut)] let mut object_175 = object.key("scoping").start_object(); crate::json_ser::serialize_structure_crate_model_scoping(&mut object_175, var_174)?; object_175.finish(); } if let Some(var_176) = &input.bucket_criteria { + #[allow(unused_mut)] let mut object_177 = object.key("bucketCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_s3_bucket_criteria_for_job( &mut object_177, @@ -884,11 +919,13 @@ pub fn serialize_structure_crate_model_job_schedule_frequency( input: &crate::model::JobScheduleFrequency, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_178) = &input.daily_schedule { + #[allow(unused_mut)] let mut object_179 = object.key("dailySchedule").start_object(); crate::json_ser::serialize_structure_crate_model_daily_schedule(&mut object_179, var_178)?; object_179.finish(); } if let Some(var_180) = &input.monthly_schedule { + #[allow(unused_mut)] let mut object_181 = object.key("monthlySchedule").start_object(); crate::json_ser::serialize_structure_crate_model_monthly_schedule( &mut object_181, @@ -897,6 +934,7 @@ pub fn serialize_structure_crate_model_job_schedule_frequency( object_181.finish(); } if let Some(var_182) = &input.weekly_schedule { + #[allow(unused_mut)] let mut object_183 = object.key("weeklySchedule").start_object(); crate::json_ser::serialize_structure_crate_model_weekly_schedule(&mut object_183, var_182)?; object_183.finish(); @@ -925,9 +963,11 @@ pub fn serialize_structure_crate_model_finding_criteria( input: &crate::model::FindingCriteria, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_185) = &input.criterion { + #[allow(unused_mut)] let mut object_186 = object.key("criterion").start_object(); for (key_187, value_188) in var_185 { { + #[allow(unused_mut)] let mut object_189 = object_186.key(key_187.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_criterion_additional_properties( &mut object_189, @@ -1088,6 +1128,7 @@ pub fn serialize_structure_crate_model_list_jobs_filter_criteria( let mut array_213 = object.key("excludes").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_list_jobs_filter_term( &mut object_215, @@ -1102,6 +1143,7 @@ pub fn serialize_structure_crate_model_list_jobs_filter_criteria( let mut array_217 = object.key("includes").start_array(); for item_218 in var_216 { { + #[allow(unused_mut)] let mut object_219 = array_217.value().start_object(); crate::json_ser::serialize_structure_crate_model_list_jobs_filter_term( &mut object_219, @@ -1133,6 +1175,7 @@ pub fn serialize_structure_crate_model_classification_export_configuration( input: &crate::model::ClassificationExportConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_222) = &input.s3_destination { + #[allow(unused_mut)] let mut object_223 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination(&mut object_223, var_222)?; object_223.finish(); @@ -1162,6 +1205,7 @@ pub fn serialize_structure_crate_model_search_resources_bucket_criteria( input: &crate::model::SearchResourcesBucketCriteria, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_224) = &input.excludes { + #[allow(unused_mut)] let mut object_225 = object.key("excludes").start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_criteria_block( &mut object_225, @@ -1170,6 +1214,7 @@ pub fn serialize_structure_crate_model_search_resources_bucket_criteria( object_225.finish(); } if let Some(var_226) = &input.includes { + #[allow(unused_mut)] let mut object_227 = object.key("includes").start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_criteria_block( &mut object_227, @@ -1243,6 +1288,7 @@ pub fn serialize_structure_crate_model_scoping( input: &crate::model::Scoping, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_238) = &input.excludes { + #[allow(unused_mut)] let mut object_239 = object.key("excludes").start_object(); crate::json_ser::serialize_structure_crate_model_job_scoping_block( &mut object_239, @@ -1251,6 +1297,7 @@ pub fn serialize_structure_crate_model_scoping( object_239.finish(); } if let Some(var_240) = &input.includes { + #[allow(unused_mut)] let mut object_241 = object.key("includes").start_object(); crate::json_ser::serialize_structure_crate_model_job_scoping_block( &mut object_241, @@ -1266,6 +1313,7 @@ pub fn serialize_structure_crate_model_s3_bucket_criteria_for_job( input: &crate::model::S3BucketCriteriaForJob, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_242) = &input.excludes { + #[allow(unused_mut)] let mut object_243 = object.key("excludes").start_object(); crate::json_ser::serialize_structure_crate_model_criteria_block_for_job( &mut object_243, @@ -1274,6 +1322,7 @@ pub fn serialize_structure_crate_model_s3_bucket_criteria_for_job( object_243.finish(); } if let Some(var_244) = &input.includes { + #[allow(unused_mut)] let mut object_245 = object.key("includes").start_object(); crate::json_ser::serialize_structure_crate_model_criteria_block_for_job( &mut object_245, @@ -1419,6 +1468,7 @@ pub fn serialize_structure_crate_model_search_resources_criteria_block( let mut array_265 = object.key("and").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_criteria( &mut object_267, @@ -1440,6 +1490,7 @@ pub fn serialize_structure_crate_model_job_scoping_block( let mut array_269 = object.key("and").start_array(); for item_270 in var_268 { { + #[allow(unused_mut)] let mut object_271 = array_269.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_scope_term( &mut object_271, @@ -1461,6 +1512,7 @@ pub fn serialize_structure_crate_model_criteria_block_for_job( let mut array_273 = object.key("and").start_array(); for item_274 in var_272 { { + #[allow(unused_mut)] let mut object_275 = array_273.value().start_object(); crate::json_ser::serialize_structure_crate_model_criteria_for_job( &mut object_275, @@ -1479,6 +1531,7 @@ pub fn serialize_structure_crate_model_search_resources_criteria( input: &crate::model::SearchResourcesCriteria, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_276) = &input.simple_criterion { + #[allow(unused_mut)] let mut object_277 = object.key("simpleCriterion").start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_simple_criterion( &mut object_277, @@ -1487,6 +1540,7 @@ pub fn serialize_structure_crate_model_search_resources_criteria( object_277.finish(); } if let Some(var_278) = &input.tag_criterion { + #[allow(unused_mut)] let mut object_279 = object.key("tagCriterion").start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_tag_criterion( &mut object_279, @@ -1502,6 +1556,7 @@ pub fn serialize_structure_crate_model_job_scope_term( input: &crate::model::JobScopeTerm, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_280) = &input.simple_scope_term { + #[allow(unused_mut)] let mut object_281 = object.key("simpleScopeTerm").start_object(); crate::json_ser::serialize_structure_crate_model_simple_scope_term( &mut object_281, @@ -1510,6 +1565,7 @@ pub fn serialize_structure_crate_model_job_scope_term( object_281.finish(); } if let Some(var_282) = &input.tag_scope_term { + #[allow(unused_mut)] let mut object_283 = object.key("tagScopeTerm").start_object(); crate::json_ser::serialize_structure_crate_model_tag_scope_term(&mut object_283, var_282)?; object_283.finish(); @@ -1522,6 +1578,7 @@ pub fn serialize_structure_crate_model_criteria_for_job( input: &crate::model::CriteriaForJob, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_284) = &input.simple_criterion { + #[allow(unused_mut)] let mut object_285 = object.key("simpleCriterion").start_object(); crate::json_ser::serialize_structure_crate_model_simple_criterion_for_job( &mut object_285, @@ -1530,6 +1587,7 @@ pub fn serialize_structure_crate_model_criteria_for_job( object_285.finish(); } if let Some(var_286) = &input.tag_criterion { + #[allow(unused_mut)] let mut object_287 = object.key("tagCriterion").start_object(); crate::json_ser::serialize_structure_crate_model_tag_criterion_for_job( &mut object_287, @@ -1573,6 +1631,7 @@ pub fn serialize_structure_crate_model_search_resources_tag_criterion( let mut array_295 = object.key("tagValues").start_array(); for item_296 in var_294 { { + #[allow(unused_mut)] let mut object_297 = array_295.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_resources_tag_criterion_pair(&mut object_297, item_296)?; object_297.finish(); @@ -1619,6 +1678,7 @@ pub fn serialize_structure_crate_model_tag_scope_term( let mut array_306 = object.key("tagValues").start_array(); for item_307 in var_305 { { + #[allow(unused_mut)] let mut object_308 = array_306.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_value_pair( &mut object_308, @@ -1668,6 +1728,7 @@ pub fn serialize_structure_crate_model_tag_criterion_for_job( let mut array_317 = object.key("tagValues").start_array(); for item_318 in var_316 { { + #[allow(unused_mut)] let mut object_319 = array_317.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_criterion_pair_for_job( &mut object_319, diff --git a/sdk/managedblockchain/src/json_ser.rs b/sdk/managedblockchain/src/json_ser.rs index 10b58c904864..c727bde27fc4 100644 --- a/sdk/managedblockchain/src/json_ser.rs +++ b/sdk/managedblockchain/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_member_input( object.key("InvitationId").string(var_2.as_str()); } if let Some(var_3) = &input.member_configuration { + #[allow(unused_mut)] let mut object_4 = object.key("MemberConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_member_configuration( &mut object_4, @@ -34,6 +35,7 @@ pub fn serialize_structure_crate_input_create_network_input( object.key("Framework").string(var_7.as_str()); } if let Some(var_8) = &input.framework_configuration { + #[allow(unused_mut)] let mut object_9 = object.key("FrameworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_framework_configuration( &mut object_9, @@ -45,6 +47,7 @@ pub fn serialize_structure_crate_input_create_network_input( object.key("FrameworkVersion").string(var_10.as_str()); } if let Some(var_11) = &input.member_configuration { + #[allow(unused_mut)] let mut object_12 = object.key("MemberConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_member_configuration( &mut object_12, @@ -56,6 +59,7 @@ pub fn serialize_structure_crate_input_create_network_input( object.key("Name").string(var_13.as_str()); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("Tags").start_object(); for (key_16, value_17) in var_14 { { @@ -65,6 +69,7 @@ pub fn serialize_structure_crate_input_create_network_input( object_15.finish(); } if let Some(var_18) = &input.voting_policy { + #[allow(unused_mut)] let mut object_19 = object.key("VotingPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_voting_policy(&mut object_19, var_18)?; object_19.finish(); @@ -83,6 +88,7 @@ pub fn serialize_structure_crate_input_create_node_input( object.key("MemberId").string(var_21.as_str()); } if let Some(var_22) = &input.node_configuration { + #[allow(unused_mut)] let mut object_23 = object.key("NodeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_node_configuration( &mut object_23, @@ -91,6 +97,7 @@ pub fn serialize_structure_crate_input_create_node_input( object_23.finish(); } if let Some(var_24) = &input.tags { + #[allow(unused_mut)] let mut object_25 = object.key("Tags").start_object(); for (key_26, value_27) in var_24 { { @@ -107,6 +114,7 @@ pub fn serialize_structure_crate_input_create_proposal_input( input: &crate::input::CreateProposalInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_28) = &input.actions { + #[allow(unused_mut)] let mut object_29 = object.key("Actions").start_object(); crate::json_ser::serialize_structure_crate_model_proposal_actions(&mut object_29, var_28)?; object_29.finish(); @@ -121,6 +129,7 @@ pub fn serialize_structure_crate_input_create_proposal_input( object.key("MemberId").string(var_32.as_str()); } if let Some(var_33) = &input.tags { + #[allow(unused_mut)] let mut object_34 = object.key("Tags").start_object(); for (key_35, value_36) in var_33 { { @@ -137,6 +146,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_37) = &input.tags { + #[allow(unused_mut)] let mut object_38 = object.key("Tags").start_object(); for (key_39, value_40) in var_37 { { @@ -153,6 +163,7 @@ pub fn serialize_structure_crate_input_update_member_input( input: &crate::input::UpdateMemberInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.log_publishing_configuration { + #[allow(unused_mut)] let mut object_42 = object.key("LogPublishingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_member_log_publishing_configuration( &mut object_42, @@ -168,6 +179,7 @@ pub fn serialize_structure_crate_input_update_node_input( input: &crate::input::UpdateNodeInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_43) = &input.log_publishing_configuration { + #[allow(unused_mut)] let mut object_44 = object.key("LogPublishingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_node_log_publishing_configuration( &mut object_44, @@ -205,6 +217,7 @@ pub fn serialize_structure_crate_model_member_configuration( object.key("Description").string(var_49.as_str()); } if let Some(var_50) = &input.framework_configuration { + #[allow(unused_mut)] let mut object_51 = object.key("FrameworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_member_framework_configuration( &mut object_51, @@ -213,6 +226,7 @@ pub fn serialize_structure_crate_model_member_configuration( object_51.finish(); } if let Some(var_52) = &input.log_publishing_configuration { + #[allow(unused_mut)] let mut object_53 = object.key("LogPublishingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_member_log_publishing_configuration( &mut object_53, @@ -221,6 +235,7 @@ pub fn serialize_structure_crate_model_member_configuration( object_53.finish(); } if let Some(var_54) = &input.tags { + #[allow(unused_mut)] let mut object_55 = object.key("Tags").start_object(); for (key_56, value_57) in var_54 { { @@ -240,6 +255,7 @@ pub fn serialize_structure_crate_model_network_framework_configuration( input: &crate::model::NetworkFrameworkConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_59) = &input.fabric { + #[allow(unused_mut)] let mut object_60 = object.key("Fabric").start_object(); crate::json_ser::serialize_structure_crate_model_network_fabric_configuration( &mut object_60, @@ -255,6 +271,7 @@ pub fn serialize_structure_crate_model_voting_policy( input: &crate::model::VotingPolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_61) = &input.approval_threshold_policy { + #[allow(unused_mut)] let mut object_62 = object.key("ApprovalThresholdPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_approval_threshold_policy( &mut object_62, @@ -276,6 +293,7 @@ pub fn serialize_structure_crate_model_node_configuration( object.key("AvailabilityZone").string(var_64.as_str()); } if let Some(var_65) = &input.log_publishing_configuration { + #[allow(unused_mut)] let mut object_66 = object.key("LogPublishingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_node_log_publishing_configuration( &mut object_66, @@ -297,6 +315,7 @@ pub fn serialize_structure_crate_model_proposal_actions( let mut array_69 = object.key("Invitations").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_invite_action( &mut object_71, @@ -311,6 +330,7 @@ pub fn serialize_structure_crate_model_proposal_actions( let mut array_73 = object.key("Removals").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_remove_action( &mut object_75, @@ -329,6 +349,7 @@ pub fn serialize_structure_crate_model_member_log_publishing_configuration( input: &crate::model::MemberLogPublishingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_76) = &input.fabric { + #[allow(unused_mut)] let mut object_77 = object.key("Fabric").start_object(); crate::json_ser::serialize_structure_crate_model_member_fabric_log_publishing_configuration(&mut object_77, var_76)?; object_77.finish(); @@ -341,6 +362,7 @@ pub fn serialize_structure_crate_model_node_log_publishing_configuration( input: &crate::model::NodeLogPublishingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_78) = &input.fabric { + #[allow(unused_mut)] let mut object_79 = object.key("Fabric").start_object(); crate::json_ser::serialize_structure_crate_model_node_fabric_log_publishing_configuration( &mut object_79, @@ -356,6 +378,7 @@ pub fn serialize_structure_crate_model_member_framework_configuration( input: &crate::model::MemberFrameworkConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.fabric { + #[allow(unused_mut)] let mut object_81 = object.key("Fabric").start_object(); crate::json_ser::serialize_structure_crate_model_member_fabric_configuration( &mut object_81, @@ -423,6 +446,7 @@ pub fn serialize_structure_crate_model_member_fabric_log_publishing_configuratio input: &crate::model::MemberFabricLogPublishingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_88) = &input.ca_logs { + #[allow(unused_mut)] let mut object_89 = object.key("CaLogs").start_object(); crate::json_ser::serialize_structure_crate_model_log_configurations( &mut object_89, @@ -438,6 +462,7 @@ pub fn serialize_structure_crate_model_node_fabric_log_publishing_configuration( input: &crate::model::NodeFabricLogPublishingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.chaincode_logs { + #[allow(unused_mut)] let mut object_91 = object.key("ChaincodeLogs").start_object(); crate::json_ser::serialize_structure_crate_model_log_configurations( &mut object_91, @@ -446,6 +471,7 @@ pub fn serialize_structure_crate_model_node_fabric_log_publishing_configuration( object_91.finish(); } if let Some(var_92) = &input.peer_logs { + #[allow(unused_mut)] let mut object_93 = object.key("PeerLogs").start_object(); crate::json_ser::serialize_structure_crate_model_log_configurations( &mut object_93, @@ -474,6 +500,7 @@ pub fn serialize_structure_crate_model_log_configurations( input: &crate::model::LogConfigurations, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_96) = &input.cloudwatch { + #[allow(unused_mut)] let mut object_97 = object.key("Cloudwatch").start_object(); crate::json_ser::serialize_structure_crate_model_log_configuration(&mut object_97, var_96)?; object_97.finish(); diff --git a/sdk/marketplacecatalog/src/json_ser.rs b/sdk/marketplacecatalog/src/json_ser.rs index 662269dc591a..feefe9df70e6 100644 --- a/sdk/marketplacecatalog/src/json_ser.rs +++ b/sdk/marketplacecatalog/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_list_change_sets_input( let mut array_3 = object.key("FilterList").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_5, item_4)?; object_5.finish(); @@ -27,6 +28,7 @@ pub fn serialize_structure_crate_input_list_change_sets_input( object.key("NextToken").string(var_7.as_str()); } if let Some(var_8) = &input.sort { + #[allow(unused_mut)] let mut object_9 = object.key("Sort").start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_9, var_8)?; object_9.finish(); @@ -48,6 +50,7 @@ pub fn serialize_structure_crate_input_list_entities_input( let mut array_13 = object.key("FilterList").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_15, item_14)?; object_15.finish(); @@ -65,6 +68,7 @@ pub fn serialize_structure_crate_input_list_entities_input( object.key("NextToken").string(var_17.as_str()); } if let Some(var_18) = &input.sort { + #[allow(unused_mut)] let mut object_19 = object.key("Sort").start_object(); crate::json_ser::serialize_structure_crate_model_sort(&mut object_19, var_18)?; object_19.finish(); @@ -83,6 +87,7 @@ pub fn serialize_structure_crate_input_start_change_set_input( let mut array_22 = object.key("ChangeSet").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_change(&mut object_24, item_23)?; object_24.finish(); @@ -139,6 +144,7 @@ pub fn serialize_structure_crate_model_change( object.key("ChangeType").string(var_33.as_str()); } if let Some(var_34) = &input.entity { + #[allow(unused_mut)] let mut object_35 = object.key("Entity").start_object(); crate::json_ser::serialize_structure_crate_model_entity(&mut object_35, var_34)?; object_35.finish(); diff --git a/sdk/marketplacecommerceanalytics/src/json_ser.rs b/sdk/marketplacecommerceanalytics/src/json_ser.rs index 2d769d3da064..98cc5b989adc 100644 --- a/sdk/marketplacecommerceanalytics/src/json_ser.rs +++ b/sdk/marketplacecommerceanalytics/src/json_ser.rs @@ -24,6 +24,7 @@ pub fn serialize_structure_crate_input_generate_data_set_input( object.key("snsTopicArn").string(var_6.as_str()); } if let Some(var_7) = &input.customer_defined_values { + #[allow(unused_mut)] let mut object_8 = object.key("customerDefinedValues").start_object(); for (key_9, value_10) in var_7 { { @@ -62,6 +63,7 @@ pub fn serialize_structure_crate_input_start_support_data_export_input( object.key("snsTopicArn").string(var_16.as_str()); } if let Some(var_17) = &input.customer_defined_values { + #[allow(unused_mut)] let mut object_18 = object.key("customerDefinedValues").start_object(); for (key_19, value_20) in var_17 { { diff --git a/sdk/marketplaceentitlement/src/json_ser.rs b/sdk/marketplaceentitlement/src/json_ser.rs index 88eceb213a35..178877495fcc 100644 --- a/sdk/marketplaceentitlement/src/json_ser.rs +++ b/sdk/marketplaceentitlement/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_get_entitlements_input( object.key("ProductCode").string(var_1.as_str()); } if let Some(var_2) = &input.filter { + #[allow(unused_mut)] let mut object_3 = object.key("Filter").start_object(); for (key_4, value_5) in var_2 { { diff --git a/sdk/marketplacemetering/src/json_ser.rs b/sdk/marketplacemetering/src/json_ser.rs index 4193bbda8b5b..e4ea6af2ec21 100644 --- a/sdk/marketplacemetering/src/json_ser.rs +++ b/sdk/marketplacemetering/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_meter_usage_input( let mut array_2 = object.key("UsageRecords").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_usage_record( &mut object_4, @@ -51,6 +52,7 @@ pub fn serialize_structure_crate_input_meter_usage_input( let mut array_12 = object.key("UsageAllocations").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_usage_allocation( &mut object_14, @@ -118,6 +120,7 @@ pub fn serialize_structure_crate_model_usage_record( let mut array_24 = object.key("UsageAllocations").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_usage_allocation( &mut object_26, @@ -145,6 +148,7 @@ pub fn serialize_structure_crate_model_usage_allocation( let mut array_29 = object.key("Tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_31, item_30)?; object_31.finish(); diff --git a/sdk/mediaconnect/src/json_ser.rs b/sdk/mediaconnect/src/json_ser.rs index 2b0d0cc7f897..469b56b47c9a 100644 --- a/sdk/mediaconnect/src/json_ser.rs +++ b/sdk/mediaconnect/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_add_flow_media_streams_input( let mut array_2 = object.key("mediaStreams").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_media_stream_request( &mut object_4, @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_add_flow_outputs_input( let mut array_6 = object.key("outputs").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_output_request( &mut object_8, @@ -49,6 +51,7 @@ pub fn serialize_structure_crate_input_add_flow_sources_input( let mut array_10 = object.key("sources").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_set_source_request( &mut object_12, @@ -70,6 +73,7 @@ pub fn serialize_structure_crate_input_add_flow_vpc_interfaces_input( let mut array_14 = object.key("vpcInterfaces").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_interface_request( &mut object_16, @@ -94,6 +98,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_19 = object.key("entitlements").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_grant_entitlement_request( &mut object_21, @@ -105,6 +110,7 @@ pub fn serialize_structure_crate_input_create_flow_input( array_19.finish(); } if let Some(var_22) = &input.maintenance { + #[allow(unused_mut)] let mut object_23 = object.key("maintenance").start_object(); crate::json_ser::serialize_structure_crate_model_add_maintenance(&mut object_23, var_22)?; object_23.finish(); @@ -113,6 +119,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_25 = object.key("mediaStreams").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_media_stream_request( &mut object_27, @@ -130,6 +137,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_30 = object.key("outputs").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_add_output_request( &mut object_32, @@ -141,6 +149,7 @@ pub fn serialize_structure_crate_input_create_flow_input( array_30.finish(); } if let Some(var_33) = &input.source { + #[allow(unused_mut)] let mut object_34 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_set_source_request( &mut object_34, @@ -149,6 +158,7 @@ pub fn serialize_structure_crate_input_create_flow_input( object_34.finish(); } if let Some(var_35) = &input.source_failover_config { + #[allow(unused_mut)] let mut object_36 = object.key("sourceFailoverConfig").start_object(); crate::json_ser::serialize_structure_crate_model_failover_config(&mut object_36, var_35)?; object_36.finish(); @@ -157,6 +167,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_38 = object.key("sources").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_set_source_request( &mut object_40, @@ -171,6 +182,7 @@ pub fn serialize_structure_crate_input_create_flow_input( let mut array_42 = object.key("vpcInterfaces").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_interface_request( &mut object_44, @@ -192,6 +204,7 @@ pub fn serialize_structure_crate_input_grant_flow_entitlements_input( let mut array_46 = object.key("entitlements").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_grant_entitlement_request( &mut object_48, @@ -223,6 +236,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_51) = &input.tags { + #[allow(unused_mut)] let mut object_52 = object.key("tags").start_object(); for (key_53, value_54) in var_51 { { @@ -239,6 +253,7 @@ pub fn serialize_structure_crate_input_update_flow_input( input: &crate::input::UpdateFlowInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_55) = &input.maintenance { + #[allow(unused_mut)] let mut object_56 = object.key("maintenance").start_object(); crate::json_ser::serialize_structure_crate_model_update_maintenance( &mut object_56, @@ -247,6 +262,7 @@ pub fn serialize_structure_crate_input_update_flow_input( object_56.finish(); } if let Some(var_57) = &input.source_failover_config { + #[allow(unused_mut)] let mut object_58 = object.key("sourceFailoverConfig").start_object(); crate::json_ser::serialize_structure_crate_model_update_failover_config( &mut object_58, @@ -265,6 +281,7 @@ pub fn serialize_structure_crate_input_update_flow_entitlement_input( object.key("description").string(var_59.as_str()); } if let Some(var_60) = &input.encryption { + #[allow(unused_mut)] let mut object_61 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_update_encryption(&mut object_61, var_60)?; object_61.finish(); @@ -289,6 +306,7 @@ pub fn serialize_structure_crate_input_update_flow_media_stream_input( input: &crate::input::UpdateFlowMediaStreamInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.attributes { + #[allow(unused_mut)] let mut object_67 = object.key("attributes").start_object(); crate::json_ser::serialize_structure_crate_model_media_stream_attributes_request( &mut object_67, @@ -334,6 +352,7 @@ pub fn serialize_structure_crate_input_update_flow_output_input( object.key("destination").string(var_75.as_str()); } if let Some(var_76) = &input.encryption { + #[allow(unused_mut)] let mut object_77 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_update_encryption(&mut object_77, var_76)?; object_77.finish(); @@ -348,6 +367,7 @@ pub fn serialize_structure_crate_input_update_flow_output_input( let mut array_79 = object.key("mediaStreamOutputConfigurations").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_stream_output_configuration_request(&mut object_81, item_80)?; object_81.finish(); @@ -392,6 +412,7 @@ pub fn serialize_structure_crate_input_update_flow_output_input( object.key("streamId").string(var_85.as_str()); } if let Some(var_86) = &input.vpc_interface_attachment { + #[allow(unused_mut)] let mut object_87 = object.key("vpcInterfaceAttachment").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_interface_attachment( &mut object_87, @@ -407,6 +428,7 @@ pub fn serialize_structure_crate_input_update_flow_source_input( input: &crate::input::UpdateFlowSourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_88) = &input.decryption { + #[allow(unused_mut)] let mut object_89 = object.key("decryption").start_object(); crate::json_ser::serialize_structure_crate_model_update_encryption(&mut object_89, var_88)?; object_89.finish(); @@ -445,6 +467,7 @@ pub fn serialize_structure_crate_input_update_flow_source_input( let mut array_93 = object.key("mediaStreamSourceConfigurations").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_stream_source_configuration_request(&mut object_95, item_94)?; object_95.finish(); @@ -496,6 +519,7 @@ pub fn serialize_structure_crate_model_add_media_stream_request( input: &crate::model::AddMediaStreamRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.attributes { + #[allow(unused_mut)] let mut object_103 = object.key("attributes").start_object(); crate::json_ser::serialize_structure_crate_model_media_stream_attributes_request( &mut object_103, @@ -550,6 +574,7 @@ pub fn serialize_structure_crate_model_add_output_request( object.key("destination").string(var_112.as_str()); } if let Some(var_113) = &input.encryption { + #[allow(unused_mut)] let mut object_114 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_114, var_113)?; object_114.finish(); @@ -564,6 +589,7 @@ pub fn serialize_structure_crate_model_add_output_request( let mut array_116 = object.key("mediaStreamOutputConfigurations").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_stream_output_configuration_request(&mut object_118, item_117)?; object_118.finish(); @@ -608,6 +634,7 @@ pub fn serialize_structure_crate_model_add_output_request( object.key("streamId").string(var_122.as_str()); } if let Some(var_123) = &input.vpc_interface_attachment { + #[allow(unused_mut)] let mut object_124 = object.key("vpcInterfaceAttachment").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_interface_attachment( &mut object_124, @@ -623,6 +650,7 @@ pub fn serialize_structure_crate_model_set_source_request( input: &crate::model::SetSourceRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_125) = &input.decryption { + #[allow(unused_mut)] let mut object_126 = object.key("decryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_126, var_125)?; object_126.finish(); @@ -661,6 +689,7 @@ pub fn serialize_structure_crate_model_set_source_request( let mut array_130 = object.key("mediaStreamSourceConfigurations").start_array(); for item_131 in var_129 { { + #[allow(unused_mut)] let mut object_132 = array_130.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_stream_source_configuration_request(&mut object_132, item_131)?; object_132.finish(); @@ -752,6 +781,7 @@ pub fn serialize_structure_crate_model_grant_entitlement_request( object.key("description").string(var_147.as_str()); } if let Some(var_148) = &input.encryption { + #[allow(unused_mut)] let mut object_149 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_encryption(&mut object_149, var_148)?; object_149.finish(); @@ -801,6 +831,7 @@ pub fn serialize_structure_crate_model_failover_config( ); } if let Some(var_158) = &input.source_priority { + #[allow(unused_mut)] let mut object_159 = object.key("sourcePriority").start_object(); crate::json_ser::serialize_structure_crate_model_source_priority(&mut object_159, var_158)?; object_159.finish(); @@ -843,6 +874,7 @@ pub fn serialize_structure_crate_model_update_failover_config( ); } if let Some(var_165) = &input.source_priority { + #[allow(unused_mut)] let mut object_166 = object.key("sourcePriority").start_object(); crate::json_ser::serialize_structure_crate_model_source_priority(&mut object_166, var_165)?; object_166.finish(); @@ -894,6 +926,7 @@ pub fn serialize_structure_crate_model_media_stream_attributes_request( input: &crate::model::MediaStreamAttributesRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_177) = &input.fmtp { + #[allow(unused_mut)] let mut object_178 = object.key("fmtp").start_object(); crate::json_ser::serialize_structure_crate_model_fmtp_request(&mut object_178, var_177)?; object_178.finish(); @@ -912,6 +945,7 @@ pub fn serialize_structure_crate_model_media_stream_output_configuration_request let mut array_181 = object.key("destinationConfigurations").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_destination_configuration_request( &mut object_183, @@ -926,6 +960,7 @@ pub fn serialize_structure_crate_model_media_stream_output_configuration_request object.key("encodingName").string(var_184.as_str()); } if let Some(var_185) = &input.encoding_parameters { + #[allow(unused_mut)] let mut object_186 = object.key("encodingParameters").start_object(); crate::json_ser::serialize_structure_crate_model_encoding_parameters_request( &mut object_186, @@ -960,6 +995,7 @@ pub fn serialize_structure_crate_model_media_stream_source_configuration_request let mut array_191 = object.key("inputConfigurations").start_array(); for item_192 in var_190 { { + #[allow(unused_mut)] let mut object_193 = array_191.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_configuration_request( &mut object_193, @@ -1064,6 +1100,7 @@ pub fn serialize_structure_crate_model_destination_configuration_request( ); } if let Some(var_213) = &input.interface { + #[allow(unused_mut)] let mut object_214 = object.key("interface").start_object(); crate::json_ser::serialize_structure_crate_model_interface_request( &mut object_214, @@ -1101,6 +1138,7 @@ pub fn serialize_structure_crate_model_input_configuration_request( ); } if let Some(var_216) = &input.interface { + #[allow(unused_mut)] let mut object_217 = object.key("interface").start_object(); crate::json_ser::serialize_structure_crate_model_interface_request( &mut object_217, diff --git a/sdk/mediaconvert/src/json_ser.rs b/sdk/mediaconvert/src/json_ser.rs index 8580c5a2d6de..f3df743dd383 100644 --- a/sdk/mediaconvert/src/json_ser.rs +++ b/sdk/mediaconvert/src/json_ser.rs @@ -14,6 +14,7 @@ pub fn serialize_structure_crate_input_create_job_input( input: &crate::input::CreateJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.acceleration_settings { + #[allow(unused_mut)] let mut object_3 = object.key("accelerationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_acceleration_settings( &mut object_3, @@ -31,6 +32,7 @@ pub fn serialize_structure_crate_input_create_job_input( let mut array_7 = object.key("hopDestinations").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_hop_destination( &mut object_9, @@ -57,6 +59,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("role").string(var_12.as_str()); } if let Some(var_13) = &input.settings { + #[allow(unused_mut)] let mut object_14 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_job_settings(&mut object_14, var_13)?; object_14.finish(); @@ -68,6 +71,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("statusUpdateInterval").string(var_16.as_str()); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -77,6 +81,7 @@ pub fn serialize_structure_crate_input_create_job_input( object_18.finish(); } if let Some(var_21) = &input.user_metadata { + #[allow(unused_mut)] let mut object_22 = object.key("userMetadata").start_object(); for (key_23, value_24) in var_21 { { @@ -93,6 +98,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( input: &crate::input::CreateJobTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_25) = &input.acceleration_settings { + #[allow(unused_mut)] let mut object_26 = object.key("accelerationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_acceleration_settings( &mut object_26, @@ -110,6 +116,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( let mut array_30 = object.key("hopDestinations").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_hop_destination( &mut object_32, @@ -133,6 +140,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( object.key("queue").string(var_34.as_str()); } if let Some(var_35) = &input.settings { + #[allow(unused_mut)] let mut object_36 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_job_template_settings( &mut object_36, @@ -144,6 +152,7 @@ pub fn serialize_structure_crate_input_create_job_template_input( object.key("statusUpdateInterval").string(var_37.as_str()); } if let Some(var_38) = &input.tags { + #[allow(unused_mut)] let mut object_39 = object.key("tags").start_object(); for (key_40, value_41) in var_38 { { @@ -169,11 +178,13 @@ pub fn serialize_structure_crate_input_create_preset_input( object.key("name").string(var_44.as_str()); } if let Some(var_45) = &input.settings { + #[allow(unused_mut)] let mut object_46 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_preset_settings(&mut object_46, var_45)?; object_46.finish(); } if let Some(var_47) = &input.tags { + #[allow(unused_mut)] let mut object_48 = object.key("tags").start_object(); for (key_49, value_50) in var_47 { { @@ -199,6 +210,7 @@ pub fn serialize_structure_crate_input_create_queue_input( object.key("pricingPlan").string(var_53.as_str()); } if let Some(var_54) = &input.reservation_plan_settings { + #[allow(unused_mut)] let mut object_55 = object.key("reservationPlanSettings").start_object(); crate::json_ser::serialize_structure_crate_model_reservation_plan_settings( &mut object_55, @@ -210,6 +222,7 @@ pub fn serialize_structure_crate_input_create_queue_input( object.key("status").string(var_56.as_str()); } if let Some(var_57) = &input.tags { + #[allow(unused_mut)] let mut object_58 = object.key("tags").start_object(); for (key_59, value_60) in var_57 { { @@ -245,6 +258,7 @@ pub fn serialize_structure_crate_input_put_policy_input( input: &crate::input::PutPolicyInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.policy { + #[allow(unused_mut)] let mut object_64 = object.key("policy").start_object(); crate::json_ser::serialize_structure_crate_model_policy(&mut object_64, var_63)?; object_64.finish(); @@ -260,6 +274,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("arn").string(var_65.as_str()); } if let Some(var_66) = &input.tags { + #[allow(unused_mut)] let mut object_67 = object.key("tags").start_object(); for (key_68, value_69) in var_66 { { @@ -292,6 +307,7 @@ pub fn serialize_structure_crate_input_update_job_template_input( input: &crate::input::UpdateJobTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_73) = &input.acceleration_settings { + #[allow(unused_mut)] let mut object_74 = object.key("accelerationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_acceleration_settings( &mut object_74, @@ -309,6 +325,7 @@ pub fn serialize_structure_crate_input_update_job_template_input( let mut array_78 = object.key("hopDestinations").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_hop_destination( &mut object_80, @@ -329,6 +346,7 @@ pub fn serialize_structure_crate_input_update_job_template_input( object.key("queue").string(var_81.as_str()); } if let Some(var_82) = &input.settings { + #[allow(unused_mut)] let mut object_83 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_job_template_settings( &mut object_83, @@ -353,6 +371,7 @@ pub fn serialize_structure_crate_input_update_preset_input( object.key("description").string(var_86.as_str()); } if let Some(var_87) = &input.settings { + #[allow(unused_mut)] let mut object_88 = object.key("settings").start_object(); crate::json_ser::serialize_structure_crate_model_preset_settings(&mut object_88, var_87)?; object_88.finish(); @@ -368,6 +387,7 @@ pub fn serialize_structure_crate_input_update_queue_input( object.key("description").string(var_89.as_str()); } if let Some(var_90) = &input.reservation_plan_settings { + #[allow(unused_mut)] let mut object_91 = object.key("reservationPlanSettings").start_object(); crate::json_ser::serialize_structure_crate_model_reservation_plan_settings( &mut object_91, @@ -424,16 +444,19 @@ pub fn serialize_structure_crate_model_job_settings( ); } if let Some(var_95) = &input.avail_blanking { + #[allow(unused_mut)] let mut object_96 = object.key("availBlanking").start_object(); crate::json_ser::serialize_structure_crate_model_avail_blanking(&mut object_96, var_95)?; object_96.finish(); } if let Some(var_97) = &input.esam { + #[allow(unused_mut)] let mut object_98 = object.key("esam").start_object(); crate::json_ser::serialize_structure_crate_model_esam_settings(&mut object_98, var_97)?; object_98.finish(); } if let Some(var_99) = &input.extended_data_services { + #[allow(unused_mut)] let mut object_100 = object.key("extendedDataServices").start_object(); crate::json_ser::serialize_structure_crate_model_extended_data_services( &mut object_100, @@ -445,6 +468,7 @@ pub fn serialize_structure_crate_model_job_settings( let mut array_102 = object.key("inputs").start_array(); for item_103 in var_101 { { + #[allow(unused_mut)] let mut object_104 = array_102.value().start_object(); crate::json_ser::serialize_structure_crate_model_input(&mut object_104, item_103)?; object_104.finish(); @@ -453,6 +477,7 @@ pub fn serialize_structure_crate_model_job_settings( array_102.finish(); } if let Some(var_105) = &input.kantar_watermark { + #[allow(unused_mut)] let mut object_106 = object.key("kantarWatermark").start_object(); crate::json_ser::serialize_structure_crate_model_kantar_watermark_settings( &mut object_106, @@ -461,6 +486,7 @@ pub fn serialize_structure_crate_model_job_settings( object_106.finish(); } if let Some(var_107) = &input.motion_image_inserter { + #[allow(unused_mut)] let mut object_108 = object.key("motionImageInserter").start_object(); crate::json_ser::serialize_structure_crate_model_motion_image_inserter( &mut object_108, @@ -469,6 +495,7 @@ pub fn serialize_structure_crate_model_job_settings( object_108.finish(); } if let Some(var_109) = &input.nielsen_configuration { + #[allow(unused_mut)] let mut object_110 = object.key("nielsenConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_configuration( &mut object_110, @@ -477,6 +504,7 @@ pub fn serialize_structure_crate_model_job_settings( object_110.finish(); } if let Some(var_111) = &input.nielsen_non_linear_watermark { + #[allow(unused_mut)] let mut object_112 = object.key("nielsenNonLinearWatermark").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_non_linear_watermark_settings( &mut object_112, @@ -488,6 +516,7 @@ pub fn serialize_structure_crate_model_job_settings( let mut array_114 = object.key("outputGroups").start_array(); for item_115 in var_113 { { + #[allow(unused_mut)] let mut object_116 = array_114.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_group( &mut object_116, @@ -499,11 +528,13 @@ pub fn serialize_structure_crate_model_job_settings( array_114.finish(); } if let Some(var_117) = &input.timecode_config { + #[allow(unused_mut)] let mut object_118 = object.key("timecodeConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timecode_config(&mut object_118, var_117)?; object_118.finish(); } if let Some(var_119) = &input.timed_metadata_insertion { + #[allow(unused_mut)] let mut object_120 = object.key("timedMetadataInsertion").start_object(); crate::json_ser::serialize_structure_crate_model_timed_metadata_insertion( &mut object_120, @@ -525,16 +556,19 @@ pub fn serialize_structure_crate_model_job_template_settings( ); } if let Some(var_121) = &input.avail_blanking { + #[allow(unused_mut)] let mut object_122 = object.key("availBlanking").start_object(); crate::json_ser::serialize_structure_crate_model_avail_blanking(&mut object_122, var_121)?; object_122.finish(); } if let Some(var_123) = &input.esam { + #[allow(unused_mut)] let mut object_124 = object.key("esam").start_object(); crate::json_ser::serialize_structure_crate_model_esam_settings(&mut object_124, var_123)?; object_124.finish(); } if let Some(var_125) = &input.extended_data_services { + #[allow(unused_mut)] let mut object_126 = object.key("extendedDataServices").start_object(); crate::json_ser::serialize_structure_crate_model_extended_data_services( &mut object_126, @@ -546,6 +580,7 @@ pub fn serialize_structure_crate_model_job_template_settings( let mut array_128 = object.key("inputs").start_array(); for item_129 in var_127 { { + #[allow(unused_mut)] let mut object_130 = array_128.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_template( &mut object_130, @@ -557,6 +592,7 @@ pub fn serialize_structure_crate_model_job_template_settings( array_128.finish(); } if let Some(var_131) = &input.kantar_watermark { + #[allow(unused_mut)] let mut object_132 = object.key("kantarWatermark").start_object(); crate::json_ser::serialize_structure_crate_model_kantar_watermark_settings( &mut object_132, @@ -565,6 +601,7 @@ pub fn serialize_structure_crate_model_job_template_settings( object_132.finish(); } if let Some(var_133) = &input.motion_image_inserter { + #[allow(unused_mut)] let mut object_134 = object.key("motionImageInserter").start_object(); crate::json_ser::serialize_structure_crate_model_motion_image_inserter( &mut object_134, @@ -573,6 +610,7 @@ pub fn serialize_structure_crate_model_job_template_settings( object_134.finish(); } if let Some(var_135) = &input.nielsen_configuration { + #[allow(unused_mut)] let mut object_136 = object.key("nielsenConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_configuration( &mut object_136, @@ -581,6 +619,7 @@ pub fn serialize_structure_crate_model_job_template_settings( object_136.finish(); } if let Some(var_137) = &input.nielsen_non_linear_watermark { + #[allow(unused_mut)] let mut object_138 = object.key("nielsenNonLinearWatermark").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_non_linear_watermark_settings( &mut object_138, @@ -592,6 +631,7 @@ pub fn serialize_structure_crate_model_job_template_settings( let mut array_140 = object.key("outputGroups").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_group( &mut object_142, @@ -603,11 +643,13 @@ pub fn serialize_structure_crate_model_job_template_settings( array_140.finish(); } if let Some(var_143) = &input.timecode_config { + #[allow(unused_mut)] let mut object_144 = object.key("timecodeConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timecode_config(&mut object_144, var_143)?; object_144.finish(); } if let Some(var_145) = &input.timed_metadata_insertion { + #[allow(unused_mut)] let mut object_146 = object.key("timedMetadataInsertion").start_object(); crate::json_ser::serialize_structure_crate_model_timed_metadata_insertion( &mut object_146, @@ -626,6 +668,7 @@ pub fn serialize_structure_crate_model_preset_settings( let mut array_148 = object.key("audioDescriptions").start_array(); for item_149 in var_147 { { + #[allow(unused_mut)] let mut object_150 = array_148.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_description( &mut object_150, @@ -640,6 +683,7 @@ pub fn serialize_structure_crate_model_preset_settings( let mut array_152 = object.key("captionDescriptions").start_array(); for item_153 in var_151 { { + #[allow(unused_mut)] let mut object_154 = array_152.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_description_preset( &mut object_154, @@ -651,6 +695,7 @@ pub fn serialize_structure_crate_model_preset_settings( array_152.finish(); } if let Some(var_155) = &input.container_settings { + #[allow(unused_mut)] let mut object_156 = object.key("containerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_container_settings( &mut object_156, @@ -659,6 +704,7 @@ pub fn serialize_structure_crate_model_preset_settings( object_156.finish(); } if let Some(var_157) = &input.video_description { + #[allow(unused_mut)] let mut object_158 = object.key("videoDescription").start_object(); crate::json_ser::serialize_structure_crate_model_video_description( &mut object_158, @@ -719,6 +765,7 @@ pub fn serialize_structure_crate_model_esam_settings( input: &crate::model::EsamSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_165) = &input.manifest_confirm_condition_notification { + #[allow(unused_mut)] let mut object_166 = object .key("manifestConfirmConditionNotification") .start_object(); @@ -732,6 +779,7 @@ pub fn serialize_structure_crate_model_esam_settings( ); } if let Some(var_167) = &input.signal_processing_notification { + #[allow(unused_mut)] let mut object_168 = object.key("signalProcessingNotification").start_object(); crate::json_ser::serialize_structure_crate_model_esam_signal_processing_notification( &mut object_168, @@ -760,9 +808,11 @@ pub fn serialize_structure_crate_model_input( input: &crate::model::Input, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_171) = &input.audio_selector_groups { + #[allow(unused_mut)] let mut object_172 = object.key("audioSelectorGroups").start_object(); for (key_173, value_174) in var_171 { { + #[allow(unused_mut)] let mut object_175 = object_172.key(key_173.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_audio_selector_group( &mut object_175, @@ -774,9 +824,11 @@ pub fn serialize_structure_crate_model_input( object_172.finish(); } if let Some(var_176) = &input.audio_selectors { + #[allow(unused_mut)] let mut object_177 = object.key("audioSelectors").start_object(); for (key_178, value_179) in var_176 { { + #[allow(unused_mut)] let mut object_180 = object_177.key(key_178.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_audio_selector( &mut object_180, @@ -788,9 +840,11 @@ pub fn serialize_structure_crate_model_input( object_177.finish(); } if let Some(var_181) = &input.caption_selectors { + #[allow(unused_mut)] let mut object_182 = object.key("captionSelectors").start_object(); for (key_183, value_184) in var_181 { { + #[allow(unused_mut)] let mut object_185 = object_182.key(key_183.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_caption_selector( &mut object_185, @@ -802,6 +856,7 @@ pub fn serialize_structure_crate_model_input( object_182.finish(); } if let Some(var_186) = &input.crop { + #[allow(unused_mut)] let mut object_187 = object.key("crop").start_object(); crate::json_ser::serialize_structure_crate_model_rectangle(&mut object_187, var_186)?; object_187.finish(); @@ -810,6 +865,7 @@ pub fn serialize_structure_crate_model_input( object.key("deblockFilter").string(var_188.as_str()); } if let Some(var_189) = &input.decryption_settings { + #[allow(unused_mut)] let mut object_190 = object.key("decryptionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_decryption_settings( &mut object_190, @@ -838,6 +894,7 @@ pub fn serialize_structure_crate_model_input( ); } if let Some(var_195) = &input.image_inserter { + #[allow(unused_mut)] let mut object_196 = object.key("imageInserter").start_object(); crate::json_ser::serialize_structure_crate_model_image_inserter(&mut object_196, var_195)?; object_196.finish(); @@ -846,6 +903,7 @@ pub fn serialize_structure_crate_model_input( let mut array_198 = object.key("inputClippings").start_array(); for item_199 in var_197 { { + #[allow(unused_mut)] let mut object_200 = array_198.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_clipping( &mut object_200, @@ -860,6 +918,7 @@ pub fn serialize_structure_crate_model_input( object.key("inputScanType").string(var_201.as_str()); } if let Some(var_202) = &input.position { + #[allow(unused_mut)] let mut object_203 = object.key("position").start_object(); crate::json_ser::serialize_structure_crate_model_rectangle(&mut object_203, var_202)?; object_203.finish(); @@ -889,6 +948,7 @@ pub fn serialize_structure_crate_model_input( object.key("timecodeStart").string(var_209.as_str()); } if let Some(var_210) = &input.video_generator { + #[allow(unused_mut)] let mut object_211 = object.key("videoGenerator").start_object(); crate::json_ser::serialize_structure_crate_model_input_video_generator( &mut object_211, @@ -897,6 +957,7 @@ pub fn serialize_structure_crate_model_input( object_211.finish(); } if let Some(var_212) = &input.video_selector { + #[allow(unused_mut)] let mut object_213 = object.key("videoSelector").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector(&mut object_213, var_212)?; object_213.finish(); @@ -961,6 +1022,7 @@ pub fn serialize_structure_crate_model_motion_image_inserter( input: &crate::model::MotionImageInserter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_225) = &input.framerate { + #[allow(unused_mut)] let mut object_226 = object.key("framerate").start_object(); crate::json_ser::serialize_structure_crate_model_motion_image_insertion_framerate( &mut object_226, @@ -975,6 +1037,7 @@ pub fn serialize_structure_crate_model_motion_image_inserter( object.key("insertionMode").string(var_228.as_str()); } if let Some(var_229) = &input.offset { + #[allow(unused_mut)] let mut object_230 = object.key("offset").start_object(); crate::json_ser::serialize_structure_crate_model_motion_image_insertion_offset( &mut object_230, @@ -1059,6 +1122,7 @@ pub fn serialize_structure_crate_model_output_group( input: &crate::model::OutputGroup, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_244) = &input.automated_encoding_settings { + #[allow(unused_mut)] let mut object_245 = object.key("automatedEncodingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_automated_encoding_settings( &mut object_245, @@ -1073,6 +1137,7 @@ pub fn serialize_structure_crate_model_output_group( object.key("name").string(var_247.as_str()); } if let Some(var_248) = &input.output_group_settings { + #[allow(unused_mut)] let mut object_249 = object.key("outputGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_output_group_settings( &mut object_249, @@ -1084,6 +1149,7 @@ pub fn serialize_structure_crate_model_output_group( let mut array_251 = object.key("outputs").start_array(); for item_252 in var_250 { { + #[allow(unused_mut)] let mut object_253 = array_251.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_253, item_252)?; object_253.finish(); @@ -1121,6 +1187,7 @@ pub fn serialize_structure_crate_model_timed_metadata_insertion( let mut array_259 = object.key("id3Insertions").start_array(); for item_260 in var_258 { { + #[allow(unused_mut)] let mut object_261 = array_259.value().start_object(); crate::json_ser::serialize_structure_crate_model_id3_insertion( &mut object_261, @@ -1139,9 +1206,11 @@ pub fn serialize_structure_crate_model_input_template( input: &crate::model::InputTemplate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_262) = &input.audio_selector_groups { + #[allow(unused_mut)] let mut object_263 = object.key("audioSelectorGroups").start_object(); for (key_264, value_265) in var_262 { { + #[allow(unused_mut)] let mut object_266 = object_263.key(key_264.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_audio_selector_group( &mut object_266, @@ -1153,9 +1222,11 @@ pub fn serialize_structure_crate_model_input_template( object_263.finish(); } if let Some(var_267) = &input.audio_selectors { + #[allow(unused_mut)] let mut object_268 = object.key("audioSelectors").start_object(); for (key_269, value_270) in var_267 { { + #[allow(unused_mut)] let mut object_271 = object_268.key(key_269.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_audio_selector( &mut object_271, @@ -1167,9 +1238,11 @@ pub fn serialize_structure_crate_model_input_template( object_268.finish(); } if let Some(var_272) = &input.caption_selectors { + #[allow(unused_mut)] let mut object_273 = object.key("captionSelectors").start_object(); for (key_274, value_275) in var_272 { { + #[allow(unused_mut)] let mut object_276 = object_273.key(key_274.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_caption_selector( &mut object_276, @@ -1181,6 +1254,7 @@ pub fn serialize_structure_crate_model_input_template( object_273.finish(); } if let Some(var_277) = &input.crop { + #[allow(unused_mut)] let mut object_278 = object.key("crop").start_object(); crate::json_ser::serialize_structure_crate_model_rectangle(&mut object_278, var_277)?; object_278.finish(); @@ -1206,6 +1280,7 @@ pub fn serialize_structure_crate_model_input_template( ); } if let Some(var_283) = &input.image_inserter { + #[allow(unused_mut)] let mut object_284 = object.key("imageInserter").start_object(); crate::json_ser::serialize_structure_crate_model_image_inserter(&mut object_284, var_283)?; object_284.finish(); @@ -1214,6 +1289,7 @@ pub fn serialize_structure_crate_model_input_template( let mut array_286 = object.key("inputClippings").start_array(); for item_287 in var_285 { { + #[allow(unused_mut)] let mut object_288 = array_286.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_clipping( &mut object_288, @@ -1228,6 +1304,7 @@ pub fn serialize_structure_crate_model_input_template( object.key("inputScanType").string(var_289.as_str()); } if let Some(var_290) = &input.position { + #[allow(unused_mut)] let mut object_291 = object.key("position").start_object(); crate::json_ser::serialize_structure_crate_model_rectangle(&mut object_291, var_290)?; object_291.finish(); @@ -1248,6 +1325,7 @@ pub fn serialize_structure_crate_model_input_template( object.key("timecodeStart").string(var_294.as_str()); } if let Some(var_295) = &input.video_selector { + #[allow(unused_mut)] let mut object_296 = object.key("videoSelector").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector(&mut object_296, var_295)?; object_296.finish(); @@ -1260,6 +1338,7 @@ pub fn serialize_structure_crate_model_audio_description( input: &crate::model::AudioDescription, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_297) = &input.audio_channel_tagging_settings { + #[allow(unused_mut)] let mut object_298 = object.key("audioChannelTaggingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_channel_tagging_settings( &mut object_298, @@ -1268,6 +1347,7 @@ pub fn serialize_structure_crate_model_audio_description( object_298.finish(); } if let Some(var_299) = &input.audio_normalization_settings { + #[allow(unused_mut)] let mut object_300 = object.key("audioNormalizationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_normalization_settings( &mut object_300, @@ -1288,6 +1368,7 @@ pub fn serialize_structure_crate_model_audio_description( object.key("audioTypeControl").string(var_302.as_str()); } if let Some(var_303) = &input.codec_settings { + #[allow(unused_mut)] let mut object_304 = object.key("codecSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_codec_settings( &mut object_304, @@ -1305,6 +1386,7 @@ pub fn serialize_structure_crate_model_audio_description( object.key("languageCodeControl").string(var_307.as_str()); } if let Some(var_308) = &input.remix_settings { + #[allow(unused_mut)] let mut object_309 = object.key("remixSettings").start_object(); crate::json_ser::serialize_structure_crate_model_remix_settings(&mut object_309, var_308)?; object_309.finish(); @@ -1323,6 +1405,7 @@ pub fn serialize_structure_crate_model_caption_description_preset( object.key("customLanguageCode").string(var_311.as_str()); } if let Some(var_312) = &input.destination_settings { + #[allow(unused_mut)] let mut object_313 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_caption_destination_settings( &mut object_313, @@ -1344,6 +1427,7 @@ pub fn serialize_structure_crate_model_container_settings( input: &crate::model::ContainerSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_316) = &input.cmfc_settings { + #[allow(unused_mut)] let mut object_317 = object.key("cmfcSettings").start_object(); crate::json_ser::serialize_structure_crate_model_cmfc_settings(&mut object_317, var_316)?; object_317.finish(); @@ -1352,36 +1436,43 @@ pub fn serialize_structure_crate_model_container_settings( object.key("container").string(var_318.as_str()); } if let Some(var_319) = &input.f4v_settings { + #[allow(unused_mut)] let mut object_320 = object.key("f4vSettings").start_object(); crate::json_ser::serialize_structure_crate_model_f4v_settings(&mut object_320, var_319)?; object_320.finish(); } if let Some(var_321) = &input.m2ts_settings { + #[allow(unused_mut)] let mut object_322 = object.key("m2tsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_m2ts_settings(&mut object_322, var_321)?; object_322.finish(); } if let Some(var_323) = &input.m3u8_settings { + #[allow(unused_mut)] let mut object_324 = object.key("m3u8Settings").start_object(); crate::json_ser::serialize_structure_crate_model_m3u8_settings(&mut object_324, var_323)?; object_324.finish(); } if let Some(var_325) = &input.mov_settings { + #[allow(unused_mut)] let mut object_326 = object.key("movSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mov_settings(&mut object_326, var_325)?; object_326.finish(); } if let Some(var_327) = &input.mp4_settings { + #[allow(unused_mut)] let mut object_328 = object.key("mp4Settings").start_object(); crate::json_ser::serialize_structure_crate_model_mp4_settings(&mut object_328, var_327)?; object_328.finish(); } if let Some(var_329) = &input.mpd_settings { + #[allow(unused_mut)] let mut object_330 = object.key("mpdSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mpd_settings(&mut object_330, var_329)?; object_330.finish(); } if let Some(var_331) = &input.mxf_settings { + #[allow(unused_mut)] let mut object_332 = object.key("mxfSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mxf_settings(&mut object_332, var_331)?; object_332.finish(); @@ -1400,6 +1491,7 @@ pub fn serialize_structure_crate_model_video_description( object.key("antiAlias").string(var_334.as_str()); } if let Some(var_335) = &input.codec_settings { + #[allow(unused_mut)] let mut object_336 = object.key("codecSettings").start_object(); crate::json_ser::serialize_structure_crate_model_video_codec_settings( &mut object_336, @@ -1411,6 +1503,7 @@ pub fn serialize_structure_crate_model_video_description( object.key("colorMetadata").string(var_337.as_str()); } if let Some(var_338) = &input.crop { + #[allow(unused_mut)] let mut object_339 = object.key("crop").start_object(); crate::json_ser::serialize_structure_crate_model_rectangle(&mut object_339, var_338)?; object_339.finish(); @@ -1431,6 +1524,7 @@ pub fn serialize_structure_crate_model_video_description( ); } if let Some(var_341) = &input.position { + #[allow(unused_mut)] let mut object_342 = object.key("position").start_object(); crate::json_ser::serialize_structure_crate_model_rectangle(&mut object_342, var_341)?; object_342.finish(); @@ -1451,6 +1545,7 @@ pub fn serialize_structure_crate_model_video_description( object.key("timecodeInsertion").string(var_345.as_str()); } if let Some(var_346) = &input.video_preprocessors { + #[allow(unused_mut)] let mut object_347 = object.key("videoPreprocessors").start_object(); crate::json_ser::serialize_structure_crate_model_video_preprocessor( &mut object_347, @@ -1524,6 +1619,7 @@ pub fn serialize_structure_crate_model_audio_selector( .string(var_356.as_str()); } if let Some(var_357) = &input.hls_rendition_group_settings { + #[allow(unused_mut)] let mut object_358 = object.key("hlsRenditionGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_rendition_group_settings( &mut object_358, @@ -1559,6 +1655,7 @@ pub fn serialize_structure_crate_model_audio_selector( ); } if let Some(var_363) = &input.remix_settings { + #[allow(unused_mut)] let mut object_364 = object.key("remixSettings").start_object(); crate::json_ser::serialize_structure_crate_model_remix_settings(&mut object_364, var_363)?; object_364.finish(); @@ -1592,6 +1689,7 @@ pub fn serialize_structure_crate_model_caption_selector( object.key("languageCode").string(var_370.as_str()); } if let Some(var_371) = &input.source_settings { + #[allow(unused_mut)] let mut object_372 = object.key("sourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_caption_source_settings( &mut object_372, @@ -1662,6 +1760,7 @@ pub fn serialize_structure_crate_model_image_inserter( let mut array_378 = object.key("insertableImages").start_array(); for item_379 in var_377 { { + #[allow(unused_mut)] let mut object_380 = array_378.value().start_object(); crate::json_ser::serialize_structure_crate_model_insertable_image( &mut object_380, @@ -1720,6 +1819,7 @@ pub fn serialize_structure_crate_model_video_selector( .string(var_386.as_str()); } if let Some(var_387) = &input.hdr10_metadata { + #[allow(unused_mut)] let mut object_388 = object.key("hdr10Metadata").start_object(); crate::json_ser::serialize_structure_crate_model_hdr10_metadata(&mut object_388, var_387)?; object_388.finish(); @@ -1791,6 +1891,7 @@ pub fn serialize_structure_crate_model_automated_encoding_settings( input: &crate::model::AutomatedEncodingSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_392) = &input.abr_settings { + #[allow(unused_mut)] let mut object_393 = object.key("abrSettings").start_object(); crate::json_ser::serialize_structure_crate_model_automated_abr_settings( &mut object_393, @@ -1806,6 +1907,7 @@ pub fn serialize_structure_crate_model_output_group_settings( input: &crate::model::OutputGroupSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_394) = &input.cmaf_group_settings { + #[allow(unused_mut)] let mut object_395 = object.key("cmafGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_group_settings( &mut object_395, @@ -1814,6 +1916,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_395.finish(); } if let Some(var_396) = &input.dash_iso_group_settings { + #[allow(unused_mut)] let mut object_397 = object.key("dashIsoGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dash_iso_group_settings( &mut object_397, @@ -1822,6 +1925,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_397.finish(); } if let Some(var_398) = &input.file_group_settings { + #[allow(unused_mut)] let mut object_399 = object.key("fileGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_file_group_settings( &mut object_399, @@ -1830,6 +1934,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_399.finish(); } if let Some(var_400) = &input.hls_group_settings { + #[allow(unused_mut)] let mut object_401 = object.key("hlsGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_group_settings( &mut object_401, @@ -1838,6 +1943,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_401.finish(); } if let Some(var_402) = &input.ms_smooth_group_settings { + #[allow(unused_mut)] let mut object_403 = object.key("msSmoothGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ms_smooth_group_settings( &mut object_403, @@ -1859,6 +1965,7 @@ pub fn serialize_structure_crate_model_output( let mut array_406 = object.key("audioDescriptions").start_array(); for item_407 in var_405 { { + #[allow(unused_mut)] let mut object_408 = array_406.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_description( &mut object_408, @@ -1873,6 +1980,7 @@ pub fn serialize_structure_crate_model_output( let mut array_410 = object.key("captionDescriptions").start_array(); for item_411 in var_409 { { + #[allow(unused_mut)] let mut object_412 = array_410.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_description( &mut object_412, @@ -1884,6 +1992,7 @@ pub fn serialize_structure_crate_model_output( array_410.finish(); } if let Some(var_413) = &input.container_settings { + #[allow(unused_mut)] let mut object_414 = object.key("containerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_container_settings( &mut object_414, @@ -1898,6 +2007,7 @@ pub fn serialize_structure_crate_model_output( object.key("nameModifier").string(var_416.as_str()); } if let Some(var_417) = &input.output_settings { + #[allow(unused_mut)] let mut object_418 = object.key("outputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_output_settings(&mut object_418, var_417)?; object_418.finish(); @@ -1906,6 +2016,7 @@ pub fn serialize_structure_crate_model_output( object.key("preset").string(var_419.as_str()); } if let Some(var_420) = &input.video_description { + #[allow(unused_mut)] let mut object_421 = object.key("videoDescription").start_object(); crate::json_ser::serialize_structure_crate_model_video_description( &mut object_421, @@ -1975,16 +2086,19 @@ pub fn serialize_structure_crate_model_audio_codec_settings( input: &crate::model::AudioCodecSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_429) = &input.aac_settings { + #[allow(unused_mut)] let mut object_430 = object.key("aacSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aac_settings(&mut object_430, var_429)?; object_430.finish(); } if let Some(var_431) = &input.ac3_settings { + #[allow(unused_mut)] let mut object_432 = object.key("ac3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_ac3_settings(&mut object_432, var_431)?; object_432.finish(); } if let Some(var_433) = &input.aiff_settings { + #[allow(unused_mut)] let mut object_434 = object.key("aiffSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aiff_settings(&mut object_434, var_433)?; object_434.finish(); @@ -1993,6 +2107,7 @@ pub fn serialize_structure_crate_model_audio_codec_settings( object.key("codec").string(var_435.as_str()); } if let Some(var_436) = &input.eac3_atmos_settings { + #[allow(unused_mut)] let mut object_437 = object.key("eac3AtmosSettings").start_object(); crate::json_ser::serialize_structure_crate_model_eac3_atmos_settings( &mut object_437, @@ -2001,31 +2116,37 @@ pub fn serialize_structure_crate_model_audio_codec_settings( object_437.finish(); } if let Some(var_438) = &input.eac3_settings { + #[allow(unused_mut)] let mut object_439 = object.key("eac3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_eac3_settings(&mut object_439, var_438)?; object_439.finish(); } if let Some(var_440) = &input.mp2_settings { + #[allow(unused_mut)] let mut object_441 = object.key("mp2Settings").start_object(); crate::json_ser::serialize_structure_crate_model_mp2_settings(&mut object_441, var_440)?; object_441.finish(); } if let Some(var_442) = &input.mp3_settings { + #[allow(unused_mut)] let mut object_443 = object.key("mp3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_mp3_settings(&mut object_443, var_442)?; object_443.finish(); } if let Some(var_444) = &input.opus_settings { + #[allow(unused_mut)] let mut object_445 = object.key("opusSettings").start_object(); crate::json_ser::serialize_structure_crate_model_opus_settings(&mut object_445, var_444)?; object_445.finish(); } if let Some(var_446) = &input.vorbis_settings { + #[allow(unused_mut)] let mut object_447 = object.key("vorbisSettings").start_object(); crate::json_ser::serialize_structure_crate_model_vorbis_settings(&mut object_447, var_446)?; object_447.finish(); } if let Some(var_448) = &input.wav_settings { + #[allow(unused_mut)] let mut object_449 = object.key("wavSettings").start_object(); crate::json_ser::serialize_structure_crate_model_wav_settings(&mut object_449, var_448)?; object_449.finish(); @@ -2038,6 +2159,7 @@ pub fn serialize_structure_crate_model_remix_settings( input: &crate::model::RemixSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_450) = &input.channel_mapping { + #[allow(unused_mut)] let mut object_451 = object.key("channelMapping").start_object(); crate::json_ser::serialize_structure_crate_model_channel_mapping(&mut object_451, var_450)?; object_451.finish(); @@ -2062,6 +2184,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( input: &crate::model::CaptionDestinationSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_452) = &input.burnin_destination_settings { + #[allow(unused_mut)] let mut object_453 = object.key("burninDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_burnin_destination_settings( &mut object_453, @@ -2073,6 +2196,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object.key("destinationType").string(var_454.as_str()); } if let Some(var_455) = &input.dvb_sub_destination_settings { + #[allow(unused_mut)] let mut object_456 = object.key("dvbSubDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_sub_destination_settings( &mut object_456, @@ -2081,6 +2205,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_456.finish(); } if let Some(var_457) = &input.embedded_destination_settings { + #[allow(unused_mut)] let mut object_458 = object.key("embeddedDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_embedded_destination_settings( &mut object_458, @@ -2089,6 +2214,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_458.finish(); } if let Some(var_459) = &input.imsc_destination_settings { + #[allow(unused_mut)] let mut object_460 = object.key("imscDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_imsc_destination_settings( &mut object_460, @@ -2097,6 +2223,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_460.finish(); } if let Some(var_461) = &input.scc_destination_settings { + #[allow(unused_mut)] let mut object_462 = object.key("sccDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scc_destination_settings( &mut object_462, @@ -2105,6 +2232,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_462.finish(); } if let Some(var_463) = &input.srt_destination_settings { + #[allow(unused_mut)] let mut object_464 = object.key("srtDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_srt_destination_settings( &mut object_464, @@ -2113,6 +2241,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_464.finish(); } if let Some(var_465) = &input.teletext_destination_settings { + #[allow(unused_mut)] let mut object_466 = object.key("teletextDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_teletext_destination_settings( &mut object_466, @@ -2121,6 +2250,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_466.finish(); } if let Some(var_467) = &input.ttml_destination_settings { + #[allow(unused_mut)] let mut object_468 = object.key("ttmlDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ttml_destination_settings( &mut object_468, @@ -2129,6 +2259,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_468.finish(); } if let Some(var_469) = &input.webvtt_destination_settings { + #[allow(unused_mut)] let mut object_470 = object.key("webvttDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_webvtt_destination_settings( &mut object_470, @@ -2229,6 +2360,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( object.key("dataPTSControl").string(var_488.as_str()); } if let Some(var_489) = &input.dvb_nit_settings { + #[allow(unused_mut)] let mut object_490 = object.key("dvbNitSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_nit_settings( &mut object_490, @@ -2237,6 +2369,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( object_490.finish(); } if let Some(var_491) = &input.dvb_sdt_settings { + #[allow(unused_mut)] let mut object_492 = object.key("dvbSdtSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_sdt_settings( &mut object_492, @@ -2257,6 +2390,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( array_494.finish(); } if let Some(var_496) = &input.dvb_tdt_settings { + #[allow(unused_mut)] let mut object_497 = object.key("dvbTdtSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_tdt_settings( &mut object_497, @@ -2355,6 +2489,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( object.key("rateMode").string(var_505.as_str()); } if let Some(var_506) = &input.scte35_esam { + #[allow(unused_mut)] let mut object_507 = object.key("scte35Esam").start_object(); crate::json_ser::serialize_structure_crate_model_m2ts_scte35_esam( &mut object_507, @@ -2604,6 +2739,7 @@ pub fn serialize_structure_crate_model_mxf_settings( object.key("profile").string(var_538.as_str()); } if let Some(var_539) = &input.xavc_profile_settings { + #[allow(unused_mut)] let mut object_540 = object.key("xavcProfileSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mxf_xavc_profile_settings( &mut object_540, @@ -2619,11 +2755,13 @@ pub fn serialize_structure_crate_model_video_codec_settings( input: &crate::model::VideoCodecSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_541) = &input.av1_settings { + #[allow(unused_mut)] let mut object_542 = object.key("av1Settings").start_object(); crate::json_ser::serialize_structure_crate_model_av1_settings(&mut object_542, var_541)?; object_542.finish(); } if let Some(var_543) = &input.avc_intra_settings { + #[allow(unused_mut)] let mut object_544 = object.key("avcIntraSettings").start_object(); crate::json_ser::serialize_structure_crate_model_avc_intra_settings( &mut object_544, @@ -2635,6 +2773,7 @@ pub fn serialize_structure_crate_model_video_codec_settings( object.key("codec").string(var_545.as_str()); } if let Some(var_546) = &input.frame_capture_settings { + #[allow(unused_mut)] let mut object_547 = object.key("frameCaptureSettings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_settings( &mut object_547, @@ -2643,41 +2782,49 @@ pub fn serialize_structure_crate_model_video_codec_settings( object_547.finish(); } if let Some(var_548) = &input.h264_settings { + #[allow(unused_mut)] let mut object_549 = object.key("h264Settings").start_object(); crate::json_ser::serialize_structure_crate_model_h264_settings(&mut object_549, var_548)?; object_549.finish(); } if let Some(var_550) = &input.h265_settings { + #[allow(unused_mut)] let mut object_551 = object.key("h265Settings").start_object(); crate::json_ser::serialize_structure_crate_model_h265_settings(&mut object_551, var_550)?; object_551.finish(); } if let Some(var_552) = &input.mpeg2_settings { + #[allow(unused_mut)] let mut object_553 = object.key("mpeg2Settings").start_object(); crate::json_ser::serialize_structure_crate_model_mpeg2_settings(&mut object_553, var_552)?; object_553.finish(); } if let Some(var_554) = &input.prores_settings { + #[allow(unused_mut)] let mut object_555 = object.key("proresSettings").start_object(); crate::json_ser::serialize_structure_crate_model_prores_settings(&mut object_555, var_554)?; object_555.finish(); } if let Some(var_556) = &input.vc3_settings { + #[allow(unused_mut)] let mut object_557 = object.key("vc3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_vc3_settings(&mut object_557, var_556)?; object_557.finish(); } if let Some(var_558) = &input.vp8_settings { + #[allow(unused_mut)] let mut object_559 = object.key("vp8Settings").start_object(); crate::json_ser::serialize_structure_crate_model_vp8_settings(&mut object_559, var_558)?; object_559.finish(); } if let Some(var_560) = &input.vp9_settings { + #[allow(unused_mut)] let mut object_561 = object.key("vp9Settings").start_object(); crate::json_ser::serialize_structure_crate_model_vp9_settings(&mut object_561, var_560)?; object_561.finish(); } if let Some(var_562) = &input.xavc_settings { + #[allow(unused_mut)] let mut object_563 = object.key("xavcSettings").start_object(); crate::json_ser::serialize_structure_crate_model_xavc_settings(&mut object_563, var_562)?; object_563.finish(); @@ -2690,36 +2837,43 @@ pub fn serialize_structure_crate_model_video_preprocessor( input: &crate::model::VideoPreprocessor, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_564) = &input.color_corrector { + #[allow(unused_mut)] let mut object_565 = object.key("colorCorrector").start_object(); crate::json_ser::serialize_structure_crate_model_color_corrector(&mut object_565, var_564)?; object_565.finish(); } if let Some(var_566) = &input.deinterlacer { + #[allow(unused_mut)] let mut object_567 = object.key("deinterlacer").start_object(); crate::json_ser::serialize_structure_crate_model_deinterlacer(&mut object_567, var_566)?; object_567.finish(); } if let Some(var_568) = &input.dolby_vision { + #[allow(unused_mut)] let mut object_569 = object.key("dolbyVision").start_object(); crate::json_ser::serialize_structure_crate_model_dolby_vision(&mut object_569, var_568)?; object_569.finish(); } if let Some(var_570) = &input.hdr10_plus { + #[allow(unused_mut)] let mut object_571 = object.key("hdr10Plus").start_object(); crate::json_ser::serialize_structure_crate_model_hdr10_plus(&mut object_571, var_570)?; object_571.finish(); } if let Some(var_572) = &input.image_inserter { + #[allow(unused_mut)] let mut object_573 = object.key("imageInserter").start_object(); crate::json_ser::serialize_structure_crate_model_image_inserter(&mut object_573, var_572)?; object_573.finish(); } if let Some(var_574) = &input.noise_reducer { + #[allow(unused_mut)] let mut object_575 = object.key("noiseReducer").start_object(); crate::json_ser::serialize_structure_crate_model_noise_reducer(&mut object_575, var_574)?; object_575.finish(); } if let Some(var_576) = &input.partner_watermarking { + #[allow(unused_mut)] let mut object_577 = object.key("partnerWatermarking").start_object(); crate::json_ser::serialize_structure_crate_model_partner_watermarking( &mut object_577, @@ -2728,6 +2882,7 @@ pub fn serialize_structure_crate_model_video_preprocessor( object_577.finish(); } if let Some(var_578) = &input.timecode_burnin { + #[allow(unused_mut)] let mut object_579 = object.key("timecodeBurnin").start_object(); crate::json_ser::serialize_structure_crate_model_timecode_burnin(&mut object_579, var_578)?; object_579.finish(); @@ -2756,6 +2911,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( input: &crate::model::CaptionSourceSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_583) = &input.ancillary_source_settings { + #[allow(unused_mut)] let mut object_584 = object.key("ancillarySourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ancillary_source_settings( &mut object_584, @@ -2764,6 +2920,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( object_584.finish(); } if let Some(var_585) = &input.dvb_sub_source_settings { + #[allow(unused_mut)] let mut object_586 = object.key("dvbSubSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_sub_source_settings( &mut object_586, @@ -2772,6 +2929,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( object_586.finish(); } if let Some(var_587) = &input.embedded_source_settings { + #[allow(unused_mut)] let mut object_588 = object.key("embeddedSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_embedded_source_settings( &mut object_588, @@ -2780,6 +2938,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( object_588.finish(); } if let Some(var_589) = &input.file_source_settings { + #[allow(unused_mut)] let mut object_590 = object.key("fileSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_file_source_settings( &mut object_590, @@ -2791,6 +2950,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( object.key("sourceType").string(var_591.as_str()); } if let Some(var_592) = &input.teletext_source_settings { + #[allow(unused_mut)] let mut object_593 = object.key("teletextSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_teletext_source_settings( &mut object_593, @@ -2799,6 +2959,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( object_593.finish(); } if let Some(var_594) = &input.track_source_settings { + #[allow(unused_mut)] let mut object_595 = object.key("trackSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_track_source_settings( &mut object_595, @@ -2807,6 +2968,7 @@ pub fn serialize_structure_crate_model_caption_source_settings( object_595.finish(); } if let Some(var_596) = &input.webvtt_hls_source_settings { + #[allow(unused_mut)] let mut object_597 = object.key("webvttHlsSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_webvtt_hls_source_settings( &mut object_597, @@ -2989,6 +3151,7 @@ pub fn serialize_structure_crate_model_automated_abr_settings( let mut array_601 = object.key("rules").start_array(); for item_602 in var_600 { { + #[allow(unused_mut)] let mut object_603 = array_601.value().start_object(); crate::json_ser::serialize_structure_crate_model_automated_abr_rule( &mut object_603, @@ -3010,6 +3173,7 @@ pub fn serialize_structure_crate_model_cmaf_group_settings( let mut array_605 = object.key("additionalManifests").start_array(); for item_606 in var_604 { { + #[allow(unused_mut)] let mut object_607 = array_605.value().start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_additional_manifest( &mut object_607, @@ -3033,6 +3197,7 @@ pub fn serialize_structure_crate_model_cmaf_group_settings( object.key("destination").string(var_611.as_str()); } if let Some(var_612) = &input.destination_settings { + #[allow(unused_mut)] let mut object_613 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_destination_settings( &mut object_613, @@ -3041,6 +3206,7 @@ pub fn serialize_structure_crate_model_cmaf_group_settings( object_613.finish(); } if let Some(var_614) = &input.encryption { + #[allow(unused_mut)] let mut object_615 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_encryption_settings( &mut object_615, @@ -3058,6 +3224,7 @@ pub fn serialize_structure_crate_model_cmaf_group_settings( object.key("imageBasedTrickPlay").string(var_616.as_str()); } if let Some(var_617) = &input.image_based_trick_play_settings { + #[allow(unused_mut)] let mut object_618 = object.key("imageBasedTrickPlaySettings").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_image_based_trick_play_settings( &mut object_618, @@ -3135,6 +3302,7 @@ pub fn serialize_structure_crate_model_dash_iso_group_settings( let mut array_631 = object.key("additionalManifests").start_array(); for item_632 in var_630 { { + #[allow(unused_mut)] let mut object_633 = array_631.value().start_object(); crate::json_ser::serialize_structure_crate_model_dash_additional_manifest( &mut object_633, @@ -3157,6 +3325,7 @@ pub fn serialize_structure_crate_model_dash_iso_group_settings( object.key("destination").string(var_636.as_str()); } if let Some(var_637) = &input.destination_settings { + #[allow(unused_mut)] let mut object_638 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_destination_settings( &mut object_638, @@ -3165,6 +3334,7 @@ pub fn serialize_structure_crate_model_dash_iso_group_settings( object_638.finish(); } if let Some(var_639) = &input.encryption { + #[allow(unused_mut)] let mut object_640 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_dash_iso_encryption_settings( &mut object_640, @@ -3185,6 +3355,7 @@ pub fn serialize_structure_crate_model_dash_iso_group_settings( object.key("imageBasedTrickPlay").string(var_642.as_str()); } if let Some(var_643) = &input.image_based_trick_play_settings { + #[allow(unused_mut)] let mut object_644 = object.key("imageBasedTrickPlaySettings").start_object(); crate::json_ser::serialize_structure_crate_model_dash_iso_image_based_trick_play_settings( &mut object_644, @@ -3240,6 +3411,7 @@ pub fn serialize_structure_crate_model_file_group_settings( object.key("destination").string(var_650.as_str()); } if let Some(var_651) = &input.destination_settings { + #[allow(unused_mut)] let mut object_652 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_destination_settings( &mut object_652, @@ -3267,6 +3439,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( let mut array_657 = object.key("additionalManifests").start_array(); for item_658 in var_656 { { + #[allow(unused_mut)] let mut object_659 = array_657.value().start_object(); crate::json_ser::serialize_structure_crate_model_hls_additional_manifest( &mut object_659, @@ -3287,6 +3460,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( let mut array_663 = object.key("captionLanguageMappings").start_array(); for item_664 in var_662 { { + #[allow(unused_mut)] let mut object_665 = array_663.value().start_object(); crate::json_ser::serialize_structure_crate_model_hls_caption_language_mapping( &mut object_665, @@ -3317,6 +3491,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( object.key("destination").string(var_670.as_str()); } if let Some(var_671) = &input.destination_settings { + #[allow(unused_mut)] let mut object_672 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_destination_settings( &mut object_672, @@ -3328,6 +3503,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( object.key("directoryStructure").string(var_673.as_str()); } if let Some(var_674) = &input.encryption { + #[allow(unused_mut)] let mut object_675 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_hls_encryption_settings( &mut object_675, @@ -3339,6 +3515,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( object.key("imageBasedTrickPlay").string(var_676.as_str()); } if let Some(var_677) = &input.image_based_trick_play_settings { + #[allow(unused_mut)] let mut object_678 = object.key("imageBasedTrickPlaySettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_image_based_trick_play_settings( &mut object_678, @@ -3430,6 +3607,7 @@ pub fn serialize_structure_crate_model_ms_smooth_group_settings( let mut array_689 = object.key("additionalManifests").start_array(); for item_690 in var_688 { { + #[allow(unused_mut)] let mut object_691 = array_689.value().start_object(); crate::json_ser::serialize_structure_crate_model_ms_smooth_additional_manifest( &mut object_691, @@ -3447,6 +3625,7 @@ pub fn serialize_structure_crate_model_ms_smooth_group_settings( object.key("destination").string(var_693.as_str()); } if let Some(var_694) = &input.destination_settings { + #[allow(unused_mut)] let mut object_695 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_destination_settings( &mut object_695, @@ -3455,6 +3634,7 @@ pub fn serialize_structure_crate_model_ms_smooth_group_settings( object_695.finish(); } if let Some(var_696) = &input.encryption { + #[allow(unused_mut)] let mut object_697 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_ms_smooth_encryption_settings( &mut object_697, @@ -3488,6 +3668,7 @@ pub fn serialize_structure_crate_model_caption_description( object.key("customLanguageCode").string(var_701.as_str()); } if let Some(var_702) = &input.destination_settings { + #[allow(unused_mut)] let mut object_703 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_caption_destination_settings( &mut object_703, @@ -3509,6 +3690,7 @@ pub fn serialize_structure_crate_model_output_settings( input: &crate::model::OutputSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_706) = &input.hls_settings { + #[allow(unused_mut)] let mut object_707 = object.key("hlsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_settings(&mut object_707, var_706)?; object_707.finish(); @@ -3958,6 +4140,7 @@ pub fn serialize_structure_crate_model_channel_mapping( let mut array_749 = object.key("outputChannels").start_array(); for item_750 in var_748 { { + #[allow(unused_mut)] let mut object_751 = array_749.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_channel_mapping( &mut object_751, @@ -4432,6 +4615,7 @@ pub fn serialize_structure_crate_model_av1_settings( ); } if let Some(var_796) = &input.qvbr_settings { + #[allow(unused_mut)] let mut object_797 = object.key("qvbrSettings").start_object(); crate::json_ser::serialize_structure_crate_model_av1_qvbr_settings( &mut object_797, @@ -4464,6 +4648,7 @@ pub fn serialize_structure_crate_model_avc_intra_settings( object.key("avcIntraClass").string(var_800.as_str()); } if let Some(var_801) = &input.avc_intra_uhd_settings { + #[allow(unused_mut)] let mut object_802 = object.key("avcIntraUhdSettings").start_object(); crate::json_ser::serialize_structure_crate_model_avc_intra_uhd_settings( &mut object_802, @@ -4670,6 +4855,7 @@ pub fn serialize_structure_crate_model_h264_settings( object.key("qualityTuningLevel").string(var_822.as_str()); } if let Some(var_823) = &input.qvbr_settings { + #[allow(unused_mut)] let mut object_824 = object.key("qvbrSettings").start_object(); crate::json_ser::serialize_structure_crate_model_h264_qvbr_settings( &mut object_824, @@ -4860,6 +5046,7 @@ pub fn serialize_structure_crate_model_h265_settings( object.key("qualityTuningLevel").string(var_847.as_str()); } if let Some(var_848) = &input.qvbr_settings { + #[allow(unused_mut)] let mut object_849 = object.key("qvbrSettings").start_object(); crate::json_ser::serialize_structure_crate_model_h265_qvbr_settings( &mut object_849, @@ -5377,6 +5564,7 @@ pub fn serialize_structure_crate_model_xavc_settings( .string(var_914.as_str()); } if let Some(var_915) = &input.xavc4k_intra_cbg_profile_settings { + #[allow(unused_mut)] let mut object_916 = object.key("xavc4kIntraCbgProfileSettings").start_object(); crate::json_ser::serialize_structure_crate_model_xavc4k_intra_cbg_profile_settings( &mut object_916, @@ -5385,6 +5573,7 @@ pub fn serialize_structure_crate_model_xavc_settings( object_916.finish(); } if let Some(var_917) = &input.xavc4k_intra_vbr_profile_settings { + #[allow(unused_mut)] let mut object_918 = object.key("xavc4kIntraVbrProfileSettings").start_object(); crate::json_ser::serialize_structure_crate_model_xavc4k_intra_vbr_profile_settings( &mut object_918, @@ -5393,6 +5582,7 @@ pub fn serialize_structure_crate_model_xavc_settings( object_918.finish(); } if let Some(var_919) = &input.xavc4k_profile_settings { + #[allow(unused_mut)] let mut object_920 = object.key("xavc4kProfileSettings").start_object(); crate::json_ser::serialize_structure_crate_model_xavc4k_profile_settings( &mut object_920, @@ -5401,6 +5591,7 @@ pub fn serialize_structure_crate_model_xavc_settings( object_920.finish(); } if let Some(var_921) = &input.xavc_hd_intra_cbg_profile_settings { + #[allow(unused_mut)] let mut object_922 = object.key("xavcHdIntraCbgProfileSettings").start_object(); crate::json_ser::serialize_structure_crate_model_xavc_hd_intra_cbg_profile_settings( &mut object_922, @@ -5409,6 +5600,7 @@ pub fn serialize_structure_crate_model_xavc_settings( object_922.finish(); } if let Some(var_923) = &input.xavc_hd_profile_settings { + #[allow(unused_mut)] let mut object_924 = object.key("xavcHdProfileSettings").start_object(); crate::json_ser::serialize_structure_crate_model_xavc_hd_profile_settings( &mut object_924, @@ -5439,6 +5631,7 @@ pub fn serialize_structure_crate_model_color_corrector( ); } if let Some(var_926) = &input.hdr10_metadata { + #[allow(unused_mut)] let mut object_927 = object.key("hdr10Metadata").start_object(); crate::json_ser::serialize_structure_crate_model_hdr10_metadata(&mut object_927, var_926)?; object_927.finish(); @@ -5482,6 +5675,7 @@ pub fn serialize_structure_crate_model_dolby_vision( input: &crate::model::DolbyVision, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_932) = &input.l6_metadata { + #[allow(unused_mut)] let mut object_933 = object.key("l6Metadata").start_object(); crate::json_ser::serialize_structure_crate_model_dolby_vision_level6_metadata( &mut object_933, @@ -5528,6 +5722,7 @@ pub fn serialize_structure_crate_model_noise_reducer( object.key("filter").string(var_937.as_str()); } if let Some(var_938) = &input.filter_settings { + #[allow(unused_mut)] let mut object_939 = object.key("filterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_noise_reducer_filter_settings( &mut object_939, @@ -5536,6 +5731,7 @@ pub fn serialize_structure_crate_model_noise_reducer( object_939.finish(); } if let Some(var_940) = &input.spatial_filter_settings { + #[allow(unused_mut)] let mut object_941 = object.key("spatialFilterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_noise_reducer_spatial_filter_settings( &mut object_941, @@ -5544,6 +5740,7 @@ pub fn serialize_structure_crate_model_noise_reducer( object_941.finish(); } if let Some(var_942) = &input.temporal_filter_settings { + #[allow(unused_mut)] let mut object_943 = object.key("temporalFilterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_noise_reducer_temporal_filter_settings( &mut object_943, @@ -5559,6 +5756,7 @@ pub fn serialize_structure_crate_model_partner_watermarking( input: &crate::model::PartnerWatermarking, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_944) = &input.nexguard_file_marker_settings { + #[allow(unused_mut)] let mut object_945 = object.key("nexguardFileMarkerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_nex_guard_file_marker_settings( &mut object_945, @@ -5653,6 +5851,7 @@ pub fn serialize_structure_crate_model_file_source_settings( object.key("convert608To708").string(var_952.as_str()); } if let Some(var_953) = &input.framerate { + #[allow(unused_mut)] let mut object_954 = object.key("framerate").start_object(); crate::json_ser::serialize_structure_crate_model_caption_source_framerate( &mut object_954, @@ -5722,6 +5921,7 @@ pub fn serialize_structure_crate_model_automated_abr_rule( let mut array_962 = object.key("allowedRenditions").start_array(); for item_963 in var_961 { { + #[allow(unused_mut)] let mut object_964 = array_962.value().start_object(); crate::json_ser::serialize_structure_crate_model_allowed_rendition_size( &mut object_964, @@ -5736,6 +5936,7 @@ pub fn serialize_structure_crate_model_automated_abr_rule( let mut array_966 = object.key("forceIncludeRenditions").start_array(); for item_967 in var_965 { { + #[allow(unused_mut)] let mut object_968 = array_966.value().start_object(); crate::json_ser::serialize_structure_crate_model_force_include_rendition_size( &mut object_968, @@ -5747,6 +5948,7 @@ pub fn serialize_structure_crate_model_automated_abr_rule( array_966.finish(); } if let Some(var_969) = &input.min_bottom_rendition_size { + #[allow(unused_mut)] let mut object_970 = object.key("minBottomRenditionSize").start_object(); crate::json_ser::serialize_structure_crate_model_min_bottom_rendition_size( &mut object_970, @@ -5755,6 +5957,7 @@ pub fn serialize_structure_crate_model_automated_abr_rule( object_970.finish(); } if let Some(var_971) = &input.min_top_rendition_size { + #[allow(unused_mut)] let mut object_972 = object.key("minTopRenditionSize").start_object(); crate::json_ser::serialize_structure_crate_model_min_top_rendition_size( &mut object_972, @@ -5792,6 +5995,7 @@ pub fn serialize_structure_crate_model_destination_settings( input: &crate::model::DestinationSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_978) = &input.s3_settings { + #[allow(unused_mut)] let mut object_979 = object.key("s3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_settings( &mut object_979, @@ -5820,6 +6024,7 @@ pub fn serialize_structure_crate_model_cmaf_encryption_settings( .string(var_982.as_str()); } if let Some(var_983) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_984 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider_cmaf( &mut object_984, @@ -5828,6 +6033,7 @@ pub fn serialize_structure_crate_model_cmaf_encryption_settings( object_984.finish(); } if let Some(var_985) = &input.static_key_provider { + #[allow(unused_mut)] let mut object_986 = object.key("staticKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_static_key_provider( &mut object_986, @@ -5910,6 +6116,7 @@ pub fn serialize_structure_crate_model_dash_iso_encryption_settings( .string(var_993.as_str()); } if let Some(var_994) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_995 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_995, @@ -6022,6 +6229,7 @@ pub fn serialize_structure_crate_model_hls_encryption_settings( object.key("offlineEncrypted").string(var_1007.as_str()); } if let Some(var_1008) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_1009 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_1009, @@ -6030,6 +6238,7 @@ pub fn serialize_structure_crate_model_hls_encryption_settings( object_1009.finish(); } if let Some(var_1010) = &input.static_key_provider { + #[allow(unused_mut)] let mut object_1011 = object.key("staticKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_static_key_provider( &mut object_1011, @@ -6107,6 +6316,7 @@ pub fn serialize_structure_crate_model_ms_smooth_encryption_settings( input: &crate::model::MsSmoothEncryptionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1018) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_1019 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_1019, @@ -6591,6 +6801,7 @@ pub fn serialize_structure_crate_model_s3_destination_settings( input: &crate::model::S3DestinationSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1054) = &input.access_control { + #[allow(unused_mut)] let mut object_1055 = object.key("accessControl").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination_access_control( &mut object_1055, @@ -6599,6 +6810,7 @@ pub fn serialize_structure_crate_model_s3_destination_settings( object_1055.finish(); } if let Some(var_1056) = &input.encryption { + #[allow(unused_mut)] let mut object_1057 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_s3_encryption_settings( &mut object_1057, diff --git a/sdk/medialive/src/json_ser.rs b/sdk/medialive/src/json_ser.rs index efe39df978e3..79631c5c8742 100644 --- a/sdk/medialive/src/json_ser.rs +++ b/sdk/medialive/src/json_ser.rs @@ -97,6 +97,7 @@ pub fn serialize_structure_crate_input_batch_update_schedule_input( input: &crate::input::BatchUpdateScheduleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_25) = &input.creates { + #[allow(unused_mut)] let mut object_26 = object.key("creates").start_object(); crate::json_ser::serialize_structure_crate_model_batch_schedule_action_create_request( &mut object_26, @@ -105,6 +106,7 @@ pub fn serialize_structure_crate_input_batch_update_schedule_input( object_26.finish(); } if let Some(var_27) = &input.deletes { + #[allow(unused_mut)] let mut object_28 = object.key("deletes").start_object(); crate::json_ser::serialize_structure_crate_model_batch_schedule_action_delete_request( &mut object_28, @@ -130,6 +132,7 @@ pub fn serialize_structure_crate_input_create_channel_input( input: &crate::input::CreateChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_30) = &input.cdi_input_specification { + #[allow(unused_mut)] let mut object_31 = object.key("cdiInputSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_cdi_input_specification( &mut object_31, @@ -144,6 +147,7 @@ pub fn serialize_structure_crate_input_create_channel_input( let mut array_34 = object.key("destinations").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_destination( &mut object_36, @@ -155,6 +159,7 @@ pub fn serialize_structure_crate_input_create_channel_input( array_34.finish(); } if let Some(var_37) = &input.encoder_settings { + #[allow(unused_mut)] let mut object_38 = object.key("encoderSettings").start_object(); crate::json_ser::serialize_structure_crate_model_encoder_settings(&mut object_38, var_37)?; object_38.finish(); @@ -163,6 +168,7 @@ pub fn serialize_structure_crate_input_create_channel_input( let mut array_40 = object.key("inputAttachments").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_attachment( &mut object_42, @@ -174,6 +180,7 @@ pub fn serialize_structure_crate_input_create_channel_input( array_40.finish(); } if let Some(var_43) = &input.input_specification { + #[allow(unused_mut)] let mut object_44 = object.key("inputSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_input_specification( &mut object_44, @@ -185,6 +192,7 @@ pub fn serialize_structure_crate_input_create_channel_input( object.key("logLevel").string(var_45.as_str()); } if let Some(var_46) = &input.maintenance { + #[allow(unused_mut)] let mut object_47 = object.key("maintenance").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_create_settings( &mut object_47, @@ -205,6 +213,7 @@ pub fn serialize_structure_crate_input_create_channel_input( object.key("roleArn").string(var_51.as_str()); } if let Some(var_52) = &input.tags { + #[allow(unused_mut)] let mut object_53 = object.key("tags").start_object(); for (key_54, value_55) in var_52 { { @@ -214,6 +223,7 @@ pub fn serialize_structure_crate_input_create_channel_input( object_53.finish(); } if let Some(var_56) = &input.vpc { + #[allow(unused_mut)] let mut object_57 = object.key("vpc").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_output_settings( &mut object_57, @@ -232,6 +242,7 @@ pub fn serialize_structure_crate_input_create_input_input( let mut array_59 = object.key("destinations").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_destination_request( &mut object_61, @@ -246,6 +257,7 @@ pub fn serialize_structure_crate_input_create_input_input( let mut array_63 = object.key("inputDevices").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_device_settings( &mut object_65, @@ -269,6 +281,7 @@ pub fn serialize_structure_crate_input_create_input_input( let mut array_70 = object.key("mediaConnectFlows").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_connect_flow_request( &mut object_72, @@ -292,6 +305,7 @@ pub fn serialize_structure_crate_input_create_input_input( let mut array_77 = object.key("sources").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_source_request( &mut object_79, @@ -303,6 +317,7 @@ pub fn serialize_structure_crate_input_create_input_input( array_77.finish(); } if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("tags").start_object(); for (key_82, value_83) in var_80 { { @@ -315,6 +330,7 @@ pub fn serialize_structure_crate_input_create_input_input( object.key("type").string(var_84.as_str()); } if let Some(var_85) = &input.vpc { + #[allow(unused_mut)] let mut object_86 = object.key("vpc").start_object(); crate::json_ser::serialize_structure_crate_model_input_vpc_request(&mut object_86, var_85)?; object_86.finish(); @@ -327,6 +343,7 @@ pub fn serialize_structure_crate_input_create_input_security_group_input( input: &crate::input::CreateInputSecurityGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_87) = &input.tags { + #[allow(unused_mut)] let mut object_88 = object.key("tags").start_object(); for (key_89, value_90) in var_87 { { @@ -339,6 +356,7 @@ pub fn serialize_structure_crate_input_create_input_security_group_input( let mut array_92 = object.key("whitelistRules").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_whitelist_rule_cidr( &mut object_94, @@ -366,6 +384,7 @@ pub fn serialize_structure_crate_input_create_multiplex_input( array_96.finish(); } if let Some(var_98) = &input.multiplex_settings { + #[allow(unused_mut)] let mut object_99 = object.key("multiplexSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_settings( &mut object_99, @@ -380,6 +399,7 @@ pub fn serialize_structure_crate_input_create_multiplex_input( object.key("requestId").string(var_101.as_str()); } if let Some(var_102) = &input.tags { + #[allow(unused_mut)] let mut object_103 = object.key("tags").start_object(); for (key_104, value_105) in var_102 { { @@ -396,6 +416,7 @@ pub fn serialize_structure_crate_input_create_multiplex_program_input( input: &crate::input::CreateMultiplexProgramInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_106) = &input.multiplex_program_settings { + #[allow(unused_mut)] let mut object_107 = object.key("multiplexProgramSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_program_settings( &mut object_107, @@ -420,6 +441,7 @@ pub fn serialize_structure_crate_input_create_partner_input_input( object.key("requestId").string(var_110.as_str()); } if let Some(var_111) = &input.tags { + #[allow(unused_mut)] let mut object_112 = object.key("tags").start_object(); for (key_113, value_114) in var_111 { { @@ -436,6 +458,7 @@ pub fn serialize_structure_crate_input_create_tags_input( input: &crate::input::CreateTagsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_115) = &input.tags { + #[allow(unused_mut)] let mut object_116 = object.key("tags").start_object(); for (key_117, value_118) in var_115 { { @@ -461,6 +484,7 @@ pub fn serialize_structure_crate_input_purchase_offering_input( object.key("name").string(var_119.as_str()); } if let Some(var_120) = &input.renewal_settings { + #[allow(unused_mut)] let mut object_121 = object.key("renewalSettings").start_object(); crate::json_ser::serialize_structure_crate_model_renewal_settings( &mut object_121, @@ -475,6 +499,7 @@ pub fn serialize_structure_crate_input_purchase_offering_input( object.key("start").string(var_123.as_str()); } if let Some(var_124) = &input.tags { + #[allow(unused_mut)] let mut object_125 = object.key("tags").start_object(); for (key_126, value_127) in var_124 { { @@ -517,6 +542,7 @@ pub fn serialize_structure_crate_input_update_channel_input( input: &crate::input::UpdateChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_132) = &input.cdi_input_specification { + #[allow(unused_mut)] let mut object_133 = object.key("cdiInputSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_cdi_input_specification( &mut object_133, @@ -528,6 +554,7 @@ pub fn serialize_structure_crate_input_update_channel_input( let mut array_135 = object.key("destinations").start_array(); for item_136 in var_134 { { + #[allow(unused_mut)] let mut object_137 = array_135.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_destination( &mut object_137, @@ -539,6 +566,7 @@ pub fn serialize_structure_crate_input_update_channel_input( array_135.finish(); } if let Some(var_138) = &input.encoder_settings { + #[allow(unused_mut)] let mut object_139 = object.key("encoderSettings").start_object(); crate::json_ser::serialize_structure_crate_model_encoder_settings( &mut object_139, @@ -550,6 +578,7 @@ pub fn serialize_structure_crate_input_update_channel_input( let mut array_141 = object.key("inputAttachments").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_attachment( &mut object_143, @@ -561,6 +590,7 @@ pub fn serialize_structure_crate_input_update_channel_input( array_141.finish(); } if let Some(var_144) = &input.input_specification { + #[allow(unused_mut)] let mut object_145 = object.key("inputSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_input_specification( &mut object_145, @@ -572,6 +602,7 @@ pub fn serialize_structure_crate_input_update_channel_input( object.key("logLevel").string(var_146.as_str()); } if let Some(var_147) = &input.maintenance { + #[allow(unused_mut)] let mut object_148 = object.key("maintenance").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_update_settings( &mut object_148, @@ -599,6 +630,7 @@ pub fn serialize_structure_crate_input_update_channel_class_input( let mut array_153 = object.key("destinations").start_array(); for item_154 in var_152 { { + #[allow(unused_mut)] let mut object_155 = array_153.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_destination( &mut object_155, @@ -620,6 +652,7 @@ pub fn serialize_structure_crate_input_update_input_input( let mut array_157 = object.key("destinations").start_array(); for item_158 in var_156 { { + #[allow(unused_mut)] let mut object_159 = array_157.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_destination_request( &mut object_159, @@ -634,6 +667,7 @@ pub fn serialize_structure_crate_input_update_input_input( let mut array_161 = object.key("inputDevices").start_array(); for item_162 in var_160 { { + #[allow(unused_mut)] let mut object_163 = array_161.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_device_request( &mut object_163, @@ -657,6 +691,7 @@ pub fn serialize_structure_crate_input_update_input_input( let mut array_168 = object.key("mediaConnectFlows").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_connect_flow_request( &mut object_170, @@ -677,6 +712,7 @@ pub fn serialize_structure_crate_input_update_input_input( let mut array_174 = object.key("sources").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_source_request( &mut object_176, @@ -695,6 +731,7 @@ pub fn serialize_structure_crate_input_update_input_device_input( input: &crate::input::UpdateInputDeviceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_177) = &input.hd_device_settings { + #[allow(unused_mut)] let mut object_178 = object.key("hdDeviceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_device_configurable_settings( &mut object_178, @@ -706,6 +743,7 @@ pub fn serialize_structure_crate_input_update_input_device_input( object.key("name").string(var_179.as_str()); } if let Some(var_180) = &input.uhd_device_settings { + #[allow(unused_mut)] let mut object_181 = object.key("uhdDeviceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_device_configurable_settings( &mut object_181, @@ -721,6 +759,7 @@ pub fn serialize_structure_crate_input_update_input_security_group_input( input: &crate::input::UpdateInputSecurityGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_182) = &input.tags { + #[allow(unused_mut)] let mut object_183 = object.key("tags").start_object(); for (key_184, value_185) in var_182 { { @@ -733,6 +772,7 @@ pub fn serialize_structure_crate_input_update_input_security_group_input( let mut array_187 = object.key("whitelistRules").start_array(); for item_188 in var_186 { { + #[allow(unused_mut)] let mut object_189 = array_187.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_whitelist_rule_cidr( &mut object_189, @@ -751,6 +791,7 @@ pub fn serialize_structure_crate_input_update_multiplex_input( input: &crate::input::UpdateMultiplexInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_190) = &input.multiplex_settings { + #[allow(unused_mut)] let mut object_191 = object.key("multiplexSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_settings( &mut object_191, @@ -769,6 +810,7 @@ pub fn serialize_structure_crate_input_update_multiplex_program_input( input: &crate::input::UpdateMultiplexProgramInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_193) = &input.multiplex_program_settings { + #[allow(unused_mut)] let mut object_194 = object.key("multiplexProgramSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_program_settings( &mut object_194, @@ -787,6 +829,7 @@ pub fn serialize_structure_crate_input_update_reservation_input( object.key("name").string(var_195.as_str()); } if let Some(var_196) = &input.renewal_settings { + #[allow(unused_mut)] let mut object_197 = object.key("renewalSettings").start_object(); crate::json_ser::serialize_structure_crate_model_renewal_settings( &mut object_197, @@ -805,6 +848,7 @@ pub fn serialize_structure_crate_model_batch_schedule_action_create_request( let mut array_199 = object.key("scheduleActions").start_array(); for item_200 in var_198 { { + #[allow(unused_mut)] let mut object_201 = array_199.value().start_object(); crate::json_ser::serialize_structure_crate_model_schedule_action( &mut object_201, @@ -855,6 +899,7 @@ pub fn serialize_structure_crate_model_output_destination( let mut array_208 = object.key("mediaPackageSettings").start_array(); for item_209 in var_207 { { + #[allow(unused_mut)] let mut object_210 = array_208.value().start_object(); crate::json_ser::serialize_structure_crate_model_media_package_output_destination_settings(&mut object_210, item_209)?; object_210.finish(); @@ -863,6 +908,7 @@ pub fn serialize_structure_crate_model_output_destination( array_208.finish(); } if let Some(var_211) = &input.multiplex_settings { + #[allow(unused_mut)] let mut object_212 = object.key("multiplexSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_program_channel_destination_settings(&mut object_212, var_211)?; object_212.finish(); @@ -871,6 +917,7 @@ pub fn serialize_structure_crate_model_output_destination( let mut array_214 = object.key("settings").start_array(); for item_215 in var_213 { { + #[allow(unused_mut)] let mut object_216 = array_214.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_destination_settings( &mut object_216, @@ -892,6 +939,7 @@ pub fn serialize_structure_crate_model_encoder_settings( let mut array_218 = object.key("audioDescriptions").start_array(); for item_219 in var_217 { { + #[allow(unused_mut)] let mut object_220 = array_218.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_description( &mut object_220, @@ -903,11 +951,13 @@ pub fn serialize_structure_crate_model_encoder_settings( array_218.finish(); } if let Some(var_221) = &input.avail_blanking { + #[allow(unused_mut)] let mut object_222 = object.key("availBlanking").start_object(); crate::json_ser::serialize_structure_crate_model_avail_blanking(&mut object_222, var_221)?; object_222.finish(); } if let Some(var_223) = &input.avail_configuration { + #[allow(unused_mut)] let mut object_224 = object.key("availConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_avail_configuration( &mut object_224, @@ -916,6 +966,7 @@ pub fn serialize_structure_crate_model_encoder_settings( object_224.finish(); } if let Some(var_225) = &input.blackout_slate { + #[allow(unused_mut)] let mut object_226 = object.key("blackoutSlate").start_object(); crate::json_ser::serialize_structure_crate_model_blackout_slate(&mut object_226, var_225)?; object_226.finish(); @@ -924,6 +975,7 @@ pub fn serialize_structure_crate_model_encoder_settings( let mut array_228 = object.key("captionDescriptions").start_array(); for item_229 in var_227 { { + #[allow(unused_mut)] let mut object_230 = array_228.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_description( &mut object_230, @@ -935,6 +987,7 @@ pub fn serialize_structure_crate_model_encoder_settings( array_228.finish(); } if let Some(var_231) = &input.feature_activations { + #[allow(unused_mut)] let mut object_232 = object.key("featureActivations").start_object(); crate::json_ser::serialize_structure_crate_model_feature_activations( &mut object_232, @@ -943,6 +996,7 @@ pub fn serialize_structure_crate_model_encoder_settings( object_232.finish(); } if let Some(var_233) = &input.global_configuration { + #[allow(unused_mut)] let mut object_234 = object.key("globalConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_global_configuration( &mut object_234, @@ -951,6 +1005,7 @@ pub fn serialize_structure_crate_model_encoder_settings( object_234.finish(); } if let Some(var_235) = &input.motion_graphics_configuration { + #[allow(unused_mut)] let mut object_236 = object.key("motionGraphicsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_motion_graphics_configuration( &mut object_236, @@ -959,6 +1014,7 @@ pub fn serialize_structure_crate_model_encoder_settings( object_236.finish(); } if let Some(var_237) = &input.nielsen_configuration { + #[allow(unused_mut)] let mut object_238 = object.key("nielsenConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_configuration( &mut object_238, @@ -970,6 +1026,7 @@ pub fn serialize_structure_crate_model_encoder_settings( let mut array_240 = object.key("outputGroups").start_array(); for item_241 in var_239 { { + #[allow(unused_mut)] let mut object_242 = array_240.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_group( &mut object_242, @@ -981,6 +1038,7 @@ pub fn serialize_structure_crate_model_encoder_settings( array_240.finish(); } if let Some(var_243) = &input.timecode_config { + #[allow(unused_mut)] let mut object_244 = object.key("timecodeConfig").start_object(); crate::json_ser::serialize_structure_crate_model_timecode_config(&mut object_244, var_243)?; object_244.finish(); @@ -989,6 +1047,7 @@ pub fn serialize_structure_crate_model_encoder_settings( let mut array_246 = object.key("videoDescriptions").start_array(); for item_247 in var_245 { { + #[allow(unused_mut)] let mut object_248 = array_246.value().start_object(); crate::json_ser::serialize_structure_crate_model_video_description( &mut object_248, @@ -1007,6 +1066,7 @@ pub fn serialize_structure_crate_model_input_attachment( input: &crate::model::InputAttachment, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_249) = &input.automatic_input_failover_settings { + #[allow(unused_mut)] let mut object_250 = object.key("automaticInputFailoverSettings").start_object(); crate::json_ser::serialize_structure_crate_model_automatic_input_failover_settings( &mut object_250, @@ -1021,6 +1081,7 @@ pub fn serialize_structure_crate_model_input_attachment( object.key("inputId").string(var_252.as_str()); } if let Some(var_253) = &input.input_settings { + #[allow(unused_mut)] let mut object_254 = object.key("inputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_settings(&mut object_254, var_253)?; object_254.finish(); @@ -1221,6 +1282,7 @@ pub fn serialize_structure_crate_model_multiplex_program_settings( ); } if let Some(var_283) = &input.service_descriptor { + #[allow(unused_mut)] let mut object_284 = object.key("serviceDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_program_service_descriptor( &mut object_284, @@ -1229,6 +1291,7 @@ pub fn serialize_structure_crate_model_multiplex_program_settings( object_284.finish(); } if let Some(var_285) = &input.video_settings { + #[allow(unused_mut)] let mut object_286 = object.key("videoSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_video_settings( &mut object_286, @@ -1307,6 +1370,7 @@ pub fn serialize_structure_crate_model_schedule_action( object.key("actionName").string(var_293.as_str()); } if let Some(var_294) = &input.schedule_action_settings { + #[allow(unused_mut)] let mut object_295 = object.key("scheduleActionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_action_settings( &mut object_295, @@ -1315,6 +1379,7 @@ pub fn serialize_structure_crate_model_schedule_action( object_295.finish(); } if let Some(var_296) = &input.schedule_action_start_settings { + #[allow(unused_mut)] let mut object_297 = object.key("scheduleActionStartSettings").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_action_start_settings( &mut object_297, @@ -1372,6 +1437,7 @@ pub fn serialize_structure_crate_model_audio_description( input: &crate::model::AudioDescription, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_305) = &input.audio_normalization_settings { + #[allow(unused_mut)] let mut object_306 = object.key("audioNormalizationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_normalization_settings( &mut object_306, @@ -1389,6 +1455,7 @@ pub fn serialize_structure_crate_model_audio_description( object.key("audioTypeControl").string(var_309.as_str()); } if let Some(var_310) = &input.audio_watermarking_settings { + #[allow(unused_mut)] let mut object_311 = object.key("audioWatermarkingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_watermark_settings( &mut object_311, @@ -1397,6 +1464,7 @@ pub fn serialize_structure_crate_model_audio_description( object_311.finish(); } if let Some(var_312) = &input.codec_settings { + #[allow(unused_mut)] let mut object_313 = object.key("codecSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_codec_settings( &mut object_313, @@ -1414,6 +1482,7 @@ pub fn serialize_structure_crate_model_audio_description( object.key("name").string(var_316.as_str()); } if let Some(var_317) = &input.remix_settings { + #[allow(unused_mut)] let mut object_318 = object.key("remixSettings").start_object(); crate::json_ser::serialize_structure_crate_model_remix_settings(&mut object_318, var_317)?; object_318.finish(); @@ -1429,6 +1498,7 @@ pub fn serialize_structure_crate_model_avail_blanking( input: &crate::model::AvailBlanking, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_320) = &input.avail_blanking_image { + #[allow(unused_mut)] let mut object_321 = object.key("availBlankingImage").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_321, var_320)?; object_321.finish(); @@ -1444,6 +1514,7 @@ pub fn serialize_structure_crate_model_avail_configuration( input: &crate::model::AvailConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_323) = &input.avail_settings { + #[allow(unused_mut)] let mut object_324 = object.key("availSettings").start_object(); crate::json_ser::serialize_structure_crate_model_avail_settings(&mut object_324, var_323)?; object_324.finish(); @@ -1456,6 +1527,7 @@ pub fn serialize_structure_crate_model_blackout_slate( input: &crate::model::BlackoutSlate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_325) = &input.blackout_slate_image { + #[allow(unused_mut)] let mut object_326 = object.key("blackoutSlateImage").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_326, var_325)?; object_326.finish(); @@ -1464,6 +1536,7 @@ pub fn serialize_structure_crate_model_blackout_slate( object.key("networkEndBlackout").string(var_327.as_str()); } if let Some(var_328) = &input.network_end_blackout_image { + #[allow(unused_mut)] let mut object_329 = object.key("networkEndBlackoutImage").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_329, var_328)?; object_329.finish(); @@ -1488,6 +1561,7 @@ pub fn serialize_structure_crate_model_caption_description( object.key("captionSelectorName").string(var_333.as_str()); } if let Some(var_334) = &input.destination_settings { + #[allow(unused_mut)] let mut object_335 = object.key("destinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_caption_destination_settings( &mut object_335, @@ -1533,6 +1607,7 @@ pub fn serialize_structure_crate_model_global_configuration( object.key("inputEndAction").string(var_340.as_str()); } if let Some(var_341) = &input.input_loss_behavior { + #[allow(unused_mut)] let mut object_342 = object.key("inputLossBehavior").start_object(); crate::json_ser::serialize_structure_crate_model_input_loss_behavior( &mut object_342, @@ -1564,6 +1639,7 @@ pub fn serialize_structure_crate_model_motion_graphics_configuration( .string(var_346.as_str()); } if let Some(var_347) = &input.motion_graphics_settings { + #[allow(unused_mut)] let mut object_348 = object.key("motionGraphicsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_motion_graphics_settings( &mut object_348, @@ -1597,6 +1673,7 @@ pub fn serialize_structure_crate_model_output_group( object.key("name").string(var_351.as_str()); } if let Some(var_352) = &input.output_group_settings { + #[allow(unused_mut)] let mut object_353 = object.key("outputGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_output_group_settings( &mut object_353, @@ -1608,6 +1685,7 @@ pub fn serialize_structure_crate_model_output_group( let mut array_355 = object.key("outputs").start_array(); for item_356 in var_354 { { + #[allow(unused_mut)] let mut object_357 = array_355.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_357, item_356)?; object_357.finish(); @@ -1639,6 +1717,7 @@ pub fn serialize_structure_crate_model_video_description( input: &crate::model::VideoDescription, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_359) = &input.codec_settings { + #[allow(unused_mut)] let mut object_360 = object.key("codecSettings").start_object(); crate::json_ser::serialize_structure_crate_model_video_codec_settings( &mut object_360, @@ -1690,6 +1769,7 @@ pub fn serialize_structure_crate_model_automatic_input_failover_settings( let mut array_365 = object.key("failoverConditions").start_array(); for item_366 in var_364 { { + #[allow(unused_mut)] let mut object_367 = array_365.value().start_object(); crate::json_ser::serialize_structure_crate_model_failover_condition( &mut object_367, @@ -1717,6 +1797,7 @@ pub fn serialize_structure_crate_model_input_settings( let mut array_371 = object.key("audioSelectors").start_array(); for item_372 in var_370 { { + #[allow(unused_mut)] let mut object_373 = array_371.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_selector( &mut object_373, @@ -1731,6 +1812,7 @@ pub fn serialize_structure_crate_model_input_settings( let mut array_375 = object.key("captionSelectors").start_array(); for item_376 in var_374 { { + #[allow(unused_mut)] let mut object_377 = array_375.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_selector( &mut object_377, @@ -1757,6 +1839,7 @@ pub fn serialize_structure_crate_model_input_settings( object.key("inputFilter").string(var_380.as_str()); } if let Some(var_381) = &input.network_input_settings { + #[allow(unused_mut)] let mut object_382 = object.key("networkInputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_network_input_settings( &mut object_382, @@ -1779,6 +1862,7 @@ pub fn serialize_structure_crate_model_input_settings( object.key("sourceEndBehavior").string(var_384.as_str()); } if let Some(var_385) = &input.video_selector { + #[allow(unused_mut)] let mut object_386 = object.key("videoSelector").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector(&mut object_386, var_385)?; object_386.finish(); @@ -1810,6 +1894,7 @@ pub fn serialize_structure_crate_model_multiplex_video_settings( ); } if let Some(var_389) = &input.statmux_settings { + #[allow(unused_mut)] let mut object_390 = object.key("statmuxSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_statmux_video_settings( &mut object_390, @@ -1825,16 +1910,19 @@ pub fn serialize_structure_crate_model_schedule_action_settings( input: &crate::model::ScheduleActionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_391) = &input.hls_id3_segment_tagging_settings { + #[allow(unused_mut)] let mut object_392 = object.key("hlsId3SegmentTaggingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_id3_segment_tagging_schedule_action_settings(&mut object_392, var_391)?; object_392.finish(); } if let Some(var_393) = &input.hls_timed_metadata_settings { + #[allow(unused_mut)] let mut object_394 = object.key("hlsTimedMetadataSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_timed_metadata_schedule_action_settings(&mut object_394, var_393)?; object_394.finish(); } if let Some(var_395) = &input.input_prepare_settings { + #[allow(unused_mut)] let mut object_396 = object.key("inputPrepareSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_prepare_schedule_action_settings( &mut object_396, @@ -1843,6 +1931,7 @@ pub fn serialize_structure_crate_model_schedule_action_settings( object_396.finish(); } if let Some(var_397) = &input.input_switch_settings { + #[allow(unused_mut)] let mut object_398 = object.key("inputSwitchSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_switch_schedule_action_settings( &mut object_398, @@ -1851,6 +1940,7 @@ pub fn serialize_structure_crate_model_schedule_action_settings( object_398.finish(); } if let Some(var_399) = &input.motion_graphics_image_activate_settings { + #[allow(unused_mut)] let mut object_400 = object .key("motionGraphicsImageActivateSettings") .start_object(); @@ -1858,6 +1948,7 @@ pub fn serialize_structure_crate_model_schedule_action_settings( object_400.finish(); } if let Some(var_401) = &input.motion_graphics_image_deactivate_settings { + #[allow(unused_mut)] let mut object_402 = object .key("motionGraphicsImageDeactivateSettings") .start_object(); @@ -1865,6 +1956,7 @@ pub fn serialize_structure_crate_model_schedule_action_settings( object_402.finish(); } if let Some(var_403) = &input.pause_state_settings { + #[allow(unused_mut)] let mut object_404 = object.key("pauseStateSettings").start_object(); crate::json_ser::serialize_structure_crate_model_pause_state_schedule_action_settings( &mut object_404, @@ -1873,26 +1965,31 @@ pub fn serialize_structure_crate_model_schedule_action_settings( object_404.finish(); } if let Some(var_405) = &input.scte35_return_to_network_settings { + #[allow(unused_mut)] let mut object_406 = object.key("scte35ReturnToNetworkSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_return_to_network_schedule_action_settings(&mut object_406, var_405)?; object_406.finish(); } if let Some(var_407) = &input.scte35_splice_insert_settings { + #[allow(unused_mut)] let mut object_408 = object.key("scte35SpliceInsertSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_splice_insert_schedule_action_settings(&mut object_408, var_407)?; object_408.finish(); } if let Some(var_409) = &input.scte35_time_signal_settings { + #[allow(unused_mut)] let mut object_410 = object.key("scte35TimeSignalSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_time_signal_schedule_action_settings(&mut object_410, var_409)?; object_410.finish(); } if let Some(var_411) = &input.static_image_activate_settings { + #[allow(unused_mut)] let mut object_412 = object.key("staticImageActivateSettings").start_object(); crate::json_ser::serialize_structure_crate_model_static_image_activate_schedule_action_settings(&mut object_412, var_411)?; object_412.finish(); } if let Some(var_413) = &input.static_image_deactivate_settings { + #[allow(unused_mut)] let mut object_414 = object.key("staticImageDeactivateSettings").start_object(); crate::json_ser::serialize_structure_crate_model_static_image_deactivate_schedule_action_settings(&mut object_414, var_413)?; object_414.finish(); @@ -1905,6 +2002,7 @@ pub fn serialize_structure_crate_model_schedule_action_start_settings( input: &crate::model::ScheduleActionStartSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_415) = &input.fixed_mode_schedule_action_start_settings { + #[allow(unused_mut)] let mut object_416 = object .key("fixedModeScheduleActionStartSettings") .start_object(); @@ -1915,6 +2013,7 @@ pub fn serialize_structure_crate_model_schedule_action_start_settings( object_416.finish(); } if let Some(var_417) = &input.follow_mode_schedule_action_start_settings { + #[allow(unused_mut)] let mut object_418 = object .key("followModeScheduleActionStartSettings") .start_object(); @@ -1922,6 +2021,7 @@ pub fn serialize_structure_crate_model_schedule_action_start_settings( object_418.finish(); } if let Some(var_419) = &input.immediate_mode_schedule_action_start_settings { + #[allow(unused_mut)] let mut object_420 = object .key("immediateModeScheduleActionStartSettings") .start_object(); @@ -1955,6 +2055,7 @@ pub fn serialize_structure_crate_model_audio_watermark_settings( input: &crate::model::AudioWatermarkSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_423) = &input.nielsen_watermarks_settings { + #[allow(unused_mut)] let mut object_424 = object.key("nielsenWatermarksSettings").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_watermarks_settings( &mut object_424, @@ -1970,16 +2071,19 @@ pub fn serialize_structure_crate_model_audio_codec_settings( input: &crate::model::AudioCodecSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_425) = &input.aac_settings { + #[allow(unused_mut)] let mut object_426 = object.key("aacSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aac_settings(&mut object_426, var_425)?; object_426.finish(); } if let Some(var_427) = &input.ac3_settings { + #[allow(unused_mut)] let mut object_428 = object.key("ac3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_ac3_settings(&mut object_428, var_427)?; object_428.finish(); } if let Some(var_429) = &input.eac3_atmos_settings { + #[allow(unused_mut)] let mut object_430 = object.key("eac3AtmosSettings").start_object(); crate::json_ser::serialize_structure_crate_model_eac3_atmos_settings( &mut object_430, @@ -1988,16 +2092,19 @@ pub fn serialize_structure_crate_model_audio_codec_settings( object_430.finish(); } if let Some(var_431) = &input.eac3_settings { + #[allow(unused_mut)] let mut object_432 = object.key("eac3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_eac3_settings(&mut object_432, var_431)?; object_432.finish(); } if let Some(var_433) = &input.mp2_settings { + #[allow(unused_mut)] let mut object_434 = object.key("mp2Settings").start_object(); crate::json_ser::serialize_structure_crate_model_mp2_settings(&mut object_434, var_433)?; object_434.finish(); } if let Some(var_435) = &input.pass_through_settings { + #[allow(unused_mut)] let mut object_436 = object.key("passThroughSettings").start_object(); crate::json_ser::serialize_structure_crate_model_pass_through_settings( &mut object_436, @@ -2006,6 +2113,7 @@ pub fn serialize_structure_crate_model_audio_codec_settings( object_436.finish(); } if let Some(var_437) = &input.wav_settings { + #[allow(unused_mut)] let mut object_438 = object.key("wavSettings").start_object(); crate::json_ser::serialize_structure_crate_model_wav_settings(&mut object_438, var_437)?; object_438.finish(); @@ -2021,6 +2129,7 @@ pub fn serialize_structure_crate_model_remix_settings( let mut array_440 = object.key("channelMappings").start_array(); for item_441 in var_439 { { + #[allow(unused_mut)] let mut object_442 = array_440.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_channel_mapping( &mut object_442, @@ -2067,6 +2176,7 @@ pub fn serialize_structure_crate_model_avail_settings( input: &crate::model::AvailSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_446) = &input.scte35_splice_insert { + #[allow(unused_mut)] let mut object_447 = object.key("scte35SpliceInsert").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_splice_insert( &mut object_447, @@ -2075,6 +2185,7 @@ pub fn serialize_structure_crate_model_avail_settings( object_447.finish(); } if let Some(var_448) = &input.scte35_time_signal_apos { + #[allow(unused_mut)] let mut object_449 = object.key("scte35TimeSignalApos").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_time_signal_apos( &mut object_449, @@ -2090,6 +2201,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( input: &crate::model::CaptionDestinationSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_450) = &input.arib_destination_settings { + #[allow(unused_mut)] let mut object_451 = object.key("aribDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_arib_destination_settings( &mut object_451, @@ -2098,6 +2210,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_451.finish(); } if let Some(var_452) = &input.burn_in_destination_settings { + #[allow(unused_mut)] let mut object_453 = object.key("burnInDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_burn_in_destination_settings( &mut object_453, @@ -2106,6 +2219,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_453.finish(); } if let Some(var_454) = &input.dvb_sub_destination_settings { + #[allow(unused_mut)] let mut object_455 = object.key("dvbSubDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_sub_destination_settings( &mut object_455, @@ -2114,6 +2228,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_455.finish(); } if let Some(var_456) = &input.ebu_tt_d_destination_settings { + #[allow(unused_mut)] let mut object_457 = object.key("ebuTtDDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ebu_tt_d_destination_settings( &mut object_457, @@ -2122,6 +2237,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_457.finish(); } if let Some(var_458) = &input.embedded_destination_settings { + #[allow(unused_mut)] let mut object_459 = object.key("embeddedDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_embedded_destination_settings( &mut object_459, @@ -2130,6 +2246,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_459.finish(); } if let Some(var_460) = &input.embedded_plus_scte20_destination_settings { + #[allow(unused_mut)] let mut object_461 = object .key("embeddedPlusScte20DestinationSettings") .start_object(); @@ -2140,6 +2257,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_461.finish(); } if let Some(var_462) = &input.rtmp_caption_info_destination_settings { + #[allow(unused_mut)] let mut object_463 = object .key("rtmpCaptionInfoDestinationSettings") .start_object(); @@ -2150,6 +2268,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_463.finish(); } if let Some(var_464) = &input.scte20_plus_embedded_destination_settings { + #[allow(unused_mut)] let mut object_465 = object .key("scte20PlusEmbeddedDestinationSettings") .start_object(); @@ -2160,6 +2279,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_465.finish(); } if let Some(var_466) = &input.scte27_destination_settings { + #[allow(unused_mut)] let mut object_467 = object.key("scte27DestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte27_destination_settings( &mut object_467, @@ -2168,6 +2288,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_467.finish(); } if let Some(var_468) = &input.smpte_tt_destination_settings { + #[allow(unused_mut)] let mut object_469 = object.key("smpteTtDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_smpte_tt_destination_settings( &mut object_469, @@ -2176,6 +2297,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_469.finish(); } if let Some(var_470) = &input.teletext_destination_settings { + #[allow(unused_mut)] let mut object_471 = object.key("teletextDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_teletext_destination_settings( &mut object_471, @@ -2184,6 +2306,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_471.finish(); } if let Some(var_472) = &input.ttml_destination_settings { + #[allow(unused_mut)] let mut object_473 = object.key("ttmlDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ttml_destination_settings( &mut object_473, @@ -2192,6 +2315,7 @@ pub fn serialize_structure_crate_model_caption_destination_settings( object_473.finish(); } if let Some(var_474) = &input.webvtt_destination_settings { + #[allow(unused_mut)] let mut object_475 = object.key("webvttDestinationSettings").start_object(); crate::json_ser::serialize_structure_crate_model_webvtt_destination_settings( &mut object_475, @@ -2216,6 +2340,7 @@ pub fn serialize_structure_crate_model_input_loss_behavior( object.key("inputLossImageColor").string(var_476.as_str()); } if let Some(var_477) = &input.input_loss_image_slate { + #[allow(unused_mut)] let mut object_478 = object.key("inputLossImageSlate").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_478, var_477)?; object_478.finish(); @@ -2237,6 +2362,7 @@ pub fn serialize_structure_crate_model_motion_graphics_settings( input: &crate::model::MotionGraphicsSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_480) = &input.html_motion_graphics_settings { + #[allow(unused_mut)] let mut object_481 = object.key("htmlMotionGraphicsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_html_motion_graphics_settings( &mut object_481, @@ -2252,6 +2378,7 @@ pub fn serialize_structure_crate_model_output_group_settings( input: &crate::model::OutputGroupSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_482) = &input.archive_group_settings { + #[allow(unused_mut)] let mut object_483 = object.key("archiveGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_archive_group_settings( &mut object_483, @@ -2260,6 +2387,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_483.finish(); } if let Some(var_484) = &input.frame_capture_group_settings { + #[allow(unused_mut)] let mut object_485 = object.key("frameCaptureGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_group_settings( &mut object_485, @@ -2268,6 +2396,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_485.finish(); } if let Some(var_486) = &input.hls_group_settings { + #[allow(unused_mut)] let mut object_487 = object.key("hlsGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_group_settings( &mut object_487, @@ -2276,6 +2405,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_487.finish(); } if let Some(var_488) = &input.media_package_group_settings { + #[allow(unused_mut)] let mut object_489 = object.key("mediaPackageGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_media_package_group_settings( &mut object_489, @@ -2284,6 +2414,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_489.finish(); } if let Some(var_490) = &input.ms_smooth_group_settings { + #[allow(unused_mut)] let mut object_491 = object.key("msSmoothGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ms_smooth_group_settings( &mut object_491, @@ -2292,6 +2423,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_491.finish(); } if let Some(var_492) = &input.multiplex_group_settings { + #[allow(unused_mut)] let mut object_493 = object.key("multiplexGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_group_settings( &mut object_493, @@ -2300,6 +2432,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_493.finish(); } if let Some(var_494) = &input.rtmp_group_settings { + #[allow(unused_mut)] let mut object_495 = object.key("rtmpGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_rtmp_group_settings( &mut object_495, @@ -2308,6 +2441,7 @@ pub fn serialize_structure_crate_model_output_group_settings( object_495.finish(); } if let Some(var_496) = &input.udp_group_settings { + #[allow(unused_mut)] let mut object_497 = object.key("udpGroupSettings").start_object(); crate::json_ser::serialize_structure_crate_model_udp_group_settings( &mut object_497, @@ -2344,6 +2478,7 @@ pub fn serialize_structure_crate_model_output( object.key("outputName").string(var_504.as_str()); } if let Some(var_505) = &input.output_settings { + #[allow(unused_mut)] let mut object_506 = object.key("outputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_output_settings(&mut object_506, var_505)?; object_506.finish(); @@ -2359,6 +2494,7 @@ pub fn serialize_structure_crate_model_video_codec_settings( input: &crate::model::VideoCodecSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_508) = &input.frame_capture_settings { + #[allow(unused_mut)] let mut object_509 = object.key("frameCaptureSettings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_settings( &mut object_509, @@ -2367,16 +2503,19 @@ pub fn serialize_structure_crate_model_video_codec_settings( object_509.finish(); } if let Some(var_510) = &input.h264_settings { + #[allow(unused_mut)] let mut object_511 = object.key("h264Settings").start_object(); crate::json_ser::serialize_structure_crate_model_h264_settings(&mut object_511, var_510)?; object_511.finish(); } if let Some(var_512) = &input.h265_settings { + #[allow(unused_mut)] let mut object_513 = object.key("h265Settings").start_object(); crate::json_ser::serialize_structure_crate_model_h265_settings(&mut object_513, var_512)?; object_513.finish(); } if let Some(var_514) = &input.mpeg2_settings { + #[allow(unused_mut)] let mut object_515 = object.key("mpeg2Settings").start_object(); crate::json_ser::serialize_structure_crate_model_mpeg2_settings(&mut object_515, var_514)?; object_515.finish(); @@ -2389,6 +2528,7 @@ pub fn serialize_structure_crate_model_failover_condition( input: &crate::model::FailoverCondition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_516) = &input.failover_condition_settings { + #[allow(unused_mut)] let mut object_517 = object.key("failoverConditionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_failover_condition_settings( &mut object_517, @@ -2407,6 +2547,7 @@ pub fn serialize_structure_crate_model_audio_selector( object.key("name").string(var_518.as_str()); } if let Some(var_519) = &input.selector_settings { + #[allow(unused_mut)] let mut object_520 = object.key("selectorSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_selector_settings( &mut object_520, @@ -2428,6 +2569,7 @@ pub fn serialize_structure_crate_model_caption_selector( object.key("name").string(var_522.as_str()); } if let Some(var_523) = &input.selector_settings { + #[allow(unused_mut)] let mut object_524 = object.key("selectorSettings").start_object(); crate::json_ser::serialize_structure_crate_model_caption_selector_settings( &mut object_524, @@ -2443,6 +2585,7 @@ pub fn serialize_structure_crate_model_network_input_settings( input: &crate::model::NetworkInputSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_525) = &input.hls_input_settings { + #[allow(unused_mut)] let mut object_526 = object.key("hlsInputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_input_settings( &mut object_526, @@ -2464,6 +2607,7 @@ pub fn serialize_structure_crate_model_video_selector( object.key("colorSpace").string(var_528.as_str()); } if let Some(var_529) = &input.color_space_settings { + #[allow(unused_mut)] let mut object_530 = object.key("colorSpaceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector_color_space_settings( &mut object_530, @@ -2475,6 +2619,7 @@ pub fn serialize_structure_crate_model_video_selector( object.key("colorSpaceUsage").string(var_531.as_str()); } if let Some(var_532) = &input.selector_settings { + #[allow(unused_mut)] let mut object_533 = object.key("selectorSettings").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector_settings( &mut object_533, @@ -2540,6 +2685,7 @@ pub fn serialize_structure_crate_model_input_prepare_schedule_action_settings( .string(var_536.as_str()); } if let Some(var_537) = &input.input_clipping_settings { + #[allow(unused_mut)] let mut object_538 = object.key("inputClippingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_clipping_settings( &mut object_538, @@ -2569,6 +2715,7 @@ pub fn serialize_structure_crate_model_input_switch_schedule_action_settings( .string(var_542.as_str()); } if let Some(var_543) = &input.input_clipping_settings { + #[allow(unused_mut)] let mut object_544 = object.key("inputClippingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_clipping_settings( &mut object_544, @@ -2626,6 +2773,7 @@ pub fn serialize_structure_crate_model_pause_state_schedule_action_settings( let mut array_552 = object.key("pipelines").start_array(); for item_553 in var_551 { { + #[allow(unused_mut)] let mut object_554 = array_552.value().start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_pause_state_settings( &mut object_554, @@ -2679,6 +2827,7 @@ pub fn serialize_structure_crate_model_scte35_time_signal_schedule_action_settin let mut array_556 = object.key("scte35Descriptors").start_array(); for item_557 in var_555 { { + #[allow(unused_mut)] let mut object_558 = array_556.value().start_object(); crate::json_ser::serialize_structure_crate_model_scte35_descriptor( &mut object_558, @@ -2721,6 +2870,7 @@ pub fn serialize_structure_crate_model_static_image_activate_schedule_action_set ); } if let Some(var_559) = &input.image { + #[allow(unused_mut)] let mut object_560 = object.key("image").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_560, var_559)?; object_560.finish(); @@ -2813,6 +2963,7 @@ pub fn serialize_structure_crate_model_nielsen_watermarks_settings( input: &crate::model::NielsenWatermarksSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_564) = &input.nielsen_cbet_settings { + #[allow(unused_mut)] let mut object_565 = object.key("nielsenCbetSettings").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_cbet(&mut object_565, var_564)?; object_565.finish(); @@ -2823,6 +2974,7 @@ pub fn serialize_structure_crate_model_nielsen_watermarks_settings( .string(var_566.as_str()); } if let Some(var_567) = &input.nielsen_naes_ii_nw_settings { + #[allow(unused_mut)] let mut object_568 = object.key("nielsenNaesIiNwSettings").start_object(); crate::json_ser::serialize_structure_crate_model_nielsen_naes_ii_nw( &mut object_568, @@ -3092,6 +3244,7 @@ pub fn serialize_structure_crate_model_audio_channel_mapping( let mut array_601 = object.key("inputChannelLevels").start_array(); for item_602 in var_600 { { + #[allow(unused_mut)] let mut object_603 = array_601.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_channel_level( &mut object_603, @@ -3182,6 +3335,7 @@ pub fn serialize_structure_crate_model_burn_in_destination_settings( ); } if let Some(var_610) = &input.font { + #[allow(unused_mut)] let mut object_611 = object.key("font").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_611, var_610)?; object_611.finish(); @@ -3269,6 +3423,7 @@ pub fn serialize_structure_crate_model_dvb_sub_destination_settings( ); } if let Some(var_619) = &input.font { + #[allow(unused_mut)] let mut object_620 = object.key("font").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_620, var_619)?; object_620.finish(); @@ -3447,6 +3602,7 @@ pub fn serialize_structure_crate_model_archive_group_settings( input: &crate::model::ArchiveGroupSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_632) = &input.archive_cdn_settings { + #[allow(unused_mut)] let mut object_633 = object.key("archiveCdnSettings").start_object(); crate::json_ser::serialize_structure_crate_model_archive_cdn_settings( &mut object_633, @@ -3455,6 +3611,7 @@ pub fn serialize_structure_crate_model_archive_group_settings( object_633.finish(); } if let Some(var_634) = &input.destination { + #[allow(unused_mut)] let mut object_635 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_635, @@ -3476,6 +3633,7 @@ pub fn serialize_structure_crate_model_frame_capture_group_settings( input: &crate::model::FrameCaptureGroupSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_636) = &input.destination { + #[allow(unused_mut)] let mut object_637 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_637, @@ -3484,6 +3642,7 @@ pub fn serialize_structure_crate_model_frame_capture_group_settings( object_637.finish(); } if let Some(var_638) = &input.frame_capture_cdn_settings { + #[allow(unused_mut)] let mut object_639 = object.key("frameCaptureCdnSettings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_cdn_settings( &mut object_639, @@ -3523,6 +3682,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( let mut array_648 = object.key("captionLanguageMappings").start_array(); for item_649 in var_647 { { + #[allow(unused_mut)] let mut object_650 = array_648.value().start_object(); crate::json_ser::serialize_structure_crate_model_caption_language_mapping( &mut object_650, @@ -3548,6 +3708,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( object.key("constantIv").string(var_654.as_str()); } if let Some(var_655) = &input.destination { + #[allow(unused_mut)] let mut object_656 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_656, @@ -3565,6 +3726,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( object.key("encryptionType").string(var_659.as_str()); } if let Some(var_660) = &input.hls_cdn_settings { + #[allow(unused_mut)] let mut object_661 = object.key("hlsCdnSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_cdn_settings( &mut object_661, @@ -3611,6 +3773,7 @@ pub fn serialize_structure_crate_model_hls_group_settings( object.key("keyFormatVersions").string(var_669.as_str()); } if let Some(var_670) = &input.key_provider_settings { + #[allow(unused_mut)] let mut object_671 = object.key("keyProviderSettings").start_object(); crate::json_ser::serialize_structure_crate_model_key_provider_settings( &mut object_671, @@ -3697,6 +3860,7 @@ pub fn serialize_structure_crate_model_media_package_group_settings( input: &crate::model::MediaPackageGroupSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_683) = &input.destination { + #[allow(unused_mut)] let mut object_684 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_684, @@ -3729,6 +3893,7 @@ pub fn serialize_structure_crate_model_ms_smooth_group_settings( ); } if let Some(var_688) = &input.destination { + #[allow(unused_mut)] let mut object_689 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_689, @@ -3870,6 +4035,7 @@ pub fn serialize_structure_crate_model_output_settings( input: &crate::model::OutputSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_708) = &input.archive_output_settings { + #[allow(unused_mut)] let mut object_709 = object.key("archiveOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_archive_output_settings( &mut object_709, @@ -3878,6 +4044,7 @@ pub fn serialize_structure_crate_model_output_settings( object_709.finish(); } if let Some(var_710) = &input.frame_capture_output_settings { + #[allow(unused_mut)] let mut object_711 = object.key("frameCaptureOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_output_settings( &mut object_711, @@ -3886,6 +4053,7 @@ pub fn serialize_structure_crate_model_output_settings( object_711.finish(); } if let Some(var_712) = &input.hls_output_settings { + #[allow(unused_mut)] let mut object_713 = object.key("hlsOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_output_settings( &mut object_713, @@ -3894,6 +4062,7 @@ pub fn serialize_structure_crate_model_output_settings( object_713.finish(); } if let Some(var_714) = &input.media_package_output_settings { + #[allow(unused_mut)] let mut object_715 = object.key("mediaPackageOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_media_package_output_settings( &mut object_715, @@ -3902,6 +4071,7 @@ pub fn serialize_structure_crate_model_output_settings( object_715.finish(); } if let Some(var_716) = &input.ms_smooth_output_settings { + #[allow(unused_mut)] let mut object_717 = object.key("msSmoothOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ms_smooth_output_settings( &mut object_717, @@ -3910,6 +4080,7 @@ pub fn serialize_structure_crate_model_output_settings( object_717.finish(); } if let Some(var_718) = &input.multiplex_output_settings { + #[allow(unused_mut)] let mut object_719 = object.key("multiplexOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_multiplex_output_settings( &mut object_719, @@ -3918,6 +4089,7 @@ pub fn serialize_structure_crate_model_output_settings( object_719.finish(); } if let Some(var_720) = &input.rtmp_output_settings { + #[allow(unused_mut)] let mut object_721 = object.key("rtmpOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_rtmp_output_settings( &mut object_721, @@ -3926,6 +4098,7 @@ pub fn serialize_structure_crate_model_output_settings( object_721.finish(); } if let Some(var_722) = &input.udp_output_settings { + #[allow(unused_mut)] let mut object_723 = object.key("udpOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_udp_output_settings( &mut object_723, @@ -3984,6 +4157,7 @@ pub fn serialize_structure_crate_model_h264_settings( object.key("colorMetadata").string(var_727.as_str()); } if let Some(var_728) = &input.color_space_settings { + #[allow(unused_mut)] let mut object_729 = object.key("colorSpaceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_h264_color_space_settings( &mut object_729, @@ -3995,6 +4169,7 @@ pub fn serialize_structure_crate_model_h264_settings( object.key("entropyEncoding").string(var_730.as_str()); } if let Some(var_731) = &input.filter_settings { + #[allow(unused_mut)] let mut object_732 = object.key("filterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_h264_filter_settings( &mut object_732, @@ -4171,6 +4346,7 @@ pub fn serialize_structure_crate_model_h265_settings( object.key("colorMetadata").string(var_755.as_str()); } if let Some(var_756) = &input.color_space_settings { + #[allow(unused_mut)] let mut object_757 = object.key("colorSpaceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_h265_color_space_settings( &mut object_757, @@ -4179,6 +4355,7 @@ pub fn serialize_structure_crate_model_h265_settings( object_757.finish(); } if let Some(var_758) = &input.filter_settings { + #[allow(unused_mut)] let mut object_759 = object.key("filterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_h265_filter_settings( &mut object_759, @@ -4302,6 +4479,7 @@ pub fn serialize_structure_crate_model_mpeg2_settings( object.key("displayAspectRatio").string(var_775.as_str()); } if let Some(var_776) = &input.filter_settings { + #[allow(unused_mut)] let mut object_777 = object.key("filterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_mpeg2_filter_settings( &mut object_777, @@ -4362,6 +4540,7 @@ pub fn serialize_structure_crate_model_failover_condition_settings( input: &crate::model::FailoverConditionSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_783) = &input.audio_silence_settings { + #[allow(unused_mut)] let mut object_784 = object.key("audioSilenceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_silence_failover_settings( &mut object_784, @@ -4370,6 +4549,7 @@ pub fn serialize_structure_crate_model_failover_condition_settings( object_784.finish(); } if let Some(var_785) = &input.input_loss_settings { + #[allow(unused_mut)] let mut object_786 = object.key("inputLossSettings").start_object(); crate::json_ser::serialize_structure_crate_model_input_loss_failover_settings( &mut object_786, @@ -4378,6 +4558,7 @@ pub fn serialize_structure_crate_model_failover_condition_settings( object_786.finish(); } if let Some(var_787) = &input.video_black_settings { + #[allow(unused_mut)] let mut object_788 = object.key("videoBlackSettings").start_object(); crate::json_ser::serialize_structure_crate_model_video_black_failover_settings( &mut object_788, @@ -4393,6 +4574,7 @@ pub fn serialize_structure_crate_model_audio_selector_settings( input: &crate::model::AudioSelectorSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_789) = &input.audio_hls_rendition_selection { + #[allow(unused_mut)] let mut object_790 = object.key("audioHlsRenditionSelection").start_object(); crate::json_ser::serialize_structure_crate_model_audio_hls_rendition_selection( &mut object_790, @@ -4401,6 +4583,7 @@ pub fn serialize_structure_crate_model_audio_selector_settings( object_790.finish(); } if let Some(var_791) = &input.audio_language_selection { + #[allow(unused_mut)] let mut object_792 = object.key("audioLanguageSelection").start_object(); crate::json_ser::serialize_structure_crate_model_audio_language_selection( &mut object_792, @@ -4409,6 +4592,7 @@ pub fn serialize_structure_crate_model_audio_selector_settings( object_792.finish(); } if let Some(var_793) = &input.audio_pid_selection { + #[allow(unused_mut)] let mut object_794 = object.key("audioPidSelection").start_object(); crate::json_ser::serialize_structure_crate_model_audio_pid_selection( &mut object_794, @@ -4417,6 +4601,7 @@ pub fn serialize_structure_crate_model_audio_selector_settings( object_794.finish(); } if let Some(var_795) = &input.audio_track_selection { + #[allow(unused_mut)] let mut object_796 = object.key("audioTrackSelection").start_object(); crate::json_ser::serialize_structure_crate_model_audio_track_selection( &mut object_796, @@ -4432,6 +4617,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( input: &crate::model::CaptionSelectorSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_797) = &input.ancillary_source_settings { + #[allow(unused_mut)] let mut object_798 = object.key("ancillarySourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_ancillary_source_settings( &mut object_798, @@ -4440,6 +4626,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( object_798.finish(); } if let Some(var_799) = &input.arib_source_settings { + #[allow(unused_mut)] let mut object_800 = object.key("aribSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_arib_source_settings( &mut object_800, @@ -4448,6 +4635,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( object_800.finish(); } if let Some(var_801) = &input.dvb_sub_source_settings { + #[allow(unused_mut)] let mut object_802 = object.key("dvbSubSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_sub_source_settings( &mut object_802, @@ -4456,6 +4644,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( object_802.finish(); } if let Some(var_803) = &input.embedded_source_settings { + #[allow(unused_mut)] let mut object_804 = object.key("embeddedSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_embedded_source_settings( &mut object_804, @@ -4464,6 +4653,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( object_804.finish(); } if let Some(var_805) = &input.scte20_source_settings { + #[allow(unused_mut)] let mut object_806 = object.key("scte20SourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte20_source_settings( &mut object_806, @@ -4472,6 +4662,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( object_806.finish(); } if let Some(var_807) = &input.scte27_source_settings { + #[allow(unused_mut)] let mut object_808 = object.key("scte27SourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte27_source_settings( &mut object_808, @@ -4480,6 +4671,7 @@ pub fn serialize_structure_crate_model_caption_selector_settings( object_808.finish(); } if let Some(var_809) = &input.teletext_source_settings { + #[allow(unused_mut)] let mut object_810 = object.key("teletextSourceSettings").start_object(); crate::json_ser::serialize_structure_crate_model_teletext_source_settings( &mut object_810, @@ -4529,6 +4721,7 @@ pub fn serialize_structure_crate_model_video_selector_color_space_settings( input: &crate::model::VideoSelectorColorSpaceSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_812) = &input.hdr10_settings { + #[allow(unused_mut)] let mut object_813 = object.key("hdr10Settings").start_object(); crate::json_ser::serialize_structure_crate_model_hdr10_settings(&mut object_813, var_812)?; object_813.finish(); @@ -4541,6 +4734,7 @@ pub fn serialize_structure_crate_model_video_selector_settings( input: &crate::model::VideoSelectorSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_814) = &input.video_selector_pid { + #[allow(unused_mut)] let mut object_815 = object.key("videoSelectorPid").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector_pid( &mut object_815, @@ -4549,6 +4743,7 @@ pub fn serialize_structure_crate_model_video_selector_settings( object_815.finish(); } if let Some(var_816) = &input.video_selector_program_id { + #[allow(unused_mut)] let mut object_817 = object.key("videoSelectorProgramId").start_object(); crate::json_ser::serialize_structure_crate_model_video_selector_program_id( &mut object_817, @@ -4567,11 +4762,13 @@ pub fn serialize_structure_crate_model_input_clipping_settings( object.key("inputTimecodeSource").string(var_818.as_str()); } if let Some(var_819) = &input.start_timecode { + #[allow(unused_mut)] let mut object_820 = object.key("startTimecode").start_object(); crate::json_ser::serialize_structure_crate_model_start_timecode(&mut object_820, var_819)?; object_820.finish(); } if let Some(var_821) = &input.stop_timecode { + #[allow(unused_mut)] let mut object_822 = object.key("stopTimecode").start_object(); crate::json_ser::serialize_structure_crate_model_stop_timecode(&mut object_822, var_821)?; object_822.finish(); @@ -4594,6 +4791,7 @@ pub fn serialize_structure_crate_model_scte35_descriptor( input: &crate::model::Scte35Descriptor, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_824) = &input.scte35_descriptor_settings { + #[allow(unused_mut)] let mut object_825 = object.key("scte35DescriptorSettings").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_descriptor_settings( &mut object_825, @@ -4660,6 +4858,7 @@ pub fn serialize_structure_crate_model_archive_cdn_settings( input: &crate::model::ArchiveCdnSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_830) = &input.archive_s3_settings { + #[allow(unused_mut)] let mut object_831 = object.key("archiveS3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_archive_s3_settings( &mut object_831, @@ -4685,6 +4884,7 @@ pub fn serialize_structure_crate_model_frame_capture_cdn_settings( input: &crate::model::FrameCaptureCdnSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_833) = &input.frame_capture_s3_settings { + #[allow(unused_mut)] let mut object_834 = object.key("frameCaptureS3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_s3_settings( &mut object_834, @@ -4719,6 +4919,7 @@ pub fn serialize_structure_crate_model_hls_cdn_settings( input: &crate::model::HlsCdnSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_837) = &input.hls_akamai_settings { + #[allow(unused_mut)] let mut object_838 = object.key("hlsAkamaiSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_akamai_settings( &mut object_838, @@ -4727,6 +4928,7 @@ pub fn serialize_structure_crate_model_hls_cdn_settings( object_838.finish(); } if let Some(var_839) = &input.hls_basic_put_settings { + #[allow(unused_mut)] let mut object_840 = object.key("hlsBasicPutSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_basic_put_settings( &mut object_840, @@ -4735,6 +4937,7 @@ pub fn serialize_structure_crate_model_hls_cdn_settings( object_840.finish(); } if let Some(var_841) = &input.hls_media_store_settings { + #[allow(unused_mut)] let mut object_842 = object.key("hlsMediaStoreSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_media_store_settings( &mut object_842, @@ -4743,11 +4946,13 @@ pub fn serialize_structure_crate_model_hls_cdn_settings( object_842.finish(); } if let Some(var_843) = &input.hls_s3_settings { + #[allow(unused_mut)] let mut object_844 = object.key("hlsS3Settings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_s3_settings(&mut object_844, var_843)?; object_844.finish(); } if let Some(var_845) = &input.hls_webdav_settings { + #[allow(unused_mut)] let mut object_846 = object.key("hlsWebdavSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_webdav_settings( &mut object_846, @@ -4763,6 +4968,7 @@ pub fn serialize_structure_crate_model_key_provider_settings( input: &crate::model::KeyProviderSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_847) = &input.static_key_settings { + #[allow(unused_mut)] let mut object_848 = object.key("staticKeySettings").start_object(); crate::json_ser::serialize_structure_crate_model_static_key_settings( &mut object_848, @@ -4778,6 +4984,7 @@ pub fn serialize_structure_crate_model_archive_output_settings( input: &crate::model::ArchiveOutputSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_849) = &input.container_settings { + #[allow(unused_mut)] let mut object_850 = object.key("containerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_archive_container_settings( &mut object_850, @@ -4812,6 +5019,7 @@ pub fn serialize_structure_crate_model_hls_output_settings( object.key("h265PackagingType").string(var_854.as_str()); } if let Some(var_855) = &input.hls_settings { + #[allow(unused_mut)] let mut object_856 = object.key("hlsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_settings(&mut object_856, var_855)?; object_856.finish(); @@ -4851,6 +5059,7 @@ pub fn serialize_structure_crate_model_multiplex_output_settings( input: &crate::model::MultiplexOutputSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_861) = &input.destination { + #[allow(unused_mut)] let mut object_862 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_862, @@ -4875,6 +5084,7 @@ pub fn serialize_structure_crate_model_rtmp_output_settings( ); } if let Some(var_864) = &input.destination { + #[allow(unused_mut)] let mut object_865 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_865, @@ -4902,6 +5112,7 @@ pub fn serialize_structure_crate_model_udp_output_settings( ); } if let Some(var_866) = &input.container_settings { + #[allow(unused_mut)] let mut object_867 = object.key("containerSettings").start_object(); crate::json_ser::serialize_structure_crate_model_udp_container_settings( &mut object_867, @@ -4910,6 +5121,7 @@ pub fn serialize_structure_crate_model_udp_output_settings( object_867.finish(); } if let Some(var_868) = &input.destination { + #[allow(unused_mut)] let mut object_869 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_output_location_ref( &mut object_869, @@ -4918,6 +5130,7 @@ pub fn serialize_structure_crate_model_udp_output_settings( object_869.finish(); } if let Some(var_870) = &input.fec_output_settings { + #[allow(unused_mut)] let mut object_871 = object.key("fecOutputSettings").start_object(); crate::json_ser::serialize_structure_crate_model_fec_output_settings( &mut object_871, @@ -4933,6 +5146,7 @@ pub fn serialize_structure_crate_model_h264_color_space_settings( input: &crate::model::H264ColorSpaceSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_872) = &input.color_space_passthrough_settings { + #[allow(unused_mut)] let mut object_873 = object.key("colorSpacePassthroughSettings").start_object(); crate::json_ser::serialize_structure_crate_model_color_space_passthrough_settings( &mut object_873, @@ -4941,11 +5155,13 @@ pub fn serialize_structure_crate_model_h264_color_space_settings( object_873.finish(); } if let Some(var_874) = &input.rec601_settings { + #[allow(unused_mut)] let mut object_875 = object.key("rec601Settings").start_object(); crate::json_ser::serialize_structure_crate_model_rec601_settings(&mut object_875, var_874)?; object_875.finish(); } if let Some(var_876) = &input.rec709_settings { + #[allow(unused_mut)] let mut object_877 = object.key("rec709Settings").start_object(); crate::json_ser::serialize_structure_crate_model_rec709_settings(&mut object_877, var_876)?; object_877.finish(); @@ -4958,6 +5174,7 @@ pub fn serialize_structure_crate_model_h264_filter_settings( input: &crate::model::H264FilterSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_878) = &input.temporal_filter_settings { + #[allow(unused_mut)] let mut object_879 = object.key("temporalFilterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_temporal_filter_settings( &mut object_879, @@ -4973,6 +5190,7 @@ pub fn serialize_structure_crate_model_h265_color_space_settings( input: &crate::model::H265ColorSpaceSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_880) = &input.color_space_passthrough_settings { + #[allow(unused_mut)] let mut object_881 = object.key("colorSpacePassthroughSettings").start_object(); crate::json_ser::serialize_structure_crate_model_color_space_passthrough_settings( &mut object_881, @@ -4981,6 +5199,7 @@ pub fn serialize_structure_crate_model_h265_color_space_settings( object_881.finish(); } if let Some(var_882) = &input.dolby_vision81_settings { + #[allow(unused_mut)] let mut object_883 = object.key("dolbyVision81Settings").start_object(); crate::json_ser::serialize_structure_crate_model_dolby_vision81_settings( &mut object_883, @@ -4989,16 +5208,19 @@ pub fn serialize_structure_crate_model_h265_color_space_settings( object_883.finish(); } if let Some(var_884) = &input.hdr10_settings { + #[allow(unused_mut)] let mut object_885 = object.key("hdr10Settings").start_object(); crate::json_ser::serialize_structure_crate_model_hdr10_settings(&mut object_885, var_884)?; object_885.finish(); } if let Some(var_886) = &input.rec601_settings { + #[allow(unused_mut)] let mut object_887 = object.key("rec601Settings").start_object(); crate::json_ser::serialize_structure_crate_model_rec601_settings(&mut object_887, var_886)?; object_887.finish(); } if let Some(var_888) = &input.rec709_settings { + #[allow(unused_mut)] let mut object_889 = object.key("rec709Settings").start_object(); crate::json_ser::serialize_structure_crate_model_rec709_settings(&mut object_889, var_888)?; object_889.finish(); @@ -5011,6 +5233,7 @@ pub fn serialize_structure_crate_model_h265_filter_settings( input: &crate::model::H265FilterSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_890) = &input.temporal_filter_settings { + #[allow(unused_mut)] let mut object_891 = object.key("temporalFilterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_temporal_filter_settings( &mut object_891, @@ -5026,6 +5249,7 @@ pub fn serialize_structure_crate_model_mpeg2_filter_settings( input: &crate::model::Mpeg2FilterSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_892) = &input.temporal_filter_settings { + #[allow(unused_mut)] let mut object_893 = object.key("temporalFilterSettings").start_object(); crate::json_ser::serialize_structure_crate_model_temporal_filter_settings( &mut object_893, @@ -5133,6 +5357,7 @@ pub fn serialize_structure_crate_model_audio_track_selection( let mut array_900 = object.key("tracks").start_array(); for item_901 in var_899 { { + #[allow(unused_mut)] let mut object_902 = array_900.value().start_object(); crate::json_ser::serialize_structure_crate_model_audio_track( &mut object_902, @@ -5245,6 +5470,7 @@ pub fn serialize_structure_crate_model_teletext_source_settings( input: &crate::model::TeletextSourceSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_908) = &input.output_rectangle { + #[allow(unused_mut)] let mut object_909 = object.key("outputRectangle").start_object(); crate::json_ser::serialize_structure_crate_model_caption_rectangle( &mut object_909, @@ -5333,6 +5559,7 @@ pub fn serialize_structure_crate_model_scte35_descriptor_settings( input: &crate::model::Scte35DescriptorSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_914) = &input.segmentation_descriptor_scte35_descriptor_settings { + #[allow(unused_mut)] let mut object_915 = object .key("segmentationDescriptorScte35DescriptorSettings") .start_object(); @@ -5521,6 +5748,7 @@ pub fn serialize_structure_crate_model_static_key_settings( input: &crate::model::StaticKeySettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_924) = &input.key_provider_server { + #[allow(unused_mut)] let mut object_925 = object.key("keyProviderServer").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_925, var_924)?; object_925.finish(); @@ -5536,11 +5764,13 @@ pub fn serialize_structure_crate_model_archive_container_settings( input: &crate::model::ArchiveContainerSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_927) = &input.m2ts_settings { + #[allow(unused_mut)] let mut object_928 = object.key("m2tsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_m2ts_settings(&mut object_928, var_927)?; object_928.finish(); } if let Some(var_929) = &input.raw_settings { + #[allow(unused_mut)] let mut object_930 = object.key("rawSettings").start_object(); crate::json_ser::serialize_structure_crate_model_raw_settings(&mut object_930, var_929)?; object_930.finish(); @@ -5553,6 +5783,7 @@ pub fn serialize_structure_crate_model_hls_settings( input: &crate::model::HlsSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_931) = &input.audio_only_hls_settings { + #[allow(unused_mut)] let mut object_932 = object.key("audioOnlyHlsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_audio_only_hls_settings( &mut object_932, @@ -5561,6 +5792,7 @@ pub fn serialize_structure_crate_model_hls_settings( object_932.finish(); } if let Some(var_933) = &input.fmp4_hls_settings { + #[allow(unused_mut)] let mut object_934 = object.key("fmp4HlsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_fmp4_hls_settings( &mut object_934, @@ -5569,6 +5801,7 @@ pub fn serialize_structure_crate_model_hls_settings( object_934.finish(); } if let Some(var_935) = &input.frame_capture_hls_settings { + #[allow(unused_mut)] let mut object_936 = object.key("frameCaptureHlsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_frame_capture_hls_settings( &mut object_936, @@ -5577,6 +5810,7 @@ pub fn serialize_structure_crate_model_hls_settings( object_936.finish(); } if let Some(var_937) = &input.standard_hls_settings { + #[allow(unused_mut)] let mut object_938 = object.key("standardHlsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_standard_hls_settings( &mut object_938, @@ -5592,6 +5826,7 @@ pub fn serialize_structure_crate_model_udp_container_settings( input: &crate::model::UdpContainerSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_939) = &input.m2ts_settings { + #[allow(unused_mut)] let mut object_940 = object.key("m2tsSettings").start_object(); crate::json_ser::serialize_structure_crate_model_m2ts_settings(&mut object_940, var_939)?; object_940.finish(); @@ -5715,6 +5950,7 @@ pub fn serialize_structure_crate_model_scte35_segmentation_descriptor( input: &crate::model::Scte35SegmentationDescriptor, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_944) = &input.delivery_restrictions { + #[allow(unused_mut)] let mut object_945 = object.key("deliveryRestrictions").start_object(); crate::json_ser::serialize_structure_crate_model_scte35_delivery_restrictions( &mut object_945, @@ -5829,6 +6065,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( object.key("ccDescriptor").string(var_956.as_str()); } if let Some(var_957) = &input.dvb_nit_settings { + #[allow(unused_mut)] let mut object_958 = object.key("dvbNitSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_nit_settings( &mut object_958, @@ -5837,6 +6074,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( object_958.finish(); } if let Some(var_959) = &input.dvb_sdt_settings { + #[allow(unused_mut)] let mut object_960 = object.key("dvbSdtSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_sdt_settings( &mut object_960, @@ -5848,6 +6086,7 @@ pub fn serialize_structure_crate_model_m2ts_settings( object.key("dvbSubPids").string(var_961.as_str()); } if let Some(var_962) = &input.dvb_tdt_settings { + #[allow(unused_mut)] let mut object_963 = object.key("dvbTdtSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dvb_tdt_settings( &mut object_963, @@ -5997,6 +6236,7 @@ pub fn serialize_structure_crate_model_audio_only_hls_settings( object.key("audioGroupId").string(var_987.as_str()); } if let Some(var_988) = &input.audio_only_image { + #[allow(unused_mut)] let mut object_989 = object.key("audioOnlyImage").start_object(); crate::json_ser::serialize_structure_crate_model_input_location(&mut object_989, var_988)?; object_989.finish(); @@ -6042,6 +6282,7 @@ pub fn serialize_structure_crate_model_standard_hls_settings( object.key("audioRenditionSets").string(var_995.as_str()); } if let Some(var_996) = &input.m3u8_settings { + #[allow(unused_mut)] let mut object_997 = object.key("m3u8Settings").start_object(); crate::json_ser::serialize_structure_crate_model_m3u8_settings(&mut object_997, var_996)?; object_997.finish(); diff --git a/sdk/mediapackage/src/json_ser.rs b/sdk/mediapackage/src/json_ser.rs index 939dfea6dbd2..6c5a8f3e1e07 100644 --- a/sdk/mediapackage/src/json_ser.rs +++ b/sdk/mediapackage/src/json_ser.rs @@ -4,11 +4,13 @@ pub fn serialize_structure_crate_input_configure_logs_input( input: &crate::input::ConfigureLogsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.egress_access_logs { + #[allow(unused_mut)] let mut object_2 = object.key("egressAccessLogs").start_object(); crate::json_ser::serialize_structure_crate_model_egress_access_logs(&mut object_2, var_1)?; object_2.finish(); } if let Some(var_3) = &input.ingress_access_logs { + #[allow(unused_mut)] let mut object_4 = object.key("ingressAccessLogs").start_object(); crate::json_ser::serialize_structure_crate_model_ingress_access_logs(&mut object_4, var_3)?; object_4.finish(); @@ -27,6 +29,7 @@ pub fn serialize_structure_crate_input_create_channel_input( object.key("id").string(var_6.as_str()); } if let Some(var_7) = &input.tags { + #[allow(unused_mut)] let mut object_8 = object.key("tags").start_object(); for (key_9, value_10) in var_7 { { @@ -52,6 +55,7 @@ pub fn serialize_structure_crate_input_create_harvest_job_input( object.key("originEndpointId").string(var_13.as_str()); } if let Some(var_14) = &input.s3_destination { + #[allow(unused_mut)] let mut object_15 = object.key("s3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination(&mut object_15, var_14)?; object_15.finish(); @@ -67,6 +71,7 @@ pub fn serialize_structure_crate_input_create_origin_endpoint_input( input: &crate::input::CreateOriginEndpointInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_17) = &input.authorization { + #[allow(unused_mut)] let mut object_18 = object.key("authorization").start_object(); crate::json_ser::serialize_structure_crate_model_authorization(&mut object_18, var_17)?; object_18.finish(); @@ -75,6 +80,7 @@ pub fn serialize_structure_crate_input_create_origin_endpoint_input( object.key("channelId").string(var_19.as_str()); } if let Some(var_20) = &input.cmaf_package { + #[allow(unused_mut)] let mut object_21 = object.key("cmafPackage").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_package_create_or_update_parameters( &mut object_21, @@ -83,6 +89,7 @@ pub fn serialize_structure_crate_input_create_origin_endpoint_input( object_21.finish(); } if let Some(var_22) = &input.dash_package { + #[allow(unused_mut)] let mut object_23 = object.key("dashPackage").start_object(); crate::json_ser::serialize_structure_crate_model_dash_package(&mut object_23, var_22)?; object_23.finish(); @@ -91,6 +98,7 @@ pub fn serialize_structure_crate_input_create_origin_endpoint_input( object.key("description").string(var_24.as_str()); } if let Some(var_25) = &input.hls_package { + #[allow(unused_mut)] let mut object_26 = object.key("hlsPackage").start_object(); crate::json_ser::serialize_structure_crate_model_hls_package(&mut object_26, var_25)?; object_26.finish(); @@ -102,6 +110,7 @@ pub fn serialize_structure_crate_input_create_origin_endpoint_input( object.key("manifestName").string(var_28.as_str()); } if let Some(var_29) = &input.mss_package { + #[allow(unused_mut)] let mut object_30 = object.key("mssPackage").start_object(); crate::json_ser::serialize_structure_crate_model_mss_package(&mut object_30, var_29)?; object_30.finish(); @@ -116,6 +125,7 @@ pub fn serialize_structure_crate_input_create_origin_endpoint_input( ); } if let Some(var_32) = &input.tags { + #[allow(unused_mut)] let mut object_33 = object.key("tags").start_object(); for (key_34, value_35) in var_32 { { @@ -147,6 +157,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.tags { + #[allow(unused_mut)] let mut object_40 = object.key("tags").start_object(); for (key_41, value_42) in var_39 { { @@ -173,11 +184,13 @@ pub fn serialize_structure_crate_input_update_origin_endpoint_input( input: &crate::input::UpdateOriginEndpointInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_44) = &input.authorization { + #[allow(unused_mut)] let mut object_45 = object.key("authorization").start_object(); crate::json_ser::serialize_structure_crate_model_authorization(&mut object_45, var_44)?; object_45.finish(); } if let Some(var_46) = &input.cmaf_package { + #[allow(unused_mut)] let mut object_47 = object.key("cmafPackage").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_package_create_or_update_parameters( &mut object_47, @@ -186,6 +199,7 @@ pub fn serialize_structure_crate_input_update_origin_endpoint_input( object_47.finish(); } if let Some(var_48) = &input.dash_package { + #[allow(unused_mut)] let mut object_49 = object.key("dashPackage").start_object(); crate::json_ser::serialize_structure_crate_model_dash_package(&mut object_49, var_48)?; object_49.finish(); @@ -194,6 +208,7 @@ pub fn serialize_structure_crate_input_update_origin_endpoint_input( object.key("description").string(var_50.as_str()); } if let Some(var_51) = &input.hls_package { + #[allow(unused_mut)] let mut object_52 = object.key("hlsPackage").start_object(); crate::json_ser::serialize_structure_crate_model_hls_package(&mut object_52, var_51)?; object_52.finish(); @@ -202,6 +217,7 @@ pub fn serialize_structure_crate_input_update_origin_endpoint_input( object.key("manifestName").string(var_53.as_str()); } if let Some(var_54) = &input.mss_package { + #[allow(unused_mut)] let mut object_55 = object.key("mssPackage").start_object(); crate::json_ser::serialize_structure_crate_model_mss_package(&mut object_55, var_54)?; object_55.finish(); @@ -287,6 +303,7 @@ pub fn serialize_structure_crate_model_cmaf_package_create_or_update_parameters( input: &crate::model::CmafPackageCreateOrUpdateParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_67) = &input.encryption { + #[allow(unused_mut)] let mut object_68 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_encryption(&mut object_68, var_67)?; object_68.finish(); @@ -295,6 +312,7 @@ pub fn serialize_structure_crate_model_cmaf_package_create_or_update_parameters( let mut array_70 = object.key("hlsManifests").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_hls_manifest_create_or_update_parameters(&mut object_72, item_71)?; object_72.finish(); @@ -312,6 +330,7 @@ pub fn serialize_structure_crate_model_cmaf_package_create_or_update_parameters( object.key("segmentPrefix").string(var_73.as_str()); } if let Some(var_74) = &input.stream_selection { + #[allow(unused_mut)] let mut object_75 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection(&mut object_75, var_74)?; object_75.finish(); @@ -338,6 +357,7 @@ pub fn serialize_structure_crate_model_dash_package( .string(var_79.as_str()); } if let Some(var_80) = &input.encryption { + #[allow(unused_mut)] let mut object_81 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_dash_encryption(&mut object_81, var_80)?; object_81.finish(); @@ -390,6 +410,7 @@ pub fn serialize_structure_crate_model_dash_package( object.key("segmentTemplateFormat").string(var_87.as_str()); } if let Some(var_88) = &input.stream_selection { + #[allow(unused_mut)] let mut object_89 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection(&mut object_89, var_88)?; object_89.finish(); @@ -431,6 +452,7 @@ pub fn serialize_structure_crate_model_hls_package( .string(var_96.as_str()); } if let Some(var_97) = &input.encryption { + #[allow(unused_mut)] let mut object_98 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_hls_encryption(&mut object_98, var_97)?; object_98.finish(); @@ -467,6 +489,7 @@ pub fn serialize_structure_crate_model_hls_package( ); } if let Some(var_100) = &input.stream_selection { + #[allow(unused_mut)] let mut object_101 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection( &mut object_101, @@ -487,6 +510,7 @@ pub fn serialize_structure_crate_model_mss_package( input: &crate::model::MssPackage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.encryption { + #[allow(unused_mut)] let mut object_103 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_mss_encryption(&mut object_103, var_102)?; object_103.finish(); @@ -504,6 +528,7 @@ pub fn serialize_structure_crate_model_mss_package( ); } if let Some(var_104) = &input.stream_selection { + #[allow(unused_mut)] let mut object_105 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection( &mut object_105, @@ -533,6 +558,7 @@ pub fn serialize_structure_crate_model_cmaf_encryption( ); } if let Some(var_108) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_109 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_109, @@ -626,6 +652,7 @@ pub fn serialize_structure_crate_model_dash_encryption( ); } if let Some(var_119) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_120 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_120, @@ -658,6 +685,7 @@ pub fn serialize_structure_crate_model_hls_encryption( object.key("repeatExtXKey").boolean(input.repeat_ext_x_key); } if let Some(var_123) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_124 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_124, @@ -673,6 +701,7 @@ pub fn serialize_structure_crate_model_mss_encryption( input: &crate::model::MssEncryption, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_125) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_126 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_126, @@ -691,6 +720,7 @@ pub fn serialize_structure_crate_model_speke_key_provider( object.key("certificateArn").string(var_127.as_str()); } if let Some(var_128) = &input.encryption_contract_configuration { + #[allow(unused_mut)] let mut object_129 = object.key("encryptionContractConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_contract_configuration( &mut object_129, diff --git a/sdk/mediapackagevod/src/json_ser.rs b/sdk/mediapackagevod/src/json_ser.rs index 27a28b3b2bbd..5db75c6235bf 100644 --- a/sdk/mediapackagevod/src/json_ser.rs +++ b/sdk/mediapackagevod/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_configure_logs_input( input: &crate::input::ConfigureLogsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.egress_access_logs { + #[allow(unused_mut)] let mut object_2 = object.key("egressAccessLogs").start_object(); crate::json_ser::serialize_structure_crate_model_egress_access_logs(&mut object_2, var_1)?; object_2.finish(); @@ -31,6 +32,7 @@ pub fn serialize_structure_crate_input_create_asset_input( object.key("sourceRoleArn").string(var_7.as_str()); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { @@ -47,16 +49,19 @@ pub fn serialize_structure_crate_input_create_packaging_configuration_input( input: &crate::input::CreatePackagingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_12) = &input.cmaf_package { + #[allow(unused_mut)] let mut object_13 = object.key("cmafPackage").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_package(&mut object_13, var_12)?; object_13.finish(); } if let Some(var_14) = &input.dash_package { + #[allow(unused_mut)] let mut object_15 = object.key("dashPackage").start_object(); crate::json_ser::serialize_structure_crate_model_dash_package(&mut object_15, var_14)?; object_15.finish(); } if let Some(var_16) = &input.hls_package { + #[allow(unused_mut)] let mut object_17 = object.key("hlsPackage").start_object(); crate::json_ser::serialize_structure_crate_model_hls_package(&mut object_17, var_16)?; object_17.finish(); @@ -65,6 +70,7 @@ pub fn serialize_structure_crate_input_create_packaging_configuration_input( object.key("id").string(var_18.as_str()); } if let Some(var_19) = &input.mss_package { + #[allow(unused_mut)] let mut object_20 = object.key("mssPackage").start_object(); crate::json_ser::serialize_structure_crate_model_mss_package(&mut object_20, var_19)?; object_20.finish(); @@ -73,6 +79,7 @@ pub fn serialize_structure_crate_input_create_packaging_configuration_input( object.key("packagingGroupId").string(var_21.as_str()); } if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("tags").start_object(); for (key_24, value_25) in var_22 { { @@ -89,11 +96,13 @@ pub fn serialize_structure_crate_input_create_packaging_group_input( input: &crate::input::CreatePackagingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_26) = &input.authorization { + #[allow(unused_mut)] let mut object_27 = object.key("authorization").start_object(); crate::json_ser::serialize_structure_crate_model_authorization(&mut object_27, var_26)?; object_27.finish(); } if let Some(var_28) = &input.egress_access_logs { + #[allow(unused_mut)] let mut object_29 = object.key("egressAccessLogs").start_object(); crate::json_ser::serialize_structure_crate_model_egress_access_logs( &mut object_29, @@ -105,6 +114,7 @@ pub fn serialize_structure_crate_input_create_packaging_group_input( object.key("id").string(var_30.as_str()); } if let Some(var_31) = &input.tags { + #[allow(unused_mut)] let mut object_32 = object.key("tags").start_object(); for (key_33, value_34) in var_31 { { @@ -121,6 +131,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_35) = &input.tags { + #[allow(unused_mut)] let mut object_36 = object.key("tags").start_object(); for (key_37, value_38) in var_35 { { @@ -137,6 +148,7 @@ pub fn serialize_structure_crate_input_update_packaging_group_input( input: &crate::input::UpdatePackagingGroupInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_39) = &input.authorization { + #[allow(unused_mut)] let mut object_40 = object.key("authorization").start_object(); crate::json_ser::serialize_structure_crate_model_authorization(&mut object_40, var_39)?; object_40.finish(); @@ -159,6 +171,7 @@ pub fn serialize_structure_crate_model_cmaf_package( input: &crate::model::CmafPackage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_42) = &input.encryption { + #[allow(unused_mut)] let mut object_43 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_cmaf_encryption(&mut object_43, var_42)?; object_43.finish(); @@ -167,6 +180,7 @@ pub fn serialize_structure_crate_model_cmaf_package( let mut array_45 = object.key("hlsManifests").start_array(); for item_46 in var_44 { { + #[allow(unused_mut)] let mut object_47 = array_45.value().start_object(); crate::json_ser::serialize_structure_crate_model_hls_manifest( &mut object_47, @@ -199,6 +213,7 @@ pub fn serialize_structure_crate_model_dash_package( let mut array_49 = object.key("dashManifests").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_dash_manifest( &mut object_51, @@ -210,6 +225,7 @@ pub fn serialize_structure_crate_model_dash_package( array_49.finish(); } if let Some(var_52) = &input.encryption { + #[allow(unused_mut)] let mut object_53 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_dash_encryption(&mut object_53, var_52)?; object_53.finish(); @@ -245,6 +261,7 @@ pub fn serialize_structure_crate_model_hls_package( input: &crate::model::HlsPackage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_58) = &input.encryption { + #[allow(unused_mut)] let mut object_59 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_hls_encryption(&mut object_59, var_58)?; object_59.finish(); @@ -253,6 +270,7 @@ pub fn serialize_structure_crate_model_hls_package( let mut array_61 = object.key("hlsManifests").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_hls_manifest( &mut object_63, @@ -287,6 +305,7 @@ pub fn serialize_structure_crate_model_mss_package( input: &crate::model::MssPackage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_64) = &input.encryption { + #[allow(unused_mut)] let mut object_65 = object.key("encryption").start_object(); crate::json_ser::serialize_structure_crate_model_mss_encryption(&mut object_65, var_64)?; object_65.finish(); @@ -295,6 +314,7 @@ pub fn serialize_structure_crate_model_mss_package( let mut array_67 = object.key("mssManifests").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_mss_manifest( &mut object_69, @@ -337,6 +357,7 @@ pub fn serialize_structure_crate_model_cmaf_encryption( .string(var_72.as_str()); } if let Some(var_73) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_74 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_74, @@ -372,6 +393,7 @@ pub fn serialize_structure_crate_model_hls_manifest( object.key("repeatExtXKey").boolean(input.repeat_ext_x_key); } if let Some(var_77) = &input.stream_selection { + #[allow(unused_mut)] let mut object_78 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection(&mut object_78, var_77)?; object_78.finish(); @@ -402,6 +424,7 @@ pub fn serialize_structure_crate_model_dash_manifest( object.key("scteMarkersSource").string(var_82.as_str()); } if let Some(var_83) = &input.stream_selection { + #[allow(unused_mut)] let mut object_84 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection(&mut object_84, var_83)?; object_84.finish(); @@ -414,6 +437,7 @@ pub fn serialize_structure_crate_model_dash_encryption( input: &crate::model::DashEncryption, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_85) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_86 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_86, @@ -437,6 +461,7 @@ pub fn serialize_structure_crate_model_hls_encryption( object.key("encryptionMethod").string(var_88.as_str()); } if let Some(var_89) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_90 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_90, @@ -452,6 +477,7 @@ pub fn serialize_structure_crate_model_mss_encryption( input: &crate::model::MssEncryption, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_91) = &input.speke_key_provider { + #[allow(unused_mut)] let mut object_92 = object.key("spekeKeyProvider").start_object(); crate::json_ser::serialize_structure_crate_model_speke_key_provider( &mut object_92, @@ -470,6 +496,7 @@ pub fn serialize_structure_crate_model_mss_manifest( object.key("manifestName").string(var_93.as_str()); } if let Some(var_94) = &input.stream_selection { + #[allow(unused_mut)] let mut object_95 = object.key("streamSelection").start_object(); crate::json_ser::serialize_structure_crate_model_stream_selection(&mut object_95, var_94)?; object_95.finish(); diff --git a/sdk/mediastore/src/json_ser.rs b/sdk/mediastore/src/json_ser.rs index b4fe8ae596b2..37df082e1d0c 100644 --- a/sdk/mediastore/src/json_ser.rs +++ b/sdk/mediastore/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_container_input( let mut array_3 = object.key("Tags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -170,6 +171,7 @@ pub fn serialize_structure_crate_input_put_cors_policy_input( let mut array_23 = object.key("CorsPolicy").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_cors_rule( &mut object_25, @@ -204,6 +206,7 @@ pub fn serialize_structure_crate_input_put_metric_policy_input( object.key("ContainerName").string(var_28.as_str()); } if let Some(var_29) = &input.metric_policy { + #[allow(unused_mut)] let mut object_30 = object.key("MetricPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_metric_policy(&mut object_30, var_29)?; object_30.finish(); @@ -242,6 +245,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_35 = object.key("Tags").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_37, item_36)?; object_37.finish(); @@ -344,6 +348,7 @@ pub fn serialize_structure_crate_model_metric_policy( let mut array_58 = object.key("MetricPolicyRules").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_policy_rule( &mut object_60, diff --git a/sdk/mediatailor/src/json_ser.rs b/sdk/mediatailor/src/json_ser.rs index e6138fc4eaff..753485769199 100644 --- a/sdk/mediatailor/src/json_ser.rs +++ b/sdk/mediatailor/src/json_ser.rs @@ -22,6 +22,7 @@ pub fn serialize_structure_crate_input_create_channel_input( input: &crate::input::CreateChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.filler_slate { + #[allow(unused_mut)] let mut object_3 = object.key("FillerSlate").start_object(); crate::json_ser::serialize_structure_crate_model_slate_source(&mut object_3, var_2)?; object_3.finish(); @@ -30,6 +31,7 @@ pub fn serialize_structure_crate_input_create_channel_input( let mut array_5 = object.key("Outputs").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_request_output_item( &mut object_7, @@ -44,6 +46,7 @@ pub fn serialize_structure_crate_input_create_channel_input( object.key("PlaybackMode").string(var_8.as_str()); } if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("tags").start_object(); for (key_11, value_12) in var_9 { { @@ -66,6 +69,7 @@ pub fn serialize_structure_crate_input_create_live_source_input( let mut array_15 = object.key("HttpPackageConfigurations").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_package_configuration( &mut object_17, @@ -77,6 +81,7 @@ pub fn serialize_structure_crate_input_create_live_source_input( array_15.finish(); } if let Some(var_18) = &input.tags { + #[allow(unused_mut)] let mut object_19 = object.key("tags").start_object(); for (key_20, value_21) in var_18 { { @@ -93,6 +98,7 @@ pub fn serialize_structure_crate_input_create_prefetch_schedule_input( input: &crate::input::CreatePrefetchScheduleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.consumption { + #[allow(unused_mut)] let mut object_23 = object.key("Consumption").start_object(); crate::json_ser::serialize_structure_crate_model_prefetch_consumption( &mut object_23, @@ -101,6 +107,7 @@ pub fn serialize_structure_crate_input_create_prefetch_schedule_input( object_23.finish(); } if let Some(var_24) = &input.retrieval { + #[allow(unused_mut)] let mut object_25 = object.key("Retrieval").start_object(); crate::json_ser::serialize_structure_crate_model_prefetch_retrieval( &mut object_25, @@ -122,6 +129,7 @@ pub fn serialize_structure_crate_input_create_program_input( let mut array_28 = object.key("AdBreaks").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_ad_break(&mut object_30, item_29)?; object_30.finish(); @@ -133,6 +141,7 @@ pub fn serialize_structure_crate_input_create_program_input( object.key("LiveSourceName").string(var_31.as_str()); } if let Some(var_32) = &input.schedule_configuration { + #[allow(unused_mut)] let mut object_33 = object.key("ScheduleConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_configuration( &mut object_33, @@ -154,6 +163,7 @@ pub fn serialize_structure_crate_input_create_source_location_input( input: &crate::input::CreateSourceLocationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.access_configuration { + #[allow(unused_mut)] let mut object_37 = object.key("AccessConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_access_configuration( &mut object_37, @@ -162,6 +172,7 @@ pub fn serialize_structure_crate_input_create_source_location_input( object_37.finish(); } if let Some(var_38) = &input.default_segment_delivery_configuration { + #[allow(unused_mut)] let mut object_39 = object .key("DefaultSegmentDeliveryConfiguration") .start_object(); @@ -172,6 +183,7 @@ pub fn serialize_structure_crate_input_create_source_location_input( object_39.finish(); } if let Some(var_40) = &input.http_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("HttpConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_configuration( &mut object_41, @@ -183,6 +195,7 @@ pub fn serialize_structure_crate_input_create_source_location_input( let mut array_43 = object.key("SegmentDeliveryConfigurations").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_segment_delivery_configuration( &mut object_45, @@ -194,6 +207,7 @@ pub fn serialize_structure_crate_input_create_source_location_input( array_43.finish(); } if let Some(var_46) = &input.tags { + #[allow(unused_mut)] let mut object_47 = object.key("tags").start_object(); for (key_48, value_49) in var_46 { { @@ -213,6 +227,7 @@ pub fn serialize_structure_crate_input_create_vod_source_input( let mut array_51 = object.key("HttpPackageConfigurations").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_package_configuration( &mut object_53, @@ -224,6 +239,7 @@ pub fn serialize_structure_crate_input_create_vod_source_input( array_51.finish(); } if let Some(var_54) = &input.tags { + #[allow(unused_mut)] let mut object_55 = object.key("tags").start_object(); for (key_56, value_57) in var_54 { { @@ -272,24 +288,29 @@ pub fn serialize_structure_crate_input_put_playback_configuration_input( object.key("AdDecisionServerUrl").string(var_61.as_str()); } if let Some(var_62) = &input.avail_suppression { + #[allow(unused_mut)] let mut object_63 = object.key("AvailSuppression").start_object(); crate::json_ser::serialize_structure_crate_model_avail_suppression(&mut object_63, var_62)?; object_63.finish(); } if let Some(var_64) = &input.bumper { + #[allow(unused_mut)] let mut object_65 = object.key("Bumper").start_object(); crate::json_ser::serialize_structure_crate_model_bumper(&mut object_65, var_64)?; object_65.finish(); } if let Some(var_66) = &input.cdn_configuration { + #[allow(unused_mut)] let mut object_67 = object.key("CdnConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_cdn_configuration(&mut object_67, var_66)?; object_67.finish(); } if let Some(var_68) = &input.configuration_aliases { + #[allow(unused_mut)] let mut object_69 = object.key("ConfigurationAliases").start_object(); for (key_70, value_71) in var_68 { { + #[allow(unused_mut)] let mut object_72 = object_69.key(key_70.as_str()).start_object(); for (key_73, value_74) in value_71 { { @@ -302,6 +323,7 @@ pub fn serialize_structure_crate_input_put_playback_configuration_input( object_69.finish(); } if let Some(var_75) = &input.dash_configuration { + #[allow(unused_mut)] let mut object_76 = object.key("DashConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_dash_configuration_for_put( &mut object_76, @@ -310,6 +332,7 @@ pub fn serialize_structure_crate_input_put_playback_configuration_input( object_76.finish(); } if let Some(var_77) = &input.live_pre_roll_configuration { + #[allow(unused_mut)] let mut object_78 = object.key("LivePreRollConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_live_pre_roll_configuration( &mut object_78, @@ -318,6 +341,7 @@ pub fn serialize_structure_crate_input_put_playback_configuration_input( object_78.finish(); } if let Some(var_79) = &input.manifest_processing_rules { + #[allow(unused_mut)] let mut object_80 = object.key("ManifestProcessingRules").start_object(); crate::json_ser::serialize_structure_crate_model_manifest_processing_rules( &mut object_80, @@ -338,6 +362,7 @@ pub fn serialize_structure_crate_input_put_playback_configuration_input( object.key("SlateAdUrl").string(var_82.as_str()); } if let Some(var_83) = &input.tags { + #[allow(unused_mut)] let mut object_84 = object.key("tags").start_object(); for (key_85, value_86) in var_83 { { @@ -360,6 +385,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_89) = &input.tags { + #[allow(unused_mut)] let mut object_90 = object.key("tags").start_object(); for (key_91, value_92) in var_89 { { @@ -376,6 +402,7 @@ pub fn serialize_structure_crate_input_update_channel_input( input: &crate::input::UpdateChannelInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_93) = &input.filler_slate { + #[allow(unused_mut)] let mut object_94 = object.key("FillerSlate").start_object(); crate::json_ser::serialize_structure_crate_model_slate_source(&mut object_94, var_93)?; object_94.finish(); @@ -384,6 +411,7 @@ pub fn serialize_structure_crate_input_update_channel_input( let mut array_96 = object.key("Outputs").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_request_output_item( &mut object_98, @@ -405,6 +433,7 @@ pub fn serialize_structure_crate_input_update_live_source_input( let mut array_100 = object.key("HttpPackageConfigurations").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_package_configuration( &mut object_102, @@ -423,6 +452,7 @@ pub fn serialize_structure_crate_input_update_source_location_input( input: &crate::input::UpdateSourceLocationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_103) = &input.access_configuration { + #[allow(unused_mut)] let mut object_104 = object.key("AccessConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_access_configuration( &mut object_104, @@ -431,6 +461,7 @@ pub fn serialize_structure_crate_input_update_source_location_input( object_104.finish(); } if let Some(var_105) = &input.default_segment_delivery_configuration { + #[allow(unused_mut)] let mut object_106 = object .key("DefaultSegmentDeliveryConfiguration") .start_object(); @@ -441,6 +472,7 @@ pub fn serialize_structure_crate_input_update_source_location_input( object_106.finish(); } if let Some(var_107) = &input.http_configuration { + #[allow(unused_mut)] let mut object_108 = object.key("HttpConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_http_configuration( &mut object_108, @@ -452,6 +484,7 @@ pub fn serialize_structure_crate_input_update_source_location_input( let mut array_110 = object.key("SegmentDeliveryConfigurations").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_segment_delivery_configuration( &mut object_112, @@ -473,6 +506,7 @@ pub fn serialize_structure_crate_input_update_vod_source_input( let mut array_114 = object.key("HttpPackageConfigurations").start_array(); for item_115 in var_113 { { + #[allow(unused_mut)] let mut object_116 = array_114.value().start_object(); crate::json_ser::serialize_structure_crate_model_http_package_configuration( &mut object_116, @@ -504,6 +538,7 @@ pub fn serialize_structure_crate_model_request_output_item( input: &crate::model::RequestOutputItem, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_119) = &input.dash_playlist_settings { + #[allow(unused_mut)] let mut object_120 = object.key("DashPlaylistSettings").start_object(); crate::json_ser::serialize_structure_crate_model_dash_playlist_settings( &mut object_120, @@ -512,6 +547,7 @@ pub fn serialize_structure_crate_model_request_output_item( object_120.finish(); } if let Some(var_121) = &input.hls_playlist_settings { + #[allow(unused_mut)] let mut object_122 = object.key("HlsPlaylistSettings").start_object(); crate::json_ser::serialize_structure_crate_model_hls_playlist_settings( &mut object_122, @@ -552,6 +588,7 @@ pub fn serialize_structure_crate_model_prefetch_consumption( let mut array_129 = object.key("AvailMatchingCriteria").start_array(); for item_130 in var_128 { { + #[allow(unused_mut)] let mut object_131 = array_129.value().start_object(); crate::json_ser::serialize_structure_crate_model_avail_matching_criteria( &mut object_131, @@ -580,6 +617,7 @@ pub fn serialize_structure_crate_model_prefetch_retrieval( input: &crate::model::PrefetchRetrieval, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_134) = &input.dynamic_variables { + #[allow(unused_mut)] let mut object_135 = object.key("DynamicVariables").start_object(); for (key_136, value_137) in var_134 { { @@ -615,11 +653,13 @@ pub fn serialize_structure_crate_model_ad_break( ); } if let Some(var_141) = &input.slate { + #[allow(unused_mut)] let mut object_142 = object.key("Slate").start_object(); crate::json_ser::serialize_structure_crate_model_slate_source(&mut object_142, var_141)?; object_142.finish(); } if let Some(var_143) = &input.splice_insert_message { + #[allow(unused_mut)] let mut object_144 = object.key("SpliceInsertMessage").start_object(); crate::json_ser::serialize_structure_crate_model_splice_insert_message( &mut object_144, @@ -635,6 +675,7 @@ pub fn serialize_structure_crate_model_schedule_configuration( input: &crate::model::ScheduleConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_145) = &input.transition { + #[allow(unused_mut)] let mut object_146 = object.key("Transition").start_object(); crate::json_ser::serialize_structure_crate_model_transition(&mut object_146, var_145)?; object_146.finish(); @@ -650,6 +691,7 @@ pub fn serialize_structure_crate_model_access_configuration( object.key("AccessType").string(var_147.as_str()); } if let Some(var_148) = &input.secrets_manager_access_token_configuration { + #[allow(unused_mut)] let mut object_149 = object .key("SecretsManagerAccessTokenConfiguration") .start_object(); @@ -767,6 +809,7 @@ pub fn serialize_structure_crate_model_manifest_processing_rules( input: &crate::model::ManifestProcessingRules, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_163) = &input.ad_marker_passthrough { + #[allow(unused_mut)] let mut object_164 = object.key("AdMarkerPassthrough").start_object(); crate::json_ser::serialize_structure_crate_model_ad_marker_passthrough( &mut object_164, diff --git a/sdk/memorydb/src/json_ser.rs b/sdk/memorydb/src/json_ser.rs index eaa84a41631f..d6dfeae7f835 100644 --- a/sdk/memorydb/src/json_ser.rs +++ b/sdk/memorydb/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_batch_update_cluster_input( array_2.finish(); } if let Some(var_4) = &input.service_update { + #[allow(unused_mut)] let mut object_5 = object.key("ServiceUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_service_update_request( &mut object_5, @@ -43,6 +44,7 @@ pub fn serialize_structure_crate_input_copy_snapshot_input( let mut array_11 = object.key("Tags").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_13, item_12)?; object_13.finish(); @@ -73,6 +75,7 @@ pub fn serialize_structure_crate_input_create_acl_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -163,6 +166,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -202,6 +206,7 @@ pub fn serialize_structure_crate_input_create_parameter_group_input( let mut array_54 = object.key("Tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -229,6 +234,7 @@ pub fn serialize_structure_crate_input_create_snapshot_input( let mut array_61 = object.key("Tags").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_63, item_62)?; object_63.finish(); @@ -262,6 +268,7 @@ pub fn serialize_structure_crate_input_create_subnet_group_input( let mut array_70 = object.key("Tags").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_72, item_71)?; object_72.finish(); @@ -280,6 +287,7 @@ pub fn serialize_structure_crate_input_create_user_input( object.key("UserName").string(var_73.as_str()); } if let Some(var_74) = &input.authentication_mode { + #[allow(unused_mut)] let mut object_75 = object.key("AuthenticationMode").start_object(); crate::json_ser::serialize_structure_crate_model_authentication_mode( &mut object_75, @@ -294,6 +302,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_78 = object.key("Tags").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_80, item_79)?; object_80.finish(); @@ -604,6 +613,7 @@ pub fn serialize_structure_crate_input_describe_users_input( let mut array_132 = object.key("Filters").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_134, item_133)?; object_134.finish(); @@ -689,6 +699,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_147 = object.key("Tags").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_149, item_148)?; object_149.finish(); @@ -793,6 +804,7 @@ pub fn serialize_structure_crate_input_update_cluster_input( object.key("EngineVersion").string(var_173.as_str()); } if let Some(var_174) = &input.replica_configuration { + #[allow(unused_mut)] let mut object_175 = object.key("ReplicaConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_replica_configuration_request( &mut object_175, @@ -801,6 +813,7 @@ pub fn serialize_structure_crate_input_update_cluster_input( object_175.finish(); } if let Some(var_176) = &input.shard_configuration { + #[allow(unused_mut)] let mut object_177 = object.key("ShardConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_shard_configuration_request( &mut object_177, @@ -825,6 +838,7 @@ pub fn serialize_structure_crate_input_update_parameter_group_input( let mut array_181 = object.key("ParameterNameValues").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_name_value( &mut object_183, @@ -868,6 +882,7 @@ pub fn serialize_structure_crate_input_update_user_input( object.key("UserName").string(var_189.as_str()); } if let Some(var_190) = &input.authentication_mode { + #[allow(unused_mut)] let mut object_191 = object.key("AuthenticationMode").start_object(); crate::json_ser::serialize_structure_crate_model_authentication_mode( &mut object_191, diff --git a/sdk/mgn/src/json_ser.rs b/sdk/mgn/src/json_ser.rs index 716a7e627baf..46a47625b926 100644 --- a/sdk/mgn/src/json_ser.rs +++ b/sdk/mgn/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_change_server_life_cycle_state_input( input: &crate::input::ChangeServerLifeCycleStateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.life_cycle { + #[allow(unused_mut)] let mut object_2 = object.key("lifeCycle").start_object(); crate::json_ser::serialize_structure_crate_model_change_server_life_cycle_state_source_server_lifecycle(&mut object_2, var_1)?; object_2.finish(); @@ -19,11 +20,13 @@ pub fn serialize_structure_crate_input_create_launch_configuration_template_inpu input: &crate::input::CreateLaunchConfigurationTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_4) = &input.post_launch_actions { + #[allow(unused_mut)] let mut object_5 = object.key("postLaunchActions").start_object(); crate::json_ser::serialize_structure_crate_model_post_launch_actions(&mut object_5, var_4)?; object_5.finish(); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("tags").start_object(); for (key_8, value_9) in var_6 { { @@ -85,6 +88,7 @@ pub fn serialize_structure_crate_input_create_replication_configuration_template object.key("stagingAreaSubnetId").string(var_20.as_str()); } if let Some(var_21) = &input.staging_area_tags { + #[allow(unused_mut)] let mut object_22 = object.key("stagingAreaTags").start_object(); for (key_23, value_24) in var_21 { { @@ -94,6 +98,7 @@ pub fn serialize_structure_crate_input_create_replication_configuration_template object_22.finish(); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -186,6 +191,7 @@ pub fn serialize_structure_crate_input_describe_jobs_input( input: &crate::input::DescribeJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_37) = &input.filters { + #[allow(unused_mut)] let mut object_38 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_describe_jobs_request_filters( &mut object_38, @@ -262,6 +268,7 @@ pub fn serialize_structure_crate_input_describe_source_servers_input( input: &crate::input::DescribeSourceServersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_48) = &input.filters { + #[allow(unused_mut)] let mut object_49 = object.key("filters").start_object(); crate::json_ser::serialize_structure_crate_model_describe_source_servers_request_filters( &mut object_49, @@ -355,6 +362,7 @@ pub fn serialize_structure_crate_input_start_cutover_input( array_58.finish(); } if let Some(var_60) = &input.tags { + #[allow(unused_mut)] let mut object_61 = object.key("tags").start_object(); for (key_62, value_63) in var_60 { { @@ -390,6 +398,7 @@ pub fn serialize_structure_crate_input_start_test_input( array_66.finish(); } if let Some(var_68) = &input.tags { + #[allow(unused_mut)] let mut object_69 = object.key("tags").start_object(); for (key_70, value_71) in var_68 { { @@ -406,6 +415,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.tags { + #[allow(unused_mut)] let mut object_73 = object.key("tags").start_object(); for (key_74, value_75) in var_72 { { @@ -431,6 +441,7 @@ pub fn serialize_structure_crate_input_terminate_target_instances_input( array_77.finish(); } if let Some(var_79) = &input.tags { + #[allow(unused_mut)] let mut object_80 = object.key("tags").start_object(); for (key_81, value_82) in var_79 { { @@ -459,6 +470,7 @@ pub fn serialize_structure_crate_input_update_launch_configuration_input( object.key("launchDisposition").string(var_86.as_str()); } if let Some(var_87) = &input.licensing { + #[allow(unused_mut)] let mut object_88 = object.key("licensing").start_object(); crate::json_ser::serialize_structure_crate_model_licensing(&mut object_88, var_87)?; object_88.finish(); @@ -467,6 +479,7 @@ pub fn serialize_structure_crate_input_update_launch_configuration_input( object.key("name").string(var_89.as_str()); } if let Some(var_90) = &input.post_launch_actions { + #[allow(unused_mut)] let mut object_91 = object.key("postLaunchActions").start_object(); crate::json_ser::serialize_structure_crate_model_post_launch_actions( &mut object_91, @@ -495,6 +508,7 @@ pub fn serialize_structure_crate_input_update_launch_configuration_template_inpu .string(var_94.as_str()); } if let Some(var_95) = &input.post_launch_actions { + #[allow(unused_mut)] let mut object_96 = object.key("postLaunchActions").start_object(); crate::json_ser::serialize_structure_crate_model_post_launch_actions( &mut object_96, @@ -542,6 +556,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_input( let mut array_105 = object.key("replicatedDisks").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_replication_configuration_replicated_disk(&mut object_107, item_106)?; object_107.finish(); @@ -572,6 +587,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_input( object.key("stagingAreaSubnetId").string(var_113.as_str()); } if let Some(var_114) = &input.staging_area_tags { + #[allow(unused_mut)] let mut object_115 = object.key("stagingAreaTags").start_object(); for (key_116, value_117) in var_114 { { @@ -648,6 +664,7 @@ pub fn serialize_structure_crate_input_update_replication_configuration_template object.key("stagingAreaSubnetId").string(var_131.as_str()); } if let Some(var_132) = &input.staging_area_tags { + #[allow(unused_mut)] let mut object_133 = object.key("stagingAreaTags").start_object(); for (key_134, value_135) in var_132 { { @@ -709,6 +726,7 @@ pub fn serialize_structure_crate_model_post_launch_actions( let mut array_145 = object.key("ssmDocuments").start_array(); for item_146 in var_144 { { + #[allow(unused_mut)] let mut object_147 = array_145.value().start_object(); crate::json_ser::serialize_structure_crate_model_ssm_document( &mut object_147, @@ -839,12 +857,14 @@ pub fn serialize_structure_crate_model_ssm_document( object.key("mustSucceedForCutover").boolean(*var_169); } if let Some(var_170) = &input.parameters { + #[allow(unused_mut)] let mut object_171 = object.key("parameters").start_object(); for (key_172, value_173) in var_170 { { let mut array_174 = object_171.key(key_172.as_str()).start_array(); for item_175 in value_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_ssm_parameter_store_parameter(&mut object_176, item_175)?; object_176.finish(); diff --git a/sdk/migrationhub/src/json_ser.rs b/sdk/migrationhub/src/json_ser.rs index 6558d44fd0c5..ee4f545d4469 100644 --- a/sdk/migrationhub/src/json_ser.rs +++ b/sdk/migrationhub/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_associate_created_artifact_input( object.key("MigrationTaskName").string(var_2.as_str()); } if let Some(var_3) = &input.created_artifact { + #[allow(unused_mut)] let mut object_4 = object.key("CreatedArtifact").start_object(); crate::json_ser::serialize_structure_crate_model_created_artifact(&mut object_4, var_3)?; object_4.finish(); @@ -31,6 +32,7 @@ pub fn serialize_structure_crate_input_associate_discovered_resource_input( object.key("MigrationTaskName").string(var_6.as_str()); } if let Some(var_7) = &input.discovered_resource { + #[allow(unused_mut)] let mut object_8 = object.key("DiscoveredResource").start_object(); crate::json_ser::serialize_structure_crate_model_discovered_resource(&mut object_8, var_7)?; object_8.finish(); @@ -284,6 +286,7 @@ pub fn serialize_structure_crate_input_notify_migration_task_state_input( object.key("MigrationTaskName").string(var_44.as_str()); } if let Some(var_45) = &input.task { + #[allow(unused_mut)] let mut object_46 = object.key("Task").start_object(); crate::json_ser::serialize_structure_crate_model_task(&mut object_46, var_45)?; object_46.finish(); @@ -319,6 +322,7 @@ pub fn serialize_structure_crate_input_put_resource_attributes_input( let mut array_51 = object.key("ResourceAttributeList").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_attribute( &mut object_53, diff --git a/sdk/migrationhubconfig/src/json_ser.rs b/sdk/migrationhubconfig/src/json_ser.rs index e5a9d6ed977a..49bf7aa40c0b 100644 --- a/sdk/migrationhubconfig/src/json_ser.rs +++ b/sdk/migrationhubconfig/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_home_region_control_input( object.key("HomeRegion").string(var_1.as_str()); } if let Some(var_2) = &input.target { + #[allow(unused_mut)] let mut object_3 = object.key("Target").start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_3, var_2)?; object_3.finish(); @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_describe_home_region_controls_input( object.key("HomeRegion").string(var_5.as_str()); } if let Some(var_6) = &input.target { + #[allow(unused_mut)] let mut object_7 = object.key("Target").start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_7, var_6)?; object_7.finish(); diff --git a/sdk/migrationhuborchestrator/src/json_ser.rs b/sdk/migrationhuborchestrator/src/json_ser.rs index 06bdd0590cd7..a76b509a0123 100644 --- a/sdk/migrationhuborchestrator/src/json_ser.rs +++ b/sdk/migrationhuborchestrator/src/json_ser.rs @@ -12,9 +12,11 @@ pub fn serialize_structure_crate_input_create_workflow_input( object.key("description").string(var_2.as_str()); } if let Some(var_3) = &input.input_parameters { + #[allow(unused_mut)] let mut object_4 = object.key("inputParameters").start_object(); for (key_5, value_6) in var_3 { { + #[allow(unused_mut)] let mut object_7 = object_4.key(key_5.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_step_input(&mut object_7, value_6)?; object_7.finish(); @@ -35,6 +37,7 @@ pub fn serialize_structure_crate_input_create_workflow_input( array_10.finish(); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -72,6 +75,7 @@ pub fn serialize_structure_crate_input_create_workflow_step_input( let mut array_23 = object.key("outputs").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_workflow_step_output( &mut object_25, @@ -110,6 +114,7 @@ pub fn serialize_structure_crate_input_create_workflow_step_input( object.key("workflowId").string(var_34.as_str()); } if let Some(var_35) = &input.workflow_step_automation_configuration { + #[allow(unused_mut)] let mut object_36 = object .key("workflowStepAutomationConfiguration") .start_object(); @@ -161,6 +166,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.tags { + #[allow(unused_mut)] let mut object_47 = object.key("tags").start_object(); for (key_48, value_49) in var_46 { { @@ -180,9 +186,11 @@ pub fn serialize_structure_crate_input_update_workflow_input( object.key("description").string(var_50.as_str()); } if let Some(var_51) = &input.input_parameters { + #[allow(unused_mut)] let mut object_52 = object.key("inputParameters").start_object(); for (key_53, value_54) in var_51 { { + #[allow(unused_mut)] let mut object_55 = object_52.key(key_53.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_step_input(&mut object_55, value_54)?; object_55.finish(); @@ -228,6 +236,7 @@ pub fn serialize_structure_crate_input_update_workflow_step_input( let mut array_66 = object.key("outputs").start_array(); for item_67 in var_65 { { + #[allow(unused_mut)] let mut object_68 = array_66.value().start_object(); crate::json_ser::serialize_structure_crate_model_workflow_step_output( &mut object_68, @@ -269,6 +278,7 @@ pub fn serialize_structure_crate_input_update_workflow_step_input( object.key("workflowId").string(var_78.as_str()); } if let Some(var_79) = &input.workflow_step_automation_configuration { + #[allow(unused_mut)] let mut object_80 = object .key("workflowStepAutomationConfiguration") .start_object(); @@ -336,6 +346,7 @@ pub fn serialize_union_crate_model_step_input( array_89.finish(); } crate::model::StepInput::MapOfStringValue(inner) => { + #[allow(unused_mut)] let mut object_91 = object_7.key("mapOfStringValue").start_object(); for (key_92, value_93) in inner { { @@ -367,6 +378,7 @@ pub fn serialize_structure_crate_model_workflow_step_output( object.key("required").boolean(*var_96); } if let Some(var_97) = &input.value { + #[allow(unused_mut)] let mut object_98 = object.key("value").start_object(); crate::json_ser::serialize_union_crate_model_workflow_step_output_union( &mut object_98, @@ -385,6 +397,7 @@ pub fn serialize_structure_crate_model_workflow_step_automation_configuration( object.key("scriptLocationS3Bucket").string(var_99.as_str()); } if let Some(var_100) = &input.script_location_s3_key { + #[allow(unused_mut)] let mut object_101 = object.key("scriptLocationS3Key").start_object(); crate::json_ser::serialize_structure_crate_model_platform_script_key( &mut object_101, @@ -393,6 +406,7 @@ pub fn serialize_structure_crate_model_workflow_step_automation_configuration( object_101.finish(); } if let Some(var_102) = &input.command { + #[allow(unused_mut)] let mut object_103 = object.key("command").start_object(); crate::json_ser::serialize_structure_crate_model_platform_command( &mut object_103, diff --git a/sdk/migrationhubrefactorspaces/src/json_ser.rs b/sdk/migrationhubrefactorspaces/src/json_ser.rs index 654b2d621975..07254c1f4fcf 100644 --- a/sdk/migrationhubrefactorspaces/src/json_ser.rs +++ b/sdk/migrationhubrefactorspaces/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_application_input( input: &crate::input::CreateApplicationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.api_gateway_proxy { + #[allow(unused_mut)] let mut object_2 = object.key("ApiGatewayProxy").start_object(); crate::json_ser::serialize_structure_crate_model_api_gateway_proxy_input( &mut object_2, @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("ProxyType").string(var_5.as_str()); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("Tags").start_object(); for (key_8, value_9) in var_6 { { @@ -52,6 +54,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("NetworkFabricType").string(var_14.as_str()); } if let Some(var_15) = &input.tags { + #[allow(unused_mut)] let mut object_16 = object.key("Tags").start_object(); for (key_17, value_18) in var_15 { { @@ -71,6 +74,7 @@ pub fn serialize_structure_crate_input_create_route_input( object.key("ClientToken").string(var_19.as_str()); } if let Some(var_20) = &input.default_route { + #[allow(unused_mut)] let mut object_21 = object.key("DefaultRoute").start_object(); crate::json_ser::serialize_structure_crate_model_default_route_input( &mut object_21, @@ -85,6 +89,7 @@ pub fn serialize_structure_crate_input_create_route_input( object.key("ServiceIdentifier").string(var_23.as_str()); } if let Some(var_24) = &input.tags { + #[allow(unused_mut)] let mut object_25 = object.key("Tags").start_object(); for (key_26, value_27) in var_24 { { @@ -94,6 +99,7 @@ pub fn serialize_structure_crate_input_create_route_input( object_25.finish(); } if let Some(var_28) = &input.uri_path_route { + #[allow(unused_mut)] let mut object_29 = object.key("UriPathRoute").start_object(); crate::json_ser::serialize_structure_crate_model_uri_path_route_input( &mut object_29, @@ -118,6 +124,7 @@ pub fn serialize_structure_crate_input_create_service_input( object.key("EndpointType").string(var_32.as_str()); } if let Some(var_33) = &input.lambda_endpoint { + #[allow(unused_mut)] let mut object_34 = object.key("LambdaEndpoint").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_endpoint_input( &mut object_34, @@ -129,6 +136,7 @@ pub fn serialize_structure_crate_input_create_service_input( object.key("Name").string(var_35.as_str()); } if let Some(var_36) = &input.tags { + #[allow(unused_mut)] let mut object_37 = object.key("Tags").start_object(); for (key_38, value_39) in var_36 { { @@ -138,6 +146,7 @@ pub fn serialize_structure_crate_input_create_service_input( object_37.finish(); } if let Some(var_40) = &input.url_endpoint { + #[allow(unused_mut)] let mut object_41 = object.key("UrlEndpoint").start_object(); crate::json_ser::serialize_structure_crate_model_url_endpoint_input( &mut object_41, @@ -169,6 +178,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.tags { + #[allow(unused_mut)] let mut object_46 = object.key("Tags").start_object(); for (key_47, value_48) in var_45 { { diff --git a/sdk/migrationhubstrategy/src/json_ser.rs b/sdk/migrationhubstrategy/src/json_ser.rs index c7e2637ddb5d..6773bdb43e68 100644 --- a/sdk/migrationhubstrategy/src/json_ser.rs +++ b/sdk/migrationhubstrategy/src/json_ser.rs @@ -15,6 +15,7 @@ pub fn serialize_structure_crate_input_list_application_components_input( let mut array_4 = object.key("groupIdFilter").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_group(&mut object_6, item_5)?; object_6.finish(); @@ -48,6 +49,7 @@ pub fn serialize_structure_crate_input_list_servers_input( let mut array_12 = object.key("groupIdFilter").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_group(&mut object_14, item_13)?; object_14.finish(); @@ -78,6 +80,7 @@ pub fn serialize_structure_crate_input_put_portfolio_preferences_input( input: &crate::input::PutPortfolioPreferencesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_19) = &input.application_preferences { + #[allow(unused_mut)] let mut object_20 = object.key("applicationPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_application_preferences( &mut object_20, @@ -86,6 +89,7 @@ pub fn serialize_structure_crate_input_put_portfolio_preferences_input( object_20.finish(); } if let Some(var_21) = &input.database_preferences { + #[allow(unused_mut)] let mut object_22 = object.key("databasePreferences").start_object(); crate::json_ser::serialize_structure_crate_model_database_preferences( &mut object_22, @@ -94,6 +98,7 @@ pub fn serialize_structure_crate_input_put_portfolio_preferences_input( object_22.finish(); } if let Some(var_23) = &input.prioritize_business_goals { + #[allow(unused_mut)] let mut object_24 = object.key("prioritizeBusinessGoals").start_object(); crate::json_ser::serialize_structure_crate_model_prioritize_business_goals( &mut object_24, @@ -133,6 +138,7 @@ pub fn serialize_structure_crate_input_start_import_file_task_input( let mut array_30 = object.key("groupId").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_group(&mut object_32, item_31)?; object_32.finish(); @@ -160,6 +166,7 @@ pub fn serialize_structure_crate_input_start_recommendation_report_generation_in let mut array_37 = object.key("groupIdFilter").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_group(&mut object_39, item_38)?; object_39.finish(); @@ -200,6 +207,7 @@ pub fn serialize_structure_crate_input_update_application_component_config_input let mut array_46 = object.key("sourceCodeList").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_code( &mut object_48, @@ -211,6 +219,7 @@ pub fn serialize_structure_crate_input_update_application_component_config_input array_46.finish(); } if let Some(var_49) = &input.strategy_option { + #[allow(unused_mut)] let mut object_50 = object.key("strategyOption").start_object(); crate::json_ser::serialize_structure_crate_model_strategy_option(&mut object_50, var_49)?; object_50.finish(); @@ -226,6 +235,7 @@ pub fn serialize_structure_crate_input_update_server_config_input( object.key("serverId").string(var_51.as_str()); } if let Some(var_52) = &input.strategy_option { + #[allow(unused_mut)] let mut object_53 = object.key("strategyOption").start_object(); crate::json_ser::serialize_structure_crate_model_strategy_option(&mut object_53, var_52)?; object_53.finish(); @@ -251,6 +261,7 @@ pub fn serialize_structure_crate_model_application_preferences( input: &crate::model::ApplicationPreferences, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_56) = &input.management_preference { + #[allow(unused_mut)] let mut object_57 = object.key("managementPreference").start_object(); crate::json_ser::serialize_union_crate_model_management_preference(&mut object_57, var_56)?; object_57.finish(); @@ -268,6 +279,7 @@ pub fn serialize_structure_crate_model_database_preferences( .string(var_58.as_str()); } if let Some(var_59) = &input.database_migration_preference { + #[allow(unused_mut)] let mut object_60 = object.key("databaseMigrationPreference").start_object(); crate::json_ser::serialize_union_crate_model_database_migration_preference( &mut object_60, @@ -283,6 +295,7 @@ pub fn serialize_structure_crate_model_prioritize_business_goals( input: &crate::model::PrioritizeBusinessGoals, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_61) = &input.business_goals { + #[allow(unused_mut)] let mut object_62 = object.key("businessGoals").start_object(); crate::json_ser::serialize_structure_crate_model_business_goals(&mut object_62, var_61)?; object_62.finish(); @@ -331,6 +344,7 @@ pub fn serialize_union_crate_model_management_preference( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ManagementPreference::AwsManagedResources(inner) => { + #[allow(unused_mut)] let mut object_70 = object_57.key("awsManagedResources").start_object(); crate::json_ser::serialize_structure_crate_model_aws_managed_resources( &mut object_70, @@ -339,6 +353,7 @@ pub fn serialize_union_crate_model_management_preference( object_70.finish(); } crate::model::ManagementPreference::SelfManageResources(inner) => { + #[allow(unused_mut)] let mut object_71 = object_57.key("selfManageResources").start_object(); crate::json_ser::serialize_structure_crate_model_self_manage_resources( &mut object_71, @@ -347,6 +362,7 @@ pub fn serialize_union_crate_model_management_preference( object_71.finish(); } crate::model::ManagementPreference::NoPreference(inner) => { + #[allow(unused_mut)] let mut object_72 = object_57.key("noPreference").start_object(); crate::json_ser::serialize_structure_crate_model_no_management_preference( &mut object_72, @@ -371,16 +387,19 @@ pub fn serialize_union_crate_model_database_migration_preference( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::DatabaseMigrationPreference::Heterogeneous(inner) => { + #[allow(unused_mut)] let mut object_73 = object_60.key("heterogeneous").start_object(); crate::json_ser::serialize_structure_crate_model_heterogeneous(&mut object_73, inner)?; object_73.finish(); } crate::model::DatabaseMigrationPreference::Homogeneous(inner) => { + #[allow(unused_mut)] let mut object_74 = object_60.key("homogeneous").start_object(); crate::json_ser::serialize_structure_crate_model_homogeneous(&mut object_74, inner)?; object_74.finish(); } crate::model::DatabaseMigrationPreference::NoPreference(inner) => { + #[allow(unused_mut)] let mut object_75 = object_60.key("noPreference").start_object(); crate::json_ser::serialize_structure_crate_model_no_database_migration_preference( &mut object_75, diff --git a/sdk/mq/src/json_ser.rs b/sdk/mq/src/json_ser.rs index c8301311f15a..b2edf9c5e658 100644 --- a/sdk/mq/src/json_ser.rs +++ b/sdk/mq/src/json_ser.rs @@ -15,6 +15,7 @@ pub fn serialize_structure_crate_input_create_broker_input( object.key("brokerName").string(var_2.as_str()); } if let Some(var_3) = &input.configuration { + #[allow(unused_mut)] let mut object_4 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_id(&mut object_4, var_3)?; object_4.finish(); @@ -26,6 +27,7 @@ pub fn serialize_structure_crate_input_create_broker_input( object.key("deploymentMode").string(var_6.as_str()); } if let Some(var_7) = &input.encryption_options { + #[allow(unused_mut)] let mut object_8 = object.key("encryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_options(&mut object_8, var_7)?; object_8.finish(); @@ -40,6 +42,7 @@ pub fn serialize_structure_crate_input_create_broker_input( object.key("hostInstanceType").string(var_11.as_str()); } if let Some(var_12) = &input.ldap_server_metadata { + #[allow(unused_mut)] let mut object_13 = object.key("ldapServerMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_ldap_server_metadata_input( &mut object_13, @@ -48,11 +51,13 @@ pub fn serialize_structure_crate_input_create_broker_input( object_13.finish(); } if let Some(var_14) = &input.logs { + #[allow(unused_mut)] let mut object_15 = object.key("logs").start_object(); crate::json_ser::serialize_structure_crate_model_logs(&mut object_15, var_14)?; object_15.finish(); } if let Some(var_16) = &input.maintenance_window_start_time { + #[allow(unused_mut)] let mut object_17 = object.key("maintenanceWindowStartTime").start_object(); crate::json_ser::serialize_structure_crate_model_weekly_start_time(&mut object_17, var_16)?; object_17.finish(); @@ -84,6 +89,7 @@ pub fn serialize_structure_crate_input_create_broker_input( array_23.finish(); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -96,6 +102,7 @@ pub fn serialize_structure_crate_input_create_broker_input( let mut array_30 = object.key("users").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_user(&mut object_32, item_31)?; object_32.finish(); @@ -123,6 +130,7 @@ pub fn serialize_structure_crate_input_create_configuration_input( object.key("name").string(var_36.as_str()); } if let Some(var_37) = &input.tags { + #[allow(unused_mut)] let mut object_38 = object.key("tags").start_object(); for (key_39, value_40) in var_37 { { @@ -139,6 +147,7 @@ pub fn serialize_structure_crate_input_create_tags_input( input: &crate::input::CreateTagsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.tags { + #[allow(unused_mut)] let mut object_42 = object.key("tags").start_object(); for (key_43, value_44) in var_41 { { @@ -185,6 +194,7 @@ pub fn serialize_structure_crate_input_update_broker_input( .boolean(input.auto_minor_version_upgrade); } if let Some(var_50) = &input.configuration { + #[allow(unused_mut)] let mut object_51 = object.key("configuration").start_object(); crate::json_ser::serialize_structure_crate_model_configuration_id(&mut object_51, var_50)?; object_51.finish(); @@ -196,6 +206,7 @@ pub fn serialize_structure_crate_input_update_broker_input( object.key("hostInstanceType").string(var_53.as_str()); } if let Some(var_54) = &input.ldap_server_metadata { + #[allow(unused_mut)] let mut object_55 = object.key("ldapServerMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_ldap_server_metadata_input( &mut object_55, @@ -204,11 +215,13 @@ pub fn serialize_structure_crate_input_update_broker_input( object_55.finish(); } if let Some(var_56) = &input.logs { + #[allow(unused_mut)] let mut object_57 = object.key("logs").start_object(); crate::json_ser::serialize_structure_crate_model_logs(&mut object_57, var_56)?; object_57.finish(); } if let Some(var_58) = &input.maintenance_window_start_time { + #[allow(unused_mut)] let mut object_59 = object.key("maintenanceWindowStartTime").start_object(); crate::json_ser::serialize_structure_crate_model_weekly_start_time(&mut object_59, var_58)?; object_59.finish(); diff --git a/sdk/mturk/src/json_ser.rs b/sdk/mturk/src/json_ser.rs index 79d141ecad1c..896b2cf99220 100644 --- a/sdk/mturk/src/json_ser.rs +++ b/sdk/mturk/src/json_ser.rs @@ -122,6 +122,7 @@ pub fn serialize_structure_crate_input_create_hit_input( let mut array_24 = object.key("QualificationRequirements").start_array(); for item_25 in var_23 { { + #[allow(unused_mut)] let mut object_26 = array_24.value().start_object(); crate::json_ser::serialize_structure_crate_model_qualification_requirement( &mut object_26, @@ -136,11 +137,13 @@ pub fn serialize_structure_crate_input_create_hit_input( object.key("UniqueRequestToken").string(var_27.as_str()); } if let Some(var_28) = &input.assignment_review_policy { + #[allow(unused_mut)] let mut object_29 = object.key("AssignmentReviewPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_review_policy(&mut object_29, var_28)?; object_29.finish(); } if let Some(var_30) = &input.hit_review_policy { + #[allow(unused_mut)] let mut object_31 = object.key("HITReviewPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_review_policy(&mut object_31, var_30)?; object_31.finish(); @@ -152,6 +155,7 @@ pub fn serialize_structure_crate_input_create_hit_input( let mut array_34 = object.key("HITLayoutParameters").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_hit_layout_parameter( &mut object_36, @@ -197,6 +201,7 @@ pub fn serialize_structure_crate_input_create_hit_type_input( let mut array_44 = object.key("QualificationRequirements").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_qualification_requirement( &mut object_46, @@ -239,11 +244,13 @@ pub fn serialize_structure_crate_input_create_hit_with_hit_type_input( object.key("UniqueRequestToken").string(var_52.as_str()); } if let Some(var_53) = &input.assignment_review_policy { + #[allow(unused_mut)] let mut object_54 = object.key("AssignmentReviewPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_review_policy(&mut object_54, var_53)?; object_54.finish(); } if let Some(var_55) = &input.hit_review_policy { + #[allow(unused_mut)] let mut object_56 = object.key("HITReviewPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_review_policy(&mut object_56, var_55)?; object_56.finish(); @@ -255,6 +262,7 @@ pub fn serialize_structure_crate_input_create_hit_with_hit_type_input( let mut array_59 = object.key("HITLayoutParameters").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_hit_layout_parameter( &mut object_61, @@ -734,6 +742,7 @@ pub fn serialize_structure_crate_input_send_test_event_notification_input( input: &crate::input::SendTestEventNotificationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_143) = &input.notification { + #[allow(unused_mut)] let mut object_144 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification_specification( &mut object_144, @@ -796,6 +805,7 @@ pub fn serialize_structure_crate_input_update_notification_settings_input( object.key("HITTypeId").string(var_152.as_str()); } if let Some(var_153) = &input.notification { + #[allow(unused_mut)] let mut object_154 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification_specification( &mut object_154, @@ -880,6 +890,7 @@ pub fn serialize_structure_crate_model_qualification_requirement( let mut array_171 = object.key("LocaleValues").start_array(); for item_172 in var_170 { { + #[allow(unused_mut)] let mut object_173 = array_171.value().start_object(); crate::json_ser::serialize_structure_crate_model_locale(&mut object_173, item_172)?; object_173.finish(); @@ -907,6 +918,7 @@ pub fn serialize_structure_crate_model_review_policy( let mut array_178 = object.key("Parameters").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_policy_parameter( &mut object_180, @@ -991,6 +1003,7 @@ pub fn serialize_structure_crate_model_policy_parameter( let mut array_196 = object.key("MapEntries").start_array(); for item_197 in var_195 { { + #[allow(unused_mut)] let mut object_198 = array_196.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_map_entry( &mut object_198, diff --git a/sdk/mwaa/src/json_ser.rs b/sdk/mwaa/src/json_ser.rs index e65ec57192a4..88c7a14ccbc8 100644 --- a/sdk/mwaa/src/json_ser.rs +++ b/sdk/mwaa/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_environment_input( input: &crate::input::CreateEnvironmentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.airflow_configuration_options { + #[allow(unused_mut)] let mut object_2 = object.key("AirflowConfigurationOptions").start_object(); for (key_3, value_4) in var_1 { { @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("KmsKey").string(var_9.as_str()); } if let Some(var_10) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_11 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration_input( &mut object_11, @@ -48,6 +50,7 @@ pub fn serialize_structure_crate_input_create_environment_input( ); } if let Some(var_14) = &input.network_configuration { + #[allow(unused_mut)] let mut object_15 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_configuration( &mut object_15, @@ -79,6 +82,7 @@ pub fn serialize_structure_crate_input_create_environment_input( object.key("SourceBucketArn").string(var_21.as_str()); } if let Some(var_22) = &input.tags { + #[allow(unused_mut)] let mut object_23 = object.key("Tags").start_object(); for (key_24, value_25) in var_22 { { @@ -106,6 +110,7 @@ pub fn serialize_structure_crate_input_publish_metrics_input( let mut array_29 = object.key("MetricData").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_datum( &mut object_31, @@ -124,6 +129,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_32) = &input.tags { + #[allow(unused_mut)] let mut object_33 = object.key("Tags").start_object(); for (key_34, value_35) in var_32 { { @@ -140,6 +146,7 @@ pub fn serialize_structure_crate_input_update_environment_input( input: &crate::input::UpdateEnvironmentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.airflow_configuration_options { + #[allow(unused_mut)] let mut object_37 = object.key("AirflowConfigurationOptions").start_object(); for (key_38, value_39) in var_36 { { @@ -161,6 +168,7 @@ pub fn serialize_structure_crate_input_update_environment_input( object.key("ExecutionRoleArn").string(var_43.as_str()); } if let Some(var_44) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_45 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration_input( &mut object_45, @@ -181,6 +189,7 @@ pub fn serialize_structure_crate_input_update_environment_input( ); } if let Some(var_48) = &input.network_configuration { + #[allow(unused_mut)] let mut object_49 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_update_network_configuration_input( &mut object_49, @@ -227,6 +236,7 @@ pub fn serialize_structure_crate_model_logging_configuration_input( input: &crate::model::LoggingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_58) = &input.dag_processing_logs { + #[allow(unused_mut)] let mut object_59 = object.key("DagProcessingLogs").start_object(); crate::json_ser::serialize_structure_crate_model_module_logging_configuration_input( &mut object_59, @@ -235,6 +245,7 @@ pub fn serialize_structure_crate_model_logging_configuration_input( object_59.finish(); } if let Some(var_60) = &input.scheduler_logs { + #[allow(unused_mut)] let mut object_61 = object.key("SchedulerLogs").start_object(); crate::json_ser::serialize_structure_crate_model_module_logging_configuration_input( &mut object_61, @@ -243,6 +254,7 @@ pub fn serialize_structure_crate_model_logging_configuration_input( object_61.finish(); } if let Some(var_62) = &input.webserver_logs { + #[allow(unused_mut)] let mut object_63 = object.key("WebserverLogs").start_object(); crate::json_ser::serialize_structure_crate_model_module_logging_configuration_input( &mut object_63, @@ -251,6 +263,7 @@ pub fn serialize_structure_crate_model_logging_configuration_input( object_63.finish(); } if let Some(var_64) = &input.worker_logs { + #[allow(unused_mut)] let mut object_65 = object.key("WorkerLogs").start_object(); crate::json_ser::serialize_structure_crate_model_module_logging_configuration_input( &mut object_65, @@ -259,6 +272,7 @@ pub fn serialize_structure_crate_model_logging_configuration_input( object_65.finish(); } if let Some(var_66) = &input.task_logs { + #[allow(unused_mut)] let mut object_67 = object.key("TaskLogs").start_object(); crate::json_ser::serialize_structure_crate_model_module_logging_configuration_input( &mut object_67, @@ -310,6 +324,7 @@ pub fn serialize_structure_crate_model_metric_datum( let mut array_77 = object.key("Dimensions").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_dimension( &mut object_79, @@ -330,6 +345,7 @@ pub fn serialize_structure_crate_model_metric_datum( object.key("Unit").string(var_81.as_str()); } if let Some(var_82) = &input.statistic_values { + #[allow(unused_mut)] let mut object_83 = object.key("StatisticValues").start_object(); crate::json_ser::serialize_structure_crate_model_statistic_set(&mut object_83, var_82)?; object_83.finish(); diff --git a/sdk/networkfirewall/src/json_ser.rs b/sdk/networkfirewall/src/json_ser.rs index 27b1ca857857..c3e7417e673d 100644 --- a/sdk/networkfirewall/src/json_ser.rs +++ b/sdk/networkfirewall/src/json_ser.rs @@ -35,6 +35,7 @@ pub fn serialize_structure_crate_input_associate_subnets_input( let mut array_9 = object.key("SubnetMappings").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_subnet_mapping( &mut object_11, @@ -65,6 +66,7 @@ pub fn serialize_structure_crate_input_create_firewall_input( let mut array_16 = object.key("SubnetMappings").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_subnet_mapping( &mut object_18, @@ -97,6 +99,7 @@ pub fn serialize_structure_crate_input_create_firewall_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -105,6 +108,7 @@ pub fn serialize_structure_crate_input_create_firewall_input( array_21.finish(); } if let Some(var_24) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_25 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_25, @@ -123,6 +127,7 @@ pub fn serialize_structure_crate_input_create_firewall_policy_input( object.key("FirewallPolicyName").string(var_26.as_str()); } if let Some(var_27) = &input.firewall_policy { + #[allow(unused_mut)] let mut object_28 = object.key("FirewallPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_firewall_policy(&mut object_28, var_27)?; object_28.finish(); @@ -134,6 +139,7 @@ pub fn serialize_structure_crate_input_create_firewall_policy_input( let mut array_31 = object.key("Tags").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_33, item_32)?; object_33.finish(); @@ -145,6 +151,7 @@ pub fn serialize_structure_crate_input_create_firewall_policy_input( object.key("DryRun").boolean(input.dry_run); } if let Some(var_34) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_35 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_35, @@ -163,6 +170,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( object.key("RuleGroupName").string(var_36.as_str()); } if let Some(var_37) = &input.rule_group { + #[allow(unused_mut)] let mut object_38 = object.key("RuleGroup").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group(&mut object_38, var_37)?; object_38.finish(); @@ -186,6 +194,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( let mut array_44 = object.key("Tags").start_array(); for item_45 in var_43 { { + #[allow(unused_mut)] let mut object_46 = array_44.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_46, item_45)?; object_46.finish(); @@ -197,6 +206,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( object.key("DryRun").boolean(input.dry_run); } if let Some(var_47) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_48 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_48, @@ -205,6 +215,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( object_48.finish(); } if let Some(var_49) = &input.source_metadata { + #[allow(unused_mut)] let mut object_50 = object.key("SourceMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_source_metadata(&mut object_50, var_49)?; object_50.finish(); @@ -479,6 +490,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_97 = object.key("Tags").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_99, item_98)?; object_99.finish(); @@ -562,6 +574,7 @@ pub fn serialize_structure_crate_input_update_firewall_encryption_configuration_ object.key("FirewallName").string(var_113.as_str()); } if let Some(var_114) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_115 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_115, @@ -586,6 +599,7 @@ pub fn serialize_structure_crate_input_update_firewall_policy_input( object.key("FirewallPolicyName").string(var_118.as_str()); } if let Some(var_119) = &input.firewall_policy { + #[allow(unused_mut)] let mut object_120 = object.key("FirewallPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_firewall_policy(&mut object_120, var_119)?; object_120.finish(); @@ -597,6 +611,7 @@ pub fn serialize_structure_crate_input_update_firewall_policy_input( object.key("DryRun").boolean(input.dry_run); } if let Some(var_122) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_123 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_123, @@ -639,6 +654,7 @@ pub fn serialize_structure_crate_input_update_logging_configuration_input( object.key("FirewallName").string(var_128.as_str()); } if let Some(var_129) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_130 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_130, @@ -663,6 +679,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( object.key("RuleGroupName").string(var_133.as_str()); } if let Some(var_134) = &input.rule_group { + #[allow(unused_mut)] let mut object_135 = object.key("RuleGroup").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group(&mut object_135, var_134)?; object_135.finish(); @@ -680,6 +697,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( object.key("DryRun").boolean(input.dry_run); } if let Some(var_139) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_140 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_configuration( &mut object_140, @@ -688,6 +706,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( object_140.finish(); } if let Some(var_141) = &input.source_metadata { + #[allow(unused_mut)] let mut object_142 = object.key("SourceMetadata").start_object(); crate::json_ser::serialize_structure_crate_model_source_metadata(&mut object_142, var_141)?; object_142.finish(); @@ -760,6 +779,7 @@ pub fn serialize_structure_crate_model_firewall_policy( let mut array_152 = object.key("StatelessRuleGroupReferences").start_array(); for item_153 in var_151 { { + #[allow(unused_mut)] let mut object_154 = array_152.value().start_object(); crate::json_ser::serialize_structure_crate_model_stateless_rule_group_reference( &mut object_154, @@ -792,6 +812,7 @@ pub fn serialize_structure_crate_model_firewall_policy( let mut array_162 = object.key("StatelessCustomActions").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_action( &mut object_164, @@ -806,6 +827,7 @@ pub fn serialize_structure_crate_model_firewall_policy( let mut array_166 = object.key("StatefulRuleGroupReferences").start_array(); for item_167 in var_165 { { + #[allow(unused_mut)] let mut object_168 = array_166.value().start_object(); crate::json_ser::serialize_structure_crate_model_stateful_rule_group_reference( &mut object_168, @@ -826,6 +848,7 @@ pub fn serialize_structure_crate_model_firewall_policy( array_170.finish(); } if let Some(var_172) = &input.stateful_engine_options { + #[allow(unused_mut)] let mut object_173 = object.key("StatefulEngineOptions").start_object(); crate::json_ser::serialize_structure_crate_model_stateful_engine_options( &mut object_173, @@ -841,21 +864,25 @@ pub fn serialize_structure_crate_model_rule_group( input: &crate::model::RuleGroup, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_174) = &input.rule_variables { + #[allow(unused_mut)] let mut object_175 = object.key("RuleVariables").start_object(); crate::json_ser::serialize_structure_crate_model_rule_variables(&mut object_175, var_174)?; object_175.finish(); } if let Some(var_176) = &input.reference_sets { + #[allow(unused_mut)] let mut object_177 = object.key("ReferenceSets").start_object(); crate::json_ser::serialize_structure_crate_model_reference_sets(&mut object_177, var_176)?; object_177.finish(); } if let Some(var_178) = &input.rules_source { + #[allow(unused_mut)] let mut object_179 = object.key("RulesSource").start_object(); crate::json_ser::serialize_structure_crate_model_rules_source(&mut object_179, var_178)?; object_179.finish(); } if let Some(var_180) = &input.stateful_rule_options { + #[allow(unused_mut)] let mut object_181 = object.key("StatefulRuleOptions").start_object(); crate::json_ser::serialize_structure_crate_model_stateful_rule_options( &mut object_181, @@ -887,6 +914,7 @@ pub fn serialize_structure_crate_model_logging_configuration( let mut array_185 = object.key("LogDestinationConfigs").start_array(); for item_186 in var_184 { { + #[allow(unused_mut)] let mut object_187 = array_185.value().start_object(); crate::json_ser::serialize_structure_crate_model_log_destination_config( &mut object_187, @@ -924,6 +952,7 @@ pub fn serialize_structure_crate_model_custom_action( object.key("ActionName").string(var_189.as_str()); } if let Some(var_190) = &input.action_definition { + #[allow(unused_mut)] let mut object_191 = object.key("ActionDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_action_definition( &mut object_191, @@ -948,6 +977,7 @@ pub fn serialize_structure_crate_model_stateful_rule_group_reference( ); } if let Some(var_194) = &input.r#override { + #[allow(unused_mut)] let mut object_195 = object.key("Override").start_object(); crate::json_ser::serialize_structure_crate_model_stateful_rule_group_override( &mut object_195, @@ -973,9 +1003,11 @@ pub fn serialize_structure_crate_model_rule_variables( input: &crate::model::RuleVariables, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_197) = &input.ip_sets { + #[allow(unused_mut)] let mut object_198 = object.key("IPSets").start_object(); for (key_199, value_200) in var_197 { { + #[allow(unused_mut)] let mut object_201 = object_198.key(key_199.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_ip_set( &mut object_201, @@ -987,9 +1019,11 @@ pub fn serialize_structure_crate_model_rule_variables( object_198.finish(); } if let Some(var_202) = &input.port_sets { + #[allow(unused_mut)] let mut object_203 = object.key("PortSets").start_object(); for (key_204, value_205) in var_202 { { + #[allow(unused_mut)] let mut object_206 = object_203.key(key_204.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_port_set( &mut object_206, @@ -1008,9 +1042,11 @@ pub fn serialize_structure_crate_model_reference_sets( input: &crate::model::ReferenceSets, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_207) = &input.ip_set_references { + #[allow(unused_mut)] let mut object_208 = object.key("IPSetReferences").start_object(); for (key_209, value_210) in var_207 { { + #[allow(unused_mut)] let mut object_211 = object_208.key(key_209.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_reference( &mut object_211, @@ -1032,6 +1068,7 @@ pub fn serialize_structure_crate_model_rules_source( object.key("RulesString").string(var_212.as_str()); } if let Some(var_213) = &input.rules_source_list { + #[allow(unused_mut)] let mut object_214 = object.key("RulesSourceList").start_object(); crate::json_ser::serialize_structure_crate_model_rules_source_list( &mut object_214, @@ -1043,6 +1080,7 @@ pub fn serialize_structure_crate_model_rules_source( let mut array_216 = object.key("StatefulRules").start_array(); for item_217 in var_215 { { + #[allow(unused_mut)] let mut object_218 = array_216.value().start_object(); crate::json_ser::serialize_structure_crate_model_stateful_rule( &mut object_218, @@ -1054,6 +1092,7 @@ pub fn serialize_structure_crate_model_rules_source( array_216.finish(); } if let Some(var_219) = &input.stateless_rules_and_custom_actions { + #[allow(unused_mut)] let mut object_220 = object.key("StatelessRulesAndCustomActions").start_object(); crate::json_ser::serialize_structure_crate_model_stateless_rules_and_custom_actions( &mut object_220, @@ -1085,6 +1124,7 @@ pub fn serialize_structure_crate_model_log_destination_config( object.key("LogDestinationType").string(var_223.as_str()); } if let Some(var_224) = &input.log_destination { + #[allow(unused_mut)] let mut object_225 = object.key("LogDestination").start_object(); for (key_226, value_227) in var_224 { { @@ -1101,6 +1141,7 @@ pub fn serialize_structure_crate_model_action_definition( input: &crate::model::ActionDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_228) = &input.publish_metric_action { + #[allow(unused_mut)] let mut object_229 = object.key("PublishMetricAction").start_object(); crate::json_ser::serialize_structure_crate_model_publish_metric_action( &mut object_229, @@ -1199,6 +1240,7 @@ pub fn serialize_structure_crate_model_stateful_rule( object.key("Action").string(var_245.as_str()); } if let Some(var_246) = &input.header { + #[allow(unused_mut)] let mut object_247 = object.key("Header").start_object(); crate::json_ser::serialize_structure_crate_model_header(&mut object_247, var_246)?; object_247.finish(); @@ -1207,6 +1249,7 @@ pub fn serialize_structure_crate_model_stateful_rule( let mut array_249 = object.key("RuleOptions").start_array(); for item_250 in var_248 { { + #[allow(unused_mut)] let mut object_251 = array_249.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_option( &mut object_251, @@ -1228,6 +1271,7 @@ pub fn serialize_structure_crate_model_stateless_rules_and_custom_actions( let mut array_253 = object.key("StatelessRules").start_array(); for item_254 in var_252 { { + #[allow(unused_mut)] let mut object_255 = array_253.value().start_object(); crate::json_ser::serialize_structure_crate_model_stateless_rule( &mut object_255, @@ -1242,6 +1286,7 @@ pub fn serialize_structure_crate_model_stateless_rules_and_custom_actions( let mut array_257 = object.key("CustomActions").start_array(); for item_258 in var_256 { { + #[allow(unused_mut)] let mut object_259 = array_257.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_action( &mut object_259, @@ -1263,6 +1308,7 @@ pub fn serialize_structure_crate_model_publish_metric_action( let mut array_261 = object.key("Dimensions").start_array(); for item_262 in var_260 { { + #[allow(unused_mut)] let mut object_263 = array_261.value().start_object(); crate::json_ser::serialize_structure_crate_model_dimension( &mut object_263, @@ -1325,6 +1371,7 @@ pub fn serialize_structure_crate_model_stateless_rule( input: &crate::model::StatelessRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_274) = &input.rule_definition { + #[allow(unused_mut)] let mut object_275 = object.key("RuleDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_rule_definition(&mut object_275, var_274)?; object_275.finish(); @@ -1353,6 +1400,7 @@ pub fn serialize_structure_crate_model_rule_definition( input: &crate::model::RuleDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_277) = &input.match_attributes { + #[allow(unused_mut)] let mut object_278 = object.key("MatchAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_match_attributes( &mut object_278, @@ -1380,6 +1428,7 @@ pub fn serialize_structure_crate_model_match_attributes( let mut array_283 = object.key("Sources").start_array(); for item_284 in var_282 { { + #[allow(unused_mut)] let mut object_285 = array_283.value().start_object(); crate::json_ser::serialize_structure_crate_model_address( &mut object_285, @@ -1394,6 +1443,7 @@ pub fn serialize_structure_crate_model_match_attributes( let mut array_287 = object.key("Destinations").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_address( &mut object_289, @@ -1408,6 +1458,7 @@ pub fn serialize_structure_crate_model_match_attributes( let mut array_291 = object.key("SourcePorts").start_array(); for item_292 in var_290 { { + #[allow(unused_mut)] let mut object_293 = array_291.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_293, @@ -1422,6 +1473,7 @@ pub fn serialize_structure_crate_model_match_attributes( let mut array_295 = object.key("DestinationPorts").start_array(); for item_296 in var_294 { { + #[allow(unused_mut)] let mut object_297 = array_295.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_297, @@ -1448,6 +1500,7 @@ pub fn serialize_structure_crate_model_match_attributes( let mut array_302 = object.key("TCPFlags").start_array(); for item_303 in var_301 { { + #[allow(unused_mut)] let mut object_304 = array_302.value().start_object(); crate::json_ser::serialize_structure_crate_model_tcp_flag_field( &mut object_304, diff --git a/sdk/networkmanager/src/json_ser.rs b/sdk/networkmanager/src/json_ser.rs index 6deba1f286ac..4e798e9adebd 100644 --- a/sdk/networkmanager/src/json_ser.rs +++ b/sdk/networkmanager/src/json_ser.rs @@ -76,6 +76,7 @@ pub fn serialize_structure_crate_input_create_connect_attachment_input( object.key("EdgeLocation").string(var_14.as_str()); } if let Some(var_15) = &input.options { + #[allow(unused_mut)] let mut object_16 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_connect_attachment_options( &mut object_16, @@ -87,6 +88,7 @@ pub fn serialize_structure_crate_input_create_connect_attachment_input( let mut array_18 = object.key("Tags").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_20, item_19)?; object_20.finish(); @@ -123,6 +125,7 @@ pub fn serialize_structure_crate_input_create_connection_input( let mut array_28 = object.key("Tags").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_30, item_29)?; object_30.finish(); @@ -138,6 +141,7 @@ pub fn serialize_structure_crate_input_create_connect_peer_input( input: &crate::input::CreateConnectPeerInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_31) = &input.bgp_options { + #[allow(unused_mut)] let mut object_32 = object.key("BgpOptions").start_object(); crate::json_ser::serialize_structure_crate_model_bgp_options(&mut object_32, var_31)?; object_32.finish(); @@ -167,6 +171,7 @@ pub fn serialize_structure_crate_input_create_connect_peer_input( let mut array_41 = object.key("Tags").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_43, item_42)?; object_43.finish(); @@ -197,6 +202,7 @@ pub fn serialize_structure_crate_input_create_core_network_input( let mut array_49 = object.key("Tags").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_51, item_50)?; object_51.finish(); @@ -212,6 +218,7 @@ pub fn serialize_structure_crate_input_create_device_input( input: &crate::input::CreateDeviceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.aws_location { + #[allow(unused_mut)] let mut object_53 = object.key("AWSLocation").start_object(); crate::json_ser::serialize_structure_crate_model_aws_location(&mut object_53, var_52)?; object_53.finish(); @@ -220,6 +227,7 @@ pub fn serialize_structure_crate_input_create_device_input( object.key("Description").string(var_54.as_str()); } if let Some(var_55) = &input.location { + #[allow(unused_mut)] let mut object_56 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_56, var_55)?; object_56.finish(); @@ -237,6 +245,7 @@ pub fn serialize_structure_crate_input_create_device_input( let mut array_61 = object.key("Tags").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_63, item_62)?; object_63.finish(); @@ -264,6 +273,7 @@ pub fn serialize_structure_crate_input_create_global_network_input( let mut array_68 = object.key("Tags").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_70, item_69)?; object_70.finish(); @@ -279,6 +289,7 @@ pub fn serialize_structure_crate_input_create_link_input( input: &crate::input::CreateLinkInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_71) = &input.bandwidth { + #[allow(unused_mut)] let mut object_72 = object.key("Bandwidth").start_object(); crate::json_ser::serialize_structure_crate_model_bandwidth(&mut object_72, var_71)?; object_72.finish(); @@ -296,6 +307,7 @@ pub fn serialize_structure_crate_input_create_link_input( let mut array_77 = object.key("Tags").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_79, item_78)?; object_79.finish(); @@ -317,6 +329,7 @@ pub fn serialize_structure_crate_input_create_site_input( object.key("Description").string(var_81.as_str()); } if let Some(var_82) = &input.location { + #[allow(unused_mut)] let mut object_83 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_83, var_82)?; object_83.finish(); @@ -325,6 +338,7 @@ pub fn serialize_structure_crate_input_create_site_input( let mut array_85 = object.key("Tags").start_array(); for item_86 in var_84 { { + #[allow(unused_mut)] let mut object_87 = array_85.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_87, item_86)?; object_87.finish(); @@ -349,6 +363,7 @@ pub fn serialize_structure_crate_input_create_site_to_site_vpn_attachment_input( let mut array_91 = object.key("Tags").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_93, item_92)?; object_93.finish(); @@ -376,6 +391,7 @@ pub fn serialize_structure_crate_input_create_transit_gateway_peering_input( let mut array_98 = object.key("Tags").start_array(); for item_99 in var_97 { { + #[allow(unused_mut)] let mut object_100 = array_98.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_100, item_99)?; object_100.finish(); @@ -403,6 +419,7 @@ pub fn serialize_structure_crate_input_create_transit_gateway_route_table_attach let mut array_105 = object.key("Tags").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_107, item_106)?; object_107.finish(); @@ -429,6 +446,7 @@ pub fn serialize_structure_crate_input_create_vpc_attachment_input( object.key("CoreNetworkId").string(var_110.as_str()); } if let Some(var_111) = &input.options { + #[allow(unused_mut)] let mut object_112 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_options(&mut object_112, var_111)?; object_112.finish(); @@ -446,6 +464,7 @@ pub fn serialize_structure_crate_input_create_vpc_attachment_input( let mut array_117 = object.key("Tags").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_119, item_118)?; object_119.finish(); @@ -464,6 +483,7 @@ pub fn serialize_structure_crate_input_get_network_routes_input( input: &crate::input::GetNetworkRoutesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_121) = &input.destination_filters { + #[allow(unused_mut)] let mut object_122 = object.key("DestinationFilters").start_object(); for (key_123, value_124) in var_121 { { @@ -506,6 +526,7 @@ pub fn serialize_structure_crate_input_get_network_routes_input( array_134.finish(); } if let Some(var_136) = &input.route_table_identifier { + #[allow(unused_mut)] let mut object_137 = object.key("RouteTableIdentifier").start_object(); crate::json_ser::serialize_structure_crate_model_route_table_identifier( &mut object_137, @@ -609,6 +630,7 @@ pub fn serialize_structure_crate_input_start_route_analysis_input( input: &crate::input::StartRouteAnalysisInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_157) = &input.destination { + #[allow(unused_mut)] let mut object_158 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_route_analysis_endpoint_options_specification(&mut object_158, var_157)?; object_158.finish(); @@ -619,6 +641,7 @@ pub fn serialize_structure_crate_input_start_route_analysis_input( .boolean(input.include_return_path); } if let Some(var_159) = &input.source { + #[allow(unused_mut)] let mut object_160 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_route_analysis_endpoint_options_specification(&mut object_160, var_159)?; object_160.finish(); @@ -637,6 +660,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_162 = object.key("Tags").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_164, item_163)?; object_164.finish(); @@ -678,6 +702,7 @@ pub fn serialize_structure_crate_input_update_device_input( input: &crate::input::UpdateDeviceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_169) = &input.aws_location { + #[allow(unused_mut)] let mut object_170 = object.key("AWSLocation").start_object(); crate::json_ser::serialize_structure_crate_model_aws_location(&mut object_170, var_169)?; object_170.finish(); @@ -686,6 +711,7 @@ pub fn serialize_structure_crate_input_update_device_input( object.key("Description").string(var_171.as_str()); } if let Some(var_172) = &input.location { + #[allow(unused_mut)] let mut object_173 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_173, var_172)?; object_173.finish(); @@ -723,6 +749,7 @@ pub fn serialize_structure_crate_input_update_link_input( input: &crate::input::UpdateLinkInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_180) = &input.bandwidth { + #[allow(unused_mut)] let mut object_181 = object.key("Bandwidth").start_object(); crate::json_ser::serialize_structure_crate_model_bandwidth(&mut object_181, var_180)?; object_181.finish(); @@ -744,6 +771,7 @@ pub fn serialize_structure_crate_input_update_network_resource_metadata_input( input: &crate::input::UpdateNetworkResourceMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_185) = &input.metadata { + #[allow(unused_mut)] let mut object_186 = object.key("Metadata").start_object(); for (key_187, value_188) in var_185 { { @@ -763,6 +791,7 @@ pub fn serialize_structure_crate_input_update_site_input( object.key("Description").string(var_189.as_str()); } if let Some(var_190) = &input.location { + #[allow(unused_mut)] let mut object_191 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_location(&mut object_191, var_190)?; object_191.finish(); @@ -784,6 +813,7 @@ pub fn serialize_structure_crate_input_update_vpc_attachment_input( array_193.finish(); } if let Some(var_195) = &input.options { + #[allow(unused_mut)] let mut object_196 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_options(&mut object_196, var_195)?; object_196.finish(); @@ -904,6 +934,7 @@ pub fn serialize_structure_crate_model_route_table_identifier( .string(var_211.as_str()); } if let Some(var_212) = &input.core_network_segment_edge { + #[allow(unused_mut)] let mut object_213 = object.key("CoreNetworkSegmentEdge").start_object(); crate::json_ser::serialize_structure_crate_model_core_network_segment_edge_identifier( &mut object_213, diff --git a/sdk/nimble/src/json_ser.rs b/sdk/nimble/src/json_ser.rs index a9dd189842f7..9b7a12239bf1 100644 --- a/sdk/nimble/src/json_ser.rs +++ b/sdk/nimble/src/json_ser.rs @@ -44,6 +44,7 @@ pub fn serialize_structure_crate_input_create_launch_profile_input( object.key("name").string(var_11.as_str()); } if let Some(var_12) = &input.stream_configuration { + #[allow(unused_mut)] let mut object_13 = object.key("streamConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_stream_configuration_create( &mut object_13, @@ -61,6 +62,7 @@ pub fn serialize_structure_crate_input_create_launch_profile_input( array_15.finish(); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -86,6 +88,7 @@ pub fn serialize_structure_crate_input_create_streaming_image_input( object.key("name").string(var_23.as_str()); } if let Some(var_24) = &input.tags { + #[allow(unused_mut)] let mut object_25 = object.key("tags").start_object(); for (key_26, value_27) in var_24 { { @@ -114,6 +117,7 @@ pub fn serialize_structure_crate_input_create_streaming_session_input( object.key("streamingImageId").string(var_31.as_str()); } if let Some(var_32) = &input.tags { + #[allow(unused_mut)] let mut object_33 = object.key("tags").start_object(); for (key_34, value_35) in var_32 { { @@ -149,6 +153,7 @@ pub fn serialize_structure_crate_input_create_studio_input( object.key("displayName").string(var_38.as_str()); } if let Some(var_39) = &input.studio_encryption_configuration { + #[allow(unused_mut)] let mut object_40 = object.key("studioEncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_studio_encryption_configuration( &mut object_40, @@ -160,6 +165,7 @@ pub fn serialize_structure_crate_input_create_studio_input( object.key("studioName").string(var_41.as_str()); } if let Some(var_42) = &input.tags { + #[allow(unused_mut)] let mut object_43 = object.key("tags").start_object(); for (key_44, value_45) in var_42 { { @@ -179,6 +185,7 @@ pub fn serialize_structure_crate_input_create_studio_component_input( input: &crate::input::CreateStudioComponentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_47) = &input.configuration { + #[allow(unused_mut)] let mut object_48 = object.key("configuration").start_object(); crate::json_ser::serialize_union_crate_model_studio_component_configuration( &mut object_48, @@ -202,6 +209,7 @@ pub fn serialize_structure_crate_input_create_studio_component_input( let mut array_54 = object.key("initializationScripts").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_studio_component_initialization_script(&mut object_56, item_55)?; object_56.finish(); @@ -219,6 +227,7 @@ pub fn serialize_structure_crate_input_create_studio_component_input( let mut array_60 = object.key("scriptParameters").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_script_parameter_key_value( &mut object_62, @@ -238,6 +247,7 @@ pub fn serialize_structure_crate_input_create_studio_component_input( object.key("subtype").string(var_64.as_str()); } if let Some(var_65) = &input.tags { + #[allow(unused_mut)] let mut object_66 = object.key("tags").start_object(); for (key_67, value_68) in var_65 { { @@ -263,6 +273,7 @@ pub fn serialize_structure_crate_input_put_launch_profile_members_input( let mut array_72 = object.key("members").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_new_launch_profile_member( &mut object_74, @@ -287,6 +298,7 @@ pub fn serialize_structure_crate_input_put_studio_members_input( let mut array_77 = object.key("members").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_new_studio_member( &mut object_79, @@ -305,6 +317,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("tags").start_object(); for (key_82, value_83) in var_80 { { @@ -336,6 +349,7 @@ pub fn serialize_structure_crate_input_update_launch_profile_input( object.key("name").string(var_88.as_str()); } if let Some(var_89) = &input.stream_configuration { + #[allow(unused_mut)] let mut object_90 = object.key("streamConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_stream_configuration_create( &mut object_90, @@ -399,6 +413,7 @@ pub fn serialize_structure_crate_input_update_studio_component_input( input: &crate::input::UpdateStudioComponentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_100) = &input.configuration { + #[allow(unused_mut)] let mut object_101 = object.key("configuration").start_object(); crate::json_ser::serialize_union_crate_model_studio_component_configuration( &mut object_101, @@ -422,6 +437,7 @@ pub fn serialize_structure_crate_input_update_studio_component_input( let mut array_107 = object.key("initializationScripts").start_array(); for item_108 in var_106 { { + #[allow(unused_mut)] let mut object_109 = array_107.value().start_object(); crate::json_ser::serialize_structure_crate_model_studio_component_initialization_script(&mut object_109, item_108)?; object_109.finish(); @@ -439,6 +455,7 @@ pub fn serialize_structure_crate_input_update_studio_component_input( let mut array_113 = object.key("scriptParameters").start_array(); for item_114 in var_112 { { + #[allow(unused_mut)] let mut object_115 = array_113.value().start_object(); crate::json_ser::serialize_structure_crate_model_script_parameter_key_value( &mut object_115, @@ -501,6 +518,7 @@ pub fn serialize_structure_crate_model_stream_configuration_create( ); } if let Some(var_126) = &input.session_storage { + #[allow(unused_mut)] let mut object_127 = object.key("sessionStorage").start_object(); crate::json_ser::serialize_structure_crate_model_stream_configuration_session_storage( &mut object_127, @@ -530,6 +548,7 @@ pub fn serialize_union_crate_model_studio_component_configuration( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::StudioComponentConfiguration::ActiveDirectoryConfiguration(inner) => { + #[allow(unused_mut)] let mut object_130 = object_48.key("activeDirectoryConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_active_directory_configuration( &mut object_130, @@ -538,6 +557,7 @@ pub fn serialize_union_crate_model_studio_component_configuration( object_130.finish(); } crate::model::StudioComponentConfiguration::ComputeFarmConfiguration(inner) => { + #[allow(unused_mut)] let mut object_131 = object_48.key("computeFarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_compute_farm_configuration( &mut object_131, @@ -546,6 +566,7 @@ pub fn serialize_union_crate_model_studio_component_configuration( object_131.finish(); } crate::model::StudioComponentConfiguration::LicenseServiceConfiguration(inner) => { + #[allow(unused_mut)] let mut object_132 = object_48.key("licenseServiceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_license_service_configuration( &mut object_132, @@ -554,6 +575,7 @@ pub fn serialize_union_crate_model_studio_component_configuration( object_132.finish(); } crate::model::StudioComponentConfiguration::SharedFileSystemConfiguration(inner) => { + #[allow(unused_mut)] let mut object_133 = object_48 .key("sharedFileSystemConfiguration") .start_object(); @@ -639,6 +661,7 @@ pub fn serialize_structure_crate_model_stream_configuration_session_storage( input: &crate::model::StreamConfigurationSessionStorage, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_144) = &input.root { + #[allow(unused_mut)] let mut object_145 = object.key("root").start_object(); crate::json_ser::serialize_structure_crate_model_streaming_session_storage_root( &mut object_145, @@ -666,6 +689,7 @@ pub fn serialize_structure_crate_model_active_directory_configuration( let mut array_150 = object.key("computerAttributes").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_active_directory_computer_attribute(&mut object_152, item_151)?; object_152.finish(); diff --git a/sdk/opensearch/src/json_ser.rs b/sdk/opensearch/src/json_ser.rs index 95e157eac8c0..1c01520dd4dd 100644 --- a/sdk/opensearch/src/json_ser.rs +++ b/sdk/opensearch/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_3 = object.key("TagList").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -38,6 +39,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object.key("AccessPolicies").string(var_7.as_str()); } if let Some(var_8) = &input.advanced_options { + #[allow(unused_mut)] let mut object_9 = object.key("AdvancedOptions").start_object(); for (key_10, value_11) in var_8 { { @@ -47,6 +49,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object_9.finish(); } if let Some(var_12) = &input.advanced_security_options { + #[allow(unused_mut)] let mut object_13 = object.key("AdvancedSecurityOptions").start_object(); crate::json_ser::serialize_structure_crate_model_advanced_security_options_input( &mut object_13, @@ -55,6 +58,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object_13.finish(); } if let Some(var_14) = &input.auto_tune_options { + #[allow(unused_mut)] let mut object_15 = object.key("AutoTuneOptions").start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_options_input( &mut object_15, @@ -63,16 +67,19 @@ pub fn serialize_structure_crate_input_create_domain_input( object_15.finish(); } if let Some(var_16) = &input.cluster_config { + #[allow(unused_mut)] let mut object_17 = object.key("ClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cluster_config(&mut object_17, var_16)?; object_17.finish(); } if let Some(var_18) = &input.cognito_options { + #[allow(unused_mut)] let mut object_19 = object.key("CognitoOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_options(&mut object_19, var_18)?; object_19.finish(); } if let Some(var_20) = &input.domain_endpoint_options { + #[allow(unused_mut)] let mut object_21 = object.key("DomainEndpointOptions").start_object(); crate::json_ser::serialize_structure_crate_model_domain_endpoint_options( &mut object_21, @@ -84,11 +91,13 @@ pub fn serialize_structure_crate_input_create_domain_input( object.key("DomainName").string(var_22.as_str()); } if let Some(var_23) = &input.ebs_options { + #[allow(unused_mut)] let mut object_24 = object.key("EBSOptions").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_options(&mut object_24, var_23)?; object_24.finish(); } if let Some(var_25) = &input.encryption_at_rest_options { + #[allow(unused_mut)] let mut object_26 = object.key("EncryptionAtRestOptions").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_at_rest_options( &mut object_26, @@ -100,9 +109,11 @@ pub fn serialize_structure_crate_input_create_domain_input( object.key("EngineVersion").string(var_27.as_str()); } if let Some(var_28) = &input.log_publishing_options { + #[allow(unused_mut)] let mut object_29 = object.key("LogPublishingOptions").start_object(); for (key_30, value_31) in var_28 { { + #[allow(unused_mut)] let mut object_32 = object_29.key(key_30.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_log_publishing_option( &mut object_32, @@ -114,6 +125,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object_29.finish(); } if let Some(var_33) = &input.node_to_node_encryption_options { + #[allow(unused_mut)] let mut object_34 = object.key("NodeToNodeEncryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_node_to_node_encryption_options( &mut object_34, @@ -122,6 +134,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object_34.finish(); } if let Some(var_35) = &input.snapshot_options { + #[allow(unused_mut)] let mut object_36 = object.key("SnapshotOptions").start_object(); crate::json_ser::serialize_structure_crate_model_snapshot_options(&mut object_36, var_35)?; object_36.finish(); @@ -130,6 +143,7 @@ pub fn serialize_structure_crate_input_create_domain_input( let mut array_38 = object.key("TagList").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -138,6 +152,7 @@ pub fn serialize_structure_crate_input_create_domain_input( array_38.finish(); } if let Some(var_41) = &input.vpc_options { + #[allow(unused_mut)] let mut object_42 = object.key("VPCOptions").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_options(&mut object_42, var_41)?; object_42.finish(); @@ -153,6 +168,7 @@ pub fn serialize_structure_crate_input_create_outbound_connection_input( object.key("ConnectionAlias").string(var_43.as_str()); } if let Some(var_44) = &input.local_domain_info { + #[allow(unused_mut)] let mut object_45 = object.key("LocalDomainInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_information_container( &mut object_45, @@ -161,6 +177,7 @@ pub fn serialize_structure_crate_input_create_outbound_connection_input( object_45.finish(); } if let Some(var_46) = &input.remote_domain_info { + #[allow(unused_mut)] let mut object_47 = object.key("RemoteDomainInfo").start_object(); crate::json_ser::serialize_structure_crate_model_domain_information_container( &mut object_47, @@ -182,6 +199,7 @@ pub fn serialize_structure_crate_input_create_package_input( object.key("PackageName").string(var_49.as_str()); } if let Some(var_50) = &input.package_source { + #[allow(unused_mut)] let mut object_51 = object.key("PackageSource").start_object(); crate::json_ser::serialize_structure_crate_model_package_source(&mut object_51, var_50)?; object_51.finish(); @@ -232,6 +250,7 @@ pub fn serialize_structure_crate_input_describe_inbound_connections_input( let mut array_58 = object.key("Filters").start_array(); for item_59 in var_57 { { + #[allow(unused_mut)] let mut object_60 = array_58.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_60, item_59)?; object_60.finish(); @@ -259,6 +278,7 @@ pub fn serialize_structure_crate_input_describe_outbound_connections_input( let mut array_63 = object.key("Filters").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_65, item_64)?; object_65.finish(); @@ -286,6 +306,7 @@ pub fn serialize_structure_crate_input_describe_packages_input( let mut array_68 = object.key("Filters").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_describe_packages_filter( &mut object_70, @@ -366,6 +387,7 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object.key("AccessPolicies").string(var_79.as_str()); } if let Some(var_80) = &input.advanced_options { + #[allow(unused_mut)] let mut object_81 = object.key("AdvancedOptions").start_object(); for (key_82, value_83) in var_80 { { @@ -375,6 +397,7 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object_81.finish(); } if let Some(var_84) = &input.advanced_security_options { + #[allow(unused_mut)] let mut object_85 = object.key("AdvancedSecurityOptions").start_object(); crate::json_ser::serialize_structure_crate_model_advanced_security_options_input( &mut object_85, @@ -383,21 +406,25 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object_85.finish(); } if let Some(var_86) = &input.auto_tune_options { + #[allow(unused_mut)] let mut object_87 = object.key("AutoTuneOptions").start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_options(&mut object_87, var_86)?; object_87.finish(); } if let Some(var_88) = &input.cluster_config { + #[allow(unused_mut)] let mut object_89 = object.key("ClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cluster_config(&mut object_89, var_88)?; object_89.finish(); } if let Some(var_90) = &input.cognito_options { + #[allow(unused_mut)] let mut object_91 = object.key("CognitoOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_options(&mut object_91, var_90)?; object_91.finish(); } if let Some(var_92) = &input.domain_endpoint_options { + #[allow(unused_mut)] let mut object_93 = object.key("DomainEndpointOptions").start_object(); crate::json_ser::serialize_structure_crate_model_domain_endpoint_options( &mut object_93, @@ -409,11 +436,13 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object.key("DryRun").boolean(*var_94); } if let Some(var_95) = &input.ebs_options { + #[allow(unused_mut)] let mut object_96 = object.key("EBSOptions").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_options(&mut object_96, var_95)?; object_96.finish(); } if let Some(var_97) = &input.encryption_at_rest_options { + #[allow(unused_mut)] let mut object_98 = object.key("EncryptionAtRestOptions").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_at_rest_options( &mut object_98, @@ -422,9 +451,11 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object_98.finish(); } if let Some(var_99) = &input.log_publishing_options { + #[allow(unused_mut)] let mut object_100 = object.key("LogPublishingOptions").start_object(); for (key_101, value_102) in var_99 { { + #[allow(unused_mut)] let mut object_103 = object_100.key(key_101.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_log_publishing_option( &mut object_103, @@ -436,6 +467,7 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object_100.finish(); } if let Some(var_104) = &input.node_to_node_encryption_options { + #[allow(unused_mut)] let mut object_105 = object.key("NodeToNodeEncryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_node_to_node_encryption_options( &mut object_105, @@ -444,6 +476,7 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object_105.finish(); } if let Some(var_106) = &input.snapshot_options { + #[allow(unused_mut)] let mut object_107 = object.key("SnapshotOptions").start_object(); crate::json_ser::serialize_structure_crate_model_snapshot_options( &mut object_107, @@ -452,6 +485,7 @@ pub fn serialize_structure_crate_input_update_domain_config_input( object_107.finish(); } if let Some(var_108) = &input.vpc_options { + #[allow(unused_mut)] let mut object_109 = object.key("VPCOptions").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_options(&mut object_109, var_108)?; object_109.finish(); @@ -473,6 +507,7 @@ pub fn serialize_structure_crate_input_update_package_input( object.key("PackageID").string(var_112.as_str()); } if let Some(var_113) = &input.package_source { + #[allow(unused_mut)] let mut object_114 = object.key("PackageSource").start_object(); crate::json_ser::serialize_structure_crate_model_package_source(&mut object_114, var_113)?; object_114.finish(); @@ -485,6 +520,7 @@ pub fn serialize_structure_crate_input_upgrade_domain_input( input: &crate::input::UpgradeDomainInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_115) = &input.advanced_options { + #[allow(unused_mut)] let mut object_116 = object.key("AdvancedOptions").start_object(); for (key_117, value_118) in var_115 { { @@ -529,6 +565,7 @@ pub fn serialize_structure_crate_model_advanced_security_options_input( object.key("InternalUserDatabaseEnabled").boolean(*var_125); } if let Some(var_126) = &input.master_user_options { + #[allow(unused_mut)] let mut object_127 = object.key("MasterUserOptions").start_object(); crate::json_ser::serialize_structure_crate_model_master_user_options( &mut object_127, @@ -537,6 +574,7 @@ pub fn serialize_structure_crate_model_advanced_security_options_input( object_127.finish(); } if let Some(var_128) = &input.saml_options { + #[allow(unused_mut)] let mut object_129 = object.key("SAMLOptions").start_object(); crate::json_ser::serialize_structure_crate_model_saml_options_input( &mut object_129, @@ -561,6 +599,7 @@ pub fn serialize_structure_crate_model_auto_tune_options_input( let mut array_133 = object.key("MaintenanceSchedules").start_array(); for item_134 in var_132 { { + #[allow(unused_mut)] let mut object_135 = array_133.value().start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_maintenance_schedule( &mut object_135, @@ -594,6 +633,7 @@ pub fn serialize_structure_crate_model_cluster_config( object.key("ZoneAwarenessEnabled").boolean(*var_139); } if let Some(var_140) = &input.zone_awareness_config { + #[allow(unused_mut)] let mut object_141 = object.key("ZoneAwarenessConfig").start_object(); crate::json_ser::serialize_structure_crate_model_zone_awareness_config( &mut object_141, @@ -623,6 +663,7 @@ pub fn serialize_structure_crate_model_cluster_config( ); } if let Some(var_147) = &input.cold_storage_options { + #[allow(unused_mut)] let mut object_148 = object.key("ColdStorageOptions").start_object(); crate::json_ser::serialize_structure_crate_model_cold_storage_options( &mut object_148, @@ -788,6 +829,7 @@ pub fn serialize_structure_crate_model_domain_information_container( input: &crate::model::DomainInformationContainer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_175) = &input.aws_domain_information { + #[allow(unused_mut)] let mut object_176 = object.key("AWSDomainInformation").start_object(); crate::json_ser::serialize_structure_crate_model_aws_domain_information( &mut object_176, @@ -863,6 +905,7 @@ pub fn serialize_structure_crate_model_auto_tune_options( let mut array_190 = object.key("MaintenanceSchedules").start_array(); for item_191 in var_189 { { + #[allow(unused_mut)] let mut object_192 = array_190.value().start_object(); crate::json_ser::serialize_structure_crate_model_auto_tune_maintenance_schedule( &mut object_192, @@ -900,6 +943,7 @@ pub fn serialize_structure_crate_model_saml_options_input( object.key("Enabled").boolean(*var_196); } if let Some(var_197) = &input.idp { + #[allow(unused_mut)] let mut object_198 = object.key("Idp").start_object(); crate::json_ser::serialize_structure_crate_model_saml_idp(&mut object_198, var_197)?; object_198.finish(); @@ -935,6 +979,7 @@ pub fn serialize_structure_crate_model_auto_tune_maintenance_schedule( .date_time(var_204, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_205) = &input.duration { + #[allow(unused_mut)] let mut object_206 = object.key("Duration").start_object(); crate::json_ser::serialize_structure_crate_model_duration(&mut object_206, var_205)?; object_206.finish(); diff --git a/sdk/opsworks/src/json_ser.rs b/sdk/opsworks/src/json_ser.rs index 45e638c92f20..39f8b001a0c0 100644 --- a/sdk/opsworks/src/json_ser.rs +++ b/sdk/opsworks/src/json_ser.rs @@ -74,6 +74,7 @@ pub fn serialize_structure_crate_input_clone_stack_input( object.key("VpcId").string(var_14.as_str()); } if let Some(var_15) = &input.attributes { + #[allow(unused_mut)] let mut object_16 = object.key("Attributes").start_object(); for (key_17, value_18) in var_15 { { @@ -108,6 +109,7 @@ pub fn serialize_structure_crate_input_clone_stack_input( object.key("CustomJson").string(var_25.as_str()); } if let Some(var_26) = &input.configuration_manager { + #[allow(unused_mut)] let mut object_27 = object.key("ConfigurationManager").start_object(); crate::json_ser::serialize_structure_crate_model_stack_configuration_manager( &mut object_27, @@ -116,6 +118,7 @@ pub fn serialize_structure_crate_input_clone_stack_input( object_27.finish(); } if let Some(var_28) = &input.chef_configuration { + #[allow(unused_mut)] let mut object_29 = object.key("ChefConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chef_configuration( &mut object_29, @@ -130,6 +133,7 @@ pub fn serialize_structure_crate_input_clone_stack_input( object.key("UseOpsworksSecurityGroups").boolean(*var_31); } if let Some(var_32) = &input.custom_cookbooks_source { + #[allow(unused_mut)] let mut object_33 = object.key("CustomCookbooksSource").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_33, var_32)?; object_33.finish(); @@ -178,6 +182,7 @@ pub fn serialize_structure_crate_input_create_app_input( let mut array_46 = object.key("DataSources").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source( &mut object_48, @@ -192,6 +197,7 @@ pub fn serialize_structure_crate_input_create_app_input( object.key("Type").string(var_49.as_str()); } if let Some(var_50) = &input.app_source { + #[allow(unused_mut)] let mut object_51 = object.key("AppSource").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_51, var_50)?; object_51.finish(); @@ -209,11 +215,13 @@ pub fn serialize_structure_crate_input_create_app_input( object.key("EnableSsl").boolean(*var_55); } if let Some(var_56) = &input.ssl_configuration { + #[allow(unused_mut)] let mut object_57 = object.key("SslConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ssl_configuration(&mut object_57, var_56)?; object_57.finish(); } if let Some(var_58) = &input.attributes { + #[allow(unused_mut)] let mut object_59 = object.key("Attributes").start_object(); for (key_60, value_61) in var_58 { { @@ -226,6 +234,7 @@ pub fn serialize_structure_crate_input_create_app_input( let mut array_63 = object.key("Environment").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_variable( &mut object_65, @@ -268,6 +277,7 @@ pub fn serialize_structure_crate_input_create_deployment_input( array_72.finish(); } if let Some(var_74) = &input.command { + #[allow(unused_mut)] let mut object_75 = object.key("Command").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_command( &mut object_75, @@ -337,6 +347,7 @@ pub fn serialize_structure_crate_input_create_instance_input( let mut array_94 = object.key("BlockDeviceMappings").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_block_device_mapping( &mut object_96, @@ -379,6 +390,7 @@ pub fn serialize_structure_crate_input_create_layer_input( object.key("Shortname").string(var_104.as_str()); } if let Some(var_105) = &input.attributes { + #[allow(unused_mut)] let mut object_106 = object.key("Attributes").start_object(); for (key_107, value_108) in var_105 { { @@ -388,6 +400,7 @@ pub fn serialize_structure_crate_input_create_layer_input( object_106.finish(); } if let Some(var_109) = &input.cloud_watch_logs_configuration { + #[allow(unused_mut)] let mut object_110 = object.key("CloudWatchLogsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_configuration( &mut object_110, @@ -425,6 +438,7 @@ pub fn serialize_structure_crate_input_create_layer_input( let mut array_120 = object.key("VolumeConfigurations").start_array(); for item_121 in var_119 { { + #[allow(unused_mut)] let mut object_122 = array_120.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume_configuration( &mut object_122, @@ -445,6 +459,7 @@ pub fn serialize_structure_crate_input_create_layer_input( object.key("AutoAssignPublicIps").boolean(*var_125); } if let Some(var_126) = &input.custom_recipes { + #[allow(unused_mut)] let mut object_127 = object.key("CustomRecipes").start_object(); crate::json_ser::serialize_structure_crate_model_recipes(&mut object_127, var_126)?; object_127.finish(); @@ -456,6 +471,7 @@ pub fn serialize_structure_crate_input_create_layer_input( object.key("UseEbsOptimizedInstances").boolean(*var_129); } if let Some(var_130) = &input.lifecycle_event_configuration { + #[allow(unused_mut)] let mut object_131 = object.key("LifecycleEventConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle_event_configuration( &mut object_131, @@ -480,6 +496,7 @@ pub fn serialize_structure_crate_input_create_stack_input( object.key("VpcId").string(var_134.as_str()); } if let Some(var_135) = &input.attributes { + #[allow(unused_mut)] let mut object_136 = object.key("Attributes").start_object(); for (key_137, value_138) in var_135 { { @@ -514,6 +531,7 @@ pub fn serialize_structure_crate_input_create_stack_input( object.key("CustomJson").string(var_145.as_str()); } if let Some(var_146) = &input.configuration_manager { + #[allow(unused_mut)] let mut object_147 = object.key("ConfigurationManager").start_object(); crate::json_ser::serialize_structure_crate_model_stack_configuration_manager( &mut object_147, @@ -522,6 +540,7 @@ pub fn serialize_structure_crate_input_create_stack_input( object_147.finish(); } if let Some(var_148) = &input.chef_configuration { + #[allow(unused_mut)] let mut object_149 = object.key("ChefConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chef_configuration( &mut object_149, @@ -536,6 +555,7 @@ pub fn serialize_structure_crate_input_create_stack_input( object.key("UseOpsworksSecurityGroups").boolean(*var_151); } if let Some(var_152) = &input.custom_cookbooks_source { + #[allow(unused_mut)] let mut object_153 = object.key("CustomCookbooksSource").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_153, var_152)?; object_153.finish(); @@ -685,6 +705,7 @@ pub fn serialize_structure_crate_input_describe_agent_versions_input( object.key("StackId").string(var_173.as_str()); } if let Some(var_174) = &input.configuration_manager { + #[allow(unused_mut)] let mut object_175 = object.key("ConfigurationManager").start_object(); crate::json_ser::serialize_structure_crate_model_stack_configuration_manager( &mut object_175, @@ -1184,6 +1205,7 @@ pub fn serialize_structure_crate_input_register_instance_input( .string(var_268.as_str()); } if let Some(var_269) = &input.instance_identity { + #[allow(unused_mut)] let mut object_270 = object.key("InstanceIdentity").start_object(); crate::json_ser::serialize_structure_crate_model_instance_identity( &mut object_270, @@ -1237,6 +1259,7 @@ pub fn serialize_structure_crate_input_set_load_based_auto_scaling_input( object.key("Enable").boolean(*var_278); } if let Some(var_279) = &input.up_scaling { + #[allow(unused_mut)] let mut object_280 = object.key("UpScaling").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_thresholds( &mut object_280, @@ -1245,6 +1268,7 @@ pub fn serialize_structure_crate_input_set_load_based_auto_scaling_input( object_280.finish(); } if let Some(var_281) = &input.down_scaling { + #[allow(unused_mut)] let mut object_282 = object.key("DownScaling").start_object(); crate::json_ser::serialize_structure_crate_model_auto_scaling_thresholds( &mut object_282, @@ -1285,6 +1309,7 @@ pub fn serialize_structure_crate_input_set_time_based_auto_scaling_input( object.key("InstanceId").string(var_288.as_str()); } if let Some(var_289) = &input.auto_scaling_schedule { + #[allow(unused_mut)] let mut object_290 = object.key("AutoScalingSchedule").start_object(); crate::json_ser::serialize_structure_crate_model_weekly_auto_scaling_schedule( &mut object_290, @@ -1346,6 +1371,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("ResourceArn").string(var_296.as_str()); } if let Some(var_297) = &input.tags { + #[allow(unused_mut)] let mut object_298 = object.key("Tags").start_object(); for (key_299, value_300) in var_297 { { @@ -1413,6 +1439,7 @@ pub fn serialize_structure_crate_input_update_app_input( let mut array_311 = object.key("DataSources").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source( &mut object_313, @@ -1427,6 +1454,7 @@ pub fn serialize_structure_crate_input_update_app_input( object.key("Type").string(var_314.as_str()); } if let Some(var_315) = &input.app_source { + #[allow(unused_mut)] let mut object_316 = object.key("AppSource").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_316, var_315)?; object_316.finish(); @@ -1444,6 +1472,7 @@ pub fn serialize_structure_crate_input_update_app_input( object.key("EnableSsl").boolean(*var_320); } if let Some(var_321) = &input.ssl_configuration { + #[allow(unused_mut)] let mut object_322 = object.key("SslConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_ssl_configuration( &mut object_322, @@ -1452,6 +1481,7 @@ pub fn serialize_structure_crate_input_update_app_input( object_322.finish(); } if let Some(var_323) = &input.attributes { + #[allow(unused_mut)] let mut object_324 = object.key("Attributes").start_object(); for (key_325, value_326) in var_323 { { @@ -1464,6 +1494,7 @@ pub fn serialize_structure_crate_input_update_app_input( let mut array_328 = object.key("Environment").start_array(); for item_329 in var_327 { { + #[allow(unused_mut)] let mut object_330 = array_328.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_variable( &mut object_330, @@ -1553,6 +1584,7 @@ pub fn serialize_structure_crate_input_update_layer_input( object.key("Shortname").string(var_349.as_str()); } if let Some(var_350) = &input.attributes { + #[allow(unused_mut)] let mut object_351 = object.key("Attributes").start_object(); for (key_352, value_353) in var_350 { { @@ -1562,6 +1594,7 @@ pub fn serialize_structure_crate_input_update_layer_input( object_351.finish(); } if let Some(var_354) = &input.cloud_watch_logs_configuration { + #[allow(unused_mut)] let mut object_355 = object.key("CloudWatchLogsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_configuration( &mut object_355, @@ -1599,6 +1632,7 @@ pub fn serialize_structure_crate_input_update_layer_input( let mut array_365 = object.key("VolumeConfigurations").start_array(); for item_366 in var_364 { { + #[allow(unused_mut)] let mut object_367 = array_365.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume_configuration( &mut object_367, @@ -1619,6 +1653,7 @@ pub fn serialize_structure_crate_input_update_layer_input( object.key("AutoAssignPublicIps").boolean(*var_370); } if let Some(var_371) = &input.custom_recipes { + #[allow(unused_mut)] let mut object_372 = object.key("CustomRecipes").start_object(); crate::json_ser::serialize_structure_crate_model_recipes(&mut object_372, var_371)?; object_372.finish(); @@ -1630,6 +1665,7 @@ pub fn serialize_structure_crate_input_update_layer_input( object.key("UseEbsOptimizedInstances").boolean(*var_374); } if let Some(var_375) = &input.lifecycle_event_configuration { + #[allow(unused_mut)] let mut object_376 = object.key("LifecycleEventConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_lifecycle_event_configuration( &mut object_376, @@ -1677,6 +1713,7 @@ pub fn serialize_structure_crate_input_update_stack_input( object.key("Name").string(var_382.as_str()); } if let Some(var_383) = &input.attributes { + #[allow(unused_mut)] let mut object_384 = object.key("Attributes").start_object(); for (key_385, value_386) in var_383 { { @@ -1711,6 +1748,7 @@ pub fn serialize_structure_crate_input_update_stack_input( object.key("CustomJson").string(var_393.as_str()); } if let Some(var_394) = &input.configuration_manager { + #[allow(unused_mut)] let mut object_395 = object.key("ConfigurationManager").start_object(); crate::json_ser::serialize_structure_crate_model_stack_configuration_manager( &mut object_395, @@ -1719,6 +1757,7 @@ pub fn serialize_structure_crate_input_update_stack_input( object_395.finish(); } if let Some(var_396) = &input.chef_configuration { + #[allow(unused_mut)] let mut object_397 = object.key("ChefConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_chef_configuration( &mut object_397, @@ -1730,6 +1769,7 @@ pub fn serialize_structure_crate_input_update_stack_input( object.key("UseCustomCookbooks").boolean(*var_398); } if let Some(var_399) = &input.custom_cookbooks_source { + #[allow(unused_mut)] let mut object_400 = object.key("CustomCookbooksSource").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_400, var_399)?; object_400.finish(); @@ -1891,6 +1931,7 @@ pub fn serialize_structure_crate_model_deployment_command( object.key("Name").string(var_431.as_str()); } if let Some(var_432) = &input.args { + #[allow(unused_mut)] let mut object_433 = object.key("Args").start_object(); for (key_434, value_435) in var_432 { { @@ -1922,6 +1963,7 @@ pub fn serialize_structure_crate_model_block_device_mapping( object.key("VirtualName").string(var_440.as_str()); } if let Some(var_441) = &input.ebs { + #[allow(unused_mut)] let mut object_442 = object.key("Ebs").start_object(); crate::json_ser::serialize_structure_crate_model_ebs_block_device( &mut object_442, @@ -1943,6 +1985,7 @@ pub fn serialize_structure_crate_model_cloud_watch_logs_configuration( let mut array_445 = object.key("LogStreams").start_array(); for item_446 in var_444 { { + #[allow(unused_mut)] let mut object_447 = array_445.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_log_stream( &mut object_447, @@ -2053,6 +2096,7 @@ pub fn serialize_structure_crate_model_lifecycle_event_configuration( input: &crate::model::LifecycleEventConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_470) = &input.shutdown { + #[allow(unused_mut)] let mut object_471 = object.key("Shutdown").start_object(); crate::json_ser::serialize_structure_crate_model_shutdown_event_configuration( &mut object_471, @@ -2133,6 +2177,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( input: &crate::model::WeeklyAutoScalingSchedule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_483) = &input.monday { + #[allow(unused_mut)] let mut object_484 = object.key("Monday").start_object(); for (key_485, value_486) in var_483 { { @@ -2142,6 +2187,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( object_484.finish(); } if let Some(var_487) = &input.tuesday { + #[allow(unused_mut)] let mut object_488 = object.key("Tuesday").start_object(); for (key_489, value_490) in var_487 { { @@ -2151,6 +2197,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( object_488.finish(); } if let Some(var_491) = &input.wednesday { + #[allow(unused_mut)] let mut object_492 = object.key("Wednesday").start_object(); for (key_493, value_494) in var_491 { { @@ -2160,6 +2207,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( object_492.finish(); } if let Some(var_495) = &input.thursday { + #[allow(unused_mut)] let mut object_496 = object.key("Thursday").start_object(); for (key_497, value_498) in var_495 { { @@ -2169,6 +2217,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( object_496.finish(); } if let Some(var_499) = &input.friday { + #[allow(unused_mut)] let mut object_500 = object.key("Friday").start_object(); for (key_501, value_502) in var_499 { { @@ -2178,6 +2227,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( object_500.finish(); } if let Some(var_503) = &input.saturday { + #[allow(unused_mut)] let mut object_504 = object.key("Saturday").start_object(); for (key_505, value_506) in var_503 { { @@ -2187,6 +2237,7 @@ pub fn serialize_structure_crate_model_weekly_auto_scaling_schedule( object_504.finish(); } if let Some(var_507) = &input.sunday { + #[allow(unused_mut)] let mut object_508 = object.key("Sunday").start_object(); for (key_509, value_510) in var_507 { { diff --git a/sdk/opsworkscm/src/json_ser.rs b/sdk/opsworkscm/src/json_ser.rs index 30985bf557f5..3840ee447847 100644 --- a/sdk/opsworkscm/src/json_ser.rs +++ b/sdk/opsworkscm/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_associate_node_input( let mut array_4 = object.key("EngineAttributes").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_engine_attribute( &mut object_6, @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_create_backup_input( let mut array_10 = object.key("Tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -82,6 +84,7 @@ pub fn serialize_structure_crate_input_create_server_input( let mut array_22 = object.key("EngineAttributes").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_engine_attribute( &mut object_24, @@ -143,6 +146,7 @@ pub fn serialize_structure_crate_input_create_server_input( let mut array_40 = object.key("Tags").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_42, item_41)?; object_42.finish(); @@ -265,6 +269,7 @@ pub fn serialize_structure_crate_input_disassociate_node_input( let mut array_61 = object.key("EngineAttributes").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_engine_attribute( &mut object_63, @@ -292,6 +297,7 @@ pub fn serialize_structure_crate_input_export_server_engine_attribute_input( let mut array_67 = object.key("InputAttributes").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_engine_attribute( &mut object_69, @@ -354,6 +360,7 @@ pub fn serialize_structure_crate_input_start_maintenance_input( let mut array_79 = object.key("EngineAttributes").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_engine_attribute( &mut object_81, @@ -378,6 +385,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_84 = object.key("Tags").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_86, item_85)?; object_86.finish(); diff --git a/sdk/organizations/src/json_ser.rs b/sdk/organizations/src/json_ser.rs index 601d9c6d363d..d3b687cf5893 100644 --- a/sdk/organizations/src/json_ser.rs +++ b/sdk/organizations/src/json_ser.rs @@ -62,6 +62,7 @@ pub fn serialize_structure_crate_input_create_account_input( let mut array_11 = object.key("Tags").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_13, item_12)?; object_13.finish(); @@ -92,6 +93,7 @@ pub fn serialize_structure_crate_input_create_gov_cloud_account_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -126,6 +128,7 @@ pub fn serialize_structure_crate_input_create_organizational_unit_input( let mut array_26 = object.key("Tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -156,6 +159,7 @@ pub fn serialize_structure_crate_input_create_policy_input( let mut array_34 = object.key("Tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -336,6 +340,7 @@ pub fn serialize_structure_crate_input_invite_account_to_organization_input( input: &crate::input::InviteAccountToOrganizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_57) = &input.target { + #[allow(unused_mut)] let mut object_58 = object.key("Target").start_object(); crate::json_ser::serialize_structure_crate_model_handshake_party(&mut object_58, var_57)?; object_58.finish(); @@ -347,6 +352,7 @@ pub fn serialize_structure_crate_input_invite_account_to_organization_input( let mut array_61 = object.key("Tags").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_63, item_62)?; object_63.finish(); @@ -498,6 +504,7 @@ pub fn serialize_structure_crate_input_list_handshakes_for_account_input( input: &crate::input::ListHandshakesForAccountInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_86) = &input.filter { + #[allow(unused_mut)] let mut object_87 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_handshake_filter(&mut object_87, var_86)?; object_87.finish(); @@ -519,6 +526,7 @@ pub fn serialize_structure_crate_input_list_handshakes_for_organization_input( input: &crate::input::ListHandshakesForOrganizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_90) = &input.filter { + #[allow(unused_mut)] let mut object_91 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_handshake_filter(&mut object_91, var_90)?; object_91.finish(); @@ -712,6 +720,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_122 = object.key("Tags").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_124, item_123)?; object_124.finish(); diff --git a/sdk/outposts/src/json_ser.rs b/sdk/outposts/src/json_ser.rs index 1e25b5c5bb71..23f539864f47 100644 --- a/sdk/outposts/src/json_ser.rs +++ b/sdk/outposts/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_order_input( let mut array_2 = object.key("LineItems").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_line_item_request( &mut object_4, @@ -52,6 +53,7 @@ pub fn serialize_structure_crate_input_create_outpost_input( object.key("SupportedHardwareType").string(var_13.as_str()); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("Tags").start_object(); for (key_16, value_17) in var_14 { { @@ -77,11 +79,13 @@ pub fn serialize_structure_crate_input_create_site_input( object.key("Notes").string(var_20.as_str()); } if let Some(var_21) = &input.operating_address { + #[allow(unused_mut)] let mut object_22 = object.key("OperatingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.rack_physical_properties { + #[allow(unused_mut)] let mut object_24 = object.key("RackPhysicalProperties").start_object(); crate::json_ser::serialize_structure_crate_model_rack_physical_properties( &mut object_24, @@ -90,11 +94,13 @@ pub fn serialize_structure_crate_input_create_site_input( object_24.finish(); } if let Some(var_25) = &input.shipping_address { + #[allow(unused_mut)] let mut object_26 = object.key("ShippingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_26, var_25)?; object_26.finish(); } if let Some(var_27) = &input.tags { + #[allow(unused_mut)] let mut object_28 = object.key("Tags").start_object(); for (key_29, value_30) in var_27 { { @@ -133,6 +139,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("Tags").start_object(); for (key_36, value_37) in var_34 { { @@ -181,6 +188,7 @@ pub fn serialize_structure_crate_input_update_site_address_input( input: &crate::input::UpdateSiteAddressInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_44) = &input.address { + #[allow(unused_mut)] let mut object_45 = object.key("Address").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_45, var_44)?; object_45.finish(); diff --git a/sdk/panorama/src/json_ser.rs b/sdk/panorama/src/json_ser.rs index 28d2959e9809..74527c855dbd 100644 --- a/sdk/panorama/src/json_ser.rs +++ b/sdk/panorama/src/json_ser.rs @@ -17,6 +17,7 @@ pub fn serialize_structure_crate_input_create_application_instance_input( object.key("Description").string(var_3.as_str()); } if let Some(var_4) = &input.manifest_overrides_payload { + #[allow(unused_mut)] let mut object_5 = object.key("ManifestOverridesPayload").start_object(); crate::json_ser::serialize_union_crate_model_manifest_overrides_payload( &mut object_5, @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_create_application_instance_input( object_5.finish(); } if let Some(var_6) = &input.manifest_payload { + #[allow(unused_mut)] let mut object_7 = object.key("ManifestPayload").start_object(); crate::json_ser::serialize_union_crate_model_manifest_payload(&mut object_7, var_6)?; object_7.finish(); @@ -36,6 +38,7 @@ pub fn serialize_structure_crate_input_create_application_instance_input( object.key("RuntimeRoleArn").string(var_9.as_str()); } if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("Tags").start_object(); for (key_12, value_13) in var_10 { { @@ -61,6 +64,7 @@ pub fn serialize_structure_crate_input_create_job_for_devices_input( array_15.finish(); } if let Some(var_17) = &input.device_job_config { + #[allow(unused_mut)] let mut object_18 = object.key("DeviceJobConfig").start_object(); crate::json_ser::serialize_structure_crate_model_device_job_config(&mut object_18, var_17)?; object_18.finish(); @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_create_node_from_template_job_input( let mut array_21 = object.key("JobTags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_resource_tags( &mut object_23, @@ -102,6 +107,7 @@ pub fn serialize_structure_crate_input_create_node_from_template_job_input( object.key("OutputPackageVersion").string(var_27.as_str()); } if let Some(var_28) = &input.template_parameters { + #[allow(unused_mut)] let mut object_29 = object.key("TemplateParameters").start_object(); for (key_30, value_31) in var_28 { { @@ -124,6 +130,7 @@ pub fn serialize_structure_crate_input_create_package_input( object.key("PackageName").string(var_33.as_str()); } if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("Tags").start_object(); for (key_36, value_37) in var_34 { { @@ -143,6 +150,7 @@ pub fn serialize_structure_crate_input_create_package_import_job_input( object.key("ClientToken").string(var_38.as_str()); } if let Some(var_39) = &input.input_config { + #[allow(unused_mut)] let mut object_40 = object.key("InputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_package_import_job_input_config( &mut object_40, @@ -154,6 +162,7 @@ pub fn serialize_structure_crate_input_create_package_import_job_input( let mut array_42 = object.key("JobTags").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_job_resource_tags( &mut object_44, @@ -168,6 +177,7 @@ pub fn serialize_structure_crate_input_create_package_import_job_input( object.key("JobType").string(var_45.as_str()); } if let Some(var_46) = &input.output_config { + #[allow(unused_mut)] let mut object_47 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_package_import_job_output_config( &mut object_47, @@ -189,11 +199,13 @@ pub fn serialize_structure_crate_input_provision_device_input( object.key("Name").string(var_49.as_str()); } if let Some(var_50) = &input.networking_configuration { + #[allow(unused_mut)] let mut object_51 = object.key("NetworkingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_network_payload(&mut object_51, var_50)?; object_51.finish(); } if let Some(var_52) = &input.tags { + #[allow(unused_mut)] let mut object_53 = object.key("Tags").start_object(); for (key_54, value_55) in var_52 { { @@ -223,6 +235,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_57) = &input.tags { + #[allow(unused_mut)] let mut object_58 = object.key("Tags").start_object(); for (key_59, value_60) in var_57 { { @@ -287,6 +300,7 @@ pub fn serialize_structure_crate_model_device_job_config( input: &crate::model::DeviceJobConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_62) = &input.ota_job_config { + #[allow(unused_mut)] let mut object_63 = object.key("OTAJobConfig").start_object(); crate::json_ser::serialize_structure_crate_model_ota_job_config(&mut object_63, var_62)?; object_63.finish(); @@ -302,6 +316,7 @@ pub fn serialize_structure_crate_model_job_resource_tags( object.key("ResourceType").string(var_64.as_str()); } if let Some(var_65) = &input.tags { + #[allow(unused_mut)] let mut object_66 = object.key("Tags").start_object(); for (key_67, value_68) in var_65 { { @@ -318,6 +333,7 @@ pub fn serialize_structure_crate_model_package_import_job_input_config( input: &crate::model::PackageImportJobInputConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_69) = &input.package_version_input_config { + #[allow(unused_mut)] let mut object_70 = object.key("PackageVersionInputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_package_version_input_config( &mut object_70, @@ -333,6 +349,7 @@ pub fn serialize_structure_crate_model_package_import_job_output_config( input: &crate::model::PackageImportJobOutputConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_71) = &input.package_version_output_config { + #[allow(unused_mut)] let mut object_72 = object.key("PackageVersionOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_package_version_output_config( &mut object_72, @@ -348,16 +365,19 @@ pub fn serialize_structure_crate_model_network_payload( input: &crate::model::NetworkPayload, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_73) = &input.ethernet0 { + #[allow(unused_mut)] let mut object_74 = object.key("Ethernet0").start_object(); crate::json_ser::serialize_structure_crate_model_ethernet_payload(&mut object_74, var_73)?; object_74.finish(); } if let Some(var_75) = &input.ethernet1 { + #[allow(unused_mut)] let mut object_76 = object.key("Ethernet1").start_object(); crate::json_ser::serialize_structure_crate_model_ethernet_payload(&mut object_76, var_75)?; object_76.finish(); } if let Some(var_77) = &input.ntp { + #[allow(unused_mut)] let mut object_78 = object.key("Ntp").start_object(); crate::json_ser::serialize_structure_crate_model_ntp_payload(&mut object_78, var_77)?; object_78.finish(); @@ -380,6 +400,7 @@ pub fn serialize_structure_crate_model_package_version_input_config( input: &crate::model::PackageVersionInputConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.s3_location { + #[allow(unused_mut)] let mut object_81 = object.key("S3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_81, var_80)?; object_81.finish(); @@ -411,6 +432,7 @@ pub fn serialize_structure_crate_model_ethernet_payload( object.key("ConnectionType").string(var_84.as_str()); } if let Some(var_85) = &input.static_ip_connection_info { + #[allow(unused_mut)] let mut object_86 = object.key("StaticIpConnectionInfo").start_object(); crate::json_ser::serialize_structure_crate_model_static_ip_connection_info( &mut object_86, diff --git a/sdk/personalize/src/json_ser.rs b/sdk/personalize/src/json_ser.rs index cd8e0789f338..23ea01cb809e 100644 --- a/sdk/personalize/src/json_ser.rs +++ b/sdk/personalize/src/json_ser.rs @@ -19,6 +19,7 @@ pub fn serialize_structure_crate_input_create_batch_inference_job_input( ); } if let Some(var_5) = &input.job_input { + #[allow(unused_mut)] let mut object_6 = object.key("jobInput").start_object(); crate::json_ser::serialize_structure_crate_model_batch_inference_job_input( &mut object_6, @@ -27,6 +28,7 @@ pub fn serialize_structure_crate_input_create_batch_inference_job_input( object_6.finish(); } if let Some(var_7) = &input.job_output { + #[allow(unused_mut)] let mut object_8 = object.key("jobOutput").start_object(); crate::json_ser::serialize_structure_crate_model_batch_inference_job_output( &mut object_8, @@ -38,6 +40,7 @@ pub fn serialize_structure_crate_input_create_batch_inference_job_input( object.key("roleArn").string(var_9.as_str()); } if let Some(var_10) = &input.batch_inference_job_config { + #[allow(unused_mut)] let mut object_11 = object.key("batchInferenceJobConfig").start_object(); crate::json_ser::serialize_structure_crate_model_batch_inference_job_config( &mut object_11, @@ -49,6 +52,7 @@ pub fn serialize_structure_crate_input_create_batch_inference_job_input( let mut array_13 = object.key("tags").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_15, item_14)?; object_15.finish(); @@ -79,6 +83,7 @@ pub fn serialize_structure_crate_input_create_batch_segment_job_input( ); } if let Some(var_20) = &input.job_input { + #[allow(unused_mut)] let mut object_21 = object.key("jobInput").start_object(); crate::json_ser::serialize_structure_crate_model_batch_segment_job_input( &mut object_21, @@ -87,6 +92,7 @@ pub fn serialize_structure_crate_input_create_batch_segment_job_input( object_21.finish(); } if let Some(var_22) = &input.job_output { + #[allow(unused_mut)] let mut object_23 = object.key("jobOutput").start_object(); crate::json_ser::serialize_structure_crate_model_batch_segment_job_output( &mut object_23, @@ -101,6 +107,7 @@ pub fn serialize_structure_crate_input_create_batch_segment_job_input( let mut array_26 = object.key("tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -128,6 +135,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( ); } if let Some(var_32) = &input.campaign_config { + #[allow(unused_mut)] let mut object_33 = object.key("campaignConfig").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_config(&mut object_33, var_32)?; object_33.finish(); @@ -136,6 +144,7 @@ pub fn serialize_structure_crate_input_create_campaign_input( let mut array_35 = object.key("tags").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_37, item_36)?; object_37.finish(); @@ -166,6 +175,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( let mut array_43 = object.key("tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -193,6 +203,7 @@ pub fn serialize_structure_crate_input_create_dataset_export_job_input( object.key("roleArn").string(var_49.as_str()); } if let Some(var_50) = &input.job_output { + #[allow(unused_mut)] let mut object_51 = object.key("jobOutput").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_export_job_output( &mut object_51, @@ -204,6 +215,7 @@ pub fn serialize_structure_crate_input_create_dataset_export_job_input( let mut array_53 = object.key("tags").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_55, item_54)?; object_55.finish(); @@ -234,6 +246,7 @@ pub fn serialize_structure_crate_input_create_dataset_group_input( let mut array_61 = object.key("tags").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_63, item_62)?; object_63.finish(); @@ -255,6 +268,7 @@ pub fn serialize_structure_crate_input_create_dataset_import_job_input( object.key("datasetArn").string(var_65.as_str()); } if let Some(var_66) = &input.data_source { + #[allow(unused_mut)] let mut object_67 = object.key("dataSource").start_object(); crate::json_ser::serialize_structure_crate_model_data_source(&mut object_67, var_66)?; object_67.finish(); @@ -266,6 +280,7 @@ pub fn serialize_structure_crate_input_create_dataset_import_job_input( let mut array_70 = object.key("tags").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_72, item_71)?; object_72.finish(); @@ -293,6 +308,7 @@ pub fn serialize_structure_crate_input_create_event_tracker_input( let mut array_77 = object.key("tags").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_79, item_78)?; object_79.finish(); @@ -320,6 +336,7 @@ pub fn serialize_structure_crate_input_create_filter_input( let mut array_84 = object.key("tags").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_86, item_85)?; object_86.finish(); @@ -344,6 +361,7 @@ pub fn serialize_structure_crate_input_create_recommender_input( object.key("recipeArn").string(var_89.as_str()); } if let Some(var_90) = &input.recommender_config { + #[allow(unused_mut)] let mut object_91 = object.key("recommenderConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommender_config( &mut object_91, @@ -355,6 +373,7 @@ pub fn serialize_structure_crate_input_create_recommender_input( let mut array_93 = object.key("tags").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_95, item_94)?; object_95.finish(); @@ -404,6 +423,7 @@ pub fn serialize_structure_crate_input_create_solution_input( object.key("eventType").string(var_103.as_str()); } if let Some(var_104) = &input.solution_config { + #[allow(unused_mut)] let mut object_105 = object.key("solutionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_solution_config(&mut object_105, var_104)?; object_105.finish(); @@ -412,6 +432,7 @@ pub fn serialize_structure_crate_input_create_solution_input( let mut array_107 = object.key("tags").start_array(); for item_108 in var_106 { { + #[allow(unused_mut)] let mut object_109 = array_107.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_109, item_108)?; object_109.finish(); @@ -436,6 +457,7 @@ pub fn serialize_structure_crate_input_create_solution_version_input( let mut array_113 = object.key("tags").start_array(); for item_114 in var_112 { { + #[allow(unused_mut)] let mut object_115 = array_113.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_115, item_114)?; object_115.finish(); @@ -1012,6 +1034,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_188 = object.key("tags").start_array(); for item_189 in var_187 { { + #[allow(unused_mut)] let mut object_190 = array_188.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_190, item_189)?; object_190.finish(); @@ -1058,6 +1081,7 @@ pub fn serialize_structure_crate_input_update_campaign_input( ); } if let Some(var_198) = &input.campaign_config { + #[allow(unused_mut)] let mut object_199 = object.key("campaignConfig").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_config(&mut object_199, var_198)?; object_199.finish(); @@ -1073,6 +1097,7 @@ pub fn serialize_structure_crate_input_update_recommender_input( object.key("recommenderArn").string(var_200.as_str()); } if let Some(var_201) = &input.recommender_config { + #[allow(unused_mut)] let mut object_202 = object.key("recommenderConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommender_config( &mut object_202, @@ -1088,6 +1113,7 @@ pub fn serialize_structure_crate_model_batch_inference_job_input( input: &crate::model::BatchInferenceJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_203) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_204 = object.key("s3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_config(&mut object_204, var_203)?; object_204.finish(); @@ -1100,6 +1126,7 @@ pub fn serialize_structure_crate_model_batch_inference_job_output( input: &crate::model::BatchInferenceJobOutput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_205) = &input.s3_data_destination { + #[allow(unused_mut)] let mut object_206 = object.key("s3DataDestination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_config(&mut object_206, var_205)?; object_206.finish(); @@ -1112,6 +1139,7 @@ pub fn serialize_structure_crate_model_batch_inference_job_config( input: &crate::model::BatchInferenceJobConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_207) = &input.item_exploration_config { + #[allow(unused_mut)] let mut object_208 = object.key("itemExplorationConfig").start_object(); for (key_209, value_210) in var_207 { { @@ -1141,6 +1169,7 @@ pub fn serialize_structure_crate_model_batch_segment_job_input( input: &crate::model::BatchSegmentJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_213) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_214 = object.key("s3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_config(&mut object_214, var_213)?; object_214.finish(); @@ -1153,6 +1182,7 @@ pub fn serialize_structure_crate_model_batch_segment_job_output( input: &crate::model::BatchSegmentJobOutput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_215) = &input.s3_data_destination { + #[allow(unused_mut)] let mut object_216 = object.key("s3DataDestination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_config(&mut object_216, var_215)?; object_216.finish(); @@ -1165,6 +1195,7 @@ pub fn serialize_structure_crate_model_campaign_config( input: &crate::model::CampaignConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_217) = &input.item_exploration_config { + #[allow(unused_mut)] let mut object_218 = object.key("itemExplorationConfig").start_object(); for (key_219, value_220) in var_217 { { @@ -1181,6 +1212,7 @@ pub fn serialize_structure_crate_model_dataset_export_job_output( input: &crate::model::DatasetExportJobOutput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_221) = &input.s3_data_destination { + #[allow(unused_mut)] let mut object_222 = object.key("s3DataDestination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_config(&mut object_222, var_221)?; object_222.finish(); @@ -1203,6 +1235,7 @@ pub fn serialize_structure_crate_model_recommender_config( input: &crate::model::RecommenderConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_224) = &input.item_exploration_config { + #[allow(unused_mut)] let mut object_225 = object.key("itemExplorationConfig").start_object(); for (key_226, value_227) in var_224 { { @@ -1228,11 +1261,13 @@ pub fn serialize_structure_crate_model_solution_config( object.key("eventValueThreshold").string(var_229.as_str()); } if let Some(var_230) = &input.hpo_config { + #[allow(unused_mut)] let mut object_231 = object.key("hpoConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hpo_config(&mut object_231, var_230)?; object_231.finish(); } if let Some(var_232) = &input.algorithm_hyper_parameters { + #[allow(unused_mut)] let mut object_233 = object.key("algorithmHyperParameters").start_object(); for (key_234, value_235) in var_232 { { @@ -1242,6 +1277,7 @@ pub fn serialize_structure_crate_model_solution_config( object_233.finish(); } if let Some(var_236) = &input.feature_transformation_parameters { + #[allow(unused_mut)] let mut object_237 = object.key("featureTransformationParameters").start_object(); for (key_238, value_239) in var_236 { { @@ -1251,11 +1287,13 @@ pub fn serialize_structure_crate_model_solution_config( object_237.finish(); } if let Some(var_240) = &input.auto_ml_config { + #[allow(unused_mut)] let mut object_241 = object.key("autoMLConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_config(&mut object_241, var_240)?; object_241.finish(); } if let Some(var_242) = &input.optimization_objective { + #[allow(unused_mut)] let mut object_243 = object.key("optimizationObjective").start_object(); crate::json_ser::serialize_structure_crate_model_optimization_objective( &mut object_243, @@ -1284,11 +1322,13 @@ pub fn serialize_structure_crate_model_hpo_config( input: &crate::model::HpoConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_246) = &input.hpo_objective { + #[allow(unused_mut)] let mut object_247 = object.key("hpoObjective").start_object(); crate::json_ser::serialize_structure_crate_model_hpo_objective(&mut object_247, var_246)?; object_247.finish(); } if let Some(var_248) = &input.hpo_resource_config { + #[allow(unused_mut)] let mut object_249 = object.key("hpoResourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hpo_resource_config( &mut object_249, @@ -1297,6 +1337,7 @@ pub fn serialize_structure_crate_model_hpo_config( object_249.finish(); } if let Some(var_250) = &input.algorithm_hyper_parameter_ranges { + #[allow(unused_mut)] let mut object_251 = object.key("algorithmHyperParameterRanges").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_ranges( &mut object_251, @@ -1380,6 +1421,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_ranges( let mut array_264 = object.key("integerHyperParameterRanges").start_array(); for item_265 in var_263 { { + #[allow(unused_mut)] let mut object_266 = array_264.value().start_object(); crate::json_ser::serialize_structure_crate_model_integer_hyper_parameter_range( &mut object_266, @@ -1394,6 +1436,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_ranges( let mut array_268 = object.key("continuousHyperParameterRanges").start_array(); for item_269 in var_267 { { + #[allow(unused_mut)] let mut object_270 = array_268.value().start_object(); crate::json_ser::serialize_structure_crate_model_continuous_hyper_parameter_range( &mut object_270, @@ -1408,6 +1451,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_ranges( let mut array_272 = object.key("categoricalHyperParameterRanges").start_array(); for item_273 in var_271 { { + #[allow(unused_mut)] let mut object_274 = array_272.value().start_object(); crate::json_ser::serialize_structure_crate_model_categorical_hyper_parameter_range( &mut object_274, diff --git a/sdk/personalizeevents/src/json_ser.rs b/sdk/personalizeevents/src/json_ser.rs index 45a29c3e0b25..8a543fa82a39 100644 --- a/sdk/personalizeevents/src/json_ser.rs +++ b/sdk/personalizeevents/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_put_events_input( let mut array_2 = object.key("eventList").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_4, item_3)?; object_4.finish(); @@ -37,6 +38,7 @@ pub fn serialize_structure_crate_input_put_items_input( let mut array_10 = object.key("items").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_item(&mut object_12, item_11)?; object_12.finish(); @@ -58,6 +60,7 @@ pub fn serialize_structure_crate_input_put_users_input( let mut array_15 = object.key("users").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_user(&mut object_17, item_16)?; object_17.finish(); diff --git a/sdk/personalizeruntime/src/json_ser.rs b/sdk/personalizeruntime/src/json_ser.rs index 062bfbb5e457..1bff74049fb2 100644 --- a/sdk/personalizeruntime/src/json_ser.rs +++ b/sdk/personalizeruntime/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_get_personalized_ranking_input( object.key("campaignArn").string(var_1.as_str()); } if let Some(var_2) = &input.context { + #[allow(unused_mut)] let mut object_3 = object.key("context").start_object(); for (key_4, value_5) in var_2 { { @@ -19,6 +20,7 @@ pub fn serialize_structure_crate_input_get_personalized_ranking_input( object.key("filterArn").string(var_6.as_str()); } if let Some(var_7) = &input.filter_values { + #[allow(unused_mut)] let mut object_8 = object.key("filterValues").start_object(); for (key_9, value_10) in var_7 { { @@ -50,6 +52,7 @@ pub fn serialize_structure_crate_input_get_recommendations_input( object.key("campaignArn").string(var_15.as_str()); } if let Some(var_16) = &input.context { + #[allow(unused_mut)] let mut object_17 = object.key("context").start_object(); for (key_18, value_19) in var_16 { { @@ -62,6 +65,7 @@ pub fn serialize_structure_crate_input_get_recommendations_input( object.key("filterArn").string(var_20.as_str()); } if let Some(var_21) = &input.filter_values { + #[allow(unused_mut)] let mut object_22 = object.key("filterValues").start_object(); for (key_23, value_24) in var_21 { { @@ -83,6 +87,7 @@ pub fn serialize_structure_crate_input_get_recommendations_input( let mut array_27 = object.key("promotions").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_promotion( &mut object_29, @@ -119,6 +124,7 @@ pub fn serialize_structure_crate_model_promotion( object.key("filterArn").string(var_33.as_str()); } if let Some(var_34) = &input.filter_values { + #[allow(unused_mut)] let mut object_35 = object.key("filterValues").start_object(); for (key_36, value_37) in var_34 { { diff --git a/sdk/pi/src/json_ser.rs b/sdk/pi/src/json_ser.rs index ed28f388df00..47d9a3473e2d 100644 --- a/sdk/pi/src/json_ser.rs +++ b/sdk/pi/src/json_ser.rs @@ -29,6 +29,7 @@ pub fn serialize_structure_crate_input_describe_dimension_keys_input( ); } if let Some(var_7) = &input.group_by { + #[allow(unused_mut)] let mut object_8 = object.key("GroupBy").start_object(); crate::json_ser::serialize_structure_crate_model_dimension_group(&mut object_8, var_7)?; object_8.finish(); @@ -43,11 +44,13 @@ pub fn serialize_structure_crate_input_describe_dimension_keys_input( array_10.finish(); } if let Some(var_12) = &input.partition_by { + #[allow(unused_mut)] let mut object_13 = object.key("PartitionBy").start_object(); crate::json_ser::serialize_structure_crate_model_dimension_group(&mut object_13, var_12)?; object_13.finish(); } if let Some(var_14) = &input.filter { + #[allow(unused_mut)] let mut object_15 = object.key("Filter").start_object(); for (key_16, value_17) in var_14 { { @@ -123,6 +126,7 @@ pub fn serialize_structure_crate_input_get_resource_metrics_input( let mut array_32 = object.key("MetricQueries").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_query( &mut object_34, @@ -256,11 +260,13 @@ pub fn serialize_structure_crate_model_metric_query( object.key("Metric").string(var_59.as_str()); } if let Some(var_60) = &input.group_by { + #[allow(unused_mut)] let mut object_61 = object.key("GroupBy").start_object(); crate::json_ser::serialize_structure_crate_model_dimension_group(&mut object_61, var_60)?; object_61.finish(); } if let Some(var_62) = &input.filter { + #[allow(unused_mut)] let mut object_63 = object.key("Filter").start_object(); for (key_64, value_65) in var_62 { { diff --git a/sdk/pinpoint/src/json_ser.rs b/sdk/pinpoint/src/json_ser.rs index 9f4ca524cb5f..13683b15bd86 100644 --- a/sdk/pinpoint/src/json_ser.rs +++ b/sdk/pinpoint/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_model_create_application_request( object.key("Name").string(var_1.as_str()); } if let Some(var_2) = &input.tags { + #[allow(unused_mut)] let mut object_3 = object.key("tags").start_object(); for (key_4, value_5) in var_2 { { @@ -26,6 +27,7 @@ pub fn serialize_structure_crate_model_write_campaign_request( let mut array_7 = object.key("AdditionalTreatments").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_write_treatment_resource( &mut object_9, @@ -37,6 +39,7 @@ pub fn serialize_structure_crate_model_write_campaign_request( array_7.finish(); } if let Some(var_10) = &input.custom_delivery_configuration { + #[allow(unused_mut)] let mut object_11 = object.key("CustomDeliveryConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_custom_delivery_configuration( &mut object_11, @@ -54,6 +57,7 @@ pub fn serialize_structure_crate_model_write_campaign_request( ); } if let Some(var_13) = &input.hook { + #[allow(unused_mut)] let mut object_14 = object.key("Hook").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_hook(&mut object_14, var_13)?; object_14.finish(); @@ -62,11 +66,13 @@ pub fn serialize_structure_crate_model_write_campaign_request( object.key("IsPaused").boolean(input.is_paused); } if let Some(var_15) = &input.limits { + #[allow(unused_mut)] let mut object_16 = object.key("Limits").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_limits(&mut object_16, var_15)?; object_16.finish(); } if let Some(var_17) = &input.message_configuration { + #[allow(unused_mut)] let mut object_18 = object.key("MessageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_message_configuration( &mut object_18, @@ -78,6 +84,7 @@ pub fn serialize_structure_crate_model_write_campaign_request( object.key("Name").string(var_19.as_str()); } if let Some(var_20) = &input.schedule { + #[allow(unused_mut)] let mut object_21 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_schedule(&mut object_21, var_20)?; object_21.finish(); @@ -92,6 +99,7 @@ pub fn serialize_structure_crate_model_write_campaign_request( ); } if let Some(var_23) = &input.tags { + #[allow(unused_mut)] let mut object_24 = object.key("tags").start_object(); for (key_25, value_26) in var_23 { { @@ -101,6 +109,7 @@ pub fn serialize_structure_crate_model_write_campaign_request( object_24.finish(); } if let Some(var_27) = &input.template_configuration { + #[allow(unused_mut)] let mut object_28 = object.key("TemplateConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_template_configuration( &mut object_28, @@ -140,6 +149,7 @@ pub fn serialize_structure_crate_model_email_template_request( object.key("Subject").string(var_34.as_str()); } if let Some(var_35) = &input.tags { + #[allow(unused_mut)] let mut object_36 = object.key("tags").start_object(); for (key_37, value_38) in var_35 { { @@ -220,6 +230,7 @@ pub fn serialize_structure_crate_model_in_app_template_request( let mut array_51 = object.key("Content").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_in_app_message_content( &mut object_53, @@ -231,6 +242,7 @@ pub fn serialize_structure_crate_model_in_app_template_request( array_51.finish(); } if let Some(var_54) = &input.custom_config { + #[allow(unused_mut)] let mut object_55 = object.key("CustomConfig").start_object(); for (key_56, value_57) in var_54 { { @@ -243,6 +255,7 @@ pub fn serialize_structure_crate_model_in_app_template_request( object.key("Layout").string(var_58.as_str()); } if let Some(var_59) = &input.tags { + #[allow(unused_mut)] let mut object_60 = object.key("tags").start_object(); for (key_61, value_62) in var_59 { { @@ -262,9 +275,11 @@ pub fn serialize_structure_crate_model_write_journey_request( input: &crate::model::WriteJourneyRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_64) = &input.activities { + #[allow(unused_mut)] let mut object_65 = object.key("Activities").start_object(); for (key_66, value_67) in var_64 { { + #[allow(unused_mut)] let mut object_68 = object_65.key(key_66.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_activity( &mut object_68, @@ -282,6 +297,7 @@ pub fn serialize_structure_crate_model_write_journey_request( object.key("LastModifiedDate").string(var_70.as_str()); } if let Some(var_71) = &input.limits { + #[allow(unused_mut)] let mut object_72 = object.key("Limits").start_object(); crate::json_ser::serialize_structure_crate_model_journey_limits(&mut object_72, var_71)?; object_72.finish(); @@ -293,6 +309,7 @@ pub fn serialize_structure_crate_model_write_journey_request( object.key("Name").string(var_73.as_str()); } if let Some(var_74) = &input.quiet_time { + #[allow(unused_mut)] let mut object_75 = object.key("QuietTime").start_object(); crate::json_ser::serialize_structure_crate_model_quiet_time(&mut object_75, var_74)?; object_75.finish(); @@ -301,6 +318,7 @@ pub fn serialize_structure_crate_model_write_journey_request( object.key("RefreshFrequency").string(var_76.as_str()); } if let Some(var_77) = &input.schedule { + #[allow(unused_mut)] let mut object_78 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_journey_schedule(&mut object_78, var_77)?; object_78.finish(); @@ -309,6 +327,7 @@ pub fn serialize_structure_crate_model_write_journey_request( object.key("StartActivity").string(var_79.as_str()); } if let Some(var_80) = &input.start_condition { + #[allow(unused_mut)] let mut object_81 = object.key("StartCondition").start_object(); crate::json_ser::serialize_structure_crate_model_start_condition(&mut object_81, var_80)?; object_81.finish(); @@ -327,6 +346,7 @@ pub fn serialize_structure_crate_model_write_journey_request( .boolean(input.refresh_on_segment_update); } if let Some(var_83) = &input.journey_channel_settings { + #[allow(unused_mut)] let mut object_84 = object.key("JourneyChannelSettings").start_object(); crate::json_ser::serialize_structure_crate_model_journey_channel_settings( &mut object_84, @@ -340,11 +360,13 @@ pub fn serialize_structure_crate_model_write_journey_request( .boolean(input.sending_schedule); } if let Some(var_85) = &input.open_hours { + #[allow(unused_mut)] let mut object_86 = object.key("OpenHours").start_object(); crate::json_ser::serialize_structure_crate_model_open_hours(&mut object_86, var_85)?; object_86.finish(); } if let Some(var_87) = &input.closed_days { + #[allow(unused_mut)] let mut object_88 = object.key("ClosedDays").start_object(); crate::json_ser::serialize_structure_crate_model_closed_days(&mut object_88, var_87)?; object_88.finish(); @@ -357,6 +379,7 @@ pub fn serialize_structure_crate_model_push_notification_template_request( input: &crate::model::PushNotificationTemplateRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_89) = &input.adm { + #[allow(unused_mut)] let mut object_90 = object.key("ADM").start_object(); crate::json_ser::serialize_structure_crate_model_android_push_notification_template( &mut object_90, @@ -365,6 +388,7 @@ pub fn serialize_structure_crate_model_push_notification_template_request( object_90.finish(); } if let Some(var_91) = &input.apns { + #[allow(unused_mut)] let mut object_92 = object.key("APNS").start_object(); crate::json_ser::serialize_structure_crate_model_apns_push_notification_template( &mut object_92, @@ -373,6 +397,7 @@ pub fn serialize_structure_crate_model_push_notification_template_request( object_92.finish(); } if let Some(var_93) = &input.baidu { + #[allow(unused_mut)] let mut object_94 = object.key("Baidu").start_object(); crate::json_ser::serialize_structure_crate_model_android_push_notification_template( &mut object_94, @@ -381,6 +406,7 @@ pub fn serialize_structure_crate_model_push_notification_template_request( object_94.finish(); } if let Some(var_95) = &input.default_value { + #[allow(unused_mut)] let mut object_96 = object.key("Default").start_object(); crate::json_ser::serialize_structure_crate_model_default_push_notification_template( &mut object_96, @@ -392,6 +418,7 @@ pub fn serialize_structure_crate_model_push_notification_template_request( object.key("DefaultSubstitutions").string(var_97.as_str()); } if let Some(var_98) = &input.gcm { + #[allow(unused_mut)] let mut object_99 = object.key("GCM").start_object(); crate::json_ser::serialize_structure_crate_model_android_push_notification_template( &mut object_99, @@ -403,6 +430,7 @@ pub fn serialize_structure_crate_model_push_notification_template_request( object.key("RecommenderId").string(var_100.as_str()); } if let Some(var_101) = &input.tags { + #[allow(unused_mut)] let mut object_102 = object.key("tags").start_object(); for (key_103, value_104) in var_101 { { @@ -422,6 +450,7 @@ pub fn serialize_structure_crate_model_create_recommender_configuration_shape( input: &crate::model::CreateRecommenderConfigurationShape, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_106) = &input.attributes { + #[allow(unused_mut)] let mut object_107 = object.key("Attributes").start_object(); for (key_108, value_109) in var_106 { { @@ -475,6 +504,7 @@ pub fn serialize_structure_crate_model_write_segment_request( input: &crate::model::WriteSegmentRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_117) = &input.dimensions { + #[allow(unused_mut)] let mut object_118 = object.key("Dimensions").start_object(); crate::json_ser::serialize_structure_crate_model_segment_dimensions( &mut object_118, @@ -486,6 +516,7 @@ pub fn serialize_structure_crate_model_write_segment_request( object.key("Name").string(var_119.as_str()); } if let Some(var_120) = &input.segment_groups { + #[allow(unused_mut)] let mut object_121 = object.key("SegmentGroups").start_object(); crate::json_ser::serialize_structure_crate_model_segment_group_list( &mut object_121, @@ -494,6 +525,7 @@ pub fn serialize_structure_crate_model_write_segment_request( object_121.finish(); } if let Some(var_122) = &input.tags { + #[allow(unused_mut)] let mut object_123 = object.key("tags").start_object(); for (key_124, value_125) in var_122 { { @@ -519,6 +551,7 @@ pub fn serialize_structure_crate_model_sms_template_request( object.key("RecommenderId").string(var_128.as_str()); } if let Some(var_129) = &input.tags { + #[allow(unused_mut)] let mut object_130 = object.key("tags").start_object(); for (key_131, value_132) in var_129 { { @@ -547,6 +580,7 @@ pub fn serialize_structure_crate_model_voice_template_request( object.key("LanguageCode").string(var_136.as_str()); } if let Some(var_137) = &input.tags { + #[allow(unused_mut)] let mut object_138 = object.key("tags").start_object(); for (key_139, value_140) in var_137 { { @@ -582,9 +616,11 @@ pub fn serialize_structure_crate_model_events_request( input: &crate::model::EventsRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_145) = &input.batch_item { + #[allow(unused_mut)] let mut object_146 = object.key("BatchItem").start_object(); for (key_147, value_148) in var_145 { { + #[allow(unused_mut)] let mut object_149 = object_146.key(key_147.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_events_batch( &mut object_149, @@ -632,9 +668,11 @@ pub fn serialize_structure_crate_model_message_request( input: &crate::model::MessageRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_155) = &input.addresses { + #[allow(unused_mut)] let mut object_156 = object.key("Addresses").start_object(); for (key_157, value_158) in var_155 { { + #[allow(unused_mut)] let mut object_159 = object_156.key(key_157.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_address_configuration( &mut object_159, @@ -646,6 +684,7 @@ pub fn serialize_structure_crate_model_message_request( object_156.finish(); } if let Some(var_160) = &input.context { + #[allow(unused_mut)] let mut object_161 = object.key("Context").start_object(); for (key_162, value_163) in var_160 { { @@ -655,9 +694,11 @@ pub fn serialize_structure_crate_model_message_request( object_161.finish(); } if let Some(var_164) = &input.endpoints { + #[allow(unused_mut)] let mut object_165 = object.key("Endpoints").start_object(); for (key_166, value_167) in var_164 { { + #[allow(unused_mut)] let mut object_168 = object_165.key(key_166.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_send_configuration( &mut object_168, @@ -669,6 +710,7 @@ pub fn serialize_structure_crate_model_message_request( object_165.finish(); } if let Some(var_169) = &input.message_configuration { + #[allow(unused_mut)] let mut object_170 = object.key("MessageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_direct_message_configuration( &mut object_170, @@ -677,6 +719,7 @@ pub fn serialize_structure_crate_model_message_request( object_170.finish(); } if let Some(var_171) = &input.template_configuration { + #[allow(unused_mut)] let mut object_172 = object.key("TemplateConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_template_configuration( &mut object_172, @@ -744,6 +787,7 @@ pub fn serialize_structure_crate_model_send_users_message_request( input: &crate::model::SendUsersMessageRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_182) = &input.context { + #[allow(unused_mut)] let mut object_183 = object.key("Context").start_object(); for (key_184, value_185) in var_182 { { @@ -753,6 +797,7 @@ pub fn serialize_structure_crate_model_send_users_message_request( object_183.finish(); } if let Some(var_186) = &input.message_configuration { + #[allow(unused_mut)] let mut object_187 = object.key("MessageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_direct_message_configuration( &mut object_187, @@ -761,6 +806,7 @@ pub fn serialize_structure_crate_model_send_users_message_request( object_187.finish(); } if let Some(var_188) = &input.template_configuration { + #[allow(unused_mut)] let mut object_189 = object.key("TemplateConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_template_configuration( &mut object_189, @@ -772,9 +818,11 @@ pub fn serialize_structure_crate_model_send_users_message_request( object.key("TraceId").string(var_190.as_str()); } if let Some(var_191) = &input.users { + #[allow(unused_mut)] let mut object_192 = object.key("Users").start_object(); for (key_193, value_194) in var_191 { { + #[allow(unused_mut)] let mut object_195 = object_192.key(key_193.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_send_configuration( &mut object_195, @@ -793,6 +841,7 @@ pub fn serialize_structure_crate_model_tags_model( input: &crate::model::TagsModel, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_196) = &input.tags { + #[allow(unused_mut)] let mut object_197 = object.key("tags").start_object(); for (key_198, value_199) in var_196 { { @@ -957,6 +1006,7 @@ pub fn serialize_structure_crate_model_write_application_settings_request( input: &crate::model::WriteApplicationSettingsRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_230) = &input.campaign_hook { + #[allow(unused_mut)] let mut object_231 = object.key("CampaignHook").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_hook(&mut object_231, var_230)?; object_231.finish(); @@ -972,11 +1022,13 @@ pub fn serialize_structure_crate_model_write_application_settings_request( .boolean(input.event_tagging_enabled); } if let Some(var_232) = &input.limits { + #[allow(unused_mut)] let mut object_233 = object.key("Limits").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_limits(&mut object_233, var_232)?; object_233.finish(); } if let Some(var_234) = &input.quiet_time { + #[allow(unused_mut)] let mut object_235 = object.key("QuietTime").start_object(); crate::json_ser::serialize_structure_crate_model_quiet_time(&mut object_235, var_234)?; object_235.finish(); @@ -1030,6 +1082,7 @@ pub fn serialize_structure_crate_model_endpoint_request( object.key("Address").string(var_242.as_str()); } if let Some(var_243) = &input.attributes { + #[allow(unused_mut)] let mut object_244 = object.key("Attributes").start_object(); for (key_245, value_246) in var_243 { { @@ -1048,6 +1101,7 @@ pub fn serialize_structure_crate_model_endpoint_request( object.key("ChannelType").string(var_249.as_str()); } if let Some(var_250) = &input.demographic { + #[allow(unused_mut)] let mut object_251 = object.key("Demographic").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_demographic( &mut object_251, @@ -1062,6 +1116,7 @@ pub fn serialize_structure_crate_model_endpoint_request( object.key("EndpointStatus").string(var_253.as_str()); } if let Some(var_254) = &input.location { + #[allow(unused_mut)] let mut object_255 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_location( &mut object_255, @@ -1070,6 +1125,7 @@ pub fn serialize_structure_crate_model_endpoint_request( object_255.finish(); } if let Some(var_256) = &input.metrics { + #[allow(unused_mut)] let mut object_257 = object.key("Metrics").start_object(); for (key_258, value_259) in var_256 { { @@ -1088,6 +1144,7 @@ pub fn serialize_structure_crate_model_endpoint_request( object.key("RequestId").string(var_261.as_str()); } if let Some(var_262) = &input.user { + #[allow(unused_mut)] let mut object_263 = object.key("User").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_user(&mut object_263, var_262)?; object_263.finish(); @@ -1103,6 +1160,7 @@ pub fn serialize_structure_crate_model_endpoint_batch_request( let mut array_265 = object.key("Item").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_batch_item( &mut object_267, @@ -1144,6 +1202,7 @@ pub fn serialize_structure_crate_model_update_recommender_configuration_shape( input: &crate::model::UpdateRecommenderConfigurationShape, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_270) = &input.attributes { + #[allow(unused_mut)] let mut object_271 = object.key("Attributes").start_object(); for (key_272, value_273) in var_270 { { @@ -1249,6 +1308,7 @@ pub fn serialize_structure_crate_model_write_treatment_resource( input: &crate::model::WriteTreatmentResource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_287) = &input.custom_delivery_configuration { + #[allow(unused_mut)] let mut object_288 = object.key("CustomDeliveryConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_custom_delivery_configuration( &mut object_288, @@ -1257,6 +1317,7 @@ pub fn serialize_structure_crate_model_write_treatment_resource( object_288.finish(); } if let Some(var_289) = &input.message_configuration { + #[allow(unused_mut)] let mut object_290 = object.key("MessageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_message_configuration( &mut object_290, @@ -1265,6 +1326,7 @@ pub fn serialize_structure_crate_model_write_treatment_resource( object_290.finish(); } if let Some(var_291) = &input.schedule { + #[allow(unused_mut)] let mut object_292 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_schedule(&mut object_292, var_291)?; object_292.finish(); @@ -1276,6 +1338,7 @@ pub fn serialize_structure_crate_model_write_treatment_resource( ); } if let Some(var_293) = &input.template_configuration { + #[allow(unused_mut)] let mut object_294 = object.key("TemplateConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_template_configuration( &mut object_294, @@ -1369,21 +1432,25 @@ pub fn serialize_structure_crate_model_message_configuration( input: &crate::model::MessageConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_304) = &input.adm_message { + #[allow(unused_mut)] let mut object_305 = object.key("ADMMessage").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_305, var_304)?; object_305.finish(); } if let Some(var_306) = &input.apns_message { + #[allow(unused_mut)] let mut object_307 = object.key("APNSMessage").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_307, var_306)?; object_307.finish(); } if let Some(var_308) = &input.baidu_message { + #[allow(unused_mut)] let mut object_309 = object.key("BaiduMessage").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_309, var_308)?; object_309.finish(); } if let Some(var_310) = &input.custom_message { + #[allow(unused_mut)] let mut object_311 = object.key("CustomMessage").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_custom_message( &mut object_311, @@ -1392,11 +1459,13 @@ pub fn serialize_structure_crate_model_message_configuration( object_311.finish(); } if let Some(var_312) = &input.default_message { + #[allow(unused_mut)] let mut object_313 = object.key("DefaultMessage").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_313, var_312)?; object_313.finish(); } if let Some(var_314) = &input.email_message { + #[allow(unused_mut)] let mut object_315 = object.key("EmailMessage").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_email_message( &mut object_315, @@ -1405,11 +1474,13 @@ pub fn serialize_structure_crate_model_message_configuration( object_315.finish(); } if let Some(var_316) = &input.gcm_message { + #[allow(unused_mut)] let mut object_317 = object.key("GCMMessage").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_317, var_316)?; object_317.finish(); } if let Some(var_318) = &input.sms_message { + #[allow(unused_mut)] let mut object_319 = object.key("SMSMessage").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_sms_message( &mut object_319, @@ -1418,6 +1489,7 @@ pub fn serialize_structure_crate_model_message_configuration( object_319.finish(); } if let Some(var_320) = &input.in_app_message { + #[allow(unused_mut)] let mut object_321 = object.key("InAppMessage").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_in_app_message( &mut object_321, @@ -1436,6 +1508,7 @@ pub fn serialize_structure_crate_model_schedule( object.key("EndTime").string(var_322.as_str()); } if let Some(var_323) = &input.event_filter { + #[allow(unused_mut)] let mut object_324 = object.key("EventFilter").start_object(); crate::json_ser::serialize_structure_crate_model_campaign_event_filter( &mut object_324, @@ -1450,6 +1523,7 @@ pub fn serialize_structure_crate_model_schedule( object.key("IsLocalTime").boolean(input.is_local_time); } if let Some(var_326) = &input.quiet_time { + #[allow(unused_mut)] let mut object_327 = object.key("QuietTime").start_object(); crate::json_ser::serialize_structure_crate_model_quiet_time(&mut object_327, var_326)?; object_327.finish(); @@ -1468,21 +1542,25 @@ pub fn serialize_structure_crate_model_template_configuration( input: &crate::model::TemplateConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_330) = &input.email_template { + #[allow(unused_mut)] let mut object_331 = object.key("EmailTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_331, var_330)?; object_331.finish(); } if let Some(var_332) = &input.push_template { + #[allow(unused_mut)] let mut object_333 = object.key("PushTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_333, var_332)?; object_333.finish(); } if let Some(var_334) = &input.sms_template { + #[allow(unused_mut)] let mut object_335 = object.key("SMSTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_335, var_334)?; object_335.finish(); } if let Some(var_336) = &input.voice_template { + #[allow(unused_mut)] let mut object_337 = object.key("VoiceTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_337, var_336)?; object_337.finish(); @@ -1498,6 +1576,7 @@ pub fn serialize_structure_crate_model_in_app_message_content( object.key("BackgroundColor").string(var_338.as_str()); } if let Some(var_339) = &input.body_config { + #[allow(unused_mut)] let mut object_340 = object.key("BodyConfig").start_object(); crate::json_ser::serialize_structure_crate_model_in_app_message_body_config( &mut object_340, @@ -1506,6 +1585,7 @@ pub fn serialize_structure_crate_model_in_app_message_content( object_340.finish(); } if let Some(var_341) = &input.header_config { + #[allow(unused_mut)] let mut object_342 = object.key("HeaderConfig").start_object(); crate::json_ser::serialize_structure_crate_model_in_app_message_header_config( &mut object_342, @@ -1517,6 +1597,7 @@ pub fn serialize_structure_crate_model_in_app_message_content( object.key("ImageUrl").string(var_343.as_str()); } if let Some(var_344) = &input.primary_btn { + #[allow(unused_mut)] let mut object_345 = object.key("PrimaryBtn").start_object(); crate::json_ser::serialize_structure_crate_model_in_app_message_button( &mut object_345, @@ -1525,6 +1606,7 @@ pub fn serialize_structure_crate_model_in_app_message_content( object_345.finish(); } if let Some(var_346) = &input.secondary_btn { + #[allow(unused_mut)] let mut object_347 = object.key("SecondaryBtn").start_object(); crate::json_ser::serialize_structure_crate_model_in_app_message_button( &mut object_347, @@ -1540,6 +1622,7 @@ pub fn serialize_structure_crate_model_activity( input: &crate::model::Activity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_348) = &input.custom { + #[allow(unused_mut)] let mut object_349 = object.key("CUSTOM").start_object(); crate::json_ser::serialize_structure_crate_model_custom_message_activity( &mut object_349, @@ -1548,6 +1631,7 @@ pub fn serialize_structure_crate_model_activity( object_349.finish(); } if let Some(var_350) = &input.conditional_split { + #[allow(unused_mut)] let mut object_351 = object.key("ConditionalSplit").start_object(); crate::json_ser::serialize_structure_crate_model_conditional_split_activity( &mut object_351, @@ -1559,6 +1643,7 @@ pub fn serialize_structure_crate_model_activity( object.key("Description").string(var_352.as_str()); } if let Some(var_353) = &input.email { + #[allow(unused_mut)] let mut object_354 = object.key("EMAIL").start_object(); crate::json_ser::serialize_structure_crate_model_email_message_activity( &mut object_354, @@ -1567,6 +1652,7 @@ pub fn serialize_structure_crate_model_activity( object_354.finish(); } if let Some(var_355) = &input.holdout { + #[allow(unused_mut)] let mut object_356 = object.key("Holdout").start_object(); crate::json_ser::serialize_structure_crate_model_holdout_activity( &mut object_356, @@ -1575,6 +1661,7 @@ pub fn serialize_structure_crate_model_activity( object_356.finish(); } if let Some(var_357) = &input.multi_condition { + #[allow(unused_mut)] let mut object_358 = object.key("MultiCondition").start_object(); crate::json_ser::serialize_structure_crate_model_multi_conditional_split_activity( &mut object_358, @@ -1583,6 +1670,7 @@ pub fn serialize_structure_crate_model_activity( object_358.finish(); } if let Some(var_359) = &input.push { + #[allow(unused_mut)] let mut object_360 = object.key("PUSH").start_object(); crate::json_ser::serialize_structure_crate_model_push_message_activity( &mut object_360, @@ -1591,6 +1679,7 @@ pub fn serialize_structure_crate_model_activity( object_360.finish(); } if let Some(var_361) = &input.random_split { + #[allow(unused_mut)] let mut object_362 = object.key("RandomSplit").start_object(); crate::json_ser::serialize_structure_crate_model_random_split_activity( &mut object_362, @@ -1599,6 +1688,7 @@ pub fn serialize_structure_crate_model_activity( object_362.finish(); } if let Some(var_363) = &input.sms { + #[allow(unused_mut)] let mut object_364 = object.key("SMS").start_object(); crate::json_ser::serialize_structure_crate_model_sms_message_activity( &mut object_364, @@ -1607,11 +1697,13 @@ pub fn serialize_structure_crate_model_activity( object_364.finish(); } if let Some(var_365) = &input.wait { + #[allow(unused_mut)] let mut object_366 = object.key("Wait").start_object(); crate::json_ser::serialize_structure_crate_model_wait_activity(&mut object_366, var_365)?; object_366.finish(); } if let Some(var_367) = &input.contact_center { + #[allow(unused_mut)] let mut object_368 = object.key("ContactCenter").start_object(); crate::json_ser::serialize_structure_crate_model_contact_center_activity( &mut object_368, @@ -1693,6 +1785,7 @@ pub fn serialize_structure_crate_model_start_condition( object.key("Description").string(var_375.as_str()); } if let Some(var_376) = &input.event_start_condition { + #[allow(unused_mut)] let mut object_377 = object.key("EventStartCondition").start_object(); crate::json_ser::serialize_structure_crate_model_event_start_condition( &mut object_377, @@ -1701,6 +1794,7 @@ pub fn serialize_structure_crate_model_start_condition( object_377.finish(); } if let Some(var_378) = &input.segment_start_condition { + #[allow(unused_mut)] let mut object_379 = object.key("SegmentStartCondition").start_object(); crate::json_ser::serialize_structure_crate_model_segment_condition( &mut object_379, @@ -1731,12 +1825,14 @@ pub fn serialize_structure_crate_model_open_hours( input: &crate::model::OpenHours, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_382) = &input.email { + #[allow(unused_mut)] let mut object_383 = object.key("EMAIL").start_object(); for (key_384, value_385) in var_382 { { let mut array_386 = object_383.key(key_384.as_str()).start_array(); for item_387 in value_385 { { + #[allow(unused_mut)] let mut object_388 = array_386.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_hours_rule( &mut object_388, @@ -1751,12 +1847,14 @@ pub fn serialize_structure_crate_model_open_hours( object_383.finish(); } if let Some(var_389) = &input.sms { + #[allow(unused_mut)] let mut object_390 = object.key("SMS").start_object(); for (key_391, value_392) in var_389 { { let mut array_393 = object_390.key(key_391.as_str()).start_array(); for item_394 in value_392 { { + #[allow(unused_mut)] let mut object_395 = array_393.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_hours_rule( &mut object_395, @@ -1771,12 +1869,14 @@ pub fn serialize_structure_crate_model_open_hours( object_390.finish(); } if let Some(var_396) = &input.push { + #[allow(unused_mut)] let mut object_397 = object.key("PUSH").start_object(); for (key_398, value_399) in var_396 { { let mut array_400 = object_397.key(key_398.as_str()).start_array(); for item_401 in value_399 { { + #[allow(unused_mut)] let mut object_402 = array_400.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_hours_rule( &mut object_402, @@ -1791,12 +1891,14 @@ pub fn serialize_structure_crate_model_open_hours( object_397.finish(); } if let Some(var_403) = &input.voice { + #[allow(unused_mut)] let mut object_404 = object.key("VOICE").start_object(); for (key_405, value_406) in var_403 { { let mut array_407 = object_404.key(key_405.as_str()).start_array(); for item_408 in value_406 { { + #[allow(unused_mut)] let mut object_409 = array_407.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_hours_rule( &mut object_409, @@ -1811,12 +1913,14 @@ pub fn serialize_structure_crate_model_open_hours( object_404.finish(); } if let Some(var_410) = &input.custom { + #[allow(unused_mut)] let mut object_411 = object.key("CUSTOM").start_object(); for (key_412, value_413) in var_410 { { let mut array_414 = object_411.key(key_412.as_str()).start_array(); for item_415 in value_413 { { + #[allow(unused_mut)] let mut object_416 = array_414.value().start_object(); crate::json_ser::serialize_structure_crate_model_open_hours_rule( &mut object_416, @@ -1841,6 +1945,7 @@ pub fn serialize_structure_crate_model_closed_days( let mut array_418 = object.key("EMAIL").start_array(); for item_419 in var_417 { { + #[allow(unused_mut)] let mut object_420 = array_418.value().start_object(); crate::json_ser::serialize_structure_crate_model_closed_days_rule( &mut object_420, @@ -1855,6 +1960,7 @@ pub fn serialize_structure_crate_model_closed_days( let mut array_422 = object.key("SMS").start_array(); for item_423 in var_421 { { + #[allow(unused_mut)] let mut object_424 = array_422.value().start_object(); crate::json_ser::serialize_structure_crate_model_closed_days_rule( &mut object_424, @@ -1869,6 +1975,7 @@ pub fn serialize_structure_crate_model_closed_days( let mut array_426 = object.key("PUSH").start_array(); for item_427 in var_425 { { + #[allow(unused_mut)] let mut object_428 = array_426.value().start_object(); crate::json_ser::serialize_structure_crate_model_closed_days_rule( &mut object_428, @@ -1883,6 +1990,7 @@ pub fn serialize_structure_crate_model_closed_days( let mut array_430 = object.key("VOICE").start_array(); for item_431 in var_429 { { + #[allow(unused_mut)] let mut object_432 = array_430.value().start_object(); crate::json_ser::serialize_structure_crate_model_closed_days_rule( &mut object_432, @@ -1897,6 +2005,7 @@ pub fn serialize_structure_crate_model_closed_days( let mut array_434 = object.key("CUSTOM").start_array(); for item_435 in var_433 { { + #[allow(unused_mut)] let mut object_436 = array_434.value().start_object(); crate::json_ser::serialize_structure_crate_model_closed_days_rule( &mut object_436, @@ -1999,9 +2108,11 @@ pub fn serialize_structure_crate_model_segment_dimensions( input: &crate::model::SegmentDimensions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_458) = &input.attributes { + #[allow(unused_mut)] let mut object_459 = object.key("Attributes").start_object(); for (key_460, value_461) in var_458 { { + #[allow(unused_mut)] let mut object_462 = object_459.key(key_460.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_attribute_dimension( &mut object_462, @@ -2013,6 +2124,7 @@ pub fn serialize_structure_crate_model_segment_dimensions( object_459.finish(); } if let Some(var_463) = &input.behavior { + #[allow(unused_mut)] let mut object_464 = object.key("Behavior").start_object(); crate::json_ser::serialize_structure_crate_model_segment_behaviors( &mut object_464, @@ -2021,6 +2133,7 @@ pub fn serialize_structure_crate_model_segment_dimensions( object_464.finish(); } if let Some(var_465) = &input.demographic { + #[allow(unused_mut)] let mut object_466 = object.key("Demographic").start_object(); crate::json_ser::serialize_structure_crate_model_segment_demographics( &mut object_466, @@ -2029,6 +2142,7 @@ pub fn serialize_structure_crate_model_segment_dimensions( object_466.finish(); } if let Some(var_467) = &input.location { + #[allow(unused_mut)] let mut object_468 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_segment_location( &mut object_468, @@ -2037,9 +2151,11 @@ pub fn serialize_structure_crate_model_segment_dimensions( object_468.finish(); } if let Some(var_469) = &input.metrics { + #[allow(unused_mut)] let mut object_470 = object.key("Metrics").start_object(); for (key_471, value_472) in var_469 { { + #[allow(unused_mut)] let mut object_473 = object_470.key(key_471.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_473, @@ -2051,9 +2167,11 @@ pub fn serialize_structure_crate_model_segment_dimensions( object_470.finish(); } if let Some(var_474) = &input.user_attributes { + #[allow(unused_mut)] let mut object_475 = object.key("UserAttributes").start_object(); for (key_476, value_477) in var_474 { { + #[allow(unused_mut)] let mut object_478 = object_475.key(key_476.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_attribute_dimension( &mut object_478, @@ -2075,6 +2193,7 @@ pub fn serialize_structure_crate_model_segment_group_list( let mut array_480 = object.key("Groups").start_array(); for item_481 in var_479 { { + #[allow(unused_mut)] let mut object_482 = array_480.value().start_object(); crate::json_ser::serialize_structure_crate_model_segment_group( &mut object_482, @@ -2096,14 +2215,17 @@ pub fn serialize_structure_crate_model_events_batch( input: &crate::model::EventsBatch, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_484) = &input.endpoint { + #[allow(unused_mut)] let mut object_485 = object.key("Endpoint").start_object(); crate::json_ser::serialize_structure_crate_model_public_endpoint(&mut object_485, var_484)?; object_485.finish(); } if let Some(var_486) = &input.events { + #[allow(unused_mut)] let mut object_487 = object.key("Events").start_object(); for (key_488, value_489) in var_486 { { + #[allow(unused_mut)] let mut object_490 = object_487.key(key_488.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_event(&mut object_490, value_489)?; object_490.finish(); @@ -2125,6 +2247,7 @@ pub fn serialize_structure_crate_model_address_configuration( object.key("ChannelType").string(var_492.as_str()); } if let Some(var_493) = &input.context { + #[allow(unused_mut)] let mut object_494 = object.key("Context").start_object(); for (key_495, value_496) in var_493 { { @@ -2137,6 +2260,7 @@ pub fn serialize_structure_crate_model_address_configuration( object.key("RawContent").string(var_497.as_str()); } if let Some(var_498) = &input.substitutions { + #[allow(unused_mut)] let mut object_499 = object.key("Substitutions").start_object(); for (key_500, value_501) in var_498 { { @@ -2165,6 +2289,7 @@ pub fn serialize_structure_crate_model_endpoint_send_configuration( object.key("BodyOverride").string(var_505.as_str()); } if let Some(var_506) = &input.context { + #[allow(unused_mut)] let mut object_507 = object.key("Context").start_object(); for (key_508, value_509) in var_506 { { @@ -2177,6 +2302,7 @@ pub fn serialize_structure_crate_model_endpoint_send_configuration( object.key("RawContent").string(var_510.as_str()); } if let Some(var_511) = &input.substitutions { + #[allow(unused_mut)] let mut object_512 = object.key("Substitutions").start_object(); for (key_513, value_514) in var_511 { { @@ -2202,26 +2328,31 @@ pub fn serialize_structure_crate_model_direct_message_configuration( input: &crate::model::DirectMessageConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_518) = &input.adm_message { + #[allow(unused_mut)] let mut object_519 = object.key("ADMMessage").start_object(); crate::json_ser::serialize_structure_crate_model_adm_message(&mut object_519, var_518)?; object_519.finish(); } if let Some(var_520) = &input.apns_message { + #[allow(unused_mut)] let mut object_521 = object.key("APNSMessage").start_object(); crate::json_ser::serialize_structure_crate_model_apns_message(&mut object_521, var_520)?; object_521.finish(); } if let Some(var_522) = &input.baidu_message { + #[allow(unused_mut)] let mut object_523 = object.key("BaiduMessage").start_object(); crate::json_ser::serialize_structure_crate_model_baidu_message(&mut object_523, var_522)?; object_523.finish(); } if let Some(var_524) = &input.default_message { + #[allow(unused_mut)] let mut object_525 = object.key("DefaultMessage").start_object(); crate::json_ser::serialize_structure_crate_model_default_message(&mut object_525, var_524)?; object_525.finish(); } if let Some(var_526) = &input.default_push_notification_message { + #[allow(unused_mut)] let mut object_527 = object.key("DefaultPushNotificationMessage").start_object(); crate::json_ser::serialize_structure_crate_model_default_push_notification_message( &mut object_527, @@ -2230,21 +2361,25 @@ pub fn serialize_structure_crate_model_direct_message_configuration( object_527.finish(); } if let Some(var_528) = &input.email_message { + #[allow(unused_mut)] let mut object_529 = object.key("EmailMessage").start_object(); crate::json_ser::serialize_structure_crate_model_email_message(&mut object_529, var_528)?; object_529.finish(); } if let Some(var_530) = &input.gcm_message { + #[allow(unused_mut)] let mut object_531 = object.key("GCMMessage").start_object(); crate::json_ser::serialize_structure_crate_model_gcm_message(&mut object_531, var_530)?; object_531.finish(); } if let Some(var_532) = &input.sms_message { + #[allow(unused_mut)] let mut object_533 = object.key("SMSMessage").start_object(); crate::json_ser::serialize_structure_crate_model_sms_message(&mut object_533, var_532)?; object_533.finish(); } if let Some(var_534) = &input.voice_message { + #[allow(unused_mut)] let mut object_535 = object.key("VoiceMessage").start_object(); crate::json_ser::serialize_structure_crate_model_voice_message(&mut object_535, var_534)?; object_535.finish(); @@ -2319,6 +2454,7 @@ pub fn serialize_structure_crate_model_endpoint_user( input: &crate::model::EndpointUser, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_548) = &input.user_attributes { + #[allow(unused_mut)] let mut object_549 = object.key("UserAttributes").start_object(); for (key_550, value_551) in var_548 { { @@ -2347,6 +2483,7 @@ pub fn serialize_structure_crate_model_endpoint_batch_item( object.key("Address").string(var_555.as_str()); } if let Some(var_556) = &input.attributes { + #[allow(unused_mut)] let mut object_557 = object.key("Attributes").start_object(); for (key_558, value_559) in var_556 { { @@ -2365,6 +2502,7 @@ pub fn serialize_structure_crate_model_endpoint_batch_item( object.key("ChannelType").string(var_562.as_str()); } if let Some(var_563) = &input.demographic { + #[allow(unused_mut)] let mut object_564 = object.key("Demographic").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_demographic( &mut object_564, @@ -2382,6 +2520,7 @@ pub fn serialize_structure_crate_model_endpoint_batch_item( object.key("Id").string(var_567.as_str()); } if let Some(var_568) = &input.location { + #[allow(unused_mut)] let mut object_569 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_location( &mut object_569, @@ -2390,6 +2529,7 @@ pub fn serialize_structure_crate_model_endpoint_batch_item( object_569.finish(); } if let Some(var_570) = &input.metrics { + #[allow(unused_mut)] let mut object_571 = object.key("Metrics").start_object(); for (key_572, value_573) in var_570 { { @@ -2408,6 +2548,7 @@ pub fn serialize_structure_crate_model_endpoint_batch_item( object.key("RequestId").string(var_575.as_str()); } if let Some(var_576) = &input.user { + #[allow(unused_mut)] let mut object_577 = object.key("User").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_user(&mut object_577, var_576)?; object_577.finish(); @@ -2526,6 +2667,7 @@ pub fn serialize_structure_crate_model_campaign_in_app_message( let mut array_601 = object.key("Content").start_array(); for item_602 in var_600 { { + #[allow(unused_mut)] let mut object_603 = array_601.value().start_object(); crate::json_ser::serialize_structure_crate_model_in_app_message_content( &mut object_603, @@ -2537,6 +2679,7 @@ pub fn serialize_structure_crate_model_campaign_in_app_message( array_601.finish(); } if let Some(var_604) = &input.custom_config { + #[allow(unused_mut)] let mut object_605 = object.key("CustomConfig").start_object(); for (key_606, value_607) in var_604 { { @@ -2556,6 +2699,7 @@ pub fn serialize_structure_crate_model_campaign_event_filter( input: &crate::model::CampaignEventFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_609) = &input.dimensions { + #[allow(unused_mut)] let mut object_610 = object.key("Dimensions").start_object(); crate::json_ser::serialize_structure_crate_model_event_dimensions( &mut object_610, @@ -2619,6 +2763,7 @@ pub fn serialize_structure_crate_model_in_app_message_button( input: &crate::model::InAppMessageButton, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_620) = &input.android { + #[allow(unused_mut)] let mut object_621 = object.key("Android").start_object(); crate::json_ser::serialize_structure_crate_model_override_button_configuration( &mut object_621, @@ -2627,6 +2772,7 @@ pub fn serialize_structure_crate_model_in_app_message_button( object_621.finish(); } if let Some(var_622) = &input.default_config { + #[allow(unused_mut)] let mut object_623 = object.key("DefaultConfig").start_object(); crate::json_ser::serialize_structure_crate_model_default_button_configuration( &mut object_623, @@ -2635,6 +2781,7 @@ pub fn serialize_structure_crate_model_in_app_message_button( object_623.finish(); } if let Some(var_624) = &input.ios { + #[allow(unused_mut)] let mut object_625 = object.key("IOS").start_object(); crate::json_ser::serialize_structure_crate_model_override_button_configuration( &mut object_625, @@ -2643,6 +2790,7 @@ pub fn serialize_structure_crate_model_in_app_message_button( object_625.finish(); } if let Some(var_626) = &input.web { + #[allow(unused_mut)] let mut object_627 = object.key("Web").start_object(); crate::json_ser::serialize_structure_crate_model_override_button_configuration( &mut object_627, @@ -2670,6 +2818,7 @@ pub fn serialize_structure_crate_model_custom_message_activity( array_630.finish(); } if let Some(var_632) = &input.message_config { + #[allow(unused_mut)] let mut object_633 = object.key("MessageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_journey_custom_message( &mut object_633, @@ -2694,11 +2843,13 @@ pub fn serialize_structure_crate_model_conditional_split_activity( input: &crate::model::ConditionalSplitActivity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_637) = &input.condition { + #[allow(unused_mut)] let mut object_638 = object.key("Condition").start_object(); crate::json_ser::serialize_structure_crate_model_condition(&mut object_638, var_637)?; object_638.finish(); } if let Some(var_639) = &input.evaluation_wait_time { + #[allow(unused_mut)] let mut object_640 = object.key("EvaluationWaitTime").start_object(); crate::json_ser::serialize_structure_crate_model_wait_time(&mut object_640, var_639)?; object_640.finish(); @@ -2717,6 +2868,7 @@ pub fn serialize_structure_crate_model_email_message_activity( input: &crate::model::EmailMessageActivity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_643) = &input.message_config { + #[allow(unused_mut)] let mut object_644 = object.key("MessageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_journey_email_message( &mut object_644, @@ -2760,6 +2912,7 @@ pub fn serialize_structure_crate_model_multi_conditional_split_activity( let mut array_650 = object.key("Branches").start_array(); for item_651 in var_649 { { + #[allow(unused_mut)] let mut object_652 = array_650.value().start_object(); crate::json_ser::serialize_structure_crate_model_multi_conditional_branch( &mut object_652, @@ -2774,6 +2927,7 @@ pub fn serialize_structure_crate_model_multi_conditional_split_activity( object.key("DefaultActivity").string(var_653.as_str()); } if let Some(var_654) = &input.evaluation_wait_time { + #[allow(unused_mut)] let mut object_655 = object.key("EvaluationWaitTime").start_object(); crate::json_ser::serialize_structure_crate_model_wait_time(&mut object_655, var_654)?; object_655.finish(); @@ -2786,6 +2940,7 @@ pub fn serialize_structure_crate_model_push_message_activity( input: &crate::model::PushMessageActivity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_656) = &input.message_config { + #[allow(unused_mut)] let mut object_657 = object.key("MessageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_journey_push_message( &mut object_657, @@ -2813,6 +2968,7 @@ pub fn serialize_structure_crate_model_random_split_activity( let mut array_662 = object.key("Branches").start_array(); for item_663 in var_661 { { + #[allow(unused_mut)] let mut object_664 = array_662.value().start_object(); crate::json_ser::serialize_structure_crate_model_random_split_entry( &mut object_664, @@ -2831,6 +2987,7 @@ pub fn serialize_structure_crate_model_sms_message_activity( input: &crate::model::SmsMessageActivity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_665) = &input.message_config { + #[allow(unused_mut)] let mut object_666 = object.key("MessageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_journey_sms_message( &mut object_666, @@ -2858,6 +3015,7 @@ pub fn serialize_structure_crate_model_wait_activity( object.key("NextActivity").string(var_670.as_str()); } if let Some(var_671) = &input.wait_time { + #[allow(unused_mut)] let mut object_672 = object.key("WaitTime").start_object(); crate::json_ser::serialize_structure_crate_model_wait_time(&mut object_672, var_671)?; object_672.finish(); @@ -2880,6 +3038,7 @@ pub fn serialize_structure_crate_model_event_start_condition( input: &crate::model::EventStartCondition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_674) = &input.event_filter { + #[allow(unused_mut)] let mut object_675 = object.key("EventFilter").start_object(); crate::json_ser::serialize_structure_crate_model_event_filter(&mut object_675, var_674)?; object_675.finish(); @@ -2953,6 +3112,7 @@ pub fn serialize_structure_crate_model_segment_behaviors( input: &crate::model::SegmentBehaviors, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_687) = &input.recency { + #[allow(unused_mut)] let mut object_688 = object.key("Recency").start_object(); crate::json_ser::serialize_structure_crate_model_recency_dimension( &mut object_688, @@ -2968,31 +3128,37 @@ pub fn serialize_structure_crate_model_segment_demographics( input: &crate::model::SegmentDemographics, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_689) = &input.app_version { + #[allow(unused_mut)] let mut object_690 = object.key("AppVersion").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_690, var_689)?; object_690.finish(); } if let Some(var_691) = &input.channel { + #[allow(unused_mut)] let mut object_692 = object.key("Channel").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_692, var_691)?; object_692.finish(); } if let Some(var_693) = &input.device_type { + #[allow(unused_mut)] let mut object_694 = object.key("DeviceType").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_694, var_693)?; object_694.finish(); } if let Some(var_695) = &input.make { + #[allow(unused_mut)] let mut object_696 = object.key("Make").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_696, var_695)?; object_696.finish(); } if let Some(var_697) = &input.model { + #[allow(unused_mut)] let mut object_698 = object.key("Model").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_698, var_697)?; object_698.finish(); } if let Some(var_699) = &input.platform { + #[allow(unused_mut)] let mut object_700 = object.key("Platform").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_700, var_699)?; object_700.finish(); @@ -3005,11 +3171,13 @@ pub fn serialize_structure_crate_model_segment_location( input: &crate::model::SegmentLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_701) = &input.country { + #[allow(unused_mut)] let mut object_702 = object.key("Country").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_702, var_701)?; object_702.finish(); } if let Some(var_703) = &input.gps_point { + #[allow(unused_mut)] let mut object_704 = object.key("GPSPoint").start_object(); crate::json_ser::serialize_structure_crate_model_gps_point_dimension( &mut object_704, @@ -3044,6 +3212,7 @@ pub fn serialize_structure_crate_model_segment_group( let mut array_707 = object.key("Dimensions").start_array(); for item_708 in var_706 { { + #[allow(unused_mut)] let mut object_709 = array_707.value().start_object(); crate::json_ser::serialize_structure_crate_model_segment_dimensions( &mut object_709, @@ -3058,6 +3227,7 @@ pub fn serialize_structure_crate_model_segment_group( let mut array_711 = object.key("SourceSegments").start_array(); for item_712 in var_710 { { + #[allow(unused_mut)] let mut object_713 = array_711.value().start_object(); crate::json_ser::serialize_structure_crate_model_segment_reference( &mut object_713, @@ -3085,6 +3255,7 @@ pub fn serialize_structure_crate_model_public_endpoint( object.key("Address").string(var_716.as_str()); } if let Some(var_717) = &input.attributes { + #[allow(unused_mut)] let mut object_718 = object.key("Attributes").start_object(); for (key_719, value_720) in var_717 { { @@ -3103,6 +3274,7 @@ pub fn serialize_structure_crate_model_public_endpoint( object.key("ChannelType").string(var_723.as_str()); } if let Some(var_724) = &input.demographic { + #[allow(unused_mut)] let mut object_725 = object.key("Demographic").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_demographic( &mut object_725, @@ -3117,6 +3289,7 @@ pub fn serialize_structure_crate_model_public_endpoint( object.key("EndpointStatus").string(var_727.as_str()); } if let Some(var_728) = &input.location { + #[allow(unused_mut)] let mut object_729 = object.key("Location").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_location( &mut object_729, @@ -3125,6 +3298,7 @@ pub fn serialize_structure_crate_model_public_endpoint( object_729.finish(); } if let Some(var_730) = &input.metrics { + #[allow(unused_mut)] let mut object_731 = object.key("Metrics").start_object(); for (key_732, value_733) in var_730 { { @@ -3143,6 +3317,7 @@ pub fn serialize_structure_crate_model_public_endpoint( object.key("RequestId").string(var_735.as_str()); } if let Some(var_736) = &input.user { + #[allow(unused_mut)] let mut object_737 = object.key("User").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_user(&mut object_737, var_736)?; object_737.finish(); @@ -3164,6 +3339,7 @@ pub fn serialize_structure_crate_model_event( object.key("AppVersionCode").string(var_740.as_str()); } if let Some(var_741) = &input.attributes { + #[allow(unused_mut)] let mut object_742 = object.key("Attributes").start_object(); for (key_743, value_744) in var_741 { { @@ -3179,6 +3355,7 @@ pub fn serialize_structure_crate_model_event( object.key("EventType").string(var_746.as_str()); } if let Some(var_747) = &input.metrics { + #[allow(unused_mut)] let mut object_748 = object.key("Metrics").start_object(); for (key_749, value_750) in var_747 { { @@ -3194,6 +3371,7 @@ pub fn serialize_structure_crate_model_event( object.key("SdkName").string(var_751.as_str()); } if let Some(var_752) = &input.session { + #[allow(unused_mut)] let mut object_753 = object.key("Session").start_object(); crate::json_ser::serialize_structure_crate_model_session(&mut object_753, var_752)?; object_753.finish(); @@ -3218,6 +3396,7 @@ pub fn serialize_structure_crate_model_adm_message( object.key("ConsolidationKey").string(var_757.as_str()); } if let Some(var_758) = &input.data { + #[allow(unused_mut)] let mut object_759 = object.key("Data").start_object(); for (key_760, value_761) in var_758 { { @@ -3254,6 +3433,7 @@ pub fn serialize_structure_crate_model_adm_message( object.key("Sound").string(var_769.as_str()); } if let Some(var_770) = &input.substitutions { + #[allow(unused_mut)] let mut object_771 = object.key("Substitutions").start_object(); for (key_772, value_773) in var_770 { { @@ -3303,6 +3483,7 @@ pub fn serialize_structure_crate_model_apns_message( object.key("CollapseId").string(var_782.as_str()); } if let Some(var_783) = &input.data { + #[allow(unused_mut)] let mut object_784 = object.key("Data").start_object(); for (key_785, value_786) in var_783 { { @@ -3332,6 +3513,7 @@ pub fn serialize_structure_crate_model_apns_message( object.key("Sound").string(var_791.as_str()); } if let Some(var_792) = &input.substitutions { + #[allow(unused_mut)] let mut object_793 = object.key("Substitutions").start_object(); for (key_794, value_795) in var_792 { { @@ -3375,6 +3557,7 @@ pub fn serialize_structure_crate_model_baidu_message( object.key("Body").string(var_802.as_str()); } if let Some(var_803) = &input.data { + #[allow(unused_mut)] let mut object_804 = object.key("Data").start_object(); for (key_805, value_806) in var_803 { { @@ -3405,6 +3588,7 @@ pub fn serialize_structure_crate_model_baidu_message( object.key("Sound").string(var_812.as_str()); } if let Some(var_813) = &input.substitutions { + #[allow(unused_mut)] let mut object_814 = object.key("Substitutions").start_object(); for (key_815, value_816) in var_813 { { @@ -3442,6 +3626,7 @@ pub fn serialize_structure_crate_model_default_message( object.key("Body").string(var_821.as_str()); } if let Some(var_822) = &input.substitutions { + #[allow(unused_mut)] let mut object_823 = object.key("Substitutions").start_object(); for (key_824, value_825) in var_822 { { @@ -3470,6 +3655,7 @@ pub fn serialize_structure_crate_model_default_push_notification_message( object.key("Body").string(var_829.as_str()); } if let Some(var_830) = &input.data { + #[allow(unused_mut)] let mut object_831 = object.key("Data").start_object(); for (key_832, value_833) in var_830 { { @@ -3482,6 +3668,7 @@ pub fn serialize_structure_crate_model_default_push_notification_message( object.key("SilentPush").boolean(input.silent_push); } if let Some(var_834) = &input.substitutions { + #[allow(unused_mut)] let mut object_835 = object.key("Substitutions").start_object(); for (key_836, value_837) in var_834 { { @@ -3521,6 +3708,7 @@ pub fn serialize_structure_crate_model_email_message( object.key("FromAddress").string(var_844.as_str()); } if let Some(var_845) = &input.raw_email { + #[allow(unused_mut)] let mut object_846 = object.key("RawEmail").start_object(); crate::json_ser::serialize_structure_crate_model_raw_email(&mut object_846, var_845)?; object_846.finish(); @@ -3535,11 +3723,13 @@ pub fn serialize_structure_crate_model_email_message( array_848.finish(); } if let Some(var_850) = &input.simple_email { + #[allow(unused_mut)] let mut object_851 = object.key("SimpleEmail").start_object(); crate::json_ser::serialize_structure_crate_model_simple_email(&mut object_851, var_850)?; object_851.finish(); } if let Some(var_852) = &input.substitutions { + #[allow(unused_mut)] let mut object_853 = object.key("Substitutions").start_object(); for (key_854, value_855) in var_852 { { @@ -3571,6 +3761,7 @@ pub fn serialize_structure_crate_model_gcm_message( object.key("CollapseKey").string(var_860.as_str()); } if let Some(var_861) = &input.data { + #[allow(unused_mut)] let mut object_862 = object.key("Data").start_object(); for (key_863, value_864) in var_861 { { @@ -3607,6 +3798,7 @@ pub fn serialize_structure_crate_model_gcm_message( object.key("Sound").string(var_872.as_str()); } if let Some(var_873) = &input.substitutions { + #[allow(unused_mut)] let mut object_874 = object.key("Substitutions").start_object(); for (key_875, value_876) in var_873 { { @@ -3659,6 +3851,7 @@ pub fn serialize_structure_crate_model_sms_message( object.key("SenderId").string(var_886.as_str()); } if let Some(var_887) = &input.substitutions { + #[allow(unused_mut)] let mut object_888 = object.key("Substitutions").start_object(); for (key_889, value_890) in var_887 { { @@ -3696,6 +3889,7 @@ pub fn serialize_structure_crate_model_voice_message( object.key("OriginationNumber").string(var_897.as_str()); } if let Some(var_898) = &input.substitutions { + #[allow(unused_mut)] let mut object_899 = object.key("Substitutions").start_object(); for (key_900, value_901) in var_898 { { @@ -3721,9 +3915,11 @@ pub fn serialize_structure_crate_model_event_dimensions( input: &crate::model::EventDimensions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_905) = &input.attributes { + #[allow(unused_mut)] let mut object_906 = object.key("Attributes").start_object(); for (key_907, value_908) in var_905 { { + #[allow(unused_mut)] let mut object_909 = object_906.key(key_907.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_attribute_dimension( &mut object_909, @@ -3735,14 +3931,17 @@ pub fn serialize_structure_crate_model_event_dimensions( object_906.finish(); } if let Some(var_910) = &input.event_type { + #[allow(unused_mut)] let mut object_911 = object.key("EventType").start_object(); crate::json_ser::serialize_structure_crate_model_set_dimension(&mut object_911, var_910)?; object_911.finish(); } if let Some(var_912) = &input.metrics { + #[allow(unused_mut)] let mut object_913 = object.key("Metrics").start_object(); for (key_914, value_915) in var_912 { { + #[allow(unused_mut)] let mut object_916 = object_913.key(key_914.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_metric_dimension( &mut object_916, @@ -3815,6 +4014,7 @@ pub fn serialize_structure_crate_model_condition( let mut array_926 = object.key("Conditions").start_array(); for item_927 in var_925 { { + #[allow(unused_mut)] let mut object_928 = array_926.value().start_object(); crate::json_ser::serialize_structure_crate_model_simple_condition( &mut object_928, @@ -3859,6 +4059,7 @@ pub fn serialize_structure_crate_model_multi_conditional_branch( input: &crate::model::MultiConditionalBranch, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_933) = &input.condition { + #[allow(unused_mut)] let mut object_934 = object.key("Condition").start_object(); crate::json_ser::serialize_structure_crate_model_simple_condition( &mut object_934, @@ -3925,6 +4126,7 @@ pub fn serialize_structure_crate_model_event_filter( input: &crate::model::EventFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_943) = &input.dimensions { + #[allow(unused_mut)] let mut object_944 = object.key("Dimensions").start_object(); crate::json_ser::serialize_structure_crate_model_event_dimensions( &mut object_944, @@ -3975,6 +4177,7 @@ pub fn serialize_structure_crate_model_gps_point_dimension( input: &crate::model::GpsPointDimension, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_952) = &input.coordinates { + #[allow(unused_mut)] let mut object_953 = object.key("Coordinates").start_object(); crate::json_ser::serialize_structure_crate_model_gps_coordinates(&mut object_953, var_952)?; object_953.finish(); @@ -4043,6 +4246,7 @@ pub fn serialize_structure_crate_model_simple_email( input: &crate::model::SimpleEmail, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_959) = &input.html_part { + #[allow(unused_mut)] let mut object_960 = object.key("HtmlPart").start_object(); crate::json_ser::serialize_structure_crate_model_simple_email_part( &mut object_960, @@ -4051,6 +4255,7 @@ pub fn serialize_structure_crate_model_simple_email( object_960.finish(); } if let Some(var_961) = &input.subject { + #[allow(unused_mut)] let mut object_962 = object.key("Subject").start_object(); crate::json_ser::serialize_structure_crate_model_simple_email_part( &mut object_962, @@ -4059,6 +4264,7 @@ pub fn serialize_structure_crate_model_simple_email( object_962.finish(); } if let Some(var_963) = &input.text_part { + #[allow(unused_mut)] let mut object_964 = object.key("TextPart").start_object(); crate::json_ser::serialize_structure_crate_model_simple_email_part( &mut object_964, @@ -4074,11 +4280,13 @@ pub fn serialize_structure_crate_model_simple_condition( input: &crate::model::SimpleCondition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_965) = &input.event_condition { + #[allow(unused_mut)] let mut object_966 = object.key("EventCondition").start_object(); crate::json_ser::serialize_structure_crate_model_event_condition(&mut object_966, var_965)?; object_966.finish(); } if let Some(var_967) = &input.segment_condition { + #[allow(unused_mut)] let mut object_968 = object.key("SegmentCondition").start_object(); crate::json_ser::serialize_structure_crate_model_segment_condition( &mut object_968, @@ -4087,6 +4295,7 @@ pub fn serialize_structure_crate_model_simple_condition( object_968.finish(); } if let Some(var_969) = &input.segment_dimensions { + #[allow(unused_mut)] let mut object_970 = object.key("segmentDimensions").start_object(); crate::json_ser::serialize_structure_crate_model_segment_dimensions( &mut object_970, @@ -4134,6 +4343,7 @@ pub fn serialize_structure_crate_model_event_condition( input: &crate::model::EventCondition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_973) = &input.dimensions { + #[allow(unused_mut)] let mut object_974 = object.key("Dimensions").start_object(); crate::json_ser::serialize_structure_crate_model_event_dimensions( &mut object_974, diff --git a/sdk/pinpointemail/src/json_ser.rs b/sdk/pinpointemail/src/json_ser.rs index 8285a828c956..10444ca853e5 100644 --- a/sdk/pinpointemail/src/json_ser.rs +++ b/sdk/pinpointemail/src/json_ser.rs @@ -7,16 +7,19 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( object.key("ConfigurationSetName").string(var_1.as_str()); } if let Some(var_2) = &input.delivery_options { + #[allow(unused_mut)] let mut object_3 = object.key("DeliveryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_delivery_options(&mut object_3, var_2)?; object_3.finish(); } if let Some(var_4) = &input.reputation_options { + #[allow(unused_mut)] let mut object_5 = object.key("ReputationOptions").start_object(); crate::json_ser::serialize_structure_crate_model_reputation_options(&mut object_5, var_4)?; object_5.finish(); } if let Some(var_6) = &input.sending_options { + #[allow(unused_mut)] let mut object_7 = object.key("SendingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_sending_options(&mut object_7, var_6)?; object_7.finish(); @@ -25,6 +28,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -33,6 +37,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( array_9.finish(); } if let Some(var_12) = &input.tracking_options { + #[allow(unused_mut)] let mut object_13 = object.key("TrackingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_tracking_options(&mut object_13, var_12)?; object_13.finish(); @@ -45,6 +50,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_event_destinatio input: &crate::input::CreateConfigurationSetEventDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_14) = &input.event_destination { + #[allow(unused_mut)] let mut object_15 = object.key("EventDestination").start_object(); crate::json_ser::serialize_structure_crate_model_event_destination_definition( &mut object_15, @@ -69,6 +75,7 @@ pub fn serialize_structure_crate_input_create_dedicated_ip_pool_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -84,6 +91,7 @@ pub fn serialize_structure_crate_input_create_deliverability_test_report_input( input: &crate::input::CreateDeliverabilityTestReportInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.content { + #[allow(unused_mut)] let mut object_23 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_email_content(&mut object_23, var_22)?; object_23.finish(); @@ -98,6 +106,7 @@ pub fn serialize_structure_crate_input_create_deliverability_test_report_input( let mut array_27 = object.key("Tags").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_29, item_28)?; object_29.finish(); @@ -119,6 +128,7 @@ pub fn serialize_structure_crate_input_create_email_identity_input( let mut array_32 = object.key("Tags").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_34, item_33)?; object_34.finish(); @@ -232,6 +242,7 @@ pub fn serialize_structure_crate_input_put_deliverability_dashboard_option_input let mut array_41 = object.key("SubscribedDomains").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_domain_deliverability_tracking_option(&mut object_43, item_42)?; object_43.finish(); @@ -285,11 +296,13 @@ pub fn serialize_structure_crate_input_send_email_input( object.key("ConfigurationSetName").string(var_46.as_str()); } if let Some(var_47) = &input.content { + #[allow(unused_mut)] let mut object_48 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_email_content(&mut object_48, var_47)?; object_48.finish(); } if let Some(var_49) = &input.destination { + #[allow(unused_mut)] let mut object_50 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_destination(&mut object_50, var_49)?; object_50.finish(); @@ -298,6 +311,7 @@ pub fn serialize_structure_crate_input_send_email_input( let mut array_52 = object.key("EmailTags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_tag( &mut object_54, @@ -339,6 +353,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_62 = object.key("Tags").start_array(); for item_63 in var_61 { { + #[allow(unused_mut)] let mut object_64 = array_62.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_64, item_63)?; object_64.finish(); @@ -354,6 +369,7 @@ pub fn serialize_structure_crate_input_update_configuration_set_event_destinatio input: &crate::input::UpdateConfigurationSetEventDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.event_destination { + #[allow(unused_mut)] let mut object_66 = object.key("EventDestination").start_object(); crate::json_ser::serialize_structure_crate_model_event_destination_definition( &mut object_66, @@ -444,6 +460,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( array_74.finish(); } if let Some(var_76) = &input.kinesis_firehose_destination { + #[allow(unused_mut)] let mut object_77 = object.key("KinesisFirehoseDestination").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_destination( &mut object_77, @@ -452,6 +469,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( object_77.finish(); } if let Some(var_78) = &input.cloud_watch_destination { + #[allow(unused_mut)] let mut object_79 = object.key("CloudWatchDestination").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_destination( &mut object_79, @@ -460,11 +478,13 @@ pub fn serialize_structure_crate_model_event_destination_definition( object_79.finish(); } if let Some(var_80) = &input.sns_destination { + #[allow(unused_mut)] let mut object_81 = object.key("SnsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_sns_destination(&mut object_81, var_80)?; object_81.finish(); } if let Some(var_82) = &input.pinpoint_destination { + #[allow(unused_mut)] let mut object_83 = object.key("PinpointDestination").start_object(); crate::json_ser::serialize_structure_crate_model_pinpoint_destination( &mut object_83, @@ -480,16 +500,19 @@ pub fn serialize_structure_crate_model_email_content( input: &crate::model::EmailContent, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_84) = &input.simple { + #[allow(unused_mut)] let mut object_85 = object.key("Simple").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_85, var_84)?; object_85.finish(); } if let Some(var_86) = &input.raw { + #[allow(unused_mut)] let mut object_87 = object.key("Raw").start_object(); crate::json_ser::serialize_structure_crate_model_raw_message(&mut object_87, var_86)?; object_87.finish(); } if let Some(var_88) = &input.template { + #[allow(unused_mut)] let mut object_89 = object.key("Template").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_89, var_88)?; object_89.finish(); @@ -510,6 +533,7 @@ pub fn serialize_structure_crate_model_domain_deliverability_tracking_option( .date_time(var_91, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_92) = &input.inbox_placement_tracking_option { + #[allow(unused_mut)] let mut object_93 = object.key("InboxPlacementTrackingOption").start_object(); crate::json_ser::serialize_structure_crate_model_inbox_placement_tracking_option( &mut object_93, @@ -588,6 +612,7 @@ pub fn serialize_structure_crate_model_cloud_watch_destination( let mut array_108 = object.key("DimensionConfigurations").start_array(); for item_109 in var_107 { { + #[allow(unused_mut)] let mut object_110 = array_108.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_dimension_configuration(&mut object_110, item_109)?; object_110.finish(); @@ -623,11 +648,13 @@ pub fn serialize_structure_crate_model_message( input: &crate::model::Message, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_113) = &input.subject { + #[allow(unused_mut)] let mut object_114 = object.key("Subject").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_114, var_113)?; object_114.finish(); } if let Some(var_115) = &input.body { + #[allow(unused_mut)] let mut object_116 = object.key("Body").start_object(); crate::json_ser::serialize_structure_crate_model_body(&mut object_116, var_115)?; object_116.finish(); @@ -713,11 +740,13 @@ pub fn serialize_structure_crate_model_body( input: &crate::model::Body, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_128) = &input.text { + #[allow(unused_mut)] let mut object_129 = object.key("Text").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_129, var_128)?; object_129.finish(); } if let Some(var_130) = &input.html { + #[allow(unused_mut)] let mut object_131 = object.key("Html").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_131, var_130)?; object_131.finish(); diff --git a/sdk/pinpointsmsvoice/src/json_ser.rs b/sdk/pinpointsmsvoice/src/json_ser.rs index 6997fb918309..991bb2bdf211 100644 --- a/sdk/pinpointsmsvoice/src/json_ser.rs +++ b/sdk/pinpointsmsvoice/src/json_ser.rs @@ -14,6 +14,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_event_destinatio input: &crate::input::CreateConfigurationSetEventDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.event_destination { + #[allow(unused_mut)] let mut object_3 = object.key("EventDestination").start_object(); crate::json_ser::serialize_structure_crate_model_event_destination_definition( &mut object_3, @@ -38,6 +39,7 @@ pub fn serialize_structure_crate_input_send_voice_message_input( object.key("ConfigurationSetName").string(var_6.as_str()); } if let Some(var_7) = &input.content { + #[allow(unused_mut)] let mut object_8 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_voice_message_content( &mut object_8, @@ -59,6 +61,7 @@ pub fn serialize_structure_crate_input_update_configuration_set_event_destinatio input: &crate::input::UpdateConfigurationSetEventDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.event_destination { + #[allow(unused_mut)] let mut object_12 = object.key("EventDestination").start_object(); crate::json_ser::serialize_structure_crate_model_event_destination_definition( &mut object_12, @@ -74,6 +77,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( input: &crate::model::EventDestinationDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_13) = &input.cloud_watch_logs_destination { + #[allow(unused_mut)] let mut object_14 = object.key("CloudWatchLogsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_destination( &mut object_14, @@ -85,6 +89,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( object.key("Enabled").boolean(input.enabled); } if let Some(var_15) = &input.kinesis_firehose_destination { + #[allow(unused_mut)] let mut object_16 = object.key("KinesisFirehoseDestination").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_destination( &mut object_16, @@ -102,6 +107,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( array_18.finish(); } if let Some(var_20) = &input.sns_destination { + #[allow(unused_mut)] let mut object_21 = object.key("SnsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_sns_destination(&mut object_21, var_20)?; object_21.finish(); @@ -114,6 +120,7 @@ pub fn serialize_structure_crate_model_voice_message_content( input: &crate::model::VoiceMessageContent, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_22) = &input.call_instructions_message { + #[allow(unused_mut)] let mut object_23 = object.key("CallInstructionsMessage").start_object(); crate::json_ser::serialize_structure_crate_model_call_instructions_message_type( &mut object_23, @@ -122,6 +129,7 @@ pub fn serialize_structure_crate_model_voice_message_content( object_23.finish(); } if let Some(var_24) = &input.plain_text_message { + #[allow(unused_mut)] let mut object_25 = object.key("PlainTextMessage").start_object(); crate::json_ser::serialize_structure_crate_model_plain_text_message_type( &mut object_25, @@ -130,6 +138,7 @@ pub fn serialize_structure_crate_model_voice_message_content( object_25.finish(); } if let Some(var_26) = &input.ssml_message { + #[allow(unused_mut)] let mut object_27 = object.key("SSMLMessage").start_object(); crate::json_ser::serialize_structure_crate_model_ssml_message_type(&mut object_27, var_26)?; object_27.finish(); diff --git a/sdk/pinpointsmsvoicev2/src/json_ser.rs b/sdk/pinpointsmsvoicev2/src/json_ser.rs index 1c02bfb2eedd..ea3f42b3e1ad 100644 --- a/sdk/pinpointsmsvoicev2/src/json_ser.rs +++ b/sdk/pinpointsmsvoicev2/src/json_ser.rs @@ -29,6 +29,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( let mut array_7 = object.key("Tags").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_9, item_8)?; object_9.finish(); @@ -62,6 +63,7 @@ pub fn serialize_structure_crate_input_create_event_destination_input( array_14.finish(); } if let Some(var_16) = &input.cloud_watch_logs_destination { + #[allow(unused_mut)] let mut object_17 = object.key("CloudWatchLogsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_destination( &mut object_17, @@ -70,6 +72,7 @@ pub fn serialize_structure_crate_input_create_event_destination_input( object_17.finish(); } if let Some(var_18) = &input.kinesis_firehose_destination { + #[allow(unused_mut)] let mut object_19 = object.key("KinesisFirehoseDestination").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_destination( &mut object_19, @@ -78,6 +81,7 @@ pub fn serialize_structure_crate_input_create_event_destination_input( object_19.finish(); } if let Some(var_20) = &input.sns_destination { + #[allow(unused_mut)] let mut object_21 = object.key("SnsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_sns_destination(&mut object_21, var_20)?; object_21.finish(); @@ -99,6 +103,7 @@ pub fn serialize_structure_crate_input_create_opt_out_list_input( let mut array_25 = object.key("Tags").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_27, item_26)?; object_27.finish(); @@ -132,6 +137,7 @@ pub fn serialize_structure_crate_input_create_pool_input( let mut array_34 = object.key("Tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -283,6 +289,7 @@ pub fn serialize_structure_crate_input_describe_configuration_sets_input( let mut array_57 = object.key("Filters").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_configuration_set_filter( &mut object_59, @@ -325,6 +332,7 @@ pub fn serialize_structure_crate_input_describe_keywords_input( let mut array_67 = object.key("Filters").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_keyword_filter( &mut object_69, @@ -367,6 +375,7 @@ pub fn serialize_structure_crate_input_describe_opted_out_numbers_input( let mut array_77 = object.key("Filters").start_array(); for item_78 in var_76 { { + #[allow(unused_mut)] let mut object_79 = array_77.value().start_object(); crate::json_ser::serialize_structure_crate_model_opted_out_filter( &mut object_79, @@ -431,6 +440,7 @@ pub fn serialize_structure_crate_input_describe_phone_numbers_input( let mut array_91 = object.key("Filters").start_array(); for item_92 in var_90 { { + #[allow(unused_mut)] let mut object_93 = array_91.value().start_object(); crate::json_ser::serialize_structure_crate_model_phone_number_filter( &mut object_93, @@ -470,6 +480,7 @@ pub fn serialize_structure_crate_input_describe_pools_input( let mut array_100 = object.key("Filters").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_pool_filter( &mut object_102, @@ -500,6 +511,7 @@ pub fn serialize_structure_crate_input_describe_sender_ids_input( let mut array_106 = object.key("SenderIds").start_array(); for item_107 in var_105 { { + #[allow(unused_mut)] let mut object_108 = array_106.value().start_object(); crate::json_ser::serialize_structure_crate_model_sender_id_and_country( &mut object_108, @@ -514,6 +526,7 @@ pub fn serialize_structure_crate_input_describe_sender_ids_input( let mut array_110 = object.key("Filters").start_array(); for item_111 in var_109 { { + #[allow(unused_mut)] let mut object_112 = array_110.value().start_object(); crate::json_ser::serialize_structure_crate_model_sender_id_filter( &mut object_112, @@ -582,6 +595,7 @@ pub fn serialize_structure_crate_input_list_pool_origination_identities_input( let mut array_123 = object.key("Filters").start_array(); for item_124 in var_122 { { + #[allow(unused_mut)] let mut object_125 = array_123.value().start_object(); crate::json_ser::serialize_structure_crate_model_pool_origination_identities_filter(&mut object_125, item_124)?; object_125.finish(); @@ -691,6 +705,7 @@ pub fn serialize_structure_crate_input_request_phone_number_input( let mut array_147 = object.key("Tags").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_149, item_148)?; object_149.finish(); @@ -738,6 +753,7 @@ pub fn serialize_structure_crate_input_send_text_message_input( ); } if let Some(var_159) = &input.context { + #[allow(unused_mut)] let mut object_160 = object.key("Context").start_object(); for (key_161, value_162) in var_159 { { @@ -747,6 +763,7 @@ pub fn serialize_structure_crate_input_send_text_message_input( object_160.finish(); } if let Some(var_163) = &input.destination_country_parameters { + #[allow(unused_mut)] let mut object_164 = object.key("DestinationCountryParameters").start_object(); for (key_165, value_166) in var_163 { { @@ -795,6 +812,7 @@ pub fn serialize_structure_crate_input_send_voice_message_input( ); } if let Some(var_175) = &input.context { + #[allow(unused_mut)] let mut object_176 = object.key("Context").start_object(); for (key_177, value_178) in var_175 { { @@ -872,6 +890,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_187 = object.key("Tags").start_array(); for item_188 in var_186 { { + #[allow(unused_mut)] let mut object_189 = array_187.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_189, item_188)?; object_189.finish(); @@ -924,6 +943,7 @@ pub fn serialize_structure_crate_input_update_event_destination_input( array_198.finish(); } if let Some(var_200) = &input.cloud_watch_logs_destination { + #[allow(unused_mut)] let mut object_201 = object.key("CloudWatchLogsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_destination( &mut object_201, @@ -932,6 +952,7 @@ pub fn serialize_structure_crate_input_update_event_destination_input( object_201.finish(); } if let Some(var_202) = &input.kinesis_firehose_destination { + #[allow(unused_mut)] let mut object_203 = object.key("KinesisFirehoseDestination").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_destination( &mut object_203, @@ -940,6 +961,7 @@ pub fn serialize_structure_crate_input_update_event_destination_input( object_203.finish(); } if let Some(var_204) = &input.sns_destination { + #[allow(unused_mut)] let mut object_205 = object.key("SnsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_sns_destination(&mut object_205, var_204)?; object_205.finish(); diff --git a/sdk/pricing/src/json_ser.rs b/sdk/pricing/src/json_ser.rs index aba12fce9885..dae28b4c3bb0 100644 --- a/sdk/pricing/src/json_ser.rs +++ b/sdk/pricing/src/json_ser.rs @@ -54,6 +54,7 @@ pub fn serialize_structure_crate_input_get_products_input( let mut array_11 = object.key("Filters").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_13, item_12)?; object_13.finish(); diff --git a/sdk/privatenetworks/src/json_ser.rs b/sdk/privatenetworks/src/json_ser.rs index 9fd9c9d90800..845d79900ad7 100644 --- a/sdk/privatenetworks/src/json_ser.rs +++ b/sdk/privatenetworks/src/json_ser.rs @@ -33,6 +33,7 @@ pub fn serialize_structure_crate_input_activate_network_site_input( object.key("networkSiteArn").string(var_5.as_str()); } if let Some(var_6) = &input.shipping_address { + #[allow(unused_mut)] let mut object_7 = object.key("shippingAddress").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_7, var_6)?; object_7.finish(); @@ -60,6 +61,7 @@ pub fn serialize_structure_crate_input_configure_access_point_input( object.key("cpiUsername").string(var_12.as_str()); } if let Some(var_13) = &input.position { + #[allow(unused_mut)] let mut object_14 = object.key("position").start_object(); crate::json_ser::serialize_structure_crate_model_position(&mut object_14, var_13)?; object_14.finish(); @@ -81,6 +83,7 @@ pub fn serialize_structure_crate_input_create_network_input( object.key("networkName").string(var_17.as_str()); } if let Some(var_18) = &input.tags { + #[allow(unused_mut)] let mut object_19 = object.key("tags").start_object(); for (key_20, value_21) in var_18 { { @@ -115,11 +118,13 @@ pub fn serialize_structure_crate_input_create_network_site_input( object.key("networkSiteName").string(var_27.as_str()); } if let Some(var_28) = &input.pending_plan { + #[allow(unused_mut)] let mut object_29 = object.key("pendingPlan").start_object(); crate::json_ser::serialize_structure_crate_model_site_plan(&mut object_29, var_28)?; object_29.finish(); } if let Some(var_30) = &input.tags { + #[allow(unused_mut)] let mut object_31 = object.key("tags").start_object(); for (key_32, value_33) in var_30 { { @@ -149,6 +154,7 @@ pub fn serialize_structure_crate_input_list_device_identifiers_input( input: &crate::input::ListDeviceIdentifiersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.filters { + #[allow(unused_mut)] let mut object_37 = object.key("filters").start_object(); for (key_38, value_39) in var_36 { { @@ -183,6 +189,7 @@ pub fn serialize_structure_crate_input_list_network_resources_input( input: &crate::input::ListNetworkResourcesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.filters { + #[allow(unused_mut)] let mut object_46 = object.key("filters").start_object(); for (key_47, value_48) in var_45 { { @@ -217,6 +224,7 @@ pub fn serialize_structure_crate_input_list_networks_input( input: &crate::input::ListNetworksInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_54) = &input.filters { + #[allow(unused_mut)] let mut object_55 = object.key("filters").start_object(); for (key_56, value_57) in var_54 { { @@ -248,6 +256,7 @@ pub fn serialize_structure_crate_input_list_network_sites_input( input: &crate::input::ListNetworkSitesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_62) = &input.filters { + #[allow(unused_mut)] let mut object_63 = object.key("filters").start_object(); for (key_64, value_65) in var_62 { { @@ -282,6 +291,7 @@ pub fn serialize_structure_crate_input_list_orders_input( input: &crate::input::ListOrdersInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_71) = &input.filters { + #[allow(unused_mut)] let mut object_72 = object.key("filters").start_object(); for (key_73, value_74) in var_71 { { @@ -316,6 +326,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.tags { + #[allow(unused_mut)] let mut object_81 = object.key("tags").start_object(); for (key_82, value_83) in var_80 { { @@ -354,6 +365,7 @@ pub fn serialize_structure_crate_input_update_network_site_plan_input( object.key("networkSiteArn").string(var_88.as_str()); } if let Some(var_89) = &input.pending_plan { + #[allow(unused_mut)] let mut object_90 = object.key("pendingPlan").start_object(); crate::json_ser::serialize_structure_crate_model_site_plan(&mut object_90, var_89)?; object_90.finish(); @@ -437,6 +449,7 @@ pub fn serialize_structure_crate_model_site_plan( let mut array_107 = object.key("resourceDefinitions").start_array(); for item_108 in var_106 { { + #[allow(unused_mut)] let mut object_109 = array_107.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_resource_definition( &mut object_109, @@ -451,6 +464,7 @@ pub fn serialize_structure_crate_model_site_plan( let mut array_111 = object.key("options").start_array(); for item_112 in var_110 { { + #[allow(unused_mut)] let mut object_113 = array_111.value().start_object(); crate::json_ser::serialize_structure_crate_model_name_value_pair( &mut object_113, @@ -475,6 +489,7 @@ pub fn serialize_structure_crate_model_network_resource_definition( let mut array_116 = object.key("options").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_name_value_pair( &mut object_118, diff --git a/sdk/proton/src/json_ser.rs b/sdk/proton/src/json_ser.rs index a4d8208a5abe..02a2490829f7 100644 --- a/sdk/proton/src/json_ser.rs +++ b/sdk/proton/src/json_ser.rs @@ -84,6 +84,7 @@ pub fn serialize_structure_crate_input_create_component_input( let mut array_16 = object.key("tags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_18, item_17)?; object_18.finish(); @@ -128,6 +129,7 @@ pub fn serialize_structure_crate_input_create_environment_input( let mut array_28 = object.key("tags").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_30, item_29)?; object_30.finish(); @@ -136,6 +138,7 @@ pub fn serialize_structure_crate_input_create_environment_input( array_28.finish(); } if let Some(var_31) = &input.provisioning_repository { + #[allow(unused_mut)] let mut object_32 = object.key("provisioningRepository").start_object(); crate::json_ser::serialize_structure_crate_model_repository_branch_input( &mut object_32, @@ -169,6 +172,7 @@ pub fn serialize_structure_crate_input_create_environment_account_connection_inp let mut array_39 = object.key("tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -205,6 +209,7 @@ pub fn serialize_structure_crate_input_create_environment_template_input( let mut array_49 = object.key("tags").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_51, item_50)?; object_51.finish(); @@ -232,6 +237,7 @@ pub fn serialize_structure_crate_input_create_environment_template_version_input object.key("majorVersion").string(var_55.as_str()); } if let Some(var_56) = &input.source { + #[allow(unused_mut)] let mut object_57 = object.key("source").start_object(); crate::json_ser::serialize_union_crate_model_template_version_source_input( &mut object_57, @@ -243,6 +249,7 @@ pub fn serialize_structure_crate_input_create_environment_template_version_input let mut array_59 = object.key("tags").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_61, item_60)?; object_61.finish(); @@ -273,6 +280,7 @@ pub fn serialize_structure_crate_input_create_repository_input( let mut array_67 = object.key("tags").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_69, item_68)?; object_69.finish(); @@ -320,6 +328,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_80 = object.key("tags").start_array(); for item_81 in var_79 { { + #[allow(unused_mut)] let mut object_82 = array_80.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_82, item_81)?; object_82.finish(); @@ -353,6 +362,7 @@ pub fn serialize_structure_crate_input_create_service_template_input( let mut array_89 = object.key("tags").start_array(); for item_90 in var_88 { { + #[allow(unused_mut)] let mut object_91 = array_89.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_91, item_90)?; object_91.finish(); @@ -380,6 +390,7 @@ pub fn serialize_structure_crate_input_create_service_template_version_input( object.key("majorVersion").string(var_95.as_str()); } if let Some(var_96) = &input.source { + #[allow(unused_mut)] let mut object_97 = object.key("source").start_object(); crate::json_ser::serialize_union_crate_model_template_version_source_input( &mut object_97, @@ -391,6 +402,7 @@ pub fn serialize_structure_crate_input_create_service_template_version_input( let mut array_99 = object.key("compatibleEnvironmentTemplates").start_array(); for item_100 in var_98 { { + #[allow(unused_mut)] let mut object_101 = array_99.value().start_object(); crate::json_ser::serialize_structure_crate_model_compatible_environment_template_input(&mut object_101, item_100)?; object_101.finish(); @@ -402,6 +414,7 @@ pub fn serialize_structure_crate_input_create_service_template_version_input( let mut array_103 = object.key("tags").start_array(); for item_104 in var_102 { { + #[allow(unused_mut)] let mut object_105 = array_103.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_105, item_104)?; object_105.finish(); @@ -855,6 +868,7 @@ pub fn serialize_structure_crate_input_list_environments_input( let mut array_179 = object.key("environmentTemplates").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_environment_template_filter( &mut object_181, @@ -1105,6 +1119,7 @@ pub fn serialize_structure_crate_input_notify_resource_deployment_status_change_ let mut array_221 = object.key("outputs").start_array(); for item_222 in var_220 { { + #[allow(unused_mut)] let mut object_223 = array_221.value().start_object(); crate::json_ser::serialize_structure_crate_model_output(&mut object_223, item_222)?; object_223.finish(); @@ -1142,6 +1157,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_229 = object.key("tags").start_array(); for item_230 in var_228 { { + #[allow(unused_mut)] let mut object_231 = array_229.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_231, item_230)?; object_231.finish(); @@ -1181,6 +1197,7 @@ pub fn serialize_structure_crate_input_update_account_settings_input( .string(var_236.as_str()); } if let Some(var_237) = &input.pipeline_provisioning_repository { + #[allow(unused_mut)] let mut object_238 = object.key("pipelineProvisioningRepository").start_object(); crate::json_ser::serialize_structure_crate_model_repository_branch_input( &mut object_238, @@ -1255,6 +1272,7 @@ pub fn serialize_structure_crate_input_update_environment_input( .string(var_254.as_str()); } if let Some(var_255) = &input.provisioning_repository { + #[allow(unused_mut)] let mut object_256 = object.key("provisioningRepository").start_object(); crate::json_ser::serialize_structure_crate_model_repository_branch_input( &mut object_256, @@ -1424,6 +1442,7 @@ pub fn serialize_structure_crate_input_update_service_template_version_input( let mut array_292 = object.key("compatibleEnvironmentTemplates").start_array(); for item_293 in var_291 { { + #[allow(unused_mut)] let mut object_294 = array_292.value().start_object(); crate::json_ser::serialize_structure_crate_model_compatible_environment_template_input(&mut object_294, item_293)?; object_294.finish(); @@ -1503,6 +1522,7 @@ pub fn serialize_union_crate_model_template_version_source_input( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::TemplateVersionSourceInput::S3(inner) => { + #[allow(unused_mut)] let mut object_309 = object_57.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object_source( &mut object_309, diff --git a/sdk/qldb/src/json_ser.rs b/sdk/qldb/src/json_ser.rs index 72724265c528..214e701e9449 100644 --- a/sdk/qldb/src/json_ser.rs +++ b/sdk/qldb/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_ledger_input( object.key("PermissionsMode").string(var_4.as_str()); } if let Some(var_5) = &input.tags { + #[allow(unused_mut)] let mut object_6 = object.key("Tags").start_object(); for (key_7, value_8) in var_5 { if let Some(var_9) = value_8 { @@ -50,6 +51,7 @@ pub fn serialize_structure_crate_input_export_journal_to_s3_input( object.key("RoleArn").string(var_13.as_str()); } if let Some(var_14) = &input.s3_export_configuration { + #[allow(unused_mut)] let mut object_15 = object.key("S3ExportConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_export_configuration( &mut object_15, @@ -65,11 +67,13 @@ pub fn serialize_structure_crate_input_get_block_input( input: &crate::input::GetBlockInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.block_address { + #[allow(unused_mut)] let mut object_17 = object.key("BlockAddress").start_object(); crate::json_ser::serialize_structure_crate_model_value_holder(&mut object_17, var_16)?; object_17.finish(); } if let Some(var_18) = &input.digest_tip_address { + #[allow(unused_mut)] let mut object_19 = object.key("DigestTipAddress").start_object(); crate::json_ser::serialize_structure_crate_model_value_holder(&mut object_19, var_18)?; object_19.finish(); @@ -82,11 +86,13 @@ pub fn serialize_structure_crate_input_get_revision_input( input: &crate::input::GetRevisionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_20) = &input.block_address { + #[allow(unused_mut)] let mut object_21 = object.key("BlockAddress").start_object(); crate::json_ser::serialize_structure_crate_model_value_holder(&mut object_21, var_20)?; object_21.finish(); } if let Some(var_22) = &input.digest_tip_address { + #[allow(unused_mut)] let mut object_23 = object.key("DigestTipAddress").start_object(); crate::json_ser::serialize_structure_crate_model_value_holder(&mut object_23, var_22)?; object_23.finish(); @@ -112,6 +118,7 @@ pub fn serialize_structure_crate_input_stream_journal_to_kinesis_input( .date_time(var_26, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_27) = &input.kinesis_configuration { + #[allow(unused_mut)] let mut object_28 = object.key("KinesisConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_configuration( &mut object_28, @@ -126,6 +133,7 @@ pub fn serialize_structure_crate_input_stream_journal_to_kinesis_input( object.key("StreamName").string(var_30.as_str()); } if let Some(var_31) = &input.tags { + #[allow(unused_mut)] let mut object_32 = object.key("Tags").start_object(); for (key_33, value_34) in var_31 { if let Some(var_35) = value_34 { @@ -144,6 +152,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.tags { + #[allow(unused_mut)] let mut object_37 = object.key("Tags").start_object(); for (key_38, value_39) in var_36 { if let Some(var_40) = value_39 { @@ -191,6 +200,7 @@ pub fn serialize_structure_crate_model_s3_export_configuration( object.key("Prefix").string(var_45.as_str()); } if let Some(var_46) = &input.encryption_configuration { + #[allow(unused_mut)] let mut object_47 = object.key("EncryptionConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_s3_encryption_configuration( &mut object_47, diff --git a/sdk/qldbsession/src/json_ser.rs b/sdk/qldbsession/src/json_ser.rs index 8a2bc41ed48e..abc2285850ce 100644 --- a/sdk/qldbsession/src/json_ser.rs +++ b/sdk/qldbsession/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_send_command_input( object.key("SessionToken").string(var_1.as_str()); } if let Some(var_2) = &input.start_session { + #[allow(unused_mut)] let mut object_3 = object.key("StartSession").start_object(); crate::json_ser::serialize_structure_crate_model_start_session_request( &mut object_3, @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_send_command_input( object_3.finish(); } if let Some(var_4) = &input.start_transaction { + #[allow(unused_mut)] let mut object_5 = object.key("StartTransaction").start_object(); crate::json_ser::serialize_structure_crate_model_start_transaction_request( &mut object_5, @@ -23,11 +25,13 @@ pub fn serialize_structure_crate_input_send_command_input( object_5.finish(); } if let Some(var_6) = &input.end_session { + #[allow(unused_mut)] let mut object_7 = object.key("EndSession").start_object(); crate::json_ser::serialize_structure_crate_model_end_session_request(&mut object_7, var_6)?; object_7.finish(); } if let Some(var_8) = &input.commit_transaction { + #[allow(unused_mut)] let mut object_9 = object.key("CommitTransaction").start_object(); crate::json_ser::serialize_structure_crate_model_commit_transaction_request( &mut object_9, @@ -36,6 +40,7 @@ pub fn serialize_structure_crate_input_send_command_input( object_9.finish(); } if let Some(var_10) = &input.abort_transaction { + #[allow(unused_mut)] let mut object_11 = object.key("AbortTransaction").start_object(); crate::json_ser::serialize_structure_crate_model_abort_transaction_request( &mut object_11, @@ -44,6 +49,7 @@ pub fn serialize_structure_crate_input_send_command_input( object_11.finish(); } if let Some(var_12) = &input.execute_statement { + #[allow(unused_mut)] let mut object_13 = object.key("ExecuteStatement").start_object(); crate::json_ser::serialize_structure_crate_model_execute_statement_request( &mut object_13, @@ -52,6 +58,7 @@ pub fn serialize_structure_crate_input_send_command_input( object_13.finish(); } if let Some(var_14) = &input.fetch_page { + #[allow(unused_mut)] let mut object_15 = object.key("FetchPage").start_object(); crate::json_ser::serialize_structure_crate_model_fetch_page_request( &mut object_15, @@ -125,6 +132,7 @@ pub fn serialize_structure_crate_model_execute_statement_request( let mut array_22 = object.key("Parameters").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_value_holder( &mut object_24, diff --git a/sdk/quicksight/src/json_ser.rs b/sdk/quicksight/src/json_ser.rs index eebaa9d61054..fed2df44be78 100644 --- a/sdk/quicksight/src/json_ser.rs +++ b/sdk/quicksight/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_account_customization_input( input: &crate::input::CreateAccountCustomizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.account_customization { + #[allow(unused_mut)] let mut object_2 = object.key("AccountCustomization").start_object(); crate::json_ser::serialize_structure_crate_model_account_customization( &mut object_2, @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_create_account_customization_input( let mut array_4 = object.key("Tags").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_6, item_5)?; object_6.finish(); @@ -100,6 +102,7 @@ pub fn serialize_structure_crate_input_create_analysis_input( object.key("Name").string(var_27.as_str()); } if let Some(var_28) = &input.parameters { + #[allow(unused_mut)] let mut object_29 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_parameters(&mut object_29, var_28)?; object_29.finish(); @@ -108,6 +111,7 @@ pub fn serialize_structure_crate_input_create_analysis_input( let mut array_31 = object.key("Permissions").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_33, @@ -119,6 +123,7 @@ pub fn serialize_structure_crate_input_create_analysis_input( array_31.finish(); } if let Some(var_34) = &input.source_entity { + #[allow(unused_mut)] let mut object_35 = object.key("SourceEntity").start_object(); crate::json_ser::serialize_structure_crate_model_analysis_source_entity( &mut object_35, @@ -130,6 +135,7 @@ pub fn serialize_structure_crate_input_create_analysis_input( let mut array_37 = object.key("Tags").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_39, item_38)?; object_39.finish(); @@ -148,6 +154,7 @@ pub fn serialize_structure_crate_input_create_dashboard_input( input: &crate::input::CreateDashboardInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.dashboard_publish_options { + #[allow(unused_mut)] let mut object_42 = object.key("DashboardPublishOptions").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_publish_options( &mut object_42, @@ -159,6 +166,7 @@ pub fn serialize_structure_crate_input_create_dashboard_input( object.key("Name").string(var_43.as_str()); } if let Some(var_44) = &input.parameters { + #[allow(unused_mut)] let mut object_45 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_parameters(&mut object_45, var_44)?; object_45.finish(); @@ -167,6 +175,7 @@ pub fn serialize_structure_crate_input_create_dashboard_input( let mut array_47 = object.key("Permissions").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_49, @@ -178,6 +187,7 @@ pub fn serialize_structure_crate_input_create_dashboard_input( array_47.finish(); } if let Some(var_50) = &input.source_entity { + #[allow(unused_mut)] let mut object_51 = object.key("SourceEntity").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_source_entity( &mut object_51, @@ -189,6 +199,7 @@ pub fn serialize_structure_crate_input_create_dashboard_input( let mut array_53 = object.key("Tags").start_array(); for item_54 in var_52 { { + #[allow(unused_mut)] let mut object_55 = array_53.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_55, item_54)?; object_55.finish(); @@ -213,6 +224,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( let mut array_59 = object.key("ColumnGroups").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_group( &mut object_61, @@ -227,6 +239,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( let mut array_63 = object.key("ColumnLevelPermissionRules").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_level_permission_rule( &mut object_65, @@ -241,6 +254,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( object.key("DataSetId").string(var_66.as_str()); } if let Some(var_67) = &input.data_set_usage_configuration { + #[allow(unused_mut)] let mut object_68 = object.key("DataSetUsageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_set_usage_configuration( &mut object_68, @@ -249,9 +263,11 @@ pub fn serialize_structure_crate_input_create_data_set_input( object_68.finish(); } if let Some(var_69) = &input.field_folders { + #[allow(unused_mut)] let mut object_70 = object.key("FieldFolders").start_object(); for (key_71, value_72) in var_69 { { + #[allow(unused_mut)] let mut object_73 = object_70.key(key_71.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_field_folder( &mut object_73, @@ -266,9 +282,11 @@ pub fn serialize_structure_crate_input_create_data_set_input( object.key("ImportMode").string(var_74.as_str()); } if let Some(var_75) = &input.logical_table_map { + #[allow(unused_mut)] let mut object_76 = object.key("LogicalTableMap").start_object(); for (key_77, value_78) in var_75 { { + #[allow(unused_mut)] let mut object_79 = object_76.key(key_77.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_logical_table( &mut object_79, @@ -286,6 +304,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( let mut array_82 = object.key("Permissions").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_84, @@ -297,9 +316,11 @@ pub fn serialize_structure_crate_input_create_data_set_input( array_82.finish(); } if let Some(var_85) = &input.physical_table_map { + #[allow(unused_mut)] let mut object_86 = object.key("PhysicalTableMap").start_object(); for (key_87, value_88) in var_85 { { + #[allow(unused_mut)] let mut object_89 = object_86.key(key_87.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_physical_table( &mut object_89, @@ -311,6 +332,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( object_86.finish(); } if let Some(var_90) = &input.row_level_permission_data_set { + #[allow(unused_mut)] let mut object_91 = object.key("RowLevelPermissionDataSet").start_object(); crate::json_ser::serialize_structure_crate_model_row_level_permission_data_set( &mut object_91, @@ -319,6 +341,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( object_91.finish(); } if let Some(var_92) = &input.row_level_permission_tag_configuration { + #[allow(unused_mut)] let mut object_93 = object .key("RowLevelPermissionTagConfiguration") .start_object(); @@ -332,6 +355,7 @@ pub fn serialize_structure_crate_input_create_data_set_input( let mut array_95 = object.key("Tags").start_array(); for item_96 in var_94 { { + #[allow(unused_mut)] let mut object_97 = array_95.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_97, item_96)?; object_97.finish(); @@ -347,6 +371,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( input: &crate::input::CreateDataSourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_98) = &input.credentials { + #[allow(unused_mut)] let mut object_99 = object.key("Credentials").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_credentials( &mut object_99, @@ -358,6 +383,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object.key("DataSourceId").string(var_100.as_str()); } if let Some(var_101) = &input.data_source_parameters { + #[allow(unused_mut)] let mut object_102 = object.key("DataSourceParameters").start_object(); crate::json_ser::serialize_union_crate_model_data_source_parameters( &mut object_102, @@ -372,6 +398,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( let mut array_105 = object.key("Permissions").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_107, @@ -383,6 +410,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( array_105.finish(); } if let Some(var_108) = &input.ssl_properties { + #[allow(unused_mut)] let mut object_109 = object.key("SslProperties").start_object(); crate::json_ser::serialize_structure_crate_model_ssl_properties(&mut object_109, var_108)?; object_109.finish(); @@ -391,6 +419,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( let mut array_111 = object.key("Tags").start_array(); for item_112 in var_110 { { + #[allow(unused_mut)] let mut object_113 = array_111.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_113, item_112)?; object_113.finish(); @@ -402,6 +431,7 @@ pub fn serialize_structure_crate_input_create_data_source_input( object.key("Type").string(var_114.as_str()); } if let Some(var_115) = &input.vpc_connection_properties { + #[allow(unused_mut)] let mut object_116 = object.key("VpcConnectionProperties").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_connection_properties( &mut object_116, @@ -429,6 +459,7 @@ pub fn serialize_structure_crate_input_create_folder_input( let mut array_121 = object.key("Permissions").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_123, @@ -443,6 +474,7 @@ pub fn serialize_structure_crate_input_create_folder_input( let mut array_125 = object.key("Tags").start_array(); for item_126 in var_124 { { + #[allow(unused_mut)] let mut object_127 = array_125.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_127, item_126)?; object_127.finish(); @@ -477,6 +509,7 @@ pub fn serialize_structure_crate_input_create_iam_policy_assignment_input( object.key("AssignmentStatus").string(var_131.as_str()); } if let Some(var_132) = &input.identities { + #[allow(unused_mut)] let mut object_133 = object.key("Identities").start_object(); for (key_134, value_135) in var_132 { { @@ -521,6 +554,7 @@ pub fn serialize_structure_crate_input_create_namespace_input( let mut array_143 = object.key("Tags").start_array(); for item_144 in var_142 { { + #[allow(unused_mut)] let mut object_145 = array_143.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_145, item_144)?; object_145.finish(); @@ -542,6 +576,7 @@ pub fn serialize_structure_crate_input_create_template_input( let mut array_148 = object.key("Permissions").start_array(); for item_149 in var_147 { { + #[allow(unused_mut)] let mut object_150 = array_148.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_150, @@ -553,6 +588,7 @@ pub fn serialize_structure_crate_input_create_template_input( array_148.finish(); } if let Some(var_151) = &input.source_entity { + #[allow(unused_mut)] let mut object_152 = object.key("SourceEntity").start_object(); crate::json_ser::serialize_structure_crate_model_template_source_entity( &mut object_152, @@ -564,6 +600,7 @@ pub fn serialize_structure_crate_input_create_template_input( let mut array_154 = object.key("Tags").start_array(); for item_155 in var_153 { { + #[allow(unused_mut)] let mut object_156 = array_154.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_156, item_155)?; object_156.finish(); @@ -598,6 +635,7 @@ pub fn serialize_structure_crate_input_create_theme_input( object.key("BaseThemeId").string(var_159.as_str()); } if let Some(var_160) = &input.configuration { + #[allow(unused_mut)] let mut object_161 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_theme_configuration( &mut object_161, @@ -612,6 +650,7 @@ pub fn serialize_structure_crate_input_create_theme_input( let mut array_164 = object.key("Permissions").start_array(); for item_165 in var_163 { { + #[allow(unused_mut)] let mut object_166 = array_164.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_166, @@ -626,6 +665,7 @@ pub fn serialize_structure_crate_input_create_theme_input( let mut array_168 = object.key("Tags").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_170, item_169)?; object_170.finish(); @@ -675,6 +715,7 @@ pub fn serialize_structure_crate_input_generate_embed_url_for_anonymous_user_inp array_177.finish(); } if let Some(var_179) = &input.experience_configuration { + #[allow(unused_mut)] let mut object_180 = object.key("ExperienceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_anonymous_user_embedding_experience_configuration(&mut object_180, var_179)?; object_180.finish(); @@ -692,6 +733,7 @@ pub fn serialize_structure_crate_input_generate_embed_url_for_anonymous_user_inp let mut array_184 = object.key("SessionTags").start_array(); for item_185 in var_183 { { + #[allow(unused_mut)] let mut object_186 = array_184.value().start_object(); crate::json_ser::serialize_structure_crate_model_session_tag( &mut object_186, @@ -719,6 +761,7 @@ pub fn serialize_structure_crate_input_generate_embed_url_for_registered_user_in array_188.finish(); } if let Some(var_190) = &input.experience_configuration { + #[allow(unused_mut)] let mut object_191 = object.key("ExperienceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_registered_user_embedding_experience_configuration(&mut object_191, var_190)?; object_191.finish(); @@ -794,6 +837,7 @@ pub fn serialize_structure_crate_input_search_analyses_input( let mut array_206 = object.key("Filters").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_analysis_search_filter( &mut object_208, @@ -824,6 +868,7 @@ pub fn serialize_structure_crate_input_search_dashboards_input( let mut array_212 = object.key("Filters").start_array(); for item_213 in var_211 { { + #[allow(unused_mut)] let mut object_214 = array_212.value().start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_search_filter( &mut object_214, @@ -854,6 +899,7 @@ pub fn serialize_structure_crate_input_search_folders_input( let mut array_218 = object.key("Filters").start_array(); for item_219 in var_217 { { + #[allow(unused_mut)] let mut object_220 = array_218.value().start_object(); crate::json_ser::serialize_structure_crate_model_folder_search_filter( &mut object_220, @@ -884,6 +930,7 @@ pub fn serialize_structure_crate_input_search_groups_input( let mut array_224 = object.key("Filters").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_search_filter( &mut object_226, @@ -905,6 +952,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_228 = object.key("Tags").start_array(); for item_229 in var_227 { { + #[allow(unused_mut)] let mut object_230 = array_228.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_230, item_229)?; object_230.finish(); @@ -920,6 +968,7 @@ pub fn serialize_structure_crate_input_update_account_customization_input( input: &crate::input::UpdateAccountCustomizationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_231) = &input.account_customization { + #[allow(unused_mut)] let mut object_232 = object.key("AccountCustomization").start_object(); crate::json_ser::serialize_structure_crate_model_account_customization( &mut object_232, @@ -951,11 +1000,13 @@ pub fn serialize_structure_crate_input_update_analysis_input( object.key("Name").string(var_235.as_str()); } if let Some(var_236) = &input.parameters { + #[allow(unused_mut)] let mut object_237 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_parameters(&mut object_237, var_236)?; object_237.finish(); } if let Some(var_238) = &input.source_entity { + #[allow(unused_mut)] let mut object_239 = object.key("SourceEntity").start_object(); crate::json_ser::serialize_structure_crate_model_analysis_source_entity( &mut object_239, @@ -977,6 +1028,7 @@ pub fn serialize_structure_crate_input_update_analysis_permissions_input( let mut array_242 = object.key("GrantPermissions").start_array(); for item_243 in var_241 { { + #[allow(unused_mut)] let mut object_244 = array_242.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_244, @@ -991,6 +1043,7 @@ pub fn serialize_structure_crate_input_update_analysis_permissions_input( let mut array_246 = object.key("RevokePermissions").start_array(); for item_247 in var_245 { { + #[allow(unused_mut)] let mut object_248 = array_246.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_248, @@ -1009,6 +1062,7 @@ pub fn serialize_structure_crate_input_update_dashboard_input( input: &crate::input::UpdateDashboardInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_249) = &input.dashboard_publish_options { + #[allow(unused_mut)] let mut object_250 = object.key("DashboardPublishOptions").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_publish_options( &mut object_250, @@ -1020,11 +1074,13 @@ pub fn serialize_structure_crate_input_update_dashboard_input( object.key("Name").string(var_251.as_str()); } if let Some(var_252) = &input.parameters { + #[allow(unused_mut)] let mut object_253 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_parameters(&mut object_253, var_252)?; object_253.finish(); } if let Some(var_254) = &input.source_entity { + #[allow(unused_mut)] let mut object_255 = object.key("SourceEntity").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_source_entity( &mut object_255, @@ -1049,6 +1105,7 @@ pub fn serialize_structure_crate_input_update_dashboard_permissions_input( let mut array_259 = object.key("GrantLinkPermissions").start_array(); for item_260 in var_258 { { + #[allow(unused_mut)] let mut object_261 = array_259.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_261, @@ -1063,6 +1120,7 @@ pub fn serialize_structure_crate_input_update_dashboard_permissions_input( let mut array_263 = object.key("GrantPermissions").start_array(); for item_264 in var_262 { { + #[allow(unused_mut)] let mut object_265 = array_263.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_265, @@ -1077,6 +1135,7 @@ pub fn serialize_structure_crate_input_update_dashboard_permissions_input( let mut array_267 = object.key("RevokeLinkPermissions").start_array(); for item_268 in var_266 { { + #[allow(unused_mut)] let mut object_269 = array_267.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_269, @@ -1091,6 +1150,7 @@ pub fn serialize_structure_crate_input_update_dashboard_permissions_input( let mut array_271 = object.key("RevokePermissions").start_array(); for item_272 in var_270 { { + #[allow(unused_mut)] let mut object_273 = array_271.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_273, @@ -1112,6 +1172,7 @@ pub fn serialize_structure_crate_input_update_data_set_input( let mut array_275 = object.key("ColumnGroups").start_array(); for item_276 in var_274 { { + #[allow(unused_mut)] let mut object_277 = array_275.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_group( &mut object_277, @@ -1126,6 +1187,7 @@ pub fn serialize_structure_crate_input_update_data_set_input( let mut array_279 = object.key("ColumnLevelPermissionRules").start_array(); for item_280 in var_278 { { + #[allow(unused_mut)] let mut object_281 = array_279.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_level_permission_rule( &mut object_281, @@ -1137,6 +1199,7 @@ pub fn serialize_structure_crate_input_update_data_set_input( array_279.finish(); } if let Some(var_282) = &input.data_set_usage_configuration { + #[allow(unused_mut)] let mut object_283 = object.key("DataSetUsageConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_data_set_usage_configuration( &mut object_283, @@ -1145,9 +1208,11 @@ pub fn serialize_structure_crate_input_update_data_set_input( object_283.finish(); } if let Some(var_284) = &input.field_folders { + #[allow(unused_mut)] let mut object_285 = object.key("FieldFolders").start_object(); for (key_286, value_287) in var_284 { { + #[allow(unused_mut)] let mut object_288 = object_285.key(key_286.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_field_folder( &mut object_288, @@ -1162,9 +1227,11 @@ pub fn serialize_structure_crate_input_update_data_set_input( object.key("ImportMode").string(var_289.as_str()); } if let Some(var_290) = &input.logical_table_map { + #[allow(unused_mut)] let mut object_291 = object.key("LogicalTableMap").start_object(); for (key_292, value_293) in var_290 { { + #[allow(unused_mut)] let mut object_294 = object_291.key(key_292.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_logical_table( &mut object_294, @@ -1179,9 +1246,11 @@ pub fn serialize_structure_crate_input_update_data_set_input( object.key("Name").string(var_295.as_str()); } if let Some(var_296) = &input.physical_table_map { + #[allow(unused_mut)] let mut object_297 = object.key("PhysicalTableMap").start_object(); for (key_298, value_299) in var_296 { { + #[allow(unused_mut)] let mut object_300 = object_297.key(key_298.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_physical_table( &mut object_300, @@ -1193,6 +1262,7 @@ pub fn serialize_structure_crate_input_update_data_set_input( object_297.finish(); } if let Some(var_301) = &input.row_level_permission_data_set { + #[allow(unused_mut)] let mut object_302 = object.key("RowLevelPermissionDataSet").start_object(); crate::json_ser::serialize_structure_crate_model_row_level_permission_data_set( &mut object_302, @@ -1201,6 +1271,7 @@ pub fn serialize_structure_crate_input_update_data_set_input( object_302.finish(); } if let Some(var_303) = &input.row_level_permission_tag_configuration { + #[allow(unused_mut)] let mut object_304 = object .key("RowLevelPermissionTagConfiguration") .start_object(); @@ -1221,6 +1292,7 @@ pub fn serialize_structure_crate_input_update_data_set_permissions_input( let mut array_306 = object.key("GrantPermissions").start_array(); for item_307 in var_305 { { + #[allow(unused_mut)] let mut object_308 = array_306.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_308, @@ -1235,6 +1307,7 @@ pub fn serialize_structure_crate_input_update_data_set_permissions_input( let mut array_310 = object.key("RevokePermissions").start_array(); for item_311 in var_309 { { + #[allow(unused_mut)] let mut object_312 = array_310.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_312, @@ -1253,6 +1326,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( input: &crate::input::UpdateDataSourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_313) = &input.credentials { + #[allow(unused_mut)] let mut object_314 = object.key("Credentials").start_object(); crate::json_ser::serialize_structure_crate_model_data_source_credentials( &mut object_314, @@ -1261,6 +1335,7 @@ pub fn serialize_structure_crate_input_update_data_source_input( object_314.finish(); } if let Some(var_315) = &input.data_source_parameters { + #[allow(unused_mut)] let mut object_316 = object.key("DataSourceParameters").start_object(); crate::json_ser::serialize_union_crate_model_data_source_parameters( &mut object_316, @@ -1272,11 +1347,13 @@ pub fn serialize_structure_crate_input_update_data_source_input( object.key("Name").string(var_317.as_str()); } if let Some(var_318) = &input.ssl_properties { + #[allow(unused_mut)] let mut object_319 = object.key("SslProperties").start_object(); crate::json_ser::serialize_structure_crate_model_ssl_properties(&mut object_319, var_318)?; object_319.finish(); } if let Some(var_320) = &input.vpc_connection_properties { + #[allow(unused_mut)] let mut object_321 = object.key("VpcConnectionProperties").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_connection_properties( &mut object_321, @@ -1295,6 +1372,7 @@ pub fn serialize_structure_crate_input_update_data_source_permissions_input( let mut array_323 = object.key("GrantPermissions").start_array(); for item_324 in var_322 { { + #[allow(unused_mut)] let mut object_325 = array_323.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_325, @@ -1309,6 +1387,7 @@ pub fn serialize_structure_crate_input_update_data_source_permissions_input( let mut array_327 = object.key("RevokePermissions").start_array(); for item_328 in var_326 { { + #[allow(unused_mut)] let mut object_329 = array_327.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_329, @@ -1340,6 +1419,7 @@ pub fn serialize_structure_crate_input_update_folder_permissions_input( let mut array_332 = object.key("GrantPermissions").start_array(); for item_333 in var_331 { { + #[allow(unused_mut)] let mut object_334 = array_332.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_334, @@ -1354,6 +1434,7 @@ pub fn serialize_structure_crate_input_update_folder_permissions_input( let mut array_336 = object.key("RevokePermissions").start_array(); for item_337 in var_335 { { + #[allow(unused_mut)] let mut object_338 = array_336.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_338, @@ -1385,6 +1466,7 @@ pub fn serialize_structure_crate_input_update_iam_policy_assignment_input( object.key("AssignmentStatus").string(var_340.as_str()); } if let Some(var_341) = &input.identities { + #[allow(unused_mut)] let mut object_342 = object.key("Identities").start_object(); for (key_343, value_344) in var_341 { { @@ -1413,6 +1495,7 @@ pub fn serialize_structure_crate_input_update_ip_restriction_input( object.key("Enabled").boolean(*var_348); } if let Some(var_349) = &input.ip_restriction_rule_map { + #[allow(unused_mut)] let mut object_350 = object.key("IpRestrictionRuleMap").start_object(); for (key_351, value_352) in var_349 { { @@ -1444,6 +1527,7 @@ pub fn serialize_structure_crate_input_update_template_input( object.key("Name").string(var_353.as_str()); } if let Some(var_354) = &input.source_entity { + #[allow(unused_mut)] let mut object_355 = object.key("SourceEntity").start_object(); crate::json_ser::serialize_structure_crate_model_template_source_entity( &mut object_355, @@ -1478,6 +1562,7 @@ pub fn serialize_structure_crate_input_update_template_permissions_input( let mut array_359 = object.key("GrantPermissions").start_array(); for item_360 in var_358 { { + #[allow(unused_mut)] let mut object_361 = array_359.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_361, @@ -1492,6 +1577,7 @@ pub fn serialize_structure_crate_input_update_template_permissions_input( let mut array_363 = object.key("RevokePermissions").start_array(); for item_364 in var_362 { { + #[allow(unused_mut)] let mut object_365 = array_363.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_365, @@ -1513,6 +1599,7 @@ pub fn serialize_structure_crate_input_update_theme_input( object.key("BaseThemeId").string(var_366.as_str()); } if let Some(var_367) = &input.configuration { + #[allow(unused_mut)] let mut object_368 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_theme_configuration( &mut object_368, @@ -1550,6 +1637,7 @@ pub fn serialize_structure_crate_input_update_theme_permissions_input( let mut array_373 = object.key("GrantPermissions").start_array(); for item_374 in var_372 { { + #[allow(unused_mut)] let mut object_375 = array_373.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_375, @@ -1564,6 +1652,7 @@ pub fn serialize_structure_crate_input_update_theme_permissions_input( let mut array_377 = object.key("RevokePermissions").start_array(); for item_378 in var_376 { { + #[allow(unused_mut)] let mut object_379 = array_377.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_permission( &mut object_379, @@ -1647,6 +1736,7 @@ pub fn serialize_structure_crate_model_parameters( let mut array_391 = object.key("StringParameters").start_array(); for item_392 in var_390 { { + #[allow(unused_mut)] let mut object_393 = array_391.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_parameter( &mut object_393, @@ -1661,6 +1751,7 @@ pub fn serialize_structure_crate_model_parameters( let mut array_395 = object.key("IntegerParameters").start_array(); for item_396 in var_394 { { + #[allow(unused_mut)] let mut object_397 = array_395.value().start_object(); crate::json_ser::serialize_structure_crate_model_integer_parameter( &mut object_397, @@ -1675,6 +1766,7 @@ pub fn serialize_structure_crate_model_parameters( let mut array_399 = object.key("DecimalParameters").start_array(); for item_400 in var_398 { { + #[allow(unused_mut)] let mut object_401 = array_399.value().start_object(); crate::json_ser::serialize_structure_crate_model_decimal_parameter( &mut object_401, @@ -1689,6 +1781,7 @@ pub fn serialize_structure_crate_model_parameters( let mut array_403 = object.key("DateTimeParameters").start_array(); for item_404 in var_402 { { + #[allow(unused_mut)] let mut object_405 = array_403.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_time_parameter( &mut object_405, @@ -1726,6 +1819,7 @@ pub fn serialize_structure_crate_model_analysis_source_entity( input: &crate::model::AnalysisSourceEntity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_410) = &input.source_template { + #[allow(unused_mut)] let mut object_411 = object.key("SourceTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_analysis_source_template( &mut object_411, @@ -1741,6 +1835,7 @@ pub fn serialize_structure_crate_model_dashboard_publish_options( input: &crate::model::DashboardPublishOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_412) = &input.ad_hoc_filtering_option { + #[allow(unused_mut)] let mut object_413 = object.key("AdHocFilteringOption").start_object(); crate::json_ser::serialize_structure_crate_model_ad_hoc_filtering_option( &mut object_413, @@ -1749,6 +1844,7 @@ pub fn serialize_structure_crate_model_dashboard_publish_options( object_413.finish(); } if let Some(var_414) = &input.export_to_csv_option { + #[allow(unused_mut)] let mut object_415 = object.key("ExportToCSVOption").start_object(); crate::json_ser::serialize_structure_crate_model_export_to_csv_option( &mut object_415, @@ -1757,6 +1853,7 @@ pub fn serialize_structure_crate_model_dashboard_publish_options( object_415.finish(); } if let Some(var_416) = &input.sheet_controls_option { + #[allow(unused_mut)] let mut object_417 = object.key("SheetControlsOption").start_object(); crate::json_ser::serialize_structure_crate_model_sheet_controls_option( &mut object_417, @@ -1772,6 +1869,7 @@ pub fn serialize_structure_crate_model_dashboard_source_entity( input: &crate::model::DashboardSourceEntity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_418) = &input.source_template { + #[allow(unused_mut)] let mut object_419 = object.key("SourceTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_source_template( &mut object_419, @@ -1787,6 +1885,7 @@ pub fn serialize_structure_crate_model_column_group( input: &crate::model::ColumnGroup, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_420) = &input.geo_spatial_column_group { + #[allow(unused_mut)] let mut object_421 = object.key("GeoSpatialColumnGroup").start_object(); crate::json_ser::serialize_structure_crate_model_geo_spatial_column_group( &mut object_421, @@ -1869,6 +1968,7 @@ pub fn serialize_structure_crate_model_logical_table( let mut array_434 = object.key("DataTransforms").start_array(); for item_435 in var_433 { { + #[allow(unused_mut)] let mut object_436 = array_434.value().start_object(); crate::json_ser::serialize_union_crate_model_transform_operation( &mut object_436, @@ -1880,6 +1980,7 @@ pub fn serialize_structure_crate_model_logical_table( array_434.finish(); } if let Some(var_437) = &input.source { + #[allow(unused_mut)] let mut object_438 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_logical_table_source( &mut object_438, @@ -1896,6 +1997,7 @@ pub fn serialize_union_crate_model_physical_table( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::PhysicalTable::RelationalTable(inner) => { + #[allow(unused_mut)] let mut object_439 = object_89.key("RelationalTable").start_object(); crate::json_ser::serialize_structure_crate_model_relational_table( &mut object_439, @@ -1904,11 +2006,13 @@ pub fn serialize_union_crate_model_physical_table( object_439.finish(); } crate::model::PhysicalTable::CustomSql(inner) => { + #[allow(unused_mut)] let mut object_440 = object_89.key("CustomSql").start_object(); crate::json_ser::serialize_structure_crate_model_custom_sql(&mut object_440, inner)?; object_440.finish(); } crate::model::PhysicalTable::S3Source(inner) => { + #[allow(unused_mut)] let mut object_441 = object_89.key("S3Source").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source(&mut object_441, inner)?; object_441.finish(); @@ -1957,6 +2061,7 @@ pub fn serialize_structure_crate_model_row_level_permission_tag_configuration( let mut array_449 = object.key("TagRules").start_array(); for item_450 in var_448 { { + #[allow(unused_mut)] let mut object_451 = array_449.value().start_object(); crate::json_ser::serialize_structure_crate_model_row_level_permission_tag_rule( &mut object_451, @@ -1975,6 +2080,7 @@ pub fn serialize_structure_crate_model_data_source_credentials( input: &crate::model::DataSourceCredentials, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_452) = &input.credential_pair { + #[allow(unused_mut)] let mut object_453 = object.key("CredentialPair").start_object(); crate::json_ser::serialize_structure_crate_model_credential_pair(&mut object_453, var_452)?; object_453.finish(); @@ -1991,6 +2097,7 @@ pub fn serialize_union_crate_model_data_source_parameters( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::DataSourceParameters::AmazonElasticsearchParameters(inner) => { + #[allow(unused_mut)] let mut object_455 = object_102 .key("AmazonElasticsearchParameters") .start_object(); @@ -2001,6 +2108,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_455.finish(); } crate::model::DataSourceParameters::AthenaParameters(inner) => { + #[allow(unused_mut)] let mut object_456 = object_102.key("AthenaParameters").start_object(); crate::json_ser::serialize_structure_crate_model_athena_parameters( &mut object_456, @@ -2009,6 +2117,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_456.finish(); } crate::model::DataSourceParameters::AuroraParameters(inner) => { + #[allow(unused_mut)] let mut object_457 = object_102.key("AuroraParameters").start_object(); crate::json_ser::serialize_structure_crate_model_aurora_parameters( &mut object_457, @@ -2017,6 +2126,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_457.finish(); } crate::model::DataSourceParameters::AuroraPostgreSqlParameters(inner) => { + #[allow(unused_mut)] let mut object_458 = object_102.key("AuroraPostgreSqlParameters").start_object(); crate::json_ser::serialize_structure_crate_model_aurora_postgre_sql_parameters( &mut object_458, @@ -2025,6 +2135,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_458.finish(); } crate::model::DataSourceParameters::AwsIotAnalyticsParameters(inner) => { + #[allow(unused_mut)] let mut object_459 = object_102.key("AwsIotAnalyticsParameters").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iot_analytics_parameters( &mut object_459, @@ -2033,6 +2144,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_459.finish(); } crate::model::DataSourceParameters::JiraParameters(inner) => { + #[allow(unused_mut)] let mut object_460 = object_102.key("JiraParameters").start_object(); crate::json_ser::serialize_structure_crate_model_jira_parameters( &mut object_460, @@ -2041,6 +2153,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_460.finish(); } crate::model::DataSourceParameters::MariaDbParameters(inner) => { + #[allow(unused_mut)] let mut object_461 = object_102.key("MariaDbParameters").start_object(); crate::json_ser::serialize_structure_crate_model_maria_db_parameters( &mut object_461, @@ -2049,6 +2162,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_461.finish(); } crate::model::DataSourceParameters::MySqlParameters(inner) => { + #[allow(unused_mut)] let mut object_462 = object_102.key("MySqlParameters").start_object(); crate::json_ser::serialize_structure_crate_model_my_sql_parameters( &mut object_462, @@ -2057,6 +2171,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_462.finish(); } crate::model::DataSourceParameters::OracleParameters(inner) => { + #[allow(unused_mut)] let mut object_463 = object_102.key("OracleParameters").start_object(); crate::json_ser::serialize_structure_crate_model_oracle_parameters( &mut object_463, @@ -2065,6 +2180,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_463.finish(); } crate::model::DataSourceParameters::PostgreSqlParameters(inner) => { + #[allow(unused_mut)] let mut object_464 = object_102.key("PostgreSqlParameters").start_object(); crate::json_ser::serialize_structure_crate_model_postgre_sql_parameters( &mut object_464, @@ -2073,6 +2189,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_464.finish(); } crate::model::DataSourceParameters::PrestoParameters(inner) => { + #[allow(unused_mut)] let mut object_465 = object_102.key("PrestoParameters").start_object(); crate::json_ser::serialize_structure_crate_model_presto_parameters( &mut object_465, @@ -2081,6 +2198,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_465.finish(); } crate::model::DataSourceParameters::RdsParameters(inner) => { + #[allow(unused_mut)] let mut object_466 = object_102.key("RdsParameters").start_object(); crate::json_ser::serialize_structure_crate_model_rds_parameters( &mut object_466, @@ -2089,6 +2207,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_466.finish(); } crate::model::DataSourceParameters::RedshiftParameters(inner) => { + #[allow(unused_mut)] let mut object_467 = object_102.key("RedshiftParameters").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_parameters( &mut object_467, @@ -2097,11 +2216,13 @@ pub fn serialize_union_crate_model_data_source_parameters( object_467.finish(); } crate::model::DataSourceParameters::S3Parameters(inner) => { + #[allow(unused_mut)] let mut object_468 = object_102.key("S3Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_s3_parameters(&mut object_468, inner)?; object_468.finish(); } crate::model::DataSourceParameters::ServiceNowParameters(inner) => { + #[allow(unused_mut)] let mut object_469 = object_102.key("ServiceNowParameters").start_object(); crate::json_ser::serialize_structure_crate_model_service_now_parameters( &mut object_469, @@ -2110,6 +2231,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_469.finish(); } crate::model::DataSourceParameters::SnowflakeParameters(inner) => { + #[allow(unused_mut)] let mut object_470 = object_102.key("SnowflakeParameters").start_object(); crate::json_ser::serialize_structure_crate_model_snowflake_parameters( &mut object_470, @@ -2118,6 +2240,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_470.finish(); } crate::model::DataSourceParameters::SparkParameters(inner) => { + #[allow(unused_mut)] let mut object_471 = object_102.key("SparkParameters").start_object(); crate::json_ser::serialize_structure_crate_model_spark_parameters( &mut object_471, @@ -2126,6 +2249,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_471.finish(); } crate::model::DataSourceParameters::SqlServerParameters(inner) => { + #[allow(unused_mut)] let mut object_472 = object_102.key("SqlServerParameters").start_object(); crate::json_ser::serialize_structure_crate_model_sql_server_parameters( &mut object_472, @@ -2134,6 +2258,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_472.finish(); } crate::model::DataSourceParameters::TeradataParameters(inner) => { + #[allow(unused_mut)] let mut object_473 = object_102.key("TeradataParameters").start_object(); crate::json_ser::serialize_structure_crate_model_teradata_parameters( &mut object_473, @@ -2142,6 +2267,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_473.finish(); } crate::model::DataSourceParameters::TwitterParameters(inner) => { + #[allow(unused_mut)] let mut object_474 = object_102.key("TwitterParameters").start_object(); crate::json_ser::serialize_structure_crate_model_twitter_parameters( &mut object_474, @@ -2150,6 +2276,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_474.finish(); } crate::model::DataSourceParameters::AmazonOpenSearchParameters(inner) => { + #[allow(unused_mut)] let mut object_475 = object_102.key("AmazonOpenSearchParameters").start_object(); crate::json_ser::serialize_structure_crate_model_amazon_open_search_parameters( &mut object_475, @@ -2158,6 +2285,7 @@ pub fn serialize_union_crate_model_data_source_parameters( object_475.finish(); } crate::model::DataSourceParameters::ExasolParameters(inner) => { + #[allow(unused_mut)] let mut object_476 = object_102.key("ExasolParameters").start_object(); crate::json_ser::serialize_structure_crate_model_exasol_parameters( &mut object_476, @@ -2201,6 +2329,7 @@ pub fn serialize_structure_crate_model_template_source_entity( input: &crate::model::TemplateSourceEntity, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_478) = &input.source_analysis { + #[allow(unused_mut)] let mut object_479 = object.key("SourceAnalysis").start_object(); crate::json_ser::serialize_structure_crate_model_template_source_analysis( &mut object_479, @@ -2209,6 +2338,7 @@ pub fn serialize_structure_crate_model_template_source_entity( object_479.finish(); } if let Some(var_480) = &input.source_template { + #[allow(unused_mut)] let mut object_481 = object.key("SourceTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_template_source_template( &mut object_481, @@ -2224,6 +2354,7 @@ pub fn serialize_structure_crate_model_theme_configuration( input: &crate::model::ThemeConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_482) = &input.data_color_palette { + #[allow(unused_mut)] let mut object_483 = object.key("DataColorPalette").start_object(); crate::json_ser::serialize_structure_crate_model_data_color_palette( &mut object_483, @@ -2232,6 +2363,7 @@ pub fn serialize_structure_crate_model_theme_configuration( object_483.finish(); } if let Some(var_484) = &input.ui_color_palette { + #[allow(unused_mut)] let mut object_485 = object.key("UIColorPalette").start_object(); crate::json_ser::serialize_structure_crate_model_ui_color_palette( &mut object_485, @@ -2240,6 +2372,7 @@ pub fn serialize_structure_crate_model_theme_configuration( object_485.finish(); } if let Some(var_486) = &input.sheet { + #[allow(unused_mut)] let mut object_487 = object.key("Sheet").start_object(); crate::json_ser::serialize_structure_crate_model_sheet_style(&mut object_487, var_486)?; object_487.finish(); @@ -2252,11 +2385,13 @@ pub fn serialize_structure_crate_model_anonymous_user_embedding_experience_confi input: &crate::model::AnonymousUserEmbeddingExperienceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_488) = &input.dashboard { + #[allow(unused_mut)] let mut object_489 = object.key("Dashboard").start_object(); crate::json_ser::serialize_structure_crate_model_anonymous_user_dashboard_embedding_configuration(&mut object_489, var_488)?; object_489.finish(); } if let Some(var_490) = &input.dashboard_visual { + #[allow(unused_mut)] let mut object_491 = object.key("DashboardVisual").start_object(); crate::json_ser::serialize_structure_crate_model_anonymous_user_dashboard_visual_embedding_configuration(&mut object_491, var_490)?; object_491.finish(); @@ -2282,21 +2417,25 @@ pub fn serialize_structure_crate_model_registered_user_embedding_experience_conf input: &crate::model::RegisteredUserEmbeddingExperienceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_494) = &input.dashboard { + #[allow(unused_mut)] let mut object_495 = object.key("Dashboard").start_object(); crate::json_ser::serialize_structure_crate_model_registered_user_dashboard_embedding_configuration(&mut object_495, var_494)?; object_495.finish(); } if let Some(var_496) = &input.quick_sight_console { + #[allow(unused_mut)] let mut object_497 = object.key("QuickSightConsole").start_object(); crate::json_ser::serialize_structure_crate_model_registered_user_quick_sight_console_embedding_configuration(&mut object_497, var_496)?; object_497.finish(); } if let Some(var_498) = &input.q_search_bar { + #[allow(unused_mut)] let mut object_499 = object.key("QSearchBar").start_object(); crate::json_ser::serialize_structure_crate_model_registered_user_q_search_bar_embedding_configuration(&mut object_499, var_498)?; object_499.finish(); } if let Some(var_500) = &input.dashboard_visual { + #[allow(unused_mut)] let mut object_501 = object.key("DashboardVisual").start_object(); crate::json_ser::serialize_structure_crate_model_registered_user_dashboard_visual_embedding_configuration(&mut object_501, var_500)?; object_501.finish(); @@ -2460,6 +2599,7 @@ pub fn serialize_structure_crate_model_analysis_source_template( let mut array_531 = object.key("DataSetReferences").start_array(); for item_532 in var_530 { { + #[allow(unused_mut)] let mut object_533 = array_531.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_set_reference( &mut object_533, @@ -2514,6 +2654,7 @@ pub fn serialize_structure_crate_model_dashboard_source_template( let mut array_539 = object.key("DataSetReferences").start_array(); for item_540 in var_538 { { + #[allow(unused_mut)] let mut object_541 = array_539.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_set_reference( &mut object_541, @@ -2558,6 +2699,7 @@ pub fn serialize_union_crate_model_transform_operation( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::TransformOperation::ProjectOperation(inner) => { + #[allow(unused_mut)] let mut object_548 = object_436.key("ProjectOperation").start_object(); crate::json_ser::serialize_structure_crate_model_project_operation( &mut object_548, @@ -2566,6 +2708,7 @@ pub fn serialize_union_crate_model_transform_operation( object_548.finish(); } crate::model::TransformOperation::FilterOperation(inner) => { + #[allow(unused_mut)] let mut object_549 = object_436.key("FilterOperation").start_object(); crate::json_ser::serialize_structure_crate_model_filter_operation( &mut object_549, @@ -2574,6 +2717,7 @@ pub fn serialize_union_crate_model_transform_operation( object_549.finish(); } crate::model::TransformOperation::CreateColumnsOperation(inner) => { + #[allow(unused_mut)] let mut object_550 = object_436.key("CreateColumnsOperation").start_object(); crate::json_ser::serialize_structure_crate_model_create_columns_operation( &mut object_550, @@ -2582,6 +2726,7 @@ pub fn serialize_union_crate_model_transform_operation( object_550.finish(); } crate::model::TransformOperation::RenameColumnOperation(inner) => { + #[allow(unused_mut)] let mut object_551 = object_436.key("RenameColumnOperation").start_object(); crate::json_ser::serialize_structure_crate_model_rename_column_operation( &mut object_551, @@ -2590,6 +2735,7 @@ pub fn serialize_union_crate_model_transform_operation( object_551.finish(); } crate::model::TransformOperation::CastColumnTypeOperation(inner) => { + #[allow(unused_mut)] let mut object_552 = object_436.key("CastColumnTypeOperation").start_object(); crate::json_ser::serialize_structure_crate_model_cast_column_type_operation( &mut object_552, @@ -2598,6 +2744,7 @@ pub fn serialize_union_crate_model_transform_operation( object_552.finish(); } crate::model::TransformOperation::TagColumnOperation(inner) => { + #[allow(unused_mut)] let mut object_553 = object_436.key("TagColumnOperation").start_object(); crate::json_ser::serialize_structure_crate_model_tag_column_operation( &mut object_553, @@ -2606,6 +2753,7 @@ pub fn serialize_union_crate_model_transform_operation( object_553.finish(); } crate::model::TransformOperation::UntagColumnOperation(inner) => { + #[allow(unused_mut)] let mut object_554 = object_436.key("UntagColumnOperation").start_object(); crate::json_ser::serialize_structure_crate_model_untag_column_operation( &mut object_554, @@ -2629,6 +2777,7 @@ pub fn serialize_structure_crate_model_logical_table_source( input: &crate::model::LogicalTableSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_555) = &input.join_instruction { + #[allow(unused_mut)] let mut object_556 = object.key("JoinInstruction").start_object(); crate::json_ser::serialize_structure_crate_model_join_instruction( &mut object_556, @@ -2665,6 +2814,7 @@ pub fn serialize_structure_crate_model_relational_table( let mut array_564 = object.key("InputColumns").start_array(); for item_565 in var_563 { { + #[allow(unused_mut)] let mut object_566 = array_564.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_column( &mut object_566, @@ -2695,6 +2845,7 @@ pub fn serialize_structure_crate_model_custom_sql( let mut array_571 = object.key("Columns").start_array(); for item_572 in var_570 { { + #[allow(unused_mut)] let mut object_573 = array_571.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_column( &mut object_573, @@ -2716,6 +2867,7 @@ pub fn serialize_structure_crate_model_s3_source( object.key("DataSourceArn").string(var_574.as_str()); } if let Some(var_575) = &input.upload_settings { + #[allow(unused_mut)] let mut object_576 = object.key("UploadSettings").start_object(); crate::json_ser::serialize_structure_crate_model_upload_settings(&mut object_576, var_575)?; object_576.finish(); @@ -2724,6 +2876,7 @@ pub fn serialize_structure_crate_model_s3_source( let mut array_578 = object.key("InputColumns").start_array(); for item_579 in var_577 { { + #[allow(unused_mut)] let mut object_580 = array_578.value().start_object(); crate::json_ser::serialize_structure_crate_model_input_column( &mut object_580, @@ -2772,6 +2925,7 @@ pub fn serialize_structure_crate_model_credential_pair( let mut array_588 = object.key("AlternateDataSourceParameters").start_array(); for item_589 in var_587 { { + #[allow(unused_mut)] let mut object_590 = array_588.value().start_object(); crate::json_ser::serialize_union_crate_model_data_source_parameters( &mut object_590, @@ -2998,6 +3152,7 @@ pub fn serialize_structure_crate_model_s3_parameters( input: &crate::model::S3Parameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_614) = &input.manifest_file_location { + #[allow(unused_mut)] let mut object_615 = object.key("ManifestFileLocation").start_object(); crate::json_ser::serialize_structure_crate_model_manifest_file_location( &mut object_615, @@ -3141,6 +3296,7 @@ pub fn serialize_structure_crate_model_template_source_analysis( let mut array_630 = object.key("DataSetReferences").start_array(); for item_631 in var_629 { { + #[allow(unused_mut)] let mut object_632 = array_630.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_set_reference( &mut object_632, @@ -3252,11 +3408,13 @@ pub fn serialize_structure_crate_model_sheet_style( input: &crate::model::SheetStyle, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_657) = &input.tile { + #[allow(unused_mut)] let mut object_658 = object.key("Tile").start_object(); crate::json_ser::serialize_structure_crate_model_tile_style(&mut object_658, var_657)?; object_658.finish(); } if let Some(var_659) = &input.tile_layout { + #[allow(unused_mut)] let mut object_660 = object.key("TileLayout").start_object(); crate::json_ser::serialize_structure_crate_model_tile_layout_style( &mut object_660, @@ -3282,6 +3440,7 @@ pub fn serialize_structure_crate_model_anonymous_user_dashboard_visual_embedding input: &crate::model::AnonymousUserDashboardVisualEmbeddingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_662) = &input.initial_dashboard_visual_id { + #[allow(unused_mut)] let mut object_663 = object.key("InitialDashboardVisualId").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_visual_id( &mut object_663, @@ -3327,6 +3486,7 @@ pub fn serialize_structure_crate_model_registered_user_dashboard_visual_embeddin input: &crate::model::RegisteredUserDashboardVisualEmbeddingConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_667) = &input.initial_dashboard_visual_id { + #[allow(unused_mut)] let mut object_668 = object.key("InitialDashboardVisualId").start_object(); crate::json_ser::serialize_structure_crate_model_dashboard_visual_id( &mut object_668, @@ -3384,6 +3544,7 @@ pub fn serialize_structure_crate_model_create_columns_operation( let mut array_676 = object.key("Columns").start_array(); for item_677 in var_675 { { + #[allow(unused_mut)] let mut object_678 = array_676.value().start_object(); crate::json_ser::serialize_structure_crate_model_calculated_column( &mut object_678, @@ -3437,6 +3598,7 @@ pub fn serialize_structure_crate_model_tag_column_operation( let mut array_686 = object.key("Tags").start_array(); for item_687 in var_685 { { + #[allow(unused_mut)] let mut object_688 = array_686.value().start_object(); crate::json_ser::serialize_structure_crate_model_column_tag( &mut object_688, @@ -3480,6 +3642,7 @@ pub fn serialize_structure_crate_model_join_instruction( object.key("RightOperand").string(var_694.as_str()); } if let Some(var_695) = &input.left_join_key_properties { + #[allow(unused_mut)] let mut object_696 = object.key("LeftJoinKeyProperties").start_object(); crate::json_ser::serialize_structure_crate_model_join_key_properties( &mut object_696, @@ -3488,6 +3651,7 @@ pub fn serialize_structure_crate_model_join_instruction( object_696.finish(); } if let Some(var_697) = &input.right_join_key_properties { + #[allow(unused_mut)] let mut object_698 = object.key("RightJoinKeyProperties").start_object(); crate::json_ser::serialize_structure_crate_model_join_key_properties( &mut object_698, @@ -3560,6 +3724,7 @@ pub fn serialize_structure_crate_model_tile_style( input: &crate::model::TileStyle, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_710) = &input.border { + #[allow(unused_mut)] let mut object_711 = object.key("Border").start_object(); crate::json_ser::serialize_structure_crate_model_border_style(&mut object_711, var_710)?; object_711.finish(); @@ -3572,11 +3737,13 @@ pub fn serialize_structure_crate_model_tile_layout_style( input: &crate::model::TileLayoutStyle, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_712) = &input.gutter { + #[allow(unused_mut)] let mut object_713 = object.key("Gutter").start_object(); crate::json_ser::serialize_structure_crate_model_gutter_style(&mut object_713, var_712)?; object_713.finish(); } if let Some(var_714) = &input.margin { + #[allow(unused_mut)] let mut object_715 = object.key("Margin").start_object(); crate::json_ser::serialize_structure_crate_model_margin_style(&mut object_715, var_714)?; object_715.finish(); @@ -3624,6 +3791,7 @@ pub fn serialize_structure_crate_model_column_tag( object.key("ColumnGeographicRole").string(var_722.as_str()); } if let Some(var_723) = &input.column_description { + #[allow(unused_mut)] let mut object_724 = object.key("ColumnDescription").start_object(); crate::json_ser::serialize_structure_crate_model_column_description( &mut object_724, diff --git a/sdk/ram/src/json_ser.rs b/sdk/ram/src/json_ser.rs index dc037aa97471..6aa02a949159 100644 --- a/sdk/ram/src/json_ser.rs +++ b/sdk/ram/src/json_ser.rs @@ -114,6 +114,7 @@ pub fn serialize_structure_crate_input_create_resource_share_input( let mut array_29 = object.key("tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_31, item_30)?; object_31.finish(); @@ -324,6 +325,7 @@ pub fn serialize_structure_crate_input_get_resource_shares_input( let mut array_78 = object.key("tagFilters").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_80, @@ -552,6 +554,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_124 = object.key("tags").start_array(); for item_125 in var_123 { { + #[allow(unused_mut)] let mut object_126 = array_124.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_126, item_125)?; object_126.finish(); diff --git a/sdk/rbin/src/json_ser.rs b/sdk/rbin/src/json_ser.rs index be2042880f50..f98c33d38807 100644 --- a/sdk/rbin/src/json_ser.rs +++ b/sdk/rbin/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_rule_input( let mut array_3 = object.key("ResourceTags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_5, @@ -24,6 +25,7 @@ pub fn serialize_structure_crate_input_create_rule_input( object.key("ResourceType").string(var_6.as_str()); } if let Some(var_7) = &input.retention_period { + #[allow(unused_mut)] let mut object_8 = object.key("RetentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_8, var_7)?; object_8.finish(); @@ -32,6 +34,7 @@ pub fn serialize_structure_crate_input_create_rule_input( let mut array_10 = object.key("Tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -59,6 +62,7 @@ pub fn serialize_structure_crate_input_list_rules_input( let mut array_16 = object.key("ResourceTags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_18, @@ -83,6 +87,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -104,6 +109,7 @@ pub fn serialize_structure_crate_input_update_rule_input( let mut array_26 = object.key("ResourceTags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_28, @@ -118,6 +124,7 @@ pub fn serialize_structure_crate_input_update_rule_input( object.key("ResourceType").string(var_29.as_str()); } if let Some(var_30) = &input.retention_period { + #[allow(unused_mut)] let mut object_31 = object.key("RetentionPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_retention_period(&mut object_31, var_30)?; object_31.finish(); diff --git a/sdk/rdsdata/src/json_ser.rs b/sdk/rdsdata/src/json_ser.rs index ff4546555b4f..a88cb62f102a 100644 --- a/sdk/rdsdata/src/json_ser.rs +++ b/sdk/rdsdata/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_batch_execute_statement_input( let mut array_5 = array_3.value().start_array(); for item_6 in item_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_parameter( &mut object_7, @@ -125,6 +126,7 @@ pub fn serialize_structure_crate_input_execute_statement_input( let mut array_28 = object.key("parameters").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_parameter( &mut object_30, @@ -139,6 +141,7 @@ pub fn serialize_structure_crate_input_execute_statement_input( object.key("resourceArn").string(var_31.as_str()); } if let Some(var_32) = &input.result_set_options { + #[allow(unused_mut)] let mut object_33 = object.key("resultSetOptions").start_object(); crate::json_ser::serialize_structure_crate_model_result_set_options( &mut object_33, @@ -185,6 +188,7 @@ pub fn serialize_structure_crate_model_sql_parameter( object.key("name").string(var_41.as_str()); } if let Some(var_42) = &input.value { + #[allow(unused_mut)] let mut object_43 = object.key("value").start_object(); crate::json_ser::serialize_union_crate_model_field(&mut object_43, var_42)?; object_43.finish(); @@ -240,6 +244,7 @@ pub fn serialize_union_crate_model_field( .string_unchecked(&aws_smithy_types::base64::encode(inner)); } crate::model::Field::ArrayValue(inner) => { + #[allow(unused_mut)] let mut object_47 = object_43.key("arrayValue").start_object(); crate::json_ser::serialize_union_crate_model_array_value(&mut object_47, inner)?; object_47.finish(); @@ -304,6 +309,7 @@ pub fn serialize_union_crate_model_array_value( let mut array_56 = object_47.key("arrayValues").start_array(); for item_57 in inner { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_union_crate_model_array_value( &mut object_58, diff --git a/sdk/redshiftdata/src/json_ser.rs b/sdk/redshiftdata/src/json_ser.rs index 64655782fc2f..f8c05c427296 100644 --- a/sdk/redshiftdata/src/json_ser.rs +++ b/sdk/redshiftdata/src/json_ser.rs @@ -125,6 +125,7 @@ pub fn serialize_structure_crate_input_execute_statement_input( let mut array_30 = object.key("Parameters").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_parameter( &mut object_32, diff --git a/sdk/redshiftserverless/src/json_ser.rs b/sdk/redshiftserverless/src/json_ser.rs index f93ece70cfc7..b7af2e797f2d 100644 --- a/sdk/redshiftserverless/src/json_ser.rs +++ b/sdk/redshiftserverless/src/json_ser.rs @@ -93,6 +93,7 @@ pub fn serialize_structure_crate_input_create_namespace_input( let mut array_25 = object.key("tags").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_27, item_26)?; object_27.finish(); @@ -170,6 +171,7 @@ pub fn serialize_structure_crate_input_create_workgroup_input( let mut array_41 = object.key("configParameters").start_array(); for item_42 in var_40 { { + #[allow(unused_mut)] let mut object_43 = array_41.value().start_object(); crate::json_ser::serialize_structure_crate_model_config_parameter( &mut object_43, @@ -205,6 +207,7 @@ pub fn serialize_structure_crate_input_create_workgroup_input( let mut array_52 = object.key("tags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_54, item_53)?; object_54.finish(); @@ -591,6 +594,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_112 = object.key("tags").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_114, item_113)?; object_114.finish(); @@ -734,6 +738,7 @@ pub fn serialize_structure_crate_input_update_workgroup_input( let mut array_143 = object.key("configParameters").start_array(); for item_144 in var_142 { { + #[allow(unused_mut)] let mut object_145 = array_143.value().start_object(); crate::json_ser::serialize_structure_crate_model_config_parameter( &mut object_145, diff --git a/sdk/rekognition/src/json_ser.rs b/sdk/rekognition/src/json_ser.rs index e38f21359dbc..14f17ba8b76e 100644 --- a/sdk/rekognition/src/json_ser.rs +++ b/sdk/rekognition/src/json_ser.rs @@ -4,11 +4,13 @@ pub fn serialize_structure_crate_input_compare_faces_input( input: &crate::input::CompareFacesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.source_image { + #[allow(unused_mut)] let mut object_2 = object.key("SourceImage").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_2, var_1)?; object_2.finish(); } if let Some(var_3) = &input.target_image { + #[allow(unused_mut)] let mut object_4 = object.key("TargetImage").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_4, var_3)?; object_4.finish(); @@ -42,11 +44,13 @@ pub fn serialize_structure_crate_input_copy_project_version_input( object.key("VersionName").string(var_10.as_str()); } if let Some(var_11) = &input.output_config { + #[allow(unused_mut)] let mut object_12 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_12, var_11)?; object_12.finish(); } if let Some(var_13) = &input.tags { + #[allow(unused_mut)] let mut object_14 = object.key("Tags").start_object(); for (key_15, value_16) in var_13 { { @@ -69,6 +73,7 @@ pub fn serialize_structure_crate_input_create_collection_input( object.key("CollectionId").string(var_18.as_str()); } if let Some(var_19) = &input.tags { + #[allow(unused_mut)] let mut object_20 = object.key("Tags").start_object(); for (key_21, value_22) in var_19 { { @@ -85,6 +90,7 @@ pub fn serialize_structure_crate_input_create_dataset_input( input: &crate::input::CreateDatasetInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_23) = &input.dataset_source { + #[allow(unused_mut)] let mut object_24 = object.key("DatasetSource").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_source(&mut object_24, var_23)?; object_24.finish(); @@ -119,21 +125,25 @@ pub fn serialize_structure_crate_input_create_project_version_input( object.key("VersionName").string(var_29.as_str()); } if let Some(var_30) = &input.output_config { + #[allow(unused_mut)] let mut object_31 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_31, var_30)?; object_31.finish(); } if let Some(var_32) = &input.training_data { + #[allow(unused_mut)] let mut object_33 = object.key("TrainingData").start_object(); crate::json_ser::serialize_structure_crate_model_training_data(&mut object_33, var_32)?; object_33.finish(); } if let Some(var_34) = &input.testing_data { + #[allow(unused_mut)] let mut object_35 = object.key("TestingData").start_object(); crate::json_ser::serialize_structure_crate_model_testing_data(&mut object_35, var_34)?; object_35.finish(); } if let Some(var_36) = &input.tags { + #[allow(unused_mut)] let mut object_37 = object.key("Tags").start_object(); for (key_38, value_39) in var_36 { { @@ -153,6 +163,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( input: &crate::input::CreateStreamProcessorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.input { + #[allow(unused_mut)] let mut object_42 = object.key("Input").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_input( &mut object_42, @@ -161,6 +172,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( object_42.finish(); } if let Some(var_43) = &input.output { + #[allow(unused_mut)] let mut object_44 = object.key("Output").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_output( &mut object_44, @@ -172,6 +184,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( object.key("Name").string(var_45.as_str()); } if let Some(var_46) = &input.settings { + #[allow(unused_mut)] let mut object_47 = object.key("Settings").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_settings( &mut object_47, @@ -183,6 +196,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( object.key("RoleArn").string(var_48.as_str()); } if let Some(var_49) = &input.tags { + #[allow(unused_mut)] let mut object_50 = object.key("Tags").start_object(); for (key_51, value_52) in var_49 { { @@ -192,6 +206,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( object_50.finish(); } if let Some(var_53) = &input.notification_channel { + #[allow(unused_mut)] let mut object_54 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_notification_channel( &mut object_54, @@ -206,6 +221,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( let mut array_57 = object.key("RegionsOfInterest").start_array(); for item_58 in var_56 { { + #[allow(unused_mut)] let mut object_59 = array_57.value().start_object(); crate::json_ser::serialize_structure_crate_model_region_of_interest( &mut object_59, @@ -217,6 +233,7 @@ pub fn serialize_structure_crate_input_create_stream_processor_input( array_57.finish(); } if let Some(var_60) = &input.data_sharing_preference { + #[allow(unused_mut)] let mut object_61 = object.key("DataSharingPreference").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_data_sharing_preference( &mut object_61, @@ -403,6 +420,7 @@ pub fn serialize_structure_crate_input_detect_custom_labels_input( object.key("ProjectVersionArn").string(var_88.as_str()); } if let Some(var_89) = &input.image { + #[allow(unused_mut)] let mut object_90 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_90, var_89)?; object_90.finish(); @@ -427,6 +445,7 @@ pub fn serialize_structure_crate_input_detect_faces_input( input: &crate::input::DetectFacesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_93) = &input.image { + #[allow(unused_mut)] let mut object_94 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_94, var_93)?; object_94.finish(); @@ -448,6 +467,7 @@ pub fn serialize_structure_crate_input_detect_labels_input( input: &crate::input::DetectLabelsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_98) = &input.image { + #[allow(unused_mut)] let mut object_99 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_99, var_98)?; object_99.finish(); @@ -472,6 +492,7 @@ pub fn serialize_structure_crate_input_detect_moderation_labels_input( input: &crate::input::DetectModerationLabelsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.image { + #[allow(unused_mut)] let mut object_103 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_103, var_102)?; object_103.finish(); @@ -483,6 +504,7 @@ pub fn serialize_structure_crate_input_detect_moderation_labels_input( ); } if let Some(var_105) = &input.human_loop_config { + #[allow(unused_mut)] let mut object_106 = object.key("HumanLoopConfig").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_config( &mut object_106, @@ -498,11 +520,13 @@ pub fn serialize_structure_crate_input_detect_protective_equipment_input( input: &crate::input::DetectProtectiveEquipmentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_107) = &input.image { + #[allow(unused_mut)] let mut object_108 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_108, var_107)?; object_108.finish(); } if let Some(var_109) = &input.summarization_attributes { + #[allow(unused_mut)] let mut object_110 = object.key("SummarizationAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_protective_equipment_summarization_attributes(&mut object_110, var_109)?; object_110.finish(); @@ -515,11 +539,13 @@ pub fn serialize_structure_crate_input_detect_text_input( input: &crate::input::DetectTextInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_111) = &input.image { + #[allow(unused_mut)] let mut object_112 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_112, var_111)?; object_112.finish(); } if let Some(var_113) = &input.filters { + #[allow(unused_mut)] let mut object_114 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_detect_text_filters( &mut object_114, @@ -538,6 +564,7 @@ pub fn serialize_structure_crate_input_distribute_dataset_entries_input( let mut array_116 = object.key("Datasets").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_distribute_dataset( &mut object_118, @@ -736,6 +763,7 @@ pub fn serialize_structure_crate_input_index_faces_input( object.key("CollectionId").string(var_149.as_str()); } if let Some(var_150) = &input.image { + #[allow(unused_mut)] let mut object_151 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_151, var_150)?; object_151.finish(); @@ -924,6 +952,7 @@ pub fn serialize_structure_crate_input_recognize_celebrities_input( input: &crate::input::RecognizeCelebritiesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_185) = &input.image { + #[allow(unused_mut)] let mut object_186 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_186, var_185)?; object_186.finish(); @@ -964,6 +993,7 @@ pub fn serialize_structure_crate_input_search_faces_by_image_input( object.key("CollectionId").string(var_191.as_str()); } if let Some(var_192) = &input.image { + #[allow(unused_mut)] let mut object_193 = object.key("Image").start_object(); crate::json_ser::serialize_structure_crate_model_image(&mut object_193, var_192)?; object_193.finish(); @@ -991,6 +1021,7 @@ pub fn serialize_structure_crate_input_start_celebrity_recognition_input( input: &crate::input::StartCelebrityRecognitionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_197) = &input.video { + #[allow(unused_mut)] let mut object_198 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_198, var_197)?; object_198.finish(); @@ -999,6 +1030,7 @@ pub fn serialize_structure_crate_input_start_celebrity_recognition_input( object.key("ClientRequestToken").string(var_199.as_str()); } if let Some(var_200) = &input.notification_channel { + #[allow(unused_mut)] let mut object_201 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_201, @@ -1017,6 +1049,7 @@ pub fn serialize_structure_crate_input_start_content_moderation_input( input: &crate::input::StartContentModerationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_203) = &input.video { + #[allow(unused_mut)] let mut object_204 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_204, var_203)?; object_204.finish(); @@ -1031,6 +1064,7 @@ pub fn serialize_structure_crate_input_start_content_moderation_input( object.key("ClientRequestToken").string(var_206.as_str()); } if let Some(var_207) = &input.notification_channel { + #[allow(unused_mut)] let mut object_208 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_208, @@ -1049,6 +1083,7 @@ pub fn serialize_structure_crate_input_start_face_detection_input( input: &crate::input::StartFaceDetectionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_210) = &input.video { + #[allow(unused_mut)] let mut object_211 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_211, var_210)?; object_211.finish(); @@ -1057,6 +1092,7 @@ pub fn serialize_structure_crate_input_start_face_detection_input( object.key("ClientRequestToken").string(var_212.as_str()); } if let Some(var_213) = &input.notification_channel { + #[allow(unused_mut)] let mut object_214 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_214, @@ -1078,6 +1114,7 @@ pub fn serialize_structure_crate_input_start_face_search_input( input: &crate::input::StartFaceSearchInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_217) = &input.video { + #[allow(unused_mut)] let mut object_218 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_218, var_217)?; object_218.finish(); @@ -1095,6 +1132,7 @@ pub fn serialize_structure_crate_input_start_face_search_input( object.key("CollectionId").string(var_221.as_str()); } if let Some(var_222) = &input.notification_channel { + #[allow(unused_mut)] let mut object_223 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_223, @@ -1113,6 +1151,7 @@ pub fn serialize_structure_crate_input_start_label_detection_input( input: &crate::input::StartLabelDetectionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_225) = &input.video { + #[allow(unused_mut)] let mut object_226 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_226, var_225)?; object_226.finish(); @@ -1127,6 +1166,7 @@ pub fn serialize_structure_crate_input_start_label_detection_input( ); } if let Some(var_229) = &input.notification_channel { + #[allow(unused_mut)] let mut object_230 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_230, @@ -1145,6 +1185,7 @@ pub fn serialize_structure_crate_input_start_person_tracking_input( input: &crate::input::StartPersonTrackingInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_232) = &input.video { + #[allow(unused_mut)] let mut object_233 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_233, var_232)?; object_233.finish(); @@ -1153,6 +1194,7 @@ pub fn serialize_structure_crate_input_start_person_tracking_input( object.key("ClientRequestToken").string(var_234.as_str()); } if let Some(var_235) = &input.notification_channel { + #[allow(unused_mut)] let mut object_236 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_236, @@ -1193,6 +1235,7 @@ pub fn serialize_structure_crate_input_start_segment_detection_input( input: &crate::input::StartSegmentDetectionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_241) = &input.video { + #[allow(unused_mut)] let mut object_242 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_242, var_241)?; object_242.finish(); @@ -1201,6 +1244,7 @@ pub fn serialize_structure_crate_input_start_segment_detection_input( object.key("ClientRequestToken").string(var_243.as_str()); } if let Some(var_244) = &input.notification_channel { + #[allow(unused_mut)] let mut object_245 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_245, @@ -1212,6 +1256,7 @@ pub fn serialize_structure_crate_input_start_segment_detection_input( object.key("JobTag").string(var_246.as_str()); } if let Some(var_247) = &input.filters { + #[allow(unused_mut)] let mut object_248 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_start_segment_detection_filters( &mut object_248, @@ -1239,6 +1284,7 @@ pub fn serialize_structure_crate_input_start_stream_processor_input( object.key("Name").string(var_252.as_str()); } if let Some(var_253) = &input.start_selector { + #[allow(unused_mut)] let mut object_254 = object.key("StartSelector").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processing_start_selector( &mut object_254, @@ -1247,6 +1293,7 @@ pub fn serialize_structure_crate_input_start_stream_processor_input( object_254.finish(); } if let Some(var_255) = &input.stop_selector { + #[allow(unused_mut)] let mut object_256 = object.key("StopSelector").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processing_stop_selector( &mut object_256, @@ -1262,6 +1309,7 @@ pub fn serialize_structure_crate_input_start_text_detection_input( input: &crate::input::StartTextDetectionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_257) = &input.video { + #[allow(unused_mut)] let mut object_258 = object.key("Video").start_object(); crate::json_ser::serialize_structure_crate_model_video(&mut object_258, var_257)?; object_258.finish(); @@ -1270,6 +1318,7 @@ pub fn serialize_structure_crate_input_start_text_detection_input( object.key("ClientRequestToken").string(var_259.as_str()); } if let Some(var_260) = &input.notification_channel { + #[allow(unused_mut)] let mut object_261 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_261, @@ -1281,6 +1330,7 @@ pub fn serialize_structure_crate_input_start_text_detection_input( object.key("JobTag").string(var_262.as_str()); } if let Some(var_263) = &input.filters { + #[allow(unused_mut)] let mut object_264 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_start_text_detection_filters( &mut object_264, @@ -1319,6 +1369,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("ResourceArn").string(var_267.as_str()); } if let Some(var_268) = &input.tags { + #[allow(unused_mut)] let mut object_269 = object.key("Tags").start_object(); for (key_270, value_271) in var_268 { { @@ -1357,6 +1408,7 @@ pub fn serialize_structure_crate_input_update_dataset_entries_input( object.key("DatasetArn").string(var_276.as_str()); } if let Some(var_277) = &input.changes { + #[allow(unused_mut)] let mut object_278 = object.key("Changes").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_changes(&mut object_278, var_277)?; object_278.finish(); @@ -1372,6 +1424,7 @@ pub fn serialize_structure_crate_input_update_stream_processor_input( object.key("Name").string(var_279.as_str()); } if let Some(var_280) = &input.settings_for_update { + #[allow(unused_mut)] let mut object_281 = object.key("SettingsForUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_settings_for_update( &mut object_281, @@ -1383,6 +1436,7 @@ pub fn serialize_structure_crate_input_update_stream_processor_input( let mut array_283 = object.key("RegionsOfInterestForUpdate").start_array(); for item_284 in var_282 { { + #[allow(unused_mut)] let mut object_285 = array_283.value().start_object(); crate::json_ser::serialize_structure_crate_model_region_of_interest( &mut object_285, @@ -1394,6 +1448,7 @@ pub fn serialize_structure_crate_input_update_stream_processor_input( array_283.finish(); } if let Some(var_286) = &input.data_sharing_preference_for_update { + #[allow(unused_mut)] let mut object_287 = object.key("DataSharingPreferenceForUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_stream_processor_data_sharing_preference( &mut object_287, @@ -1423,6 +1478,7 @@ pub fn serialize_structure_crate_model_image( .string_unchecked(&aws_smithy_types::base64::encode(var_291)); } if let Some(var_292) = &input.s3_object { + #[allow(unused_mut)] let mut object_293 = object.key("S3Object").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object(&mut object_293, var_292)?; object_293.finish(); @@ -1448,6 +1504,7 @@ pub fn serialize_structure_crate_model_dataset_source( input: &crate::model::DatasetSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_296) = &input.ground_truth_manifest { + #[allow(unused_mut)] let mut object_297 = object.key("GroundTruthManifest").start_object(); crate::json_ser::serialize_structure_crate_model_ground_truth_manifest( &mut object_297, @@ -1469,6 +1526,7 @@ pub fn serialize_structure_crate_model_training_data( let mut array_300 = object.key("Assets").start_array(); for item_301 in var_299 { { + #[allow(unused_mut)] let mut object_302 = array_300.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset(&mut object_302, item_301)?; object_302.finish(); @@ -1487,6 +1545,7 @@ pub fn serialize_structure_crate_model_testing_data( let mut array_304 = object.key("Assets").start_array(); for item_305 in var_303 { { + #[allow(unused_mut)] let mut object_306 = array_304.value().start_object(); crate::json_ser::serialize_structure_crate_model_asset(&mut object_306, item_305)?; object_306.finish(); @@ -1505,6 +1564,7 @@ pub fn serialize_structure_crate_model_stream_processor_input( input: &crate::model::StreamProcessorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_307) = &input.kinesis_video_stream { + #[allow(unused_mut)] let mut object_308 = object.key("KinesisVideoStream").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_video_stream( &mut object_308, @@ -1520,6 +1580,7 @@ pub fn serialize_structure_crate_model_stream_processor_output( input: &crate::model::StreamProcessorOutput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_309) = &input.kinesis_data_stream { + #[allow(unused_mut)] let mut object_310 = object.key("KinesisDataStream").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_data_stream( &mut object_310, @@ -1528,6 +1589,7 @@ pub fn serialize_structure_crate_model_stream_processor_output( object_310.finish(); } if let Some(var_311) = &input.s3_destination { + #[allow(unused_mut)] let mut object_312 = object.key("S3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination(&mut object_312, var_311)?; object_312.finish(); @@ -1540,6 +1602,7 @@ pub fn serialize_structure_crate_model_stream_processor_settings( input: &crate::model::StreamProcessorSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_313) = &input.face_search { + #[allow(unused_mut)] let mut object_314 = object.key("FaceSearch").start_object(); crate::json_ser::serialize_structure_crate_model_face_search_settings( &mut object_314, @@ -1548,6 +1611,7 @@ pub fn serialize_structure_crate_model_stream_processor_settings( object_314.finish(); } if let Some(var_315) = &input.connected_home { + #[allow(unused_mut)] let mut object_316 = object.key("ConnectedHome").start_object(); crate::json_ser::serialize_structure_crate_model_connected_home_settings( &mut object_316, @@ -1573,6 +1637,7 @@ pub fn serialize_structure_crate_model_region_of_interest( input: &crate::model::RegionOfInterest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_318) = &input.bounding_box { + #[allow(unused_mut)] let mut object_319 = object.key("BoundingBox").start_object(); crate::json_ser::serialize_structure_crate_model_bounding_box(&mut object_319, var_318)?; object_319.finish(); @@ -1581,6 +1646,7 @@ pub fn serialize_structure_crate_model_region_of_interest( let mut array_321 = object.key("Polygon").start_array(); for item_322 in var_320 { { + #[allow(unused_mut)] let mut object_323 = array_321.value().start_object(); crate::json_ser::serialize_structure_crate_model_point(&mut object_323, item_322)?; object_323.finish(); @@ -1612,6 +1678,7 @@ pub fn serialize_structure_crate_model_human_loop_config( object.key("FlowDefinitionArn").string(var_325.as_str()); } if let Some(var_326) = &input.data_attributes { + #[allow(unused_mut)] let mut object_327 = object.key("DataAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_data_attributes( &mut object_327, @@ -1649,6 +1716,7 @@ pub fn serialize_structure_crate_model_detect_text_filters( input: &crate::model::DetectTextFilters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_332) = &input.word_filter { + #[allow(unused_mut)] let mut object_333 = object.key("WordFilter").start_object(); crate::json_ser::serialize_structure_crate_model_detection_filter( &mut object_333, @@ -1660,6 +1728,7 @@ pub fn serialize_structure_crate_model_detect_text_filters( let mut array_335 = object.key("RegionsOfInterest").start_array(); for item_336 in var_334 { { + #[allow(unused_mut)] let mut object_337 = array_335.value().start_object(); crate::json_ser::serialize_structure_crate_model_region_of_interest( &mut object_337, @@ -1688,6 +1757,7 @@ pub fn serialize_structure_crate_model_video( input: &crate::model::Video, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_339) = &input.s3_object { + #[allow(unused_mut)] let mut object_340 = object.key("S3Object").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object(&mut object_340, var_339)?; object_340.finish(); @@ -1713,6 +1783,7 @@ pub fn serialize_structure_crate_model_start_segment_detection_filters( input: &crate::model::StartSegmentDetectionFilters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_343) = &input.technical_cue_filter { + #[allow(unused_mut)] let mut object_344 = object.key("TechnicalCueFilter").start_object(); crate::json_ser::serialize_structure_crate_model_start_technical_cue_detection_filter( &mut object_344, @@ -1721,6 +1792,7 @@ pub fn serialize_structure_crate_model_start_segment_detection_filters( object_344.finish(); } if let Some(var_345) = &input.shot_filter { + #[allow(unused_mut)] let mut object_346 = object.key("ShotFilter").start_object(); crate::json_ser::serialize_structure_crate_model_start_shot_detection_filter( &mut object_346, @@ -1736,6 +1808,7 @@ pub fn serialize_structure_crate_model_stream_processing_start_selector( input: &crate::model::StreamProcessingStartSelector, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_347) = &input.kvs_stream_start_selector { + #[allow(unused_mut)] let mut object_348 = object.key("KVSStreamStartSelector").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_video_stream_start_selector( &mut object_348, @@ -1764,6 +1837,7 @@ pub fn serialize_structure_crate_model_start_text_detection_filters( input: &crate::model::StartTextDetectionFilters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_350) = &input.word_filter { + #[allow(unused_mut)] let mut object_351 = object.key("WordFilter").start_object(); crate::json_ser::serialize_structure_crate_model_detection_filter( &mut object_351, @@ -1775,6 +1849,7 @@ pub fn serialize_structure_crate_model_start_text_detection_filters( let mut array_353 = object.key("RegionsOfInterest").start_array(); for item_354 in var_352 { { + #[allow(unused_mut)] let mut object_355 = array_353.value().start_object(); crate::json_ser::serialize_structure_crate_model_region_of_interest( &mut object_355, @@ -1805,6 +1880,7 @@ pub fn serialize_structure_crate_model_stream_processor_settings_for_update( input: &crate::model::StreamProcessorSettingsForUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_357) = &input.connected_home_for_update { + #[allow(unused_mut)] let mut object_358 = object.key("ConnectedHomeForUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_connected_home_settings_for_update( &mut object_358, @@ -1836,6 +1912,7 @@ pub fn serialize_structure_crate_model_ground_truth_manifest( input: &crate::model::GroundTruthManifest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_362) = &input.s3_object { + #[allow(unused_mut)] let mut object_363 = object.key("S3Object").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object(&mut object_363, var_362)?; object_363.finish(); @@ -1848,6 +1925,7 @@ pub fn serialize_structure_crate_model_asset( input: &crate::model::Asset, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_364) = &input.ground_truth_manifest { + #[allow(unused_mut)] let mut object_365 = object.key("GroundTruthManifest").start_object(); crate::json_ser::serialize_structure_crate_model_ground_truth_manifest( &mut object_365, @@ -2031,6 +2109,7 @@ pub fn serialize_structure_crate_model_start_technical_cue_detection_filter( ); } if let Some(var_389) = &input.black_frame { + #[allow(unused_mut)] let mut object_390 = object.key("BlackFrame").start_object(); crate::json_ser::serialize_structure_crate_model_black_frame(&mut object_390, var_389)?; object_390.finish(); diff --git a/sdk/resiliencehub/src/json_ser.rs b/sdk/resiliencehub/src/json_ser.rs index ff032348d967..b8867831fae9 100644 --- a/sdk/resiliencehub/src/json_ser.rs +++ b/sdk/resiliencehub/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_draft_app_version_resource_mappings_i let mut array_3 = object.key("resourceMappings").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_mapping( &mut object_5, @@ -43,6 +44,7 @@ pub fn serialize_structure_crate_input_create_app_input( object.key("policyArn").string(var_10.as_str()); } if let Some(var_11) = &input.tags { + #[allow(unused_mut)] let mut object_12 = object.key("tags").start_object(); for (key_13, value_14) in var_11 { { @@ -92,6 +94,7 @@ pub fn serialize_structure_crate_input_create_recommendation_template_input( array_24.finish(); } if let Some(var_26) = &input.tags { + #[allow(unused_mut)] let mut object_27 = object.key("tags").start_object(); for (key_28, value_29) in var_26 { { @@ -114,9 +117,11 @@ pub fn serialize_structure_crate_input_create_resiliency_policy_input( object.key("dataLocationConstraint").string(var_31.as_str()); } if let Some(var_32) = &input.policy { + #[allow(unused_mut)] let mut object_33 = object.key("policy").start_object(); for (key_34, value_35) in var_32 { { + #[allow(unused_mut)] let mut object_36 = object_33.key(key_34.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_failure_policy( &mut object_36, @@ -134,6 +139,7 @@ pub fn serialize_structure_crate_input_create_resiliency_policy_input( object.key("policyName").string(var_38.as_str()); } if let Some(var_39) = &input.tags { + #[allow(unused_mut)] let mut object_40 = object.key("tags").start_object(); for (key_41, value_42) in var_39 { { @@ -294,6 +300,7 @@ pub fn serialize_structure_crate_input_import_resources_to_draft_app_version_inp let mut array_67 = object.key("terraformSources").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_terraform_source( &mut object_69, @@ -601,6 +608,7 @@ pub fn serialize_structure_crate_input_start_app_assessment_input( object.key("clientToken").string(var_126.as_str()); } if let Some(var_127) = &input.tags { + #[allow(unused_mut)] let mut object_128 = object.key("tags").start_object(); for (key_129, value_130) in var_127 { { @@ -617,6 +625,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_131) = &input.tags { + #[allow(unused_mut)] let mut object_132 = object.key("tags").start_object(); for (key_133, value_134) in var_131 { { @@ -660,9 +669,11 @@ pub fn serialize_structure_crate_input_update_resiliency_policy_input( .string(var_140.as_str()); } if let Some(var_141) = &input.policy { + #[allow(unused_mut)] let mut object_142 = object.key("policy").start_object(); for (key_143, value_144) in var_141 { { + #[allow(unused_mut)] let mut object_145 = object_142.key(key_143.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_failure_policy( &mut object_145, @@ -708,6 +719,7 @@ pub fn serialize_structure_crate_model_resource_mapping( object.key("mappingType").string(var_154.as_str()); } if let Some(var_155) = &input.physical_resource_id { + #[allow(unused_mut)] let mut object_156 = object.key("physicalResourceId").start_object(); crate::json_ser::serialize_structure_crate_model_physical_resource_id( &mut object_156, diff --git a/sdk/resourcegroups/src/json_ser.rs b/sdk/resourcegroups/src/json_ser.rs index f72748a688c8..8b8b91474c22 100644 --- a/sdk/resourcegroups/src/json_ser.rs +++ b/sdk/resourcegroups/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_group_input( let mut array_2 = object.key("Configuration").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_configuration_item( &mut object_4, @@ -24,11 +25,13 @@ pub fn serialize_structure_crate_input_create_group_input( object.key("Name").string(var_6.as_str()); } if let Some(var_7) = &input.resource_query { + #[allow(unused_mut)] let mut object_8 = object.key("ResourceQuery").start_object(); crate::json_ser::serialize_structure_crate_model_resource_query(&mut object_8, var_7)?; object_8.finish(); } if let Some(var_9) = &input.tags { + #[allow(unused_mut)] let mut object_10 = object.key("Tags").start_object(); for (key_11, value_12) in var_9 { { @@ -116,6 +119,7 @@ pub fn serialize_structure_crate_input_list_group_resources_input( let mut array_25 = object.key("Filters").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_filter( &mut object_27, @@ -152,6 +156,7 @@ pub fn serialize_structure_crate_input_list_groups_input( let mut array_33 = object.key("Filters").start_array(); for item_34 in var_32 { { + #[allow(unused_mut)] let mut object_35 = array_33.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_filter( &mut object_35, @@ -173,6 +178,7 @@ pub fn serialize_structure_crate_input_put_group_configuration_input( let mut array_37 = object.key("Configuration").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_configuration_item( &mut object_39, @@ -203,6 +209,7 @@ pub fn serialize_structure_crate_input_search_resources_input( object.key("NextToken").string(var_42.as_str()); } if let Some(var_43) = &input.resource_query { + #[allow(unused_mut)] let mut object_44 = object.key("ResourceQuery").start_object(); crate::json_ser::serialize_structure_crate_model_resource_query(&mut object_44, var_43)?; object_44.finish(); @@ -215,6 +222,7 @@ pub fn serialize_structure_crate_input_tag_input( input: &crate::input::TagInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.tags { + #[allow(unused_mut)] let mut object_46 = object.key("Tags").start_object(); for (key_47, value_48) in var_45 { { @@ -288,6 +296,7 @@ pub fn serialize_structure_crate_input_update_group_query_input( object.key("GroupName").string(var_60.as_str()); } if let Some(var_61) = &input.resource_query { + #[allow(unused_mut)] let mut object_62 = object.key("ResourceQuery").start_object(); crate::json_ser::serialize_structure_crate_model_resource_query(&mut object_62, var_61)?; object_62.finish(); @@ -306,6 +315,7 @@ pub fn serialize_structure_crate_model_group_configuration_item( let mut array_65 = object.key("Parameters").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_group_configuration_parameter( &mut object_67, diff --git a/sdk/resourcegroupstagging/src/json_ser.rs b/sdk/resourcegroupstagging/src/json_ser.rs index 632a0d0bddbc..211ee4935d63 100644 --- a/sdk/resourcegroupstagging/src/json_ser.rs +++ b/sdk/resourcegroupstagging/src/json_ser.rs @@ -71,6 +71,7 @@ pub fn serialize_structure_crate_input_get_resources_input( let mut array_20 = object.key("TagFilters").start_array(); for item_21 in var_19 { { + #[allow(unused_mut)] let mut object_22 = array_20.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter( &mut object_22, @@ -167,6 +168,7 @@ pub fn serialize_structure_crate_input_tag_resources_input( array_38.finish(); } if let Some(var_40) = &input.tags { + #[allow(unused_mut)] let mut object_41 = object.key("Tags").start_object(); for (key_42, value_43) in var_40 { { diff --git a/sdk/robomaker/src/json_ser.rs b/sdk/robomaker/src/json_ser.rs index fed9d76d6da3..b1dfd41fb22b 100644 --- a/sdk/robomaker/src/json_ser.rs +++ b/sdk/robomaker/src/json_ser.rs @@ -92,6 +92,7 @@ pub fn serialize_structure_crate_input_create_deployment_job_input( let mut array_14 = object.key("deploymentApplicationConfigs").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_deployment_application_config( &mut object_16, @@ -103,6 +104,7 @@ pub fn serialize_structure_crate_input_create_deployment_job_input( array_14.finish(); } if let Some(var_17) = &input.deployment_config { + #[allow(unused_mut)] let mut object_18 = object.key("deploymentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_config(&mut object_18, var_17)?; object_18.finish(); @@ -111,6 +113,7 @@ pub fn serialize_structure_crate_input_create_deployment_job_input( object.key("fleet").string(var_19.as_str()); } if let Some(var_20) = &input.tags { + #[allow(unused_mut)] let mut object_21 = object.key("tags").start_object(); for (key_22, value_23) in var_20 { { @@ -130,6 +133,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( object.key("name").string(var_24.as_str()); } if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { @@ -155,6 +159,7 @@ pub fn serialize_structure_crate_input_create_robot_input( object.key("name").string(var_31.as_str()); } if let Some(var_32) = &input.tags { + #[allow(unused_mut)] let mut object_33 = object.key("tags").start_object(); for (key_34, value_35) in var_32 { { @@ -171,6 +176,7 @@ pub fn serialize_structure_crate_input_create_robot_application_input( input: &crate::input::CreateRobotApplicationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_36) = &input.environment { + #[allow(unused_mut)] let mut object_37 = object.key("environment").start_object(); crate::json_ser::serialize_structure_crate_model_environment(&mut object_37, var_36)?; object_37.finish(); @@ -179,6 +185,7 @@ pub fn serialize_structure_crate_input_create_robot_application_input( object.key("name").string(var_38.as_str()); } if let Some(var_39) = &input.robot_software_suite { + #[allow(unused_mut)] let mut object_40 = object.key("robotSoftwareSuite").start_object(); crate::json_ser::serialize_structure_crate_model_robot_software_suite( &mut object_40, @@ -190,6 +197,7 @@ pub fn serialize_structure_crate_input_create_robot_application_input( let mut array_42 = object.key("sources").start_array(); for item_43 in var_41 { { + #[allow(unused_mut)] let mut object_44 = array_42.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_config( &mut object_44, @@ -201,6 +209,7 @@ pub fn serialize_structure_crate_input_create_robot_application_input( array_42.finish(); } if let Some(var_45) = &input.tags { + #[allow(unused_mut)] let mut object_46 = object.key("tags").start_object(); for (key_47, value_48) in var_45 { { @@ -242,6 +251,7 @@ pub fn serialize_structure_crate_input_create_simulation_application_input( input: &crate::input::CreateSimulationApplicationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_55) = &input.environment { + #[allow(unused_mut)] let mut object_56 = object.key("environment").start_object(); crate::json_ser::serialize_structure_crate_model_environment(&mut object_56, var_55)?; object_56.finish(); @@ -250,11 +260,13 @@ pub fn serialize_structure_crate_input_create_simulation_application_input( object.key("name").string(var_57.as_str()); } if let Some(var_58) = &input.rendering_engine { + #[allow(unused_mut)] let mut object_59 = object.key("renderingEngine").start_object(); crate::json_ser::serialize_structure_crate_model_rendering_engine(&mut object_59, var_58)?; object_59.finish(); } if let Some(var_60) = &input.robot_software_suite { + #[allow(unused_mut)] let mut object_61 = object.key("robotSoftwareSuite").start_object(); crate::json_ser::serialize_structure_crate_model_robot_software_suite( &mut object_61, @@ -263,6 +275,7 @@ pub fn serialize_structure_crate_input_create_simulation_application_input( object_61.finish(); } if let Some(var_62) = &input.simulation_software_suite { + #[allow(unused_mut)] let mut object_63 = object.key("simulationSoftwareSuite").start_object(); crate::json_ser::serialize_structure_crate_model_simulation_software_suite( &mut object_63, @@ -274,6 +287,7 @@ pub fn serialize_structure_crate_input_create_simulation_application_input( let mut array_65 = object.key("sources").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_config( &mut object_67, @@ -285,6 +299,7 @@ pub fn serialize_structure_crate_input_create_simulation_application_input( array_65.finish(); } if let Some(var_68) = &input.tags { + #[allow(unused_mut)] let mut object_69 = object.key("tags").start_object(); for (key_70, value_71) in var_68 { { @@ -329,6 +344,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( object.key("clientRequestToken").string(var_78.as_str()); } if let Some(var_79) = &input.compute { + #[allow(unused_mut)] let mut object_80 = object.key("compute").start_object(); crate::json_ser::serialize_structure_crate_model_compute(&mut object_80, var_79)?; object_80.finish(); @@ -337,6 +353,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( let mut array_82 = object.key("dataSources").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_config( &mut object_84, @@ -354,6 +371,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( object.key("iamRole").string(var_86.as_str()); } if let Some(var_87) = &input.logging_config { + #[allow(unused_mut)] let mut object_88 = object.key("loggingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_logging_config(&mut object_88, var_87)?; object_88.finish(); @@ -365,6 +383,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( ); } if let Some(var_89) = &input.output_location { + #[allow(unused_mut)] let mut object_90 = object.key("outputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_output_location(&mut object_90, var_89)?; object_90.finish(); @@ -373,6 +392,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( let mut array_92 = object.key("robotApplications").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_robot_application_config( &mut object_94, @@ -387,6 +407,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( let mut array_96 = object.key("simulationApplications").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_simulation_application_config( &mut object_98, @@ -398,6 +419,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( array_96.finish(); } if let Some(var_99) = &input.tags { + #[allow(unused_mut)] let mut object_100 = object.key("tags").start_object(); for (key_101, value_102) in var_99 { { @@ -407,6 +429,7 @@ pub fn serialize_structure_crate_input_create_simulation_job_input( object_100.finish(); } if let Some(var_103) = &input.vpc_config { + #[allow(unused_mut)] let mut object_104 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_104, var_103)?; object_104.finish(); @@ -425,11 +448,13 @@ pub fn serialize_structure_crate_input_create_world_export_job_input( object.key("iamRole").string(var_106.as_str()); } if let Some(var_107) = &input.output_location { + #[allow(unused_mut)] let mut object_108 = object.key("outputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_output_location(&mut object_108, var_107)?; object_108.finish(); } if let Some(var_109) = &input.tags { + #[allow(unused_mut)] let mut object_110 = object.key("tags").start_object(); for (key_111, value_112) in var_109 { { @@ -458,6 +483,7 @@ pub fn serialize_structure_crate_input_create_world_generation_job_input( object.key("clientRequestToken").string(var_116.as_str()); } if let Some(var_117) = &input.tags { + #[allow(unused_mut)] let mut object_118 = object.key("tags").start_object(); for (key_119, value_120) in var_117 { { @@ -470,11 +496,13 @@ pub fn serialize_structure_crate_input_create_world_generation_job_input( object.key("template").string(var_121.as_str()); } if let Some(var_122) = &input.world_count { + #[allow(unused_mut)] let mut object_123 = object.key("worldCount").start_object(); crate::json_ser::serialize_structure_crate_model_world_count(&mut object_123, var_122)?; object_123.finish(); } if let Some(var_124) = &input.world_tags { + #[allow(unused_mut)] let mut object_125 = object.key("worldTags").start_object(); for (key_126, value_127) in var_124 { { @@ -497,6 +525,7 @@ pub fn serialize_structure_crate_input_create_world_template_input( object.key("name").string(var_129.as_str()); } if let Some(var_130) = &input.tags { + #[allow(unused_mut)] let mut object_131 = object.key("tags").start_object(); for (key_132, value_133) in var_130 { { @@ -509,6 +538,7 @@ pub fn serialize_structure_crate_input_create_world_template_input( object.key("templateBody").string(var_134.as_str()); } if let Some(var_135) = &input.template_location { + #[allow(unused_mut)] let mut object_136 = object.key("templateLocation").start_object(); crate::json_ser::serialize_structure_crate_model_template_location( &mut object_136, @@ -725,6 +755,7 @@ pub fn serialize_structure_crate_input_list_deployment_jobs_input( let mut array_162 = object.key("filters").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_164, item_163)?; object_164.finish(); @@ -752,6 +783,7 @@ pub fn serialize_structure_crate_input_list_fleets_input( let mut array_168 = object.key("filters").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_170, item_169)?; object_170.finish(); @@ -779,6 +811,7 @@ pub fn serialize_structure_crate_input_list_robot_applications_input( let mut array_174 = object.key("filters").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_176, item_175)?; object_176.finish(); @@ -809,6 +842,7 @@ pub fn serialize_structure_crate_input_list_robots_input( let mut array_181 = object.key("filters").start_array(); for item_182 in var_180 { { + #[allow(unused_mut)] let mut object_183 = array_181.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_183, item_182)?; object_183.finish(); @@ -836,6 +870,7 @@ pub fn serialize_structure_crate_input_list_simulation_applications_input( let mut array_187 = object.key("filters").start_array(); for item_188 in var_186 { { + #[allow(unused_mut)] let mut object_189 = array_187.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_189, item_188)?; object_189.finish(); @@ -866,6 +901,7 @@ pub fn serialize_structure_crate_input_list_simulation_job_batches_input( let mut array_194 = object.key("filters").start_array(); for item_195 in var_193 { { + #[allow(unused_mut)] let mut object_196 = array_194.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_196, item_195)?; object_196.finish(); @@ -893,6 +929,7 @@ pub fn serialize_structure_crate_input_list_simulation_jobs_input( let mut array_200 = object.key("filters").start_array(); for item_201 in var_199 { { + #[allow(unused_mut)] let mut object_202 = array_200.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_202, item_201)?; object_202.finish(); @@ -920,6 +957,7 @@ pub fn serialize_structure_crate_input_list_world_export_jobs_input( let mut array_206 = object.key("filters").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_208, item_207)?; object_208.finish(); @@ -947,6 +985,7 @@ pub fn serialize_structure_crate_input_list_world_generation_jobs_input( let mut array_212 = object.key("filters").start_array(); for item_213 in var_211 { { + #[allow(unused_mut)] let mut object_214 = array_212.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_214, item_213)?; object_214.finish(); @@ -974,6 +1013,7 @@ pub fn serialize_structure_crate_input_list_worlds_input( let mut array_218 = object.key("filters").start_array(); for item_219 in var_217 { { + #[allow(unused_mut)] let mut object_220 = array_218.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_220, item_219)?; object_220.finish(); @@ -1037,6 +1077,7 @@ pub fn serialize_structure_crate_input_start_simulation_job_batch_input( input: &crate::input::StartSimulationJobBatchInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_228) = &input.batch_policy { + #[allow(unused_mut)] let mut object_229 = object.key("batchPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_batch_policy(&mut object_229, var_228)?; object_229.finish(); @@ -1048,6 +1089,7 @@ pub fn serialize_structure_crate_input_start_simulation_job_batch_input( let mut array_232 = object.key("createSimulationJobRequests").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_simulation_job_request( &mut object_234, @@ -1059,6 +1101,7 @@ pub fn serialize_structure_crate_input_start_simulation_job_batch_input( array_232.finish(); } if let Some(var_235) = &input.tags { + #[allow(unused_mut)] let mut object_236 = object.key("tags").start_object(); for (key_237, value_238) in var_235 { { @@ -1088,6 +1131,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_241) = &input.tags { + #[allow(unused_mut)] let mut object_242 = object.key("tags").start_object(); for (key_243, value_244) in var_241 { { @@ -1110,11 +1154,13 @@ pub fn serialize_structure_crate_input_update_robot_application_input( object.key("currentRevisionId").string(var_246.as_str()); } if let Some(var_247) = &input.environment { + #[allow(unused_mut)] let mut object_248 = object.key("environment").start_object(); crate::json_ser::serialize_structure_crate_model_environment(&mut object_248, var_247)?; object_248.finish(); } if let Some(var_249) = &input.robot_software_suite { + #[allow(unused_mut)] let mut object_250 = object.key("robotSoftwareSuite").start_object(); crate::json_ser::serialize_structure_crate_model_robot_software_suite( &mut object_250, @@ -1126,6 +1172,7 @@ pub fn serialize_structure_crate_input_update_robot_application_input( let mut array_252 = object.key("sources").start_array(); for item_253 in var_251 { { + #[allow(unused_mut)] let mut object_254 = array_252.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_config( &mut object_254, @@ -1150,11 +1197,13 @@ pub fn serialize_structure_crate_input_update_simulation_application_input( object.key("currentRevisionId").string(var_256.as_str()); } if let Some(var_257) = &input.environment { + #[allow(unused_mut)] let mut object_258 = object.key("environment").start_object(); crate::json_ser::serialize_structure_crate_model_environment(&mut object_258, var_257)?; object_258.finish(); } if let Some(var_259) = &input.rendering_engine { + #[allow(unused_mut)] let mut object_260 = object.key("renderingEngine").start_object(); crate::json_ser::serialize_structure_crate_model_rendering_engine( &mut object_260, @@ -1163,6 +1212,7 @@ pub fn serialize_structure_crate_input_update_simulation_application_input( object_260.finish(); } if let Some(var_261) = &input.robot_software_suite { + #[allow(unused_mut)] let mut object_262 = object.key("robotSoftwareSuite").start_object(); crate::json_ser::serialize_structure_crate_model_robot_software_suite( &mut object_262, @@ -1171,6 +1221,7 @@ pub fn serialize_structure_crate_input_update_simulation_application_input( object_262.finish(); } if let Some(var_263) = &input.simulation_software_suite { + #[allow(unused_mut)] let mut object_264 = object.key("simulationSoftwareSuite").start_object(); crate::json_ser::serialize_structure_crate_model_simulation_software_suite( &mut object_264, @@ -1182,6 +1233,7 @@ pub fn serialize_structure_crate_input_update_simulation_application_input( let mut array_266 = object.key("sources").start_array(); for item_267 in var_265 { { + #[allow(unused_mut)] let mut object_268 = array_266.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_config( &mut object_268, @@ -1209,6 +1261,7 @@ pub fn serialize_structure_crate_input_update_world_template_input( object.key("templateBody").string(var_271.as_str()); } if let Some(var_272) = &input.template_location { + #[allow(unused_mut)] let mut object_273 = object.key("templateLocation").start_object(); crate::json_ser::serialize_structure_crate_model_template_location( &mut object_273, @@ -1230,6 +1283,7 @@ pub fn serialize_structure_crate_model_deployment_application_config( object.key("applicationVersion").string(var_275.as_str()); } if let Some(var_276) = &input.launch_config { + #[allow(unused_mut)] let mut object_277 = object.key("launchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_launch_config( &mut object_277, @@ -1263,6 +1317,7 @@ pub fn serialize_structure_crate_model_deployment_config( ); } if let Some(var_281) = &input.download_condition_file { + #[allow(unused_mut)] let mut object_282 = object.key("downloadConditionFile").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object(&mut object_282, var_281)?; object_282.finish(); @@ -1419,6 +1474,7 @@ pub fn serialize_structure_crate_model_robot_application_config( object.key("applicationVersion").string(var_307.as_str()); } if let Some(var_308) = &input.launch_config { + #[allow(unused_mut)] let mut object_309 = object.key("launchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_launch_config(&mut object_309, var_308)?; object_309.finish(); @@ -1427,6 +1483,7 @@ pub fn serialize_structure_crate_model_robot_application_config( let mut array_311 = object.key("uploadConfigurations").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_upload_configuration( &mut object_313, @@ -1446,6 +1503,7 @@ pub fn serialize_structure_crate_model_robot_application_config( let mut array_316 = object.key("tools").start_array(); for item_317 in var_315 { { + #[allow(unused_mut)] let mut object_318 = array_316.value().start_object(); crate::json_ser::serialize_structure_crate_model_tool(&mut object_318, item_317)?; object_318.finish(); @@ -1470,6 +1528,7 @@ pub fn serialize_structure_crate_model_simulation_application_config( object.key("applicationVersion").string(var_321.as_str()); } if let Some(var_322) = &input.launch_config { + #[allow(unused_mut)] let mut object_323 = object.key("launchConfig").start_object(); crate::json_ser::serialize_structure_crate_model_launch_config(&mut object_323, var_322)?; object_323.finish(); @@ -1478,6 +1537,7 @@ pub fn serialize_structure_crate_model_simulation_application_config( let mut array_325 = object.key("uploadConfigurations").start_array(); for item_326 in var_324 { { + #[allow(unused_mut)] let mut object_327 = array_325.value().start_object(); crate::json_ser::serialize_structure_crate_model_upload_configuration( &mut object_327, @@ -1492,6 +1552,7 @@ pub fn serialize_structure_crate_model_simulation_application_config( let mut array_329 = object.key("worldConfigs").start_array(); for item_330 in var_328 { { + #[allow(unused_mut)] let mut object_331 = array_329.value().start_object(); crate::json_ser::serialize_structure_crate_model_world_config( &mut object_331, @@ -1511,6 +1572,7 @@ pub fn serialize_structure_crate_model_simulation_application_config( let mut array_334 = object.key("tools").start_array(); for item_335 in var_333 { { + #[allow(unused_mut)] let mut object_336 = array_334.value().start_object(); crate::json_ser::serialize_structure_crate_model_tool(&mut object_336, item_335)?; object_336.finish(); @@ -1627,11 +1689,13 @@ pub fn serialize_structure_crate_model_simulation_job_request( input: &crate::model::SimulationJobRequest, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_354) = &input.output_location { + #[allow(unused_mut)] let mut object_355 = object.key("outputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_output_location(&mut object_355, var_354)?; object_355.finish(); } if let Some(var_356) = &input.logging_config { + #[allow(unused_mut)] let mut object_357 = object.key("loggingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_logging_config(&mut object_357, var_356)?; object_357.finish(); @@ -1655,6 +1719,7 @@ pub fn serialize_structure_crate_model_simulation_job_request( let mut array_362 = object.key("robotApplications").start_array(); for item_363 in var_361 { { + #[allow(unused_mut)] let mut object_364 = array_362.value().start_object(); crate::json_ser::serialize_structure_crate_model_robot_application_config( &mut object_364, @@ -1669,6 +1734,7 @@ pub fn serialize_structure_crate_model_simulation_job_request( let mut array_366 = object.key("simulationApplications").start_array(); for item_367 in var_365 { { + #[allow(unused_mut)] let mut object_368 = array_366.value().start_object(); crate::json_ser::serialize_structure_crate_model_simulation_application_config( &mut object_368, @@ -1683,6 +1749,7 @@ pub fn serialize_structure_crate_model_simulation_job_request( let mut array_370 = object.key("dataSources").start_array(); for item_371 in var_369 { { + #[allow(unused_mut)] let mut object_372 = array_370.value().start_object(); crate::json_ser::serialize_structure_crate_model_data_source_config( &mut object_372, @@ -1694,16 +1761,19 @@ pub fn serialize_structure_crate_model_simulation_job_request( array_370.finish(); } if let Some(var_373) = &input.vpc_config { + #[allow(unused_mut)] let mut object_374 = object.key("vpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_374, var_373)?; object_374.finish(); } if let Some(var_375) = &input.compute { + #[allow(unused_mut)] let mut object_376 = object.key("compute").start_object(); crate::json_ser::serialize_structure_crate_model_compute(&mut object_376, var_375)?; object_376.finish(); } if let Some(var_377) = &input.tags { + #[allow(unused_mut)] let mut object_378 = object.key("tags").start_object(); for (key_379, value_380) in var_377 { { @@ -1732,6 +1802,7 @@ pub fn serialize_structure_crate_model_deployment_launch_config( object.key("postLaunchFile").string(var_384.as_str()); } if let Some(var_385) = &input.environment_variables { + #[allow(unused_mut)] let mut object_386 = object.key("environmentVariables").start_object(); for (key_387, value_388) in var_385 { { @@ -1770,6 +1841,7 @@ pub fn serialize_structure_crate_model_launch_config( object.key("launchFile").string(var_393.as_str()); } if let Some(var_394) = &input.environment_variables { + #[allow(unused_mut)] let mut object_395 = object.key("environmentVariables").start_object(); for (key_396, value_397) in var_394 { { @@ -1779,6 +1851,7 @@ pub fn serialize_structure_crate_model_launch_config( object_395.finish(); } if let Some(var_398) = &input.port_forwarding_config { + #[allow(unused_mut)] let mut object_399 = object.key("portForwardingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_port_forwarding_config( &mut object_399, @@ -1857,6 +1930,7 @@ pub fn serialize_structure_crate_model_port_forwarding_config( let mut array_413 = object.key("portMappings").start_array(); for item_414 in var_412 { { + #[allow(unused_mut)] let mut object_415 = array_413.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_mapping( &mut object_415, diff --git a/sdk/rolesanywhere/src/json_ser.rs b/sdk/rolesanywhere/src/json_ser.rs index ef2fa96bec85..3e9b610681c0 100644 --- a/sdk/rolesanywhere/src/json_ser.rs +++ b/sdk/rolesanywhere/src/json_ser.rs @@ -43,6 +43,7 @@ pub fn serialize_structure_crate_input_create_profile_input( let mut array_13 = object.key("tags").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_15, item_14)?; object_15.finish(); @@ -64,6 +65,7 @@ pub fn serialize_structure_crate_input_create_trust_anchor_input( object.key("name").string(var_17.as_str()); } if let Some(var_18) = &input.source { + #[allow(unused_mut)] let mut object_19 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_19, var_18)?; object_19.finish(); @@ -72,6 +74,7 @@ pub fn serialize_structure_crate_input_create_trust_anchor_input( let mut array_21 = object.key("tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -101,6 +104,7 @@ pub fn serialize_structure_crate_input_import_crl_input( let mut array_28 = object.key("tags").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_30, item_29)?; object_30.finish(); @@ -125,6 +129,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_34 = object.key("tags").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_36, item_35)?; object_36.finish(); @@ -214,6 +219,7 @@ pub fn serialize_structure_crate_input_update_trust_anchor_input( object.key("name").string(var_52.as_str()); } if let Some(var_53) = &input.source { + #[allow(unused_mut)] let mut object_54 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_54, var_53)?; object_54.finish(); @@ -242,6 +248,7 @@ pub fn serialize_structure_crate_model_source( object.key("sourceType").string(var_57.as_str()); } if let Some(var_58) = &input.source_data { + #[allow(unused_mut)] let mut object_59 = object.key("sourceData").start_object(); crate::json_ser::serialize_union_crate_model_source_data(&mut object_59, var_58)?; object_59.finish(); diff --git a/sdk/route53domains/src/json_ser.rs b/sdk/route53domains/src/json_ser.rs index cb76e6aebca9..005a6030330b 100644 --- a/sdk/route53domains/src/json_ser.rs +++ b/sdk/route53domains/src/json_ser.rs @@ -174,6 +174,7 @@ pub fn serialize_structure_crate_input_list_domains_input( let mut array_23 = object.key("FilterConditions").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter_condition( &mut object_25, @@ -185,6 +186,7 @@ pub fn serialize_structure_crate_input_list_domains_input( array_23.finish(); } if let Some(var_26) = &input.sort_condition { + #[allow(unused_mut)] let mut object_27 = object.key("SortCondition").start_object(); crate::json_ser::serialize_structure_crate_model_sort_condition(&mut object_27, var_26)?; object_27.finish(); @@ -271,16 +273,19 @@ pub fn serialize_structure_crate_input_register_domain_input( object.key("AutoRenew").boolean(*var_40); } if let Some(var_41) = &input.admin_contact { + #[allow(unused_mut)] let mut object_42 = object.key("AdminContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_42, var_41)?; object_42.finish(); } if let Some(var_43) = &input.registrant_contact { + #[allow(unused_mut)] let mut object_44 = object.key("RegistrantContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_44, var_43)?; object_44.finish(); } if let Some(var_45) = &input.tech_contact { + #[allow(unused_mut)] let mut object_46 = object.key("TechContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_46, var_45)?; object_46.finish(); @@ -371,6 +376,7 @@ pub fn serialize_structure_crate_input_transfer_domain_input( let mut array_59 = object.key("Nameservers").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_nameserver( &mut object_61, @@ -388,16 +394,19 @@ pub fn serialize_structure_crate_input_transfer_domain_input( object.key("AutoRenew").boolean(*var_63); } if let Some(var_64) = &input.admin_contact { + #[allow(unused_mut)] let mut object_65 = object.key("AdminContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_65, var_64)?; object_65.finish(); } if let Some(var_66) = &input.registrant_contact { + #[allow(unused_mut)] let mut object_67 = object.key("RegistrantContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_67, var_66)?; object_67.finish(); } if let Some(var_68) = &input.tech_contact { + #[allow(unused_mut)] let mut object_69 = object.key("TechContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_69, var_68)?; object_69.finish(); @@ -437,16 +446,19 @@ pub fn serialize_structure_crate_input_update_domain_contact_input( object.key("DomainName").string(var_75.as_str()); } if let Some(var_76) = &input.admin_contact { + #[allow(unused_mut)] let mut object_77 = object.key("AdminContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_77, var_76)?; object_77.finish(); } if let Some(var_78) = &input.registrant_contact { + #[allow(unused_mut)] let mut object_79 = object.key("RegistrantContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_79, var_78)?; object_79.finish(); } if let Some(var_80) = &input.tech_contact { + #[allow(unused_mut)] let mut object_81 = object.key("TechContact").start_object(); crate::json_ser::serialize_structure_crate_model_contact_detail(&mut object_81, var_80)?; object_81.finish(); @@ -487,6 +499,7 @@ pub fn serialize_structure_crate_input_update_domain_nameservers_input( let mut array_89 = object.key("Nameservers").start_array(); for item_90 in var_88 { { + #[allow(unused_mut)] let mut object_91 = array_89.value().start_object(); crate::json_ser::serialize_structure_crate_model_nameserver( &mut object_91, @@ -511,6 +524,7 @@ pub fn serialize_structure_crate_input_update_tags_for_domain_input( let mut array_94 = object.key("TagsToUpdate").start_array(); for item_95 in var_93 { { + #[allow(unused_mut)] let mut object_96 = array_94.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_96, item_95)?; object_96.finish(); @@ -629,6 +643,7 @@ pub fn serialize_structure_crate_model_contact_detail( let mut array_122 = object.key("ExtraParams").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_structure_crate_model_extra_param( &mut object_124, diff --git a/sdk/route53recoverycluster/src/json_ser.rs b/sdk/route53recoverycluster/src/json_ser.rs index d09fc4490f89..d2b9585491db 100644 --- a/sdk/route53recoverycluster/src/json_ser.rs +++ b/sdk/route53recoverycluster/src/json_ser.rs @@ -58,6 +58,7 @@ pub fn serialize_structure_crate_input_update_routing_control_states_input( let mut array_11 = object.key("UpdateRoutingControlStateEntries").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_routing_control_state_entry(&mut object_13, item_12)?; object_13.finish(); diff --git a/sdk/route53recoverycontrolconfig/src/json_ser.rs b/sdk/route53recoverycontrolconfig/src/json_ser.rs index 7a1cc3b6c16e..0de52e13c0c6 100644 --- a/sdk/route53recoverycontrolconfig/src/json_ser.rs +++ b/sdk/route53recoverycontrolconfig/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("ClusterName").string(var_2.as_str()); } if let Some(var_3) = &input.tags { + #[allow(unused_mut)] let mut object_4 = object.key("Tags").start_object(); for (key_5, value_6) in var_3 { { @@ -35,6 +36,7 @@ pub fn serialize_structure_crate_input_create_control_panel_input( object.key("ControlPanelName").string(var_9.as_str()); } if let Some(var_10) = &input.tags { + #[allow(unused_mut)] let mut object_11 = object.key("Tags").start_object(); for (key_12, value_13) in var_10 { { @@ -70,6 +72,7 @@ pub fn serialize_structure_crate_input_create_safety_rule_input( input: &crate::input::CreateSafetyRuleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_18) = &input.assertion_rule { + #[allow(unused_mut)] let mut object_19 = object.key("AssertionRule").start_object(); crate::json_ser::serialize_structure_crate_model_new_assertion_rule( &mut object_19, @@ -81,11 +84,13 @@ pub fn serialize_structure_crate_input_create_safety_rule_input( object.key("ClientToken").string(var_20.as_str()); } if let Some(var_21) = &input.gating_rule { + #[allow(unused_mut)] let mut object_22 = object.key("GatingRule").start_object(); crate::json_ser::serialize_structure_crate_model_new_gating_rule(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.tags { + #[allow(unused_mut)] let mut object_24 = object.key("Tags").start_object(); for (key_25, value_26) in var_23 { { @@ -102,6 +107,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_27) = &input.tags { + #[allow(unused_mut)] let mut object_28 = object.key("Tags").start_object(); for (key_29, value_30) in var_27 { { @@ -144,6 +150,7 @@ pub fn serialize_structure_crate_input_update_safety_rule_input( input: &crate::input::UpdateSafetyRuleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_35) = &input.assertion_rule_update { + #[allow(unused_mut)] let mut object_36 = object.key("AssertionRuleUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_assertion_rule_update( &mut object_36, @@ -152,6 +159,7 @@ pub fn serialize_structure_crate_input_update_safety_rule_input( object_36.finish(); } if let Some(var_37) = &input.gating_rule_update { + #[allow(unused_mut)] let mut object_38 = object.key("GatingRuleUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_gating_rule_update( &mut object_38, @@ -182,6 +190,7 @@ pub fn serialize_structure_crate_model_new_assertion_rule( object.key("Name").string(var_43.as_str()); } if let Some(var_44) = &input.rule_config { + #[allow(unused_mut)] let mut object_45 = object.key("RuleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_rule_config(&mut object_45, var_44)?; object_45.finish(); @@ -215,6 +224,7 @@ pub fn serialize_structure_crate_model_new_gating_rule( object.key("Name").string(var_50.as_str()); } if let Some(var_51) = &input.rule_config { + #[allow(unused_mut)] let mut object_52 = object.key("RuleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_rule_config(&mut object_52, var_51)?; object_52.finish(); diff --git a/sdk/route53recoveryreadiness/src/json_ser.rs b/sdk/route53recoveryreadiness/src/json_ser.rs index 39219f51b0f4..85c7ffc6c386 100644 --- a/sdk/route53recoveryreadiness/src/json_ser.rs +++ b/sdk/route53recoveryreadiness/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_cell_input( array_3.finish(); } if let Some(var_5) = &input.tags { + #[allow(unused_mut)] let mut object_6 = object.key("tags").start_object(); for (key_7, value_8) in var_5 { { @@ -50,6 +51,7 @@ pub fn serialize_structure_crate_input_create_readiness_check_input( object.key("resourceSetName").string(var_11.as_str()); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -78,6 +80,7 @@ pub fn serialize_structure_crate_input_create_recovery_group_input( object.key("recoveryGroupName").string(var_19.as_str()); } if let Some(var_20) = &input.tags { + #[allow(unused_mut)] let mut object_21 = object.key("tags").start_object(); for (key_22, value_23) in var_20 { { @@ -103,6 +106,7 @@ pub fn serialize_structure_crate_input_create_resource_set_input( let mut array_27 = object.key("resources").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_29, item_28)?; object_29.finish(); @@ -111,6 +115,7 @@ pub fn serialize_structure_crate_input_create_resource_set_input( array_27.finish(); } if let Some(var_30) = &input.tags { + #[allow(unused_mut)] let mut object_31 = object.key("tags").start_object(); for (key_32, value_33) in var_30 { { @@ -127,6 +132,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_34) = &input.tags { + #[allow(unused_mut)] let mut object_35 = object.key("tags").start_object(); for (key_36, value_37) in var_34 { { @@ -191,6 +197,7 @@ pub fn serialize_structure_crate_input_update_resource_set_input( let mut array_47 = object.key("resources").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource(&mut object_49, item_48)?; object_49.finish(); @@ -209,6 +216,7 @@ pub fn serialize_structure_crate_model_resource( object.key("componentId").string(var_50.as_str()); } if let Some(var_51) = &input.dns_target_resource { + #[allow(unused_mut)] let mut object_52 = object.key("dnsTargetResource").start_object(); crate::json_ser::serialize_structure_crate_model_dns_target_resource( &mut object_52, @@ -248,6 +256,7 @@ pub fn serialize_structure_crate_model_dns_target_resource( object.key("recordType").string(var_60.as_str()); } if let Some(var_61) = &input.target_resource { + #[allow(unused_mut)] let mut object_62 = object.key("targetResource").start_object(); crate::json_ser::serialize_structure_crate_model_target_resource(&mut object_62, var_61)?; object_62.finish(); @@ -260,11 +269,13 @@ pub fn serialize_structure_crate_model_target_resource( input: &crate::model::TargetResource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.nlb_resource { + #[allow(unused_mut)] let mut object_64 = object.key("nLBResource").start_object(); crate::json_ser::serialize_structure_crate_model_nlb_resource(&mut object_64, var_63)?; object_64.finish(); } if let Some(var_65) = &input.r53_resource { + #[allow(unused_mut)] let mut object_66 = object.key("r53Resource").start_object(); crate::json_ser::serialize_structure_crate_model_r53_resource_record( &mut object_66, diff --git a/sdk/route53resolver/src/json_ser.rs b/sdk/route53resolver/src/json_ser.rs index 71f0f6e86241..fa7429e2aa94 100644 --- a/sdk/route53resolver/src/json_ser.rs +++ b/sdk/route53resolver/src/json_ser.rs @@ -28,6 +28,7 @@ pub fn serialize_structure_crate_input_associate_firewall_rule_group_input( let mut array_8 = object.key("Tags").start_array(); for item_9 in var_7 { { + #[allow(unused_mut)] let mut object_10 = array_8.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_10, item_9)?; object_10.finish(); @@ -46,6 +47,7 @@ pub fn serialize_structure_crate_input_associate_resolver_endpoint_ip_address_in object.key("ResolverEndpointId").string(var_11.as_str()); } if let Some(var_12) = &input.ip_address { + #[allow(unused_mut)] let mut object_13 = object.key("IpAddress").start_object(); crate::json_ser::serialize_structure_crate_model_ip_address_update(&mut object_13, var_12)?; object_13.finish(); @@ -98,6 +100,7 @@ pub fn serialize_structure_crate_input_create_firewall_domain_list_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -165,6 +168,7 @@ pub fn serialize_structure_crate_input_create_firewall_rule_group_input( let mut array_38 = object.key("Tags").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -201,6 +205,7 @@ pub fn serialize_structure_crate_input_create_resolver_endpoint_input( let mut array_48 = object.key("IpAddresses").start_array(); for item_49 in var_47 { { + #[allow(unused_mut)] let mut object_50 = array_48.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_address_request( &mut object_50, @@ -215,6 +220,7 @@ pub fn serialize_structure_crate_input_create_resolver_endpoint_input( let mut array_52 = object.key("Tags").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_54, item_53)?; object_54.finish(); @@ -242,6 +248,7 @@ pub fn serialize_structure_crate_input_create_resolver_query_log_config_input( let mut array_59 = object.key("Tags").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_61, item_60)?; object_61.finish(); @@ -272,6 +279,7 @@ pub fn serialize_structure_crate_input_create_resolver_rule_input( let mut array_67 = object.key("TargetIps").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_address( &mut object_69, @@ -289,6 +297,7 @@ pub fn serialize_structure_crate_input_create_resolver_rule_input( let mut array_72 = object.key("Tags").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_74, item_73)?; object_74.finish(); @@ -384,6 +393,7 @@ pub fn serialize_structure_crate_input_disassociate_resolver_endpoint_ip_address object.key("ResolverEndpointId").string(var_83.as_str()); } if let Some(var_84) = &input.ip_address { + #[allow(unused_mut)] let mut object_85 = object.key("IpAddress").start_object(); crate::json_ser::serialize_structure_crate_model_ip_address_update(&mut object_85, var_84)?; object_85.finish(); @@ -742,6 +752,7 @@ pub fn serialize_structure_crate_input_list_resolver_dnssec_configs_input( let mut array_132 = object.key("Filters").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_134, item_133)?; object_134.finish(); @@ -788,6 +799,7 @@ pub fn serialize_structure_crate_input_list_resolver_endpoints_input( let mut array_141 = object.key("Filters").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_143, item_142)?; object_143.finish(); @@ -815,6 +827,7 @@ pub fn serialize_structure_crate_input_list_resolver_query_log_config_associatio let mut array_147 = object.key("Filters").start_array(); for item_148 in var_146 { { + #[allow(unused_mut)] let mut object_149 = array_147.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_149, item_148)?; object_149.finish(); @@ -848,6 +861,7 @@ pub fn serialize_structure_crate_input_list_resolver_query_log_configs_input( let mut array_155 = object.key("Filters").start_array(); for item_156 in var_154 { { + #[allow(unused_mut)] let mut object_157 = array_155.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_157, item_156)?; object_157.finish(); @@ -881,6 +895,7 @@ pub fn serialize_structure_crate_input_list_resolver_rule_associations_input( let mut array_163 = object.key("Filters").start_array(); for item_164 in var_162 { { + #[allow(unused_mut)] let mut object_165 = array_163.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_165, item_164)?; object_165.finish(); @@ -908,6 +923,7 @@ pub fn serialize_structure_crate_input_list_resolver_rules_input( let mut array_169 = object.key("Filters").start_array(); for item_170 in var_168 { { + #[allow(unused_mut)] let mut object_171 = array_169.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_171, item_170)?; object_171.finish(); @@ -991,6 +1007,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_183 = object.key("Tags").start_array(); for item_184 in var_182 { { + #[allow(unused_mut)] let mut object_185 = array_183.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_185, item_184)?; object_185.finish(); @@ -1168,6 +1185,7 @@ pub fn serialize_structure_crate_input_update_resolver_rule_input( object.key("ResolverRuleId").string(var_216.as_str()); } if let Some(var_217) = &input.config { + #[allow(unused_mut)] let mut object_218 = object.key("Config").start_object(); crate::json_ser::serialize_structure_crate_model_resolver_rule_config( &mut object_218, @@ -1266,6 +1284,7 @@ pub fn serialize_structure_crate_model_resolver_rule_config( let mut array_234 = object.key("TargetIps").start_array(); for item_235 in var_233 { { + #[allow(unused_mut)] let mut object_236 = array_234.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_address( &mut object_236, diff --git a/sdk/rum/src/json_ser.rs b/sdk/rum/src/json_ser.rs index 2c42ae04fe1e..d476a897be64 100644 --- a/sdk/rum/src/json_ser.rs +++ b/sdk/rum/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_app_monitor_input( input: &crate::input::CreateAppMonitorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.app_monitor_configuration { + #[allow(unused_mut)] let mut object_2 = object.key("AppMonitorConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_app_monitor_configuration( &mut object_2, @@ -21,6 +22,7 @@ pub fn serialize_structure_crate_input_create_app_monitor_input( object.key("Name").string(var_5.as_str()); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("Tags").start_object(); for (key_8, value_9) in var_6 { { @@ -40,6 +42,7 @@ pub fn serialize_structure_crate_input_get_app_monitor_data_input( let mut array_11 = object.key("Filters").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_query_filter( &mut object_13, @@ -60,6 +63,7 @@ pub fn serialize_structure_crate_input_get_app_monitor_data_input( object.key("NextToken").string(var_14.as_str()); } if let Some(var_15) = &input.time_range { + #[allow(unused_mut)] let mut object_16 = object.key("TimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_time_range(&mut object_16, var_15)?; object_16.finish(); @@ -72,6 +76,7 @@ pub fn serialize_structure_crate_input_put_rum_events_input( input: &crate::input::PutRumEventsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_17) = &input.app_monitor_details { + #[allow(unused_mut)] let mut object_18 = object.key("AppMonitorDetails").start_object(); crate::json_ser::serialize_structure_crate_model_app_monitor_details( &mut object_18, @@ -86,6 +91,7 @@ pub fn serialize_structure_crate_input_put_rum_events_input( let mut array_21 = object.key("RumEvents").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_rum_event( &mut object_23, @@ -97,6 +103,7 @@ pub fn serialize_structure_crate_input_put_rum_events_input( array_21.finish(); } if let Some(var_24) = &input.user_details { + #[allow(unused_mut)] let mut object_25 = object.key("UserDetails").start_object(); crate::json_ser::serialize_structure_crate_model_user_details(&mut object_25, var_24)?; object_25.finish(); @@ -109,6 +116,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_26) = &input.tags { + #[allow(unused_mut)] let mut object_27 = object.key("Tags").start_object(); for (key_28, value_29) in var_26 { { @@ -125,6 +133,7 @@ pub fn serialize_structure_crate_input_update_app_monitor_input( input: &crate::input::UpdateAppMonitorInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_30) = &input.app_monitor_configuration { + #[allow(unused_mut)] let mut object_31 = object.key("AppMonitorConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_app_monitor_configuration( &mut object_31, diff --git a/sdk/s3/src/xml_ser.rs b/sdk/s3/src/xml_ser.rs index 470a19af1744..1631819d3781 100644 --- a/sdk/s3/src/xml_ser.rs +++ b/sdk/s3/src/xml_ser.rs @@ -776,12 +776,8 @@ pub fn serialize_structure_crate_model_notification_configuration( } } } - if let Some(var_46) = &input.event_bridge_configuration { - let inner_writer = scope.start_el("EventBridgeConfiguration"); - crate::xml_ser::serialize_structure_crate_model_event_bridge_configuration( - var_46, - inner_writer, - )? + if let Some(_var_46) = &input.event_bridge_configuration { + scope.start_el("EventBridgeConfiguration").finish(); } scope.finish(); Ok(()) @@ -1065,9 +1061,8 @@ pub fn serialize_structure_crate_model_input_serialization( let inner_writer = scope.start_el("JSON"); crate::xml_ser::serialize_structure_crate_model_json_input(var_75, inner_writer)? } - if let Some(var_76) = &input.parquet { - let inner_writer = scope.start_el("Parquet"); - crate::xml_ser::serialize_structure_crate_model_parquet_input(var_76, inner_writer)? + if let Some(_var_76) = &input.parquet { + scope.start_el("Parquet").finish(); } scope.finish(); Ok(()) @@ -1654,17 +1649,6 @@ pub fn serialize_structure_crate_model_lambda_function_configuration( Ok(()) } -pub fn serialize_structure_crate_model_event_bridge_configuration( - input: &crate::model::EventBridgeConfiguration, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_ownership_controls_rule( input: &crate::model::OwnershipControlsRule, writer: aws_smithy_xml::encode::ElWriter, @@ -1939,17 +1923,6 @@ pub fn serialize_structure_crate_model_json_input( Ok(()) } -pub fn serialize_structure_crate_model_parquet_input( - input: &crate::model::ParquetInput, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_csv_output( input: &crate::model::CsvOutput, writer: aws_smithy_xml::encode::ElWriter, @@ -2628,9 +2601,8 @@ pub fn serialize_structure_crate_model_inventory_encryption( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { #[allow(unused_mut)] let mut scope = writer.finish(); - if let Some(var_236) = &input.sses3 { - let inner_writer = scope.start_el("SSE-S3"); - crate::xml_ser::serialize_structure_crate_model_sses3(var_236, inner_writer)? + if let Some(_var_236) = &input.sses3 { + scope.start_el("SSE-S3").finish(); } if let Some(var_237) = &input.ssekms { let inner_writer = scope.start_el("SSE-KMS"); @@ -2880,17 +2852,6 @@ pub fn serialize_structure_crate_model_analytics_s3_bucket_destination( Ok(()) } -pub fn serialize_structure_crate_model_sses3( - input: &crate::model::Sses3, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_ssekms( input: &crate::model::Ssekms, writer: aws_smithy_xml::encode::ElWriter, diff --git a/sdk/s3control/src/xml_ser.rs b/sdk/s3control/src/xml_ser.rs index a1646c031458..f248f8d02aa9 100644 --- a/sdk/s3control/src/xml_ser.rs +++ b/sdk/s3control/src/xml_ser.rs @@ -538,12 +538,8 @@ pub fn serialize_structure_crate_model_job_operation( inner_writer, )? } - if let Some(var_46) = &input.s3_delete_object_tagging { - let inner_writer = scope.start_el("S3DeleteObjectTagging"); - crate::xml_ser::serialize_structure_crate_model_s3_delete_object_tagging_operation( - var_46, - inner_writer, - )? + if let Some(_var_46) = &input.s3_delete_object_tagging { + scope.start_el("S3DeleteObjectTagging").finish(); } if let Some(var_47) = &input.s3_initiate_restore_object { let inner_writer = scope.start_el("S3InitiateRestoreObject"); @@ -566,12 +562,8 @@ pub fn serialize_structure_crate_model_job_operation( inner_writer, )? } - if let Some(var_50) = &input.s3_replicate_object { - let inner_writer = scope.start_el("S3ReplicateObject"); - crate::xml_ser::serialize_structure_crate_model_s3_replicate_object_operation( - var_50, - inner_writer, - )? + if let Some(_var_50) = &input.s3_replicate_object { + scope.start_el("S3ReplicateObject").finish(); } scope.finish(); Ok(()) @@ -1077,17 +1069,6 @@ pub fn serialize_structure_crate_model_s3_set_object_tagging_operation( Ok(()) } -pub fn serialize_structure_crate_model_s3_delete_object_tagging_operation( - input: &crate::model::S3DeleteObjectTaggingOperation, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_s3_initiate_restore_object_operation( input: &crate::model::S3InitiateRestoreObjectOperation, writer: aws_smithy_xml::encode::ElWriter, @@ -1141,17 +1122,6 @@ pub fn serialize_structure_crate_model_s3_set_object_retention_operation( Ok(()) } -pub fn serialize_structure_crate_model_s3_replicate_object_operation( - input: &crate::model::S3ReplicateObjectOperation, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_region( input: &crate::model::Region, writer: aws_smithy_xml::encode::ElWriter, @@ -1817,9 +1787,8 @@ pub fn serialize_structure_crate_model_generated_manifest_encryption( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { #[allow(unused_mut)] let mut scope = writer.finish(); - if let Some(var_189) = &input.sses3 { - let inner_writer = scope.start_el("SSE-S3"); - crate::xml_ser::serialize_structure_crate_model_sses3_encryption(var_189, inner_writer)? + if let Some(_var_189) = &input.sses3 { + scope.start_el("SSE-S3").finish(); } if let Some(var_190) = &input.ssekms { let inner_writer = scope.start_el("SSE-KMS"); @@ -1923,9 +1892,8 @@ pub fn serialize_structure_crate_model_storage_lens_data_export_encryption( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { #[allow(unused_mut)] let mut scope = writer.finish(); - if let Some(var_201) = &input.sses3 { - let inner_writer = scope.start_el("SSE-S3"); - crate::xml_ser::serialize_structure_crate_model_sses3(var_201, inner_writer)? + if let Some(_var_201) = &input.sses3 { + scope.start_el("SSE-S3").finish(); } if let Some(var_202) = &input.ssekms { let inner_writer = scope.start_el("SSE-KMS"); @@ -1935,17 +1903,6 @@ pub fn serialize_structure_crate_model_storage_lens_data_export_encryption( Ok(()) } -pub fn serialize_structure_crate_model_sses3_encryption( - input: &crate::model::Sses3Encryption, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_ssekms_encryption( input: &crate::model::SsekmsEncryption, writer: aws_smithy_xml::encode::ElWriter, @@ -1996,17 +1953,6 @@ pub fn serialize_structure_crate_model_prefix_level_storage_metrics( Ok(()) } -pub fn serialize_structure_crate_model_sses3( - input: &crate::model::Sses3, - writer: aws_smithy_xml::encode::ElWriter, -) -> Result<(), aws_smithy_http::operation::error::SerializationError> { - let _ = input; - #[allow(unused_mut)] - let mut scope = writer.finish(); - scope.finish(); - Ok(()) -} - pub fn serialize_structure_crate_model_ssekms( input: &crate::model::Ssekms, writer: aws_smithy_xml::encode::ElWriter, diff --git a/sdk/sagemaker/src/json_ser.rs b/sdk/sagemaker/src/json_ser.rs index dbf579f26b87..5a517f46f36e 100644 --- a/sdk/sagemaker/src/json_ser.rs +++ b/sdk/sagemaker/src/json_ser.rs @@ -26,6 +26,7 @@ pub fn serialize_structure_crate_input_add_tags_input( let mut array_6 = object.key("Tags").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_8, item_7)?; object_8.finish(); @@ -73,6 +74,7 @@ pub fn serialize_structure_crate_input_create_action_input( object.key("ActionName").string(var_14.as_str()); } if let Some(var_15) = &input.source { + #[allow(unused_mut)] let mut object_16 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_action_source(&mut object_16, var_15)?; object_16.finish(); @@ -87,6 +89,7 @@ pub fn serialize_structure_crate_input_create_action_input( object.key("Status").string(var_19.as_str()); } if let Some(var_20) = &input.properties { + #[allow(unused_mut)] let mut object_21 = object.key("Properties").start_object(); for (key_22, value_23) in var_20 { { @@ -96,6 +99,7 @@ pub fn serialize_structure_crate_input_create_action_input( object_21.finish(); } if let Some(var_24) = &input.metadata_properties { + #[allow(unused_mut)] let mut object_25 = object.key("MetadataProperties").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_properties( &mut object_25, @@ -107,6 +111,7 @@ pub fn serialize_structure_crate_input_create_action_input( let mut array_27 = object.key("Tags").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_29, item_28)?; object_29.finish(); @@ -128,6 +133,7 @@ pub fn serialize_structure_crate_input_create_algorithm_input( object.key("AlgorithmDescription").string(var_31.as_str()); } if let Some(var_32) = &input.training_specification { + #[allow(unused_mut)] let mut object_33 = object.key("TrainingSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_training_specification( &mut object_33, @@ -136,6 +142,7 @@ pub fn serialize_structure_crate_input_create_algorithm_input( object_33.finish(); } if let Some(var_34) = &input.inference_specification { + #[allow(unused_mut)] let mut object_35 = object.key("InferenceSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_inference_specification( &mut object_35, @@ -144,6 +151,7 @@ pub fn serialize_structure_crate_input_create_algorithm_input( object_35.finish(); } if let Some(var_36) = &input.validation_specification { + #[allow(unused_mut)] let mut object_37 = object.key("ValidationSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_algorithm_validation_specification( &mut object_37, @@ -160,6 +168,7 @@ pub fn serialize_structure_crate_input_create_algorithm_input( let mut array_39 = object.key("Tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -190,6 +199,7 @@ pub fn serialize_structure_crate_input_create_app_input( let mut array_47 = object.key("Tags").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_49, item_48)?; object_49.finish(); @@ -198,6 +208,7 @@ pub fn serialize_structure_crate_input_create_app_input( array_47.finish(); } if let Some(var_50) = &input.resource_spec { + #[allow(unused_mut)] let mut object_51 = object.key("ResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_51, var_50)?; object_51.finish(); @@ -216,6 +227,7 @@ pub fn serialize_structure_crate_input_create_app_image_config_input( let mut array_54 = object.key("Tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -224,6 +236,7 @@ pub fn serialize_structure_crate_input_create_app_image_config_input( array_54.finish(); } if let Some(var_57) = &input.kernel_gateway_image_config { + #[allow(unused_mut)] let mut object_58 = object.key("KernelGatewayImageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kernel_gateway_image_config( &mut object_58, @@ -242,6 +255,7 @@ pub fn serialize_structure_crate_input_create_artifact_input( object.key("ArtifactName").string(var_59.as_str()); } if let Some(var_60) = &input.source { + #[allow(unused_mut)] let mut object_61 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_source(&mut object_61, var_60)?; object_61.finish(); @@ -250,6 +264,7 @@ pub fn serialize_structure_crate_input_create_artifact_input( object.key("ArtifactType").string(var_62.as_str()); } if let Some(var_63) = &input.properties { + #[allow(unused_mut)] let mut object_64 = object.key("Properties").start_object(); for (key_65, value_66) in var_63 { { @@ -259,6 +274,7 @@ pub fn serialize_structure_crate_input_create_artifact_input( object_64.finish(); } if let Some(var_67) = &input.metadata_properties { + #[allow(unused_mut)] let mut object_68 = object.key("MetadataProperties").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_properties( &mut object_68, @@ -270,6 +286,7 @@ pub fn serialize_structure_crate_input_create_artifact_input( let mut array_70 = object.key("Tags").start_array(); for item_71 in var_69 { { + #[allow(unused_mut)] let mut object_72 = array_70.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_72, item_71)?; object_72.finish(); @@ -291,6 +308,7 @@ pub fn serialize_structure_crate_input_create_auto_ml_job_input( let mut array_75 = object.key("InputDataConfig").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_channel( &mut object_77, @@ -302,6 +320,7 @@ pub fn serialize_structure_crate_input_create_auto_ml_job_input( array_75.finish(); } if let Some(var_78) = &input.output_data_config { + #[allow(unused_mut)] let mut object_79 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_output_data_config( &mut object_79, @@ -313,6 +332,7 @@ pub fn serialize_structure_crate_input_create_auto_ml_job_input( object.key("ProblemType").string(var_80.as_str()); } if let Some(var_81) = &input.auto_ml_job_objective { + #[allow(unused_mut)] let mut object_82 = object.key("AutoMLJobObjective").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_job_objective( &mut object_82, @@ -321,6 +341,7 @@ pub fn serialize_structure_crate_input_create_auto_ml_job_input( object_82.finish(); } if let Some(var_83) = &input.auto_ml_job_config { + #[allow(unused_mut)] let mut object_84 = object.key("AutoMLJobConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_job_config( &mut object_84, @@ -340,6 +361,7 @@ pub fn serialize_structure_crate_input_create_auto_ml_job_input( let mut array_87 = object.key("Tags").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_89, item_88)?; object_89.finish(); @@ -348,6 +370,7 @@ pub fn serialize_structure_crate_input_create_auto_ml_job_input( array_87.finish(); } if let Some(var_90) = &input.model_deploy_config { + #[allow(unused_mut)] let mut object_91 = object.key("ModelDeployConfig").start_object(); crate::json_ser::serialize_structure_crate_model_model_deploy_config( &mut object_91, @@ -366,6 +389,7 @@ pub fn serialize_structure_crate_input_create_code_repository_input( object.key("CodeRepositoryName").string(var_92.as_str()); } if let Some(var_93) = &input.git_config { + #[allow(unused_mut)] let mut object_94 = object.key("GitConfig").start_object(); crate::json_ser::serialize_structure_crate_model_git_config(&mut object_94, var_93)?; object_94.finish(); @@ -374,6 +398,7 @@ pub fn serialize_structure_crate_input_create_code_repository_input( let mut array_96 = object.key("Tags").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_98, item_97)?; object_98.finish(); @@ -400,21 +425,25 @@ pub fn serialize_structure_crate_input_create_compilation_job_input( .string(var_101.as_str()); } if let Some(var_102) = &input.input_config { + #[allow(unused_mut)] let mut object_103 = object.key("InputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_config(&mut object_103, var_102)?; object_103.finish(); } if let Some(var_104) = &input.output_config { + #[allow(unused_mut)] let mut object_105 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_105, var_104)?; object_105.finish(); } if let Some(var_106) = &input.vpc_config { + #[allow(unused_mut)] let mut object_107 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_neo_vpc_config(&mut object_107, var_106)?; object_107.finish(); } if let Some(var_108) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_109 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_stopping_condition( &mut object_109, @@ -426,6 +455,7 @@ pub fn serialize_structure_crate_input_create_compilation_job_input( let mut array_111 = object.key("Tags").start_array(); for item_112 in var_110 { { + #[allow(unused_mut)] let mut object_113 = array_111.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_113, item_112)?; object_113.finish(); @@ -444,6 +474,7 @@ pub fn serialize_structure_crate_input_create_context_input( object.key("ContextName").string(var_114.as_str()); } if let Some(var_115) = &input.source { + #[allow(unused_mut)] let mut object_116 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_context_source(&mut object_116, var_115)?; object_116.finish(); @@ -455,6 +486,7 @@ pub fn serialize_structure_crate_input_create_context_input( object.key("Description").string(var_118.as_str()); } if let Some(var_119) = &input.properties { + #[allow(unused_mut)] let mut object_120 = object.key("Properties").start_object(); for (key_121, value_122) in var_119 { { @@ -467,6 +499,7 @@ pub fn serialize_structure_crate_input_create_context_input( let mut array_124 = object.key("Tags").start_array(); for item_125 in var_123 { { + #[allow(unused_mut)] let mut object_126 = array_124.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_126, item_125)?; object_126.finish(); @@ -485,6 +518,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object.key("JobDefinitionName").string(var_127.as_str()); } if let Some(var_128) = &input.data_quality_baseline_config { + #[allow(unused_mut)] let mut object_129 = object.key("DataQualityBaselineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_data_quality_baseline_config( &mut object_129, @@ -493,6 +527,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object_129.finish(); } if let Some(var_130) = &input.data_quality_app_specification { + #[allow(unused_mut)] let mut object_131 = object.key("DataQualityAppSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_data_quality_app_specification( &mut object_131, @@ -501,6 +536,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object_131.finish(); } if let Some(var_132) = &input.data_quality_job_input { + #[allow(unused_mut)] let mut object_133 = object.key("DataQualityJobInput").start_object(); crate::json_ser::serialize_structure_crate_model_data_quality_job_input( &mut object_133, @@ -509,6 +545,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object_133.finish(); } if let Some(var_134) = &input.data_quality_job_output_config { + #[allow(unused_mut)] let mut object_135 = object.key("DataQualityJobOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_output_config( &mut object_135, @@ -517,6 +554,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object_135.finish(); } if let Some(var_136) = &input.job_resources { + #[allow(unused_mut)] let mut object_137 = object.key("JobResources").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_resources( &mut object_137, @@ -525,6 +563,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object_137.finish(); } if let Some(var_138) = &input.network_config { + #[allow(unused_mut)] let mut object_139 = object.key("NetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_network_config( &mut object_139, @@ -536,6 +575,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( object.key("RoleArn").string(var_140.as_str()); } if let Some(var_141) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_142 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_stopping_condition( &mut object_142, @@ -547,6 +587,7 @@ pub fn serialize_structure_crate_input_create_data_quality_job_definition_input( let mut array_144 = object.key("Tags").start_array(); for item_145 in var_143 { { + #[allow(unused_mut)] let mut object_146 = array_144.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_146, item_145)?; object_146.finish(); @@ -571,6 +612,7 @@ pub fn serialize_structure_crate_input_create_device_fleet_input( object.key("Description").string(var_149.as_str()); } if let Some(var_150) = &input.output_config { + #[allow(unused_mut)] let mut object_151 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_edge_output_config( &mut object_151, @@ -582,6 +624,7 @@ pub fn serialize_structure_crate_input_create_device_fleet_input( let mut array_153 = object.key("Tags").start_array(); for item_154 in var_152 { { + #[allow(unused_mut)] let mut object_155 = array_153.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_155, item_154)?; object_155.finish(); @@ -606,6 +649,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object.key("AuthMode").string(var_158.as_str()); } if let Some(var_159) = &input.default_user_settings { + #[allow(unused_mut)] let mut object_160 = object.key("DefaultUserSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_settings(&mut object_160, var_159)?; object_160.finish(); @@ -626,6 +670,7 @@ pub fn serialize_structure_crate_input_create_domain_input( let mut array_166 = object.key("Tags").start_array(); for item_167 in var_165 { { + #[allow(unused_mut)] let mut object_168 = array_166.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_168, item_167)?; object_168.finish(); @@ -650,6 +695,7 @@ pub fn serialize_structure_crate_input_create_domain_input( .string(var_172.as_str()); } if let Some(var_173) = &input.domain_settings { + #[allow(unused_mut)] let mut object_174 = object.key("DomainSettings").start_object(); crate::json_ser::serialize_structure_crate_model_domain_settings(&mut object_174, var_173)?; object_174.finish(); @@ -670,6 +716,7 @@ pub fn serialize_structure_crate_input_create_edge_deployment_plan_input( let mut array_177 = object.key("ModelConfigs").start_array(); for item_178 in var_176 { { + #[allow(unused_mut)] let mut object_179 = array_177.value().start_object(); crate::json_ser::serialize_structure_crate_model_edge_deployment_model_config( &mut object_179, @@ -687,6 +734,7 @@ pub fn serialize_structure_crate_input_create_edge_deployment_plan_input( let mut array_182 = object.key("Stages").start_array(); for item_183 in var_181 { { + #[allow(unused_mut)] let mut object_184 = array_182.value().start_object(); crate::json_ser::serialize_structure_crate_model_deployment_stage( &mut object_184, @@ -701,6 +749,7 @@ pub fn serialize_structure_crate_input_create_edge_deployment_plan_input( let mut array_186 = object.key("Tags").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_188, item_187)?; object_188.finish(); @@ -724,6 +773,7 @@ pub fn serialize_structure_crate_input_create_edge_deployment_stage_input( let mut array_191 = object.key("Stages").start_array(); for item_192 in var_190 { { + #[allow(unused_mut)] let mut object_193 = array_191.value().start_object(); crate::json_ser::serialize_structure_crate_model_deployment_stage( &mut object_193, @@ -757,6 +807,7 @@ pub fn serialize_structure_crate_input_create_edge_packaging_job_input( object.key("RoleArn").string(var_198.as_str()); } if let Some(var_199) = &input.output_config { + #[allow(unused_mut)] let mut object_200 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_edge_output_config( &mut object_200, @@ -771,6 +822,7 @@ pub fn serialize_structure_crate_input_create_edge_packaging_job_input( let mut array_203 = object.key("Tags").start_array(); for item_204 in var_202 { { + #[allow(unused_mut)] let mut object_205 = array_203.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_205, item_204)?; object_205.finish(); @@ -792,6 +844,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( object.key("EndpointConfigName").string(var_207.as_str()); } if let Some(var_208) = &input.deployment_config { + #[allow(unused_mut)] let mut object_209 = object.key("DeploymentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_config( &mut object_209, @@ -803,6 +856,7 @@ pub fn serialize_structure_crate_input_create_endpoint_input( let mut array_211 = object.key("Tags").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_213, item_212)?; object_213.finish(); @@ -824,6 +878,7 @@ pub fn serialize_structure_crate_input_create_endpoint_config_input( let mut array_216 = object.key("ProductionVariants").start_array(); for item_217 in var_215 { { + #[allow(unused_mut)] let mut object_218 = array_216.value().start_object(); crate::json_ser::serialize_structure_crate_model_production_variant( &mut object_218, @@ -835,6 +890,7 @@ pub fn serialize_structure_crate_input_create_endpoint_config_input( array_216.finish(); } if let Some(var_219) = &input.data_capture_config { + #[allow(unused_mut)] let mut object_220 = object.key("DataCaptureConfig").start_object(); crate::json_ser::serialize_structure_crate_model_data_capture_config( &mut object_220, @@ -846,6 +902,7 @@ pub fn serialize_structure_crate_input_create_endpoint_config_input( let mut array_222 = object.key("Tags").start_array(); for item_223 in var_221 { { + #[allow(unused_mut)] let mut object_224 = array_222.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_224, item_223)?; object_224.finish(); @@ -857,6 +914,7 @@ pub fn serialize_structure_crate_input_create_endpoint_config_input( object.key("KmsKeyId").string(var_225.as_str()); } if let Some(var_226) = &input.async_inference_config { + #[allow(unused_mut)] let mut object_227 = object.key("AsyncInferenceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_async_inference_config( &mut object_227, @@ -865,6 +923,7 @@ pub fn serialize_structure_crate_input_create_endpoint_config_input( object_227.finish(); } if let Some(var_228) = &input.explainer_config { + #[allow(unused_mut)] let mut object_229 = object.key("ExplainerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_explainer_config( &mut object_229, @@ -892,6 +951,7 @@ pub fn serialize_structure_crate_input_create_experiment_input( let mut array_234 = object.key("Tags").start_array(); for item_235 in var_233 { { + #[allow(unused_mut)] let mut object_236 = array_234.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_236, item_235)?; object_236.finish(); @@ -921,6 +981,7 @@ pub fn serialize_structure_crate_input_create_feature_group_input( let mut array_241 = object.key("FeatureDefinitions").start_array(); for item_242 in var_240 { { + #[allow(unused_mut)] let mut object_243 = array_241.value().start_object(); crate::json_ser::serialize_structure_crate_model_feature_definition( &mut object_243, @@ -932,6 +993,7 @@ pub fn serialize_structure_crate_input_create_feature_group_input( array_241.finish(); } if let Some(var_244) = &input.online_store_config { + #[allow(unused_mut)] let mut object_245 = object.key("OnlineStoreConfig").start_object(); crate::json_ser::serialize_structure_crate_model_online_store_config( &mut object_245, @@ -940,6 +1002,7 @@ pub fn serialize_structure_crate_input_create_feature_group_input( object_245.finish(); } if let Some(var_246) = &input.offline_store_config { + #[allow(unused_mut)] let mut object_247 = object.key("OfflineStoreConfig").start_object(); crate::json_ser::serialize_structure_crate_model_offline_store_config( &mut object_247, @@ -957,6 +1020,7 @@ pub fn serialize_structure_crate_input_create_feature_group_input( let mut array_251 = object.key("Tags").start_array(); for item_252 in var_250 { { + #[allow(unused_mut)] let mut object_253 = array_251.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_253, item_252)?; object_253.finish(); @@ -975,6 +1039,7 @@ pub fn serialize_structure_crate_input_create_flow_definition_input( object.key("FlowDefinitionName").string(var_254.as_str()); } if let Some(var_255) = &input.human_loop_request_source { + #[allow(unused_mut)] let mut object_256 = object.key("HumanLoopRequestSource").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_request_source( &mut object_256, @@ -983,6 +1048,7 @@ pub fn serialize_structure_crate_input_create_flow_definition_input( object_256.finish(); } if let Some(var_257) = &input.human_loop_activation_config { + #[allow(unused_mut)] let mut object_258 = object.key("HumanLoopActivationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_activation_config( &mut object_258, @@ -991,6 +1057,7 @@ pub fn serialize_structure_crate_input_create_flow_definition_input( object_258.finish(); } if let Some(var_259) = &input.human_loop_config { + #[allow(unused_mut)] let mut object_260 = object.key("HumanLoopConfig").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_config( &mut object_260, @@ -999,6 +1066,7 @@ pub fn serialize_structure_crate_input_create_flow_definition_input( object_260.finish(); } if let Some(var_261) = &input.output_config { + #[allow(unused_mut)] let mut object_262 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_flow_definition_output_config( &mut object_262, @@ -1013,6 +1081,7 @@ pub fn serialize_structure_crate_input_create_flow_definition_input( let mut array_265 = object.key("Tags").start_array(); for item_266 in var_264 { { + #[allow(unused_mut)] let mut object_267 = array_265.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_267, item_266)?; object_267.finish(); @@ -1031,6 +1100,7 @@ pub fn serialize_structure_crate_input_create_human_task_ui_input( object.key("HumanTaskUiName").string(var_268.as_str()); } if let Some(var_269) = &input.ui_template { + #[allow(unused_mut)] let mut object_270 = object.key("UiTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_ui_template(&mut object_270, var_269)?; object_270.finish(); @@ -1039,6 +1109,7 @@ pub fn serialize_structure_crate_input_create_human_task_ui_input( let mut array_272 = object.key("Tags").start_array(); for item_273 in var_271 { { + #[allow(unused_mut)] let mut object_274 = array_272.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_274, item_273)?; object_274.finish(); @@ -1059,6 +1130,7 @@ pub fn serialize_structure_crate_input_create_hyper_parameter_tuning_job_input( .string(var_275.as_str()); } if let Some(var_276) = &input.hyper_parameter_tuning_job_config { + #[allow(unused_mut)] let mut object_277 = object.key("HyperParameterTuningJobConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_job_config( &mut object_277, @@ -1067,6 +1139,7 @@ pub fn serialize_structure_crate_input_create_hyper_parameter_tuning_job_input( object_277.finish(); } if let Some(var_278) = &input.training_job_definition { + #[allow(unused_mut)] let mut object_279 = object.key("TrainingJobDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_training_job_definition( &mut object_279, @@ -1078,6 +1151,7 @@ pub fn serialize_structure_crate_input_create_hyper_parameter_tuning_job_input( let mut array_281 = object.key("TrainingJobDefinitions").start_array(); for item_282 in var_280 { { + #[allow(unused_mut)] let mut object_283 = array_281.value().start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_training_job_definition(&mut object_283, item_282)?; object_283.finish(); @@ -1086,6 +1160,7 @@ pub fn serialize_structure_crate_input_create_hyper_parameter_tuning_job_input( array_281.finish(); } if let Some(var_284) = &input.warm_start_config { + #[allow(unused_mut)] let mut object_285 = object.key("WarmStartConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_job_warm_start_config(&mut object_285, var_284)?; object_285.finish(); @@ -1094,6 +1169,7 @@ pub fn serialize_structure_crate_input_create_hyper_parameter_tuning_job_input( let mut array_287 = object.key("Tags").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_289, item_288)?; object_289.finish(); @@ -1124,6 +1200,7 @@ pub fn serialize_structure_crate_input_create_image_input( let mut array_295 = object.key("Tags").start_array(); for item_296 in var_294 { { + #[allow(unused_mut)] let mut object_297 = array_295.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_297, item_296)?; object_297.finish(); @@ -1164,6 +1241,7 @@ pub fn serialize_structure_crate_input_create_inference_recommendations_job_inpu object.key("RoleArn").string(var_303.as_str()); } if let Some(var_304) = &input.input_config { + #[allow(unused_mut)] let mut object_305 = object.key("InputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_input_config( &mut object_305, @@ -1175,6 +1253,7 @@ pub fn serialize_structure_crate_input_create_inference_recommendations_job_inpu object.key("JobDescription").string(var_306.as_str()); } if let Some(var_307) = &input.stopping_conditions { + #[allow(unused_mut)] let mut object_308 = object.key("StoppingConditions").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_stopping_conditions( &mut object_308, @@ -1183,6 +1262,7 @@ pub fn serialize_structure_crate_input_create_inference_recommendations_job_inpu object_308.finish(); } if let Some(var_309) = &input.output_config { + #[allow(unused_mut)] let mut object_310 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_output_config( &mut object_310, @@ -1194,6 +1274,7 @@ pub fn serialize_structure_crate_input_create_inference_recommendations_job_inpu let mut array_312 = object.key("Tags").start_array(); for item_313 in var_311 { { + #[allow(unused_mut)] let mut object_314 = array_312.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_314, item_313)?; object_314.finish(); @@ -1215,6 +1296,7 @@ pub fn serialize_structure_crate_input_create_labeling_job_input( object.key("LabelAttributeName").string(var_316.as_str()); } if let Some(var_317) = &input.input_config { + #[allow(unused_mut)] let mut object_318 = object.key("InputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_input_config( &mut object_318, @@ -1223,6 +1305,7 @@ pub fn serialize_structure_crate_input_create_labeling_job_input( object_318.finish(); } if let Some(var_319) = &input.output_config { + #[allow(unused_mut)] let mut object_320 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_output_config( &mut object_320, @@ -1239,6 +1322,7 @@ pub fn serialize_structure_crate_input_create_labeling_job_input( .string(var_322.as_str()); } if let Some(var_323) = &input.stopping_conditions { + #[allow(unused_mut)] let mut object_324 = object.key("StoppingConditions").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_stopping_conditions( &mut object_324, @@ -1247,6 +1331,7 @@ pub fn serialize_structure_crate_input_create_labeling_job_input( object_324.finish(); } if let Some(var_325) = &input.labeling_job_algorithms_config { + #[allow(unused_mut)] let mut object_326 = object.key("LabelingJobAlgorithmsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_algorithms_config( &mut object_326, @@ -1255,6 +1340,7 @@ pub fn serialize_structure_crate_input_create_labeling_job_input( object_326.finish(); } if let Some(var_327) = &input.human_task_config { + #[allow(unused_mut)] let mut object_328 = object.key("HumanTaskConfig").start_object(); crate::json_ser::serialize_structure_crate_model_human_task_config( &mut object_328, @@ -1266,6 +1352,7 @@ pub fn serialize_structure_crate_input_create_labeling_job_input( let mut array_330 = object.key("Tags").start_array(); for item_331 in var_329 { { + #[allow(unused_mut)] let mut object_332 = array_330.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_332, item_331)?; object_332.finish(); @@ -1284,6 +1371,7 @@ pub fn serialize_structure_crate_input_create_model_input( object.key("ModelName").string(var_333.as_str()); } if let Some(var_334) = &input.primary_container { + #[allow(unused_mut)] let mut object_335 = object.key("PrimaryContainer").start_object(); crate::json_ser::serialize_structure_crate_model_container_definition( &mut object_335, @@ -1295,6 +1383,7 @@ pub fn serialize_structure_crate_input_create_model_input( let mut array_337 = object.key("Containers").start_array(); for item_338 in var_336 { { + #[allow(unused_mut)] let mut object_339 = array_337.value().start_object(); crate::json_ser::serialize_structure_crate_model_container_definition( &mut object_339, @@ -1306,6 +1395,7 @@ pub fn serialize_structure_crate_input_create_model_input( array_337.finish(); } if let Some(var_340) = &input.inference_execution_config { + #[allow(unused_mut)] let mut object_341 = object.key("InferenceExecutionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_inference_execution_config( &mut object_341, @@ -1320,6 +1410,7 @@ pub fn serialize_structure_crate_input_create_model_input( let mut array_344 = object.key("Tags").start_array(); for item_345 in var_343 { { + #[allow(unused_mut)] let mut object_346 = array_344.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_346, item_345)?; object_346.finish(); @@ -1328,6 +1419,7 @@ pub fn serialize_structure_crate_input_create_model_input( array_344.finish(); } if let Some(var_347) = &input.vpc_config { + #[allow(unused_mut)] let mut object_348 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_348, var_347)?; object_348.finish(); @@ -1348,6 +1440,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object.key("JobDefinitionName").string(var_349.as_str()); } if let Some(var_350) = &input.model_bias_baseline_config { + #[allow(unused_mut)] let mut object_351 = object.key("ModelBiasBaselineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_model_bias_baseline_config( &mut object_351, @@ -1356,6 +1449,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object_351.finish(); } if let Some(var_352) = &input.model_bias_app_specification { + #[allow(unused_mut)] let mut object_353 = object.key("ModelBiasAppSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_model_bias_app_specification( &mut object_353, @@ -1364,6 +1458,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object_353.finish(); } if let Some(var_354) = &input.model_bias_job_input { + #[allow(unused_mut)] let mut object_355 = object.key("ModelBiasJobInput").start_object(); crate::json_ser::serialize_structure_crate_model_model_bias_job_input( &mut object_355, @@ -1372,6 +1467,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object_355.finish(); } if let Some(var_356) = &input.model_bias_job_output_config { + #[allow(unused_mut)] let mut object_357 = object.key("ModelBiasJobOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_output_config( &mut object_357, @@ -1380,6 +1476,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object_357.finish(); } if let Some(var_358) = &input.job_resources { + #[allow(unused_mut)] let mut object_359 = object.key("JobResources").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_resources( &mut object_359, @@ -1388,6 +1485,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object_359.finish(); } if let Some(var_360) = &input.network_config { + #[allow(unused_mut)] let mut object_361 = object.key("NetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_network_config( &mut object_361, @@ -1399,6 +1497,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( object.key("RoleArn").string(var_362.as_str()); } if let Some(var_363) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_364 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_stopping_condition( &mut object_364, @@ -1410,6 +1509,7 @@ pub fn serialize_structure_crate_input_create_model_bias_job_definition_input( let mut array_366 = object.key("Tags").start_array(); for item_367 in var_365 { { + #[allow(unused_mut)] let mut object_368 = array_366.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_368, item_367)?; object_368.finish(); @@ -1428,6 +1528,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object.key("JobDefinitionName").string(var_369.as_str()); } if let Some(var_370) = &input.model_explainability_baseline_config { + #[allow(unused_mut)] let mut object_371 = object .key("ModelExplainabilityBaselineConfig") .start_object(); @@ -1438,6 +1539,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object_371.finish(); } if let Some(var_372) = &input.model_explainability_app_specification { + #[allow(unused_mut)] let mut object_373 = object .key("ModelExplainabilityAppSpecification") .start_object(); @@ -1448,6 +1550,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object_373.finish(); } if let Some(var_374) = &input.model_explainability_job_input { + #[allow(unused_mut)] let mut object_375 = object.key("ModelExplainabilityJobInput").start_object(); crate::json_ser::serialize_structure_crate_model_model_explainability_job_input( &mut object_375, @@ -1456,6 +1559,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object_375.finish(); } if let Some(var_376) = &input.model_explainability_job_output_config { + #[allow(unused_mut)] let mut object_377 = object .key("ModelExplainabilityJobOutputConfig") .start_object(); @@ -1466,6 +1570,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object_377.finish(); } if let Some(var_378) = &input.job_resources { + #[allow(unused_mut)] let mut object_379 = object.key("JobResources").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_resources( &mut object_379, @@ -1474,6 +1579,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object_379.finish(); } if let Some(var_380) = &input.network_config { + #[allow(unused_mut)] let mut object_381 = object.key("NetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_network_config( &mut object_381, @@ -1485,6 +1591,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio object.key("RoleArn").string(var_382.as_str()); } if let Some(var_383) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_384 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_stopping_condition( &mut object_384, @@ -1496,6 +1603,7 @@ pub fn serialize_structure_crate_input_create_model_explainability_job_definitio let mut array_386 = object.key("Tags").start_array(); for item_387 in var_385 { { + #[allow(unused_mut)] let mut object_388 = array_386.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_388, item_387)?; object_388.finish(); @@ -1522,6 +1630,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( .string(var_391.as_str()); } if let Some(var_392) = &input.inference_specification { + #[allow(unused_mut)] let mut object_393 = object.key("InferenceSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_inference_specification( &mut object_393, @@ -1530,6 +1639,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( object_393.finish(); } if let Some(var_394) = &input.validation_specification { + #[allow(unused_mut)] let mut object_395 = object.key("ValidationSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_model_package_validation_specification( &mut object_395, @@ -1538,6 +1648,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( object_395.finish(); } if let Some(var_396) = &input.source_algorithm_specification { + #[allow(unused_mut)] let mut object_397 = object.key("SourceAlgorithmSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_source_algorithm_specification( &mut object_397, @@ -1554,6 +1665,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( let mut array_399 = object.key("Tags").start_array(); for item_400 in var_398 { { + #[allow(unused_mut)] let mut object_401 = array_399.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_401, item_400)?; object_401.finish(); @@ -1565,6 +1677,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( object.key("ModelApprovalStatus").string(var_402.as_str()); } if let Some(var_403) = &input.metadata_properties { + #[allow(unused_mut)] let mut object_404 = object.key("MetadataProperties").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_properties( &mut object_404, @@ -1573,6 +1686,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( object_404.finish(); } if let Some(var_405) = &input.model_metrics { + #[allow(unused_mut)] let mut object_406 = object.key("ModelMetrics").start_object(); crate::json_ser::serialize_structure_crate_model_model_metrics(&mut object_406, var_405)?; object_406.finish(); @@ -1581,6 +1695,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( object.key("ClientToken").string(var_407.as_str()); } if let Some(var_408) = &input.customer_metadata_properties { + #[allow(unused_mut)] let mut object_409 = object.key("CustomerMetadataProperties").start_object(); for (key_410, value_411) in var_408 { { @@ -1590,6 +1705,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( object_409.finish(); } if let Some(var_412) = &input.drift_check_baselines { + #[allow(unused_mut)] let mut object_413 = object.key("DriftCheckBaselines").start_object(); crate::json_ser::serialize_structure_crate_model_drift_check_baselines( &mut object_413, @@ -1612,6 +1728,7 @@ pub fn serialize_structure_crate_input_create_model_package_input( .start_array(); for item_419 in var_417 { { + #[allow(unused_mut)] let mut object_420 = array_418.value().start_object(); crate::json_ser::serialize_structure_crate_model_additional_inference_specification_definition(&mut object_420, item_419)?; object_420.finish(); @@ -1638,6 +1755,7 @@ pub fn serialize_structure_crate_input_create_model_package_group_input( let mut array_424 = object.key("Tags").start_array(); for item_425 in var_423 { { + #[allow(unused_mut)] let mut object_426 = array_424.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_426, item_425)?; object_426.finish(); @@ -1656,6 +1774,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object.key("JobDefinitionName").string(var_427.as_str()); } if let Some(var_428) = &input.model_quality_baseline_config { + #[allow(unused_mut)] let mut object_429 = object.key("ModelQualityBaselineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_model_quality_baseline_config( &mut object_429, @@ -1664,6 +1783,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object_429.finish(); } if let Some(var_430) = &input.model_quality_app_specification { + #[allow(unused_mut)] let mut object_431 = object.key("ModelQualityAppSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_model_quality_app_specification( &mut object_431, @@ -1672,6 +1792,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object_431.finish(); } if let Some(var_432) = &input.model_quality_job_input { + #[allow(unused_mut)] let mut object_433 = object.key("ModelQualityJobInput").start_object(); crate::json_ser::serialize_structure_crate_model_model_quality_job_input( &mut object_433, @@ -1680,6 +1801,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object_433.finish(); } if let Some(var_434) = &input.model_quality_job_output_config { + #[allow(unused_mut)] let mut object_435 = object.key("ModelQualityJobOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_output_config( &mut object_435, @@ -1688,6 +1810,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object_435.finish(); } if let Some(var_436) = &input.job_resources { + #[allow(unused_mut)] let mut object_437 = object.key("JobResources").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_resources( &mut object_437, @@ -1696,6 +1819,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object_437.finish(); } if let Some(var_438) = &input.network_config { + #[allow(unused_mut)] let mut object_439 = object.key("NetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_network_config( &mut object_439, @@ -1707,6 +1831,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input object.key("RoleArn").string(var_440.as_str()); } if let Some(var_441) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_442 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_stopping_condition( &mut object_442, @@ -1718,6 +1843,7 @@ pub fn serialize_structure_crate_input_create_model_quality_job_definition_input let mut array_444 = object.key("Tags").start_array(); for item_445 in var_443 { { + #[allow(unused_mut)] let mut object_446 = array_444.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_446, item_445)?; object_446.finish(); @@ -1738,6 +1864,7 @@ pub fn serialize_structure_crate_input_create_monitoring_schedule_input( .string(var_447.as_str()); } if let Some(var_448) = &input.monitoring_schedule_config { + #[allow(unused_mut)] let mut object_449 = object.key("MonitoringScheduleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_schedule_config( &mut object_449, @@ -1749,6 +1876,7 @@ pub fn serialize_structure_crate_input_create_monitoring_schedule_input( let mut array_451 = object.key("Tags").start_array(); for item_452 in var_450 { { + #[allow(unused_mut)] let mut object_453 = array_451.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_453, item_452)?; object_453.finish(); @@ -1791,6 +1919,7 @@ pub fn serialize_structure_crate_input_create_notebook_instance_input( let mut array_463 = object.key("Tags").start_array(); for item_464 in var_462 { { + #[allow(unused_mut)] let mut object_465 = array_463.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_465, item_464)?; object_465.finish(); @@ -1838,6 +1967,7 @@ pub fn serialize_structure_crate_input_create_notebook_instance_input( object.key("PlatformIdentifier").string(var_477.as_str()); } if let Some(var_478) = &input.instance_metadata_service_configuration { + #[allow(unused_mut)] let mut object_479 = object .key("InstanceMetadataServiceConfiguration") .start_object(); @@ -1863,6 +1993,7 @@ pub fn serialize_structure_crate_input_create_notebook_instance_lifecycle_config let mut array_482 = object.key("OnCreate").start_array(); for item_483 in var_481 { { + #[allow(unused_mut)] let mut object_484 = array_482.value().start_object(); crate::json_ser::serialize_structure_crate_model_notebook_instance_lifecycle_hook( &mut object_484, @@ -1877,6 +2008,7 @@ pub fn serialize_structure_crate_input_create_notebook_instance_lifecycle_config let mut array_486 = object.key("OnStart").start_array(); for item_487 in var_485 { { + #[allow(unused_mut)] let mut object_488 = array_486.value().start_object(); crate::json_ser::serialize_structure_crate_model_notebook_instance_lifecycle_hook( &mut object_488, @@ -1904,6 +2036,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( object.key("PipelineDefinition").string(var_491.as_str()); } if let Some(var_492) = &input.pipeline_definition_s3_location { + #[allow(unused_mut)] let mut object_493 = object.key("PipelineDefinitionS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_definition_s3_location( &mut object_493, @@ -1924,6 +2057,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( let mut array_498 = object.key("Tags").start_array(); for item_499 in var_497 { { + #[allow(unused_mut)] let mut object_500 = array_498.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_500, item_499)?; object_500.finish(); @@ -1932,6 +2066,7 @@ pub fn serialize_structure_crate_input_create_pipeline_input( array_498.finish(); } if let Some(var_501) = &input.parallelism_configuration { + #[allow(unused_mut)] let mut object_502 = object.key("ParallelismConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration( &mut object_502, @@ -1991,6 +2126,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( let mut array_510 = object.key("ProcessingInputs").start_array(); for item_511 in var_509 { { + #[allow(unused_mut)] let mut object_512 = array_510.value().start_object(); crate::json_ser::serialize_structure_crate_model_processing_input( &mut object_512, @@ -2002,6 +2138,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( array_510.finish(); } if let Some(var_513) = &input.processing_output_config { + #[allow(unused_mut)] let mut object_514 = object.key("ProcessingOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_processing_output_config( &mut object_514, @@ -2013,6 +2150,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( object.key("ProcessingJobName").string(var_515.as_str()); } if let Some(var_516) = &input.processing_resources { + #[allow(unused_mut)] let mut object_517 = object.key("ProcessingResources").start_object(); crate::json_ser::serialize_structure_crate_model_processing_resources( &mut object_517, @@ -2021,6 +2159,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( object_517.finish(); } if let Some(var_518) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_519 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_processing_stopping_condition( &mut object_519, @@ -2029,6 +2168,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( object_519.finish(); } if let Some(var_520) = &input.app_specification { + #[allow(unused_mut)] let mut object_521 = object.key("AppSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_app_specification( &mut object_521, @@ -2037,6 +2177,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( object_521.finish(); } if let Some(var_522) = &input.environment { + #[allow(unused_mut)] let mut object_523 = object.key("Environment").start_object(); for (key_524, value_525) in var_522 { { @@ -2046,6 +2187,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( object_523.finish(); } if let Some(var_526) = &input.network_config { + #[allow(unused_mut)] let mut object_527 = object.key("NetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_network_config(&mut object_527, var_526)?; object_527.finish(); @@ -2057,6 +2199,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( let mut array_530 = object.key("Tags").start_array(); for item_531 in var_529 { { + #[allow(unused_mut)] let mut object_532 = array_530.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_532, item_531)?; object_532.finish(); @@ -2065,6 +2208,7 @@ pub fn serialize_structure_crate_input_create_processing_job_input( array_530.finish(); } if let Some(var_533) = &input.experiment_config { + #[allow(unused_mut)] let mut object_534 = object.key("ExperimentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_config( &mut object_534, @@ -2086,6 +2230,7 @@ pub fn serialize_structure_crate_input_create_project_input( object.key("ProjectDescription").string(var_536.as_str()); } if let Some(var_537) = &input.service_catalog_provisioning_details { + #[allow(unused_mut)] let mut object_538 = object .key("ServiceCatalogProvisioningDetails") .start_object(); @@ -2099,6 +2244,7 @@ pub fn serialize_structure_crate_input_create_project_input( let mut array_540 = object.key("Tags").start_array(); for item_541 in var_539 { { + #[allow(unused_mut)] let mut object_542 = array_540.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_542, item_541)?; object_542.finish(); @@ -2132,6 +2278,7 @@ pub fn serialize_structure_crate_input_create_studio_lifecycle_config_input( let mut array_547 = object.key("Tags").start_array(); for item_548 in var_546 { { + #[allow(unused_mut)] let mut object_549 = array_547.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_549, item_548)?; object_549.finish(); @@ -2150,6 +2297,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( object.key("TrainingJobName").string(var_550.as_str()); } if let Some(var_551) = &input.hyper_parameters { + #[allow(unused_mut)] let mut object_552 = object.key("HyperParameters").start_object(); for (key_553, value_554) in var_551 { { @@ -2159,6 +2307,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( object_552.finish(); } if let Some(var_555) = &input.algorithm_specification { + #[allow(unused_mut)] let mut object_556 = object.key("AlgorithmSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_algorithm_specification( &mut object_556, @@ -2173,6 +2322,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( let mut array_559 = object.key("InputDataConfig").start_array(); for item_560 in var_558 { { + #[allow(unused_mut)] let mut object_561 = array_559.value().start_object(); crate::json_ser::serialize_structure_crate_model_channel( &mut object_561, @@ -2184,6 +2334,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( array_559.finish(); } if let Some(var_562) = &input.output_data_config { + #[allow(unused_mut)] let mut object_563 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_563, @@ -2192,16 +2343,19 @@ pub fn serialize_structure_crate_input_create_training_job_input( object_563.finish(); } if let Some(var_564) = &input.resource_config { + #[allow(unused_mut)] let mut object_565 = object.key("ResourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_resource_config(&mut object_565, var_564)?; object_565.finish(); } if let Some(var_566) = &input.vpc_config { + #[allow(unused_mut)] let mut object_567 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_567, var_566)?; object_567.finish(); } if let Some(var_568) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_569 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_stopping_condition( &mut object_569, @@ -2213,6 +2367,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( let mut array_571 = object.key("Tags").start_array(); for item_572 in var_570 { { + #[allow(unused_mut)] let mut object_573 = array_571.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_573, item_572)?; object_573.finish(); @@ -2236,6 +2391,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( .boolean(input.enable_managed_spot_training); } if let Some(var_574) = &input.checkpoint_config { + #[allow(unused_mut)] let mut object_575 = object.key("CheckpointConfig").start_object(); crate::json_ser::serialize_structure_crate_model_checkpoint_config( &mut object_575, @@ -2244,6 +2400,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( object_575.finish(); } if let Some(var_576) = &input.debug_hook_config { + #[allow(unused_mut)] let mut object_577 = object.key("DebugHookConfig").start_object(); crate::json_ser::serialize_structure_crate_model_debug_hook_config( &mut object_577, @@ -2255,6 +2412,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( let mut array_579 = object.key("DebugRuleConfigurations").start_array(); for item_580 in var_578 { { + #[allow(unused_mut)] let mut object_581 = array_579.value().start_object(); crate::json_ser::serialize_structure_crate_model_debug_rule_configuration( &mut object_581, @@ -2266,6 +2424,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( array_579.finish(); } if let Some(var_582) = &input.tensor_board_output_config { + #[allow(unused_mut)] let mut object_583 = object.key("TensorBoardOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_tensor_board_output_config( &mut object_583, @@ -2274,6 +2433,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( object_583.finish(); } if let Some(var_584) = &input.experiment_config { + #[allow(unused_mut)] let mut object_585 = object.key("ExperimentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_config( &mut object_585, @@ -2282,6 +2442,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( object_585.finish(); } if let Some(var_586) = &input.profiler_config { + #[allow(unused_mut)] let mut object_587 = object.key("ProfilerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_profiler_config(&mut object_587, var_586)?; object_587.finish(); @@ -2290,6 +2451,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( let mut array_589 = object.key("ProfilerRuleConfigurations").start_array(); for item_590 in var_588 { { + #[allow(unused_mut)] let mut object_591 = array_589.value().start_object(); crate::json_ser::serialize_structure_crate_model_profiler_rule_configuration( &mut object_591, @@ -2301,6 +2463,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( array_589.finish(); } if let Some(var_592) = &input.environment { + #[allow(unused_mut)] let mut object_593 = object.key("Environment").start_object(); for (key_594, value_595) in var_592 { { @@ -2310,6 +2473,7 @@ pub fn serialize_structure_crate_input_create_training_job_input( object_593.finish(); } if let Some(var_596) = &input.retry_strategy { + #[allow(unused_mut)] let mut object_597 = object.key("RetryStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_retry_strategy(&mut object_597, var_596)?; object_597.finish(); @@ -2334,6 +2498,7 @@ pub fn serialize_structure_crate_input_create_transform_job_input( ); } if let Some(var_601) = &input.model_client_config { + #[allow(unused_mut)] let mut object_602 = object.key("ModelClientConfig").start_object(); crate::json_ser::serialize_structure_crate_model_model_client_config( &mut object_602, @@ -2351,6 +2516,7 @@ pub fn serialize_structure_crate_input_create_transform_job_input( object.key("BatchStrategy").string(var_604.as_str()); } if let Some(var_605) = &input.environment { + #[allow(unused_mut)] let mut object_606 = object.key("Environment").start_object(); for (key_607, value_608) in var_605 { { @@ -2360,11 +2526,13 @@ pub fn serialize_structure_crate_input_create_transform_job_input( object_606.finish(); } if let Some(var_609) = &input.transform_input { + #[allow(unused_mut)] let mut object_610 = object.key("TransformInput").start_object(); crate::json_ser::serialize_structure_crate_model_transform_input(&mut object_610, var_609)?; object_610.finish(); } if let Some(var_611) = &input.transform_output { + #[allow(unused_mut)] let mut object_612 = object.key("TransformOutput").start_object(); crate::json_ser::serialize_structure_crate_model_transform_output( &mut object_612, @@ -2373,6 +2541,7 @@ pub fn serialize_structure_crate_input_create_transform_job_input( object_612.finish(); } if let Some(var_613) = &input.transform_resources { + #[allow(unused_mut)] let mut object_614 = object.key("TransformResources").start_object(); crate::json_ser::serialize_structure_crate_model_transform_resources( &mut object_614, @@ -2381,6 +2550,7 @@ pub fn serialize_structure_crate_input_create_transform_job_input( object_614.finish(); } if let Some(var_615) = &input.data_processing { + #[allow(unused_mut)] let mut object_616 = object.key("DataProcessing").start_object(); crate::json_ser::serialize_structure_crate_model_data_processing(&mut object_616, var_615)?; object_616.finish(); @@ -2389,6 +2559,7 @@ pub fn serialize_structure_crate_input_create_transform_job_input( let mut array_618 = object.key("Tags").start_array(); for item_619 in var_617 { { + #[allow(unused_mut)] let mut object_620 = array_618.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_620, item_619)?; object_620.finish(); @@ -2397,6 +2568,7 @@ pub fn serialize_structure_crate_input_create_transform_job_input( array_618.finish(); } if let Some(var_621) = &input.experiment_config { + #[allow(unused_mut)] let mut object_622 = object.key("ExperimentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_experiment_config( &mut object_622, @@ -2421,6 +2593,7 @@ pub fn serialize_structure_crate_input_create_trial_input( object.key("ExperimentName").string(var_625.as_str()); } if let Some(var_626) = &input.metadata_properties { + #[allow(unused_mut)] let mut object_627 = object.key("MetadataProperties").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_properties( &mut object_627, @@ -2432,6 +2605,7 @@ pub fn serialize_structure_crate_input_create_trial_input( let mut array_629 = object.key("Tags").start_array(); for item_630 in var_628 { { + #[allow(unused_mut)] let mut object_631 = array_629.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_631, item_630)?; object_631.finish(); @@ -2453,6 +2627,7 @@ pub fn serialize_structure_crate_input_create_trial_component_input( object.key("DisplayName").string(var_633.as_str()); } if let Some(var_634) = &input.status { + #[allow(unused_mut)] let mut object_635 = object.key("Status").start_object(); crate::json_ser::serialize_structure_crate_model_trial_component_status( &mut object_635, @@ -2471,9 +2646,11 @@ pub fn serialize_structure_crate_input_create_trial_component_input( .date_time(var_637, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_638) = &input.parameters { + #[allow(unused_mut)] let mut object_639 = object.key("Parameters").start_object(); for (key_640, value_641) in var_638 { { + #[allow(unused_mut)] let mut object_642 = object_639.key(key_640.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_trial_component_parameter_value( &mut object_642, @@ -2485,9 +2662,11 @@ pub fn serialize_structure_crate_input_create_trial_component_input( object_639.finish(); } if let Some(var_643) = &input.input_artifacts { + #[allow(unused_mut)] let mut object_644 = object.key("InputArtifacts").start_object(); for (key_645, value_646) in var_643 { { + #[allow(unused_mut)] let mut object_647 = object_644.key(key_645.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_trial_component_artifact( &mut object_647, @@ -2499,9 +2678,11 @@ pub fn serialize_structure_crate_input_create_trial_component_input( object_644.finish(); } if let Some(var_648) = &input.output_artifacts { + #[allow(unused_mut)] let mut object_649 = object.key("OutputArtifacts").start_object(); for (key_650, value_651) in var_648 { { + #[allow(unused_mut)] let mut object_652 = object_649.key(key_650.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_trial_component_artifact( &mut object_652, @@ -2513,6 +2694,7 @@ pub fn serialize_structure_crate_input_create_trial_component_input( object_649.finish(); } if let Some(var_653) = &input.metadata_properties { + #[allow(unused_mut)] let mut object_654 = object.key("MetadataProperties").start_object(); crate::json_ser::serialize_structure_crate_model_metadata_properties( &mut object_654, @@ -2524,6 +2706,7 @@ pub fn serialize_structure_crate_input_create_trial_component_input( let mut array_656 = object.key("Tags").start_array(); for item_657 in var_655 { { + #[allow(unused_mut)] let mut object_658 = array_656.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_658, item_657)?; object_658.finish(); @@ -2556,6 +2739,7 @@ pub fn serialize_structure_crate_input_create_user_profile_input( let mut array_664 = object.key("Tags").start_array(); for item_665 in var_663 { { + #[allow(unused_mut)] let mut object_666 = array_664.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_666, item_665)?; object_666.finish(); @@ -2564,6 +2748,7 @@ pub fn serialize_structure_crate_input_create_user_profile_input( array_664.finish(); } if let Some(var_667) = &input.user_settings { + #[allow(unused_mut)] let mut object_668 = object.key("UserSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_settings(&mut object_668, var_667)?; object_668.finish(); @@ -2576,16 +2761,19 @@ pub fn serialize_structure_crate_input_create_workforce_input( input: &crate::input::CreateWorkforceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_669) = &input.cognito_config { + #[allow(unused_mut)] let mut object_670 = object.key("CognitoConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_config(&mut object_670, var_669)?; object_670.finish(); } if let Some(var_671) = &input.oidc_config { + #[allow(unused_mut)] let mut object_672 = object.key("OidcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_oidc_config(&mut object_672, var_671)?; object_672.finish(); } if let Some(var_673) = &input.source_ip_config { + #[allow(unused_mut)] let mut object_674 = object.key("SourceIpConfig").start_object(); crate::json_ser::serialize_structure_crate_model_source_ip_config( &mut object_674, @@ -2600,6 +2788,7 @@ pub fn serialize_structure_crate_input_create_workforce_input( let mut array_677 = object.key("Tags").start_array(); for item_678 in var_676 { { + #[allow(unused_mut)] let mut object_679 = array_677.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_679, item_678)?; object_679.finish(); @@ -2608,6 +2797,7 @@ pub fn serialize_structure_crate_input_create_workforce_input( array_677.finish(); } if let Some(var_680) = &input.workforce_vpc_config { + #[allow(unused_mut)] let mut object_681 = object.key("WorkforceVpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_workforce_vpc_config_request( &mut object_681, @@ -2632,6 +2822,7 @@ pub fn serialize_structure_crate_input_create_workteam_input( let mut array_685 = object.key("MemberDefinitions").start_array(); for item_686 in var_684 { { + #[allow(unused_mut)] let mut object_687 = array_685.value().start_object(); crate::json_ser::serialize_structure_crate_model_member_definition( &mut object_687, @@ -2646,6 +2837,7 @@ pub fn serialize_structure_crate_input_create_workteam_input( object.key("Description").string(var_688.as_str()); } if let Some(var_689) = &input.notification_configuration { + #[allow(unused_mut)] let mut object_690 = object.key("NotificationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_notification_configuration( &mut object_690, @@ -2657,6 +2849,7 @@ pub fn serialize_structure_crate_input_create_workteam_input( let mut array_692 = object.key("Tags").start_array(); for item_693 in var_691 { { + #[allow(unused_mut)] let mut object_694 = array_692.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_694, item_693)?; object_694.finish(); @@ -2724,6 +2917,7 @@ pub fn serialize_structure_crate_input_delete_artifact_input( object.key("ArtifactArn").string(var_702.as_str()); } if let Some(var_703) = &input.source { + #[allow(unused_mut)] let mut object_704 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_source(&mut object_704, var_703)?; object_704.finish(); @@ -2792,6 +2986,7 @@ pub fn serialize_structure_crate_input_delete_domain_input( object.key("DomainId").string(var_711.as_str()); } if let Some(var_712) = &input.retention_policy { + #[allow(unused_mut)] let mut object_713 = object.key("RetentionPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_retention_policy( &mut object_713, @@ -3755,6 +3950,7 @@ pub fn serialize_structure_crate_input_get_search_suggestions_input( object.key("Resource").string(var_820.as_str()); } if let Some(var_821) = &input.suggestion_query { + #[allow(unused_mut)] let mut object_822 = object.key("SuggestionQuery").start_object(); crate::json_ser::serialize_structure_crate_model_suggestion_query( &mut object_822, @@ -5038,6 +5234,7 @@ pub fn serialize_structure_crate_input_list_model_metadata_input( input: &crate::input::ListModelMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1081) = &input.search_expression { + #[allow(unused_mut)] let mut object_1082 = object.key("SearchExpression").start_object(); crate::json_ser::serialize_structure_crate_model_model_metadata_search_expression( &mut object_1082, @@ -6081,6 +6278,7 @@ pub fn serialize_structure_crate_input_query_lineage_input( object.key("IncludeEdges").boolean(input.include_edges); } if let Some(var_1291) = &input.filters { + #[allow(unused_mut)] let mut object_1292 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_query_filters(&mut object_1292, var_1291)?; object_1292.finish(); @@ -6114,6 +6312,7 @@ pub fn serialize_structure_crate_input_register_devices_input( let mut array_1298 = object.key("Devices").start_array(); for item_1299 in var_1297 { { + #[allow(unused_mut)] let mut object_1300 = array_1298.value().start_object(); crate::json_ser::serialize_structure_crate_model_device( &mut object_1300, @@ -6128,6 +6327,7 @@ pub fn serialize_structure_crate_input_register_devices_input( let mut array_1302 = object.key("Tags").start_array(); for item_1303 in var_1301 { { + #[allow(unused_mut)] let mut object_1304 = array_1302.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_1304, item_1303)?; object_1304.finish(); @@ -6143,11 +6343,13 @@ pub fn serialize_structure_crate_input_render_ui_template_input( input: &crate::input::RenderUiTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1305) = &input.ui_template { + #[allow(unused_mut)] let mut object_1306 = object.key("UiTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_ui_template(&mut object_1306, var_1305)?; object_1306.finish(); } if let Some(var_1307) = &input.task { + #[allow(unused_mut)] let mut object_1308 = object.key("Task").start_object(); crate::json_ser::serialize_structure_crate_model_renderable_task( &mut object_1308, @@ -6175,6 +6377,7 @@ pub fn serialize_structure_crate_input_retry_pipeline_execution_input( object.key("ClientRequestToken").string(var_1312.as_str()); } if let Some(var_1313) = &input.parallelism_configuration { + #[allow(unused_mut)] let mut object_1314 = object.key("ParallelismConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration( &mut object_1314, @@ -6193,6 +6396,7 @@ pub fn serialize_structure_crate_input_search_input( object.key("Resource").string(var_1315.as_str()); } if let Some(var_1316) = &input.search_expression { + #[allow(unused_mut)] let mut object_1317 = object.key("SearchExpression").start_object(); crate::json_ser::serialize_structure_crate_model_search_expression( &mut object_1317, @@ -6245,6 +6449,7 @@ pub fn serialize_structure_crate_input_send_pipeline_execution_step_success_inpu let mut array_1327 = object.key("OutputParameters").start_array(); for item_1328 in var_1326 { { + #[allow(unused_mut)] let mut object_1329 = array_1327.value().start_object(); crate::json_ser::serialize_structure_crate_model_output_parameter( &mut object_1329, @@ -6314,6 +6519,7 @@ pub fn serialize_structure_crate_input_start_pipeline_execution_input( let mut array_1338 = object.key("PipelineParameters").start_array(); for item_1339 in var_1337 { { + #[allow(unused_mut)] let mut object_1340 = array_1338.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter( &mut object_1340, @@ -6333,6 +6539,7 @@ pub fn serialize_structure_crate_input_start_pipeline_execution_input( object.key("ClientRequestToken").string(var_1342.as_str()); } if let Some(var_1343) = &input.parallelism_configuration { + #[allow(unused_mut)] let mut object_1344 = object.key("ParallelismConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration( &mut object_1344, @@ -6499,6 +6706,7 @@ pub fn serialize_structure_crate_input_update_action_input( object.key("Status").string(var_1362.as_str()); } if let Some(var_1363) = &input.properties { + #[allow(unused_mut)] let mut object_1364 = object.key("Properties").start_object(); for (key_1365, value_1366) in var_1363 { { @@ -6529,6 +6737,7 @@ pub fn serialize_structure_crate_input_update_app_image_config_input( object.key("AppImageConfigName").string(var_1370.as_str()); } if let Some(var_1371) = &input.kernel_gateway_image_config { + #[allow(unused_mut)] let mut object_1372 = object.key("KernelGatewayImageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_kernel_gateway_image_config( &mut object_1372, @@ -6550,6 +6759,7 @@ pub fn serialize_structure_crate_input_update_artifact_input( object.key("ArtifactName").string(var_1374.as_str()); } if let Some(var_1375) = &input.properties { + #[allow(unused_mut)] let mut object_1376 = object.key("Properties").start_object(); for (key_1377, value_1378) in var_1375 { { @@ -6580,6 +6790,7 @@ pub fn serialize_structure_crate_input_update_code_repository_input( object.key("CodeRepositoryName").string(var_1382.as_str()); } if let Some(var_1383) = &input.git_config { + #[allow(unused_mut)] let mut object_1384 = object.key("GitConfig").start_object(); crate::json_ser::serialize_structure_crate_model_git_config_for_update( &mut object_1384, @@ -6601,6 +6812,7 @@ pub fn serialize_structure_crate_input_update_context_input( object.key("Description").string(var_1386.as_str()); } if let Some(var_1387) = &input.properties { + #[allow(unused_mut)] let mut object_1388 = object.key("Properties").start_object(); for (key_1389, value_1390) in var_1387 { { @@ -6637,6 +6849,7 @@ pub fn serialize_structure_crate_input_update_device_fleet_input( object.key("Description").string(var_1396.as_str()); } if let Some(var_1397) = &input.output_config { + #[allow(unused_mut)] let mut object_1398 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_edge_output_config( &mut object_1398, @@ -6661,6 +6874,7 @@ pub fn serialize_structure_crate_input_update_devices_input( let mut array_1402 = object.key("Devices").start_array(); for item_1403 in var_1401 { { + #[allow(unused_mut)] let mut object_1404 = array_1402.value().start_object(); crate::json_ser::serialize_structure_crate_model_device( &mut object_1404, @@ -6682,11 +6896,13 @@ pub fn serialize_structure_crate_input_update_domain_input( object.key("DomainId").string(var_1405.as_str()); } if let Some(var_1406) = &input.default_user_settings { + #[allow(unused_mut)] let mut object_1407 = object.key("DefaultUserSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_settings(&mut object_1407, var_1406)?; object_1407.finish(); } if let Some(var_1408) = &input.domain_settings_for_update { + #[allow(unused_mut)] let mut object_1409 = object.key("DomainSettingsForUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_domain_settings_for_update( &mut object_1409, @@ -6716,6 +6932,7 @@ pub fn serialize_structure_crate_input_update_endpoint_input( let mut array_1413 = object.key("ExcludeRetainedVariantProperties").start_array(); for item_1414 in var_1412 { { + #[allow(unused_mut)] let mut object_1415 = array_1413.value().start_object(); crate::json_ser::serialize_structure_crate_model_variant_property( &mut object_1415, @@ -6727,6 +6944,7 @@ pub fn serialize_structure_crate_input_update_endpoint_input( array_1413.finish(); } if let Some(var_1416) = &input.deployment_config { + #[allow(unused_mut)] let mut object_1417 = object.key("DeploymentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_config( &mut object_1417, @@ -6753,6 +6971,7 @@ pub fn serialize_structure_crate_input_update_endpoint_weights_and_capacities_in let mut array_1420 = object.key("DesiredWeightsAndCapacities").start_array(); for item_1421 in var_1419 { { + #[allow(unused_mut)] let mut object_1422 = array_1420.value().start_object(); crate::json_ser::serialize_structure_crate_model_desired_weight_and_capacity( &mut object_1422, @@ -6793,6 +7012,7 @@ pub fn serialize_structure_crate_input_update_feature_group_input( let mut array_1428 = object.key("FeatureAdditions").start_array(); for item_1429 in var_1427 { { + #[allow(unused_mut)] let mut object_1430 = array_1428.value().start_object(); crate::json_ser::serialize_structure_crate_model_feature_definition( &mut object_1430, @@ -6823,6 +7043,7 @@ pub fn serialize_structure_crate_input_update_feature_metadata_input( let mut array_1435 = object.key("ParameterAdditions").start_array(); for item_1436 in var_1434 { { + #[allow(unused_mut)] let mut object_1437 = array_1435.value().start_object(); crate::json_ser::serialize_structure_crate_model_feature_parameter( &mut object_1437, @@ -6887,6 +7108,7 @@ pub fn serialize_structure_crate_input_update_model_package_input( object.key("ApprovalDescription").string(var_1450.as_str()); } if let Some(var_1451) = &input.customer_metadata_properties { + #[allow(unused_mut)] let mut object_1452 = object.key("CustomerMetadataProperties").start_object(); for (key_1453, value_1454) in var_1451 { { @@ -6914,6 +7136,7 @@ pub fn serialize_structure_crate_input_update_model_package_input( .start_array(); for item_1460 in var_1458 { { + #[allow(unused_mut)] let mut object_1461 = array_1459.value().start_object(); crate::json_ser::serialize_structure_crate_model_additional_inference_specification_definition(&mut object_1461, item_1460)?; object_1461.finish(); @@ -6934,6 +7157,7 @@ pub fn serialize_structure_crate_input_update_monitoring_schedule_input( .string(var_1462.as_str()); } if let Some(var_1463) = &input.monitoring_schedule_config { + #[allow(unused_mut)] let mut object_1464 = object.key("MonitoringScheduleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_schedule_config( &mut object_1464, @@ -7013,6 +7237,7 @@ pub fn serialize_structure_crate_input_update_notebook_instance_input( object.key("RootAccess").string(var_1477.as_str()); } if let Some(var_1478) = &input.instance_metadata_service_configuration { + #[allow(unused_mut)] let mut object_1479 = object .key("InstanceMetadataServiceConfiguration") .start_object(); @@ -7038,6 +7263,7 @@ pub fn serialize_structure_crate_input_update_notebook_instance_lifecycle_config let mut array_1482 = object.key("OnCreate").start_array(); for item_1483 in var_1481 { { + #[allow(unused_mut)] let mut object_1484 = array_1482.value().start_object(); crate::json_ser::serialize_structure_crate_model_notebook_instance_lifecycle_hook( &mut object_1484, @@ -7052,6 +7278,7 @@ pub fn serialize_structure_crate_input_update_notebook_instance_lifecycle_config let mut array_1486 = object.key("OnStart").start_array(); for item_1487 in var_1485 { { + #[allow(unused_mut)] let mut object_1488 = array_1486.value().start_object(); crate::json_ser::serialize_structure_crate_model_notebook_instance_lifecycle_hook( &mut object_1488, @@ -7079,6 +7306,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( object.key("PipelineDefinition").string(var_1491.as_str()); } if let Some(var_1492) = &input.pipeline_definition_s3_location { + #[allow(unused_mut)] let mut object_1493 = object.key("PipelineDefinitionS3Location").start_object(); crate::json_ser::serialize_structure_crate_model_pipeline_definition_s3_location( &mut object_1493, @@ -7093,6 +7321,7 @@ pub fn serialize_structure_crate_input_update_pipeline_input( object.key("RoleArn").string(var_1495.as_str()); } if let Some(var_1496) = &input.parallelism_configuration { + #[allow(unused_mut)] let mut object_1497 = object.key("ParallelismConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration( &mut object_1497, @@ -7121,6 +7350,7 @@ pub fn serialize_structure_crate_input_update_pipeline_execution_input( .string(var_1500.as_str()); } if let Some(var_1501) = &input.parallelism_configuration { + #[allow(unused_mut)] let mut object_1502 = object.key("ParallelismConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_parallelism_configuration( &mut object_1502, @@ -7142,6 +7372,7 @@ pub fn serialize_structure_crate_input_update_project_input( object.key("ProjectDescription").string(var_1504.as_str()); } if let Some(var_1505) = &input.service_catalog_provisioning_update_details { + #[allow(unused_mut)] let mut object_1506 = object .key("ServiceCatalogProvisioningUpdateDetails") .start_object(); @@ -7152,6 +7383,7 @@ pub fn serialize_structure_crate_input_update_project_input( let mut array_1508 = object.key("Tags").start_array(); for item_1509 in var_1507 { { + #[allow(unused_mut)] let mut object_1510 = array_1508.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_1510, item_1509)?; object_1510.finish(); @@ -7170,6 +7402,7 @@ pub fn serialize_structure_crate_input_update_training_job_input( object.key("TrainingJobName").string(var_1511.as_str()); } if let Some(var_1512) = &input.profiler_config { + #[allow(unused_mut)] let mut object_1513 = object.key("ProfilerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_profiler_config_for_update( &mut object_1513, @@ -7181,6 +7414,7 @@ pub fn serialize_structure_crate_input_update_training_job_input( let mut array_1515 = object.key("ProfilerRuleConfigurations").start_array(); for item_1516 in var_1514 { { + #[allow(unused_mut)] let mut object_1517 = array_1515.value().start_object(); crate::json_ser::serialize_structure_crate_model_profiler_rule_configuration( &mut object_1517, @@ -7192,6 +7426,7 @@ pub fn serialize_structure_crate_input_update_training_job_input( array_1515.finish(); } if let Some(var_1518) = &input.resource_config { + #[allow(unused_mut)] let mut object_1519 = object.key("ResourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_resource_config_for_update( &mut object_1519, @@ -7226,6 +7461,7 @@ pub fn serialize_structure_crate_input_update_trial_component_input( object.key("DisplayName").string(var_1523.as_str()); } if let Some(var_1524) = &input.status { + #[allow(unused_mut)] let mut object_1525 = object.key("Status").start_object(); crate::json_ser::serialize_structure_crate_model_trial_component_status( &mut object_1525, @@ -7244,9 +7480,11 @@ pub fn serialize_structure_crate_input_update_trial_component_input( .date_time(var_1527, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_1528) = &input.parameters { + #[allow(unused_mut)] let mut object_1529 = object.key("Parameters").start_object(); for (key_1530, value_1531) in var_1528 { { + #[allow(unused_mut)] let mut object_1532 = object_1529.key(key_1530.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_trial_component_parameter_value( &mut object_1532, @@ -7267,9 +7505,11 @@ pub fn serialize_structure_crate_input_update_trial_component_input( array_1534.finish(); } if let Some(var_1536) = &input.input_artifacts { + #[allow(unused_mut)] let mut object_1537 = object.key("InputArtifacts").start_object(); for (key_1538, value_1539) in var_1536 { { + #[allow(unused_mut)] let mut object_1540 = object_1537.key(key_1538.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_trial_component_artifact( &mut object_1540, @@ -7290,9 +7530,11 @@ pub fn serialize_structure_crate_input_update_trial_component_input( array_1542.finish(); } if let Some(var_1544) = &input.output_artifacts { + #[allow(unused_mut)] let mut object_1545 = object.key("OutputArtifacts").start_object(); for (key_1546, value_1547) in var_1544 { { + #[allow(unused_mut)] let mut object_1548 = object_1545.key(key_1546.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_trial_component_artifact( &mut object_1548, @@ -7326,6 +7568,7 @@ pub fn serialize_structure_crate_input_update_user_profile_input( object.key("UserProfileName").string(var_1553.as_str()); } if let Some(var_1554) = &input.user_settings { + #[allow(unused_mut)] let mut object_1555 = object.key("UserSettings").start_object(); crate::json_ser::serialize_structure_crate_model_user_settings(&mut object_1555, var_1554)?; object_1555.finish(); @@ -7341,6 +7584,7 @@ pub fn serialize_structure_crate_input_update_workforce_input( object.key("WorkforceName").string(var_1556.as_str()); } if let Some(var_1557) = &input.source_ip_config { + #[allow(unused_mut)] let mut object_1558 = object.key("SourceIpConfig").start_object(); crate::json_ser::serialize_structure_crate_model_source_ip_config( &mut object_1558, @@ -7349,11 +7593,13 @@ pub fn serialize_structure_crate_input_update_workforce_input( object_1558.finish(); } if let Some(var_1559) = &input.oidc_config { + #[allow(unused_mut)] let mut object_1560 = object.key("OidcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_oidc_config(&mut object_1560, var_1559)?; object_1560.finish(); } if let Some(var_1561) = &input.workforce_vpc_config { + #[allow(unused_mut)] let mut object_1562 = object.key("WorkforceVpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_workforce_vpc_config_request( &mut object_1562, @@ -7375,6 +7621,7 @@ pub fn serialize_structure_crate_input_update_workteam_input( let mut array_1565 = object.key("MemberDefinitions").start_array(); for item_1566 in var_1564 { { + #[allow(unused_mut)] let mut object_1567 = array_1565.value().start_object(); crate::json_ser::serialize_structure_crate_model_member_definition( &mut object_1567, @@ -7389,6 +7636,7 @@ pub fn serialize_structure_crate_input_update_workteam_input( object.key("Description").string(var_1568.as_str()); } if let Some(var_1569) = &input.notification_configuration { + #[allow(unused_mut)] let mut object_1570 = object.key("NotificationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_notification_configuration( &mut object_1570, @@ -7461,6 +7709,7 @@ pub fn serialize_structure_crate_model_training_specification( let mut array_1583 = object.key("SupportedHyperParameters").start_array(); for item_1584 in var_1582 { { + #[allow(unused_mut)] let mut object_1585 = array_1583.value().start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_specification( &mut object_1585, @@ -7489,6 +7738,7 @@ pub fn serialize_structure_crate_model_training_specification( let mut array_1590 = object.key("MetricDefinitions").start_array(); for item_1591 in var_1589 { { + #[allow(unused_mut)] let mut object_1592 = array_1590.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_definition( &mut object_1592, @@ -7503,6 +7753,7 @@ pub fn serialize_structure_crate_model_training_specification( let mut array_1594 = object.key("TrainingChannels").start_array(); for item_1595 in var_1593 { { + #[allow(unused_mut)] let mut object_1596 = array_1594.value().start_object(); crate::json_ser::serialize_structure_crate_model_channel_specification( &mut object_1596, @@ -7519,6 +7770,7 @@ pub fn serialize_structure_crate_model_training_specification( .start_array(); for item_1599 in var_1597 { { + #[allow(unused_mut)] let mut object_1600 = array_1598.value().start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_job_objective(&mut object_1600, item_1599)?; object_1600.finish(); @@ -7537,6 +7789,7 @@ pub fn serialize_structure_crate_model_inference_specification( let mut array_1602 = object.key("Containers").start_array(); for item_1603 in var_1601 { { + #[allow(unused_mut)] let mut object_1604 = array_1602.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_package_container_definition(&mut object_1604, item_1603)?; object_1604.finish(); @@ -7596,6 +7849,7 @@ pub fn serialize_structure_crate_model_algorithm_validation_specification( let mut array_1619 = object.key("ValidationProfiles").start_array(); for item_1620 in var_1618 { { + #[allow(unused_mut)] let mut object_1621 = array_1619.value().start_object(); crate::json_ser::serialize_structure_crate_model_algorithm_validation_profile( &mut object_1621, @@ -7638,6 +7892,7 @@ pub fn serialize_structure_crate_model_kernel_gateway_image_config( let mut array_1627 = object.key("KernelSpecs").start_array(); for item_1628 in var_1626 { { + #[allow(unused_mut)] let mut object_1629 = array_1627.value().start_object(); crate::json_ser::serialize_structure_crate_model_kernel_spec( &mut object_1629, @@ -7649,6 +7904,7 @@ pub fn serialize_structure_crate_model_kernel_gateway_image_config( array_1627.finish(); } if let Some(var_1630) = &input.file_system_config { + #[allow(unused_mut)] let mut object_1631 = object.key("FileSystemConfig").start_object(); crate::json_ser::serialize_structure_crate_model_file_system_config( &mut object_1631, @@ -7670,6 +7926,7 @@ pub fn serialize_structure_crate_model_artifact_source( let mut array_1634 = object.key("SourceTypes").start_array(); for item_1635 in var_1633 { { + #[allow(unused_mut)] let mut object_1636 = array_1634.value().start_object(); crate::json_ser::serialize_structure_crate_model_artifact_source_type( &mut object_1636, @@ -7688,6 +7945,7 @@ pub fn serialize_structure_crate_model_auto_ml_channel( input: &crate::model::AutoMlChannel, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1637) = &input.data_source { + #[allow(unused_mut)] let mut object_1638 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_data_source( &mut object_1638, @@ -7738,6 +7996,7 @@ pub fn serialize_structure_crate_model_auto_ml_job_config( input: &crate::model::AutoMlJobConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1646) = &input.completion_criteria { + #[allow(unused_mut)] let mut object_1647 = object.key("CompletionCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_job_completion_criteria( &mut object_1647, @@ -7746,6 +8005,7 @@ pub fn serialize_structure_crate_model_auto_ml_job_config( object_1647.finish(); } if let Some(var_1648) = &input.security_config { + #[allow(unused_mut)] let mut object_1649 = object.key("SecurityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_security_config( &mut object_1649, @@ -7754,6 +8014,7 @@ pub fn serialize_structure_crate_model_auto_ml_job_config( object_1649.finish(); } if let Some(var_1650) = &input.data_split_config { + #[allow(unused_mut)] let mut object_1651 = object.key("DataSplitConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_data_split_config( &mut object_1651, @@ -7762,6 +8023,7 @@ pub fn serialize_structure_crate_model_auto_ml_job_config( object_1651.finish(); } if let Some(var_1652) = &input.candidate_generation_config { + #[allow(unused_mut)] let mut object_1653 = object.key("CandidateGenerationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_auto_ml_candidate_generation_config( &mut object_1653, @@ -7836,6 +8098,7 @@ pub fn serialize_structure_crate_model_output_config( object.key("TargetDevice").string(var_1664.as_str()); } if let Some(var_1665) = &input.target_platform { + #[allow(unused_mut)] let mut object_1666 = object.key("TargetPlatform").start_object(); crate::json_ser::serialize_structure_crate_model_target_platform( &mut object_1666, @@ -7920,6 +8183,7 @@ pub fn serialize_structure_crate_model_data_quality_baseline_config( object.key("BaseliningJobName").string(var_1679.as_str()); } if let Some(var_1680) = &input.constraints_resource { + #[allow(unused_mut)] let mut object_1681 = object.key("ConstraintsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_constraints_resource( &mut object_1681, @@ -7928,6 +8192,7 @@ pub fn serialize_structure_crate_model_data_quality_baseline_config( object_1681.finish(); } if let Some(var_1682) = &input.statistics_resource { + #[allow(unused_mut)] let mut object_1683 = object.key("StatisticsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_statistics_resource( &mut object_1683, @@ -7974,6 +8239,7 @@ pub fn serialize_structure_crate_model_data_quality_app_specification( .string(var_1692.as_str()); } if let Some(var_1693) = &input.environment { + #[allow(unused_mut)] let mut object_1694 = object.key("Environment").start_object(); for (key_1695, value_1696) in var_1693 { { @@ -7992,6 +8258,7 @@ pub fn serialize_structure_crate_model_data_quality_job_input( input: &crate::model::DataQualityJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1697) = &input.endpoint_input { + #[allow(unused_mut)] let mut object_1698 = object.key("EndpointInput").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_input( &mut object_1698, @@ -8010,6 +8277,7 @@ pub fn serialize_structure_crate_model_monitoring_output_config( let mut array_1700 = object.key("MonitoringOutputs").start_array(); for item_1701 in var_1699 { { + #[allow(unused_mut)] let mut object_1702 = array_1700.value().start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_output( &mut object_1702, @@ -8031,6 +8299,7 @@ pub fn serialize_structure_crate_model_monitoring_resources( input: &crate::model::MonitoringResources, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1704) = &input.cluster_config { + #[allow(unused_mut)] let mut object_1705 = object.key("ClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_cluster_config( &mut object_1705, @@ -8056,6 +8325,7 @@ pub fn serialize_structure_crate_model_monitoring_network_config( .boolean(input.enable_network_isolation); } if let Some(var_1706) = &input.vpc_config { + #[allow(unused_mut)] let mut object_1707 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_1707, var_1706)?; object_1707.finish(); @@ -8114,6 +8384,7 @@ pub fn serialize_structure_crate_model_user_settings( array_1714.finish(); } if let Some(var_1716) = &input.sharing_settings { + #[allow(unused_mut)] let mut object_1717 = object.key("SharingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_sharing_settings( &mut object_1717, @@ -8122,6 +8393,7 @@ pub fn serialize_structure_crate_model_user_settings( object_1717.finish(); } if let Some(var_1718) = &input.jupyter_server_app_settings { + #[allow(unused_mut)] let mut object_1719 = object.key("JupyterServerAppSettings").start_object(); crate::json_ser::serialize_structure_crate_model_jupyter_server_app_settings( &mut object_1719, @@ -8130,6 +8402,7 @@ pub fn serialize_structure_crate_model_user_settings( object_1719.finish(); } if let Some(var_1720) = &input.kernel_gateway_app_settings { + #[allow(unused_mut)] let mut object_1721 = object.key("KernelGatewayAppSettings").start_object(); crate::json_ser::serialize_structure_crate_model_kernel_gateway_app_settings( &mut object_1721, @@ -8138,6 +8411,7 @@ pub fn serialize_structure_crate_model_user_settings( object_1721.finish(); } if let Some(var_1722) = &input.tensor_board_app_settings { + #[allow(unused_mut)] let mut object_1723 = object.key("TensorBoardAppSettings").start_object(); crate::json_ser::serialize_structure_crate_model_tensor_board_app_settings( &mut object_1723, @@ -8146,6 +8420,7 @@ pub fn serialize_structure_crate_model_user_settings( object_1723.finish(); } if let Some(var_1724) = &input.r_studio_server_pro_app_settings { + #[allow(unused_mut)] let mut object_1725 = object.key("RStudioServerProAppSettings").start_object(); crate::json_ser::serialize_structure_crate_model_r_studio_server_pro_app_settings( &mut object_1725, @@ -8154,6 +8429,7 @@ pub fn serialize_structure_crate_model_user_settings( object_1725.finish(); } if let Some(var_1726) = &input.r_session_app_settings { + #[allow(unused_mut)] let mut object_1727 = object.key("RSessionAppSettings").start_object(); crate::json_ser::serialize_structure_crate_model_r_session_app_settings( &mut object_1727, @@ -8162,6 +8438,7 @@ pub fn serialize_structure_crate_model_user_settings( object_1727.finish(); } if let Some(var_1728) = &input.canvas_app_settings { + #[allow(unused_mut)] let mut object_1729 = object.key("CanvasAppSettings").start_object(); crate::json_ser::serialize_structure_crate_model_canvas_app_settings( &mut object_1729, @@ -8186,6 +8463,7 @@ pub fn serialize_structure_crate_model_domain_settings( array_1731.finish(); } if let Some(var_1733) = &input.r_studio_server_pro_domain_settings { + #[allow(unused_mut)] let mut object_1734 = object.key("RStudioServerProDomainSettings").start_object(); crate::json_ser::serialize_structure_crate_model_r_studio_server_pro_domain_settings( &mut object_1734, @@ -8222,6 +8500,7 @@ pub fn serialize_structure_crate_model_deployment_stage( object.key("StageName").string(var_1738.as_str()); } if let Some(var_1739) = &input.device_selection_config { + #[allow(unused_mut)] let mut object_1740 = object.key("DeviceSelectionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_device_selection_config( &mut object_1740, @@ -8230,6 +8509,7 @@ pub fn serialize_structure_crate_model_deployment_stage( object_1740.finish(); } if let Some(var_1741) = &input.deployment_config { + #[allow(unused_mut)] let mut object_1742 = object.key("DeploymentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_edge_deployment_config( &mut object_1742, @@ -8245,6 +8525,7 @@ pub fn serialize_structure_crate_model_deployment_config( input: &crate::model::DeploymentConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1743) = &input.blue_green_update_policy { + #[allow(unused_mut)] let mut object_1744 = object.key("BlueGreenUpdatePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_blue_green_update_policy( &mut object_1744, @@ -8253,6 +8534,7 @@ pub fn serialize_structure_crate_model_deployment_config( object_1744.finish(); } if let Some(var_1745) = &input.auto_rollback_configuration { + #[allow(unused_mut)] let mut object_1746 = object.key("AutoRollbackConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_auto_rollback_config( &mut object_1746, @@ -8292,6 +8574,7 @@ pub fn serialize_structure_crate_model_production_variant( object.key("AcceleratorType").string(var_1752.as_str()); } if let Some(var_1753) = &input.core_dump_config { + #[allow(unused_mut)] let mut object_1754 = object.key("CoreDumpConfig").start_object(); crate::json_ser::serialize_structure_crate_model_production_variant_core_dump_config( &mut object_1754, @@ -8300,6 +8583,7 @@ pub fn serialize_structure_crate_model_production_variant( object_1754.finish(); } if let Some(var_1755) = &input.serverless_config { + #[allow(unused_mut)] let mut object_1756 = object.key("ServerlessConfig").start_object(); crate::json_ser::serialize_structure_crate_model_production_variant_serverless_config( &mut object_1756, @@ -8353,6 +8637,7 @@ pub fn serialize_structure_crate_model_data_capture_config( let mut array_1764 = object.key("CaptureOptions").start_array(); for item_1765 in var_1763 { { + #[allow(unused_mut)] let mut object_1766 = array_1764.value().start_object(); crate::json_ser::serialize_structure_crate_model_capture_option( &mut object_1766, @@ -8364,6 +8649,7 @@ pub fn serialize_structure_crate_model_data_capture_config( array_1764.finish(); } if let Some(var_1767) = &input.capture_content_type_header { + #[allow(unused_mut)] let mut object_1768 = object.key("CaptureContentTypeHeader").start_object(); crate::json_ser::serialize_structure_crate_model_capture_content_type_header( &mut object_1768, @@ -8379,6 +8665,7 @@ pub fn serialize_structure_crate_model_async_inference_config( input: &crate::model::AsyncInferenceConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1769) = &input.client_config { + #[allow(unused_mut)] let mut object_1770 = object.key("ClientConfig").start_object(); crate::json_ser::serialize_structure_crate_model_async_inference_client_config( &mut object_1770, @@ -8387,6 +8674,7 @@ pub fn serialize_structure_crate_model_async_inference_config( object_1770.finish(); } if let Some(var_1771) = &input.output_config { + #[allow(unused_mut)] let mut object_1772 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_async_inference_output_config( &mut object_1772, @@ -8402,6 +8690,7 @@ pub fn serialize_structure_crate_model_explainer_config( input: &crate::model::ExplainerConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1773) = &input.clarify_explainer_config { + #[allow(unused_mut)] let mut object_1774 = object.key("ClarifyExplainerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_clarify_explainer_config( &mut object_1774, @@ -8430,6 +8719,7 @@ pub fn serialize_structure_crate_model_online_store_config( input: &crate::model::OnlineStoreConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1777) = &input.security_config { + #[allow(unused_mut)] let mut object_1778 = object.key("SecurityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_online_store_security_config( &mut object_1778, @@ -8450,6 +8740,7 @@ pub fn serialize_structure_crate_model_offline_store_config( input: &crate::model::OfflineStoreConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1779) = &input.s3_storage_config { + #[allow(unused_mut)] let mut object_1780 = object.key("S3StorageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_s3_storage_config( &mut object_1780, @@ -8463,6 +8754,7 @@ pub fn serialize_structure_crate_model_offline_store_config( .boolean(input.disable_glue_table_creation); } if let Some(var_1781) = &input.data_catalog_config { + #[allow(unused_mut)] let mut object_1782 = object.key("DataCatalogConfig").start_object(); crate::json_ser::serialize_structure_crate_model_data_catalog_config( &mut object_1782, @@ -8490,6 +8782,7 @@ pub fn serialize_structure_crate_model_human_loop_activation_config( input: &crate::model::HumanLoopActivationConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1784) = &input.human_loop_activation_conditions_config { + #[allow(unused_mut)] let mut object_1785 = object .key("HumanLoopActivationConditionsConfig") .start_object(); @@ -8546,6 +8839,7 @@ pub fn serialize_structure_crate_model_human_loop_config( array_1794.finish(); } if let Some(var_1796) = &input.public_workforce_task_price { + #[allow(unused_mut)] let mut object_1797 = object.key("PublicWorkforceTaskPrice").start_object(); crate::json_ser::serialize_structure_crate_model_public_workforce_task_price( &mut object_1797, @@ -8587,11 +8881,13 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_config( object.key("Strategy").string(var_1801.as_str()); } if let Some(var_1802) = &input.strategy_config { + #[allow(unused_mut)] let mut object_1803 = object.key("StrategyConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_job_strategy_config(&mut object_1803, var_1802)?; object_1803.finish(); } if let Some(var_1804) = &input.hyper_parameter_tuning_job_objective { + #[allow(unused_mut)] let mut object_1805 = object .key("HyperParameterTuningJobObjective") .start_object(); @@ -8602,6 +8898,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_config( object_1805.finish(); } if let Some(var_1806) = &input.resource_limits { + #[allow(unused_mut)] let mut object_1807 = object.key("ResourceLimits").start_object(); crate::json_ser::serialize_structure_crate_model_resource_limits( &mut object_1807, @@ -8610,6 +8907,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_config( object_1807.finish(); } if let Some(var_1808) = &input.parameter_ranges { + #[allow(unused_mut)] let mut object_1809 = object.key("ParameterRanges").start_object(); crate::json_ser::serialize_structure_crate_model_parameter_ranges( &mut object_1809, @@ -8623,6 +8921,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_config( .string(var_1810.as_str()); } if let Some(var_1811) = &input.tuning_job_completion_criteria { + #[allow(unused_mut)] let mut object_1812 = object.key("TuningJobCompletionCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_tuning_job_completion_criteria( &mut object_1812, @@ -8641,6 +8940,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object.key("DefinitionName").string(var_1813.as_str()); } if let Some(var_1814) = &input.tuning_objective { + #[allow(unused_mut)] let mut object_1815 = object.key("TuningObjective").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_job_objective( &mut object_1815, @@ -8649,6 +8949,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1815.finish(); } if let Some(var_1816) = &input.hyper_parameter_ranges { + #[allow(unused_mut)] let mut object_1817 = object.key("HyperParameterRanges").start_object(); crate::json_ser::serialize_structure_crate_model_parameter_ranges( &mut object_1817, @@ -8657,6 +8958,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1817.finish(); } if let Some(var_1818) = &input.static_hyper_parameters { + #[allow(unused_mut)] let mut object_1819 = object.key("StaticHyperParameters").start_object(); for (key_1820, value_1821) in var_1818 { { @@ -8668,6 +8970,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1819.finish(); } if let Some(var_1822) = &input.algorithm_specification { + #[allow(unused_mut)] let mut object_1823 = object.key("AlgorithmSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_algorithm_specification( &mut object_1823, @@ -8682,6 +8985,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( let mut array_1826 = object.key("InputDataConfig").start_array(); for item_1827 in var_1825 { { + #[allow(unused_mut)] let mut object_1828 = array_1826.value().start_object(); crate::json_ser::serialize_structure_crate_model_channel( &mut object_1828, @@ -8693,11 +8997,13 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( array_1826.finish(); } if let Some(var_1829) = &input.vpc_config { + #[allow(unused_mut)] let mut object_1830 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_1830, var_1829)?; object_1830.finish(); } if let Some(var_1831) = &input.output_data_config { + #[allow(unused_mut)] let mut object_1832 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_1832, @@ -8706,6 +9012,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1832.finish(); } if let Some(var_1833) = &input.resource_config { + #[allow(unused_mut)] let mut object_1834 = object.key("ResourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_resource_config( &mut object_1834, @@ -8714,6 +9021,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1834.finish(); } if let Some(var_1835) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_1836 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_stopping_condition( &mut object_1836, @@ -8737,6 +9045,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( .boolean(input.enable_managed_spot_training); } if let Some(var_1837) = &input.checkpoint_config { + #[allow(unused_mut)] let mut object_1838 = object.key("CheckpointConfig").start_object(); crate::json_ser::serialize_structure_crate_model_checkpoint_config( &mut object_1838, @@ -8745,6 +9054,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1838.finish(); } if let Some(var_1839) = &input.retry_strategy { + #[allow(unused_mut)] let mut object_1840 = object.key("RetryStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_retry_strategy( &mut object_1840, @@ -8753,6 +9063,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_training_job_definition( object_1840.finish(); } if let Some(var_1841) = &input.hyper_parameter_tuning_resource_config { + #[allow(unused_mut)] let mut object_1842 = object .key("HyperParameterTuningResourceConfig") .start_object(); @@ -8773,6 +9084,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_warm_start_con let mut array_1844 = object.key("ParentHyperParameterTuningJobs").start_array(); for item_1845 in var_1843 { { + #[allow(unused_mut)] let mut object_1846 = array_1844.value().start_object(); crate::json_ser::serialize_structure_crate_model_parent_hyper_parameter_tuning_job( &mut object_1846, @@ -8805,6 +9117,7 @@ pub fn serialize_structure_crate_model_recommendation_job_input_config( ); } if let Some(var_1850) = &input.traffic_pattern { + #[allow(unused_mut)] let mut object_1851 = object.key("TrafficPattern").start_object(); crate::json_ser::serialize_structure_crate_model_traffic_pattern( &mut object_1851, @@ -8813,6 +9126,7 @@ pub fn serialize_structure_crate_model_recommendation_job_input_config( object_1851.finish(); } if let Some(var_1852) = &input.resource_limit { + #[allow(unused_mut)] let mut object_1853 = object.key("ResourceLimit").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_resource_limit( &mut object_1853, @@ -8824,6 +9138,7 @@ pub fn serialize_structure_crate_model_recommendation_job_input_config( let mut array_1855 = object.key("EndpointConfigurations").start_array(); for item_1856 in var_1854 { { + #[allow(unused_mut)] let mut object_1857 = array_1855.value().start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_input_configuration( &mut object_1857, @@ -8838,6 +9153,7 @@ pub fn serialize_structure_crate_model_recommendation_job_input_config( object.key("VolumeKmsKeyId").string(var_1858.as_str()); } if let Some(var_1859) = &input.container_config { + #[allow(unused_mut)] let mut object_1860 = object.key("ContainerConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_container_config( &mut object_1860, @@ -8862,6 +9178,7 @@ pub fn serialize_structure_crate_model_recommendation_job_stopping_conditions( let mut array_1862 = object.key("ModelLatencyThresholds").start_array(); for item_1863 in var_1861 { { + #[allow(unused_mut)] let mut object_1864 = array_1862.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_latency_threshold( &mut object_1864, @@ -8883,6 +9200,7 @@ pub fn serialize_structure_crate_model_recommendation_job_output_config( object.key("KmsKeyId").string(var_1865.as_str()); } if let Some(var_1866) = &input.compiled_output_config { + #[allow(unused_mut)] let mut object_1867 = object.key("CompiledOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_compiled_output_config( &mut object_1867, @@ -8898,6 +9216,7 @@ pub fn serialize_structure_crate_model_labeling_job_input_config( input: &crate::model::LabelingJobInputConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1868) = &input.data_source { + #[allow(unused_mut)] let mut object_1869 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_data_source( &mut object_1869, @@ -8906,6 +9225,7 @@ pub fn serialize_structure_crate_model_labeling_job_input_config( object_1869.finish(); } if let Some(var_1870) = &input.data_attributes { + #[allow(unused_mut)] let mut object_1871 = object.key("DataAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_data_attributes( &mut object_1871, @@ -8966,6 +9286,7 @@ pub fn serialize_structure_crate_model_labeling_job_algorithms_config( .string(var_1878.as_str()); } if let Some(var_1879) = &input.labeling_job_resource_config { + #[allow(unused_mut)] let mut object_1880 = object.key("LabelingJobResourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_resource_config( &mut object_1880, @@ -8984,6 +9305,7 @@ pub fn serialize_structure_crate_model_human_task_config( object.key("WorkteamArn").string(var_1881.as_str()); } if let Some(var_1882) = &input.ui_config { + #[allow(unused_mut)] let mut object_1883 = object.key("UiConfig").start_object(); crate::json_ser::serialize_structure_crate_model_ui_config(&mut object_1883, var_1882)?; object_1883.finish(); @@ -9033,6 +9355,7 @@ pub fn serialize_structure_crate_model_human_task_config( ); } if let Some(var_1894) = &input.annotation_consolidation_config { + #[allow(unused_mut)] let mut object_1895 = object.key("AnnotationConsolidationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_annotation_consolidation_config( &mut object_1895, @@ -9041,6 +9364,7 @@ pub fn serialize_structure_crate_model_human_task_config( object_1895.finish(); } if let Some(var_1896) = &input.public_workforce_task_price { + #[allow(unused_mut)] let mut object_1897 = object.key("PublicWorkforceTaskPrice").start_object(); crate::json_ser::serialize_structure_crate_model_public_workforce_task_price( &mut object_1897, @@ -9062,6 +9386,7 @@ pub fn serialize_structure_crate_model_container_definition( object.key("Image").string(var_1899.as_str()); } if let Some(var_1900) = &input.image_config { + #[allow(unused_mut)] let mut object_1901 = object.key("ImageConfig").start_object(); crate::json_ser::serialize_structure_crate_model_image_config(&mut object_1901, var_1900)?; object_1901.finish(); @@ -9073,6 +9398,7 @@ pub fn serialize_structure_crate_model_container_definition( object.key("ModelDataUrl").string(var_1903.as_str()); } if let Some(var_1904) = &input.environment { + #[allow(unused_mut)] let mut object_1905 = object.key("Environment").start_object(); for (key_1906, value_1907) in var_1904 { { @@ -9092,6 +9418,7 @@ pub fn serialize_structure_crate_model_container_definition( .string(var_1909.as_str()); } if let Some(var_1910) = &input.multi_model_config { + #[allow(unused_mut)] let mut object_1911 = object.key("MultiModelConfig").start_object(); crate::json_ser::serialize_structure_crate_model_multi_model_config( &mut object_1911, @@ -9145,6 +9472,7 @@ pub fn serialize_structure_crate_model_model_bias_baseline_config( object.key("BaseliningJobName").string(var_1919.as_str()); } if let Some(var_1920) = &input.constraints_resource { + #[allow(unused_mut)] let mut object_1921 = object.key("ConstraintsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_constraints_resource( &mut object_1921, @@ -9166,6 +9494,7 @@ pub fn serialize_structure_crate_model_model_bias_app_specification( object.key("ConfigUri").string(var_1923.as_str()); } if let Some(var_1924) = &input.environment { + #[allow(unused_mut)] let mut object_1925 = object.key("Environment").start_object(); for (key_1926, value_1927) in var_1924 { { @@ -9184,6 +9513,7 @@ pub fn serialize_structure_crate_model_model_bias_job_input( input: &crate::model::ModelBiasJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1928) = &input.endpoint_input { + #[allow(unused_mut)] let mut object_1929 = object.key("EndpointInput").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_input( &mut object_1929, @@ -9192,6 +9522,7 @@ pub fn serialize_structure_crate_model_model_bias_job_input( object_1929.finish(); } if let Some(var_1930) = &input.ground_truth_s3_input { + #[allow(unused_mut)] let mut object_1931 = object.key("GroundTruthS3Input").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_ground_truth_s3_input( &mut object_1931, @@ -9210,6 +9541,7 @@ pub fn serialize_structure_crate_model_model_explainability_baseline_config( object.key("BaseliningJobName").string(var_1932.as_str()); } if let Some(var_1933) = &input.constraints_resource { + #[allow(unused_mut)] let mut object_1934 = object.key("ConstraintsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_constraints_resource( &mut object_1934, @@ -9231,6 +9563,7 @@ pub fn serialize_structure_crate_model_model_explainability_app_specification( object.key("ConfigUri").string(var_1936.as_str()); } if let Some(var_1937) = &input.environment { + #[allow(unused_mut)] let mut object_1938 = object.key("Environment").start_object(); for (key_1939, value_1940) in var_1937 { { @@ -9249,6 +9582,7 @@ pub fn serialize_structure_crate_model_model_explainability_job_input( input: &crate::model::ModelExplainabilityJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1941) = &input.endpoint_input { + #[allow(unused_mut)] let mut object_1942 = object.key("EndpointInput").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_input( &mut object_1942, @@ -9270,6 +9604,7 @@ pub fn serialize_structure_crate_model_model_package_validation_specification( let mut array_1945 = object.key("ValidationProfiles").start_array(); for item_1946 in var_1944 { { + #[allow(unused_mut)] let mut object_1947 = array_1945.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_package_validation_profile( &mut object_1947, @@ -9291,6 +9626,7 @@ pub fn serialize_structure_crate_model_source_algorithm_specification( let mut array_1949 = object.key("SourceAlgorithms").start_array(); for item_1950 in var_1948 { { + #[allow(unused_mut)] let mut object_1951 = array_1949.value().start_object(); crate::json_ser::serialize_structure_crate_model_source_algorithm( &mut object_1951, @@ -9309,11 +9645,13 @@ pub fn serialize_structure_crate_model_model_metrics( input: &crate::model::ModelMetrics, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1952) = &input.model_quality { + #[allow(unused_mut)] let mut object_1953 = object.key("ModelQuality").start_object(); crate::json_ser::serialize_structure_crate_model_model_quality(&mut object_1953, var_1952)?; object_1953.finish(); } if let Some(var_1954) = &input.model_data_quality { + #[allow(unused_mut)] let mut object_1955 = object.key("ModelDataQuality").start_object(); crate::json_ser::serialize_structure_crate_model_model_data_quality( &mut object_1955, @@ -9322,11 +9660,13 @@ pub fn serialize_structure_crate_model_model_metrics( object_1955.finish(); } if let Some(var_1956) = &input.bias { + #[allow(unused_mut)] let mut object_1957 = object.key("Bias").start_object(); crate::json_ser::serialize_structure_crate_model_bias(&mut object_1957, var_1956)?; object_1957.finish(); } if let Some(var_1958) = &input.explainability { + #[allow(unused_mut)] let mut object_1959 = object.key("Explainability").start_object(); crate::json_ser::serialize_structure_crate_model_explainability( &mut object_1959, @@ -9342,6 +9682,7 @@ pub fn serialize_structure_crate_model_drift_check_baselines( input: &crate::model::DriftCheckBaselines, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1960) = &input.bias { + #[allow(unused_mut)] let mut object_1961 = object.key("Bias").start_object(); crate::json_ser::serialize_structure_crate_model_drift_check_bias( &mut object_1961, @@ -9350,6 +9691,7 @@ pub fn serialize_structure_crate_model_drift_check_baselines( object_1961.finish(); } if let Some(var_1962) = &input.explainability { + #[allow(unused_mut)] let mut object_1963 = object.key("Explainability").start_object(); crate::json_ser::serialize_structure_crate_model_drift_check_explainability( &mut object_1963, @@ -9358,6 +9700,7 @@ pub fn serialize_structure_crate_model_drift_check_baselines( object_1963.finish(); } if let Some(var_1964) = &input.model_quality { + #[allow(unused_mut)] let mut object_1965 = object.key("ModelQuality").start_object(); crate::json_ser::serialize_structure_crate_model_drift_check_model_quality( &mut object_1965, @@ -9366,6 +9709,7 @@ pub fn serialize_structure_crate_model_drift_check_baselines( object_1965.finish(); } if let Some(var_1966) = &input.model_data_quality { + #[allow(unused_mut)] let mut object_1967 = object.key("ModelDataQuality").start_object(); crate::json_ser::serialize_structure_crate_model_drift_check_model_data_quality( &mut object_1967, @@ -9390,6 +9734,7 @@ pub fn serialize_structure_crate_model_additional_inference_specification_defini let mut array_1971 = object.key("Containers").start_array(); for item_1972 in var_1970 { { + #[allow(unused_mut)] let mut object_1973 = array_1971.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_package_container_definition(&mut object_1973, item_1972)?; object_1973.finish(); @@ -9446,6 +9791,7 @@ pub fn serialize_structure_crate_model_model_quality_baseline_config( object.key("BaseliningJobName").string(var_1986.as_str()); } if let Some(var_1987) = &input.constraints_resource { + #[allow(unused_mut)] let mut object_1988 = object.key("ConstraintsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_constraints_resource( &mut object_1988, @@ -9495,6 +9841,7 @@ pub fn serialize_structure_crate_model_model_quality_app_specification( object.key("ProblemType").string(var_1998.as_str()); } if let Some(var_1999) = &input.environment { + #[allow(unused_mut)] let mut object_2000 = object.key("Environment").start_object(); for (key_2001, value_2002) in var_1999 { { @@ -9513,6 +9860,7 @@ pub fn serialize_structure_crate_model_model_quality_job_input( input: &crate::model::ModelQualityJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2003) = &input.endpoint_input { + #[allow(unused_mut)] let mut object_2004 = object.key("EndpointInput").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_input( &mut object_2004, @@ -9521,6 +9869,7 @@ pub fn serialize_structure_crate_model_model_quality_job_input( object_2004.finish(); } if let Some(var_2005) = &input.ground_truth_s3_input { + #[allow(unused_mut)] let mut object_2006 = object.key("GroundTruthS3Input").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_ground_truth_s3_input( &mut object_2006, @@ -9536,6 +9885,7 @@ pub fn serialize_structure_crate_model_monitoring_schedule_config( input: &crate::model::MonitoringScheduleConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2007) = &input.schedule_config { + #[allow(unused_mut)] let mut object_2008 = object.key("ScheduleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_schedule_config( &mut object_2008, @@ -9544,6 +9894,7 @@ pub fn serialize_structure_crate_model_monitoring_schedule_config( object_2008.finish(); } if let Some(var_2009) = &input.monitoring_job_definition { + #[allow(unused_mut)] let mut object_2010 = object.key("MonitoringJobDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_job_definition( &mut object_2010, @@ -9624,6 +9975,7 @@ pub fn serialize_structure_crate_model_processing_input( object.key("AppManaged").boolean(input.app_managed); } if let Some(var_2019) = &input.s3_input { + #[allow(unused_mut)] let mut object_2020 = object.key("S3Input").start_object(); crate::json_ser::serialize_structure_crate_model_processing_s3_input( &mut object_2020, @@ -9632,6 +9984,7 @@ pub fn serialize_structure_crate_model_processing_input( object_2020.finish(); } if let Some(var_2021) = &input.dataset_definition { + #[allow(unused_mut)] let mut object_2022 = object.key("DatasetDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_dataset_definition( &mut object_2022, @@ -9650,6 +10003,7 @@ pub fn serialize_structure_crate_model_processing_output_config( let mut array_2024 = object.key("Outputs").start_array(); for item_2025 in var_2023 { { + #[allow(unused_mut)] let mut object_2026 = array_2024.value().start_object(); crate::json_ser::serialize_structure_crate_model_processing_output( &mut object_2026, @@ -9671,6 +10025,7 @@ pub fn serialize_structure_crate_model_processing_resources( input: &crate::model::ProcessingResources, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2028) = &input.cluster_config { + #[allow(unused_mut)] let mut object_2029 = object.key("ClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_processing_cluster_config( &mut object_2029, @@ -9737,6 +10092,7 @@ pub fn serialize_structure_crate_model_network_config( .boolean(input.enable_network_isolation); } if let Some(var_2037) = &input.vpc_config { + #[allow(unused_mut)] let mut object_2038 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_2038, var_2037)?; object_2038.finish(); @@ -9781,6 +10137,7 @@ pub fn serialize_structure_crate_model_service_catalog_provisioning_details( let mut array_2046 = object.key("ProvisioningParameters").start_array(); for item_2047 in var_2045 { { + #[allow(unused_mut)] let mut object_2048 = array_2046.value().start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_parameter( &mut object_2048, @@ -9811,6 +10168,7 @@ pub fn serialize_structure_crate_model_algorithm_specification( let mut array_2053 = object.key("MetricDefinitions").start_array(); for item_2054 in var_2052 { { + #[allow(unused_mut)] let mut object_2055 = array_2053.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_definition( &mut object_2055, @@ -9837,6 +10195,7 @@ pub fn serialize_structure_crate_model_channel( object.key("ChannelName").string(var_2056.as_str()); } if let Some(var_2057) = &input.data_source { + #[allow(unused_mut)] let mut object_2058 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_data_source(&mut object_2058, var_2057)?; object_2058.finish(); @@ -9854,6 +10213,7 @@ pub fn serialize_structure_crate_model_channel( object.key("InputMode").string(var_2062.as_str()); } if let Some(var_2063) = &input.shuffle_config { + #[allow(unused_mut)] let mut object_2064 = object.key("ShuffleConfig").start_object(); crate::json_ser::serialize_structure_crate_model_shuffle_config( &mut object_2064, @@ -9903,6 +10263,7 @@ pub fn serialize_structure_crate_model_resource_config( let mut array_2070 = object.key("InstanceGroups").start_array(); for item_2071 in var_2069 { { + #[allow(unused_mut)] let mut object_2072 = array_2070.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_group( &mut object_2072, @@ -9946,6 +10307,7 @@ pub fn serialize_structure_crate_model_debug_hook_config( object.key("S3OutputPath").string(var_2077.as_str()); } if let Some(var_2078) = &input.hook_parameters { + #[allow(unused_mut)] let mut object_2079 = object.key("HookParameters").start_object(); for (key_2080, value_2081) in var_2078 { { @@ -9960,6 +10322,7 @@ pub fn serialize_structure_crate_model_debug_hook_config( let mut array_2083 = object.key("CollectionConfigurations").start_array(); for item_2084 in var_2082 { { + #[allow(unused_mut)] let mut object_2085 = array_2083.value().start_object(); crate::json_ser::serialize_structure_crate_model_collection_configuration( &mut object_2085, @@ -10001,6 +10364,7 @@ pub fn serialize_structure_crate_model_debug_rule_configuration( ); } if let Some(var_2091) = &input.rule_parameters { + #[allow(unused_mut)] let mut object_2092 = object.key("RuleParameters").start_object(); for (key_2093, value_2094) in var_2091 { { @@ -10041,6 +10405,7 @@ pub fn serialize_structure_crate_model_profiler_config( ); } if let Some(var_2099) = &input.profiling_parameters { + #[allow(unused_mut)] let mut object_2100 = object.key("ProfilingParameters").start_object(); for (key_2101, value_2102) in var_2099 { { @@ -10082,6 +10447,7 @@ pub fn serialize_structure_crate_model_profiler_rule_configuration( ); } if let Some(var_2108) = &input.rule_parameters { + #[allow(unused_mut)] let mut object_2109 = object.key("RuleParameters").start_object(); for (key_2110, value_2111) in var_2108 { { @@ -10132,6 +10498,7 @@ pub fn serialize_structure_crate_model_transform_input( input: &crate::model::TransformInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2114) = &input.data_source { + #[allow(unused_mut)] let mut object_2115 = object.key("DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_transform_data_source( &mut object_2115, @@ -10351,6 +10718,7 @@ pub fn serialize_structure_crate_model_member_definition( input: &crate::model::MemberDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2153) = &input.cognito_member_definition { + #[allow(unused_mut)] let mut object_2154 = object.key("CognitoMemberDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_cognito_member_definition( &mut object_2154, @@ -10359,6 +10727,7 @@ pub fn serialize_structure_crate_model_member_definition( object_2154.finish(); } if let Some(var_2155) = &input.oidc_member_definition { + #[allow(unused_mut)] let mut object_2156 = object.key("OidcMemberDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_oidc_member_definition( &mut object_2156, @@ -10394,6 +10763,7 @@ pub fn serialize_structure_crate_model_suggestion_query( input: &crate::model::SuggestionQuery, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2159) = &input.property_name_query { + #[allow(unused_mut)] let mut object_2160 = object.key("PropertyNameQuery").start_object(); crate::json_ser::serialize_structure_crate_model_property_name_query( &mut object_2160, @@ -10412,6 +10782,7 @@ pub fn serialize_structure_crate_model_model_metadata_search_expression( let mut array_2162 = object.key("Filters").start_array(); for item_2163 in var_2161 { { + #[allow(unused_mut)] let mut object_2164 = array_2162.value().start_object(); crate::json_ser::serialize_structure_crate_model_model_metadata_filter( &mut object_2164, @@ -10468,6 +10839,7 @@ pub fn serialize_structure_crate_model_query_filters( .date_time(var_2174, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_2175) = &input.properties { + #[allow(unused_mut)] let mut object_2176 = object.key("Properties").start_object(); for (key_2177, value_2178) in var_2175 { { @@ -10515,6 +10887,7 @@ pub fn serialize_structure_crate_model_search_expression( let mut array_2184 = object.key("Filters").start_array(); for item_2185 in var_2183 { { + #[allow(unused_mut)] let mut object_2186 = array_2184.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter( &mut object_2186, @@ -10529,6 +10902,7 @@ pub fn serialize_structure_crate_model_search_expression( let mut array_2188 = object.key("NestedFilters").start_array(); for item_2189 in var_2187 { { + #[allow(unused_mut)] let mut object_2190 = array_2188.value().start_object(); crate::json_ser::serialize_structure_crate_model_nested_filters( &mut object_2190, @@ -10543,6 +10917,7 @@ pub fn serialize_structure_crate_model_search_expression( let mut array_2192 = object.key("SubExpressions").start_array(); for item_2193 in var_2191 { { + #[allow(unused_mut)] let mut object_2194 = array_2192.value().start_object(); crate::json_ser::serialize_structure_crate_model_search_expression( &mut object_2194, @@ -10600,6 +10975,7 @@ pub fn serialize_structure_crate_model_domain_settings_for_update( input: &crate::model::DomainSettingsForUpdate, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2201) = &input.r_studio_server_pro_domain_settings_for_update { + #[allow(unused_mut)] let mut object_2202 = object .key("RStudioServerProDomainSettingsForUpdate") .start_object(); @@ -10672,6 +11048,7 @@ pub fn serialize_structure_crate_model_service_catalog_provisioning_update_detai let mut array_2212 = object.key("ProvisioningParameters").start_array(); for item_2213 in var_2211 { { + #[allow(unused_mut)] let mut object_2214 = array_2212.value().start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_parameter( &mut object_2214, @@ -10699,6 +11076,7 @@ pub fn serialize_structure_crate_model_profiler_config_for_update( ); } if let Some(var_2217) = &input.profiling_parameters { + #[allow(unused_mut)] let mut object_2218 = object.key("ProfilingParameters").start_object(); for (key_2219, value_2220) in var_2217 { { @@ -10744,6 +11122,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_specification( object.key("Type").string(var_2224.as_str()); } if let Some(var_2225) = &input.range { + #[allow(unused_mut)] let mut object_2226 = object.key("Range").start_object(); crate::json_ser::serialize_structure_crate_model_parameter_range( &mut object_2226, @@ -10852,6 +11231,7 @@ pub fn serialize_structure_crate_model_model_package_container_definition( object.key("ProductId").string(var_2247.as_str()); } if let Some(var_2248) = &input.environment { + #[allow(unused_mut)] let mut object_2249 = object.key("Environment").start_object(); for (key_2250, value_2251) in var_2248 { { @@ -10863,6 +11243,7 @@ pub fn serialize_structure_crate_model_model_package_container_definition( object_2249.finish(); } if let Some(var_2252) = &input.model_input { + #[allow(unused_mut)] let mut object_2253 = object.key("ModelInput").start_object(); crate::json_ser::serialize_structure_crate_model_model_input(&mut object_2253, var_2252)?; object_2253.finish(); @@ -10887,6 +11268,7 @@ pub fn serialize_structure_crate_model_algorithm_validation_profile( object.key("ProfileName").string(var_2257.as_str()); } if let Some(var_2258) = &input.training_job_definition { + #[allow(unused_mut)] let mut object_2259 = object.key("TrainingJobDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_training_job_definition( &mut object_2259, @@ -10895,6 +11277,7 @@ pub fn serialize_structure_crate_model_algorithm_validation_profile( object_2259.finish(); } if let Some(var_2260) = &input.transform_job_definition { + #[allow(unused_mut)] let mut object_2261 = object.key("TransformJobDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_transform_job_definition( &mut object_2261, @@ -10958,6 +11341,7 @@ pub fn serialize_structure_crate_model_auto_ml_data_source( input: &crate::model::AutoMlDataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2269) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_2270 = object.key("S3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_auto_mls3_data_source( &mut object_2270, @@ -11006,6 +11390,7 @@ pub fn serialize_structure_crate_model_auto_ml_security_config( .boolean(input.enable_inter_container_traffic_encryption); } if let Some(var_2275) = &input.vpc_config { + #[allow(unused_mut)] let mut object_2276 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_2276, var_2275)?; object_2276.finish(); @@ -11121,6 +11506,7 @@ pub fn serialize_structure_crate_model_monitoring_output( input: &crate::model::MonitoringOutput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2294) = &input.s3_output { + #[allow(unused_mut)] let mut object_2295 = object.key("S3Output").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_s3_output( &mut object_2295, @@ -11177,6 +11563,7 @@ pub fn serialize_structure_crate_model_jupyter_server_app_settings( input: &crate::model::JupyterServerAppSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2303) = &input.default_resource_spec { + #[allow(unused_mut)] let mut object_2304 = object.key("DefaultResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_2304, var_2303)?; object_2304.finish(); @@ -11198,6 +11585,7 @@ pub fn serialize_structure_crate_model_kernel_gateway_app_settings( input: &crate::model::KernelGatewayAppSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2308) = &input.default_resource_spec { + #[allow(unused_mut)] let mut object_2309 = object.key("DefaultResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_2309, var_2308)?; object_2309.finish(); @@ -11206,6 +11594,7 @@ pub fn serialize_structure_crate_model_kernel_gateway_app_settings( let mut array_2311 = object.key("CustomImages").start_array(); for item_2312 in var_2310 { { + #[allow(unused_mut)] let mut object_2313 = array_2311.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_image( &mut object_2313, @@ -11233,6 +11622,7 @@ pub fn serialize_structure_crate_model_tensor_board_app_settings( input: &crate::model::TensorBoardAppSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2317) = &input.default_resource_spec { + #[allow(unused_mut)] let mut object_2318 = object.key("DefaultResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_2318, var_2317)?; object_2318.finish(); @@ -11258,6 +11648,7 @@ pub fn serialize_structure_crate_model_r_session_app_settings( input: &crate::model::RSessionAppSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2321) = &input.default_resource_spec { + #[allow(unused_mut)] let mut object_2322 = object.key("DefaultResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_2322, var_2321)?; object_2322.finish(); @@ -11266,6 +11657,7 @@ pub fn serialize_structure_crate_model_r_session_app_settings( let mut array_2324 = object.key("CustomImages").start_array(); for item_2325 in var_2323 { { + #[allow(unused_mut)] let mut object_2326 = array_2324.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_image( &mut object_2326, @@ -11284,6 +11676,7 @@ pub fn serialize_structure_crate_model_canvas_app_settings( input: &crate::model::CanvasAppSettings, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2327) = &input.time_series_forecasting_settings { + #[allow(unused_mut)] let mut object_2328 = object.key("TimeSeriesForecastingSettings").start_object(); crate::json_ser::serialize_structure_crate_model_time_series_forecasting_settings( &mut object_2328, @@ -11312,6 +11705,7 @@ pub fn serialize_structure_crate_model_r_studio_server_pro_domain_settings( .string(var_2331.as_str()); } if let Some(var_2332) = &input.default_resource_spec { + #[allow(unused_mut)] let mut object_2333 = object.key("DefaultResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_2333, var_2332)?; object_2333.finish(); @@ -11364,6 +11758,7 @@ pub fn serialize_structure_crate_model_blue_green_update_policy( input: &crate::model::BlueGreenUpdatePolicy, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2340) = &input.traffic_routing_configuration { + #[allow(unused_mut)] let mut object_2341 = object.key("TrafficRoutingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_traffic_routing_config( &mut object_2341, @@ -11394,6 +11789,7 @@ pub fn serialize_structure_crate_model_auto_rollback_config( let mut array_2345 = object.key("Alarms").start_array(); for item_2346 in var_2344 { { + #[allow(unused_mut)] let mut object_2347 = array_2345.value().start_object(); crate::json_ser::serialize_structure_crate_model_alarm( &mut object_2347, @@ -11498,6 +11894,7 @@ pub fn serialize_structure_crate_model_async_inference_output_config( object.key("S3OutputPath").string(var_2361.as_str()); } if let Some(var_2362) = &input.notification_config { + #[allow(unused_mut)] let mut object_2363 = object.key("NotificationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_async_inference_notification_config( &mut object_2363, @@ -11516,6 +11913,7 @@ pub fn serialize_structure_crate_model_clarify_explainer_config( object.key("EnableExplanations").string(var_2364.as_str()); } if let Some(var_2365) = &input.inference_config { + #[allow(unused_mut)] let mut object_2366 = object.key("InferenceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_clarify_inference_config( &mut object_2366, @@ -11524,6 +11922,7 @@ pub fn serialize_structure_crate_model_clarify_explainer_config( object_2366.finish(); } if let Some(var_2367) = &input.shap_config { + #[allow(unused_mut)] let mut object_2368 = object.key("ShapConfig").start_object(); crate::json_ser::serialize_structure_crate_model_clarify_shap_config( &mut object_2368, @@ -11593,6 +11992,7 @@ pub fn serialize_structure_crate_model_public_workforce_task_price( input: &crate::model::PublicWorkforceTaskPrice, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2377) = &input.amount_in_usd { + #[allow(unused_mut)] let mut object_2378 = object.key("AmountInUsd").start_object(); crate::json_ser::serialize_structure_crate_model_usd(&mut object_2378, var_2377)?; object_2378.finish(); @@ -11605,6 +12005,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_job_strategy_confi input: &crate::model::HyperParameterTuningJobStrategyConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2379) = &input.hyperband_strategy_config { + #[allow(unused_mut)] let mut object_2380 = object.key("HyperbandStrategyConfig").start_object(); crate::json_ser::serialize_structure_crate_model_hyperband_strategy_config( &mut object_2380, @@ -11642,6 +12043,7 @@ pub fn serialize_structure_crate_model_parameter_ranges( let mut array_2382 = object.key("IntegerParameterRanges").start_array(); for item_2383 in var_2381 { { + #[allow(unused_mut)] let mut object_2384 = array_2382.value().start_object(); crate::json_ser::serialize_structure_crate_model_integer_parameter_range( &mut object_2384, @@ -11656,6 +12058,7 @@ pub fn serialize_structure_crate_model_parameter_ranges( let mut array_2386 = object.key("ContinuousParameterRanges").start_array(); for item_2387 in var_2385 { { + #[allow(unused_mut)] let mut object_2388 = array_2386.value().start_object(); crate::json_ser::serialize_structure_crate_model_continuous_parameter_range( &mut object_2388, @@ -11670,6 +12073,7 @@ pub fn serialize_structure_crate_model_parameter_ranges( let mut array_2390 = object.key("CategoricalParameterRanges").start_array(); for item_2391 in var_2389 { { + #[allow(unused_mut)] let mut object_2392 = array_2390.value().start_object(); crate::json_ser::serialize_structure_crate_model_categorical_parameter_range( &mut object_2392, @@ -11713,6 +12117,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_algorithm_specification( let mut array_2398 = object.key("MetricDefinitions").start_array(); for item_2399 in var_2397 { { + #[allow(unused_mut)] let mut object_2400 = array_2398.value().start_object(); crate::json_ser::serialize_structure_crate_model_metric_definition( &mut object_2400, @@ -11755,6 +12160,7 @@ pub fn serialize_structure_crate_model_hyper_parameter_tuning_resource_config( let mut array_2405 = object.key("InstanceConfigs").start_array(); for item_2406 in var_2404 { { + #[allow(unused_mut)] let mut object_2407 = array_2405.value().start_object(); crate::json_ser::serialize_structure_crate_model_hyper_parameter_tuning_instance_config(&mut object_2407, item_2406)?; object_2407.finish(); @@ -11788,6 +12194,7 @@ pub fn serialize_structure_crate_model_traffic_pattern( let mut array_2411 = object.key("Phases").start_array(); for item_2412 in var_2410 { { + #[allow(unused_mut)] let mut object_2413 = array_2411.value().start_object(); crate::json_ser::serialize_structure_crate_model_phase( &mut object_2413, @@ -11833,6 +12240,7 @@ pub fn serialize_structure_crate_model_endpoint_input_configuration( .string(var_2417.as_str()); } if let Some(var_2418) = &input.environment_parameter_ranges { + #[allow(unused_mut)] let mut object_2419 = object.key("EnvironmentParameterRanges").start_object(); crate::json_ser::serialize_structure_crate_model_environment_parameter_ranges( &mut object_2419, @@ -11860,6 +12268,7 @@ pub fn serialize_structure_crate_model_recommendation_job_container_config( object.key("FrameworkVersion").string(var_2423.as_str()); } if let Some(var_2424) = &input.payload_config { + #[allow(unused_mut)] let mut object_2425 = object.key("PayloadConfig").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation_job_payload_config( &mut object_2425, @@ -11913,6 +12322,7 @@ pub fn serialize_structure_crate_model_labeling_job_data_source( input: &crate::model::LabelingJobDataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2432) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_2433 = object.key("S3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_s3_data_source( &mut object_2433, @@ -11921,6 +12331,7 @@ pub fn serialize_structure_crate_model_labeling_job_data_source( object_2433.finish(); } if let Some(var_2434) = &input.sns_data_source { + #[allow(unused_mut)] let mut object_2435 = object.key("SnsDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_labeling_job_sns_data_source( &mut object_2435, @@ -11955,6 +12366,7 @@ pub fn serialize_structure_crate_model_labeling_job_resource_config( object.key("VolumeKmsKeyId").string(var_2439.as_str()); } if let Some(var_2440) = &input.vpc_config { + #[allow(unused_mut)] let mut object_2441 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config(&mut object_2441, var_2440)?; object_2441.finish(); @@ -11995,6 +12407,7 @@ pub fn serialize_structure_crate_model_image_config( object.key("RepositoryAccessMode").string(var_2445.as_str()); } if let Some(var_2446) = &input.repository_auth_config { + #[allow(unused_mut)] let mut object_2447 = object.key("RepositoryAuthConfig").start_object(); crate::json_ser::serialize_structure_crate_model_repository_auth_config( &mut object_2447, @@ -12033,6 +12446,7 @@ pub fn serialize_structure_crate_model_model_package_validation_profile( object.key("ProfileName").string(var_2450.as_str()); } if let Some(var_2451) = &input.transform_job_definition { + #[allow(unused_mut)] let mut object_2452 = object.key("TransformJobDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_transform_job_definition( &mut object_2452, @@ -12061,6 +12475,7 @@ pub fn serialize_structure_crate_model_model_quality( input: &crate::model::ModelQuality, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2455) = &input.statistics { + #[allow(unused_mut)] let mut object_2456 = object.key("Statistics").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2456, @@ -12069,6 +12484,7 @@ pub fn serialize_structure_crate_model_model_quality( object_2456.finish(); } if let Some(var_2457) = &input.constraints { + #[allow(unused_mut)] let mut object_2458 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2458, @@ -12084,6 +12500,7 @@ pub fn serialize_structure_crate_model_model_data_quality( input: &crate::model::ModelDataQuality, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2459) = &input.statistics { + #[allow(unused_mut)] let mut object_2460 = object.key("Statistics").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2460, @@ -12092,6 +12509,7 @@ pub fn serialize_structure_crate_model_model_data_quality( object_2460.finish(); } if let Some(var_2461) = &input.constraints { + #[allow(unused_mut)] let mut object_2462 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2462, @@ -12107,6 +12525,7 @@ pub fn serialize_structure_crate_model_bias( input: &crate::model::Bias, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2463) = &input.report { + #[allow(unused_mut)] let mut object_2464 = object.key("Report").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2464, @@ -12115,6 +12534,7 @@ pub fn serialize_structure_crate_model_bias( object_2464.finish(); } if let Some(var_2465) = &input.pre_training_report { + #[allow(unused_mut)] let mut object_2466 = object.key("PreTrainingReport").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2466, @@ -12123,6 +12543,7 @@ pub fn serialize_structure_crate_model_bias( object_2466.finish(); } if let Some(var_2467) = &input.post_training_report { + #[allow(unused_mut)] let mut object_2468 = object.key("PostTrainingReport").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2468, @@ -12138,6 +12559,7 @@ pub fn serialize_structure_crate_model_explainability( input: &crate::model::Explainability, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2469) = &input.report { + #[allow(unused_mut)] let mut object_2470 = object.key("Report").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2470, @@ -12153,11 +12575,13 @@ pub fn serialize_structure_crate_model_drift_check_bias( input: &crate::model::DriftCheckBias, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2471) = &input.config_file { + #[allow(unused_mut)] let mut object_2472 = object.key("ConfigFile").start_object(); crate::json_ser::serialize_structure_crate_model_file_source(&mut object_2472, var_2471)?; object_2472.finish(); } if let Some(var_2473) = &input.pre_training_constraints { + #[allow(unused_mut)] let mut object_2474 = object.key("PreTrainingConstraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2474, @@ -12166,6 +12590,7 @@ pub fn serialize_structure_crate_model_drift_check_bias( object_2474.finish(); } if let Some(var_2475) = &input.post_training_constraints { + #[allow(unused_mut)] let mut object_2476 = object.key("PostTrainingConstraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2476, @@ -12181,6 +12606,7 @@ pub fn serialize_structure_crate_model_drift_check_explainability( input: &crate::model::DriftCheckExplainability, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2477) = &input.constraints { + #[allow(unused_mut)] let mut object_2478 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2478, @@ -12189,6 +12615,7 @@ pub fn serialize_structure_crate_model_drift_check_explainability( object_2478.finish(); } if let Some(var_2479) = &input.config_file { + #[allow(unused_mut)] let mut object_2480 = object.key("ConfigFile").start_object(); crate::json_ser::serialize_structure_crate_model_file_source(&mut object_2480, var_2479)?; object_2480.finish(); @@ -12201,6 +12628,7 @@ pub fn serialize_structure_crate_model_drift_check_model_quality( input: &crate::model::DriftCheckModelQuality, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2481) = &input.statistics { + #[allow(unused_mut)] let mut object_2482 = object.key("Statistics").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2482, @@ -12209,6 +12637,7 @@ pub fn serialize_structure_crate_model_drift_check_model_quality( object_2482.finish(); } if let Some(var_2483) = &input.constraints { + #[allow(unused_mut)] let mut object_2484 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2484, @@ -12224,6 +12653,7 @@ pub fn serialize_structure_crate_model_drift_check_model_data_quality( input: &crate::model::DriftCheckModelDataQuality, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2485) = &input.statistics { + #[allow(unused_mut)] let mut object_2486 = object.key("Statistics").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2486, @@ -12232,6 +12662,7 @@ pub fn serialize_structure_crate_model_drift_check_model_data_quality( object_2486.finish(); } if let Some(var_2487) = &input.constraints { + #[allow(unused_mut)] let mut object_2488 = object.key("Constraints").start_object(); crate::json_ser::serialize_structure_crate_model_metrics_source( &mut object_2488, @@ -12257,6 +12688,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( input: &crate::model::MonitoringJobDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2490) = &input.baseline_config { + #[allow(unused_mut)] let mut object_2491 = object.key("BaselineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_baseline_config( &mut object_2491, @@ -12268,6 +12700,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( let mut array_2493 = object.key("MonitoringInputs").start_array(); for item_2494 in var_2492 { { + #[allow(unused_mut)] let mut object_2495 = array_2493.value().start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_input( &mut object_2495, @@ -12279,6 +12712,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( array_2493.finish(); } if let Some(var_2496) = &input.monitoring_output_config { + #[allow(unused_mut)] let mut object_2497 = object.key("MonitoringOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_output_config( &mut object_2497, @@ -12287,6 +12721,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( object_2497.finish(); } if let Some(var_2498) = &input.monitoring_resources { + #[allow(unused_mut)] let mut object_2499 = object.key("MonitoringResources").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_resources( &mut object_2499, @@ -12295,6 +12730,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( object_2499.finish(); } if let Some(var_2500) = &input.monitoring_app_specification { + #[allow(unused_mut)] let mut object_2501 = object.key("MonitoringAppSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_app_specification( &mut object_2501, @@ -12303,6 +12739,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( object_2501.finish(); } if let Some(var_2502) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_2503 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_stopping_condition( &mut object_2503, @@ -12311,6 +12748,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( object_2503.finish(); } if let Some(var_2504) = &input.environment { + #[allow(unused_mut)] let mut object_2505 = object.key("Environment").start_object(); for (key_2506, value_2507) in var_2504 { { @@ -12322,6 +12760,7 @@ pub fn serialize_structure_crate_model_monitoring_job_definition( object_2505.finish(); } if let Some(var_2508) = &input.network_config { + #[allow(unused_mut)] let mut object_2509 = object.key("NetworkConfig").start_object(); crate::json_ser::serialize_structure_crate_model_network_config( &mut object_2509, @@ -12367,6 +12806,7 @@ pub fn serialize_structure_crate_model_dataset_definition( input: &crate::model::DatasetDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2517) = &input.athena_dataset_definition { + #[allow(unused_mut)] let mut object_2518 = object.key("AthenaDatasetDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_athena_dataset_definition( &mut object_2518, @@ -12375,6 +12815,7 @@ pub fn serialize_structure_crate_model_dataset_definition( object_2518.finish(); } if let Some(var_2519) = &input.redshift_dataset_definition { + #[allow(unused_mut)] let mut object_2520 = object.key("RedshiftDatasetDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_redshift_dataset_definition( &mut object_2520, @@ -12402,6 +12843,7 @@ pub fn serialize_structure_crate_model_processing_output( object.key("OutputName").string(var_2524.as_str()); } if let Some(var_2525) = &input.s3_output { + #[allow(unused_mut)] let mut object_2526 = object.key("S3Output").start_object(); crate::json_ser::serialize_structure_crate_model_processing_s3_output( &mut object_2526, @@ -12410,6 +12852,7 @@ pub fn serialize_structure_crate_model_processing_output( object_2526.finish(); } if let Some(var_2527) = &input.feature_store_output { + #[allow(unused_mut)] let mut object_2528 = object.key("FeatureStoreOutput").start_object(); crate::json_ser::serialize_structure_crate_model_processing_feature_store_output( &mut object_2528, @@ -12466,6 +12909,7 @@ pub fn serialize_structure_crate_model_data_source( input: &crate::model::DataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2535) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_2536 = object.key("S3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_s3_data_source( &mut object_2536, @@ -12474,6 +12918,7 @@ pub fn serialize_structure_crate_model_data_source( object_2536.finish(); } if let Some(var_2537) = &input.file_system_data_source { + #[allow(unused_mut)] let mut object_2538 = object.key("FileSystemDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_file_system_data_source( &mut object_2538, @@ -12524,6 +12969,7 @@ pub fn serialize_structure_crate_model_collection_configuration( object.key("CollectionName").string(var_2541.as_str()); } if let Some(var_2542) = &input.collection_parameters { + #[allow(unused_mut)] let mut object_2543 = object.key("CollectionParameters").start_object(); for (key_2544, value_2545) in var_2542 { { @@ -12542,6 +12988,7 @@ pub fn serialize_structure_crate_model_transform_data_source( input: &crate::model::TransformDataSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2546) = &input.s3_data_source { + #[allow(unused_mut)] let mut object_2547 = object.key("S3DataSource").start_object(); crate::json_ser::serialize_structure_crate_model_transform_s3_data_source( &mut object_2547, @@ -12634,6 +13081,7 @@ pub fn serialize_structure_crate_model_nested_filters( let mut array_2562 = object.key("Filters").start_array(); for item_2563 in var_2561 { { + #[allow(unused_mut)] let mut object_2564 = array_2562.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter( &mut object_2564, @@ -12657,6 +13105,7 @@ pub fn serialize_structure_crate_model_r_studio_server_pro_domain_settings_for_u .string(var_2565.as_str()); } if let Some(var_2566) = &input.default_resource_spec { + #[allow(unused_mut)] let mut object_2567 = object.key("DefaultResourceSpec").start_object(); crate::json_ser::serialize_structure_crate_model_resource_spec(&mut object_2567, var_2566)?; object_2567.finish(); @@ -12669,6 +13118,7 @@ pub fn serialize_structure_crate_model_parameter_range( input: &crate::model::ParameterRange, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2568) = &input.integer_parameter_range_specification { + #[allow(unused_mut)] let mut object_2569 = object .key("IntegerParameterRangeSpecification") .start_object(); @@ -12679,6 +13129,7 @@ pub fn serialize_structure_crate_model_parameter_range( object_2569.finish(); } if let Some(var_2570) = &input.continuous_parameter_range_specification { + #[allow(unused_mut)] let mut object_2571 = object .key("ContinuousParameterRangeSpecification") .start_object(); @@ -12689,6 +13140,7 @@ pub fn serialize_structure_crate_model_parameter_range( object_2571.finish(); } if let Some(var_2572) = &input.categorical_parameter_range_specification { + #[allow(unused_mut)] let mut object_2573 = object .key("CategoricalParameterRangeSpecification") .start_object(); @@ -12719,6 +13171,7 @@ pub fn serialize_structure_crate_model_training_job_definition( object.key("TrainingInputMode").string(var_2575.as_str()); } if let Some(var_2576) = &input.hyper_parameters { + #[allow(unused_mut)] let mut object_2577 = object.key("HyperParameters").start_object(); for (key_2578, value_2579) in var_2576 { { @@ -12733,6 +13186,7 @@ pub fn serialize_structure_crate_model_training_job_definition( let mut array_2581 = object.key("InputDataConfig").start_array(); for item_2582 in var_2580 { { + #[allow(unused_mut)] let mut object_2583 = array_2581.value().start_object(); crate::json_ser::serialize_structure_crate_model_channel( &mut object_2583, @@ -12744,6 +13198,7 @@ pub fn serialize_structure_crate_model_training_job_definition( array_2581.finish(); } if let Some(var_2584) = &input.output_data_config { + #[allow(unused_mut)] let mut object_2585 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_2585, @@ -12752,6 +13207,7 @@ pub fn serialize_structure_crate_model_training_job_definition( object_2585.finish(); } if let Some(var_2586) = &input.resource_config { + #[allow(unused_mut)] let mut object_2587 = object.key("ResourceConfig").start_object(); crate::json_ser::serialize_structure_crate_model_resource_config( &mut object_2587, @@ -12760,6 +13216,7 @@ pub fn serialize_structure_crate_model_training_job_definition( object_2587.finish(); } if let Some(var_2588) = &input.stopping_condition { + #[allow(unused_mut)] let mut object_2589 = object.key("StoppingCondition").start_object(); crate::json_ser::serialize_structure_crate_model_stopping_condition( &mut object_2589, @@ -12790,6 +13247,7 @@ pub fn serialize_structure_crate_model_transform_job_definition( object.key("BatchStrategy").string(var_2592.as_str()); } if let Some(var_2593) = &input.environment { + #[allow(unused_mut)] let mut object_2594 = object.key("Environment").start_object(); for (key_2595, value_2596) in var_2593 { { @@ -12801,6 +13259,7 @@ pub fn serialize_structure_crate_model_transform_job_definition( object_2594.finish(); } if let Some(var_2597) = &input.transform_input { + #[allow(unused_mut)] let mut object_2598 = object.key("TransformInput").start_object(); crate::json_ser::serialize_structure_crate_model_transform_input( &mut object_2598, @@ -12809,6 +13268,7 @@ pub fn serialize_structure_crate_model_transform_job_definition( object_2598.finish(); } if let Some(var_2599) = &input.transform_output { + #[allow(unused_mut)] let mut object_2600 = object.key("TransformOutput").start_object(); crate::json_ser::serialize_structure_crate_model_transform_output( &mut object_2600, @@ -12817,6 +13277,7 @@ pub fn serialize_structure_crate_model_transform_job_definition( object_2600.finish(); } if let Some(var_2601) = &input.transform_resources { + #[allow(unused_mut)] let mut object_2602 = object.key("TransformResources").start_object(); crate::json_ser::serialize_structure_crate_model_transform_resources( &mut object_2602, @@ -12904,11 +13365,13 @@ pub fn serialize_structure_crate_model_traffic_routing_config( ); } if let Some(var_2615) = &input.canary_size { + #[allow(unused_mut)] let mut object_2616 = object.key("CanarySize").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_size(&mut object_2616, var_2615)?; object_2616.finish(); } if let Some(var_2617) = &input.linear_step_size { + #[allow(unused_mut)] let mut object_2618 = object.key("LinearStepSize").start_object(); crate::json_ser::serialize_structure_crate_model_capacity_size(&mut object_2618, var_2617)?; object_2618.finish(); @@ -13014,6 +13477,7 @@ pub fn serialize_structure_crate_model_clarify_shap_config( input: &crate::model::ClarifyShapConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2639) = &input.shap_baseline_config { + #[allow(unused_mut)] let mut object_2640 = object.key("ShapBaselineConfig").start_object(); crate::json_ser::serialize_structure_crate_model_clarify_shap_baseline_config( &mut object_2640, @@ -13037,6 +13501,7 @@ pub fn serialize_structure_crate_model_clarify_shap_config( ); } if let Some(var_2644) = &input.text_config { + #[allow(unused_mut)] let mut object_2645 = object.key("TextConfig").start_object(); crate::json_ser::serialize_structure_crate_model_clarify_text_config( &mut object_2645, @@ -13203,6 +13668,7 @@ pub fn serialize_structure_crate_model_environment_parameter_ranges( let mut array_2665 = object.key("CategoricalParameterRanges").start_array(); for item_2666 in var_2664 { { + #[allow(unused_mut)] let mut object_2667 = array_2665.value().start_object(); crate::json_ser::serialize_structure_crate_model_categorical_parameter( &mut object_2667, @@ -13307,6 +13773,7 @@ pub fn serialize_structure_crate_model_monitoring_baseline_config( object.key("BaseliningJobName").string(var_2681.as_str()); } if let Some(var_2682) = &input.constraints_resource { + #[allow(unused_mut)] let mut object_2683 = object.key("ConstraintsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_constraints_resource( &mut object_2683, @@ -13315,6 +13782,7 @@ pub fn serialize_structure_crate_model_monitoring_baseline_config( object_2683.finish(); } if let Some(var_2684) = &input.statistics_resource { + #[allow(unused_mut)] let mut object_2685 = object.key("StatisticsResource").start_object(); crate::json_ser::serialize_structure_crate_model_monitoring_statistics_resource( &mut object_2685, @@ -13330,6 +13798,7 @@ pub fn serialize_structure_crate_model_monitoring_input( input: &crate::model::MonitoringInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2686) = &input.endpoint_input { + #[allow(unused_mut)] let mut object_2687 = object.key("EndpointInput").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_input( &mut object_2687, diff --git a/sdk/sagemakera2iruntime/src/json_ser.rs b/sdk/sagemakera2iruntime/src/json_ser.rs index 0e2e69166880..1e03827d408f 100644 --- a/sdk/sagemakera2iruntime/src/json_ser.rs +++ b/sdk/sagemakera2iruntime/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_start_human_loop_input( input: &crate::input::StartHumanLoopInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.data_attributes { + #[allow(unused_mut)] let mut object_2 = object.key("DataAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_data_attributes( &mut object_2, @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_start_human_loop_input( object.key("FlowDefinitionArn").string(var_3.as_str()); } if let Some(var_4) = &input.human_loop_input { + #[allow(unused_mut)] let mut object_5 = object.key("HumanLoopInput").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_input(&mut object_5, var_4)?; object_5.finish(); diff --git a/sdk/sagemakeredge/src/json_ser.rs b/sdk/sagemakeredge/src/json_ser.rs index 1d147d992221..0cb1d054adc4 100644 --- a/sdk/sagemakeredge/src/json_ser.rs +++ b/sdk/sagemakeredge/src/json_ser.rs @@ -33,6 +33,7 @@ pub fn serialize_structure_crate_input_send_heartbeat_input( let mut array_6 = object.key("AgentMetrics").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_edge_metric( &mut object_8, @@ -47,6 +48,7 @@ pub fn serialize_structure_crate_input_send_heartbeat_input( object.key("AgentVersion").string(var_9.as_str()); } if let Some(var_10) = &input.deployment_result { + #[allow(unused_mut)] let mut object_11 = object.key("DeploymentResult").start_object(); crate::json_ser::serialize_structure_crate_model_deployment_result(&mut object_11, var_10)?; object_11.finish(); @@ -61,6 +63,7 @@ pub fn serialize_structure_crate_input_send_heartbeat_input( let mut array_15 = object.key("Models").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_model(&mut object_17, item_16)?; object_17.finish(); @@ -124,6 +127,7 @@ pub fn serialize_structure_crate_model_deployment_result( let mut array_27 = object.key("DeploymentModels").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_deployment_model( &mut object_29, @@ -161,6 +165,7 @@ pub fn serialize_structure_crate_model_model( let mut array_35 = object.key("ModelMetrics").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_edge_metric( &mut object_37, diff --git a/sdk/sagemakerfeaturestoreruntime/src/json_ser.rs b/sdk/sagemakerfeaturestoreruntime/src/json_ser.rs index bbdad700cb01..ab87b3d66941 100644 --- a/sdk/sagemakerfeaturestoreruntime/src/json_ser.rs +++ b/sdk/sagemakerfeaturestoreruntime/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_batch_get_record_input( let mut array_2 = object.key("Identifiers").start_array(); for item_3 in var_1 { { + #[allow(unused_mut)] let mut object_4 = array_2.value().start_object(); crate::json_ser::serialize_structure_crate_model_batch_get_record_identifier( &mut object_4, @@ -28,6 +29,7 @@ pub fn serialize_structure_crate_input_put_record_input( let mut array_6 = object.key("Record").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_feature_value( &mut object_8, diff --git a/sdk/savingsplans/src/json_ser.rs b/sdk/savingsplans/src/json_ser.rs index e399c428c64c..20ce478163fa 100644 --- a/sdk/savingsplans/src/json_ser.rs +++ b/sdk/savingsplans/src/json_ser.rs @@ -18,6 +18,7 @@ pub fn serialize_structure_crate_input_create_savings_plan_input( object.key("savingsPlanOfferingId").string(var_4.as_str()); } if let Some(var_5) = &input.tags { + #[allow(unused_mut)] let mut object_6 = object.key("tags").start_object(); for (key_7, value_8) in var_5 { { @@ -50,6 +51,7 @@ pub fn serialize_structure_crate_input_describe_savings_plan_rates_input( let mut array_12 = object.key("filters").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_savings_plan_rate_filter( &mut object_14, @@ -83,6 +85,7 @@ pub fn serialize_structure_crate_input_describe_savings_plans_input( let mut array_19 = object.key("filters").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_savings_plan_filter( &mut object_21, @@ -140,6 +143,7 @@ pub fn serialize_structure_crate_input_describe_savings_plans_offering_rates_inp let mut array_34 = object.key("filters").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_savings_plan_offering_rate_filter_element(&mut object_36, item_35)?; object_36.finish(); @@ -260,6 +264,7 @@ pub fn serialize_structure_crate_input_describe_savings_plans_offerings_input( let mut array_69 = object.key("filters").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_savings_plan_offering_filter_element(&mut object_71, item_70)?; object_71.finish(); @@ -354,6 +359,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( object.key("resourceArn").string(var_93.as_str()); } if let Some(var_94) = &input.tags { + #[allow(unused_mut)] let mut object_95 = object.key("tags").start_object(); for (key_96, value_97) in var_94 { { diff --git a/sdk/schemas/src/json_ser.rs b/sdk/schemas/src/json_ser.rs index 7ae39aae76ab..857223fae657 100644 --- a/sdk/schemas/src/json_ser.rs +++ b/sdk/schemas/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_discoverer_input( object.key("SourceArn").string(var_2.as_str()); } if let Some(var_3) = &input.tags { + #[allow(unused_mut)] let mut object_4 = object.key("tags").start_object(); for (key_5, value_6) in var_3 { { @@ -32,6 +33,7 @@ pub fn serialize_structure_crate_input_create_registry_input( object.key("Description").string(var_7.as_str()); } if let Some(var_8) = &input.tags { + #[allow(unused_mut)] let mut object_9 = object.key("tags").start_object(); for (key_10, value_11) in var_8 { { @@ -54,6 +56,7 @@ pub fn serialize_structure_crate_input_create_schema_input( object.key("Description").string(var_13.as_str()); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("tags").start_object(); for (key_16, value_17) in var_14 { { @@ -105,6 +108,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_25) = &input.tags { + #[allow(unused_mut)] let mut object_26 = object.key("tags").start_object(); for (key_27, value_28) in var_25 { { diff --git a/sdk/secretsmanager/src/json_ser.rs b/sdk/secretsmanager/src/json_ser.rs index 2a0058706f5e..da6f9ff53e8c 100644 --- a/sdk/secretsmanager/src/json_ser.rs +++ b/sdk/secretsmanager/src/json_ser.rs @@ -37,6 +37,7 @@ pub fn serialize_structure_crate_input_create_secret_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -48,6 +49,7 @@ pub fn serialize_structure_crate_input_create_secret_input( let mut array_13 = object.key("AddReplicaRegions").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_region_type( &mut object_15, @@ -182,6 +184,7 @@ pub fn serialize_structure_crate_input_list_secrets_input( let mut array_36 = object.key("Filters").start_array(); for item_37 in var_35 { { + #[allow(unused_mut)] let mut object_38 = array_36.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_38, item_37)?; object_38.finish(); @@ -293,6 +296,7 @@ pub fn serialize_structure_crate_input_replicate_secret_to_regions_input( let mut array_60 = object.key("AddReplicaRegions").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_replica_region_type( &mut object_62, @@ -335,6 +339,7 @@ pub fn serialize_structure_crate_input_rotate_secret_input( object.key("RotationLambdaARN").string(var_66.as_str()); } if let Some(var_67) = &input.rotation_rules { + #[allow(unused_mut)] let mut object_68 = object.key("RotationRules").start_object(); crate::json_ser::serialize_structure_crate_model_rotation_rules_type( &mut object_68, @@ -369,6 +374,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_73 = object.key("Tags").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_75, item_74)?; object_75.finish(); diff --git a/sdk/securityhub/src/json_ser.rs b/sdk/securityhub/src/json_ser.rs index 958c3f74505f..80b2ef8ee22e 100644 --- a/sdk/securityhub/src/json_ser.rs +++ b/sdk/securityhub/src/json_ser.rs @@ -49,6 +49,7 @@ pub fn serialize_structure_crate_input_batch_enable_standards_input( let mut array_9 = object.key("StandardsSubscriptionRequests").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_standards_subscription_request( &mut object_11, @@ -70,6 +71,7 @@ pub fn serialize_structure_crate_input_batch_import_findings_input( let mut array_13 = object.key("Findings").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_security_finding( &mut object_15, @@ -103,6 +105,7 @@ pub fn serialize_structure_crate_input_batch_update_findings_input( let mut array_17 = object.key("FindingIdentifiers").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_security_finding_identifier( &mut object_19, @@ -114,6 +117,7 @@ pub fn serialize_structure_crate_input_batch_update_findings_input( array_17.finish(); } if let Some(var_20) = &input.note { + #[allow(unused_mut)] let mut object_21 = object.key("Note").start_object(); crate::json_ser::serialize_structure_crate_model_note_update(&mut object_21, var_20)?; object_21.finish(); @@ -122,6 +126,7 @@ pub fn serialize_structure_crate_input_batch_update_findings_input( let mut array_23 = object.key("RelatedFindings").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_related_finding( &mut object_25, @@ -133,6 +138,7 @@ pub fn serialize_structure_crate_input_batch_update_findings_input( array_23.finish(); } if let Some(var_26) = &input.severity { + #[allow(unused_mut)] let mut object_27 = object.key("Severity").start_object(); crate::json_ser::serialize_structure_crate_model_severity_update(&mut object_27, var_26)?; object_27.finish(); @@ -147,6 +153,7 @@ pub fn serialize_structure_crate_input_batch_update_findings_input( array_29.finish(); } if let Some(var_31) = &input.user_defined_fields { + #[allow(unused_mut)] let mut object_32 = object.key("UserDefinedFields").start_object(); for (key_33, value_34) in var_31 { { @@ -159,6 +166,7 @@ pub fn serialize_structure_crate_input_batch_update_findings_input( object.key("VerificationState").string(var_35.as_str()); } if let Some(var_36) = &input.workflow { + #[allow(unused_mut)] let mut object_37 = object.key("Workflow").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_update(&mut object_37, var_36)?; object_37.finish(); @@ -206,6 +214,7 @@ pub fn serialize_structure_crate_input_create_insight_input( input: &crate::input::CreateInsightInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_45) = &input.filters { + #[allow(unused_mut)] let mut object_46 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_aws_security_finding_filters( &mut object_46, @@ -230,6 +239,7 @@ pub fn serialize_structure_crate_input_create_members_input( let mut array_50 = object.key("AccountDetails").start_array(); for item_51 in var_49 { { + #[allow(unused_mut)] let mut object_52 = array_50.value().start_object(); crate::json_ser::serialize_structure_crate_model_account_details( &mut object_52, @@ -372,6 +382,7 @@ pub fn serialize_structure_crate_input_enable_security_hub_input( .boolean(input.enable_default_standards); } if let Some(var_72) = &input.tags { + #[allow(unused_mut)] let mut object_73 = object.key("Tags").start_object(); for (key_74, value_75) in var_72 { { @@ -413,6 +424,7 @@ pub fn serialize_structure_crate_input_get_findings_input( input: &crate::input::GetFindingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_80) = &input.filters { + #[allow(unused_mut)] let mut object_81 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_aws_security_finding_filters( &mut object_81, @@ -433,6 +445,7 @@ pub fn serialize_structure_crate_input_get_findings_input( let mut array_84 = object.key("SortCriteria").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_sort_criterion( &mut object_86, @@ -508,6 +521,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_97) = &input.tags { + #[allow(unused_mut)] let mut object_98 = object.key("Tags").start_object(); for (key_99, value_100) in var_97 { { @@ -559,6 +573,7 @@ pub fn serialize_structure_crate_input_update_findings_input( input: &crate::input::UpdateFindingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_108) = &input.filters { + #[allow(unused_mut)] let mut object_109 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_aws_security_finding_filters( &mut object_109, @@ -567,6 +582,7 @@ pub fn serialize_structure_crate_input_update_findings_input( object_109.finish(); } if let Some(var_110) = &input.note { + #[allow(unused_mut)] let mut object_111 = object.key("Note").start_object(); crate::json_ser::serialize_structure_crate_model_note_update(&mut object_111, var_110)?; object_111.finish(); @@ -582,6 +598,7 @@ pub fn serialize_structure_crate_input_update_insight_input( input: &crate::input::UpdateInsightInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_113) = &input.filters { + #[allow(unused_mut)] let mut object_114 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_aws_security_finding_filters( &mut object_114, @@ -644,6 +661,7 @@ pub fn serialize_structure_crate_model_standards_subscription_request( object.key("StandardsArn").string(var_120.as_str()); } if let Some(var_121) = &input.standards_input { + #[allow(unused_mut)] let mut object_122 = object.key("StandardsInput").start_object(); for (key_123, value_124) in var_121 { { @@ -705,6 +723,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( object.key("UpdatedAt").string(var_139.as_str()); } if let Some(var_140) = &input.severity { + #[allow(unused_mut)] let mut object_141 = object.key("Severity").start_object(); crate::json_ser::serialize_structure_crate_model_severity(&mut object_141, var_140)?; object_141.finish(); @@ -728,6 +747,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( object.key("Description").string(var_143.as_str()); } if let Some(var_144) = &input.remediation { + #[allow(unused_mut)] let mut object_145 = object.key("Remediation").start_object(); crate::json_ser::serialize_structure_crate_model_remediation(&mut object_145, var_144)?; object_145.finish(); @@ -736,6 +756,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( object.key("SourceUrl").string(var_146.as_str()); } if let Some(var_147) = &input.product_fields { + #[allow(unused_mut)] let mut object_148 = object.key("ProductFields").start_object(); for (key_149, value_150) in var_147 { { @@ -745,6 +766,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( object_148.finish(); } if let Some(var_151) = &input.user_defined_fields { + #[allow(unused_mut)] let mut object_152 = object.key("UserDefinedFields").start_object(); for (key_153, value_154) in var_151 { { @@ -757,6 +779,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_156 = object.key("Malware").start_array(); for item_157 in var_155 { { + #[allow(unused_mut)] let mut object_158 = array_156.value().start_object(); crate::json_ser::serialize_structure_crate_model_malware( &mut object_158, @@ -768,6 +791,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( array_156.finish(); } if let Some(var_159) = &input.network { + #[allow(unused_mut)] let mut object_160 = object.key("Network").start_object(); crate::json_ser::serialize_structure_crate_model_network(&mut object_160, var_159)?; object_160.finish(); @@ -776,6 +800,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_162 = object.key("NetworkPath").start_array(); for item_163 in var_161 { { + #[allow(unused_mut)] let mut object_164 = array_162.value().start_object(); crate::json_ser::serialize_structure_crate_model_network_path_component( &mut object_164, @@ -787,6 +812,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( array_162.finish(); } if let Some(var_165) = &input.process { + #[allow(unused_mut)] let mut object_166 = object.key("Process").start_object(); crate::json_ser::serialize_structure_crate_model_process_details(&mut object_166, var_165)?; object_166.finish(); @@ -795,6 +821,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_168 = object.key("Threats").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_threat(&mut object_170, item_169)?; object_170.finish(); @@ -806,6 +833,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_172 = object.key("ThreatIntelIndicators").start_array(); for item_173 in var_171 { { + #[allow(unused_mut)] let mut object_174 = array_172.value().start_object(); crate::json_ser::serialize_structure_crate_model_threat_intel_indicator( &mut object_174, @@ -820,6 +848,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_176 = object.key("Resources").start_array(); for item_177 in var_175 { { + #[allow(unused_mut)] let mut object_178 = array_176.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource( &mut object_178, @@ -831,6 +860,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( array_176.finish(); } if let Some(var_179) = &input.compliance { + #[allow(unused_mut)] let mut object_180 = object.key("Compliance").start_object(); crate::json_ser::serialize_structure_crate_model_compliance(&mut object_180, var_179)?; object_180.finish(); @@ -842,6 +872,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( object.key("WorkflowState").string(var_182.as_str()); } if let Some(var_183) = &input.workflow { + #[allow(unused_mut)] let mut object_184 = object.key("Workflow").start_object(); crate::json_ser::serialize_structure_crate_model_workflow(&mut object_184, var_183)?; object_184.finish(); @@ -853,6 +884,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_187 = object.key("RelatedFindings").start_array(); for item_188 in var_186 { { + #[allow(unused_mut)] let mut object_189 = array_187.value().start_object(); crate::json_ser::serialize_structure_crate_model_related_finding( &mut object_189, @@ -864,6 +896,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( array_187.finish(); } if let Some(var_190) = &input.note { + #[allow(unused_mut)] let mut object_191 = object.key("Note").start_object(); crate::json_ser::serialize_structure_crate_model_note(&mut object_191, var_190)?; object_191.finish(); @@ -872,6 +905,7 @@ pub fn serialize_structure_crate_model_aws_security_finding( let mut array_193 = object.key("Vulnerabilities").start_array(); for item_194 in var_192 { { + #[allow(unused_mut)] let mut object_195 = array_193.value().start_object(); crate::json_ser::serialize_structure_crate_model_vulnerability( &mut object_195, @@ -883,16 +917,19 @@ pub fn serialize_structure_crate_model_aws_security_finding( array_193.finish(); } if let Some(var_196) = &input.patch_summary { + #[allow(unused_mut)] let mut object_197 = object.key("PatchSummary").start_object(); crate::json_ser::serialize_structure_crate_model_patch_summary(&mut object_197, var_196)?; object_197.finish(); } if let Some(var_198) = &input.action { + #[allow(unused_mut)] let mut object_199 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_action(&mut object_199, var_198)?; object_199.finish(); } if let Some(var_200) = &input.finding_provider_fields { + #[allow(unused_mut)] let mut object_201 = object.key("FindingProviderFields").start_object(); crate::json_ser::serialize_structure_crate_model_finding_provider_fields( &mut object_201, @@ -985,6 +1022,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_211 = object.key("ProductArn").start_array(); for item_212 in var_210 { { + #[allow(unused_mut)] let mut object_213 = array_211.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_213, @@ -999,6 +1037,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_215 = object.key("AwsAccountId").start_array(); for item_216 in var_214 { { + #[allow(unused_mut)] let mut object_217 = array_215.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_217, @@ -1013,6 +1052,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_219 = object.key("Id").start_array(); for item_220 in var_218 { { + #[allow(unused_mut)] let mut object_221 = array_219.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_221, @@ -1027,6 +1067,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_223 = object.key("GeneratorId").start_array(); for item_224 in var_222 { { + #[allow(unused_mut)] let mut object_225 = array_223.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_225, @@ -1041,6 +1082,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_227 = object.key("Region").start_array(); for item_228 in var_226 { { + #[allow(unused_mut)] let mut object_229 = array_227.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_229, @@ -1055,6 +1097,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_231 = object.key("Type").start_array(); for item_232 in var_230 { { + #[allow(unused_mut)] let mut object_233 = array_231.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_233, @@ -1069,6 +1112,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_235 = object.key("FirstObservedAt").start_array(); for item_236 in var_234 { { + #[allow(unused_mut)] let mut object_237 = array_235.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_237, @@ -1083,6 +1127,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_239 = object.key("LastObservedAt").start_array(); for item_240 in var_238 { { + #[allow(unused_mut)] let mut object_241 = array_239.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_241, @@ -1097,6 +1142,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_243 = object.key("CreatedAt").start_array(); for item_244 in var_242 { { + #[allow(unused_mut)] let mut object_245 = array_243.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_245, @@ -1111,6 +1157,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_247 = object.key("UpdatedAt").start_array(); for item_248 in var_246 { { + #[allow(unused_mut)] let mut object_249 = array_247.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_249, @@ -1125,6 +1172,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_251 = object.key("SeverityProduct").start_array(); for item_252 in var_250 { { + #[allow(unused_mut)] let mut object_253 = array_251.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_253, @@ -1139,6 +1187,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_255 = object.key("SeverityNormalized").start_array(); for item_256 in var_254 { { + #[allow(unused_mut)] let mut object_257 = array_255.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_257, @@ -1153,6 +1202,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_259 = object.key("SeverityLabel").start_array(); for item_260 in var_258 { { + #[allow(unused_mut)] let mut object_261 = array_259.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_261, @@ -1167,6 +1217,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_263 = object.key("Confidence").start_array(); for item_264 in var_262 { { + #[allow(unused_mut)] let mut object_265 = array_263.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_265, @@ -1181,6 +1232,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_267 = object.key("Criticality").start_array(); for item_268 in var_266 { { + #[allow(unused_mut)] let mut object_269 = array_267.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_269, @@ -1195,6 +1247,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_271 = object.key("Title").start_array(); for item_272 in var_270 { { + #[allow(unused_mut)] let mut object_273 = array_271.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_273, @@ -1209,6 +1262,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_275 = object.key("Description").start_array(); for item_276 in var_274 { { + #[allow(unused_mut)] let mut object_277 = array_275.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_277, @@ -1223,6 +1277,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_279 = object.key("RecommendationText").start_array(); for item_280 in var_278 { { + #[allow(unused_mut)] let mut object_281 = array_279.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_281, @@ -1237,6 +1292,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_283 = object.key("SourceUrl").start_array(); for item_284 in var_282 { { + #[allow(unused_mut)] let mut object_285 = array_283.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_285, @@ -1251,6 +1307,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_287 = object.key("ProductFields").start_array(); for item_288 in var_286 { { + #[allow(unused_mut)] let mut object_289 = array_287.value().start_object(); crate::json_ser::serialize_structure_crate_model_map_filter( &mut object_289, @@ -1265,6 +1322,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_291 = object.key("ProductName").start_array(); for item_292 in var_290 { { + #[allow(unused_mut)] let mut object_293 = array_291.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_293, @@ -1279,6 +1337,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_295 = object.key("CompanyName").start_array(); for item_296 in var_294 { { + #[allow(unused_mut)] let mut object_297 = array_295.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_297, @@ -1293,6 +1352,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_299 = object.key("UserDefinedFields").start_array(); for item_300 in var_298 { { + #[allow(unused_mut)] let mut object_301 = array_299.value().start_object(); crate::json_ser::serialize_structure_crate_model_map_filter( &mut object_301, @@ -1307,6 +1367,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_303 = object.key("MalwareName").start_array(); for item_304 in var_302 { { + #[allow(unused_mut)] let mut object_305 = array_303.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_305, @@ -1321,6 +1382,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_307 = object.key("MalwareType").start_array(); for item_308 in var_306 { { + #[allow(unused_mut)] let mut object_309 = array_307.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_309, @@ -1335,6 +1397,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_311 = object.key("MalwarePath").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_313, @@ -1349,6 +1412,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_315 = object.key("MalwareState").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_317, @@ -1363,6 +1427,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_319 = object.key("NetworkDirection").start_array(); for item_320 in var_318 { { + #[allow(unused_mut)] let mut object_321 = array_319.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_321, @@ -1377,6 +1442,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_323 = object.key("NetworkProtocol").start_array(); for item_324 in var_322 { { + #[allow(unused_mut)] let mut object_325 = array_323.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_325, @@ -1391,6 +1457,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_327 = object.key("NetworkSourceIpV4").start_array(); for item_328 in var_326 { { + #[allow(unused_mut)] let mut object_329 = array_327.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_filter( &mut object_329, @@ -1405,6 +1472,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_331 = object.key("NetworkSourceIpV6").start_array(); for item_332 in var_330 { { + #[allow(unused_mut)] let mut object_333 = array_331.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_filter( &mut object_333, @@ -1419,6 +1487,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_335 = object.key("NetworkSourcePort").start_array(); for item_336 in var_334 { { + #[allow(unused_mut)] let mut object_337 = array_335.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_337, @@ -1433,6 +1502,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_339 = object.key("NetworkSourceDomain").start_array(); for item_340 in var_338 { { + #[allow(unused_mut)] let mut object_341 = array_339.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_341, @@ -1447,6 +1517,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_343 = object.key("NetworkSourceMac").start_array(); for item_344 in var_342 { { + #[allow(unused_mut)] let mut object_345 = array_343.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_345, @@ -1461,6 +1532,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_347 = object.key("NetworkDestinationIpV4").start_array(); for item_348 in var_346 { { + #[allow(unused_mut)] let mut object_349 = array_347.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_filter( &mut object_349, @@ -1475,6 +1547,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_351 = object.key("NetworkDestinationIpV6").start_array(); for item_352 in var_350 { { + #[allow(unused_mut)] let mut object_353 = array_351.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_filter( &mut object_353, @@ -1489,6 +1562,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_355 = object.key("NetworkDestinationPort").start_array(); for item_356 in var_354 { { + #[allow(unused_mut)] let mut object_357 = array_355.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_357, @@ -1503,6 +1577,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_359 = object.key("NetworkDestinationDomain").start_array(); for item_360 in var_358 { { + #[allow(unused_mut)] let mut object_361 = array_359.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_361, @@ -1517,6 +1592,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_363 = object.key("ProcessName").start_array(); for item_364 in var_362 { { + #[allow(unused_mut)] let mut object_365 = array_363.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_365, @@ -1531,6 +1607,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_367 = object.key("ProcessPath").start_array(); for item_368 in var_366 { { + #[allow(unused_mut)] let mut object_369 = array_367.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_369, @@ -1545,6 +1622,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_371 = object.key("ProcessPid").start_array(); for item_372 in var_370 { { + #[allow(unused_mut)] let mut object_373 = array_371.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_373, @@ -1559,6 +1637,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_375 = object.key("ProcessParentPid").start_array(); for item_376 in var_374 { { + #[allow(unused_mut)] let mut object_377 = array_375.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_377, @@ -1573,6 +1652,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_379 = object.key("ProcessLaunchedAt").start_array(); for item_380 in var_378 { { + #[allow(unused_mut)] let mut object_381 = array_379.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_381, @@ -1587,6 +1667,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_383 = object.key("ProcessTerminatedAt").start_array(); for item_384 in var_382 { { + #[allow(unused_mut)] let mut object_385 = array_383.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_385, @@ -1601,6 +1682,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_387 = object.key("ThreatIntelIndicatorType").start_array(); for item_388 in var_386 { { + #[allow(unused_mut)] let mut object_389 = array_387.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_389, @@ -1615,6 +1697,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_391 = object.key("ThreatIntelIndicatorValue").start_array(); for item_392 in var_390 { { + #[allow(unused_mut)] let mut object_393 = array_391.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_393, @@ -1629,6 +1712,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_395 = object.key("ThreatIntelIndicatorCategory").start_array(); for item_396 in var_394 { { + #[allow(unused_mut)] let mut object_397 = array_395.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_397, @@ -1645,6 +1729,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_400 in var_398 { { + #[allow(unused_mut)] let mut object_401 = array_399.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_401, @@ -1659,6 +1744,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_403 = object.key("ThreatIntelIndicatorSource").start_array(); for item_404 in var_402 { { + #[allow(unused_mut)] let mut object_405 = array_403.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_405, @@ -1673,6 +1759,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_407 = object.key("ThreatIntelIndicatorSourceUrl").start_array(); for item_408 in var_406 { { + #[allow(unused_mut)] let mut object_409 = array_407.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_409, @@ -1687,6 +1774,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_411 = object.key("ResourceType").start_array(); for item_412 in var_410 { { + #[allow(unused_mut)] let mut object_413 = array_411.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_413, @@ -1701,6 +1789,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_415 = object.key("ResourceId").start_array(); for item_416 in var_414 { { + #[allow(unused_mut)] let mut object_417 = array_415.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_417, @@ -1715,6 +1804,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_419 = object.key("ResourcePartition").start_array(); for item_420 in var_418 { { + #[allow(unused_mut)] let mut object_421 = array_419.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_421, @@ -1729,6 +1819,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_423 = object.key("ResourceRegion").start_array(); for item_424 in var_422 { { + #[allow(unused_mut)] let mut object_425 = array_423.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_425, @@ -1743,6 +1834,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_427 = object.key("ResourceTags").start_array(); for item_428 in var_426 { { + #[allow(unused_mut)] let mut object_429 = array_427.value().start_object(); crate::json_ser::serialize_structure_crate_model_map_filter( &mut object_429, @@ -1757,6 +1849,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_431 = object.key("ResourceAwsEc2InstanceType").start_array(); for item_432 in var_430 { { + #[allow(unused_mut)] let mut object_433 = array_431.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_433, @@ -1771,6 +1864,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_435 = object.key("ResourceAwsEc2InstanceImageId").start_array(); for item_436 in var_434 { { + #[allow(unused_mut)] let mut object_437 = array_435.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_437, @@ -1787,6 +1881,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_440 in var_438 { { + #[allow(unused_mut)] let mut object_441 = array_439.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_filter( &mut object_441, @@ -1803,6 +1898,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_444 in var_442 { { + #[allow(unused_mut)] let mut object_445 = array_443.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_filter( &mut object_445, @@ -1817,6 +1913,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_447 = object.key("ResourceAwsEc2InstanceKeyName").start_array(); for item_448 in var_446 { { + #[allow(unused_mut)] let mut object_449 = array_447.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_449, @@ -1833,6 +1930,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_452 in var_450 { { + #[allow(unused_mut)] let mut object_453 = array_451.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_453, @@ -1847,6 +1945,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_455 = object.key("ResourceAwsEc2InstanceVpcId").start_array(); for item_456 in var_454 { { + #[allow(unused_mut)] let mut object_457 = array_455.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_457, @@ -1861,6 +1960,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_459 = object.key("ResourceAwsEc2InstanceSubnetId").start_array(); for item_460 in var_458 { { + #[allow(unused_mut)] let mut object_461 = array_459.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_461, @@ -1875,6 +1975,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_463 = object.key("ResourceAwsEc2InstanceLaunchedAt").start_array(); for item_464 in var_462 { { + #[allow(unused_mut)] let mut object_465 = array_463.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_465, @@ -1889,6 +1990,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_467 = object.key("ResourceAwsS3BucketOwnerId").start_array(); for item_468 in var_466 { { + #[allow(unused_mut)] let mut object_469 = array_467.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_469, @@ -1903,6 +2005,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_471 = object.key("ResourceAwsS3BucketOwnerName").start_array(); for item_472 in var_470 { { + #[allow(unused_mut)] let mut object_473 = array_471.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_473, @@ -1917,6 +2020,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_475 = object.key("ResourceAwsIamAccessKeyUserName").start_array(); for item_476 in var_474 { { + #[allow(unused_mut)] let mut object_477 = array_475.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_477, @@ -1933,6 +2037,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_480 in var_478 { { + #[allow(unused_mut)] let mut object_481 = array_479.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_481, @@ -1947,6 +2052,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_483 = object.key("ResourceAwsIamAccessKeyStatus").start_array(); for item_484 in var_482 { { + #[allow(unused_mut)] let mut object_485 = array_483.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_485, @@ -1961,6 +2067,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_487 = object.key("ResourceAwsIamAccessKeyCreatedAt").start_array(); for item_488 in var_486 { { + #[allow(unused_mut)] let mut object_489 = array_487.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_489, @@ -1975,6 +2082,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_491 = object.key("ResourceAwsIamUserUserName").start_array(); for item_492 in var_490 { { + #[allow(unused_mut)] let mut object_493 = array_491.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_493, @@ -1989,6 +2097,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_495 = object.key("ResourceContainerName").start_array(); for item_496 in var_494 { { + #[allow(unused_mut)] let mut object_497 = array_495.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_497, @@ -2003,6 +2112,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_499 = object.key("ResourceContainerImageId").start_array(); for item_500 in var_498 { { + #[allow(unused_mut)] let mut object_501 = array_499.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_501, @@ -2017,6 +2127,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_503 = object.key("ResourceContainerImageName").start_array(); for item_504 in var_502 { { + #[allow(unused_mut)] let mut object_505 = array_503.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_505, @@ -2031,6 +2142,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_507 = object.key("ResourceContainerLaunchedAt").start_array(); for item_508 in var_506 { { + #[allow(unused_mut)] let mut object_509 = array_507.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_509, @@ -2045,6 +2157,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_511 = object.key("ResourceDetailsOther").start_array(); for item_512 in var_510 { { + #[allow(unused_mut)] let mut object_513 = array_511.value().start_object(); crate::json_ser::serialize_structure_crate_model_map_filter( &mut object_513, @@ -2059,6 +2172,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_515 = object.key("ComplianceStatus").start_array(); for item_516 in var_514 { { + #[allow(unused_mut)] let mut object_517 = array_515.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_517, @@ -2073,6 +2187,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_519 = object.key("VerificationState").start_array(); for item_520 in var_518 { { + #[allow(unused_mut)] let mut object_521 = array_519.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_521, @@ -2087,6 +2202,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_523 = object.key("WorkflowState").start_array(); for item_524 in var_522 { { + #[allow(unused_mut)] let mut object_525 = array_523.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_525, @@ -2101,6 +2217,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_527 = object.key("WorkflowStatus").start_array(); for item_528 in var_526 { { + #[allow(unused_mut)] let mut object_529 = array_527.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_529, @@ -2115,6 +2232,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_531 = object.key("RecordState").start_array(); for item_532 in var_530 { { + #[allow(unused_mut)] let mut object_533 = array_531.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_533, @@ -2129,6 +2247,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_535 = object.key("RelatedFindingsProductArn").start_array(); for item_536 in var_534 { { + #[allow(unused_mut)] let mut object_537 = array_535.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_537, @@ -2143,6 +2262,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_539 = object.key("RelatedFindingsId").start_array(); for item_540 in var_538 { { + #[allow(unused_mut)] let mut object_541 = array_539.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_541, @@ -2157,6 +2277,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_543 = object.key("NoteText").start_array(); for item_544 in var_542 { { + #[allow(unused_mut)] let mut object_545 = array_543.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_545, @@ -2171,6 +2292,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_547 = object.key("NoteUpdatedAt").start_array(); for item_548 in var_546 { { + #[allow(unused_mut)] let mut object_549 = array_547.value().start_object(); crate::json_ser::serialize_structure_crate_model_date_filter( &mut object_549, @@ -2185,6 +2307,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_551 = object.key("NoteUpdatedBy").start_array(); for item_552 in var_550 { { + #[allow(unused_mut)] let mut object_553 = array_551.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_553, @@ -2199,6 +2322,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_555 = object.key("Keyword").start_array(); for item_556 in var_554 { { + #[allow(unused_mut)] let mut object_557 = array_555.value().start_object(); crate::json_ser::serialize_structure_crate_model_keyword_filter( &mut object_557, @@ -2213,6 +2337,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_559 = object.key("FindingProviderFieldsConfidence").start_array(); for item_560 in var_558 { { + #[allow(unused_mut)] let mut object_561 = array_559.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_561, @@ -2227,6 +2352,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_563 = object.key("FindingProviderFieldsCriticality").start_array(); for item_564 in var_562 { { + #[allow(unused_mut)] let mut object_565 = array_563.value().start_object(); crate::json_ser::serialize_structure_crate_model_number_filter( &mut object_565, @@ -2243,6 +2369,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_568 in var_566 { { + #[allow(unused_mut)] let mut object_569 = array_567.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_569, @@ -2259,6 +2386,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_572 in var_570 { { + #[allow(unused_mut)] let mut object_573 = array_571.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_573, @@ -2275,6 +2403,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_576 in var_574 { { + #[allow(unused_mut)] let mut object_577 = array_575.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_577, @@ -2291,6 +2420,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( .start_array(); for item_580 in var_578 { { + #[allow(unused_mut)] let mut object_581 = array_579.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_581, @@ -2305,6 +2435,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_583 = object.key("FindingProviderFieldsTypes").start_array(); for item_584 in var_582 { { + #[allow(unused_mut)] let mut object_585 = array_583.value().start_object(); crate::json_ser::serialize_structure_crate_model_string_filter( &mut object_585, @@ -2319,6 +2450,7 @@ pub fn serialize_structure_crate_model_aws_security_finding_filters( let mut array_587 = object.key("Sample").start_array(); for item_588 in var_586 { { + #[allow(unused_mut)] let mut object_589 = array_587.value().start_object(); crate::json_ser::serialize_structure_crate_model_boolean_filter( &mut object_589, @@ -2388,6 +2520,7 @@ pub fn serialize_structure_crate_model_remediation( input: &crate::model::Remediation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_596) = &input.recommendation { + #[allow(unused_mut)] let mut object_597 = object.key("Recommendation").start_object(); crate::json_ser::serialize_structure_crate_model_recommendation(&mut object_597, var_596)?; object_597.finish(); @@ -2425,6 +2558,7 @@ pub fn serialize_structure_crate_model_network( object.key("Protocol").string(var_603.as_str()); } if let Some(var_604) = &input.open_port_range { + #[allow(unused_mut)] let mut object_605 = object.key("OpenPortRange").start_object(); crate::json_ser::serialize_structure_crate_model_port_range(&mut object_605, var_604)?; object_605.finish(); @@ -2476,11 +2610,13 @@ pub fn serialize_structure_crate_model_network_path_component( object.key("ComponentType").string(var_614.as_str()); } if let Some(var_615) = &input.egress { + #[allow(unused_mut)] let mut object_616 = object.key("Egress").start_object(); crate::json_ser::serialize_structure_crate_model_network_header(&mut object_616, var_615)?; object_616.finish(); } if let Some(var_617) = &input.ingress { + #[allow(unused_mut)] let mut object_618 = object.key("Ingress").start_object(); crate::json_ser::serialize_structure_crate_model_network_header(&mut object_618, var_617)?; object_618.finish(); @@ -2539,6 +2675,7 @@ pub fn serialize_structure_crate_model_threat( let mut array_626 = object.key("FilePaths").start_array(); for item_627 in var_625 { { + #[allow(unused_mut)] let mut object_628 = array_626.value().start_object(); crate::json_ser::serialize_structure_crate_model_file_paths( &mut object_628, @@ -2597,6 +2734,7 @@ pub fn serialize_structure_crate_model_resource( object.key("ResourceRole").string(var_639.as_str()); } if let Some(var_640) = &input.tags { + #[allow(unused_mut)] let mut object_641 = object.key("Tags").start_object(); for (key_642, value_643) in var_640 { { @@ -2606,6 +2744,7 @@ pub fn serialize_structure_crate_model_resource( object_641.finish(); } if let Some(var_644) = &input.data_classification { + #[allow(unused_mut)] let mut object_645 = object.key("DataClassification").start_object(); crate::json_ser::serialize_structure_crate_model_data_classification_details( &mut object_645, @@ -2614,6 +2753,7 @@ pub fn serialize_structure_crate_model_resource( object_645.finish(); } if let Some(var_646) = &input.details { + #[allow(unused_mut)] let mut object_647 = object.key("Details").start_object(); crate::json_ser::serialize_structure_crate_model_resource_details( &mut object_647, @@ -2644,6 +2784,7 @@ pub fn serialize_structure_crate_model_compliance( let mut array_653 = object.key("StatusReasons").start_array(); for item_654 in var_652 { { + #[allow(unused_mut)] let mut object_655 = array_653.value().start_object(); crate::json_ser::serialize_structure_crate_model_status_reason( &mut object_655, @@ -2694,6 +2835,7 @@ pub fn serialize_structure_crate_model_vulnerability( let mut array_662 = object.key("VulnerablePackages").start_array(); for item_663 in var_661 { { + #[allow(unused_mut)] let mut object_664 = array_662.value().start_object(); crate::json_ser::serialize_structure_crate_model_software_package( &mut object_664, @@ -2708,6 +2850,7 @@ pub fn serialize_structure_crate_model_vulnerability( let mut array_666 = object.key("Cvss").start_array(); for item_667 in var_665 { { + #[allow(unused_mut)] let mut object_668 = array_666.value().start_object(); crate::json_ser::serialize_structure_crate_model_cvss(&mut object_668, item_667)?; object_668.finish(); @@ -2725,6 +2868,7 @@ pub fn serialize_structure_crate_model_vulnerability( array_670.finish(); } if let Some(var_672) = &input.vendor { + #[allow(unused_mut)] let mut object_673 = object.key("Vendor").start_object(); crate::json_ser::serialize_structure_crate_model_vulnerability_vendor( &mut object_673, @@ -2813,6 +2957,7 @@ pub fn serialize_structure_crate_model_action( object.key("ActionType").string(var_683.as_str()); } if let Some(var_684) = &input.network_connection_action { + #[allow(unused_mut)] let mut object_685 = object.key("NetworkConnectionAction").start_object(); crate::json_ser::serialize_structure_crate_model_network_connection_action( &mut object_685, @@ -2821,6 +2966,7 @@ pub fn serialize_structure_crate_model_action( object_685.finish(); } if let Some(var_686) = &input.aws_api_call_action { + #[allow(unused_mut)] let mut object_687 = object.key("AwsApiCallAction").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_call_action( &mut object_687, @@ -2829,6 +2975,7 @@ pub fn serialize_structure_crate_model_action( object_687.finish(); } if let Some(var_688) = &input.dns_request_action { + #[allow(unused_mut)] let mut object_689 = object.key("DnsRequestAction").start_object(); crate::json_ser::serialize_structure_crate_model_dns_request_action( &mut object_689, @@ -2837,6 +2984,7 @@ pub fn serialize_structure_crate_model_action( object_689.finish(); } if let Some(var_690) = &input.port_probe_action { + #[allow(unused_mut)] let mut object_691 = object.key("PortProbeAction").start_object(); crate::json_ser::serialize_structure_crate_model_port_probe_action( &mut object_691, @@ -2867,6 +3015,7 @@ pub fn serialize_structure_crate_model_finding_provider_fields( let mut array_693 = object.key("RelatedFindings").start_array(); for item_694 in var_692 { { + #[allow(unused_mut)] let mut object_695 = array_693.value().start_object(); crate::json_ser::serialize_structure_crate_model_related_finding( &mut object_695, @@ -2878,6 +3027,7 @@ pub fn serialize_structure_crate_model_finding_provider_fields( array_693.finish(); } if let Some(var_696) = &input.severity { + #[allow(unused_mut)] let mut object_697 = object.key("Severity").start_object(); crate::json_ser::serialize_structure_crate_model_finding_provider_severity( &mut object_697, @@ -2921,6 +3071,7 @@ pub fn serialize_structure_crate_model_date_filter( object.key("End").string(var_704.as_str()); } if let Some(var_705) = &input.date_range { + #[allow(unused_mut)] let mut object_706 = object.key("DateRange").start_object(); crate::json_ser::serialize_structure_crate_model_date_range(&mut object_706, var_705)?; object_706.finish(); @@ -3039,6 +3190,7 @@ pub fn serialize_structure_crate_model_network_header( object.key("Protocol").string(var_714.as_str()); } if let Some(var_715) = &input.destination { + #[allow(unused_mut)] let mut object_716 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_network_path_component_details( &mut object_716, @@ -3047,6 +3199,7 @@ pub fn serialize_structure_crate_model_network_header( object_716.finish(); } if let Some(var_717) = &input.source { + #[allow(unused_mut)] let mut object_718 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_network_path_component_details( &mut object_718, @@ -3086,6 +3239,7 @@ pub fn serialize_structure_crate_model_data_classification_details( .string(var_723.as_str()); } if let Some(var_724) = &input.result { + #[allow(unused_mut)] let mut object_725 = object.key("Result").start_object(); crate::json_ser::serialize_structure_crate_model_classification_result( &mut object_725, @@ -3101,11 +3255,13 @@ pub fn serialize_structure_crate_model_resource_details( input: &crate::model::ResourceDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_726) = &input.aws_auto_scaling_auto_scaling_group { + #[allow(unused_mut)] let mut object_727 = object.key("AwsAutoScalingAutoScalingGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_details(&mut object_727, var_726)?; object_727.finish(); } if let Some(var_728) = &input.aws_code_build_project { + #[allow(unused_mut)] let mut object_729 = object.key("AwsCodeBuildProject").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_details( &mut object_729, @@ -3114,6 +3270,7 @@ pub fn serialize_structure_crate_model_resource_details( object_729.finish(); } if let Some(var_730) = &input.aws_cloud_front_distribution { + #[allow(unused_mut)] let mut object_731 = object.key("AwsCloudFrontDistribution").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_details( &mut object_731, @@ -3122,6 +3279,7 @@ pub fn serialize_structure_crate_model_resource_details( object_731.finish(); } if let Some(var_732) = &input.aws_ec2_instance { + #[allow(unused_mut)] let mut object_733 = object.key("AwsEc2Instance").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_instance_details( &mut object_733, @@ -3130,6 +3288,7 @@ pub fn serialize_structure_crate_model_resource_details( object_733.finish(); } if let Some(var_734) = &input.aws_ec2_network_interface { + #[allow(unused_mut)] let mut object_735 = object.key("AwsEc2NetworkInterface").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_interface_details( &mut object_735, @@ -3138,6 +3297,7 @@ pub fn serialize_structure_crate_model_resource_details( object_735.finish(); } if let Some(var_736) = &input.aws_ec2_security_group { + #[allow(unused_mut)] let mut object_737 = object.key("AwsEc2SecurityGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_details( &mut object_737, @@ -3146,6 +3306,7 @@ pub fn serialize_structure_crate_model_resource_details( object_737.finish(); } if let Some(var_738) = &input.aws_ec2_volume { + #[allow(unused_mut)] let mut object_739 = object.key("AwsEc2Volume").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_volume_details( &mut object_739, @@ -3154,6 +3315,7 @@ pub fn serialize_structure_crate_model_resource_details( object_739.finish(); } if let Some(var_740) = &input.aws_ec2_vpc { + #[allow(unused_mut)] let mut object_741 = object.key("AwsEc2Vpc").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_details( &mut object_741, @@ -3162,6 +3324,7 @@ pub fn serialize_structure_crate_model_resource_details( object_741.finish(); } if let Some(var_742) = &input.aws_ec2_eip { + #[allow(unused_mut)] let mut object_743 = object.key("AwsEc2Eip").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_eip_details( &mut object_743, @@ -3170,6 +3333,7 @@ pub fn serialize_structure_crate_model_resource_details( object_743.finish(); } if let Some(var_744) = &input.aws_ec2_subnet { + #[allow(unused_mut)] let mut object_745 = object.key("AwsEc2Subnet").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_subnet_details( &mut object_745, @@ -3178,6 +3342,7 @@ pub fn serialize_structure_crate_model_resource_details( object_745.finish(); } if let Some(var_746) = &input.aws_ec2_network_acl { + #[allow(unused_mut)] let mut object_747 = object.key("AwsEc2NetworkAcl").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_acl_details( &mut object_747, @@ -3186,6 +3351,7 @@ pub fn serialize_structure_crate_model_resource_details( object_747.finish(); } if let Some(var_748) = &input.aws_elbv2_load_balancer { + #[allow(unused_mut)] let mut object_749 = object.key("AwsElbv2LoadBalancer").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elbv2_load_balancer_details( &mut object_749, @@ -3194,6 +3360,7 @@ pub fn serialize_structure_crate_model_resource_details( object_749.finish(); } if let Some(var_750) = &input.aws_elastic_beanstalk_environment { + #[allow(unused_mut)] let mut object_751 = object.key("AwsElasticBeanstalkEnvironment").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elastic_beanstalk_environment_details( &mut object_751, @@ -3202,6 +3369,7 @@ pub fn serialize_structure_crate_model_resource_details( object_751.finish(); } if let Some(var_752) = &input.aws_elasticsearch_domain { + #[allow(unused_mut)] let mut object_753 = object.key("AwsElasticsearchDomain").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_details( &mut object_753, @@ -3210,6 +3378,7 @@ pub fn serialize_structure_crate_model_resource_details( object_753.finish(); } if let Some(var_754) = &input.aws_s3_bucket { + #[allow(unused_mut)] let mut object_755 = object.key("AwsS3Bucket").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_details( &mut object_755, @@ -3218,11 +3387,13 @@ pub fn serialize_structure_crate_model_resource_details( object_755.finish(); } if let Some(var_756) = &input.aws_s3_account_public_access_block { + #[allow(unused_mut)] let mut object_757 = object.key("AwsS3AccountPublicAccessBlock").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_account_public_access_block_details(&mut object_757, var_756)?; object_757.finish(); } if let Some(var_758) = &input.aws_s3_object { + #[allow(unused_mut)] let mut object_759 = object.key("AwsS3Object").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_object_details( &mut object_759, @@ -3231,6 +3402,7 @@ pub fn serialize_structure_crate_model_resource_details( object_759.finish(); } if let Some(var_760) = &input.aws_secrets_manager_secret { + #[allow(unused_mut)] let mut object_761 = object.key("AwsSecretsManagerSecret").start_object(); crate::json_ser::serialize_structure_crate_model_aws_secrets_manager_secret_details( &mut object_761, @@ -3239,6 +3411,7 @@ pub fn serialize_structure_crate_model_resource_details( object_761.finish(); } if let Some(var_762) = &input.aws_iam_access_key { + #[allow(unused_mut)] let mut object_763 = object.key("AwsIamAccessKey").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_access_key_details( &mut object_763, @@ -3247,6 +3420,7 @@ pub fn serialize_structure_crate_model_resource_details( object_763.finish(); } if let Some(var_764) = &input.aws_iam_user { + #[allow(unused_mut)] let mut object_765 = object.key("AwsIamUser").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_user_details( &mut object_765, @@ -3255,6 +3429,7 @@ pub fn serialize_structure_crate_model_resource_details( object_765.finish(); } if let Some(var_766) = &input.aws_iam_policy { + #[allow(unused_mut)] let mut object_767 = object.key("AwsIamPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_policy_details( &mut object_767, @@ -3263,6 +3438,7 @@ pub fn serialize_structure_crate_model_resource_details( object_767.finish(); } if let Some(var_768) = &input.aws_api_gateway_v2_stage { + #[allow(unused_mut)] let mut object_769 = object.key("AwsApiGatewayV2Stage").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_v2_stage_details( &mut object_769, @@ -3271,6 +3447,7 @@ pub fn serialize_structure_crate_model_resource_details( object_769.finish(); } if let Some(var_770) = &input.aws_api_gateway_v2_api { + #[allow(unused_mut)] let mut object_771 = object.key("AwsApiGatewayV2Api").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_v2_api_details( &mut object_771, @@ -3279,6 +3456,7 @@ pub fn serialize_structure_crate_model_resource_details( object_771.finish(); } if let Some(var_772) = &input.aws_dynamo_db_table { + #[allow(unused_mut)] let mut object_773 = object.key("AwsDynamoDbTable").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_details( &mut object_773, @@ -3287,6 +3465,7 @@ pub fn serialize_structure_crate_model_resource_details( object_773.finish(); } if let Some(var_774) = &input.aws_api_gateway_stage { + #[allow(unused_mut)] let mut object_775 = object.key("AwsApiGatewayStage").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_stage_details( &mut object_775, @@ -3295,6 +3474,7 @@ pub fn serialize_structure_crate_model_resource_details( object_775.finish(); } if let Some(var_776) = &input.aws_api_gateway_rest_api { + #[allow(unused_mut)] let mut object_777 = object.key("AwsApiGatewayRestApi").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_rest_api_details( &mut object_777, @@ -3303,6 +3483,7 @@ pub fn serialize_structure_crate_model_resource_details( object_777.finish(); } if let Some(var_778) = &input.aws_cloud_trail_trail { + #[allow(unused_mut)] let mut object_779 = object.key("AwsCloudTrailTrail").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_trail_trail_details( &mut object_779, @@ -3311,6 +3492,7 @@ pub fn serialize_structure_crate_model_resource_details( object_779.finish(); } if let Some(var_780) = &input.aws_ssm_patch_compliance { + #[allow(unused_mut)] let mut object_781 = object.key("AwsSsmPatchCompliance").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ssm_patch_compliance_details( &mut object_781, @@ -3319,6 +3501,7 @@ pub fn serialize_structure_crate_model_resource_details( object_781.finish(); } if let Some(var_782) = &input.aws_certificate_manager_certificate { + #[allow(unused_mut)] let mut object_783 = object .key("AwsCertificateManagerCertificate") .start_object(); @@ -3326,6 +3509,7 @@ pub fn serialize_structure_crate_model_resource_details( object_783.finish(); } if let Some(var_784) = &input.aws_redshift_cluster { + #[allow(unused_mut)] let mut object_785 = object.key("AwsRedshiftCluster").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_details( &mut object_785, @@ -3334,6 +3518,7 @@ pub fn serialize_structure_crate_model_resource_details( object_785.finish(); } if let Some(var_786) = &input.aws_elb_load_balancer { + #[allow(unused_mut)] let mut object_787 = object.key("AwsElbLoadBalancer").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_details( &mut object_787, @@ -3342,6 +3527,7 @@ pub fn serialize_structure_crate_model_resource_details( object_787.finish(); } if let Some(var_788) = &input.aws_iam_group { + #[allow(unused_mut)] let mut object_789 = object.key("AwsIamGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_group_details( &mut object_789, @@ -3350,6 +3536,7 @@ pub fn serialize_structure_crate_model_resource_details( object_789.finish(); } if let Some(var_790) = &input.aws_iam_role { + #[allow(unused_mut)] let mut object_791 = object.key("AwsIamRole").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_role_details( &mut object_791, @@ -3358,6 +3545,7 @@ pub fn serialize_structure_crate_model_resource_details( object_791.finish(); } if let Some(var_792) = &input.aws_kms_key { + #[allow(unused_mut)] let mut object_793 = object.key("AwsKmsKey").start_object(); crate::json_ser::serialize_structure_crate_model_aws_kms_key_details( &mut object_793, @@ -3366,6 +3554,7 @@ pub fn serialize_structure_crate_model_resource_details( object_793.finish(); } if let Some(var_794) = &input.aws_lambda_function { + #[allow(unused_mut)] let mut object_795 = object.key("AwsLambdaFunction").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_details( &mut object_795, @@ -3374,6 +3563,7 @@ pub fn serialize_structure_crate_model_resource_details( object_795.finish(); } if let Some(var_796) = &input.aws_lambda_layer_version { + #[allow(unused_mut)] let mut object_797 = object.key("AwsLambdaLayerVersion").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_layer_version_details( &mut object_797, @@ -3382,6 +3572,7 @@ pub fn serialize_structure_crate_model_resource_details( object_797.finish(); } if let Some(var_798) = &input.aws_rds_db_instance { + #[allow(unused_mut)] let mut object_799 = object.key("AwsRdsDbInstance").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_instance_details( &mut object_799, @@ -3390,6 +3581,7 @@ pub fn serialize_structure_crate_model_resource_details( object_799.finish(); } if let Some(var_800) = &input.aws_sns_topic { + #[allow(unused_mut)] let mut object_801 = object.key("AwsSnsTopic").start_object(); crate::json_ser::serialize_structure_crate_model_aws_sns_topic_details( &mut object_801, @@ -3398,6 +3590,7 @@ pub fn serialize_structure_crate_model_resource_details( object_801.finish(); } if let Some(var_802) = &input.aws_sqs_queue { + #[allow(unused_mut)] let mut object_803 = object.key("AwsSqsQueue").start_object(); crate::json_ser::serialize_structure_crate_model_aws_sqs_queue_details( &mut object_803, @@ -3406,6 +3599,7 @@ pub fn serialize_structure_crate_model_resource_details( object_803.finish(); } if let Some(var_804) = &input.aws_waf_web_acl { + #[allow(unused_mut)] let mut object_805 = object.key("AwsWafWebAcl").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_web_acl_details( &mut object_805, @@ -3414,6 +3608,7 @@ pub fn serialize_structure_crate_model_resource_details( object_805.finish(); } if let Some(var_806) = &input.aws_rds_db_snapshot { + #[allow(unused_mut)] let mut object_807 = object.key("AwsRdsDbSnapshot").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_snapshot_details( &mut object_807, @@ -3422,6 +3617,7 @@ pub fn serialize_structure_crate_model_resource_details( object_807.finish(); } if let Some(var_808) = &input.aws_rds_db_cluster_snapshot { + #[allow(unused_mut)] let mut object_809 = object.key("AwsRdsDbClusterSnapshot").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_cluster_snapshot_details( &mut object_809, @@ -3430,6 +3626,7 @@ pub fn serialize_structure_crate_model_resource_details( object_809.finish(); } if let Some(var_810) = &input.aws_rds_db_cluster { + #[allow(unused_mut)] let mut object_811 = object.key("AwsRdsDbCluster").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_cluster_details( &mut object_811, @@ -3438,6 +3635,7 @@ pub fn serialize_structure_crate_model_resource_details( object_811.finish(); } if let Some(var_812) = &input.aws_ecs_cluster { + #[allow(unused_mut)] let mut object_813 = object.key("AwsEcsCluster").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_cluster_details( &mut object_813, @@ -3446,6 +3644,7 @@ pub fn serialize_structure_crate_model_resource_details( object_813.finish(); } if let Some(var_814) = &input.aws_ecs_container { + #[allow(unused_mut)] let mut object_815 = object.key("AwsEcsContainer").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_container_details( &mut object_815, @@ -3454,6 +3653,7 @@ pub fn serialize_structure_crate_model_resource_details( object_815.finish(); } if let Some(var_816) = &input.aws_ecs_task_definition { + #[allow(unused_mut)] let mut object_817 = object.key("AwsEcsTaskDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_details( &mut object_817, @@ -3462,6 +3662,7 @@ pub fn serialize_structure_crate_model_resource_details( object_817.finish(); } if let Some(var_818) = &input.container { + #[allow(unused_mut)] let mut object_819 = object.key("Container").start_object(); crate::json_ser::serialize_structure_crate_model_container_details( &mut object_819, @@ -3470,6 +3671,7 @@ pub fn serialize_structure_crate_model_resource_details( object_819.finish(); } if let Some(var_820) = &input.other { + #[allow(unused_mut)] let mut object_821 = object.key("Other").start_object(); for (key_822, value_823) in var_820 { { @@ -3479,6 +3681,7 @@ pub fn serialize_structure_crate_model_resource_details( object_821.finish(); } if let Some(var_824) = &input.aws_rds_event_subscription { + #[allow(unused_mut)] let mut object_825 = object.key("AwsRdsEventSubscription").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_event_subscription_details( &mut object_825, @@ -3487,6 +3690,7 @@ pub fn serialize_structure_crate_model_resource_details( object_825.finish(); } if let Some(var_826) = &input.aws_ecs_service { + #[allow(unused_mut)] let mut object_827 = object.key("AwsEcsService").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_details( &mut object_827, @@ -3495,6 +3699,7 @@ pub fn serialize_structure_crate_model_resource_details( object_827.finish(); } if let Some(var_828) = &input.aws_auto_scaling_launch_configuration { + #[allow(unused_mut)] let mut object_829 = object .key("AwsAutoScalingLaunchConfiguration") .start_object(); @@ -3502,6 +3707,7 @@ pub fn serialize_structure_crate_model_resource_details( object_829.finish(); } if let Some(var_830) = &input.aws_ec2_vpn_connection { + #[allow(unused_mut)] let mut object_831 = object.key("AwsEc2VpnConnection").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpn_connection_details( &mut object_831, @@ -3510,6 +3716,7 @@ pub fn serialize_structure_crate_model_resource_details( object_831.finish(); } if let Some(var_832) = &input.aws_ecr_container_image { + #[allow(unused_mut)] let mut object_833 = object.key("AwsEcrContainerImage").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecr_container_image_details( &mut object_833, @@ -3518,6 +3725,7 @@ pub fn serialize_structure_crate_model_resource_details( object_833.finish(); } if let Some(var_834) = &input.aws_open_search_service_domain { + #[allow(unused_mut)] let mut object_835 = object.key("AwsOpenSearchServiceDomain").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_details( &mut object_835, @@ -3526,6 +3734,7 @@ pub fn serialize_structure_crate_model_resource_details( object_835.finish(); } if let Some(var_836) = &input.aws_ec2_vpc_endpoint_service { + #[allow(unused_mut)] let mut object_837 = object.key("AwsEc2VpcEndpointService").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_endpoint_service_details( &mut object_837, @@ -3534,6 +3743,7 @@ pub fn serialize_structure_crate_model_resource_details( object_837.finish(); } if let Some(var_838) = &input.aws_xray_encryption_config { + #[allow(unused_mut)] let mut object_839 = object.key("AwsXrayEncryptionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_xray_encryption_config_details( &mut object_839, @@ -3542,6 +3752,7 @@ pub fn serialize_structure_crate_model_resource_details( object_839.finish(); } if let Some(var_840) = &input.aws_waf_rate_based_rule { + #[allow(unused_mut)] let mut object_841 = object.key("AwsWafRateBasedRule").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rate_based_rule_details( &mut object_841, @@ -3550,6 +3761,7 @@ pub fn serialize_structure_crate_model_resource_details( object_841.finish(); } if let Some(var_842) = &input.aws_waf_regional_rate_based_rule { + #[allow(unused_mut)] let mut object_843 = object.key("AwsWafRegionalRateBasedRule").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rate_based_rule_details( &mut object_843, @@ -3558,6 +3770,7 @@ pub fn serialize_structure_crate_model_resource_details( object_843.finish(); } if let Some(var_844) = &input.aws_ecr_repository { + #[allow(unused_mut)] let mut object_845 = object.key("AwsEcrRepository").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecr_repository_details( &mut object_845, @@ -3566,6 +3779,7 @@ pub fn serialize_structure_crate_model_resource_details( object_845.finish(); } if let Some(var_846) = &input.aws_eks_cluster { + #[allow(unused_mut)] let mut object_847 = object.key("AwsEksCluster").start_object(); crate::json_ser::serialize_structure_crate_model_aws_eks_cluster_details( &mut object_847, @@ -3574,6 +3788,7 @@ pub fn serialize_structure_crate_model_resource_details( object_847.finish(); } if let Some(var_848) = &input.aws_network_firewall_firewall_policy { + #[allow(unused_mut)] let mut object_849 = object .key("AwsNetworkFirewallFirewallPolicy") .start_object(); @@ -3581,6 +3796,7 @@ pub fn serialize_structure_crate_model_resource_details( object_849.finish(); } if let Some(var_850) = &input.aws_network_firewall_firewall { + #[allow(unused_mut)] let mut object_851 = object.key("AwsNetworkFirewallFirewall").start_object(); crate::json_ser::serialize_structure_crate_model_aws_network_firewall_firewall_details( &mut object_851, @@ -3589,6 +3805,7 @@ pub fn serialize_structure_crate_model_resource_details( object_851.finish(); } if let Some(var_852) = &input.aws_network_firewall_rule_group { + #[allow(unused_mut)] let mut object_853 = object.key("AwsNetworkFirewallRuleGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_network_firewall_rule_group_details( &mut object_853, @@ -3597,6 +3814,7 @@ pub fn serialize_structure_crate_model_resource_details( object_853.finish(); } if let Some(var_854) = &input.aws_rds_db_security_group { + #[allow(unused_mut)] let mut object_855 = object.key("AwsRdsDbSecurityGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_security_group_details( &mut object_855, @@ -3605,6 +3823,7 @@ pub fn serialize_structure_crate_model_resource_details( object_855.finish(); } if let Some(var_856) = &input.aws_kinesis_stream { + #[allow(unused_mut)] let mut object_857 = object.key("AwsKinesisStream").start_object(); crate::json_ser::serialize_structure_crate_model_aws_kinesis_stream_details( &mut object_857, @@ -3613,6 +3832,7 @@ pub fn serialize_structure_crate_model_resource_details( object_857.finish(); } if let Some(var_858) = &input.aws_ec2_transit_gateway { + #[allow(unused_mut)] let mut object_859 = object.key("AwsEc2TransitGateway").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_transit_gateway_details( &mut object_859, @@ -3621,6 +3841,7 @@ pub fn serialize_structure_crate_model_resource_details( object_859.finish(); } if let Some(var_860) = &input.aws_efs_access_point { + #[allow(unused_mut)] let mut object_861 = object.key("AwsEfsAccessPoint").start_object(); crate::json_ser::serialize_structure_crate_model_aws_efs_access_point_details( &mut object_861, @@ -3629,6 +3850,7 @@ pub fn serialize_structure_crate_model_resource_details( object_861.finish(); } if let Some(var_862) = &input.aws_cloud_formation_stack { + #[allow(unused_mut)] let mut object_863 = object.key("AwsCloudFormationStack").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_formation_stack_details( &mut object_863, @@ -3637,6 +3859,7 @@ pub fn serialize_structure_crate_model_resource_details( object_863.finish(); } if let Some(var_864) = &input.aws_cloud_watch_alarm { + #[allow(unused_mut)] let mut object_865 = object.key("AwsCloudWatchAlarm").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_watch_alarm_details( &mut object_865, @@ -3645,6 +3868,7 @@ pub fn serialize_structure_crate_model_resource_details( object_865.finish(); } if let Some(var_866) = &input.aws_ec2_vpc_peering_connection { + #[allow(unused_mut)] let mut object_867 = object.key("AwsEc2VpcPeeringConnection").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_peering_connection_details( &mut object_867, @@ -3653,6 +3877,7 @@ pub fn serialize_structure_crate_model_resource_details( object_867.finish(); } if let Some(var_868) = &input.aws_waf_regional_rule_group { + #[allow(unused_mut)] let mut object_869 = object.key("AwsWafRegionalRuleGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rule_group_details( &mut object_869, @@ -3661,6 +3886,7 @@ pub fn serialize_structure_crate_model_resource_details( object_869.finish(); } if let Some(var_870) = &input.aws_waf_regional_rule { + #[allow(unused_mut)] let mut object_871 = object.key("AwsWafRegionalRule").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rule_details( &mut object_871, @@ -3669,6 +3895,7 @@ pub fn serialize_structure_crate_model_resource_details( object_871.finish(); } if let Some(var_872) = &input.aws_waf_regional_web_acl { + #[allow(unused_mut)] let mut object_873 = object.key("AwsWafRegionalWebAcl").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_web_acl_details( &mut object_873, @@ -3677,6 +3904,7 @@ pub fn serialize_structure_crate_model_resource_details( object_873.finish(); } if let Some(var_874) = &input.aws_waf_rule { + #[allow(unused_mut)] let mut object_875 = object.key("AwsWafRule").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rule_details( &mut object_875, @@ -3685,6 +3913,7 @@ pub fn serialize_structure_crate_model_resource_details( object_875.finish(); } if let Some(var_876) = &input.aws_waf_rule_group { + #[allow(unused_mut)] let mut object_877 = object.key("AwsWafRuleGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rule_group_details( &mut object_877, @@ -3693,6 +3922,7 @@ pub fn serialize_structure_crate_model_resource_details( object_877.finish(); } if let Some(var_878) = &input.aws_ecs_task { + #[allow(unused_mut)] let mut object_879 = object.key("AwsEcsTask").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_details( &mut object_879, @@ -3701,6 +3931,7 @@ pub fn serialize_structure_crate_model_resource_details( object_879.finish(); } if let Some(var_880) = &input.aws_backup_backup_vault { + #[allow(unused_mut)] let mut object_881 = object.key("AwsBackupBackupVault").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_vault_details( &mut object_881, @@ -3709,6 +3940,7 @@ pub fn serialize_structure_crate_model_resource_details( object_881.finish(); } if let Some(var_882) = &input.aws_backup_backup_plan { + #[allow(unused_mut)] let mut object_883 = object.key("AwsBackupBackupPlan").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_details( &mut object_883, @@ -3717,6 +3949,7 @@ pub fn serialize_structure_crate_model_resource_details( object_883.finish(); } if let Some(var_884) = &input.aws_backup_recovery_point { + #[allow(unused_mut)] let mut object_885 = object.key("AwsBackupRecoveryPoint").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_recovery_point_details( &mut object_885, @@ -3797,6 +4030,7 @@ pub fn serialize_structure_crate_model_cvss( let mut array_901 = object.key("Adjustments").start_array(); for item_902 in var_900 { { + #[allow(unused_mut)] let mut object_903 = array_901.value().start_object(); crate::json_ser::serialize_structure_crate_model_adjustment( &mut object_903, @@ -3840,6 +4074,7 @@ pub fn serialize_structure_crate_model_network_connection_action( object.key("ConnectionDirection").string(var_909.as_str()); } if let Some(var_910) = &input.remote_ip_details { + #[allow(unused_mut)] let mut object_911 = object.key("RemoteIpDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_remote_ip_details( &mut object_911, @@ -3848,6 +4083,7 @@ pub fn serialize_structure_crate_model_network_connection_action( object_911.finish(); } if let Some(var_912) = &input.remote_port_details { + #[allow(unused_mut)] let mut object_913 = object.key("RemotePortDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_remote_port_details( &mut object_913, @@ -3856,6 +4092,7 @@ pub fn serialize_structure_crate_model_network_connection_action( object_913.finish(); } if let Some(var_914) = &input.local_port_details { + #[allow(unused_mut)] let mut object_915 = object.key("LocalPortDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_local_port_details( &mut object_915, @@ -3886,6 +4123,7 @@ pub fn serialize_structure_crate_model_aws_api_call_action( object.key("CallerType").string(var_919.as_str()); } if let Some(var_920) = &input.remote_ip_details { + #[allow(unused_mut)] let mut object_921 = object.key("RemoteIpDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_remote_ip_details( &mut object_921, @@ -3894,6 +4132,7 @@ pub fn serialize_structure_crate_model_aws_api_call_action( object_921.finish(); } if let Some(var_922) = &input.domain_details { + #[allow(unused_mut)] let mut object_923 = object.key("DomainDetails").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_call_action_domain_details( &mut object_923, @@ -3902,6 +4141,7 @@ pub fn serialize_structure_crate_model_aws_api_call_action( object_923.finish(); } if let Some(var_924) = &input.affected_resources { + #[allow(unused_mut)] let mut object_925 = object.key("AffectedResources").start_object(); for (key_926, value_927) in var_924 { { @@ -3943,6 +4183,7 @@ pub fn serialize_structure_crate_model_port_probe_action( let mut array_933 = object.key("PortProbeDetails").start_array(); for item_934 in var_932 { { + #[allow(unused_mut)] let mut object_935 = array_933.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_probe_detail( &mut object_935, @@ -4005,6 +4246,7 @@ pub fn serialize_structure_crate_model_network_path_component_details( let mut array_943 = object.key("PortRanges").start_array(); for item_944 in var_942 { { + #[allow(unused_mut)] let mut object_945 = array_943.value().start_object(); crate::json_ser::serialize_structure_crate_model_port_range( &mut object_945, @@ -4037,6 +4279,7 @@ pub fn serialize_structure_crate_model_classification_result( .boolean(input.additional_occurrences); } if let Some(var_947) = &input.status { + #[allow(unused_mut)] let mut object_948 = object.key("Status").start_object(); crate::json_ser::serialize_structure_crate_model_classification_status( &mut object_948, @@ -4048,6 +4291,7 @@ pub fn serialize_structure_crate_model_classification_result( let mut array_950 = object.key("SensitiveData").start_array(); for item_951 in var_949 { { + #[allow(unused_mut)] let mut object_952 = array_950.value().start_object(); crate::json_ser::serialize_structure_crate_model_sensitive_data_result( &mut object_952, @@ -4059,6 +4303,7 @@ pub fn serialize_structure_crate_model_classification_result( array_950.finish(); } if let Some(var_953) = &input.custom_data_identifiers { + #[allow(unused_mut)] let mut object_954 = object.key("CustomDataIdentifiers").start_object(); crate::json_ser::serialize_structure_crate_model_custom_data_identifiers_result( &mut object_954, @@ -4100,6 +4345,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_detai object.key("CreatedTime").string(var_960.as_str()); } if let Some(var_961) = &input.mixed_instances_policy { + #[allow(unused_mut)] let mut object_962 = object.key("MixedInstancesPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed_instances_policy_details(&mut object_962, var_961)?; object_962.finish(); @@ -4108,6 +4354,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_detai let mut array_964 = object.key("AvailabilityZones").start_array(); for item_965 in var_963 { { + #[allow(unused_mut)] let mut object_966 = array_964.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_availability_zones_list_details(&mut object_966, item_965)?; object_966.finish(); @@ -4116,6 +4363,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_detai array_964.finish(); } if let Some(var_967) = &input.launch_template { + #[allow(unused_mut)] let mut object_968 = object.key("LaunchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_launch_template_launch_template_specification(&mut object_968, var_967)?; object_968.finish(); @@ -4139,6 +4387,7 @@ pub fn serialize_structure_crate_model_aws_code_build_project_details( let mut array_971 = object.key("Artifacts").start_array(); for item_972 in var_970 { { + #[allow(unused_mut)] let mut object_973 = array_971.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_artifacts_details(&mut object_973, item_972)?; object_973.finish(); @@ -4147,6 +4396,7 @@ pub fn serialize_structure_crate_model_aws_code_build_project_details( array_971.finish(); } if let Some(var_974) = &input.environment { + #[allow(unused_mut)] let mut object_975 = object.key("Environment").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_environment( &mut object_975, @@ -4158,6 +4408,7 @@ pub fn serialize_structure_crate_model_aws_code_build_project_details( object.key("Name").string(var_976.as_str()); } if let Some(var_977) = &input.source { + #[allow(unused_mut)] let mut object_978 = object.key("Source").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_source( &mut object_978, @@ -4169,11 +4420,13 @@ pub fn serialize_structure_crate_model_aws_code_build_project_details( object.key("ServiceRole").string(var_979.as_str()); } if let Some(var_980) = &input.logs_config { + #[allow(unused_mut)] let mut object_981 = object.key("LogsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_logs_config_details(&mut object_981, var_980)?; object_981.finish(); } if let Some(var_982) = &input.vpc_config { + #[allow(unused_mut)] let mut object_983 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_vpc_config( &mut object_983, @@ -4185,6 +4438,7 @@ pub fn serialize_structure_crate_model_aws_code_build_project_details( let mut array_985 = object.key("SecondaryArtifacts").start_array(); for item_986 in var_984 { { + #[allow(unused_mut)] let mut object_987 = array_985.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_artifacts_details(&mut object_987, item_986)?; object_987.finish(); @@ -4200,11 +4454,13 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_details( input: &crate::model::AwsCloudFrontDistributionDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_988) = &input.cache_behaviors { + #[allow(unused_mut)] let mut object_989 = object.key("CacheBehaviors").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_cache_behaviors(&mut object_989, var_988)?; object_989.finish(); } if let Some(var_990) = &input.default_cache_behavior { + #[allow(unused_mut)] let mut object_991 = object.key("DefaultCacheBehavior").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_default_cache_behavior(&mut object_991, var_990)?; object_991.finish(); @@ -4222,6 +4478,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_details( object.key("LastModifiedTime").string(var_995.as_str()); } if let Some(var_996) = &input.logging { + #[allow(unused_mut)] let mut object_997 = object.key("Logging").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_logging( &mut object_997, @@ -4230,6 +4487,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_details( object_997.finish(); } if let Some(var_998) = &input.origins { + #[allow(unused_mut)] let mut object_999 = object.key("Origins").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origins( &mut object_999, @@ -4238,11 +4496,13 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_details( object_999.finish(); } if let Some(var_1000) = &input.origin_groups { + #[allow(unused_mut)] let mut object_1001 = object.key("OriginGroups").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_groups(&mut object_1001, var_1000)?; object_1001.finish(); } if let Some(var_1002) = &input.viewer_certificate { + #[allow(unused_mut)] let mut object_1003 = object.key("ViewerCertificate").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_viewer_certificate(&mut object_1003, var_1002)?; object_1003.finish(); @@ -4305,6 +4565,7 @@ pub fn serialize_structure_crate_model_aws_ec2_instance_details( let mut array_1020 = object.key("NetworkInterfaces").start_array(); for item_1021 in var_1019 { { + #[allow(unused_mut)] let mut object_1022 = array_1020.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_instance_network_interfaces_details(&mut object_1022, item_1021)?; object_1022.finish(); @@ -4316,6 +4577,7 @@ pub fn serialize_structure_crate_model_aws_ec2_instance_details( object.key("VirtualizationType").string(var_1023.as_str()); } if let Some(var_1024) = &input.metadata_options { + #[allow(unused_mut)] let mut object_1025 = object.key("MetadataOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_instance_metadata_options( &mut object_1025, @@ -4331,6 +4593,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_interface_details( input: &crate::model::AwsEc2NetworkInterfaceDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1026) = &input.attachment { + #[allow(unused_mut)] let mut object_1027 = object.key("Attachment").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_interface_attachment( &mut object_1027, @@ -4345,6 +4608,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_interface_details( let mut array_1030 = object.key("SecurityGroups").start_array(); for item_1031 in var_1029 { { + #[allow(unused_mut)] let mut object_1032 = array_1030.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_interface_security_group(&mut object_1032, item_1031)?; object_1032.finish(); @@ -4361,6 +4625,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_interface_details( let mut array_1034 = object.key("IpV6Addresses").start_array(); for item_1035 in var_1033 { { + #[allow(unused_mut)] let mut object_1036 = array_1034.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_interface_ip_v6_address_detail(&mut object_1036, item_1035)?; object_1036.finish(); @@ -4372,6 +4637,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_interface_details( let mut array_1038 = object.key("PrivateIpAddresses").start_array(); for item_1039 in var_1037 { { + #[allow(unused_mut)] let mut object_1040 = array_1038.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_interface_private_ip_address_detail(&mut object_1040, item_1039)?; object_1040.finish(); @@ -4408,6 +4674,7 @@ pub fn serialize_structure_crate_model_aws_ec2_security_group_details( let mut array_1048 = object.key("IpPermissions").start_array(); for item_1049 in var_1047 { { + #[allow(unused_mut)] let mut object_1050 = array_1048.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_ip_permission(&mut object_1050, item_1049)?; object_1050.finish(); @@ -4419,6 +4686,7 @@ pub fn serialize_structure_crate_model_aws_ec2_security_group_details( let mut array_1052 = object.key("IpPermissionsEgress").start_array(); for item_1053 in var_1051 { { + #[allow(unused_mut)] let mut object_1054 = array_1052.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_ip_permission(&mut object_1054, item_1053)?; object_1054.finish(); @@ -4461,6 +4729,7 @@ pub fn serialize_structure_crate_model_aws_ec2_volume_details( let mut array_1061 = object.key("Attachments").start_array(); for item_1062 in var_1060 { { + #[allow(unused_mut)] let mut object_1063 = array_1061.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_volume_attachment( &mut object_1063, @@ -4491,6 +4760,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_details( let mut array_1068 = object.key("CidrBlockAssociationSet").start_array(); for item_1069 in var_1067 { { + #[allow(unused_mut)] let mut object_1070 = array_1068.value().start_object(); crate::json_ser::serialize_structure_crate_model_cidr_block_association( &mut object_1070, @@ -4505,6 +4775,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_details( let mut array_1072 = object.key("Ipv6CidrBlockAssociationSet").start_array(); for item_1073 in var_1071 { { + #[allow(unused_mut)] let mut object_1074 = array_1072.value().start_object(); crate::json_ser::serialize_structure_crate_model_ipv6_cidr_block_association( &mut object_1074, @@ -4614,6 +4885,7 @@ pub fn serialize_structure_crate_model_aws_ec2_subnet_details( let mut array_1096 = object.key("Ipv6CidrBlockAssociationSet").start_array(); for item_1097 in var_1095 { { + #[allow(unused_mut)] let mut object_1098 = array_1096.value().start_object(); crate::json_ser::serialize_structure_crate_model_ipv6_cidr_block_association( &mut object_1098, @@ -4647,6 +4919,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_acl_details( let mut array_1103 = object.key("Associations").start_array(); for item_1104 in var_1102 { { + #[allow(unused_mut)] let mut object_1105 = array_1103.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_acl_association( &mut object_1105, @@ -4661,6 +4934,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_acl_details( let mut array_1107 = object.key("Entries").start_array(); for item_1108 in var_1106 { { + #[allow(unused_mut)] let mut object_1109 = array_1107.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_network_acl_entry( &mut object_1109, @@ -4682,6 +4956,7 @@ pub fn serialize_structure_crate_model_aws_elbv2_load_balancer_details( let mut array_1111 = object.key("AvailabilityZones").start_array(); for item_1112 in var_1110 { { + #[allow(unused_mut)] let mut object_1113 = array_1111.value().start_object(); crate::json_ser::serialize_structure_crate_model_availability_zone( &mut object_1113, @@ -4719,6 +4994,7 @@ pub fn serialize_structure_crate_model_aws_elbv2_load_balancer_details( array_1120.finish(); } if let Some(var_1122) = &input.state { + #[allow(unused_mut)] let mut object_1123 = object.key("State").start_object(); crate::json_ser::serialize_structure_crate_model_load_balancer_state( &mut object_1123, @@ -4736,6 +5012,7 @@ pub fn serialize_structure_crate_model_aws_elbv2_load_balancer_details( let mut array_1127 = object.key("LoadBalancerAttributes").start_array(); for item_1128 in var_1126 { { + #[allow(unused_mut)] let mut object_1129 = array_1127.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elbv2_load_balancer_attribute( &mut object_1129, @@ -4781,6 +5058,7 @@ pub fn serialize_structure_crate_model_aws_elastic_beanstalk_environment_details let mut array_1139 = object.key("EnvironmentLinks").start_array(); for item_1140 in var_1138 { { + #[allow(unused_mut)] let mut object_1141 = array_1139.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elastic_beanstalk_environment_environment_link(&mut object_1141, item_1140)?; object_1141.finish(); @@ -4795,6 +5073,7 @@ pub fn serialize_structure_crate_model_aws_elastic_beanstalk_environment_details let mut array_1144 = object.key("OptionSettings").start_array(); for item_1145 in var_1143 { { + #[allow(unused_mut)] let mut object_1146 = array_1144.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elastic_beanstalk_environment_option_setting(&mut object_1146, item_1145)?; object_1146.finish(); @@ -4812,6 +5091,7 @@ pub fn serialize_structure_crate_model_aws_elastic_beanstalk_environment_details object.key("Status").string(var_1149.as_str()); } if let Some(var_1150) = &input.tier { + #[allow(unused_mut)] let mut object_1151 = object.key("Tier").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elastic_beanstalk_environment_tier( &mut object_1151, @@ -4833,6 +5113,7 @@ pub fn serialize_structure_crate_model_aws_elasticsearch_domain_details( object.key("AccessPolicies").string(var_1153.as_str()); } if let Some(var_1154) = &input.domain_endpoint_options { + #[allow(unused_mut)] let mut object_1155 = object.key("DomainEndpointOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_domain_endpoint_options(&mut object_1155, var_1154)?; object_1155.finish(); @@ -4847,6 +5128,7 @@ pub fn serialize_structure_crate_model_aws_elasticsearch_domain_details( object.key("Endpoint").string(var_1158.as_str()); } if let Some(var_1159) = &input.endpoints { + #[allow(unused_mut)] let mut object_1160 = object.key("Endpoints").start_object(); for (key_1161, value_1162) in var_1159 { { @@ -4861,31 +5143,37 @@ pub fn serialize_structure_crate_model_aws_elasticsearch_domain_details( object.key("ElasticsearchVersion").string(var_1163.as_str()); } if let Some(var_1164) = &input.elasticsearch_cluster_config { + #[allow(unused_mut)] let mut object_1165 = object.key("ElasticsearchClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_elasticsearch_cluster_config_details(&mut object_1165, var_1164)?; object_1165.finish(); } if let Some(var_1166) = &input.encryption_at_rest_options { + #[allow(unused_mut)] let mut object_1167 = object.key("EncryptionAtRestOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_encryption_at_rest_options(&mut object_1167, var_1166)?; object_1167.finish(); } if let Some(var_1168) = &input.log_publishing_options { + #[allow(unused_mut)] let mut object_1169 = object.key("LogPublishingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_log_publishing_options(&mut object_1169, var_1168)?; object_1169.finish(); } if let Some(var_1170) = &input.node_to_node_encryption_options { + #[allow(unused_mut)] let mut object_1171 = object.key("NodeToNodeEncryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_node_to_node_encryption_options(&mut object_1171, var_1170)?; object_1171.finish(); } if let Some(var_1172) = &input.service_software_options { + #[allow(unused_mut)] let mut object_1173 = object.key("ServiceSoftwareOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_service_software_options(&mut object_1173, var_1172)?; object_1173.finish(); } if let Some(var_1174) = &input.vpc_options { + #[allow(unused_mut)] let mut object_1175 = object.key("VPCOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_vpc_options( &mut object_1175, @@ -4913,6 +5201,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_details( object.key("CreatedAt").string(var_1179.as_str()); } if let Some(var_1180) = &input.server_side_encryption_configuration { + #[allow(unused_mut)] let mut object_1181 = object .key("ServerSideEncryptionConfiguration") .start_object(); @@ -4920,11 +5209,13 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_details( object_1181.finish(); } if let Some(var_1182) = &input.bucket_lifecycle_configuration { + #[allow(unused_mut)] let mut object_1183 = object.key("BucketLifecycleConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_details(&mut object_1183, var_1182)?; object_1183.finish(); } if let Some(var_1184) = &input.public_access_block_configuration { + #[allow(unused_mut)] let mut object_1185 = object.key("PublicAccessBlockConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_account_public_access_block_details(&mut object_1185, var_1184)?; object_1185.finish(); @@ -4933,6 +5224,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_details( object.key("AccessControlList").string(var_1186.as_str()); } if let Some(var_1187) = &input.bucket_logging_configuration { + #[allow(unused_mut)] let mut object_1188 = object.key("BucketLoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_logging_configuration( &mut object_1188, @@ -4941,6 +5233,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_details( object_1188.finish(); } if let Some(var_1189) = &input.bucket_website_configuration { + #[allow(unused_mut)] let mut object_1190 = object.key("BucketWebsiteConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_website_configuration( &mut object_1190, @@ -4949,6 +5242,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_details( object_1190.finish(); } if let Some(var_1191) = &input.bucket_notification_configuration { + #[allow(unused_mut)] let mut object_1192 = object.key("BucketNotificationConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_notification_configuration( &mut object_1192, @@ -4957,6 +5251,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_details( object_1192.finish(); } if let Some(var_1193) = &input.bucket_versioning_configuration { + #[allow(unused_mut)] let mut object_1194 = object.key("BucketVersioningConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_versioning_configuration(&mut object_1194, var_1193)?; object_1194.finish(); @@ -5021,6 +5316,7 @@ pub fn serialize_structure_crate_model_aws_secrets_manager_secret_details( input: &crate::model::AwsSecretsManagerSecretDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1201) = &input.rotation_rules { + #[allow(unused_mut)] let mut object_1202 = object.key("RotationRules").start_object(); crate::json_ser::serialize_structure_crate_model_aws_secrets_manager_secret_rotation_rules( &mut object_1202, @@ -5085,6 +5381,7 @@ pub fn serialize_structure_crate_model_aws_iam_access_key_details( object.key("AccessKeyId").string(var_1214.as_str()); } if let Some(var_1215) = &input.session_context { + #[allow(unused_mut)] let mut object_1216 = object.key("SessionContext").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_access_key_session_context( &mut object_1216, @@ -5103,6 +5400,7 @@ pub fn serialize_structure_crate_model_aws_iam_user_details( let mut array_1218 = object.key("AttachedManagedPolicies").start_array(); for item_1219 in var_1217 { { + #[allow(unused_mut)] let mut object_1220 = array_1218.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_attached_managed_policy( &mut object_1220, @@ -5129,6 +5427,7 @@ pub fn serialize_structure_crate_model_aws_iam_user_details( object.key("Path").string(var_1225.as_str()); } if let Some(var_1226) = &input.permissions_boundary { + #[allow(unused_mut)] let mut object_1227 = object.key("PermissionsBoundary").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_permissions_boundary( &mut object_1227, @@ -5146,6 +5445,7 @@ pub fn serialize_structure_crate_model_aws_iam_user_details( let mut array_1231 = object.key("UserPolicyList").start_array(); for item_1232 in var_1230 { { + #[allow(unused_mut)] let mut object_1233 = array_1231.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_user_policy( &mut object_1233, @@ -5200,6 +5500,7 @@ pub fn serialize_structure_crate_model_aws_iam_policy_details( let mut array_1241 = object.key("PolicyVersionList").start_array(); for item_1242 in var_1240 { { + #[allow(unused_mut)] let mut object_1243 = array_1241.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_policy_version( &mut object_1243, @@ -5230,6 +5531,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_v2_stage_details( object.key("Description").string(var_1247.as_str()); } if let Some(var_1248) = &input.default_route_settings { + #[allow(unused_mut)] let mut object_1249 = object.key("DefaultRouteSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_v2_route_settings( &mut object_1249, @@ -5244,6 +5546,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_v2_stage_details( object.key("LastUpdatedDate").string(var_1251.as_str()); } if let Some(var_1252) = &input.route_settings { + #[allow(unused_mut)] let mut object_1253 = object.key("RouteSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_v2_route_settings( &mut object_1253, @@ -5255,6 +5558,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_v2_stage_details( object.key("StageName").string(var_1254.as_str()); } if let Some(var_1255) = &input.stage_variables { + #[allow(unused_mut)] let mut object_1256 = object.key("StageVariables").start_object(); for (key_1257, value_1258) in var_1255 { { @@ -5266,6 +5570,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_v2_stage_details( object_1256.finish(); } if let Some(var_1259) = &input.access_log_settings { + #[allow(unused_mut)] let mut object_1260 = object.key("AccessLogSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_access_log_settings( &mut object_1260, @@ -5325,6 +5630,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_v2_api_details( .string(var_1270.as_str()); } if let Some(var_1271) = &input.cors_configuration { + #[allow(unused_mut)] let mut object_1272 = object.key("CorsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cors_configuration( &mut object_1272, @@ -5343,6 +5649,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( let mut array_1274 = object.key("AttributeDefinitions").start_array(); for item_1275 in var_1273 { { + #[allow(unused_mut)] let mut object_1276 = array_1274.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_attribute_definition(&mut object_1276, item_1275)?; object_1276.finish(); @@ -5351,6 +5658,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( array_1274.finish(); } if let Some(var_1277) = &input.billing_mode_summary { + #[allow(unused_mut)] let mut object_1278 = object.key("BillingModeSummary").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_billing_mode_summary( &mut object_1278, @@ -5365,6 +5673,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( let mut array_1281 = object.key("GlobalSecondaryIndexes").start_array(); for item_1282 in var_1280 { { + #[allow(unused_mut)] let mut object_1283 = array_1281.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_global_secondary_index(&mut object_1283, item_1282)?; object_1283.finish(); @@ -5385,6 +5694,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( let mut array_1286 = object.key("KeySchema").start_array(); for item_1287 in var_1285 { { + #[allow(unused_mut)] let mut object_1288 = array_1286.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_key_schema( &mut object_1288, @@ -5405,6 +5715,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( let mut array_1292 = object.key("LocalSecondaryIndexes").start_array(); for item_1293 in var_1291 { { + #[allow(unused_mut)] let mut object_1294 = array_1292.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_local_secondary_index(&mut object_1294, item_1293)?; object_1294.finish(); @@ -5413,6 +5724,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( array_1292.finish(); } if let Some(var_1295) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_1296 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_provisioned_throughput(&mut object_1296, var_1295)?; object_1296.finish(); @@ -5421,6 +5733,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( let mut array_1298 = object.key("Replicas").start_array(); for item_1299 in var_1297 { { + #[allow(unused_mut)] let mut object_1300 = array_1298.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_replica( &mut object_1300, @@ -5432,6 +5745,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( array_1298.finish(); } if let Some(var_1301) = &input.restore_summary { + #[allow(unused_mut)] let mut object_1302 = object.key("RestoreSummary").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_restore_summary( &mut object_1302, @@ -5440,6 +5754,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( object_1302.finish(); } if let Some(var_1303) = &input.sse_description { + #[allow(unused_mut)] let mut object_1304 = object.key("SseDescription").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_sse_description( &mut object_1304, @@ -5448,6 +5763,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_details( object_1304.finish(); } if let Some(var_1305) = &input.stream_specification { + #[allow(unused_mut)] let mut object_1306 = object.key("StreamSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_stream_specification( &mut object_1306, @@ -5504,6 +5820,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_stage_details( let mut array_1317 = object.key("MethodSettings").start_array(); for item_1318 in var_1316 { { + #[allow(unused_mut)] let mut object_1319 = array_1317.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_method_settings( &mut object_1319, @@ -5515,6 +5832,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_stage_details( array_1317.finish(); } if let Some(var_1320) = &input.variables { + #[allow(unused_mut)] let mut object_1321 = object.key("Variables").start_object(); for (key_1322, value_1323) in var_1320 { { @@ -5529,6 +5847,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_stage_details( object.key("DocumentationVersion").string(var_1324.as_str()); } if let Some(var_1325) = &input.access_log_settings { + #[allow(unused_mut)] let mut object_1326 = object.key("AccessLogSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_access_log_settings( &mut object_1326, @@ -5537,6 +5856,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_stage_details( object_1326.finish(); } if let Some(var_1327) = &input.canary_settings { + #[allow(unused_mut)] let mut object_1328 = object.key("CanarySettings").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_canary_settings( &mut object_1328, @@ -5597,6 +5917,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_rest_api_details( object.key("ApiKeySource").string(var_1340.as_str()); } if let Some(var_1341) = &input.endpoint_configuration { + #[allow(unused_mut)] let mut object_1342 = object.key("EndpointConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_api_gateway_endpoint_configuration( &mut object_1342, @@ -5678,6 +5999,7 @@ pub fn serialize_structure_crate_model_aws_ssm_patch_compliance_details( input: &crate::model::AwsSsmPatchComplianceDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1353) = &input.patch { + #[allow(unused_mut)] let mut object_1354 = object.key("Patch").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ssm_patch(&mut object_1354, var_1353)?; object_1354.finish(); @@ -5704,6 +6026,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_detai let mut array_1359 = object.key("DomainValidationOptions").start_array(); for item_1360 in var_1358 { { + #[allow(unused_mut)] let mut object_1361 = array_1359.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_domain_validation_option(&mut object_1361, item_1360)?; object_1361.finish(); @@ -5715,6 +6038,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_detai let mut array_1363 = object.key("ExtendedKeyUsages").start_array(); for item_1364 in var_1362 { { + #[allow(unused_mut)] let mut object_1365 = array_1363.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_extended_key_usage(&mut object_1365, item_1364)?; object_1365.finish(); @@ -5750,6 +6074,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_detai let mut array_1375 = object.key("KeyUsages").start_array(); for item_1376 in var_1374 { { + #[allow(unused_mut)] let mut object_1377 = array_1375.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_key_usage(&mut object_1377, item_1376)?; object_1377.finish(); @@ -5764,6 +6089,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_detai object.key("NotBefore").string(var_1379.as_str()); } if let Some(var_1380) = &input.options { + #[allow(unused_mut)] let mut object_1381 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_options(&mut object_1381, var_1380)?; object_1381.finish(); @@ -5772,6 +6098,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_detai object.key("RenewalEligibility").string(var_1382.as_str()); } if let Some(var_1383) = &input.renewal_summary { + #[allow(unused_mut)] let mut object_1384 = object.key("RenewalSummary").start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_renewal_summary(&mut object_1384, var_1383)?; object_1384.finish(); @@ -5836,6 +6163,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( let mut array_1398 = object.key("ClusterNodes").start_array(); for item_1399 in var_1397 { { + #[allow(unused_mut)] let mut object_1400 = array_1398.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_cluster_node( &mut object_1400, @@ -5850,6 +6178,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( let mut array_1402 = object.key("ClusterParameterGroups").start_array(); for item_1403 in var_1401 { { + #[allow(unused_mut)] let mut object_1404 = array_1402.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_cluster_parameter_group(&mut object_1404, item_1403)?; object_1404.finish(); @@ -5869,6 +6198,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( let mut array_1408 = object.key("ClusterSecurityGroups").start_array(); for item_1409 in var_1407 { { + #[allow(unused_mut)] let mut object_1410 = array_1408.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_cluster_security_group(&mut object_1410, item_1409)?; object_1410.finish(); @@ -5877,6 +6207,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( array_1408.finish(); } if let Some(var_1411) = &input.cluster_snapshot_copy_status { + #[allow(unused_mut)] let mut object_1412 = object.key("ClusterSnapshotCopyStatus").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_cluster_snapshot_copy_status(&mut object_1412, var_1411)?; object_1412.finish(); @@ -5899,6 +6230,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( let mut array_1418 = object.key("DeferredMaintenanceWindows").start_array(); for item_1419 in var_1417 { { + #[allow(unused_mut)] let mut object_1420 = array_1418.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_deferred_maintenance_window(&mut object_1420, item_1419)?; object_1420.finish(); @@ -5907,6 +6239,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( array_1418.finish(); } if let Some(var_1421) = &input.elastic_ip_status { + #[allow(unused_mut)] let mut object_1422 = object.key("ElasticIpStatus").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_elastic_ip_status( &mut object_1422, @@ -5923,6 +6256,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( object.key("Encrypted").boolean(input.encrypted); } if let Some(var_1424) = &input.endpoint { + #[allow(unused_mut)] let mut object_1425 = object.key("Endpoint").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_endpoint( &mut object_1425, @@ -5946,6 +6280,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( .string(var_1427.as_str()); } if let Some(var_1428) = &input.hsm_status { + #[allow(unused_mut)] let mut object_1429 = object.key("HsmStatus").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_hsm_status( &mut object_1429, @@ -5957,6 +6292,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( let mut array_1431 = object.key("IamRoles").start_array(); for item_1432 in var_1430 { { + #[allow(unused_mut)] let mut object_1433 = array_1431.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_iam_role( &mut object_1433, @@ -6006,6 +6342,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( array_1440.finish(); } if let Some(var_1442) = &input.pending_modified_values { + #[allow(unused_mut)] let mut object_1443 = object.key("PendingModifiedValues").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_pending_modified_values(&mut object_1443, var_1442)?; object_1443.finish(); @@ -6021,6 +6358,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( .boolean(input.publicly_accessible); } if let Some(var_1445) = &input.resize_info { + #[allow(unused_mut)] let mut object_1446 = object.key("ResizeInfo").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_resize_info( &mut object_1446, @@ -6029,6 +6367,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( object_1446.finish(); } if let Some(var_1447) = &input.restore_status { + #[allow(unused_mut)] let mut object_1448 = object.key("RestoreStatus").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_restore_status( &mut object_1448, @@ -6053,6 +6392,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( let mut array_1453 = object.key("VpcSecurityGroups").start_array(); for item_1454 in var_1452 { { + #[allow(unused_mut)] let mut object_1455 = array_1453.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_vpc_security_group(&mut object_1455, item_1454)?; object_1455.finish(); @@ -6061,6 +6401,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_details( array_1453.finish(); } if let Some(var_1456) = &input.logging_status { + #[allow(unused_mut)] let mut object_1457 = object.key("LoggingStatus").start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_logging_status( &mut object_1457, @@ -6088,6 +6429,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( let mut array_1462 = object.key("BackendServerDescriptions").start_array(); for item_1463 in var_1461 { { + #[allow(unused_mut)] let mut object_1464 = array_1462.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_backend_server_description(&mut object_1464, item_1463)?; object_1464.finish(); @@ -6112,6 +6454,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( object.key("DnsName").string(var_1468.as_str()); } if let Some(var_1469) = &input.health_check { + #[allow(unused_mut)] let mut object_1470 = object.key("HealthCheck").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_health_check( &mut object_1470, @@ -6123,6 +6466,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( let mut array_1472 = object.key("Instances").start_array(); for item_1473 in var_1471 { { + #[allow(unused_mut)] let mut object_1474 = array_1472.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_instance( &mut object_1474, @@ -6137,6 +6481,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( let mut array_1476 = object.key("ListenerDescriptions").start_array(); for item_1477 in var_1475 { { + #[allow(unused_mut)] let mut object_1478 = array_1476.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_listener_description(&mut object_1478, item_1477)?; object_1478.finish(); @@ -6145,6 +6490,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( array_1476.finish(); } if let Some(var_1479) = &input.load_balancer_attributes { + #[allow(unused_mut)] let mut object_1480 = object.key("LoadBalancerAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_attributes( &mut object_1480, @@ -6156,6 +6502,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( object.key("LoadBalancerName").string(var_1481.as_str()); } if let Some(var_1482) = &input.policies { + #[allow(unused_mut)] let mut object_1483 = object.key("Policies").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_policies( &mut object_1483, @@ -6176,6 +6523,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_details( array_1486.finish(); } if let Some(var_1488) = &input.source_security_group { + #[allow(unused_mut)] let mut object_1489 = object.key("SourceSecurityGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_source_security_group(&mut object_1489, var_1488)?; object_1489.finish(); @@ -6203,6 +6551,7 @@ pub fn serialize_structure_crate_model_aws_iam_group_details( let mut array_1495 = object.key("AttachedManagedPolicies").start_array(); for item_1496 in var_1494 { { + #[allow(unused_mut)] let mut object_1497 = array_1495.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_attached_managed_policy( &mut object_1497, @@ -6226,6 +6575,7 @@ pub fn serialize_structure_crate_model_aws_iam_group_details( let mut array_1502 = object.key("GroupPolicyList").start_array(); for item_1503 in var_1501 { { + #[allow(unused_mut)] let mut object_1504 = array_1502.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_group_policy( &mut object_1504, @@ -6255,6 +6605,7 @@ pub fn serialize_structure_crate_model_aws_iam_role_details( let mut array_1508 = object.key("AttachedManagedPolicies").start_array(); for item_1509 in var_1507 { { + #[allow(unused_mut)] let mut object_1510 = array_1508.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_attached_managed_policy( &mut object_1510, @@ -6272,6 +6623,7 @@ pub fn serialize_structure_crate_model_aws_iam_role_details( let mut array_1513 = object.key("InstanceProfileList").start_array(); for item_1514 in var_1512 { { + #[allow(unused_mut)] let mut object_1515 = array_1513.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_instance_profile( &mut object_1515, @@ -6283,6 +6635,7 @@ pub fn serialize_structure_crate_model_aws_iam_role_details( array_1513.finish(); } if let Some(var_1516) = &input.permissions_boundary { + #[allow(unused_mut)] let mut object_1517 = object.key("PermissionsBoundary").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_permissions_boundary( &mut object_1517, @@ -6300,6 +6653,7 @@ pub fn serialize_structure_crate_model_aws_iam_role_details( let mut array_1521 = object.key("RolePolicyList").start_array(); for item_1522 in var_1520 { { + #[allow(unused_mut)] let mut object_1523 = array_1521.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_role_policy( &mut object_1523, @@ -6363,6 +6717,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_details( input: &crate::model::AwsLambdaFunctionDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1531) = &input.code { + #[allow(unused_mut)] let mut object_1532 = object.key("Code").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_code( &mut object_1532, @@ -6374,6 +6729,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_details( object.key("CodeSha256").string(var_1533.as_str()); } if let Some(var_1534) = &input.dead_letter_config { + #[allow(unused_mut)] let mut object_1535 = object.key("DeadLetterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_dead_letter_config( &mut object_1535, @@ -6382,6 +6738,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_details( object_1535.finish(); } if let Some(var_1536) = &input.environment { + #[allow(unused_mut)] let mut object_1537 = object.key("Environment").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_environment( &mut object_1537, @@ -6405,6 +6762,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_details( let mut array_1543 = object.key("Layers").start_array(); for item_1544 in var_1542 { { + #[allow(unused_mut)] let mut object_1545 = array_1543.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_layer( &mut object_1545, @@ -6440,6 +6798,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_details( ); } if let Some(var_1550) = &input.tracing_config { + #[allow(unused_mut)] let mut object_1551 = object.key("TracingConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_tracing_config( &mut object_1551, @@ -6448,6 +6807,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_details( object_1551.finish(); } if let Some(var_1552) = &input.vpc_config { + #[allow(unused_mut)] let mut object_1553 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_vpc_config( &mut object_1553, @@ -6494,6 +6854,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1560 = object.key("AssociatedRoles").start_array(); for item_1561 in var_1559 { { + #[allow(unused_mut)] let mut object_1562 = array_1560.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_instance_associated_role(&mut object_1562, item_1561)?; object_1562.finish(); @@ -6533,6 +6894,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( .boolean(input.deletion_protection); } if let Some(var_1569) = &input.endpoint { + #[allow(unused_mut)] let mut object_1570 = object.key("Endpoint").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_instance_endpoint( &mut object_1570, @@ -6574,6 +6936,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1577 = object.key("VpcSecurityGroups").start_array(); for item_1578 in var_1576 { { + #[allow(unused_mut)] let mut object_1579 = array_1577.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_instance_vpc_security_group(&mut object_1579, item_1578)?; object_1579.finish(); @@ -6625,6 +6988,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1588 = object.key("DbParameterGroups").start_array(); for item_1589 in var_1587 { { + #[allow(unused_mut)] let mut object_1590 = array_1588.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_parameter_group( &mut object_1590, @@ -6639,6 +7003,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( object.key("AvailabilityZone").string(var_1591.as_str()); } if let Some(var_1592) = &input.db_subnet_group { + #[allow(unused_mut)] let mut object_1593 = object.key("DbSubnetGroup").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_subnet_group( &mut object_1593, @@ -6652,6 +7017,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( .string(var_1594.as_str()); } if let Some(var_1595) = &input.pending_modified_values { + #[allow(unused_mut)] let mut object_1596 = object.key("PendingModifiedValues").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_pending_modified_values( &mut object_1596, @@ -6703,6 +7069,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1607 = object.key("OptionGroupMemberships").start_array(); for item_1608 in var_1606 { { + #[allow(unused_mut)] let mut object_1609 = array_1607.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_option_group_membership(&mut object_1609, item_1608)?; object_1609.finish(); @@ -6722,6 +7089,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1613 = object.key("StatusInfos").start_array(); for item_1614 in var_1612 { { + #[allow(unused_mut)] let mut object_1615 = array_1613.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_status_info( &mut object_1615, @@ -6739,6 +7107,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1618 = object.key("DomainMemberships").start_array(); for item_1619 in var_1617 { { + #[allow(unused_mut)] let mut object_1620 = array_1618.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_domain_membership( &mut object_1620, @@ -6801,6 +7170,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( let mut array_1628 = object.key("ProcessorFeatures").start_array(); for item_1629 in var_1627 { { + #[allow(unused_mut)] let mut object_1630 = array_1628.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_processor_feature( &mut object_1630, @@ -6812,6 +7182,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_instance_details( array_1628.finish(); } if let Some(var_1631) = &input.listener_endpoint { + #[allow(unused_mut)] let mut object_1632 = object.key("ListenerEndpoint").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_instance_endpoint( &mut object_1632, @@ -6839,6 +7210,7 @@ pub fn serialize_structure_crate_model_aws_sns_topic_details( let mut array_1635 = object.key("Subscription").start_array(); for item_1636 in var_1634 { { + #[allow(unused_mut)] let mut object_1637 = array_1635.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_sns_topic_subscription( &mut object_1637, @@ -6929,6 +7301,7 @@ pub fn serialize_structure_crate_model_aws_waf_web_acl_details( let mut array_1653 = object.key("Rules").start_array(); for item_1654 in var_1652 { { + #[allow(unused_mut)] let mut object_1655 = array_1653.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_web_acl_rule( &mut object_1655, @@ -7044,6 +7417,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_snapshot_details( let mut array_1677 = object.key("ProcessorFeatures").start_array(); for item_1678 in var_1676 { { + #[allow(unused_mut)] let mut object_1679 = array_1677.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_processor_feature( &mut object_1679, @@ -7229,6 +7603,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_cluster_details( let mut array_1715 = object.key("VpcSecurityGroups").start_array(); for item_1716 in var_1714 { { + #[allow(unused_mut)] let mut object_1717 = array_1715.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_instance_vpc_security_group(&mut object_1717, item_1716)?; object_1717.finish(); @@ -7254,6 +7629,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_cluster_details( let mut array_1722 = object.key("AssociatedRoles").start_array(); for item_1723 in var_1721 { { + #[allow(unused_mut)] let mut object_1724 = array_1722.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_cluster_associated_role(&mut object_1724, item_1723)?; object_1724.finish(); @@ -7303,6 +7679,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_cluster_details( let mut array_1732 = object.key("DomainMemberships").start_array(); for item_1733 in var_1731 { { + #[allow(unused_mut)] let mut object_1734 = array_1732.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_domain_membership( &mut object_1734, @@ -7325,6 +7702,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_cluster_details( let mut array_1738 = object.key("DbClusterOptionGroupMemberships").start_array(); for item_1739 in var_1737 { { + #[allow(unused_mut)] let mut object_1740 = array_1738.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_cluster_option_group_membership(&mut object_1740, item_1739)?; object_1740.finish(); @@ -7339,6 +7717,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_cluster_details( let mut array_1743 = object.key("DbClusterMembers").start_array(); for item_1744 in var_1742 { { + #[allow(unused_mut)] let mut object_1745 = array_1743.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_cluster_member( &mut object_1745, @@ -7383,6 +7762,7 @@ pub fn serialize_structure_crate_model_aws_ecs_cluster_details( let mut array_1751 = object.key("ClusterSettings").start_array(); for item_1752 in var_1750 { { + #[allow(unused_mut)] let mut object_1753 = array_1751.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_cluster_cluster_settings_details(&mut object_1753, item_1752)?; object_1753.finish(); @@ -7391,6 +7771,7 @@ pub fn serialize_structure_crate_model_aws_ecs_cluster_details( array_1751.finish(); } if let Some(var_1754) = &input.configuration { + #[allow(unused_mut)] let mut object_1755 = object.key("Configuration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_cluster_configuration_details( &mut object_1755, @@ -7402,6 +7783,7 @@ pub fn serialize_structure_crate_model_aws_ecs_cluster_details( let mut array_1757 = object.key("DefaultCapacityProviderStrategy").start_array(); for item_1758 in var_1756 { { + #[allow(unused_mut)] let mut object_1759 = array_1757.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_cluster_default_capacity_provider_strategy_details(&mut object_1759, item_1758)?; object_1759.finish(); @@ -7444,6 +7826,7 @@ pub fn serialize_structure_crate_model_aws_ecs_container_details( let mut array_1765 = object.key("MountPoints").start_array(); for item_1766 in var_1764 { { + #[allow(unused_mut)] let mut object_1767 = array_1765.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_mount_point( &mut object_1767, @@ -7468,6 +7851,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_details( let mut array_1769 = object.key("ContainerDefinitions").start_array(); for item_1770 in var_1768 { { + #[allow(unused_mut)] let mut object_1771 = array_1769.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_details(&mut object_1771, item_1770)?; object_1771.finish(); @@ -7488,6 +7872,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_details( let mut array_1776 = object.key("InferenceAccelerators").start_array(); for item_1777 in var_1775 { { + #[allow(unused_mut)] let mut object_1778 = array_1776.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_inference_accelerators_details(&mut object_1778, item_1777)?; object_1778.finish(); @@ -7511,6 +7896,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_details( let mut array_1784 = object.key("PlacementConstraints").start_array(); for item_1785 in var_1783 { { + #[allow(unused_mut)] let mut object_1786 = array_1784.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_placement_constraints_details(&mut object_1786, item_1785)?; object_1786.finish(); @@ -7519,6 +7905,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_details( array_1784.finish(); } if let Some(var_1787) = &input.proxy_configuration { + #[allow(unused_mut)] let mut object_1788 = object.key("ProxyConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_proxy_configuration_details(&mut object_1788, var_1787)?; object_1788.finish(); @@ -7539,6 +7926,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_details( let mut array_1794 = object.key("Volumes").start_array(); for item_1795 in var_1793 { { + #[allow(unused_mut)] let mut object_1796 = array_1794.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_volumes_details(&mut object_1796, item_1795)?; object_1796.finish(); @@ -7572,6 +7960,7 @@ pub fn serialize_structure_crate_model_container_details( let mut array_1803 = object.key("VolumeMounts").start_array(); for item_1804 in var_1802 { { + #[allow(unused_mut)] let mut object_1805 = array_1803.value().start_object(); crate::json_ser::serialize_structure_crate_model_volume_mount( &mut object_1805, @@ -7647,6 +8036,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( let mut array_1820 = object.key("CapacityProviderStrategy").start_array(); for item_1821 in var_1819 { { + #[allow(unused_mut)] let mut object_1822 = array_1820.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_capacity_provider_strategy_details(&mut object_1822, item_1821)?; object_1822.finish(); @@ -7658,11 +8048,13 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( object.key("Cluster").string(var_1823.as_str()); } if let Some(var_1824) = &input.deployment_configuration { + #[allow(unused_mut)] let mut object_1825 = object.key("DeploymentConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_deployment_configuration_details(&mut object_1825, var_1824)?; object_1825.finish(); } if let Some(var_1826) = &input.deployment_controller { + #[allow(unused_mut)] let mut object_1827 = object.key("DeploymentController").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_deployment_controller_details(&mut object_1827, var_1826)?; object_1827.finish(); @@ -7696,6 +8088,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( let mut array_1830 = object.key("LoadBalancers").start_array(); for item_1831 in var_1829 { { + #[allow(unused_mut)] let mut object_1832 = array_1830.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_load_balancers_details(&mut object_1832, item_1831)?; object_1832.finish(); @@ -7707,6 +8100,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( object.key("Name").string(var_1833.as_str()); } if let Some(var_1834) = &input.network_configuration { + #[allow(unused_mut)] let mut object_1835 = object.key("NetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_network_configuration_details(&mut object_1835, var_1834)?; object_1835.finish(); @@ -7715,6 +8109,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( let mut array_1837 = object.key("PlacementConstraints").start_array(); for item_1838 in var_1836 { { + #[allow(unused_mut)] let mut object_1839 = array_1837.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_placement_constraints_details(&mut object_1839, item_1838)?; object_1839.finish(); @@ -7726,6 +8121,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( let mut array_1841 = object.key("PlacementStrategies").start_array(); for item_1842 in var_1840 { { + #[allow(unused_mut)] let mut object_1843 = array_1841.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_placement_strategies_details(&mut object_1843, item_1842)?; object_1843.finish(); @@ -7755,6 +8151,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_details( let mut array_1851 = object.key("ServiceRegistries").start_array(); for item_1852 in var_1850 { { + #[allow(unused_mut)] let mut object_1853 = array_1851.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_service_registries_details(&mut object_1853, item_1852)?; object_1853.finish(); @@ -7781,6 +8178,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_launch_configuration_det let mut array_1856 = object.key("BlockDeviceMappings").start_array(); for item_1857 in var_1855 { { + #[allow(unused_mut)] let mut object_1858 = array_1856.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_launch_configuration_block_device_mappings_details(&mut object_1858, item_1857)?; object_1858.finish(); @@ -7813,6 +8211,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_launch_configuration_det object.key("ImageId").string(var_1865.as_str()); } if let Some(var_1866) = &input.instance_monitoring { + #[allow(unused_mut)] let mut object_1867 = object.key("InstanceMonitoring").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_launch_configuration_instance_monitoring_details(&mut object_1867, var_1866)?; object_1867.finish(); @@ -7853,6 +8252,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_launch_configuration_det object.key("UserData").string(var_1878.as_str()); } if let Some(var_1879) = &input.metadata_options { + #[allow(unused_mut)] let mut object_1880 = object.key("MetadataOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_launch_configuration_metadata_options(&mut object_1880, var_1879)?; object_1880.finish(); @@ -7891,6 +8291,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpn_connection_details( let mut array_1889 = object.key("VgwTelemetry").start_array(); for item_1890 in var_1888 { { + #[allow(unused_mut)] let mut object_1891 = array_1889.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpn_connection_vgw_telemetry_details(&mut object_1891, item_1890)?; object_1891.finish(); @@ -7899,6 +8300,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpn_connection_details( array_1889.finish(); } if let Some(var_1892) = &input.options { + #[allow(unused_mut)] let mut object_1893 = object.key("Options").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpn_connection_options_details( &mut object_1893, @@ -7910,6 +8312,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpn_connection_details( let mut array_1895 = object.key("Routes").start_array(); for item_1896 in var_1894 { { + #[allow(unused_mut)] let mut object_1897 = array_1895.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpn_connection_routes_details(&mut object_1897, item_1896)?; object_1897.finish(); @@ -7977,41 +8380,49 @@ pub fn serialize_structure_crate_model_aws_open_search_service_domain_details( object.key("EngineVersion").string(var_1912.as_str()); } if let Some(var_1913) = &input.encryption_at_rest_options { + #[allow(unused_mut)] let mut object_1914 = object.key("EncryptionAtRestOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_encryption_at_rest_options_details(&mut object_1914, var_1913)?; object_1914.finish(); } if let Some(var_1915) = &input.node_to_node_encryption_options { + #[allow(unused_mut)] let mut object_1916 = object.key("NodeToNodeEncryptionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_node_to_node_encryption_options_details(&mut object_1916, var_1915)?; object_1916.finish(); } if let Some(var_1917) = &input.service_software_options { + #[allow(unused_mut)] let mut object_1918 = object.key("ServiceSoftwareOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_service_software_options_details(&mut object_1918, var_1917)?; object_1918.finish(); } if let Some(var_1919) = &input.cluster_config { + #[allow(unused_mut)] let mut object_1920 = object.key("ClusterConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_cluster_config_details(&mut object_1920, var_1919)?; object_1920.finish(); } if let Some(var_1921) = &input.domain_endpoint_options { + #[allow(unused_mut)] let mut object_1922 = object.key("DomainEndpointOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_domain_endpoint_options_details(&mut object_1922, var_1921)?; object_1922.finish(); } if let Some(var_1923) = &input.vpc_options { + #[allow(unused_mut)] let mut object_1924 = object.key("VpcOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_vpc_options_details(&mut object_1924, var_1923)?; object_1924.finish(); } if let Some(var_1925) = &input.log_publishing_options { + #[allow(unused_mut)] let mut object_1926 = object.key("LogPublishingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_log_publishing_options_details(&mut object_1926, var_1925)?; object_1926.finish(); } if let Some(var_1927) = &input.domain_endpoints { + #[allow(unused_mut)] let mut object_1928 = object.key("DomainEndpoints").start_object(); for (key_1929, value_1930) in var_1927 { { @@ -8023,6 +8434,7 @@ pub fn serialize_structure_crate_model_aws_open_search_service_domain_details( object_1928.finish(); } if let Some(var_1931) = &input.advanced_security_options { + #[allow(unused_mut)] let mut object_1932 = object.key("AdvancedSecurityOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_advanced_security_options_details(&mut object_1932, var_1931)?; object_1932.finish(); @@ -8096,6 +8508,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_endpoint_service_details( let mut array_1950 = object.key("ServiceType").start_array(); for item_1951 in var_1949 { { + #[allow(unused_mut)] let mut object_1952 = array_1950.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_endpoint_service_service_type_details(&mut object_1952, item_1951)?; object_1952.finish(); @@ -8148,6 +8561,7 @@ pub fn serialize_structure_crate_model_aws_waf_rate_based_rule_details( let mut array_1961 = object.key("MatchPredicates").start_array(); for item_1962 in var_1960 { { + #[allow(unused_mut)] let mut object_1963 = array_1961.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rate_based_rule_match_predicate(&mut object_1963, item_1962)?; object_1963.finish(); @@ -8184,6 +8598,7 @@ pub fn serialize_structure_crate_model_aws_waf_regional_rate_based_rule_details( let mut array_1969 = object.key("MatchPredicates").start_array(); for item_1970 in var_1968 { { + #[allow(unused_mut)] let mut object_1971 = array_1969.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rate_based_rule_match_predicate(&mut object_1971, item_1970)?; object_1971.finish(); @@ -8202,6 +8617,7 @@ pub fn serialize_structure_crate_model_aws_ecr_repository_details( object.key("Arn").string(var_1972.as_str()); } if let Some(var_1973) = &input.image_scanning_configuration { + #[allow(unused_mut)] let mut object_1974 = object.key("ImageScanningConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecr_repository_image_scanning_configuration_details(&mut object_1974, var_1973)?; object_1974.finish(); @@ -8210,6 +8626,7 @@ pub fn serialize_structure_crate_model_aws_ecr_repository_details( object.key("ImageTagMutability").string(var_1975.as_str()); } if let Some(var_1976) = &input.lifecycle_policy { + #[allow(unused_mut)] let mut object_1977 = object.key("LifecyclePolicy").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecr_repository_lifecycle_policy_details(&mut object_1977, var_1976)?; object_1977.finish(); @@ -8245,6 +8662,7 @@ pub fn serialize_structure_crate_model_aws_eks_cluster_details( object.key("Name").string(var_1984.as_str()); } if let Some(var_1985) = &input.resources_vpc_config { + #[allow(unused_mut)] let mut object_1986 = object.key("ResourcesVpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_eks_cluster_resources_vpc_config_details(&mut object_1986, var_1985)?; object_1986.finish(); @@ -8256,6 +8674,7 @@ pub fn serialize_structure_crate_model_aws_eks_cluster_details( object.key("Version").string(var_1988.as_str()); } if let Some(var_1989) = &input.logging { + #[allow(unused_mut)] let mut object_1990 = object.key("Logging").start_object(); crate::json_ser::serialize_structure_crate_model_aws_eks_cluster_logging_details( &mut object_1990, @@ -8271,6 +8690,7 @@ pub fn serialize_structure_crate_model_aws_network_firewall_firewall_policy_deta input: &crate::model::AwsNetworkFirewallFirewallPolicyDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1991) = &input.firewall_policy { + #[allow(unused_mut)] let mut object_1992 = object.key("FirewallPolicy").start_object(); crate::json_ser::serialize_structure_crate_model_firewall_policy_details( &mut object_1992, @@ -8331,6 +8751,7 @@ pub fn serialize_structure_crate_model_aws_network_firewall_firewall_details( let mut array_2003 = object.key("SubnetMappings").start_array(); for item_2004 in var_2002 { { + #[allow(unused_mut)] let mut object_2005 = array_2003.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_network_firewall_firewall_subnet_mappings_details(&mut object_2005, item_2004)?; object_2005.finish(); @@ -8358,6 +8779,7 @@ pub fn serialize_structure_crate_model_aws_network_firewall_rule_group_details( object.key("Description").string(var_2007.as_str()); } if let Some(var_2008) = &input.rule_group { + #[allow(unused_mut)] let mut object_2009 = object.key("RuleGroup").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_details( &mut object_2009, @@ -8399,6 +8821,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_security_group_details( let mut array_2018 = object.key("Ec2SecurityGroups").start_array(); for item_2019 in var_2017 { { + #[allow(unused_mut)] let mut object_2020 = array_2018.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_security_group_ec2_security_group(&mut object_2020, item_2019)?; object_2020.finish(); @@ -8410,6 +8833,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_security_group_details( let mut array_2022 = object.key("IpRanges").start_array(); for item_2023 in var_2021 { { + #[allow(unused_mut)] let mut object_2024 = array_2022.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_security_group_ip_range(&mut object_2024, item_2023)?; object_2024.finish(); @@ -8437,6 +8861,7 @@ pub fn serialize_structure_crate_model_aws_kinesis_stream_details( object.key("Arn").string(var_2028.as_str()); } if let Some(var_2029) = &input.stream_encryption { + #[allow(unused_mut)] let mut object_2030 = object.key("StreamEncryption").start_object(); crate::json_ser::serialize_structure_crate_model_aws_kinesis_stream_stream_encryption_details(&mut object_2030, var_2029)?; object_2030.finish(); @@ -8535,6 +8960,7 @@ pub fn serialize_structure_crate_model_aws_efs_access_point_details( object.key("FileSystemId").string(var_2047.as_str()); } if let Some(var_2048) = &input.posix_user { + #[allow(unused_mut)] let mut object_2049 = object.key("PosixUser").start_object(); crate::json_ser::serialize_structure_crate_model_aws_efs_access_point_posix_user_details( &mut object_2049, @@ -8543,6 +8969,7 @@ pub fn serialize_structure_crate_model_aws_efs_access_point_details( object_2049.finish(); } if let Some(var_2050) = &input.root_directory { + #[allow(unused_mut)] let mut object_2051 = object.key("RootDirectory").start_object(); crate::json_ser::serialize_structure_crate_model_aws_efs_access_point_root_directory_details(&mut object_2051, var_2050)?; object_2051.finish(); @@ -8575,6 +9002,7 @@ pub fn serialize_structure_crate_model_aws_cloud_formation_stack_details( .boolean(input.disable_rollback); } if let Some(var_2057) = &input.drift_information { + #[allow(unused_mut)] let mut object_2058 = object.key("DriftInformation").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_formation_stack_drift_information_details(&mut object_2058, var_2057)?; object_2058.finish(); @@ -8600,6 +9028,7 @@ pub fn serialize_structure_crate_model_aws_cloud_formation_stack_details( let mut array_2064 = object.key("Outputs").start_array(); for item_2065 in var_2063 { { + #[allow(unused_mut)] let mut object_2066 = array_2064.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_formation_stack_outputs_details(&mut object_2066, item_2065)?; object_2066.finish(); @@ -8674,6 +9103,7 @@ pub fn serialize_structure_crate_model_aws_cloud_watch_alarm_details( let mut array_2081 = object.key("Dimensions").start_array(); for item_2082 in var_2080 { { + #[allow(unused_mut)] let mut object_2083 = array_2081.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_watch_alarm_dimensions_details(&mut object_2083, item_2082)?; object_2083.finish(); @@ -8751,6 +9181,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_peering_connection_details( input: &crate::model::AwsEc2VpcPeeringConnectionDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2098) = &input.accepter_vpc_info { + #[allow(unused_mut)] let mut object_2099 = object.key("AccepterVpcInfo").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_peering_connection_vpc_info_details(&mut object_2099, var_2098)?; object_2099.finish(); @@ -8759,11 +9190,13 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_peering_connection_details( object.key("ExpirationTime").string(var_2100.as_str()); } if let Some(var_2101) = &input.requester_vpc_info { + #[allow(unused_mut)] let mut object_2102 = object.key("RequesterVpcInfo").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_peering_connection_vpc_info_details(&mut object_2102, var_2101)?; object_2102.finish(); } if let Some(var_2103) = &input.status { + #[allow(unused_mut)] let mut object_2104 = object.key("Status").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpc_peering_connection_status_details(&mut object_2104, var_2103)?; object_2104.finish(); @@ -8793,6 +9226,7 @@ pub fn serialize_structure_crate_model_aws_waf_regional_rule_group_details( let mut array_2110 = object.key("Rules").start_array(); for item_2111 in var_2109 { { + #[allow(unused_mut)] let mut object_2112 = array_2110.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rule_group_rules_details(&mut object_2112, item_2111)?; object_2112.finish(); @@ -8817,6 +9251,7 @@ pub fn serialize_structure_crate_model_aws_waf_regional_rule_details( let mut array_2116 = object.key("PredicateList").start_array(); for item_2117 in var_2115 { { + #[allow(unused_mut)] let mut object_2118 = array_2116.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rule_predicate_list_details(&mut object_2118, item_2117)?; object_2118.finish(); @@ -8847,6 +9282,7 @@ pub fn serialize_structure_crate_model_aws_waf_regional_web_acl_details( let mut array_2124 = object.key("RulesList").start_array(); for item_2125 in var_2123 { { + #[allow(unused_mut)] let mut object_2126 = array_2124.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_web_acl_rules_list_details(&mut object_2126, item_2125)?; object_2126.finish(); @@ -8874,6 +9310,7 @@ pub fn serialize_structure_crate_model_aws_waf_rule_details( let mut array_2131 = object.key("PredicateList").start_array(); for item_2132 in var_2130 { { + #[allow(unused_mut)] let mut object_2133 = array_2131.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rule_predicate_list_details(&mut object_2133, item_2132)?; object_2133.finish(); @@ -8904,6 +9341,7 @@ pub fn serialize_structure_crate_model_aws_waf_rule_group_details( let mut array_2139 = object.key("Rules").start_array(); for item_2140 in var_2138 { { + #[allow(unused_mut)] let mut object_2141 = array_2139.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rule_group_rules_details( &mut object_2141, @@ -8946,6 +9384,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_details( let mut array_2150 = object.key("Volumes").start_array(); for item_2151 in var_2149 { { + #[allow(unused_mut)] let mut object_2152 = array_2150.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_volume_details( &mut object_2152, @@ -8960,6 +9399,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_details( let mut array_2154 = object.key("Containers").start_array(); for item_2155 in var_2153 { { + #[allow(unused_mut)] let mut object_2156 = array_2154.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_container_details( &mut object_2156, @@ -8987,6 +9427,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_vault_details( object.key("EncryptionKeyArn").string(var_2159.as_str()); } if let Some(var_2160) = &input.notifications { + #[allow(unused_mut)] let mut object_2161 = object.key("Notifications").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_vault_notifications_details(&mut object_2161, var_2160)?; object_2161.finish(); @@ -9002,6 +9443,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_details( input: &crate::model::AwsBackupBackupPlanDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2163) = &input.backup_plan { + #[allow(unused_mut)] let mut object_2164 = object.key("BackupPlan").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_backup_plan_details(&mut object_2164, var_2163)?; object_2164.finish(); @@ -9035,6 +9477,7 @@ pub fn serialize_structure_crate_model_aws_backup_recovery_point_details( object.key("BackupVaultName").string(var_2169.as_str()); } if let Some(var_2170) = &input.calculated_lifecycle { + #[allow(unused_mut)] let mut object_2171 = object.key("CalculatedLifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_recovery_point_calculated_lifecycle_details(&mut object_2171, var_2170)?; object_2171.finish(); @@ -9043,6 +9486,7 @@ pub fn serialize_structure_crate_model_aws_backup_recovery_point_details( object.key("CompletionDate").string(var_2172.as_str()); } if let Some(var_2173) = &input.created_by { + #[allow(unused_mut)] let mut object_2174 = object.key("CreatedBy").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_recovery_point_created_by_details(&mut object_2174, var_2173)?; object_2174.finish(); @@ -9063,6 +9507,7 @@ pub fn serialize_structure_crate_model_aws_backup_recovery_point_details( object.key("LastRestoreTime").string(var_2178.as_str()); } if let Some(var_2179) = &input.lifecycle { + #[allow(unused_mut)] let mut object_2180 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_recovery_point_lifecycle_details(&mut object_2180, var_2179)?; object_2180.finish(); @@ -9112,6 +9557,7 @@ pub fn serialize_structure_crate_model_action_remote_ip_details( object.key("IpAddressV4").string(var_2190.as_str()); } if let Some(var_2191) = &input.organization { + #[allow(unused_mut)] let mut object_2192 = object.key("Organization").start_object(); crate::json_ser::serialize_structure_crate_model_ip_organization_details( &mut object_2192, @@ -9120,16 +9566,19 @@ pub fn serialize_structure_crate_model_action_remote_ip_details( object_2192.finish(); } if let Some(var_2193) = &input.country { + #[allow(unused_mut)] let mut object_2194 = object.key("Country").start_object(); crate::json_ser::serialize_structure_crate_model_country(&mut object_2194, var_2193)?; object_2194.finish(); } if let Some(var_2195) = &input.city { + #[allow(unused_mut)] let mut object_2196 = object.key("City").start_object(); crate::json_ser::serialize_structure_crate_model_city(&mut object_2196, var_2195)?; object_2196.finish(); } if let Some(var_2197) = &input.geo_location { + #[allow(unused_mut)] let mut object_2198 = object.key("GeoLocation").start_object(); crate::json_ser::serialize_structure_crate_model_geo_location(&mut object_2198, var_2197)?; object_2198.finish(); @@ -9184,6 +9633,7 @@ pub fn serialize_structure_crate_model_port_probe_detail( input: &crate::model::PortProbeDetail, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2202) = &input.local_port_details { + #[allow(unused_mut)] let mut object_2203 = object.key("LocalPortDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_local_port_details( &mut object_2203, @@ -9192,6 +9642,7 @@ pub fn serialize_structure_crate_model_port_probe_detail( object_2203.finish(); } if let Some(var_2204) = &input.local_ip_details { + #[allow(unused_mut)] let mut object_2205 = object.key("LocalIpDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_local_ip_details( &mut object_2205, @@ -9200,6 +9651,7 @@ pub fn serialize_structure_crate_model_port_probe_detail( object_2205.finish(); } if let Some(var_2206) = &input.remote_ip_details { + #[allow(unused_mut)] let mut object_2207 = object.key("RemoteIpDetails").start_object(); crate::json_ser::serialize_structure_crate_model_action_remote_ip_details( &mut object_2207, @@ -9234,6 +9686,7 @@ pub fn serialize_structure_crate_model_sensitive_data_result( let mut array_2212 = object.key("Detections").start_array(); for item_2213 in var_2211 { { + #[allow(unused_mut)] let mut object_2214 = array_2212.value().start_object(); crate::json_ser::serialize_structure_crate_model_sensitive_data_detections( &mut object_2214, @@ -9261,6 +9714,7 @@ pub fn serialize_structure_crate_model_custom_data_identifiers_result( let mut array_2216 = object.key("Detections").start_array(); for item_2217 in var_2215 { { + #[allow(unused_mut)] let mut object_2218 = array_2216.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_data_identifiers_detections(&mut object_2218, item_2217)?; object_2218.finish(); @@ -9282,11 +9736,13 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed input: &crate::model::AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2219) = &input.instances_distribution { + #[allow(unused_mut)] let mut object_2220 = object.key("InstancesDistribution").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed_instances_policy_instances_distribution_details(&mut object_2220, var_2219)?; object_2220.finish(); } if let Some(var_2221) = &input.launch_template { + #[allow(unused_mut)] let mut object_2222 = object.key("LaunchTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed_instances_policy_launch_template_details(&mut object_2222, var_2221)?; object_2222.finish(); @@ -9369,6 +9825,7 @@ pub fn serialize_structure_crate_model_aws_code_build_project_environment( let mut array_2236 = object.key("EnvironmentVariables").start_array(); for item_2237 in var_2235 { { + #[allow(unused_mut)] let mut object_2238 = array_2236.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_environment_environment_variables_details(&mut object_2238, item_2237)?; object_2238.finish(); @@ -9385,6 +9842,7 @@ pub fn serialize_structure_crate_model_aws_code_build_project_environment( .string(var_2239.as_str()); } if let Some(var_2240) = &input.registry_credential { + #[allow(unused_mut)] let mut object_2241 = object.key("RegistryCredential").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_environment_registry_credential(&mut object_2241, var_2240)?; object_2241.finish(); @@ -9422,11 +9880,13 @@ pub fn serialize_structure_crate_model_aws_code_build_project_logs_config_detail input: &crate::model::AwsCodeBuildProjectLogsConfigDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2245) = &input.cloud_watch_logs { + #[allow(unused_mut)] let mut object_2246 = object.key("CloudWatchLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_logs_config_cloud_watch_logs_details(&mut object_2246, var_2245)?; object_2246.finish(); } if let Some(var_2247) = &input.s3_logs { + #[allow(unused_mut)] let mut object_2248 = object.key("S3Logs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_code_build_project_logs_config_s3_logs_details(&mut object_2248, var_2247)?; object_2248.finish(); @@ -9470,6 +9930,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_cache_behavi let mut array_2257 = object.key("Items").start_array(); for item_2258 in var_2256 { { + #[allow(unused_mut)] let mut object_2259 = array_2257.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_cache_behavior(&mut object_2259, item_2258)?; object_2259.finish(); @@ -9517,6 +9978,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_origins( let mut array_2264 = object.key("Items").start_array(); for item_2265 in var_2263 { { + #[allow(unused_mut)] let mut object_2266 = array_2264.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_item(&mut object_2266, item_2265)?; object_2266.finish(); @@ -9535,6 +9997,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_origin_group let mut array_2268 = object.key("Items").start_array(); for item_2269 in var_2267 { { + #[allow(unused_mut)] let mut object_2270 = array_2268.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_group(&mut object_2270, item_2269)?; object_2270.finish(); @@ -9704,6 +10167,7 @@ pub fn serialize_structure_crate_model_aws_ec2_security_group_ip_permission( let mut array_2294 = object.key("UserIdGroupPairs").start_array(); for item_2295 in var_2293 { { + #[allow(unused_mut)] let mut object_2296 = array_2294.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_user_id_group_pair(&mut object_2296, item_2295)?; object_2296.finish(); @@ -9715,6 +10179,7 @@ pub fn serialize_structure_crate_model_aws_ec2_security_group_ip_permission( let mut array_2298 = object.key("IpRanges").start_array(); for item_2299 in var_2297 { { + #[allow(unused_mut)] let mut object_2300 = array_2298.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_ip_range( &mut object_2300, @@ -9729,6 +10194,7 @@ pub fn serialize_structure_crate_model_aws_ec2_security_group_ip_permission( let mut array_2302 = object.key("Ipv6Ranges").start_array(); for item_2303 in var_2301 { { + #[allow(unused_mut)] let mut object_2304 = array_2302.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_ipv6_range( &mut object_2304, @@ -9743,6 +10209,7 @@ pub fn serialize_structure_crate_model_aws_ec2_security_group_ip_permission( let mut array_2306 = object.key("PrefixListIds").start_array(); for item_2307 in var_2305 { { + #[allow(unused_mut)] let mut object_2308 = array_2306.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_security_group_prefix_list_id(&mut object_2308, item_2307)?; object_2308.finish(); @@ -9835,6 +10302,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_acl_entry( object.key("Egress").boolean(input.egress); } if let Some(var_2322) = &input.icmp_type_code { + #[allow(unused_mut)] let mut object_2323 = object.key("IcmpTypeCode").start_object(); crate::json_ser::serialize_structure_crate_model_icmp_type_code( &mut object_2323, @@ -9846,6 +10314,7 @@ pub fn serialize_structure_crate_model_aws_ec2_network_acl_entry( object.key("Ipv6CidrBlock").string(var_2324.as_str()); } if let Some(var_2325) = &input.port_range { + #[allow(unused_mut)] let mut object_2326 = object.key("PortRange").start_object(); crate::json_ser::serialize_structure_crate_model_port_range_from_to( &mut object_2326, @@ -9996,6 +10465,7 @@ pub fn serialize_structure_crate_model_aws_elasticsearch_domain_elasticsearch_cl object.key("InstanceType").string(var_2346.as_str()); } if let Some(var_2347) = &input.zone_awareness_config { + #[allow(unused_mut)] let mut object_2348 = object.key("ZoneAwarenessConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_elasticsearch_cluster_config_zone_awareness_config_details(&mut object_2348, var_2347)?; object_2348.finish(); @@ -10026,16 +10496,19 @@ pub fn serialize_structure_crate_model_aws_elasticsearch_domain_log_publishing_o input: &crate::model::AwsElasticsearchDomainLogPublishingOptions, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2350) = &input.index_slow_logs { + #[allow(unused_mut)] let mut object_2351 = object.key("IndexSlowLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_log_publishing_options_log_config(&mut object_2351, var_2350)?; object_2351.finish(); } if let Some(var_2352) = &input.search_slow_logs { + #[allow(unused_mut)] let mut object_2353 = object.key("SearchSlowLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_log_publishing_options_log_config(&mut object_2353, var_2352)?; object_2353.finish(); } if let Some(var_2354) = &input.audit_logs { + #[allow(unused_mut)] let mut object_2355 = object.key("AuditLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elasticsearch_domain_log_publishing_options_log_config(&mut object_2355, var_2354)?; object_2355.finish(); @@ -10128,6 +10601,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_server_side_encryption_conf let mut array_2372 = object.key("Rules").start_array(); for item_2373 in var_2371 { { + #[allow(unused_mut)] let mut object_2374 = array_2372.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_server_side_encryption_rule(&mut object_2374, item_2373)?; object_2374.finish(); @@ -10146,6 +10620,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat let mut array_2376 = object.key("Rules").start_array(); for item_2377 in var_2375 { { + #[allow(unused_mut)] let mut object_2378 = array_2376.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_details(&mut object_2378, item_2377)?; object_2378.finish(); @@ -10182,6 +10657,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_website_configuration( object.key("IndexDocumentSuffix").string(var_2382.as_str()); } if let Some(var_2383) = &input.redirect_all_requests_to { + #[allow(unused_mut)] let mut object_2384 = object.key("RedirectAllRequestsTo").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_website_configuration_redirect_to(&mut object_2384, var_2383)?; object_2384.finish(); @@ -10190,6 +10666,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_website_configuration( let mut array_2386 = object.key("RoutingRules").start_array(); for item_2387 in var_2385 { { + #[allow(unused_mut)] let mut object_2388 = array_2386.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_website_configuration_routing_rule(&mut object_2388, item_2387)?; object_2388.finish(); @@ -10208,6 +10685,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_notification_configuration( let mut array_2390 = object.key("Configurations").start_array(); for item_2391 in var_2389 { { + #[allow(unused_mut)] let mut object_2392 = array_2390.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_notification_configuration_detail(&mut object_2392, item_2391)?; object_2392.finish(); @@ -10251,11 +10729,13 @@ pub fn serialize_structure_crate_model_aws_iam_access_key_session_context( input: &crate::model::AwsIamAccessKeySessionContext, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2394) = &input.attributes { + #[allow(unused_mut)] let mut object_2395 = object.key("Attributes").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_access_key_session_context_attributes(&mut object_2395, var_2394)?; object_2395.finish(); } if let Some(var_2396) = &input.session_issuer { + #[allow(unused_mut)] let mut object_2397 = object.key("SessionIssuer").start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_access_key_session_context_session_issuer(&mut object_2397, var_2396)?; object_2397.finish(); @@ -10480,6 +10960,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_global_secondary_inde let mut array_2428 = object.key("KeySchema").start_array(); for item_2429 in var_2427 { { + #[allow(unused_mut)] let mut object_2430 = array_2428.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_key_schema( &mut object_2430, @@ -10491,6 +10972,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_global_secondary_inde array_2428.finish(); } if let Some(var_2431) = &input.projection { + #[allow(unused_mut)] let mut object_2432 = object.key("Projection").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_projection( &mut object_2432, @@ -10499,6 +10981,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_global_secondary_inde object_2432.finish(); } if let Some(var_2433) = &input.provisioned_throughput { + #[allow(unused_mut)] let mut object_2434 = object.key("ProvisionedThroughput").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_provisioned_throughput(&mut object_2434, var_2433)?; object_2434.finish(); @@ -10533,6 +11016,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_local_secondary_index let mut array_2440 = object.key("KeySchema").start_array(); for item_2441 in var_2439 { { + #[allow(unused_mut)] let mut object_2442 = array_2440.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_key_schema( &mut object_2442, @@ -10544,6 +11028,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_local_secondary_index array_2440.finish(); } if let Some(var_2443) = &input.projection { + #[allow(unused_mut)] let mut object_2444 = object.key("Projection").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_projection( &mut object_2444, @@ -10593,6 +11078,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_replica( let mut array_2448 = object.key("GlobalSecondaryIndexes").start_array(); for item_2449 in var_2447 { { + #[allow(unused_mut)] let mut object_2450 = array_2448.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_replica_global_secondary_index(&mut object_2450, item_2449)?; object_2450.finish(); @@ -10604,6 +11090,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_replica( object.key("KmsMasterKeyId").string(var_2451.as_str()); } if let Some(var_2452) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_2453 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_provisioned_throughput_override(&mut object_2453, var_2452)?; object_2453.finish(); @@ -10751,6 +11238,7 @@ pub fn serialize_structure_crate_model_aws_api_gateway_canary_settings( object.key("DeploymentId").string(var_2469.as_str()); } if let Some(var_2470) = &input.stage_variable_overrides { + #[allow(unused_mut)] let mut object_2471 = object.key("StageVariableOverrides").start_object(); for (key_2472, value_2473) in var_2470 { { @@ -10788,6 +11276,7 @@ pub fn serialize_structure_crate_model_aws_ssm_patch( input: &crate::model::AwsSsmPatch, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2477) = &input.compliance_summary { + #[allow(unused_mut)] let mut object_2478 = object.key("ComplianceSummary").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ssm_compliance_summary( &mut object_2478, @@ -10806,6 +11295,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_domai object.key("DomainName").string(var_2479.as_str()); } if let Some(var_2480) = &input.resource_record { + #[allow(unused_mut)] let mut object_2481 = object.key("ResourceRecord").start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_resource_record(&mut object_2481, var_2480)?; object_2481.finish(); @@ -10874,6 +11364,7 @@ pub fn serialize_structure_crate_model_aws_certificate_manager_certificate_renew let mut array_2493 = object.key("DomainValidationOptions").start_array(); for item_2494 in var_2492 { { + #[allow(unused_mut)] let mut object_2495 = array_2493.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_certificate_manager_certificate_domain_validation_option(&mut object_2495, item_2494)?; object_2495.finish(); @@ -10917,6 +11408,7 @@ pub fn serialize_structure_crate_model_aws_redshift_cluster_cluster_parameter_gr let mut array_2503 = object.key("ClusterParameterStatusList").start_array(); for item_2504 in var_2502 { { + #[allow(unused_mut)] let mut object_2505 = array_2503.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_redshift_cluster_cluster_parameter_status(&mut object_2505, item_2504)?; object_2505.finish(); @@ -11279,6 +11771,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_listener_descriptio input: &crate::model::AwsElbLoadBalancerListenerDescription, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2544) = &input.listener { + #[allow(unused_mut)] let mut object_2545 = object.key("Listener").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_listener( &mut object_2545, @@ -11303,6 +11796,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_attributes( input: &crate::model::AwsElbLoadBalancerAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2549) = &input.access_log { + #[allow(unused_mut)] let mut object_2550 = object.key("AccessLog").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_access_log( &mut object_2550, @@ -11311,6 +11805,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_attributes( object_2550.finish(); } if let Some(var_2551) = &input.connection_draining { + #[allow(unused_mut)] let mut object_2552 = object.key("ConnectionDraining").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_connection_draining( &mut object_2552, @@ -11319,6 +11814,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_attributes( object_2552.finish(); } if let Some(var_2553) = &input.connection_settings { + #[allow(unused_mut)] let mut object_2554 = object.key("ConnectionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_connection_settings( &mut object_2554, @@ -11327,6 +11823,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_attributes( object_2554.finish(); } if let Some(var_2555) = &input.cross_zone_load_balancing { + #[allow(unused_mut)] let mut object_2556 = object.key("CrossZoneLoadBalancing").start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_cross_zone_load_balancing(&mut object_2556, var_2555)?; object_2556.finish(); @@ -11335,6 +11832,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_attributes( let mut array_2558 = object.key("AdditionalAttributes").start_array(); for item_2559 in var_2557 { { + #[allow(unused_mut)] let mut object_2560 = array_2558.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_load_balancer_additional_attribute(&mut object_2560, item_2559)?; object_2560.finish(); @@ -11353,6 +11851,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_policies( let mut array_2562 = object.key("AppCookieStickinessPolicies").start_array(); for item_2563 in var_2561 { { + #[allow(unused_mut)] let mut object_2564 = array_2562.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_app_cookie_stickiness_policy(&mut object_2564, item_2563)?; object_2564.finish(); @@ -11364,6 +11863,7 @@ pub fn serialize_structure_crate_model_aws_elb_load_balancer_policies( let mut array_2566 = object.key("LbCookieStickinessPolicies").start_array(); for item_2567 in var_2565 { { + #[allow(unused_mut)] let mut object_2568 = array_2566.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_elb_lb_cookie_stickiness_policy(&mut object_2568, item_2567)?; object_2568.finish(); @@ -11429,6 +11929,7 @@ pub fn serialize_structure_crate_model_aws_iam_instance_profile( let mut array_2581 = object.key("Roles").start_array(); for item_2582 in var_2580 { { + #[allow(unused_mut)] let mut object_2583 = array_2581.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_iam_instance_profile_role( &mut object_2583, @@ -11486,6 +11987,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_environment( input: &crate::model::AwsLambdaFunctionEnvironment, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2590) = &input.variables { + #[allow(unused_mut)] let mut object_2591 = object.key("Variables").start_object(); for (key_2592, value_2593) in var_2590 { { @@ -11497,6 +11999,7 @@ pub fn serialize_structure_crate_model_aws_lambda_function_environment( object_2591.finish(); } if let Some(var_2594) = &input.error { + #[allow(unused_mut)] let mut object_2595 = object.key("Error").start_object(); crate::json_ser::serialize_structure_crate_model_aws_lambda_function_environment_error( &mut object_2595, @@ -11644,6 +12147,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_subnet_group( let mut array_2619 = object.key("Subnets").start_array(); for item_2620 in var_2618 { { + #[allow(unused_mut)] let mut object_2621 = array_2619.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_subnet_group_subnet( &mut object_2621, @@ -11718,6 +12222,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_pending_modified_values( object.key("DbSubnetGroupName").string(var_2630.as_str()); } if let Some(var_2631) = &input.pending_cloud_watch_logs_exports { + #[allow(unused_mut)] let mut object_2632 = object.key("PendingCloudWatchLogsExports").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_pending_cloud_watch_logs_exports( &mut object_2632, @@ -11729,6 +12234,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_pending_modified_values( let mut array_2634 = object.key("ProcessorFeatures").start_array(); for item_2635 in var_2633 { { + #[allow(unused_mut)] let mut object_2636 = array_2634.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_processor_feature( &mut object_2636, @@ -11824,6 +12330,7 @@ pub fn serialize_structure_crate_model_aws_waf_web_acl_rule( input: &crate::model::AwsWafWebAclRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2650) = &input.action { + #[allow(unused_mut)] let mut object_2651 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_2651, var_2650)?; object_2651.finish(); @@ -11832,6 +12339,7 @@ pub fn serialize_structure_crate_model_aws_waf_web_acl_rule( let mut array_2653 = object.key("ExcludedRules").start_array(); for item_2654 in var_2652 { { + #[allow(unused_mut)] let mut object_2655 = array_2653.value().start_object(); crate::json_ser::serialize_structure_crate_model_waf_excluded_rule( &mut object_2655, @@ -11843,6 +12351,7 @@ pub fn serialize_structure_crate_model_aws_waf_web_acl_rule( array_2653.finish(); } if let Some(var_2656) = &input.override_action { + #[allow(unused_mut)] let mut object_2657 = object.key("OverrideAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_override_action( &mut object_2657, @@ -11937,6 +12446,7 @@ pub fn serialize_structure_crate_model_aws_ecs_cluster_configuration_details( input: &crate::model::AwsEcsClusterConfigurationDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2668) = &input.execute_command_configuration { + #[allow(unused_mut)] let mut object_2669 = object.key("ExecuteCommandConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_cluster_configuration_execute_command_configuration_details(&mut object_2669, var_2668)?; object_2669.finish(); @@ -12002,6 +12512,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2677 = object.key("DependsOn").start_array(); for item_2678 in var_2676 { { + #[allow(unused_mut)] let mut object_2679 = array_2677.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_depends_on_details(&mut object_2679, item_2678)?; object_2679.finish(); @@ -12033,6 +12544,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit array_2684.finish(); } if let Some(var_2686) = &input.docker_labels { + #[allow(unused_mut)] let mut object_2687 = object.key("DockerLabels").start_object(); for (key_2688, value_2689) in var_2686 { { @@ -12065,6 +12577,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2697 = object.key("Environment").start_array(); for item_2698 in var_2696 { { + #[allow(unused_mut)] let mut object_2699 = array_2697.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_environment_details(&mut object_2699, item_2698)?; object_2699.finish(); @@ -12076,6 +12589,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2701 = object.key("EnvironmentFiles").start_array(); for item_2702 in var_2700 { { + #[allow(unused_mut)] let mut object_2703 = array_2701.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_environment_files_details(&mut object_2703, item_2702)?; object_2703.finish(); @@ -12090,6 +12604,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2705 = object.key("ExtraHosts").start_array(); for item_2706 in var_2704 { { + #[allow(unused_mut)] let mut object_2707 = array_2705.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_extra_hosts_details(&mut object_2707, item_2706)?; object_2707.finish(); @@ -12098,11 +12613,13 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit array_2705.finish(); } if let Some(var_2708) = &input.firelens_configuration { + #[allow(unused_mut)] let mut object_2709 = object.key("FirelensConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_firelens_configuration_details(&mut object_2709, var_2708)?; object_2709.finish(); } if let Some(var_2710) = &input.health_check { + #[allow(unused_mut)] let mut object_2711 = object.key("HealthCheck").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_health_check_details(&mut object_2711, var_2710)?; object_2711.finish(); @@ -12126,11 +12643,13 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit array_2715.finish(); } if let Some(var_2717) = &input.linux_parameters { + #[allow(unused_mut)] let mut object_2718 = object.key("LinuxParameters").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_linux_parameters_details(&mut object_2718, var_2717)?; object_2718.finish(); } if let Some(var_2719) = &input.log_configuration { + #[allow(unused_mut)] let mut object_2720 = object.key("LogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_log_configuration_details(&mut object_2720, var_2719)?; object_2720.finish(); @@ -12151,6 +12670,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2722 = object.key("MountPoints").start_array(); for item_2723 in var_2721 { { + #[allow(unused_mut)] let mut object_2724 = array_2722.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_mount_points_details(&mut object_2724, item_2723)?; object_2724.finish(); @@ -12165,6 +12685,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2727 = object.key("PortMappings").start_array(); for item_2728 in var_2726 { { + #[allow(unused_mut)] let mut object_2729 = array_2727.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_port_mappings_details(&mut object_2729, item_2728)?; object_2729.finish(); @@ -12184,6 +12705,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit .boolean(input.readonly_root_filesystem); } if let Some(var_2730) = &input.repository_credentials { + #[allow(unused_mut)] let mut object_2731 = object.key("RepositoryCredentials").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_repository_credentials_details(&mut object_2731, var_2730)?; object_2731.finish(); @@ -12192,6 +12714,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2733 = object.key("ResourceRequirements").start_array(); for item_2734 in var_2732 { { + #[allow(unused_mut)] let mut object_2735 = array_2733.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_resource_requirements_details(&mut object_2735, item_2734)?; object_2735.finish(); @@ -12203,6 +12726,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2737 = object.key("Secrets").start_array(); for item_2738 in var_2736 { { + #[allow(unused_mut)] let mut object_2739 = array_2737.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_secrets_details(&mut object_2739, item_2738)?; object_2739.finish(); @@ -12226,6 +12750,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2741 = object.key("SystemControls").start_array(); for item_2742 in var_2740 { { + #[allow(unused_mut)] let mut object_2743 = array_2741.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_system_controls_details(&mut object_2743, item_2742)?; object_2743.finish(); @@ -12237,6 +12762,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2745 = object.key("Ulimits").start_array(); for item_2746 in var_2744 { { + #[allow(unused_mut)] let mut object_2747 = array_2745.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_ulimits_details(&mut object_2747, item_2746)?; object_2747.finish(); @@ -12251,6 +12777,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_2750 = object.key("VolumesFrom").start_array(); for item_2751 in var_2749 { { + #[allow(unused_mut)] let mut object_2752 = array_2750.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_volumes_from_details(&mut object_2752, item_2751)?; object_2752.finish(); @@ -12301,6 +12828,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_proxy_configurati let mut array_2760 = object.key("ProxyConfigurationProperties").start_array(); for item_2761 in var_2759 { { + #[allow(unused_mut)] let mut object_2762 = array_2760.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_proxy_configuration_proxy_configuration_properties_details(&mut object_2762, item_2761)?; object_2762.finish(); @@ -12319,16 +12847,19 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_volumes_details( input: &crate::model::AwsEcsTaskDefinitionVolumesDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2764) = &input.docker_volume_configuration { + #[allow(unused_mut)] let mut object_2765 = object.key("DockerVolumeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_volumes_docker_volume_configuration_details(&mut object_2765, var_2764)?; object_2765.finish(); } if let Some(var_2766) = &input.efs_volume_configuration { + #[allow(unused_mut)] let mut object_2767 = object.key("EfsVolumeConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_volumes_efs_volume_configuration_details(&mut object_2767, var_2766)?; object_2767.finish(); } if let Some(var_2768) = &input.host { + #[allow(unused_mut)] let mut object_2769 = object.key("Host").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_volumes_host_details(&mut object_2769, var_2768)?; object_2769.finish(); @@ -12379,6 +12910,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_deployment_configuration_ input: &crate::model::AwsEcsServiceDeploymentConfigurationDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2774) = &input.deployment_circuit_breaker { + #[allow(unused_mut)] let mut object_2775 = object.key("DeploymentCircuitBreaker").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_deployment_configuration_deployment_circuit_breaker_details(&mut object_2775, var_2774)?; object_2775.finish(); @@ -12435,6 +12967,7 @@ pub fn serialize_structure_crate_model_aws_ecs_service_network_configuration_det input: &crate::model::AwsEcsServiceNetworkConfigurationDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2780) = &input.aws_vpc_configuration { + #[allow(unused_mut)] let mut object_2781 = object.key("AwsVpcConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_service_network_configuration_aws_vpc_configuration_details(&mut object_2781, var_2780)?; object_2781.finish(); @@ -12501,6 +13034,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_launch_configuration_blo object.key("DeviceName").string(var_2788.as_str()); } if let Some(var_2789) = &input.ebs { + #[allow(unused_mut)] let mut object_2790 = object.key("Ebs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_launch_configuration_block_device_mappings_ebs_details(&mut object_2790, var_2789)?; object_2790.finish(); @@ -12584,6 +13118,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpn_connection_options_details( let mut array_2800 = object.key("TunnelOptions").start_array(); for item_2801 in var_2799 { { + #[allow(unused_mut)] let mut object_2802 = array_2800.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ec2_vpn_connection_options_tunnel_options_details(&mut object_2802, item_2801)?; object_2802.finish(); @@ -12690,6 +13225,7 @@ pub fn serialize_structure_crate_model_aws_open_search_service_domain_cluster_co .boolean(input.dedicated_master_enabled); } if let Some(var_2811) = &input.zone_awareness_config { + #[allow(unused_mut)] let mut object_2812 = object.key("ZoneAwarenessConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_cluster_config_zone_awareness_config_details(&mut object_2812, var_2811)?; object_2812.finish(); @@ -12773,16 +13309,19 @@ pub fn serialize_structure_crate_model_aws_open_search_service_domain_log_publis input: &crate::model::AwsOpenSearchServiceDomainLogPublishingOptionsDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2825) = &input.index_slow_logs { + #[allow(unused_mut)] let mut object_2826 = object.key("IndexSlowLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_log_publishing_option(&mut object_2826, var_2825)?; object_2826.finish(); } if let Some(var_2827) = &input.search_slow_logs { + #[allow(unused_mut)] let mut object_2828 = object.key("SearchSlowLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_log_publishing_option(&mut object_2828, var_2827)?; object_2828.finish(); } if let Some(var_2829) = &input.audit_logs { + #[allow(unused_mut)] let mut object_2830 = object.key("AuditLogs").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_log_publishing_option(&mut object_2830, var_2829)?; object_2830.finish(); @@ -12803,6 +13342,7 @@ pub fn serialize_structure_crate_model_aws_open_search_service_domain_advanced_s .boolean(input.internal_user_database_enabled); } if let Some(var_2831) = &input.master_user_options { + #[allow(unused_mut)] let mut object_2832 = object.key("MasterUserOptions").start_object(); crate::json_ser::serialize_structure_crate_model_aws_open_search_service_domain_master_user_options_details(&mut object_2832, var_2831)?; object_2832.finish(); @@ -12908,6 +13448,7 @@ pub fn serialize_structure_crate_model_aws_eks_cluster_logging_details( let mut array_2847 = object.key("ClusterLogging").start_array(); for item_2848 in var_2846 { { + #[allow(unused_mut)] let mut object_2849 = array_2847.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_eks_cluster_logging_cluster_logging_details(&mut object_2849, item_2848)?; object_2849.finish(); @@ -12926,6 +13467,7 @@ pub fn serialize_structure_crate_model_firewall_policy_details( let mut array_2851 = object.key("StatefulRuleGroupReferences").start_array(); for item_2852 in var_2850 { { + #[allow(unused_mut)] let mut object_2853 = array_2851.value().start_object(); crate::json_ser::serialize_structure_crate_model_firewall_policy_stateful_rule_group_references_details(&mut object_2853, item_2852)?; object_2853.finish(); @@ -12937,6 +13479,7 @@ pub fn serialize_structure_crate_model_firewall_policy_details( let mut array_2855 = object.key("StatelessCustomActions").start_array(); for item_2856 in var_2854 { { + #[allow(unused_mut)] let mut object_2857 = array_2855.value().start_object(); crate::json_ser::serialize_structure_crate_model_firewall_policy_stateless_custom_actions_details(&mut object_2857, item_2856)?; object_2857.finish(); @@ -12966,6 +13509,7 @@ pub fn serialize_structure_crate_model_firewall_policy_details( let mut array_2865 = object.key("StatelessRuleGroupReferences").start_array(); for item_2866 in var_2864 { { + #[allow(unused_mut)] let mut object_2867 = array_2865.value().start_object(); crate::json_ser::serialize_structure_crate_model_firewall_policy_stateless_rule_group_references_details(&mut object_2867, item_2866)?; object_2867.finish(); @@ -12991,6 +13535,7 @@ pub fn serialize_structure_crate_model_rule_group_details( input: &crate::model::RuleGroupDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2869) = &input.rule_variables { + #[allow(unused_mut)] let mut object_2870 = object.key("RuleVariables").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_variables( &mut object_2870, @@ -12999,6 +13544,7 @@ pub fn serialize_structure_crate_model_rule_group_details( object_2870.finish(); } if let Some(var_2871) = &input.rules_source { + #[allow(unused_mut)] let mut object_2872 = object.key("RulesSource").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source( &mut object_2872, @@ -13083,6 +13629,7 @@ pub fn serialize_structure_crate_model_aws_efs_access_point_root_directory_detai input: &crate::model::AwsEfsAccessPointRootDirectoryDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2886) = &input.creation_info { + #[allow(unused_mut)] let mut object_2887 = object.key("CreationInfo").start_object(); crate::json_ser::serialize_structure_crate_model_aws_efs_access_point_root_directory_creation_info_details(&mut object_2887, var_2886)?; object_2887.finish(); @@ -13143,6 +13690,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_peering_connection_vpc_info_d let mut array_2897 = object.key("CidrBlockSet").start_array(); for item_2898 in var_2896 { { + #[allow(unused_mut)] let mut object_2899 = array_2897.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_info_cidr_block_set_details( &mut object_2899, @@ -13157,6 +13705,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_peering_connection_vpc_info_d let mut array_2901 = object.key("Ipv6CidrBlockSet").start_array(); for item_2902 in var_2900 { { + #[allow(unused_mut)] let mut object_2903 = array_2901.value().start_object(); crate::json_ser::serialize_structure_crate_model_vpc_info_ipv6_cidr_block_set_details(&mut object_2903, item_2902)?; object_2903.finish(); @@ -13168,6 +13717,7 @@ pub fn serialize_structure_crate_model_aws_ec2_vpc_peering_connection_vpc_info_d object.key("OwnerId").string(var_2904.as_str()); } if let Some(var_2905) = &input.peering_options { + #[allow(unused_mut)] let mut object_2906 = object.key("PeeringOptions").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_info_peering_options_details( &mut object_2906, @@ -13202,6 +13752,7 @@ pub fn serialize_structure_crate_model_aws_waf_regional_rule_group_rules_details input: &crate::model::AwsWafRegionalRuleGroupRulesDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2911) = &input.action { + #[allow(unused_mut)] let mut object_2912 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_rule_group_rules_action_details(&mut object_2912, var_2911)?; object_2912.finish(); @@ -13242,11 +13793,13 @@ pub fn serialize_structure_crate_model_aws_waf_regional_web_acl_rules_list_detai input: &crate::model::AwsWafRegionalWebAclRulesListDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2917) = &input.action { + #[allow(unused_mut)] let mut object_2918 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_web_acl_rules_list_action_details(&mut object_2918, var_2917)?; object_2918.finish(); } if let Some(var_2919) = &input.override_action { + #[allow(unused_mut)] let mut object_2920 = object.key("OverrideAction").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_regional_web_acl_rules_list_override_action_details(&mut object_2920, var_2919)?; object_2920.finish(); @@ -13287,6 +13840,7 @@ pub fn serialize_structure_crate_model_aws_waf_rule_group_rules_details( input: &crate::model::AwsWafRuleGroupRulesDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2925) = &input.action { + #[allow(unused_mut)] let mut object_2926 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_aws_waf_rule_group_rules_action_details( &mut object_2926, @@ -13317,6 +13871,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_volume_details( object.key("Name").string(var_2929.as_str()); } if let Some(var_2930) = &input.host { + #[allow(unused_mut)] let mut object_2931 = object.key("Host").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_volume_host_details( &mut object_2931, @@ -13357,6 +13912,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_backup_plan_detail let mut array_2938 = object.key("AdvancedBackupSettings").start_array(); for item_2939 in var_2937 { { + #[allow(unused_mut)] let mut object_2940 = array_2938.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_advanced_backup_settings_details(&mut object_2940, item_2939)?; object_2940.finish(); @@ -13368,6 +13924,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_backup_plan_detail let mut array_2942 = object.key("BackupPlanRule").start_array(); for item_2943 in var_2941 { { + #[allow(unused_mut)] let mut object_2944 = array_2942.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_rule_details(&mut object_2944, item_2943)?; object_2944.finish(); @@ -13517,6 +14074,7 @@ pub fn serialize_structure_crate_model_sensitive_data_detections( object.key("Type").string(var_2958.as_str()); } if let Some(var_2959) = &input.occurrences { + #[allow(unused_mut)] let mut object_2960 = object.key("Occurrences").start_object(); crate::json_ser::serialize_structure_crate_model_occurrences(&mut object_2960, var_2959)?; object_2960.finish(); @@ -13541,6 +14099,7 @@ pub fn serialize_structure_crate_model_custom_data_identifiers_detections( object.key("Name").string(var_2962.as_str()); } if let Some(var_2963) = &input.occurrences { + #[allow(unused_mut)] let mut object_2964 = object.key("Occurrences").start_object(); crate::json_ser::serialize_structure_crate_model_occurrences(&mut object_2964, var_2963)?; object_2964.finish(); @@ -13593,6 +14152,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed input: &crate::model::AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2968) = &input.launch_template_specification { + #[allow(unused_mut)] let mut object_2969 = object.key("LaunchTemplateSpecification").start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed_instances_policy_launch_template_launch_template_specification(&mut object_2969, var_2968)?; object_2969.finish(); @@ -13601,6 +14161,7 @@ pub fn serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed let mut array_2971 = object.key("Overrides").start_array(); for item_2972 in var_2970 { { + #[allow(unused_mut)] let mut object_2973 = array_2971.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_auto_scaling_auto_scaling_group_mixed_instances_policy_launch_template_overrides_list_details(&mut object_2973, item_2972)?; object_2973.finish(); @@ -13698,11 +14259,13 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_origin_item( object.key("OriginPath").string(var_2987.as_str()); } if let Some(var_2988) = &input.s3_origin_config { + #[allow(unused_mut)] let mut object_2989 = object.key("S3OriginConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_s3_origin_config(&mut object_2989, var_2988)?; object_2989.finish(); } if let Some(var_2990) = &input.custom_origin_config { + #[allow(unused_mut)] let mut object_2991 = object.key("CustomOriginConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_custom_origin_config(&mut object_2991, var_2990)?; object_2991.finish(); @@ -13715,6 +14278,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_origin_group input: &crate::model::AwsCloudFrontDistributionOriginGroup, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2992) = &input.failover_criteria { + #[allow(unused_mut)] let mut object_2993 = object.key("FailoverCriteria").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_group_failover(&mut object_2993, var_2992)?; object_2993.finish(); @@ -13850,6 +14414,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_server_side_encryption_rule input: &crate::model::AwsS3BucketServerSideEncryptionRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3004) = &input.apply_server_side_encryption_by_default { + #[allow(unused_mut)] let mut object_3005 = object .key("ApplyServerSideEncryptionByDefault") .start_object(); @@ -13864,6 +14429,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat input: &crate::model::AwsS3BucketBucketLifecycleConfigurationRulesDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3006) = &input.abort_incomplete_multipart_upload { + #[allow(unused_mut)] let mut object_3007 = object.key("AbortIncompleteMultipartUpload").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_abort_incomplete_multipart_upload_details(&mut object_3007, var_3006)?; object_3007.finish(); @@ -13883,6 +14449,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat .boolean(input.expired_object_delete_marker); } if let Some(var_3009) = &input.filter { + #[allow(unused_mut)] let mut object_3010 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_filter_details(&mut object_3010, var_3009)?; object_3010.finish(); @@ -13900,6 +14467,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat let mut array_3013 = object.key("NoncurrentVersionTransitions").start_array(); for item_3014 in var_3012 { { + #[allow(unused_mut)] let mut object_3015 = array_3013.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_noncurrent_version_transitions_details(&mut object_3015, item_3014)?; object_3015.finish(); @@ -13917,6 +14485,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat let mut array_3019 = object.key("Transitions").start_array(); for item_3020 in var_3018 { { + #[allow(unused_mut)] let mut object_3021 = array_3019.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_transitions_details(&mut object_3021, item_3020)?; object_3021.finish(); @@ -13945,11 +14514,13 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_website_configuration_routi input: &crate::model::AwsS3BucketWebsiteConfigurationRoutingRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3024) = &input.condition { + #[allow(unused_mut)] let mut object_3025 = object.key("Condition").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_website_configuration_routing_rule_condition(&mut object_3025, var_3024)?; object_3025.finish(); } if let Some(var_3026) = &input.redirect { + #[allow(unused_mut)] let mut object_3027 = object.key("Redirect").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_website_configuration_routing_rule_redirect(&mut object_3027, var_3026)?; object_3027.finish(); @@ -13971,6 +14542,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_notification_configuration_ array_3029.finish(); } if let Some(var_3031) = &input.filter { + #[allow(unused_mut)] let mut object_3032 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_notification_configuration_filter(&mut object_3032, var_3031)?; object_3032.finish(); @@ -14048,6 +14620,7 @@ pub fn serialize_structure_crate_model_aws_dynamo_db_table_replica_global_second object.key("IndexName").string(var_3045.as_str()); } if let Some(var_3046) = &input.provisioned_throughput_override { + #[allow(unused_mut)] let mut object_3047 = object.key("ProvisionedThroughputOverride").start_object(); crate::json_ser::serialize_structure_crate_model_aws_dynamo_db_table_provisioned_throughput_override(&mut object_3047, var_3046)?; object_3047.finish(); @@ -14378,6 +14951,7 @@ pub fn serialize_structure_crate_model_aws_rds_db_subnet_group_subnet( object.key("SubnetIdentifier").string(var_3078.as_str()); } if let Some(var_3079) = &input.subnet_availability_zone { + #[allow(unused_mut)] let mut object_3080 = object.key("SubnetAvailabilityZone").start_object(); crate::json_ser::serialize_structure_crate_model_aws_rds_db_subnet_group_subnet_availability_zone(&mut object_3080, var_3079)?; object_3080.finish(); @@ -14451,6 +15025,7 @@ pub fn serialize_structure_crate_model_aws_ecs_cluster_configuration_execute_com object.key("KmsKeyId").string(var_3091.as_str()); } if let Some(var_3092) = &input.log_configuration { + #[allow(unused_mut)] let mut object_3093 = object.key("LogConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_cluster_configuration_execute_command_configuration_log_configuration_details(&mut object_3093, var_3092)?; object_3093.finish(); @@ -14518,6 +15093,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit input: &crate::model::AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3103) = &input.options { + #[allow(unused_mut)] let mut object_3104 = object.key("Options").start_object(); for (key_3105, value_3106) in var_3103 { { @@ -14579,6 +15155,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit input: &crate::model::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3111) = &input.capabilities { + #[allow(unused_mut)] let mut object_3112 = object.key("Capabilities").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_linux_parameters_capabilities_details(&mut object_3112, var_3111)?; object_3112.finish(); @@ -14587,6 +15164,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_3114 = object.key("Devices").start_array(); for item_3115 in var_3113 { { + #[allow(unused_mut)] let mut object_3116 = array_3114.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_linux_parameters_devices_details(&mut object_3116, item_3115)?; object_3116.finish(); @@ -14621,6 +15199,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_3118 = object.key("Tmpfs").start_array(); for item_3119 in var_3117 { { + #[allow(unused_mut)] let mut object_3120 = array_3118.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_linux_parameters_tmpfs_details(&mut object_3120, item_3119)?; object_3120.finish(); @@ -14639,6 +15218,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit object.key("LogDriver").string(var_3121.as_str()); } if let Some(var_3122) = &input.options { + #[allow(unused_mut)] let mut object_3123 = object.key("Options").start_object(); for (key_3124, value_3125) in var_3122 { { @@ -14653,6 +15233,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_container_definit let mut array_3127 = object.key("SecretOptions").start_array(); for item_3128 in var_3126 { { + #[allow(unused_mut)] let mut object_3129 = array_3127.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_container_definitions_log_configuration_secret_options_details(&mut object_3129, item_3128)?; object_3129.finish(); @@ -14809,6 +15390,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_volumes_docker_vo object.key("Driver").string(var_3144.as_str()); } if let Some(var_3145) = &input.driver_opts { + #[allow(unused_mut)] let mut object_3146 = object.key("DriverOpts").start_object(); for (key_3147, value_3148) in var_3145 { { @@ -14820,6 +15402,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_volumes_docker_vo object_3146.finish(); } if let Some(var_3149) = &input.labels { + #[allow(unused_mut)] let mut object_3150 = object.key("Labels").start_object(); for (key_3151, value_3152) in var_3149 { { @@ -14841,6 +15424,7 @@ pub fn serialize_structure_crate_model_aws_ecs_task_definition_volumes_efs_volum input: &crate::model::AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3154) = &input.authorization_config { + #[allow(unused_mut)] let mut object_3155 = object.key("AuthorizationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_aws_ecs_task_definition_volumes_efs_volume_configuration_authorization_config_details(&mut object_3155, var_3154)?; object_3155.finish(); @@ -15146,6 +15730,7 @@ pub fn serialize_structure_crate_model_firewall_policy_stateless_custom_actions_ input: &crate::model::FirewallPolicyStatelessCustomActionsDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3201) = &input.action_definition { + #[allow(unused_mut)] let mut object_3202 = object.key("ActionDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_stateless_custom_action_definition( &mut object_3202, @@ -15180,6 +15765,7 @@ pub fn serialize_structure_crate_model_rule_group_variables( input: &crate::model::RuleGroupVariables, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3205) = &input.ip_sets { + #[allow(unused_mut)] let mut object_3206 = object.key("IpSets").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_variables_ip_sets_details( &mut object_3206, @@ -15188,6 +15774,7 @@ pub fn serialize_structure_crate_model_rule_group_variables( object_3206.finish(); } if let Some(var_3207) = &input.port_sets { + #[allow(unused_mut)] let mut object_3208 = object.key("PortSets").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_variables_port_sets_details( &mut object_3208, @@ -15203,6 +15790,7 @@ pub fn serialize_structure_crate_model_rule_group_source( input: &crate::model::RuleGroupSource, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3209) = &input.rules_source_list { + #[allow(unused_mut)] let mut object_3210 = object.key("RulesSourceList").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_list_details( &mut object_3210, @@ -15217,6 +15805,7 @@ pub fn serialize_structure_crate_model_rule_group_source( let mut array_3213 = object.key("StatefulRules").start_array(); for item_3214 in var_3212 { { + #[allow(unused_mut)] let mut object_3215 = array_3213.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateful_rules_details(&mut object_3215, item_3214)?; object_3215.finish(); @@ -15225,6 +15814,7 @@ pub fn serialize_structure_crate_model_rule_group_source( array_3213.finish(); } if let Some(var_3216) = &input.stateless_rules_and_custom_actions { + #[allow(unused_mut)] let mut object_3217 = object.key("StatelessRulesAndCustomActions").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rules_and_custom_actions_details(&mut object_3217, var_3216)?; object_3217.finish(); @@ -15345,6 +15935,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_advanced_backup_se input: &crate::model::AwsBackupBackupPlanAdvancedBackupSettingsDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3228) = &input.backup_options { + #[allow(unused_mut)] let mut object_3229 = object.key("BackupOptions").start_object(); for (key_3230, value_3231) in var_3228 { { @@ -15398,6 +15989,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_rule_details( let mut array_3238 = object.key("CopyActions").start_array(); for item_3239 in var_3237 { { + #[allow(unused_mut)] let mut object_3240 = array_3238.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_rule_copy_actions_details(&mut object_3240, item_3239)?; object_3240.finish(); @@ -15406,6 +15998,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_rule_details( array_3238.finish(); } if let Some(var_3241) = &input.lifecycle { + #[allow(unused_mut)] let mut object_3242 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_lifecycle_details( &mut object_3242, @@ -15424,6 +16017,7 @@ pub fn serialize_structure_crate_model_occurrences( let mut array_3244 = object.key("LineRanges").start_array(); for item_3245 in var_3243 { { + #[allow(unused_mut)] let mut object_3246 = array_3244.value().start_object(); crate::json_ser::serialize_structure_crate_model_range( &mut object_3246, @@ -15438,6 +16032,7 @@ pub fn serialize_structure_crate_model_occurrences( let mut array_3248 = object.key("OffsetRanges").start_array(); for item_3249 in var_3247 { { + #[allow(unused_mut)] let mut object_3250 = array_3248.value().start_object(); crate::json_ser::serialize_structure_crate_model_range( &mut object_3250, @@ -15452,6 +16047,7 @@ pub fn serialize_structure_crate_model_occurrences( let mut array_3252 = object.key("Pages").start_array(); for item_3253 in var_3251 { { + #[allow(unused_mut)] let mut object_3254 = array_3252.value().start_object(); crate::json_ser::serialize_structure_crate_model_page(&mut object_3254, item_3253)?; object_3254.finish(); @@ -15463,6 +16059,7 @@ pub fn serialize_structure_crate_model_occurrences( let mut array_3256 = object.key("Records").start_array(); for item_3257 in var_3255 { { + #[allow(unused_mut)] let mut object_3258 = array_3256.value().start_object(); crate::json_ser::serialize_structure_crate_model_record( &mut object_3258, @@ -15477,6 +16074,7 @@ pub fn serialize_structure_crate_model_occurrences( let mut array_3260 = object.key("Cells").start_array(); for item_3261 in var_3259 { { + #[allow(unused_mut)] let mut object_3262 = array_3260.value().start_object(); crate::json_ser::serialize_structure_crate_model_cell(&mut object_3262, item_3261)?; object_3262.finish(); @@ -15558,6 +16156,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_origin_custo ); } if let Some(var_3270) = &input.origin_ssl_protocols { + #[allow(unused_mut)] let mut object_3271 = object.key("OriginSslProtocols").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_ssl_protocols(&mut object_3271, var_3270)?; object_3271.finish(); @@ -15570,6 +16169,7 @@ pub fn serialize_structure_crate_model_aws_cloud_front_distribution_origin_group input: &crate::model::AwsCloudFrontDistributionOriginGroupFailover, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3272) = &input.status_codes { + #[allow(unused_mut)] let mut object_3273 = object.key("StatusCodes").start_object(); crate::json_ser::serialize_structure_crate_model_aws_cloud_front_distribution_origin_group_failover_status_codes(&mut object_3273, var_3272)?; object_3273.finish(); @@ -15608,6 +16208,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat input: &crate::model::AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3276) = &input.predicate { + #[allow(unused_mut)] let mut object_3277 = object.key("Predicate").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_filter_predicate_details(&mut object_3277, var_3276)?; object_3277.finish(); @@ -15692,6 +16293,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_notification_configuration_ input: &crate::model::AwsS3BucketNotificationConfigurationFilter, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3288) = &input.s3_key_filter { + #[allow(unused_mut)] let mut object_3289 = object.key("S3KeyFilter").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_notification_configuration_s3_key_filter(&mut object_3289, var_3288)?; object_3289.finish(); @@ -15840,6 +16442,7 @@ pub fn serialize_structure_crate_model_stateless_custom_action_definition( input: &crate::model::StatelessCustomActionDefinition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3313) = &input.publish_metric_action { + #[allow(unused_mut)] let mut object_3314 = object.key("PublishMetricAction").start_object(); crate::json_ser::serialize_structure_crate_model_stateless_custom_publish_metric_action( &mut object_3314, @@ -15918,6 +16521,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateful_rules_details( object.key("Action").string(var_3328.as_str()); } if let Some(var_3329) = &input.header { + #[allow(unused_mut)] let mut object_3330 = object.key("Header").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateful_rules_header_details(&mut object_3330, var_3329)?; object_3330.finish(); @@ -15926,6 +16530,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateful_rules_details( let mut array_3332 = object.key("RuleOptions").start_array(); for item_3333 in var_3331 { { + #[allow(unused_mut)] let mut object_3334 = array_3332.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateful_rules_options_details(&mut object_3334, item_3333)?; object_3334.finish(); @@ -15944,6 +16549,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rules_and_cus let mut array_3336 = object.key("CustomActions").start_array(); for item_3337 in var_3335 { { + #[allow(unused_mut)] let mut object_3338 = array_3336.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_custom_actions_details(&mut object_3338, item_3337)?; object_3338.finish(); @@ -15955,6 +16561,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rules_and_cus let mut array_3340 = object.key("StatelessRules").start_array(); for item_3341 in var_3339 { { + #[allow(unused_mut)] let mut object_3342 = array_3340.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rules_details(&mut object_3342, item_3341)?; object_3342.finish(); @@ -15975,6 +16582,7 @@ pub fn serialize_structure_crate_model_aws_backup_backup_plan_rule_copy_actions_ .string(var_3343.as_str()); } if let Some(var_3344) = &input.lifecycle { + #[allow(unused_mut)] let mut object_3345 = object.key("Lifecycle").start_object(); crate::json_ser::serialize_structure_crate_model_aws_backup_backup_plan_lifecycle_details( &mut object_3345, @@ -16040,11 +16648,13 @@ pub fn serialize_structure_crate_model_page( ); } if let Some(var_3346) = &input.line_range { + #[allow(unused_mut)] let mut object_3347 = object.key("LineRange").start_object(); crate::json_ser::serialize_structure_crate_model_range(&mut object_3347, var_3346)?; object_3347.finish(); } if let Some(var_3348) = &input.offset_range { + #[allow(unused_mut)] let mut object_3349 = object.key("OffsetRange").start_object(); crate::json_ser::serialize_structure_crate_model_range(&mut object_3349, var_3348)?; object_3349.finish(); @@ -16148,6 +16758,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat let mut array_3360 = object.key("Operands").start_array(); for item_3361 in var_3359 { { + #[allow(unused_mut)] let mut object_3362 = array_3360.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_filter_predicate_operands_details(&mut object_3362, item_3361)?; object_3362.finish(); @@ -16159,6 +16770,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat object.key("Prefix").string(var_3363.as_str()); } if let Some(var_3364) = &input.tag { + #[allow(unused_mut)] let mut object_3365 = object.key("Tag").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_filter_predicate_tag_details(&mut object_3365, var_3364)?; object_3365.finish(); @@ -16177,6 +16789,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_notification_configuration_ let mut array_3368 = object.key("FilterRules").start_array(); for item_3369 in var_3367 { { + #[allow(unused_mut)] let mut object_3370 = array_3368.value().start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_notification_configuration_s3_key_filter_rule(&mut object_3370, item_3369)?; object_3370.finish(); @@ -16195,6 +16808,7 @@ pub fn serialize_structure_crate_model_stateless_custom_publish_metric_action( let mut array_3372 = object.key("Dimensions").start_array(); for item_3373 in var_3371 { { + #[allow(unused_mut)] let mut object_3374 = array_3372.value().start_object(); crate::json_ser::serialize_structure_crate_model_stateless_custom_publish_metric_action_dimension(&mut object_3374, item_3373)?; object_3374.finish(); @@ -16254,6 +16868,7 @@ pub fn serialize_structure_crate_model_rule_group_source_custom_actions_details( input: &crate::model::RuleGroupSourceCustomActionsDetails, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3385) = &input.action_definition { + #[allow(unused_mut)] let mut object_3386 = object.key("ActionDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_stateless_custom_action_definition( &mut object_3386, @@ -16278,6 +16893,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rules_details ); } if let Some(var_3388) = &input.rule_definition { + #[allow(unused_mut)] let mut object_3389 = object.key("RuleDefinition").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_definition(&mut object_3389, var_3388)?; object_3389.finish(); @@ -16293,6 +16909,7 @@ pub fn serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configurat object.key("Prefix").string(var_3390.as_str()); } if let Some(var_3391) = &input.tag { + #[allow(unused_mut)] let mut object_3392 = object.key("Tag").start_object(); crate::json_ser::serialize_structure_crate_model_aws_s3_bucket_bucket_lifecycle_configuration_rules_filter_predicate_operands_tag_details(&mut object_3392, var_3391)?; object_3392.finish(); @@ -16353,6 +16970,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rule_definiti array_3400.finish(); } if let Some(var_3402) = &input.match_attributes { + #[allow(unused_mut)] let mut object_3403 = object.key("MatchAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_match_attributes(&mut object_3403, var_3402)?; object_3403.finish(); @@ -16381,6 +16999,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rule_match_at let mut array_3407 = object.key("DestinationPorts").start_array(); for item_3408 in var_3406 { { + #[allow(unused_mut)] let mut object_3409 = array_3407.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_match_attributes_destination_ports(&mut object_3409, item_3408)?; object_3409.finish(); @@ -16392,6 +17011,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rule_match_at let mut array_3411 = object.key("Destinations").start_array(); for item_3412 in var_3410 { { + #[allow(unused_mut)] let mut object_3413 = array_3411.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_match_attributes_destinations(&mut object_3413, item_3412)?; object_3413.finish(); @@ -16415,6 +17035,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rule_match_at let mut array_3418 = object.key("SourcePorts").start_array(); for item_3419 in var_3417 { { + #[allow(unused_mut)] let mut object_3420 = array_3418.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_match_attributes_source_ports(&mut object_3420, item_3419)?; object_3420.finish(); @@ -16426,6 +17047,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rule_match_at let mut array_3422 = object.key("Sources").start_array(); for item_3423 in var_3421 { { + #[allow(unused_mut)] let mut object_3424 = array_3422.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_match_attributes_sources(&mut object_3424, item_3423)?; object_3424.finish(); @@ -16437,6 +17059,7 @@ pub fn serialize_structure_crate_model_rule_group_source_stateless_rule_match_at let mut array_3426 = object.key("TcpFlags").start_array(); for item_3427 in var_3425 { { + #[allow(unused_mut)] let mut object_3428 = array_3426.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_source_stateless_rule_match_attributes_tcp_flags(&mut object_3428, item_3427)?; object_3428.finish(); diff --git a/sdk/serverlessapplicationrepository/src/json_ser.rs b/sdk/serverlessapplicationrepository/src/json_ser.rs index f89cf1005de5..0312128750c6 100644 --- a/sdk/serverlessapplicationrepository/src/json_ser.rs +++ b/sdk/serverlessapplicationrepository/src/json_ser.rs @@ -111,6 +111,7 @@ pub fn serialize_structure_crate_input_create_cloud_formation_change_set_input( let mut array_32 = object.key("parameterOverrides").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_value( &mut object_34, @@ -131,6 +132,7 @@ pub fn serialize_structure_crate_input_create_cloud_formation_change_set_input( array_36.finish(); } if let Some(var_38) = &input.rollback_configuration { + #[allow(unused_mut)] let mut object_39 = object.key("rollbackConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_rollback_configuration( &mut object_39, @@ -148,6 +150,7 @@ pub fn serialize_structure_crate_input_create_cloud_formation_change_set_input( let mut array_43 = object.key("tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -179,6 +182,7 @@ pub fn serialize_structure_crate_input_put_application_policy_input( let mut array_49 = object.key("statements").start_array(); for item_50 in var_48 { { + #[allow(unused_mut)] let mut object_51 = array_49.value().start_object(); crate::json_ser::serialize_structure_crate_model_application_policy_statement( &mut object_51, @@ -260,6 +264,7 @@ pub fn serialize_structure_crate_model_rollback_configuration( let mut array_64 = object.key("rollbackTriggers").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_rollback_trigger( &mut object_66, diff --git a/sdk/servicecatalog/src/json_ser.rs b/sdk/servicecatalog/src/json_ser.rs index 5b1c96f67408..8990b318c136 100644 --- a/sdk/servicecatalog/src/json_ser.rs +++ b/sdk/servicecatalog/src/json_ser.rs @@ -106,6 +106,7 @@ pub fn serialize_structure_crate_input_batch_associate_service_action_with_provi let mut array_21 = object.key("ServiceActionAssociations").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_service_action_association( &mut object_23, @@ -130,6 +131,7 @@ pub fn serialize_structure_crate_input_batch_disassociate_service_action_from_pr let mut array_26 = object.key("ServiceActionAssociations").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_service_action_association( &mut object_28, @@ -168,6 +170,7 @@ pub fn serialize_structure_crate_input_copy_product_input( .start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); for (key_38, value_39) in item_36 { { @@ -242,6 +245,7 @@ pub fn serialize_structure_crate_input_create_portfolio_input( let mut array_56 = object.key("Tags").start_array(); for item_57 in var_55 { { + #[allow(unused_mut)] let mut object_58 = array_56.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_58, item_57)?; object_58.finish(); @@ -269,6 +273,7 @@ pub fn serialize_structure_crate_input_create_portfolio_share_input( object.key("AccountId").string(var_62.as_str()); } if let Some(var_63) = &input.organization_node { + #[allow(unused_mut)] let mut object_64 = object.key("OrganizationNode").start_object(); crate::json_ser::serialize_structure_crate_model_organization_node(&mut object_64, var_63)?; object_64.finish(); @@ -316,6 +321,7 @@ pub fn serialize_structure_crate_input_create_product_input( let mut array_75 = object.key("Tags").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_77, item_76)?; object_77.finish(); @@ -324,6 +330,7 @@ pub fn serialize_structure_crate_input_create_product_input( array_75.finish(); } if let Some(var_78) = &input.provisioning_artifact_parameters { + #[allow(unused_mut)] let mut object_79 = object.key("ProvisioningArtifactParameters").start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_artifact_properties( &mut object_79, @@ -375,6 +382,7 @@ pub fn serialize_structure_crate_input_create_provisioned_product_plan_input( let mut array_92 = object.key("ProvisioningParameters").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_provisioning_parameter( &mut object_94, @@ -392,6 +400,7 @@ pub fn serialize_structure_crate_input_create_provisioned_product_plan_input( let mut array_97 = object.key("Tags").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_99, item_98)?; object_99.finish(); @@ -413,6 +422,7 @@ pub fn serialize_structure_crate_input_create_provisioning_artifact_input( object.key("ProductId").string(var_101.as_str()); } if let Some(var_102) = &input.parameters { + #[allow(unused_mut)] let mut object_103 = object.key("Parameters").start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_artifact_properties( &mut object_103, @@ -437,6 +447,7 @@ pub fn serialize_structure_crate_input_create_service_action_input( object.key("DefinitionType").string(var_106.as_str()); } if let Some(var_107) = &input.definition { + #[allow(unused_mut)] let mut object_108 = object.key("Definition").start_object(); for (key_109, value_110) in var_107 { { @@ -510,6 +521,7 @@ pub fn serialize_structure_crate_input_delete_portfolio_share_input( object.key("AccountId").string(var_122.as_str()); } if let Some(var_123) = &input.organization_node { + #[allow(unused_mut)] let mut object_124 = object.key("OrganizationNode").start_object(); crate::json_ser::serialize_structure_crate_model_organization_node( &mut object_124, @@ -981,6 +993,7 @@ pub fn serialize_structure_crate_input_execute_provisioned_product_service_actio object.key("AcceptLanguage").string(var_201.as_str()); } if let Some(var_202) = &input.parameters { + #[allow(unused_mut)] let mut object_203 = object.key("Parameters").start_object(); for (key_204, value_205) in var_202 { { @@ -1287,6 +1300,7 @@ pub fn serialize_structure_crate_input_list_provisioned_product_plans_input( object.key("PageToken").string(var_252.as_str()); } if let Some(var_253) = &input.access_level_filter { + #[allow(unused_mut)] let mut object_254 = object.key("AccessLevelFilter").start_object(); crate::json_ser::serialize_structure_crate_model_access_level_filter( &mut object_254, @@ -1340,6 +1354,7 @@ pub fn serialize_structure_crate_input_list_record_history_input( object.key("AcceptLanguage").string(var_260.as_str()); } if let Some(var_261) = &input.access_level_filter { + #[allow(unused_mut)] let mut object_262 = object.key("AccessLevelFilter").start_object(); crate::json_ser::serialize_structure_crate_model_access_level_filter( &mut object_262, @@ -1348,6 +1363,7 @@ pub fn serialize_structure_crate_input_list_record_history_input( object_262.finish(); } if let Some(var_263) = &input.search_filter { + #[allow(unused_mut)] let mut object_264 = object.key("SearchFilter").start_object(); crate::json_ser::serialize_structure_crate_model_list_record_history_search_filter( &mut object_264, @@ -1462,6 +1478,7 @@ pub fn serialize_structure_crate_input_list_tag_options_input( input: &crate::input::ListTagOptionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_278) = &input.filters { + #[allow(unused_mut)] let mut object_279 = object.key("Filters").start_object(); crate::json_ser::serialize_structure_crate_model_list_tag_options_filters( &mut object_279, @@ -1519,6 +1536,7 @@ pub fn serialize_structure_crate_input_provision_product_input( let mut array_290 = object.key("ProvisioningParameters").start_array(); for item_291 in var_289 { { + #[allow(unused_mut)] let mut object_292 = array_290.value().start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_parameter( &mut object_292, @@ -1530,6 +1548,7 @@ pub fn serialize_structure_crate_input_provision_product_input( array_290.finish(); } if let Some(var_293) = &input.provisioning_preferences { + #[allow(unused_mut)] let mut object_294 = object.key("ProvisioningPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_provisioning_preferences( &mut object_294, @@ -1541,6 +1560,7 @@ pub fn serialize_structure_crate_input_provision_product_input( let mut array_296 = object.key("Tags").start_array(); for item_297 in var_295 { { + #[allow(unused_mut)] let mut object_298 = array_296.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_298, item_297)?; object_298.finish(); @@ -1587,6 +1607,7 @@ pub fn serialize_structure_crate_input_scan_provisioned_products_input( object.key("AcceptLanguage").string(var_306.as_str()); } if let Some(var_307) = &input.access_level_filter { + #[allow(unused_mut)] let mut object_308 = object.key("AccessLevelFilter").start_object(); crate::json_ser::serialize_structure_crate_model_access_level_filter( &mut object_308, @@ -1614,6 +1635,7 @@ pub fn serialize_structure_crate_input_search_products_input( object.key("AcceptLanguage").string(var_310.as_str()); } if let Some(var_311) = &input.filters { + #[allow(unused_mut)] let mut object_312 = object.key("Filters").start_object(); for (key_313, value_314) in var_311 { { @@ -1657,6 +1679,7 @@ pub fn serialize_structure_crate_input_search_products_as_admin_input( object.key("PortfolioId").string(var_321.as_str()); } if let Some(var_322) = &input.filters { + #[allow(unused_mut)] let mut object_323 = object.key("Filters").start_object(); for (key_324, value_325) in var_322 { { @@ -1700,6 +1723,7 @@ pub fn serialize_structure_crate_input_search_provisioned_products_input( object.key("AcceptLanguage").string(var_332.as_str()); } if let Some(var_333) = &input.access_level_filter { + #[allow(unused_mut)] let mut object_334 = object.key("AccessLevelFilter").start_object(); crate::json_ser::serialize_structure_crate_model_access_level_filter( &mut object_334, @@ -1708,6 +1732,7 @@ pub fn serialize_structure_crate_input_search_provisioned_products_input( object_334.finish(); } if let Some(var_335) = &input.filters { + #[allow(unused_mut)] let mut object_336 = object.key("Filters").start_object(); for (key_337, value_338) in var_335 { { @@ -1811,6 +1836,7 @@ pub fn serialize_structure_crate_input_update_portfolio_input( let mut array_358 = object.key("AddTags").start_array(); for item_359 in var_357 { { + #[allow(unused_mut)] let mut object_360 = array_358.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_360, item_359)?; object_360.finish(); @@ -1844,6 +1870,7 @@ pub fn serialize_structure_crate_input_update_portfolio_share_input( object.key("AccountId").string(var_366.as_str()); } if let Some(var_367) = &input.organization_node { + #[allow(unused_mut)] let mut object_368 = object.key("OrganizationNode").start_object(); crate::json_ser::serialize_structure_crate_model_organization_node( &mut object_368, @@ -1892,6 +1919,7 @@ pub fn serialize_structure_crate_input_update_product_input( let mut array_380 = object.key("AddTags").start_array(); for item_381 in var_379 { { + #[allow(unused_mut)] let mut object_382 = array_380.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_382, item_381)?; object_382.finish(); @@ -1952,6 +1980,7 @@ pub fn serialize_structure_crate_input_update_provisioned_product_input( let mut array_396 = object.key("ProvisioningParameters").start_array(); for item_397 in var_395 { { + #[allow(unused_mut)] let mut object_398 = array_396.value().start_object(); crate::json_ser::serialize_structure_crate_model_update_provisioning_parameter( &mut object_398, @@ -1963,6 +1992,7 @@ pub fn serialize_structure_crate_input_update_provisioned_product_input( array_396.finish(); } if let Some(var_399) = &input.provisioning_preferences { + #[allow(unused_mut)] let mut object_400 = object.key("ProvisioningPreferences").start_object(); crate::json_ser::serialize_structure_crate_model_update_provisioning_preferences( &mut object_400, @@ -1974,6 +2004,7 @@ pub fn serialize_structure_crate_input_update_provisioned_product_input( let mut array_402 = object.key("Tags").start_array(); for item_403 in var_401 { { + #[allow(unused_mut)] let mut object_404 = array_402.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_404, item_403)?; object_404.finish(); @@ -1998,6 +2029,7 @@ pub fn serialize_structure_crate_input_update_provisioned_product_properties_inp object.key("ProvisionedProductId").string(var_407.as_str()); } if let Some(var_408) = &input.provisioned_product_properties { + #[allow(unused_mut)] let mut object_409 = object.key("ProvisionedProductProperties").start_object(); for (key_410, value_411) in var_408 { { @@ -2053,6 +2085,7 @@ pub fn serialize_structure_crate_input_update_service_action_input( object.key("Name").string(var_421.as_str()); } if let Some(var_422) = &input.definition { + #[allow(unused_mut)] let mut object_423 = object.key("Definition").start_object(); for (key_424, value_425) in var_422 { { @@ -2141,6 +2174,7 @@ pub fn serialize_structure_crate_model_provisioning_artifact_properties( object.key("Description").string(var_439.as_str()); } if let Some(var_440) = &input.info { + #[allow(unused_mut)] let mut object_441 = object.key("Info").start_object(); for (key_442, value_443) in var_440 { { diff --git a/sdk/servicecatalogappregistry/src/json_ser.rs b/sdk/servicecatalogappregistry/src/json_ser.rs index ca82eb177b4f..3bb848db69d4 100644 --- a/sdk/servicecatalogappregistry/src/json_ser.rs +++ b/sdk/servicecatalogappregistry/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_application_input( object.key("name").string(var_3.as_str()); } if let Some(var_4) = &input.tags { + #[allow(unused_mut)] let mut object_5 = object.key("tags").start_object(); for (key_6, value_7) in var_4 { { @@ -41,6 +42,7 @@ pub fn serialize_structure_crate_input_create_attribute_group_input( object.key("name").string(var_11.as_str()); } if let Some(var_12) = &input.tags { + #[allow(unused_mut)] let mut object_13 = object.key("tags").start_object(); for (key_14, value_15) in var_12 { { @@ -57,6 +59,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.tags { + #[allow(unused_mut)] let mut object_17 = object.key("tags").start_object(); for (key_18, value_19) in var_16 { { diff --git a/sdk/servicediscovery/src/json_ser.rs b/sdk/servicediscovery/src/json_ser.rs index eaba274da660..5e1644755dd5 100644 --- a/sdk/servicediscovery/src/json_ser.rs +++ b/sdk/servicediscovery/src/json_ser.rs @@ -16,6 +16,7 @@ pub fn serialize_structure_crate_input_create_http_namespace_input( let mut array_5 = object.key("Tags").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_7, item_6)?; object_7.finish(); @@ -46,6 +47,7 @@ pub fn serialize_structure_crate_input_create_private_dns_namespace_input( let mut array_13 = object.key("Tags").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_15, item_14)?; object_15.finish(); @@ -54,6 +56,7 @@ pub fn serialize_structure_crate_input_create_private_dns_namespace_input( array_13.finish(); } if let Some(var_16) = &input.properties { + #[allow(unused_mut)] let mut object_17 = object.key("Properties").start_object(); crate::json_ser::serialize_structure_crate_model_private_dns_namespace_properties( &mut object_17, @@ -81,6 +84,7 @@ pub fn serialize_structure_crate_input_create_public_dns_namespace_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -89,6 +93,7 @@ pub fn serialize_structure_crate_input_create_public_dns_namespace_input( array_22.finish(); } if let Some(var_25) = &input.properties { + #[allow(unused_mut)] let mut object_26 = object.key("Properties").start_object(); crate::json_ser::serialize_structure_crate_model_public_dns_namespace_properties( &mut object_26, @@ -116,11 +121,13 @@ pub fn serialize_structure_crate_input_create_service_input( object.key("Description").string(var_30.as_str()); } if let Some(var_31) = &input.dns_config { + #[allow(unused_mut)] let mut object_32 = object.key("DnsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dns_config(&mut object_32, var_31)?; object_32.finish(); } if let Some(var_33) = &input.health_check_config { + #[allow(unused_mut)] let mut object_34 = object.key("HealthCheckConfig").start_object(); crate::json_ser::serialize_structure_crate_model_health_check_config( &mut object_34, @@ -129,6 +136,7 @@ pub fn serialize_structure_crate_input_create_service_input( object_34.finish(); } if let Some(var_35) = &input.health_check_custom_config { + #[allow(unused_mut)] let mut object_36 = object.key("HealthCheckCustomConfig").start_object(); crate::json_ser::serialize_structure_crate_model_health_check_custom_config( &mut object_36, @@ -140,6 +148,7 @@ pub fn serialize_structure_crate_input_create_service_input( let mut array_38 = object.key("Tags").start_array(); for item_39 in var_37 { { + #[allow(unused_mut)] let mut object_40 = array_38.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_40, item_39)?; object_40.finish(); @@ -203,6 +212,7 @@ pub fn serialize_structure_crate_input_discover_instances_input( ); } if let Some(var_49) = &input.query_parameters { + #[allow(unused_mut)] let mut object_50 = object.key("QueryParameters").start_object(); for (key_51, value_52) in var_49 { { @@ -212,6 +222,7 @@ pub fn serialize_structure_crate_input_discover_instances_input( object_50.finish(); } if let Some(var_53) = &input.optional_parameters { + #[allow(unused_mut)] let mut object_54 = object.key("OptionalParameters").start_object(); for (key_55, value_56) in var_53 { { @@ -333,6 +344,7 @@ pub fn serialize_structure_crate_input_list_namespaces_input( let mut array_75 = object.key("Filters").start_array(); for item_76 in var_74 { { + #[allow(unused_mut)] let mut object_77 = array_75.value().start_object(); crate::json_ser::serialize_structure_crate_model_namespace_filter( &mut object_77, @@ -363,6 +375,7 @@ pub fn serialize_structure_crate_input_list_operations_input( let mut array_81 = object.key("Filters").start_array(); for item_82 in var_80 { { + #[allow(unused_mut)] let mut object_83 = array_81.value().start_object(); crate::json_ser::serialize_structure_crate_model_operation_filter( &mut object_83, @@ -393,6 +406,7 @@ pub fn serialize_structure_crate_input_list_services_input( let mut array_87 = object.key("Filters").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_service_filter( &mut object_89, @@ -430,6 +444,7 @@ pub fn serialize_structure_crate_input_register_instance_input( object.key("CreatorRequestId").string(var_93.as_str()); } if let Some(var_94) = &input.attributes { + #[allow(unused_mut)] let mut object_95 = object.key("Attributes").start_object(); for (key_96, value_97) in var_94 { { @@ -452,6 +467,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_100 = object.key("Tags").start_array(); for item_101 in var_99 { { + #[allow(unused_mut)] let mut object_102 = array_100.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_102, item_101)?; object_102.finish(); @@ -492,6 +508,7 @@ pub fn serialize_structure_crate_input_update_http_namespace_input( object.key("UpdaterRequestId").string(var_108.as_str()); } if let Some(var_109) = &input.namespace { + #[allow(unused_mut)] let mut object_110 = object.key("Namespace").start_object(); crate::json_ser::serialize_structure_crate_model_http_namespace_change( &mut object_110, @@ -529,6 +546,7 @@ pub fn serialize_structure_crate_input_update_private_dns_namespace_input( object.key("UpdaterRequestId").string(var_115.as_str()); } if let Some(var_116) = &input.namespace { + #[allow(unused_mut)] let mut object_117 = object.key("Namespace").start_object(); crate::json_ser::serialize_structure_crate_model_private_dns_namespace_change( &mut object_117, @@ -550,6 +568,7 @@ pub fn serialize_structure_crate_input_update_public_dns_namespace_input( object.key("UpdaterRequestId").string(var_119.as_str()); } if let Some(var_120) = &input.namespace { + #[allow(unused_mut)] let mut object_121 = object.key("Namespace").start_object(); crate::json_ser::serialize_structure_crate_model_public_dns_namespace_change( &mut object_121, @@ -568,6 +587,7 @@ pub fn serialize_structure_crate_input_update_service_input( object.key("Id").string(var_122.as_str()); } if let Some(var_123) = &input.service { + #[allow(unused_mut)] let mut object_124 = object.key("Service").start_object(); crate::json_ser::serialize_structure_crate_model_service_change(&mut object_124, var_123)?; object_124.finish(); @@ -593,6 +613,7 @@ pub fn serialize_structure_crate_model_private_dns_namespace_properties( input: &crate::model::PrivateDnsNamespaceProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_127) = &input.dns_properties { + #[allow(unused_mut)] let mut object_128 = object.key("DnsProperties").start_object(); crate::json_ser::serialize_structure_crate_model_private_dns_properties_mutable( &mut object_128, @@ -608,6 +629,7 @@ pub fn serialize_structure_crate_model_public_dns_namespace_properties( input: &crate::model::PublicDnsNamespaceProperties, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_129) = &input.dns_properties { + #[allow(unused_mut)] let mut object_130 = object.key("DnsProperties").start_object(); crate::json_ser::serialize_structure_crate_model_public_dns_properties_mutable( &mut object_130, @@ -632,6 +654,7 @@ pub fn serialize_structure_crate_model_dns_config( let mut array_134 = object.key("DnsRecords").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_dns_record( &mut object_136, @@ -761,6 +784,7 @@ pub fn serialize_structure_crate_model_private_dns_namespace_change( object.key("Description").string(var_157.as_str()); } if let Some(var_158) = &input.properties { + #[allow(unused_mut)] let mut object_159 = object.key("Properties").start_object(); crate::json_ser::serialize_structure_crate_model_private_dns_namespace_properties_change( &mut object_159, @@ -779,6 +803,7 @@ pub fn serialize_structure_crate_model_public_dns_namespace_change( object.key("Description").string(var_160.as_str()); } if let Some(var_161) = &input.properties { + #[allow(unused_mut)] let mut object_162 = object.key("Properties").start_object(); crate::json_ser::serialize_structure_crate_model_public_dns_namespace_properties_change( &mut object_162, @@ -797,6 +822,7 @@ pub fn serialize_structure_crate_model_service_change( object.key("Description").string(var_163.as_str()); } if let Some(var_164) = &input.dns_config { + #[allow(unused_mut)] let mut object_165 = object.key("DnsConfig").start_object(); crate::json_ser::serialize_structure_crate_model_dns_config_change( &mut object_165, @@ -805,6 +831,7 @@ pub fn serialize_structure_crate_model_service_change( object_165.finish(); } if let Some(var_166) = &input.health_check_config { + #[allow(unused_mut)] let mut object_167 = object.key("HealthCheckConfig").start_object(); crate::json_ser::serialize_structure_crate_model_health_check_config( &mut object_167, @@ -820,6 +847,7 @@ pub fn serialize_structure_crate_model_private_dns_properties_mutable( input: &crate::model::PrivateDnsPropertiesMutable, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_168) = &input.soa { + #[allow(unused_mut)] let mut object_169 = object.key("SOA").start_object(); crate::json_ser::serialize_structure_crate_model_soa(&mut object_169, var_168)?; object_169.finish(); @@ -832,6 +860,7 @@ pub fn serialize_structure_crate_model_public_dns_properties_mutable( input: &crate::model::PublicDnsPropertiesMutable, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_170) = &input.soa { + #[allow(unused_mut)] let mut object_171 = object.key("SOA").start_object(); crate::json_ser::serialize_structure_crate_model_soa(&mut object_171, var_170)?; object_171.finish(); @@ -860,6 +889,7 @@ pub fn serialize_structure_crate_model_private_dns_namespace_properties_change( input: &crate::model::PrivateDnsNamespacePropertiesChange, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_174) = &input.dns_properties { + #[allow(unused_mut)] let mut object_175 = object.key("DnsProperties").start_object(); crate::json_ser::serialize_structure_crate_model_private_dns_properties_mutable_change( &mut object_175, @@ -875,6 +905,7 @@ pub fn serialize_structure_crate_model_public_dns_namespace_properties_change( input: &crate::model::PublicDnsNamespacePropertiesChange, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_176) = &input.dns_properties { + #[allow(unused_mut)] let mut object_177 = object.key("DnsProperties").start_object(); crate::json_ser::serialize_structure_crate_model_public_dns_properties_mutable_change( &mut object_177, @@ -893,6 +924,7 @@ pub fn serialize_structure_crate_model_dns_config_change( let mut array_179 = object.key("DnsRecords").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_dns_record( &mut object_181, @@ -924,6 +956,7 @@ pub fn serialize_structure_crate_model_private_dns_properties_mutable_change( input: &crate::model::PrivateDnsPropertiesMutableChange, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_183) = &input.soa { + #[allow(unused_mut)] let mut object_184 = object.key("SOA").start_object(); crate::json_ser::serialize_structure_crate_model_soa_change(&mut object_184, var_183)?; object_184.finish(); @@ -936,6 +969,7 @@ pub fn serialize_structure_crate_model_public_dns_properties_mutable_change( input: &crate::model::PublicDnsPropertiesMutableChange, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_185) = &input.soa { + #[allow(unused_mut)] let mut object_186 = object.key("SOA").start_object(); crate::json_ser::serialize_structure_crate_model_soa_change(&mut object_186, var_185)?; object_186.finish(); diff --git a/sdk/servicequotas/src/json_ser.rs b/sdk/servicequotas/src/json_ser.rs index 100486115104..187c62720ee0 100644 --- a/sdk/servicequotas/src/json_ser.rs +++ b/sdk/servicequotas/src/json_ser.rs @@ -252,6 +252,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); diff --git a/sdk/sesv2/src/json_ser.rs b/sdk/sesv2/src/json_ser.rs index c333e6c466a0..05df7847ee87 100644 --- a/sdk/sesv2/src/json_ser.rs +++ b/sdk/sesv2/src/json_ser.rs @@ -7,21 +7,25 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( object.key("ConfigurationSetName").string(var_1.as_str()); } if let Some(var_2) = &input.delivery_options { + #[allow(unused_mut)] let mut object_3 = object.key("DeliveryOptions").start_object(); crate::json_ser::serialize_structure_crate_model_delivery_options(&mut object_3, var_2)?; object_3.finish(); } if let Some(var_4) = &input.reputation_options { + #[allow(unused_mut)] let mut object_5 = object.key("ReputationOptions").start_object(); crate::json_ser::serialize_structure_crate_model_reputation_options(&mut object_5, var_4)?; object_5.finish(); } if let Some(var_6) = &input.sending_options { + #[allow(unused_mut)] let mut object_7 = object.key("SendingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_sending_options(&mut object_7, var_6)?; object_7.finish(); } if let Some(var_8) = &input.suppression_options { + #[allow(unused_mut)] let mut object_9 = object.key("SuppressionOptions").start_object(); crate::json_ser::serialize_structure_crate_model_suppression_options(&mut object_9, var_8)?; object_9.finish(); @@ -30,6 +34,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( let mut array_11 = object.key("Tags").start_array(); for item_12 in var_10 { { + #[allow(unused_mut)] let mut object_13 = array_11.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_13, item_12)?; object_13.finish(); @@ -38,6 +43,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_input( array_11.finish(); } if let Some(var_14) = &input.tracking_options { + #[allow(unused_mut)] let mut object_15 = object.key("TrackingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_tracking_options(&mut object_15, var_14)?; object_15.finish(); @@ -50,6 +56,7 @@ pub fn serialize_structure_crate_input_create_configuration_set_event_destinatio input: &crate::input::CreateConfigurationSetEventDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.event_destination { + #[allow(unused_mut)] let mut object_17 = object.key("EventDestination").start_object(); crate::json_ser::serialize_structure_crate_model_event_destination_definition( &mut object_17, @@ -77,6 +84,7 @@ pub fn serialize_structure_crate_input_create_contact_input( let mut array_22 = object.key("TopicPreferences").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_topic_preference( &mut object_24, @@ -107,6 +115,7 @@ pub fn serialize_structure_crate_input_create_contact_list_input( let mut array_28 = object.key("Tags").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_30, item_29)?; object_30.finish(); @@ -118,6 +127,7 @@ pub fn serialize_structure_crate_input_create_contact_list_input( let mut array_32 = object.key("Topics").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_topic(&mut object_34, item_33)?; object_34.finish(); @@ -164,6 +174,7 @@ pub fn serialize_structure_crate_input_create_dedicated_ip_pool_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -179,6 +190,7 @@ pub fn serialize_structure_crate_input_create_deliverability_test_report_input( input: &crate::input::CreateDeliverabilityTestReportInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_46) = &input.content { + #[allow(unused_mut)] let mut object_47 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_email_content(&mut object_47, var_46)?; object_47.finish(); @@ -193,6 +205,7 @@ pub fn serialize_structure_crate_input_create_deliverability_test_report_input( let mut array_51 = object.key("Tags").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_53, item_52)?; object_53.finish(); @@ -211,6 +224,7 @@ pub fn serialize_structure_crate_input_create_email_identity_input( object.key("ConfigurationSetName").string(var_54.as_str()); } if let Some(var_55) = &input.dkim_signing_attributes { + #[allow(unused_mut)] let mut object_56 = object.key("DkimSigningAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_dkim_signing_attributes( &mut object_56, @@ -225,6 +239,7 @@ pub fn serialize_structure_crate_input_create_email_identity_input( let mut array_59 = object.key("Tags").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_61, item_60)?; object_61.finish(); @@ -250,6 +265,7 @@ pub fn serialize_structure_crate_input_create_email_template_input( input: &crate::input::CreateEmailTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.template_content { + #[allow(unused_mut)] let mut object_64 = object.key("TemplateContent").start_object(); crate::json_ser::serialize_structure_crate_model_email_template_content( &mut object_64, @@ -268,6 +284,7 @@ pub fn serialize_structure_crate_input_create_import_job_input( input: &crate::input::CreateImportJobInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_66) = &input.import_data_source { + #[allow(unused_mut)] let mut object_67 = object.key("ImportDataSource").start_object(); crate::json_ser::serialize_structure_crate_model_import_data_source( &mut object_67, @@ -276,6 +293,7 @@ pub fn serialize_structure_crate_input_create_import_job_input( object_67.finish(); } if let Some(var_68) = &input.import_destination { + #[allow(unused_mut)] let mut object_69 = object.key("ImportDestination").start_object(); crate::json_ser::serialize_structure_crate_model_import_destination( &mut object_69, @@ -291,6 +309,7 @@ pub fn serialize_structure_crate_input_list_contacts_input( input: &crate::input::ListContactsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.filter { + #[allow(unused_mut)] let mut object_71 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_list_contacts_filter( &mut object_71, @@ -477,6 +496,7 @@ pub fn serialize_structure_crate_input_put_deliverability_dashboard_option_input let mut array_93 = object.key("SubscribedDomains").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_domain_deliverability_tracking_option(&mut object_95, item_94)?; object_95.finish(); @@ -512,6 +532,7 @@ pub fn serialize_structure_crate_input_put_email_identity_dkim_signing_attribute input: &crate::input::PutEmailIdentityDkimSigningAttributesInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_97) = &input.signing_attributes { + #[allow(unused_mut)] let mut object_98 = object.key("SigningAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_dkim_signing_attributes( &mut object_98, @@ -573,6 +594,7 @@ pub fn serialize_structure_crate_input_send_bulk_email_input( let mut array_105 = object.key("BulkEmailEntries").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_bulk_email_entry( &mut object_107, @@ -587,6 +609,7 @@ pub fn serialize_structure_crate_input_send_bulk_email_input( object.key("ConfigurationSetName").string(var_108.as_str()); } if let Some(var_109) = &input.default_content { + #[allow(unused_mut)] let mut object_110 = object.key("DefaultContent").start_object(); crate::json_ser::serialize_structure_crate_model_bulk_email_content( &mut object_110, @@ -598,6 +621,7 @@ pub fn serialize_structure_crate_input_send_bulk_email_input( let mut array_112 = object.key("DefaultEmailTags").start_array(); for item_113 in var_111 { { + #[allow(unused_mut)] let mut object_114 = array_112.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_tag( &mut object_114, @@ -662,11 +686,13 @@ pub fn serialize_structure_crate_input_send_email_input( object.key("ConfigurationSetName").string(var_125.as_str()); } if let Some(var_126) = &input.content { + #[allow(unused_mut)] let mut object_127 = object.key("Content").start_object(); crate::json_ser::serialize_structure_crate_model_email_content(&mut object_127, var_126)?; object_127.finish(); } if let Some(var_128) = &input.destination { + #[allow(unused_mut)] let mut object_129 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_destination(&mut object_129, var_128)?; object_129.finish(); @@ -675,6 +701,7 @@ pub fn serialize_structure_crate_input_send_email_input( let mut array_131 = object.key("EmailTags").start_array(); for item_132 in var_130 { { + #[allow(unused_mut)] let mut object_133 = array_131.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_tag( &mut object_133, @@ -704,6 +731,7 @@ pub fn serialize_structure_crate_input_send_email_input( .string(var_137.as_str()); } if let Some(var_138) = &input.list_management_options { + #[allow(unused_mut)] let mut object_139 = object.key("ListManagementOptions").start_object(); crate::json_ser::serialize_structure_crate_model_list_management_options( &mut object_139, @@ -734,6 +762,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_145 = object.key("Tags").start_array(); for item_146 in var_144 { { + #[allow(unused_mut)] let mut object_147 = array_145.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_147, item_146)?; object_147.finish(); @@ -759,6 +788,7 @@ pub fn serialize_structure_crate_input_update_configuration_set_event_destinatio input: &crate::input::UpdateConfigurationSetEventDestinationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_149) = &input.event_destination { + #[allow(unused_mut)] let mut object_150 = object.key("EventDestination").start_object(); crate::json_ser::serialize_structure_crate_model_event_destination_definition( &mut object_150, @@ -780,6 +810,7 @@ pub fn serialize_structure_crate_input_update_contact_input( let mut array_153 = object.key("TopicPreferences").start_array(); for item_154 in var_152 { { + #[allow(unused_mut)] let mut object_155 = array_153.value().start_object(); crate::json_ser::serialize_structure_crate_model_topic_preference( &mut object_155, @@ -807,6 +838,7 @@ pub fn serialize_structure_crate_input_update_contact_list_input( let mut array_158 = object.key("Topics").start_array(); for item_159 in var_157 { { + #[allow(unused_mut)] let mut object_160 = array_158.value().start_object(); crate::json_ser::serialize_structure_crate_model_topic(&mut object_160, item_159)?; object_160.finish(); @@ -854,6 +886,7 @@ pub fn serialize_structure_crate_input_update_email_template_input( input: &crate::input::UpdateEmailTemplateInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_167) = &input.template_content { + #[allow(unused_mut)] let mut object_168 = object.key("TemplateContent").start_object(); crate::json_ser::serialize_structure_crate_model_email_template_content( &mut object_168, @@ -960,6 +993,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( array_179.finish(); } if let Some(var_181) = &input.kinesis_firehose_destination { + #[allow(unused_mut)] let mut object_182 = object.key("KinesisFirehoseDestination").start_object(); crate::json_ser::serialize_structure_crate_model_kinesis_firehose_destination( &mut object_182, @@ -968,6 +1002,7 @@ pub fn serialize_structure_crate_model_event_destination_definition( object_182.finish(); } if let Some(var_183) = &input.cloud_watch_destination { + #[allow(unused_mut)] let mut object_184 = object.key("CloudWatchDestination").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_destination( &mut object_184, @@ -976,11 +1011,13 @@ pub fn serialize_structure_crate_model_event_destination_definition( object_184.finish(); } if let Some(var_185) = &input.sns_destination { + #[allow(unused_mut)] let mut object_186 = object.key("SnsDestination").start_object(); crate::json_ser::serialize_structure_crate_model_sns_destination(&mut object_186, var_185)?; object_186.finish(); } if let Some(var_187) = &input.pinpoint_destination { + #[allow(unused_mut)] let mut object_188 = object.key("PinpointDestination").start_object(); crate::json_ser::serialize_structure_crate_model_pinpoint_destination( &mut object_188, @@ -1030,16 +1067,19 @@ pub fn serialize_structure_crate_model_email_content( input: &crate::model::EmailContent, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_195) = &input.simple { + #[allow(unused_mut)] let mut object_196 = object.key("Simple").start_object(); crate::json_ser::serialize_structure_crate_model_message(&mut object_196, var_195)?; object_196.finish(); } if let Some(var_197) = &input.raw { + #[allow(unused_mut)] let mut object_198 = object.key("Raw").start_object(); crate::json_ser::serialize_structure_crate_model_raw_message(&mut object_198, var_197)?; object_198.finish(); } if let Some(var_199) = &input.template { + #[allow(unused_mut)] let mut object_200 = object.key("Template").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_200, var_199)?; object_200.finish(); @@ -1099,6 +1139,7 @@ pub fn serialize_structure_crate_model_import_destination( input: &crate::model::ImportDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_209) = &input.suppression_list_destination { + #[allow(unused_mut)] let mut object_210 = object.key("SuppressionListDestination").start_object(); crate::json_ser::serialize_structure_crate_model_suppression_list_destination( &mut object_210, @@ -1107,6 +1148,7 @@ pub fn serialize_structure_crate_model_import_destination( object_210.finish(); } if let Some(var_211) = &input.contact_list_destination { + #[allow(unused_mut)] let mut object_212 = object.key("ContactListDestination").start_object(); crate::json_ser::serialize_structure_crate_model_contact_list_destination( &mut object_212, @@ -1125,6 +1167,7 @@ pub fn serialize_structure_crate_model_list_contacts_filter( object.key("FilteredStatus").string(var_213.as_str()); } if let Some(var_214) = &input.topic_filter { + #[allow(unused_mut)] let mut object_215 = object.key("TopicFilter").start_object(); crate::json_ser::serialize_structure_crate_model_topic_filter(&mut object_215, var_214)?; object_215.finish(); @@ -1145,6 +1188,7 @@ pub fn serialize_structure_crate_model_domain_deliverability_tracking_option( .date_time(var_217, aws_smithy_types::date_time::Format::EpochSeconds)?; } if let Some(var_218) = &input.inbox_placement_tracking_option { + #[allow(unused_mut)] let mut object_219 = object.key("InboxPlacementTrackingOption").start_object(); crate::json_ser::serialize_structure_crate_model_inbox_placement_tracking_option( &mut object_219, @@ -1160,6 +1204,7 @@ pub fn serialize_structure_crate_model_bulk_email_entry( input: &crate::model::BulkEmailEntry, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_220) = &input.destination { + #[allow(unused_mut)] let mut object_221 = object.key("Destination").start_object(); crate::json_ser::serialize_structure_crate_model_destination(&mut object_221, var_220)?; object_221.finish(); @@ -1168,6 +1213,7 @@ pub fn serialize_structure_crate_model_bulk_email_entry( let mut array_223 = object.key("ReplacementTags").start_array(); for item_224 in var_222 { { + #[allow(unused_mut)] let mut object_225 = array_223.value().start_object(); crate::json_ser::serialize_structure_crate_model_message_tag( &mut object_225, @@ -1179,6 +1225,7 @@ pub fn serialize_structure_crate_model_bulk_email_entry( array_223.finish(); } if let Some(var_226) = &input.replacement_email_content { + #[allow(unused_mut)] let mut object_227 = object.key("ReplacementEmailContent").start_object(); crate::json_ser::serialize_structure_crate_model_replacement_email_content( &mut object_227, @@ -1194,6 +1241,7 @@ pub fn serialize_structure_crate_model_bulk_email_content( input: &crate::model::BulkEmailContent, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_228) = &input.template { + #[allow(unused_mut)] let mut object_229 = object.key("Template").start_object(); crate::json_ser::serialize_structure_crate_model_template(&mut object_229, var_228)?; object_229.finish(); @@ -1282,6 +1330,7 @@ pub fn serialize_structure_crate_model_cloud_watch_destination( let mut array_246 = object.key("DimensionConfigurations").start_array(); for item_247 in var_245 { { + #[allow(unused_mut)] let mut object_248 = array_246.value().start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_dimension_configuration(&mut object_248, item_247)?; object_248.finish(); @@ -1317,11 +1366,13 @@ pub fn serialize_structure_crate_model_message( input: &crate::model::Message, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_251) = &input.subject { + #[allow(unused_mut)] let mut object_252 = object.key("Subject").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_252, var_251)?; object_252.finish(); } if let Some(var_253) = &input.body { + #[allow(unused_mut)] let mut object_254 = object.key("Body").start_object(); crate::json_ser::serialize_structure_crate_model_body(&mut object_254, var_253)?; object_254.finish(); @@ -1423,6 +1474,7 @@ pub fn serialize_structure_crate_model_replacement_email_content( input: &crate::model::ReplacementEmailContent, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_266) = &input.replacement_template { + #[allow(unused_mut)] let mut object_267 = object.key("ReplacementTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_replacement_template( &mut object_267, @@ -1467,11 +1519,13 @@ pub fn serialize_structure_crate_model_body( input: &crate::model::Body, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_273) = &input.text { + #[allow(unused_mut)] let mut object_274 = object.key("Text").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_274, var_273)?; object_274.finish(); } if let Some(var_275) = &input.html { + #[allow(unused_mut)] let mut object_276 = object.key("Html").start_object(); crate::json_ser::serialize_structure_crate_model_content(&mut object_276, var_275)?; object_276.finish(); diff --git a/sdk/sfn/src/json_ser.rs b/sdk/sfn/src/json_ser.rs index 9b917de1ae43..df2982361773 100644 --- a/sdk/sfn/src/json_ser.rs +++ b/sdk/sfn/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_activity_input( let mut array_3 = object.key("tags").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_5, item_4)?; object_5.finish(); @@ -37,6 +38,7 @@ pub fn serialize_structure_crate_input_create_state_machine_input( object.key("type").string(var_9.as_str()); } if let Some(var_10) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_11 = object.key("loggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_11, @@ -48,6 +50,7 @@ pub fn serialize_structure_crate_input_create_state_machine_input( let mut array_13 = object.key("tags").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_15, item_14)?; object_15.finish(); @@ -56,6 +59,7 @@ pub fn serialize_structure_crate_input_create_state_machine_input( array_13.finish(); } if let Some(var_16) = &input.tracing_configuration { + #[allow(unused_mut)] let mut object_17 = object.key("tracingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_tracing_configuration( &mut object_17, @@ -332,6 +336,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_54 = object.key("tags").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_56, item_55)?; object_56.finish(); @@ -375,6 +380,7 @@ pub fn serialize_structure_crate_input_update_state_machine_input( object.key("roleArn").string(var_63.as_str()); } if let Some(var_64) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_65 = object.key("loggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_65, @@ -383,6 +389,7 @@ pub fn serialize_structure_crate_input_update_state_machine_input( object_65.finish(); } if let Some(var_66) = &input.tracing_configuration { + #[allow(unused_mut)] let mut object_67 = object.key("tracingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_tracing_configuration( &mut object_67, @@ -422,6 +429,7 @@ pub fn serialize_structure_crate_model_logging_configuration( let mut array_72 = object.key("destinations").start_array(); for item_73 in var_71 { { + #[allow(unused_mut)] let mut object_74 = array_72.value().start_object(); crate::json_ser::serialize_structure_crate_model_log_destination( &mut object_74, @@ -450,6 +458,7 @@ pub fn serialize_structure_crate_model_log_destination( input: &crate::model::LogDestination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_75) = &input.cloud_watch_logs_log_group { + #[allow(unused_mut)] let mut object_76 = object.key("cloudWatchLogsLogGroup").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_logs_log_group( &mut object_76, diff --git a/sdk/shield/src/json_ser.rs b/sdk/shield/src/json_ser.rs index 69f12de354b5..c17851b97a2a 100644 --- a/sdk/shield/src/json_ser.rs +++ b/sdk/shield/src/json_ser.rs @@ -40,6 +40,7 @@ pub fn serialize_structure_crate_input_associate_proactive_engagement_details_in let mut array_6 = object.key("EmergencyContactList").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_emergency_contact( &mut object_8, @@ -67,6 +68,7 @@ pub fn serialize_structure_crate_input_create_protection_input( let mut array_12 = object.key("Tags").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_14, item_13)?; object_14.finish(); @@ -106,6 +108,7 @@ pub fn serialize_structure_crate_input_create_protection_group_input( let mut array_23 = object.key("Tags").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_25, item_24)?; object_25.finish(); @@ -210,6 +213,7 @@ pub fn serialize_structure_crate_input_enable_application_layer_automatic_respon object.key("ResourceArn").string(var_36.as_str()); } if let Some(var_37) = &input.action { + #[allow(unused_mut)] let mut object_38 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_response_action(&mut object_38, var_37)?; object_38.finish(); @@ -231,11 +235,13 @@ pub fn serialize_structure_crate_input_list_attacks_input( array_40.finish(); } if let Some(var_42) = &input.start_time { + #[allow(unused_mut)] let mut object_43 = object.key("StartTime").start_object(); crate::json_ser::serialize_structure_crate_model_time_range(&mut object_43, var_42)?; object_43.finish(); } if let Some(var_44) = &input.end_time { + #[allow(unused_mut)] let mut object_45 = object.key("EndTime").start_object(); crate::json_ser::serialize_structure_crate_model_time_range(&mut object_45, var_44)?; object_45.finish(); @@ -266,6 +272,7 @@ pub fn serialize_structure_crate_input_list_protection_groups_input( ); } if let Some(var_50) = &input.inclusion_filters { + #[allow(unused_mut)] let mut object_51 = object.key("InclusionFilters").start_object(); crate::json_ser::serialize_structure_crate_model_inclusion_protection_group_filters( &mut object_51, @@ -290,6 +297,7 @@ pub fn serialize_structure_crate_input_list_protections_input( ); } if let Some(var_54) = &input.inclusion_filters { + #[allow(unused_mut)] let mut object_55 = object.key("InclusionFilters").start_object(); crate::json_ser::serialize_structure_crate_model_inclusion_protection_filters( &mut object_55, @@ -340,6 +348,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_62 = object.key("Tags").start_array(); for item_63 in var_61 { { + #[allow(unused_mut)] let mut object_64 = array_62.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_64, item_63)?; object_64.finish(); @@ -377,6 +386,7 @@ pub fn serialize_structure_crate_input_update_application_layer_automatic_respon object.key("ResourceArn").string(var_69.as_str()); } if let Some(var_70) = &input.action { + #[allow(unused_mut)] let mut object_71 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_response_action(&mut object_71, var_70)?; object_71.finish(); @@ -392,6 +402,7 @@ pub fn serialize_structure_crate_input_update_emergency_contact_settings_input( let mut array_73 = object.key("EmergencyContactList").start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_emergency_contact( &mut object_75, @@ -477,11 +488,13 @@ pub fn serialize_structure_crate_model_response_action( input: &crate::model::ResponseAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_89) = &input.block { + #[allow(unused_mut)] let mut object_90 = object.key("Block").start_object(); crate::json_ser::serialize_structure_crate_model_block_action(&mut object_90, var_89)?; object_90.finish(); } if let Some(var_91) = &input.count { + #[allow(unused_mut)] let mut object_92 = object.key("Count").start_object(); crate::json_ser::serialize_structure_crate_model_count_action(&mut object_92, var_91)?; object_92.finish(); diff --git a/sdk/signer/src/json_ser.rs b/sdk/signer/src/json_ser.rs index eeefb6468430..88eccea4e375 100644 --- a/sdk/signer/src/json_ser.rs +++ b/sdk/signer/src/json_ser.rs @@ -26,6 +26,7 @@ pub fn serialize_structure_crate_input_put_signing_profile_input( input: &crate::input::PutSigningProfileInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_6) = &input.overrides { + #[allow(unused_mut)] let mut object_7 = object.key("overrides").start_object(); crate::json_ser::serialize_structure_crate_model_signing_platform_overrides( &mut object_7, @@ -37,6 +38,7 @@ pub fn serialize_structure_crate_input_put_signing_profile_input( object.key("platformId").string(var_8.as_str()); } if let Some(var_9) = &input.signature_validity_period { + #[allow(unused_mut)] let mut object_10 = object.key("signatureValidityPeriod").start_object(); crate::json_ser::serialize_structure_crate_model_signature_validity_period( &mut object_10, @@ -45,11 +47,13 @@ pub fn serialize_structure_crate_input_put_signing_profile_input( object_10.finish(); } if let Some(var_11) = &input.signing_material { + #[allow(unused_mut)] let mut object_12 = object.key("signingMaterial").start_object(); crate::json_ser::serialize_structure_crate_model_signing_material(&mut object_12, var_11)?; object_12.finish(); } if let Some(var_13) = &input.signing_parameters { + #[allow(unused_mut)] let mut object_14 = object.key("signingParameters").start_object(); for (key_15, value_16) in var_13 { { @@ -59,6 +63,7 @@ pub fn serialize_structure_crate_input_put_signing_profile_input( object_14.finish(); } if let Some(var_17) = &input.tags { + #[allow(unused_mut)] let mut object_18 = object.key("tags").start_object(); for (key_19, value_20) in var_17 { { @@ -109,6 +114,7 @@ pub fn serialize_structure_crate_input_start_signing_job_input( object.key("clientRequestToken").string(var_26.as_str()); } if let Some(var_27) = &input.destination { + #[allow(unused_mut)] let mut object_28 = object.key("destination").start_object(); crate::json_ser::serialize_structure_crate_model_destination(&mut object_28, var_27)?; object_28.finish(); @@ -120,6 +126,7 @@ pub fn serialize_structure_crate_input_start_signing_job_input( object.key("profileOwner").string(var_30.as_str()); } if let Some(var_31) = &input.source { + #[allow(unused_mut)] let mut object_32 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_32, var_31)?; object_32.finish(); @@ -132,6 +139,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_33) = &input.tags { + #[allow(unused_mut)] let mut object_34 = object.key("tags").start_object(); for (key_35, value_36) in var_33 { { @@ -148,6 +156,7 @@ pub fn serialize_structure_crate_model_signing_platform_overrides( input: &crate::model::SigningPlatformOverrides, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_37) = &input.signing_configuration { + #[allow(unused_mut)] let mut object_38 = object.key("signingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_signing_configuration_overrides( &mut object_38, @@ -192,6 +201,7 @@ pub fn serialize_structure_crate_model_destination( input: &crate::model::Destination, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_42) = &input.s3 { + #[allow(unused_mut)] let mut object_43 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_destination(&mut object_43, var_42)?; object_43.finish(); @@ -204,6 +214,7 @@ pub fn serialize_structure_crate_model_source( input: &crate::model::Source, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_44) = &input.s3 { + #[allow(unused_mut)] let mut object_45 = object.key("s3").start_object(); crate::json_ser::serialize_structure_crate_model_s3_source(&mut object_45, var_44)?; object_45.finish(); diff --git a/sdk/sms/src/json_ser.rs b/sdk/sms/src/json_ser.rs index 5611e589f693..5e7dac7e9996 100644 --- a/sdk/sms/src/json_ser.rs +++ b/sdk/sms/src/json_ser.rs @@ -19,6 +19,7 @@ pub fn serialize_structure_crate_input_create_app_input( let mut array_6 = object.key("serverGroups").start_array(); for item_7 in var_5 { { + #[allow(unused_mut)] let mut object_8 = array_6.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_group( &mut object_8, @@ -33,6 +34,7 @@ pub fn serialize_structure_crate_input_create_app_input( let mut array_10 = object.key("tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -301,6 +303,7 @@ pub fn serialize_structure_crate_input_get_servers_input( let mut array_51 = object.key("vmServerAddressList").start_array(); for item_52 in var_50 { { + #[allow(unused_mut)] let mut object_53 = array_51.value().start_object(); crate::json_ser::serialize_structure_crate_model_vm_server_address( &mut object_53, @@ -367,6 +370,7 @@ pub fn serialize_structure_crate_input_notify_app_validation_output_input( object.key("appId").string(var_61.as_str()); } if let Some(var_62) = &input.notification_context { + #[allow(unused_mut)] let mut object_63 = object.key("notificationContext").start_object(); crate::json_ser::serialize_structure_crate_model_notification_context( &mut object_63, @@ -394,6 +398,7 @@ pub fn serialize_structure_crate_input_put_app_launch_configuration_input( let mut array_68 = object.key("serverGroupLaunchConfigurations").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_group_launch_configuration( &mut object_70, @@ -420,6 +425,7 @@ pub fn serialize_structure_crate_input_put_app_replication_configuration_input( .start_array(); for item_74 in var_72 { { + #[allow(unused_mut)] let mut object_75 = array_73.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_group_replication_configuration(&mut object_75, item_74)?; object_75.finish(); @@ -441,6 +447,7 @@ pub fn serialize_structure_crate_input_put_app_validation_configuration_input( let mut array_78 = object.key("appValidationConfigurations").start_array(); for item_79 in var_77 { { + #[allow(unused_mut)] let mut object_80 = array_78.value().start_object(); crate::json_ser::serialize_structure_crate_model_app_validation_configuration( &mut object_80, @@ -457,6 +464,7 @@ pub fn serialize_structure_crate_input_put_app_validation_configuration_input( .start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_group_validation_configuration(&mut object_84, item_83)?; object_84.finish(); @@ -543,6 +551,7 @@ pub fn serialize_structure_crate_input_update_app_input( let mut array_97 = object.key("serverGroups").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_group( &mut object_99, @@ -557,6 +566,7 @@ pub fn serialize_structure_crate_input_update_app_input( let mut array_101 = object.key("tags").start_array(); for item_102 in var_100 { { + #[allow(unused_mut)] let mut object_103 = array_101.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_103, item_102)?; object_103.finish(); @@ -623,6 +633,7 @@ pub fn serialize_structure_crate_model_server_group( let mut array_116 = object.key("serverList").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_server(&mut object_118, item_117)?; object_118.finish(); @@ -692,6 +703,7 @@ pub fn serialize_structure_crate_model_server_group_launch_configuration( let mut array_129 = object.key("serverLaunchConfigurations").start_array(); for item_130 in var_128 { { + #[allow(unused_mut)] let mut object_131 = array_129.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_launch_configuration( &mut object_131, @@ -716,6 +728,7 @@ pub fn serialize_structure_crate_model_server_group_replication_configuration( let mut array_134 = object.key("serverReplicationConfigurations").start_array(); for item_135 in var_133 { { + #[allow(unused_mut)] let mut object_136 = array_134.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_replication_configuration( &mut object_136, @@ -743,6 +756,7 @@ pub fn serialize_structure_crate_model_app_validation_configuration( object.key("appValidationStrategy").string(var_139.as_str()); } if let Some(var_140) = &input.ssm_validation_parameters { + #[allow(unused_mut)] let mut object_141 = object.key("ssmValidationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_ssm_validation_parameters( &mut object_141, @@ -764,6 +778,7 @@ pub fn serialize_structure_crate_model_server_group_validation_configuration( let mut array_144 = object.key("serverValidationConfigurations").start_array(); for item_145 in var_143 { { + #[allow(unused_mut)] let mut object_146 = array_144.value().start_object(); crate::json_ser::serialize_structure_crate_model_server_validation_configuration( &mut object_146, @@ -788,6 +803,7 @@ pub fn serialize_structure_crate_model_server( object.key("serverType").string(var_148.as_str()); } if let Some(var_149) = &input.vm_server { + #[allow(unused_mut)] let mut object_150 = object.key("vmServer").start_object(); crate::json_ser::serialize_structure_crate_model_vm_server(&mut object_150, var_149)?; object_150.finish(); @@ -806,6 +822,7 @@ pub fn serialize_structure_crate_model_server_launch_configuration( input: &crate::model::ServerLaunchConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_153) = &input.server { + #[allow(unused_mut)] let mut object_154 = object.key("server").start_object(); crate::json_ser::serialize_structure_crate_model_server(&mut object_154, var_153)?; object_154.finish(); @@ -826,6 +843,7 @@ pub fn serialize_structure_crate_model_server_launch_configuration( object.key("ec2KeyName").string(var_159.as_str()); } if let Some(var_160) = &input.user_data { + #[allow(unused_mut)] let mut object_161 = object.key("userData").start_object(); crate::json_ser::serialize_structure_crate_model_user_data(&mut object_161, var_160)?; object_161.finish(); @@ -842,6 +860,7 @@ pub fn serialize_structure_crate_model_server_launch_configuration( .string(var_164.as_str()); } if let Some(var_165) = &input.configure_script { + #[allow(unused_mut)] let mut object_166 = object.key("configureScript").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_166, var_165)?; object_166.finish(); @@ -857,11 +876,13 @@ pub fn serialize_structure_crate_model_server_replication_configuration( input: &crate::model::ServerReplicationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_168) = &input.server { + #[allow(unused_mut)] let mut object_169 = object.key("server").start_object(); crate::json_ser::serialize_structure_crate_model_server(&mut object_169, var_168)?; object_169.finish(); } if let Some(var_170) = &input.server_replication_parameters { + #[allow(unused_mut)] let mut object_171 = object.key("serverReplicationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_server_replication_parameters( &mut object_171, @@ -877,6 +898,7 @@ pub fn serialize_structure_crate_model_ssm_validation_parameters( input: &crate::model::SsmValidationParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_172) = &input.source { + #[allow(unused_mut)] let mut object_173 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_173, var_172)?; object_173.finish(); @@ -907,6 +929,7 @@ pub fn serialize_structure_crate_model_server_validation_configuration( input: &crate::model::ServerValidationConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_178) = &input.server { + #[allow(unused_mut)] let mut object_179 = object.key("server").start_object(); crate::json_ser::serialize_structure_crate_model_server(&mut object_179, var_178)?; object_179.finish(); @@ -923,6 +946,7 @@ pub fn serialize_structure_crate_model_server_validation_configuration( .string(var_182.as_str()); } if let Some(var_183) = &input.user_data_validation_parameters { + #[allow(unused_mut)] let mut object_184 = object.key("userDataValidationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_user_data_validation_parameters( &mut object_184, @@ -938,6 +962,7 @@ pub fn serialize_structure_crate_model_vm_server( input: &crate::model::VmServer, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_185) = &input.vm_server_address { + #[allow(unused_mut)] let mut object_186 = object.key("vmServerAddress").start_object(); crate::json_ser::serialize_structure_crate_model_vm_server_address( &mut object_186, @@ -965,6 +990,7 @@ pub fn serialize_structure_crate_model_user_data( input: &crate::model::UserData, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_191) = &input.s3_location { + #[allow(unused_mut)] let mut object_192 = object.key("s3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_192, var_191)?; object_192.finish(); @@ -1026,6 +1052,7 @@ pub fn serialize_structure_crate_model_source( input: &crate::model::Source, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_202) = &input.s3_location { + #[allow(unused_mut)] let mut object_203 = object.key("s3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_location(&mut object_203, var_202)?; object_203.finish(); @@ -1038,6 +1065,7 @@ pub fn serialize_structure_crate_model_user_data_validation_parameters( input: &crate::model::UserDataValidationParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_204) = &input.source { + #[allow(unused_mut)] let mut object_205 = object.key("source").start_object(); crate::json_ser::serialize_structure_crate_model_source(&mut object_205, var_204)?; object_205.finish(); diff --git a/sdk/snowball/src/json_ser.rs b/sdk/snowball/src/json_ser.rs index 0b522414ef4c..695221b3747f 100644 --- a/sdk/snowball/src/json_ser.rs +++ b/sdk/snowball/src/json_ser.rs @@ -24,6 +24,7 @@ pub fn serialize_structure_crate_input_create_address_input( input: &crate::input::CreateAddressInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3) = &input.address { + #[allow(unused_mut)] let mut object_4 = object.key("Address").start_object(); crate::json_ser::serialize_structure_crate_model_address(&mut object_4, var_3)?; object_4.finish(); @@ -39,11 +40,13 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("JobType").string(var_5.as_str()); } if let Some(var_6) = &input.resources { + #[allow(unused_mut)] let mut object_7 = object.key("Resources").start_object(); crate::json_ser::serialize_structure_crate_model_job_resource(&mut object_7, var_6)?; object_7.finish(); } if let Some(var_8) = &input.on_device_service_configuration { + #[allow(unused_mut)] let mut object_9 = object.key("OnDeviceServiceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_on_device_service_configuration( &mut object_9, @@ -70,6 +73,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("ShippingOption").string(var_15.as_str()); } if let Some(var_16) = &input.notification { + #[allow(unused_mut)] let mut object_17 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_17, var_16)?; object_17.finish(); @@ -78,6 +82,7 @@ pub fn serialize_structure_crate_input_create_cluster_input( object.key("ForwardingAddressId").string(var_18.as_str()); } if let Some(var_19) = &input.tax_documents { + #[allow(unused_mut)] let mut object_20 = object.key("TaxDocuments").start_object(); crate::json_ser::serialize_structure_crate_model_tax_documents(&mut object_20, var_19)?; object_20.finish(); @@ -96,11 +101,13 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("JobType").string(var_22.as_str()); } if let Some(var_23) = &input.resources { + #[allow(unused_mut)] let mut object_24 = object.key("Resources").start_object(); crate::json_ser::serialize_structure_crate_model_job_resource(&mut object_24, var_23)?; object_24.finish(); } if let Some(var_25) = &input.on_device_service_configuration { + #[allow(unused_mut)] let mut object_26 = object.key("OnDeviceServiceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_on_device_service_configuration( &mut object_26, @@ -129,6 +136,7 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("ShippingOption").string(var_32.as_str()); } if let Some(var_33) = &input.notification { + #[allow(unused_mut)] let mut object_34 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_34, var_33)?; object_34.finish(); @@ -143,11 +151,13 @@ pub fn serialize_structure_crate_input_create_job_input( object.key("ForwardingAddressId").string(var_37.as_str()); } if let Some(var_38) = &input.tax_documents { + #[allow(unused_mut)] let mut object_39 = object.key("TaxDocuments").start_object(); crate::json_ser::serialize_structure_crate_model_tax_documents(&mut object_39, var_38)?; object_39.finish(); } if let Some(var_40) = &input.device_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("DeviceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_device_configuration( &mut object_41, @@ -376,11 +386,13 @@ pub fn serialize_structure_crate_input_update_cluster_input( object.key("Description").string(var_71.as_str()); } if let Some(var_72) = &input.resources { + #[allow(unused_mut)] let mut object_73 = object.key("Resources").start_object(); crate::json_ser::serialize_structure_crate_model_job_resource(&mut object_73, var_72)?; object_73.finish(); } if let Some(var_74) = &input.on_device_service_configuration { + #[allow(unused_mut)] let mut object_75 = object.key("OnDeviceServiceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_on_device_service_configuration( &mut object_75, @@ -395,6 +407,7 @@ pub fn serialize_structure_crate_input_update_cluster_input( object.key("ShippingOption").string(var_77.as_str()); } if let Some(var_78) = &input.notification { + #[allow(unused_mut)] let mut object_79 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_79, var_78)?; object_79.finish(); @@ -416,16 +429,19 @@ pub fn serialize_structure_crate_input_update_job_input( object.key("RoleARN").string(var_82.as_str()); } if let Some(var_83) = &input.notification { + #[allow(unused_mut)] let mut object_84 = object.key("Notification").start_object(); crate::json_ser::serialize_structure_crate_model_notification(&mut object_84, var_83)?; object_84.finish(); } if let Some(var_85) = &input.resources { + #[allow(unused_mut)] let mut object_86 = object.key("Resources").start_object(); crate::json_ser::serialize_structure_crate_model_job_resource(&mut object_86, var_85)?; object_86.finish(); } if let Some(var_87) = &input.on_device_service_configuration { + #[allow(unused_mut)] let mut object_88 = object.key("OnDeviceServiceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_on_device_service_configuration( &mut object_88, @@ -539,6 +555,7 @@ pub fn serialize_structure_crate_model_job_resource( let mut array_113 = object.key("S3Resources").start_array(); for item_114 in var_112 { { + #[allow(unused_mut)] let mut object_115 = array_113.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_resource( &mut object_115, @@ -553,6 +570,7 @@ pub fn serialize_structure_crate_model_job_resource( let mut array_117 = object.key("LambdaResources").start_array(); for item_118 in var_116 { { + #[allow(unused_mut)] let mut object_119 = array_117.value().start_object(); crate::json_ser::serialize_structure_crate_model_lambda_resource( &mut object_119, @@ -567,6 +585,7 @@ pub fn serialize_structure_crate_model_job_resource( let mut array_121 = object.key("Ec2AmiResources").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_ec2_ami_resource( &mut object_123, @@ -585,6 +604,7 @@ pub fn serialize_structure_crate_model_on_device_service_configuration( input: &crate::model::OnDeviceServiceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_124) = &input.nfs_on_device_service { + #[allow(unused_mut)] let mut object_125 = object.key("NFSOnDeviceService").start_object(); crate::json_ser::serialize_structure_crate_model_nfs_on_device_service_configuration( &mut object_125, @@ -593,6 +613,7 @@ pub fn serialize_structure_crate_model_on_device_service_configuration( object_125.finish(); } if let Some(var_126) = &input.tgw_on_device_service { + #[allow(unused_mut)] let mut object_127 = object.key("TGWOnDeviceService").start_object(); crate::json_ser::serialize_structure_crate_model_tgw_on_device_service_configuration( &mut object_127, @@ -630,6 +651,7 @@ pub fn serialize_structure_crate_model_tax_documents( input: &crate::model::TaxDocuments, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_132) = &input.ind { + #[allow(unused_mut)] let mut object_133 = object.key("IND").start_object(); crate::json_ser::serialize_structure_crate_model_ind_tax_documents( &mut object_133, @@ -645,6 +667,7 @@ pub fn serialize_structure_crate_model_device_configuration( input: &crate::model::DeviceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_134) = &input.snowcone_device_configuration { + #[allow(unused_mut)] let mut object_135 = object.key("SnowconeDeviceConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_snowcone_device_configuration( &mut object_135, @@ -663,6 +686,7 @@ pub fn serialize_structure_crate_model_s3_resource( object.key("BucketArn").string(var_136.as_str()); } if let Some(var_137) = &input.key_range { + #[allow(unused_mut)] let mut object_138 = object.key("KeyRange").start_object(); crate::json_ser::serialize_structure_crate_model_key_range(&mut object_138, var_137)?; object_138.finish(); @@ -671,6 +695,7 @@ pub fn serialize_structure_crate_model_s3_resource( let mut array_140 = object.key("TargetOnDeviceServices").start_array(); for item_141 in var_139 { { + #[allow(unused_mut)] let mut object_142 = array_140.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_on_device_service( &mut object_142, @@ -695,6 +720,7 @@ pub fn serialize_structure_crate_model_lambda_resource( let mut array_145 = object.key("EventTriggers").start_array(); for item_146 in var_144 { { + #[allow(unused_mut)] let mut object_147 = array_145.value().start_object(); crate::json_ser::serialize_structure_crate_model_event_trigger_definition( &mut object_147, @@ -768,6 +794,7 @@ pub fn serialize_structure_crate_model_snowcone_device_configuration( input: &crate::model::SnowconeDeviceConfiguration, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_153) = &input.wireless_connection { + #[allow(unused_mut)] let mut object_154 = object.key("WirelessConnection").start_object(); crate::json_ser::serialize_structure_crate_model_wireless_connection( &mut object_154, diff --git a/sdk/snowdevicemanagement/src/json_ser.rs b/sdk/snowdevicemanagement/src/json_ser.rs index bf8c7c0752d8..c7535b1fc0f4 100644 --- a/sdk/snowdevicemanagement/src/json_ser.rs +++ b/sdk/snowdevicemanagement/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_create_task_input( object.key("clientToken").string(var_1.as_str()); } if let Some(var_2) = &input.command { + #[allow(unused_mut)] let mut object_3 = object.key("command").start_object(); crate::json_ser::serialize_union_crate_model_command(&mut object_3, var_2)?; object_3.finish(); @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_create_task_input( object.key("description").string(var_4.as_str()); } if let Some(var_5) = &input.tags { + #[allow(unused_mut)] let mut object_6 = object.key("tags").start_object(); for (key_7, value_8) in var_5 { { @@ -56,6 +58,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_15) = &input.tags { + #[allow(unused_mut)] let mut object_16 = object.key("tags").start_object(); for (key_17, value_18) in var_15 { { @@ -73,11 +76,13 @@ pub fn serialize_union_crate_model_command( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Command::Unlock(inner) => { + #[allow(unused_mut)] let mut object_19 = object_3.key("unlock").start_object(); crate::json_ser::serialize_structure_crate_model_unlock(&mut object_19, inner)?; object_19.finish(); } crate::model::Command::Reboot(inner) => { + #[allow(unused_mut)] let mut object_20 = object_3.key("reboot").start_object(); crate::json_ser::serialize_structure_crate_model_reboot(&mut object_20, inner)?; object_20.finish(); diff --git a/sdk/ssm/src/json_ser.rs b/sdk/ssm/src/json_ser.rs index 943bd8517dc2..8d1693b81077 100644 --- a/sdk/ssm/src/json_ser.rs +++ b/sdk/ssm/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_add_tags_to_resource_input( let mut array_4 = object.key("Tags").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_6, item_5)?; object_6.finish(); @@ -99,6 +100,7 @@ pub fn serialize_structure_crate_input_create_activation_input( let mut array_22 = object.key("Tags").start_array(); for item_23 in var_21 { { + #[allow(unused_mut)] let mut object_24 = array_22.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_24, item_23)?; object_24.finish(); @@ -110,6 +112,7 @@ pub fn serialize_structure_crate_input_create_activation_input( let mut array_26 = object.key("RegistrationMetadata").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_registration_metadata_item( &mut object_28, @@ -137,6 +140,7 @@ pub fn serialize_structure_crate_input_create_association_input( object.key("InstanceId").string(var_31.as_str()); } if let Some(var_32) = &input.parameters { + #[allow(unused_mut)] let mut object_33 = object.key("Parameters").start_object(); for (key_34, value_35) in var_32 { { @@ -155,6 +159,7 @@ pub fn serialize_structure_crate_input_create_association_input( let mut array_39 = object.key("Targets").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_41, item_40)?; object_41.finish(); @@ -166,6 +171,7 @@ pub fn serialize_structure_crate_input_create_association_input( object.key("ScheduleExpression").string(var_42.as_str()); } if let Some(var_43) = &input.output_location { + #[allow(unused_mut)] let mut object_44 = object.key("OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_instance_association_output_location( &mut object_44, @@ -211,6 +217,7 @@ pub fn serialize_structure_crate_input_create_association_input( let mut array_55 = object.key("TargetLocations").start_array(); for item_56 in var_54 { { + #[allow(unused_mut)] let mut object_57 = array_55.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_location( &mut object_57, @@ -231,6 +238,7 @@ pub fn serialize_structure_crate_input_create_association_input( let mut array_60 = object.key("TargetMaps").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); for (key_63, value_64) in item_61 { { @@ -252,6 +260,7 @@ pub fn serialize_structure_crate_input_create_association_input( let mut array_68 = object.key("Tags").start_array(); for item_69 in var_67 { { + #[allow(unused_mut)] let mut object_70 = array_68.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_70, item_69)?; object_70.finish(); @@ -260,6 +269,7 @@ pub fn serialize_structure_crate_input_create_association_input( array_68.finish(); } if let Some(var_71) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_72 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_72, @@ -278,6 +288,7 @@ pub fn serialize_structure_crate_input_create_association_batch_input( let mut array_74 = object.key("Entries").start_array(); for item_75 in var_73 { { + #[allow(unused_mut)] let mut object_76 = array_74.value().start_object(); crate::json_ser::serialize_structure_crate_model_create_association_batch_request_entry(&mut object_76, item_75)?; object_76.finish(); @@ -299,6 +310,7 @@ pub fn serialize_structure_crate_input_create_document_input( let mut array_79 = object.key("Requires").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_requires( &mut object_81, @@ -313,6 +325,7 @@ pub fn serialize_structure_crate_input_create_document_input( let mut array_83 = object.key("Attachments").start_array(); for item_84 in var_82 { { + #[allow(unused_mut)] let mut object_85 = array_83.value().start_object(); crate::json_ser::serialize_structure_crate_model_attachments_source( &mut object_85, @@ -345,6 +358,7 @@ pub fn serialize_structure_crate_input_create_document_input( let mut array_93 = object.key("Tags").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_95, item_94)?; object_95.finish(); @@ -407,6 +421,7 @@ pub fn serialize_structure_crate_input_create_maintenance_window_input( let mut array_105 = object.key("Tags").start_array(); for item_106 in var_104 { { + #[allow(unused_mut)] let mut object_107 = array_105.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_107, item_106)?; object_107.finish(); @@ -428,9 +443,11 @@ pub fn serialize_structure_crate_input_create_ops_item_input( object.key("OpsItemType").string(var_109.as_str()); } if let Some(var_110) = &input.operational_data { + #[allow(unused_mut)] let mut object_111 = object.key("OperationalData").start_object(); for (key_112, value_113) in var_110 { { + #[allow(unused_mut)] let mut object_114 = object_111.key(key_112.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_data_value( &mut object_114, @@ -445,6 +462,7 @@ pub fn serialize_structure_crate_input_create_ops_item_input( let mut array_116 = object.key("Notifications").start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_notification( &mut object_118, @@ -465,6 +483,7 @@ pub fn serialize_structure_crate_input_create_ops_item_input( let mut array_121 = object.key("RelatedOpsItems").start_array(); for item_122 in var_120 { { + #[allow(unused_mut)] let mut object_123 = array_121.value().start_object(); crate::json_ser::serialize_structure_crate_model_related_ops_item( &mut object_123, @@ -485,6 +504,7 @@ pub fn serialize_structure_crate_input_create_ops_item_input( let mut array_127 = object.key("Tags").start_array(); for item_128 in var_126 { { + #[allow(unused_mut)] let mut object_129 = array_127.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_129, item_128)?; object_129.finish(); @@ -529,9 +549,11 @@ pub fn serialize_structure_crate_input_create_ops_metadata_input( object.key("ResourceId").string(var_136.as_str()); } if let Some(var_137) = &input.metadata { + #[allow(unused_mut)] let mut object_138 = object.key("Metadata").start_object(); for (key_139, value_140) in var_137 { { + #[allow(unused_mut)] let mut object_141 = object_138.key(key_139.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_metadata_value( &mut object_141, @@ -546,6 +568,7 @@ pub fn serialize_structure_crate_input_create_ops_metadata_input( let mut array_143 = object.key("Tags").start_array(); for item_144 in var_142 { { + #[allow(unused_mut)] let mut object_145 = array_143.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_145, item_144)?; object_145.finish(); @@ -567,6 +590,7 @@ pub fn serialize_structure_crate_input_create_patch_baseline_input( object.key("Name").string(var_147.as_str()); } if let Some(var_148) = &input.global_filters { + #[allow(unused_mut)] let mut object_149 = object.key("GlobalFilters").start_object(); crate::json_ser::serialize_structure_crate_model_patch_filter_group( &mut object_149, @@ -575,6 +599,7 @@ pub fn serialize_structure_crate_input_create_patch_baseline_input( object_149.finish(); } if let Some(var_150) = &input.approval_rules { + #[allow(unused_mut)] let mut object_151 = object.key("ApprovalRules").start_object(); crate::json_ser::serialize_structure_crate_model_patch_rule_group( &mut object_151, @@ -620,6 +645,7 @@ pub fn serialize_structure_crate_input_create_patch_baseline_input( let mut array_163 = object.key("Sources").start_array(); for item_164 in var_162 { { + #[allow(unused_mut)] let mut object_165 = array_163.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_source( &mut object_165, @@ -637,6 +663,7 @@ pub fn serialize_structure_crate_input_create_patch_baseline_input( let mut array_168 = object.key("Tags").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_170, item_169)?; object_170.finish(); @@ -655,6 +682,7 @@ pub fn serialize_structure_crate_input_create_resource_data_sync_input( object.key("SyncName").string(var_171.as_str()); } if let Some(var_172) = &input.s3_destination { + #[allow(unused_mut)] let mut object_173 = object.key("S3Destination").start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_sync_s3_destination( &mut object_173, @@ -666,6 +694,7 @@ pub fn serialize_structure_crate_input_create_resource_data_sync_input( object.key("SyncType").string(var_174.as_str()); } if let Some(var_175) = &input.sync_source { + #[allow(unused_mut)] let mut object_176 = object.key("SyncSource").start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_sync_source( &mut object_176, @@ -869,6 +898,7 @@ pub fn serialize_structure_crate_input_describe_activations_input( let mut array_205 = object.key("Filters").start_array(); for item_206 in var_204 { { + #[allow(unused_mut)] let mut object_207 = array_205.value().start_object(); crate::json_ser::serialize_structure_crate_model_describe_activations_filter( &mut object_207, @@ -921,6 +951,7 @@ pub fn serialize_structure_crate_input_describe_association_executions_input( let mut array_216 = object.key("Filters").start_array(); for item_217 in var_215 { { + #[allow(unused_mut)] let mut object_218 = array_216.value().start_object(); crate::json_ser::serialize_structure_crate_model_association_execution_filter( &mut object_218, @@ -957,6 +988,7 @@ pub fn serialize_structure_crate_input_describe_association_execution_targets_in let mut array_224 = object.key("Filters").start_array(); for item_225 in var_223 { { + #[allow(unused_mut)] let mut object_226 = array_224.value().start_object(); crate::json_ser::serialize_structure_crate_model_association_execution_targets_filter(&mut object_226, item_225)?; object_226.finish(); @@ -984,6 +1016,7 @@ pub fn serialize_structure_crate_input_describe_automation_executions_input( let mut array_230 = object.key("Filters").start_array(); for item_231 in var_229 { { + #[allow(unused_mut)] let mut object_232 = array_230.value().start_object(); crate::json_ser::serialize_structure_crate_model_automation_execution_filter( &mut object_232, @@ -1017,6 +1050,7 @@ pub fn serialize_structure_crate_input_describe_automation_step_executions_input let mut array_237 = object.key("Filters").start_array(); for item_238 in var_236 { { + #[allow(unused_mut)] let mut object_239 = array_237.value().start_object(); crate::json_ser::serialize_structure_crate_model_step_execution_filter( &mut object_239, @@ -1050,6 +1084,7 @@ pub fn serialize_structure_crate_input_describe_available_patches_input( let mut array_244 = object.key("Filters").start_array(); for item_245 in var_243 { { + #[allow(unused_mut)] let mut object_246 = array_244.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_orchestrator_filter( &mut object_246, @@ -1175,6 +1210,7 @@ pub fn serialize_structure_crate_input_describe_instance_information_input( let mut array_266 = object.key("InstanceInformationFilterList").start_array(); for item_267 in var_265 { { + #[allow(unused_mut)] let mut object_268 = array_266.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_information_filter( &mut object_268, @@ -1189,6 +1225,7 @@ pub fn serialize_structure_crate_input_describe_instance_information_input( let mut array_270 = object.key("Filters").start_array(); for item_271 in var_269 { { + #[allow(unused_mut)] let mut object_272 = array_270.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_information_string_filter(&mut object_272, item_271)?; object_272.finish(); @@ -1219,6 +1256,7 @@ pub fn serialize_structure_crate_input_describe_instance_patches_input( let mut array_277 = object.key("Filters").start_array(); for item_278 in var_276 { { + #[allow(unused_mut)] let mut object_279 = array_277.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_orchestrator_filter( &mut object_279, @@ -1277,6 +1315,7 @@ pub fn serialize_structure_crate_input_describe_instance_patch_states_for_patch_ let mut array_289 = object.key("Filters").start_array(); for item_290 in var_288 { { + #[allow(unused_mut)] let mut object_291 = array_289.value().start_object(); crate::json_ser::serialize_structure_crate_model_instance_patch_state_filter( &mut object_291, @@ -1329,6 +1368,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_executions_in let mut array_299 = object.key("Filters").start_array(); for item_300 in var_298 { { + #[allow(unused_mut)] let mut object_301 = array_299.value().start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_filter( &mut object_301, @@ -1365,6 +1405,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_execution_tas let mut array_307 = object.key("Filters").start_array(); for item_308 in var_306 { { + #[allow(unused_mut)] let mut object_309 = array_307.value().start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_filter( &mut object_309, @@ -1398,6 +1439,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_execution_tas let mut array_314 = object.key("Filters").start_array(); for item_315 in var_313 { { + #[allow(unused_mut)] let mut object_316 = array_314.value().start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_filter( &mut object_316, @@ -1428,6 +1470,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_windows_input( let mut array_320 = object.key("Filters").start_array(); for item_321 in var_319 { { + #[allow(unused_mut)] let mut object_322 = array_320.value().start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_filter( &mut object_322, @@ -1461,6 +1504,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_schedule_inpu let mut array_327 = object.key("Targets").start_array(); for item_328 in var_326 { { + #[allow(unused_mut)] let mut object_329 = array_327.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_329, item_328)?; object_329.finish(); @@ -1475,6 +1519,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_schedule_inpu let mut array_332 = object.key("Filters").start_array(); for item_333 in var_331 { { + #[allow(unused_mut)] let mut object_334 = array_332.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_orchestrator_filter( &mut object_334, @@ -1505,6 +1550,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_windows_for_target_i let mut array_338 = object.key("Targets").start_array(); for item_339 in var_337 { { + #[allow(unused_mut)] let mut object_340 = array_338.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_340, item_339)?; object_340.finish(); @@ -1538,6 +1584,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_targets_input let mut array_346 = object.key("Filters").start_array(); for item_347 in var_345 { { + #[allow(unused_mut)] let mut object_348 = array_346.value().start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_filter( &mut object_348, @@ -1571,6 +1618,7 @@ pub fn serialize_structure_crate_input_describe_maintenance_window_tasks_input( let mut array_353 = object.key("Filters").start_array(); for item_354 in var_352 { { + #[allow(unused_mut)] let mut object_355 = array_353.value().start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_filter( &mut object_355, @@ -1601,6 +1649,7 @@ pub fn serialize_structure_crate_input_describe_ops_items_input( let mut array_359 = object.key("OpsItemFilters").start_array(); for item_360 in var_358 { { + #[allow(unused_mut)] let mut object_361 = array_359.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_filter( &mut object_361, @@ -1631,6 +1680,7 @@ pub fn serialize_structure_crate_input_describe_parameters_input( let mut array_365 = object.key("Filters").start_array(); for item_366 in var_364 { { + #[allow(unused_mut)] let mut object_367 = array_365.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameters_filter( &mut object_367, @@ -1645,6 +1695,7 @@ pub fn serialize_structure_crate_input_describe_parameters_input( let mut array_369 = object.key("ParameterFilters").start_array(); for item_370 in var_368 { { + #[allow(unused_mut)] let mut object_371 = array_369.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_string_filter( &mut object_371, @@ -1675,6 +1726,7 @@ pub fn serialize_structure_crate_input_describe_patch_baselines_input( let mut array_375 = object.key("Filters").start_array(); for item_376 in var_374 { { + #[allow(unused_mut)] let mut object_377 = array_375.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_orchestrator_filter( &mut object_377, @@ -1711,6 +1763,7 @@ pub fn serialize_structure_crate_input_describe_patch_groups_input( let mut array_382 = object.key("Filters").start_array(); for item_383 in var_381 { { + #[allow(unused_mut)] let mut object_384 = array_382.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_orchestrator_filter( &mut object_384, @@ -1782,6 +1835,7 @@ pub fn serialize_structure_crate_input_describe_sessions_input( let mut array_396 = object.key("Filters").start_array(); for item_397 in var_395 { { + #[allow(unused_mut)] let mut object_398 = array_396.value().start_object(); crate::json_ser::serialize_structure_crate_model_session_filter( &mut object_398, @@ -1884,6 +1938,7 @@ pub fn serialize_structure_crate_input_get_deployable_patch_snapshot_for_instanc object.key("SnapshotId").string(var_412.as_str()); } if let Some(var_413) = &input.baseline_override { + #[allow(unused_mut)] let mut object_414 = object.key("BaselineOverride").start_object(); crate::json_ser::serialize_structure_crate_model_baseline_override( &mut object_414, @@ -1921,6 +1976,7 @@ pub fn serialize_structure_crate_input_get_inventory_input( let mut array_420 = object.key("Filters").start_array(); for item_421 in var_419 { { + #[allow(unused_mut)] let mut object_422 = array_420.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_filter( &mut object_422, @@ -1935,6 +1991,7 @@ pub fn serialize_structure_crate_input_get_inventory_input( let mut array_424 = object.key("Aggregators").start_array(); for item_425 in var_423 { { + #[allow(unused_mut)] let mut object_426 = array_424.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_aggregator( &mut object_426, @@ -1949,6 +2006,7 @@ pub fn serialize_structure_crate_input_get_inventory_input( let mut array_428 = object.key("ResultAttributes").start_array(); for item_429 in var_427 { { + #[allow(unused_mut)] let mut object_430 = array_428.value().start_object(); crate::json_ser::serialize_structure_crate_model_result_attribute( &mut object_430, @@ -2098,6 +2156,7 @@ pub fn serialize_structure_crate_input_get_ops_summary_input( let mut array_452 = object.key("Filters").start_array(); for item_453 in var_451 { { + #[allow(unused_mut)] let mut object_454 = array_452.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_filter( &mut object_454, @@ -2112,6 +2171,7 @@ pub fn serialize_structure_crate_input_get_ops_summary_input( let mut array_456 = object.key("Aggregators").start_array(); for item_457 in var_455 { { + #[allow(unused_mut)] let mut object_458 = array_456.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_aggregator( &mut object_458, @@ -2126,6 +2186,7 @@ pub fn serialize_structure_crate_input_get_ops_summary_input( let mut array_460 = object.key("ResultAttributes").start_array(); for item_461 in var_459 { { + #[allow(unused_mut)] let mut object_462 = array_460.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_result_attribute( &mut object_462, @@ -2216,6 +2277,7 @@ pub fn serialize_structure_crate_input_get_parameters_by_path_input( let mut array_478 = object.key("ParameterFilters").start_array(); for item_479 in var_477 { { + #[allow(unused_mut)] let mut object_480 = array_478.value().start_object(); crate::json_ser::serialize_structure_crate_model_parameter_string_filter( &mut object_480, @@ -2307,6 +2369,7 @@ pub fn serialize_structure_crate_input_list_associations_input( let mut array_494 = object.key("AssociationFilterList").start_array(); for item_495 in var_493 { { + #[allow(unused_mut)] let mut object_496 = array_494.value().start_object(); crate::json_ser::serialize_structure_crate_model_association_filter( &mut object_496, @@ -2371,6 +2434,7 @@ pub fn serialize_structure_crate_input_list_command_invocations_input( let mut array_507 = object.key("Filters").start_array(); for item_508 in var_506 { { + #[allow(unused_mut)] let mut object_509 = array_507.value().start_object(); crate::json_ser::serialize_structure_crate_model_command_filter( &mut object_509, @@ -2410,6 +2474,7 @@ pub fn serialize_structure_crate_input_list_commands_input( let mut array_515 = object.key("Filters").start_array(); for item_516 in var_514 { { + #[allow(unused_mut)] let mut object_517 = array_515.value().start_object(); crate::json_ser::serialize_structure_crate_model_command_filter( &mut object_517, @@ -2431,6 +2496,7 @@ pub fn serialize_structure_crate_input_list_compliance_items_input( let mut array_519 = object.key("Filters").start_array(); for item_520 in var_518 { { + #[allow(unused_mut)] let mut object_521 = array_519.value().start_object(); crate::json_ser::serialize_structure_crate_model_compliance_string_filter( &mut object_521, @@ -2479,6 +2545,7 @@ pub fn serialize_structure_crate_input_list_compliance_summaries_input( let mut array_531 = object.key("Filters").start_array(); for item_532 in var_530 { { + #[allow(unused_mut)] let mut object_533 = array_531.value().start_object(); crate::json_ser::serialize_structure_crate_model_compliance_string_filter( &mut object_533, @@ -2534,6 +2601,7 @@ pub fn serialize_structure_crate_input_list_documents_input( let mut array_542 = object.key("DocumentFilterList").start_array(); for item_543 in var_541 { { + #[allow(unused_mut)] let mut object_544 = array_542.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_filter( &mut object_544, @@ -2548,6 +2616,7 @@ pub fn serialize_structure_crate_input_list_documents_input( let mut array_546 = object.key("Filters").start_array(); for item_547 in var_545 { { + #[allow(unused_mut)] let mut object_548 = array_546.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_key_values_filter( &mut object_548, @@ -2603,6 +2672,7 @@ pub fn serialize_structure_crate_input_list_inventory_entries_input( let mut array_557 = object.key("Filters").start_array(); for item_558 in var_556 { { + #[allow(unused_mut)] let mut object_559 = array_557.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_filter( &mut object_559, @@ -2633,6 +2703,7 @@ pub fn serialize_structure_crate_input_list_ops_item_events_input( let mut array_563 = object.key("Filters").start_array(); for item_564 in var_562 { { + #[allow(unused_mut)] let mut object_565 = array_563.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_event_filter( &mut object_565, @@ -2666,6 +2737,7 @@ pub fn serialize_structure_crate_input_list_ops_item_related_items_input( let mut array_570 = object.key("Filters").start_array(); for item_571 in var_569 { { + #[allow(unused_mut)] let mut object_572 = array_570.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_related_items_filter( &mut object_572, @@ -2696,6 +2768,7 @@ pub fn serialize_structure_crate_input_list_ops_metadata_input( let mut array_576 = object.key("Filters").start_array(); for item_577 in var_575 { { + #[allow(unused_mut)] let mut object_578 = array_576.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_metadata_filter( &mut object_578, @@ -2726,6 +2799,7 @@ pub fn serialize_structure_crate_input_list_resource_compliance_summaries_input( let mut array_582 = object.key("Filters").start_array(); for item_583 in var_581 { { + #[allow(unused_mut)] let mut object_584 = array_582.value().start_object(); crate::json_ser::serialize_structure_crate_model_compliance_string_filter( &mut object_584, @@ -2828,6 +2902,7 @@ pub fn serialize_structure_crate_input_put_compliance_items_input( object.key("ComplianceType").string(var_603.as_str()); } if let Some(var_604) = &input.execution_summary { + #[allow(unused_mut)] let mut object_605 = object.key("ExecutionSummary").start_object(); crate::json_ser::serialize_structure_crate_model_compliance_execution_summary( &mut object_605, @@ -2839,6 +2914,7 @@ pub fn serialize_structure_crate_input_put_compliance_items_input( let mut array_607 = object.key("Items").start_array(); for item_608 in var_606 { { + #[allow(unused_mut)] let mut object_609 = array_607.value().start_object(); crate::json_ser::serialize_structure_crate_model_compliance_item_entry( &mut object_609, @@ -2869,6 +2945,7 @@ pub fn serialize_structure_crate_input_put_inventory_input( let mut array_614 = object.key("Items").start_array(); for item_615 in var_613 { { + #[allow(unused_mut)] let mut object_616 = array_614.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_item( &mut object_616, @@ -2911,6 +2988,7 @@ pub fn serialize_structure_crate_input_put_parameter_input( let mut array_625 = object.key("Tags").start_array(); for item_626 in var_624 { { + #[allow(unused_mut)] let mut object_627 = array_625.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_627, item_626)?; object_627.finish(); @@ -2967,6 +3045,7 @@ pub fn serialize_structure_crate_input_register_target_with_maintenance_window_i let mut array_637 = object.key("Targets").start_array(); for item_638 in var_636 { { + #[allow(unused_mut)] let mut object_639 = array_637.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_639, item_638)?; object_639.finish(); @@ -3000,6 +3079,7 @@ pub fn serialize_structure_crate_input_register_task_with_maintenance_window_inp let mut array_646 = object.key("Targets").start_array(); for item_647 in var_645 { { + #[allow(unused_mut)] let mut object_648 = array_646.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_648, item_647)?; object_648.finish(); @@ -3017,9 +3097,11 @@ pub fn serialize_structure_crate_input_register_task_with_maintenance_window_inp object.key("TaskType").string(var_651.as_str()); } if let Some(var_652) = &input.task_parameters { + #[allow(unused_mut)] let mut object_653 = object.key("TaskParameters").start_object(); for (key_654, value_655) in var_652 { { + #[allow(unused_mut)] let mut object_656 = object_653.key(key_654.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_task_parameter_value_expression(&mut object_656, value_655)?; object_656.finish(); @@ -3028,6 +3110,7 @@ pub fn serialize_structure_crate_input_register_task_with_maintenance_window_inp object_653.finish(); } if let Some(var_657) = &input.task_invocation_parameters { + #[allow(unused_mut)] let mut object_658 = object.key("TaskInvocationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_task_invocation_parameters(&mut object_658, var_657)?; object_658.finish(); @@ -3045,6 +3128,7 @@ pub fn serialize_structure_crate_input_register_task_with_maintenance_window_inp object.key("MaxErrors").string(var_661.as_str()); } if let Some(var_662) = &input.logging_info { + #[allow(unused_mut)] let mut object_663 = object.key("LoggingInfo").start_object(); crate::json_ser::serialize_structure_crate_model_logging_info(&mut object_663, var_662)?; object_663.finish(); @@ -3062,6 +3146,7 @@ pub fn serialize_structure_crate_input_register_task_with_maintenance_window_inp object.key("CutoffBehavior").string(var_667.as_str()); } if let Some(var_668) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_669 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_669, @@ -3125,6 +3210,7 @@ pub fn serialize_structure_crate_input_send_automation_signal_input( object.key("SignalType").string(var_678.as_str()); } if let Some(var_679) = &input.payload { + #[allow(unused_mut)] let mut object_680 = object.key("Payload").start_object(); for (key_681, value_682) in var_679 { { @@ -3159,6 +3245,7 @@ pub fn serialize_structure_crate_input_send_command_input( let mut array_689 = object.key("Targets").start_array(); for item_690 in var_688 { { + #[allow(unused_mut)] let mut object_691 = array_689.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_691, item_690)?; object_691.finish(); @@ -3188,6 +3275,7 @@ pub fn serialize_structure_crate_input_send_command_input( object.key("Comment").string(var_697.as_str()); } if let Some(var_698) = &input.parameters { + #[allow(unused_mut)] let mut object_699 = object.key("Parameters").start_object(); for (key_700, value_701) in var_698 { { @@ -3221,6 +3309,7 @@ pub fn serialize_structure_crate_input_send_command_input( object.key("ServiceRoleArn").string(var_709.as_str()); } if let Some(var_710) = &input.notification_config { + #[allow(unused_mut)] let mut object_711 = object.key("NotificationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_notification_config( &mut object_711, @@ -3229,6 +3318,7 @@ pub fn serialize_structure_crate_input_send_command_input( object_711.finish(); } if let Some(var_712) = &input.cloud_watch_output_config { + #[allow(unused_mut)] let mut object_713 = object.key("CloudWatchOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_output_config( &mut object_713, @@ -3237,6 +3327,7 @@ pub fn serialize_structure_crate_input_send_command_input( object_713.finish(); } if let Some(var_714) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_715 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_715, @@ -3274,6 +3365,7 @@ pub fn serialize_structure_crate_input_start_automation_execution_input( object.key("DocumentVersion").string(var_720.as_str()); } if let Some(var_721) = &input.parameters { + #[allow(unused_mut)] let mut object_722 = object.key("Parameters").start_object(); for (key_723, value_724) in var_721 { { @@ -3301,6 +3393,7 @@ pub fn serialize_structure_crate_input_start_automation_execution_input( let mut array_731 = object.key("Targets").start_array(); for item_732 in var_730 { { + #[allow(unused_mut)] let mut object_733 = array_731.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_733, item_732)?; object_733.finish(); @@ -3312,6 +3405,7 @@ pub fn serialize_structure_crate_input_start_automation_execution_input( let mut array_735 = object.key("TargetMaps").start_array(); for item_736 in var_734 { { + #[allow(unused_mut)] let mut object_737 = array_735.value().start_object(); for (key_738, value_739) in item_736 { { @@ -3339,6 +3433,7 @@ pub fn serialize_structure_crate_input_start_automation_execution_input( let mut array_745 = object.key("TargetLocations").start_array(); for item_746 in var_744 { { + #[allow(unused_mut)] let mut object_747 = array_745.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_location( &mut object_747, @@ -3353,6 +3448,7 @@ pub fn serialize_structure_crate_input_start_automation_execution_input( let mut array_749 = object.key("Tags").start_array(); for item_750 in var_748 { { + #[allow(unused_mut)] let mut object_751 = array_749.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_751, item_750)?; object_751.finish(); @@ -3361,6 +3457,7 @@ pub fn serialize_structure_crate_input_start_automation_execution_input( array_749.finish(); } if let Some(var_752) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_753 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_753, @@ -3387,6 +3484,7 @@ pub fn serialize_structure_crate_input_start_change_request_execution_input( object.key("DocumentVersion").string(var_756.as_str()); } if let Some(var_757) = &input.parameters { + #[allow(unused_mut)] let mut object_758 = object.key("Parameters").start_object(); for (key_759, value_760) in var_757 { { @@ -3414,6 +3512,7 @@ pub fn serialize_structure_crate_input_start_change_request_execution_input( let mut array_766 = object.key("Runbooks").start_array(); for item_767 in var_765 { { + #[allow(unused_mut)] let mut object_768 = array_766.value().start_object(); crate::json_ser::serialize_structure_crate_model_runbook( &mut object_768, @@ -3428,6 +3527,7 @@ pub fn serialize_structure_crate_input_start_change_request_execution_input( let mut array_770 = object.key("Tags").start_array(); for item_771 in var_769 { { + #[allow(unused_mut)] let mut object_772 = array_770.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_772, item_771)?; object_772.finish(); @@ -3460,6 +3560,7 @@ pub fn serialize_structure_crate_input_start_session_input( object.key("Reason").string(var_777.as_str()); } if let Some(var_778) = &input.parameters { + #[allow(unused_mut)] let mut object_779 = object.key("Parameters").start_object(); for (key_780, value_781) in var_778 { { @@ -3533,6 +3634,7 @@ pub fn serialize_structure_crate_input_update_association_input( object.key("AssociationId").string(var_792.as_str()); } if let Some(var_793) = &input.parameters { + #[allow(unused_mut)] let mut object_794 = object.key("Parameters").start_object(); for (key_795, value_796) in var_793 { { @@ -3554,6 +3656,7 @@ pub fn serialize_structure_crate_input_update_association_input( object.key("ScheduleExpression").string(var_800.as_str()); } if let Some(var_801) = &input.output_location { + #[allow(unused_mut)] let mut object_802 = object.key("OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_instance_association_output_location( &mut object_802, @@ -3568,6 +3671,7 @@ pub fn serialize_structure_crate_input_update_association_input( let mut array_805 = object.key("Targets").start_array(); for item_806 in var_804 { { + #[allow(unused_mut)] let mut object_807 = array_805.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_807, item_806)?; object_807.finish(); @@ -3616,6 +3720,7 @@ pub fn serialize_structure_crate_input_update_association_input( let mut array_819 = object.key("TargetLocations").start_array(); for item_820 in var_818 { { + #[allow(unused_mut)] let mut object_821 = array_819.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_location( &mut object_821, @@ -3636,6 +3741,7 @@ pub fn serialize_structure_crate_input_update_association_input( let mut array_824 = object.key("TargetMaps").start_array(); for item_825 in var_823 { { + #[allow(unused_mut)] let mut object_826 = array_824.value().start_object(); for (key_827, value_828) in item_825 { { @@ -3654,6 +3760,7 @@ pub fn serialize_structure_crate_input_update_association_input( array_824.finish(); } if let Some(var_831) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_832 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_832, @@ -3675,6 +3782,7 @@ pub fn serialize_structure_crate_input_update_association_status_input( object.key("InstanceId").string(var_834.as_str()); } if let Some(var_835) = &input.association_status { + #[allow(unused_mut)] let mut object_836 = object.key("AssociationStatus").start_object(); crate::json_ser::serialize_structure_crate_model_association_status( &mut object_836, @@ -3696,6 +3804,7 @@ pub fn serialize_structure_crate_input_update_document_input( let mut array_839 = object.key("Attachments").start_array(); for item_840 in var_838 { { + #[allow(unused_mut)] let mut object_841 = array_839.value().start_object(); crate::json_ser::serialize_structure_crate_model_attachments_source( &mut object_841, @@ -3751,6 +3860,7 @@ pub fn serialize_structure_crate_input_update_document_metadata_input( object.key("DocumentVersion").string(var_851.as_str()); } if let Some(var_852) = &input.document_reviews { + #[allow(unused_mut)] let mut object_853 = object.key("DocumentReviews").start_object(); crate::json_ser::serialize_structure_crate_model_document_reviews( &mut object_853, @@ -3830,6 +3940,7 @@ pub fn serialize_structure_crate_input_update_maintenance_window_target_input( let mut array_870 = object.key("Targets").start_array(); for item_871 in var_869 { { + #[allow(unused_mut)] let mut object_872 = array_870.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_872, item_871)?; object_872.finish(); @@ -3866,6 +3977,7 @@ pub fn serialize_structure_crate_input_update_maintenance_window_task_input( let mut array_880 = object.key("Targets").start_array(); for item_881 in var_879 { { + #[allow(unused_mut)] let mut object_882 = array_880.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_882, item_881)?; object_882.finish(); @@ -3880,9 +3992,11 @@ pub fn serialize_structure_crate_input_update_maintenance_window_task_input( object.key("ServiceRoleArn").string(var_884.as_str()); } if let Some(var_885) = &input.task_parameters { + #[allow(unused_mut)] let mut object_886 = object.key("TaskParameters").start_object(); for (key_887, value_888) in var_885 { { + #[allow(unused_mut)] let mut object_889 = object_886.key(key_887.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_task_parameter_value_expression(&mut object_889, value_888)?; object_889.finish(); @@ -3891,6 +4005,7 @@ pub fn serialize_structure_crate_input_update_maintenance_window_task_input( object_886.finish(); } if let Some(var_890) = &input.task_invocation_parameters { + #[allow(unused_mut)] let mut object_891 = object.key("TaskInvocationParameters").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_task_invocation_parameters(&mut object_891, var_890)?; object_891.finish(); @@ -3908,6 +4023,7 @@ pub fn serialize_structure_crate_input_update_maintenance_window_task_input( object.key("MaxErrors").string(var_894.as_str()); } if let Some(var_895) = &input.logging_info { + #[allow(unused_mut)] let mut object_896 = object.key("LoggingInfo").start_object(); crate::json_ser::serialize_structure_crate_model_logging_info(&mut object_896, var_895)?; object_896.finish(); @@ -3925,6 +4041,7 @@ pub fn serialize_structure_crate_input_update_maintenance_window_task_input( object.key("CutoffBehavior").string(var_900.as_str()); } if let Some(var_901) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_902 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_902, @@ -3956,9 +4073,11 @@ pub fn serialize_structure_crate_input_update_ops_item_input( object.key("Description").string(var_905.as_str()); } if let Some(var_906) = &input.operational_data { + #[allow(unused_mut)] let mut object_907 = object.key("OperationalData").start_object(); for (key_908, value_909) in var_906 { { + #[allow(unused_mut)] let mut object_910 = object_907.key(key_908.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_data_value( &mut object_910, @@ -3982,6 +4101,7 @@ pub fn serialize_structure_crate_input_update_ops_item_input( let mut array_915 = object.key("Notifications").start_array(); for item_916 in var_914 { { + #[allow(unused_mut)] let mut object_917 = array_915.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_item_notification( &mut object_917, @@ -4002,6 +4122,7 @@ pub fn serialize_structure_crate_input_update_ops_item_input( let mut array_920 = object.key("RelatedOpsItems").start_array(); for item_921 in var_919 { { + #[allow(unused_mut)] let mut object_922 = array_920.value().start_object(); crate::json_ser::serialize_structure_crate_model_related_ops_item( &mut object_922, @@ -4058,9 +4179,11 @@ pub fn serialize_structure_crate_input_update_ops_metadata_input( object.key("OpsMetadataArn").string(var_932.as_str()); } if let Some(var_933) = &input.metadata_to_update { + #[allow(unused_mut)] let mut object_934 = object.key("MetadataToUpdate").start_object(); for (key_935, value_936) in var_933 { { + #[allow(unused_mut)] let mut object_937 = object_934.key(key_935.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_metadata_value( &mut object_937, @@ -4094,6 +4217,7 @@ pub fn serialize_structure_crate_input_update_patch_baseline_input( object.key("Name").string(var_942.as_str()); } if let Some(var_943) = &input.global_filters { + #[allow(unused_mut)] let mut object_944 = object.key("GlobalFilters").start_object(); crate::json_ser::serialize_structure_crate_model_patch_filter_group( &mut object_944, @@ -4102,6 +4226,7 @@ pub fn serialize_structure_crate_input_update_patch_baseline_input( object_944.finish(); } if let Some(var_945) = &input.approval_rules { + #[allow(unused_mut)] let mut object_946 = object.key("ApprovalRules").start_object(); crate::json_ser::serialize_structure_crate_model_patch_rule_group( &mut object_946, @@ -4147,6 +4272,7 @@ pub fn serialize_structure_crate_input_update_patch_baseline_input( let mut array_958 = object.key("Sources").start_array(); for item_959 in var_957 { { + #[allow(unused_mut)] let mut object_960 = array_958.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_source( &mut object_960, @@ -4174,6 +4300,7 @@ pub fn serialize_structure_crate_input_update_resource_data_sync_input( object.key("SyncType").string(var_963.as_str()); } if let Some(var_964) = &input.sync_source { + #[allow(unused_mut)] let mut object_965 = object.key("SyncSource").start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_sync_source( &mut object_965, @@ -4247,6 +4374,7 @@ pub fn serialize_structure_crate_model_instance_association_output_location( input: &crate::model::InstanceAssociationOutputLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_976) = &input.s3_location { + #[allow(unused_mut)] let mut object_977 = object.key("S3Location").start_object(); crate::json_ser::serialize_structure_crate_model_s3_output_location( &mut object_977, @@ -4308,6 +4436,7 @@ pub fn serialize_structure_crate_model_alarm_configuration( let mut array_988 = object.key("Alarms").start_array(); for item_989 in var_987 { { + #[allow(unused_mut)] let mut object_990 = array_988.value().start_object(); crate::json_ser::serialize_structure_crate_model_alarm(&mut object_990, item_989)?; object_990.finish(); @@ -4329,6 +4458,7 @@ pub fn serialize_structure_crate_model_create_association_batch_request_entry( object.key("InstanceId").string(var_992.as_str()); } if let Some(var_993) = &input.parameters { + #[allow(unused_mut)] let mut object_994 = object.key("Parameters").start_object(); for (key_995, value_996) in var_993 { { @@ -4355,6 +4485,7 @@ pub fn serialize_structure_crate_model_create_association_batch_request_entry( let mut array_1002 = object.key("Targets").start_array(); for item_1003 in var_1001 { { + #[allow(unused_mut)] let mut object_1004 = array_1002.value().start_object(); crate::json_ser::serialize_structure_crate_model_target( &mut object_1004, @@ -4369,6 +4500,7 @@ pub fn serialize_structure_crate_model_create_association_batch_request_entry( object.key("ScheduleExpression").string(var_1005.as_str()); } if let Some(var_1006) = &input.output_location { + #[allow(unused_mut)] let mut object_1007 = object.key("OutputLocation").start_object(); crate::json_ser::serialize_structure_crate_model_instance_association_output_location( &mut object_1007, @@ -4409,6 +4541,7 @@ pub fn serialize_structure_crate_model_create_association_batch_request_entry( let mut array_1017 = object.key("TargetLocations").start_array(); for item_1018 in var_1016 { { + #[allow(unused_mut)] let mut object_1019 = array_1017.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_location( &mut object_1019, @@ -4429,6 +4562,7 @@ pub fn serialize_structure_crate_model_create_association_batch_request_entry( let mut array_1022 = object.key("TargetMaps").start_array(); for item_1023 in var_1021 { { + #[allow(unused_mut)] let mut object_1024 = array_1022.value().start_object(); for (key_1025, value_1026) in item_1023 { { @@ -4447,6 +4581,7 @@ pub fn serialize_structure_crate_model_create_association_batch_request_entry( array_1022.finish(); } if let Some(var_1029) = &input.alarm_configuration { + #[allow(unused_mut)] let mut object_1030 = object.key("AlarmConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_alarm_configuration( &mut object_1030, @@ -4543,6 +4678,7 @@ pub fn serialize_structure_crate_model_patch_filter_group( let mut array_1044 = object.key("PatchFilters").start_array(); for item_1045 in var_1043 { { + #[allow(unused_mut)] let mut object_1046 = array_1044.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_filter( &mut object_1046, @@ -4564,6 +4700,7 @@ pub fn serialize_structure_crate_model_patch_rule_group( let mut array_1048 = object.key("PatchRules").start_array(); for item_1049 in var_1047 { { + #[allow(unused_mut)] let mut object_1050 = array_1048.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_rule( &mut object_1050, @@ -4619,6 +4756,7 @@ pub fn serialize_structure_crate_model_resource_data_sync_s3_destination( object.key("AWSKMSKeyARN").string(var_1060.as_str()); } if let Some(var_1061) = &input.destination_data_sharing { + #[allow(unused_mut)] let mut object_1062 = object.key("DestinationDataSharing").start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_sync_destination_data_sharing(&mut object_1062, var_1061)?; object_1062.finish(); @@ -4634,6 +4772,7 @@ pub fn serialize_structure_crate_model_resource_data_sync_source( object.key("SourceType").string(var_1063.as_str()); } if let Some(var_1064) = &input.aws_organizations_source { + #[allow(unused_mut)] let mut object_1065 = object.key("AwsOrganizationsSource").start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_sync_aws_organizations_source(&mut object_1065, var_1064)?; object_1065.finish(); @@ -4928,6 +5067,7 @@ pub fn serialize_structure_crate_model_baseline_override( object.key("OperatingSystem").string(var_1123.as_str()); } if let Some(var_1124) = &input.global_filters { + #[allow(unused_mut)] let mut object_1125 = object.key("GlobalFilters").start_object(); crate::json_ser::serialize_structure_crate_model_patch_filter_group( &mut object_1125, @@ -4936,6 +5076,7 @@ pub fn serialize_structure_crate_model_baseline_override( object_1125.finish(); } if let Some(var_1126) = &input.approval_rules { + #[allow(unused_mut)] let mut object_1127 = object.key("ApprovalRules").start_object(); crate::json_ser::serialize_structure_crate_model_patch_rule_group( &mut object_1127, @@ -4980,6 +5121,7 @@ pub fn serialize_structure_crate_model_baseline_override( let mut array_1137 = object.key("Sources").start_array(); for item_1138 in var_1136 { { + #[allow(unused_mut)] let mut object_1139 = array_1137.value().start_object(); crate::json_ser::serialize_structure_crate_model_patch_source( &mut object_1139, @@ -5026,6 +5168,7 @@ pub fn serialize_structure_crate_model_inventory_aggregator( let mut array_1147 = object.key("Aggregators").start_array(); for item_1148 in var_1146 { { + #[allow(unused_mut)] let mut object_1149 = array_1147.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_aggregator( &mut object_1149, @@ -5040,6 +5183,7 @@ pub fn serialize_structure_crate_model_inventory_aggregator( let mut array_1151 = object.key("Groups").start_array(); for item_1152 in var_1150 { { + #[allow(unused_mut)] let mut object_1153 = array_1151.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_group( &mut object_1153, @@ -5099,6 +5243,7 @@ pub fn serialize_structure_crate_model_ops_aggregator( object.key("AttributeName").string(var_1162.as_str()); } if let Some(var_1163) = &input.values { + #[allow(unused_mut)] let mut object_1164 = object.key("Values").start_object(); for (key_1165, value_1166) in var_1163 { { @@ -5113,6 +5258,7 @@ pub fn serialize_structure_crate_model_ops_aggregator( let mut array_1168 = object.key("Filters").start_array(); for item_1169 in var_1167 { { + #[allow(unused_mut)] let mut object_1170 = array_1168.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_filter( &mut object_1170, @@ -5127,6 +5273,7 @@ pub fn serialize_structure_crate_model_ops_aggregator( let mut array_1172 = object.key("Aggregators").start_array(); for item_1173 in var_1171 { { + #[allow(unused_mut)] let mut object_1174 = array_1172.value().start_object(); crate::json_ser::serialize_structure_crate_model_ops_aggregator( &mut object_1174, @@ -5328,6 +5475,7 @@ pub fn serialize_structure_crate_model_compliance_item_entry( object.key("Status").string(var_1211.as_str()); } if let Some(var_1212) = &input.details { + #[allow(unused_mut)] let mut object_1213 = object.key("Details").start_object(); for (key_1214, value_1215) in var_1212 { { @@ -5361,6 +5509,7 @@ pub fn serialize_structure_crate_model_inventory_item( let mut array_1221 = object.key("Content").start_array(); for item_1222 in var_1220 { { + #[allow(unused_mut)] let mut object_1223 = array_1221.value().start_object(); for (key_1224, value_1225) in item_1222 { { @@ -5375,6 +5524,7 @@ pub fn serialize_structure_crate_model_inventory_item( array_1221.finish(); } if let Some(var_1226) = &input.context { + #[allow(unused_mut)] let mut object_1227 = object.key("Context").start_object(); for (key_1228, value_1229) in var_1226 { { @@ -5409,6 +5559,7 @@ pub fn serialize_structure_crate_model_maintenance_window_task_invocation_parame input: &crate::model::MaintenanceWindowTaskInvocationParameters, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1233) = &input.run_command { + #[allow(unused_mut)] let mut object_1234 = object.key("RunCommand").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_run_command_parameters( &mut object_1234, @@ -5417,6 +5568,7 @@ pub fn serialize_structure_crate_model_maintenance_window_task_invocation_parame object_1234.finish(); } if let Some(var_1235) = &input.automation { + #[allow(unused_mut)] let mut object_1236 = object.key("Automation").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_automation_parameters( &mut object_1236, @@ -5425,11 +5577,13 @@ pub fn serialize_structure_crate_model_maintenance_window_task_invocation_parame object_1236.finish(); } if let Some(var_1237) = &input.step_functions { + #[allow(unused_mut)] let mut object_1238 = object.key("StepFunctions").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_step_functions_parameters(&mut object_1238, var_1237)?; object_1238.finish(); } if let Some(var_1239) = &input.lambda { + #[allow(unused_mut)] let mut object_1240 = object.key("Lambda").start_object(); crate::json_ser::serialize_structure_crate_model_maintenance_window_lambda_parameters( &mut object_1240, @@ -5506,6 +5660,7 @@ pub fn serialize_structure_crate_model_runbook( object.key("DocumentVersion").string(var_1251.as_str()); } if let Some(var_1252) = &input.parameters { + #[allow(unused_mut)] let mut object_1253 = object.key("Parameters").start_object(); for (key_1254, value_1255) in var_1252 { { @@ -5527,6 +5682,7 @@ pub fn serialize_structure_crate_model_runbook( let mut array_1260 = object.key("Targets").start_array(); for item_1261 in var_1259 { { + #[allow(unused_mut)] let mut object_1262 = array_1260.value().start_object(); crate::json_ser::serialize_structure_crate_model_target( &mut object_1262, @@ -5541,6 +5697,7 @@ pub fn serialize_structure_crate_model_runbook( let mut array_1264 = object.key("TargetMaps").start_array(); for item_1265 in var_1263 { { + #[allow(unused_mut)] let mut object_1266 = array_1264.value().start_object(); for (key_1267, value_1268) in item_1265 { { @@ -5568,6 +5725,7 @@ pub fn serialize_structure_crate_model_runbook( let mut array_1274 = object.key("TargetLocations").start_array(); for item_1275 in var_1273 { { + #[allow(unused_mut)] let mut object_1276 = array_1274.value().start_object(); crate::json_ser::serialize_structure_crate_model_target_location( &mut object_1276, @@ -5613,6 +5771,7 @@ pub fn serialize_structure_crate_model_document_reviews( let mut array_1283 = object.key("Comment").start_array(); for item_1284 in var_1282 { { + #[allow(unused_mut)] let mut object_1285 = array_1283.value().start_object(); crate::json_ser::serialize_structure_crate_model_document_review_comment_source( &mut object_1285, @@ -5676,6 +5835,7 @@ pub fn serialize_structure_crate_model_patch_rule( input: &crate::model::PatchRule, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1294) = &input.patch_filter_group { + #[allow(unused_mut)] let mut object_1295 = object.key("PatchFilterGroup").start_object(); crate::json_ser::serialize_structure_crate_model_patch_filter_group( &mut object_1295, @@ -5726,6 +5886,7 @@ pub fn serialize_structure_crate_model_resource_data_sync_aws_organizations_sour let mut array_1303 = object.key("OrganizationalUnits").start_array(); for item_1304 in var_1302 { { + #[allow(unused_mut)] let mut object_1305 = array_1303.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_data_sync_organizational_unit(&mut object_1305, item_1304)?; object_1305.finish(); @@ -5747,6 +5908,7 @@ pub fn serialize_structure_crate_model_inventory_group( let mut array_1308 = object.key("Filters").start_array(); for item_1309 in var_1307 { { + #[allow(unused_mut)] let mut object_1310 = array_1308.value().start_object(); crate::json_ser::serialize_structure_crate_model_inventory_filter( &mut object_1310, @@ -5768,6 +5930,7 @@ pub fn serialize_structure_crate_model_maintenance_window_run_command_parameters object.key("Comment").string(var_1311.as_str()); } if let Some(var_1312) = &input.cloud_watch_output_config { + #[allow(unused_mut)] let mut object_1313 = object.key("CloudWatchOutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_cloud_watch_output_config( &mut object_1313, @@ -5785,6 +5948,7 @@ pub fn serialize_structure_crate_model_maintenance_window_run_command_parameters object.key("DocumentVersion").string(var_1316.as_str()); } if let Some(var_1317) = &input.notification_config { + #[allow(unused_mut)] let mut object_1318 = object.key("NotificationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_notification_config( &mut object_1318, @@ -5799,6 +5963,7 @@ pub fn serialize_structure_crate_model_maintenance_window_run_command_parameters object.key("OutputS3KeyPrefix").string(var_1320.as_str()); } if let Some(var_1321) = &input.parameters { + #[allow(unused_mut)] let mut object_1322 = object.key("Parameters").start_object(); for (key_1323, value_1324) in var_1321 { { @@ -5833,6 +5998,7 @@ pub fn serialize_structure_crate_model_maintenance_window_automation_parameters( object.key("DocumentVersion").string(var_1329.as_str()); } if let Some(var_1330) = &input.parameters { + #[allow(unused_mut)] let mut object_1331 = object.key("Parameters").start_object(); for (key_1332, value_1333) in var_1330 { { diff --git a/sdk/ssmcontacts/src/json_ser.rs b/sdk/ssmcontacts/src/json_ser.rs index d2a641d3807b..5ee9a5116d05 100644 --- a/sdk/ssmcontacts/src/json_ser.rs +++ b/sdk/ssmcontacts/src/json_ser.rs @@ -51,6 +51,7 @@ pub fn serialize_structure_crate_input_create_contact_input( object.key("Type").string(var_11.as_str()); } if let Some(var_12) = &input.plan { + #[allow(unused_mut)] let mut object_13 = object.key("Plan").start_object(); crate::json_ser::serialize_structure_crate_model_plan(&mut object_13, var_12)?; object_13.finish(); @@ -59,6 +60,7 @@ pub fn serialize_structure_crate_input_create_contact_input( let mut array_15 = object.key("Tags").start_array(); for item_16 in var_14 { { + #[allow(unused_mut)] let mut object_17 = array_15.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_17, item_16)?; object_17.finish(); @@ -86,6 +88,7 @@ pub fn serialize_structure_crate_input_create_contact_channel_input( object.key("Type").string(var_21.as_str()); } if let Some(var_22) = &input.delivery_address { + #[allow(unused_mut)] let mut object_23 = object.key("DeliveryAddress").start_object(); crate::json_ser::serialize_structure_crate_model_contact_channel_address( &mut object_23, @@ -240,6 +243,7 @@ pub fn serialize_structure_crate_input_list_engagements_input( object.key("IncidentId").string(var_43.as_str()); } if let Some(var_44) = &input.time_range_value { + #[allow(unused_mut)] let mut object_45 = object.key("TimeRangeValue").start_object(); crate::json_ser::serialize_structure_crate_model_time_range(&mut object_45, var_44)?; object_45.finish(); @@ -392,6 +396,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_71 = object.key("Tags").start_array(); for item_72 in var_70 { { + #[allow(unused_mut)] let mut object_73 = array_71.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_73, item_72)?; object_73.finish(); @@ -432,6 +437,7 @@ pub fn serialize_structure_crate_input_update_contact_input( object.key("DisplayName").string(var_79.as_str()); } if let Some(var_80) = &input.plan { + #[allow(unused_mut)] let mut object_81 = object.key("Plan").start_object(); crate::json_ser::serialize_structure_crate_model_plan(&mut object_81, var_80)?; object_81.finish(); @@ -450,6 +456,7 @@ pub fn serialize_structure_crate_input_update_contact_channel_input( object.key("Name").string(var_83.as_str()); } if let Some(var_84) = &input.delivery_address { + #[allow(unused_mut)] let mut object_85 = object.key("DeliveryAddress").start_object(); crate::json_ser::serialize_structure_crate_model_contact_channel_address( &mut object_85, @@ -468,6 +475,7 @@ pub fn serialize_structure_crate_model_plan( let mut array_87 = object.key("Stages").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_stage(&mut object_89, item_88)?; object_89.finish(); @@ -532,6 +540,7 @@ pub fn serialize_structure_crate_model_stage( let mut array_97 = object.key("Targets").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_target(&mut object_99, item_98)?; object_99.finish(); @@ -547,6 +556,7 @@ pub fn serialize_structure_crate_model_target( input: &crate::model::Target, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_100) = &input.channel_target_info { + #[allow(unused_mut)] let mut object_101 = object.key("ChannelTargetInfo").start_object(); crate::json_ser::serialize_structure_crate_model_channel_target_info( &mut object_101, @@ -555,6 +565,7 @@ pub fn serialize_structure_crate_model_target( object_101.finish(); } if let Some(var_102) = &input.contact_target_info { + #[allow(unused_mut)] let mut object_103 = object.key("ContactTargetInfo").start_object(); crate::json_ser::serialize_structure_crate_model_contact_target_info( &mut object_103, diff --git a/sdk/ssmincidents/src/json_ser.rs b/sdk/ssmincidents/src/json_ser.rs index 50263cb26f54..a920caabfc2b 100644 --- a/sdk/ssmincidents/src/json_ser.rs +++ b/sdk/ssmincidents/src/json_ser.rs @@ -7,9 +7,11 @@ pub fn serialize_structure_crate_input_create_replication_set_input( object.key("clientToken").string(var_1.as_str()); } if let Some(var_2) = &input.regions { + #[allow(unused_mut)] let mut object_3 = object.key("regions").start_object(); for (key_4, value_5) in var_2 { { + #[allow(unused_mut)] let mut object_6 = object_3.key(key_4.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_region_map_input_value( &mut object_6, @@ -31,6 +33,7 @@ pub fn serialize_structure_crate_input_create_response_plan_input( let mut array_8 = object.key("actions").start_array(); for item_9 in var_7 { { + #[allow(unused_mut)] let mut object_10 = array_8.value().start_object(); crate::json_ser::serialize_union_crate_model_action(&mut object_10, item_9)?; object_10.finish(); @@ -39,6 +42,7 @@ pub fn serialize_structure_crate_input_create_response_plan_input( array_8.finish(); } if let Some(var_11) = &input.chat_channel { + #[allow(unused_mut)] let mut object_12 = object.key("chatChannel").start_object(); crate::json_ser::serialize_union_crate_model_chat_channel(&mut object_12, var_11)?; object_12.finish(); @@ -59,6 +63,7 @@ pub fn serialize_structure_crate_input_create_response_plan_input( array_16.finish(); } if let Some(var_18) = &input.incident_template { + #[allow(unused_mut)] let mut object_19 = object.key("incidentTemplate").start_object(); crate::json_ser::serialize_structure_crate_model_incident_template(&mut object_19, var_18)?; object_19.finish(); @@ -67,6 +72,7 @@ pub fn serialize_structure_crate_input_create_response_plan_input( object.key("name").string(var_20.as_str()); } if let Some(var_21) = &input.tags { + #[allow(unused_mut)] let mut object_22 = object.key("tags").start_object(); for (key_23, value_24) in var_21 { { @@ -172,6 +178,7 @@ pub fn serialize_structure_crate_input_list_incident_records_input( let mut array_39 = object.key("filters").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_41, item_40)?; object_41.finish(); @@ -250,6 +257,7 @@ pub fn serialize_structure_crate_input_list_timeline_events_input( let mut array_52 = object.key("filters").start_array(); for item_53 in var_51 { { + #[allow(unused_mut)] let mut object_54 = array_52.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_54, item_53)?; object_54.finish(); @@ -308,6 +316,7 @@ pub fn serialize_structure_crate_input_start_incident_input( let mut array_65 = object.key("relatedItems").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_related_item( &mut object_67, @@ -325,6 +334,7 @@ pub fn serialize_structure_crate_input_start_incident_input( object.key("title").string(var_69.as_str()); } if let Some(var_70) = &input.trigger_details { + #[allow(unused_mut)] let mut object_71 = object.key("triggerDetails").start_object(); crate::json_ser::serialize_structure_crate_model_trigger_details(&mut object_71, var_70)?; object_71.finish(); @@ -337,6 +347,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.tags { + #[allow(unused_mut)] let mut object_73 = object.key("tags").start_object(); for (key_74, value_75) in var_72 { { @@ -372,6 +383,7 @@ pub fn serialize_structure_crate_input_update_incident_record_input( object.key("arn").string(var_79.as_str()); } if let Some(var_80) = &input.chat_channel { + #[allow(unused_mut)] let mut object_81 = object.key("chatChannel").start_object(); crate::json_ser::serialize_union_crate_model_chat_channel(&mut object_81, var_80)?; object_81.finish(); @@ -389,6 +401,7 @@ pub fn serialize_structure_crate_input_update_incident_record_input( let mut array_85 = object.key("notificationTargets").start_array(); for item_86 in var_84 { { + #[allow(unused_mut)] let mut object_87 = array_85.value().start_object(); crate::json_ser::serialize_union_crate_model_notification_target_item( &mut object_87, @@ -422,6 +435,7 @@ pub fn serialize_structure_crate_input_update_related_items_input( object.key("incidentRecordArn").string(var_92.as_str()); } if let Some(var_93) = &input.related_items_update { + #[allow(unused_mut)] let mut object_94 = object.key("relatedItemsUpdate").start_object(); crate::json_ser::serialize_union_crate_model_related_items_update(&mut object_94, var_93)?; object_94.finish(); @@ -437,6 +451,7 @@ pub fn serialize_structure_crate_input_update_replication_set_input( let mut array_96 = object.key("actions").start_array(); for item_97 in var_95 { { + #[allow(unused_mut)] let mut object_98 = array_96.value().start_object(); crate::json_ser::serialize_union_crate_model_update_replication_set_action( &mut object_98, @@ -464,6 +479,7 @@ pub fn serialize_structure_crate_input_update_response_plan_input( let mut array_102 = object.key("actions").start_array(); for item_103 in var_101 { { + #[allow(unused_mut)] let mut object_104 = array_102.value().start_object(); crate::json_ser::serialize_union_crate_model_action(&mut object_104, item_103)?; object_104.finish(); @@ -475,6 +491,7 @@ pub fn serialize_structure_crate_input_update_response_plan_input( object.key("arn").string(var_105.as_str()); } if let Some(var_106) = &input.chat_channel { + #[allow(unused_mut)] let mut object_107 = object.key("chatChannel").start_object(); crate::json_ser::serialize_union_crate_model_chat_channel(&mut object_107, var_106)?; object_107.finish(); @@ -511,6 +528,7 @@ pub fn serialize_structure_crate_input_update_response_plan_input( .start_array(); for item_117 in var_115 { { + #[allow(unused_mut)] let mut object_118 = array_116.value().start_object(); crate::json_ser::serialize_union_crate_model_notification_target_item( &mut object_118, @@ -527,6 +545,7 @@ pub fn serialize_structure_crate_input_update_response_plan_input( .string(var_119.as_str()); } if let Some(var_120) = &input.incident_template_tags { + #[allow(unused_mut)] let mut object_121 = object.key("incidentTemplateTags").start_object(); for (key_122, value_123) in var_120 { { @@ -584,6 +603,7 @@ pub fn serialize_union_crate_model_action( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Action::SsmAutomation(inner) => { + #[allow(unused_mut)] let mut object_132 = object_10.key("ssmAutomation").start_object(); crate::json_ser::serialize_structure_crate_model_ssm_automation( &mut object_132, @@ -606,6 +626,7 @@ pub fn serialize_union_crate_model_chat_channel( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::ChatChannel::Empty(inner) => { + #[allow(unused_mut)] let mut object_133 = object_12.key("empty").start_object(); crate::json_ser::serialize_structure_crate_model_empty_chat_channel( &mut object_133, @@ -656,6 +677,7 @@ pub fn serialize_structure_crate_model_incident_template( let mut array_141 = object.key("notificationTargets").start_array(); for item_142 in var_140 { { + #[allow(unused_mut)] let mut object_143 = array_141.value().start_object(); crate::json_ser::serialize_union_crate_model_notification_target_item( &mut object_143, @@ -667,6 +689,7 @@ pub fn serialize_structure_crate_model_incident_template( array_141.finish(); } if let Some(var_144) = &input.incident_tags { + #[allow(unused_mut)] let mut object_145 = object.key("incidentTags").start_object(); for (key_146, value_147) in var_144 { { @@ -686,6 +709,7 @@ pub fn serialize_structure_crate_model_filter( object.key("key").string(var_148.as_str()); } if let Some(var_149) = &input.condition { + #[allow(unused_mut)] let mut object_150 = object.key("condition").start_object(); crate::json_ser::serialize_union_crate_model_condition(&mut object_150, var_149)?; object_150.finish(); @@ -698,6 +722,7 @@ pub fn serialize_structure_crate_model_related_item( input: &crate::model::RelatedItem, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_151) = &input.identifier { + #[allow(unused_mut)] let mut object_152 = object.key("identifier").start_object(); crate::json_ser::serialize_structure_crate_model_item_identifier(&mut object_152, var_151)?; object_152.finish(); @@ -754,11 +779,13 @@ pub fn serialize_union_crate_model_related_items_update( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::RelatedItemsUpdate::ItemToAdd(inner) => { + #[allow(unused_mut)] let mut object_158 = object_94.key("itemToAdd").start_object(); crate::json_ser::serialize_structure_crate_model_related_item(&mut object_158, inner)?; object_158.finish(); } crate::model::RelatedItemsUpdate::ItemToRemove(inner) => { + #[allow(unused_mut)] let mut object_159 = object_94.key("itemToRemove").start_object(); crate::json_ser::serialize_structure_crate_model_item_identifier( &mut object_159, @@ -783,6 +810,7 @@ pub fn serialize_union_crate_model_update_replication_set_action( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::UpdateReplicationSetAction::AddRegionAction(inner) => { + #[allow(unused_mut)] let mut object_160 = object_98.key("addRegionAction").start_object(); crate::json_ser::serialize_structure_crate_model_add_region_action( &mut object_160, @@ -791,6 +819,7 @@ pub fn serialize_union_crate_model_update_replication_set_action( object_160.finish(); } crate::model::UpdateReplicationSetAction::DeleteRegionAction(inner) => { + #[allow(unused_mut)] let mut object_161 = object_98.key("deleteRegionAction").start_object(); crate::json_ser::serialize_structure_crate_model_delete_region_action( &mut object_161, @@ -826,6 +855,7 @@ pub fn serialize_structure_crate_model_ssm_automation( object.key("targetAccount").string(var_165.as_str()); } if let Some(var_166) = &input.parameters { + #[allow(unused_mut)] let mut object_167 = object.key("parameters").start_object(); for (key_168, value_169) in var_166 { { @@ -841,9 +871,11 @@ pub fn serialize_structure_crate_model_ssm_automation( object_167.finish(); } if let Some(var_172) = &input.dynamic_parameters { + #[allow(unused_mut)] let mut object_173 = object.key("dynamicParameters").start_object(); for (key_174, value_175) in var_172 { { + #[allow(unused_mut)] let mut object_176 = object_173.key(key_174.as_str()).start_object(); crate::json_ser::serialize_union_crate_model_dynamic_ssm_parameter_value( &mut object_176, @@ -881,6 +913,7 @@ pub fn serialize_union_crate_model_condition( .date_time(inner, aws_smithy_types::date_time::Format::EpochSeconds)?; } crate::model::Condition::Equals(inner) => { + #[allow(unused_mut)] let mut object_177 = object_150.key("equals").start_object(); crate::json_ser::serialize_union_crate_model_attribute_value_list( &mut object_177, @@ -902,6 +935,7 @@ pub fn serialize_structure_crate_model_item_identifier( input: &crate::model::ItemIdentifier, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_178) = &input.value { + #[allow(unused_mut)] let mut object_179 = object.key("value").start_object(); crate::json_ser::serialize_union_crate_model_item_value(&mut object_179, var_178)?; object_179.finish(); diff --git a/sdk/ssoadmin/src/json_ser.rs b/sdk/ssoadmin/src/json_ser.rs index 8ba34f336381..de17c9d9bc87 100644 --- a/sdk/ssoadmin/src/json_ser.rs +++ b/sdk/ssoadmin/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_attach_customer_managed_policy_reference_ object.key("PermissionSetArn").string(var_2.as_str()); } if let Some(var_3) = &input.customer_managed_policy_reference { + #[allow(unused_mut)] let mut object_4 = object.key("CustomerManagedPolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_customer_managed_policy_reference( &mut object_4, @@ -69,6 +70,7 @@ pub fn serialize_structure_crate_input_create_instance_access_control_attribute_ object.key("InstanceArn").string(var_14.as_str()); } if let Some(var_15) = &input.instance_access_control_attribute_configuration { + #[allow(unused_mut)] let mut object_16 = object .key("InstanceAccessControlAttributeConfiguration") .start_object(); @@ -101,6 +103,7 @@ pub fn serialize_structure_crate_input_create_permission_set_input( let mut array_23 = object.key("Tags").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_25, item_24)?; object_25.finish(); @@ -264,6 +267,7 @@ pub fn serialize_structure_crate_input_detach_customer_managed_policy_reference_ object.key("PermissionSetArn").string(var_49.as_str()); } if let Some(var_50) = &input.customer_managed_policy_reference { + #[allow(unused_mut)] let mut object_51 = object.key("CustomerManagedPolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_customer_managed_policy_reference( &mut object_51, @@ -333,6 +337,7 @@ pub fn serialize_structure_crate_input_list_account_assignment_creation_status_i object.key("NextToken").string(var_61.as_str()); } if let Some(var_62) = &input.filter { + #[allow(unused_mut)] let mut object_63 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_operation_status_filter( &mut object_63, @@ -360,6 +365,7 @@ pub fn serialize_structure_crate_input_list_account_assignment_deletion_status_i object.key("NextToken").string(var_66.as_str()); } if let Some(var_67) = &input.filter { + #[allow(unused_mut)] let mut object_68 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_operation_status_filter( &mut object_68, @@ -497,6 +503,7 @@ pub fn serialize_structure_crate_input_list_permission_set_provisioning_status_i object.key("NextToken").string(var_91.as_str()); } if let Some(var_92) = &input.filter { + #[allow(unused_mut)] let mut object_93 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_operation_status_filter( &mut object_93, @@ -613,6 +620,7 @@ pub fn serialize_structure_crate_input_put_permissions_boundary_to_permission_se object.key("PermissionSetArn").string(var_113.as_str()); } if let Some(var_114) = &input.permissions_boundary { + #[allow(unused_mut)] let mut object_115 = object.key("PermissionsBoundary").start_object(); crate::json_ser::serialize_structure_crate_model_permissions_boundary( &mut object_115, @@ -637,6 +645,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_119 = object.key("Tags").start_array(); for item_120 in var_118 { { + #[allow(unused_mut)] let mut object_121 = array_119.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_121, item_120)?; object_121.finish(); @@ -677,6 +686,7 @@ pub fn serialize_structure_crate_input_update_instance_access_control_attribute_ object.key("InstanceArn").string(var_127.as_str()); } if let Some(var_128) = &input.instance_access_control_attribute_configuration { + #[allow(unused_mut)] let mut object_129 = object .key("InstanceAccessControlAttributeConfiguration") .start_object(); @@ -729,6 +739,7 @@ pub fn serialize_structure_crate_model_instance_access_control_attribute_configu let mut array_138 = object.key("AccessControlAttributes").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_access_control_attribute( &mut object_140, @@ -770,6 +781,7 @@ pub fn serialize_structure_crate_model_permissions_boundary( input: &crate::model::PermissionsBoundary, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_144) = &input.customer_managed_policy_reference { + #[allow(unused_mut)] let mut object_145 = object.key("CustomerManagedPolicyReference").start_object(); crate::json_ser::serialize_structure_crate_model_customer_managed_policy_reference( &mut object_145, @@ -791,6 +803,7 @@ pub fn serialize_structure_crate_model_access_control_attribute( object.key("Key").string(var_147.as_str()); } if let Some(var_148) = &input.value { + #[allow(unused_mut)] let mut object_149 = object.key("Value").start_object(); crate::json_ser::serialize_structure_crate_model_access_control_attribute_value( &mut object_149, diff --git a/sdk/storagegateway/src/json_ser.rs b/sdk/storagegateway/src/json_ser.rs index c8ac43047acf..031d212b37d5 100644 --- a/sdk/storagegateway/src/json_ser.rs +++ b/sdk/storagegateway/src/json_ser.rs @@ -28,6 +28,7 @@ pub fn serialize_structure_crate_input_activate_gateway_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -68,6 +69,7 @@ pub fn serialize_structure_crate_input_add_tags_to_resource_input( let mut array_18 = object.key("Tags").start_array(); for item_19 in var_17 { { + #[allow(unused_mut)] let mut object_20 = array_18.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_20, item_19)?; object_20.finish(); @@ -157,6 +159,7 @@ pub fn serialize_structure_crate_input_associate_file_system_input( let mut array_37 = object.key("Tags").start_array(); for item_38 in var_36 { { + #[allow(unused_mut)] let mut object_39 = array_37.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_39, item_38)?; object_39.finish(); @@ -168,11 +171,13 @@ pub fn serialize_structure_crate_input_associate_file_system_input( object.key("AuditDestinationARN").string(var_40.as_str()); } if let Some(var_41) = &input.cache_attributes { + #[allow(unused_mut)] let mut object_42 = object.key("CacheAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cache_attributes(&mut object_42, var_41)?; object_42.finish(); } if let Some(var_43) = &input.endpoint_network_configuration { + #[allow(unused_mut)] let mut object_44 = object.key("EndpointNetworkConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_network_configuration( &mut object_44, @@ -269,6 +274,7 @@ pub fn serialize_structure_crate_input_create_cachedi_scsi_volume_input( let mut array_63 = object.key("Tags").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_65, item_64)?; object_65.finish(); @@ -287,6 +293,7 @@ pub fn serialize_structure_crate_input_create_nfs_file_share_input( object.key("ClientToken").string(var_66.as_str()); } if let Some(var_67) = &input.nfs_file_share_defaults { + #[allow(unused_mut)] let mut object_68 = object.key("NFSFileShareDefaults").start_object(); crate::json_ser::serialize_structure_crate_model_nfs_file_share_defaults( &mut object_68, @@ -340,6 +347,7 @@ pub fn serialize_structure_crate_input_create_nfs_file_share_input( let mut array_84 = object.key("Tags").start_array(); for item_85 in var_83 { { + #[allow(unused_mut)] let mut object_86 = array_84.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_86, item_85)?; object_86.finish(); @@ -351,6 +359,7 @@ pub fn serialize_structure_crate_input_create_nfs_file_share_input( object.key("FileShareName").string(var_87.as_str()); } if let Some(var_88) = &input.cache_attributes { + #[allow(unused_mut)] let mut object_89 = object.key("CacheAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cache_attributes(&mut object_89, var_88)?; object_89.finish(); @@ -453,6 +462,7 @@ pub fn serialize_structure_crate_input_create_smb_file_share_input( let mut array_120 = object.key("Tags").start_array(); for item_121 in var_119 { { + #[allow(unused_mut)] let mut object_122 = array_120.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_122, item_121)?; object_122.finish(); @@ -464,6 +474,7 @@ pub fn serialize_structure_crate_input_create_smb_file_share_input( object.key("FileShareName").string(var_123.as_str()); } if let Some(var_124) = &input.cache_attributes { + #[allow(unused_mut)] let mut object_125 = object.key("CacheAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cache_attributes( &mut object_125, @@ -500,6 +511,7 @@ pub fn serialize_structure_crate_input_create_snapshot_input( let mut array_133 = object.key("Tags").start_array(); for item_134 in var_132 { { + #[allow(unused_mut)] let mut object_135 = array_133.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_135, item_134)?; object_135.finish(); @@ -524,6 +536,7 @@ pub fn serialize_structure_crate_input_create_snapshot_from_volume_recovery_poin let mut array_139 = object.key("Tags").start_array(); for item_140 in var_138 { { + #[allow(unused_mut)] let mut object_141 = array_139.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_141, item_140)?; object_141.finish(); @@ -568,6 +581,7 @@ pub fn serialize_structure_crate_input_create_storedi_scsi_volume_input( let mut array_150 = object.key("Tags").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_152, item_151)?; object_152.finish(); @@ -601,6 +615,7 @@ pub fn serialize_structure_crate_input_create_tape_pool_input( let mut array_158 = object.key("Tags").start_array(); for item_159 in var_157 { { + #[allow(unused_mut)] let mut object_160 = array_158.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_160, item_159)?; object_160.finish(); @@ -652,6 +667,7 @@ pub fn serialize_structure_crate_input_create_tapes_input( let mut array_170 = object.key("Tags").start_array(); for item_171 in var_169 { { + #[allow(unused_mut)] let mut object_172 = array_170.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_172, item_171)?; object_172.finish(); @@ -694,6 +710,7 @@ pub fn serialize_structure_crate_input_create_tape_with_barcode_input( let mut array_180 = object.key("Tags").start_array(); for item_181 in var_179 { { + #[allow(unused_mut)] let mut object_182 = array_180.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_182, item_181)?; object_182.finish(); @@ -1524,6 +1541,7 @@ pub fn serialize_structure_crate_input_update_automatic_tape_creation_policy_inp let mut array_306 = object.key("AutomaticTapeCreationRules").start_array(); for item_307 in var_305 { { + #[allow(unused_mut)] let mut object_308 = array_306.value().start_object(); crate::json_ser::serialize_structure_crate_model_automatic_tape_creation_rule( &mut object_308, @@ -1573,6 +1591,7 @@ pub fn serialize_structure_crate_input_update_bandwidth_rate_limit_schedule_inpu let mut array_315 = object.key("BandwidthRateLimitIntervals").start_array(); for item_316 in var_314 { { + #[allow(unused_mut)] let mut object_317 = array_315.value().start_object(); crate::json_ser::serialize_structure_crate_model_bandwidth_rate_limit_interval( &mut object_317, @@ -1628,6 +1647,7 @@ pub fn serialize_structure_crate_input_update_file_system_association_input( object.key("AuditDestinationARN").string(var_325.as_str()); } if let Some(var_326) = &input.cache_attributes { + #[allow(unused_mut)] let mut object_327 = object.key("CacheAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cache_attributes( &mut object_327, @@ -1718,6 +1738,7 @@ pub fn serialize_structure_crate_input_update_nfs_file_share_input( object.key("KMSKey").string(var_341.as_str()); } if let Some(var_342) = &input.nfs_file_share_defaults { + #[allow(unused_mut)] let mut object_343 = object.key("NFSFileShareDefaults").start_object(); crate::json_ser::serialize_structure_crate_model_nfs_file_share_defaults( &mut object_343, @@ -1756,6 +1777,7 @@ pub fn serialize_structure_crate_input_update_nfs_file_share_input( object.key("FileShareName").string(var_353.as_str()); } if let Some(var_354) = &input.cache_attributes { + #[allow(unused_mut)] let mut object_355 = object.key("CacheAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cache_attributes( &mut object_355, @@ -1843,6 +1865,7 @@ pub fn serialize_structure_crate_input_update_smb_file_share_input( object.key("FileShareName").string(var_379.as_str()); } if let Some(var_380) = &input.cache_attributes { + #[allow(unused_mut)] let mut object_381 = object.key("CacheAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cache_attributes( &mut object_381, @@ -1880,6 +1903,7 @@ pub fn serialize_structure_crate_input_update_smb_local_groups_input( object.key("GatewayARN").string(var_386.as_str()); } if let Some(var_387) = &input.smb_local_groups { + #[allow(unused_mut)] let mut object_388 = object.key("SMBLocalGroups").start_object(); crate::json_ser::serialize_structure_crate_model_smb_local_groups( &mut object_388, @@ -1929,6 +1953,7 @@ pub fn serialize_structure_crate_input_update_snapshot_schedule_input( let mut array_396 = object.key("Tags").start_array(); for item_397 in var_395 { { + #[allow(unused_mut)] let mut object_398 = array_396.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_398, item_397)?; object_398.finish(); diff --git a/sdk/support/src/json_ser.rs b/sdk/support/src/json_ser.rs index b96bda93e223..4696cfa8acb8 100644 --- a/sdk/support/src/json_ser.rs +++ b/sdk/support/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_add_attachments_to_set_input( let mut array_3 = object.key("attachments").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_structure_crate_model_attachment(&mut object_5, item_4)?; object_5.finish(); diff --git a/sdk/swf/src/json_ser.rs b/sdk/swf/src/json_ser.rs index f63ec7a52b68..6077e06be7fe 100644 --- a/sdk/swf/src/json_ser.rs +++ b/sdk/swf/src/json_ser.rs @@ -7,6 +7,7 @@ pub fn serialize_structure_crate_input_count_closed_workflow_executions_input( object.key("domain").string(var_1.as_str()); } if let Some(var_2) = &input.start_time_filter { + #[allow(unused_mut)] let mut object_3 = object.key("startTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_execution_time_filter( &mut object_3, @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_count_closed_workflow_executions_input( object_3.finish(); } if let Some(var_4) = &input.close_time_filter { + #[allow(unused_mut)] let mut object_5 = object.key("closeTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_execution_time_filter( &mut object_5, @@ -23,6 +25,7 @@ pub fn serialize_structure_crate_input_count_closed_workflow_executions_input( object_5.finish(); } if let Some(var_6) = &input.execution_filter { + #[allow(unused_mut)] let mut object_7 = object.key("executionFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_execution_filter( &mut object_7, @@ -31,6 +34,7 @@ pub fn serialize_structure_crate_input_count_closed_workflow_executions_input( object_7.finish(); } if let Some(var_8) = &input.type_filter { + #[allow(unused_mut)] let mut object_9 = object.key("typeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type_filter( &mut object_9, @@ -39,11 +43,13 @@ pub fn serialize_structure_crate_input_count_closed_workflow_executions_input( object_9.finish(); } if let Some(var_10) = &input.tag_filter { + #[allow(unused_mut)] let mut object_11 = object.key("tagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter(&mut object_11, var_10)?; object_11.finish(); } if let Some(var_12) = &input.close_status_filter { + #[allow(unused_mut)] let mut object_13 = object.key("closeStatusFilter").start_object(); crate::json_ser::serialize_structure_crate_model_close_status_filter( &mut object_13, @@ -62,6 +68,7 @@ pub fn serialize_structure_crate_input_count_open_workflow_executions_input( object.key("domain").string(var_14.as_str()); } if let Some(var_15) = &input.start_time_filter { + #[allow(unused_mut)] let mut object_16 = object.key("startTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_execution_time_filter( &mut object_16, @@ -70,6 +77,7 @@ pub fn serialize_structure_crate_input_count_open_workflow_executions_input( object_16.finish(); } if let Some(var_17) = &input.type_filter { + #[allow(unused_mut)] let mut object_18 = object.key("typeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type_filter( &mut object_18, @@ -78,11 +86,13 @@ pub fn serialize_structure_crate_input_count_open_workflow_executions_input( object_18.finish(); } if let Some(var_19) = &input.tag_filter { + #[allow(unused_mut)] let mut object_20 = object.key("tagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter(&mut object_20, var_19)?; object_20.finish(); } if let Some(var_21) = &input.execution_filter { + #[allow(unused_mut)] let mut object_22 = object.key("executionFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_execution_filter( &mut object_22, @@ -101,6 +111,7 @@ pub fn serialize_structure_crate_input_count_pending_activity_tasks_input( object.key("domain").string(var_23.as_str()); } if let Some(var_24) = &input.task_list { + #[allow(unused_mut)] let mut object_25 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_25, var_24)?; object_25.finish(); @@ -116,6 +127,7 @@ pub fn serialize_structure_crate_input_count_pending_decision_tasks_input( object.key("domain").string(var_26.as_str()); } if let Some(var_27) = &input.task_list { + #[allow(unused_mut)] let mut object_28 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_28, var_27)?; object_28.finish(); @@ -131,6 +143,7 @@ pub fn serialize_structure_crate_input_deprecate_activity_type_input( object.key("domain").string(var_29.as_str()); } if let Some(var_30) = &input.activity_type { + #[allow(unused_mut)] let mut object_31 = object.key("activityType").start_object(); crate::json_ser::serialize_structure_crate_model_activity_type(&mut object_31, var_30)?; object_31.finish(); @@ -156,6 +169,7 @@ pub fn serialize_structure_crate_input_deprecate_workflow_type_input( object.key("domain").string(var_33.as_str()); } if let Some(var_34) = &input.workflow_type { + #[allow(unused_mut)] let mut object_35 = object.key("workflowType").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type(&mut object_35, var_34)?; object_35.finish(); @@ -171,6 +185,7 @@ pub fn serialize_structure_crate_input_describe_activity_type_input( object.key("domain").string(var_36.as_str()); } if let Some(var_37) = &input.activity_type { + #[allow(unused_mut)] let mut object_38 = object.key("activityType").start_object(); crate::json_ser::serialize_structure_crate_model_activity_type(&mut object_38, var_37)?; object_38.finish(); @@ -196,6 +211,7 @@ pub fn serialize_structure_crate_input_describe_workflow_execution_input( object.key("domain").string(var_40.as_str()); } if let Some(var_41) = &input.execution { + #[allow(unused_mut)] let mut object_42 = object.key("execution").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_execution( &mut object_42, @@ -214,6 +230,7 @@ pub fn serialize_structure_crate_input_describe_workflow_type_input( object.key("domain").string(var_43.as_str()); } if let Some(var_44) = &input.workflow_type { + #[allow(unused_mut)] let mut object_45 = object.key("workflowType").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type(&mut object_45, var_44)?; object_45.finish(); @@ -229,6 +246,7 @@ pub fn serialize_structure_crate_input_get_workflow_execution_history_input( object.key("domain").string(var_46.as_str()); } if let Some(var_47) = &input.execution { + #[allow(unused_mut)] let mut object_48 = object.key("execution").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_execution( &mut object_48, @@ -287,6 +305,7 @@ pub fn serialize_structure_crate_input_list_closed_workflow_executions_input( object.key("domain").string(var_54.as_str()); } if let Some(var_55) = &input.start_time_filter { + #[allow(unused_mut)] let mut object_56 = object.key("startTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_execution_time_filter( &mut object_56, @@ -295,6 +314,7 @@ pub fn serialize_structure_crate_input_list_closed_workflow_executions_input( object_56.finish(); } if let Some(var_57) = &input.close_time_filter { + #[allow(unused_mut)] let mut object_58 = object.key("closeTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_execution_time_filter( &mut object_58, @@ -303,6 +323,7 @@ pub fn serialize_structure_crate_input_list_closed_workflow_executions_input( object_58.finish(); } if let Some(var_59) = &input.execution_filter { + #[allow(unused_mut)] let mut object_60 = object.key("executionFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_execution_filter( &mut object_60, @@ -311,6 +332,7 @@ pub fn serialize_structure_crate_input_list_closed_workflow_executions_input( object_60.finish(); } if let Some(var_61) = &input.close_status_filter { + #[allow(unused_mut)] let mut object_62 = object.key("closeStatusFilter").start_object(); crate::json_ser::serialize_structure_crate_model_close_status_filter( &mut object_62, @@ -319,6 +341,7 @@ pub fn serialize_structure_crate_input_list_closed_workflow_executions_input( object_62.finish(); } if let Some(var_63) = &input.type_filter { + #[allow(unused_mut)] let mut object_64 = object.key("typeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type_filter( &mut object_64, @@ -327,6 +350,7 @@ pub fn serialize_structure_crate_input_list_closed_workflow_executions_input( object_64.finish(); } if let Some(var_65) = &input.tag_filter { + #[allow(unused_mut)] let mut object_66 = object.key("tagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter(&mut object_66, var_65)?; object_66.finish(); @@ -376,6 +400,7 @@ pub fn serialize_structure_crate_input_list_open_workflow_executions_input( object.key("domain").string(var_70.as_str()); } if let Some(var_71) = &input.start_time_filter { + #[allow(unused_mut)] let mut object_72 = object.key("startTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_execution_time_filter( &mut object_72, @@ -384,6 +409,7 @@ pub fn serialize_structure_crate_input_list_open_workflow_executions_input( object_72.finish(); } if let Some(var_73) = &input.type_filter { + #[allow(unused_mut)] let mut object_74 = object.key("typeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type_filter( &mut object_74, @@ -392,6 +418,7 @@ pub fn serialize_structure_crate_input_list_open_workflow_executions_input( object_74.finish(); } if let Some(var_75) = &input.tag_filter { + #[allow(unused_mut)] let mut object_76 = object.key("tagFilter").start_object(); crate::json_ser::serialize_structure_crate_model_tag_filter(&mut object_76, var_75)?; object_76.finish(); @@ -409,6 +436,7 @@ pub fn serialize_structure_crate_input_list_open_workflow_executions_input( object.key("reverseOrder").boolean(input.reverse_order); } if let Some(var_78) = &input.execution_filter { + #[allow(unused_mut)] let mut object_79 = object.key("executionFilter").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_execution_filter( &mut object_79, @@ -465,6 +493,7 @@ pub fn serialize_structure_crate_input_poll_for_activity_task_input( object.key("domain").string(var_85.as_str()); } if let Some(var_86) = &input.task_list { + #[allow(unused_mut)] let mut object_87 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_87, var_86)?; object_87.finish(); @@ -483,6 +512,7 @@ pub fn serialize_structure_crate_input_poll_for_decision_task_input( object.key("domain").string(var_89.as_str()); } if let Some(var_90) = &input.task_list { + #[allow(unused_mut)] let mut object_91 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_91, var_90)?; object_91.finish(); @@ -545,6 +575,7 @@ pub fn serialize_structure_crate_input_register_activity_type_input( .string(var_101.as_str()); } if let Some(var_102) = &input.default_task_list { + #[allow(unused_mut)] let mut object_103 = object.key("defaultTaskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_103, var_102)?; object_103.finish(); @@ -584,6 +615,7 @@ pub fn serialize_structure_crate_input_register_domain_input( let mut array_111 = object.key("tags").start_array(); for item_112 in var_110 { { + #[allow(unused_mut)] let mut object_113 = array_111.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_113, @@ -624,6 +656,7 @@ pub fn serialize_structure_crate_input_register_workflow_type_input( .string(var_119.as_str()); } if let Some(var_120) = &input.default_task_list { + #[allow(unused_mut)] let mut object_121 = object.key("defaultTaskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_121, var_120)?; object_121.finish(); @@ -709,6 +742,7 @@ pub fn serialize_structure_crate_input_respond_decision_task_completed_input( let mut array_137 = object.key("decisions").start_array(); for item_138 in var_136 { { + #[allow(unused_mut)] let mut object_139 = array_137.value().start_object(); crate::json_ser::serialize_structure_crate_model_decision( &mut object_139, @@ -758,11 +792,13 @@ pub fn serialize_structure_crate_input_start_workflow_execution_input( object.key("workflowId").string(var_147.as_str()); } if let Some(var_148) = &input.workflow_type { + #[allow(unused_mut)] let mut object_149 = object.key("workflowType").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type(&mut object_149, var_148)?; object_149.finish(); } if let Some(var_150) = &input.task_list { + #[allow(unused_mut)] let mut object_151 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_151, var_150)?; object_151.finish(); @@ -812,6 +848,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_163 = object.key("tags").start_array(); for item_164 in var_162 { { + #[allow(unused_mut)] let mut object_165 = array_163.value().start_object(); crate::json_ser::serialize_structure_crate_model_resource_tag( &mut object_165, @@ -858,6 +895,7 @@ pub fn serialize_structure_crate_input_undeprecate_activity_type_input( object.key("domain").string(var_172.as_str()); } if let Some(var_173) = &input.activity_type { + #[allow(unused_mut)] let mut object_174 = object.key("activityType").start_object(); crate::json_ser::serialize_structure_crate_model_activity_type(&mut object_174, var_173)?; object_174.finish(); @@ -883,6 +921,7 @@ pub fn serialize_structure_crate_input_undeprecate_workflow_type_input( object.key("domain").string(var_176.as_str()); } if let Some(var_177) = &input.workflow_type { + #[allow(unused_mut)] let mut object_178 = object.key("workflowType").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type(&mut object_178, var_177)?; object_178.finish(); @@ -1039,6 +1078,7 @@ pub fn serialize_structure_crate_model_decision( object.key("decisionType").string(var_199.as_str()); } if let Some(var_200) = &input.schedule_activity_task_decision_attributes { + #[allow(unused_mut)] let mut object_201 = object .key("scheduleActivityTaskDecisionAttributes") .start_object(); @@ -1046,6 +1086,7 @@ pub fn serialize_structure_crate_model_decision( object_201.finish(); } if let Some(var_202) = &input.request_cancel_activity_task_decision_attributes { + #[allow(unused_mut)] let mut object_203 = object .key("requestCancelActivityTaskDecisionAttributes") .start_object(); @@ -1053,6 +1094,7 @@ pub fn serialize_structure_crate_model_decision( object_203.finish(); } if let Some(var_204) = &input.complete_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_205 = object .key("completeWorkflowExecutionDecisionAttributes") .start_object(); @@ -1060,6 +1102,7 @@ pub fn serialize_structure_crate_model_decision( object_205.finish(); } if let Some(var_206) = &input.fail_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_207 = object .key("failWorkflowExecutionDecisionAttributes") .start_object(); @@ -1067,6 +1110,7 @@ pub fn serialize_structure_crate_model_decision( object_207.finish(); } if let Some(var_208) = &input.cancel_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_209 = object .key("cancelWorkflowExecutionDecisionAttributes") .start_object(); @@ -1074,6 +1118,7 @@ pub fn serialize_structure_crate_model_decision( object_209.finish(); } if let Some(var_210) = &input.continue_as_new_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_211 = object .key("continueAsNewWorkflowExecutionDecisionAttributes") .start_object(); @@ -1081,6 +1126,7 @@ pub fn serialize_structure_crate_model_decision( object_211.finish(); } if let Some(var_212) = &input.record_marker_decision_attributes { + #[allow(unused_mut)] let mut object_213 = object.key("recordMarkerDecisionAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_record_marker_decision_attributes( &mut object_213, @@ -1089,6 +1135,7 @@ pub fn serialize_structure_crate_model_decision( object_213.finish(); } if let Some(var_214) = &input.start_timer_decision_attributes { + #[allow(unused_mut)] let mut object_215 = object.key("startTimerDecisionAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_start_timer_decision_attributes( &mut object_215, @@ -1097,6 +1144,7 @@ pub fn serialize_structure_crate_model_decision( object_215.finish(); } if let Some(var_216) = &input.cancel_timer_decision_attributes { + #[allow(unused_mut)] let mut object_217 = object.key("cancelTimerDecisionAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_cancel_timer_decision_attributes( &mut object_217, @@ -1105,6 +1153,7 @@ pub fn serialize_structure_crate_model_decision( object_217.finish(); } if let Some(var_218) = &input.signal_external_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_219 = object .key("signalExternalWorkflowExecutionDecisionAttributes") .start_object(); @@ -1112,6 +1161,7 @@ pub fn serialize_structure_crate_model_decision( object_219.finish(); } if let Some(var_220) = &input.request_cancel_external_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_221 = object .key("requestCancelExternalWorkflowExecutionDecisionAttributes") .start_object(); @@ -1119,6 +1169,7 @@ pub fn serialize_structure_crate_model_decision( object_221.finish(); } if let Some(var_222) = &input.start_child_workflow_execution_decision_attributes { + #[allow(unused_mut)] let mut object_223 = object .key("startChildWorkflowExecutionDecisionAttributes") .start_object(); @@ -1126,6 +1177,7 @@ pub fn serialize_structure_crate_model_decision( object_223.finish(); } if let Some(var_224) = &input.schedule_lambda_function_decision_attributes { + #[allow(unused_mut)] let mut object_225 = object .key("scheduleLambdaFunctionDecisionAttributes") .start_object(); @@ -1140,6 +1192,7 @@ pub fn serialize_structure_crate_model_schedule_activity_task_decision_attribute input: &crate::model::ScheduleActivityTaskDecisionAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_226) = &input.activity_type { + #[allow(unused_mut)] let mut object_227 = object.key("activityType").start_object(); crate::json_ser::serialize_structure_crate_model_activity_type(&mut object_227, var_226)?; object_227.finish(); @@ -1159,6 +1212,7 @@ pub fn serialize_structure_crate_model_schedule_activity_task_decision_attribute .string(var_231.as_str()); } if let Some(var_232) = &input.task_list { + #[allow(unused_mut)] let mut object_233 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_233, var_232)?; object_233.finish(); @@ -1236,6 +1290,7 @@ pub fn serialize_structure_crate_model_continue_as_new_workflow_execution_decisi .string(var_244.as_str()); } if let Some(var_245) = &input.task_list { + #[allow(unused_mut)] let mut object_246 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_246, var_245)?; object_246.finish(); @@ -1351,6 +1406,7 @@ pub fn serialize_structure_crate_model_start_child_workflow_execution_decision_a input: &crate::model::StartChildWorkflowExecutionDecisionAttributes, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_269) = &input.workflow_type { + #[allow(unused_mut)] let mut object_270 = object.key("workflowType").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_type(&mut object_270, var_269)?; object_270.finish(); @@ -1370,6 +1426,7 @@ pub fn serialize_structure_crate_model_start_child_workflow_execution_decision_a .string(var_274.as_str()); } if let Some(var_275) = &input.task_list { + #[allow(unused_mut)] let mut object_276 = object.key("taskList").start_object(); crate::json_ser::serialize_structure_crate_model_task_list(&mut object_276, var_275)?; object_276.finish(); diff --git a/sdk/synthetics/src/json_ser.rs b/sdk/synthetics/src/json_ser.rs index 7a9c679e8684..fc8f438984b7 100644 --- a/sdk/synthetics/src/json_ser.rs +++ b/sdk/synthetics/src/json_ser.rs @@ -14,6 +14,7 @@ pub fn serialize_structure_crate_input_create_canary_input( input: &crate::input::CreateCanaryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_2) = &input.artifact_config { + #[allow(unused_mut)] let mut object_3 = object.key("ArtifactConfig").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_config_input( &mut object_3, @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_create_canary_input( object.key("ArtifactS3Location").string(var_4.as_str()); } if let Some(var_5) = &input.code { + #[allow(unused_mut)] let mut object_6 = object.key("Code").start_object(); crate::json_ser::serialize_structure_crate_model_canary_code_input(&mut object_6, var_5)?; object_6.finish(); @@ -42,6 +44,7 @@ pub fn serialize_structure_crate_input_create_canary_input( object.key("Name").string(var_9.as_str()); } if let Some(var_10) = &input.run_config { + #[allow(unused_mut)] let mut object_11 = object.key("RunConfig").start_object(); crate::json_ser::serialize_structure_crate_model_canary_run_config_input( &mut object_11, @@ -53,6 +56,7 @@ pub fn serialize_structure_crate_input_create_canary_input( object.key("RuntimeVersion").string(var_12.as_str()); } if let Some(var_13) = &input.schedule { + #[allow(unused_mut)] let mut object_14 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_canary_schedule_input( &mut object_14, @@ -67,6 +71,7 @@ pub fn serialize_structure_crate_input_create_canary_input( ); } if let Some(var_16) = &input.tags { + #[allow(unused_mut)] let mut object_17 = object.key("Tags").start_object(); for (key_18, value_19) in var_16 { { @@ -76,6 +81,7 @@ pub fn serialize_structure_crate_input_create_canary_input( object_17.finish(); } if let Some(var_20) = &input.vpc_config { + #[allow(unused_mut)] let mut object_21 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config_input(&mut object_21, var_20)?; object_21.finish(); @@ -91,6 +97,7 @@ pub fn serialize_structure_crate_input_create_group_input( object.key("Name").string(var_22.as_str()); } if let Some(var_23) = &input.tags { + #[allow(unused_mut)] let mut object_24 = object.key("Tags").start_object(); for (key_25, value_26) in var_23 { { @@ -247,6 +254,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_48) = &input.tags { + #[allow(unused_mut)] let mut object_49 = object.key("Tags").start_object(); for (key_50, value_51) in var_48 { { @@ -263,6 +271,7 @@ pub fn serialize_structure_crate_input_update_canary_input( input: &crate::input::UpdateCanaryInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_52) = &input.artifact_config { + #[allow(unused_mut)] let mut object_53 = object.key("ArtifactConfig").start_object(); crate::json_ser::serialize_structure_crate_model_artifact_config_input( &mut object_53, @@ -274,6 +283,7 @@ pub fn serialize_structure_crate_input_update_canary_input( object.key("ArtifactS3Location").string(var_54.as_str()); } if let Some(var_55) = &input.code { + #[allow(unused_mut)] let mut object_56 = object.key("Code").start_object(); crate::json_ser::serialize_structure_crate_model_canary_code_input(&mut object_56, var_55)?; object_56.finish(); @@ -288,6 +298,7 @@ pub fn serialize_structure_crate_input_update_canary_input( ); } if let Some(var_59) = &input.run_config { + #[allow(unused_mut)] let mut object_60 = object.key("RunConfig").start_object(); crate::json_ser::serialize_structure_crate_model_canary_run_config_input( &mut object_60, @@ -299,6 +310,7 @@ pub fn serialize_structure_crate_input_update_canary_input( object.key("RuntimeVersion").string(var_61.as_str()); } if let Some(var_62) = &input.schedule { + #[allow(unused_mut)] let mut object_63 = object.key("Schedule").start_object(); crate::json_ser::serialize_structure_crate_model_canary_schedule_input( &mut object_63, @@ -313,6 +325,7 @@ pub fn serialize_structure_crate_input_update_canary_input( ); } if let Some(var_65) = &input.visual_reference { + #[allow(unused_mut)] let mut object_66 = object.key("VisualReference").start_object(); crate::json_ser::serialize_structure_crate_model_visual_reference_input( &mut object_66, @@ -321,6 +334,7 @@ pub fn serialize_structure_crate_input_update_canary_input( object_66.finish(); } if let Some(var_67) = &input.vpc_config { + #[allow(unused_mut)] let mut object_68 = object.key("VpcConfig").start_object(); crate::json_ser::serialize_structure_crate_model_vpc_config_input(&mut object_68, var_67)?; object_68.finish(); @@ -333,6 +347,7 @@ pub fn serialize_structure_crate_model_artifact_config_input( input: &crate::model::ArtifactConfigInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_69) = &input.s3_encryption { + #[allow(unused_mut)] let mut object_70 = object.key("S3Encryption").start_object(); crate::json_ser::serialize_structure_crate_model_s3_encryption_config( &mut object_70, @@ -387,6 +402,7 @@ pub fn serialize_structure_crate_model_canary_run_config_input( object.key("ActiveTracing").boolean(*var_78); } if let Some(var_79) = &input.environment_variables { + #[allow(unused_mut)] let mut object_80 = object.key("EnvironmentVariables").start_object(); for (key_81, value_82) in var_79 { { @@ -447,6 +463,7 @@ pub fn serialize_structure_crate_model_visual_reference_input( let mut array_92 = object.key("BaseScreenshots").start_array(); for item_93 in var_91 { { + #[allow(unused_mut)] let mut object_94 = array_92.value().start_object(); crate::json_ser::serialize_structure_crate_model_base_screenshot( &mut object_94, diff --git a/sdk/textract/src/json_ser.rs b/sdk/textract/src/json_ser.rs index 0fbb52af8c05..282262139084 100644 --- a/sdk/textract/src/json_ser.rs +++ b/sdk/textract/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_analyze_document_input( input: &crate::input::AnalyzeDocumentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.document { + #[allow(unused_mut)] let mut object_2 = object.key("Document").start_object(); crate::json_ser::serialize_structure_crate_model_document(&mut object_2, var_1)?; object_2.finish(); @@ -18,11 +19,13 @@ pub fn serialize_structure_crate_input_analyze_document_input( array_4.finish(); } if let Some(var_6) = &input.human_loop_config { + #[allow(unused_mut)] let mut object_7 = object.key("HumanLoopConfig").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_config(&mut object_7, var_6)?; object_7.finish(); } if let Some(var_8) = &input.queries_config { + #[allow(unused_mut)] let mut object_9 = object.key("QueriesConfig").start_object(); crate::json_ser::serialize_structure_crate_model_queries_config(&mut object_9, var_8)?; object_9.finish(); @@ -35,6 +38,7 @@ pub fn serialize_structure_crate_input_analyze_expense_input( input: &crate::input::AnalyzeExpenseInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_10) = &input.document { + #[allow(unused_mut)] let mut object_11 = object.key("Document").start_object(); crate::json_ser::serialize_structure_crate_model_document(&mut object_11, var_10)?; object_11.finish(); @@ -50,6 +54,7 @@ pub fn serialize_structure_crate_input_analyze_id_input( let mut array_13 = object.key("DocumentPages").start_array(); for item_14 in var_12 { { + #[allow(unused_mut)] let mut object_15 = array_13.value().start_object(); crate::json_ser::serialize_structure_crate_model_document(&mut object_15, item_14)?; object_15.finish(); @@ -65,6 +70,7 @@ pub fn serialize_structure_crate_input_detect_document_text_input( input: &crate::input::DetectDocumentTextInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_16) = &input.document { + #[allow(unused_mut)] let mut object_17 = object.key("Document").start_object(); crate::json_ser::serialize_structure_crate_model_document(&mut object_17, var_16)?; object_17.finish(); @@ -134,6 +140,7 @@ pub fn serialize_structure_crate_input_start_document_analysis_input( input: &crate::input::StartDocumentAnalysisInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_27) = &input.document_location { + #[allow(unused_mut)] let mut object_28 = object.key("DocumentLocation").start_object(); crate::json_ser::serialize_structure_crate_model_document_location(&mut object_28, var_27)?; object_28.finish(); @@ -154,6 +161,7 @@ pub fn serialize_structure_crate_input_start_document_analysis_input( object.key("JobTag").string(var_33.as_str()); } if let Some(var_34) = &input.notification_channel { + #[allow(unused_mut)] let mut object_35 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_35, @@ -162,6 +170,7 @@ pub fn serialize_structure_crate_input_start_document_analysis_input( object_35.finish(); } if let Some(var_36) = &input.output_config { + #[allow(unused_mut)] let mut object_37 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_37, var_36)?; object_37.finish(); @@ -170,6 +179,7 @@ pub fn serialize_structure_crate_input_start_document_analysis_input( object.key("KMSKeyId").string(var_38.as_str()); } if let Some(var_39) = &input.queries_config { + #[allow(unused_mut)] let mut object_40 = object.key("QueriesConfig").start_object(); crate::json_ser::serialize_structure_crate_model_queries_config(&mut object_40, var_39)?; object_40.finish(); @@ -182,6 +192,7 @@ pub fn serialize_structure_crate_input_start_document_text_detection_input( input: &crate::input::StartDocumentTextDetectionInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_41) = &input.document_location { + #[allow(unused_mut)] let mut object_42 = object.key("DocumentLocation").start_object(); crate::json_ser::serialize_structure_crate_model_document_location(&mut object_42, var_41)?; object_42.finish(); @@ -193,6 +204,7 @@ pub fn serialize_structure_crate_input_start_document_text_detection_input( object.key("JobTag").string(var_44.as_str()); } if let Some(var_45) = &input.notification_channel { + #[allow(unused_mut)] let mut object_46 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_46, @@ -201,6 +213,7 @@ pub fn serialize_structure_crate_input_start_document_text_detection_input( object_46.finish(); } if let Some(var_47) = &input.output_config { + #[allow(unused_mut)] let mut object_48 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_48, var_47)?; object_48.finish(); @@ -216,6 +229,7 @@ pub fn serialize_structure_crate_input_start_expense_analysis_input( input: &crate::input::StartExpenseAnalysisInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_50) = &input.document_location { + #[allow(unused_mut)] let mut object_51 = object.key("DocumentLocation").start_object(); crate::json_ser::serialize_structure_crate_model_document_location(&mut object_51, var_50)?; object_51.finish(); @@ -227,6 +241,7 @@ pub fn serialize_structure_crate_input_start_expense_analysis_input( object.key("JobTag").string(var_53.as_str()); } if let Some(var_54) = &input.notification_channel { + #[allow(unused_mut)] let mut object_55 = object.key("NotificationChannel").start_object(); crate::json_ser::serialize_structure_crate_model_notification_channel( &mut object_55, @@ -235,6 +250,7 @@ pub fn serialize_structure_crate_input_start_expense_analysis_input( object_55.finish(); } if let Some(var_56) = &input.output_config { + #[allow(unused_mut)] let mut object_57 = object.key("OutputConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_config(&mut object_57, var_56)?; object_57.finish(); @@ -255,6 +271,7 @@ pub fn serialize_structure_crate_model_document( .string_unchecked(&aws_smithy_types::base64::encode(var_59)); } if let Some(var_60) = &input.s3_object { + #[allow(unused_mut)] let mut object_61 = object.key("S3Object").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object(&mut object_61, var_60)?; object_61.finish(); @@ -273,6 +290,7 @@ pub fn serialize_structure_crate_model_human_loop_config( object.key("FlowDefinitionArn").string(var_63.as_str()); } if let Some(var_64) = &input.data_attributes { + #[allow(unused_mut)] let mut object_65 = object.key("DataAttributes").start_object(); crate::json_ser::serialize_structure_crate_model_human_loop_data_attributes( &mut object_65, @@ -291,6 +309,7 @@ pub fn serialize_structure_crate_model_queries_config( let mut array_67 = object.key("Queries").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_query(&mut object_69, item_68)?; object_69.finish(); @@ -306,6 +325,7 @@ pub fn serialize_structure_crate_model_document_location( input: &crate::model::DocumentLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_70) = &input.s3_object { + #[allow(unused_mut)] let mut object_71 = object.key("S3Object").start_object(); crate::json_ser::serialize_structure_crate_model_s3_object(&mut object_71, var_70)?; object_71.finish(); diff --git a/sdk/transcribe/src/json_ser.rs b/sdk/transcribe/src/json_ser.rs index 26e97f2f5e59..5a6e84b1c4e0 100644 --- a/sdk/transcribe/src/json_ser.rs +++ b/sdk/transcribe/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_call_analytics_category_input( let mut array_3 = object.key("Rules").start_array(); for item_4 in var_2 { { + #[allow(unused_mut)] let mut object_5 = array_3.value().start_object(); crate::json_ser::serialize_union_crate_model_rule(&mut object_5, item_4)?; object_5.finish(); @@ -34,6 +35,7 @@ pub fn serialize_structure_crate_input_create_language_model_input( object.key("ModelName").string(var_8.as_str()); } if let Some(var_9) = &input.input_data_config { + #[allow(unused_mut)] let mut object_10 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_10, var_9)?; object_10.finish(); @@ -42,6 +44,7 @@ pub fn serialize_structure_crate_input_create_language_model_input( let mut array_12 = object.key("Tags").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_14, item_13)?; object_14.finish(); @@ -69,6 +72,7 @@ pub fn serialize_structure_crate_input_create_medical_vocabulary_input( let mut array_19 = object.key("Tags").start_array(); for item_20 in var_18 { { + #[allow(unused_mut)] let mut object_21 = array_19.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_21, item_20)?; object_21.finish(); @@ -105,6 +109,7 @@ pub fn serialize_structure_crate_input_create_vocabulary_input( let mut array_29 = object.key("Tags").start_array(); for item_30 in var_28 { { + #[allow(unused_mut)] let mut object_31 = array_29.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_31, item_30)?; object_31.finish(); @@ -143,6 +148,7 @@ pub fn serialize_structure_crate_input_create_vocabulary_filter_input( let mut array_39 = object.key("Tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -502,6 +508,7 @@ pub fn serialize_structure_crate_input_start_call_analytics_job_input( object.key("CallAnalyticsJobName").string(var_88.as_str()); } if let Some(var_89) = &input.media { + #[allow(unused_mut)] let mut object_90 = object.key("Media").start_object(); crate::json_ser::serialize_structure_crate_model_media(&mut object_90, var_89)?; object_90.finish(); @@ -518,6 +525,7 @@ pub fn serialize_structure_crate_input_start_call_analytics_job_input( object.key("DataAccessRoleArn").string(var_93.as_str()); } if let Some(var_94) = &input.settings { + #[allow(unused_mut)] let mut object_95 = object.key("Settings").start_object(); crate::json_ser::serialize_structure_crate_model_call_analytics_job_settings( &mut object_95, @@ -529,6 +537,7 @@ pub fn serialize_structure_crate_input_start_call_analytics_job_input( let mut array_97 = object.key("ChannelDefinitions").start_array(); for item_98 in var_96 { { + #[allow(unused_mut)] let mut object_99 = array_97.value().start_object(); crate::json_ser::serialize_structure_crate_model_channel_definition( &mut object_99, @@ -564,6 +573,7 @@ pub fn serialize_structure_crate_input_start_medical_transcription_job_input( object.key("MediaFormat").string(var_103.as_str()); } if let Some(var_104) = &input.media { + #[allow(unused_mut)] let mut object_105 = object.key("Media").start_object(); crate::json_ser::serialize_structure_crate_model_media(&mut object_105, var_104)?; object_105.finish(); @@ -580,6 +590,7 @@ pub fn serialize_structure_crate_input_start_medical_transcription_job_input( .string(var_108.as_str()); } if let Some(var_109) = &input.kms_encryption_context { + #[allow(unused_mut)] let mut object_110 = object.key("KMSEncryptionContext").start_object(); for (key_111, value_112) in var_109 { { @@ -589,6 +600,7 @@ pub fn serialize_structure_crate_input_start_medical_transcription_job_input( object_110.finish(); } if let Some(var_113) = &input.settings { + #[allow(unused_mut)] let mut object_114 = object.key("Settings").start_object(); crate::json_ser::serialize_structure_crate_model_medical_transcription_setting( &mut object_114, @@ -611,6 +623,7 @@ pub fn serialize_structure_crate_input_start_medical_transcription_job_input( let mut array_119 = object.key("Tags").start_array(); for item_120 in var_118 { { + #[allow(unused_mut)] let mut object_121 = array_119.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_121, item_120)?; object_121.finish(); @@ -641,6 +654,7 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( object.key("MediaFormat").string(var_125.as_str()); } if let Some(var_126) = &input.media { + #[allow(unused_mut)] let mut object_127 = object.key("Media").start_object(); crate::json_ser::serialize_structure_crate_model_media(&mut object_127, var_126)?; object_127.finish(); @@ -657,6 +671,7 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( .string(var_130.as_str()); } if let Some(var_131) = &input.kms_encryption_context { + #[allow(unused_mut)] let mut object_132 = object.key("KMSEncryptionContext").start_object(); for (key_133, value_134) in var_131 { { @@ -666,16 +681,19 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( object_132.finish(); } if let Some(var_135) = &input.settings { + #[allow(unused_mut)] let mut object_136 = object.key("Settings").start_object(); crate::json_ser::serialize_structure_crate_model_settings(&mut object_136, var_135)?; object_136.finish(); } if let Some(var_137) = &input.model_settings { + #[allow(unused_mut)] let mut object_138 = object.key("ModelSettings").start_object(); crate::json_ser::serialize_structure_crate_model_model_settings(&mut object_138, var_137)?; object_138.finish(); } if let Some(var_139) = &input.job_execution_settings { + #[allow(unused_mut)] let mut object_140 = object.key("JobExecutionSettings").start_object(); crate::json_ser::serialize_structure_crate_model_job_execution_settings( &mut object_140, @@ -684,6 +702,7 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( object_140.finish(); } if let Some(var_141) = &input.content_redaction { + #[allow(unused_mut)] let mut object_142 = object.key("ContentRedaction").start_object(); crate::json_ser::serialize_structure_crate_model_content_redaction( &mut object_142, @@ -707,6 +726,7 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( array_146.finish(); } if let Some(var_148) = &input.subtitles { + #[allow(unused_mut)] let mut object_149 = object.key("Subtitles").start_object(); crate::json_ser::serialize_structure_crate_model_subtitles(&mut object_149, var_148)?; object_149.finish(); @@ -715,6 +735,7 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( let mut array_151 = object.key("Tags").start_array(); for item_152 in var_150 { { + #[allow(unused_mut)] let mut object_153 = array_151.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_153, item_152)?; object_153.finish(); @@ -723,9 +744,11 @@ pub fn serialize_structure_crate_input_start_transcription_job_input( array_151.finish(); } if let Some(var_154) = &input.language_id_settings { + #[allow(unused_mut)] let mut object_155 = object.key("LanguageIdSettings").start_object(); for (key_156, value_157) in var_154 { { + #[allow(unused_mut)] let mut object_158 = object_155.key(key_156.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_language_id_settings( &mut object_158, @@ -750,6 +773,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_161 = object.key("Tags").start_array(); for item_162 in var_160 { { + #[allow(unused_mut)] let mut object_163 = array_161.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_163, item_162)?; object_163.finish(); @@ -790,6 +814,7 @@ pub fn serialize_structure_crate_input_update_call_analytics_category_input( let mut array_170 = object.key("Rules").start_array(); for item_171 in var_169 { { + #[allow(unused_mut)] let mut object_172 = array_170.value().start_object(); crate::json_ser::serialize_union_crate_model_rule(&mut object_172, item_171)?; object_172.finish(); @@ -871,6 +896,7 @@ pub fn serialize_union_crate_model_rule( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::Rule::NonTalkTimeFilter(inner) => { + #[allow(unused_mut)] let mut object_187 = object_5.key("NonTalkTimeFilter").start_object(); crate::json_ser::serialize_structure_crate_model_non_talk_time_filter( &mut object_187, @@ -879,6 +905,7 @@ pub fn serialize_union_crate_model_rule( object_187.finish(); } crate::model::Rule::InterruptionFilter(inner) => { + #[allow(unused_mut)] let mut object_188 = object_5.key("InterruptionFilter").start_object(); crate::json_ser::serialize_structure_crate_model_interruption_filter( &mut object_188, @@ -887,6 +914,7 @@ pub fn serialize_union_crate_model_rule( object_188.finish(); } crate::model::Rule::TranscriptFilter(inner) => { + #[allow(unused_mut)] let mut object_189 = object_5.key("TranscriptFilter").start_object(); crate::json_ser::serialize_structure_crate_model_transcript_filter( &mut object_189, @@ -895,6 +923,7 @@ pub fn serialize_union_crate_model_rule( object_189.finish(); } crate::model::Rule::SentimentFilter(inner) => { + #[allow(unused_mut)] let mut object_190 = object_5.key("SentimentFilter").start_object(); crate::json_ser::serialize_structure_crate_model_sentiment_filter( &mut object_190, @@ -972,6 +1001,7 @@ pub fn serialize_structure_crate_model_call_analytics_job_settings( object.key("LanguageModelName").string(var_201.as_str()); } if let Some(var_202) = &input.content_redaction { + #[allow(unused_mut)] let mut object_203 = object.key("ContentRedaction").start_object(); crate::json_ser::serialize_structure_crate_model_content_redaction( &mut object_203, @@ -989,9 +1019,11 @@ pub fn serialize_structure_crate_model_call_analytics_job_settings( array_205.finish(); } if let Some(var_207) = &input.language_id_settings { + #[allow(unused_mut)] let mut object_208 = object.key("LanguageIdSettings").start_object(); for (key_209, value_210) in var_207 { { + #[allow(unused_mut)] let mut object_211 = object_208.key(key_209.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_language_id_settings( &mut object_211, @@ -1185,6 +1217,7 @@ pub fn serialize_structure_crate_model_non_talk_time_filter( ); } if let Some(var_243) = &input.absolute_time_range { + #[allow(unused_mut)] let mut object_244 = object.key("AbsoluteTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_absolute_time_range( &mut object_244, @@ -1193,6 +1226,7 @@ pub fn serialize_structure_crate_model_non_talk_time_filter( object_244.finish(); } if let Some(var_245) = &input.relative_time_range { + #[allow(unused_mut)] let mut object_246 = object.key("RelativeTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_relative_time_range( &mut object_246, @@ -1220,6 +1254,7 @@ pub fn serialize_structure_crate_model_interruption_filter( object.key("ParticipantRole").string(var_249.as_str()); } if let Some(var_250) = &input.absolute_time_range { + #[allow(unused_mut)] let mut object_251 = object.key("AbsoluteTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_absolute_time_range( &mut object_251, @@ -1228,6 +1263,7 @@ pub fn serialize_structure_crate_model_interruption_filter( object_251.finish(); } if let Some(var_252) = &input.relative_time_range { + #[allow(unused_mut)] let mut object_253 = object.key("RelativeTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_relative_time_range( &mut object_253, @@ -1249,6 +1285,7 @@ pub fn serialize_structure_crate_model_transcript_filter( object.key("TranscriptFilterType").string(var_255.as_str()); } if let Some(var_256) = &input.absolute_time_range { + #[allow(unused_mut)] let mut object_257 = object.key("AbsoluteTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_absolute_time_range( &mut object_257, @@ -1257,6 +1294,7 @@ pub fn serialize_structure_crate_model_transcript_filter( object_257.finish(); } if let Some(var_258) = &input.relative_time_range { + #[allow(unused_mut)] let mut object_259 = object.key("RelativeTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_relative_time_range( &mut object_259, @@ -1296,6 +1334,7 @@ pub fn serialize_structure_crate_model_sentiment_filter( array_266.finish(); } if let Some(var_268) = &input.absolute_time_range { + #[allow(unused_mut)] let mut object_269 = object.key("AbsoluteTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_absolute_time_range( &mut object_269, @@ -1304,6 +1343,7 @@ pub fn serialize_structure_crate_model_sentiment_filter( object_269.finish(); } if let Some(var_270) = &input.relative_time_range { + #[allow(unused_mut)] let mut object_271 = object.key("RelativeTimeRange").start_object(); crate::json_ser::serialize_structure_crate_model_relative_time_range( &mut object_271, diff --git a/sdk/transfer/src/json_ser.rs b/sdk/transfer/src/json_ser.rs index 379925023ca0..ec546cda886a 100644 --- a/sdk/transfer/src/json_ser.rs +++ b/sdk/transfer/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_access_input( let mut array_4 = object.key("HomeDirectoryMappings").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_home_directory_map_entry( &mut object_6, @@ -27,6 +28,7 @@ pub fn serialize_structure_crate_input_create_access_input( object.key("Policy").string(var_7.as_str()); } if let Some(var_8) = &input.posix_profile { + #[allow(unused_mut)] let mut object_9 = object.key("PosixProfile").start_object(); crate::json_ser::serialize_structure_crate_model_posix_profile(&mut object_9, var_8)?; object_9.finish(); @@ -72,6 +74,7 @@ pub fn serialize_structure_crate_input_create_agreement_input( let mut array_21 = object.key("Tags").start_array(); for item_22 in var_20 { { + #[allow(unused_mut)] let mut object_23 = array_21.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_23, item_22)?; object_23.finish(); @@ -90,6 +93,7 @@ pub fn serialize_structure_crate_input_create_connector_input( object.key("Url").string(var_24.as_str()); } if let Some(var_25) = &input.as2_config { + #[allow(unused_mut)] let mut object_26 = object.key("As2Config").start_object(); crate::json_ser::serialize_structure_crate_model_as2_connector_config( &mut object_26, @@ -107,6 +111,7 @@ pub fn serialize_structure_crate_input_create_connector_input( let mut array_30 = object.key("Tags").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_32, item_31)?; object_32.finish(); @@ -140,6 +145,7 @@ pub fn serialize_structure_crate_input_create_profile_input( let mut array_39 = object.key("Tags").start_array(); for item_40 in var_38 { { + #[allow(unused_mut)] let mut object_41 = array_39.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_41, item_40)?; object_41.finish(); @@ -161,6 +167,7 @@ pub fn serialize_structure_crate_input_create_server_input( object.key("Domain").string(var_43.as_str()); } if let Some(var_44) = &input.endpoint_details { + #[allow(unused_mut)] let mut object_45 = object.key("EndpointDetails").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_details(&mut object_45, var_44)?; object_45.finish(); @@ -172,6 +179,7 @@ pub fn serialize_structure_crate_input_create_server_input( object.key("HostKey").string(var_47.as_str()); } if let Some(var_48) = &input.identity_provider_details { + #[allow(unused_mut)] let mut object_49 = object.key("IdentityProviderDetails").start_object(); crate::json_ser::serialize_structure_crate_model_identity_provider_details( &mut object_49, @@ -205,6 +213,7 @@ pub fn serialize_structure_crate_input_create_server_input( array_55.finish(); } if let Some(var_57) = &input.protocol_details { + #[allow(unused_mut)] let mut object_58 = object.key("ProtocolDetails").start_object(); crate::json_ser::serialize_structure_crate_model_protocol_details(&mut object_58, var_57)?; object_58.finish(); @@ -216,6 +225,7 @@ pub fn serialize_structure_crate_input_create_server_input( let mut array_61 = object.key("Tags").start_array(); for item_62 in var_60 { { + #[allow(unused_mut)] let mut object_63 = array_61.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_63, item_62)?; object_63.finish(); @@ -224,6 +234,7 @@ pub fn serialize_structure_crate_input_create_server_input( array_61.finish(); } if let Some(var_64) = &input.workflow_details { + #[allow(unused_mut)] let mut object_65 = object.key("WorkflowDetails").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_details(&mut object_65, var_64)?; object_65.finish(); @@ -245,6 +256,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_69 = object.key("HomeDirectoryMappings").start_array(); for item_70 in var_68 { { + #[allow(unused_mut)] let mut object_71 = array_69.value().start_object(); crate::json_ser::serialize_structure_crate_model_home_directory_map_entry( &mut object_71, @@ -259,6 +271,7 @@ pub fn serialize_structure_crate_input_create_user_input( object.key("Policy").string(var_72.as_str()); } if let Some(var_73) = &input.posix_profile { + #[allow(unused_mut)] let mut object_74 = object.key("PosixProfile").start_object(); crate::json_ser::serialize_structure_crate_model_posix_profile(&mut object_74, var_73)?; object_74.finish(); @@ -276,6 +289,7 @@ pub fn serialize_structure_crate_input_create_user_input( let mut array_79 = object.key("Tags").start_array(); for item_80 in var_78 { { + #[allow(unused_mut)] let mut object_81 = array_79.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_81, item_80)?; object_81.finish(); @@ -300,6 +314,7 @@ pub fn serialize_structure_crate_input_create_workflow_input( let mut array_85 = object.key("Steps").start_array(); for item_86 in var_84 { { + #[allow(unused_mut)] let mut object_87 = array_85.value().start_object(); crate::json_ser::serialize_structure_crate_model_workflow_step( &mut object_87, @@ -314,6 +329,7 @@ pub fn serialize_structure_crate_input_create_workflow_input( let mut array_89 = object.key("OnExceptionSteps").start_array(); for item_90 in var_88 { { + #[allow(unused_mut)] let mut object_91 = array_89.value().start_object(); crate::json_ser::serialize_structure_crate_model_workflow_step( &mut object_91, @@ -328,6 +344,7 @@ pub fn serialize_structure_crate_input_create_workflow_input( let mut array_93 = object.key("Tags").start_array(); for item_94 in var_92 { { + #[allow(unused_mut)] let mut object_95 = array_93.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_95, item_94)?; object_95.finish(); @@ -614,6 +631,7 @@ pub fn serialize_structure_crate_input_import_certificate_input( let mut array_136 = object.key("Tags").start_array(); for item_137 in var_135 { { + #[allow(unused_mut)] let mut object_138 = array_136.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_138, item_137)?; object_138.finish(); @@ -641,6 +659,7 @@ pub fn serialize_structure_crate_input_import_host_key_input( let mut array_143 = object.key("Tags").start_array(); for item_144 in var_142 { { + #[allow(unused_mut)] let mut object_145 = array_143.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_145, item_144)?; object_145.finish(); @@ -949,6 +968,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_192 = object.key("Tags").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_194, item_193)?; object_194.finish(); @@ -1014,6 +1034,7 @@ pub fn serialize_structure_crate_input_update_access_input( let mut array_207 = object.key("HomeDirectoryMappings").start_array(); for item_208 in var_206 { { + #[allow(unused_mut)] let mut object_209 = array_207.value().start_object(); crate::json_ser::serialize_structure_crate_model_home_directory_map_entry( &mut object_209, @@ -1028,6 +1049,7 @@ pub fn serialize_structure_crate_input_update_access_input( object.key("Policy").string(var_210.as_str()); } if let Some(var_211) = &input.posix_profile { + #[allow(unused_mut)] let mut object_212 = object.key("PosixProfile").start_object(); crate::json_ser::serialize_structure_crate_model_posix_profile(&mut object_212, var_211)?; object_212.finish(); @@ -1109,6 +1131,7 @@ pub fn serialize_structure_crate_input_update_connector_input( object.key("Url").string(var_229.as_str()); } if let Some(var_230) = &input.as2_config { + #[allow(unused_mut)] let mut object_231 = object.key("As2Config").start_object(); crate::json_ser::serialize_structure_crate_model_as2_connector_config( &mut object_231, @@ -1168,6 +1191,7 @@ pub fn serialize_structure_crate_input_update_server_input( object.key("Certificate").string(var_241.as_str()); } if let Some(var_242) = &input.protocol_details { + #[allow(unused_mut)] let mut object_243 = object.key("ProtocolDetails").start_object(); crate::json_ser::serialize_structure_crate_model_protocol_details( &mut object_243, @@ -1176,6 +1200,7 @@ pub fn serialize_structure_crate_input_update_server_input( object_243.finish(); } if let Some(var_244) = &input.endpoint_details { + #[allow(unused_mut)] let mut object_245 = object.key("EndpointDetails").start_object(); crate::json_ser::serialize_structure_crate_model_endpoint_details( &mut object_245, @@ -1190,6 +1215,7 @@ pub fn serialize_structure_crate_input_update_server_input( object.key("HostKey").string(var_247.as_str()); } if let Some(var_248) = &input.identity_provider_details { + #[allow(unused_mut)] let mut object_249 = object.key("IdentityProviderDetails").start_object(); crate::json_ser::serialize_structure_crate_model_identity_provider_details( &mut object_249, @@ -1226,6 +1252,7 @@ pub fn serialize_structure_crate_input_update_server_input( object.key("ServerId").string(var_257.as_str()); } if let Some(var_258) = &input.workflow_details { + #[allow(unused_mut)] let mut object_259 = object.key("WorkflowDetails").start_object(); crate::json_ser::serialize_structure_crate_model_workflow_details( &mut object_259, @@ -1250,6 +1277,7 @@ pub fn serialize_structure_crate_input_update_user_input( let mut array_263 = object.key("HomeDirectoryMappings").start_array(); for item_264 in var_262 { { + #[allow(unused_mut)] let mut object_265 = array_263.value().start_object(); crate::json_ser::serialize_structure_crate_model_home_directory_map_entry( &mut object_265, @@ -1264,6 +1292,7 @@ pub fn serialize_structure_crate_input_update_user_input( object.key("Policy").string(var_266.as_str()); } if let Some(var_267) = &input.posix_profile { + #[allow(unused_mut)] let mut object_268 = object.key("PosixProfile").start_object(); crate::json_ser::serialize_structure_crate_model_posix_profile(&mut object_268, var_267)?; object_268.finish(); @@ -1462,6 +1491,7 @@ pub fn serialize_structure_crate_model_workflow_details( let mut array_311 = object.key("OnUpload").start_array(); for item_312 in var_310 { { + #[allow(unused_mut)] let mut object_313 = array_311.value().start_object(); crate::json_ser::serialize_structure_crate_model_workflow_detail( &mut object_313, @@ -1483,6 +1513,7 @@ pub fn serialize_structure_crate_model_workflow_step( object.key("Type").string(var_314.as_str()); } if let Some(var_315) = &input.copy_step_details { + #[allow(unused_mut)] let mut object_316 = object.key("CopyStepDetails").start_object(); crate::json_ser::serialize_structure_crate_model_copy_step_details( &mut object_316, @@ -1491,6 +1522,7 @@ pub fn serialize_structure_crate_model_workflow_step( object_316.finish(); } if let Some(var_317) = &input.custom_step_details { + #[allow(unused_mut)] let mut object_318 = object.key("CustomStepDetails").start_object(); crate::json_ser::serialize_structure_crate_model_custom_step_details( &mut object_318, @@ -1499,6 +1531,7 @@ pub fn serialize_structure_crate_model_workflow_step( object_318.finish(); } if let Some(var_319) = &input.delete_step_details { + #[allow(unused_mut)] let mut object_320 = object.key("DeleteStepDetails").start_object(); crate::json_ser::serialize_structure_crate_model_delete_step_details( &mut object_320, @@ -1507,6 +1540,7 @@ pub fn serialize_structure_crate_model_workflow_step( object_320.finish(); } if let Some(var_321) = &input.tag_step_details { + #[allow(unused_mut)] let mut object_322 = object.key("TagStepDetails").start_object(); crate::json_ser::serialize_structure_crate_model_tag_step_details( &mut object_322, @@ -1538,6 +1572,7 @@ pub fn serialize_structure_crate_model_copy_step_details( object.key("Name").string(var_325.as_str()); } if let Some(var_326) = &input.destination_file_location { + #[allow(unused_mut)] let mut object_327 = object.key("DestinationFileLocation").start_object(); crate::json_ser::serialize_structure_crate_model_input_file_location( &mut object_327, @@ -1600,6 +1635,7 @@ pub fn serialize_structure_crate_model_tag_step_details( let mut array_338 = object.key("Tags").start_array(); for item_339 in var_337 { { + #[allow(unused_mut)] let mut object_340 = array_338.value().start_object(); crate::json_ser::serialize_structure_crate_model_s3_tag(&mut object_340, item_339)?; object_340.finish(); @@ -1618,6 +1654,7 @@ pub fn serialize_structure_crate_model_input_file_location( input: &crate::model::InputFileLocation, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_342) = &input.s3_file_location { + #[allow(unused_mut)] let mut object_343 = object.key("S3FileLocation").start_object(); crate::json_ser::serialize_structure_crate_model_s3_input_file_location( &mut object_343, @@ -1626,6 +1663,7 @@ pub fn serialize_structure_crate_model_input_file_location( object_343.finish(); } if let Some(var_344) = &input.efs_file_location { + #[allow(unused_mut)] let mut object_345 = object.key("EfsFileLocation").start_object(); crate::json_ser::serialize_structure_crate_model_efs_file_location( &mut object_345, diff --git a/sdk/translate/src/json_ser.rs b/sdk/translate/src/json_ser.rs index 3bb6aabbbea5..34d1a6f10f70 100644 --- a/sdk/translate/src/json_ser.rs +++ b/sdk/translate/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_parallel_data_input( object.key("Description").string(var_2.as_str()); } if let Some(var_3) = &input.parallel_data_config { + #[allow(unused_mut)] let mut object_4 = object.key("ParallelDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_parallel_data_config( &mut object_4, @@ -18,6 +19,7 @@ pub fn serialize_structure_crate_input_create_parallel_data_input( object_4.finish(); } if let Some(var_5) = &input.encryption_key { + #[allow(unused_mut)] let mut object_6 = object.key("EncryptionKey").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_key(&mut object_6, var_5)?; object_6.finish(); @@ -29,6 +31,7 @@ pub fn serialize_structure_crate_input_create_parallel_data_input( let mut array_9 = object.key("Tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -106,11 +109,13 @@ pub fn serialize_structure_crate_input_import_terminology_input( object.key("Description").string(var_20.as_str()); } if let Some(var_21) = &input.terminology_data { + #[allow(unused_mut)] let mut object_22 = object.key("TerminologyData").start_object(); crate::json_ser::serialize_structure_crate_model_terminology_data(&mut object_22, var_21)?; object_22.finish(); } if let Some(var_23) = &input.encryption_key { + #[allow(unused_mut)] let mut object_24 = object.key("EncryptionKey").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_key(&mut object_24, var_23)?; object_24.finish(); @@ -119,6 +124,7 @@ pub fn serialize_structure_crate_input_import_terminology_input( let mut array_26 = object.key("Tags").start_array(); for item_27 in var_25 { { + #[allow(unused_mut)] let mut object_28 = array_26.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_28, item_27)?; object_28.finish(); @@ -195,6 +201,7 @@ pub fn serialize_structure_crate_input_list_text_translation_jobs_input( input: &crate::input::ListTextTranslationJobsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_37) = &input.filter { + #[allow(unused_mut)] let mut object_38 = object.key("Filter").start_object(); crate::json_ser::serialize_structure_crate_model_text_translation_job_filter( &mut object_38, @@ -222,11 +229,13 @@ pub fn serialize_structure_crate_input_start_text_translation_job_input( object.key("JobName").string(var_41.as_str()); } if let Some(var_42) = &input.input_data_config { + #[allow(unused_mut)] let mut object_43 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_43, var_42)?; object_43.finish(); } if let Some(var_44) = &input.output_data_config { + #[allow(unused_mut)] let mut object_45 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_45, @@ -271,6 +280,7 @@ pub fn serialize_structure_crate_input_start_text_translation_job_input( object.key("ClientToken").string(var_57.as_str()); } if let Some(var_58) = &input.settings { + #[allow(unused_mut)] let mut object_59 = object.key("Settings").start_object(); crate::json_ser::serialize_structure_crate_model_translation_settings( &mut object_59, @@ -302,6 +312,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_63 = object.key("Tags").start_array(); for item_64 in var_62 { { + #[allow(unused_mut)] let mut object_65 = array_63.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_65, item_64)?; object_65.finish(); @@ -335,6 +346,7 @@ pub fn serialize_structure_crate_input_translate_text_input( object.key("TargetLanguageCode").string(var_71.as_str()); } if let Some(var_72) = &input.settings { + #[allow(unused_mut)] let mut object_73 = object.key("Settings").start_object(); crate::json_ser::serialize_structure_crate_model_translation_settings( &mut object_73, @@ -375,6 +387,7 @@ pub fn serialize_structure_crate_input_update_parallel_data_input( object.key("Description").string(var_79.as_str()); } if let Some(var_80) = &input.parallel_data_config { + #[allow(unused_mut)] let mut object_81 = object.key("ParallelDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_parallel_data_config( &mut object_81, @@ -489,6 +502,7 @@ pub fn serialize_structure_crate_model_output_data_config( object.key("S3Uri").string(var_98.as_str()); } if let Some(var_99) = &input.encryption_key { + #[allow(unused_mut)] let mut object_100 = object.key("EncryptionKey").start_object(); crate::json_ser::serialize_structure_crate_model_encryption_key(&mut object_100, var_99)?; object_100.finish(); diff --git a/sdk/voiceid/src/json_ser.rs b/sdk/voiceid/src/json_ser.rs index 9dd5385b3789..0c246f6a729c 100644 --- a/sdk/voiceid/src/json_ser.rs +++ b/sdk/voiceid/src/json_ser.rs @@ -10,6 +10,7 @@ pub fn serialize_structure_crate_input_create_domain_input( object.key("Description").string(var_2.as_str()); } if let Some(var_3) = &input.server_side_encryption_configuration { + #[allow(unused_mut)] let mut object_4 = object .key("ServerSideEncryptionConfiguration") .start_object(); @@ -26,6 +27,7 @@ pub fn serialize_structure_crate_input_create_domain_input( let mut array_7 = object.key("Tags").start_array(); for item_8 in var_6 { { + #[allow(unused_mut)] let mut object_9 = array_7.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_9, item_8)?; object_9.finish(); @@ -266,6 +268,7 @@ pub fn serialize_structure_crate_input_start_fraudster_registration_job_input( object.key("DataAccessRoleArn").string(var_45.as_str()); } if let Some(var_46) = &input.registration_config { + #[allow(unused_mut)] let mut object_47 = object.key("RegistrationConfig").start_object(); crate::json_ser::serialize_structure_crate_model_registration_config( &mut object_47, @@ -274,11 +277,13 @@ pub fn serialize_structure_crate_input_start_fraudster_registration_job_input( object_47.finish(); } if let Some(var_48) = &input.input_data_config { + #[allow(unused_mut)] let mut object_49 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_49, var_48)?; object_49.finish(); } if let Some(var_50) = &input.output_data_config { + #[allow(unused_mut)] let mut object_51 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_51, @@ -306,16 +311,19 @@ pub fn serialize_structure_crate_input_start_speaker_enrollment_job_input( object.key("DataAccessRoleArn").string(var_55.as_str()); } if let Some(var_56) = &input.enrollment_config { + #[allow(unused_mut)] let mut object_57 = object.key("EnrollmentConfig").start_object(); crate::json_ser::serialize_structure_crate_model_enrollment_config(&mut object_57, var_56)?; object_57.finish(); } if let Some(var_58) = &input.input_data_config { + #[allow(unused_mut)] let mut object_59 = object.key("InputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_input_data_config(&mut object_59, var_58)?; object_59.finish(); } if let Some(var_60) = &input.output_data_config { + #[allow(unused_mut)] let mut object_61 = object.key("OutputDataConfig").start_object(); crate::json_ser::serialize_structure_crate_model_output_data_config( &mut object_61, @@ -337,6 +345,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_64 = object.key("Tags").start_array(); for item_65 in var_63 { { + #[allow(unused_mut)] let mut object_66 = array_64.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_66, item_65)?; object_66.finish(); @@ -380,6 +389,7 @@ pub fn serialize_structure_crate_input_update_domain_input( object.key("Description").string(var_73.as_str()); } if let Some(var_74) = &input.server_side_encryption_configuration { + #[allow(unused_mut)] let mut object_75 = object .key("ServerSideEncryptionConfiguration") .start_object(); @@ -466,6 +476,7 @@ pub fn serialize_structure_crate_model_enrollment_config( .string(var_84.as_str()); } if let Some(var_85) = &input.fraud_detection_config { + #[allow(unused_mut)] let mut object_86 = object.key("FraudDetectionConfig").start_object(); crate::json_ser::serialize_structure_crate_model_enrollment_job_fraud_detection_config( &mut object_86, diff --git a/sdk/waf/src/json_ser.rs b/sdk/waf/src/json_ser.rs index 5563f34f5db9..74b41668ae03 100644 --- a/sdk/waf/src/json_ser.rs +++ b/sdk/waf/src/json_ser.rs @@ -64,6 +64,7 @@ pub fn serialize_structure_crate_input_create_rate_based_rule_input( let mut array_12 = object.key("Tags").start_array(); for item_13 in var_11 { { + #[allow(unused_mut)] let mut object_14 = array_12.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_14, item_13)?; object_14.finish(); @@ -117,6 +118,7 @@ pub fn serialize_structure_crate_input_create_rule_input( let mut array_23 = object.key("Tags").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_25, item_24)?; object_25.finish(); @@ -144,6 +146,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( let mut array_30 = object.key("Tags").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_32, item_31)?; object_32.finish(); @@ -191,6 +194,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( object.key("MetricName").string(var_38.as_str()); } if let Some(var_39) = &input.default_action { + #[allow(unused_mut)] let mut object_40 = object.key("DefaultAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_40, var_39)?; object_40.finish(); @@ -202,6 +206,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( let mut array_43 = object.key("Tags").start_array(); for item_44 in var_42 { { + #[allow(unused_mut)] let mut object_45 = array_43.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_45, item_44)?; object_45.finish(); @@ -551,6 +556,7 @@ pub fn serialize_structure_crate_input_get_sampled_requests_input( object.key("RuleId").string(var_91.as_str()); } if let Some(var_92) = &input.time_window { + #[allow(unused_mut)] let mut object_93 = object.key("TimeWindow").start_object(); crate::json_ser::serialize_structure_crate_model_time_window(&mut object_93, var_92)?; object_93.finish(); @@ -871,6 +877,7 @@ pub fn serialize_structure_crate_input_put_logging_configuration_input( input: &crate::input::PutLoggingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_116) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_117 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_117, @@ -905,6 +912,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_122 = object.key("Tags").start_array(); for item_123 in var_121 { { + #[allow(unused_mut)] let mut object_124 = array_122.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_124, item_123)?; object_124.finish(); @@ -948,6 +956,7 @@ pub fn serialize_structure_crate_input_update_byte_match_set_input( let mut array_132 = object.key("Updates").start_array(); for item_133 in var_131 { { + #[allow(unused_mut)] let mut object_134 = array_132.value().start_object(); crate::json_ser::serialize_structure_crate_model_byte_match_set_update( &mut object_134, @@ -975,6 +984,7 @@ pub fn serialize_structure_crate_input_update_geo_match_set_input( let mut array_138 = object.key("Updates").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_geo_match_set_update( &mut object_140, @@ -1002,6 +1012,7 @@ pub fn serialize_structure_crate_input_update_ip_set_input( let mut array_144 = object.key("Updates").start_array(); for item_145 in var_143 { { + #[allow(unused_mut)] let mut object_146 = array_144.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_update( &mut object_146, @@ -1029,6 +1040,7 @@ pub fn serialize_structure_crate_input_update_rate_based_rule_input( let mut array_150 = object.key("Updates").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_update( &mut object_152, @@ -1059,6 +1071,7 @@ pub fn serialize_structure_crate_input_update_regex_match_set_input( let mut array_155 = object.key("Updates").start_array(); for item_156 in var_154 { { + #[allow(unused_mut)] let mut object_157 = array_155.value().start_object(); crate::json_ser::serialize_structure_crate_model_regex_match_set_update( &mut object_157, @@ -1086,6 +1099,7 @@ pub fn serialize_structure_crate_input_update_regex_pattern_set_input( let mut array_161 = object.key("Updates").start_array(); for item_162 in var_160 { { + #[allow(unused_mut)] let mut object_163 = array_161.value().start_object(); crate::json_ser::serialize_structure_crate_model_regex_pattern_set_update( &mut object_163, @@ -1116,6 +1130,7 @@ pub fn serialize_structure_crate_input_update_rule_input( let mut array_168 = object.key("Updates").start_array(); for item_169 in var_167 { { + #[allow(unused_mut)] let mut object_170 = array_168.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_update( &mut object_170, @@ -1140,6 +1155,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( let mut array_173 = object.key("Updates").start_array(); for item_174 in var_172 { { + #[allow(unused_mut)] let mut object_175 = array_173.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_update( &mut object_175, @@ -1170,6 +1186,7 @@ pub fn serialize_structure_crate_input_update_size_constraint_set_input( let mut array_180 = object.key("Updates").start_array(); for item_181 in var_179 { { + #[allow(unused_mut)] let mut object_182 = array_180.value().start_object(); crate::json_ser::serialize_structure_crate_model_size_constraint_set_update( &mut object_182, @@ -1199,6 +1216,7 @@ pub fn serialize_structure_crate_input_update_sql_injection_match_set_input( let mut array_186 = object.key("Updates").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_injection_match_set_update( &mut object_188, @@ -1226,6 +1244,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( let mut array_192 = object.key("Updates").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_web_acl_update( &mut object_194, @@ -1237,6 +1256,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( array_192.finish(); } if let Some(var_195) = &input.default_action { + #[allow(unused_mut)] let mut object_196 = object.key("DefaultAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_196, var_195)?; object_196.finish(); @@ -1258,6 +1278,7 @@ pub fn serialize_structure_crate_input_update_xss_match_set_input( let mut array_200 = object.key("Updates").start_array(); for item_201 in var_199 { { + #[allow(unused_mut)] let mut object_202 = array_200.value().start_object(); crate::json_ser::serialize_structure_crate_model_xss_match_set_update( &mut object_202, @@ -1331,6 +1352,7 @@ pub fn serialize_structure_crate_model_logging_configuration( let mut array_213 = object.key("RedactedFields").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match( &mut object_215, @@ -1352,6 +1374,7 @@ pub fn serialize_structure_crate_model_byte_match_set_update( object.key("Action").string(var_216.as_str()); } if let Some(var_217) = &input.byte_match_tuple { + #[allow(unused_mut)] let mut object_218 = object.key("ByteMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_byte_match_tuple( &mut object_218, @@ -1370,6 +1393,7 @@ pub fn serialize_structure_crate_model_geo_match_set_update( object.key("Action").string(var_219.as_str()); } if let Some(var_220) = &input.geo_match_constraint { + #[allow(unused_mut)] let mut object_221 = object.key("GeoMatchConstraint").start_object(); crate::json_ser::serialize_structure_crate_model_geo_match_constraint( &mut object_221, @@ -1388,6 +1412,7 @@ pub fn serialize_structure_crate_model_ip_set_update( object.key("Action").string(var_222.as_str()); } if let Some(var_223) = &input.ip_set_descriptor { + #[allow(unused_mut)] let mut object_224 = object.key("IPSetDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_descriptor( &mut object_224, @@ -1406,6 +1431,7 @@ pub fn serialize_structure_crate_model_rule_update( object.key("Action").string(var_225.as_str()); } if let Some(var_226) = &input.predicate { + #[allow(unused_mut)] let mut object_227 = object.key("Predicate").start_object(); crate::json_ser::serialize_structure_crate_model_predicate(&mut object_227, var_226)?; object_227.finish(); @@ -1421,6 +1447,7 @@ pub fn serialize_structure_crate_model_regex_match_set_update( object.key("Action").string(var_228.as_str()); } if let Some(var_229) = &input.regex_match_tuple { + #[allow(unused_mut)] let mut object_230 = object.key("RegexMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_regex_match_tuple( &mut object_230, @@ -1452,6 +1479,7 @@ pub fn serialize_structure_crate_model_rule_group_update( object.key("Action").string(var_233.as_str()); } if let Some(var_234) = &input.activated_rule { + #[allow(unused_mut)] let mut object_235 = object.key("ActivatedRule").start_object(); crate::json_ser::serialize_structure_crate_model_activated_rule(&mut object_235, var_234)?; object_235.finish(); @@ -1467,6 +1495,7 @@ pub fn serialize_structure_crate_model_size_constraint_set_update( object.key("Action").string(var_236.as_str()); } if let Some(var_237) = &input.size_constraint { + #[allow(unused_mut)] let mut object_238 = object.key("SizeConstraint").start_object(); crate::json_ser::serialize_structure_crate_model_size_constraint(&mut object_238, var_237)?; object_238.finish(); @@ -1482,6 +1511,7 @@ pub fn serialize_structure_crate_model_sql_injection_match_set_update( object.key("Action").string(var_239.as_str()); } if let Some(var_240) = &input.sql_injection_match_tuple { + #[allow(unused_mut)] let mut object_241 = object.key("SqlInjectionMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_sql_injection_match_tuple( &mut object_241, @@ -1500,6 +1530,7 @@ pub fn serialize_structure_crate_model_web_acl_update( object.key("Action").string(var_242.as_str()); } if let Some(var_243) = &input.activated_rule { + #[allow(unused_mut)] let mut object_244 = object.key("ActivatedRule").start_object(); crate::json_ser::serialize_structure_crate_model_activated_rule(&mut object_244, var_243)?; object_244.finish(); @@ -1515,6 +1546,7 @@ pub fn serialize_structure_crate_model_xss_match_set_update( object.key("Action").string(var_245.as_str()); } if let Some(var_246) = &input.xss_match_tuple { + #[allow(unused_mut)] let mut object_247 = object.key("XssMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_xss_match_tuple(&mut object_247, var_246)?; object_247.finish(); @@ -1540,6 +1572,7 @@ pub fn serialize_structure_crate_model_byte_match_tuple( input: &crate::model::ByteMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_250) = &input.field_to_match { + #[allow(unused_mut)] let mut object_251 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_251, var_250)?; object_251.finish(); @@ -1605,6 +1638,7 @@ pub fn serialize_structure_crate_model_regex_match_tuple( input: &crate::model::RegexMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_262) = &input.field_to_match { + #[allow(unused_mut)] let mut object_263 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_263, var_262)?; object_263.finish(); @@ -1632,11 +1666,13 @@ pub fn serialize_structure_crate_model_activated_rule( object.key("RuleId").string(var_267.as_str()); } if let Some(var_268) = &input.action { + #[allow(unused_mut)] let mut object_269 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_269, var_268)?; object_269.finish(); } if let Some(var_270) = &input.override_action { + #[allow(unused_mut)] let mut object_271 = object.key("OverrideAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_override_action( &mut object_271, @@ -1651,6 +1687,7 @@ pub fn serialize_structure_crate_model_activated_rule( let mut array_274 = object.key("ExcludedRules").start_array(); for item_275 in var_273 { { + #[allow(unused_mut)] let mut object_276 = array_274.value().start_object(); crate::json_ser::serialize_structure_crate_model_excluded_rule( &mut object_276, @@ -1669,6 +1706,7 @@ pub fn serialize_structure_crate_model_size_constraint( input: &crate::model::SizeConstraint, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_277) = &input.field_to_match { + #[allow(unused_mut)] let mut object_278 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_278, var_277)?; object_278.finish(); @@ -1693,6 +1731,7 @@ pub fn serialize_structure_crate_model_sql_injection_match_tuple( input: &crate::model::SqlInjectionMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_281) = &input.field_to_match { + #[allow(unused_mut)] let mut object_282 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_282, var_281)?; object_282.finish(); @@ -1708,6 +1747,7 @@ pub fn serialize_structure_crate_model_xss_match_tuple( input: &crate::model::XssMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_284) = &input.field_to_match { + #[allow(unused_mut)] let mut object_285 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_285, var_284)?; object_285.finish(); diff --git a/sdk/wafregional/src/json_ser.rs b/sdk/wafregional/src/json_ser.rs index 79ffab454da1..ddd269e9491c 100644 --- a/sdk/wafregional/src/json_ser.rs +++ b/sdk/wafregional/src/json_ser.rs @@ -77,6 +77,7 @@ pub fn serialize_structure_crate_input_create_rate_based_rule_input( let mut array_14 = object.key("Tags").start_array(); for item_15 in var_13 { { + #[allow(unused_mut)] let mut object_16 = array_14.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_16, item_15)?; object_16.finish(); @@ -130,6 +131,7 @@ pub fn serialize_structure_crate_input_create_rule_input( let mut array_25 = object.key("Tags").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_27, item_26)?; object_27.finish(); @@ -157,6 +159,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( let mut array_32 = object.key("Tags").start_array(); for item_33 in var_31 { { + #[allow(unused_mut)] let mut object_34 = array_32.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_34, item_33)?; object_34.finish(); @@ -204,6 +207,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( object.key("MetricName").string(var_40.as_str()); } if let Some(var_41) = &input.default_action { + #[allow(unused_mut)] let mut object_42 = object.key("DefaultAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_42, var_41)?; object_42.finish(); @@ -215,6 +219,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( let mut array_45 = object.key("Tags").start_array(); for item_46 in var_44 { { + #[allow(unused_mut)] let mut object_47 = array_45.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_47, item_46)?; object_47.finish(); @@ -574,6 +579,7 @@ pub fn serialize_structure_crate_input_get_sampled_requests_input( object.key("RuleId").string(var_94.as_str()); } if let Some(var_95) = &input.time_window { + #[allow(unused_mut)] let mut object_96 = object.key("TimeWindow").start_object(); crate::json_ser::serialize_structure_crate_model_time_window(&mut object_96, var_95)?; object_96.finish(); @@ -917,6 +923,7 @@ pub fn serialize_structure_crate_input_put_logging_configuration_input( input: &crate::input::PutLoggingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_122) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_123 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_123, @@ -951,6 +958,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_128 = object.key("Tags").start_array(); for item_129 in var_127 { { + #[allow(unused_mut)] let mut object_130 = array_128.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_130, item_129)?; object_130.finish(); @@ -994,6 +1002,7 @@ pub fn serialize_structure_crate_input_update_byte_match_set_input( let mut array_138 = object.key("Updates").start_array(); for item_139 in var_137 { { + #[allow(unused_mut)] let mut object_140 = array_138.value().start_object(); crate::json_ser::serialize_structure_crate_model_byte_match_set_update( &mut object_140, @@ -1021,6 +1030,7 @@ pub fn serialize_structure_crate_input_update_geo_match_set_input( let mut array_144 = object.key("Updates").start_array(); for item_145 in var_143 { { + #[allow(unused_mut)] let mut object_146 = array_144.value().start_object(); crate::json_ser::serialize_structure_crate_model_geo_match_set_update( &mut object_146, @@ -1048,6 +1058,7 @@ pub fn serialize_structure_crate_input_update_ip_set_input( let mut array_150 = object.key("Updates").start_array(); for item_151 in var_149 { { + #[allow(unused_mut)] let mut object_152 = array_150.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_update( &mut object_152, @@ -1075,6 +1086,7 @@ pub fn serialize_structure_crate_input_update_rate_based_rule_input( let mut array_156 = object.key("Updates").start_array(); for item_157 in var_155 { { + #[allow(unused_mut)] let mut object_158 = array_156.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_update( &mut object_158, @@ -1105,6 +1117,7 @@ pub fn serialize_structure_crate_input_update_regex_match_set_input( let mut array_161 = object.key("Updates").start_array(); for item_162 in var_160 { { + #[allow(unused_mut)] let mut object_163 = array_161.value().start_object(); crate::json_ser::serialize_structure_crate_model_regex_match_set_update( &mut object_163, @@ -1132,6 +1145,7 @@ pub fn serialize_structure_crate_input_update_regex_pattern_set_input( let mut array_167 = object.key("Updates").start_array(); for item_168 in var_166 { { + #[allow(unused_mut)] let mut object_169 = array_167.value().start_object(); crate::json_ser::serialize_structure_crate_model_regex_pattern_set_update( &mut object_169, @@ -1162,6 +1176,7 @@ pub fn serialize_structure_crate_input_update_rule_input( let mut array_174 = object.key("Updates").start_array(); for item_175 in var_173 { { + #[allow(unused_mut)] let mut object_176 = array_174.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_update( &mut object_176, @@ -1186,6 +1201,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( let mut array_179 = object.key("Updates").start_array(); for item_180 in var_178 { { + #[allow(unused_mut)] let mut object_181 = array_179.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_update( &mut object_181, @@ -1216,6 +1232,7 @@ pub fn serialize_structure_crate_input_update_size_constraint_set_input( let mut array_186 = object.key("Updates").start_array(); for item_187 in var_185 { { + #[allow(unused_mut)] let mut object_188 = array_186.value().start_object(); crate::json_ser::serialize_structure_crate_model_size_constraint_set_update( &mut object_188, @@ -1245,6 +1262,7 @@ pub fn serialize_structure_crate_input_update_sql_injection_match_set_input( let mut array_192 = object.key("Updates").start_array(); for item_193 in var_191 { { + #[allow(unused_mut)] let mut object_194 = array_192.value().start_object(); crate::json_ser::serialize_structure_crate_model_sql_injection_match_set_update( &mut object_194, @@ -1272,6 +1290,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( let mut array_198 = object.key("Updates").start_array(); for item_199 in var_197 { { + #[allow(unused_mut)] let mut object_200 = array_198.value().start_object(); crate::json_ser::serialize_structure_crate_model_web_acl_update( &mut object_200, @@ -1283,6 +1302,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( array_198.finish(); } if let Some(var_201) = &input.default_action { + #[allow(unused_mut)] let mut object_202 = object.key("DefaultAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_202, var_201)?; object_202.finish(); @@ -1304,6 +1324,7 @@ pub fn serialize_structure_crate_input_update_xss_match_set_input( let mut array_206 = object.key("Updates").start_array(); for item_207 in var_205 { { + #[allow(unused_mut)] let mut object_208 = array_206.value().start_object(); crate::json_ser::serialize_structure_crate_model_xss_match_set_update( &mut object_208, @@ -1377,6 +1398,7 @@ pub fn serialize_structure_crate_model_logging_configuration( let mut array_219 = object.key("RedactedFields").start_array(); for item_220 in var_218 { { + #[allow(unused_mut)] let mut object_221 = array_219.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match( &mut object_221, @@ -1398,6 +1420,7 @@ pub fn serialize_structure_crate_model_byte_match_set_update( object.key("Action").string(var_222.as_str()); } if let Some(var_223) = &input.byte_match_tuple { + #[allow(unused_mut)] let mut object_224 = object.key("ByteMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_byte_match_tuple( &mut object_224, @@ -1416,6 +1439,7 @@ pub fn serialize_structure_crate_model_geo_match_set_update( object.key("Action").string(var_225.as_str()); } if let Some(var_226) = &input.geo_match_constraint { + #[allow(unused_mut)] let mut object_227 = object.key("GeoMatchConstraint").start_object(); crate::json_ser::serialize_structure_crate_model_geo_match_constraint( &mut object_227, @@ -1434,6 +1458,7 @@ pub fn serialize_structure_crate_model_ip_set_update( object.key("Action").string(var_228.as_str()); } if let Some(var_229) = &input.ip_set_descriptor { + #[allow(unused_mut)] let mut object_230 = object.key("IPSetDescriptor").start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_descriptor( &mut object_230, @@ -1452,6 +1477,7 @@ pub fn serialize_structure_crate_model_rule_update( object.key("Action").string(var_231.as_str()); } if let Some(var_232) = &input.predicate { + #[allow(unused_mut)] let mut object_233 = object.key("Predicate").start_object(); crate::json_ser::serialize_structure_crate_model_predicate(&mut object_233, var_232)?; object_233.finish(); @@ -1467,6 +1493,7 @@ pub fn serialize_structure_crate_model_regex_match_set_update( object.key("Action").string(var_234.as_str()); } if let Some(var_235) = &input.regex_match_tuple { + #[allow(unused_mut)] let mut object_236 = object.key("RegexMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_regex_match_tuple( &mut object_236, @@ -1498,6 +1525,7 @@ pub fn serialize_structure_crate_model_rule_group_update( object.key("Action").string(var_239.as_str()); } if let Some(var_240) = &input.activated_rule { + #[allow(unused_mut)] let mut object_241 = object.key("ActivatedRule").start_object(); crate::json_ser::serialize_structure_crate_model_activated_rule(&mut object_241, var_240)?; object_241.finish(); @@ -1513,6 +1541,7 @@ pub fn serialize_structure_crate_model_size_constraint_set_update( object.key("Action").string(var_242.as_str()); } if let Some(var_243) = &input.size_constraint { + #[allow(unused_mut)] let mut object_244 = object.key("SizeConstraint").start_object(); crate::json_ser::serialize_structure_crate_model_size_constraint(&mut object_244, var_243)?; object_244.finish(); @@ -1528,6 +1557,7 @@ pub fn serialize_structure_crate_model_sql_injection_match_set_update( object.key("Action").string(var_245.as_str()); } if let Some(var_246) = &input.sql_injection_match_tuple { + #[allow(unused_mut)] let mut object_247 = object.key("SqlInjectionMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_sql_injection_match_tuple( &mut object_247, @@ -1546,6 +1576,7 @@ pub fn serialize_structure_crate_model_web_acl_update( object.key("Action").string(var_248.as_str()); } if let Some(var_249) = &input.activated_rule { + #[allow(unused_mut)] let mut object_250 = object.key("ActivatedRule").start_object(); crate::json_ser::serialize_structure_crate_model_activated_rule(&mut object_250, var_249)?; object_250.finish(); @@ -1561,6 +1592,7 @@ pub fn serialize_structure_crate_model_xss_match_set_update( object.key("Action").string(var_251.as_str()); } if let Some(var_252) = &input.xss_match_tuple { + #[allow(unused_mut)] let mut object_253 = object.key("XssMatchTuple").start_object(); crate::json_ser::serialize_structure_crate_model_xss_match_tuple(&mut object_253, var_252)?; object_253.finish(); @@ -1586,6 +1618,7 @@ pub fn serialize_structure_crate_model_byte_match_tuple( input: &crate::model::ByteMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_256) = &input.field_to_match { + #[allow(unused_mut)] let mut object_257 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_257, var_256)?; object_257.finish(); @@ -1651,6 +1684,7 @@ pub fn serialize_structure_crate_model_regex_match_tuple( input: &crate::model::RegexMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_268) = &input.field_to_match { + #[allow(unused_mut)] let mut object_269 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_269, var_268)?; object_269.finish(); @@ -1678,11 +1712,13 @@ pub fn serialize_structure_crate_model_activated_rule( object.key("RuleId").string(var_273.as_str()); } if let Some(var_274) = &input.action { + #[allow(unused_mut)] let mut object_275 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_waf_action(&mut object_275, var_274)?; object_275.finish(); } if let Some(var_276) = &input.override_action { + #[allow(unused_mut)] let mut object_277 = object.key("OverrideAction").start_object(); crate::json_ser::serialize_structure_crate_model_waf_override_action( &mut object_277, @@ -1697,6 +1733,7 @@ pub fn serialize_structure_crate_model_activated_rule( let mut array_280 = object.key("ExcludedRules").start_array(); for item_281 in var_279 { { + #[allow(unused_mut)] let mut object_282 = array_280.value().start_object(); crate::json_ser::serialize_structure_crate_model_excluded_rule( &mut object_282, @@ -1715,6 +1752,7 @@ pub fn serialize_structure_crate_model_size_constraint( input: &crate::model::SizeConstraint, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_283) = &input.field_to_match { + #[allow(unused_mut)] let mut object_284 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_284, var_283)?; object_284.finish(); @@ -1739,6 +1777,7 @@ pub fn serialize_structure_crate_model_sql_injection_match_tuple( input: &crate::model::SqlInjectionMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_287) = &input.field_to_match { + #[allow(unused_mut)] let mut object_288 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_288, var_287)?; object_288.finish(); @@ -1754,6 +1793,7 @@ pub fn serialize_structure_crate_model_xss_match_tuple( input: &crate::model::XssMatchTuple, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_290) = &input.field_to_match { + #[allow(unused_mut)] let mut object_291 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_291, var_290)?; object_291.finish(); diff --git a/sdk/wafv2/src/json_ser.rs b/sdk/wafv2/src/json_ser.rs index 70bb6279e906..6ee034627cb9 100644 --- a/sdk/wafv2/src/json_ser.rs +++ b/sdk/wafv2/src/json_ser.rs @@ -23,6 +23,7 @@ pub fn serialize_structure_crate_input_check_capacity_input( let mut array_5 = object.key("Rules").start_array(); for item_6 in var_4 { { + #[allow(unused_mut)] let mut object_7 = array_5.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_7, item_6)?; object_7.finish(); @@ -62,6 +63,7 @@ pub fn serialize_structure_crate_input_create_ip_set_input( let mut array_16 = object.key("Tags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_18, item_17)?; object_18.finish(); @@ -89,6 +91,7 @@ pub fn serialize_structure_crate_input_create_regex_pattern_set_input( let mut array_23 = object.key("RegularExpressionList").start_array(); for item_24 in var_22 { { + #[allow(unused_mut)] let mut object_25 = array_23.value().start_object(); crate::json_ser::serialize_structure_crate_model_regex(&mut object_25, item_24)?; object_25.finish(); @@ -100,6 +103,7 @@ pub fn serialize_structure_crate_input_create_regex_pattern_set_input( let mut array_27 = object.key("Tags").start_array(); for item_28 in var_26 { { + #[allow(unused_mut)] let mut object_29 = array_27.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_29, item_28)?; object_29.finish(); @@ -133,6 +137,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( let mut array_34 = object.key("Rules").start_array(); for item_35 in var_33 { { + #[allow(unused_mut)] let mut object_36 = array_34.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_36, item_35)?; object_36.finish(); @@ -141,6 +146,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( array_34.finish(); } if let Some(var_37) = &input.visibility_config { + #[allow(unused_mut)] let mut object_38 = object.key("VisibilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_visibility_config(&mut object_38, var_37)?; object_38.finish(); @@ -149,6 +155,7 @@ pub fn serialize_structure_crate_input_create_rule_group_input( let mut array_40 = object.key("Tags").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_42, item_41)?; object_42.finish(); @@ -157,9 +164,11 @@ pub fn serialize_structure_crate_input_create_rule_group_input( array_40.finish(); } if let Some(var_43) = &input.custom_response_bodies { + #[allow(unused_mut)] let mut object_44 = object.key("CustomResponseBodies").start_object(); for (key_45, value_46) in var_43 { { + #[allow(unused_mut)] let mut object_47 = object_44.key(key_45.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_custom_response_body( &mut object_47, @@ -184,6 +193,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( object.key("Scope").string(var_49.as_str()); } if let Some(var_50) = &input.default_action { + #[allow(unused_mut)] let mut object_51 = object.key("DefaultAction").start_object(); crate::json_ser::serialize_structure_crate_model_default_action(&mut object_51, var_50)?; object_51.finish(); @@ -195,6 +205,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( let mut array_54 = object.key("Rules").start_array(); for item_55 in var_53 { { + #[allow(unused_mut)] let mut object_56 = array_54.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_56, item_55)?; object_56.finish(); @@ -203,6 +214,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( array_54.finish(); } if let Some(var_57) = &input.visibility_config { + #[allow(unused_mut)] let mut object_58 = object.key("VisibilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_visibility_config(&mut object_58, var_57)?; object_58.finish(); @@ -211,6 +223,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( let mut array_60 = object.key("Tags").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -219,9 +232,11 @@ pub fn serialize_structure_crate_input_create_web_acl_input( array_60.finish(); } if let Some(var_63) = &input.custom_response_bodies { + #[allow(unused_mut)] let mut object_64 = object.key("CustomResponseBodies").start_object(); for (key_65, value_66) in var_63 { { + #[allow(unused_mut)] let mut object_67 = object_64.key(key_65.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_custom_response_body( &mut object_67, @@ -233,6 +248,7 @@ pub fn serialize_structure_crate_input_create_web_acl_input( object_64.finish(); } if let Some(var_68) = &input.captcha_config { + #[allow(unused_mut)] let mut object_69 = object.key("CaptchaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_captcha_config(&mut object_69, var_68)?; object_69.finish(); @@ -527,6 +543,7 @@ pub fn serialize_structure_crate_input_get_sampled_requests_input( object.key("Scope").string(var_121.as_str()); } if let Some(var_122) = &input.time_window { + #[allow(unused_mut)] let mut object_123 = object.key("TimeWindow").start_object(); crate::json_ser::serialize_structure_crate_model_time_window(&mut object_123, var_122)?; object_123.finish(); @@ -780,6 +797,7 @@ pub fn serialize_structure_crate_input_put_logging_configuration_input( input: &crate::input::PutLoggingConfigurationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_162) = &input.logging_configuration { + #[allow(unused_mut)] let mut object_163 = object.key("LoggingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_logging_configuration( &mut object_163, @@ -810,9 +828,11 @@ pub fn serialize_structure_crate_input_put_managed_rule_set_versions_input( object.key("RecommendedVersion").string(var_168.as_str()); } if let Some(var_169) = &input.versions_to_publish { + #[allow(unused_mut)] let mut object_170 = object.key("VersionsToPublish").start_object(); for (key_171, value_172) in var_169 { { + #[allow(unused_mut)] let mut object_173 = object_170.key(key_171.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_version_to_publish( &mut object_173, @@ -850,6 +870,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_178 = object.key("Tags").start_array(); for item_179 in var_177 { { + #[allow(unused_mut)] let mut object_180 = array_178.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_180, item_179)?; object_180.finish(); @@ -957,6 +978,7 @@ pub fn serialize_structure_crate_input_update_regex_pattern_set_input( let mut array_204 = object.key("RegularExpressionList").start_array(); for item_205 in var_203 { { + #[allow(unused_mut)] let mut object_206 = array_204.value().start_object(); crate::json_ser::serialize_structure_crate_model_regex(&mut object_206, item_205)?; object_206.finish(); @@ -990,6 +1012,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( let mut array_213 = object.key("Rules").start_array(); for item_214 in var_212 { { + #[allow(unused_mut)] let mut object_215 = array_213.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_215, item_214)?; object_215.finish(); @@ -998,6 +1021,7 @@ pub fn serialize_structure_crate_input_update_rule_group_input( array_213.finish(); } if let Some(var_216) = &input.visibility_config { + #[allow(unused_mut)] let mut object_217 = object.key("VisibilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_visibility_config( &mut object_217, @@ -1009,9 +1033,11 @@ pub fn serialize_structure_crate_input_update_rule_group_input( object.key("LockToken").string(var_218.as_str()); } if let Some(var_219) = &input.custom_response_bodies { + #[allow(unused_mut)] let mut object_220 = object.key("CustomResponseBodies").start_object(); for (key_221, value_222) in var_219 { { + #[allow(unused_mut)] let mut object_223 = object_220.key(key_221.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_custom_response_body( &mut object_223, @@ -1039,6 +1065,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( object.key("Id").string(var_226.as_str()); } if let Some(var_227) = &input.default_action { + #[allow(unused_mut)] let mut object_228 = object.key("DefaultAction").start_object(); crate::json_ser::serialize_structure_crate_model_default_action(&mut object_228, var_227)?; object_228.finish(); @@ -1050,6 +1077,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( let mut array_231 = object.key("Rules").start_array(); for item_232 in var_230 { { + #[allow(unused_mut)] let mut object_233 = array_231.value().start_object(); crate::json_ser::serialize_structure_crate_model_rule(&mut object_233, item_232)?; object_233.finish(); @@ -1058,6 +1086,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( array_231.finish(); } if let Some(var_234) = &input.visibility_config { + #[allow(unused_mut)] let mut object_235 = object.key("VisibilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_visibility_config( &mut object_235, @@ -1069,9 +1098,11 @@ pub fn serialize_structure_crate_input_update_web_acl_input( object.key("LockToken").string(var_236.as_str()); } if let Some(var_237) = &input.custom_response_bodies { + #[allow(unused_mut)] let mut object_238 = object.key("CustomResponseBodies").start_object(); for (key_239, value_240) in var_237 { { + #[allow(unused_mut)] let mut object_241 = object_238.key(key_239.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_custom_response_body( &mut object_241, @@ -1083,6 +1114,7 @@ pub fn serialize_structure_crate_input_update_web_acl_input( object_238.finish(); } if let Some(var_242) = &input.captcha_config { + #[allow(unused_mut)] let mut object_243 = object.key("CaptchaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_captcha_config(&mut object_243, var_242)?; object_243.finish(); @@ -1104,16 +1136,19 @@ pub fn serialize_structure_crate_model_rule( ); } if let Some(var_245) = &input.statement { + #[allow(unused_mut)] let mut object_246 = object.key("Statement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_246, var_245)?; object_246.finish(); } if let Some(var_247) = &input.action { + #[allow(unused_mut)] let mut object_248 = object.key("Action").start_object(); crate::json_ser::serialize_structure_crate_model_rule_action(&mut object_248, var_247)?; object_248.finish(); } if let Some(var_249) = &input.override_action { + #[allow(unused_mut)] let mut object_250 = object.key("OverrideAction").start_object(); crate::json_ser::serialize_structure_crate_model_override_action(&mut object_250, var_249)?; object_250.finish(); @@ -1122,6 +1157,7 @@ pub fn serialize_structure_crate_model_rule( let mut array_252 = object.key("RuleLabels").start_array(); for item_253 in var_251 { { + #[allow(unused_mut)] let mut object_254 = array_252.value().start_object(); crate::json_ser::serialize_structure_crate_model_label(&mut object_254, item_253)?; object_254.finish(); @@ -1130,6 +1166,7 @@ pub fn serialize_structure_crate_model_rule( array_252.finish(); } if let Some(var_255) = &input.visibility_config { + #[allow(unused_mut)] let mut object_256 = object.key("VisibilityConfig").start_object(); crate::json_ser::serialize_structure_crate_model_visibility_config( &mut object_256, @@ -1138,6 +1175,7 @@ pub fn serialize_structure_crate_model_rule( object_256.finish(); } if let Some(var_257) = &input.captcha_config { + #[allow(unused_mut)] let mut object_258 = object.key("CaptchaConfig").start_object(); crate::json_ser::serialize_structure_crate_model_captcha_config(&mut object_258, var_257)?; object_258.finish(); @@ -1206,11 +1244,13 @@ pub fn serialize_structure_crate_model_default_action( input: &crate::model::DefaultAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_265) = &input.block { + #[allow(unused_mut)] let mut object_266 = object.key("Block").start_object(); crate::json_ser::serialize_structure_crate_model_block_action(&mut object_266, var_265)?; object_266.finish(); } if let Some(var_267) = &input.allow { + #[allow(unused_mut)] let mut object_268 = object.key("Allow").start_object(); crate::json_ser::serialize_structure_crate_model_allow_action(&mut object_268, var_267)?; object_268.finish(); @@ -1223,6 +1263,7 @@ pub fn serialize_structure_crate_model_captcha_config( input: &crate::model::CaptchaConfig, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_269) = &input.immunity_time_property { + #[allow(unused_mut)] let mut object_270 = object.key("ImmunityTimeProperty").start_object(); crate::json_ser::serialize_structure_crate_model_immunity_time_property( &mut object_270, @@ -1270,6 +1311,7 @@ pub fn serialize_structure_crate_model_logging_configuration( let mut array_278 = object.key("RedactedFields").start_array(); for item_279 in var_277 { { + #[allow(unused_mut)] let mut object_280 = array_278.value().start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match( &mut object_280, @@ -1286,6 +1328,7 @@ pub fn serialize_structure_crate_model_logging_configuration( .boolean(input.managed_by_firewall_manager); } if let Some(var_281) = &input.logging_filter { + #[allow(unused_mut)] let mut object_282 = object.key("LoggingFilter").start_object(); crate::json_ser::serialize_structure_crate_model_logging_filter(&mut object_282, var_281)?; object_282.finish(); @@ -1316,6 +1359,7 @@ pub fn serialize_structure_crate_model_statement( input: &crate::model::Statement, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_285) = &input.byte_match_statement { + #[allow(unused_mut)] let mut object_286 = object.key("ByteMatchStatement").start_object(); crate::json_ser::serialize_structure_crate_model_byte_match_statement( &mut object_286, @@ -1324,6 +1368,7 @@ pub fn serialize_structure_crate_model_statement( object_286.finish(); } if let Some(var_287) = &input.sqli_match_statement { + #[allow(unused_mut)] let mut object_288 = object.key("SqliMatchStatement").start_object(); crate::json_ser::serialize_structure_crate_model_sqli_match_statement( &mut object_288, @@ -1332,6 +1377,7 @@ pub fn serialize_structure_crate_model_statement( object_288.finish(); } if let Some(var_289) = &input.xss_match_statement { + #[allow(unused_mut)] let mut object_290 = object.key("XssMatchStatement").start_object(); crate::json_ser::serialize_structure_crate_model_xss_match_statement( &mut object_290, @@ -1340,6 +1386,7 @@ pub fn serialize_structure_crate_model_statement( object_290.finish(); } if let Some(var_291) = &input.size_constraint_statement { + #[allow(unused_mut)] let mut object_292 = object.key("SizeConstraintStatement").start_object(); crate::json_ser::serialize_structure_crate_model_size_constraint_statement( &mut object_292, @@ -1348,6 +1395,7 @@ pub fn serialize_structure_crate_model_statement( object_292.finish(); } if let Some(var_293) = &input.geo_match_statement { + #[allow(unused_mut)] let mut object_294 = object.key("GeoMatchStatement").start_object(); crate::json_ser::serialize_structure_crate_model_geo_match_statement( &mut object_294, @@ -1356,6 +1404,7 @@ pub fn serialize_structure_crate_model_statement( object_294.finish(); } if let Some(var_295) = &input.rule_group_reference_statement { + #[allow(unused_mut)] let mut object_296 = object.key("RuleGroupReferenceStatement").start_object(); crate::json_ser::serialize_structure_crate_model_rule_group_reference_statement( &mut object_296, @@ -1364,6 +1413,7 @@ pub fn serialize_structure_crate_model_statement( object_296.finish(); } if let Some(var_297) = &input.ip_set_reference_statement { + #[allow(unused_mut)] let mut object_298 = object.key("IPSetReferenceStatement").start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_reference_statement( &mut object_298, @@ -1372,6 +1422,7 @@ pub fn serialize_structure_crate_model_statement( object_298.finish(); } if let Some(var_299) = &input.regex_pattern_set_reference_statement { + #[allow(unused_mut)] let mut object_300 = object .key("RegexPatternSetReferenceStatement") .start_object(); @@ -1382,6 +1433,7 @@ pub fn serialize_structure_crate_model_statement( object_300.finish(); } if let Some(var_301) = &input.rate_based_statement { + #[allow(unused_mut)] let mut object_302 = object.key("RateBasedStatement").start_object(); crate::json_ser::serialize_structure_crate_model_rate_based_statement( &mut object_302, @@ -1390,21 +1442,25 @@ pub fn serialize_structure_crate_model_statement( object_302.finish(); } if let Some(var_303) = &input.and_statement { + #[allow(unused_mut)] let mut object_304 = object.key("AndStatement").start_object(); crate::json_ser::serialize_structure_crate_model_and_statement(&mut object_304, var_303)?; object_304.finish(); } if let Some(var_305) = &input.or_statement { + #[allow(unused_mut)] let mut object_306 = object.key("OrStatement").start_object(); crate::json_ser::serialize_structure_crate_model_or_statement(&mut object_306, var_305)?; object_306.finish(); } if let Some(var_307) = &input.not_statement { + #[allow(unused_mut)] let mut object_308 = object.key("NotStatement").start_object(); crate::json_ser::serialize_structure_crate_model_not_statement(&mut object_308, var_307)?; object_308.finish(); } if let Some(var_309) = &input.managed_rule_group_statement { + #[allow(unused_mut)] let mut object_310 = object.key("ManagedRuleGroupStatement").start_object(); crate::json_ser::serialize_structure_crate_model_managed_rule_group_statement( &mut object_310, @@ -1413,6 +1469,7 @@ pub fn serialize_structure_crate_model_statement( object_310.finish(); } if let Some(var_311) = &input.label_match_statement { + #[allow(unused_mut)] let mut object_312 = object.key("LabelMatchStatement").start_object(); crate::json_ser::serialize_structure_crate_model_label_match_statement( &mut object_312, @@ -1421,6 +1478,7 @@ pub fn serialize_structure_crate_model_statement( object_312.finish(); } if let Some(var_313) = &input.regex_match_statement { + #[allow(unused_mut)] let mut object_314 = object.key("RegexMatchStatement").start_object(); crate::json_ser::serialize_structure_crate_model_regex_match_statement( &mut object_314, @@ -1436,21 +1494,25 @@ pub fn serialize_structure_crate_model_rule_action( input: &crate::model::RuleAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_315) = &input.block { + #[allow(unused_mut)] let mut object_316 = object.key("Block").start_object(); crate::json_ser::serialize_structure_crate_model_block_action(&mut object_316, var_315)?; object_316.finish(); } if let Some(var_317) = &input.allow { + #[allow(unused_mut)] let mut object_318 = object.key("Allow").start_object(); crate::json_ser::serialize_structure_crate_model_allow_action(&mut object_318, var_317)?; object_318.finish(); } if let Some(var_319) = &input.count { + #[allow(unused_mut)] let mut object_320 = object.key("Count").start_object(); crate::json_ser::serialize_structure_crate_model_count_action(&mut object_320, var_319)?; object_320.finish(); } if let Some(var_321) = &input.captcha { + #[allow(unused_mut)] let mut object_322 = object.key("Captcha").start_object(); crate::json_ser::serialize_structure_crate_model_captcha_action(&mut object_322, var_321)?; object_322.finish(); @@ -1463,11 +1525,13 @@ pub fn serialize_structure_crate_model_override_action( input: &crate::model::OverrideAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_323) = &input.count { + #[allow(unused_mut)] let mut object_324 = object.key("Count").start_object(); crate::json_ser::serialize_structure_crate_model_count_action(&mut object_324, var_323)?; object_324.finish(); } if let Some(var_325) = &input.none { + #[allow(unused_mut)] let mut object_326 = object.key("None").start_object(); crate::json_ser::serialize_structure_crate_model_none_action(&mut object_326, var_325)?; object_326.finish(); @@ -1490,6 +1554,7 @@ pub fn serialize_structure_crate_model_block_action( input: &crate::model::BlockAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_328) = &input.custom_response { + #[allow(unused_mut)] let mut object_329 = object.key("CustomResponse").start_object(); crate::json_ser::serialize_structure_crate_model_custom_response(&mut object_329, var_328)?; object_329.finish(); @@ -1502,6 +1567,7 @@ pub fn serialize_structure_crate_model_allow_action( input: &crate::model::AllowAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_330) = &input.custom_request_handling { + #[allow(unused_mut)] let mut object_331 = object.key("CustomRequestHandling").start_object(); crate::json_ser::serialize_structure_crate_model_custom_request_handling( &mut object_331, @@ -1530,11 +1596,13 @@ pub fn serialize_structure_crate_model_field_to_match( input: &crate::model::FieldToMatch, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_333) = &input.single_header { + #[allow(unused_mut)] let mut object_334 = object.key("SingleHeader").start_object(); crate::json_ser::serialize_structure_crate_model_single_header(&mut object_334, var_333)?; object_334.finish(); } if let Some(var_335) = &input.single_query_argument { + #[allow(unused_mut)] let mut object_336 = object.key("SingleQueryArgument").start_object(); crate::json_ser::serialize_structure_crate_model_single_query_argument( &mut object_336, @@ -1543,6 +1611,7 @@ pub fn serialize_structure_crate_model_field_to_match( object_336.finish(); } if let Some(var_337) = &input.all_query_arguments { + #[allow(unused_mut)] let mut object_338 = object.key("AllQueryArguments").start_object(); crate::json_ser::serialize_structure_crate_model_all_query_arguments( &mut object_338, @@ -1551,36 +1620,43 @@ pub fn serialize_structure_crate_model_field_to_match( object_338.finish(); } if let Some(var_339) = &input.uri_path { + #[allow(unused_mut)] let mut object_340 = object.key("UriPath").start_object(); crate::json_ser::serialize_structure_crate_model_uri_path(&mut object_340, var_339)?; object_340.finish(); } if let Some(var_341) = &input.query_string { + #[allow(unused_mut)] let mut object_342 = object.key("QueryString").start_object(); crate::json_ser::serialize_structure_crate_model_query_string(&mut object_342, var_341)?; object_342.finish(); } if let Some(var_343) = &input.body { + #[allow(unused_mut)] let mut object_344 = object.key("Body").start_object(); crate::json_ser::serialize_structure_crate_model_body(&mut object_344, var_343)?; object_344.finish(); } if let Some(var_345) = &input.method { + #[allow(unused_mut)] let mut object_346 = object.key("Method").start_object(); crate::json_ser::serialize_structure_crate_model_method(&mut object_346, var_345)?; object_346.finish(); } if let Some(var_347) = &input.json_body { + #[allow(unused_mut)] let mut object_348 = object.key("JsonBody").start_object(); crate::json_ser::serialize_structure_crate_model_json_body(&mut object_348, var_347)?; object_348.finish(); } if let Some(var_349) = &input.headers { + #[allow(unused_mut)] let mut object_350 = object.key("Headers").start_object(); crate::json_ser::serialize_structure_crate_model_headers(&mut object_350, var_349)?; object_350.finish(); } if let Some(var_351) = &input.cookies { + #[allow(unused_mut)] let mut object_352 = object.key("Cookies").start_object(); crate::json_ser::serialize_structure_crate_model_cookies(&mut object_352, var_351)?; object_352.finish(); @@ -1596,6 +1672,7 @@ pub fn serialize_structure_crate_model_logging_filter( let mut array_354 = object.key("Filters").start_array(); for item_355 in var_353 { { + #[allow(unused_mut)] let mut object_356 = array_354.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_356, item_355)?; object_356.finish(); @@ -1619,6 +1696,7 @@ pub fn serialize_structure_crate_model_byte_match_statement( .string_unchecked(&aws_smithy_types::base64::encode(var_358)); } if let Some(var_359) = &input.field_to_match { + #[allow(unused_mut)] let mut object_360 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_360, var_359)?; object_360.finish(); @@ -1627,6 +1705,7 @@ pub fn serialize_structure_crate_model_byte_match_statement( let mut array_362 = object.key("TextTransformations").start_array(); for item_363 in var_361 { { + #[allow(unused_mut)] let mut object_364 = array_362.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_transformation( &mut object_364, @@ -1648,6 +1727,7 @@ pub fn serialize_structure_crate_model_sqli_match_statement( input: &crate::model::SqliMatchStatement, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_366) = &input.field_to_match { + #[allow(unused_mut)] let mut object_367 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_367, var_366)?; object_367.finish(); @@ -1656,6 +1736,7 @@ pub fn serialize_structure_crate_model_sqli_match_statement( let mut array_369 = object.key("TextTransformations").start_array(); for item_370 in var_368 { { + #[allow(unused_mut)] let mut object_371 = array_369.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_transformation( &mut object_371, @@ -1677,6 +1758,7 @@ pub fn serialize_structure_crate_model_xss_match_statement( input: &crate::model::XssMatchStatement, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_373) = &input.field_to_match { + #[allow(unused_mut)] let mut object_374 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_374, var_373)?; object_374.finish(); @@ -1685,6 +1767,7 @@ pub fn serialize_structure_crate_model_xss_match_statement( let mut array_376 = object.key("TextTransformations").start_array(); for item_377 in var_375 { { + #[allow(unused_mut)] let mut object_378 = array_376.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_transformation( &mut object_378, @@ -1703,6 +1786,7 @@ pub fn serialize_structure_crate_model_size_constraint_statement( input: &crate::model::SizeConstraintStatement, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_379) = &input.field_to_match { + #[allow(unused_mut)] let mut object_380 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_380, var_379)?; object_380.finish(); @@ -1720,6 +1804,7 @@ pub fn serialize_structure_crate_model_size_constraint_statement( let mut array_383 = object.key("TextTransformations").start_array(); for item_384 in var_382 { { + #[allow(unused_mut)] let mut object_385 = array_383.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_transformation( &mut object_385, @@ -1747,6 +1832,7 @@ pub fn serialize_structure_crate_model_geo_match_statement( array_387.finish(); } if let Some(var_389) = &input.forwarded_ip_config { + #[allow(unused_mut)] let mut object_390 = object.key("ForwardedIPConfig").start_object(); crate::json_ser::serialize_structure_crate_model_forwarded_ip_config( &mut object_390, @@ -1768,6 +1854,7 @@ pub fn serialize_structure_crate_model_rule_group_reference_statement( let mut array_393 = object.key("ExcludedRules").start_array(); for item_394 in var_392 { { + #[allow(unused_mut)] let mut object_395 = array_393.value().start_object(); crate::json_ser::serialize_structure_crate_model_excluded_rule( &mut object_395, @@ -1789,6 +1876,7 @@ pub fn serialize_structure_crate_model_ip_set_reference_statement( object.key("ARN").string(var_396.as_str()); } if let Some(var_397) = &input.ip_set_forwarded_ip_config { + #[allow(unused_mut)] let mut object_398 = object.key("IPSetForwardedIPConfig").start_object(); crate::json_ser::serialize_structure_crate_model_ip_set_forwarded_ip_config( &mut object_398, @@ -1807,6 +1895,7 @@ pub fn serialize_structure_crate_model_regex_pattern_set_reference_statement( object.key("ARN").string(var_399.as_str()); } if let Some(var_400) = &input.field_to_match { + #[allow(unused_mut)] let mut object_401 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_401, var_400)?; object_401.finish(); @@ -1815,6 +1904,7 @@ pub fn serialize_structure_crate_model_regex_pattern_set_reference_statement( let mut array_403 = object.key("TextTransformations").start_array(); for item_404 in var_402 { { + #[allow(unused_mut)] let mut object_405 = array_403.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_transformation( &mut object_405, @@ -1842,11 +1932,13 @@ pub fn serialize_structure_crate_model_rate_based_statement( object.key("AggregateKeyType").string(var_406.as_str()); } if let Some(var_407) = &input.scope_down_statement { + #[allow(unused_mut)] let mut object_408 = object.key("ScopeDownStatement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_408, var_407)?; object_408.finish(); } if let Some(var_409) = &input.forwarded_ip_config { + #[allow(unused_mut)] let mut object_410 = object.key("ForwardedIPConfig").start_object(); crate::json_ser::serialize_structure_crate_model_forwarded_ip_config( &mut object_410, @@ -1865,6 +1957,7 @@ pub fn serialize_structure_crate_model_and_statement( let mut array_412 = object.key("Statements").start_array(); for item_413 in var_411 { { + #[allow(unused_mut)] let mut object_414 = array_412.value().start_object(); crate::json_ser::serialize_structure_crate_model_statement( &mut object_414, @@ -1886,6 +1979,7 @@ pub fn serialize_structure_crate_model_or_statement( let mut array_416 = object.key("Statements").start_array(); for item_417 in var_415 { { + #[allow(unused_mut)] let mut object_418 = array_416.value().start_object(); crate::json_ser::serialize_structure_crate_model_statement( &mut object_418, @@ -1904,6 +1998,7 @@ pub fn serialize_structure_crate_model_not_statement( input: &crate::model::NotStatement, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_419) = &input.statement { + #[allow(unused_mut)] let mut object_420 = object.key("Statement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_420, var_419)?; object_420.finish(); @@ -1928,6 +2023,7 @@ pub fn serialize_structure_crate_model_managed_rule_group_statement( let mut array_425 = object.key("ExcludedRules").start_array(); for item_426 in var_424 { { + #[allow(unused_mut)] let mut object_427 = array_425.value().start_object(); crate::json_ser::serialize_structure_crate_model_excluded_rule( &mut object_427, @@ -1939,6 +2035,7 @@ pub fn serialize_structure_crate_model_managed_rule_group_statement( array_425.finish(); } if let Some(var_428) = &input.scope_down_statement { + #[allow(unused_mut)] let mut object_429 = object.key("ScopeDownStatement").start_object(); crate::json_ser::serialize_structure_crate_model_statement(&mut object_429, var_428)?; object_429.finish(); @@ -1947,6 +2044,7 @@ pub fn serialize_structure_crate_model_managed_rule_group_statement( let mut array_431 = object.key("ManagedRuleGroupConfigs").start_array(); for item_432 in var_430 { { + #[allow(unused_mut)] let mut object_433 = array_431.value().start_object(); crate::json_ser::serialize_structure_crate_model_managed_rule_group_config( &mut object_433, @@ -1981,6 +2079,7 @@ pub fn serialize_structure_crate_model_regex_match_statement( object.key("RegexString").string(var_436.as_str()); } if let Some(var_437) = &input.field_to_match { + #[allow(unused_mut)] let mut object_438 = object.key("FieldToMatch").start_object(); crate::json_ser::serialize_structure_crate_model_field_to_match(&mut object_438, var_437)?; object_438.finish(); @@ -1989,6 +2088,7 @@ pub fn serialize_structure_crate_model_regex_match_statement( let mut array_440 = object.key("TextTransformations").start_array(); for item_441 in var_439 { { + #[allow(unused_mut)] let mut object_442 = array_440.value().start_object(); crate::json_ser::serialize_structure_crate_model_text_transformation( &mut object_442, @@ -2007,6 +2107,7 @@ pub fn serialize_structure_crate_model_count_action( input: &crate::model::CountAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_443) = &input.custom_request_handling { + #[allow(unused_mut)] let mut object_444 = object.key("CustomRequestHandling").start_object(); crate::json_ser::serialize_structure_crate_model_custom_request_handling( &mut object_444, @@ -2022,6 +2123,7 @@ pub fn serialize_structure_crate_model_captcha_action( input: &crate::model::CaptchaAction, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_445) = &input.custom_request_handling { + #[allow(unused_mut)] let mut object_446 = object.key("CustomRequestHandling").start_object(); crate::json_ser::serialize_structure_crate_model_custom_request_handling( &mut object_446, @@ -2057,6 +2159,7 @@ pub fn serialize_structure_crate_model_custom_response( let mut array_450 = object.key("ResponseHeaders").start_array(); for item_451 in var_449 { { + #[allow(unused_mut)] let mut object_452 = array_450.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_http_header( &mut object_452, @@ -2078,6 +2181,7 @@ pub fn serialize_structure_crate_model_custom_request_handling( let mut array_454 = object.key("InsertHeaders").start_array(); for item_455 in var_453 { { + #[allow(unused_mut)] let mut object_456 = array_454.value().start_object(); crate::json_ser::serialize_structure_crate_model_custom_http_header( &mut object_456, @@ -2158,6 +2262,7 @@ pub fn serialize_structure_crate_model_json_body( input: &crate::model::JsonBody, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_460) = &input.match_pattern { + #[allow(unused_mut)] let mut object_461 = object.key("MatchPattern").start_object(); crate::json_ser::serialize_structure_crate_model_json_match_pattern( &mut object_461, @@ -2184,6 +2289,7 @@ pub fn serialize_structure_crate_model_headers( input: &crate::model::Headers, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_465) = &input.match_pattern { + #[allow(unused_mut)] let mut object_466 = object.key("MatchPattern").start_object(); crate::json_ser::serialize_structure_crate_model_header_match_pattern( &mut object_466, @@ -2205,6 +2311,7 @@ pub fn serialize_structure_crate_model_cookies( input: &crate::model::Cookies, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_469) = &input.match_pattern { + #[allow(unused_mut)] let mut object_470 = object.key("MatchPattern").start_object(); crate::json_ser::serialize_structure_crate_model_cookie_match_pattern( &mut object_470, @@ -2235,6 +2342,7 @@ pub fn serialize_structure_crate_model_filter( let mut array_476 = object.key("Conditions").start_array(); for item_477 in var_475 { { + #[allow(unused_mut)] let mut object_478 = array_476.value().start_object(); crate::json_ser::serialize_structure_crate_model_condition( &mut object_478, @@ -2314,11 +2422,13 @@ pub fn serialize_structure_crate_model_managed_rule_group_config( object.key("PayloadType").string(var_487.as_str()); } if let Some(var_488) = &input.username_field { + #[allow(unused_mut)] let mut object_489 = object.key("UsernameField").start_object(); crate::json_ser::serialize_structure_crate_model_username_field(&mut object_489, var_488)?; object_489.finish(); } if let Some(var_490) = &input.password_field { + #[allow(unused_mut)] let mut object_491 = object.key("PasswordField").start_object(); crate::json_ser::serialize_structure_crate_model_password_field(&mut object_491, var_490)?; object_491.finish(); @@ -2344,6 +2454,7 @@ pub fn serialize_structure_crate_model_json_match_pattern( input: &crate::model::JsonMatchPattern, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_494) = &input.all { + #[allow(unused_mut)] let mut object_495 = object.key("All").start_object(); crate::json_ser::serialize_structure_crate_model_all(&mut object_495, var_494)?; object_495.finish(); @@ -2365,6 +2476,7 @@ pub fn serialize_structure_crate_model_header_match_pattern( input: &crate::model::HeaderMatchPattern, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_499) = &input.all { + #[allow(unused_mut)] let mut object_500 = object.key("All").start_object(); crate::json_ser::serialize_structure_crate_model_all(&mut object_500, var_499)?; object_500.finish(); @@ -2395,6 +2507,7 @@ pub fn serialize_structure_crate_model_cookie_match_pattern( input: &crate::model::CookieMatchPattern, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_507) = &input.all { + #[allow(unused_mut)] let mut object_508 = object.key("All").start_object(); crate::json_ser::serialize_structure_crate_model_all(&mut object_508, var_507)?; object_508.finish(); @@ -2425,6 +2538,7 @@ pub fn serialize_structure_crate_model_condition( input: &crate::model::Condition, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_515) = &input.action_condition { + #[allow(unused_mut)] let mut object_516 = object.key("ActionCondition").start_object(); crate::json_ser::serialize_structure_crate_model_action_condition( &mut object_516, @@ -2433,6 +2547,7 @@ pub fn serialize_structure_crate_model_condition( object_516.finish(); } if let Some(var_517) = &input.label_name_condition { + #[allow(unused_mut)] let mut object_518 = object.key("LabelNameCondition").start_object(); crate::json_ser::serialize_structure_crate_model_label_name_condition( &mut object_518, diff --git a/sdk/wellarchitected/src/json_ser.rs b/sdk/wellarchitected/src/json_ser.rs index 19d02119ffcb..c22277f9339e 100644 --- a/sdk/wellarchitected/src/json_ser.rs +++ b/sdk/wellarchitected/src/json_ser.rs @@ -131,6 +131,7 @@ pub fn serialize_structure_crate_input_create_workload_input( object.key("ReviewOwner").string(var_32.as_str()); } if let Some(var_33) = &input.tags { + #[allow(unused_mut)] let mut object_34 = object.key("Tags").start_object(); for (key_35, value_36) in var_33 { { @@ -191,6 +192,7 @@ pub fn serialize_structure_crate_input_import_lens_input( object.key("LensAlias").string(var_46.as_str()); } if let Some(var_47) = &input.tags { + #[allow(unused_mut)] let mut object_48 = object.key("Tags").start_object(); for (key_49, value_50) in var_47 { { @@ -261,6 +263,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_56) = &input.tags { + #[allow(unused_mut)] let mut object_57 = object.key("Tags").start_object(); for (key_58, value_59) in var_56 { { @@ -277,9 +280,11 @@ pub fn serialize_structure_crate_input_update_answer_input( input: &crate::input::UpdateAnswerInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_60) = &input.choice_updates { + #[allow(unused_mut)] let mut object_61 = object.key("ChoiceUpdates").start_object(); for (key_62, value_63) in var_60 { { + #[allow(unused_mut)] let mut object_64 = object_61.key(key_62.as_str()).start_object(); crate::json_ser::serialize_structure_crate_model_choice_update( &mut object_64, @@ -331,6 +336,7 @@ pub fn serialize_structure_crate_input_update_lens_review_input( object.key("LensNotes").string(var_71.as_str()); } if let Some(var_72) = &input.pillar_notes { + #[allow(unused_mut)] let mut object_73 = object.key("PillarNotes").start_object(); for (key_74, value_75) in var_72 { { diff --git a/sdk/wisdom/src/json_ser.rs b/sdk/wisdom/src/json_ser.rs index f143b3f9fa77..77bf13f6c3e1 100644 --- a/sdk/wisdom/src/json_ser.rs +++ b/sdk/wisdom/src/json_ser.rs @@ -13,6 +13,7 @@ pub fn serialize_structure_crate_input_create_assistant_input( object.key("name").string(var_3.as_str()); } if let Some(var_4) = &input.server_side_encryption_configuration { + #[allow(unused_mut)] let mut object_5 = object .key("serverSideEncryptionConfiguration") .start_object(); @@ -23,6 +24,7 @@ pub fn serialize_structure_crate_input_create_assistant_input( object_5.finish(); } if let Some(var_6) = &input.tags { + #[allow(unused_mut)] let mut object_7 = object.key("tags").start_object(); for (key_8, value_9) in var_6 { { @@ -42,6 +44,7 @@ pub fn serialize_structure_crate_input_create_assistant_association_input( input: &crate::input::CreateAssistantAssociationInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.association { + #[allow(unused_mut)] let mut object_12 = object.key("association").start_object(); crate::json_ser::serialize_union_crate_model_assistant_association_input_data( &mut object_12, @@ -56,6 +59,7 @@ pub fn serialize_structure_crate_input_create_assistant_association_input( object.key("clientToken").string(var_14.as_str()); } if let Some(var_15) = &input.tags { + #[allow(unused_mut)] let mut object_16 = object.key("tags").start_object(); for (key_17, value_18) in var_15 { { @@ -75,6 +79,7 @@ pub fn serialize_structure_crate_input_create_content_input( object.key("clientToken").string(var_19.as_str()); } if let Some(var_20) = &input.metadata { + #[allow(unused_mut)] let mut object_21 = object.key("metadata").start_object(); for (key_22, value_23) in var_20 { { @@ -90,6 +95,7 @@ pub fn serialize_structure_crate_input_create_content_input( object.key("overrideLinkOutUri").string(var_25.as_str()); } if let Some(var_26) = &input.tags { + #[allow(unused_mut)] let mut object_27 = object.key("tags").start_object(); for (key_28, value_29) in var_26 { { @@ -124,6 +130,7 @@ pub fn serialize_structure_crate_input_create_knowledge_base_input( object.key("name").string(var_35.as_str()); } if let Some(var_36) = &input.rendering_configuration { + #[allow(unused_mut)] let mut object_37 = object.key("renderingConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_rendering_configuration( &mut object_37, @@ -132,6 +139,7 @@ pub fn serialize_structure_crate_input_create_knowledge_base_input( object_37.finish(); } if let Some(var_38) = &input.server_side_encryption_configuration { + #[allow(unused_mut)] let mut object_39 = object .key("serverSideEncryptionConfiguration") .start_object(); @@ -142,11 +150,13 @@ pub fn serialize_structure_crate_input_create_knowledge_base_input( object_39.finish(); } if let Some(var_40) = &input.source_configuration { + #[allow(unused_mut)] let mut object_41 = object.key("sourceConfiguration").start_object(); crate::json_ser::serialize_union_crate_model_source_configuration(&mut object_41, var_40)?; object_41.finish(); } if let Some(var_42) = &input.tags { + #[allow(unused_mut)] let mut object_43 = object.key("tags").start_object(); for (key_44, value_45) in var_42 { { @@ -172,6 +182,7 @@ pub fn serialize_structure_crate_input_create_session_input( object.key("name").string(var_48.as_str()); } if let Some(var_49) = &input.tags { + #[allow(unused_mut)] let mut object_50 = object.key("tags").start_object(); for (key_51, value_52) in var_49 { { @@ -204,6 +215,7 @@ pub fn serialize_structure_crate_input_put_feedback_input( input: &crate::input::PutFeedbackInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_56) = &input.feedback { + #[allow(unused_mut)] let mut object_57 = object.key("feedback").start_object(); crate::json_ser::serialize_structure_crate_model_feedback_data(&mut object_57, var_56)?; object_57.finish(); @@ -241,6 +253,7 @@ pub fn serialize_structure_crate_input_search_content_input( input: &crate::input::SearchContentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_63) = &input.search_expression { + #[allow(unused_mut)] let mut object_64 = object.key("searchExpression").start_object(); crate::json_ser::serialize_structure_crate_model_search_expression(&mut object_64, var_63)?; object_64.finish(); @@ -253,6 +266,7 @@ pub fn serialize_structure_crate_input_search_sessions_input( input: &crate::input::SearchSessionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_65) = &input.search_expression { + #[allow(unused_mut)] let mut object_66 = object.key("searchExpression").start_object(); crate::json_ser::serialize_structure_crate_model_search_expression(&mut object_66, var_65)?; object_66.finish(); @@ -275,6 +289,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_68) = &input.tags { + #[allow(unused_mut)] let mut object_69 = object.key("tags").start_object(); for (key_70, value_71) in var_68 { { @@ -291,6 +306,7 @@ pub fn serialize_structure_crate_input_update_content_input( input: &crate::input::UpdateContentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_72) = &input.metadata { + #[allow(unused_mut)] let mut object_73 = object.key("metadata").start_object(); for (key_74, value_75) in var_72 { { @@ -372,6 +388,7 @@ pub fn serialize_union_crate_model_source_configuration( ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { match input { crate::model::SourceConfiguration::AppIntegrations(inner) => { + #[allow(unused_mut)] let mut object_84 = object_41.key("appIntegrations").start_object(); crate::json_ser::serialize_structure_crate_model_app_integrations_configuration( &mut object_84, @@ -408,6 +425,7 @@ pub fn serialize_structure_crate_model_search_expression( let mut array_87 = object.key("filters").start_array(); for item_88 in var_86 { { + #[allow(unused_mut)] let mut object_89 = array_87.value().start_object(); crate::json_ser::serialize_structure_crate_model_filter(&mut object_89, item_88)?; object_89.finish(); diff --git a/sdk/workdocs/src/json_ser.rs b/sdk/workdocs/src/json_ser.rs index 158a140c304c..ed1fd4f690f4 100644 --- a/sdk/workdocs/src/json_ser.rs +++ b/sdk/workdocs/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_add_resource_permissions_input( input: &crate::input::AddResourcePermissionsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.notification_options { + #[allow(unused_mut)] let mut object_2 = object.key("NotificationOptions").start_object(); crate::json_ser::serialize_structure_crate_model_notification_options( &mut object_2, @@ -15,6 +16,7 @@ pub fn serialize_structure_crate_input_add_resource_permissions_input( let mut array_4 = object.key("Principals").start_array(); for item_5 in var_3 { { + #[allow(unused_mut)] let mut object_6 = array_4.value().start_object(); crate::json_ser::serialize_structure_crate_model_share_principal( &mut object_6, @@ -57,6 +59,7 @@ pub fn serialize_structure_crate_input_create_custom_metadata_input( input: &crate::input::CreateCustomMetadataInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_11) = &input.custom_metadata { + #[allow(unused_mut)] let mut object_12 = object.key("CustomMetadata").start_object(); for (key_13, value_14) in var_11 { { @@ -130,6 +133,7 @@ pub fn serialize_structure_crate_input_create_user_input( object.key("Password").string(var_26.as_str()); } if let Some(var_27) = &input.storage_rule { + #[allow(unused_mut)] let mut object_28 = object.key("StorageRule").start_object(); crate::json_ser::serialize_structure_crate_model_storage_rule_type(&mut object_28, var_27)?; object_28.finish(); @@ -239,6 +243,7 @@ pub fn serialize_structure_crate_input_update_user_input( object.key("Locale").string(var_48.as_str()); } if let Some(var_49) = &input.storage_rule { + #[allow(unused_mut)] let mut object_50 = object.key("StorageRule").start_object(); crate::json_ser::serialize_structure_crate_model_storage_rule_type(&mut object_50, var_49)?; object_50.finish(); diff --git a/sdk/worklink/src/json_ser.rs b/sdk/worklink/src/json_ser.rs index 367405b3cc5b..ff36418b729d 100644 --- a/sdk/worklink/src/json_ser.rs +++ b/sdk/worklink/src/json_ser.rs @@ -66,6 +66,7 @@ pub fn serialize_structure_crate_input_create_fleet_input( object.key("OptimizeForEndUserLocation").boolean(*var_13); } if let Some(var_14) = &input.tags { + #[allow(unused_mut)] let mut object_15 = object.key("Tags").start_object(); for (key_16, value_17) in var_14 { { @@ -353,6 +354,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( input: &crate::input::TagResourceInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_56) = &input.tags { + #[allow(unused_mut)] let mut object_57 = object.key("Tags").start_object(); for (key_58, value_59) in var_56 { { diff --git a/sdk/workmail/src/json_ser.rs b/sdk/workmail/src/json_ser.rs index 9233be0957df..431cfc8dd095 100644 --- a/sdk/workmail/src/json_ser.rs +++ b/sdk/workmail/src/json_ser.rs @@ -90,6 +90,7 @@ pub fn serialize_structure_crate_input_create_availability_configuration_input( object.key("DomainName").string(var_17.as_str()); } if let Some(var_18) = &input.ews_provider { + #[allow(unused_mut)] let mut object_19 = object.key("EwsProvider").start_object(); crate::json_ser::serialize_structure_crate_model_ews_availability_provider( &mut object_19, @@ -98,6 +99,7 @@ pub fn serialize_structure_crate_input_create_availability_configuration_input( object_19.finish(); } if let Some(var_20) = &input.lambda_provider { + #[allow(unused_mut)] let mut object_21 = object.key("LambdaProvider").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_availability_provider( &mut object_21, @@ -144,6 +146,7 @@ pub fn serialize_structure_crate_input_create_impersonation_role_input( let mut array_30 = object.key("Rules").start_array(); for item_31 in var_29 { { + #[allow(unused_mut)] let mut object_32 = array_30.value().start_object(); crate::json_ser::serialize_structure_crate_model_impersonation_rule( &mut object_32, @@ -268,6 +271,7 @@ pub fn serialize_structure_crate_input_create_organization_input( let mut array_66 = object.key("Domains").start_array(); for item_67 in var_65 { { + #[allow(unused_mut)] let mut object_68 = array_66.value().start_object(); crate::json_ser::serialize_structure_crate_model_domain(&mut object_68, item_67)?; object_68.finish(); @@ -1247,6 +1251,7 @@ pub fn serialize_structure_crate_input_put_retention_policy_input( let mut array_245 = object.key("FolderConfigurations").start_array(); for item_246 in var_244 { { + #[allow(unused_mut)] let mut object_247 = array_245.value().start_object(); crate::json_ser::serialize_structure_crate_model_folder_configuration( &mut object_247, @@ -1350,6 +1355,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_267 = object.key("Tags").start_array(); for item_268 in var_266 { { + #[allow(unused_mut)] let mut object_269 = array_267.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_269, item_268)?; object_269.finish(); @@ -1371,6 +1377,7 @@ pub fn serialize_structure_crate_input_test_availability_configuration_input( object.key("DomainName").string(var_271.as_str()); } if let Some(var_272) = &input.ews_provider { + #[allow(unused_mut)] let mut object_273 = object.key("EwsProvider").start_object(); crate::json_ser::serialize_structure_crate_model_ews_availability_provider( &mut object_273, @@ -1379,6 +1386,7 @@ pub fn serialize_structure_crate_input_test_availability_configuration_input( object_273.finish(); } if let Some(var_274) = &input.lambda_provider { + #[allow(unused_mut)] let mut object_275 = object.key("LambdaProvider").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_availability_provider( &mut object_275, @@ -1419,6 +1427,7 @@ pub fn serialize_structure_crate_input_update_availability_configuration_input( object.key("DomainName").string(var_281.as_str()); } if let Some(var_282) = &input.ews_provider { + #[allow(unused_mut)] let mut object_283 = object.key("EwsProvider").start_object(); crate::json_ser::serialize_structure_crate_model_ews_availability_provider( &mut object_283, @@ -1427,6 +1436,7 @@ pub fn serialize_structure_crate_input_update_availability_configuration_input( object_283.finish(); } if let Some(var_284) = &input.lambda_provider { + #[allow(unused_mut)] let mut object_285 = object.key("LambdaProvider").start_object(); crate::json_ser::serialize_structure_crate_model_lambda_availability_provider( &mut object_285, @@ -1473,6 +1483,7 @@ pub fn serialize_structure_crate_input_update_impersonation_role_input( let mut array_294 = object.key("Rules").start_array(); for item_295 in var_293 { { + #[allow(unused_mut)] let mut object_296 = array_294.value().start_object(); crate::json_ser::serialize_structure_crate_model_impersonation_rule( &mut object_296, @@ -1631,6 +1642,7 @@ pub fn serialize_structure_crate_input_update_resource_input( object.key("Name").string(var_334.as_str()); } if let Some(var_335) = &input.booking_options { + #[allow(unused_mut)] let mut object_336 = object.key("BookingOptions").start_object(); crate::json_ser::serialize_structure_crate_model_booking_options(&mut object_336, var_335)?; object_336.finish(); diff --git a/sdk/workmailmessageflow/src/json_ser.rs b/sdk/workmailmessageflow/src/json_ser.rs index 1e8a17d6909f..9b06bd2c3d13 100644 --- a/sdk/workmailmessageflow/src/json_ser.rs +++ b/sdk/workmailmessageflow/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_put_raw_message_content_input( input: &crate::input::PutRawMessageContentInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.content { + #[allow(unused_mut)] let mut object_2 = object.key("content").start_object(); crate::json_ser::serialize_structure_crate_model_raw_message_content(&mut object_2, var_1)?; object_2.finish(); @@ -16,6 +17,7 @@ pub fn serialize_structure_crate_model_raw_message_content( input: &crate::model::RawMessageContent, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_3) = &input.s3_reference { + #[allow(unused_mut)] let mut object_4 = object.key("s3Reference").start_object(); crate::json_ser::serialize_structure_crate_model_s3_reference(&mut object_4, var_3)?; object_4.finish(); diff --git a/sdk/workspaces/src/json_ser.rs b/sdk/workspaces/src/json_ser.rs index 79eead9c57e8..03f16343fa4d 100644 --- a/sdk/workspaces/src/json_ser.rs +++ b/sdk/workspaces/src/json_ser.rs @@ -42,6 +42,7 @@ pub fn serialize_structure_crate_input_authorize_ip_rules_input( let mut array_9 = object.key("UserRules").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_rule_item( &mut object_11, @@ -75,6 +76,7 @@ pub fn serialize_structure_crate_input_copy_workspace_image_input( let mut array_17 = object.key("Tags").start_array(); for item_18 in var_16 { { + #[allow(unused_mut)] let mut object_19 = array_17.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_19, item_18)?; object_19.finish(); @@ -112,6 +114,7 @@ pub fn serialize_structure_crate_input_create_connection_alias_input( let mut array_25 = object.key("Tags").start_array(); for item_26 in var_24 { { + #[allow(unused_mut)] let mut object_27 = array_25.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_27, item_26)?; object_27.finish(); @@ -136,6 +139,7 @@ pub fn serialize_structure_crate_input_create_ip_group_input( let mut array_31 = object.key("UserRules").start_array(); for item_32 in var_30 { { + #[allow(unused_mut)] let mut object_33 = array_31.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_rule_item( &mut object_33, @@ -150,6 +154,7 @@ pub fn serialize_structure_crate_input_create_ip_group_input( let mut array_35 = object.key("Tags").start_array(); for item_36 in var_34 { { + #[allow(unused_mut)] let mut object_37 = array_35.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_37, item_36)?; object_37.finish(); @@ -171,6 +176,7 @@ pub fn serialize_structure_crate_input_create_tags_input( let mut array_40 = object.key("Tags").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_42, item_41)?; object_42.finish(); @@ -198,6 +204,7 @@ pub fn serialize_structure_crate_input_create_updated_workspace_image_input( let mut array_47 = object.key("Tags").start_array(); for item_48 in var_46 { { + #[allow(unused_mut)] let mut object_49 = array_47.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_49, item_48)?; object_49.finish(); @@ -222,16 +229,19 @@ pub fn serialize_structure_crate_input_create_workspace_bundle_input( object.key("ImageId").string(var_52.as_str()); } if let Some(var_53) = &input.compute_type { + #[allow(unused_mut)] let mut object_54 = object.key("ComputeType").start_object(); crate::json_ser::serialize_structure_crate_model_compute_type(&mut object_54, var_53)?; object_54.finish(); } if let Some(var_55) = &input.user_storage { + #[allow(unused_mut)] let mut object_56 = object.key("UserStorage").start_object(); crate::json_ser::serialize_structure_crate_model_user_storage(&mut object_56, var_55)?; object_56.finish(); } if let Some(var_57) = &input.root_storage { + #[allow(unused_mut)] let mut object_58 = object.key("RootStorage").start_object(); crate::json_ser::serialize_structure_crate_model_root_storage(&mut object_58, var_57)?; object_58.finish(); @@ -240,6 +250,7 @@ pub fn serialize_structure_crate_input_create_workspace_bundle_input( let mut array_60 = object.key("Tags").start_array(); for item_61 in var_59 { { + #[allow(unused_mut)] let mut object_62 = array_60.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_62, item_61)?; object_62.finish(); @@ -267,6 +278,7 @@ pub fn serialize_structure_crate_input_create_workspace_image_input( let mut array_67 = object.key("Tags").start_array(); for item_68 in var_66 { { + #[allow(unused_mut)] let mut object_69 = array_67.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_69, item_68)?; object_69.finish(); @@ -285,6 +297,7 @@ pub fn serialize_structure_crate_input_create_workspaces_input( let mut array_71 = object.key("Workspaces").start_array(); for item_72 in var_70 { { + #[allow(unused_mut)] let mut object_73 = array_71.value().start_object(); crate::json_ser::serialize_structure_crate_model_workspace_request( &mut object_73, @@ -730,6 +743,7 @@ pub fn serialize_structure_crate_input_import_client_branding_input( object.key("ResourceId").string(var_149.as_str()); } if let Some(var_150) = &input.device_type_windows { + #[allow(unused_mut)] let mut object_151 = object.key("DeviceTypeWindows").start_object(); crate::json_ser::serialize_structure_crate_model_default_import_client_branding_attributes( &mut object_151, @@ -738,6 +752,7 @@ pub fn serialize_structure_crate_input_import_client_branding_input( object_151.finish(); } if let Some(var_152) = &input.device_type_osx { + #[allow(unused_mut)] let mut object_153 = object.key("DeviceTypeOsx").start_object(); crate::json_ser::serialize_structure_crate_model_default_import_client_branding_attributes( &mut object_153, @@ -746,6 +761,7 @@ pub fn serialize_structure_crate_input_import_client_branding_input( object_153.finish(); } if let Some(var_154) = &input.device_type_android { + #[allow(unused_mut)] let mut object_155 = object.key("DeviceTypeAndroid").start_object(); crate::json_ser::serialize_structure_crate_model_default_import_client_branding_attributes( &mut object_155, @@ -754,6 +770,7 @@ pub fn serialize_structure_crate_input_import_client_branding_input( object_155.finish(); } if let Some(var_156) = &input.device_type_ios { + #[allow(unused_mut)] let mut object_157 = object.key("DeviceTypeIos").start_object(); crate::json_ser::serialize_structure_crate_model_ios_import_client_branding_attributes( &mut object_157, @@ -762,6 +779,7 @@ pub fn serialize_structure_crate_input_import_client_branding_input( object_157.finish(); } if let Some(var_158) = &input.device_type_linux { + #[allow(unused_mut)] let mut object_159 = object.key("DeviceTypeLinux").start_object(); crate::json_ser::serialize_structure_crate_model_default_import_client_branding_attributes( &mut object_159, @@ -770,6 +788,7 @@ pub fn serialize_structure_crate_input_import_client_branding_input( object_159.finish(); } if let Some(var_160) = &input.device_type_web { + #[allow(unused_mut)] let mut object_161 = object.key("DeviceTypeWeb").start_object(); crate::json_ser::serialize_structure_crate_model_default_import_client_branding_attributes( &mut object_161, @@ -800,6 +819,7 @@ pub fn serialize_structure_crate_input_import_workspace_image_input( let mut array_167 = object.key("Tags").start_array(); for item_168 in var_166 { { + #[allow(unused_mut)] let mut object_169 = array_167.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_169, item_168)?; object_169.finish(); @@ -878,6 +898,7 @@ pub fn serialize_structure_crate_input_modify_client_properties_input( object.key("ResourceId").string(var_180.as_str()); } if let Some(var_181) = &input.client_properties { + #[allow(unused_mut)] let mut object_182 = object.key("ClientProperties").start_object(); crate::json_ser::serialize_structure_crate_model_client_properties( &mut object_182, @@ -896,6 +917,7 @@ pub fn serialize_structure_crate_input_modify_saml_properties_input( object.key("ResourceId").string(var_183.as_str()); } if let Some(var_184) = &input.saml_properties { + #[allow(unused_mut)] let mut object_185 = object.key("SamlProperties").start_object(); crate::json_ser::serialize_structure_crate_model_saml_properties(&mut object_185, var_184)?; object_185.finish(); @@ -920,6 +942,7 @@ pub fn serialize_structure_crate_input_modify_selfservice_permissions_input( object.key("ResourceId").string(var_189.as_str()); } if let Some(var_190) = &input.selfservice_permissions { + #[allow(unused_mut)] let mut object_191 = object.key("SelfservicePermissions").start_object(); crate::json_ser::serialize_structure_crate_model_selfservice_permissions( &mut object_191, @@ -938,6 +961,7 @@ pub fn serialize_structure_crate_input_modify_workspace_access_properties_input( object.key("ResourceId").string(var_192.as_str()); } if let Some(var_193) = &input.workspace_access_properties { + #[allow(unused_mut)] let mut object_194 = object.key("WorkspaceAccessProperties").start_object(); crate::json_ser::serialize_structure_crate_model_workspace_access_properties( &mut object_194, @@ -956,6 +980,7 @@ pub fn serialize_structure_crate_input_modify_workspace_creation_properties_inpu object.key("ResourceId").string(var_195.as_str()); } if let Some(var_196) = &input.workspace_creation_properties { + #[allow(unused_mut)] let mut object_197 = object.key("WorkspaceCreationProperties").start_object(); crate::json_ser::serialize_structure_crate_model_workspace_creation_properties( &mut object_197, @@ -974,6 +999,7 @@ pub fn serialize_structure_crate_input_modify_workspace_properties_input( object.key("WorkspaceId").string(var_198.as_str()); } if let Some(var_199) = &input.workspace_properties { + #[allow(unused_mut)] let mut object_200 = object.key("WorkspaceProperties").start_object(); crate::json_ser::serialize_structure_crate_model_workspace_properties( &mut object_200, @@ -1005,6 +1031,7 @@ pub fn serialize_structure_crate_input_reboot_workspaces_input( let mut array_204 = object.key("RebootWorkspaceRequests").start_array(); for item_205 in var_203 { { + #[allow(unused_mut)] let mut object_206 = array_204.value().start_object(); crate::json_ser::serialize_structure_crate_model_reboot_request( &mut object_206, @@ -1026,6 +1053,7 @@ pub fn serialize_structure_crate_input_rebuild_workspaces_input( let mut array_208 = object.key("RebuildWorkspaceRequests").start_array(); for item_209 in var_207 { { + #[allow(unused_mut)] let mut object_210 = array_208.value().start_object(); crate::json_ser::serialize_structure_crate_model_rebuild_request( &mut object_210, @@ -1068,6 +1096,7 @@ pub fn serialize_structure_crate_input_register_workspace_directory_input( let mut array_219 = object.key("Tags").start_array(); for item_220 in var_218 { { + #[allow(unused_mut)] let mut object_221 = array_219.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_221, item_220)?; object_221.finish(); @@ -1115,6 +1144,7 @@ pub fn serialize_structure_crate_input_start_workspaces_input( let mut array_228 = object.key("StartWorkspaceRequests").start_array(); for item_229 in var_227 { { + #[allow(unused_mut)] let mut object_230 = array_228.value().start_object(); crate::json_ser::serialize_structure_crate_model_start_request( &mut object_230, @@ -1136,6 +1166,7 @@ pub fn serialize_structure_crate_input_stop_workspaces_input( let mut array_232 = object.key("StopWorkspaceRequests").start_array(); for item_233 in var_231 { { + #[allow(unused_mut)] let mut object_234 = array_232.value().start_object(); crate::json_ser::serialize_structure_crate_model_stop_request( &mut object_234, @@ -1157,6 +1188,7 @@ pub fn serialize_structure_crate_input_terminate_workspaces_input( let mut array_236 = object.key("TerminateWorkspaceRequests").start_array(); for item_237 in var_235 { { + #[allow(unused_mut)] let mut object_238 = array_236.value().start_object(); crate::json_ser::serialize_structure_crate_model_terminate_request( &mut object_238, @@ -1197,6 +1229,7 @@ pub fn serialize_structure_crate_input_update_connection_alias_permission_input( object.key("AliasId").string(var_243.as_str()); } if let Some(var_244) = &input.connection_alias_permission { + #[allow(unused_mut)] let mut object_245 = object.key("ConnectionAliasPermission").start_object(); crate::json_ser::serialize_structure_crate_model_connection_alias_permission( &mut object_245, @@ -1218,6 +1251,7 @@ pub fn serialize_structure_crate_input_update_rules_of_ip_group_input( let mut array_248 = object.key("UserRules").start_array(); for item_249 in var_247 { { + #[allow(unused_mut)] let mut object_250 = array_248.value().start_object(); crate::json_ser::serialize_structure_crate_model_ip_rule_item( &mut object_250, @@ -1339,6 +1373,7 @@ pub fn serialize_structure_crate_model_workspace_request( object.key("RootVolumeEncryptionEnabled").boolean(*var_268); } if let Some(var_269) = &input.workspace_properties { + #[allow(unused_mut)] let mut object_270 = object.key("WorkspaceProperties").start_object(); crate::json_ser::serialize_structure_crate_model_workspace_properties( &mut object_270, @@ -1350,6 +1385,7 @@ pub fn serialize_structure_crate_model_workspace_request( let mut array_272 = object.key("Tags").start_array(); for item_273 in var_271 { { + #[allow(unused_mut)] let mut object_274 = array_272.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_274, item_273)?; object_274.finish(); @@ -1379,6 +1415,7 @@ pub fn serialize_structure_crate_model_default_import_client_branding_attributes object.key("ForgotPasswordLink").string(var_278.as_str()); } if let Some(var_279) = &input.login_message { + #[allow(unused_mut)] let mut object_280 = object.key("LoginMessage").start_object(); for (key_281, value_282) in var_279 { { @@ -1419,6 +1456,7 @@ pub fn serialize_structure_crate_model_ios_import_client_branding_attributes( object.key("ForgotPasswordLink").string(var_288.as_str()); } if let Some(var_289) = &input.login_message { + #[allow(unused_mut)] let mut object_290 = object.key("LoginMessage").start_object(); for (key_291, value_292) in var_289 { { diff --git a/sdk/workspacesweb/src/json_ser.rs b/sdk/workspacesweb/src/json_ser.rs index 165da1705756..a2b24b9e321b 100644 --- a/sdk/workspacesweb/src/json_ser.rs +++ b/sdk/workspacesweb/src/json_ser.rs @@ -4,6 +4,7 @@ pub fn serialize_structure_crate_input_create_browser_settings_input( input: &crate::input::CreateBrowserSettingsInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_1) = &input.additional_encryption_context { + #[allow(unused_mut)] let mut object_2 = object.key("additionalEncryptionContext").start_object(); for (key_3, value_4) in var_1 { { @@ -25,6 +26,7 @@ pub fn serialize_structure_crate_input_create_browser_settings_input( let mut array_9 = object.key("tags").start_array(); for item_10 in var_8 { { + #[allow(unused_mut)] let mut object_11 = array_9.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_11, item_10)?; object_11.finish(); @@ -43,6 +45,7 @@ pub fn serialize_structure_crate_input_create_identity_provider_input( object.key("clientToken").string(var_12.as_str()); } if let Some(var_13) = &input.identity_provider_details { + #[allow(unused_mut)] let mut object_14 = object.key("identityProviderDetails").start_object(); for (key_15, value_16) in var_13 { { @@ -92,6 +95,7 @@ pub fn serialize_structure_crate_input_create_network_settings_input( let mut array_28 = object.key("tags").start_array(); for item_29 in var_27 { { + #[allow(unused_mut)] let mut object_30 = array_28.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_30, item_29)?; object_30.finish(); @@ -110,6 +114,7 @@ pub fn serialize_structure_crate_input_create_portal_input( input: &crate::input::CreatePortalInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_32) = &input.additional_encryption_context { + #[allow(unused_mut)] let mut object_33 = object.key("additionalEncryptionContext").start_object(); for (key_34, value_35) in var_32 { { @@ -131,6 +136,7 @@ pub fn serialize_structure_crate_input_create_portal_input( let mut array_40 = object.key("tags").start_array(); for item_41 in var_39 { { + #[allow(unused_mut)] let mut object_42 = array_40.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_42, item_41)?; object_42.finish(); @@ -163,6 +169,7 @@ pub fn serialize_structure_crate_input_create_trust_store_input( let mut array_48 = object.key("tags").start_array(); for item_49 in var_47 { { + #[allow(unused_mut)] let mut object_50 = array_48.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_50, item_49)?; object_50.finish(); @@ -208,6 +215,7 @@ pub fn serialize_structure_crate_input_create_user_settings_input( let mut array_59 = object.key("tags").start_array(); for item_60 in var_58 { { + #[allow(unused_mut)] let mut object_61 = array_59.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_61, item_60)?; object_61.finish(); @@ -232,6 +240,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_65 = object.key("tags").start_array(); for item_66 in var_64 { { + #[allow(unused_mut)] let mut object_67 = array_65.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_67, item_66)?; object_67.finish(); @@ -263,6 +272,7 @@ pub fn serialize_structure_crate_input_update_identity_provider_input( object.key("clientToken").string(var_70.as_str()); } if let Some(var_71) = &input.identity_provider_details { + #[allow(unused_mut)] let mut object_72 = object.key("identityProviderDetails").start_object(); for (key_73, value_74) in var_71 { { diff --git a/sdk/xray/src/json_ser.rs b/sdk/xray/src/json_ser.rs index 139c027cb91f..a9c0833b8c4b 100644 --- a/sdk/xray/src/json_ser.rs +++ b/sdk/xray/src/json_ser.rs @@ -29,6 +29,7 @@ pub fn serialize_structure_crate_input_create_group_input( object.key("GroupName").string(var_6.as_str()); } if let Some(var_7) = &input.insights_configuration { + #[allow(unused_mut)] let mut object_8 = object.key("InsightsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_insights_configuration( &mut object_8, @@ -40,6 +41,7 @@ pub fn serialize_structure_crate_input_create_group_input( let mut array_10 = object.key("Tags").start_array(); for item_11 in var_9 { { + #[allow(unused_mut)] let mut object_12 = array_10.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_12, item_11)?; object_12.finish(); @@ -55,6 +57,7 @@ pub fn serialize_structure_crate_input_create_sampling_rule_input( input: &crate::input::CreateSamplingRuleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_13) = &input.sampling_rule { + #[allow(unused_mut)] let mut object_14 = object.key("SamplingRule").start_object(); crate::json_ser::serialize_structure_crate_model_sampling_rule(&mut object_14, var_13)?; object_14.finish(); @@ -63,6 +66,7 @@ pub fn serialize_structure_crate_input_create_sampling_rule_input( let mut array_16 = object.key("Tags").start_array(); for item_17 in var_15 { { + #[allow(unused_mut)] let mut object_18 = array_16.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_18, item_17)?; object_18.finish(); @@ -243,6 +247,7 @@ pub fn serialize_structure_crate_input_get_sampling_targets_input( let mut array_46 = object.key("SamplingStatisticsDocuments").start_array(); for item_47 in var_45 { { + #[allow(unused_mut)] let mut object_48 = array_46.value().start_object(); crate::json_ser::serialize_structure_crate_model_sampling_statistics_document( &mut object_48, @@ -360,6 +365,7 @@ pub fn serialize_structure_crate_input_get_trace_summaries_input( object.key("Sampling").boolean(*var_69); } if let Some(var_70) = &input.sampling_strategy { + #[allow(unused_mut)] let mut object_71 = object.key("SamplingStrategy").start_object(); crate::json_ser::serialize_structure_crate_model_sampling_strategy(&mut object_71, var_70)?; object_71.finish(); @@ -418,6 +424,7 @@ pub fn serialize_structure_crate_input_put_telemetry_records_input( let mut array_82 = object.key("TelemetryRecords").start_array(); for item_83 in var_81 { { + #[allow(unused_mut)] let mut object_84 = array_82.value().start_object(); crate::json_ser::serialize_structure_crate_model_telemetry_record( &mut object_84, @@ -458,6 +465,7 @@ pub fn serialize_structure_crate_input_tag_resource_input( let mut array_90 = object.key("Tags").start_array(); for item_91 in var_89 { { + #[allow(unused_mut)] let mut object_92 = array_90.value().start_object(); crate::json_ser::serialize_structure_crate_model_tag(&mut object_92, item_91)?; object_92.finish(); @@ -501,6 +509,7 @@ pub fn serialize_structure_crate_input_update_group_input( object.key("GroupName").string(var_99.as_str()); } if let Some(var_100) = &input.insights_configuration { + #[allow(unused_mut)] let mut object_101 = object.key("InsightsConfiguration").start_object(); crate::json_ser::serialize_structure_crate_model_insights_configuration( &mut object_101, @@ -516,6 +525,7 @@ pub fn serialize_structure_crate_input_update_sampling_rule_input( input: &crate::input::UpdateSamplingRuleInput, ) -> Result<(), aws_smithy_http::operation::error::SerializationError> { if let Some(var_102) = &input.sampling_rule_update { + #[allow(unused_mut)] let mut object_103 = object.key("SamplingRuleUpdate").start_object(); crate::json_ser::serialize_structure_crate_model_sampling_rule_update( &mut object_103, @@ -605,6 +615,7 @@ pub fn serialize_structure_crate_model_sampling_rule( ); } if let Some(var_116) = &input.attributes { + #[allow(unused_mut)] let mut object_117 = object.key("Attributes").start_object(); for (key_118, value_119) in var_116 { { @@ -702,6 +713,7 @@ pub fn serialize_structure_crate_model_telemetry_record( ); } if let Some(var_130) = &input.backend_connection_errors { + #[allow(unused_mut)] let mut object_131 = object.key("BackendConnectionErrors").start_object(); crate::json_ser::serialize_structure_crate_model_backend_connection_errors( &mut object_131, @@ -759,6 +771,7 @@ pub fn serialize_structure_crate_model_sampling_rule_update( object.key("URLPath").string(var_142.as_str()); } if let Some(var_143) = &input.attributes { + #[allow(unused_mut)] let mut object_144 = object.key("Attributes").start_object(); for (key_145, value_146) in var_143 { { diff --git a/versions.toml b/versions.toml index 2cff9bd025ff..f0c31134495f 100644 --- a/versions.toml +++ b/versions.toml @@ -1,4 +1,4 @@ -smithy_rs_revision = '31f1d35b624bfd4f66d9edb434d9239c36ba4171' +smithy_rs_revision = '577c90b7a745fb096ab41dbf3e249c812638fd3b' aws_doc_sdk_examples_revision = 'f88a0edba3961f9d978bf1727054c9414e4fca2b' [manual_interventions] @@ -26,61 +26,61 @@ source_hash = '5bd1463c5516a33f05b705a7ffe7749a95c7d704906f9bdd7267f18d8443e957' [crates.aws-sdk-accessanalyzer] category = 'AwsSdk' version = '0.22.0' -source_hash = '073bcfef587c31d6db7653cae7c6151049120862daba994acd6bc00c1a30cfa0' +source_hash = '15e7f6b0813711bc5753cdc23b9b9e2aa6ec9fb7c27e173941056f5dbc2b64c0' model_hash = '54b60f123d16f977b622bfe00a38883eb1ce3999b0fe13fae4e85b2ee57a2b25' [crates.aws-sdk-account] category = 'AwsSdk' version = '0.22.0' -source_hash = '35d7be3698fd7a0f2df6e23d50cd1aac6739150b96e90b4f43d7bdafda4108cf' +source_hash = '72500c8f34daae4130e0dfd3eba7b796945ce6022f7e6a3f1b6f381656054ac4' model_hash = '96240e4e2daa5ddb51e76e6bf08853c4853ff3ab4def9db7accf76fd2bbd5956' [crates.aws-sdk-acm] category = 'AwsSdk' version = '0.22.0' -source_hash = '21263fd51ee9ccc32fb8766581227a637d46f5ef9692f0e6cb7800d6273485e9' +source_hash = '29bdc63fad88d0ded90beaa273f0092d2cd0a1df5f1d54d25e2031ce1f7399a2' model_hash = '2e36f9a0e317fd6aba884efab18def6ce795ecdd794811a798c23869418174a7' [crates.aws-sdk-acmpca] category = 'AwsSdk' version = '0.22.0' -source_hash = 'dc58440a9dacad0b18008cd7ed432df49cde6b76ae4b55adec6fdb300f48fa9d' +source_hash = 'e53483fd20370131ad9c45cdd3945e298df6e492f743047244a5f8e43555a615' model_hash = '4a88bf92f0f3688f60585d0ab86b51a9e8600176a7a51949cceacc79d869723f' [crates.aws-sdk-alexaforbusiness] category = 'AwsSdk' version = '0.22.0' -source_hash = '939d828e05172b6a8f5921954b774561e9d30f66344186f9f8014b4e24bc7b17' +source_hash = '114eb9b5082b20d428e28d5aaed5feb3ec7a9622918e37e2be7042c3182f2094' model_hash = '4d079789261b663a0c6fd5c1590b627b5271c85187376ca9c2dfc2d4b7a33a40' [crates.aws-sdk-amp] category = 'AwsSdk' version = '0.22.0' -source_hash = '15c1a9a0c04252a42ec8bf459081747641f2c5345c9b9fcdacef4737c4ac3e02' +source_hash = '1a0c1f2ef506050a6a3db99753c377b6773fec66260cbadefa0c227d24bf8651' model_hash = '319e2b08660a9ace9b8db0022c99e1ec2d491009001b08a890976ad47e948d88' [crates.aws-sdk-amplify] category = 'AwsSdk' version = '0.22.0' -source_hash = 'eaaf703aa25be5d99ff1797fcbaeca8640182eb69d79e97e443055e9c14331dc' +source_hash = '3e44f1434d722b8a2ada68818ce112bf34100360f7252b585a29b8405ba743e6' model_hash = '388fe13b44b7a23522551d37535bb0d06873410b0d4eea6a2e042a95fb9fb2b1' [crates.aws-sdk-amplifybackend] category = 'AwsSdk' version = '0.22.0' -source_hash = '267e89c71d9e7547e960106de1b39b07c90969896cd71e61a871ca3afba810ba' +source_hash = 'b29e4e2b15db3d0a9d31defcde78e5a27dcddecb5246b1a3324a24254c795a48' model_hash = '29c91db542c88643401a5fef292c1768332ade9ded6ae3079efe4efa4aaef909' [crates.aws-sdk-amplifyuibuilder] category = 'AwsSdk' version = '0.22.0' -source_hash = '4d2574f852424af3be4c353436dace655fce37aec704a6479d60947637405b39' +source_hash = 'c2eadae50154d07b2a84d9ec1ac7b74c57c2df1908540cfc868555480693234e' model_hash = '4d6dfa0851334563c6c7feb58372984fbeaa047a96fe70e0c6e180e181bb8093' [crates.aws-sdk-apigateway] category = 'AwsSdk' version = '0.22.0' -source_hash = '4b4e0ce7bc93310c1aff96b189e0f2c263eacb2ce2369ef913b74abbe46d42cb' +source_hash = 'ea4b504d07463b03c58e0e3ebf951526c139d384cba57f52fa736f9167ff352b' model_hash = 'f4996b2b21afca409226ffa8c479f85bb7dd76544ebb581978adffe4a1ecc488' [crates.aws-sdk-apigatewaymanagement] @@ -92,13 +92,13 @@ model_hash = 'd9650c66fcfef48b756eadc35dcd3aedfa850c4cd3003c26063319666ec13d0a' [crates.aws-sdk-apigatewayv2] category = 'AwsSdk' version = '0.22.0' -source_hash = '8dec49ab4cf4fd1934584877450fa4900384663b6aca347ab26454d25872f21a' +source_hash = 'b25201664ba4b6c030349323945cf645834e0c294fd2b789d8974da10e378520' model_hash = 'f930facf3ad9b80d5b43d86252c05a33a6ca09e500c983680f0d9cd9018c2dd9' [crates.aws-sdk-appconfig] category = 'AwsSdk' version = '0.22.0' -source_hash = '289b363e09c1fb2b6de0f3705cd60a9328d127a8b0dcd8e127233870af43292c' +source_hash = 'c032dbc6417634e77573c124ad7fc042acd142f7215d89aa8a281daeacfd67cb' model_hash = '8471f25b0c0e4e5f57dcd18db96934dfcc49158ab6b181eb895194c17fca56a1' [crates.aws-sdk-appconfigdata] @@ -110,73 +110,73 @@ model_hash = 'a4f90ec41666cea904be639eb2568946ef115db768026b248358f812c3a6d8db' [crates.aws-sdk-appflow] category = 'AwsSdk' version = '0.22.0' -source_hash = '8e62653b64ce313545b9cc2b1764d0a79e2d7a72a547f98335a2e400540f5154' +source_hash = '2901b614ad688a57eeb35cc703ac20bfae3dd1f00dc0a6f624dcfe933bf00e51' model_hash = '4e96236a2a1ec7e75c338ec4e420480458d11f0ca79ae21239a2e089faa9dbf5' [crates.aws-sdk-appintegrations] category = 'AwsSdk' version = '0.22.0' -source_hash = '24335ad896db9d280e72d493510a1f4a50d56eaa8820bf57154dca99e2bccdc8' +source_hash = 'b3a2765aeed39d7835be1fd2961fec42016d0d3da2909783b8ddcd365477c812' model_hash = 'f6ffd529fcd10b1cdba679d25ebc8315a06bea601c89ecdbf73952b55209e3d6' [crates.aws-sdk-applicationautoscaling] category = 'AwsSdk' version = '0.22.0' -source_hash = '517428c1948dc758ea1321c53e1315964c95e4a99ea2d2cf873c51a26d219a57' +source_hash = '7fb884e14bddd7d2e7f208597ed4790a93cc79b33159768a00a4762ec9043691' model_hash = '0efa913d78295117531029d83f3c539b314063ac05f4e547791ac952f1c7928f' [crates.aws-sdk-applicationcostprofiler] category = 'AwsSdk' version = '0.22.0' -source_hash = '30e5da14476162c95576b929018ee9a45e0c51236a50a93741fa5b19a9bd3efa' +source_hash = '29ca794356ca3311638416167cc356e1f88dada95904a65ce93bfe61f0a2570d' model_hash = 'c56a17c35f2813b0833f2fb5e57b9ab6db61bb703d43e6a7f6a4670bff8dc285' [crates.aws-sdk-applicationdiscovery] category = 'AwsSdk' version = '0.22.0' -source_hash = '22efa4448c2af9e8b327cba40158667f6248aa3bb07d9adda2ed3582d5f08e1c' +source_hash = 'b0fb7bdf3e7d2af787efab3999ab1462e8c1dadf793292ba7ccc28914281470a' model_hash = 'f86c48565f8e9d5be7277a87b7a54105398e0c71f8f9843bef790f99fd4eb9ae' [crates.aws-sdk-applicationinsights] category = 'AwsSdk' version = '0.22.0' -source_hash = '66f8a3a15f7a56c22c9d747ddfdb7b32855d6d8ffca0e4813f6da8cb55a0942f' +source_hash = '745defef5715655a36d4b4e46e08ace2058b6703df3e12f29048632f95dc6ae2' model_hash = 'eddf719feaf0539c8a7dcf24b8fcfc5bd2e5efd8ce82d9ac897a53050d020f80' [crates.aws-sdk-appmesh] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a2e0ed42177a687a226039df67d27c6a9948b7a0d0a3dcc6640b79632b9464a0' +source_hash = '9793a136187162c215d7d949a3e5d599dfb68390788eadcc8040372a3662f426' model_hash = '60f4668e28535bd4eb54bb9b4d748f31f684ed603d953fc1c1cc27f77b5e7efc' [crates.aws-sdk-apprunner] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e8c039e5559f63d94de0eb59640fad2fa09e6f0d63c49b3545ade7f2c90f5ecc' +source_hash = 'eada736e7e5c01a350deaa66f437bc14202222ca30f26da3bec377927f8e0d7e' model_hash = '0cb2cbbdac5b4eac4565f9c8f36d2c38e402337e2bbc9e906b71ff8ee926dca5' [crates.aws-sdk-appstream] category = 'AwsSdk' version = '0.22.0' -source_hash = '9a2d62d039db14169edf2de985d1d971bc4a8297c43e292c75e5af5e3e7ae439' +source_hash = '44cef38f2ac4dd8fecbf7122f0c551ab2c17925890e7fef35e5ff0215c48dafb' model_hash = '7eb4eaf3edc47cadf3d61440a25bde3ef15e2208fc2e408b103815eadf3db326' [crates.aws-sdk-appsync] category = 'AwsSdk' version = '0.22.0' -source_hash = '8b9e1c1fefea564f270c492222d0fc081f57166917d05fbd74b5702802061ff2' +source_hash = 'c5dd490faa0e41ff0d34575d4a7cec55c78fda56621abb7d69153dc90999f443' model_hash = '2ef2d20c4b2be410076da736a2f8b675a326f096585f035cb7a319a58a7df173' [crates.aws-sdk-athena] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ef1924cae4e7103cbc55282fc98ed8b13a09188c45e7bceb9d8b1191beb4becd' +source_hash = '939abe9a0a82893de06048d544cf95e9492218c576727c032351f14939457e30' model_hash = 'ca596f34aef09fb2a7d41799f28daf2354d49414e947fea8f137817a969c7915' [crates.aws-sdk-auditmanager] category = 'AwsSdk' version = '0.22.0' -source_hash = '336855efd7109449b520985f40823d105405d00ee7ec0d15470e4b8f80c2b7d8' +source_hash = '536b39875a283283ac7f654180af36592c35922414d142e4fd4643b6b42d4925' model_hash = 'b7df2a247d582708dd859fdeecea2068d745dbae9365b849b9d432b6678965e8' [crates.aws-sdk-autoscaling] @@ -188,19 +188,19 @@ model_hash = 'e3ebd785f3248b043d0d10690fbd99d6a274b266752c091d7b31f8a0e6d691c4' [crates.aws-sdk-autoscalingplans] category = 'AwsSdk' version = '0.22.0' -source_hash = '815dd39d39c80b89d05ea96379bfcbc3474b51bd32de7592e7a89f297707fb61' +source_hash = 'effb0a1a85c1553414d5272f1c1a9c3682e41658e5c4a5309d42e463145278b2' model_hash = '40d4299c9b54bdf6446494cea51162e0d60d04157b59dbc8b84769d68ab37445' [crates.aws-sdk-backup] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd33a28754bd18c1186512199aeb0c4d84ca24ca68b07bae36ff3b8d7a9373e4c' +source_hash = '5d33f49fd196c6a3499d5d2dcd3b32fa19b8b938ee911f9e017a70826f6c3cd5' model_hash = 'f0fb6b72e5578a9c5ac9ccd357f5522ffd1bd214a67a46566421f19f4b63ead3' [crates.aws-sdk-backupgateway] category = 'AwsSdk' version = '0.22.0' -source_hash = '5e280f2c8b37253cfde42e9db48a0596ab62c51ea93d45fa9190fdede3c6f2a7' +source_hash = '163845b459b4bb019ad5be63977bef85dade460cc4f7ff750a44128307c0362a' model_hash = 'b1d640d679387ecd37a8dc5c1ceb67533a8ccf55947828164081a15833e8a5ae' [crates.aws-sdk-backupstorage] @@ -212,73 +212,73 @@ model_hash = '9fc8e0b297897518f0d89af9e7bc953f7c1c2af6af6edc41a9a2920cbaafe439' [crates.aws-sdk-batch] category = 'AwsSdk' version = '0.22.0' -source_hash = 'fcc634d31883762bfd359ae47b1ff7fe539b5e0f2ce8539dbcd5265c5cf4cb71' +source_hash = '04c1663ec7fa3c1fe70ed201b3e10bfabbf8e79dde74b95a1cfa44874c18693f' model_hash = 'eb099c9a2669fed9590ab6055a94ef6d85a8e5a9a402d5fd52778c441fbc6395' [crates.aws-sdk-billingconductor] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e6f1c7da5bce78b73f6cfaa00d76211a490463c092fba9b0c98c8ad15a9d965b' +source_hash = '2bb6d98b195eb9e6515c702c7a854d03476e5d21f7ae4669b628afdbc24820f3' model_hash = '41c1c657eb2684d7e8315d2ca94b137954e18dfff0b430c61b9c9ffaeebd168e' [crates.aws-sdk-braket] category = 'AwsSdk' version = '0.22.0' -source_hash = '9344ae9570673c957ac7da048d12092aa66825a132f8d2d81bbed9e6727d7268' +source_hash = '3e510334f14d1a114db88df8cf2b37e46f2e259852399bc3977e3c85e5d1c199' model_hash = '06cd9eff62d678e4d6bafe722b4ffb683bb97931f06385a93366c60072c116d4' [crates.aws-sdk-budgets] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c6bab5d1cc4cc0556f6cb3276c0d9ea9cdacd1aa5cfbf42db6457c3112f4aa90' +source_hash = '2141d4b80f9169f78b455ed73e04146245efa747f940244e164c64a3421a757c' model_hash = '462500a3263dfa9a2d1b688261be6758ed64e401c3673e694a393a375943c239' [crates.aws-sdk-chime] category = 'AwsSdk' version = '0.22.0' -source_hash = '90f49e81b3b3debd940bb33de2039fcd842782148b7df7b4174a88df96b323bb' +source_hash = '4b412ec04fde59b003500ab8fb355a83c865668a7951be6efe222db6e5de9b6b' model_hash = '975cb31e9e281ebaae44e8ad59dc484be4b927511009d707502d4b6ffd848eeb' [crates.aws-sdk-chimesdkidentity] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e835e4a99ceb1c1ce1b0a545b9351ad556ca6a135006a4b2dc76636d9b16fa94' +source_hash = 'e33c4bbfe3bbf27b6d69cc1b445c61dc9f0735c9b0b8a1ddcde2e38c6805b5bc' model_hash = '33efe3fe56eda3909bc969498b88fb1dc852b17cacc9336d257a4b64fdaf6227' [crates.aws-sdk-chimesdkmediapipelines] category = 'AwsSdk' version = '0.22.0' -source_hash = '947d9a1634cbcbcf909db50666ab97c5da7050120b8ea52a9b26c26b2498fa49' +source_hash = 'b2cd0b84ac16c5daff58ee3ab3cc9aaa30cdb28ae423e96497fa92993ac5cf04' model_hash = '1a1dd05b3729bf731cc3fe076857ed7448b38d2475fe572c20814c1ec59b1f36' [crates.aws-sdk-chimesdkmeetings] category = 'AwsSdk' version = '0.22.0' -source_hash = '4725f272b4d4a301918aa33fb09aea7792d03d29fd913324fe0c6cedd8dd6043' +source_hash = 'd594a742a5a268675ba40c16f0aa2a42b0e1c17f655fcbdc44b00943ea7bae97' model_hash = '88a5021de6e68bd285dd91d6e2b013e47d22249ec241031642f879cbec1778e9' [crates.aws-sdk-chimesdkmessaging] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f34af935eecf67f48da4d92c9b328431aa03586dfbd346dded053c6b88f31b39' +source_hash = 'b2812f6d5f3c86ee8424378c6ad5cc602113f3ac1fa5cb159edfd01c0fb6a19c' model_hash = '03af44a1d4edecd531692367b93d020610d8cc2b0c2d58e719273bdfb043ea2c' [crates.aws-sdk-cloud9] category = 'AwsSdk' version = '0.22.0' -source_hash = '9f991e2750d1719368e720bb17fb0401bd40ce10ba883d4a1bce900aefc01767' +source_hash = 'b71f1afaa333a76a39877a5327bc44630d9f294a0765e424b6b0ee0b178665d5' model_hash = '86d52f05b9bf905bcd3112688f599a961f130d63f5bb20d03b6298219b9bb67c' [crates.aws-sdk-cloudcontrol] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f7fe31bf0098ea6dcbf9d187abcb9a360a6cc6a93865225c3dc30351186305b7' +source_hash = 'c3c973410a8b6a8dc6997844c89ac56e3d96c2b1063c926466d8df52875d91ea' model_hash = 'b81312f67a59134613d5f0d7a51a5144e362666a2da5e910369681f1f23c0cc5' [crates.aws-sdk-clouddirectory] category = 'AwsSdk' version = '0.22.0' -source_hash = 'de37320e6356fbcff2fe50a106dd59ef9423c51e01caaa443b5acdbed60a2592' +source_hash = '8752a21d6c4240017e0f7d8e2f408291afc94beca0d244a99949f7e760ce81b4' model_hash = '854d029377a0ac54486a8764839ee5e9a8a61c447fae5f7722ca2b5ac88413e3' [crates.aws-sdk-cloudformation] @@ -296,13 +296,13 @@ model_hash = '550a894927ac905aa6bda357af704f38f09e69c8f4f92b26de98548053175951' [crates.aws-sdk-cloudhsm] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e782688c5f7d2dd119435e1c6245dbd0b4ee759587b9c8d8f490db5e2ba2b278' +source_hash = '45c2993e01ab9c4279a6afe8dac78e9200eb2f1e1c1d11c5b55d8202b806d442' model_hash = 'd85160fb4b39fefb823c5a573cbb59426bd19d06165b4b52483f19dfec6f9005' [crates.aws-sdk-cloudhsmv2] category = 'AwsSdk' version = '0.22.0' -source_hash = '98e8c5aeaac3cbbbe4c2ae31d83d1c3852685eaeac65f552518e13c6da4529bc' +source_hash = '0a70967d9272b1d8562e20f85a51ecb6cb80bea93f99808597b2893350b50449' model_hash = 'dbabf7efde3bf107cecc46a032f85094b0e7040bcceb587673a40155324617e2' [crates.aws-sdk-cloudsearch] @@ -320,7 +320,7 @@ model_hash = '80000601ff9845f714bd4324e6191399f1f9f9af7312dd521a4e4e15e0dbdcde' [crates.aws-sdk-cloudtrail] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e488ebc9b737d0ecb39c4a009a8f4011e071579e9a2520df3f986a18078fdf98' +source_hash = 'c06b4d39bd8f872eddf347b2fd6b3635687ac614d450ea063ef2bc6381fb4a62' model_hash = 'ae6dc5668b2673e4c81209e594d0f7ebe4d507ec994bf58b1a1b0d4f659fc3c1' [crates.aws-sdk-cloudwatch] @@ -332,133 +332,133 @@ model_hash = 'e6cd8f9de2e4a867853ae3f345426264369dd877ddc7674a6742ad95ed5ed871' [crates.aws-sdk-cloudwatchevents] category = 'AwsSdk' version = '0.22.0' -source_hash = '070f4da078776b0d674108995825a0113647011611262ac20d4aca77f4ecf83a' +source_hash = '593178d1c4d6905780587a87b3547a53de3f44882031fd3715f6178d30b21dff' model_hash = 'e2395e5b5db9c948796a298e1deef3f6faebae46b8819720d3f0c5ccdc399399' [crates.aws-sdk-cloudwatchlogs] category = 'AwsSdk' version = '0.22.0' -source_hash = '26addbcff66f7746cfceeb337068725c8a55c98e15e8479cd23eecb15ea46e76' +source_hash = 'cdb621e83e67a01e77324176cc5e4b190ad2d9ac5440d7e166f449fc94ea5cab' model_hash = 'a804d5d4620e18f8d1fb90751fdc92d2ea445d1176cf8c0f3f61b4e796a7a923' [crates.aws-sdk-codeartifact] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a1488a7003d8b9403485db0631e7b5db4606e806affc9f019aa248b2c9cca46b' +source_hash = 'ae21a07b08cb04d726a8494a7b229f8c39ae9d192b6f759cb8fa51869a45afcf' model_hash = 'f56384582c03d60ca352ebd154e5dae1df3fd3e225afd6f8211846de11834bb6' [crates.aws-sdk-codebuild] category = 'AwsSdk' version = '0.22.0' -source_hash = '3fa2cd8726a8664b1e62f2f0d410a7a2373e3911e8a10638d23aeea5de40f396' +source_hash = 'e808aa04d5b5f8c86fe34d7ddd9f3d77ddc4a9b3a69df79a159267ef9255f5c9' model_hash = '02103789ef23c8f0e627f749c2cd6701218b73bab35310968b9fd15f489aa134' [crates.aws-sdk-codecommit] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ecc4089230aaf36a14a8d3ce89844fa4fdd8b2b86a234dd8317e63f239f0fb17' +source_hash = '949ca026d439c64c20f2748398142443b18320a76d49301a517ae72a46f9e9d8' model_hash = 'd1b0caac188d0264ba17d0057e6096f805f4349a8046d5dd78b0935ac58c5449' [crates.aws-sdk-codedeploy] category = 'AwsSdk' version = '0.22.0' -source_hash = '24cc83962b217b75caac80c92f9fbb6d2e6f7e484bb5e8980423e7d11e09c13d' +source_hash = '4348adf0d1abe7de09716ad6b91a432b9f16645b583c4a347e3913a73f1d0569' model_hash = 'd918880572df98de7f31f02a648bb9c058965ff4f4550a2fe63667fc03ec6b1f' [crates.aws-sdk-codeguruprofiler] category = 'AwsSdk' version = '0.22.0' -source_hash = '7dca48214aec15d25c238bf758611bfb6a0fd904ccc70736500c42b8128b3d9f' +source_hash = '2d2500d3f4fb8f476940103c81f1c2954c2f132f6153a875e2640874429deb2e' model_hash = '7b020163032d260ba4a72b3cfd317aaa8841eb286a00986ade86590643f26f89' [crates.aws-sdk-codegurureviewer] category = 'AwsSdk' version = '0.22.0' -source_hash = 'abc653c9a6dfeb8d34095005e49eb20ed3bfff9abe1dd5c1dd1e675b6ee76fdf' +source_hash = '69dc392991a96e42a01409f93e98b8c5a5d142658d49a157c1597d86919bb1ae' model_hash = 'bb0d75ce64f60ee965429f2b7ec2e7e0b20e265ad4240237644bf8210e6589de' [crates.aws-sdk-codepipeline] category = 'AwsSdk' version = '0.22.0' -source_hash = '6c3f0c19c1a534c08e5a121a6daef992b2ab5329e2e500971727f743d3ec1a07' +source_hash = 'eccfef6fea91b5684ad5d094fb013341b3b8f907a9233367fffde2f8f45fc4ee' model_hash = 'cea0f0ecbf66c80dda39d1c0a5a62d40cbf691a5025dc3ad74a542ed475d942a' [crates.aws-sdk-codestar] category = 'AwsSdk' version = '0.22.0' -source_hash = '732ddf566601d0142538eaa6c8a8c11e2605a8348b16e51c1c2ddbc76567fa8b' +source_hash = 'f9484b8f482cf5054311c6f73a2597649220d2801901d31e8fac5feb53817d53' model_hash = 'cd299b5c9257645312b6d2ffeeeca0ecca1eb43d02bf285f9dc9330619fd77e7' [crates.aws-sdk-codestarconnections] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f828dbcfabc3b0ae25f2bf157c7a82b7bef2bfb7583e3410ae6e05fa188b9321' +source_hash = 'a336615440d2419349cf9fca5546732f5e8eb94c82543305c01bbe670b8fb0c6' model_hash = '83b54144617459de573093c844688ff2180246592ed37874f8d18a3704043130' [crates.aws-sdk-codestarnotifications] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b25d88356707f72615cf15d9065394dd60dcfa45339a2e386984e7b8f8c59903' +source_hash = '058ab51be5f9d08d583a94ef67378172970e491fc7f868c079a249fc526cd4f7' model_hash = '6ca8b9ae2731b911cfd50430ddd2e1698783ffcd849a5264d3ef3b3def5fd0a8' [crates.aws-sdk-cognitoidentity] category = 'AwsSdk' version = '0.22.0' -source_hash = '0bb338db6e0b899829e831870bdce68fc748b451fc3d3068e9df01e08adb4990' +source_hash = '11b2c1060fd47c4282c2a7af357f96b6fe0ac4c553a31e889d6f6d1a621f93de' model_hash = '939ce9599e7077277684addae29fc545b73219f8113817436821e115bbb3aaf3' [crates.aws-sdk-cognitoidentityprovider] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c74c4778dbec2b611dc5772fb023c2056b5ea598e6dd56074523f9461de46695' +source_hash = '5ffbd484fa9643484d60e14b1e5f7ea728dd9f212659b8eb1789a08a597b88de' model_hash = 'b7439a10d7007665f18b529f21d0a493195b69d1cda6a5f6ed5bd7d11da8d377' [crates.aws-sdk-cognitosync] category = 'AwsSdk' version = '0.22.0' -source_hash = '9d8f953230bed58d30bab3a2e44a47e442f111e219e940025948d3a0ff7eae10' +source_hash = '2889dc0d2e753c88ab1932acae2e425606c34e16778e0d4f86d67078dc9723b4' model_hash = 'a760b2193de62d02a908e38fa729339e7e94dffaca6d7b1c3cc81b52011af040' [crates.aws-sdk-comprehend] category = 'AwsSdk' version = '0.22.0' -source_hash = '1762f39f1da0bfd3bf437adaec9961ad9c14cc568ed8bb804ca071f64787e333' +source_hash = '905f6e4cc225861dd77c81f6289c66c2a4fb300403499a6a6fc9884cc98d7ea3' model_hash = '42609f9e89029455b734d49862b707f01c3f173f78927e3b8db1d2f077bedb35' [crates.aws-sdk-comprehendmedical] category = 'AwsSdk' version = '0.22.0' -source_hash = '000cc904f4faf62a7c197aee32a26dfa62ed0de2a87dbba2e485c9057e227e1a' +source_hash = '72fa9260d1f819438756820f705f841709e59d699b5f06cd81b718c3c6bc65be' model_hash = 'f4bbe8650affa0f9d2284c3900dd6b6ced6bccad7fa2032d77f08ba8a63f3038' [crates.aws-sdk-computeoptimizer] category = 'AwsSdk' version = '0.22.0' -source_hash = '7dd5b0283a1745b13471643cf8bca3ec01a02fae477396789afb5d59d9296798' +source_hash = 'f967df0a306963befde99f28d35d22e9995d7cf3a824f0336a884b598b1aa6a7' model_hash = 'b0d182483965fed7bfd8b49d785955c4ba1eab753124b3b9e494da63a52a6694' [crates.aws-sdk-config] category = 'AwsSdk' version = '0.22.0' -source_hash = 'face4f9206b8e06efa6f22310232391dcd2013732dab20de51bfa2d49c777b46' +source_hash = '51d188f206e03efeb54dc2d74856e656d806a0b20014c86c4ebd05671357457d' model_hash = '3ccbda908a94b04609810b5ced9ea7679af3a3df8c2246ea8b77d3ab217b1808' [crates.aws-sdk-connect] category = 'AwsSdk' version = '0.22.0' -source_hash = '0f4d78a5903671ce9a4a39b03ecac4a956a5c74d6c8f45cae2b6d9dec0395a57' +source_hash = 'c18da5921e766cfe1a264321e1b3b5b041444d111c3c565e337be9abd33d203a' model_hash = 'b1b2af6c13e92d28dd1136d6364d0c90e8d8bdd7ffd2878b9915cfbe82d2ccbf' [crates.aws-sdk-connectcampaigns] category = 'AwsSdk' version = '0.22.0' -source_hash = '5cefceb39909c3a80e97867b79dbcac734ab14f8f313e0b70504db3872027fa5' +source_hash = 'a9016231512ef3661a7a8649e5eb749c3be323437688cf42974f21be635bccf6' model_hash = 'ae6faa7a2055438bec5b79b7e89d2c4a674e0738499a15cea0827ec6be11d913' [crates.aws-sdk-connectcases] category = 'AwsSdk' version = '0.3.0' -source_hash = '083f24135af91e552a1b7d003cdfba395c4e36117a0b9c134ef894619b6ed1cc' +source_hash = '5a08d11716be9b5f9597ce91c02870b2dfef215f79cd5ae1251b98cae85d2b90' model_hash = '85dbcce1eb05dfa04b3324efaae49c00049e985fa3cd5440217fee6b4fa5ee68' [crates.aws-sdk-connectcontactlens] @@ -470,7 +470,7 @@ model_hash = '80b98473afe9659f82a5e7c7e464837e3ac11a7f79e6788a5b3085f810d90235' [crates.aws-sdk-connectparticipant] category = 'AwsSdk' version = '0.22.0' -source_hash = '228e1623bc2ffdb8a78b5e4187053be4f617e4b0570eb6f1eddc558b66d71b4c' +source_hash = 'd395df9959fa9040f6fa8dbfe364baab8bf3d0d3ba4a75167c802b79bde0b0e5' model_hash = 'd4097cc10d49320406863ef4a288fb25a6248bd0c811c58faae7c4fed72031d1' [crates.aws-sdk-controltower] @@ -482,91 +482,91 @@ model_hash = 'a93a02c24f0f58acb5922b38d8d8ad3d9023c5751a4e4316d1e4a59582431aa5' [crates.aws-sdk-costandusagereport] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c408777e623ef9be11b9c24ae5b37040bb51a0edc0538dcb688da9521f23631d' +source_hash = '65302becf81a1af02c3eaf7ab9c56131f9b41f6e4d294ef3213c53a59020edda' model_hash = '657e5aca106e40e62d714faa8a354492d287f834cda3cc3bd6d3257eb2a2fadd' [crates.aws-sdk-costexplorer] category = 'AwsSdk' version = '0.22.0' -source_hash = '3b39122e86b789963f98b97552696294285d142e94eda4338469bd74659fb865' +source_hash = '34b2ea4492f33bcc1194664377dfbde1aa1977fc302326ff46384582a82c1c60' model_hash = '75ef06b2aee8e7841eb28c79a4517ea05cf882208b1be29d6077657bad159011' [crates.aws-sdk-customerprofiles] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd5c207cdc661d26e484634e724369f02afb7546dfc37b02d80cb114be0fbeb01' +source_hash = '02da1f8e742759c7273f15139972735bffeed9c7e51ebbece1387ba3c1054e58' model_hash = 'c9fdb115e1820e7c224515098dc34c7cf8ede890604fb00c175701108683592c' [crates.aws-sdk-databasemigration] category = 'AwsSdk' version = '0.22.0' -source_hash = 'be06cd7bb3db8314b86f54a0508c2391ea5643d4abb009fc70dd14c38292f16f' +source_hash = '75515316bac1670081209794fa7f9f3a5f2aed312c0c0cdb8f8a52b7ab952d15' model_hash = 'e6800736752ac813f29e162f511a4a0953269e63d5e78d4381d5eac3a4a20b1f' [crates.aws-sdk-databrew] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ea3abb4ad168f048aab864c91004b009530197cf4e023375199d562f2ee7d7fb' +source_hash = 'ec5dabac464b2c6bb6f6ed260f0d86d2903f79c4e67bdc83d425339aea900b24' model_hash = '9ed4e57c8ad3045d33411e14f13a6a92c23c7ba6d341a73e401873adbe5f0d43' [crates.aws-sdk-dataexchange] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd62d432efd200acba1065e56de989ca5520435f8a9c669c9720a0571c52c989c' +source_hash = 'db36364d8b043b083ea5f33653412b7369809911a77dd3d55d382635bb906e92' model_hash = '949a69f5472452ccb0c607f178c39954d2ed219c850206d0db8d42bea1693a69' [crates.aws-sdk-datapipeline] category = 'AwsSdk' version = '0.22.0' -source_hash = '063e45eedf445d8d6ea9b80dbf8782579df00d9db97fb7f40e3b607331b616d1' +source_hash = '1bb17e5401316af6d5f6181c4e52d886ac8163121a1905e81bc4aa60fe743b52' model_hash = 'd1d2ae36aedc6282631030d16d4c0b13cd22132aac58c00e1e6c15c3c58ee8d1' [crates.aws-sdk-datasync] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ae1b36cd11530f7ca1a9c64c1f516f448e45f17b4862227c4d1b57f056cae083' +source_hash = 'a8c11ac68eaaf6046c6d66d3b8a8984d73b28261813116fe08b2cf1f95c6ae35' model_hash = '918bd7fb385055f31f6894e48714ef92af2aafea5a5aabfcc9d0300d5ed5d970' [crates.aws-sdk-dax] category = 'AwsSdk' version = '0.22.0' -source_hash = '1f690d413685d4c6dbf34acad23a68a027d02e155d78b7cce1aad3258f97260d' +source_hash = '4baef9d38e80e3b384ed9ba32f9a76bd29b2a64eea490506426a64225684a7d3' model_hash = 'f6eb84758314bac2761b726ace2434f9208235b27b92c527601d49f9345dfd3c' [crates.aws-sdk-detective] category = 'AwsSdk' version = '0.22.0' -source_hash = '76048d51a8a4b3b7f6b365bd83e5356609e4211713c3b16713c15a7dfff738e3' +source_hash = '8aaa51ae1a64617635386505cccab180e52ca7125b373207e915ed9925b5d07e' model_hash = '78d86c60fd8cc108c15fe33d442df69bf8fb7b74aa438ed0cd1dae42c7ac7f0a' [crates.aws-sdk-devicefarm] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd6b097f14b738f3424332f0f86c0d2322d5e39f78af073b760e429b591bdcf3c' +source_hash = '47cf6c3a1bb7ff03eacc24c8d824e68fa164e275e4777f088cf9f6aeb6e2add7' model_hash = '12f8a0bc77244ca4ad7d71caa39280613635a7fee3e245b41f8c2007b2a546d6' [crates.aws-sdk-devopsguru] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ab8d50f0264d983c6bd41bba0c5b1cfecb160595e251e4a8fa094153f989e02a' +source_hash = '58a120e11f1817e15fbd4261d612959a8ba95f28a63f9a23f69ba920613b65b8' model_hash = '2ee568fdc1cc0e1a809dd63137ce674b7a21748cc2cbf7628f986fcdea887830' [crates.aws-sdk-directconnect] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a05bc19a219e28644b340cd3506461fb1e4b714eef6376c3aee1408dc7eb02d6' +source_hash = 'ff470f06c1fb4de3ab9cd64b67a5df6497ae003ee39924343ca0624d6a6164a0' model_hash = 'e540d47ab44a41e63abb8e86f389c6ab0523754fb1fadeba03698c5b2282ef40' [crates.aws-sdk-directory] category = 'AwsSdk' version = '0.22.0' -source_hash = 'cbe94a29f6b82f2270171259d03771f2913d82ddc57e7ac5137dad4f021f3f04' +source_hash = '1411602268c5dcdbcdf45b82d2819a5e2f8e244a1a01e6d1f467e9033f32fd89' model_hash = '1e87b7e84c03dca2294b2ddd4d68d1aea80f2d36297e56be4982b838b4c7430d' [crates.aws-sdk-dlm] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b90922fad8f702c3dc9f8a74e39b8226c182d63cedd7da5d72873ea7761bee25' +source_hash = 'd898a200c21ec60c88c44be8ab1faa2931076f8f72c09f1a4b17608a2dfc59b3' model_hash = '33470cca2a98dfa01591d8aa9ab0f8b2e739b1ff89d2eee234ca0cd21a065bd6' [crates.aws-sdk-docdb] @@ -578,13 +578,13 @@ model_hash = 'cfa8e9e968f25eec274b94bfd94966aa5c55d8c57ef38f0ee2cb1c650e88b0c1' [crates.aws-sdk-drs] category = 'AwsSdk' version = '0.22.0' -source_hash = '1969d56b7755acfbcc4b78fe81db473341ad609f25247547b9323c49ebdf8e15' +source_hash = '31b95e23fd7c62b3fc0403c14cb1bb261ab10ab496d3785cc14261fda7d02025' model_hash = 'c42a1b3d66433e2afca0eeca64dffb4b7e0b3cca3fbb096d0dd0f78af0d1e363' [crates.aws-sdk-dynamodb] category = 'AwsSdk' version = '0.22.0' -source_hash = '4f5258480b191a0c767a52397353dc6aca40865af80f7a6b887d303ea77d5e6e' +source_hash = 'a1e711ec128d8f43b5e70686556282f1ae4b3a1cf861f1fed4cdf1619b9748ba' model_hash = '71ce08d747503ea46b601c1f51b4ccb09bb9caad547f4077c973287cc38f18a8' [crates.aws-sdk-dynamodbstreams] @@ -596,7 +596,7 @@ model_hash = '5779b6c731d19c88ba6de73d8cab2d31130f9f480cf1548372062d23057c2e45' [crates.aws-sdk-ebs] category = 'AwsSdk' version = '0.22.0' -source_hash = 'be86449be3b70c539dfc25adc01cd6ef025a27f41fa8ebf61816174285048194' +source_hash = '590826a336619897686017530d8365d6a3150745aa9fad2f9af072fbe8ff9559' model_hash = 'ac045ee41e5f61898f0bf011b093da73580d43348406264ac32a7e975dd44ea6' [crates.aws-sdk-ec2] @@ -614,31 +614,31 @@ model_hash = '7ab68b1b0195a13c1d1df84c04acc0112388f0fff63a1c1456a0760e83e385af' [crates.aws-sdk-ecr] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e0a9f2a652fc27aed6a8c29d5a5a7f2062567e4f26a28125b290adb353c29f2d' +source_hash = '4c62db72e8684ff62bc7f8de5d7bfbbbdfe4e076a73cf1c361296c70a3f2fddc' model_hash = 'b508430395f87a75cde255d48fead1888c751a8d3f3e853546456b22cdd0a107' [crates.aws-sdk-ecrpublic] category = 'AwsSdk' version = '0.22.0' -source_hash = '1c7b3df1adf1ae28ea437f80a5f2e0a47e9550d76c2416a533fff00ce002bc1d' +source_hash = '7e342eda10a24aae2c0c8f1e062efc0c4afc01f264294cc1c742e13fe8f3168a' model_hash = 'd5ce55ddba87657645abe8b14bf13d6a435904ab861be58cb51227145b01faa9' [crates.aws-sdk-ecs] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c34d379d48f5bc5a6a757eeee1ed88837a29c209d715a185944015cc1bbec7ea' +source_hash = '1371ff80eef21b687130dfeb6bec4847be6fd84335809bf2fb6e7e9ed5b7d519' model_hash = '1c5a82d948b604182e1aad5704b6719adefcbd8307a967b6dc3ef16b08445894' [crates.aws-sdk-efs] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a6bbb69affe15604f07456520b6dea6481ff83f263f99a17a095ec09768f3fa6' +source_hash = 'e6bfd9cb208a06e7b5e05ba3de47d3d4b2f679f3512c42a7a4e7cf1923ddbc51' model_hash = 'a752b9c210cfe25a83b4cddbaf2b1ba2f4574b902493fc086c4ba15b34e3714f' [crates.aws-sdk-eks] category = 'AwsSdk' version = '0.22.0' -source_hash = '40ba9c25cb52b04fbe6c586114d0b3f217c4113bfd4832c5ed310922d2271f36' +source_hash = '629d83e87e5c3fc478cc0588707a20605b7769c1603a31b5e94c83dee992dcd2' model_hash = '2e3f580f30315f9fa456adc8fc986f4db2522f0b2033db069eb42d1d79198cb4' [crates.aws-sdk-elasticache] @@ -656,7 +656,7 @@ model_hash = 'ec41b2bfe1d164fd54d658a08d7aad166a5cf7ef359a3339b7bc075fac1b3964' [crates.aws-sdk-elasticinference] category = 'AwsSdk' version = '0.22.0' -source_hash = '8cee2a900b70b408da35ead3d564976486f5c6613cd123f56ce768e7f850c533' +source_hash = '6f6fdcf3b139a205aab31f642ad1ee3d0043e71c1219508fa3b73f6ee8f36e2e' model_hash = '7fd80207b45e2b5e6bb06571f2cb53b60f7c390fbd1f1a7c2193a132ca841efa' [crates.aws-sdk-elasticloadbalancing] @@ -674,175 +674,175 @@ model_hash = '7dbc8874c026ad685bb5ab96df8db36f58e04faafa5f32dd272cb1f7a9dde782' [crates.aws-sdk-elasticsearch] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f7b6502427f825abd51edfec2d4a04b0f5eda09681e2fdf4039510f631ee867f' +source_hash = '1cff9ba218b74f4f9bdad4121348c39264e18db181363e531eb3e773d77cfca4' model_hash = '7efabd0db9887c6001fcd859d2dc020bfe495b1e38d833f1f263118ca62d0291' [crates.aws-sdk-elastictranscoder] category = 'AwsSdk' version = '0.22.0' -source_hash = '96ef0773096aea059664e722251acf6b88b229eb561663fa0235dc2dc21583ea' +source_hash = 'd530871be48687345758ea484db82fbaef6db528ae263653e78d72733de22eaf' model_hash = '567f47f6f53233d8b9f715027e62fb626f3a4ef4dbbcb6b29ab411f6c9eecdaa' [crates.aws-sdk-emr] category = 'AwsSdk' version = '0.22.0' -source_hash = '2ba4a847985a56dfd0c546feddc34d163faefd5de7a7b3471b45b3bc7e5d0ec9' +source_hash = '4b7f91e92f23ca31ff687ac41aa937786356f97eea96738c191b78869d8fe51c' model_hash = '15254b4d4faa00ce8710b1d894681f63ea315ebb7b2b48f4eb4b21623d9206b7' [crates.aws-sdk-emrcontainers] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c7f3f3de066a52cd47b66831f60db8fc8389486946a1c0abae2abcea6e01fd3c' +source_hash = '7f8db5f744b43f570e725b184bcf04b3253ee3149123928bc3b6bd6f4e9947b3' model_hash = '27a0269ef546f3b64b605861b2bddc80bc1e30c0f9f9c81963d79482ca345e0b' [crates.aws-sdk-emrserverless] category = 'AwsSdk' version = '0.22.0' -source_hash = '89786e7b1ece20cc8e96c7b848e70366ec6182c0c848c0424d2500f76dda8bf3' +source_hash = '81cd6e980a97c77a5bfc71080745761e3edb3c51d4e8fa8425ab26977b7414cc' model_hash = '565e1563680ded0e1f45f6486ad6d221683d055a955c738dd561ce9cf9706f83' [crates.aws-sdk-eventbridge] category = 'AwsSdk' version = '0.22.0' -source_hash = '9612f54d4f4ea953c40b184014608223aa71b843c452a78b677efb6455927683' +source_hash = '95842249abd79b1ab97ca6d108e3923d43adac53ad9e021304717ac443137d40' model_hash = '72f44a07577112fa2c091b7ab94aa2977a981c6280a27e3a2f85e465f0032bd7' [crates.aws-sdk-evidently] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f95ffb67040c47d3e24acabe587f06134e862b56177665c1d1c786dbd5c5b84c' +source_hash = '86bc703a5be1b45ced9d6cb2d29392eda0287b2465721c10b1317a526bb6eebd' model_hash = 'c4a96159ad78b5bd2351a9acaafcd803406026fa1ab0b2ee16c6d12befa27a06' [crates.aws-sdk-finspace] category = 'AwsSdk' version = '0.22.0' -source_hash = '80ed8a400b0b8bb9da5103057ad67477c5c692c9fe6aa29352048a2e5c4996ce' +source_hash = 'c5f0caa890d9bd079fb00d3db4311c159166779d9aeb5ab038b98765439f4a3c' model_hash = '022173e6d0b8ccde55ef68be8b4dfe69ed1b9f7e694c92a1c30130fef3b61c76' [crates.aws-sdk-finspacedata] category = 'AwsSdk' version = '0.22.0' -source_hash = '797f39d4bd7f7fa1e34aad519dc6c350c57765cebc1721efcf34d0ef109407b7' +source_hash = 'caf1a1f6ad9e90577b21670e1e5ee0f468d2210bec5c5a6e814616ba354447ae' model_hash = '4ef737573a195e96bbf7850a4148ffd8ed148f157bf08d82752103b46a85fc27' [crates.aws-sdk-firehose] category = 'AwsSdk' version = '0.22.0' -source_hash = '7250d73aa776f1715e11ce351fbe071bf845f076efea39e96059dfab12fedbbf' +source_hash = '9892f52c5dd06b01ce57cd6d02574b340c9715f11438dca93493a99f9d22b2fa' model_hash = 'd5d621c634cf785c50ad905b947ddb92d8bf2f7b0fa67db9b28bf18ecc40b056' [crates.aws-sdk-fis] category = 'AwsSdk' version = '0.22.0' -source_hash = 'fbba506b8b1c29f32124b35c987e60938cb5dbf5d7fa11ed4e60f6c7dbdb591b' +source_hash = '7fc89bee53f4a4439ece91cf1307612b1d65fc33c3ef92cb6e3a84db1fe5915a' model_hash = '83ec429ede0d767517ecedea0acdb6e8d1c3a04707cdb7d6c16129cff0566d4b' [crates.aws-sdk-fms] category = 'AwsSdk' version = '0.22.0' -source_hash = '73f5351b91e8433fa1f6bd12cf772652f7eea7fd4d73c7d07ecfe7f5dd98213d' +source_hash = '042122c3e01124cccbe8f626a3ba1bbeb2db4999df55bff54f0d82ef82b6f694' model_hash = '7649bb9c70d94e07f4a11c6632bf8c7d54f986314d74b31682baa42fa90783e5' [crates.aws-sdk-forecast] category = 'AwsSdk' version = '0.22.0' -source_hash = '88160c857c6f4674cb5e0cef779e94867757602cf3be86aa73f058152b9fdc16' +source_hash = 'df31f2a20e8bccb504e68b26f5776b4dc02af3956ce0d5f8b8748c54f30f440d' model_hash = '8d68ab3bff05f1013687de846755fda8de2159125d6b63189ae109483c5242d8' [crates.aws-sdk-forecastquery] category = 'AwsSdk' version = '0.22.0' -source_hash = '08209ae63644baa9f52080c97bbbe24a2c1909616e595791ba7f1550c96a6494' +source_hash = 'b3e9930433bde4830a5bc23c8cb3897fc5218e3dd82d1da84a6ddfe48de36fdf' model_hash = 'b1de348ed25fee48a6fe0b7453303360314cb15f94ac2981e34b93660019f215' [crates.aws-sdk-frauddetector] category = 'AwsSdk' version = '0.22.0' -source_hash = '3a95f966bdb6d0c75d8cc8ecd56b0d11abaa1284d3aa5337ab02e7a73fa545d4' +source_hash = '971c830d519a7120a4d9f74d8d5ac30c3e438fbb6a05a0cc1f7a39683d0bea3a' model_hash = '9030973bdf4f28bee06075af66f358725f0c8ae29670392311d5020824671229' [crates.aws-sdk-fsx] category = 'AwsSdk' version = '0.22.0' -source_hash = '2f00f6366dbbe5bc0eb4a0ba6008e64f0de5214691e0151bfd59d8e031c8b8a2' +source_hash = 'da1c60b5ec9ba900fef7b71cff4fe4766449bc284d3479fffa33db4bbdc07474' model_hash = '4aef20e09ec12ebf4b3f05da6c74e0add28be0682df98461ac6ab1ea25b9e04c' [crates.aws-sdk-gamelift] category = 'AwsSdk' version = '0.22.0' -source_hash = '5489d88909764ded1ea508dc80efeb5e8b00332c5f31e0475a4f70016e6499da' +source_hash = '2ea3009ac814df44e829295e5555f5c531f0efa9f5b9dd9bac713c2603cec248' model_hash = '8134de1f318706f03d416dca7516f9f7bad886140ddee7eff459a56d8251cc24' [crates.aws-sdk-gamesparks] category = 'AwsSdk' version = '0.22.0' -source_hash = '4fd428105f41a59337506d48ccd95a097c1d56247856bdb88d918652a1d648ca' +source_hash = '5ce3463e139a564824291ec18a3469e864cd759516a1c6f9cfcf4e5989a0c9a7' model_hash = '631f938473b8a33d5c3c6ad55249b6f286bf30c042f698af1de5bd9fa25dbdcf' [crates.aws-sdk-glacier] category = 'AwsSdk' version = '0.22.0' -source_hash = '6f86dbaf913736441ad43e624b12aa82261ae0b4fd29dfcf63f21a51eb7dbdc2' +source_hash = 'ec381a3d45891106e393b05fd6fecc6382e7407f96c4db736a22c38c42fd441b' model_hash = '5e36f79533203cb8bed9640c536301ee7151633a34c19de7a726fc96fa54e5f1' [crates.aws-sdk-globalaccelerator] category = 'AwsSdk' version = '0.22.0' -source_hash = 'bd83b4f3c82ec13c95b06c919bcfb75543c79aec91b4f2b35933b6c573226a4c' +source_hash = '64d5c85d4f7d58cc13d7e9ffad39c25cb0fe7027e4bf225ccd923bf4622f210d' model_hash = 'b3da8c7b437bd7a56e94efb497adf67589d245236583da665ba0a317443e5b94' [crates.aws-sdk-glue] category = 'AwsSdk' version = '0.22.0' -source_hash = '2c429f4014b6ceffa1c20fc0220a00f6e8298dc93cc1ba5ba8bc190bff17baa8' +source_hash = '65b3fa64c738e6b783bac678b0fef4bde73995f7595ad16e872d89355b550b25' model_hash = 'f91c533afa86c7787b2949c8d060224088a75f36ba4374db6c6fc434bf423576' [crates.aws-sdk-grafana] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ec302cdd4f7824e7e3013cd9b27fba207eaa53aeae3f7b35b6642835bf49dd54' +source_hash = '5599917862175a6cd492dc7f680ce52dea30c18c21814207fd10d71be6d044a2' model_hash = '6c44e9398793fac88373e108166457c24b2bb9d86e5095d33465bdf297110b39' [crates.aws-sdk-greengrass] category = 'AwsSdk' version = '0.22.0' -source_hash = '6ec951b6698c924c61156d674d3199ec0bc1da40461a21e00b2962efc2140d00' +source_hash = '2e5344976a90dd4b70002b9f224ed62df04572f328aa9d9e5631cc2e84be4fce' model_hash = 'ff2428d391301cd2ab5b5d6f392e08a3552de330c2220da49f1315b0b5ce85c3' [crates.aws-sdk-greengrassv2] category = 'AwsSdk' version = '0.22.0' -source_hash = '6bf779cfd5e093e4985d11f0061ced232c70e4cf812661d517745728e8a14769' +source_hash = '4e33e09fa113383b37b8400bd4d79fc37878ad3c34c1b8accb12e6c905c8a10d' model_hash = 'f2d3a776a4a79918b6ea898209f82de68a57465ceb200e7b343cdb3db17f26d4' [crates.aws-sdk-groundstation] category = 'AwsSdk' version = '0.22.0' -source_hash = '3e96640f78f7fba515df3db1eb6f8e6951382891f913b660b403526ba7f3b79c' +source_hash = '72cc3592bb50e41930cae08f075595d5c7b338a198cb7109f0ee36dd057ae513' model_hash = 'ad1b8b2dc7c0a7beee268a76319c82f26006c670145b5087ef726377e2272714' [crates.aws-sdk-guardduty] category = 'AwsSdk' version = '0.22.0' -source_hash = '334fb23eefd7e9f11f842b1ad2cd8beaf212e65d616346de5632e880991bd618' +source_hash = '4fe9be2ad52c1a162895b7598f48a9ad06e3f7dde0c682e66aa35f3a1d68131e' model_hash = '289172a2010cee428074176902dcc1b0bbb9d816e73a0cb4b86e3d4a5069ac02' [crates.aws-sdk-health] category = 'AwsSdk' version = '0.22.0' -source_hash = '8e2e2af93d653c474d28a26a8d891249d0e0267758a2d13f418b2c6713bec115' +source_hash = 'adfc5d0f574576b8940959a00e722033c242714be1efc734bab3f2f5cb757474' model_hash = '92705aaa6a81f3fed4d0822aefe50d6a412cf7e48af5bdf8b2fb79be0a5b9e26' [crates.aws-sdk-healthlake] category = 'AwsSdk' version = '0.22.0' -source_hash = '94a1db8df9417460e681684538caeadb0bcbdf0af6b19bcd46ea42eaf30ce038' +source_hash = '8809cf2c84f77f3c72dad9614aca2c74e3f36ba2d8edf94fa2d9dbb326b26969' model_hash = 'df8fbe330207d29b9cfc3d97bc12b2424eb2c07d51160c1e7424f01db29cc237' [crates.aws-sdk-honeycode] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd3e55f92ac9dcb1284afe768d5443b193626d5924d9e4966925ab095e5a67206' +source_hash = '4abfd446090d45ccf7d136a14a730c622d49f9b650cc1cdcbcaabf8c1cd1810c' model_hash = '2a16c04867df09340b3099666c5d82485e3b403f973f46cf058e6ebabf4e317c' [crates.aws-sdk-iam] @@ -854,49 +854,49 @@ model_hash = '61d17369040550cb6dd718dccccccc253e960faeca9bd12c4dbe0cac439050d3' [crates.aws-sdk-identitystore] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd58754e9580d52d677ea92f5dc193b83fdf9fb7503b9e300b05b2d5a77cc1cbb' +source_hash = '74d45182907638f306c8bb51349643edc9ece06631937c34ae7e4b500ef86402' model_hash = 'd15cfbf1c216788ca04a1021eb7bf5edc1e401063fd1b9ec76289a01a52a87c0' [crates.aws-sdk-imagebuilder] category = 'AwsSdk' version = '0.22.0' -source_hash = '0c4ed7dc5f9e0cef6d13fbd05f2b3991b610e983a7d87956507a52b75a745033' +source_hash = '6e1b30aa8bbe4c33abea24f78db4c14313ebe6ed8beaa4e52bc5e4135340fec6' model_hash = 'e59f12267ddb9fd84c6562ed14c99db48cc1c98a7d0f86d7b4572dc887106f18' [crates.aws-sdk-inspector] category = 'AwsSdk' version = '0.22.0' -source_hash = '8dc9aaa416e7392790d06d3726744f639d4ff33b3442ea453bc2a9ae31e721ba' +source_hash = 'eaa89d605f1ef7d5f7d2916d0ba29e806e05a9504b7060f3ba5fa5d40947bd11' model_hash = '5b955e46235e49b7e41caead75d8a85ccf5fc5faa1e6b7d45b1cbec19eb43e08' [crates.aws-sdk-inspector2] category = 'AwsSdk' version = '0.22.0' -source_hash = '1b1321eb4f09760e0fb2b9384df56cc0df7b02d4e9c0241b6f53eba21655be13' +source_hash = '9fce6f0da4fd790d8266156abf61f998577b99e22b284c0b681322b6ec4f6efd' model_hash = '23a8e55934cfe5f2fb422f9ef402e11a77367eabf8d7207ab307815efe59e6ee' [crates.aws-sdk-iot] category = 'AwsSdk' version = '0.22.0' -source_hash = '0b167978fe8fde2ec884c9219feff28ea8d92a0ed44e9d7eb4ef7112c2cef497' +source_hash = '824188685313c66ce4fc57690b5a91b70932291af7970c9b4fad109f52149189' model_hash = '3222092bad161aee0c2304cb45b4e3c6edf09b256b72e9074b1562764687846e' [crates.aws-sdk-iot1clickdevices] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b103d01a0b5d6898b888bafeaae99e4c2b76661171ebf50178974f1ab446f0e0' +source_hash = '9835ff0d6f97a7b04226b3c4ee17e799d8288883d43a9daa1f97d49f9c1d96b3' model_hash = '4fad837e285a5cbd37848d35fe100fb50de080adbd5a84d0b1128ec8e5fa1123' [crates.aws-sdk-iot1clickprojects] category = 'AwsSdk' version = '0.22.0' -source_hash = '9fb830d1abd294dd60e2dd5c5db00e76b8652cfee2f7eda39c7dc89fc86eeece' +source_hash = '05652e14155898256676565e2e958ac15b35d30fb7501bb98d44d2d48b9d54c3' model_hash = '9eb6dc7591af247cd3a7ca92ec0ad60704f4cebf67b6dbee060408744019afe4' [crates.aws-sdk-iotanalytics] category = 'AwsSdk' version = '0.22.0' -source_hash = '5573f170e7ceae234ce15feb06306a9bcbff2a76103a698f512fd8c91a227da8' +source_hash = '3e957c11c37c4541c7c37c823058bf2710be0a08f1ad0de5a37b0b9eb8f0523c' model_hash = '24b12ddbf0acf42b421408fcc9d20ec416912849ab3b925df56cfa1162163805' [crates.aws-sdk-iotdataplane] @@ -908,139 +908,139 @@ model_hash = 'f6a35fc364c20cc521474496ac73a0646990a62155ced95187e1465afc344c6a' [crates.aws-sdk-iotdeviceadvisor] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f085e652d9ba03a7b363a003c3b44fe47d3733f93b7b294522f63332e0d95eec' +source_hash = 'c699f289203f448ecaf7ee58186ed53743e9e4bed5ba61a0c7d6b269af8b63d6' model_hash = '3f791e8d31fb755259a35053137256e9a165415a55c542691d49cb166a8671dc' [crates.aws-sdk-iotevents] category = 'AwsSdk' version = '0.22.0' -source_hash = 'dc04f1b939a1d3c4ef7f1131093ac02129ca87f646e1fa94ecca737d437b6d07' +source_hash = '4072f19b463623cd4f04bae7a544d509b17aae42792361323826ddf0295780d4' model_hash = 'b56d47206fd98bb6b41cb4f4187efb006298d40738f3d6de58cb8387d27172d6' [crates.aws-sdk-ioteventsdata] category = 'AwsSdk' version = '0.22.0' -source_hash = '8689f4a5f5439724475d0c86f12589e654bf2e8883587ad88ad3929025e90806' +source_hash = '98b417bbe839c1fc946aec45c568e03d961fdca6a5a48bf934beb7e7031db89f' model_hash = '0f431981365c2a448ccc01161e284dba87e9bd8e3cdb21909bc790a79412e880' [crates.aws-sdk-iotfleethub] category = 'AwsSdk' version = '0.22.0' -source_hash = '5a0f614af8fc7e596da91a156e97d529842f8c1133bda3f08ca5c9a2cd44ef53' +source_hash = '937ac4aa51bf167547599502beab026d96888b03fdd9fd16a8c3d290862f400c' model_hash = 'd65aecf9b1afd2879aebfded9d87a68149677a88929fb701812b047d0a5a9294' [crates.aws-sdk-iotfleetwise] category = 'AwsSdk' version = '0.3.0' -source_hash = '95f628a26bccdaefa89e72586d44f68e4caa43ee8bf9c1098438711d0456340a' +source_hash = 'ce2aa01a0e4b8f6db0bc2b570afc4723ab5a985dc212230fdd1e4a6ff683fd98' model_hash = '72c6f0519609ea3784d15f2eb5acf2c602e8568b4a1e6e1522ee8fcafca76fe3' [crates.aws-sdk-iotjobsdataplane] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b3faf6dc525f894926610c100a743a6d567f9c2d192fe907a49167f0059f988a' +source_hash = '7afc35623a2d6971cfaaa9f78cce7d954d002ccc08d46d8a8ce2a1d5f626d394' model_hash = '12dc18981b8ed62e1068d25313d9ef0328a447a1cc4c61f07b463679c68af907' [crates.aws-sdk-iotsecuretunneling] category = 'AwsSdk' version = '0.22.0' -source_hash = 'da4a26245b95d54ba01cc44da442678bc93ab3b6d02f0d6217b71079ad91c166' +source_hash = 'a6e7837d9a3b118f95d4cdd2ed3c36c3f7dbe89e4c2d25153cde196776817e84' model_hash = 'd0cb895664d7c13f5a7732e86a2e80d29bd148739a6d17d71a9bd1f29918dee2' [crates.aws-sdk-iotsitewise] category = 'AwsSdk' version = '0.22.0' -source_hash = '195223679bb0af48c7119de15c152c453f30f511d671a0592e0498d5a8a57c5f' +source_hash = '7aed4c0c29495bc30ff08ab77c3c5b534c4a8900176336bbf137171d4e041bfc' model_hash = '9f1491cb0d926b4a2b6d76e5064ef3b4cf74bd128cf67a47f5b060566fd14cc9' [crates.aws-sdk-iotthingsgraph] category = 'AwsSdk' version = '0.22.0' -source_hash = '63fd8c5467fc2d78bad34400583102d78ad918d46f318ef4374f809bbec0f17f' +source_hash = 'ab4f3ab862bee29c1902dd3ea51feb0a1b5c1f3917e850c4c17bffd5babf9d31' model_hash = 'd91c2d19bbd79b92580a63ea0406b161708cf94d9562f9b074836604d5ebef0b' [crates.aws-sdk-iottwinmaker] category = 'AwsSdk' version = '0.22.0' -source_hash = '57914b570e6e2043f09ded4f94ab5ecea9cc5d6fd7d5725f8dac50e7713c5f91' +source_hash = '5a3517dfbc083b6d205c858db0c537a324303f3f7ae8eace678f689d5e864784' model_hash = '8609d87ce3a7617e882650965d93bac29e21aa4fb629facb3d2931d641e390bf' [crates.aws-sdk-iotwireless] category = 'AwsSdk' version = '0.22.0' -source_hash = '0216c0111ef1eab5834b2a904e811ddfcc0f5606536a8bc2f3c52936cf3b7fa6' +source_hash = '8aaa13f3659e6fa914d6ee9102e371805ea10161a9d03b80b12405b5abe85806' model_hash = '2e68c7422911ecfc057117363abb6d61e2f287bdf739d5649f3913790f64f341' [crates.aws-sdk-ivs] category = 'AwsSdk' version = '0.22.0' -source_hash = '01f726ccb98e8d538049d19807c9d95d97cc0b8599caa3a4d609977eccfe66e7' +source_hash = '6e4a73b8d20dce41505e7b37b17e12a51ed82f7c61519d28327492be6afe6f31' model_hash = '384ce3b7db0f489485e741689c510791f3cf89db57e6097a5cd1d1c0f1457dc2' [crates.aws-sdk-ivschat] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c8a99eaa98e51d8196f5b530edd8e9b158bbf9a48c4164bbaf049f9eca105e60' +source_hash = 'd3ca065d8f7b830c788106a7c5d8eb10e80c688a005a96b61f55dc63c87fb096' model_hash = '3057139d1b7349c17d59e41eaf97711e7cf63e7cbc02df6cdd331c78eca66681' [crates.aws-sdk-kafka] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c58c4eb6c89ca478b9460469d267ec2ac2fa854ad9c9585eb5fa8d26d69c9dd2' +source_hash = '24716d6c5fa38faf4523b2eab363df2c00627cd4185918610f625128109d77b5' model_hash = 'fd71e096e804a3073d159c2604075ad9a0ea97ded1062975f59478d3c48e3435' [crates.aws-sdk-kafkaconnect] category = 'AwsSdk' version = '0.22.0' -source_hash = '16d35e0cc79a15e847113a4ce1bc66b77ab4b74ec41cbd40fefdac104c73de7c' +source_hash = '9c03e7fe390db3d3f6db130c6478e51c23857b370cb7168b1b8cc468efcadd88' model_hash = '82b250f8e6b5fdfa5f2100a3d5701916939926caa7c94c8813ca78f62b97c51f' [crates.aws-sdk-kendra] category = 'AwsSdk' version = '0.22.0' -source_hash = '69facc14731315b9f651afeaaf67c8ff4107138f1c3ee4b180b67175adfc9b52' +source_hash = '8d01a88aa5f97193edc348fec91bef7de82cf01678ab14c9229dc4aa6091f03f' model_hash = '4030e5c7f650b511f69babc85a91644571231660feb79c298d1b2ccb8b2630d3' [crates.aws-sdk-keyspaces] category = 'AwsSdk' version = '0.22.0' -source_hash = '496b518eac5ead08d3ec1ab5eea2a246308058941b4f202a59059a01de17cb96' +source_hash = 'c67ab4f361c0fc1310e0ec14d49a5078dc986925e12d470a53dcfea34e2976b9' model_hash = 'afe6b15cca71cdc8c89b6d9dd558f41a4da8295b2c60278c0a4312973dffe871' [crates.aws-sdk-kinesis] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b2a2bb4206fda85593eb58b5321ec774465b019b818fc4c63b352a7b1012f30b' +source_hash = 'ffa58ccba0e42359b15973e793884d24f38f497c424c66964461934bb802b1d4' model_hash = '863b7fde7feb5277c2b4ef2b25b910c47d1e1f42e6eccc5e3e75cb362638cc30' [crates.aws-sdk-kinesisanalytics] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f75539d143982805806a751e06a3cd07c64e0df356c0035ec4d229948f3f92ac' +source_hash = 'efc790bd12fe017c9d1c3fae9a6927e33d934a55115804cc5ee7ab3e809e2c10' model_hash = 'a28fb879b9168117563dadd04b6015165a68d89110aebfff549dc3628a7a2bcf' [crates.aws-sdk-kinesisanalyticsv2] category = 'AwsSdk' version = '0.22.0' -source_hash = 'df21861ce842b79afc4607a7785994da4aeb50f97dc25a3a66408228fe75a2e7' +source_hash = '432be845c625b4cd0d97b67b6f56717b82bfdafce73719524542b1282eec4ce8' model_hash = '7d12fc9181c2c500de7a4093be4fd379d8e753f5951d9845c36bbcfa1823267b' [crates.aws-sdk-kinesisvideo] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a5715bb8be068235f327c50f5ea92849dbb7e4adbfa8d24b0bb9304bd39ae216' +source_hash = '59a0bf088b2336e749d0439faf198bbd81d76b1742e1be520f34b0cac61a081a' model_hash = '4253a944725d33b7eca08c6e0fdfbb990f89553822b9c524cf6b1a65151afef5' [crates.aws-sdk-kinesisvideoarchivedmedia] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f16b1c7638805bd9187df8facc3ff5d18dd86db30f5d35dc3aa1b11d6a0ea90e' +source_hash = '2e8bb572f353406a1dd70fa8b9ca0c58adf127134a6fcfcef47f8aafb9c6906d' model_hash = 'cbb2d09b9ffe7a41d799c5a6b48d030a3a2cea81eaff39b34336727fa67be7e6' [crates.aws-sdk-kinesisvideomedia] category = 'AwsSdk' version = '0.22.0' -source_hash = '2a9f91fa38eb1e12b250619e0659ed5cfe0dabb3b45f2aadf04a6fb6da8dfdfe' +source_hash = '5310bedb97466d6c8e10fd4aee9b3a163483a04279fc77f57c95e028d00d4f17' model_hash = 'f8f9669a91b26e502034fc6c4ddfc2884178e892a48e27c5eb63d4692da2f742' [crates.aws-sdk-kinesisvideosignaling] @@ -1052,175 +1052,175 @@ model_hash = '80e10c46688efc422b32fc1a12f62ef7a60456f11a85922195bc9b167bf65c9d' [crates.aws-sdk-kms] category = 'AwsSdk' version = '0.22.0' -source_hash = '54c8041c2437dd40c6c426ec10f149a6803e04242b3f4d478aa162680f70a302' +source_hash = 'a77d61111a5933430df6cbce16cb8407c058c4799754e1d215e8d0f6e3a9b94b' model_hash = '69c775a5dbe9a0865755ed95900b0f6a51ec1e100c21b1f51e77bbbede1d6209' [crates.aws-sdk-lakeformation] category = 'AwsSdk' version = '0.22.0' -source_hash = '22e2d071343f8cb78e748314b48232218abd9cc1a4be1de6883c02c33de98795' +source_hash = '44e9e70ddaa53999158718e9f5821e4cef0d38c06221c65b679a65056e1cb328' model_hash = '56220509344048404416604650c8e2068f7dd809d2082323e23cf83f76bdab59' [crates.aws-sdk-lambda] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e8c421451d7ac11adabead6173052790cc38c4872f811dc1d54176adbf99bb5c' +source_hash = 'fbbdc97803a5d03cd199259c0fb01b2951efae4c5b3f97f1ba946caa387d6623' model_hash = '5f104083748a161e33dfc9b65d5fc6dd61a0ef886f71435c286305095629bc01' [crates.aws-sdk-lexmodelbuilding] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ed4ad5b04c2b26300b2ed8f4898548e409635037e1bed6a4bca0fb603893459b' +source_hash = '00a4521123858e9833da3fef7a2bcc3ec5b6034403e5e2709306347be8192d49' model_hash = '1c4b3eb44fbb067e0dc09f3ba592d08d4c620065e7f805d56ddcea5513918845' [crates.aws-sdk-lexmodelsv2] category = 'AwsSdk' version = '0.22.0' -source_hash = '526d6257a6bc0f0dfdaeb03b9aaae1b2e715a88244d13e01622722588405f0f4' +source_hash = '387eadbd9a3ec021c5c4db5e56f7b66e8352aaf0342e2ef493210d04f9600c32' model_hash = '4f06d3b2b0006fce0afc54f40e25b996c2743a9a4b5ec53d604c9fe7568dff7e' [crates.aws-sdk-lexruntime] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c4d060b4e6346746cf63c7a2ca72e3234b26b0f7b7442dc705d8c1aa189bbde3' +source_hash = '814006f14baee0a287cd7bdd43efada2f1c619d999a6cd70836c5c16785b3637' model_hash = 'cb780a1d2f876e849d8c0b6780dc14809f9f0a8fe471a7ca10cdf62544b0f15f' [crates.aws-sdk-lexruntimev2] category = 'AwsSdk' version = '0.22.0' -source_hash = '4b890f5aa4e578cceb797c0f19b3c1a474f59e170978a2054744190c3804815a' +source_hash = '587c3b366f7577aa5f96d31f442e3977720c10466d12fa6569339502a479d49a' model_hash = '82a1c7b019086283756360c5191fbdc6c24a17813412f853e493d95d77342076' [crates.aws-sdk-licensemanager] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e890394016f7643ce2789cfce083e9966468abb75443816b55d1dca91719573c' +source_hash = '55efee0a1117dafd5e9c80bb49f2fbd5735e10972c3748b8f6a8f9deaaef2ba9' model_hash = '6cb2d08710843bcf6cfeabae2b1c3b1d188a9f90a37e72994cbb358b3d5ba9d9' [crates.aws-sdk-licensemanagerusersubscriptions] category = 'AwsSdk' version = '0.6.0' -source_hash = 'b5bd3358e8b343094b33287780e03cb737cfd3dea4bbdf05bd463b9c174cf3f7' +source_hash = '4080215a1a47e8e44257b09b1eaf6d6bd8f4a521eed207d6342a3ec0fff3500b' model_hash = '310f271922723ef820709de2e065a5a9565bef371644ff34351e258bfdb8a0a7' [crates.aws-sdk-lightsail] category = 'AwsSdk' version = '0.22.0' -source_hash = '3dbce12531f0f5b98e3a99fec397196d855f0474b6fd47aac271f7e16e773d6c' +source_hash = '1252557099ac4f922883332c6a0acbe40987d94608c475e0f21ce393ff23ef2b' model_hash = 'e18b88fbdeed158495f6f9d372ae113c678fee6d1ce9b967506c79d9e93db366' [crates.aws-sdk-location] category = 'AwsSdk' version = '0.22.0' -source_hash = '08dee8fc490e533c10db97ef7584ec390e5f361fb52b64e2026d29487e642db4' +source_hash = '83429c7441cb992877b5eaaba01711e1485f05a95882ec3a226d14e901597a63' model_hash = '45580b6b38013ab621366859927e707a6d74405cfe064c6a4b7bfcdd3563614d' [crates.aws-sdk-lookoutequipment] category = 'AwsSdk' version = '0.22.0' -source_hash = '0c6d2679ca6126eef88c823e160e398d8a56c7673c4394aea4d9d8d914ac43b2' +source_hash = '73832ea48210dd1123f1ae640980ef323630b49944a16dc5d39cdccdf9793a2c' model_hash = '5dfc0d29e58ebba50440b8d1ffe3fc4f8c4f5a9057c1094a265a94297797a77f' [crates.aws-sdk-lookoutmetrics] category = 'AwsSdk' version = '0.22.0' -source_hash = '46d3f0451d5a74ec4a630b4befafca8cf80774cc4f0400d61bad7b1ea342bc8a' +source_hash = '2fc18f05b4d09a51c6e30fe56f7b9e34161dbeee3c0f0ab7d64baf03eafae4b5' model_hash = '26bd2c49cc59f640cfcd004c14a825dfa5d9b5458d5a611e461d21d3914b6e58' [crates.aws-sdk-lookoutvision] category = 'AwsSdk' version = '0.22.0' -source_hash = '8cb85b76afa17a35edba1745ce80ee5c01656f683e38ce052d1e5b02cc25d787' +source_hash = '1e4d07c7195e64311421d742cae505875d1baef3474ea76666b121205b30e6e0' model_hash = 'ae6aa8864d816780657bc9d7a7fa370627e9296c2b90412c860238b67c09e957' [crates.aws-sdk-m2] category = 'AwsSdk' version = '0.22.0' -source_hash = 'cadf26e3d350aec15f7a5cead5116e39cea634b4733a88b5efe299cc822e73b7' +source_hash = '619953210c001ec174cb8cb0f9c6ded802aaf058bac26b4bf723fe04825b09c1' model_hash = '08c164ad6012f0f4b1a0e76729400e36e7e22a2c1c7e73005f78315dae8ec7b1' [crates.aws-sdk-machinelearning] category = 'AwsSdk' version = '0.22.0' -source_hash = '1fcf8b8a7ca018bdf6cbefe7693878db5deb08d08cb0c7ddf3b27d9f2c5eff16' +source_hash = '81be0be8d91f4e4a1ec4ae8edf149e3fac48b7b5e44f33feda4eaea85241364b' model_hash = 'e4f0e24564e15c95418dd7e122d688f3165f84ba90090cc98bef3c0d1f3dda42' [crates.aws-sdk-macie] category = 'AwsSdk' version = '0.22.0' -source_hash = '7c6efb1be329fd65e6e803a8525c9b60520a27b5f57b7c2967e6435c63113bf2' +source_hash = '46823e053c3f42caedcb84df1f50034a132c0cc686345b56ac2c29d9e667dbbf' model_hash = 'a010332ebd81befc52fa41d031f5a6a00de9b360d57cf816abad63fa62d45f60' [crates.aws-sdk-macie2] category = 'AwsSdk' version = '0.22.0' -source_hash = 'fa014eafe2a89fa89374b07c469fc736732c0b2e4466706bda6d5fb70fc0ebb4' +source_hash = '65e61eb156c374d76710197ba1baf9d8c1d578e1c7c3cfb2b606acd9013a6e14' model_hash = '7945d93688235a3cd839cd6c156f6538ade7d923cf8854118f4558af752baa55' [crates.aws-sdk-managedblockchain] category = 'AwsSdk' version = '0.22.0' -source_hash = '65e52e3de12e13cb8537059e785bb8a1b546de6f7d68cfb9bc0fd1a67c42219e' +source_hash = '048a4e1bbe9db8932668c96e6c66c89ca8ac5ac7d5ee46c2632ae5c5d106eb2b' model_hash = '4d4da0c716b921a98bba888a80a4372051cb706fa602e813991be399d4cde0eb' [crates.aws-sdk-marketplacecatalog] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ec80b092f73afabb39a86198049636381cfd5ef678e14a735bc6913c75b0b5cd' +source_hash = '5b646a8f23cb23042ce2e9ca5a71801b9da90927e49bc53bfd440535b4a2f965' model_hash = '3480efe10ef48290516f80d6d79bdc4c99be8f06cb28e7be3cfd4bfa5a942ff4' [crates.aws-sdk-marketplacecommerceanalytics] category = 'AwsSdk' version = '0.22.0' -source_hash = '7e3ca6ed3e2a7431e691a2f60946ee1d6771e3388f25de0f0fea4095ce620a68' +source_hash = '554268b1d295b78424251a85ccbd128044e91a12b5ab7580b69bb2f34cfcc5be' model_hash = '254fe8e162ce0175115cb3c7ce3b9017752580a37940c4db8d3f4149c83ba209' [crates.aws-sdk-marketplaceentitlement] category = 'AwsSdk' version = '0.22.0' -source_hash = 'dc4bdc5f5ca8542567cca506685ad9667ec2967c1ac7a82a9a60816645868a68' +source_hash = '0a10192233494be0bad48c6f70a537abb9255408e05550cebfa74f5343cb9c3a' model_hash = '9fa8d3b724fa4d4171b08d0955188b7524a6aebad16a2296f859862a634b1d25' [crates.aws-sdk-marketplacemetering] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f51f70c6bd7c59c433a55df2d65bf7b25837fbbd95821c0929918badceddad48' +source_hash = 'ef58405ba83ce733b6ddcab05b921f13cd003b3c152b18b668c13625a27083c5' model_hash = 'e80988eb323bf31010513d530369d5fa96f8668015c6fbb472a84178b3dd44bb' [crates.aws-sdk-mediaconnect] category = 'AwsSdk' version = '0.22.0' -source_hash = 'fa41720103633fc49a18cfe1561d01283b745fe6cc03c44229d727af085554a5' +source_hash = '3e6a11023ff3b5f3357858c44c45900c447037d8e93b06e76c40a92a6e7f406d' model_hash = '89fe539c21fe2bb70b8db409d12a697fe4893d2872c2c00d13ae216591f85240' [crates.aws-sdk-mediaconvert] category = 'AwsSdk' version = '0.22.0' -source_hash = 'f1ee4d8ffed076e80eb4afd01ac0ea1fad5ce6c5b4510c76b461ad6fd90f923c' +source_hash = '2638005384a7230c191e4463e735a2283d1e5138c03722ee3702833d1ec7029b' model_hash = '72a37827f30887809f546db1ec9cdc48555dba8d783cb1c91c534beec11ec657' [crates.aws-sdk-medialive] category = 'AwsSdk' version = '0.22.0' -source_hash = '00a6f999e4b2fe593d488ec989b13ab2b09d0fe52130ec3d66998e129cfd6918' +source_hash = '61db98089357cedc52fa0577a5dfe1e7b250fe66cf0d34b2cd7f30045377bec4' model_hash = 'e3e41c5598d34bdd216d8412100f7eb3a39d1271465817fc7085e51c25f5b66b' [crates.aws-sdk-mediapackage] category = 'AwsSdk' version = '0.22.0' -source_hash = '5bdd4e3bfe90bfa9ab41498fbbed17e983292d2a731f9b765bb145b15ac9e5eb' +source_hash = 'cbba88033e839fd8bfb5139431418e75ad5a440386fb9ef0427278b8e2ba4d41' model_hash = '0e2c83ae2f8425ef58970ebd6e9929491ee034bd108ab79d426f4549163ea30a' [crates.aws-sdk-mediapackagevod] category = 'AwsSdk' version = '0.22.0' -source_hash = '548761a05d7adaa5b0c85429739855c2eebebee93415fa0ee3028088722ecccf' +source_hash = 'a8de9a7cd438e1ee404fa1c72970a1982d38ff9084e4628bb1e8d7ab96567465' model_hash = '154c1f176c03bfe5a04e7d2f65dfe7617065f2277a33780018f47ab93540bfda' [crates.aws-sdk-mediastore] category = 'AwsSdk' version = '0.22.0' -source_hash = '65f4bc5347d57f791bf89f0f0f60b8eda320aaef2d389c5c3b8fff91aceefc18' +source_hash = '0e28a574a5d0092567624b434166eb552107a74969efdc4dc6acf30d99acafdb' model_hash = '2135a3d375c3ebffe8557f1ee897b97cf02eb6bae1aebb29a1e394196d8995ba' [crates.aws-sdk-mediastoredata] @@ -1232,49 +1232,49 @@ model_hash = '77952c17daa8729effced66c862e596605560fa078175817c00719b067a923f2' [crates.aws-sdk-mediatailor] category = 'AwsSdk' version = '0.22.0' -source_hash = '36efc1fd412c54f8d654e52d2efb27a16d099565a305ad4d1062de5e5717ccc1' +source_hash = '1901e70c909a8d181f3af2043f6695a2cceec13c8e748cc039782e955d2b956f' model_hash = '6cd107afa613b1bdba1b6b69ab0e0d2e423eedb6bbf23d244bf16309f93cd6f9' [crates.aws-sdk-memorydb] category = 'AwsSdk' version = '0.22.0' -source_hash = '1e868e63889bf85f652f503cb74a8d479c80b2f61b6c114e4480ad7d1e02a598' +source_hash = '995518fcccdb8cdf6d124d60dde6ba2ce0fc77c9a783e19bac4064b6bdd3c815' model_hash = 'a207b3f3a4ee280f8daf3009628bcf1c2aa7eff4e8b1a12550929e795a96f4b5' [crates.aws-sdk-mgn] category = 'AwsSdk' version = '0.22.0' -source_hash = '0e65ab6539bea73042948e27c65f11b17bd2beec73b102be531ca13c5de3b81a' +source_hash = '4bbc4bf2382ec54e1fc68ee11fc4f93a3b0500d585ce25941ef8b27f2f618dcc' model_hash = '8cc2043f36c79398000a166aab2cc239a0f6cceaa3d97e468bbf5c6551cd10c2' [crates.aws-sdk-migrationhub] category = 'AwsSdk' version = '0.22.0' -source_hash = '0496aed6592c11d369ccdde232a53cc8951e0296e3111c4157765f657f2cbbdd' +source_hash = '1eba7e51f3dea9ed05ea95f9e9e76f9ce3ccc0c1f0552ceb7ae627d9838faf1a' model_hash = '00d312152fd3fbf3b0dcea7036bd1ca87d70ad4bc25742a38a511f47969733fb' [crates.aws-sdk-migrationhubconfig] category = 'AwsSdk' version = '0.22.0' -source_hash = '7e7d4856ecd7b4db69c921f441b1f5cd7a9b9706602d97841ecccecf0b2dc135' +source_hash = '712989ff1e2a06d13be96e65583c5594ead4e11a9bd36c3c93a6bcfe0ea03060' model_hash = 'f539589474352adb8eba6116de9d3dc3bba70bf46dec26e8f055fcd7310871a9' [crates.aws-sdk-migrationhuborchestrator] category = 'AwsSdk' version = '0.3.0' -source_hash = '56fc68b22bec6972a02a2cf759cb5318bc18ce856255cabeac12dd925934b785' +source_hash = '11cfbb5420a5efb4d74aaeec1bd88f83deaf641c7a382fc234c35129f21a73ee' model_hash = '154e67a6ea3e3757f4617fb839be042d8da82d5224f804100de8da9ec96415b8' [crates.aws-sdk-migrationhubrefactorspaces] category = 'AwsSdk' version = '0.22.0' -source_hash = '88de5f5188f19a6a2eb79d282f7138b67347893f7bfd193e208a263558d94c4a' +source_hash = '9bb2dd80008472608c72e9d945b39699d99e7efe0c677220eaa7032e448c4f38' model_hash = 'aab7375fa06734dd3ccb657c4f6eaa8f812767e87ebefa353e292c685e6a731d' [crates.aws-sdk-migrationhubstrategy] category = 'AwsSdk' version = '0.22.0' -source_hash = 'dc67f8bb3693dcd4944e5a52fc7cdb271e8f503a5b4f16183afc0305e4485b62' +source_hash = 'd69598ed36e786615af987e31cd3ac94a8656d2542ba8ce94e8042dd73cc31bc' model_hash = '81274a011097731189d9883a6a941b74d9d880387163ec2d0bf9157770e0eeb9' [crates.aws-sdk-mobile] @@ -1286,19 +1286,19 @@ model_hash = '34a1dd925c8935e80c2702458513eb71b725bbc4e94d621afdb6d09da04b7bcc' [crates.aws-sdk-mq] category = 'AwsSdk' version = '0.22.0' -source_hash = '8fdd0931c8c94453b423b7c7a4f0989dd4dc70f862ffbd95c24e6cdbdc984aae' +source_hash = '80af87e96ebfff54914c2b531502457d3fa9d3354a80bf1c230e3c88a61e4d73' model_hash = 'f2539af329f724f40c92342993dcc210b1633d3f0a5e3971d96b265ef54ed274' [crates.aws-sdk-mturk] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a36890dcde060e0b99e819aefa49ef0d3de59d0533e91cd852489b29580f0c52' +source_hash = 'd076c9987f194921cd1b4ab408c1077b5efc0207827aaf8832d9b41a43546692' model_hash = '4809716c7fc9eecbfbdc99b10e796f6b5932e10ccbca52ee8e57570a4dda5ab8' [crates.aws-sdk-mwaa] category = 'AwsSdk' version = '0.22.0' -source_hash = '100f1e13e72f82f26d5e6b0339f6aa96d404ce780ee8b9f99772afb4963a6e7a' +source_hash = '29d1b703f1c5af4685aec14c81811bd8cb732125143cb3baf3dd9fe7f95815a3' model_hash = '0d3711e135ffd8be102c2d0fe529923c3893c2ce8c69cac49e3e823faf8240a5' [crates.aws-sdk-neptune] @@ -1310,103 +1310,103 @@ model_hash = '96d0eb4d6d929fb3eb5a24e5ba265c8a965faf286b1421c7410c645596e3bdc2' [crates.aws-sdk-networkfirewall] category = 'AwsSdk' version = '0.22.0' -source_hash = '6d1132f3ae7aa9389c9bdc649c795c24bafc1e84a6dd54593a64ba960e127d38' +source_hash = 'f862563076dd141086d60e97c951dbb1a702173732d4452c46f4e5d24df3695e' model_hash = 'd86c7f853b58833c7896b5fd9b58c70b8f50bb4bc1638385ddc329d3648d23e4' [crates.aws-sdk-networkmanager] category = 'AwsSdk' version = '0.22.0' -source_hash = '2012a3fd9e9183880bcc5cceacc3716e81c26625f2fb55c83d62d7d937225564' +source_hash = '1ba94ca3cfad1c25e9c51f6ae5c68d8ab42b01175e2de654ac33544d98a75fb1' model_hash = 'f5308aeeb07b6bf21906fe09fcb333901e57103bfca9bdc888d66a21b5e8cd6c' [crates.aws-sdk-nimble] category = 'AwsSdk' version = '0.22.0' -source_hash = '6762034d735b875bbcd240d4368cae553da846b4b98277a0e42cfd85ab8aaf31' +source_hash = '7ccb80d26c89e5081189de0f86c5961a9caab022e3006495762e70a6ec40e81f' model_hash = '8ae63d9d9c652165e7b331fe92e9708a2793e49ded9d8a7fdab2773b218b3f35' [crates.aws-sdk-opensearch] category = 'AwsSdk' version = '0.22.0' -source_hash = '083ac78bf375bfddcb43762b83d7cbbe22cc9ef396dc0026aedf0c4f6d92f302' +source_hash = '769ce488c9d09a7498e50c6694834897ce7e885a2dfeb508e20115b3860df333' model_hash = '36ec859a847e3fd4507748476f908a43d8ea388d4c038acb6d6383a7c27f65fe' [crates.aws-sdk-opsworks] category = 'AwsSdk' version = '0.22.0' -source_hash = '64751ec80fd30439b3aeb33fb2ef22477e6f9127c9082be13969b5874e283dc5' +source_hash = '50de9a544ce42c3de0cc95033aebfc425dd361c8c24f00585d7bbaeb41863c97' model_hash = '1ec3276dfdf80dc69fc2756510ef7ec6b957435f7a9fd7b087877df1accc6b56' [crates.aws-sdk-opsworkscm] category = 'AwsSdk' version = '0.22.0' -source_hash = '619aac2edf41c459a54b5752fa8da9c6e679bbfb1911d0a32c200262abf6fcad' +source_hash = '5a5907d2ada1c0e9715e1f0aded6e8db7a7c7cd27094d2b4c50052788521ca90' model_hash = '9c99b6d497ea3009c107a9b1c6fb61371adf3897b71aaacf32a97e4ab522861c' [crates.aws-sdk-organizations] category = 'AwsSdk' version = '0.22.0' -source_hash = '21a2d70a190634011218bb03b5e5ac645c6833e131bbe41749f7cfb6c5caf590' +source_hash = 'ac9435c1ac542954335b2eff064a308cb9781cc6ba5f81de4f946b601661784b' model_hash = '656ca6fbff546d14be673d66f904d7bddbcd55af25e2c21646cda0567c3c833c' [crates.aws-sdk-outposts] category = 'AwsSdk' version = '0.22.0' -source_hash = '7becd81e4b7078baf61af3a488da8356db31b181a48d44c249b7361b7806ac46' +source_hash = '45c7fbecae510ea8c9795d53ccc370d247f1ae0cf9bc74b20e18d4ff8c08db7d' model_hash = 'dd696181077e3dfc6f1224c199464eb5cced2006c9e613b850d83ba35c212943' [crates.aws-sdk-panorama] category = 'AwsSdk' version = '0.22.0' -source_hash = '36760709e457b08a3e561c69865304b22f3fdc8b08500d6a98564d2b2db06f5e' +source_hash = 'd067367b83a7bc05eb37c248659787ba059fbdbccd5a9cf800318d83c961a30a' model_hash = '19ebd6109792ea5e46b1cc10722456b0282651b2f8bbaecad393bc5f775aaf72' [crates.aws-sdk-personalize] category = 'AwsSdk' version = '0.22.0' -source_hash = '8a95096dcb23210a7472b276b766552b141d4c7ad1a2cf665d9f2a38333220c3' +source_hash = 'f306713ec3369735f444a568cffa38fea091e8262f45a5a2c1e484752391d75a' model_hash = '5580ce5d1221fef3f0e6c2cde8cb6814b65a710031e96ebf53973b859a7a86de' [crates.aws-sdk-personalizeevents] category = 'AwsSdk' version = '0.22.0' -source_hash = '316c3355e06439bcf67820ffb0a1353a2cfa47c8289e2ea612bfa42b27f80b05' +source_hash = '7a4933a4e365e621529d6b6395208c107a39af3ee64e0bf68a6c53bf0f034ae9' model_hash = '1cb32b16d536c6f9b4ca6369d2fc1b87dd11a14cafe88a24d637c9c758b1bc6b' [crates.aws-sdk-personalizeruntime] category = 'AwsSdk' version = '0.22.0' -source_hash = '81a68f9a1ba520a9bad89733dc1cafba83d5d7dae13563c28266b763d48f00e6' +source_hash = '5e832fc002900a8bc10f6537e3a9ea97f370bb8cac79b61ae44d6237f631093d' model_hash = '3e81297d2904e815da334d022a5e839b6142c91b91ab980626dda38ca41e68e0' [crates.aws-sdk-pi] category = 'AwsSdk' version = '0.22.0' -source_hash = '41b56deabf1d0525f0f21fc25a48500b73102fbf0015ee7535b55446b319d91a' +source_hash = 'eb532c5ac2268d52fa5ee1281a0333c0f9dc4114b5f856de50a386982408908f' model_hash = 'a25c2dc79c77119cd5dbe145df98e29c08dc47b0f0fc002e886278125bb556c2' [crates.aws-sdk-pinpoint] category = 'AwsSdk' version = '0.22.0' -source_hash = '003b7dd7aded3e37e3e0213ef5247cfff3b8456cc5a4b79f6e127a2bb6970aa5' +source_hash = '48254651ea9acc13d2e9a0d2fb4bca7317bd436c57de381f629cee2c685d56bf' model_hash = '5f4096e0ec3c5c43f75e90f4176883da0284a7138e789656475c7bf9c5c2a151' [crates.aws-sdk-pinpointemail] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b1796de62623b4049abfecef486bae12ae37440ed4cf2aa7fbfa2271fe4ade55' +source_hash = '3d617975b717bdb2e8c936a35b8b9215f98eb18d6105e76c58cb5d29950e6681' model_hash = '1afb2630cca5e10c90f497014c6195f8a6aac821a8ea83b1c831846ed2651fe1' [crates.aws-sdk-pinpointsmsvoice] category = 'AwsSdk' version = '0.22.0' -source_hash = '5493645e06228f6660e32828d41d27877caf53ec54801dbc45256b857a7f4d2f' +source_hash = '5abb79c2dd2936d43b31ca8d739bb8c3ded41425b87d1010b24953539e6f54d1' model_hash = '6978289b61a79c0c44cc99a32e8068367e8a1e6a26be0d81a61d6fc88e8c4f36' [crates.aws-sdk-pinpointsmsvoicev2] category = 'AwsSdk' version = '0.22.0' -source_hash = 'cea85efe29830c74c58268470eb00de0b10c12ea7746cf95dd2520d939b4f598' +source_hash = '30baf6ebbfa46de739f895f6c3deceaf2ade1244823730226745736cd52581b1' model_hash = 'bab0cd4285368a2d69b8c64141d5de444d49babbc60b9aa708b19ad63d045a55' [crates.aws-sdk-polly] @@ -1418,49 +1418,49 @@ model_hash = '770500534bd84befcf19585c6283e4b0f18c50d7092713150aa9261dd82dbf6f' [crates.aws-sdk-pricing] category = 'AwsSdk' version = '0.22.0' -source_hash = '50f8ad0901a53d6cba33151dad03780391b81b7f4c2b6ea22ebbf9bc69a13477' +source_hash = '3181eb24c02eb03a9e95d2f44cb225bf73a908d99053766e3eee97544fcdd167' model_hash = '8efc2d68edd3d3dbd4c9e0ee805df8ef2f23c67ec12030bdfe0fe09accbe1168' [crates.aws-sdk-privatenetworks] category = 'AwsSdk' version = '0.5.0' -source_hash = '339d130980ca63880820fb8f4cc0fde78e9aab627dd87729fc1f985a20a8a6c2' +source_hash = '227ce09ac790cb14ca7fdf4e861ef75e65a39166c54c7b480f6de4b5fea59f7f' model_hash = 'c9f3c288d3758d85957c3ea864b0c8e42b192ee4c090ca7727818a2d568c509e' [crates.aws-sdk-proton] category = 'AwsSdk' version = '0.22.0' -source_hash = '56b870d041aa67d3d37c324b45de690b17533b87ef06b28ffc3a188d050781b4' +source_hash = '446ce8d6cdea3335b5d168e431f195ee9bc8faf28a61c2faf48b0046e7b5a9c6' model_hash = '04134e7a0c489d9b5718a0a3d3a1b97ddf548a9c0626cdf96dbc328bd0c00e9d' [crates.aws-sdk-qldb] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c34b673d99ba295ca2a644165b8f1af3af190acf5105e01064f9131761005717' +source_hash = 'f0d24afb482750a46d0166a3306d781f39620074b1e0ad444fbccd649ea64624' model_hash = '5a777a9f66eacc104e2fd4647cedc367699dc2aee5c504648bf22b89b065b753' [crates.aws-sdk-qldbsession] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ab5d06cc55cf89d2ef5d98583b9396faa4c05b5d3cc73c69e2e09166b717b365' +source_hash = 'a47358299518a719bc3aeaa77aad3950e1fc832f9d20cf1e03cd7f2e10bcc22f' model_hash = '77a032ab0041d07790b18f54ac9dbe1991893c906ae4d64b35b08a38c3ac281c' [crates.aws-sdk-quicksight] category = 'AwsSdk' version = '0.22.0' -source_hash = '033442d7f65e97dd71d244aeaffc5629b9a38ee5477ad0d497f0800b85c0c89f' +source_hash = '34131a4fe8243c73ace95bcc051a0729013ca49e3d71651e5a70cc71a826a6e9' model_hash = 'f464a0469f89667c2ed264907bf1465f7b29c8bd9ce05428d6ded47c37e06af3' [crates.aws-sdk-ram] category = 'AwsSdk' version = '0.22.0' -source_hash = '7f29a78b361c664be87b8a704140b905b5bc57e5aa3319212d30ac376a00c81a' +source_hash = 'f82adf9530c5160df608a0f312d2c64953b98e8eb50baa288341096354e84acf' model_hash = 'c0069db226ab527fe127ada3088c0f68c469def22c6625cae83a0f5c0e65ee1b' [crates.aws-sdk-rbin] category = 'AwsSdk' version = '0.22.0' -source_hash = '264d17835e090f5a06a18994cff9a4b073945217bc2d560884463b232174fcd2' +source_hash = '1def646a8084e9cc85bdb0ba274566ad75a9886a7d221e8a2a840acd6d3d58f0' model_hash = '5f13e656dede445cacdeb13049cab930f976816e5ec2bb5b8ecafd57391aa32a' [crates.aws-sdk-rds] @@ -1472,7 +1472,7 @@ model_hash = '7119f1464629d099c6ff176dc1d1bb33258eca89d0acac453ffd10c8eece8d1f' [crates.aws-sdk-rdsdata] category = 'AwsSdk' version = '0.22.0' -source_hash = '3deae637ec33bd4c943543d6d8e1352deccb25c21c1e245ad7fb3cf5d418d644' +source_hash = 'ef4a97a65389498604cb40d80fe848a5587a0754d01b41a4ab0107f8ae87b8a5' model_hash = 'd5609a88ca67b6eb0ff0646eb7973a827ec4f83f4be1c15f8d1df37727774ec7' [crates.aws-sdk-redshift] @@ -1484,49 +1484,49 @@ model_hash = '25b860e13511fb038660429e490816965bb760b2f0a4459dd0ab145ffd75b99a' [crates.aws-sdk-redshiftdata] category = 'AwsSdk' version = '0.22.0' -source_hash = '14f3d4d74763ab770779f0afccae76b13f5e56c011d37b9703cf85807746bd02' +source_hash = '69a371c904729c81b930eb0d569d684db24a6ebc5c89a4b1b8a30003a6b6e626' model_hash = '1ece8ec3b629697b790862c497abffb390812d7e1f2801bf07a6dfdce87e0b36' [crates.aws-sdk-redshiftserverless] category = 'AwsSdk' version = '0.22.0' -source_hash = 'abdcd92f5b44cedb28788fef9a083a2353f4c22d77e034e7e3b39ef8b53ddf69' +source_hash = 'd9dec3502c9561f0b3079430ee6c458a3558a6555e04a8686f199b12ac3dd238' model_hash = '87619fe1275e804fdee9c45a9cd4af9f6b41e72c20ac960b104fa06011561656' [crates.aws-sdk-rekognition] category = 'AwsSdk' version = '0.22.0' -source_hash = 'df21d124fc2b3644d54d257426c0f8f29b05ca9082e703c6697cb1392bf1b58b' +source_hash = 'ffee53d69f04740ce21ded98a8f5282752b425102de6faf0f7c81d991f0a8f4d' model_hash = '3d240911950487db1824cdb584288f069ccfffb767dd3095e149ad214fb77082' [crates.aws-sdk-resiliencehub] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ec9377fa1e71b552b099f390d253fa61b4120da83ab72846c60cc60e2abc41d8' +source_hash = '0dae62d1c39716a5b592dca1336a24ba89885ab0c847fb73cfda876eb8482a52' model_hash = '14105bc75d1edfe18fbdc87d46c251ae765a4a7eebb5c34a27c3e3d63e334701' [crates.aws-sdk-resourcegroups] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ae2290f1e2e739934cbf7edfb802499c64d15bffdc674e9bc96b999b721d2aaa' +source_hash = '09f6d09d495b9607d75b20a8af26368b06c7072333c80d146a2bc2b86334dc85' model_hash = '57667f5e22f51f1a6cb98636edf3c9e61f39f405289c6bbfb67b0c2fab663bc8' [crates.aws-sdk-resourcegroupstagging] category = 'AwsSdk' version = '0.22.0' -source_hash = '5e8c292790a7af91a9d07c52e5094f25954fa62772f72c859b158ec526703355' +source_hash = '624549646f4a62abfaff1ede8bfaa700bcfa86652987596d9c2d6d2ac76cf70b' model_hash = 'c8b1f83f2ad5f19f985ebc4c84b04007532d2977319a7c6e9dadcf991b2ae574' [crates.aws-sdk-robomaker] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b67ced2169e1b358457e23eb89bfa53c45c4f39c1dc963742e353208ac2dc742' +source_hash = 'd0de531ac4c682ebab8a082d7fbd89dda6b2ebcc20480ef41d4320c7cdeb430b' model_hash = '39168d441d61c184a863b0bf0c98b3a623de249dee5ef901f94878a2ea8675f9' [crates.aws-sdk-rolesanywhere] category = 'AwsSdk' version = '0.7.0' -source_hash = '03cc7cad6efc78dee078b84b0966a9aedac4915a49d16adf5bbb74571d22d605' +source_hash = '379007d1bed222a9a898eb660eddcf1fd1b72a52624c0e50aa2d76c8698154dd' model_hash = '33b53a2ecc071e7bd4a0b63349834e908b81623ed3ba947fac637cf0012ab4fd' [crates.aws-sdk-route53] @@ -1538,49 +1538,49 @@ model_hash = 'e6f21b3e09e6dfdb5badefe348a8aee49fcbe5012d57555aadc5abc7b375b559' [crates.aws-sdk-route53domains] category = 'AwsSdk' version = '0.22.0' -source_hash = 'abf092a56ee6179645afa1efa7b83db2441b4d59037e2d6bca20de229ff6cb43' +source_hash = '7f084c72d7d8309ac88d32cf8857da039bac0cc77d66199cc45f73cd709fe32e' model_hash = 'fd133e3544eaff3de7b4d39d2b388e2d8e57a6517b71084a2267eaac9765016a' [crates.aws-sdk-route53recoverycluster] category = 'AwsSdk' version = '0.22.0' -source_hash = 'fa56ad9bee50d97ef0c823f10ffc25fe53fdd834e73ced09e2fc6cbb391080ca' +source_hash = '4f258c79b6dc7c6d19664fe7f840966e9fff73c10b8ed678b1a7b21f3323871c' model_hash = 'd54e7021e232aac384280534e408fc69a64e708be586bdf4175b6b26a8e79e14' [crates.aws-sdk-route53recoverycontrolconfig] category = 'AwsSdk' version = '0.22.0' -source_hash = '7d3bd34b5ddfa3ea95ad72cdd40760d52eab2c8db0aa4f79e7fa1400253220c5' +source_hash = '0d0f181a4e95130d7f3ef9fd3afd0a42e39605473abca3b450a8d09bb9069321' model_hash = '09aae71e2022e96f7ebc9a76e9a39747e232ac5768751569424587b070c55cde' [crates.aws-sdk-route53recoveryreadiness] category = 'AwsSdk' version = '0.22.0' -source_hash = '3a67dce7aa5d0298b763befb34d5ebaf0c024895c35062a3d95118bc60159b00' +source_hash = '60e6a05195dcfc32ea916677225ec759dd4504442296e37fa9539aa6e6bbe57a' model_hash = 'b4c18ff7a56b8190403929f26fa1521afd036984d332e588556eee21d12b72f5' [crates.aws-sdk-route53resolver] category = 'AwsSdk' version = '0.22.0' -source_hash = '58e72794a0e753e16eab6f45855d2f549155fb081a842e743e26cd5e50d5df58' +source_hash = '6c7f6393106202945b427dc14aa310a8045313bf30c1d717a1268f1a71c46a1f' model_hash = '357f367485e1ead4cce990c874945edbec8549bbd47b2a4227d27ccd10e8cecf' [crates.aws-sdk-rum] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e1686e928bac1c611ea596a5aa5a9a043f4f72cf4f81891d89f0244461ec2b3f' +source_hash = '6243ffa4ff94f4d44c69d8de122a96f744dab480f25d85cdcd612232c20a4664' model_hash = '88b9f998ab950f38b993469fde2bb4e53e6b839cb958e040fec26919dbc4d3a4' [crates.aws-sdk-s3] category = 'AwsSdk' version = '0.22.0' -source_hash = '8f419588c96b91385fe1262bb4c72a41963205da930b774b3f5e5ca20959c662' +source_hash = '144de14784434263b19c3430d4c435e492ccdb8c9f3b3f799583501adf9b42af' model_hash = 'a3ff4830ff752075255af9cae9fd5f84516585c38000817c8ec1898e5eb35ff0' [crates.aws-sdk-s3control] category = 'AwsSdk' version = '0.22.0' -source_hash = '6f06358baacc3cdeb3bae46d06da6b3d784c30f8aebc9d763f1d498d173eb847' +source_hash = 'b4734ca3a71d5758eaa9fdf5f0e95df001fbca2e29e3becae7690a166d7851ae' model_hash = '5712497efe51f26a84cf7e014baf4e29208a7662b64179801b6b3c8c94d5ee9a' [crates.aws-sdk-s3outposts] @@ -1592,25 +1592,25 @@ model_hash = '155d5715cd0278053abf5f7ae450b442119cd73654c2a30349c0710d00ff1cfd' [crates.aws-sdk-sagemaker] category = 'AwsSdk' version = '0.22.0' -source_hash = '03322afb33c05262b17bc07b10c176a20d9260aca97c8c112ed09fc7a040e65f' +source_hash = '625385760654803b1e6ca88d3efe18c77bb2e9021c1f7b00f64037d3b3e6362c' model_hash = 'd7e12f5cbe8de5a8d7fbf806009e3506b19def6e390c0b4a6c2c2db2d3a79f8a' [crates.aws-sdk-sagemakera2iruntime] category = 'AwsSdk' version = '0.22.0' -source_hash = '9c7e5f1c9c0f23cdfffd10b9c1b5e12e6737c5d7da240e404aeb75fc6d4e59d4' +source_hash = '84fba1998f89f7082980bcf99bd1d5aa3899983fbfb8249175bc53e4aa2b561c' model_hash = '02870a7ab6ad975642c0ac23c266c2ab300b3ab3ac3bbe7858a89d7faf883a15' [crates.aws-sdk-sagemakeredge] category = 'AwsSdk' version = '0.22.0' -source_hash = '66f31320d851488d1951226fefcf3939fc817f0c563b1caf612a7313bd340979' +source_hash = '1c006ff30688a7f3a40e923ffdd6469038c80b80cded3344222ef9789791164a' model_hash = 'b6911aeadc84b7044235faf0dce00c7b7584300e8fe67188786f253bdf7da8f6' [crates.aws-sdk-sagemakerfeaturestoreruntime] category = 'AwsSdk' version = '0.22.0' -source_hash = '88a6f686a2afc12bdca8bc0c99ae328b47421626b56cf4486a21d894f3b884b2' +source_hash = '0c93066035ef2607d30ff0a7d39d63f8c707d43fc76078bd8f8a0b62e67d58ab' model_hash = '9a63e3bb344cf1f39b0a9862f4e435c8ef6a142f45dcec5e59f076ac75fa61b3' [crates.aws-sdk-sagemakerruntime] @@ -1622,55 +1622,55 @@ model_hash = '0f176c6a5183237d00d70e6f07bc3050f725f465c7d0f66c991bb43941961762' [crates.aws-sdk-savingsplans] category = 'AwsSdk' version = '0.22.0' -source_hash = '722fab84f1588b0f1ed0880995ca7711698fd8d6d5d5cd5da72ac0390f6aabf8' +source_hash = 'e23733e74cc30f2286b36ad1c22aa2042a2b88982b3561055a089167f355809f' model_hash = '5ddcf9a75171586de55ec22025f15e1d5713c8ea84c3ae9e01bef948c81fea3f' [crates.aws-sdk-schemas] category = 'AwsSdk' version = '0.22.0' -source_hash = 'de03fffa3f7037b62b5c7eaaa16f84692e1a27e7e3e5141ec6ca4fd04d8fd12e' +source_hash = 'a1896117077f329548bc990744b0d245148aa1c1be6f1b8417d774daeea27506' model_hash = '2fbef4f478fcfcb6aacdd65e91dd2174c4dd6514cd8570f0085cce8fc6a202f6' [crates.aws-sdk-secretsmanager] category = 'AwsSdk' version = '0.22.0' -source_hash = '8fdb39f318fb7ff45bf0c809b310f7c5748de224bc72bf126860e0f045775ef7' +source_hash = 'fac29082c7691925b242325799f8b73a7beac05e2ada84282a22130468ee32d2' model_hash = 'e161ee663ba442f81f9baa3b0ff8d13ad86b251ec48b0ff59dab9fe2856ed1e3' [crates.aws-sdk-securityhub] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b266c62237f82a6425e5aa61804b98a52b556cfe37b4198a67b9b0051b9ac0ba' +source_hash = '08c7fde31854eb51e4a9d6182b00de740184be2655a67aedd06f23a4b3239e51' model_hash = 'a4b66ba5dfd4341ea8b78770153e6f949ad3ba4614220ba8ff31d644dc8e5b88' [crates.aws-sdk-serverlessapplicationrepository] category = 'AwsSdk' version = '0.22.0' -source_hash = '8b06b2a9a6eb74c1cb361eb55328b2b33a078d307265b6fbe584ebc12741d28d' +source_hash = 'f8664340258583e8172c71c32a93e2252f303e6781ce854289d2d9e6c7a13c35' model_hash = '86c8d9b932c05e1c0a5fb994dfd92d5796b2efb1669754635fc2b815f598ce28' [crates.aws-sdk-servicecatalog] category = 'AwsSdk' version = '0.22.0' -source_hash = '25b0545343698f4e9d28f122f9f2fa211e27a1d90aa75f0fc569033ba05e5be4' +source_hash = 'd8f6cdbab112f9b15c40f319b08875c4553a077bad9c651f032842e344ca39be' model_hash = '9f6e6d06d8ebc9bda338415cfeef5114dedfe83eee3f025ab9617403b14dbc3e' [crates.aws-sdk-servicecatalogappregistry] category = 'AwsSdk' version = '0.22.0' -source_hash = '1a31297536ae01cb8ae2f9d44ecdfe3b73773d45d5a4be80019969ebac29bb53' +source_hash = '1803a64133648be87039cb89ae68b9588f629674a4c3168c1b0d4f561fc72ffa' model_hash = 'dd4106bbda9a07261464065372f27cf27ed147272b3c5140572c2161cd73734b' [crates.aws-sdk-servicediscovery] category = 'AwsSdk' version = '0.22.0' -source_hash = '1d9e3120a7aee91c5223a8deb5464d0397fde1517e4655856e7b2251e8d7a9e5' +source_hash = '753952b8c5d7af540d97f2206deea4877de1ceca8d205037c9cd6bf7a62a88e6' model_hash = '8a2026ea56c2e9947cabd0266bf6e2279eff46cd8aaf40952b0a6e93bfdc6fa2' [crates.aws-sdk-servicequotas] category = 'AwsSdk' version = '0.22.0' -source_hash = 'c6b400ef4e34aa2f95f821570f4f11402b8d37335c3e8b5582f3cde77390f7a8' +source_hash = '41784154f265e8cdbb1e6b9c1dc435e068932bae477aa3ebce5688c765b91ffb' model_hash = 'c3eb51e962d87b10a41249a0a04c385c86615e18181886c2de3b690c0bfab50d' [crates.aws-sdk-ses] @@ -1682,43 +1682,43 @@ model_hash = 'd7a8e8687812b755812b684b687e827b079725bcdd13f73a7bad8b1fb89b434c' [crates.aws-sdk-sesv2] category = 'AwsSdk' version = '0.22.0' -source_hash = '32c9ab299444c656cc476afece95733c30435d3bed12f6a3168b77130b1f1a34' +source_hash = 'e0d41133cd636b34a26dc028830a6c89ebaa73678a9088ae04c06a10c1a2c9b5' model_hash = '418227e38d79e960ef053bfeb1f5e26400d5d60c053d42b5bedcbb66cc32e8ba' [crates.aws-sdk-sfn] category = 'AwsSdk' version = '0.22.0' -source_hash = '20c195cd925aa4a9ab7a8cfc7ef4279d271ef4a91948bdf2d327a79d9acca5f2' +source_hash = '40afcaa2ba2f544251eb758a564ebac88d5209c091215edfcb4d22299b0d5625' model_hash = '1b150bed4049da115a2677b62f2aea2686fd4696edd5a163434af3a0c265516c' [crates.aws-sdk-shield] category = 'AwsSdk' version = '0.22.0' -source_hash = '45da2a8b51cac810001d1fb38a5827a61de7ee6e8f7b2fb7940d5e5fcdefd82e' +source_hash = '9250ab67f69f48d9f5545f87f1d5ec86889fa017f5c30bf5e77580b30405aa67' model_hash = 'a7958bbb902d07c7b5531e64c1453a5b7812ed2ff54810e8b3393b0582a81824' [crates.aws-sdk-signer] category = 'AwsSdk' version = '0.22.0' -source_hash = '9c9d488761b613bb31c04de33496d1dc23121c8b4874589ba3e99e23f7d88515' +source_hash = '7e362507025ef653edc828d8c9bab31ff25963e3e012acc98f775421aae9140f' model_hash = '8b441037c2fce05fc67bf39b9ef36703b967eb20618746066b068d921b0422f7' [crates.aws-sdk-sms] category = 'AwsSdk' version = '0.22.0' -source_hash = '3c286ebd44137b60e69c21cc42fa24e9ad9e6cc3bc7eceb7936e3d9b4847d088' +source_hash = '2ac7a4c74aed9446b6b683e1b75e15dd247dfdcf9580a96e907de2183e7f11fa' model_hash = '278264663bbb3b8dcef240567121356bfc445b085427b732e9d5bf3063b3f2d1' [crates.aws-sdk-snowball] category = 'AwsSdk' version = '0.22.0' -source_hash = '35f17f31515f07c4253eee0085a694e353d9f46c9ba5cfe958a0d41b6ad49eef' +source_hash = '01ade35911d7f3cd69487cc8b175fad5bfe3971ddc733b6e98021bc409980d44' model_hash = 'c92bf2477bd26c1c823342a33d89393525c5caa0a5e889838268abfe24ab8394' [crates.aws-sdk-snowdevicemanagement] category = 'AwsSdk' version = '0.22.0' -source_hash = 'dede37ab1fc3bcddb83aeb1950ff9c77c04fe914d334153cee0b2e02b5ac5949' +source_hash = '461d0f0d8815a676b7de52742c6a317c546c57268a68d535cadbfbcae4362e5b' model_hash = '1b4119453d1c66cabe13f6160cc1446b56f1e08ce3f1a97c66abca613f302c3f' [crates.aws-sdk-sns] @@ -1736,19 +1736,19 @@ model_hash = '8605d972628c28123ca98815c32ea71e30b51fa2142dd155292b82c305a49589' [crates.aws-sdk-ssm] category = 'AwsSdk' version = '0.22.0' -source_hash = '462193a270a980a7ad1361fff86d1e22f891f8774eddac94fe577d38ff4a1c65' +source_hash = '592ce15c1bc5beb26607bd4345a9c623318de7b03eef846a7079da58fda814ae' model_hash = 'aea73b3d14664e48b8bed5db8fbb39908078c26c38acae0639f6fb232f4a4897' [crates.aws-sdk-ssmcontacts] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd447680bea4b5660927bcc1c16657725df0cfd1ca2cc3ad280a42302e06d80ce' +source_hash = '3a7c0fdf14acb232225ba4d9dfb5b735fc452a573b1ec65526f7a7246aa10fec' model_hash = '8f67ec43ee894c206cb1bb3152e93b0c774f671660b2c6d6ea4a6db59948ee67' [crates.aws-sdk-ssmincidents] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e767b983308d881aba8e3afcc4654b58e1b633ad60edd2663a39763622e49e4a' +source_hash = 'b2575286e27185b4718a58207fdeff2d5abe3abb6af081d98363bcfb157d70e4' model_hash = '565831ccb6753b9a78d869bc4528c96449f4ceea78f28d6ea84abf6e6f227c85' [crates.aws-sdk-sso] @@ -1760,7 +1760,7 @@ model_hash = 'cd192ec4345c88eb2a75cf5ef46ca7d4ff6da1398f0c0777318f0323325a91ba' [crates.aws-sdk-ssoadmin] category = 'AwsSdk' version = '0.22.0' -source_hash = 'ab405462a8af38f03e9e5c8bda71f77e13eff64a37fd98fcc66ec026b29da17a' +source_hash = '1bfcf37584afd8906b139b783c61dd13329d6b7d97003b13971cd93d8ba08395' model_hash = 'f67294ced86b82cf0e0b364d3c1b4a8af88f24133c2bfaaf316ca55e39cf9d8c' [crates.aws-sdk-ssooidc] @@ -1772,7 +1772,7 @@ model_hash = '8a7c3a2b10dc843916c49f2ea3eb9083da7f5a29641b2d9ee1f80fb73385c697' [crates.aws-sdk-storagegateway] category = 'AwsSdk' version = '0.22.0' -source_hash = '83c1cd3dce25996a1eaae4b2e7a1948c1f9da14f1671b2b19d6cd5898db19867' +source_hash = '455ddd1e7b3b92325bdb7ae77a0704b1dc473a7730eae9ed5db124c83e94878b' model_hash = '54139fc3fc1fd589519bd4c235287e27c396bd3f99efea9aa7b0d1a741b78a6b' [crates.aws-sdk-sts] @@ -1784,7 +1784,7 @@ model_hash = 'e8df9ce7bb70cf8b4262575e6bdc47167bbf2d1d89b6fbcab51105dcbd75861b' [crates.aws-sdk-support] category = 'AwsSdk' version = '0.22.0' -source_hash = 'b22bf3a0a9d4703484415118c4a783841f9b0efaa688d78d11362e27eb593fd0' +source_hash = '866994b092456561c624725ca130348c28d1fba364f4997056a6dd5f23c2de06' model_hash = 'b89aad1cc796802bf254d1795814b8547561505f82f6f50a1717da49009896b9' [crates.aws-sdk-supportapp] @@ -1796,25 +1796,25 @@ model_hash = 'a30d5b16ac074725e859fdb6c9e1f6cedeab2d0a7422057788ae090623e0a3ba' [crates.aws-sdk-swf] category = 'AwsSdk' version = '0.22.0' -source_hash = 'd91d5cde0b716be3166d3d5f2323f98cf13666ce67e05f1c39439346e13a9d97' +source_hash = 'c8be29665273c84a6d4a85e03fc6da1fba0fa37228639c930c0700893cb9370b' model_hash = '1702b2b1ed200ee1e294b897f0683ff503e52489bfc9d8882a37b1edd86e55a1' [crates.aws-sdk-synthetics] category = 'AwsSdk' version = '0.22.0' -source_hash = '339c2abdf27a002ee516b41add114d02bdf8e2ab1ea0b4f5500959dffe0ffad1' +source_hash = '3acfadcae3216ffaffda6e6f51b19a40a81bd4beba7791e165a62413588c7803' model_hash = 'fb9e61c8966a69b1457fa0c98d17e5b3a68ac510ec40a08abd7f81e4423a496c' [crates.aws-sdk-textract] category = 'AwsSdk' version = '0.22.0' -source_hash = '4320873cc3a79de6cd5e3e0d60e0e10a80c9d571ffd20b0af077439ad7faaeb6' +source_hash = '66db70635a12e4ae70961e5ba234e397d57ba1020c2477e65d9efd34488ea08f' model_hash = '851bc37edf852d845b0188cadff543a07129beb734d1e651b11bc670e343e1d5' [crates.aws-sdk-transcribe] category = 'AwsSdk' version = '0.22.0' -source_hash = '2336d48c63b53e7e2bac71e3ea9e23c583dbbdd1b6047890593a26213b721edb' +source_hash = '98df2fb58c8b442a7482b9c4c66b3285b553a5dbae7a96460056e0aaf5e1c063' model_hash = '453fcc676721680986539f1a309f13b5b906f281cd208838d9ffc774b5283198' [crates.aws-sdk-transcribestreaming] @@ -1826,91 +1826,91 @@ model_hash = 'cc7cdf8416002f98beb62392fac90b2428afa7f890519647a0ff1c3686251f60' [crates.aws-sdk-transfer] category = 'AwsSdk' version = '0.22.0' -source_hash = '9062833ed06d80b337c54cf8d6605981332ecf0d455a07760de21cea1673dedd' +source_hash = '489538bf9adceb9e4994c4e4711e589db0d9a843e1b8961f00eb827ae879d0b2' model_hash = '406749c7e185e67b391cfe86dc3a207c771f2ed09df50edc81869bff646829b7' [crates.aws-sdk-translate] category = 'AwsSdk' version = '0.22.0' -source_hash = '7ed7dbc7f3eaec9a74a5f77984d7d9dea65a3175256dc9841fb1769ae0f3ee60' +source_hash = 'a63c042978319d50f988219e7927223c7b7a4d3d889eb45924bf79ae07720d19' model_hash = '3fa56bb7949b3996ef7ac29f8a0f51dbca9d83203a5a94378b180f6545aac615' [crates.aws-sdk-voiceid] category = 'AwsSdk' version = '0.22.0' -source_hash = '5f98b2a729c884879e20309eb8dffaa5a23da3b09b9b433a041b88da66e1707f' +source_hash = '1f58d863fea029c3b156094168afb1ed5c7db127e037f496d283e647a703b2d3' model_hash = '497b9bd9553f6c5564038de566bd856bb6be072c90d994c75443ab37d4b18575' [crates.aws-sdk-waf] category = 'AwsSdk' version = '0.22.0' -source_hash = 'e40be7664bd01ffa52c4f20c2922e0d2b4779cad1a8849fb0041a107ffbc11ba' +source_hash = 'e19e49739f5b4fa8ec01c7e57dd2b3110d5b4ad11cf5d3b889b3a909f39aafd1' model_hash = '63de6aea71a2e4dd2a55e98c0b2fae2e66c0da429f24556fd1f171e042db58f5' [crates.aws-sdk-wafregional] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a2b3f4391834df9f89fd767ed1a88c79bcb2819ac1e5e4af77f490943dd3a361' +source_hash = '7ea44e1bea1a197d3b3fa3ae31447fac2683285df4b42e1c9817cbbfcd5945ae' model_hash = '8706b90778274f947fd0911c5edd5971e030f5f066ce2c920b4305fdf43f00fa' [crates.aws-sdk-wafv2] category = 'AwsSdk' version = '0.22.0' -source_hash = 'bdb1999eb8d638f2cbef251ffba742b9792405a81c1d60b93ce2b6b16035b5ae' +source_hash = 'c196c0c3acb6ae9ae6a9ccac47ba222ee5482f0b64bbce757d62d8ffb4d3f386' model_hash = '16d1b44f79c9c0f760792f77cf7d628bb4556af996cb47f8270b7670b6bace47' [crates.aws-sdk-wellarchitected] category = 'AwsSdk' version = '0.22.0' -source_hash = '50016bb1464b1d5d5c94dd012311f68f0be358cf53f3215d40bc57f9942039bf' +source_hash = '46455eae6e7f40c959e127d4ea0e6445b3bdb863c5119e54f77b019a1c7f5ef6' model_hash = '5a7024dbbb081ce92ede41c01a0a91199b422b745a0b6c2723958a0e3e375730' [crates.aws-sdk-wisdom] category = 'AwsSdk' version = '0.22.0' -source_hash = '1799d99f4687ad65c022aa9d6f397d49cbdaae8ef61d6f013b97432453e2a6e7' +source_hash = 'f1ca2a1a673d941fe0a32fcb836a6bcba21e9fbaf08bc75d842c2ffcc4692f75' model_hash = 'fa242b35fe2d66a04abbe6e08fcf257e762a30ff801bf1530fecf3e49d6fd7e8' [crates.aws-sdk-workdocs] category = 'AwsSdk' version = '0.22.0' -source_hash = '18ce474a6f64bb49a5811a5bcffcaac1147befae4b92e03f6ad7de287f128da7' +source_hash = 'e68383b61b323402a2e0b52509fc16154e6c77d2364921a5dec66440e74ec4d6' model_hash = '5de76755b62957530a8d89749e3e0211fc2c0d64e96dfb00dc89c54251ce2116' [crates.aws-sdk-worklink] category = 'AwsSdk' version = '0.22.0' -source_hash = '41b1bdc55b217c528382e86fa7d706a30b9c47c48fcf8c6ba747aa94211e43a0' +source_hash = 'd794d6f789e60539e5ebdc011a4febd944604d140835492c52439bcc12c746c5' model_hash = '42ab7728c4db46619a4f903f5242c554ffe07f09d671738fadd67d2a47d5cb57' [crates.aws-sdk-workmail] category = 'AwsSdk' version = '0.22.0' -source_hash = 'eb153b73620820fc85d98e1bbc08f4846ff4a914e06b7a207b4918de8c7ec0e7' +source_hash = 'd7d9b156c922624ddb3818be39f519f9767a1254e4eb3107b1e58415ed97a4c1' model_hash = '4dd493ef81f306793a4dd55f5f5a01bf7dfe859109c2fc796830bfa7a47c10ad' [crates.aws-sdk-workmailmessageflow] category = 'AwsSdk' version = '0.22.0' -source_hash = 'bcd410f5f9e65ddb13bc53de86b14e77ad18727821574633f4fcca1f41649cee' +source_hash = '25a8db1b5a53546ff7fb36c3e23b4ef55af29185a51d763edae4344e22802262' model_hash = 'b8a4bf3ecfd38841a59ea1d3e3c967bd2765e45a8962425555c036de77f81c0f' [crates.aws-sdk-workspaces] category = 'AwsSdk' version = '0.22.0' -source_hash = 'a43f1293ffe060c9121f68112d87878aefb413b0b64d8d9de7839a3c5f5de727' +source_hash = 'ba282307e43410b84e1b80b1ace747d06be928970e4e6d7120eb9e8853becf73' model_hash = '2464eb443bba8e342f88e6941ac7dba6634e8bac9e784865b21c3bb9bc5f33fc' [crates.aws-sdk-workspacesweb] category = 'AwsSdk' version = '0.22.0' -source_hash = '00331d2df42b8cadb1aa42359dd7916e01cb30d0a3bdcc3979721e5e94dd10b5' +source_hash = '478cccb51e69b079602a2ce51a08b279972793efdc4d9a918d859cc4714fd88c' model_hash = 'f18925934cf544ffd8b326d36a5c7356336a04d3f7cd891f306d968426445d56' [crates.aws-sdk-xray] category = 'AwsSdk' version = '0.22.0' -source_hash = '7b2c0c75ffae51d9592f9a13db4456dcfc7b7d7598b12730668146b707cdcf33' +source_hash = '33103ef41c2f4aeffda32bd00a19a63c5ffdc51732e08c4b494a7d50c9caa77d' model_hash = 'a9e91de5a22903f92c1f17f2f9d3a91c076d6f2169244c58cd73430b071077e2' [crates.aws-sig-auth]