@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_METRIC
ENDPOINT_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.
|
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, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
public 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 AmazonDLM
createLifecyclePolicyRequest
- 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 AmazonDLM
deleteLifecyclePolicyRequest
- 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 AmazonDLM
getLifecyclePoliciesRequest
- 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 AmazonDLM
getLifecyclePolicyRequest
- 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 UpdateLifecyclePolicyResult updateLifecyclePolicy(UpdateLifecyclePolicyRequest request)
Updates the specified lifecycle policy.
updateLifecyclePolicy
in interface AmazonDLM
updateLifecyclePolicyRequest
- 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 AmazonDLM
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.