getHarness method

Future<GetHarnessResponse> getHarness({
  1. required String harnessId,
})

Operation to get a single Harness.

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

Parameter harnessId : The ID of the harness to retrieve.

Implementation

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