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
2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 | |