

def _build_success_description(self, acceptor):
    matcher = acceptor.matcher
    success_description = self.SUCCESS_DESCRIPTIONS[matcher]
    resource_description = None
    if (matcher in ['path', 'pathAny', 'pathAll']):
        resource_description = ('JMESPath query %s returns ' % acceptor.argument)
        success_description = (resource_description + success_description)
    full_success_description = (success_description % acceptor.expected)
    return full_success_description

dataset/ETHPy150Open aws/aws-cli/awscli/customizations/waiters.py WaiterStateDocBuilder._build_success_description/original