updateInvestigationState method
Updates the state of an investigation.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw TooManyRequestsException.
May throw ValidationException.
Parameter graphArn :
The Amazon Resource Name (ARN) of the behavior graph.
Parameter investigationId :
The investigation ID of the investigation report.
Parameter state :
The current state of the investigation. An archived investigation
indicates you have completed reviewing the investigation.
Implementation
Future<void> updateInvestigationState({
required String graphArn,
required String investigationId,
required State state,
}) async {
final $payload = <String, dynamic>{
'GraphArn': graphArn,
'InvestigationId': investigationId,
'State': state.value,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/investigations/updateInvestigationState',
exceptionFnMap: _exceptionFns,
);
}