deleteNotification method
Deletes a notification.
May throw AccessDeniedException.
May throw InternalErrorException.
May throw InvalidParameterException.
May throw NotFoundException.
May throw ThrottlingException.
Parameter accountId :
The accountId that is associated with the budget whose
notification you want to delete.
Parameter budgetName :
The name of the budget whose notification you want to delete.
Parameter notification :
The notification that you want to delete.
Implementation
Future<void> deleteNotification({
required String accountId,
required String budgetName,
required Notification notification,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSBudgetServiceGateway.DeleteNotification'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AccountId': accountId,
'BudgetName': budgetName,
'Notification': notification,
},
);
}