Returns information about DNSSEC for a specific hosted zone, including the key-signing keys (KSKs) in the hosted zone.
Parameters:
-
hosted_zone_id
(ResourceId)
–
A unique string used to identify a hosted zone.
Raises:
Source code in docs_src/capo_route_53/_services/route53.py
| def get_dnssec(
self,
hosted_zone_id: "capo_route_53.types.resource_id.ResourceId",
*,
config_overrides: Optional[Route53ClientConfig] = None,
) -> "capo_route_53.types.get_dnssec_response.GetDNSSECResponse":
"""<p>Returns information about DNSSEC for a specific hosted zone, including the key-signing keys (KSKs) in the hosted zone.</p>
Args:
hosted_zone_id: <p>A unique string used to identify a hosted zone.</p>
Raises:
capo_route_53.errors.invalid_argument.InvalidArgument: <p>Parameter name is not valid.</p>
capo_route_53.errors.invalid_input.InvalidInput: <p>The input is not valid.</p>
capo_route_53.errors.no_such_hosted_zone.NoSuchHostedZone: <p>No hosted zone exists with the ID that you specified.</p>
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_dnssec_request.GetDNSSECRequest]",
) -> OperationResponse[
"capo_route_53.types.get_dnssec_response.GetDNSSECResponse"
]:
import capo_route_53._operations.aws_dns_v20130401.get_dnssec
output, http_response = (
capo_route_53._operations.aws_dns_v20130401.get_dnssec.get_dnssec(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetDNSSEC")
)
input_: capo_route_53.types.get_dnssec_request.GetDNSSECRequest = {
"hosted_zone_id": hosted_zone_id
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|