aws-sdk-datazone 1.136.0

AWS SDK for Amazon DataZone
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_accepted_asset_scope(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::AcceptedAssetScope,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("assetId").string(input.asset_id.as_str());
    }
    {
        let mut array_1 = object.key("filterIds").start_array();
        for item_2 in &input.filter_ids {
            {
                array_1.value().string(item_2.as_str());
            }
        }
        array_1.finish();
    }
    Ok(())
}