aws_sdk_secretsmanager/protocol_serde/
shape_remove_regions_from_replication_input.rspub fn ser_remove_regions_from_replication_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::remove_regions_from_replication::RemoveRegionsFromReplicationInput,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.secret_id {
object.key("SecretId").string(var_1.as_str());
}
if let Some(var_2) = &input.remove_replica_regions {
let mut array_3 = object.key("RemoveReplicaRegions").start_array();
for item_4 in var_2 {
{
array_3.value().string(item_4.as_str());
}
}
array_3.finish();
}
Ok(())
}