update_dns_view
¶
update_dns_view(
dns_view_id: ResourceId,
*,
config_overrides: Optional[Route53GlobalResolverClientConfig] = None,
name: Optional[ResourceName] = None,
description: Optional[ResourceDescription] = None,
dnssec_validation: Optional[DnsSecValidationType] = None,
edns_client_subnet: Optional[EdnsClientSubnetType] = None,
firewall_rules_fail_open: Optional[FirewallRulesFailOpenType] = None,
) -> UpdateDNSViewOutput
Updates the configuration of a DNS view.
Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.
Parameters:
-
dns_view_id(ResourceId) –The unique identifier of the DNS view to update.
-
name(Optional[ResourceName], default:None) –The name of the DNS view.
-
description(Optional[ResourceDescription], default:None) –A description of the DNS view.
-
dnssec_validation(Optional[DnsSecValidationType], default:None) –Whether to enable DNSSEC validation for the DNS view.
-
edns_client_subnet(Optional[EdnsClientSubnetType], default:None) –Whether to enable EDNS Client Subnet injection for the DNS view.
-
firewall_rules_fail_open(Optional[FirewallRulesFailOpenType], default:None) –Whether firewall rules should fail open when they cannot be evaluated.
Raises:
-
AccessDeniedException–You don't have permission to perform this operation. Check your IAM permissions and try again.
-
ConflictException–The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
-
InternalServerException–An internal server error occurred. Try again later.
-
ResourceNotFoundException–The specified resource was not found. Verify the resource ID and try again.
-
ServiceQuotaExceededException–The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
-
ThrottlingException–The request was throttled due to too many requests. Wait a moment and try again.
-
ValidationException–The input parameters are invalid. Check the parameter values and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route53globalresolver/_services/route53_global_resolver.py
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 | |