aws_sdk_ivs/client/get_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 [`GetChannel`](crate::operation::get_channel::builders::GetChannelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::get_channel::builders::GetChannelFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_channel::builders::GetChannelFluentBuilder::set_arn):<br>required: **true**<br><p>ARN of the channel for which the configuration is to be retrieved.</p><br>
7 /// - On success, responds with [`GetChannelOutput`](crate::operation::get_channel::GetChannelOutput) with field(s):
8 /// - [`channel(Option<Channel>)`](crate::operation::get_channel::GetChannelOutput::channel): <p></p>
9 /// - On failure, responds with [`SdkError<GetChannelError>`](crate::operation::get_channel::GetChannelError)
10 pub fn get_channel(&self) -> crate::operation::get_channel::builders::GetChannelFluentBuilder {
11 crate::operation::get_channel::builders::GetChannelFluentBuilder::new(self.handle.clone())
12 }
13}