Struct aws_sdk_route53resolver::operation::update_firewall_config::builders::UpdateFirewallConfigFluentBuilder
source · pub struct UpdateFirewallConfigFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateFirewallConfig.
Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
Implementations§
source§impl UpdateFirewallConfigFluentBuilder
impl UpdateFirewallConfigFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateFirewallConfig, AwsResponseRetryClassifier>, SdkError<UpdateFirewallConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateFirewallConfig, AwsResponseRetryClassifier>, SdkError<UpdateFirewallConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateFirewallConfigOutput, SdkError<UpdateFirewallConfigError>>
pub async fn send( self ) -> Result<UpdateFirewallConfigOutput, SdkError<UpdateFirewallConfigError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the VPC that the configuration is for.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the VPC that the configuration is for.
sourcepub fn firewall_fail_open(self, input: FirewallFailOpenStatus) -> Self
pub fn firewall_fail_open(self, input: FirewallFailOpenStatus) -> Self
Determines how Route 53 Resolver handles queries during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall blocks queries that it is unable to evaluate properly.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
sourcepub fn set_firewall_fail_open(
self,
input: Option<FirewallFailOpenStatus>
) -> Self
pub fn set_firewall_fail_open( self, input: Option<FirewallFailOpenStatus> ) -> Self
Determines how Route 53 Resolver handles queries during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall blocks queries that it is unable to evaluate properly.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
Trait Implementations§
source§impl Clone for UpdateFirewallConfigFluentBuilder
impl Clone for UpdateFirewallConfigFluentBuilder
source§fn clone(&self) -> UpdateFirewallConfigFluentBuilder
fn clone(&self) -> UpdateFirewallConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more