## Verify AWS Lambda Function and Alexa  Skill Bindings

<p>
Verify the AMZN_ASK_SKILL and NLC  variables are properly set in the Lambda code viz.,

```python
#Obtained from  Service Endpoint Definition in the Alex Developer Console
AMZN_ASK_SKILL= ""    

#Obtained from IBM Cloud Console
NLC_APIKEY=""
NLC_CLASSIFIER_ID=""  
```

<p>
Verify that the  <strong>Default Region</strong>,  set in the Endpoint definition for the Skill found in the Alexa Developer Console, matches the <strong>arn</strong> value obtained from the AWS management console for the Lambda definition.

<p>
In the Lambda section of the AWS Management console verify that the <strong>Skill ID</strong>,  obtained from the Endpoint section of Alexa Developer Console for the Skill, matches the values set :

*  for the <strong>AMZN_ASK_SKILL</strong> variable in the Lambda  code viz.,

```python
#Obtained from  Service Endpoint Definition in the Alex Developer Console
AMZN_ASK_SKILL= ""     
```

*  the <strong>invocation trigger</strong>  definition for the Lambda definition.

<p>
Verify the <strong>intent names </strong> defined in the Skill definition have matching intent names that are  handled in the Lambda code viz.,

```python
if intent_name == "ClassifyPhrase":
   return classify_phrase(intent)
```


[![return](../buttons/return.png)](../README.md#Verify-Lambda-Function-and-Alexa-Skill-Bindings)
