aws_sdk_migrationhuborchestrator/client/delete_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 [`DeleteWorkflow`](crate::operation::delete_workflow::builders::DeleteWorkflowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::delete_workflow::builders::DeleteWorkflowFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_workflow::builders::DeleteWorkflowFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the migration workflow you want to delete.</p><br>
7 /// - On success, responds with [`DeleteWorkflowOutput`](crate::operation::delete_workflow::DeleteWorkflowOutput) with field(s):
8 /// - [`id(Option<String>)`](crate::operation::delete_workflow::DeleteWorkflowOutput::id): <p>The ID of the migration workflow.</p>
9 /// - [`arn(Option<String>)`](crate::operation::delete_workflow::DeleteWorkflowOutput::arn): <p>The Amazon Resource Name (ARN) of the migration workflow.</p>
10 /// - [`status(Option<MigrationWorkflowStatusEnum>)`](crate::operation::delete_workflow::DeleteWorkflowOutput::status): <p>The status of the migration workflow.</p>
11 /// - On failure, responds with [`SdkError<DeleteWorkflowError>`](crate::operation::delete_workflow::DeleteWorkflowError)
12 pub fn delete_workflow(&self) -> crate::operation::delete_workflow::builders::DeleteWorkflowFluentBuilder {
13 crate::operation::delete_workflow::builders::DeleteWorkflowFluentBuilder::new(self.handle.clone())
14 }
15}