@aws-sdk/client-dlm 3.52.0 → 3.53.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-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./DLM";
2
2
  export * from "./DLMClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { DLMServiceException } from "./models/DLMServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var DLMServiceException = (function (_super) {
4
+ __extends(DLMServiceException, _super);
5
+ function DLMServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, DLMServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return DLMServiceException;
11
+ }(__ServiceException));
12
+ export { DLMServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { DLMServiceException as __BaseException } from "./DLMServiceException";
2
3
  export var EncryptionConfiguration;
3
4
  (function (EncryptionConfiguration) {
4
5
  EncryptionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -120,6 +121,51 @@ export var CreateLifecyclePolicyResponse;
120
121
  (function (CreateLifecyclePolicyResponse) {
121
122
  CreateLifecyclePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
122
123
  })(CreateLifecyclePolicyResponse || (CreateLifecyclePolicyResponse = {}));
124
+ var InternalServerException = (function (_super) {
125
+ __extends(InternalServerException, _super);
126
+ function InternalServerException(opts) {
127
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
128
+ _this.name = "InternalServerException";
129
+ _this.$fault = "server";
130
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
131
+ _this.Message = opts.Message;
132
+ _this.Code = opts.Code;
133
+ return _this;
134
+ }
135
+ return InternalServerException;
136
+ }(__BaseException));
137
+ export { InternalServerException };
138
+ var InvalidRequestException = (function (_super) {
139
+ __extends(InvalidRequestException, _super);
140
+ function InvalidRequestException(opts) {
141
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
142
+ _this.name = "InvalidRequestException";
143
+ _this.$fault = "client";
144
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
145
+ _this.Message = opts.Message;
146
+ _this.Code = opts.Code;
147
+ _this.RequiredParameters = opts.RequiredParameters;
148
+ _this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
149
+ return _this;
150
+ }
151
+ return InvalidRequestException;
152
+ }(__BaseException));
153
+ export { InvalidRequestException };
154
+ var LimitExceededException = (function (_super) {
155
+ __extends(LimitExceededException, _super);
156
+ function LimitExceededException(opts) {
157
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
158
+ _this.name = "LimitExceededException";
159
+ _this.$fault = "client";
160
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
161
+ _this.Message = opts.Message;
162
+ _this.Code = opts.Code;
163
+ _this.ResourceType = opts.ResourceType;
164
+ return _this;
165
+ }
166
+ return LimitExceededException;
167
+ }(__BaseException));
168
+ export { LimitExceededException };
123
169
  export var DeleteLifecyclePolicyRequest;
124
170
  (function (DeleteLifecyclePolicyRequest) {
125
171
  DeleteLifecyclePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -128,6 +174,22 @@ export var DeleteLifecyclePolicyResponse;
128
174
  (function (DeleteLifecyclePolicyResponse) {
129
175
  DeleteLifecyclePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
176
  })(DeleteLifecyclePolicyResponse || (DeleteLifecyclePolicyResponse = {}));
177
+ var ResourceNotFoundException = (function (_super) {
178
+ __extends(ResourceNotFoundException, _super);
179
+ function ResourceNotFoundException(opts) {
180
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
181
+ _this.name = "ResourceNotFoundException";
182
+ _this.$fault = "client";
183
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
184
+ _this.Message = opts.Message;
185
+ _this.Code = opts.Code;
186
+ _this.ResourceType = opts.ResourceType;
187
+ _this.ResourceIds = opts.ResourceIds;
188
+ return _this;
189
+ }
190
+ return ResourceNotFoundException;
191
+ }(__BaseException));
192
+ export { ResourceNotFoundException };
131
193
  export var GettablePolicyStateValues;
132
194
  (function (GettablePolicyStateValues) {
133
195
  GettablePolicyStateValues["DISABLED"] = "DISABLED";