aws_sdk_kms/protocol_serde/
shape_get_key_rotation_status_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_get_key_rotation_status_input_input(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::operation::get_key_rotation_status::GetKeyRotationStatusInput,
5) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    if let Some(var_1) = &input.key_id {
7        object.key("KeyId").string(var_1.as_str());
8    }
9    Ok(())
10}