Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
Parameters:
-
max_results
(Optional[MaxResults], default:
None
)
–
Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Route 53 returns up to 100 configuration per page.
-
next_token
(Optional[NextToken], default:
None
)
–
(Optional) If the current Amazon Web Services account has more than MaxResults DNSSEC configurations, use NextToken to get the second and subsequent pages of results.
For the first ListResolverDnssecConfigs request, omit this value.
For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.
-
filters
(Optional[Filters], default:
None
)
–
An optional specification to return a subset of objects.
Raises:
Source code in docs_src/capo_route53resolver/_services/route53_resolver.py
| def list_resolver_dnssec_configs(
self,
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
max_results: Optional[
"capo_route53resolver.types.max_results.MaxResults"
] = None,
next_token: Optional["capo_route53resolver.types.next_token.NextToken"] = None,
filters: Optional["capo_route53resolver.types.filters.Filters"] = None,
) -> "capo_route53resolver.types.list_resolver_dnssec_configs_response.ListResolverDnssecConfigsResponse":
"""<p>Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.</p>
Args:
max_results: <p> <i>Optional</i>: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don't specify a value for <code>MaxResults</code>, Route 53 returns up to 100 configuration per page.</p>
next_token: <p>(Optional) If the current Amazon Web Services account has more than <code>MaxResults</code> DNSSEC configurations, use <code>NextToken</code> to get the second and subsequent pages of results.</p> <p>For the first <code>ListResolverDnssecConfigs</code> request, omit this value.</p> <p>For the second and subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request.</p>
filters: <p>An optional specification to return a subset of objects.</p>
Raises:
capo_route53resolver.errors.access_denied_exception.AccessDeniedException: <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p> <p>This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.</p>
capo_route53resolver.errors.internal_service_error_exception.InternalServiceErrorException: <p>We encountered an unknown error. Try again in a few minutes.</p>
capo_route53resolver.errors.invalid_next_token_exception.InvalidNextTokenException: <p>The value that you specified for <code>NextToken</code> in a <code>List</code> request isn't valid.</p>
capo_route53resolver.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters in this request are not valid.</p>
capo_route53resolver.errors.invalid_request_exception.InvalidRequestException: <p>The request is invalid.</p>
capo_route53resolver.errors.throttling_exception.ThrottlingException: <p>The request was throttled. Try again in a few minutes.</p>
capo_route53resolver.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_route53resolver.types.list_resolver_dnssec_configs_request.ListResolverDnssecConfigsRequest]",
) -> OperationResponse[
"capo_route53resolver.types.list_resolver_dnssec_configs_response.ListResolverDnssecConfigsResponse"
]:
import capo_route53resolver._operations.route53_resolver.list_resolver_dnssec_configs
output, http_response = (
capo_route53resolver._operations.route53_resolver.list_resolver_dnssec_configs.list_resolver_dnssec_configs(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListResolverDnssecConfigs")
)
input_: capo_route53resolver.types.list_resolver_dnssec_configs_request.ListResolverDnssecConfigsRequest = {}
if max_results is not None:
input_["max_results"] = max_results
if next_token is not None:
input_["next_token"] = next_token
if filters is not None:
input_["filters"] = filters
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|