@aws-sdk/client-cloudcontrol 3.52.0 → 3.54.1

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 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.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudcontrol
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-cloudcontrol
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-cloudcontrol
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudControlServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./CloudControl"), exports);
5
6
  tslib_1.__exportStar(require("./CloudControlClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var CloudControlServiceException_1 = require("./models/CloudControlServiceException");
12
+ Object.defineProperty(exports, "CloudControlServiceException", { enumerable: true, get: function () { return CloudControlServiceException_1.CloudControlServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudControlServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class CloudControlServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, CloudControlServiceException.prototype);
9
+ }
10
+ }
11
+ exports.CloudControlServiceException = CloudControlServiceException;
@@ -1,7 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateResourceOutput = exports.UpdateResourceInput = exports.ListResourcesOutput = exports.ListResourcesInput = exports.ListResourceRequestsOutput = exports.ListResourceRequestsInput = exports.ResourceRequestStatusFilter = exports.GetResourceRequestStatusOutput = exports.GetResourceRequestStatusInput = exports.GetResourceOutput = exports.ResourceDescription = exports.GetResourceInput = exports.DeleteResourceOutput = exports.DeleteResourceInput = exports.CreateResourceOutput = exports.CreateResourceInput = exports.CancelResourceRequestOutput = exports.ProgressEvent = exports.OperationStatus = exports.Operation = exports.HandlerErrorCode = exports.CancelResourceRequestInput = void 0;
3
+ exports.UpdateResourceOutput = exports.UpdateResourceInput = exports.ListResourcesOutput = exports.ListResourcesInput = exports.ListResourceRequestsOutput = exports.ListResourceRequestsInput = exports.ResourceRequestStatusFilter = exports.GetResourceRequestStatusOutput = exports.GetResourceRequestStatusInput = exports.GetResourceOutput = exports.ResourceDescription = exports.GetResourceInput = exports.DeleteResourceOutput = exports.DeleteResourceInput = exports.UnsupportedActionException = exports.TypeNotFoundException = exports.ThrottlingException = exports.ServiceLimitExceededException = exports.ServiceInternalErrorException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PrivateTypeException = exports.NotUpdatableException = exports.NotStabilizedException = exports.NetworkFailureException = exports.InvalidRequestException = exports.InvalidCredentialsException = exports.HandlerInternalFailureException = exports.HandlerFailureException = exports.GeneralServiceException = exports.CreateResourceOutput = exports.CreateResourceInput = exports.ConcurrentOperationException = exports.ClientTokenConflictException = exports.RequestTokenNotFoundException = exports.ConcurrentModificationException = exports.CancelResourceRequestOutput = exports.ProgressEvent = exports.OperationStatus = exports.Operation = exports.HandlerErrorCode = exports.CancelResourceRequestInput = exports.AlreadyExistsException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const CloudControlServiceException_1 = require("./CloudControlServiceException");
6
+ class AlreadyExistsException extends CloudControlServiceException_1.CloudControlServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "AlreadyExistsException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "AlreadyExistsException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AlreadyExistsException = AlreadyExistsException;
5
20
  var CancelResourceRequestInput;
6
21
  (function (CancelResourceRequestInput) {
7
22
  CancelResourceRequestInput.filterSensitiveLog = (obj) => ({
@@ -55,6 +70,62 @@ var CancelResourceRequestOutput;
55
70
  ...(obj.ProgressEvent && { ProgressEvent: ProgressEvent.filterSensitiveLog(obj.ProgressEvent) }),
56
71
  });
57
72
  })(CancelResourceRequestOutput = exports.CancelResourceRequestOutput || (exports.CancelResourceRequestOutput = {}));
73
+ class ConcurrentModificationException extends CloudControlServiceException_1.CloudControlServiceException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "ConcurrentModificationException",
77
+ $fault: "server",
78
+ ...opts,
79
+ });
80
+ this.name = "ConcurrentModificationException";
81
+ this.$fault = "server";
82
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ exports.ConcurrentModificationException = ConcurrentModificationException;
87
+ class RequestTokenNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
88
+ constructor(opts) {
89
+ super({
90
+ name: "RequestTokenNotFoundException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ this.name = "RequestTokenNotFoundException";
95
+ this.$fault = "client";
96
+ Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ exports.RequestTokenNotFoundException = RequestTokenNotFoundException;
101
+ class ClientTokenConflictException extends CloudControlServiceException_1.CloudControlServiceException {
102
+ constructor(opts) {
103
+ super({
104
+ name: "ClientTokenConflictException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ this.name = "ClientTokenConflictException";
109
+ this.$fault = "client";
110
+ Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ exports.ClientTokenConflictException = ClientTokenConflictException;
115
+ class ConcurrentOperationException extends CloudControlServiceException_1.CloudControlServiceException {
116
+ constructor(opts) {
117
+ super({
118
+ name: "ConcurrentOperationException",
119
+ $fault: "client",
120
+ ...opts,
121
+ });
122
+ this.name = "ConcurrentOperationException";
123
+ this.$fault = "client";
124
+ Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ exports.ConcurrentOperationException = ConcurrentOperationException;
58
129
  var CreateResourceInput;
59
130
  (function (CreateResourceInput) {
60
131
  CreateResourceInput.filterSensitiveLog = (obj) => ({
@@ -69,6 +140,230 @@ var CreateResourceOutput;
69
140
  ...(obj.ProgressEvent && { ProgressEvent: ProgressEvent.filterSensitiveLog(obj.ProgressEvent) }),
70
141
  });
71
142
  })(CreateResourceOutput = exports.CreateResourceOutput || (exports.CreateResourceOutput = {}));
143
+ class GeneralServiceException extends CloudControlServiceException_1.CloudControlServiceException {
144
+ constructor(opts) {
145
+ super({
146
+ name: "GeneralServiceException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ this.name = "GeneralServiceException";
151
+ this.$fault = "client";
152
+ Object.setPrototypeOf(this, GeneralServiceException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ exports.GeneralServiceException = GeneralServiceException;
157
+ class HandlerFailureException extends CloudControlServiceException_1.CloudControlServiceException {
158
+ constructor(opts) {
159
+ super({
160
+ name: "HandlerFailureException",
161
+ $fault: "server",
162
+ ...opts,
163
+ });
164
+ this.name = "HandlerFailureException";
165
+ this.$fault = "server";
166
+ Object.setPrototypeOf(this, HandlerFailureException.prototype);
167
+ this.Message = opts.Message;
168
+ }
169
+ }
170
+ exports.HandlerFailureException = HandlerFailureException;
171
+ class HandlerInternalFailureException extends CloudControlServiceException_1.CloudControlServiceException {
172
+ constructor(opts) {
173
+ super({
174
+ name: "HandlerInternalFailureException",
175
+ $fault: "server",
176
+ ...opts,
177
+ });
178
+ this.name = "HandlerInternalFailureException";
179
+ this.$fault = "server";
180
+ Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ exports.HandlerInternalFailureException = HandlerInternalFailureException;
185
+ class InvalidCredentialsException extends CloudControlServiceException_1.CloudControlServiceException {
186
+ constructor(opts) {
187
+ super({
188
+ name: "InvalidCredentialsException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ this.name = "InvalidCredentialsException";
193
+ this.$fault = "client";
194
+ Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ exports.InvalidCredentialsException = InvalidCredentialsException;
199
+ class InvalidRequestException extends CloudControlServiceException_1.CloudControlServiceException {
200
+ constructor(opts) {
201
+ super({
202
+ name: "InvalidRequestException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ this.name = "InvalidRequestException";
207
+ this.$fault = "client";
208
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
209
+ this.Message = opts.Message;
210
+ }
211
+ }
212
+ exports.InvalidRequestException = InvalidRequestException;
213
+ class NetworkFailureException extends CloudControlServiceException_1.CloudControlServiceException {
214
+ constructor(opts) {
215
+ super({
216
+ name: "NetworkFailureException",
217
+ $fault: "server",
218
+ ...opts,
219
+ });
220
+ this.name = "NetworkFailureException";
221
+ this.$fault = "server";
222
+ Object.setPrototypeOf(this, NetworkFailureException.prototype);
223
+ this.Message = opts.Message;
224
+ }
225
+ }
226
+ exports.NetworkFailureException = NetworkFailureException;
227
+ class NotStabilizedException extends CloudControlServiceException_1.CloudControlServiceException {
228
+ constructor(opts) {
229
+ super({
230
+ name: "NotStabilizedException",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ this.name = "NotStabilizedException";
235
+ this.$fault = "client";
236
+ Object.setPrototypeOf(this, NotStabilizedException.prototype);
237
+ this.Message = opts.Message;
238
+ }
239
+ }
240
+ exports.NotStabilizedException = NotStabilizedException;
241
+ class NotUpdatableException extends CloudControlServiceException_1.CloudControlServiceException {
242
+ constructor(opts) {
243
+ super({
244
+ name: "NotUpdatableException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ this.name = "NotUpdatableException";
249
+ this.$fault = "client";
250
+ Object.setPrototypeOf(this, NotUpdatableException.prototype);
251
+ this.Message = opts.Message;
252
+ }
253
+ }
254
+ exports.NotUpdatableException = NotUpdatableException;
255
+ class PrivateTypeException extends CloudControlServiceException_1.CloudControlServiceException {
256
+ constructor(opts) {
257
+ super({
258
+ name: "PrivateTypeException",
259
+ $fault: "client",
260
+ ...opts,
261
+ });
262
+ this.name = "PrivateTypeException";
263
+ this.$fault = "client";
264
+ Object.setPrototypeOf(this, PrivateTypeException.prototype);
265
+ this.Message = opts.Message;
266
+ }
267
+ }
268
+ exports.PrivateTypeException = PrivateTypeException;
269
+ class ResourceConflictException extends CloudControlServiceException_1.CloudControlServiceException {
270
+ constructor(opts) {
271
+ super({
272
+ name: "ResourceConflictException",
273
+ $fault: "client",
274
+ ...opts,
275
+ });
276
+ this.name = "ResourceConflictException";
277
+ this.$fault = "client";
278
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
279
+ this.Message = opts.Message;
280
+ }
281
+ }
282
+ exports.ResourceConflictException = ResourceConflictException;
283
+ class ResourceNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
284
+ constructor(opts) {
285
+ super({
286
+ name: "ResourceNotFoundException",
287
+ $fault: "client",
288
+ ...opts,
289
+ });
290
+ this.name = "ResourceNotFoundException";
291
+ this.$fault = "client";
292
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
293
+ this.Message = opts.Message;
294
+ }
295
+ }
296
+ exports.ResourceNotFoundException = ResourceNotFoundException;
297
+ class ServiceInternalErrorException extends CloudControlServiceException_1.CloudControlServiceException {
298
+ constructor(opts) {
299
+ super({
300
+ name: "ServiceInternalErrorException",
301
+ $fault: "server",
302
+ ...opts,
303
+ });
304
+ this.name = "ServiceInternalErrorException";
305
+ this.$fault = "server";
306
+ Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
307
+ this.Message = opts.Message;
308
+ }
309
+ }
310
+ exports.ServiceInternalErrorException = ServiceInternalErrorException;
311
+ class ServiceLimitExceededException extends CloudControlServiceException_1.CloudControlServiceException {
312
+ constructor(opts) {
313
+ super({
314
+ name: "ServiceLimitExceededException",
315
+ $fault: "client",
316
+ ...opts,
317
+ });
318
+ this.name = "ServiceLimitExceededException";
319
+ this.$fault = "client";
320
+ Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
321
+ this.Message = opts.Message;
322
+ }
323
+ }
324
+ exports.ServiceLimitExceededException = ServiceLimitExceededException;
325
+ class ThrottlingException extends CloudControlServiceException_1.CloudControlServiceException {
326
+ constructor(opts) {
327
+ super({
328
+ name: "ThrottlingException",
329
+ $fault: "client",
330
+ ...opts,
331
+ });
332
+ this.name = "ThrottlingException";
333
+ this.$fault = "client";
334
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
335
+ this.Message = opts.Message;
336
+ }
337
+ }
338
+ exports.ThrottlingException = ThrottlingException;
339
+ class TypeNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
340
+ constructor(opts) {
341
+ super({
342
+ name: "TypeNotFoundException",
343
+ $fault: "client",
344
+ ...opts,
345
+ });
346
+ this.name = "TypeNotFoundException";
347
+ this.$fault = "client";
348
+ Object.setPrototypeOf(this, TypeNotFoundException.prototype);
349
+ this.Message = opts.Message;
350
+ }
351
+ }
352
+ exports.TypeNotFoundException = TypeNotFoundException;
353
+ class UnsupportedActionException extends CloudControlServiceException_1.CloudControlServiceException {
354
+ constructor(opts) {
355
+ super({
356
+ name: "UnsupportedActionException",
357
+ $fault: "client",
358
+ ...opts,
359
+ });
360
+ this.name = "UnsupportedActionException";
361
+ this.$fault = "client";
362
+ Object.setPrototypeOf(this, UnsupportedActionException.prototype);
363
+ this.Message = opts.Message;
364
+ }
365
+ }
366
+ exports.UnsupportedActionException = UnsupportedActionException;
72
367
  var DeleteResourceInput;
73
368
  (function (DeleteResourceInput) {
74
369
  DeleteResourceInput.filterSensitiveLog = (obj) => ({