aws_sdk_cloudtrail/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(impl Into<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::channel) / [`set_channel(Option<String>)`](crate::operation::delete_channel::builders::DeleteChannelFluentBuilder::set_channel):<br>required: **true**<br><p>The ARN or the <code>UUID</code> value of the channel that you want to delete.</p><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}