aws_sdk_migrationhuborchestrator/client/update_workflow.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 [`UpdateWorkflow`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the migration workflow.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_name):<br>required: **false**<br><p>The name of the migration workflow.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_description):<br>required: **false**<br><p>The description of the migration workflow.</p><br>
9 /// - [`input_parameters(impl Into<String>, StepInput)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::input_parameters) / [`set_input_parameters(Option<HashMap::<String, StepInput>>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_input_parameters):<br>required: **false**<br><p>The input parameters required to update a migration workflow.</p><br>
10 /// - [`step_targets(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::step_targets) / [`set_step_targets(Option<Vec::<String>>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_step_targets):<br>required: **false**<br><p>The servers on which a step will be run.</p><br>
11 /// - On success, responds with [`UpdateWorkflowOutput`](crate::operation::update_workflow::UpdateWorkflowOutput) with field(s):
12 /// - [`id(Option<String>)`](crate::operation::update_workflow::UpdateWorkflowOutput::id): <p>The ID of the migration workflow.</p>
13 /// - [`arn(Option<String>)`](crate::operation::update_workflow::UpdateWorkflowOutput::arn): <p>The Amazon Resource Name (ARN) of the migration workflow.</p>
14 /// - [`name(Option<String>)`](crate::operation::update_workflow::UpdateWorkflowOutput::name): <p>The name of the migration workflow.</p>
15 /// - [`description(Option<String>)`](crate::operation::update_workflow::UpdateWorkflowOutput::description): <p>The description of the migration workflow.</p>
16 /// - [`template_id(Option<String>)`](crate::operation::update_workflow::UpdateWorkflowOutput::template_id): <p>The ID of the template.</p>
17 /// - [`ads_application_configuration_id(Option<String>)`](crate::operation::update_workflow::UpdateWorkflowOutput::ads_application_configuration_id): <p>The ID of the application configured in Application Discovery Service.</p>
18 /// - [`workflow_inputs(Option<HashMap::<String, StepInput>>)`](crate::operation::update_workflow::UpdateWorkflowOutput::workflow_inputs): <p>The inputs required to update a migration workflow.</p>
19 /// - [`step_targets(Option<Vec::<String>>)`](crate::operation::update_workflow::UpdateWorkflowOutput::step_targets): <p>The servers on which a step will be run.</p>
20 /// - [`status(Option<MigrationWorkflowStatusEnum>)`](crate::operation::update_workflow::UpdateWorkflowOutput::status): <p>The status of the migration workflow.</p>
21 /// - [`creation_time(Option<DateTime>)`](crate::operation::update_workflow::UpdateWorkflowOutput::creation_time): <p>The time at which the migration workflow was created.</p>
22 /// - [`last_modified_time(Option<DateTime>)`](crate::operation::update_workflow::UpdateWorkflowOutput::last_modified_time): <p>The time at which the migration workflow was last modified.</p>
23 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_workflow::UpdateWorkflowOutput::tags): <p>The tags added to the migration workflow.</p>
24 /// - On failure, responds with [`SdkError<UpdateWorkflowError>`](crate::operation::update_workflow::UpdateWorkflowError)
25 pub fn update_workflow(&self) -> crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder {
26 crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::new(self.handle.clone())
27 }
28}