aws_sdk_mediatailor/client/stop_channel.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 [`StopChannel`](crate::operation::stop_channel::builders::StopChannelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`channel_name(impl Into<String>)`](crate::operation::stop_channel::builders::StopChannelFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::stop_channel::builders::StopChannelFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name of the channel.</p><br>
7 /// - On success, responds with [`StopChannelOutput`](crate::operation::stop_channel::StopChannelOutput)
8 /// - On failure, responds with [`SdkError<StopChannelError>`](crate::operation::stop_channel::StopChannelError)
9 pub fn stop_channel(&self) -> crate::operation::stop_channel::builders::StopChannelFluentBuilder {
10 crate::operation::stop_channel::builders::StopChannelFluentBuilder::new(self.handle.clone())
11 }
12}