getReviewTemplate method

Future<GetReviewTemplateOutput> getReviewTemplate({
  1. required String templateArn,
})

Get 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<GetReviewTemplateOutput> getReviewTemplate({
  required String templateArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/reviewTemplates/${Uri.encodeComponent(templateArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetReviewTemplateOutput.fromJson(response);
}