For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded.
If you want us to resend the email, use the ResendContactReachabilityEmail operation.
Parameters:
-
domain_name
(Optional[DomainName], default:
None
)
–
The name of the domain for which you want to know whether the registrant contact has confirmed that the email address is valid.
Raises:
-
InvalidInput
–
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 AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid.
-
OperationLimitExceeded
–
The number of operations or jobs running exceeded the allowed threshold for the account.
-
UnsupportedTLD
–
Amazon Route 53 does not support this top-level domain (TLD).
-
UnknownServiceError
–
The service returned an error code this client does not model.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
| def get_contact_reachability_status(
self,
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
domain_name: Optional[
"capo_route_53_domains.types.domain_name.DomainName"
] = None,
) -> "capo_route_53_domains.types.get_contact_reachability_status_response.GetContactReachabilityStatusResponse":
"""<p>For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded.</p> <p>If you want us to resend the email, use the <code>ResendContactReachabilityEmail</code> operation.</p>
Args:
domain_name: <p>The name of the domain for which you want to know whether the registrant contact has confirmed that the email address is valid.</p>
Raises:
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.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.
"""
def _handler(
req: "OperationRequest[capo_route_53_domains.types.get_contact_reachability_status_request.GetContactReachabilityStatusRequest]",
) -> OperationResponse[
"capo_route_53_domains.types.get_contact_reachability_status_response.GetContactReachabilityStatusResponse"
]:
import capo_route_53_domains._operations.route53_domains_v20140515.get_contact_reachability_status
output, http_response = (
capo_route_53_domains._operations.route53_domains_v20140515.get_contact_reachability_status.get_contact_reachability_status(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetContactReachabilityStatus")
)
input_: capo_route_53_domains.types.get_contact_reachability_status_request.GetContactReachabilityStatusRequest = {}
if domain_name is not None:
input_["domain_name"] = domain_name
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|