getStream method
Retrieves information about a stream.
May throw ResourceNotFoundException.
Parameter clusterIdentifier :
The ID of the cluster containing the stream to retrieve.
Parameter streamIdentifier :
The ID of the stream to retrieve.
Implementation
Future<GetStreamOutput> getStream({
required String clusterIdentifier,
required String streamIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/stream/${Uri.encodeComponent(clusterIdentifier)}/${Uri.encodeComponent(streamIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetStreamOutput.fromJson(response);
}