aws-sdk-imagebuilder 1.110.0

AWS SDK for EC2 Image Builder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_resource_state_update_include_resources(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::ResourceStateUpdateIncludeResources,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if input.amis {
        object.key("amis").boolean(input.amis);
    }
    if input.snapshots {
        object.key("snapshots").boolean(input.snapshots);
    }
    if input.containers {
        object.key("containers").boolean(input.containers);
    }
    Ok(())
}