aws_sdk_route53resolver/client/
get_firewall_config.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 [`GetFirewallConfig`](crate::operation::get_firewall_config::builders::GetFirewallConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_id(impl Into<String>)`](crate::operation::get_firewall_config::builders::GetFirewallConfigFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::get_firewall_config::builders::GetFirewallConfigFluentBuilder::set_resource_id):<br>required: **true**<br><p>The ID of the VPC from Amazon VPC that the configuration is for.</p><br>
7    /// - On success, responds with [`GetFirewallConfigOutput`](crate::operation::get_firewall_config::GetFirewallConfigOutput) with field(s):
8    ///   - [`firewall_config(Option<FirewallConfig>)`](crate::operation::get_firewall_config::GetFirewallConfigOutput::firewall_config): <p>Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC.</p>
9    /// - On failure, responds with [`SdkError<GetFirewallConfigError>`](crate::operation::get_firewall_config::GetFirewallConfigError)
10    pub fn get_firewall_config(&self) -> crate::operation::get_firewall_config::builders::GetFirewallConfigFluentBuilder {
11        crate::operation::get_firewall_config::builders::GetFirewallConfigFluentBuilder::new(self.handle.clone())
12    }
13}