aws_sdk_mediaconnect/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_arn(impl Into<String>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::set_flow_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the flow that you want to delete.</p><br>
7 /// - On success, responds with [`DeleteFlowOutput`](crate::operation::delete_flow::DeleteFlowOutput) with field(s):
8 /// - [`flow_arn(Option<String>)`](crate::operation::delete_flow::DeleteFlowOutput::flow_arn): <p>The ARN of the flow that was deleted.</p>
9 /// - [`status(Option<Status>)`](crate::operation::delete_flow::DeleteFlowOutput::status): <p>The status of the flow when the <code>DeleteFlow</code> process begins.</p>
10 /// - On failure, responds with [`SdkError<DeleteFlowError>`](crate::operation::delete_flow::DeleteFlowError)
11 pub fn delete_flow(&self) -> crate::operation::delete_flow::builders::DeleteFlowFluentBuilder {
12 crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::new(self.handle.clone())
13 }
14}