foo module

foo.createaws() → my_aws_api_library.MyAws[source]

Reads the credentials and instantiates a MyAws object.

Note

Required Environmental Variables:

AWS_CRED_FILE –> Indicates the .csv file that consists AWS Access key ID, Secret access key to access AWS APIs.

COMPANY_PUBKEY –> Indicates the .pub file that consists Public Key to access Aws Instances.

Returns:
object: MyAws object
foo.read_args()[source]

Read the command line arguments

foo.run()[source]

Check the command line arguments and decide the library function will be called

Returns:
True on successful calls, otherwise False.