aws-sdk-mediaconnect 0.27.0

AWS SDK for AWS MediaConnect
Documentation
// 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): The Amazon Resource Name (ARN) of the flow.
    ///   - [`media_streams(Vec<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): The media streams that you want to add to the flow.
    /// - 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(),
        )
    }
}