async def disassociate_delegation_signer_from_domain(
self,
domain_name: "capo_route_53_domains.types.domain_name.DomainName",
id: "capo_route_53_domains.types.string.String",
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = None,
) -> "capo_route_53_domains.types.disassociate_delegation_signer_from_domain_response.DisassociateDelegationSignerFromDomainResponse":
"""<p>Deletes a delegation signer (DS) record in the registry zone for this domain name.</p>
Args:
domain_name: <p>Name of the domain.</p>
id: <p>An internal identification number assigned to each DS record after it’s created. You can retrieve it as part of DNSSEC information returned by <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetDomainDetail.html">GetDomainDetail</a>.</p>
Raises:
capo_route_53_domains.errors.duplicate_request.DuplicateRequest: <p>The request is already in progress for the domain.</p>
capo_route_53_domains.errors.invalid_input.InvalidInput: <p>The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For <code>AcceptDomainTransferFromAnotherAwsAccount</code>, the password might be invalid.</p>
capo_route_53_domains.errors.operation_limit_exceeded.OperationLimitExceeded: <p>The number of operations or jobs running exceeded the allowed threshold for the account.</p>
capo_route_53_domains.errors.tld_rules_violation.TLDRulesViolation: <p>The top-level domain does not support this operation.</p>
capo_route_53_domains.errors.unsupported_tld.UnsupportedTLD: <p>Amazon Route 53 does not support this top-level domain (TLD).</p>
capo_route_53_domains.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_route_53_domains.types.disassociate_delegation_signer_from_domain_request.DisassociateDelegationSignerFromDomainRequest]",
) -> AsyncOperationResponse[
"capo_route_53_domains.types.disassociate_delegation_signer_from_domain_response.DisassociateDelegationSignerFromDomainResponse"
]:
import capo_route_53_domains._operations.route53_domains_v20140515.disassociate_delegation_signer_from_domain
(
output,
http_response,
) = await capo_route_53_domains._operations.route53_domains_v20140515.disassociate_delegation_signer_from_domain.async_disassociate_delegation_signer_from_domain(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DisassociateDelegationSignerFromDomain")
)
input_: capo_route_53_domains.types.disassociate_delegation_signer_from_domain_request.DisassociateDelegationSignerFromDomainRequest = {
"domain_name": domain_name,
"id": id,
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output