def METHOD_NAME(self, current_arg, opts):
    if current_arg.startswith('-'):
        return self._find_possible_options(current_arg, opts)
    elif current_arg == 'aws':
        return self._get_documented_completions(
            self.main_help.command_table)
    else:
        # Otherwise, see if they have entered a partial command name
        return self._get_documented_completions(
            self.main_help.command_table, current_arg)