aws_sdk_mediapackagev2/client/
delete_channel.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 [`DeleteChannel`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`channel_group_name(impl Into<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::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    ///   - [`channel_name(impl Into<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::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>
8    /// - On success, responds with [`DeleteChannelOutput`](crate::operation::delete_channel::DeleteChannelOutput)
9    /// - On failure, responds with [`SdkError<DeleteChannelError>`](crate::operation::delete_channel::DeleteChannelError)
10    pub fn delete_channel(&self) -> crate::operation::delete_channel::builders::DeleteChannelFluentBuilder {
11        crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::new(self.handle.clone())
12    }
13}