All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.dlm.AmazonDLMAsync Maven / Gradle / Ivy

/*
 * Copyright 2015-2020 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.dlm;

import javax.annotation.Generated;

import com.amazonaws.services.dlm.model.*;

/**
 * Interface for accessing Amazon DLM 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.dlm.AbstractAmazonDLMAsync} instead. *

*

* Amazon Data Lifecycle Manager *

* With Amazon Data Lifecycle Manager, you can manage the lifecycle of your AWS resources. You create lifecycle * policies, which are used to automate operations on the specified resources. *

*

* Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM with Amazon EBS, see Automating the Amazon EBS Snapshot * Lifecycle in the Amazon EC2 User Guide. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonDLMAsync extends AmazonDLM { /** *

* Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle * policies. *

* * @param createLifecyclePolicyRequest * @return A Java Future containing the result of the CreateLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsync.CreateLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future createLifecyclePolicyAsync(CreateLifecyclePolicyRequest createLifecyclePolicyRequest); /** *

* Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle * policies. *

* * @param createLifecyclePolicyRequest * @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 CreateLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsyncHandler.CreateLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future createLifecyclePolicyAsync(CreateLifecyclePolicyRequest createLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the specified lifecycle policy and halts the automated operations that the policy specified. *

* * @param deleteLifecyclePolicyRequest * @return A Java Future containing the result of the DeleteLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsync.DeleteLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest); /** *

* Deletes the specified lifecycle policy and halts the automated operations that the policy specified. *

* * @param deleteLifecyclePolicyRequest * @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 DeleteLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsyncHandler.DeleteLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets summary information about all or the specified data lifecycle policies. *

*

* To get complete information about a policy, use GetLifecyclePolicy. *

* * @param getLifecyclePoliciesRequest * @return A Java Future containing the result of the GetLifecyclePolicies operation returned by the service. * @sample AmazonDLMAsync.GetLifecyclePolicies * @see AWS API * Documentation */ java.util.concurrent.Future getLifecyclePoliciesAsync(GetLifecyclePoliciesRequest getLifecyclePoliciesRequest); /** *

* Gets summary information about all or the specified data lifecycle policies. *

*

* To get complete information about a policy, use GetLifecyclePolicy. *

* * @param getLifecyclePoliciesRequest * @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 GetLifecyclePolicies operation returned by the service. * @sample AmazonDLMAsyncHandler.GetLifecyclePolicies * @see AWS API * Documentation */ java.util.concurrent.Future getLifecyclePoliciesAsync(GetLifecyclePoliciesRequest getLifecyclePoliciesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets detailed information about the specified lifecycle policy. *

* * @param getLifecyclePolicyRequest * @return A Java Future containing the result of the GetLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsync.GetLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future getLifecyclePolicyAsync(GetLifecyclePolicyRequest getLifecyclePolicyRequest); /** *

* Gets detailed information about the specified lifecycle policy. *

* * @param getLifecyclePolicyRequest * @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 GetLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsyncHandler.GetLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future getLifecyclePolicyAsync(GetLifecyclePolicyRequest getLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags for the specified resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonDLMAsync.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags for the specified 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 AmazonDLMAsyncHandler.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds the specified tags to the specified resource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonDLMAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds the specified tags to the specified resource. *

* * @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 AmazonDLMAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the specified tags from the specified resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonDLMAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes the specified tags 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 AmazonDLMAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the specified lifecycle policy. *

* * @param updateLifecyclePolicyRequest * @return A Java Future containing the result of the UpdateLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsync.UpdateLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future updateLifecyclePolicyAsync(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest); /** *

* Updates the specified lifecycle policy. *

* * @param updateLifecyclePolicyRequest * @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 UpdateLifecyclePolicy operation returned by the service. * @sample AmazonDLMAsyncHandler.UpdateLifecyclePolicy * @see AWS API * Documentation */ java.util.concurrent.Future updateLifecyclePolicyAsync(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy