@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)
AmazonDLM
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.
createLifecyclePolicy
in interface AmazonDLM
public DeleteLifecyclePolicyResult deleteLifecyclePolicy(DeleteLifecyclePolicyRequest request)
AmazonDLM
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.
deleteLifecyclePolicy
in interface AmazonDLM
public GetLifecyclePoliciesResult getLifecyclePolicies(GetLifecyclePoliciesRequest request)
AmazonDLM
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
getLifecyclePolicies
in interface AmazonDLM
public GetLifecyclePolicyResult getLifecyclePolicy(GetLifecyclePolicyRequest request)
AmazonDLM
Gets detailed information about the specified lifecycle policy.
getLifecyclePolicy
in interface AmazonDLM
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonDLM
Lists the tags for the specified resource.
listTagsForResource
in interface AmazonDLM
public TagResourceResult tagResource(TagResourceRequest request)
AmazonDLM
Adds the specified tags to the specified resource.
tagResource
in interface AmazonDLM
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonDLM
Removes the specified tags from the specified resource.
untagResource
in interface AmazonDLM
public UpdateLifecyclePolicyResult updateLifecyclePolicy(UpdateLifecyclePolicyRequest request)
AmazonDLM
Updates the specified lifecycle policy.
For more information about updating a policy, see Modify lifecycle policies.
updateLifecyclePolicy
in interface AmazonDLM
public void shutdown()
AmazonDLM
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonDLM
Response 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 AmazonDLM
request
- The originally executed request.