// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateEventSource`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`event_source_arn(impl Into<String>)`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::event_source_arn) / [`set_event_source_arn(Option<String>)`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::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>
/// - [`configuration(EventSourceConfiguration)`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::configuration) / [`set_configuration(Option<EventSourceConfiguration>)`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::set_configuration):<br>required: **false**<br>Discriminated EventSource configuration. Exactly one variant must be set.<br>
/// - [`description(impl Into<String>)`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::set_description):<br>required: **false**<br>Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.<br>
/// - On success, responds with [`UpdateEventSourceOutput`](crate::operation::update_event_source::UpdateEventSourceOutput) with field(s):
/// - [`event_source_arn(Option<String>)`](crate::operation::update_event_source::UpdateEventSourceOutput::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::update_event_source::UpdateEventSourceOutput::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::update_event_source::UpdateEventSourceOutput::event_bus_arn): The Amazon Resource Name (ARN) that uniquely identifies an event bus.
/// - [`state(Option<EventSourceState>)`](crate::operation::update_event_source::UpdateEventSourceOutput::state): Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
/// - [`last_modified_time(Option<DateTime>)`](crate::operation::update_event_source::UpdateEventSourceOutput::last_modified_time): The time the EventSource was last modified.
/// - On failure, responds with [`SdkError<UpdateEventSourceError>`](crate::operation::update_event_source::UpdateEventSourceError)
pub fn update_event_source(&self) -> crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder {
crate::operation::update_event_source::builders::UpdateEventSourceFluentBuilder::new(self.handle.clone())
}
}