aws_sdk_mediapackage/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    ///   - [`id(impl Into<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::set_id):<br>required: **true**<br>The ID of the Channel to delete.<br>
7    /// - On success, responds with [`DeleteChannelOutput`](crate::operation::delete_channel::DeleteChannelOutput)
8    /// - On failure, responds with [`SdkError<DeleteChannelError>`](crate::operation::delete_channel::DeleteChannelError)
9    pub fn delete_channel(&self) -> crate::operation::delete_channel::builders::DeleteChannelFluentBuilder {
10        crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::new(self.handle.clone())
11    }
12}