com.amazonaws.services.docdb.AmazonDocDBAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-docdb Show documentation
/*
* Copyright 2019-2024 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.docdb;
import javax.annotation.Generated;
import com.amazonaws.services.docdb.model.*;
/**
* Interface for accessing Amazon DocDB 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.docdb.AbstractAmazonDocDBAsync} instead.
*
*
*
* Amazon DocumentDB is a fast, reliable, and fully managed database service. Amazon DocumentDB makes it easy to set up,
* operate, and scale MongoDB-compatible databases in the cloud. With Amazon DocumentDB, you can run the same
* application code and use the same drivers and tools that you use with MongoDB.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonDocDBAsync extends AmazonDocDB {
/**
*
* Adds a source identifier to an existing event notification subscription.
*
*
* @param addSourceIdentifierToSubscriptionRequest
* Represents the input to AddSourceIdentifierToSubscription.
* @return A Java Future containing the result of the AddSourceIdentifierToSubscription operation returned by the
* service.
* @sample AmazonDocDBAsync.AddSourceIdentifierToSubscription
* @see AWS API Documentation
*/
java.util.concurrent.Future addSourceIdentifierToSubscriptionAsync(
AddSourceIdentifierToSubscriptionRequest addSourceIdentifierToSubscriptionRequest);
/**
*
* Adds a source identifier to an existing event notification subscription.
*
*
* @param addSourceIdentifierToSubscriptionRequest
* Represents the input to AddSourceIdentifierToSubscription.
* @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 AddSourceIdentifierToSubscription operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.AddSourceIdentifierToSubscription
* @see AWS API Documentation
*/
java.util.concurrent.Future addSourceIdentifierToSubscriptionAsync(
AddSourceIdentifierToSubscriptionRequest addSourceIdentifierToSubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to
* track costs that are associated with Amazon DocumentDB resources or in a Condition
statement in an
* Identity and Access Management (IAM) policy for Amazon DocumentDB.
*
*
* @param addTagsToResourceRequest
* Represents the input to AddTagsToResource.
* @return A Java Future containing the result of the AddTagsToResource operation returned by the service.
* @sample AmazonDocDBAsync.AddTagsToResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future addTagsToResourceAsync(AddTagsToResourceRequest addTagsToResourceRequest);
/**
*
* Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to
* track costs that are associated with Amazon DocumentDB resources or in a Condition
statement in an
* Identity and Access Management (IAM) policy for Amazon DocumentDB.
*
*
* @param addTagsToResourceRequest
* Represents the input to AddTagsToResource.
* @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 AddTagsToResource operation returned by the service.
* @sample AmazonDocDBAsyncHandler.AddTagsToResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future addTagsToResourceAsync(AddTagsToResourceRequest addTagsToResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Applies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
*
*
* @param applyPendingMaintenanceActionRequest
* Represents the input to ApplyPendingMaintenanceAction.
* @return A Java Future containing the result of the ApplyPendingMaintenanceAction operation returned by the
* service.
* @sample AmazonDocDBAsync.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
java.util.concurrent.Future applyPendingMaintenanceActionAsync(
ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest);
/**
*
* Applies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
*
*
* @param applyPendingMaintenanceActionRequest
* Represents the input to ApplyPendingMaintenanceAction.
* @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 ApplyPendingMaintenanceAction operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
java.util.concurrent.Future applyPendingMaintenanceActionAsync(
ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Copies the specified cluster parameter group.
*
*
* @param copyDBClusterParameterGroupRequest
* Represents the input to CopyDBClusterParameterGroup.
* @return A Java Future containing the result of the CopyDBClusterParameterGroup operation returned by the service.
* @sample AmazonDocDBAsync.CopyDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future copyDBClusterParameterGroupAsync(CopyDBClusterParameterGroupRequest copyDBClusterParameterGroupRequest);
/**
*
* Copies the specified cluster parameter group.
*
*
* @param copyDBClusterParameterGroupRequest
* Represents the input to CopyDBClusterParameterGroup.
* @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 CopyDBClusterParameterGroup operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CopyDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future copyDBClusterParameterGroupAsync(
CopyDBClusterParameterGroupRequest copyDBClusterParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Copies a snapshot of a cluster.
*
*
* To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier
* must be the Amazon Resource Name (ARN) of the shared cluster snapshot. You can only copy a shared DB cluster
* snapshot, whether encrypted or not, in the same Amazon Web Services Region.
*
*
* To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by
* TargetDBClusterSnapshotIdentifier
while that cluster snapshot is in the copying status.
*
*
* @param copyDBClusterSnapshotRequest
* Represents the input to CopyDBClusterSnapshot.
* @return A Java Future containing the result of the CopyDBClusterSnapshot operation returned by the service.
* @sample AmazonDocDBAsync.CopyDBClusterSnapshot
* @see AWS
* API Documentation
*/
java.util.concurrent.Future copyDBClusterSnapshotAsync(CopyDBClusterSnapshotRequest copyDBClusterSnapshotRequest);
/**
*
* Copies a snapshot of a cluster.
*
*
* To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier
* must be the Amazon Resource Name (ARN) of the shared cluster snapshot. You can only copy a shared DB cluster
* snapshot, whether encrypted or not, in the same Amazon Web Services Region.
*
*
* To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by
* TargetDBClusterSnapshotIdentifier
while that cluster snapshot is in the copying status.
*
*
* @param copyDBClusterSnapshotRequest
* Represents the input to CopyDBClusterSnapshot.
* @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 CopyDBClusterSnapshot operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CopyDBClusterSnapshot
* @see AWS
* API Documentation
*/
java.util.concurrent.Future copyDBClusterSnapshotAsync(CopyDBClusterSnapshotRequest copyDBClusterSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new Amazon DocumentDB cluster.
*
*
* @param createDBClusterRequest
* Represents the input to CreateDBCluster.
* @return A Java Future containing the result of the CreateDBCluster operation returned by the service.
* @sample AmazonDocDBAsync.CreateDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createDBClusterAsync(CreateDBClusterRequest createDBClusterRequest);
/**
*
* Creates a new Amazon DocumentDB cluster.
*
*
* @param createDBClusterRequest
* Represents the input to CreateDBCluster.
* @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 CreateDBCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CreateDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createDBClusterAsync(CreateDBClusterRequest createDBClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new cluster parameter group.
*
*
* Parameters in a cluster parameter group apply to all of the instances in a cluster.
*
*
* A cluster parameter group is initially created with the default parameters for the database engine used by
* instances in the cluster. In Amazon DocumentDB, you cannot make modifications directly to the
* default.docdb3.6
cluster parameter group. If your Amazon DocumentDB cluster is using the default
* cluster parameter group and you want to modify a value in it, you must first create a
* new parameter group or copy an
* existing parameter group, modify it, and then apply the modified parameter group to your cluster. For the new
* cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster
* without failover. For more information, see
* Modifying Amazon DocumentDB Cluster Parameter Groups.
*
*
* @param createDBClusterParameterGroupRequest
* Represents the input of CreateDBClusterParameterGroup.
* @return A Java Future containing the result of the CreateDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsync.CreateDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future createDBClusterParameterGroupAsync(
CreateDBClusterParameterGroupRequest createDBClusterParameterGroupRequest);
/**
*
* Creates a new cluster parameter group.
*
*
* Parameters in a cluster parameter group apply to all of the instances in a cluster.
*
*
* A cluster parameter group is initially created with the default parameters for the database engine used by
* instances in the cluster. In Amazon DocumentDB, you cannot make modifications directly to the
* default.docdb3.6
cluster parameter group. If your Amazon DocumentDB cluster is using the default
* cluster parameter group and you want to modify a value in it, you must first create a
* new parameter group or copy an
* existing parameter group, modify it, and then apply the modified parameter group to your cluster. For the new
* cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster
* without failover. For more information, see
* Modifying Amazon DocumentDB Cluster Parameter Groups.
*
*
* @param createDBClusterParameterGroupRequest
* Represents the input of CreateDBClusterParameterGroup.
* @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 CreateDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.CreateDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future createDBClusterParameterGroupAsync(
CreateDBClusterParameterGroupRequest createDBClusterParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a snapshot of a cluster.
*
*
* @param createDBClusterSnapshotRequest
* Represents the input of CreateDBClusterSnapshot.
* @return A Java Future containing the result of the CreateDBClusterSnapshot operation returned by the service.
* @sample AmazonDocDBAsync.CreateDBClusterSnapshot
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createDBClusterSnapshotAsync(CreateDBClusterSnapshotRequest createDBClusterSnapshotRequest);
/**
*
* Creates a snapshot of a cluster.
*
*
* @param createDBClusterSnapshotRequest
* Represents the input of CreateDBClusterSnapshot.
* @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 CreateDBClusterSnapshot operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CreateDBClusterSnapshot
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createDBClusterSnapshotAsync(CreateDBClusterSnapshotRequest createDBClusterSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new instance.
*
*
* @param createDBInstanceRequest
* Represents the input to CreateDBInstance.
* @return A Java Future containing the result of the CreateDBInstance operation returned by the service.
* @sample AmazonDocDBAsync.CreateDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createDBInstanceAsync(CreateDBInstanceRequest createDBInstanceRequest);
/**
*
* Creates a new instance.
*
*
* @param createDBInstanceRequest
* Represents the input to CreateDBInstance.
* @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 CreateDBInstance operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CreateDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createDBInstanceAsync(CreateDBInstanceRequest createDBInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in
* the Amazon Web Services Region.
*
*
* @param createDBSubnetGroupRequest
* Represents the input to CreateDBSubnetGroup.
* @return A Java Future containing the result of the CreateDBSubnetGroup operation returned by the service.
* @sample AmazonDocDBAsync.CreateDBSubnetGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createDBSubnetGroupAsync(CreateDBSubnetGroupRequest createDBSubnetGroupRequest);
/**
*
* Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in
* the Amazon Web Services Region.
*
*
* @param createDBSubnetGroupRequest
* Represents the input to CreateDBSubnetGroup.
* @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 CreateDBSubnetGroup operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CreateDBSubnetGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createDBSubnetGroupAsync(CreateDBSubnetGroupRequest createDBSubnetGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name
* (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an
* ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in
* the Amazon SNS console.
*
*
* You can specify the type of source (SourceType
) that you want to be notified of. You can also
* provide a list of Amazon DocumentDB sources (SourceIds
) that trigger the events, and you can provide
* a list of event categories (EventCategories
) for events that you want to be notified of. For
* example, you can specify SourceType = db-instance
,
* SourceIds = mydbinstance1, mydbinstance2
and EventCategories = Availability, Backup
.
*
*
* If you specify both the SourceType
and SourceIds
(such as
* SourceType = db-instance
and SourceIdentifier = myDBInstance1
), you are notified of all
* the db-instance
events for the specified source. If you specify a SourceType
but do not
* specify a SourceIdentifier
, you receive notice of the events for that source type for all your
* Amazon DocumentDB sources. If you do not specify either the SourceType
or the
* SourceIdentifier
, you are notified of events generated from all Amazon DocumentDB sources belonging
* to your customer account.
*
*
* @param createEventSubscriptionRequest
* Represents the input to CreateEventSubscription.
* @return A Java Future containing the result of the CreateEventSubscription operation returned by the service.
* @sample AmazonDocDBAsync.CreateEventSubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createEventSubscriptionAsync(CreateEventSubscriptionRequest createEventSubscriptionRequest);
/**
*
* Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name
* (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an
* ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in
* the Amazon SNS console.
*
*
* You can specify the type of source (SourceType
) that you want to be notified of. You can also
* provide a list of Amazon DocumentDB sources (SourceIds
) that trigger the events, and you can provide
* a list of event categories (EventCategories
) for events that you want to be notified of. For
* example, you can specify SourceType = db-instance
,
* SourceIds = mydbinstance1, mydbinstance2
and EventCategories = Availability, Backup
.
*
*
* If you specify both the SourceType
and SourceIds
(such as
* SourceType = db-instance
and SourceIdentifier = myDBInstance1
), you are notified of all
* the db-instance
events for the specified source. If you specify a SourceType
but do not
* specify a SourceIdentifier
, you receive notice of the events for that source type for all your
* Amazon DocumentDB sources. If you do not specify either the SourceType
or the
* SourceIdentifier
, you are notified of events generated from all Amazon DocumentDB sources belonging
* to your customer account.
*
*
* @param createEventSubscriptionRequest
* Represents the input to CreateEventSubscription.
* @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 CreateEventSubscription operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CreateEventSubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createEventSubscriptionAsync(CreateEventSubscriptionRequest createEventSubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The
* global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary
* clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second,
* using dedicated infrastructure with no impact to your workload’s performance.
*
*
*
* You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can
* specify an existing cluster during the create operation, and this cluster becomes the primary of the global
* cluster.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param createGlobalClusterRequest
* Represents the input to CreateGlobalCluster.
* @return A Java Future containing the result of the CreateGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsync.CreateGlobalCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createGlobalClusterAsync(CreateGlobalClusterRequest createGlobalClusterRequest);
/**
*
* Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The
* global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary
* clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second,
* using dedicated infrastructure with no impact to your workload’s performance.
*
*
*
* You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can
* specify an existing cluster during the create operation, and this cluster becomes the primary of the global
* cluster.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param createGlobalClusterRequest
* Represents the input to CreateGlobalCluster.
* @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 CreateGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.CreateGlobalCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createGlobalClusterAsync(CreateGlobalClusterRequest createGlobalClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are
* deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
*
*
*
* @param deleteDBClusterRequest
* Represents the input to DeleteDBCluster.
* @return A Java Future containing the result of the DeleteDBCluster operation returned by the service.
* @sample AmazonDocDBAsync.DeleteDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteDBClusterAsync(DeleteDBClusterRequest deleteDBClusterRequest);
/**
*
* Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are
* deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
*
*
*
* @param deleteDBClusterRequest
* Represents the input to DeleteDBCluster.
* @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 DeleteDBCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DeleteDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteDBClusterAsync(DeleteDBClusterRequest deleteDBClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with
* any clusters.
*
*
* @param deleteDBClusterParameterGroupRequest
* Represents the input to DeleteDBClusterParameterGroup.
* @return A Java Future containing the result of the DeleteDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsync.DeleteDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDBClusterParameterGroupAsync(
DeleteDBClusterParameterGroupRequest deleteDBClusterParameterGroupRequest);
/**
*
* Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with
* any clusters.
*
*
* @param deleteDBClusterParameterGroupRequest
* Represents the input to DeleteDBClusterParameterGroup.
* @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 DeleteDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.DeleteDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDBClusterParameterGroupAsync(
DeleteDBClusterParameterGroupRequest deleteDBClusterParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
*
*
*
* The cluster snapshot must be in the available
state to be deleted.
*
*
*
* @param deleteDBClusterSnapshotRequest
* Represents the input to DeleteDBClusterSnapshot.
* @return A Java Future containing the result of the DeleteDBClusterSnapshot operation returned by the service.
* @sample AmazonDocDBAsync.DeleteDBClusterSnapshot
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteDBClusterSnapshotAsync(DeleteDBClusterSnapshotRequest deleteDBClusterSnapshotRequest);
/**
*
* Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
*
*
*
* The cluster snapshot must be in the available
state to be deleted.
*
*
*
* @param deleteDBClusterSnapshotRequest
* Represents the input to DeleteDBClusterSnapshot.
* @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 DeleteDBClusterSnapshot operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DeleteDBClusterSnapshot
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteDBClusterSnapshotAsync(DeleteDBClusterSnapshotRequest deleteDBClusterSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a previously provisioned instance.
*
*
* @param deleteDBInstanceRequest
* Represents the input to DeleteDBInstance.
* @return A Java Future containing the result of the DeleteDBInstance operation returned by the service.
* @sample AmazonDocDBAsync.DeleteDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteDBInstanceAsync(DeleteDBInstanceRequest deleteDBInstanceRequest);
/**
*
* Deletes a previously provisioned instance.
*
*
* @param deleteDBInstanceRequest
* Represents the input to DeleteDBInstance.
* @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 DeleteDBInstance operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DeleteDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteDBInstanceAsync(DeleteDBInstanceRequest deleteDBInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a subnet group.
*
*
*
* The specified database subnet group must not be associated with any DB instances.
*
*
*
* @param deleteDBSubnetGroupRequest
* Represents the input to DeleteDBSubnetGroup.
* @return A Java Future containing the result of the DeleteDBSubnetGroup operation returned by the service.
* @sample AmazonDocDBAsync.DeleteDBSubnetGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteDBSubnetGroupAsync(DeleteDBSubnetGroupRequest deleteDBSubnetGroupRequest);
/**
*
* Deletes a subnet group.
*
*
*
* The specified database subnet group must not be associated with any DB instances.
*
*
*
* @param deleteDBSubnetGroupRequest
* Represents the input to DeleteDBSubnetGroup.
* @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 DeleteDBSubnetGroup operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DeleteDBSubnetGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteDBSubnetGroupAsync(DeleteDBSubnetGroupRequest deleteDBSubnetGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an Amazon DocumentDB event notification subscription.
*
*
* @param deleteEventSubscriptionRequest
* Represents the input to DeleteEventSubscription.
* @return A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
* @sample AmazonDocDBAsync.DeleteEventSubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteEventSubscriptionAsync(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest);
/**
*
* Deletes an Amazon DocumentDB event notification subscription.
*
*
* @param deleteEventSubscriptionRequest
* Represents the input to DeleteEventSubscription.
* @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 DeleteEventSubscription operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DeleteEventSubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteEventSubscriptionAsync(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before
* attempting to delete a global cluster.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param deleteGlobalClusterRequest
* Represents the input to DeleteGlobalCluster.
* @return A Java Future containing the result of the DeleteGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsync.DeleteGlobalCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteGlobalClusterAsync(DeleteGlobalClusterRequest deleteGlobalClusterRequest);
/**
*
* Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before
* attempting to delete a global cluster.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param deleteGlobalClusterRequest
* Represents the input to DeleteGlobalCluster.
* @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 DeleteGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DeleteGlobalCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteGlobalClusterAsync(DeleteGlobalClusterRequest deleteGlobalClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web
* Services account.
*
*
* @param describeCertificatesRequest
* @return A Java Future containing the result of the DescribeCertificates operation returned by the service.
* @sample AmazonDocDBAsync.DescribeCertificates
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeCertificatesAsync(DescribeCertificatesRequest describeCertificatesRequest);
/**
*
* Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web
* Services account.
*
*
* @param describeCertificatesRequest
* @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 DescribeCertificates operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeCertificates
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeCertificatesAsync(DescribeCertificatesRequest describeCertificatesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of DBClusterParameterGroup
descriptions. If a
* DBClusterParameterGroupName
parameter is specified, the list contains only the description of the
* specified cluster parameter group.
*
*
* @param describeDBClusterParameterGroupsRequest
* Represents the input to DescribeDBClusterParameterGroups.
* @return A Java Future containing the result of the DescribeDBClusterParameterGroups operation returned by the
* service.
* @sample AmazonDocDBAsync.DescribeDBClusterParameterGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterParameterGroupsAsync(
DescribeDBClusterParameterGroupsRequest describeDBClusterParameterGroupsRequest);
/**
*
* Returns a list of DBClusterParameterGroup
descriptions. If a
* DBClusterParameterGroupName
parameter is specified, the list contains only the description of the
* specified cluster parameter group.
*
*
* @param describeDBClusterParameterGroupsRequest
* Represents the input to DescribeDBClusterParameterGroups.
* @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 DescribeDBClusterParameterGroups operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.DescribeDBClusterParameterGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterParameterGroupsAsync(
DescribeDBClusterParameterGroupsRequest describeDBClusterParameterGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the detailed parameter list for a particular cluster parameter group.
*
*
* @param describeDBClusterParametersRequest
* Represents the input to DescribeDBClusterParameters.
* @return A Java Future containing the result of the DescribeDBClusterParameters operation returned by the service.
* @sample AmazonDocDBAsync.DescribeDBClusterParameters
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterParametersAsync(
DescribeDBClusterParametersRequest describeDBClusterParametersRequest);
/**
*
* Returns the detailed parameter list for a particular cluster parameter group.
*
*
* @param describeDBClusterParametersRequest
* Represents the input to DescribeDBClusterParameters.
* @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 DescribeDBClusterParameters operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeDBClusterParameters
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterParametersAsync(
DescribeDBClusterParametersRequest describeDBClusterParametersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
*
*
* When you share snapshots with other Amazon Web Services accounts,
* DescribeDBClusterSnapshotAttributes
returns the restore
attribute and a list of IDs for
* the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If
* all
is included in the list of values for the restore
attribute, then the manual
* cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts.
*
*
* @param describeDBClusterSnapshotAttributesRequest
* Represents the input to DescribeDBClusterSnapshotAttributes.
* @return A Java Future containing the result of the DescribeDBClusterSnapshotAttributes operation returned by the
* service.
* @sample AmazonDocDBAsync.DescribeDBClusterSnapshotAttributes
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterSnapshotAttributesAsync(
DescribeDBClusterSnapshotAttributesRequest describeDBClusterSnapshotAttributesRequest);
/**
*
* Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
*
*
* When you share snapshots with other Amazon Web Services accounts,
* DescribeDBClusterSnapshotAttributes
returns the restore
attribute and a list of IDs for
* the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If
* all
is included in the list of values for the restore
attribute, then the manual
* cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts.
*
*
* @param describeDBClusterSnapshotAttributesRequest
* Represents the input to DescribeDBClusterSnapshotAttributes.
* @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 DescribeDBClusterSnapshotAttributes operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.DescribeDBClusterSnapshotAttributes
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterSnapshotAttributesAsync(
DescribeDBClusterSnapshotAttributesRequest describeDBClusterSnapshotAttributesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about cluster snapshots. This API operation supports pagination.
*
*
* @param describeDBClusterSnapshotsRequest
* Represents the input to DescribeDBClusterSnapshots.
* @return A Java Future containing the result of the DescribeDBClusterSnapshots operation returned by the service.
* @sample AmazonDocDBAsync.DescribeDBClusterSnapshots
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterSnapshotsAsync(
DescribeDBClusterSnapshotsRequest describeDBClusterSnapshotsRequest);
/**
*
* Returns information about cluster snapshots. This API operation supports pagination.
*
*
* @param describeDBClusterSnapshotsRequest
* Represents the input to DescribeDBClusterSnapshots.
* @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 DescribeDBClusterSnapshots operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeDBClusterSnapshots
* @see AWS API Documentation
*/
java.util.concurrent.Future describeDBClusterSnapshotsAsync(
DescribeDBClusterSnapshotsRequest describeDBClusterSnapshotsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. For
* certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages
* operational technology that is shared with Amazon RDS and Amazon Neptune. Use the
* filterName=engine,Values=docdb
filter parameter to return only Amazon DocumentDB clusters.
*
*
* @param describeDBClustersRequest
* Represents the input to DescribeDBClusters.
* @return A Java Future containing the result of the DescribeDBClusters operation returned by the service.
* @sample AmazonDocDBAsync.DescribeDBClusters
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeDBClustersAsync(DescribeDBClustersRequest describeDBClustersRequest);
/**
*
* Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. For
* certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages
* operational technology that is shared with Amazon RDS and Amazon Neptune. Use the
* filterName=engine,Values=docdb
filter parameter to return only Amazon DocumentDB clusters.
*
*
* @param describeDBClustersRequest
* Represents the input to DescribeDBClusters.
* @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 DescribeDBClusters operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeDBClusters
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeDBClustersAsync(DescribeDBClustersRequest describeDBClustersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of the available engines.
*
*
* @param describeDBEngineVersionsRequest
* Represents the input to DescribeDBEngineVersions.
* @return A Java Future containing the result of the DescribeDBEngineVersions operation returned by the service.
* @sample AmazonDocDBAsync.DescribeDBEngineVersions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeDBEngineVersionsAsync(DescribeDBEngineVersionsRequest describeDBEngineVersionsRequest);
/**
*
* Returns a list of the available engines.
*
*
* @param describeDBEngineVersionsRequest
* Represents the input to DescribeDBEngineVersions.
* @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 DescribeDBEngineVersions operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeDBEngineVersions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeDBEngineVersionsAsync(DescribeDBEngineVersionsRequest describeDBEngineVersionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
*
*
* @param describeDBInstancesRequest
* Represents the input to DescribeDBInstances.
* @return A Java Future containing the result of the DescribeDBInstances operation returned by the service.
* @sample AmazonDocDBAsync.DescribeDBInstances
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeDBInstancesAsync(DescribeDBInstancesRequest describeDBInstancesRequest);
/**
*
* Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
*
*
* @param describeDBInstancesRequest
* Represents the input to DescribeDBInstances.
* @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 DescribeDBInstances operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeDBInstances
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeDBInstancesAsync(DescribeDBInstancesRequest describeDBInstancesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of DBSubnetGroup
descriptions. If a DBSubnetGroupName
is specified, the
* list will contain only the descriptions of the specified DBSubnetGroup
.
*
*
* @param describeDBSubnetGroupsRequest
* Represents the input to DescribeDBSubnetGroups.
* @return A Java Future containing the result of the DescribeDBSubnetGroups operation returned by the service.
* @sample AmazonDocDBAsync.DescribeDBSubnetGroups
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeDBSubnetGroupsAsync(DescribeDBSubnetGroupsRequest describeDBSubnetGroupsRequest);
/**
*
* Returns a list of DBSubnetGroup
descriptions. If a DBSubnetGroupName
is specified, the
* list will contain only the descriptions of the specified DBSubnetGroup
.
*
*
* @param describeDBSubnetGroupsRequest
* Represents the input to DescribeDBSubnetGroups.
* @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 DescribeDBSubnetGroups operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeDBSubnetGroups
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeDBSubnetGroupsAsync(DescribeDBSubnetGroupsRequest describeDBSubnetGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the default engine and system parameter information for the cluster database engine.
*
*
* @param describeEngineDefaultClusterParametersRequest
* Represents the input to DescribeEngineDefaultClusterParameters.
* @return A Java Future containing the result of the DescribeEngineDefaultClusterParameters operation returned by
* the service.
* @sample AmazonDocDBAsync.DescribeEngineDefaultClusterParameters
* @see AWS API Documentation
*/
java.util.concurrent.Future describeEngineDefaultClusterParametersAsync(
DescribeEngineDefaultClusterParametersRequest describeEngineDefaultClusterParametersRequest);
/**
*
* Returns the default engine and system parameter information for the cluster database engine.
*
*
* @param describeEngineDefaultClusterParametersRequest
* Represents the input to DescribeEngineDefaultClusterParameters.
* @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 DescribeEngineDefaultClusterParameters operation returned by
* the service.
* @sample AmazonDocDBAsyncHandler.DescribeEngineDefaultClusterParameters
* @see AWS API Documentation
*/
java.util.concurrent.Future describeEngineDefaultClusterParametersAsync(
DescribeEngineDefaultClusterParametersRequest describeEngineDefaultClusterParametersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Displays a list of categories for all event source types, or, if specified, for a specified source type.
*
*
* @param describeEventCategoriesRequest
* Represents the input to DescribeEventCategories.
* @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.
* @sample AmazonDocDBAsync.DescribeEventCategories
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeEventCategoriesAsync(DescribeEventCategoriesRequest describeEventCategoriesRequest);
/**
*
* Displays a list of categories for all event source types, or, if specified, for a specified source type.
*
*
* @param describeEventCategoriesRequest
* Represents the input to DescribeEventCategories.
* @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 DescribeEventCategories operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeEventCategories
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeEventCategoriesAsync(DescribeEventCategoriesRequest describeEventCategoriesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all the subscription descriptions for a customer account. The description for a subscription includes
* SubscriptionName
, SNSTopicARN
, CustomerID
, SourceType
,
* SourceID
, CreationTime
, and Status
.
*
*
* If you specify a SubscriptionName
, lists the description for that subscription.
*
*
* @param describeEventSubscriptionsRequest
* Represents the input to DescribeEventSubscriptions.
* @return A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
* @sample AmazonDocDBAsync.DescribeEventSubscriptions
* @see AWS API Documentation
*/
java.util.concurrent.Future describeEventSubscriptionsAsync(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest);
/**
*
* Lists all the subscription descriptions for a customer account. The description for a subscription includes
* SubscriptionName
, SNSTopicARN
, CustomerID
, SourceType
,
* SourceID
, CreationTime
, and Status
.
*
*
* If you specify a SubscriptionName
, lists the description for that subscription.
*
*
* @param describeEventSubscriptionsRequest
* Represents the input to DescribeEventSubscriptions.
* @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 DescribeEventSubscriptions operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeEventSubscriptions
* @see AWS API Documentation
*/
java.util.concurrent.Future describeEventSubscriptionsAsync(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days.
* You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by
* providing the name as a parameter. By default, the events of the past hour are returned.
*
*
* @param describeEventsRequest
* Represents the input to DescribeEvents.
* @return A Java Future containing the result of the DescribeEvents operation returned by the service.
* @sample AmazonDocDBAsync.DescribeEvents
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeEventsAsync(DescribeEventsRequest describeEventsRequest);
/**
*
* Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days.
* You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by
* providing the name as a parameter. By default, the events of the past hour are returned.
*
*
* @param describeEventsRequest
* Represents the input to DescribeEvents.
* @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 AmazonDocDBAsyncHandler.DescribeEvents
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeEventsAsync(DescribeEventsRequest describeEventsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about Amazon DocumentDB global clusters. This API supports pagination.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param describeGlobalClustersRequest
* @return A Java Future containing the result of the DescribeGlobalClusters operation returned by the service.
* @sample AmazonDocDBAsync.DescribeGlobalClusters
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeGlobalClustersAsync(DescribeGlobalClustersRequest describeGlobalClustersRequest);
/**
*
* Returns information about Amazon DocumentDB global clusters. This API supports pagination.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param describeGlobalClustersRequest
* @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 DescribeGlobalClusters operation returned by the service.
* @sample AmazonDocDBAsyncHandler.DescribeGlobalClusters
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeGlobalClustersAsync(DescribeGlobalClustersRequest describeGlobalClustersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of orderable instance options for the specified engine.
*
*
* @param describeOrderableDBInstanceOptionsRequest
* Represents the input to DescribeOrderableDBInstanceOptions.
* @return A Java Future containing the result of the DescribeOrderableDBInstanceOptions operation returned by the
* service.
* @sample AmazonDocDBAsync.DescribeOrderableDBInstanceOptions
* @see AWS API Documentation
*/
java.util.concurrent.Future describeOrderableDBInstanceOptionsAsync(
DescribeOrderableDBInstanceOptionsRequest describeOrderableDBInstanceOptionsRequest);
/**
*
* Returns a list of orderable instance options for the specified engine.
*
*
* @param describeOrderableDBInstanceOptionsRequest
* Represents the input to DescribeOrderableDBInstanceOptions.
* @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 DescribeOrderableDBInstanceOptions operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.DescribeOrderableDBInstanceOptions
* @see AWS API Documentation
*/
java.util.concurrent.Future describeOrderableDBInstanceOptionsAsync(
DescribeOrderableDBInstanceOptionsRequest describeOrderableDBInstanceOptionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of resources (for example, instances) that have at least one pending maintenance action.
*
*
* @param describePendingMaintenanceActionsRequest
* Represents the input to DescribePendingMaintenanceActions.
* @return A Java Future containing the result of the DescribePendingMaintenanceActions operation returned by the
* service.
* @sample AmazonDocDBAsync.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
java.util.concurrent.Future describePendingMaintenanceActionsAsync(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest);
/**
*
* Returns a list of resources (for example, instances) that have at least one pending maintenance action.
*
*
* @param describePendingMaintenanceActionsRequest
* Represents the input to DescribePendingMaintenanceActions.
* @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 DescribePendingMaintenanceActions operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
java.util.concurrent.Future describePendingMaintenanceActionsAsync(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Forces a failover for a cluster.
*
*
* A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to
* be the primary instance (the cluster writer).
*
*
* If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one
* exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
*
*
* @param failoverDBClusterRequest
* Represents the input to FailoverDBCluster.
* @return A Java Future containing the result of the FailoverDBCluster operation returned by the service.
* @sample AmazonDocDBAsync.FailoverDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future failoverDBClusterAsync(FailoverDBClusterRequest failoverDBClusterRequest);
/**
*
* Forces a failover for a cluster.
*
*
* A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to
* be the primary instance (the cluster writer).
*
*
* If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one
* exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
*
*
* @param failoverDBClusterRequest
* Represents the input to FailoverDBCluster.
* @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 FailoverDBCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.FailoverDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future failoverDBClusterAsync(FailoverDBClusterRequest failoverDBClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all tags on an Amazon DocumentDB resource.
*
*
* @param listTagsForResourceRequest
* Represents the input to ListTagsForResource.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonDocDBAsync.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Lists all tags on an Amazon DocumentDB resource.
*
*
* @param listTagsForResourceRequest
* Represents the input to ListTagsForResource.
* @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 ListTagsForResource operation returned by the service.
* @sample AmazonDocDBAsyncHandler.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters
* by specifying these parameters and the new values in the request.
*
*
* @param modifyDBClusterRequest
* Represents the input to ModifyDBCluster.
* @return A Java Future containing the result of the ModifyDBCluster operation returned by the service.
* @sample AmazonDocDBAsync.ModifyDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyDBClusterAsync(ModifyDBClusterRequest modifyDBClusterRequest);
/**
*
* Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters
* by specifying these parameters and the new values in the request.
*
*
* @param modifyDBClusterRequest
* Represents the input to ModifyDBCluster.
* @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 ModifyDBCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.ModifyDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyDBClusterAsync(ModifyDBClusterRequest modifyDBClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the
* following: ParameterName
, ParameterValue
, and ApplyMethod
. A maximum of 20
* parameters can be modified in a single request.
*
*
*
* Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or
* maintenance window before the change can take effect.
*
*
*
* After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster
* that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully
* complete the create action before the parameter group is used as the default for a new cluster. This step is
* especially important for parameters that are critical when creating the default database for a cluster, such as
* the character set for the default database defined by the character_set_database
parameter.
*
*
*
* @param modifyDBClusterParameterGroupRequest
* Represents the input to ModifyDBClusterParameterGroup.
* @return A Java Future containing the result of the ModifyDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsync.ModifyDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future modifyDBClusterParameterGroupAsync(
ModifyDBClusterParameterGroupRequest modifyDBClusterParameterGroupRequest);
/**
*
* Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the
* following: ParameterName
, ParameterValue
, and ApplyMethod
. A maximum of 20
* parameters can be modified in a single request.
*
*
*
* Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or
* maintenance window before the change can take effect.
*
*
*
* After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster
* that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully
* complete the create action before the parameter group is used as the default for a new cluster. This step is
* especially important for parameters that are critical when creating the default database for a cluster, such as
* the character set for the default database defined by the character_set_database
parameter.
*
*
*
* @param modifyDBClusterParameterGroupRequest
* Represents the input to ModifyDBClusterParameterGroup.
* @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 ModifyDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.ModifyDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future modifyDBClusterParameterGroupAsync(
ModifyDBClusterParameterGroupRequest modifyDBClusterParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.
*
*
* To share a manual cluster snapshot with other Amazon Web Services accounts, specify restore
as the
* AttributeName
, and use the ValuesToAdd
parameter to add a list of IDs of the Amazon Web
* Services accounts that are authorized to restore the manual cluster snapshot. Use the value all
to
* make the manual cluster snapshot public, which means that it can be copied or restored by all Amazon Web Services
* accounts. Do not add the all
value for any manual cluster snapshots that contain private information
* that you don't want available to all Amazon Web Services accounts. If a manual cluster snapshot is encrypted, it
* can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the
* ValuesToAdd
parameter. You can't use all
as a value for that parameter in this case.
*
*
* @param modifyDBClusterSnapshotAttributeRequest
* Represents the input to ModifyDBClusterSnapshotAttribute.
* @return A Java Future containing the result of the ModifyDBClusterSnapshotAttribute operation returned by the
* service.
* @sample AmazonDocDBAsync.ModifyDBClusterSnapshotAttribute
* @see AWS API Documentation
*/
java.util.concurrent.Future modifyDBClusterSnapshotAttributeAsync(
ModifyDBClusterSnapshotAttributeRequest modifyDBClusterSnapshotAttributeRequest);
/**
*
* Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.
*
*
* To share a manual cluster snapshot with other Amazon Web Services accounts, specify restore
as the
* AttributeName
, and use the ValuesToAdd
parameter to add a list of IDs of the Amazon Web
* Services accounts that are authorized to restore the manual cluster snapshot. Use the value all
to
* make the manual cluster snapshot public, which means that it can be copied or restored by all Amazon Web Services
* accounts. Do not add the all
value for any manual cluster snapshots that contain private information
* that you don't want available to all Amazon Web Services accounts. If a manual cluster snapshot is encrypted, it
* can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the
* ValuesToAdd
parameter. You can't use all
as a value for that parameter in this case.
*
*
* @param modifyDBClusterSnapshotAttributeRequest
* Represents the input to ModifyDBClusterSnapshotAttribute.
* @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 ModifyDBClusterSnapshotAttribute operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.ModifyDBClusterSnapshotAttribute
* @see AWS API Documentation
*/
java.util.concurrent.Future modifyDBClusterSnapshotAttributeAsync(
ModifyDBClusterSnapshotAttributeRequest modifyDBClusterSnapshotAttributeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies settings for an instance. You can change one or more database configuration parameters by specifying
* these parameters and the new values in the request.
*
*
* @param modifyDBInstanceRequest
* Represents the input to ModifyDBInstance.
* @return A Java Future containing the result of the ModifyDBInstance operation returned by the service.
* @sample AmazonDocDBAsync.ModifyDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyDBInstanceAsync(ModifyDBInstanceRequest modifyDBInstanceRequest);
/**
*
* Modifies settings for an instance. You can change one or more database configuration parameters by specifying
* these parameters and the new values in the request.
*
*
* @param modifyDBInstanceRequest
* Represents the input to ModifyDBInstance.
* @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 ModifyDBInstance operation returned by the service.
* @sample AmazonDocDBAsyncHandler.ModifyDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyDBInstanceAsync(ModifyDBInstanceRequest modifyDBInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability
* Zones in the Amazon Web Services Region.
*
*
* @param modifyDBSubnetGroupRequest
* Represents the input to ModifyDBSubnetGroup.
* @return A Java Future containing the result of the ModifyDBSubnetGroup operation returned by the service.
* @sample AmazonDocDBAsync.ModifyDBSubnetGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyDBSubnetGroupAsync(ModifyDBSubnetGroupRequest modifyDBSubnetGroupRequest);
/**
*
* Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability
* Zones in the Amazon Web Services Region.
*
*
* @param modifyDBSubnetGroupRequest
* Represents the input to ModifyDBSubnetGroup.
* @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 ModifyDBSubnetGroup operation returned by the service.
* @sample AmazonDocDBAsyncHandler.ModifyDBSubnetGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyDBSubnetGroupAsync(ModifyDBSubnetGroupRequest modifyDBSubnetGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies an existing Amazon DocumentDB event notification subscription.
*
*
* @param modifyEventSubscriptionRequest
* Represents the input to ModifyEventSubscription.
* @return A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
* @sample AmazonDocDBAsync.ModifyEventSubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future modifyEventSubscriptionAsync(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest);
/**
*
* Modifies an existing Amazon DocumentDB event notification subscription.
*
*
* @param modifyEventSubscriptionRequest
* Represents the input to ModifyEventSubscription.
* @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 ModifyEventSubscription operation returned by the service.
* @sample AmazonDocDBAsyncHandler.ModifyEventSubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future modifyEventSubscriptionAsync(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters
* (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new
* values in the request.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param modifyGlobalClusterRequest
* Represents the input to ModifyGlobalCluster.
* @return A Java Future containing the result of the ModifyGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsync.ModifyGlobalCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyGlobalClusterAsync(ModifyGlobalClusterRequest modifyGlobalClusterRequest);
/**
*
* Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters
* (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new
* values in the request.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param modifyGlobalClusterRequest
* Represents the input to ModifyGlobalCluster.
* @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 ModifyGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.ModifyGlobalCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future modifyGlobalClusterAsync(ModifyGlobalClusterRequest modifyGlobalClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain
* changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the
* instance for the changes to take effect.
*
*
* Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage,
* during which the instance status is set to rebooting.
*
*
* @param rebootDBInstanceRequest
* Represents the input to RebootDBInstance.
* @return A Java Future containing the result of the RebootDBInstance operation returned by the service.
* @sample AmazonDocDBAsync.RebootDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future rebootDBInstanceAsync(RebootDBInstanceRequest rebootDBInstanceRequest);
/**
*
* You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain
* changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the
* instance for the changes to take effect.
*
*
* Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage,
* during which the instance status is set to rebooting.
*
*
* @param rebootDBInstanceRequest
* Represents the input to RebootDBInstance.
* @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 RebootDBInstance operation returned by the service.
* @sample AmazonDocDBAsyncHandler.RebootDBInstance
* @see AWS API
* Documentation
*/
java.util.concurrent.Future rebootDBInstanceAsync(RebootDBInstanceRequest rebootDBInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster
* with read-write capability instead of being read-only and receiving data from a primary in a different region.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param removeFromGlobalClusterRequest
* Represents the input to RemoveFromGlobalCluster.
* @return A Java Future containing the result of the RemoveFromGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsync.RemoveFromGlobalCluster
* @see AWS
* API Documentation
*/
java.util.concurrent.Future removeFromGlobalClusterAsync(RemoveFromGlobalClusterRequest removeFromGlobalClusterRequest);
/**
*
* Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster
* with read-write capability instead of being read-only and receiving data from a primary in a different region.
*
*
*
* This action only applies to Amazon DocumentDB clusters.
*
*
*
* @param removeFromGlobalClusterRequest
* Represents the input to RemoveFromGlobalCluster.
* @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 RemoveFromGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.RemoveFromGlobalCluster
* @see AWS
* API Documentation
*/
java.util.concurrent.Future removeFromGlobalClusterAsync(RemoveFromGlobalClusterRequest removeFromGlobalClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
*
*
* @param removeSourceIdentifierFromSubscriptionRequest
* Represents the input to RemoveSourceIdentifierFromSubscription.
* @return A Java Future containing the result of the RemoveSourceIdentifierFromSubscription operation returned by
* the service.
* @sample AmazonDocDBAsync.RemoveSourceIdentifierFromSubscription
* @see AWS API Documentation
*/
java.util.concurrent.Future removeSourceIdentifierFromSubscriptionAsync(
RemoveSourceIdentifierFromSubscriptionRequest removeSourceIdentifierFromSubscriptionRequest);
/**
*
* Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
*
*
* @param removeSourceIdentifierFromSubscriptionRequest
* Represents the input to RemoveSourceIdentifierFromSubscription.
* @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 RemoveSourceIdentifierFromSubscription operation returned by
* the service.
* @sample AmazonDocDBAsyncHandler.RemoveSourceIdentifierFromSubscription
* @see AWS API Documentation
*/
java.util.concurrent.Future removeSourceIdentifierFromSubscriptionAsync(
RemoveSourceIdentifierFromSubscriptionRequest removeSourceIdentifierFromSubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes metadata tags from an Amazon DocumentDB resource.
*
*
* @param removeTagsFromResourceRequest
* Represents the input to RemoveTagsFromResource.
* @return A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
* @sample AmazonDocDBAsync.RemoveTagsFromResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future removeTagsFromResourceAsync(RemoveTagsFromResourceRequest removeTagsFromResourceRequest);
/**
*
* Removes metadata tags from an Amazon DocumentDB resource.
*
*
* @param removeTagsFromResourceRequest
* Represents the input to RemoveTagsFromResource.
* @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 RemoveTagsFromResource operation returned by the service.
* @sample AmazonDocDBAsyncHandler.RemoveTagsFromResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future removeTagsFromResourceAsync(RemoveTagsFromResourceRequest removeTagsFromResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a
* list of the following: ParameterName
and ApplyMethod
. To reset the entire cluster
* parameter group, specify the DBClusterParameterGroupName
and ResetAllParameters
* parameters.
*
*
* When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to
* pending-reboot
to take effect on the next DB instance reboot.
*
*
* @param resetDBClusterParameterGroupRequest
* Represents the input to ResetDBClusterParameterGroup.
* @return A Java Future containing the result of the ResetDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsync.ResetDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future resetDBClusterParameterGroupAsync(
ResetDBClusterParameterGroupRequest resetDBClusterParameterGroupRequest);
/**
*
* Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a
* list of the following: ParameterName
and ApplyMethod
. To reset the entire cluster
* parameter group, specify the DBClusterParameterGroupName
and ResetAllParameters
* parameters.
*
*
* When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to
* pending-reboot
to take effect on the next DB instance reboot.
*
*
* @param resetDBClusterParameterGroupRequest
* Represents the input to ResetDBClusterParameterGroup.
* @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 ResetDBClusterParameterGroup operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.ResetDBClusterParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future resetDBClusterParameterGroupAsync(
ResetDBClusterParameterGroupRequest resetDBClusterParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new cluster from a snapshot or cluster snapshot.
*
*
* If a snapshot is specified, the target cluster is created from the source DB snapshot with a default
* configuration and default security group.
*
*
* If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the
* same configuration as the original source DB cluster, except that the new cluster is created with the default
* security group.
*
*
* @param restoreDBClusterFromSnapshotRequest
* Represents the input to RestoreDBClusterFromSnapshot.
* @return A Java Future containing the result of the RestoreDBClusterFromSnapshot operation returned by the
* service.
* @sample AmazonDocDBAsync.RestoreDBClusterFromSnapshot
* @see AWS API Documentation
*/
java.util.concurrent.Future restoreDBClusterFromSnapshotAsync(RestoreDBClusterFromSnapshotRequest restoreDBClusterFromSnapshotRequest);
/**
*
* Creates a new cluster from a snapshot or cluster snapshot.
*
*
* If a snapshot is specified, the target cluster is created from the source DB snapshot with a default
* configuration and default security group.
*
*
* If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the
* same configuration as the original source DB cluster, except that the new cluster is created with the default
* security group.
*
*
* @param restoreDBClusterFromSnapshotRequest
* Represents the input to RestoreDBClusterFromSnapshot.
* @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 RestoreDBClusterFromSnapshot operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.RestoreDBClusterFromSnapshot
* @see AWS API Documentation
*/
java.util.concurrent.Future restoreDBClusterFromSnapshotAsync(RestoreDBClusterFromSnapshotRequest restoreDBClusterFromSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Restores a cluster to an arbitrary point in time. Users can restore to any point in time before
* LatestRestorableTime
for up to BackupRetentionPeriod
days. The target cluster is
* created from the source cluster with the same configuration as the original cluster, except that the new cluster
* is created with the default security group.
*
*
* @param restoreDBClusterToPointInTimeRequest
* Represents the input to RestoreDBClusterToPointInTime.
* @return A Java Future containing the result of the RestoreDBClusterToPointInTime operation returned by the
* service.
* @sample AmazonDocDBAsync.RestoreDBClusterToPointInTime
* @see AWS API Documentation
*/
java.util.concurrent.Future restoreDBClusterToPointInTimeAsync(RestoreDBClusterToPointInTimeRequest restoreDBClusterToPointInTimeRequest);
/**
*
* Restores a cluster to an arbitrary point in time. Users can restore to any point in time before
* LatestRestorableTime
for up to BackupRetentionPeriod
days. The target cluster is
* created from the source cluster with the same configuration as the original cluster, except that the new cluster
* is created with the default security group.
*
*
* @param restoreDBClusterToPointInTimeRequest
* Represents the input to RestoreDBClusterToPointInTime.
* @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 RestoreDBClusterToPointInTime operation returned by the
* service.
* @sample AmazonDocDBAsyncHandler.RestoreDBClusterToPointInTime
* @see AWS API Documentation
*/
java.util.concurrent.Future restoreDBClusterToPointInTimeAsync(RestoreDBClusterToPointInTimeRequest restoreDBClusterToPointInTimeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Restarts the stopped cluster that is specified by DBClusterIdentifier
. For more information, see Stopping and
* Starting an Amazon DocumentDB Cluster.
*
*
* @param startDBClusterRequest
* @return A Java Future containing the result of the StartDBCluster operation returned by the service.
* @sample AmazonDocDBAsync.StartDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startDBClusterAsync(StartDBClusterRequest startDBClusterRequest);
/**
*
* Restarts the stopped cluster that is specified by DBClusterIdentifier
. For more information, see Stopping and
* Starting an Amazon DocumentDB Cluster.
*
*
* @param startDBClusterRequest
* @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 StartDBCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.StartDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future startDBClusterAsync(StartDBClusterRequest startDBClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Stops the running cluster that is specified by DBClusterIdentifier
. The cluster must be in the
* available state. For more information, see Stopping and
* Starting an Amazon DocumentDB Cluster.
*
*
* @param stopDBClusterRequest
* @return A Java Future containing the result of the StopDBCluster operation returned by the service.
* @sample AmazonDocDBAsync.StopDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopDBClusterAsync(StopDBClusterRequest stopDBClusterRequest);
/**
*
* Stops the running cluster that is specified by DBClusterIdentifier
. The cluster must be in the
* available state. For more information, see Stopping and
* Starting an Amazon DocumentDB Cluster.
*
*
* @param stopDBClusterRequest
* @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 StopDBCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.StopDBCluster
* @see AWS API
* Documentation
*/
java.util.concurrent.Future stopDBClusterAsync(StopDBClusterRequest stopDBClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Switches over the specified secondary Amazon DocumentDB cluster to be the new primary Amazon DocumentDB cluster
* in the global database cluster.
*
*
* @param switchoverGlobalClusterRequest
* @return A Java Future containing the result of the SwitchoverGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsync.SwitchoverGlobalCluster
* @see AWS
* API Documentation
*/
java.util.concurrent.Future switchoverGlobalClusterAsync(SwitchoverGlobalClusterRequest switchoverGlobalClusterRequest);
/**
*
* Switches over the specified secondary Amazon DocumentDB cluster to be the new primary Amazon DocumentDB cluster
* in the global database cluster.
*
*
* @param switchoverGlobalClusterRequest
* @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 SwitchoverGlobalCluster operation returned by the service.
* @sample AmazonDocDBAsyncHandler.SwitchoverGlobalCluster
* @see AWS
* API Documentation
*/
java.util.concurrent.Future switchoverGlobalClusterAsync(SwitchoverGlobalClusterRequest switchoverGlobalClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}