aws_sdk_sagemaker/protocol_serde/
shape_retry_pipeline_execution_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_retry_pipeline_execution_input_input(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::operation::retry_pipeline_execution::RetryPipelineExecutionInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    if let Some(var_1) = &input.pipeline_execution_arn {
7        object.key("PipelineExecutionArn").string(var_1.as_str());
8    }
9    if let Some(var_2) = &input.client_request_token {
10        object.key("ClientRequestToken").string(var_2.as_str());
11    }
12    if let Some(var_3) = &input.parallelism_configuration {
13        #[allow(unused_mut)]
14        let mut object_4 = object.key("ParallelismConfiguration").start_object();
15        crate::protocol_serde::shape_parallelism_configuration::ser_parallelism_configuration(&mut object_4, var_3)?;
16        object_4.finish();
17    }
18    Ok(())
19}