aws_sdk_route53globalresolver/client/delete_firewall_rule.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 [`DeleteFirewallRule`](crate::operation::delete_firewall_rule::builders::DeleteFirewallRuleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`firewall_rule_id(impl Into<String>)`](crate::operation::delete_firewall_rule::builders::DeleteFirewallRuleFluentBuilder::firewall_rule_id) / [`set_firewall_rule_id(Option<String>)`](crate::operation::delete_firewall_rule::builders::DeleteFirewallRuleFluentBuilder::set_firewall_rule_id):<br>required: **true**<br><p>The unique identifier of the firewall rule to delete.</p><br>
7 /// - On success, responds with [`DeleteFirewallRuleOutput`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput) with field(s):
8 /// - [`action(FirewallRuleAction)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::action): <p>The action that was configured for the deleted firewall rule.</p>
9 /// - [`block_override_dns_type(Option<BlockOverrideDnsQueryType>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::block_override_dns_type): <p>The DNS record type that was configured for the deleted firewall rule's custom response.</p>
10 /// - [`block_override_domain(Option<String>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::block_override_domain): <p>The custom domain that was configured for the deleted firewall rule's BLOCK response.</p>
11 /// - [`block_override_ttl(Option<i32>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::block_override_ttl): <p>The TTL value that was configured for the deleted firewall rule's custom response.</p>
12 /// - [`block_response(Option<FirewallBlockResponse>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::block_response): <p>The block response type that was configured for the deleted firewall rule.</p>
13 /// - [`confidence_threshold(Option<ConfidenceThreshold>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::confidence_threshold): <p>The confidence threshold that was configured for the deleted firewall rule's advanced threat detection.</p>
14 /// - [`created_at(DateTime)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::created_at): <p>The date and time when the firewall rule was originally created.</p>
15 /// - [`description(Option<String>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::description): <p>The description of the deleted firewall rule.</p>
16 /// - [`dns_advanced_protection(Option<DnsAdvancedProtection>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::dns_advanced_protection): <p>Whether advanced DNS threat protection was enabled for the deleted firewall rule.</p>
17 /// - [`firewall_domain_list_id(Option<String>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::firewall_domain_list_id): <p>The ID of the firewall domain list that was associated with the deleted firewall rule.</p>
18 /// - [`id(String)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::id): <p>The unique identifier of the deleted firewall rule.</p>
19 /// - [`name(String)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::name): <p>The name of the deleted firewall rule.</p>
20 /// - [`priority(i64)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::priority): <p>The priority that was configured for the deleted firewall rule.</p>
21 /// - [`dns_view_id(String)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::dns_view_id): <p>The ID of the DNS view that was associated with the deleted firewall rule.</p>
22 /// - [`query_type(Option<String>)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::query_type): <p>The DNS query type that the deleted firewall rule was configured to match.</p>
23 /// - [`status(CrResourceStatus)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::status): <p>The final status of the deleted firewall rule.</p>
24 /// - [`updated_at(DateTime)`](crate::operation::delete_firewall_rule::DeleteFirewallRuleOutput::updated_at): <p>The date and time when the firewall rule was last updated before deletion.</p>
25 /// - On failure, responds with [`SdkError<DeleteFirewallRuleError>`](crate::operation::delete_firewall_rule::DeleteFirewallRuleError)
26 pub fn delete_firewall_rule(&self) -> crate::operation::delete_firewall_rule::builders::DeleteFirewallRuleFluentBuilder {
27 crate::operation::delete_firewall_rule::builders::DeleteFirewallRuleFluentBuilder::new(self.handle.clone())
28 }
29}