1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetChannel`](crate::operation::get_channel::builders::GetChannelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_group_name(impl Into<String>)`](crate::operation::get_channel::builders::GetChannelFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::get_channel::builders::GetChannelFluentBuilder::set_channel_group_name):<br>required: **true**<br><p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p><br>
    ///   - [`channel_name(impl Into<String>)`](crate::operation::get_channel::builders::GetChannelFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::get_channel::builders::GetChannelFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p><br>
    /// - On success, responds with [`GetChannelOutput`](crate::operation::get_channel::GetChannelOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::get_channel::GetChannelOutput::arn): <p>The Amazon Resource Name (ARN) associated with the resource.</p>
    ///   - [`channel_name(String)`](crate::operation::get_channel::GetChannelOutput::channel_name): <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
    ///   - [`channel_group_name(String)`](crate::operation::get_channel::GetChannelOutput::channel_group_name): <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_channel::GetChannelOutput::created_at): <p>The date and time the channel was created.</p>
    ///   - [`modified_at(DateTime)`](crate::operation::get_channel::GetChannelOutput::modified_at): <p>The date and time the channel was modified.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_channel::GetChannelOutput::description): <p>The description for your channel.</p>
    ///   - [`ingest_endpoints(Option<Vec::<IngestEndpoint>>)`](crate::operation::get_channel::GetChannelOutput::ingest_endpoints): <p>The list of ingest endpoints.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_channel::GetChannelOutput::tags): <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
    /// - On failure, responds with [`SdkError<GetChannelError>`](crate::operation::get_channel::GetChannelError)
    pub fn get_channel(&self) -> crate::operation::get_channel::builders::GetChannelFluentBuilder {
        crate::operation::get_channel::builders::GetChannelFluentBuilder::new(self.handle.clone())
    }
}