updateLensReview method
Update lens review for a particular workload.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter jiraConfiguration :
Configuration of the Jira integration.
Implementation
Future<UpdateLensReviewOutput> updateLensReview({
required String lensAlias,
required String workloadId,
JiraSelectedQuestionConfiguration? jiraConfiguration,
String? lensNotes,
Map<String, String>? pillarNotes,
}) async {
final $payload = <String, dynamic>{
if (jiraConfiguration != null) 'JiraConfiguration': jiraConfiguration,
if (lensNotes != null) 'LensNotes': lensNotes,
if (pillarNotes != null) 'PillarNotes': pillarNotes,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri:
'/workloads/${Uri.encodeComponent(workloadId)}/lensReviews/${Uri.encodeComponent(lensAlias)}',
exceptionFnMap: _exceptionFns,
);
return UpdateLensReviewOutput.fromJson(response);
}