describeCodeReview method
Returns the metadata associated with the code review along with its status.
May throw ResourceNotFoundException. May throw InternalServerException. May throw ValidationException. May throw AccessDeniedException. May throw ThrottlingException.
Parameter codeReviewArn
:
The Amazon Resource Name (ARN) of the
CodeReview
object.
Implementation
Future<DescribeCodeReviewResponse> describeCodeReview({
required String codeReviewArn,
}) async {
ArgumentError.checkNotNull(codeReviewArn, 'codeReviewArn');
_s.validateStringLength(
'codeReviewArn',
codeReviewArn,
1,
1600,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/codereviews/${Uri.encodeComponent(codeReviewArn)}',
exceptionFnMap: _exceptionFns,
);
return DescribeCodeReviewResponse.fromJson(response);
}