aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(unused_mut)]
pub fn ser_baseline_performance_factors_request(
    mut writer: ::aws_smithy_query::QueryValueWriter,
    input: &crate::types::BaselinePerformanceFactorsRequest,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    #[allow(unused_mut)]
    let mut scope_1 = writer.prefix("Cpu");
    if let Some(var_2) = &input.cpu {
        crate::protocol_serde::shape_cpu_performance_factor_request::ser_cpu_performance_factor_request(scope_1, var_2)?;
    }
    Ok(())
}