putFeedback method
Collects customer feedback about the specified insight.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter insightFeedback :
The feedback from customers is about the recommendations in this insight.
Implementation
Future<void> putFeedback({
InsightFeedback? insightFeedback,
}) async {
final $payload = <String, dynamic>{
if (insightFeedback != null) 'InsightFeedback': insightFeedback,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/feedback',
exceptionFnMap: _exceptionFns,
);
}