list_firewall_rules
async
¶
list_firewall_rules(
dns_view_id: ResourceId,
*,
config_overrides: Optional[AsyncRoute53GlobalResolverClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[str] = None,
filters: Optional[Filters] = None,
) -> ListFirewallRulesOutput
Lists all DNS firewall rules for a DNS view with pagination support.
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:
-
max_results(Optional[int], default:None) –The maximum number of results to retrieve in a single call.
-
next_token(Optional[str], default:None) –A pagination token used for large sets of results that can't be returned in a single response.
-
dns_view_id(ResourceId) –ID of the DNS view.
-
filters(Optional[Filters], default:None) –Values to filter the results.
Raises:
-
AccessDeniedException–You don't have permission to perform this operation. Check your IAM permissions and try again.
-
InternalServerException–An internal server error occurred. Try again later.
-
ResourceNotFoundException–The specified resource was not found. Verify the resource ID and 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
2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 | |