List of usage examples for com.amazonaws.services.lambda AWSLambdaClient AWSLambdaClient
@Deprecated
public AWSLambdaClient()
From source file:ws.salient.aws.AmazonClientProvider.java
License:Apache License
public AmazonClientProvider() { Region region = Regions.getCurrentRegion(); if (region == null) { region = Region.getRegion(Regions.US_EAST_1); }//from w w w . ja va 2 s .c om s3 = new AmazonS3Client().withRegion(region); kms = new AWSKMSClient().withRegion(region); dynamodb = new DynamoDB(new AmazonDynamoDBClient().withRegion(region)); lambda = new AWSLambdaClient().withRegion(region); }