/* * Copyright 2018-2023 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.dax; import javax.annotation.Generated; import com.amazonaws.services.dax.model.*; /** * Interface for accessing Amazon DAX asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.dax.AbstractAmazonDaxAsync} instead. *
**
* 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. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonDaxAsync extends AmazonDax { /** ** Creates a DAX cluster. All nodes in the cluster run the same DAX caching software. *
* * @param createClusterRequest * @return A Java Future containing the result of the CreateCluster operation returned by the service. * @sample AmazonDaxAsync.CreateCluster * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a DAX cluster. All nodes in the cluster run the same DAX caching software. *
* * @param createClusterRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateCluster operation returned by the service. * @sample AmazonDaxAsyncHandler.CreateCluster * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createParameterGroupRequest * @return A Java Future containing the result of the CreateParameterGroup operation returned by the service. * @sample AmazonDaxAsync.CreateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createParameterGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateParameterGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.CreateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a new subnet group. *
* * @param createSubnetGroupRequest * @return A Java Future containing the result of the CreateSubnetGroup operation returned by the service. * @sample AmazonDaxAsync.CreateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a new subnet group. *
* * @param createSubnetGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateSubnetGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.CreateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future* 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.
*
* 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.
*
* 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. *
* * @param deleteClusterRequest * @return A Java Future containing the result of the DeleteCluster operation returned by the service. * @sample AmazonDaxAsync.DeleteCluster * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteClusterRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteCluster operation returned by the service. * @sample AmazonDaxAsyncHandler.DeleteCluster * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX * clusters. *
* * @param deleteParameterGroupRequest * @return A Java Future containing the result of the DeleteParameterGroup operation returned by the service. * @sample AmazonDaxAsync.DeleteParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX * clusters. *
* * @param deleteParameterGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteParameterGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.DeleteParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes a subnet group. *
** You cannot delete a subnet group if it is associated with any DAX clusters. *
** Deletes a subnet group. *
** You cannot delete a subnet group if it is associated with any DAX clusters. *
** 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. *
* * @param describeClustersRequest * @return A Java Future containing the result of the DescribeClusters operation returned by the service. * @sample AmazonDaxAsync.DescribeClusters * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param describeClustersRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeClusters operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeClusters * @see AWS API * Documentation */ java.util.concurrent.Future* Returns the default system parameter information for the DAX caching software. *
* * @param describeDefaultParametersRequest * @return A Java Future containing the result of the DescribeDefaultParameters operation returned by the service. * @sample AmazonDaxAsync.DescribeDefaultParameters * @see AWS * API Documentation */ java.util.concurrent.Future* Returns the default system parameter information for the DAX caching software. *
* * @param describeDefaultParametersRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeDefaultParameters operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeDefaultParameters * @see AWS * API Documentation */ java.util.concurrent.Future* 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 24 hours are returned; however, you can retrieve up to 14 * days' worth of events if necessary. *
* * @param describeEventsRequest * @return A Java Future containing the result of the DescribeEvents operation returned by the service. * @sample AmazonDaxAsync.DescribeEvents * @see AWS API * Documentation */ java.util.concurrent.Future* 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 24 hours are returned; however, you can retrieve up to 14 * days' worth of events if necessary. *
* * @param describeEventsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeEvents operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeEvents * @see AWS API * Documentation */ java.util.concurrent.Future* Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain * only the descriptions for that group. *
* * @param describeParameterGroupsRequest * @return A Java Future containing the result of the DescribeParameterGroups operation returned by the service. * @sample AmazonDaxAsync.DescribeParameterGroups * @see AWS * API Documentation */ java.util.concurrent.Future* Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain * only the descriptions for that group. *
* * @param describeParameterGroupsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeParameterGroups operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeParameterGroups * @see AWS * API Documentation */ java.util.concurrent.Future* Returns the detailed parameter list for a particular parameter group. *
* * @param describeParametersRequest * @return A Java Future containing the result of the DescribeParameters operation returned by the service. * @sample AmazonDaxAsync.DescribeParameters * @see AWS API * Documentation */ java.util.concurrent.Future* Returns the detailed parameter list for a particular parameter group. *
* * @param describeParametersRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeParameters operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeParameters * @see AWS API * Documentation */ java.util.concurrent.Future* Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the * description of that group. *
* * @param describeSubnetGroupsRequest * @return A Java Future containing the result of the DescribeSubnetGroups operation returned by the service. * @sample AmazonDaxAsync.DescribeSubnetGroups * @see AWS API * Documentation */ java.util.concurrent.Future* Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the * description of that group. *
* * @param describeSubnetGroupsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeSubnetGroups operation returned by the service. * @sample AmazonDaxAsyncHandler.DescribeSubnetGroups * @see AWS API * Documentation */ java.util.concurrent.Future* Adds one or more nodes to a DAX cluster. *
* * @param increaseReplicationFactorRequest * @return A Java Future containing the result of the IncreaseReplicationFactor operation returned by the service. * @sample AmazonDaxAsync.IncreaseReplicationFactor * @see AWS * API Documentation */ java.util.concurrent.Future* Adds one or more nodes to a DAX cluster. *
* * @param increaseReplicationFactorRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the IncreaseReplicationFactor operation returned by the service. * @sample AmazonDaxAsyncHandler.IncreaseReplicationFactor * @see AWS * API Documentation */ java.util.concurrent.Future
* List all of the tags for a DAX cluster. You can call ListTags
up to 10 times per second, per
* account.
*
* List all of the tags for a DAX cluster. You can call ListTags
up to 10 times per second, per
* account.
*
* 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
restarts the DAX engine process and does not remove the contents of the cache.
*
* 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
restarts the DAX engine process and does not remove the contents of the cache.
*
* Associates a set of tags with a DAX resource. You can call TagResource
up to 5 times per second, per
* account.
*
* Associates a set of tags with a DAX resource. You can call TagResource
up to 5 times per second, per
* account.
*
* Removes the association of tags from a DAX resource. You can call UntagResource
up to 5 times per
* second, per account.
*
* Removes the association of tags from a DAX resource. You can call UntagResource
up to 5 times per
* second, per account.
*
* 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. *
* * @param updateClusterRequest * @return A Java Future containing the result of the UpdateCluster operation returned by the service. * @sample AmazonDaxAsync.UpdateCluster * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param updateClusterRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateCluster operation returned by the service. * @sample AmazonDaxAsyncHandler.UpdateCluster * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param updateParameterGroupRequest * @return A Java Future containing the result of the UpdateParameterGroup operation returned by the service. * @sample AmazonDaxAsync.UpdateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param updateParameterGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateParameterGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.UpdateParameterGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Modifies an existing subnet group. *
* * @param updateSubnetGroupRequest * @return A Java Future containing the result of the UpdateSubnetGroup operation returned by the service. * @sample AmazonDaxAsync.UpdateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Modifies an existing subnet group. *
* * @param updateSubnetGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateSubnetGroup operation returned by the service. * @sample AmazonDaxAsyncHandler.UpdateSubnetGroup * @see AWS API * Documentation */ java.util.concurrent.Future