Example usage for com.amazonaws.services.dynamodbv2 AmazonDynamoDBAsyncClient AmazonDynamoDBAsyncClient

List of usage examples for com.amazonaws.services.dynamodbv2 AmazonDynamoDBAsyncClient AmazonDynamoDBAsyncClient

Introduction

In this page you can find the example usage for com.amazonaws.services.dynamodbv2 AmazonDynamoDBAsyncClient AmazonDynamoDBAsyncClient.

Prototype

@Deprecated
public AmazonDynamoDBAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
        ClientConfiguration clientConfiguration, ExecutorService executorService) 

Source Link

Document

Constructs a new asynchronous client to invoke service methods on DynamoDB using the specified AWS account credentials provider, executor service, and client configuration options.

Usage

From source file:org.eluder.logback.ext.dynamodb.appender.DynamoDbAppender.java

License:Open Source License

@Override
protected void doStart() {
    dynamoDb = new AmazonDynamoDBAsyncClient(getCredentials(), getClientConfiguration(),
            AppenderExecutors.newExecutor(this, getThreadPoolSize()));
    dynamoDb.setRegion(RegionUtils.getRegion(region));
}