Example usage for com.amazonaws.services.dynamodbv2 AmazonDynamoDBStreamsClientBuilder standard

List of usage examples for com.amazonaws.services.dynamodbv2 AmazonDynamoDBStreamsClientBuilder standard

Introduction

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

Prototype

public static AmazonDynamoDBStreamsClientBuilder standard() 

Source Link

Usage

From source file:org.wildfly.camel.test.common.aws.DynamoDBUtils.java

License:Apache License

public static AmazonDynamoDBStreamsClient createDynamoDBStreamsClient() {
    BasicCredentialsProvider credentials = BasicCredentialsProvider.standard();
    AmazonDynamoDBStreamsClient client = !credentials.isValid() ? null
            : (AmazonDynamoDBStreamsClient) AmazonDynamoDBStreamsClientBuilder.standard()
                    .withCredentials(credentials).withRegion("eu-west-1").build();
    return client;
}