amazon-web-servicesamazon-snsamazon-lexaws-pinpoint

I'm not seeing "Publish" button in Amazon Lex Bot and all the tutorials' screenshots I'm finding don't align with my AWS Consoles


Hello Stackoverflow Friends:

Context:

  1. My goal is to use Amazon Lex Bot to communicate via an SMS text channel using an Amazon Pinpoint phone number associated with my account. Users will send utterances via their native text client, i.e. the Messages application on their iPhone. It would reply to them in the same channel.

  2. I did also want to include a 'middleware' layer of having a Lambda functions extract certain user utterances and or the user's phone number and store that in a Dynamo DB.

Problem(s):

  1. I found this tutorial and I am blocked [Blockers listed below].

  2. There seems to be a disconnect between what I'm seeing in my AWS console and this tutorial (and documentation on AWS) as well as many video tutorials I'm seeing on YouTube - or I'm maybe doing something wrong?

  3. Version 2? I did observe that my AWS Lex console that the URL that includes a "V2" in the url ("https://console.aws.amazon.com/lexv2/home?region=us-east-1#bots") I am not observing that "V2" in various instructors' videos that I've watched. Which leads me to wonder if perhaps V2 is a new version of Lex and the documentation hasn't been released? Here is a link to a video done by one of the author's of the above linked tutorial and as you can see from the screenshot in his video it isn't /lexv2/ it is just /lex/.

Screenshot from instructional video:

enter image description here

Screenshot from my AWS console:

enter image description here

Blockers / Questions:

1. [Tutorial says]1 (in Step 1; Request a long code for your country. When I do that - there is no focus / SMS capability is grayed out indicating [to me anyway] that the outcome / goal of this tutorial is not possible using a long code? enter image description here

Question: As a workaround I selected a toll free number which had SMS capabilities. Is that permissible?

2. In Step 2; the tutorial says, Use the default IAM role - there is no default, I selected.

enter image description here

Question: Is that a good path forward?

3. Also in Step 2; [the tutorial says]1, When the bot finishes building, choose Publish. For Create an alias, enter Latest. Choose Publish. - I see no "Publish" button and this is highly confusing as in many, many, many tutorials I've watched on YouTube the instructors have that button visible.

Here is my screenshot of what I see [no "Publish" button]:

enter image description here

Here is Amazon document tutorial with a "Publish" button.

enter image description here

And here is a various tutorial I see online with a "Publish" button.

enter image description here

Question: Did I miss a step (I did build it and test it and those controls to do that were on the bottom of the UI not on the top as all the tutorials I've found are. Is it possibly V2 of this Lex bot that has changed?

  1. Assuming I can get past these blockers - in Step 3 of the tutorial it says, Under Execution role, choose View the LexPinpointIntegrationDemoLambda role.

Question: Not to be really dense but I have swirl on how to do that / where to do that. Can I get some direction / steps on exact steps to do that please?


Solution

  • Yes, the problem is that the tutorial, which i also followed, is based on the Version 1 of the service and the console. On the lower left corner there is a button that says "Switch to V1 console"

    After this you will get the same interface as the tutorial and you can continue with it.