@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 is a fully managed, Redis OSS-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 OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
batchUpdateCluster, 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, updateUser
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchUpdateCluster, 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, updateUser
public static AmazonMemoryDBAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchUpdateClusterResult> batchUpdateClusterAsync(BatchUpdateClusterRequest request)
AmazonMemoryDBAsync
Apply 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 AmazonMemoryDBAsync
public Future<BatchUpdateClusterResult> batchUpdateClusterAsync(BatchUpdateClusterRequest request, AsyncHandler<BatchUpdateClusterRequest,BatchUpdateClusterResult> asyncHandler)
AmazonMemoryDBAsync
Apply 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 AmazonMemoryDBAsync
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.public Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest request)
AmazonMemoryDBAsync
Makes a copy of an existing snapshot.
copySnapshotAsync
in interface AmazonMemoryDBAsync
public Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,CopySnapshotResult> asyncHandler)
AmazonMemoryDBAsync
Makes a copy of an existing snapshot.
copySnapshotAsync
in interface AmazonMemoryDBAsync
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.public Future<CreateACLResult> createACLAsync(CreateACLRequest request)
AmazonMemoryDBAsync
Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
createACLAsync
in interface AmazonMemoryDBAsync
public Future<CreateACLResult> createACLAsync(CreateACLRequest request, AsyncHandler<CreateACLRequest,CreateACLResult> asyncHandler)
AmazonMemoryDBAsync
Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
createACLAsync
in interface AmazonMemoryDBAsync
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.public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AmazonMemoryDBAsync
Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
createClusterAsync
in interface AmazonMemoryDBAsync
public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AmazonMemoryDBAsync
Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
createClusterAsync
in interface AmazonMemoryDBAsync
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.public Future<CreateParameterGroupResult> createParameterGroupAsync(CreateParameterGroupRequest request)
AmazonMemoryDBAsync
Creates 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 AmazonMemoryDBAsync
public Future<CreateParameterGroupResult> createParameterGroupAsync(CreateParameterGroupRequest request, AsyncHandler<CreateParameterGroupRequest,CreateParameterGroupResult> asyncHandler)
AmazonMemoryDBAsync
Creates 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 AmazonMemoryDBAsync
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.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
AmazonMemoryDBAsync
Creates a copy of an entire cluster at a specific moment in time.
createSnapshotAsync
in interface AmazonMemoryDBAsync
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
AmazonMemoryDBAsync
Creates a copy of an entire cluster at a specific moment in time.
createSnapshotAsync
in interface AmazonMemoryDBAsync
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.public Future<CreateSubnetGroupResult> createSubnetGroupAsync(CreateSubnetGroupRequest request)
AmazonMemoryDBAsync
Creates 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 AmazonMemoryDBAsync
public Future<CreateSubnetGroupResult> createSubnetGroupAsync(CreateSubnetGroupRequest request, AsyncHandler<CreateSubnetGroupRequest,CreateSubnetGroupResult> asyncHandler)
AmazonMemoryDBAsync
Creates 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 AmazonMemoryDBAsync
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.public Future<CreateUserResult> createUserAsync(CreateUserRequest request)
AmazonMemoryDBAsync
Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
createUserAsync
in interface AmazonMemoryDBAsync
public Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonMemoryDBAsync
Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
createUserAsync
in interface AmazonMemoryDBAsync
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.public Future<DeleteACLResult> deleteACLAsync(DeleteACLRequest request)
AmazonMemoryDBAsync
Deletes 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 AmazonMemoryDBAsync
public Future<DeleteACLResult> deleteACLAsync(DeleteACLRequest request, AsyncHandler<DeleteACLRequest,DeleteACLResult> asyncHandler)
AmazonMemoryDBAsync
Deletes 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 AmazonMemoryDBAsync
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.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AmazonMemoryDBAsync
Deletes a cluster. It also deletes all associated nodes and node endpoints
deleteClusterAsync
in interface AmazonMemoryDBAsync
public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AmazonMemoryDBAsync
Deletes a cluster. It also deletes all associated nodes and node endpoints
deleteClusterAsync
in interface AmazonMemoryDBAsync
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.public Future<DeleteParameterGroupResult> deleteParameterGroupAsync(DeleteParameterGroupRequest request)
AmazonMemoryDBAsync
Deletes 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 AmazonMemoryDBAsync
public Future<DeleteParameterGroupResult> deleteParameterGroupAsync(DeleteParameterGroupRequest request, AsyncHandler<DeleteParameterGroupRequest,DeleteParameterGroupResult> asyncHandler)
AmazonMemoryDBAsync
Deletes 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 AmazonMemoryDBAsync
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.public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
AmazonMemoryDBAsync
Deletes 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 AmazonMemoryDBAsync
public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
AmazonMemoryDBAsync
Deletes 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 AmazonMemoryDBAsync
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.public Future<DeleteSubnetGroupResult> deleteSubnetGroupAsync(DeleteSubnetGroupRequest request)
AmazonMemoryDBAsync
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
deleteSubnetGroupAsync
in interface AmazonMemoryDBAsync
public Future<DeleteSubnetGroupResult> deleteSubnetGroupAsync(DeleteSubnetGroupRequest request, AsyncHandler<DeleteSubnetGroupRequest,DeleteSubnetGroupResult> asyncHandler)
AmazonMemoryDBAsync
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
deleteSubnetGroupAsync
in interface AmazonMemoryDBAsync
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.public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonMemoryDBAsync
Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
deleteUserAsync
in interface AmazonMemoryDBAsync
public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonMemoryDBAsync
Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
deleteUserAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeACLsResult> describeACLsAsync(DescribeACLsRequest request)
AmazonMemoryDBAsync
Returns a list of ACLs
describeACLsAsync
in interface AmazonMemoryDBAsync
public Future<DescribeACLsResult> describeACLsAsync(DescribeACLsRequest request, AsyncHandler<DescribeACLsRequest,DescribeACLsResult> asyncHandler)
AmazonMemoryDBAsync
Returns a list of ACLs
describeACLsAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest request)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
public Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest request, AsyncHandler<DescribeClustersRequest,DescribeClustersResult> asyncHandler)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
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.public Future<DescribeEngineVersionsResult> describeEngineVersionsAsync(DescribeEngineVersionsRequest request)
AmazonMemoryDBAsync
Returns a list of the available Redis OSS engine versions.
describeEngineVersionsAsync
in interface AmazonMemoryDBAsync
public Future<DescribeEngineVersionsResult> describeEngineVersionsAsync(DescribeEngineVersionsRequest request, AsyncHandler<DescribeEngineVersionsRequest,DescribeEngineVersionsResult> asyncHandler)
AmazonMemoryDBAsync
Returns a list of the available Redis OSS engine versions.
describeEngineVersionsAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
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.public Future<DescribeParameterGroupsResult> describeParameterGroupsAsync(DescribeParameterGroupsRequest request)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
public Future<DescribeParameterGroupsResult> describeParameterGroupsAsync(DescribeParameterGroupsRequest request, AsyncHandler<DescribeParameterGroupsRequest,DescribeParameterGroupsResult> asyncHandler)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
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.public Future<DescribeParametersResult> describeParametersAsync(DescribeParametersRequest request)
AmazonMemoryDBAsync
Returns the detailed parameter list for a particular parameter group.
describeParametersAsync
in interface AmazonMemoryDBAsync
public Future<DescribeParametersResult> describeParametersAsync(DescribeParametersRequest request, AsyncHandler<DescribeParametersRequest,DescribeParametersResult> asyncHandler)
AmazonMemoryDBAsync
Returns the detailed parameter list for a particular parameter group.
describeParametersAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeReservedNodesResult> describeReservedNodesAsync(DescribeReservedNodesRequest request)
AmazonMemoryDBAsync
Returns information about reserved nodes for this account, or about a specified reserved node.
describeReservedNodesAsync
in interface AmazonMemoryDBAsync
public Future<DescribeReservedNodesResult> describeReservedNodesAsync(DescribeReservedNodesRequest request, AsyncHandler<DescribeReservedNodesRequest,DescribeReservedNodesResult> asyncHandler)
AmazonMemoryDBAsync
Returns information about reserved nodes for this account, or about a specified reserved node.
describeReservedNodesAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeReservedNodesOfferingsResult> describeReservedNodesOfferingsAsync(DescribeReservedNodesOfferingsRequest request)
AmazonMemoryDBAsync
Lists available reserved node offerings.
describeReservedNodesOfferingsAsync
in interface AmazonMemoryDBAsync
public Future<DescribeReservedNodesOfferingsResult> describeReservedNodesOfferingsAsync(DescribeReservedNodesOfferingsRequest request, AsyncHandler<DescribeReservedNodesOfferingsRequest,DescribeReservedNodesOfferingsResult> asyncHandler)
AmazonMemoryDBAsync
Lists available reserved node offerings.
describeReservedNodesOfferingsAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeServiceUpdatesResult> describeServiceUpdatesAsync(DescribeServiceUpdatesRequest request)
AmazonMemoryDBAsync
Returns details of the service updates
describeServiceUpdatesAsync
in interface AmazonMemoryDBAsync
public Future<DescribeServiceUpdatesResult> describeServiceUpdatesAsync(DescribeServiceUpdatesRequest request, AsyncHandler<DescribeServiceUpdatesRequest,DescribeServiceUpdatesResult> asyncHandler)
AmazonMemoryDBAsync
Returns details of the service updates
describeServiceUpdatesAsync
in interface AmazonMemoryDBAsync
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.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
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.public Future<DescribeSubnetGroupsResult> describeSubnetGroupsAsync(DescribeSubnetGroupsRequest request)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
public Future<DescribeSubnetGroupsResult> describeSubnetGroupsAsync(DescribeSubnetGroupsRequest request, AsyncHandler<DescribeSubnetGroupsRequest,DescribeSubnetGroupsResult> asyncHandler)
AmazonMemoryDBAsync
Returns 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 AmazonMemoryDBAsync
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.public Future<DescribeUsersResult> describeUsersAsync(DescribeUsersRequest request)
AmazonMemoryDBAsync
Returns a list of users.
describeUsersAsync
in interface AmazonMemoryDBAsync
public Future<DescribeUsersResult> describeUsersAsync(DescribeUsersRequest request, AsyncHandler<DescribeUsersRequest,DescribeUsersResult> asyncHandler)
AmazonMemoryDBAsync
Returns a list of users.
describeUsersAsync
in interface AmazonMemoryDBAsync
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.public Future<FailoverShardResult> failoverShardAsync(FailoverShardRequest request)
AmazonMemoryDBAsync
Used 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 AmazonMemoryDBAsync
public Future<FailoverShardResult> failoverShardAsync(FailoverShardRequest request, AsyncHandler<FailoverShardRequest,FailoverShardResult> asyncHandler)
AmazonMemoryDBAsync
Used 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 AmazonMemoryDBAsync
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.public Future<ListAllowedNodeTypeUpdatesResult> listAllowedNodeTypeUpdatesAsync(ListAllowedNodeTypeUpdatesRequest request)
AmazonMemoryDBAsync
Lists 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 AmazonMemoryDBAsync
public Future<ListAllowedNodeTypeUpdatesResult> listAllowedNodeTypeUpdatesAsync(ListAllowedNodeTypeUpdatesRequest request, AsyncHandler<ListAllowedNodeTypeUpdatesRequest,ListAllowedNodeTypeUpdatesResult> asyncHandler)
AmazonMemoryDBAsync
Lists 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 AmazonMemoryDBAsync
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.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AmazonMemoryDBAsync
Lists 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 AmazonMemoryDBAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AmazonMemoryDBAsync
Lists 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 AmazonMemoryDBAsync
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.public Future<PurchaseReservedNodesOfferingResult> purchaseReservedNodesOfferingAsync(PurchaseReservedNodesOfferingRequest request)
AmazonMemoryDBAsync
Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
purchaseReservedNodesOfferingAsync
in interface AmazonMemoryDBAsync
public Future<PurchaseReservedNodesOfferingResult> purchaseReservedNodesOfferingAsync(PurchaseReservedNodesOfferingRequest request, AsyncHandler<PurchaseReservedNodesOfferingRequest,PurchaseReservedNodesOfferingResult> asyncHandler)
AmazonMemoryDBAsync
Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
purchaseReservedNodesOfferingAsync
in interface AmazonMemoryDBAsync
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.public Future<ResetParameterGroupResult> resetParameterGroupAsync(ResetParameterGroupRequest request)
AmazonMemoryDBAsync
Modifies 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 AmazonMemoryDBAsync
public Future<ResetParameterGroupResult> resetParameterGroupAsync(ResetParameterGroupRequest request, AsyncHandler<ResetParameterGroupRequest,ResetParameterGroupResult> asyncHandler)
AmazonMemoryDBAsync
Modifies 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 AmazonMemoryDBAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonMemoryDBAsync
A 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 AmazonMemoryDBAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonMemoryDBAsync
A 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 AmazonMemoryDBAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonMemoryDBAsync
Use this operation to remove tags on a resource
untagResourceAsync
in interface AmazonMemoryDBAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonMemoryDBAsync
Use this operation to remove tags on a resource
untagResourceAsync
in interface AmazonMemoryDBAsync
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.public Future<UpdateACLResult> updateACLAsync(UpdateACLRequest request)
AmazonMemoryDBAsync
Changes the list of users that belong to the Access Control List.
updateACLAsync
in interface AmazonMemoryDBAsync
public Future<UpdateACLResult> updateACLAsync(UpdateACLRequest request, AsyncHandler<UpdateACLRequest,UpdateACLResult> asyncHandler)
AmazonMemoryDBAsync
Changes the list of users that belong to the Access Control List.
updateACLAsync
in interface AmazonMemoryDBAsync
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.public Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request)
AmazonMemoryDBAsync
Modifies 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 AmazonMemoryDBAsync
public Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request, AsyncHandler<UpdateClusterRequest,UpdateClusterResult> asyncHandler)
AmazonMemoryDBAsync
Modifies 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 AmazonMemoryDBAsync
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.public Future<UpdateParameterGroupResult> updateParameterGroupAsync(UpdateParameterGroupRequest request)
AmazonMemoryDBAsync
Updates 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 AmazonMemoryDBAsync
public Future<UpdateParameterGroupResult> updateParameterGroupAsync(UpdateParameterGroupRequest request, AsyncHandler<UpdateParameterGroupRequest,UpdateParameterGroupResult> asyncHandler)
AmazonMemoryDBAsync
Updates 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 AmazonMemoryDBAsync
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.public Future<UpdateSubnetGroupResult> updateSubnetGroupAsync(UpdateSubnetGroupRequest request)
AmazonMemoryDBAsync
Updates a subnet group. For more information, see Updating a subnet group
updateSubnetGroupAsync
in interface AmazonMemoryDBAsync
public Future<UpdateSubnetGroupResult> updateSubnetGroupAsync(UpdateSubnetGroupRequest request, AsyncHandler<UpdateSubnetGroupRequest,UpdateSubnetGroupResult> asyncHandler)
AmazonMemoryDBAsync
Updates a subnet group. For more information, see Updating a subnet group
updateSubnetGroupAsync
in interface AmazonMemoryDBAsync
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.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request)
AmazonMemoryDBAsync
Changes user password(s) and/or access string.
updateUserAsync
in interface AmazonMemoryDBAsync
public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request, AsyncHandler<UpdateUserRequest,UpdateUserResult> asyncHandler)
AmazonMemoryDBAsync
Changes user password(s) and/or access string.
updateUserAsync
in interface AmazonMemoryDBAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonMemoryDB
shutdown
in class AmazonMemoryDBClient