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