aws-sdk-iot 1.124.0

AWS SDK for AWS IoT
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_influx_db_destination_configuration(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::InfluxDbDestinationConfiguration,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("endpoint").string(input.endpoint.as_str());
    }
    {
        object.key("influxDBVersion").string(input.influx_db_version.as_str());
    }
    {
        object.key("secretId").string(input.secret_id.as_str());
    }
    if let Some(var_1) = &input.secret_type {
        object.key("secretType").string(var_1.as_str());
    }
    if let Some(var_2) = &input.secret_key {
        object.key("secretKey").string(var_2.as_str());
    }
    Ok(())
}