I am facing the following error "The requested version (2016-11-15) of service AmazonEC2Internal does not exist"
04:03 08 Dec 2025

I have migrated the AWS SDKs (ec2, s3, sts, cloudformation and all) v 1.x to 2.x in my springboot project.

After that migration, all things went fine but for ec2 related service, I am facing the following error -
"The requested version (2016-11-15) of service AmazonEC2Internal does not exist".
in my 'src/resources/api_models/ec2/2016-11-15', using apiVersion as 2016-11-15.
Is there any new apiVersion available for AWS SDK 2.x.

{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2016-11-15",
    "endpointPrefix":"ec2",
    "protocol":"ec2",
    "serviceAbbreviation":"Amazon EC2",
    "serviceFullName":"Amazon Elastic Compute Cloud",
    "serviceId":"EC2",
    "signatureVersion":"v4",
    "uid":"ec2-2016-11-15",
    "xmlNamespace":"http://ec2.amazonaws.com/doc/2016-11-15"
  },
java amazon-web-services spring-boot maven amazon-ec2