1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AddFlowMediaStreams`](crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`flow_arn(impl Into<String>)`](crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder::set_flow_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the flow.<br>
    ///   - [`media_streams(AddMediaStreamRequest)`](crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder::media_streams) / [`set_media_streams(Option<Vec::<AddMediaStreamRequest>>)`](crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder::set_media_streams):<br>required: **true**<br>The media streams that you want to add to the flow.<br>
    /// - On success, responds with [`AddFlowMediaStreamsOutput`](crate::operation::add_flow_media_streams::AddFlowMediaStreamsOutput) with field(s):
    ///   - [`flow_arn(Option<String>)`](crate::operation::add_flow_media_streams::AddFlowMediaStreamsOutput::flow_arn): The ARN of the flow that you added media streams to.
    ///   - [`media_streams(Option<Vec::<MediaStream>>)`](crate::operation::add_flow_media_streams::AddFlowMediaStreamsOutput::media_streams): The media streams that you added to the flow.
    /// - On failure, responds with [`SdkError<AddFlowMediaStreamsError>`](crate::operation::add_flow_media_streams::AddFlowMediaStreamsError)
    pub fn add_flow_media_streams(&self) -> crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder {
        crate::operation::add_flow_media_streams::builders::AddFlowMediaStreamsFluentBuilder::new(self.handle.clone())
    }
}