aws_sdk_appflow/client/
delete_flow.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 [`DeleteFlow`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`flow_name(impl Into<String>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::flow_name) / [`set_flow_name(Option<String>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::set_flow_name):<br>required: **true**<br><p>The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.</p><br>
7    ///   - [`force_delete(bool)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::force_delete) / [`set_force_delete(Option<bool>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::set_force_delete):<br>required: **false**<br><p>Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.</p><br>
8    /// - On success, responds with [`DeleteFlowOutput`](crate::operation::delete_flow::DeleteFlowOutput)
9    /// - On failure, responds with [`SdkError<DeleteFlowError>`](crate::operation::delete_flow::DeleteFlowError)
10    pub fn delete_flow(&self) -> crate::operation::delete_flow::builders::DeleteFlowFluentBuilder {
11        crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::new(self.handle.clone())
12    }
13}