verifyEmailIdentity method

Future<void> verifyEmailIdentity({
  1. required String emailAddress,
})

Adds an email address to the list of identities for your Amazon SES account in the current AWS region and attempts to verify it. As a result of executing this operation, a verification email is sent to the specified address.

You can execute this operation no more than once per second.

Parameter emailAddress : The email address to be verified.

Implementation

Future<void> verifyEmailIdentity({
  required String emailAddress,
}) async {
  ArgumentError.checkNotNull(emailAddress, 'emailAddress');
  final $request = <String, dynamic>{};
  $request['EmailAddress'] = emailAddress;
  await _protocol.send(
    $request,
    action: 'VerifyEmailIdentity',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['VerifyEmailIdentityRequest'],
    shapes: shapes,
    resultWrapper: 'VerifyEmailIdentityResult',
  );
}