getReviewTemplateLensReview method

Future<GetReviewTemplateLensReviewOutput> getReviewTemplateLensReview({
  1. required String lensAlias,
  2. required String templateArn,
})

Get a lens review associated with a review template.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter templateArn : The review template ARN.

Implementation

Future<GetReviewTemplateLensReviewOutput> getReviewTemplateLensReview({
  required String lensAlias,
  required String templateArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/reviewTemplates/${Uri.encodeComponent(templateArn)}/lensReviews/${Uri.encodeComponent(lensAlias)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetReviewTemplateLensReviewOutput.fromJson(response);
}