@aws-sdk/client-dlm 3.51.0 → 3.54.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/DLMServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +67 -1
- package/dist-cjs/protocols/Aws_restJson1.js +118 -290
- package/dist-es/index.js +1 -0
- package/dist-es/models/DLMServiceException.js +12 -0
- package/dist-es/models/models_0.js +63 -1
- package/dist-es/protocols/Aws_restJson1.js +201 -327
- package/dist-types/DLMClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DLMServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +30 -13
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/DLMClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/DLMServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-dlm
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-dlm
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-dlm
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DLMServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./DLM"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./DLMClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var DLMServiceException_1 = require("./models/DLMServiceException");
|
|
10
|
+
Object.defineProperty(exports, "DLMServiceException", { enumerable: true, get: function () { return DLMServiceException_1.DLMServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DLMServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class DLMServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, DLMServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DLMServiceException = DLMServiceException;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateLifecyclePolicyResponse = exports.UpdateLifecyclePolicyRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetLifecyclePolicyResponse = exports.LifecyclePolicy = exports.GetLifecyclePolicyRequest = exports.GetLifecyclePoliciesResponse = exports.LifecyclePolicySummary = exports.GetLifecyclePoliciesRequest = exports.GettablePolicyStateValues = exports.DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyRequest = exports.CreateLifecyclePolicyResponse = exports.CreateLifecyclePolicyRequest = exports.SettablePolicyStateValues = exports.PolicyDetails = exports.Schedule = exports.Tag = exports.ShareRule = exports.RetainRule = exports.FastRestoreRule = exports.DeprecateRule = exports.CrossRegionCopyRule = exports.CrossRegionCopyDeprecateRule = exports.CreateRule = exports.LocationValues = exports.IntervalUnitValues = exports.ResourceTypeValues = exports.ResourceLocationValues = exports.PolicyTypeValues = exports._Parameters = exports.EventSource = exports.EventSourceValues = exports.EventParameters = exports.EventTypeValues = exports.Action = exports.CrossRegionCopyAction = exports.CrossRegionCopyRetainRule = exports.RetentionIntervalUnitValues = exports.EncryptionConfiguration = void 0;
|
|
3
|
+
exports.UpdateLifecyclePolicyResponse = exports.UpdateLifecyclePolicyRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetLifecyclePolicyResponse = exports.LifecyclePolicy = exports.GetLifecyclePolicyRequest = exports.GetLifecyclePoliciesResponse = exports.LifecyclePolicySummary = exports.GetLifecyclePoliciesRequest = exports.GettablePolicyStateValues = exports.ResourceNotFoundException = exports.DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyRequest = exports.LimitExceededException = exports.InvalidRequestException = exports.InternalServerException = exports.CreateLifecyclePolicyResponse = exports.CreateLifecyclePolicyRequest = exports.SettablePolicyStateValues = exports.PolicyDetails = exports.Schedule = exports.Tag = exports.ShareRule = exports.RetainRule = exports.FastRestoreRule = exports.DeprecateRule = exports.CrossRegionCopyRule = exports.CrossRegionCopyDeprecateRule = exports.CreateRule = exports.LocationValues = exports.IntervalUnitValues = exports.ResourceTypeValues = exports.ResourceLocationValues = exports.PolicyTypeValues = exports._Parameters = exports.EventSource = exports.EventSourceValues = exports.EventParameters = exports.EventTypeValues = exports.Action = exports.CrossRegionCopyAction = exports.CrossRegionCopyRetainRule = exports.RetentionIntervalUnitValues = exports.EncryptionConfiguration = void 0;
|
|
4
|
+
const DLMServiceException_1 = require("./DLMServiceException");
|
|
4
5
|
var EncryptionConfiguration;
|
|
5
6
|
(function (EncryptionConfiguration) {
|
|
6
7
|
EncryptionConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -160,6 +161,54 @@ var CreateLifecyclePolicyResponse;
|
|
|
160
161
|
...obj,
|
|
161
162
|
});
|
|
162
163
|
})(CreateLifecyclePolicyResponse = exports.CreateLifecyclePolicyResponse || (exports.CreateLifecyclePolicyResponse = {}));
|
|
164
|
+
class InternalServerException extends DLMServiceException_1.DLMServiceException {
|
|
165
|
+
constructor(opts) {
|
|
166
|
+
super({
|
|
167
|
+
name: "InternalServerException",
|
|
168
|
+
$fault: "server",
|
|
169
|
+
...opts,
|
|
170
|
+
});
|
|
171
|
+
this.name = "InternalServerException";
|
|
172
|
+
this.$fault = "server";
|
|
173
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
174
|
+
this.Message = opts.Message;
|
|
175
|
+
this.Code = opts.Code;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
exports.InternalServerException = InternalServerException;
|
|
179
|
+
class InvalidRequestException extends DLMServiceException_1.DLMServiceException {
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "InvalidRequestException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
this.name = "InvalidRequestException";
|
|
187
|
+
this.$fault = "client";
|
|
188
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
189
|
+
this.Message = opts.Message;
|
|
190
|
+
this.Code = opts.Code;
|
|
191
|
+
this.RequiredParameters = opts.RequiredParameters;
|
|
192
|
+
this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
196
|
+
class LimitExceededException extends DLMServiceException_1.DLMServiceException {
|
|
197
|
+
constructor(opts) {
|
|
198
|
+
super({
|
|
199
|
+
name: "LimitExceededException",
|
|
200
|
+
$fault: "client",
|
|
201
|
+
...opts,
|
|
202
|
+
});
|
|
203
|
+
this.name = "LimitExceededException";
|
|
204
|
+
this.$fault = "client";
|
|
205
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
206
|
+
this.Message = opts.Message;
|
|
207
|
+
this.Code = opts.Code;
|
|
208
|
+
this.ResourceType = opts.ResourceType;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
exports.LimitExceededException = LimitExceededException;
|
|
163
212
|
var DeleteLifecyclePolicyRequest;
|
|
164
213
|
(function (DeleteLifecyclePolicyRequest) {
|
|
165
214
|
DeleteLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -172,6 +221,23 @@ var DeleteLifecyclePolicyResponse;
|
|
|
172
221
|
...obj,
|
|
173
222
|
});
|
|
174
223
|
})(DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyResponse || (exports.DeleteLifecyclePolicyResponse = {}));
|
|
224
|
+
class ResourceNotFoundException extends DLMServiceException_1.DLMServiceException {
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "ResourceNotFoundException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
this.name = "ResourceNotFoundException";
|
|
232
|
+
this.$fault = "client";
|
|
233
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
234
|
+
this.Message = opts.Message;
|
|
235
|
+
this.Code = opts.Code;
|
|
236
|
+
this.ResourceType = opts.ResourceType;
|
|
237
|
+
this.ResourceIds = opts.ResourceIds;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
175
241
|
var GettablePolicyStateValues;
|
|
176
242
|
(function (GettablePolicyStateValues) {
|
|
177
243
|
GettablePolicyStateValues["DISABLED"] = "DISABLED";
|