@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonDLMAsync extends AbstractAmazonDLM implements AmazonDLMAsync
AmazonDLMAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
createLifecyclePolicy, deleteLifecyclePolicy, getCachedResponseMetadata, getLifecyclePolicies, getLifecyclePolicy, listTagsForResource, shutdown, tagResource, untagResource, updateLifecyclePolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createLifecyclePolicy, deleteLifecyclePolicy, getCachedResponseMetadata, getLifecyclePolicies, getLifecyclePolicy, listTagsForResource, shutdown, tagResource, untagResource, updateLifecyclePolicy
public Future<CreateLifecyclePolicyResult> createLifecyclePolicyAsync(CreateLifecyclePolicyRequest request)
AmazonDLMAsync
Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecycle Manager supports the following policy types:
Custom EBS snapshot policy
Custom EBS-backed AMI policy
Cross-account copy event policy
Default policy for EBS snapshots
Default policy for EBS-backed AMIs
For more information, see Default policies vs custom policies.
If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
createLifecyclePolicyAsync
in interface AmazonDLMAsync
public Future<CreateLifecyclePolicyResult> createLifecyclePolicyAsync(CreateLifecyclePolicyRequest request, AsyncHandler<CreateLifecyclePolicyRequest,CreateLifecyclePolicyResult> asyncHandler)
AmazonDLMAsync
Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecycle Manager supports the following policy types:
Custom EBS snapshot policy
Custom EBS-backed AMI policy
Cross-account copy event policy
Default policy for EBS snapshots
Default policy for EBS-backed AMIs
For more information, see Default policies vs custom policies.
If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
createLifecyclePolicyAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLifecyclePolicyResult> deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request)
AmazonDLMAsync
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
For more information about deleting a policy, see Delete lifecycle policies.
deleteLifecyclePolicyAsync
in interface AmazonDLMAsync
public Future<DeleteLifecyclePolicyResult> deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request, AsyncHandler<DeleteLifecyclePolicyRequest,DeleteLifecyclePolicyResult> asyncHandler)
AmazonDLMAsync
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
For more information about deleting a policy, see Delete lifecycle policies.
deleteLifecyclePolicyAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLifecyclePoliciesResult> getLifecyclePoliciesAsync(GetLifecyclePoliciesRequest request)
AmazonDLMAsync
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
getLifecyclePoliciesAsync
in interface AmazonDLMAsync
public Future<GetLifecyclePoliciesResult> getLifecyclePoliciesAsync(GetLifecyclePoliciesRequest request, AsyncHandler<GetLifecyclePoliciesRequest,GetLifecyclePoliciesResult> asyncHandler)
AmazonDLMAsync
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
getLifecyclePoliciesAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLifecyclePolicyResult> getLifecyclePolicyAsync(GetLifecyclePolicyRequest request)
AmazonDLMAsync
Gets detailed information about the specified lifecycle policy.
getLifecyclePolicyAsync
in interface AmazonDLMAsync
public Future<GetLifecyclePolicyResult> getLifecyclePolicyAsync(GetLifecyclePolicyRequest request, AsyncHandler<GetLifecyclePolicyRequest,GetLifecyclePolicyResult> asyncHandler)
AmazonDLMAsync
Gets detailed information about the specified lifecycle policy.
getLifecyclePolicyAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonDLMAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonDLMAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonDLMAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonDLMAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonDLMAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonDLMAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonDLMAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonDLMAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonDLMAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonDLMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLifecyclePolicyResult> updateLifecyclePolicyAsync(UpdateLifecyclePolicyRequest request)
AmazonDLMAsync
Updates the specified lifecycle policy.
For more information about updating a policy, see Modify lifecycle policies.
updateLifecyclePolicyAsync
in interface AmazonDLMAsync
public Future<UpdateLifecyclePolicyResult> updateLifecyclePolicyAsync(UpdateLifecyclePolicyRequest request, AsyncHandler<UpdateLifecyclePolicyRequest,UpdateLifecyclePolicyResult> asyncHandler)
AmazonDLMAsync
Updates the specified lifecycle policy.
For more information about updating a policy, see Modify lifecycle policies.
updateLifecyclePolicyAsync
in interface AmazonDLMAsync
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.