def absent(name,
           region=None,
           key=None,
           keyid=None,
           profile=None):
    ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
    exists = __salt__['boto_dynamodb.exists'](
        name,
        region,
        key,
        keyid,
        profile
    )
    if not exists:
        ret['comment'] = 'DynamoDB table {0} does not exist'.format(name)
        return ret

    if __opts__['test']:
        ret['comment'] = 'DynamoDB table {0} is set to be deleted \
                         '.format(name)
        ret['result'] = None
        return ret

    is_deleted = __salt__['boto_dynamodb.delete'](name, region, key, keyid, profile)
    if is_deleted:
        ret['comment'] = 'Deleted DynamoDB table {0}'.format(name)
        ret['changes'].setdefault('old', 'Table {0} exists'.format(name))
        ret['changes'].setdefault('new', 'Table {0} deleted'.format(name))
    else:
        ret['comment'] = 'Failed to delete DynamoDB table {0} \
                         '.format(name)
        ret['result'] = False
    return ret
Loading birth name dataset from a zip file in the repo
dataset/ETHPy150Open saltstack/salt/salt/states/boto_dynamodb.py/absent--crossover with--dataset/ETHPy150Open airbnb/caravel/caravel/data/__init__.py/load_birth_names