aws_sdk_mediapackagev2/client/
delete_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 [`DeleteChannelGroup`](crate::operation::delete_channel_group::builders::DeleteChannelGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`channel_group_name(impl Into<String>)`](crate::operation::delete_channel_group::builders::DeleteChannelGroupFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::delete_channel_group::builders::DeleteChannelGroupFluentBuilder::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 [`DeleteChannelGroupOutput`](crate::operation::delete_channel_group::DeleteChannelGroupOutput)
8    /// - On failure, responds with [`SdkError<DeleteChannelGroupError>`](crate::operation::delete_channel_group::DeleteChannelGroupError)
9    pub fn delete_channel_group(&self) -> crate::operation::delete_channel_group::builders::DeleteChannelGroupFluentBuilder {
10        crate::operation::delete_channel_group::builders::DeleteChannelGroupFluentBuilder::new(self.handle.clone())
11    }
12}