IT and Development
Amazon Lambda
16 min
the amazon lambda modules allow you to watch, invoke, list, and retrieve the functions, layers, and layer versions in your amazon lambda account get started with amazon lambda prerequisites an amazon lambda account create an amazon lambda account at aws amazon com/signup amazon lambda /#assign permissions in your lambda account connect amazon lambda to make to connect your amazon lambda account to make you need to obtain the api key from your amazon lambda account and insert it in the create a connection dialog in the make module log in to your amazon lambda account click your account name > my security credentials > access keys (access key id and secret access key) > create new access key click show access key to display the access key id and secret access key copy and save the provided keys in a safe place go to make and open the amazon lambda module's create a connectio n dialog in the connection name field, enter a name for the connection in the aws key and aws secret key fields, enter the access key and secret access key values provided in step 3 above in the region field, select your region and click continue the connection has been established assign permissions in your lambda account for amazon lamda modules to work, you need to enable permissions in your aws account log in to your aws account in the search field, enter iam and in the features section, select the iam click create policy in the service section, choose lambda in the actions section, click expand all and select the following minimum permissions required to use the make lambda functions for more information on the actions for layer or other categories, see the lambda functions function watch functions triggers when a function is last updated field description connection establish a connection to your amazon lambda account limit set the maximum number of functions make should return during one make execution cycle list functions retrieves a list of all aws lambda functions field description connection establish a connection to your amazon lambda account limit set the maximum number of functions make should return during one make execution cycle get a function gets the information of an aws lambda function true false 183false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type invoke a function invoke an aws lambda function synchronously or asynchronously true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type layer watch layer versions triggers when a new version of an aws lambda layer is created true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list layers retrieves a list of all aws lambda layers true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list layer versions retrieves a list of the versions of an aws lambda layer true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type get a layer version gets the information of a version of an aws lambda layer true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type other make an api call performs an arbitrary authorized api call true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type example of use list functions the following api call returns all functions from your amazon lambda account url /31 03 2015/functions method get matches of the search can be found in the module's output under bundle > body in our example, 5 functions were returned for the list of available endpoints, refer to the amazon lambda api documentation https //docs aws amazon com/lambda/latest/dg/api reference html