aws_sdk_route53resolver/client/
update_resolver_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 [`UpdateResolverEndpoint`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resolver_endpoint_id(impl Into<String>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::resolver_endpoint_id) / [`set_resolver_endpoint_id(Option<String>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_resolver_endpoint_id):<br>required: **true**<br><p>The ID of the Resolver endpoint that you want to update.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_name):<br>required: **false**<br><p>The name of the Resolver endpoint that you want to update.</p><br>
8    ///   - [`resolver_endpoint_type(ResolverEndpointType)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::resolver_endpoint_type) / [`set_resolver_endpoint_type(Option<ResolverEndpointType>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_resolver_endpoint_type):<br>required: **false**<br><p>Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.</p> <p>Updating to <code>IPV6</code> type isn't currently supported.</p><br>
9    ///   - [`update_ip_addresses(UpdateIpAddress)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::update_ip_addresses) / [`set_update_ip_addresses(Option<Vec::<UpdateIpAddress>>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_update_ip_addresses):<br>required: **false**<br><p>Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.</p><br>
10    ///   - [`protocols(Protocol)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::protocols) / [`set_protocols(Option<Vec::<Protocol>>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_protocols):<br>required: **false**<br><p>The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.</p> <p>For a default inbound endpoint you can apply the protocols as follows:</p> <ul>  <li>   <p>Do53 and DoH in combination.</p></li>  <li>   <p>Do53 and DoH-FIPS in combination.</p></li>  <li>   <p>Do53 alone.</p></li>  <li>   <p>DoH alone.</p></li>  <li>   <p>DoH-FIPS alone.</p></li>  <li>   <p>None, which is treated as Do53.</p></li> </ul> <p>For a delegation inbound endpoint you can use Do53 only.</p> <p>For an outbound endpoint you can apply the protocols as follows:</p> <ul>  <li>   <p>Do53 and DoH in combination.</p></li>  <li>   <p>Do53 alone.</p></li>  <li>   <p>DoH alone.</p></li>  <li>   <p>None, which is treated as Do53.</p></li> </ul><important>  <p>You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.</p> </important><br>
11    ///   - [`rni_enhanced_metrics_enabled(bool)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::rni_enhanced_metrics_enabled) / [`set_rni_enhanced_metrics_enabled(Option<bool>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_rni_enhanced_metrics_enabled):<br>required: **false**<br><p>Updates whether RNI enhanced metrics are enabled for the Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When set to false, metrics are not published.</p><note>  <p>Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint RNI enhanced metrics. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/monitoring-resolver-with-cloudwatch.html">Detailed metrics</a>.</p> </note><br>
12    ///   - [`target_name_server_metrics_enabled(bool)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::target_name_server_metrics_enabled) / [`set_target_name_server_metrics_enabled(Option<bool>)`](crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::set_target_name_server_metrics_enabled):<br>required: **false**<br><p>Updates whether target name server metrics are enabled for the outbound Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When set to false, metrics are not published. This setting is not supported for inbound Resolver endpoints.</p><note>  <p>Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint target name server metrics. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/monitoring-resolver-with-cloudwatch.html">Detailed metrics</a>.</p> </note><br>
13    /// - On success, responds with [`UpdateResolverEndpointOutput`](crate::operation::update_resolver_endpoint::UpdateResolverEndpointOutput) with field(s):
14    ///   - [`resolver_endpoint(Option<ResolverEndpoint>)`](crate::operation::update_resolver_endpoint::UpdateResolverEndpointOutput::resolver_endpoint): <p>The response to an <code>UpdateResolverEndpoint</code> request.</p>
15    /// - On failure, responds with [`SdkError<UpdateResolverEndpointError>`](crate::operation::update_resolver_endpoint::UpdateResolverEndpointError)
16    pub fn update_resolver_endpoint(&self) -> crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder {
17        crate::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder::new(self.handle.clone())
18    }
19}