aws_sdk_eventbridge/client/update_endpoint.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateEndpoint`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - On success, responds with [`UpdateEndpointOutput`](crate::operation::update_endpoint::UpdateEndpointOutput) with field(s):
13 /// - [`name(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::name): <p>The name of the endpoint you updated in this request.</p>
14 /// - [`arn(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::arn): <p>The ARN of the endpoint you updated in this request.</p>
15 /// - [`routing_config(Option<RoutingConfig>)`](crate::operation::update_endpoint::UpdateEndpointOutput::routing_config): <p>The routing configuration you updated in this request.</p>
16 /// - [`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>
17 /// - [`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>
18 /// - [`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>
19 /// - [`endpoint_id(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::endpoint_id): <p>The ID of the endpoint you updated in this request.</p>
20 /// - [`endpoint_url(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::endpoint_url): <p>The URL of the endpoint you updated in this request.</p>
21 /// - [`state(Option<EndpointState>)`](crate::operation::update_endpoint::UpdateEndpointOutput::state): <p>The state of the endpoint you updated in this request.</p>
22 /// - On failure, responds with [`SdkError<UpdateEndpointError>`](crate::operation::update_endpoint::UpdateEndpointError)
23 pub fn update_endpoint(&self) -> crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder {
24 crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::new(self.handle.clone())
25 }
26}