deleteAvailabilityConfiguration method
Deletes the AvailabilityConfiguration for the given WorkMail
organization and domain.
May throw OrganizationNotFoundException.
May throw OrganizationStateException.
Parameter domainName :
The domain for which the AvailabilityConfiguration will be
deleted.
Parameter organizationId :
The WorkMail organization for which the
AvailabilityConfiguration will be deleted.
Implementation
Future<void> deleteAvailabilityConfiguration({
required String domainName,
required String organizationId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'WorkMailService.DeleteAvailabilityConfiguration'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'DomainName': domainName,
'OrganizationId': organizationId,
},
);
}