lambda/menu-option/lambda_function.py [7:20]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def lambda_handler(event, context):

 customerTable = os.environ['customerTable']
 policiesTable = os.environ['policiesTable']
    
 customer_phone = event['Details']['ContactData']['CustomerEndpoint']['Address']
    
 dynamodb = boto3.resource('dynamodb')

 customerTable = dynamodb.Table(customerTable)
 policiesTable = dynamodb.Table(policiesTable)
    
 customer_query = customerTable.get_item(Key={'clientID':customer_phone})
 customer_response = customer_query['Item']
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



lambda/selectionFulfilment/lambda_function.py [5:17]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def lambda_handler(event, context):
   customerTable = os.environ['customerTable']
   policiesTable = os.environ['policiesTable']
    
   customer_phone = event['Details']['ContactData']['CustomerEndpoint']['Address']
      
   dynamodb = boto3.resource('dynamodb')

   customerTable = dynamodb.Table(customerTable)
   policiesTable = dynamodb.Table(policiesTable)
      
   customer_query = customerTable.get_item(Key={'clientID':customer_phone})
   customer_response = customer_query['Item']
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



