deleteIpGroup method
Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
May throw AccessDeniedException.
May throw InvalidParameterValuesException.
May throw ResourceAssociatedException.
May throw ResourceNotFoundException.
Parameter groupId :
The identifier of the IP access control group.
Implementation
Future<void> deleteIpGroup({
required String groupId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'WorkspacesService.DeleteIpGroup'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'GroupId': groupId,
},
);
}