aws_sdk_route53globalresolver/client/
get_dns_view.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 [`GetDNSView`](crate::operation::get_dns_view::builders::GetDNSViewFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dns_view_id(impl Into<String>)`](crate::operation::get_dns_view::builders::GetDNSViewFluentBuilder::dns_view_id) / [`set_dns_view_id(Option<String>)`](crate::operation::get_dns_view::builders::GetDNSViewFluentBuilder::set_dns_view_id):<br>required: **true**<br><p>The ID of the DNS view to retrieve information about.</p><br>
7    /// - On success, responds with [`GetDnsViewOutput`](crate::operation::get_dns_view::GetDnsViewOutput) with field(s):
8    ///   - [`id(String)`](crate::operation::get_dns_view::GetDnsViewOutput::id): <p>ID of the DNS view.</p>
9    ///   - [`arn(String)`](crate::operation::get_dns_view::GetDnsViewOutput::arn): <p>Amazon Resource Name (ARN) of the DNS view.</p>
10    ///   - [`client_token(Option<String>)`](crate::operation::get_dns_view::GetDnsViewOutput::client_token): <p>A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same <code>clientToken</code> has the same result every time.</p>
11    ///   - [`dnssec_validation(DnsSecValidationType)`](crate::operation::get_dns_view::GetDnsViewOutput::dnssec_validation): <p>Specifies whether DNSSEC is enabled or disabled for the DNS view.</p>
12    ///   - [`edns_client_subnet(EdnsClientSubnetType)`](crate::operation::get_dns_view::GetDnsViewOutput::edns_client_subnet): <p>Specifies whether edns0 client subnet is enabled.</p>
13    ///   - [`firewall_rules_fail_open(FirewallRulesFailOpenType)`](crate::operation::get_dns_view::GetDnsViewOutput::firewall_rules_fail_open): <p>Specifies the DNS Firewall failure mode configuration. When enabled, the DNS Firewall allows DNS queries to proceed if it's unable to properly evaluate them. When disabled, the DNS Firewall blocks DNS queries it's unable to evaluate.</p>
14    ///   - [`name(String)`](crate::operation::get_dns_view::GetDnsViewOutput::name): <p>Name of the DNS view.</p>
15    ///   - [`description(Option<String>)`](crate::operation::get_dns_view::GetDnsViewOutput::description): <p>Description of the DNS view.</p>
16    ///   - [`global_resolver_id(String)`](crate::operation::get_dns_view::GetDnsViewOutput::global_resolver_id): <p>ID of the Global Resolver the DNS view is associated to.</p>
17    ///   - [`created_at(DateTime)`](crate::operation::get_dns_view::GetDnsViewOutput::created_at): <p>The time and date the DNS view was creates on.</p>
18    ///   - [`updated_at(DateTime)`](crate::operation::get_dns_view::GetDnsViewOutput::updated_at): <p>The time and date the DNS view was updated on.</p>
19    ///   - [`status(ProfileResourceStatus)`](crate::operation::get_dns_view::GetDnsViewOutput::status): <p>Operational status of the DNS view.</p>
20    /// - On failure, responds with [`SdkError<GetDNSViewError>`](crate::operation::get_dns_view::GetDNSViewError)
21    pub fn get_dns_view(&self) -> crate::operation::get_dns_view::builders::GetDNSViewFluentBuilder {
22        crate::operation::get_dns_view::builders::GetDNSViewFluentBuilder::new(self.handle.clone())
23    }
24}