MCPcopy Create free account

hub / github.com/bassammaged/awsEnum / functions

Functions16 in github.com/bassammaged/awsEnum

↓ 17 callersMethodadd
add() is written to log the msg and severity of msg. Arguments: criticality_level: determine the level of log
logger.py:77
↓ 2 callersMethod_extract_ec2_info
`_extract_ec2_info()` is coded to extract the EC2 info out of the AWS method response.
aws.py:118
↓ 1 callersMethod_call_describe_isntance_method
`_call_describe_isntance_method()` Designed to request method based on NextToken. the response is analyzed by `_extract_ec2_i
aws.py:87
↓ 1 callersMethod_call_list_buckets_method
(self)
aws.py:150
↓ 1 callersMethod_clear_old_logs
_clear_old_logs() is method to clear the *.log file that related to the target.
logger.py:68
↓ 1 callersMethod_verbose
_verbose() checks the virbosity status and print out the colored message if verbose was enabled.
logger.py:113
↓ 1 callersFunctionmain
()
run.py:68
↓ 1 callersFunctiontake_arguments
take_argumets() is designed to take the service name and aws profile name
run.py:38
↓ 1 callersFunctionweclome
weclome message and contain the version
run.py:12
Method__init__
`aws_service(service_name,profile,region,verbose)` Arguments: - `string` service_name - `st
aws.py:11
Method__init__
`ec2()` takes 3 arguments Arguments: - `boto3 session object` aws_session - `int` tries
aws.py:71
Method__init__
`ec2()` takes 3 arguments Arguments: - `boto3 session object` aws_session - `int` tries
aws.py:135
Method__init__
(self,service_name,profile,region,result,logit_obj)
aws.py:190
Method__init__
Exception raise for error in the script. Arguments: - message: holds the error message - criticality
logger.py:19
Method__init__
(self,profile,region,service_name,verbose=False)
logger.py:56
Method__init__
(self)
logger.py:142