describeDataset method

Future<DescribeDatasetResponse> describeDataset({
  1. required String datasetId,
})

Retrieves information about a dataset.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter datasetId : The ID of the dataset.

Implementation

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