disableDomainAutoRenew method
This operation disables automatic renewal of domain registration for the specified domain.
May throw InvalidInput. May throw UnsupportedTLD.
Parameter domainName
:
The name of the domain that you want to disable automatic renewal for.
Implementation
Future<void> disableDomainAutoRenew({
required String domainName,
}) async {
ArgumentError.checkNotNull(domainName, 'domainName');
_s.validateStringLength(
'domainName',
domainName,
0,
255,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Route53Domains_v20140515.DisableDomainAutoRenew'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'DomainName': domainName,
},
);
}