getDataset method

Future<GetDatasetResponse> getDataset({
  1. required String datasetId,
})

Returns information about a Dataset.

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

Parameter datasetId : The unique identifier for a Dataset.

Implementation

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