aws_sdk_mediapackagev2/client/create_channel_group.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 [`CreateChannelGroup`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`channel_group_name(impl Into<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::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. You can't use spaces in the name. You can't change the name after you create the channel group.</p><br>
7 /// - [`client_token(impl Into<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::set_description):<br>required: **false**<br><p>Enter any descriptive text that helps you to identify the channel group.</p><br>
9 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::set_tags):<br>required: **false**<br><p>A comma-separated list of tag key:value pairs that you define. For example:</p> <p><code>"Key1": "Value1",</code></p> <p><code>"Key2": "Value2"</code></p><br>
10 /// - On success, responds with [`CreateChannelGroupOutput`](crate::operation::create_channel_group::CreateChannelGroupOutput) with field(s):
11 /// - [`channel_group_name(String)`](crate::operation::create_channel_group::CreateChannelGroupOutput::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>
12 /// - [`arn(String)`](crate::operation::create_channel_group::CreateChannelGroupOutput::arn): <p>The Amazon Resource Name (ARN) associated with the resource.</p>
13 /// - [`egress_domain(String)`](crate::operation::create_channel_group::CreateChannelGroupOutput::egress_domain): <p>The output domain where the source stream should be sent. Integrate the egress domain with a downstream CDN (such as Amazon CloudFront) or playback device.</p>
14 /// - [`created_at(DateTime)`](crate::operation::create_channel_group::CreateChannelGroupOutput::created_at): <p>The date and time the channel group was created.</p>
15 /// - [`modified_at(DateTime)`](crate::operation::create_channel_group::CreateChannelGroupOutput::modified_at): <p>The date and time the channel group was modified.</p>
16 /// - [`e_tag(Option<String>)`](crate::operation::create_channel_group::CreateChannelGroupOutput::e_tag): <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
17 /// - [`description(Option<String>)`](crate::operation::create_channel_group::CreateChannelGroupOutput::description): <p>The description for your channel group.</p>
18 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_channel_group::CreateChannelGroupOutput::tags): <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
19 /// - On failure, responds with [`SdkError<CreateChannelGroupError>`](crate::operation::create_channel_group::CreateChannelGroupError)
20 pub fn create_channel_group(&self) -> crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder {
21 crate::operation::create_channel_group::builders::CreateChannelGroupFluentBuilder::new(self.handle.clone())
22 }
23}