getSensitiveDataOccurrences method
Future<GetSensitiveDataOccurrencesResponse>
getSensitiveDataOccurrences({
- required String findingId,
Retrieves occurrences of sensitive data reported by a finding.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw UnprocessableEntityException.
Parameter findingId :
The unique identifier for the finding.
Implementation
Future<GetSensitiveDataOccurrencesResponse> getSensitiveDataOccurrences({
required String findingId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/findings/${Uri.encodeComponent(findingId)}/reveal',
exceptionFnMap: _exceptionFns,
);
return GetSensitiveDataOccurrencesResponse.fromJson(response);
}