Following code gives NoSuchFieldError when used in Lambda. The same works in a simple java program. Appreciate any help
AWSSimpleSystemsManagementAsync client = AWSSimpleSystemsManagementAsyncClientBuilder.defaultClient();
PutParameterRequest putRequest = new PutParameterRequest();
putRequest.setName("testKey");
putRequest.setValue("testValue");
client.putParameter(putRequest);
Digging into the source code shows error at AWSSimpleSystemsManagementClient.java -> request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
Also tried with AWSSimpleSystemsManagementClientBuilder.standard(); AWSSimpleSystemsManagementClientBuilder.defaultClient();
WSSimpleSystemsManagementClientBuilder.standard().withRegion("us-east-1").build(); returning the same error