@expected('<STR_LIT:id>', '<STR_LIT>', '<STR_LIT>')<EOL><INDENT>def shutdown_stream(self, **kwargs):<DEDENT>
return self.protocol.execute('<STR_LIT>', **kwargs)<EOL>
Terminates a specific stream. When permanently=1 is used, this command
is analogous to removeConfig.

:param id: The uniqueId of the stream that needs to be terminated. The
    stream ID's can be obtained using the listStreams command. This
    parameter is not mandatory but either this or localStreamName
    should be present to identify the particular stream
:type id: int

:param localStreamName: The name of the inbound stream which you wish
    to terminate. This will also terminate any outbound streams that
    are dependent upon this input stream. This parameter is not
    mandatory but either this or the id should be present to identify
    the particular stream
:type localStreamName: str

:param permanently: If true, the corresponding push/pull configuration
    will also be terminated. Therefore, the stream will NOT be
    reconnected when the server restarts
:type permanently: int

:link: http://docs.evostream.com/ems_api_definition/shutdownstream