more shuffling

This commit is contained in:
cktricky
2018-09-13 20:09:26 -04:00
parent 92f229ecf4
commit b00ee271ff
30 changed files with 1 additions and 1 deletions

36
modules/aws/aws_lambda.py Normal file
View 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()