disassociateRoleFromGroup method
Disassociates the role from a group.
May throw BadRequestException. May throw InternalServerErrorException.
Parameter groupId
:
The ID of the Greengrass group.
Implementation
Future<DisassociateRoleFromGroupResponse> disassociateRoleFromGroup({
required String groupId,
}) async {
ArgumentError.checkNotNull(groupId, 'groupId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/greengrass/groups/${Uri.encodeComponent(groupId)}/role',
exceptionFnMap: _exceptionFns,
);
return DisassociateRoleFromGroupResponse.fromJson(response);
}