@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonDLM extends Object implements AmazonDLM
AmazonDLM. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
CreateLifecyclePolicyResult |
createLifecyclePolicy(CreateLifecyclePolicyRequest request)
Creates an Amazon Data Lifecycle Manager lifecycle policy.
|
DeleteLifecyclePolicyResult |
deleteLifecyclePolicy(DeleteLifecyclePolicyRequest request)
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetLifecyclePoliciesResult |
getLifecyclePolicies(GetLifecyclePoliciesRequest request)
Gets summary information about all or the specified data lifecycle policies.
|
GetLifecyclePolicyResult |
getLifecyclePolicy(GetLifecyclePolicyRequest request)
Gets detailed information about the specified lifecycle policy.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
|
UpdateLifecyclePolicyResult |
updateLifecyclePolicy(UpdateLifecyclePolicyRequest request)
Updates the specified lifecycle policy.
|
public CreateLifecyclePolicyResult createLifecyclePolicy(CreateLifecyclePolicyRequest request)
AmazonDLMCreates 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.
createLifecyclePolicy in interface AmazonDLMpublic DeleteLifecyclePolicyResult deleteLifecyclePolicy(DeleteLifecyclePolicyRequest request)
AmazonDLMDeletes the specified lifecycle policy and halts the automated operations that the policy specified.
For more information about deleting a policy, see Delete lifecycle policies.
deleteLifecyclePolicy in interface AmazonDLMpublic GetLifecyclePoliciesResult getLifecyclePolicies(GetLifecyclePoliciesRequest request)
AmazonDLMGets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
getLifecyclePolicies in interface AmazonDLMpublic GetLifecyclePolicyResult getLifecyclePolicy(GetLifecyclePolicyRequest request)
AmazonDLMGets detailed information about the specified lifecycle policy.
getLifecyclePolicy in interface AmazonDLMpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonDLMLists the tags for the specified resource.
listTagsForResource in interface AmazonDLMpublic TagResourceResult tagResource(TagResourceRequest request)
AmazonDLMAdds the specified tags to the specified resource.
tagResource in interface AmazonDLMpublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonDLMRemoves the specified tags from the specified resource.
untagResource in interface AmazonDLMpublic UpdateLifecyclePolicyResult updateLifecyclePolicy(UpdateLifecyclePolicyRequest request)
AmazonDLMUpdates the specified lifecycle policy.
For more information about updating a policy, see Modify lifecycle policies.
updateLifecyclePolicy in interface AmazonDLMpublic void shutdown()
AmazonDLMpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonDLMResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonDLMrequest - The originally executed request.