deleteVerifiedEmailAddress method

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

Deprecated. Use the DeleteIdentity operation to delete email addresses and domains.

Parameter emailAddress : An email address to be removed from the list of verified addresses.

Implementation

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