com.amazonaws.services.dynamodbv2.AbstractAmazonDynamoDBAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-dynamodb Show documentation
Show all versions of aws-java-sdk-dynamodb Show documentation
The AWS Java SDK for Amazon DynamoDB module holds the client classes that are used for communicating with Amazon DynamoDB Service
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.dynamodbv2;
import com.amazonaws.services.dynamodbv2.model.*;
/**
* Abstract implementation of {@code AmazonDynamoDBAsync}. Convenient method
* forms pass through to the corresponding overload that takes a request object
* and an {@code AsyncHandler}, which throws an
* {@code UnsupportedOperationException}.
*/
public class AbstractAmazonDynamoDBAsync extends AbstractAmazonDynamoDB
implements AmazonDynamoDBAsync {
protected AbstractAmazonDynamoDBAsync() {
}
@Override
public java.util.concurrent.Future batchGetItemAsync(
BatchGetItemRequest request) {
return batchGetItemAsync(request, null);
}
@Override
public java.util.concurrent.Future batchGetItemAsync(
BatchGetItemRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the BatchGetItem operation.
*
* @see #batchGetItemAsync(BatchGetItemRequest)
*/
@Override
public java.util.concurrent.Future batchGetItemAsync(
java.util.Map requestItems,
String returnConsumedCapacity) {
return batchGetItemAsync(new BatchGetItemRequest().withRequestItems(
requestItems)
.withReturnConsumedCapacity(returnConsumedCapacity));
}
/**
* Simplified method form for invoking the BatchGetItem operation with an
* AsyncHandler.
*
* @see #batchGetItemAsync(BatchGetItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future batchGetItemAsync(
java.util.Map requestItems,
String returnConsumedCapacity,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return batchGetItemAsync(
new BatchGetItemRequest().withRequestItems(requestItems)
.withReturnConsumedCapacity(returnConsumedCapacity),
asyncHandler);
}
/**
* Simplified method form for invoking the BatchGetItem operation.
*
* @see #batchGetItemAsync(BatchGetItemRequest)
*/
@Override
public java.util.concurrent.Future batchGetItemAsync(
java.util.Map requestItems) {
return batchGetItemAsync(new BatchGetItemRequest()
.withRequestItems(requestItems));
}
/**
* Simplified method form for invoking the BatchGetItem operation with an
* AsyncHandler.
*
* @see #batchGetItemAsync(BatchGetItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future batchGetItemAsync(
java.util.Map requestItems,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return batchGetItemAsync(
new BatchGetItemRequest().withRequestItems(requestItems),
asyncHandler);
}
@Override
public java.util.concurrent.Future batchWriteItemAsync(
BatchWriteItemRequest request) {
return batchWriteItemAsync(request, null);
}
@Override
public java.util.concurrent.Future batchWriteItemAsync(
BatchWriteItemRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the BatchWriteItem operation.
*
* @see #batchWriteItemAsync(BatchWriteItemRequest)
*/
@Override
public java.util.concurrent.Future batchWriteItemAsync(
java.util.Map> requestItems) {
return batchWriteItemAsync(new BatchWriteItemRequest()
.withRequestItems(requestItems));
}
/**
* Simplified method form for invoking the BatchWriteItem operation with an
* AsyncHandler.
*
* @see #batchWriteItemAsync(BatchWriteItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future batchWriteItemAsync(
java.util.Map> requestItems,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return batchWriteItemAsync(
new BatchWriteItemRequest().withRequestItems(requestItems),
asyncHandler);
}
@Override
public java.util.concurrent.Future createTableAsync(
CreateTableRequest request) {
return createTableAsync(request, null);
}
@Override
public java.util.concurrent.Future createTableAsync(
CreateTableRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the CreateTable operation.
*
* @see #createTableAsync(CreateTableRequest)
*/
@Override
public java.util.concurrent.Future createTableAsync(
java.util.List attributeDefinitions,
String tableName, java.util.List keySchema,
ProvisionedThroughput provisionedThroughput) {
return createTableAsync(new CreateTableRequest()
.withAttributeDefinitions(attributeDefinitions)
.withTableName(tableName).withKeySchema(keySchema)
.withProvisionedThroughput(provisionedThroughput));
}
/**
* Simplified method form for invoking the CreateTable operation with an
* AsyncHandler.
*
* @see #createTableAsync(CreateTableRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future createTableAsync(
java.util.List attributeDefinitions,
String tableName,
java.util.List keySchema,
ProvisionedThroughput provisionedThroughput,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return createTableAsync(
new CreateTableRequest()
.withAttributeDefinitions(attributeDefinitions)
.withTableName(tableName).withKeySchema(keySchema)
.withProvisionedThroughput(provisionedThroughput),
asyncHandler);
}
@Override
public java.util.concurrent.Future deleteItemAsync(
DeleteItemRequest request) {
return deleteItemAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteItemAsync(
DeleteItemRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DeleteItem operation.
*
* @see #deleteItemAsync(DeleteItemRequest)
*/
@Override
public java.util.concurrent.Future deleteItemAsync(
String tableName, java.util.Map key) {
return deleteItemAsync(new DeleteItemRequest().withTableName(tableName)
.withKey(key));
}
/**
* Simplified method form for invoking the DeleteItem operation with an
* AsyncHandler.
*
* @see #deleteItemAsync(DeleteItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future deleteItemAsync(
String tableName,
java.util.Map key,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return deleteItemAsync(new DeleteItemRequest().withTableName(tableName)
.withKey(key), asyncHandler);
}
/**
* Simplified method form for invoking the DeleteItem operation.
*
* @see #deleteItemAsync(DeleteItemRequest)
*/
@Override
public java.util.concurrent.Future deleteItemAsync(
String tableName, java.util.Map key,
String returnValues) {
return deleteItemAsync(new DeleteItemRequest().withTableName(tableName)
.withKey(key).withReturnValues(returnValues));
}
/**
* Simplified method form for invoking the DeleteItem operation with an
* AsyncHandler.
*
* @see #deleteItemAsync(DeleteItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future deleteItemAsync(
String tableName,
java.util.Map key,
String returnValues,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return deleteItemAsync(new DeleteItemRequest().withTableName(tableName)
.withKey(key).withReturnValues(returnValues), asyncHandler);
}
@Override
public java.util.concurrent.Future deleteTableAsync(
DeleteTableRequest request) {
return deleteTableAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteTableAsync(
DeleteTableRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DeleteTable operation.
*
* @see #deleteTableAsync(DeleteTableRequest)
*/
@Override
public java.util.concurrent.Future deleteTableAsync(
String tableName) {
return deleteTableAsync(new DeleteTableRequest()
.withTableName(tableName));
}
/**
* Simplified method form for invoking the DeleteTable operation with an
* AsyncHandler.
*
* @see #deleteTableAsync(DeleteTableRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future deleteTableAsync(
String tableName,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return deleteTableAsync(
new DeleteTableRequest().withTableName(tableName), asyncHandler);
}
@Override
public java.util.concurrent.Future describeLimitsAsync(
DescribeLimitsRequest request) {
return describeLimitsAsync(request, null);
}
@Override
public java.util.concurrent.Future describeLimitsAsync(
DescribeLimitsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeTableAsync(
DescribeTableRequest request) {
return describeTableAsync(request, null);
}
@Override
public java.util.concurrent.Future describeTableAsync(
DescribeTableRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DescribeTable operation.
*
* @see #describeTableAsync(DescribeTableRequest)
*/
@Override
public java.util.concurrent.Future describeTableAsync(
String tableName) {
return describeTableAsync(new DescribeTableRequest()
.withTableName(tableName));
}
/**
* Simplified method form for invoking the DescribeTable operation with an
* AsyncHandler.
*
* @see #describeTableAsync(DescribeTableRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future describeTableAsync(
String tableName,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return describeTableAsync(
new DescribeTableRequest().withTableName(tableName),
asyncHandler);
}
@Override
public java.util.concurrent.Future getItemAsync(
GetItemRequest request) {
return getItemAsync(request, null);
}
@Override
public java.util.concurrent.Future getItemAsync(
GetItemRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the GetItem operation.
*
* @see #getItemAsync(GetItemRequest)
*/
@Override
public java.util.concurrent.Future getItemAsync(
String tableName, java.util.Map key) {
return getItemAsync(new GetItemRequest().withTableName(tableName)
.withKey(key));
}
/**
* Simplified method form for invoking the GetItem operation with an
* AsyncHandler.
*
* @see #getItemAsync(GetItemRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future getItemAsync(
String tableName,
java.util.Map key,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return getItemAsync(new GetItemRequest().withTableName(tableName)
.withKey(key), asyncHandler);
}
/**
* Simplified method form for invoking the GetItem operation.
*
* @see #getItemAsync(GetItemRequest)
*/
@Override
public java.util.concurrent.Future getItemAsync(
String tableName, java.util.Map key,
Boolean consistentRead) {
return getItemAsync(new GetItemRequest().withTableName(tableName)
.withKey(key).withConsistentRead(consistentRead));
}
/**
* Simplified method form for invoking the GetItem operation with an
* AsyncHandler.
*
* @see #getItemAsync(GetItemRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future getItemAsync(
String tableName,
java.util.Map key,
Boolean consistentRead,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return getItemAsync(new GetItemRequest().withTableName(tableName)
.withKey(key).withConsistentRead(consistentRead), asyncHandler);
}
@Override
public java.util.concurrent.Future listTablesAsync(
ListTablesRequest request) {
return listTablesAsync(request, null);
}
@Override
public java.util.concurrent.Future listTablesAsync(
ListTablesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the ListTables operation.
*
* @see #listTablesAsync(ListTablesRequest)
*/
@Override
public java.util.concurrent.Future listTablesAsync() {
return listTablesAsync(new ListTablesRequest());
}
/**
* Simplified method form for invoking the ListTables operation with an
* AsyncHandler.
*
* @see #listTablesAsync(ListTablesRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future listTablesAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listTablesAsync(new ListTablesRequest(), asyncHandler);
}
/**
* Simplified method form for invoking the ListTables operation.
*
* @see #listTablesAsync(ListTablesRequest)
*/
@Override
public java.util.concurrent.Future listTablesAsync(
String exclusiveStartTableName) {
return listTablesAsync(new ListTablesRequest()
.withExclusiveStartTableName(exclusiveStartTableName));
}
/**
* Simplified method form for invoking the ListTables operation with an
* AsyncHandler.
*
* @see #listTablesAsync(ListTablesRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future listTablesAsync(
String exclusiveStartTableName,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listTablesAsync(
new ListTablesRequest()
.withExclusiveStartTableName(exclusiveStartTableName),
asyncHandler);
}
/**
* Simplified method form for invoking the ListTables operation.
*
* @see #listTablesAsync(ListTablesRequest)
*/
@Override
public java.util.concurrent.Future listTablesAsync(
String exclusiveStartTableName, Integer limit) {
return listTablesAsync(new ListTablesRequest()
.withExclusiveStartTableName(exclusiveStartTableName)
.withLimit(limit));
}
/**
* Simplified method form for invoking the ListTables operation with an
* AsyncHandler.
*
* @see #listTablesAsync(ListTablesRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future listTablesAsync(
String exclusiveStartTableName,
Integer limit,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listTablesAsync(new ListTablesRequest()
.withExclusiveStartTableName(exclusiveStartTableName)
.withLimit(limit), asyncHandler);
}
/**
* Simplified method form for invoking the ListTables operation.
*
* @see #listTablesAsync(ListTablesRequest)
*/
@Override
public java.util.concurrent.Future listTablesAsync(
Integer limit) {
return listTablesAsync(new ListTablesRequest().withLimit(limit));
}
/**
* Simplified method form for invoking the ListTables operation with an
* AsyncHandler.
*
* @see #listTablesAsync(ListTablesRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future listTablesAsync(
Integer limit,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listTablesAsync(new ListTablesRequest().withLimit(limit),
asyncHandler);
}
@Override
public java.util.concurrent.Future putItemAsync(
PutItemRequest request) {
return putItemAsync(request, null);
}
@Override
public java.util.concurrent.Future putItemAsync(
PutItemRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the PutItem operation.
*
* @see #putItemAsync(PutItemRequest)
*/
@Override
public java.util.concurrent.Future putItemAsync(
String tableName, java.util.Map item) {
return putItemAsync(new PutItemRequest().withTableName(tableName)
.withItem(item));
}
/**
* Simplified method form for invoking the PutItem operation with an
* AsyncHandler.
*
* @see #putItemAsync(PutItemRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future putItemAsync(
String tableName,
java.util.Map item,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return putItemAsync(new PutItemRequest().withTableName(tableName)
.withItem(item), asyncHandler);
}
/**
* Simplified method form for invoking the PutItem operation.
*
* @see #putItemAsync(PutItemRequest)
*/
@Override
public java.util.concurrent.Future putItemAsync(
String tableName, java.util.Map item,
String returnValues) {
return putItemAsync(new PutItemRequest().withTableName(tableName)
.withItem(item).withReturnValues(returnValues));
}
/**
* Simplified method form for invoking the PutItem operation with an
* AsyncHandler.
*
* @see #putItemAsync(PutItemRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future putItemAsync(
String tableName,
java.util.Map item,
String returnValues,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return putItemAsync(new PutItemRequest().withTableName(tableName)
.withItem(item).withReturnValues(returnValues), asyncHandler);
}
@Override
public java.util.concurrent.Future queryAsync(
QueryRequest request) {
return queryAsync(request, null);
}
@Override
public java.util.concurrent.Future queryAsync(
QueryRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future scanAsync(ScanRequest request) {
return scanAsync(request, null);
}
@Override
public java.util.concurrent.Future scanAsync(
ScanRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the Scan operation.
*
* @see #scanAsync(ScanRequest)
*/
@Override
public java.util.concurrent.Future scanAsync(String tableName,
java.util.List attributesToGet) {
return scanAsync(new ScanRequest().withTableName(tableName)
.withAttributesToGet(attributesToGet));
}
/**
* Simplified method form for invoking the Scan operation with an
* AsyncHandler.
*
* @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future scanAsync(
String tableName,
java.util.List attributesToGet,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return scanAsync(new ScanRequest().withTableName(tableName)
.withAttributesToGet(attributesToGet), asyncHandler);
}
/**
* Simplified method form for invoking the Scan operation.
*
* @see #scanAsync(ScanRequest)
*/
@Override
public java.util.concurrent.Future scanAsync(String tableName,
java.util.Map scanFilter) {
return scanAsync(new ScanRequest().withTableName(tableName)
.withScanFilter(scanFilter));
}
/**
* Simplified method form for invoking the Scan operation with an
* AsyncHandler.
*
* @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future scanAsync(
String tableName,
java.util.Map scanFilter,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return scanAsync(new ScanRequest().withTableName(tableName)
.withScanFilter(scanFilter), asyncHandler);
}
/**
* Simplified method form for invoking the Scan operation.
*
* @see #scanAsync(ScanRequest)
*/
@Override
public java.util.concurrent.Future scanAsync(String tableName,
java.util.List attributesToGet,
java.util.Map scanFilter) {
return scanAsync(new ScanRequest().withTableName(tableName)
.withAttributesToGet(attributesToGet)
.withScanFilter(scanFilter));
}
/**
* Simplified method form for invoking the Scan operation with an
* AsyncHandler.
*
* @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future scanAsync(
String tableName,
java.util.List attributesToGet,
java.util.Map scanFilter,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return scanAsync(new ScanRequest().withTableName(tableName)
.withAttributesToGet(attributesToGet)
.withScanFilter(scanFilter), asyncHandler);
}
@Override
public java.util.concurrent.Future updateItemAsync(
UpdateItemRequest request) {
return updateItemAsync(request, null);
}
@Override
public java.util.concurrent.Future updateItemAsync(
UpdateItemRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the UpdateItem operation.
*
* @see #updateItemAsync(UpdateItemRequest)
*/
@Override
public java.util.concurrent.Future updateItemAsync(
String tableName, java.util.Map key,
java.util.Map attributeUpdates) {
return updateItemAsync(new UpdateItemRequest().withTableName(tableName)
.withKey(key).withAttributeUpdates(attributeUpdates));
}
/**
* Simplified method form for invoking the UpdateItem operation with an
* AsyncHandler.
*
* @see #updateItemAsync(UpdateItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future updateItemAsync(
String tableName,
java.util.Map key,
java.util.Map attributeUpdates,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return updateItemAsync(new UpdateItemRequest().withTableName(tableName)
.withKey(key).withAttributeUpdates(attributeUpdates),
asyncHandler);
}
/**
* Simplified method form for invoking the UpdateItem operation.
*
* @see #updateItemAsync(UpdateItemRequest)
*/
@Override
public java.util.concurrent.Future updateItemAsync(
String tableName, java.util.Map key,
java.util.Map attributeUpdates,
String returnValues) {
return updateItemAsync(new UpdateItemRequest().withTableName(tableName)
.withKey(key).withAttributeUpdates(attributeUpdates)
.withReturnValues(returnValues));
}
/**
* Simplified method form for invoking the UpdateItem operation with an
* AsyncHandler.
*
* @see #updateItemAsync(UpdateItemRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future updateItemAsync(
String tableName,
java.util.Map key,
java.util.Map attributeUpdates,
String returnValues,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return updateItemAsync(new UpdateItemRequest().withTableName(tableName)
.withKey(key).withAttributeUpdates(attributeUpdates)
.withReturnValues(returnValues), asyncHandler);
}
@Override
public java.util.concurrent.Future updateTableAsync(
UpdateTableRequest request) {
return updateTableAsync(request, null);
}
@Override
public java.util.concurrent.Future updateTableAsync(
UpdateTableRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the UpdateTable operation.
*
* @see #updateTableAsync(UpdateTableRequest)
*/
@Override
public java.util.concurrent.Future updateTableAsync(
String tableName, ProvisionedThroughput provisionedThroughput) {
return updateTableAsync(new UpdateTableRequest().withTableName(
tableName).withProvisionedThroughput(provisionedThroughput));
}
/**
* Simplified method form for invoking the UpdateTable operation with an
* AsyncHandler.
*
* @see #updateTableAsync(UpdateTableRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future updateTableAsync(
String tableName,
ProvisionedThroughput provisionedThroughput,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return updateTableAsync(
new UpdateTableRequest().withTableName(tableName)
.withProvisionedThroughput(provisionedThroughput),
asyncHandler);
}
}