// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteEventSource`](crate::operation::delete_event_source::builders::DeleteEventSourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`event_source_arn(impl Into<String>)`](crate::operation::delete_event_source::builders::DeleteEventSourceFluentBuilder::event_source_arn) / [`set_event_source_arn(Option<String>)`](crate::operation::delete_event_source::builders::DeleteEventSourceFluentBuilder::set_event_source_arn):<br>required: **true**<br>EventSource ARN: event-sourcev2/<type> / <name> / <id> . The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service. </id> </name> </type><br>
/// - On success, responds with [`DeleteEventSourceOutput`](crate::operation::delete_event_source::DeleteEventSourceOutput)
/// - On failure, responds with [`SdkError<DeleteEventSourceError>`](crate::operation::delete_event_source::DeleteEventSourceError)
pub fn delete_event_source(&self) -> crate::operation::delete_event_source::builders::DeleteEventSourceFluentBuilder {
crate::operation::delete_event_source::builders::DeleteEventSourceFluentBuilder::new(self.handle.clone())
}
}