aws_sdk_cloudwatchevents/client/delete_event_bus.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 [`DeleteEventBus`](crate::operation::delete_event_bus::builders::DeleteEventBusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::delete_event_bus::builders::DeleteEventBusFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_event_bus::builders::DeleteEventBusFluentBuilder::set_name):<br>required: **true**<br><p>The name of the event bus to delete.</p><br>
7 /// - On success, responds with [`DeleteEventBusOutput`](crate::operation::delete_event_bus::DeleteEventBusOutput)
8 /// - On failure, responds with [`SdkError<DeleteEventBusError>`](crate::operation::delete_event_bus::DeleteEventBusError)
9 pub fn delete_event_bus(&self) -> crate::operation::delete_event_bus::builders::DeleteEventBusFluentBuilder {
10 crate::operation::delete_event_bus::builders::DeleteEventBusFluentBuilder::new(self.handle.clone())
11 }
12}