getReadinessCheck method

Future<GetReadinessCheckResponse> getReadinessCheck({
  1. required String readinessCheckName,
})

Gets details about a readiness check.

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

Parameter readinessCheckName : Name of a readiness check.

Implementation

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