// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateEndpoint`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_name):<br>required: **true**<br><p>The name of the endpoint you want to update.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_description):<br>required: **false**<br><p>A description for the endpoint.</p><br>
/// - [`routing_config(RoutingConfig)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::routing_config) / [`set_routing_config(Option<RoutingConfig>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_routing_config):<br>required: **false**<br><p>Configure the routing policy, including the health check and secondary Region.</p><br>
/// - [`replication_config(ReplicationConfig)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::replication_config) / [`set_replication_config(Option<ReplicationConfig>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_replication_config):<br>required: **false**<br><p>Whether event replication was enabled or disabled by this request.</p><br>
/// - [`event_buses(EndpointEventBus)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::event_buses) / [`set_event_buses(Option<Vec::<EndpointEventBus>>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_event_buses):<br>required: **false**<br><p>Define event buses used for replication.</p><br>
/// - [`role_arn(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_role_arn):<br>required: **false**<br><p>The ARN of the role used by event replication for this request.</p><br>
/// - On success, responds with [`UpdateEndpointOutput`](crate::operation::update_endpoint::UpdateEndpointOutput) with field(s):
/// - [`name(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::name): <p>The name of the endpoint you updated in this request.</p>
/// - [`arn(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::arn): <p>The ARN of the endpoint you updated in this request.</p>
/// - [`routing_config(Option<RoutingConfig>)`](crate::operation::update_endpoint::UpdateEndpointOutput::routing_config): <p>The routing configuration you updated in this request.</p>
/// - [`replication_config(Option<ReplicationConfig>)`](crate::operation::update_endpoint::UpdateEndpointOutput::replication_config): <p>Whether event replication was enabled or disabled for the endpoint you updated in this request.</p>
/// - [`event_buses(Option<Vec::<EndpointEventBus>>)`](crate::operation::update_endpoint::UpdateEndpointOutput::event_buses): <p>The event buses used for replication for the endpoint you updated in this request.</p>
/// - [`role_arn(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::role_arn): <p>The ARN of the role used by event replication for the endpoint you updated in this request.</p>
/// - [`endpoint_id(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::endpoint_id): <p>The ID of the endpoint you updated in this request.</p>
/// - [`endpoint_url(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::endpoint_url): <p>The URL of the endpoint you updated in this request.</p>
/// - [`state(Option<EndpointState>)`](crate::operation::update_endpoint::UpdateEndpointOutput::state): <p>The state of the endpoint you updated in this request.</p>
/// - On failure, responds with [`SdkError<UpdateEndpointError>`](crate::operation::update_endpoint::UpdateEndpointError)
pub fn update_endpoint(&self) -> crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder {
crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::new(self.handle.clone())
}
}