Struct aws_sdk_route53resolver::operation::update_resolver_endpoint::UpdateResolverEndpointInput
source · #[non_exhaustive]pub struct UpdateResolverEndpointInput {
pub resolver_endpoint_id: Option<String>,
pub name: Option<String>,
pub resolver_endpoint_type: Option<ResolverEndpointType>,
pub update_ip_addresses: Option<Vec<UpdateIpAddress>>,
pub protocols: Option<Vec<Protocol>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resolver_endpoint_id: Option<String>
The ID of the Resolver endpoint that you want to update.
name: Option<String>
The name of the Resolver endpoint that you want to update.
resolver_endpoint_type: Option<ResolverEndpointType>
Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
Updating to IPV6
type isn't currently supported.
update_ip_addresses: Option<Vec<UpdateIpAddress>>
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.
protocols: Option<Vec<Protocol>>
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
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.
Implementations§
source§impl UpdateResolverEndpointInput
impl UpdateResolverEndpointInput
sourcepub fn resolver_endpoint_id(&self) -> Option<&str>
pub fn resolver_endpoint_id(&self) -> Option<&str>
The ID of the Resolver endpoint that you want to update.
sourcepub fn resolver_endpoint_type(&self) -> Option<&ResolverEndpointType>
pub fn resolver_endpoint_type(&self) -> Option<&ResolverEndpointType>
Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
Updating to IPV6
type isn't currently supported.
sourcepub fn update_ip_addresses(&self) -> &[UpdateIpAddress]
pub fn update_ip_addresses(&self) -> &[UpdateIpAddress]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .update_ip_addresses.is_none()
.
sourcepub fn protocols(&self) -> &[Protocol]
pub fn protocols(&self) -> &[Protocol]
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .protocols.is_none()
.
source§impl UpdateResolverEndpointInput
impl UpdateResolverEndpointInput
sourcepub fn builder() -> UpdateResolverEndpointInputBuilder
pub fn builder() -> UpdateResolverEndpointInputBuilder
Creates a new builder-style object to manufacture UpdateResolverEndpointInput
.
Trait Implementations§
source§impl Clone for UpdateResolverEndpointInput
impl Clone for UpdateResolverEndpointInput
source§fn clone(&self) -> UpdateResolverEndpointInput
fn clone(&self) -> UpdateResolverEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateResolverEndpointInput
impl Debug for UpdateResolverEndpointInput
source§impl PartialEq for UpdateResolverEndpointInput
impl PartialEq for UpdateResolverEndpointInput
source§fn eq(&self, other: &UpdateResolverEndpointInput) -> bool
fn eq(&self, other: &UpdateResolverEndpointInput) -> bool
self
and other
values to be equal, and is used
by ==
.