upgradeReviewTemplateLensReview method
Upgrade the lens review of a review template.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter templateArn :
The ARN of the review template.
Implementation
Future<void> upgradeReviewTemplateLensReview({
required String lensAlias,
required String templateArn,
String? clientRequestToken,
}) async {
final $payload = <String, dynamic>{
if (clientRequestToken != null) 'ClientRequestToken': clientRequestToken,
};
await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/reviewTemplates/${Uri.encodeComponent(templateArn)}/lensReviews/${Uri.encodeComponent(lensAlias)}/upgrade',
exceptionFnMap: _exceptionFns,
);
}