1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateChannel`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_group_name(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::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::update_channel::builders::UpdateChannelFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::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>
    ///   - [`description(impl Into<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_channel::builders::UpdateChannelFluentBuilder::set_description):<br>required: **false**<br><p>Any descriptive information that you want to add to the channel for future identification purposes.</p><br>
    /// - On success, responds with [`UpdateChannelOutput`](crate::operation::update_channel::UpdateChannelOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::update_channel::UpdateChannelOutput::arn): <p>The Amazon Resource Name (ARN) associated with the resource.</p>
    ///   - [`channel_name(String)`](crate::operation::update_channel::UpdateChannelOutput::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::update_channel::UpdateChannelOutput::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::update_channel::UpdateChannelOutput::created_at): <p>The date and time the channel was created.</p>
    ///   - [`modified_at(DateTime)`](crate::operation::update_channel::UpdateChannelOutput::modified_at): <p>The date and time the channel was modified.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_channel::UpdateChannelOutput::description): <p>The description for your channel.</p>
    ///   - [`ingest_endpoints(Option<Vec::<IngestEndpoint>>)`](crate::operation::update_channel::UpdateChannelOutput::ingest_endpoints): <p>The list of ingest endpoints.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_channel::UpdateChannelOutput::tags): <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
    /// - On failure, responds with [`SdkError<UpdateChannelError>`](crate::operation::update_channel::UpdateChannelError)
    pub fn update_channel(&self) -> crate::operation::update_channel::builders::UpdateChannelFluentBuilder {
        crate::operation::update_channel::builders::UpdateChannelFluentBuilder::new(self.handle.clone())
    }
}