Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Amazon Lex v2 #3433

Closed
tingyao-chang opened this issue Dec 23, 2023 · 6 comments
Closed

Support Amazon Lex v2 #3433

tingyao-chang opened this issue Dec 23, 2023 · 6 comments
Labels
feature-request Request a new feature

Comments

@tingyao-chang
Copy link

tingyao-chang commented Dec 23, 2023

Is your feature request related to a problem? Please describe.

I currently have a chatbot developed using Amazon Lex v2. I want to develop an iOS APP to access this chatbot, although AWS SDK for Swift supports Amazon Lex v2, but it is currently in Developer Preview. So there is no iOS related SDK that can directly do this for production workloads.

Describe the solution you'd like

Amplify Library for Swift can support Amazon Lex v2.

Describe alternatives you've considered

Amplify Library for Swift can provide a signature library for iOS APP to easily sign Amazon Lex v2 API requests.

References:
[1] https://docs.aws.amazon.com/lexv2/latest/APIReference/welcome.html
[2] https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html

Is the feature request related to any of the existing Amplify categories?

Predictions

Additional context

No response

@thisisabhash thisisabhash added the feature-request Request a new feature label Dec 25, 2023
Copy link
Contributor

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

@lawmicha
Copy link
Contributor

Thank you for raising the feature request. Our team will prioritize it and will post an update on the issue once we have more information.

@lawmicha
Copy link
Contributor

Hi @tingyao-chang, Amplify V2 (currently our active development and main branch) depends on AWS SDK for Swift so unless we implement our own layer to interact with AWS Lex V2, fulfilling this feature request in Amplify will also make use of the sames clients in the Swift SDK. I'd recommend getting it working with the Swift SDK and pinning the version in your dependencies.

Is this the client you are looking to use? https://github.com/awslabs/aws-sdk-swift/blob/main/Sources/Services/AWSLexModelsV2/LexModelsV2Client.swift#L8

You can use Amplify.Auth as the credentials provider when initializing the configuration https://docs.amplify.aws/swift/build-a-backend/auth/accessing-credentials/

@tingyao-chang
Copy link
Author

Thanks @lawmicha, I'm actually not sure if I should send this feature request to Amplify Swift. I know that the AWS SDK for Swift supports Amazon Lex v2, but since the AWS SDK for Swift is still in developer preview and workloads will go into production later, we are not considering using the AWS SDK for Swift at this time.

@lawmicha
Copy link
Contributor

lawmicha commented Dec 28, 2023

Feel free to open an issue over in AWS SDK for Swift if you have more questions or concerns. I'll close this issue in the Amplify repo, but feel free to open a new issue if you have a more specific feature request such as the APIs on the Predictions category. or questions for us

Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature
Projects
None yet
Development

No branches or pull requests

3 participants