more shuffling
This commit is contained in:
36
modules/aws/aws_lambda.py
Normal file
36
modules/aws/aws_lambda.py
Normal file
@@ -0,0 +1,36 @@
|
||||
'''
|
||||
This file is used to list lambda functions and event mappings
|
||||
'''
|
||||
from libs.aws_lambda import *
|
||||
|
||||
|
||||
def module_lambda_list_functions():
|
||||
'''
|
||||
List Lambda functions
|
||||
python3 weirdAAL.py -m lambda_list_functions -t demo
|
||||
'''
|
||||
list_functions()
|
||||
|
||||
|
||||
def module_lambda_list_event_source_mappings():
|
||||
'''
|
||||
List Lambda event source mappings
|
||||
python3 weirdAAL.py -m lambda_list_event_source_mappings -t demo
|
||||
'''
|
||||
list_event_source_mappings()
|
||||
|
||||
|
||||
def module_lambda_get_function(*text):
|
||||
'''
|
||||
get specfied function. Takes function name from list_functions and region the function exists in
|
||||
python3 weirdAAL.py -m lambda_get_function -a 'MY_LAMBDA_FUNCTION','us-west-2' -t yolo
|
||||
'''
|
||||
lambda_get_function(text[0][0], text[0][1])
|
||||
|
||||
|
||||
def module_lambda_get_account_settings():
|
||||
'''
|
||||
Returns a customer's account settings.
|
||||
python3 weirdAAL.py -m lambda_get_account_settings -t demo
|
||||
'''
|
||||
lambda_get_account_settings()
|
||||
Reference in New Issue
Block a user