getKxEnvironment method

Future<GetKxEnvironmentResponse> getKxEnvironment({
  1. required String environmentId,
})

Retrieves all the information for the specified kdb environment.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter environmentId : A unique identifier for the kdb environment.

Implementation

Future<GetKxEnvironmentResponse> getKxEnvironment({
  required String environmentId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/kx/environments/${Uri.encodeComponent(environmentId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetKxEnvironmentResponse.fromJson(response);
}