def handle_f9(event):
            """Switch between the default and docs buffers.

            :type event: :class:`prompt_toolkit.Event`
            :param event: Contains info about the event, namely the cli
                which is used to changing which buffer is focused.

            """
            if event.cli.current_buffer_name == u'clidocs':
                event.cli.focus(u'DEFAULT_BUFFER')
            else:
                event.cli.focus(u'clidocs')
Switch between the default and docs buffers.

            :type event: :class:`prompt_toolkit.Event`
            :param event: Contains info about the event, namely the cli
                which is used to changing which buffer is focused.

            
awsshell/keys.py