// 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:
/// - [`event_source_arn(impl Into<String>)`](crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder::event_source_arn) / [`set_event_source_arn(Option<String>)`](crate::operation::describe_event_source::builders::DescribeEventSourceFluentBuilder::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 [`DescribeEventSourceOutput`](crate::operation::describe_event_source::DescribeEventSourceOutput) with field(s):
/// - [`event_source_arn(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::event_source_arn): 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>
/// - [`name(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::name): EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type> / <name> / <id> ), mirroring EventBusName, so a name the ARN cannot represent cannot be created. </id> </name> </type>
/// - [`event_bus_arn(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::event_bus_arn): The Amazon Resource Name (ARN) that uniquely identifies an event bus.
/// - [`configuration(Option<EventSourceConfiguration>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::configuration): Discriminated EventSource configuration. Exactly one variant must be set.
/// - [`description(Option<String>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::description): Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.
/// - [`state(Option<EventSourceState>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::state): Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
/// - [`revoked(Option<bool>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::revoked): True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.
/// - [`creation_time(Option<DateTime>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::creation_time): The time the EventSource was created.
/// - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_event_source::DescribeEventSourceOutput::last_modified_time): The time the EventSource was last modified.
/// - 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())
}
}