// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeEventSource`](crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the partner event source to display the details of.</p><br>
/// - On success, responds with [`DescribeEventSourceOutput`](crate::operation::describe_event_source::DescribeEventSourceOutput) with field(s):
/// - [`arn(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::arn): <p>The ARN of the partner event source.</p>
/// - [`created_by(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::created_by): <p>The name of the SaaS partner that created the event source.</p>
/// - [`creation_time(Option<DateTime>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::creation_time): <p>The date and time that the event source was created.</p>
/// - [`expiration_time(Option<DateTime>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::expiration_time): <p>The date and time that the event source will expire if you do not create a matching event bus.</p>
/// - [`name(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::name): <p>The name of the partner event source.</p>
/// - [`state(Option<EventSourceState>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::state): <p>The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.</p>
/// - On failure, responds with [`SdkError<DescribeEventSourceError>`](crate::operation::describe_event_source::DescribeEventSourceError)
pub fn describe_event_source(&self) -> crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder {
crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder::new(self.handle.clone())
}
}