deleteAddressList method
Deletes an address list.
May throw AccessDeniedException.
May throw ConflictException.
May throw ThrottlingException.
May throw ValidationException.
Parameter addressListId :
The identifier of an existing address list resource to delete.
Implementation
Future<void> deleteAddressList({
required String addressListId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'MailManagerSvc.DeleteAddressList'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AddressListId': addressListId,
},
);
}