aws_sdk_route53globalresolver/client/enable_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 [`EnableDNSView`](crate::operation::enable_dns_view::builders::EnableDNSViewFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dns_view_id(impl Into<String>)`](crate::operation::enable_dns_view::builders::EnableDNSViewFluentBuilder::dns_view_id) / [`set_dns_view_id(Option<String>)`](crate::operation::enable_dns_view::builders::EnableDNSViewFluentBuilder::set_dns_view_id):<br>required: **true**<br><p>The unique identifier of the DNS view to enable.</p><br>
7 /// - On success, responds with [`EnableDnsViewOutput`](crate::operation::enable_dns_view::EnableDnsViewOutput) with field(s):
8 /// - [`id(String)`](crate::operation::enable_dns_view::EnableDnsViewOutput::id): <p>The unique identifier of the enabled DNS view.</p>
9 /// - [`arn(String)`](crate::operation::enable_dns_view::EnableDnsViewOutput::arn): <p>The Amazon Resource Name (ARN) of the enabled DNS view.</p>
10 /// - [`client_token(Option<String>)`](crate::operation::enable_dns_view::EnableDnsViewOutput::client_token): <p>The unique string that identifies the request and ensures idempotency.</p>
11 /// - [`dnssec_validation(DnsSecValidationType)`](crate::operation::enable_dns_view::EnableDnsViewOutput::dnssec_validation): <p>Whether DNSSEC validation is enabled for the enabled DNS view.</p>
12 /// - [`edns_client_subnet(EdnsClientSubnetType)`](crate::operation::enable_dns_view::EnableDnsViewOutput::edns_client_subnet): <p>Whether EDNS Client Subnet injection is enabled for the enabled DNS view.</p>
13 /// - [`firewall_rules_fail_open(FirewallRulesFailOpenType)`](crate::operation::enable_dns_view::EnableDnsViewOutput::firewall_rules_fail_open): <p>The firewall rules fail-open behavior configured for the enabled DNS view.</p>
14 /// - [`name(String)`](crate::operation::enable_dns_view::EnableDnsViewOutput::name): <p>The name of the enabled DNS view.</p>
15 /// - [`description(Option<String>)`](crate::operation::enable_dns_view::EnableDnsViewOutput::description): <p>The description of the enabled DNS view.</p>
16 /// - [`global_resolver_id(String)`](crate::operation::enable_dns_view::EnableDnsViewOutput::global_resolver_id): <p>The ID of the Route 53 Global Resolver that the enabled DNS view is associated with.</p>
17 /// - [`created_at(DateTime)`](crate::operation::enable_dns_view::EnableDnsViewOutput::created_at): <p>The date and time when the DNS view was originally created.</p>
18 /// - [`updated_at(DateTime)`](crate::operation::enable_dns_view::EnableDnsViewOutput::updated_at): <p>The date and time when the DNS view was last updated.</p>
19 /// - [`status(ProfileResourceStatus)`](crate::operation::enable_dns_view::EnableDnsViewOutput::status): <p>The current status of the enabled DNS view.</p>
20 /// - On failure, responds with [`SdkError<EnableDNSViewError>`](crate::operation::enable_dns_view::EnableDNSViewError)
21 pub fn enable_dns_view(&self) -> crate::operation::enable_dns_view::builders::EnableDNSViewFluentBuilder {
22 crate::operation::enable_dns_view::builders::EnableDNSViewFluentBuilder::new(self.handle.clone())
23 }
24}