search_aws_profile_handler#
See search_aws_profile_handler().
- aws_resource_search.handlers.search_aws_profile_handler.search_aws_profile_handler(ui: UI, line_input: str, profile_query: str, skip_ui: bool = False) List[SetAwsProfileItem][source]#
Search AWS CLI profile in
~/.aws/configfile, order by similarity to the query. This function will be triggered when user type!@without leaving the app.- Parameters:
line_input – the original query input by user before the
!@.profile_query – aws profile query, the text after
!@.skip_ui – if True, skip the UI related logic, just return the items. this argument is used for third party integration.