main#
todo: docstring
- class aws_resource_search.cli.main.ArsCli[source]#
AWS Resource Search CLI.
Search AWS resource in terminal, just like you are using AWS Console in web browser.
You can do things like:
open aws console url
copy information to clipboard
view aws resource details in terminal
For full documentation, please view https://github.com/MacHu-GWU/aws_resource_search-project
Usage:
ars: enter the AWS resource search interactive UIars -v: show the version of this toolars -h: show this help messagears ${{sub_command}}: run the given sub command. See “COMMANDS” section below.
- which()[source]#
Show AWS account id, alias, region of the current boto3 session.
Usage:
ars which, print the AWS account id, alias, region of the current boto3 session. Example:$ ars which AWS Account ID = 123456789012 AWS Account Alias = my-aws-account-alias AWS Region = us-east-1
- set_profile()[source]#
Set one of your AWS named profile as default profile for ARS UI.
Usage:
ars set-profile, then follow the interactive UI to set the profile.Example: https://github.com/MacHu-GWU/awscli_mate-project#use-awscli_mate-as-a-interactive-cli