getDataSet method

Future<GetDataSetResponse> getDataSet({
  1. required String dataSetId,
})

This operation returns information about a data set.

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

Parameter dataSetId : The unique identifier for a data set.

Implementation

Future<GetDataSetResponse> getDataSet({
  required String dataSetId,
}) async {
  ArgumentError.checkNotNull(dataSetId, 'dataSetId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/data-sets/${Uri.encodeComponent(dataSetId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetDataSetResponse.fromJson(response);
}