@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDaxClient extends AmazonWebServiceClient implements AmazonDax
DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your application can begin taking advantage of the DAX cluster and realize significant improvements in read performance.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonDaxClientBuilder |
builder() |
CreateClusterResult |
createCluster(CreateClusterRequest request)
Creates a DAX cluster.
|
CreateParameterGroupResult |
createParameterGroup(CreateParameterGroupRequest request)
Creates a new parameter group.
|
CreateSubnetGroupResult |
createSubnetGroup(CreateSubnetGroupRequest request)
Creates a new subnet group.
|
DecreaseReplicationFactorResult |
decreaseReplicationFactor(DecreaseReplicationFactorRequest request)
Removes one or more nodes from a DAX cluster.
|
DeleteClusterResult |
deleteCluster(DeleteClusterRequest request)
Deletes a previously provisioned DAX cluster.
|
DeleteParameterGroupResult |
deleteParameterGroup(DeleteParameterGroupRequest request)
Deletes the specified parameter group.
|
DeleteSubnetGroupResult |
deleteSubnetGroup(DeleteSubnetGroupRequest request)
Deletes a subnet group.
|
DescribeClustersResult |
describeClusters(DescribeClustersRequest request)
Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific
DAX cluster if a cluster identifier is supplied.
|
DescribeDefaultParametersResult |
describeDefaultParameters(DescribeDefaultParametersRequest request)
Returns the default system parameter information for the DAX caching software.
|
DescribeEventsResult |
describeEvents(DescribeEventsRequest request)
Returns events related to DAX clusters and parameter groups.
|
DescribeParameterGroupsResult |
describeParameterGroups(DescribeParameterGroupsRequest request)
Returns a list of parameter group descriptions.
|
DescribeParametersResult |
describeParameters(DescribeParametersRequest request)
Returns the detailed parameter list for a particular parameter group.
|
DescribeSubnetGroupsResult |
describeSubnetGroups(DescribeSubnetGroupsRequest request)
Returns a list of subnet group descriptions.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
IncreaseReplicationFactorResult |
increaseReplicationFactor(IncreaseReplicationFactorRequest request)
Adds one or more nodes to a DAX cluster.
|
ListTagsResult |
listTags(ListTagsRequest request)
List all of the tags for a DAX cluster.
|
RebootNodeResult |
rebootNode(RebootNodeRequest request)
Reboots a single node of a DAX cluster.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Associates a set of tags with a DAX resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the association of tags from a DAX resource.
|
UpdateClusterResult |
updateCluster(UpdateClusterRequest request)
Modifies the settings for a DAX cluster.
|
UpdateParameterGroupResult |
updateParameterGroup(UpdateParameterGroupRequest request)
Modifies the parameters of a parameter group.
|
UpdateSubnetGroupResult |
updateSubnetGroup(UpdateSubnetGroupRequest request)
Modifies an existing subnet group.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonDaxClientBuilder builder()
public CreateClusterResult createCluster(CreateClusterRequest request)
Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.
createCluster
in interface AmazonDax
createClusterRequest
- ClusterAlreadyExistsException
- You already have a DAX cluster with the given identifier.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InsufficientClusterCapacityException
- There are not enough system resources to create the cluster you requested (or to resize an
already-existing cluster).SubnetGroupNotFoundException
- The requested subnet group name does not refer to an existing subnet group.InvalidParameterGroupStateException
- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException
- The specified parameter group does not exist.ClusterQuotaForCustomerExceededException
- You have attempted to exceed the maximum number of DAX clusters for your AWS account.NodeQuotaForClusterExceededException
- You have attempted to exceed the maximum number of nodes for a DAX cluster.NodeQuotaForCustomerExceededException
- You have attempted to exceed the maximum number of nodes for your AWS account.InvalidVPCNetworkStateException
- The VPC network is in an invalid state.TagQuotaPerResourceExceededException
- You have exceeded the maximum number of tags for this DAX cluster.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public CreateParameterGroupResult createParameterGroup(CreateParameterGroupRequest request)
Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
createParameterGroup
in interface AmazonDax
createParameterGroupRequest
- ParameterGroupQuotaExceededException
- You have attempted to exceed the maximum number of parameter groups.ParameterGroupAlreadyExistsException
- The specified parameter group already exists.InvalidParameterGroupStateException
- One or more parameters in a parameter group are in an invalid state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest request)
Creates a new subnet group.
createSubnetGroup
in interface AmazonDax
createSubnetGroupRequest
- SubnetGroupAlreadyExistsException
- The specified subnet group already exists.SubnetGroupQuotaExceededException
- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.SubnetQuotaExceededException
- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.InvalidSubnetException
- An invalid subnet identifier was specified.public DecreaseReplicationFactorResult decreaseReplicationFactor(DecreaseReplicationFactorRequest request)
Removes one or more nodes from a DAX cluster.
You cannot use DecreaseReplicationFactor
to remove the last node in a DAX cluster. If you need to do
this, use DeleteCluster
instead.
decreaseReplicationFactor
in interface AmazonDax
decreaseReplicationFactorRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.NodeNotFoundException
- None of the nodes in the cluster have the given node ID.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DeleteClusterResult deleteCluster(DeleteClusterRequest request)
Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
deleteCluster
in interface AmazonDax
deleteClusterRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DeleteParameterGroupResult deleteParameterGroup(DeleteParameterGroupRequest request)
Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
deleteParameterGroup
in interface AmazonDax
deleteParameterGroupRequest
- InvalidParameterGroupStateException
- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException
- The specified parameter group does not exist.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DeleteSubnetGroupResult deleteSubnetGroup(DeleteSubnetGroupRequest request)
Deletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
deleteSubnetGroup
in interface AmazonDax
deleteSubnetGroupRequest
- SubnetGroupInUseException
- The specified subnet group is currently in use.SubnetGroupNotFoundException
- The requested subnet group name does not refer to an existing subnet group.public DescribeClustersResult describeClusters(DescribeClustersRequest request)
Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
describeClusters
in interface AmazonDax
describeClustersRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DescribeDefaultParametersResult describeDefaultParameters(DescribeDefaultParametersRequest request)
Returns the default system parameter information for the DAX caching software.
describeDefaultParameters
in interface AmazonDax
describeDefaultParametersRequest
- InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DescribeEventsResult describeEvents(DescribeEventsRequest request)
Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEvents
in interface AmazonDax
describeEventsRequest
- InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DescribeParameterGroupsResult describeParameterGroups(DescribeParameterGroupsRequest request)
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
describeParameterGroups
in interface AmazonDax
describeParameterGroupsRequest
- ParameterGroupNotFoundException
- The specified parameter group does not exist.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DescribeParametersResult describeParameters(DescribeParametersRequest request)
Returns the detailed parameter list for a particular parameter group.
describeParameters
in interface AmazonDax
describeParametersRequest
- ParameterGroupNotFoundException
- The specified parameter group does not exist.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public DescribeSubnetGroupsResult describeSubnetGroups(DescribeSubnetGroupsRequest request)
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeSubnetGroups
in interface AmazonDax
describeSubnetGroupsRequest
- SubnetGroupNotFoundException
- The requested subnet group name does not refer to an existing subnet group.public IncreaseReplicationFactorResult increaseReplicationFactor(IncreaseReplicationFactorRequest request)
Adds one or more nodes to a DAX cluster.
increaseReplicationFactor
in interface AmazonDax
increaseReplicationFactorRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InsufficientClusterCapacityException
- There are not enough system resources to create the cluster you requested (or to resize an
already-existing cluster).InvalidVPCNetworkStateException
- The VPC network is in an invalid state.NodeQuotaForClusterExceededException
- You have attempted to exceed the maximum number of nodes for a DAX cluster.NodeQuotaForCustomerExceededException
- You have attempted to exceed the maximum number of nodes for your AWS account.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public ListTagsResult listTags(ListTagsRequest request)
List all of the tags for a DAX cluster. You can call ListTags
up to 10 times per second, per
account.
listTags
in interface AmazonDax
listTagsRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.InvalidARNException
- The Amazon Resource Name (ARN) supplied in the request is not valid.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public RebootNodeResult rebootNode(RebootNodeRequest request)
Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
rebootNode
in interface AmazonDax
rebootNodeRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.NodeNotFoundException
- None of the nodes in the cluster have the given node ID.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public TagResourceResult tagResource(TagResourceRequest request)
Associates a set of tags with a DAX resource. You can call TagResource
up to 5 times per second, per
account.
tagResource
in interface AmazonDax
tagResourceRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.TagQuotaPerResourceExceededException
- You have exceeded the maximum number of tags for this DAX cluster.InvalidARNException
- The Amazon Resource Name (ARN) supplied in the request is not valid.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the association of tags from a DAX resource. You can call UntagResource
up to 5 times per
second, per account.
untagResource
in interface AmazonDax
untagResourceRequest
- ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.InvalidARNException
- The Amazon Resource Name (ARN) supplied in the request is not valid.TagNotFoundException
- The tag does not exist.InvalidClusterStateException
- The requested DAX cluster is not in the available state.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public UpdateClusterResult updateCluster(UpdateClusterRequest request)
Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
updateCluster
in interface AmazonDax
updateClusterRequest
- InvalidClusterStateException
- The requested DAX cluster is not in the available state.ClusterNotFoundException
- The requested cluster ID does not refer to an existing DAX cluster.InvalidParameterGroupStateException
- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException
- The specified parameter group does not exist.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public UpdateParameterGroupResult updateParameterGroup(UpdateParameterGroupRequest request)
Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
updateParameterGroup
in interface AmazonDax
updateParameterGroupRequest
- InvalidParameterGroupStateException
- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException
- The specified parameter group does not exist.InvalidParameterValueException
- The value for a parameter is invalid.InvalidParameterCombinationException
- Two or more incompatible parameters were specified.public UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest request)
Modifies an existing subnet group.
updateSubnetGroup
in interface AmazonDax
updateSubnetGroupRequest
- SubnetGroupNotFoundException
- The requested subnet group name does not refer to an existing subnet group.SubnetQuotaExceededException
- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.SubnetInUseException
- The requested subnet is being used by another subnet group.InvalidSubnetException
- An invalid subnet identifier was specified.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonDax
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.