verifyEmailAddress method

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

Deprecated. Use the VerifyEmailIdentity operation to verify a new email address.

Parameter emailAddress : The email address to be verified.

Implementation

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