Skip to main content

aws_sdk_sqs/protocol_serde/
shape_purge_queue_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_purge_queue_input_input(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::operation::purge_queue::PurgeQueueInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    if let Some(var_1) = &input.queue_url {
7        object.key("QueueUrl").string(var_1.as_str());
8    }
9    Ok(())
10}