public static class DynamoDBClientFactory.DefaultDynamoDBClientFactory extends org.apache.hadoop.conf.Configured implements DynamoDBClientFactory
DynamoDBClientFactory.DefaultDynamoDBClientFactoryLOG| Constructor and Description |
|---|
DefaultDynamoDBClientFactory() |
| 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.
|
public com.amazonaws.services.dynamodbv2.AmazonDynamoDB createDynamoDBClient(String defaultRegion, String bucket, com.amazonaws.auth.AWSCredentialsProvider credentials) throws IOException
DynamoDBClientFactorycreateDynamoDBClient in interface DynamoDBClientFactorydefaultRegion - 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–2022 Apache Software Foundation. All rights reserved.