getKxDatabase method
Returns database information for the specified environment ID.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter databaseName :
The name of the kdb database.
Parameter environmentId :
A unique identifier for the kdb environment.
Implementation
Future<GetKxDatabaseResponse> getKxDatabase({
required String databaseName,
required String environmentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/kx/environments/${Uri.encodeComponent(environmentId)}/databases/${Uri.encodeComponent(databaseName)}',
exceptionFnMap: _exceptionFns,
);
return GetKxDatabaseResponse.fromJson(response);
}