deleteInsight method
Deletes the insight along with the associated anomalies, events and recommendations.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The ID of the insight.
Implementation
Future<void> deleteInsight({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/insights/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
}