verifyDomainIdentity method
Adds a domain to the list of identities for your Amazon SES account in the current AWS Region and attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameter domain
:
The domain to be verified.
Implementation
Future<VerifyDomainIdentityResponse> verifyDomainIdentity({
required String domain,
}) async {
ArgumentError.checkNotNull(domain, 'domain');
final $request = <String, dynamic>{};
$request['Domain'] = domain;
final $result = await _protocol.send(
$request,
action: 'VerifyDomainIdentity',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['VerifyDomainIdentityRequest'],
shapes: shapes,
resultWrapper: 'VerifyDomainIdentityResult',
);
return VerifyDomainIdentityResponse.fromXml($result);
}