@InterfaceAudience.Private
public interface DynamoDBClientFactory
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DynamoDBClientFactory.DefaultDynamoDBClientFactory
The default implementation for creating an AmazonDynamoDB.
|
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.services.dynamodbv2.AmazonDynamoDB |
createDynamoDBClient(String defaultRegion,
String bucket,
com.amazonaws.auth.AWSCredentialsProvider credentials)
Create a DynamoDB client object from configuration.
|
com.amazonaws.services.dynamodbv2.AmazonDynamoDB createDynamoDBClient(String defaultRegion, String bucket, com.amazonaws.auth.AWSCredentialsProvider credentials) throws IOException
defaultRegion - the default region of the AmazonDynamoDB clientbucket - Optional bucket to use to look up per-bucket proxy secretscredentials - credentials to use for authentication.IOException - if any IO error happensCopyright © 2008–2021 Apache Software Foundation. All rights reserved.