if(!skipRegions.contains(region.getName())){ AWSLambda lamdaClient = AWSLambdaClientBuilder.standard(). withCredentials(new AWSStaticCredentialsProvider(temporaryCredentials)).withRegion(region.getName()).build(); ListFunctionsResult listFnRslt ; List<FunctionConfiguration> functionsTemp ;
toReturn = new HashMap<String, Object>(); AWSLambda awsLambda = AWSLambdaClientBuilder.standard().withRegion(region) .withCredentials(new AWSStaticCredentialsProvider(temporaryCredentials)).build(); toReturn.put(PacmanSdkConstants.CLIENT, awsLambda); awsClientCache.put(clientKey, toReturn);