
com.amazonaws.services.timestreaminfluxdb.AWSTimestreamInfluxDBAsync Maven / Gradle / Ivy
/*
* 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.timestreaminfluxdb;
import javax.annotation.Generated;
import com.amazonaws.services.timestreaminfluxdb.model.*;
/**
* Interface for accessing Timestream InfluxDB 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.timestreaminfluxdb.AbstractAWSTimestreamInfluxDBAsync} instead.
*
*
*
* Amazon Timestream for InfluxDB is a managed time-series database engine that makes it easy for application developers
* and DevOps teams to run InfluxDB databases on AWS for near real-time time-series applications using open-source APIs.
* With Amazon Timestream for InfluxDB, it is easy to set up, operate, and scale time-series workloads that can answer
* queries with single-digit millisecond query response time.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSTimestreamInfluxDBAsync extends AWSTimestreamInfluxDB {
/**
*
* Creates a new Timestream for InfluxDB DB instance.
*
*
* @param createDbInstanceRequest
* @return A Java Future containing the result of the CreateDbInstance operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.CreateDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future createDbInstanceAsync(CreateDbInstanceRequest createDbInstanceRequest);
/**
*
* Creates a new Timestream for InfluxDB DB instance.
*
*
* @param createDbInstanceRequest
* @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 AWSTimestreamInfluxDBAsyncHandler.CreateDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future createDbInstanceAsync(CreateDbInstanceRequest createDbInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new Timestream for InfluxDB DB parameter group to associate with DB instances.
*
*
* @param createDbParameterGroupRequest
* @return A Java Future containing the result of the CreateDbParameterGroup operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.CreateDbParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future createDbParameterGroupAsync(CreateDbParameterGroupRequest createDbParameterGroupRequest);
/**
*
* Creates a new Timestream for InfluxDB DB parameter group to associate with DB instances.
*
*
* @param createDbParameterGroupRequest
* @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 CreateDbParameterGroup operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.CreateDbParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future createDbParameterGroupAsync(CreateDbParameterGroupRequest createDbParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a Timestream for InfluxDB DB instance.
*
*
* @param deleteDbInstanceRequest
* @return A Java Future containing the result of the DeleteDbInstance operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.DeleteDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDbInstanceAsync(DeleteDbInstanceRequest deleteDbInstanceRequest);
/**
*
* Deletes a Timestream for InfluxDB DB instance.
*
*
* @param deleteDbInstanceRequest
* @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 AWSTimestreamInfluxDBAsyncHandler.DeleteDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDbInstanceAsync(DeleteDbInstanceRequest deleteDbInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a Timestream for InfluxDB DB instance.
*
*
* @param getDbInstanceRequest
* @return A Java Future containing the result of the GetDbInstance operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.GetDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future getDbInstanceAsync(GetDbInstanceRequest getDbInstanceRequest);
/**
*
* Returns a Timestream for InfluxDB DB instance.
*
*
* @param getDbInstanceRequest
* @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 GetDbInstance operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.GetDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future getDbInstanceAsync(GetDbInstanceRequest getDbInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a Timestream for InfluxDB DB parameter group.
*
*
* @param getDbParameterGroupRequest
* @return A Java Future containing the result of the GetDbParameterGroup operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.GetDbParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future getDbParameterGroupAsync(GetDbParameterGroupRequest getDbParameterGroupRequest);
/**
*
* Returns a Timestream for InfluxDB DB parameter group.
*
*
* @param getDbParameterGroupRequest
* @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 GetDbParameterGroup operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.GetDbParameterGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future getDbParameterGroupAsync(GetDbParameterGroupRequest getDbParameterGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of Timestream for InfluxDB DB instances.
*
*
* @param listDbInstancesRequest
* @return A Java Future containing the result of the ListDbInstances operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.ListDbInstances
* @see AWS API Documentation
*/
java.util.concurrent.Future listDbInstancesAsync(ListDbInstancesRequest listDbInstancesRequest);
/**
*
* Returns a list of Timestream for InfluxDB DB instances.
*
*
* @param listDbInstancesRequest
* @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 ListDbInstances operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.ListDbInstances
* @see AWS API Documentation
*/
java.util.concurrent.Future listDbInstancesAsync(ListDbInstancesRequest listDbInstancesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of Timestream for InfluxDB DB parameter groups.
*
*
* @param listDbParameterGroupsRequest
* @return A Java Future containing the result of the ListDbParameterGroups operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.ListDbParameterGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future listDbParameterGroupsAsync(ListDbParameterGroupsRequest listDbParameterGroupsRequest);
/**
*
* Returns a list of Timestream for InfluxDB DB parameter groups.
*
*
* @param listDbParameterGroupsRequest
* @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 ListDbParameterGroups operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.ListDbParameterGroups
* @see AWS API Documentation
*/
java.util.concurrent.Future listDbParameterGroupsAsync(ListDbParameterGroupsRequest listDbParameterGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* A list of tags applied to the resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* A list of tags applied to the resource.
*
*
* @param listTagsForResourceRequest
* @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 AWSTimestreamInfluxDBAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Tags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB
* resources.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.TagResource
* @see AWS API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Tags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB
* resources.
*
*
* @param tagResourceRequest
* @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 TagResource operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.TagResource
* @see AWS API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the tag from the specified resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.UntagResource
* @see AWS API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes the tag from the specified resource.
*
*
* @param untagResourceRequest
* @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 UntagResource operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.UntagResource
* @see AWS API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a Timestream for InfluxDB DB instance.
*
*
* @param updateDbInstanceRequest
* @return A Java Future containing the result of the UpdateDbInstance operation returned by the service.
* @sample AWSTimestreamInfluxDBAsync.UpdateDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDbInstanceAsync(UpdateDbInstanceRequest updateDbInstanceRequest);
/**
*
* Updates a Timestream for InfluxDB DB instance.
*
*
* @param updateDbInstanceRequest
* @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 UpdateDbInstance operation returned by the service.
* @sample AWSTimestreamInfluxDBAsyncHandler.UpdateDbInstance
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDbInstanceAsync(UpdateDbInstanceRequest updateDbInstanceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}