@aws-sdk/client-dlm 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/DLM.js +12 -112
- package/dist-es/DLM.js +12 -112
- package/dist-types/DLM.d.ts +21 -34
- package/dist-types/ts3.4/DLM.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/DLM.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DLM = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateLifecyclePolicyCommand_1 = require("./commands/CreateLifecyclePolicyCommand");
|
|
5
6
|
const DeleteLifecyclePolicyCommand_1 = require("./commands/DeleteLifecyclePolicyCommand");
|
|
6
7
|
const GetLifecyclePoliciesCommand_1 = require("./commands/GetLifecyclePoliciesCommand");
|
|
@@ -10,118 +11,17 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
10
11
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
11
12
|
const UpdateLifecyclePolicyCommand_1 = require("./commands/UpdateLifecyclePolicyCommand");
|
|
12
13
|
const DLMClient_1 = require("./DLMClient");
|
|
14
|
+
const commands = {
|
|
15
|
+
CreateLifecyclePolicyCommand: CreateLifecyclePolicyCommand_1.CreateLifecyclePolicyCommand,
|
|
16
|
+
DeleteLifecyclePolicyCommand: DeleteLifecyclePolicyCommand_1.DeleteLifecyclePolicyCommand,
|
|
17
|
+
GetLifecyclePoliciesCommand: GetLifecyclePoliciesCommand_1.GetLifecyclePoliciesCommand,
|
|
18
|
+
GetLifecyclePolicyCommand: GetLifecyclePolicyCommand_1.GetLifecyclePolicyCommand,
|
|
19
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
20
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
21
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
22
|
+
UpdateLifecyclePolicyCommand: UpdateLifecyclePolicyCommand_1.UpdateLifecyclePolicyCommand,
|
|
23
|
+
};
|
|
13
24
|
class DLM extends DLMClient_1.DLMClient {
|
|
14
|
-
createLifecyclePolicy(args, optionsOrCb, cb) {
|
|
15
|
-
const command = new CreateLifecyclePolicyCommand_1.CreateLifecyclePolicyCommand(args);
|
|
16
|
-
if (typeof optionsOrCb === "function") {
|
|
17
|
-
this.send(command, optionsOrCb);
|
|
18
|
-
}
|
|
19
|
-
else if (typeof cb === "function") {
|
|
20
|
-
if (typeof optionsOrCb !== "object")
|
|
21
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
22
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
deleteLifecyclePolicy(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new DeleteLifecyclePolicyCommand_1.DeleteLifecyclePolicyCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
getLifecyclePolicies(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new GetLifecyclePoliciesCommand_1.GetLifecyclePoliciesCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
getLifecyclePolicy(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new GetLifecyclePolicyCommand_1.GetLifecyclePolicyCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
tagResource(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
untagResource(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
updateLifecyclePolicy(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new UpdateLifecyclePolicyCommand_1.UpdateLifecyclePolicyCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
25
|
}
|
|
127
26
|
exports.DLM = DLM;
|
|
27
|
+
(0, smithy_client_1.createAggregatedClient)(commands, DLM);
|
package/dist-es/DLM.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateLifecyclePolicyCommand, } from "./commands/CreateLifecyclePolicyCommand";
|
|
2
3
|
import { DeleteLifecyclePolicyCommand, } from "./commands/DeleteLifecyclePolicyCommand";
|
|
3
4
|
import { GetLifecyclePoliciesCommand, } from "./commands/GetLifecyclePoliciesCommand";
|
|
@@ -7,117 +8,16 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
7
8
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
8
9
|
import { UpdateLifecyclePolicyCommand, } from "./commands/UpdateLifecyclePolicyCommand";
|
|
9
10
|
import { DLMClient } from "./DLMClient";
|
|
11
|
+
const commands = {
|
|
12
|
+
CreateLifecyclePolicyCommand,
|
|
13
|
+
DeleteLifecyclePolicyCommand,
|
|
14
|
+
GetLifecyclePoliciesCommand,
|
|
15
|
+
GetLifecyclePolicyCommand,
|
|
16
|
+
ListTagsForResourceCommand,
|
|
17
|
+
TagResourceCommand,
|
|
18
|
+
UntagResourceCommand,
|
|
19
|
+
UpdateLifecyclePolicyCommand,
|
|
20
|
+
};
|
|
10
21
|
export class DLM extends DLMClient {
|
|
11
|
-
createLifecyclePolicy(args, optionsOrCb, cb) {
|
|
12
|
-
const command = new CreateLifecyclePolicyCommand(args);
|
|
13
|
-
if (typeof optionsOrCb === "function") {
|
|
14
|
-
this.send(command, optionsOrCb);
|
|
15
|
-
}
|
|
16
|
-
else if (typeof cb === "function") {
|
|
17
|
-
if (typeof optionsOrCb !== "object")
|
|
18
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
19
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
return this.send(command, optionsOrCb);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
deleteLifecyclePolicy(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new DeleteLifecyclePolicyCommand(args);
|
|
27
|
-
if (typeof optionsOrCb === "function") {
|
|
28
|
-
this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
else if (typeof cb === "function") {
|
|
31
|
-
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
getLifecyclePolicies(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new GetLifecyclePoliciesCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
getLifecyclePolicy(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new GetLifecyclePolicyCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new ListTagsForResourceCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
tagResource(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new TagResourceCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
untagResource(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new UntagResourceCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
updateLifecyclePolicy(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new UpdateLifecyclePolicyCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
22
|
}
|
|
23
|
+
createAggregatedClient(commands, DLM);
|
package/dist-types/DLM.d.ts
CHANGED
|
@@ -8,78 +8,65 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
8
8
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
9
9
|
import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
|
|
10
10
|
import { DLMClient } from "./DLMClient";
|
|
11
|
-
|
|
12
|
-
* @public
|
|
13
|
-
* <fullname>Amazon Data Lifecycle Manager</fullname>
|
|
14
|
-
* <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create
|
|
15
|
-
* lifecycle policies, which are used to automate operations on the specified
|
|
16
|
-
* resources.</p>
|
|
17
|
-
* <p>Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager
|
|
18
|
-
* with Amazon EBS, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html">
|
|
19
|
-
* Amazon Data Lifecycle Manager</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
20
|
-
*/
|
|
21
|
-
export declare class DLM extends DLMClient {
|
|
11
|
+
export interface DLM {
|
|
22
12
|
/**
|
|
23
|
-
* @
|
|
24
|
-
* <p>Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can
|
|
25
|
-
* create up to 100 lifecycle policies.</p>
|
|
13
|
+
* @see {@link CreateLifecyclePolicyCommand}
|
|
26
14
|
*/
|
|
27
15
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLifecyclePolicyCommandOutput>;
|
|
28
16
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
29
17
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
30
18
|
/**
|
|
31
|
-
* @
|
|
32
|
-
* <p>Deletes the specified lifecycle policy and halts the automated operations that the
|
|
33
|
-
* policy specified.</p>
|
|
34
|
-
* <p>For more information about deleting a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#delete">Delete lifecycle
|
|
35
|
-
* policies</a>.</p>
|
|
19
|
+
* @see {@link DeleteLifecyclePolicyCommand}
|
|
36
20
|
*/
|
|
37
21
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
38
22
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
39
23
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
40
24
|
/**
|
|
41
|
-
* @
|
|
42
|
-
* <p>Gets summary information about all or the specified data lifecycle policies.</p>
|
|
43
|
-
* <p>To get complete information about a policy, use <a>GetLifecyclePolicy</a>.</p>
|
|
25
|
+
* @see {@link GetLifecyclePoliciesCommand}
|
|
44
26
|
*/
|
|
45
27
|
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePoliciesCommandOutput>;
|
|
46
28
|
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void): void;
|
|
47
29
|
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void): void;
|
|
48
30
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Gets detailed information about the specified lifecycle policy.</p>
|
|
31
|
+
* @see {@link GetLifecyclePolicyCommand}
|
|
51
32
|
*/
|
|
52
33
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
53
34
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
54
35
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
55
36
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Lists the tags for the specified resource.</p>
|
|
37
|
+
* @see {@link ListTagsForResourceCommand}
|
|
58
38
|
*/
|
|
59
39
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
60
40
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
61
41
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
62
42
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Adds the specified tags to the specified resource.</p>
|
|
43
|
+
* @see {@link TagResourceCommand}
|
|
65
44
|
*/
|
|
66
45
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
67
46
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
68
47
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
69
48
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Removes the specified tags from the specified resource.</p>
|
|
49
|
+
* @see {@link UntagResourceCommand}
|
|
72
50
|
*/
|
|
73
51
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
74
52
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
75
53
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
76
54
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* <p>Updates the specified lifecycle policy.</p>
|
|
79
|
-
* <p>For more information about updating a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#modify">Modify lifecycle
|
|
80
|
-
* policies</a>.</p>
|
|
55
|
+
* @see {@link UpdateLifecyclePolicyCommand}
|
|
81
56
|
*/
|
|
82
57
|
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLifecyclePolicyCommandOutput>;
|
|
83
58
|
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
|
|
84
59
|
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
|
|
85
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* <fullname>Amazon Data Lifecycle Manager</fullname>
|
|
64
|
+
* <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create
|
|
65
|
+
* lifecycle policies, which are used to automate operations on the specified
|
|
66
|
+
* resources.</p>
|
|
67
|
+
* <p>Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager
|
|
68
|
+
* with Amazon EBS, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html">
|
|
69
|
+
* Amazon Data Lifecycle Manager</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
70
|
+
*/
|
|
71
|
+
export declare class DLM extends DLMClient implements DLM {
|
|
72
|
+
}
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
UpdateLifecyclePolicyCommandOutput,
|
|
33
33
|
} from "./commands/UpdateLifecyclePolicyCommand";
|
|
34
34
|
import { DLMClient } from "./DLMClient";
|
|
35
|
-
export
|
|
35
|
+
export interface DLM {
|
|
36
36
|
createLifecyclePolicy(
|
|
37
37
|
args: CreateLifecyclePolicyCommandInput,
|
|
38
38
|
options?: __HttpHandlerOptions
|
|
@@ -138,3 +138,4 @@ export declare class DLM extends DLMClient {
|
|
|
138
138
|
cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void
|
|
139
139
|
): void;
|
|
140
140
|
}
|
|
141
|
+
export declare class DLM extends DLMClient implements DLM {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dlm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|