aws_sdk_ecs/protocol_serde/
shape_delete_capacity_provider_input.rs1pub fn ser_delete_capacity_provider_input_input(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::operation::delete_capacity_provider::DeleteCapacityProviderInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.capacity_provider {
7 object.key("capacityProvider").string(var_1.as_str());
8 }
9 if let Some(var_2) = &input.cluster {
10 object.key("cluster").string(var_2.as_str());
11 }
12 Ok(())
13}