

def build_all_waiter_state_cmds(self, subcommand_table):
    'This adds waiter state commands to the subcommand table passed in.\n\n        This is the method that adds waiter state commands like\n        ``instance-running`` to ``ec2 wait``.\n        '
    waiter_names = self._model.waiter_names
    for waiter_name in waiter_names:
        waiter_cli_name = xform_name(waiter_name, '-')
        subcommand_table[waiter_cli_name] = self._build_waiter_state_cmd(waiter_name)

dataset/ETHPy150Open aws/aws-cli/awscli/customizations/waiters.py WaiterStateCommandBuilder.build_all_waiter_state_cmds/original