Fix hash_key_name to be optional for delete (#25009)

This commit is contained in:
Alan Loi 2017-06-10 19:04:51 +10:00 committed by Brian Coca
parent c23e3c1913
commit 3ac9273507

View file

@ -444,7 +444,7 @@ def main():
argument_spec.update(dict( argument_spec.update(dict(
state=dict(default='present', choices=['present', 'absent']), state=dict(default='present', choices=['present', 'absent']),
name=dict(required=True, type='str'), name=dict(required=True, type='str'),
hash_key_name=dict(required=True, type='str'), hash_key_name=dict(type='str'),
hash_key_type=dict(default='STRING', type='str', choices=['STRING', 'NUMBER', 'BINARY']), hash_key_type=dict(default='STRING', type='str', choices=['STRING', 'NUMBER', 'BINARY']),
range_key_name=dict(type='str'), range_key_name=dict(type='str'),
range_key_type=dict(default='STRING', type='str', choices=['STRING', 'NUMBER', 'BINARY']), range_key_type=dict(default='STRING', type='str', choices=['STRING', 'NUMBER', 'BINARY']),