aws_sdk_migrationhuborchestrator/client/start_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 [`StartWorkflow`](crate::operation::start_workflow::builders::StartWorkflowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::start_workflow::builders::StartWorkflowFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::start_workflow::builders::StartWorkflowFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the migration workflow.</p><br>
7 /// - On success, responds with [`StartWorkflowOutput`](crate::operation::start_workflow::StartWorkflowOutput) with field(s):
8 /// - [`id(Option<String>)`](crate::operation::start_workflow::StartWorkflowOutput::id): <p>The ID of the migration workflow.</p>
9 /// - [`arn(Option<String>)`](crate::operation::start_workflow::StartWorkflowOutput::arn): <p>The Amazon Resource Name (ARN) of the migration workflow.</p>
10 /// - [`status(Option<MigrationWorkflowStatusEnum>)`](crate::operation::start_workflow::StartWorkflowOutput::status): <p>The status of the migration workflow.</p>
11 /// - [`status_message(Option<String>)`](crate::operation::start_workflow::StartWorkflowOutput::status_message): <p>The status message of the migration workflow.</p>
12 /// - [`last_start_time(Option<DateTime>)`](crate::operation::start_workflow::StartWorkflowOutput::last_start_time): <p>The time at which the migration workflow was last started.</p>
13 /// - On failure, responds with [`SdkError<StartWorkflowError>`](crate::operation::start_workflow::StartWorkflowError)
14 pub fn start_workflow(&self) -> crate::operation::start_workflow::builders::StartWorkflowFluentBuilder {
15 crate::operation::start_workflow::builders::StartWorkflowFluentBuilder::new(self.handle.clone())
16 }
17}