describeCodeReview method

Future<DescribeCodeReviewResponse> describeCodeReview({
  1. required String codeReviewArn,
})

Returns the metadata associated with the code review along with its status.

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

Parameter codeReviewArn : The Amazon Resource Name (ARN) of the CodeReview object.

Implementation

Future<DescribeCodeReviewResponse> describeCodeReview({
  required String codeReviewArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/codereviews/${Uri.encodeComponent(codeReviewArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeCodeReviewResponse.fromJson(response);
}