aws_sdk_ivs/client/
stop_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 [`StopStream`](crate::operation::stop_stream::builders::StopStreamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`channel_arn(impl Into<String>)`](crate::operation::stop_stream::builders::StopStreamFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::stop_stream::builders::StopStreamFluentBuilder::set_channel_arn):<br>required: **true**<br><p>ARN of the channel for which the stream is to be stopped.</p><br>
7    /// - On success, responds with [`StopStreamOutput`](crate::operation::stop_stream::StopStreamOutput)
8    /// - On failure, responds with [`SdkError<StopStreamError>`](crate::operation::stop_stream::StopStreamError)
9    pub fn stop_stream(&self) -> crate::operation::stop_stream::builders::StopStreamFluentBuilder {
10        crate::operation::stop_stream::builders::StopStreamFluentBuilder::new(self.handle.clone())
11    }
12}