@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMemoryDBAsyncClient extends AmazonMemoryDBClient implements AmazonMemoryDBAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchUpdateCluster, builder, copySnapshot, createACL, createCluster, createParameterGroup, createSnapshot, createSubnetGroup, createUser, deleteACL, deleteCluster, deleteParameterGroup, deleteSnapshot, deleteSubnetGroup, deleteUser, describeACLs, describeClusters, describeEngineVersions, describeEvents, describeParameterGroups, describeParameters, describeReservedNodes, describeReservedNodesOfferings, describeServiceUpdates, describeSnapshots, describeSubnetGroups, describeUsers, failoverShard, getCachedResponseMetadata, listAllowedNodeTypeUpdates, listTags, purchaseReservedNodesOffering, resetParameterGroup, tagResource, untagResource, updateACL, updateCluster, updateParameterGroup, updateSubnetGroup, updateUseraddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchUpdateCluster, copySnapshot, createACL, createCluster, createParameterGroup, createSnapshot, createSubnetGroup, createUser, deleteACL, deleteCluster, deleteParameterGroup, deleteSnapshot, deleteSubnetGroup, deleteUser, describeACLs, describeClusters, describeEngineVersions, describeEvents, describeParameterGroups, describeParameters, describeReservedNodes, describeReservedNodesOfferings, describeServiceUpdates, describeSnapshots, describeSubnetGroups, describeUsers, failoverShard, getCachedResponseMetadata, listAllowedNodeTypeUpdates, listTags, purchaseReservedNodesOffering, resetParameterGroup, tagResource, untagResource, updateACL, updateCluster, updateParameterGroup, updateSubnetGroup, updateUserpublic static AmazonMemoryDBAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchUpdateClusterResult> batchUpdateClusterAsync(BatchUpdateClusterRequest request)
AmazonMemoryDBAsyncApply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
batchUpdateClusterAsync in interface AmazonMemoryDBAsyncpublic Future<BatchUpdateClusterResult> batchUpdateClusterAsync(BatchUpdateClusterRequest request, AsyncHandler<BatchUpdateClusterRequest,BatchUpdateClusterResult> asyncHandler)
AmazonMemoryDBAsyncApply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
batchUpdateClusterAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest request)
AmazonMemoryDBAsyncMakes a copy of an existing snapshot.
copySnapshotAsync in interface AmazonMemoryDBAsyncpublic Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,CopySnapshotResult> asyncHandler)
AmazonMemoryDBAsyncMakes a copy of an existing snapshot.
copySnapshotAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CreateACLResult> createACLAsync(CreateACLRequest request)
AmazonMemoryDBAsyncCreates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
createACLAsync in interface AmazonMemoryDBAsyncpublic Future<CreateACLResult> createACLAsync(CreateACLRequest request, AsyncHandler<CreateACLRequest,CreateACLResult> asyncHandler)
AmazonMemoryDBAsyncCreates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
createACLAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AmazonMemoryDBAsyncCreates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
createClusterAsync in interface AmazonMemoryDBAsyncpublic Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AmazonMemoryDBAsyncCreates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
createClusterAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CreateParameterGroupResult> createParameterGroupAsync(CreateParameterGroupRequest request)
AmazonMemoryDBAsyncCreates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.
createParameterGroupAsync in interface AmazonMemoryDBAsyncpublic Future<CreateParameterGroupResult> createParameterGroupAsync(CreateParameterGroupRequest request, AsyncHandler<CreateParameterGroupRequest,CreateParameterGroupResult> asyncHandler)
AmazonMemoryDBAsyncCreates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.
createParameterGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
AmazonMemoryDBAsyncCreates a copy of an entire cluster at a specific moment in time.
createSnapshotAsync in interface AmazonMemoryDBAsyncpublic Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
AmazonMemoryDBAsyncCreates a copy of an entire cluster at a specific moment in time.
createSnapshotAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CreateSubnetGroupResult> createSubnetGroupAsync(CreateSubnetGroupRequest request)
AmazonMemoryDBAsyncCreates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.
createSubnetGroupAsync in interface AmazonMemoryDBAsyncpublic Future<CreateSubnetGroupResult> createSubnetGroupAsync(CreateSubnetGroupRequest request, AsyncHandler<CreateSubnetGroupRequest,CreateSubnetGroupResult> asyncHandler)
AmazonMemoryDBAsyncCreates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.
createSubnetGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<CreateUserResult> createUserAsync(CreateUserRequest request)
AmazonMemoryDBAsyncCreates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
createUserAsync in interface AmazonMemoryDBAsyncpublic Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonMemoryDBAsyncCreates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
createUserAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DeleteACLResult> deleteACLAsync(DeleteACLRequest request)
AmazonMemoryDBAsyncDeletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).
deleteACLAsync in interface AmazonMemoryDBAsyncpublic Future<DeleteACLResult> deleteACLAsync(DeleteACLRequest request, AsyncHandler<DeleteACLRequest,DeleteACLResult> asyncHandler)
AmazonMemoryDBAsyncDeletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).
deleteACLAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AmazonMemoryDBAsyncDeletes a cluster. It also deletes all associated nodes and node endpoints
deleteClusterAsync in interface AmazonMemoryDBAsyncpublic Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AmazonMemoryDBAsyncDeletes a cluster. It also deletes all associated nodes and node endpoints
deleteClusterAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DeleteParameterGroupResult> deleteParameterGroupAsync(DeleteParameterGroupRequest request)
AmazonMemoryDBAsyncDeletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.
deleteParameterGroupAsync in interface AmazonMemoryDBAsyncpublic Future<DeleteParameterGroupResult> deleteParameterGroupAsync(DeleteParameterGroupRequest request, AsyncHandler<DeleteParameterGroupRequest,DeleteParameterGroupResult> asyncHandler)
AmazonMemoryDBAsyncDeletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.
deleteParameterGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
AmazonMemoryDBAsyncDeletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.
deleteSnapshotAsync in interface AmazonMemoryDBAsyncpublic Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
AmazonMemoryDBAsyncDeletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.
deleteSnapshotAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DeleteSubnetGroupResult> deleteSubnetGroupAsync(DeleteSubnetGroupRequest request)
AmazonMemoryDBAsyncDeletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
deleteSubnetGroupAsync in interface AmazonMemoryDBAsyncpublic Future<DeleteSubnetGroupResult> deleteSubnetGroupAsync(DeleteSubnetGroupRequest request, AsyncHandler<DeleteSubnetGroupRequest,DeleteSubnetGroupResult> asyncHandler)
AmazonMemoryDBAsyncDeletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
deleteSubnetGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonMemoryDBAsyncDeletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
deleteUserAsync in interface AmazonMemoryDBAsyncpublic Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonMemoryDBAsyncDeletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
deleteUserAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeACLsResult> describeACLsAsync(DescribeACLsRequest request)
AmazonMemoryDBAsyncReturns a list of ACLs
describeACLsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeACLsResult> describeACLsAsync(DescribeACLsRequest request, AsyncHandler<DescribeACLsRequest,DescribeACLsResult> asyncHandler)
AmazonMemoryDBAsyncReturns a list of ACLs
describeACLsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest request)
AmazonMemoryDBAsyncReturns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
describeClustersAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest request, AsyncHandler<DescribeClustersRequest,DescribeClustersResult> asyncHandler)
AmazonMemoryDBAsyncReturns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
describeClustersAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeEngineVersionsResult> describeEngineVersionsAsync(DescribeEngineVersionsRequest request)
AmazonMemoryDBAsyncReturns a list of the available Redis engine versions.
describeEngineVersionsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeEngineVersionsResult> describeEngineVersionsAsync(DescribeEngineVersionsRequest request, AsyncHandler<DescribeEngineVersionsRequest,DescribeEngineVersionsResult> asyncHandler)
AmazonMemoryDBAsyncReturns a list of the available Redis engine versions.
describeEngineVersionsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
AmazonMemoryDBAsyncReturns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, 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.
describeEventsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
AmazonMemoryDBAsyncReturns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, 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.
describeEventsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeParameterGroupsResult> describeParameterGroupsAsync(DescribeParameterGroupsRequest request)
AmazonMemoryDBAsyncReturns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.
describeParameterGroupsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeParameterGroupsResult> describeParameterGroupsAsync(DescribeParameterGroupsRequest request, AsyncHandler<DescribeParameterGroupsRequest,DescribeParameterGroupsResult> asyncHandler)
AmazonMemoryDBAsyncReturns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.
describeParameterGroupsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeParametersResult> describeParametersAsync(DescribeParametersRequest request)
AmazonMemoryDBAsyncReturns the detailed parameter list for a particular parameter group.
describeParametersAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeParametersResult> describeParametersAsync(DescribeParametersRequest request, AsyncHandler<DescribeParametersRequest,DescribeParametersResult> asyncHandler)
AmazonMemoryDBAsyncReturns the detailed parameter list for a particular parameter group.
describeParametersAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeReservedNodesResult> describeReservedNodesAsync(DescribeReservedNodesRequest request)
AmazonMemoryDBAsyncReturns information about reserved nodes for this account, or about a specified reserved node.
describeReservedNodesAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeReservedNodesResult> describeReservedNodesAsync(DescribeReservedNodesRequest request, AsyncHandler<DescribeReservedNodesRequest,DescribeReservedNodesResult> asyncHandler)
AmazonMemoryDBAsyncReturns information about reserved nodes for this account, or about a specified reserved node.
describeReservedNodesAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeReservedNodesOfferingsResult> describeReservedNodesOfferingsAsync(DescribeReservedNodesOfferingsRequest request)
AmazonMemoryDBAsyncLists available reserved node offerings.
describeReservedNodesOfferingsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeReservedNodesOfferingsResult> describeReservedNodesOfferingsAsync(DescribeReservedNodesOfferingsRequest request, AsyncHandler<DescribeReservedNodesOfferingsRequest,DescribeReservedNodesOfferingsResult> asyncHandler)
AmazonMemoryDBAsyncLists available reserved node offerings.
describeReservedNodesOfferingsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeServiceUpdatesResult> describeServiceUpdatesAsync(DescribeServiceUpdatesRequest request)
AmazonMemoryDBAsyncReturns details of the service updates
describeServiceUpdatesAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeServiceUpdatesResult> describeServiceUpdatesAsync(DescribeServiceUpdatesRequest request, AsyncHandler<DescribeServiceUpdatesRequest,DescribeServiceUpdatesResult> asyncHandler)
AmazonMemoryDBAsyncReturns details of the service updates
describeServiceUpdatesAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
AmazonMemoryDBAsyncReturns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.
describeSnapshotsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
AmazonMemoryDBAsyncReturns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.
describeSnapshotsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeSubnetGroupsResult> describeSubnetGroupsAsync(DescribeSubnetGroupsRequest request)
AmazonMemoryDBAsyncReturns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
describeSubnetGroupsAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeSubnetGroupsResult> describeSubnetGroupsAsync(DescribeSubnetGroupsRequest request, AsyncHandler<DescribeSubnetGroupsRequest,DescribeSubnetGroupsResult> asyncHandler)
AmazonMemoryDBAsyncReturns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
describeSubnetGroupsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<DescribeUsersResult> describeUsersAsync(DescribeUsersRequest request)
AmazonMemoryDBAsyncReturns a list of users.
describeUsersAsync in interface AmazonMemoryDBAsyncpublic Future<DescribeUsersResult> describeUsersAsync(DescribeUsersRequest request, AsyncHandler<DescribeUsersRequest,DescribeUsersResult> asyncHandler)
AmazonMemoryDBAsyncReturns a list of users.
describeUsersAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<FailoverShardResult> failoverShardAsync(FailoverShardRequest request)
AmazonMemoryDBAsyncUsed to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.
failoverShardAsync in interface AmazonMemoryDBAsyncpublic Future<FailoverShardResult> failoverShardAsync(FailoverShardRequest request, AsyncHandler<FailoverShardRequest,FailoverShardResult> asyncHandler)
AmazonMemoryDBAsyncUsed to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.
failoverShardAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<ListAllowedNodeTypeUpdatesResult> listAllowedNodeTypeUpdatesAsync(ListAllowedNodeTypeUpdatesRequest request)
AmazonMemoryDBAsyncLists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.
listAllowedNodeTypeUpdatesAsync in interface AmazonMemoryDBAsyncpublic Future<ListAllowedNodeTypeUpdatesResult> listAllowedNodeTypeUpdatesAsync(ListAllowedNodeTypeUpdatesRequest request, AsyncHandler<ListAllowedNodeTypeUpdatesRequest,ListAllowedNodeTypeUpdatesResult> asyncHandler)
AmazonMemoryDBAsyncLists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.
listAllowedNodeTypeUpdatesAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AmazonMemoryDBAsyncLists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources
listTagsAsync in interface AmazonMemoryDBAsyncpublic Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AmazonMemoryDBAsyncLists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources
listTagsAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<PurchaseReservedNodesOfferingResult> purchaseReservedNodesOfferingAsync(PurchaseReservedNodesOfferingRequest request)
AmazonMemoryDBAsyncAllows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
purchaseReservedNodesOfferingAsync in interface AmazonMemoryDBAsyncpublic Future<PurchaseReservedNodesOfferingResult> purchaseReservedNodesOfferingAsync(PurchaseReservedNodesOfferingRequest request, AsyncHandler<PurchaseReservedNodesOfferingRequest,PurchaseReservedNodesOfferingResult> asyncHandler)
AmazonMemoryDBAsyncAllows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
purchaseReservedNodesOfferingAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<ResetParameterGroupResult> resetParameterGroupAsync(ResetParameterGroupRequest request)
AmazonMemoryDBAsyncModifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.
resetParameterGroupAsync in interface AmazonMemoryDBAsyncpublic Future<ResetParameterGroupResult> resetParameterGroupAsync(ResetParameterGroupRequest request, AsyncHandler<ResetParameterGroupRequest,ResetParameterGroupResult> asyncHandler)
AmazonMemoryDBAsyncModifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.
resetParameterGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonMemoryDBAsyncA tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see Resource-level permissions.
For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.
tagResourceAsync in interface AmazonMemoryDBAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonMemoryDBAsyncA tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see Resource-level permissions.
For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.
tagResourceAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonMemoryDBAsyncUse this operation to remove tags on a resource
untagResourceAsync in interface AmazonMemoryDBAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonMemoryDBAsyncUse this operation to remove tags on a resource
untagResourceAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<UpdateACLResult> updateACLAsync(UpdateACLRequest request)
AmazonMemoryDBAsyncChanges the list of users that belong to the Access Control List.
updateACLAsync in interface AmazonMemoryDBAsyncpublic Future<UpdateACLResult> updateACLAsync(UpdateACLRequest request, AsyncHandler<UpdateACLRequest,UpdateACLResult> asyncHandler)
AmazonMemoryDBAsyncChanges the list of users that belong to the Access Control List.
updateACLAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request)
AmazonMemoryDBAsyncModifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.
updateClusterAsync in interface AmazonMemoryDBAsyncpublic Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request, AsyncHandler<UpdateClusterRequest,UpdateClusterResult> asyncHandler)
AmazonMemoryDBAsyncModifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.
updateClusterAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<UpdateParameterGroupResult> updateParameterGroupAsync(UpdateParameterGroupRequest request)
AmazonMemoryDBAsyncUpdates 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.
updateParameterGroupAsync in interface AmazonMemoryDBAsyncpublic Future<UpdateParameterGroupResult> updateParameterGroupAsync(UpdateParameterGroupRequest request, AsyncHandler<UpdateParameterGroupRequest,UpdateParameterGroupResult> asyncHandler)
AmazonMemoryDBAsyncUpdates 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.
updateParameterGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<UpdateSubnetGroupResult> updateSubnetGroupAsync(UpdateSubnetGroupRequest request)
AmazonMemoryDBAsyncUpdates a subnet group. For more information, see Updating a subnet group
updateSubnetGroupAsync in interface AmazonMemoryDBAsyncpublic Future<UpdateSubnetGroupResult> updateSubnetGroupAsync(UpdateSubnetGroupRequest request, AsyncHandler<UpdateSubnetGroupRequest,UpdateSubnetGroupResult> asyncHandler)
AmazonMemoryDBAsyncUpdates a subnet group. For more information, see Updating a subnet group
updateSubnetGroupAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request)
AmazonMemoryDBAsyncChanges user password(s) and/or access string.
updateUserAsync in interface AmazonMemoryDBAsyncpublic Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request, AsyncHandler<UpdateUserRequest,UpdateUserResult> asyncHandler)
AmazonMemoryDBAsyncChanges user password(s) and/or access string.
updateUserAsync in interface AmazonMemoryDBAsyncasyncHandler - 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonMemoryDBshutdown in class AmazonMemoryDBClient