aws_sdk_mediapackagev2/client/
get_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 [`GetChannelGroup`](crate::operation::get_channel_group::builders::GetChannelGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`channel_group_name(impl Into<String>)`](crate::operation::get_channel_group::builders::GetChannelGroupFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::get_channel_group::builders::GetChannelGroupFluentBuilder::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>
7    /// - On success, responds with [`GetChannelGroupOutput`](crate::operation::get_channel_group::GetChannelGroupOutput) with field(s):
8    ///   - [`channel_group_name(String)`](crate::operation::get_channel_group::GetChannelGroupOutput::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>
9    ///   - [`arn(String)`](crate::operation::get_channel_group::GetChannelGroupOutput::arn): <p>The Amazon Resource Name (ARN) associated with the resource.</p>
10    ///   - [`egress_domain(String)`](crate::operation::get_channel_group::GetChannelGroupOutput::egress_domain): <p>The output domain where the source stream should be sent. Integrate the domain with a downstream CDN (such as Amazon CloudFront) or playback device.</p>
11    ///   - [`created_at(DateTime)`](crate::operation::get_channel_group::GetChannelGroupOutput::created_at): <p>The date and time the channel group was created.</p>
12    ///   - [`modified_at(DateTime)`](crate::operation::get_channel_group::GetChannelGroupOutput::modified_at): <p>The date and time the channel group was modified.</p>
13    ///   - [`description(Option<String>)`](crate::operation::get_channel_group::GetChannelGroupOutput::description): <p>The description for your channel group.</p>
14    ///   - [`e_tag(Option<String>)`](crate::operation::get_channel_group::GetChannelGroupOutput::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>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_channel_group::GetChannelGroupOutput::tags): <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
16    /// - On failure, responds with [`SdkError<GetChannelGroupError>`](crate::operation::get_channel_group::GetChannelGroupError)
17    pub fn get_channel_group(&self) -> crate::operation::get_channel_group::builders::GetChannelGroupFluentBuilder {
18        crate::operation::get_channel_group::builders::GetChannelGroupFluentBuilder::new(self.handle.clone())
19    }
20}