I noticed that auto-completion was throwing an exception (cf below) for --vault-name.
I think the problem was that VaultName was not mapped correctly.
aws> glacier create-vault --vault-name
Exception in thread Thread-68:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.args, *_self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/interface.py", line 624, in run
CompleteEvent(text_inserted=True)))
File "/usr/local/lib/python2.7/dist-packages/awsshell/shellcomplete.py", line 135, in get_completions
.retrieve_candidate_values(service, operation, param)
File "/usr/local/lib/python2.7/dist-packages/awsshell/resource/index.py", line 241, in retrieve_candidate_values
service, api_operation_name, param)
File "/usr/local/lib/python2.7/dist-packages/awsshell/resource/index.py", line 135, in describe_autocomplete
path = resource_index['resourceIdentifier'][resource_identifier]
KeyError: u'Name'
Hi,
I noticed that auto-completion was throwing an exception (cf below) for --vault-name. I think the problem was that VaultName was not mapped correctly.
aws> glacier create-vault --vault-name Exception in thread Thread-68: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/interface.py", line 624, in run CompleteEvent(text_inserted=True))) File "/usr/local/lib/python2.7/dist-packages/awsshell/shellcomplete.py", line 135, in get_completions
.retrieve_candidate_values(service, operation, param) File "/usr/local/lib/python2.7/dist-packages/awsshell/resource/index.py", line 241, in retrieve_candidate_values service, api_operation_name, param) File "/usr/local/lib/python2.7/dist-packages/awsshell/resource/index.py", line 135, in describe_autocomplete path = resource_index['resourceIdentifier'][resource_identifier] KeyError: u'Name'