resendContactReachabilityEmail method
Future<ResendContactReachabilityEmailResponse>
resendContactReachabilityEmail({
- String? domainName,
For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation resends the confirmation email to the current email address for the registrant contact.
May throw InvalidInput. May throw OperationLimitExceeded. May throw UnsupportedTLD.
Parameter domainName
:
The name of the domain for which you want Route 53 to resend a
confirmation email to the registrant contact.
Implementation
Future<ResendContactReachabilityEmailResponse>
resendContactReachabilityEmail({
String? domainName,
}) async {
_s.validateStringLength(
'domainName',
domainName,
0,
255,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Route53Domains_v20140515.ResendContactReachabilityEmail'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (domainName != null) 'domainName': domainName,
},
);
return ResendContactReachabilityEmailResponse.fromJson(jsonResponse.body);
}