aws_sdk_migrationhuborchestrator/client/
get_template_step.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetTemplateStep`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the step.</p><br>
7    ///   - [`template_id(impl Into<String>)`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::set_template_id):<br>required: **true**<br><p>The ID of the template.</p><br>
8    ///   - [`step_group_id(impl Into<String>)`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::step_group_id) / [`set_step_group_id(Option<String>)`](crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::set_step_group_id):<br>required: **true**<br><p>The ID of the step group.</p><br>
9    /// - On success, responds with [`GetTemplateStepOutput`](crate::operation::get_template_step::GetTemplateStepOutput) with field(s):
10    ///   - [`id(Option<String>)`](crate::operation::get_template_step::GetTemplateStepOutput::id): <p>The ID of the step.</p>
11    ///   - [`step_group_id(Option<String>)`](crate::operation::get_template_step::GetTemplateStepOutput::step_group_id): <p>The ID of the step group.</p>
12    ///   - [`template_id(Option<String>)`](crate::operation::get_template_step::GetTemplateStepOutput::template_id): <p>The ID of the template.</p>
13    ///   - [`name(Option<String>)`](crate::operation::get_template_step::GetTemplateStepOutput::name): <p>The name of the step.</p>
14    ///   - [`description(Option<String>)`](crate::operation::get_template_step::GetTemplateStepOutput::description): <p>The description of the step.</p>
15    ///   - [`step_action_type(Option<StepActionType>)`](crate::operation::get_template_step::GetTemplateStepOutput::step_action_type): <p>The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.</p>
16    ///   - [`creation_time(Option<String>)`](crate::operation::get_template_step::GetTemplateStepOutput::creation_time): <p>The time at which the step was created.</p>
17    ///   - [`previous(Option<Vec::<String>>)`](crate::operation::get_template_step::GetTemplateStepOutput::previous): <p>The previous step.</p>
18    ///   - [`next(Option<Vec::<String>>)`](crate::operation::get_template_step::GetTemplateStepOutput::next): <p>The next step.</p>
19    ///   - [`outputs(Option<Vec::<StepOutput>>)`](crate::operation::get_template_step::GetTemplateStepOutput::outputs): <p>The outputs of the step.</p>
20    ///   - [`step_automation_configuration(Option<StepAutomationConfiguration>)`](crate::operation::get_template_step::GetTemplateStepOutput::step_automation_configuration): <p>The custom script to run tests on source or target environments.</p>
21    /// - On failure, responds with [`SdkError<GetTemplateStepError>`](crate::operation::get_template_step::GetTemplateStepError)
22    pub fn get_template_step(&self) -> crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder {
23        crate::operation::get_template_step::builders::GetTemplateStepFluentBuilder::new(self.handle.clone())
24    }
25}