@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDLMClient extends AmazonWebServiceClient implements AmazonDLM
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonDLMClientBuilder |
builder() |
CreateLifecyclePolicyResult |
createLifecyclePolicy(CreateLifecyclePolicyRequest request)
Creates a policy to manage the lifecycle of the specified AWS resources.
|
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.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonDLMClientBuilder builder()
public CreateLifecyclePolicyResult createLifecyclePolicy(CreateLifecyclePolicyRequest request)
Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.
createLifecyclePolicy in interface AmazonDLMcreateLifecyclePolicyRequest - InvalidRequestException - Bad request. The request is missing required parameters or has invalid parameters.LimitExceededException - The request failed because a limit was exceeded.InternalServerException - The service failed in an unexpected way.public DeleteLifecyclePolicyResult deleteLifecyclePolicy(DeleteLifecyclePolicyRequest request)
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
deleteLifecyclePolicy in interface AmazonDLMdeleteLifecyclePolicyRequest - ResourceNotFoundException - A requested resource was not found.InternalServerException - The service failed in an unexpected way.LimitExceededException - The request failed because a limit was exceeded.public GetLifecyclePoliciesResult getLifecyclePolicies(GetLifecyclePoliciesRequest request)
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
getLifecyclePolicies in interface AmazonDLMgetLifecyclePoliciesRequest - ResourceNotFoundException - A requested resource was not found.InvalidRequestException - Bad request. The request is missing required parameters or has invalid parameters.InternalServerException - The service failed in an unexpected way.LimitExceededException - The request failed because a limit was exceeded.public GetLifecyclePolicyResult getLifecyclePolicy(GetLifecyclePolicyRequest request)
Gets detailed information about the specified lifecycle policy.
getLifecyclePolicy in interface AmazonDLMgetLifecyclePolicyRequest - ResourceNotFoundException - A requested resource was not found.InternalServerException - The service failed in an unexpected way.LimitExceededException - The request failed because a limit was exceeded.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource in interface AmazonDLMlistTagsForResourceRequest - InternalServerException - The service failed in an unexpected way.InvalidRequestException - Bad request. The request is missing required parameters or has invalid parameters.ResourceNotFoundException - A requested resource was not found.public TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
tagResource in interface AmazonDLMtagResourceRequest - InternalServerException - The service failed in an unexpected way.InvalidRequestException - Bad request. The request is missing required parameters or has invalid parameters.ResourceNotFoundException - A requested resource was not found.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
untagResource in interface AmazonDLMuntagResourceRequest - InternalServerException - The service failed in an unexpected way.InvalidRequestException - Bad request. The request is missing required parameters or has invalid parameters.ResourceNotFoundException - A requested resource was not found.public UpdateLifecyclePolicyResult updateLifecyclePolicy(UpdateLifecyclePolicyRequest request)
Updates the specified lifecycle policy.
updateLifecyclePolicy in interface AmazonDLMupdateLifecyclePolicyRequest - ResourceNotFoundException - A requested resource was not found.InvalidRequestException - Bad request. The request is missing required parameters or has invalid parameters.InternalServerException - The service failed in an unexpected way.LimitExceededException - The request failed because a limit was exceeded.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata in interface AmazonDLMrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonDLMshutdown in class AmazonWebServiceClient