'Get the waiter model for the service.'

def get_waiter_model(self, service, api_version=None):

    with mock.patch('botocore.loaders.Loader.list_available_services', return_value=[service]):
        return WaiterModel(self.loader.load_service_model(service, type_name='waiters-2', api_version=api_version))
