in gremlin-client/src/main/java/software/amazon/neptune/cluster/GetEndpointsFromLambdaProxyV1.java [86:103]
private GetEndpointsFromLambdaProxyV1(String lambdaName,
String region,
String iamProfile,
AWSCredentialsProvider credentials,
ClientConfiguration clientConfiguration) {
logger.warn("GetEndpointsFromLambdaProxyV1 is deprecated - consider using GetEndpointsFromLambdaProxy instead");
this.innerStrategy = new CommonClusterEndpointsFetchStrategy(this);
this.lambdaName = lambdaName;
this.lambdaClient = createLambdaClient(region, iamProfile, credentials, clientConfiguration);
this.retryConfig = new RetryConfigBuilder()
.retryOnSpecificExceptions(TooManyRequestsException.class, TimeoutException.class)
.withMaxNumberOfTries(5)
.withDelayBetweenTries(100, ChronoUnit.MILLIS)
.withExponentialBackoff()
.build();
}