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 [`CreateChannel`](crate::operation::create_channel::builders::CreateChannelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`description(impl Into<String>)`](crate::operation::create_channel::builders::CreateChannelFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_channel::builders::CreateChannelFluentBuilder::set_description):<br>required: **false**<br>A short text description of the Channel.<br>
    ///   - [`id(impl Into<String>)`](crate::operation::create_channel::builders::CreateChannelFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::create_channel::builders::CreateChannelFluentBuilder::set_id):<br>required: **true**<br>The ID of the Channel. The ID must be unique within the region and it cannot be changed after a Channel is created.<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_channel::builders::CreateChannelFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_channel::builders::CreateChannelFluentBuilder::set_tags):<br>required: **false**<br>A collection of tags associated with a resource<br>
    /// - On success, responds with [`CreateChannelOutput`](crate::operation::create_channel::CreateChannelOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_channel::CreateChannelOutput::arn): The Amazon Resource Name (ARN) assigned to the Channel.
    ///   - [`created_at(Option<String>)`](crate::operation::create_channel::CreateChannelOutput::created_at): The date and time the Channel was created.
    ///   - [`description(Option<String>)`](crate::operation::create_channel::CreateChannelOutput::description): A short text description of the Channel.
    ///   - [`egress_access_logs(Option<EgressAccessLogs>)`](crate::operation::create_channel::CreateChannelOutput::egress_access_logs): Configure egress access logging.
    ///   - [`hls_ingest(Option<HlsIngest>)`](crate::operation::create_channel::CreateChannelOutput::hls_ingest): An HTTP Live Streaming (HLS) ingest resource configuration.
    ///   - [`id(Option<String>)`](crate::operation::create_channel::CreateChannelOutput::id): The ID of the Channel.
    ///   - [`ingress_access_logs(Option<IngressAccessLogs>)`](crate::operation::create_channel::CreateChannelOutput::ingress_access_logs): Configure ingress access logging.
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_channel::CreateChannelOutput::tags): A collection of tags associated with a resource
    /// - On failure, responds with [`SdkError<CreateChannelError>`](crate::operation::create_channel::CreateChannelError)
    pub fn create_channel(&self) -> crate::operation::create_channel::builders::CreateChannelFluentBuilder {
        crate::operation::create_channel::builders::CreateChannelFluentBuilder::new(self.handle.clone())
    }
}