public interface AmazonDaxClient
With the exception of setRegion(java.lang.String), the methods on this interface are used internally by the DAX smart client
when interacting with the DAX server. Application code should use the methods defined on
AmazonDynamoDB.
| Modifier and Type | Method and Description |
|---|---|
List<String> |
defineAttributeList(Long attributeListId)
Returns the attribute names for the provided attribute list identifier
|
Long |
defineAttributeListId(List<String> attributeNames)
Returns the attribute list identifier for the provided attributes.
|
Long |
defineAttributeListId(List<String> attributeNames,
List<String> keyNames)
Returns the attribute list identifier for the provided attributes.
|
List<AttributeDefinition> |
defineKeySchema(String tableName)
Returns definitions of the key attributes for a table.
|
List<ServiceEndpoint> |
endpoints()
Returns the endpoints of the nodes belonging to the DAX cluster.
|
List<Integer> |
methods(int serviceId)
Returns the DAX RPC method identifiers supported by the service.
|
List<Integer> |
services()
Returns the DAX RPC service identifiers supported by the server.
|
void |
setRegion(String region)
Set the AWS region where DAX cluster exists.
|
void setRegion(String region) throws AmazonClientException
The region is needed for authentication.
region - the cluster's regionAmazonClientExceptionList<AttributeDefinition> defineKeySchema(String tableName) throws AmazonClientException
tableName - the name of the tableAmazonClientExceptionLong defineAttributeListId(List<String> attributeNames, List<String> keyNames) throws AmazonClientException
attributeNames - the names of the non-key attributeskeyNames - the names of the key attributesAmazonClientExceptionLong defineAttributeListId(List<String> attributeNames) throws AmazonClientException
attributeNames - the names of the attributesAmazonClientExceptionList<String> defineAttributeList(Long attributeListId) throws AmazonClientException
attributeListId - the attribute list identifierAmazonClientExceptionList<ServiceEndpoint> endpoints() throws AmazonClientException
AmazonClientExceptionList<Integer> services() throws AmazonClientException
AmazonClientException