deleteStream method
Deletes a stream.
Requires permission to access the DeleteStream action.
May throw DeleteConflictException.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter streamId :
The stream ID.
Implementation
Future<void> deleteStream({
required String streamId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/streams/${Uri.encodeComponent(streamId)}',
exceptionFnMap: _exceptionFns,
);
}