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

AWS Lambda Core Library for Java does not have V2 #509

Open
Abhisha1 opened this issue Sep 3, 2024 · 7 comments
Open

AWS Lambda Core Library for Java does not have V2 #509

Abhisha1 opened this issue Sep 3, 2024 · 7 comments

Comments

@Abhisha1
Copy link

Abhisha1 commented Sep 3, 2024

Hi there,

I am building a Lambda handler which requires some lambda runtime variables from the core library.
Recently, I noticed that v1 has been deprecated and that there is a warning message thrown to indicate this. I have migrated all other packages but noticed that this still does not have v2 support so have had to disable the announcement manually.

Are there any updates on when this will be available?

@msailes
Copy link
Collaborator

msailes commented Sep 3, 2024

Hi @Abhisha1,

Could you provide some more detail on the libraries (groupid, artifactid, version) so we can help you.

Thanks,

@oriel351
Copy link

oriel351 commented Dec 11, 2024

I'm having the same issue:

        groupId: com.amazonaws
        artifactId: aws-lambda-java-core
        version: 1.2.3

specifically using com.amazonaws.services.lambda.runtime.Context object in my project.

@msailes
Copy link
Collaborator

msailes commented Dec 11, 2024

What is the error?

@oriel351
Copy link

There is no error at the moment.
but appeaers the support is going to end. https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/

my question is - is there alternative for the aws-lambda-java-core dependency that is not part of v1 sdk?

to use a JAva lambda handler with the Context Object.

@msailes
Copy link
Collaborator

msailes commented Dec 11, 2024

    groupId: com.amazonaws
    artifactId: aws-lambda-java-core
    version: 1.2.3

Is not part of the AWS SDK for Java v1. It is not going out of support.

@oriel351
Copy link

oriel351 commented Dec 11, 2024

Thanks for the quick answer!, could you explain how is it not part of the aws java sdk (just for knowledge)? Is it divide into support libraries and main libraries ?

@msailes
Copy link
Collaborator

msailes commented Dec 11, 2024

The blog is for the https://github.com/aws/aws-sdk-java project.

The libraries release in this project are separate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants