aws_sdk_ssooidc/protocol_serde/
shape_start_device_authorization_input.rspub fn ser_start_device_authorization_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::start_device_authorization::StartDeviceAuthorizationInput,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.client_id {
object.key("clientId").string(var_1.as_str());
}
if let Some(var_2) = &input.client_secret {
object.key("clientSecret").string(var_2.as_str());
}
if let Some(var_3) = &input.start_url {
object.key("startUrl").string(var_3.as_str());
}
Ok(())
}