aws_sdk_mediaconnect/client/
remove_flow_source.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 [`RemoveFlowSource`](crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`flow_arn(impl Into<String>)`](crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder::set_flow_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the flow that you want to remove a source from.</p><br>
7    ///   - [`source_arn(impl Into<String>)`](crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder::source_arn) / [`set_source_arn(Option<String>)`](crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder::set_source_arn):<br>required: **true**<br><p>The ARN of the source that you want to remove.</p><br>
8    /// - On success, responds with [`RemoveFlowSourceOutput`](crate::operation::remove_flow_source::RemoveFlowSourceOutput) with field(s):
9    ///   - [`flow_arn(Option<String>)`](crate::operation::remove_flow_source::RemoveFlowSourceOutput::flow_arn): <p>The ARN of the flow that the source was removed from.</p>
10    ///   - [`source_arn(Option<String>)`](crate::operation::remove_flow_source::RemoveFlowSourceOutput::source_arn): <p>The ARN of the source that was removed.</p>
11    /// - On failure, responds with [`SdkError<RemoveFlowSourceError>`](crate::operation::remove_flow_source::RemoveFlowSourceError)
12    pub fn remove_flow_source(&self) -> crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder {
13        crate::operation::remove_flow_source::builders::RemoveFlowSourceFluentBuilder::new(self.handle.clone())
14    }
15}