show_aws_info_item#

See ShowAwsInfoItem.

class aws_resource_search.items.show_aws_info_item.ShowAwsInfoItem(title: str, subtitle: ~typing.Optional[str] = None, uid: str = <factory>, arg: ~typing.Optional[str] = None, autocomplete: ~typing.Optional[str] = None, variables: ~typing.Dict[str, ~typing.Any] = <factory>)[source]#

Represent an item to display current AWS Account information

enter_handler(ui: UI)[source]#

This is the abstract method that will perform user defined action when user hits Enter on this item. Develop should inherit this class and override this method to perform user defined action.

Parameters:

ui – the UI object.

post_enter_handler(ui: UI)[source]#

Do “autocomplete”.

ctrl_w_handler(ui: UI)[source]#

This is the abstract method that will perform user defined action when user hits Ctrl + W on this item. Develop should inherit this class and override this method to perform user defined action.

Parameters:

ui – the UI object.

post_ctrl_w_handler(ui: UI)[source]#

Do “autocomplete”.

classmethod from_key_value(key: str, value: str, autocomplete: str)[source]#

Factory method for ShowAwsInfoItem.

Parameters:
  • key – the name of the aws account detail

  • value – the value of the aws account detail

  • autocomplete – the existing query input before “!?” to recover to.