getHarnessEndpoint method
Operation to get a single harness endpoint.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter endpointName :
The name of the endpoint to retrieve.
Parameter harnessId :
The ID of the harness that the endpoint belongs to.
Implementation
Future<GetHarnessEndpointResponse> getHarnessEndpoint({
required String endpointName,
required String harnessId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/harnesses/${Uri.encodeComponent(harnessId)}/endpoints/${Uri.encodeComponent(endpointName)}',
exceptionFnMap: _exceptionFns,
);
return GetHarnessEndpointResponse.fromJson(response);
}