Giter Site home page Giter Site logo

aws-lex-v2-cfn-cr's People

Contributors

atoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aws-lex-v2-cfn-cr's Issues

Neural Text to Speech Support

Hello,

I noticed that boto3 now supports an additional engine property for voiceSettings when creating or updating a bot locale.

This value can be either standard or neural and allows for the use of Polly neural voice synthesis which results in a significantly better experience when interacting with a Lex bot.

When I attempted to use the new engine property with version 0.3.0 of this package from the Serverless Application Repository, the custom resource function produced the following error:

{
  "timestamp": "2021-11-24 00:02:37,490",
  "level": "ERROR",
  "location": "root.update_bot:484",
  "RequestType": "Update",
  "StackId": "arn:aws:cloudformation:us-east-1:1234567890:stack/StackName/StackId",
  "RequestId": "[FILTERED]",
  "LogicalResourceId": "Resource",
  "aws_request_id": "[FILTERED]",
  "message": "failed to create locale: 'engine'"
}

From what I can see, this new attribute was added in boto3 >= 1.20.9 (documentation).

I believe this custom resource can support the new property by simply updating the boto3 package to a newer version and publishing a new release to the Serverless Application Repository.

poll_delete - Breaks with Large Bot Definitions

Hi there!

Thanks for making such a great resource - we've always struggled with Lex tooling in the past, so it's great to see others providing options and custom resources!

It looks like a previous commit removed the poll_create and poll_update functions due to limitations with rule payload sizes.

I see the poll_delete function still exists though. Was it missed?

We're able to build a rather large bot, but it fails to delete or roll back properly if there's an error in the stack.

Here's the error message we're getting:

Received response status [FAILED] from custom resource.

Message returned: ERROR: (truncated) , "CrHelperRule": "arn:aws:events:us-east-1:123456789000:rule/LexBotExample", "CrHelperPermission": "LexBotExample"}' at 'targets.1.member.input' failed to satisfy constraint: 

Member must have length less than or equal to 8192 

Is there a way this error can be resolved?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.