Class: AWS.DLM
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.DLM
- Identifier:
- dlm
- API Version:
- 2018-01-12
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using DLM
var dlm = new AWS.DLM();
dlm.createLifecyclePolicy(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the DLM object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var dlm = new AWS.DLM({apiVersion: '2018-01-12'});
You can also set the API version globally in AWS.config.apiVersions
using
the dlm service identifier:
AWS.config.apiVersions = {
dlm: '2018-01-12',
// other service API versions
};
var dlm = new AWS.DLM();
Constructor Summary
-
new AWS.DLM(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
createLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Creates a policy to manage the lifecycle of the specified AWS resources.
-
deleteLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
-
getLifecyclePolicies(params = {}, callback) ⇒ AWS.Request
Gets summary information about all or the specified data lifecycle policies.
-
getLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Gets detailed information about the specified lifecycle policy.
-
updateLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Updates the specified lifecycle policy.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
createLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.
deleteLifecyclePolicy(params = {}, callback) ⇒ AWS.Request
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
getLifecyclePolicies(params = {}, callback) ⇒ AWS.Request
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.