aws_sdk_mediaconnect/client/update_flow_media_stream.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 [`UpdateFlowMediaStream`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`attributes(MediaStreamAttributesRequest)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::attributes) / [`set_attributes(Option<MediaStreamAttributesRequest>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_attributes):<br>required: **false**<br><p>The attributes that you want to assign to the media stream.</p><br>
7 /// - [`clock_rate(i32)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::clock_rate) / [`set_clock_rate(Option<i32>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_clock_rate):<br>required: **false**<br><p>The sample rate for the stream. This value in measured in kHz.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_description):<br>required: **false**<br><p>A description that can help you quickly identify what your media stream is used for.</p><br>
9 /// - [`flow_arn(impl Into<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_flow_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the flow that is associated with the media stream that you updated.</p><br>
10 /// - [`media_stream_name(impl Into<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::media_stream_name) / [`set_media_stream_name(Option<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_media_stream_name):<br>required: **true**<br><p>The media stream that you updated.</p><br>
11 /// - [`media_stream_type(MediaStreamType)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::media_stream_type) / [`set_media_stream_type(Option<MediaStreamType>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_media_stream_type):<br>required: **false**<br><p>The type of media stream.</p><br>
12 /// - [`video_format(impl Into<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::video_format) / [`set_video_format(Option<String>)`](crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::set_video_format):<br>required: **false**<br><p>The resolution of the video.</p><br>
13 /// - On success, responds with [`UpdateFlowMediaStreamOutput`](crate::operation::update_flow_media_stream::UpdateFlowMediaStreamOutput) with field(s):
14 /// - [`flow_arn(Option<String>)`](crate::operation::update_flow_media_stream::UpdateFlowMediaStreamOutput::flow_arn): <p>The ARN of the flow that is associated with the media stream that you updated.</p>
15 /// - [`media_stream(Option<MediaStream>)`](crate::operation::update_flow_media_stream::UpdateFlowMediaStreamOutput::media_stream): <p>The media stream that you updated.</p>
16 /// - On failure, responds with [`SdkError<UpdateFlowMediaStreamError>`](crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError)
17 pub fn update_flow_media_stream(&self) -> crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder {
18 crate::operation::update_flow_media_stream::builders::UpdateFlowMediaStreamFluentBuilder::new(self.handle.clone())
19 }
20}