blob: d1ab02760941f57940006b761141e0f71464eec0 [file] [log] [blame]
:mod:`airflow.contrib.hooks.aws_lambda_hook`
============================================
.. py:module:: airflow.contrib.hooks.aws_lambda_hook
Module Contents
---------------
.. py:class:: AwsLambdaHook(function_name, region_name=None, log_type='None', qualifier='$LATEST', invocation_type='RequestResponse', *args, **kwargs)
Bases::class:`airflow.contrib.hooks.aws_hook.AwsHook`
Interact with AWS Lambda
:param function_name: AWS Lambda Function Name
:type function_name: str
:param region_name: AWS Region Name (example: us-west-2)
:type region_name: str
:param log_type: Tail Invocation Request
:type log_type: str
:param qualifier: AWS Lambda Function Version or Alias Name
:type qualifier: str
:param invocation_type: AWS Lambda Invocation Type (RequestResponse, Event etc)
:type invocation_type: str
.. method:: get_conn(self)
.. method:: invoke_lambda(self, payload)
Invoke Lambda Function