@aws-sdk/client-dlm 3.182.0 → 3.183.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/CHANGELOG.md +8 -0
- package/dist-es/DLM.js +34 -41
- package/dist-es/DLMClient.js +22 -28
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +21 -28
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +21 -28
- package/dist-es/commands/GetLifecyclePoliciesCommand.js +21 -28
- package/dist-es/commands/GetLifecyclePolicyCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DLMServiceException.js +5 -10
- package/dist-es/models/models_0.js +171 -96
- package/dist-es/protocols/Aws_restJson1.js +879 -1035
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UntagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DLMClient";
|
|
15
|
+
const commandName = "UntagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UntagResourceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateLifecyclePolicyRequestFilterSensitiveLog, UpdateLifecyclePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateLifecyclePolicyCommand, serializeAws_restJson1UpdateLifecyclePolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateLifecyclePolicyCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DLMClient";
|
|
15
|
+
const commandName = "UpdateLifecyclePolicyCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateLifecyclePolicyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateLifecyclePolicyResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateLifecyclePolicyCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateLifecyclePolicyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateLifecyclePolicyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateLifecyclePolicyCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const regionHash = {};
|
|
3
|
+
const partitionHash = {
|
|
5
4
|
aws: {
|
|
6
5
|
regions: [
|
|
7
6
|
"af-south-1",
|
|
@@ -121,8 +120,9 @@ var partitionHash = {
|
|
|
121
120
|
],
|
|
122
121
|
},
|
|
123
122
|
};
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
+
...options,
|
|
125
|
+
signingService: "dlm",
|
|
126
|
+
regionHash,
|
|
127
|
+
partitionHash,
|
|
128
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, DLMServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class DLMServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, DLMServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { DLMServiceException };
|
|
7
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
3
2
|
export var RetentionIntervalUnitValues;
|
|
4
3
|
(function (RetentionIntervalUnitValues) {
|
|
@@ -45,108 +44,184 @@ export var SettablePolicyStateValues;
|
|
|
45
44
|
SettablePolicyStateValues["DISABLED"] = "DISABLED";
|
|
46
45
|
SettablePolicyStateValues["ENABLED"] = "ENABLED";
|
|
47
46
|
})(SettablePolicyStateValues || (SettablePolicyStateValues = {}));
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
export class InternalServerException extends __BaseException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerException",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "InternalServerException";
|
|
55
|
+
this.$fault = "server";
|
|
56
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
57
|
+
this.Message = opts.Message;
|
|
58
|
+
this.Code = opts.Code;
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
60
|
+
}
|
|
61
|
+
export class InvalidRequestException extends __BaseException {
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InvalidRequestException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
this.name = "InvalidRequestException";
|
|
69
|
+
this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
this.Code = opts.Code;
|
|
73
|
+
this.RequiredParameters = opts.RequiredParameters;
|
|
74
|
+
this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
|
|
74
75
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
76
|
+
}
|
|
77
|
+
export class LimitExceededException extends __BaseException {
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "LimitExceededException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
this.name = "LimitExceededException";
|
|
85
|
+
this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
87
|
+
this.Message = opts.Message;
|
|
88
|
+
this.Code = opts.Code;
|
|
89
|
+
this.ResourceType = opts.ResourceType;
|
|
89
90
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
91
|
+
}
|
|
92
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ResourceNotFoundException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
this.name = "ResourceNotFoundException";
|
|
100
|
+
this.$fault = "client";
|
|
101
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
102
|
+
this.Message = opts.Message;
|
|
103
|
+
this.Code = opts.Code;
|
|
104
|
+
this.ResourceType = opts.ResourceType;
|
|
105
|
+
this.ResourceIds = opts.ResourceIds;
|
|
105
106
|
}
|
|
106
|
-
|
|
107
|
-
}(__BaseException));
|
|
108
|
-
export { ResourceNotFoundException };
|
|
107
|
+
}
|
|
109
108
|
export var GettablePolicyStateValues;
|
|
110
109
|
(function (GettablePolicyStateValues) {
|
|
111
110
|
GettablePolicyStateValues["DISABLED"] = "DISABLED";
|
|
112
111
|
GettablePolicyStateValues["ENABLED"] = "ENABLED";
|
|
113
112
|
GettablePolicyStateValues["ERROR"] = "ERROR";
|
|
114
113
|
})(GettablePolicyStateValues || (GettablePolicyStateValues = {}));
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
export
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
export
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
export
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
export
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
export
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
export
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
export
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
export
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
export
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
export
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
export
|
|
152
|
-
|
|
114
|
+
export const EncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
115
|
+
...obj,
|
|
116
|
+
});
|
|
117
|
+
export const CrossRegionCopyRetainRuleFilterSensitiveLog = (obj) => ({
|
|
118
|
+
...obj,
|
|
119
|
+
});
|
|
120
|
+
export const CrossRegionCopyActionFilterSensitiveLog = (obj) => ({
|
|
121
|
+
...obj,
|
|
122
|
+
});
|
|
123
|
+
export const ActionFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
126
|
+
export const RetentionArchiveTierFilterSensitiveLog = (obj) => ({
|
|
127
|
+
...obj,
|
|
128
|
+
});
|
|
129
|
+
export const ArchiveRetainRuleFilterSensitiveLog = (obj) => ({
|
|
130
|
+
...obj,
|
|
131
|
+
});
|
|
132
|
+
export const ArchiveRuleFilterSensitiveLog = (obj) => ({
|
|
133
|
+
...obj,
|
|
134
|
+
});
|
|
135
|
+
export const EventParametersFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
export const EventSourceFilterSensitiveLog = (obj) => ({
|
|
139
|
+
...obj,
|
|
140
|
+
});
|
|
141
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
142
|
+
...obj,
|
|
143
|
+
});
|
|
144
|
+
export const _ParametersFilterSensitiveLog = (obj) => ({
|
|
145
|
+
...obj,
|
|
146
|
+
});
|
|
147
|
+
export const CreateRuleFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
export const CrossRegionCopyDeprecateRuleFilterSensitiveLog = (obj) => ({
|
|
151
|
+
...obj,
|
|
152
|
+
});
|
|
153
|
+
export const CrossRegionCopyRuleFilterSensitiveLog = (obj) => ({
|
|
154
|
+
...obj,
|
|
155
|
+
});
|
|
156
|
+
export const DeprecateRuleFilterSensitiveLog = (obj) => ({
|
|
157
|
+
...obj,
|
|
158
|
+
});
|
|
159
|
+
export const FastRestoreRuleFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
});
|
|
162
|
+
export const RetainRuleFilterSensitiveLog = (obj) => ({
|
|
163
|
+
...obj,
|
|
164
|
+
});
|
|
165
|
+
export const ShareRuleFilterSensitiveLog = (obj) => ({
|
|
166
|
+
...obj,
|
|
167
|
+
});
|
|
168
|
+
export const ScheduleFilterSensitiveLog = (obj) => ({
|
|
169
|
+
...obj,
|
|
170
|
+
});
|
|
171
|
+
export const PolicyDetailsFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
});
|
|
174
|
+
export const CreateLifecyclePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
175
|
+
...obj,
|
|
176
|
+
});
|
|
177
|
+
export const CreateLifecyclePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
});
|
|
180
|
+
export const DeleteLifecyclePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
});
|
|
183
|
+
export const DeleteLifecyclePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
export const GetLifecyclePoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
});
|
|
189
|
+
export const LifecyclePolicySummaryFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
export const GetLifecyclePoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
});
|
|
195
|
+
export const GetLifecyclePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
export const LifecyclePolicyFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
201
|
+
export const GetLifecyclePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
});
|
|
204
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
});
|
|
207
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
});
|
|
216
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
});
|
|
219
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
export const UpdateLifecyclePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
});
|
|
225
|
+
export const UpdateLifecyclePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
});
|