getDataView method

Future<GetDataViewResponse> getDataView({
  1. required String dataViewId,
  2. required String datasetId,
})

Gets information about a Dataview.

May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter dataViewId : The unique identifier for the Dataview.

Parameter datasetId : The unique identifier for the Dataset used in the Dataview.

Implementation

Future<GetDataViewResponse> getDataView({
  required String dataViewId,
  required String datasetId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/datasets/${Uri.encodeComponent(datasetId)}/dataviewsv2/${Uri.encodeComponent(dataViewId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetDataViewResponse.fromJson(response);
}