Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.
GetCheckerIpRanges still works, but we recommend that you download ip-ranges.json, which includes IP address ranges for all Amazon Web Services services. For more information, see IP Address Ranges of Amazon Route 53 Servers in the Amazon Route 53 Developer Guide.
Raises:
Source code in docs_src/capo_route_53/_services/route53.py
| def get_checker_ip_ranges(
self, *, config_overrides: Optional[Route53ClientConfig] = None
) -> (
"capo_route_53.types.get_checker_ip_ranges_response.GetCheckerIpRangesResponse"
):
"""<p>Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.</p> <important> <p> <code>GetCheckerIpRanges</code> still works, but we recommend that you download ip-ranges.json, which includes IP address ranges for all Amazon Web Services services. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/route-53-ip-addresses.html">IP Address Ranges of Amazon Route 53 Servers</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> </important>
Raises:
capo_route_53.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_route_53.types.get_checker_ip_ranges_request.GetCheckerIpRangesRequest]",
) -> OperationResponse[
"capo_route_53.types.get_checker_ip_ranges_response.GetCheckerIpRangesResponse"
]:
import capo_route_53._operations.aws_dns_v20130401.get_checker_ip_ranges
output, http_response = (
capo_route_53._operations.aws_dns_v20130401.get_checker_ip_ranges.get_checker_ip_ranges(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetCheckerIpRanges")
)
input_: capo_route_53.types.get_checker_ip_ranges_request.GetCheckerIpRangesRequest = {}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|