update_dns_view
async
¶
update_dns_view(
dns_view_id: ResourceId,
*,
config_overrides: Optional[AsyncRoute53GlobalResolverClientConfig] = 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/async_route53_global_resolver.py
1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 | |