deleteSuppressedDestination method
Removes an email address from the suppression list for your account.
May throw NotFoundException. May throw BadRequestException. May throw TooManyRequestsException.
Parameter emailAddress
:
The suppressed email destination to remove from the account suppression
list.
Implementation
Future<void> deleteSuppressedDestination({
required String emailAddress,
}) async {
ArgumentError.checkNotNull(emailAddress, 'emailAddress');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v2/email/suppression/addresses/${Uri.encodeComponent(emailAddress)}',
exceptionFnMap: _exceptionFns,
);
}