@aws-sdk/client-cloudcontrol 3.490.0 → 3.496.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/index.js CHANGED
@@ -1,13 +1,1831 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloudControlServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CloudControlClient"), exports);
6
- tslib_1.__exportStar(require("./CloudControl"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./waiters"), exports);
10
- tslib_1.__exportStar(require("./models"), exports);
11
- require("@aws-sdk/util-endpoints");
12
- var CloudControlServiceException_1 = require("./models/CloudControlServiceException");
13
- Object.defineProperty(exports, "CloudControlServiceException", { enumerable: true, get: function () { return CloudControlServiceException_1.CloudControlServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AlreadyExistsException: () => AlreadyExistsException,
25
+ CancelResourceRequestCommand: () => CancelResourceRequestCommand,
26
+ CancelResourceRequestOutputFilterSensitiveLog: () => CancelResourceRequestOutputFilterSensitiveLog,
27
+ ClientTokenConflictException: () => ClientTokenConflictException,
28
+ CloudControl: () => CloudControl,
29
+ CloudControlClient: () => CloudControlClient,
30
+ CloudControlServiceException: () => CloudControlServiceException,
31
+ ConcurrentModificationException: () => ConcurrentModificationException,
32
+ ConcurrentOperationException: () => ConcurrentOperationException,
33
+ CreateResourceCommand: () => CreateResourceCommand,
34
+ CreateResourceInputFilterSensitiveLog: () => CreateResourceInputFilterSensitiveLog,
35
+ CreateResourceOutputFilterSensitiveLog: () => CreateResourceOutputFilterSensitiveLog,
36
+ DeleteResourceCommand: () => DeleteResourceCommand,
37
+ DeleteResourceOutputFilterSensitiveLog: () => DeleteResourceOutputFilterSensitiveLog,
38
+ GeneralServiceException: () => GeneralServiceException,
39
+ GetResourceCommand: () => GetResourceCommand,
40
+ GetResourceOutputFilterSensitiveLog: () => GetResourceOutputFilterSensitiveLog,
41
+ GetResourceRequestStatusCommand: () => GetResourceRequestStatusCommand,
42
+ GetResourceRequestStatusOutputFilterSensitiveLog: () => GetResourceRequestStatusOutputFilterSensitiveLog,
43
+ HandlerErrorCode: () => HandlerErrorCode,
44
+ HandlerFailureException: () => HandlerFailureException,
45
+ HandlerInternalFailureException: () => HandlerInternalFailureException,
46
+ InvalidCredentialsException: () => InvalidCredentialsException,
47
+ InvalidRequestException: () => InvalidRequestException,
48
+ ListResourceRequestsCommand: () => ListResourceRequestsCommand,
49
+ ListResourceRequestsOutputFilterSensitiveLog: () => ListResourceRequestsOutputFilterSensitiveLog,
50
+ ListResourcesCommand: () => ListResourcesCommand,
51
+ ListResourcesInputFilterSensitiveLog: () => ListResourcesInputFilterSensitiveLog,
52
+ ListResourcesOutputFilterSensitiveLog: () => ListResourcesOutputFilterSensitiveLog,
53
+ NetworkFailureException: () => NetworkFailureException,
54
+ NotStabilizedException: () => NotStabilizedException,
55
+ NotUpdatableException: () => NotUpdatableException,
56
+ Operation: () => Operation,
57
+ OperationStatus: () => OperationStatus,
58
+ PrivateTypeException: () => PrivateTypeException,
59
+ ProgressEventFilterSensitiveLog: () => ProgressEventFilterSensitiveLog,
60
+ RequestTokenNotFoundException: () => RequestTokenNotFoundException,
61
+ ResourceConflictException: () => ResourceConflictException,
62
+ ResourceDescriptionFilterSensitiveLog: () => ResourceDescriptionFilterSensitiveLog,
63
+ ResourceNotFoundException: () => ResourceNotFoundException,
64
+ ServiceInternalErrorException: () => ServiceInternalErrorException,
65
+ ServiceLimitExceededException: () => ServiceLimitExceededException,
66
+ ThrottlingException: () => ThrottlingException,
67
+ TypeNotFoundException: () => TypeNotFoundException,
68
+ UnsupportedActionException: () => UnsupportedActionException,
69
+ UpdateResourceCommand: () => UpdateResourceCommand,
70
+ UpdateResourceInputFilterSensitiveLog: () => UpdateResourceInputFilterSensitiveLog,
71
+ UpdateResourceOutputFilterSensitiveLog: () => UpdateResourceOutputFilterSensitiveLog,
72
+ __Client: () => import_smithy_client.Client,
73
+ paginateListResourceRequests: () => paginateListResourceRequests,
74
+ paginateListResources: () => paginateListResources,
75
+ waitForResourceRequestSuccess: () => waitForResourceRequestSuccess,
76
+ waitUntilResourceRequestSuccess: () => waitUntilResourceRequestSuccess
77
+ });
78
+ module.exports = __toCommonJS(src_exports);
79
+
80
+ // src/CloudControlClient.ts
81
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
82
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
83
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
84
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
85
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
86
+ var import_config_resolver = require("@smithy/config-resolver");
87
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
88
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
89
+ var import_middleware_retry = require("@smithy/middleware-retry");
90
+
91
+
92
+ // src/endpoint/EndpointParameters.ts
93
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
94
+ return {
95
+ ...options,
96
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
97
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
98
+ defaultSigningName: "cloudcontrolapi"
99
+ };
100
+ }, "resolveClientEndpointParameters");
101
+ var commonParams = {
102
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
103
+ Endpoint: { type: "builtInParams", name: "endpoint" },
104
+ Region: { type: "builtInParams", name: "region" },
105
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
106
+ };
107
+
108
+ // src/CloudControlClient.ts
109
+ var import_runtimeConfig = require("././runtimeConfig");
110
+
111
+ // src/runtimeExtensions.ts
112
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
113
+ var import_protocol_http = require("@smithy/protocol-http");
114
+ var import_smithy_client = require("@smithy/smithy-client");
115
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
116
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
117
+ const extensionConfiguration = {
118
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
119
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
120
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
121
+ };
122
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
123
+ return {
124
+ ...runtimeConfig,
125
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
126
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
127
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
128
+ };
129
+ }, "resolveRuntimeExtensions");
130
+
131
+ // src/CloudControlClient.ts
132
+ var _CloudControlClient = class _CloudControlClient extends import_smithy_client.Client {
133
+ constructor(...[configuration]) {
134
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
135
+ const _config_1 = resolveClientEndpointParameters(_config_0);
136
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
137
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
138
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
139
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
140
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
141
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
142
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
143
+ super(_config_8);
144
+ this.config = _config_8;
145
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
146
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
147
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
148
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
149
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
150
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
151
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
152
+ }
153
+ /**
154
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
155
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
156
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
157
+ */
158
+ destroy() {
159
+ super.destroy();
160
+ }
161
+ };
162
+ __name(_CloudControlClient, "CloudControlClient");
163
+ var CloudControlClient = _CloudControlClient;
164
+
165
+ // src/CloudControl.ts
166
+
167
+
168
+ // src/commands/CancelResourceRequestCommand.ts
169
+
170
+ var import_middleware_serde = require("@smithy/middleware-serde");
171
+
172
+ var import_types = require("@smithy/types");
173
+
174
+ // src/models/models_0.ts
175
+
176
+
177
+ // src/models/CloudControlServiceException.ts
178
+
179
+ var _CloudControlServiceException = class _CloudControlServiceException extends import_smithy_client.ServiceException {
180
+ /**
181
+ * @internal
182
+ */
183
+ constructor(options) {
184
+ super(options);
185
+ Object.setPrototypeOf(this, _CloudControlServiceException.prototype);
186
+ }
187
+ };
188
+ __name(_CloudControlServiceException, "CloudControlServiceException");
189
+ var CloudControlServiceException = _CloudControlServiceException;
190
+
191
+ // src/models/models_0.ts
192
+ var _AlreadyExistsException = class _AlreadyExistsException extends CloudControlServiceException {
193
+ /**
194
+ * @internal
195
+ */
196
+ constructor(opts) {
197
+ super({
198
+ name: "AlreadyExistsException",
199
+ $fault: "client",
200
+ ...opts
201
+ });
202
+ this.name = "AlreadyExistsException";
203
+ this.$fault = "client";
204
+ Object.setPrototypeOf(this, _AlreadyExistsException.prototype);
205
+ this.Message = opts.Message;
206
+ }
207
+ };
208
+ __name(_AlreadyExistsException, "AlreadyExistsException");
209
+ var AlreadyExistsException = _AlreadyExistsException;
210
+ var HandlerErrorCode = {
211
+ ACCESS_DENIED: "AccessDenied",
212
+ ALREADY_EXISTS: "AlreadyExists",
213
+ GENERAL_SERVICE_EXCEPTION: "GeneralServiceException",
214
+ INTERNAL_FAILURE: "InternalFailure",
215
+ INVALID_CREDENTIALS: "InvalidCredentials",
216
+ INVALID_REQUEST: "InvalidRequest",
217
+ NETWORK_FAILURE: "NetworkFailure",
218
+ NOT_FOUND: "NotFound",
219
+ NOT_STABILIZED: "NotStabilized",
220
+ NOT_UPDATABLE: "NotUpdatable",
221
+ RESOURCE_CONFLICT: "ResourceConflict",
222
+ SERVICE_INTERNAL_ERROR: "ServiceInternalError",
223
+ SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
224
+ SERVICE_TIMEOUT: "ServiceTimeout",
225
+ THROTTLING: "Throttling"
226
+ };
227
+ var Operation = {
228
+ CREATE: "CREATE",
229
+ DELETE: "DELETE",
230
+ UPDATE: "UPDATE"
231
+ };
232
+ var OperationStatus = {
233
+ CANCEL_COMPLETE: "CANCEL_COMPLETE",
234
+ CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS",
235
+ FAILED: "FAILED",
236
+ IN_PROGRESS: "IN_PROGRESS",
237
+ PENDING: "PENDING",
238
+ SUCCESS: "SUCCESS"
239
+ };
240
+ var _ConcurrentModificationException = class _ConcurrentModificationException extends CloudControlServiceException {
241
+ /**
242
+ * @internal
243
+ */
244
+ constructor(opts) {
245
+ super({
246
+ name: "ConcurrentModificationException",
247
+ $fault: "server",
248
+ ...opts
249
+ });
250
+ this.name = "ConcurrentModificationException";
251
+ this.$fault = "server";
252
+ Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
253
+ this.Message = opts.Message;
254
+ }
255
+ };
256
+ __name(_ConcurrentModificationException, "ConcurrentModificationException");
257
+ var ConcurrentModificationException = _ConcurrentModificationException;
258
+ var _RequestTokenNotFoundException = class _RequestTokenNotFoundException extends CloudControlServiceException {
259
+ /**
260
+ * @internal
261
+ */
262
+ constructor(opts) {
263
+ super({
264
+ name: "RequestTokenNotFoundException",
265
+ $fault: "client",
266
+ ...opts
267
+ });
268
+ this.name = "RequestTokenNotFoundException";
269
+ this.$fault = "client";
270
+ Object.setPrototypeOf(this, _RequestTokenNotFoundException.prototype);
271
+ this.Message = opts.Message;
272
+ }
273
+ };
274
+ __name(_RequestTokenNotFoundException, "RequestTokenNotFoundException");
275
+ var RequestTokenNotFoundException = _RequestTokenNotFoundException;
276
+ var _ClientTokenConflictException = class _ClientTokenConflictException extends CloudControlServiceException {
277
+ /**
278
+ * @internal
279
+ */
280
+ constructor(opts) {
281
+ super({
282
+ name: "ClientTokenConflictException",
283
+ $fault: "client",
284
+ ...opts
285
+ });
286
+ this.name = "ClientTokenConflictException";
287
+ this.$fault = "client";
288
+ Object.setPrototypeOf(this, _ClientTokenConflictException.prototype);
289
+ this.Message = opts.Message;
290
+ }
291
+ };
292
+ __name(_ClientTokenConflictException, "ClientTokenConflictException");
293
+ var ClientTokenConflictException = _ClientTokenConflictException;
294
+ var _ConcurrentOperationException = class _ConcurrentOperationException extends CloudControlServiceException {
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts) {
299
+ super({
300
+ name: "ConcurrentOperationException",
301
+ $fault: "client",
302
+ ...opts
303
+ });
304
+ this.name = "ConcurrentOperationException";
305
+ this.$fault = "client";
306
+ Object.setPrototypeOf(this, _ConcurrentOperationException.prototype);
307
+ this.Message = opts.Message;
308
+ }
309
+ };
310
+ __name(_ConcurrentOperationException, "ConcurrentOperationException");
311
+ var ConcurrentOperationException = _ConcurrentOperationException;
312
+ var _GeneralServiceException = class _GeneralServiceException extends CloudControlServiceException {
313
+ /**
314
+ * @internal
315
+ */
316
+ constructor(opts) {
317
+ super({
318
+ name: "GeneralServiceException",
319
+ $fault: "client",
320
+ ...opts
321
+ });
322
+ this.name = "GeneralServiceException";
323
+ this.$fault = "client";
324
+ Object.setPrototypeOf(this, _GeneralServiceException.prototype);
325
+ this.Message = opts.Message;
326
+ }
327
+ };
328
+ __name(_GeneralServiceException, "GeneralServiceException");
329
+ var GeneralServiceException = _GeneralServiceException;
330
+ var _HandlerFailureException = class _HandlerFailureException extends CloudControlServiceException {
331
+ /**
332
+ * @internal
333
+ */
334
+ constructor(opts) {
335
+ super({
336
+ name: "HandlerFailureException",
337
+ $fault: "server",
338
+ ...opts
339
+ });
340
+ this.name = "HandlerFailureException";
341
+ this.$fault = "server";
342
+ Object.setPrototypeOf(this, _HandlerFailureException.prototype);
343
+ this.Message = opts.Message;
344
+ }
345
+ };
346
+ __name(_HandlerFailureException, "HandlerFailureException");
347
+ var HandlerFailureException = _HandlerFailureException;
348
+ var _HandlerInternalFailureException = class _HandlerInternalFailureException extends CloudControlServiceException {
349
+ /**
350
+ * @internal
351
+ */
352
+ constructor(opts) {
353
+ super({
354
+ name: "HandlerInternalFailureException",
355
+ $fault: "server",
356
+ ...opts
357
+ });
358
+ this.name = "HandlerInternalFailureException";
359
+ this.$fault = "server";
360
+ Object.setPrototypeOf(this, _HandlerInternalFailureException.prototype);
361
+ this.Message = opts.Message;
362
+ }
363
+ };
364
+ __name(_HandlerInternalFailureException, "HandlerInternalFailureException");
365
+ var HandlerInternalFailureException = _HandlerInternalFailureException;
366
+ var _InvalidCredentialsException = class _InvalidCredentialsException extends CloudControlServiceException {
367
+ /**
368
+ * @internal
369
+ */
370
+ constructor(opts) {
371
+ super({
372
+ name: "InvalidCredentialsException",
373
+ $fault: "client",
374
+ ...opts
375
+ });
376
+ this.name = "InvalidCredentialsException";
377
+ this.$fault = "client";
378
+ Object.setPrototypeOf(this, _InvalidCredentialsException.prototype);
379
+ this.Message = opts.Message;
380
+ }
381
+ };
382
+ __name(_InvalidCredentialsException, "InvalidCredentialsException");
383
+ var InvalidCredentialsException = _InvalidCredentialsException;
384
+ var _InvalidRequestException = class _InvalidRequestException extends CloudControlServiceException {
385
+ /**
386
+ * @internal
387
+ */
388
+ constructor(opts) {
389
+ super({
390
+ name: "InvalidRequestException",
391
+ $fault: "client",
392
+ ...opts
393
+ });
394
+ this.name = "InvalidRequestException";
395
+ this.$fault = "client";
396
+ Object.setPrototypeOf(this, _InvalidRequestException.prototype);
397
+ this.Message = opts.Message;
398
+ }
399
+ };
400
+ __name(_InvalidRequestException, "InvalidRequestException");
401
+ var InvalidRequestException = _InvalidRequestException;
402
+ var _NetworkFailureException = class _NetworkFailureException extends CloudControlServiceException {
403
+ /**
404
+ * @internal
405
+ */
406
+ constructor(opts) {
407
+ super({
408
+ name: "NetworkFailureException",
409
+ $fault: "server",
410
+ ...opts
411
+ });
412
+ this.name = "NetworkFailureException";
413
+ this.$fault = "server";
414
+ Object.setPrototypeOf(this, _NetworkFailureException.prototype);
415
+ this.Message = opts.Message;
416
+ }
417
+ };
418
+ __name(_NetworkFailureException, "NetworkFailureException");
419
+ var NetworkFailureException = _NetworkFailureException;
420
+ var _NotStabilizedException = class _NotStabilizedException extends CloudControlServiceException {
421
+ /**
422
+ * @internal
423
+ */
424
+ constructor(opts) {
425
+ super({
426
+ name: "NotStabilizedException",
427
+ $fault: "client",
428
+ ...opts
429
+ });
430
+ this.name = "NotStabilizedException";
431
+ this.$fault = "client";
432
+ Object.setPrototypeOf(this, _NotStabilizedException.prototype);
433
+ this.Message = opts.Message;
434
+ }
435
+ };
436
+ __name(_NotStabilizedException, "NotStabilizedException");
437
+ var NotStabilizedException = _NotStabilizedException;
438
+ var _NotUpdatableException = class _NotUpdatableException extends CloudControlServiceException {
439
+ /**
440
+ * @internal
441
+ */
442
+ constructor(opts) {
443
+ super({
444
+ name: "NotUpdatableException",
445
+ $fault: "client",
446
+ ...opts
447
+ });
448
+ this.name = "NotUpdatableException";
449
+ this.$fault = "client";
450
+ Object.setPrototypeOf(this, _NotUpdatableException.prototype);
451
+ this.Message = opts.Message;
452
+ }
453
+ };
454
+ __name(_NotUpdatableException, "NotUpdatableException");
455
+ var NotUpdatableException = _NotUpdatableException;
456
+ var _PrivateTypeException = class _PrivateTypeException extends CloudControlServiceException {
457
+ /**
458
+ * @internal
459
+ */
460
+ constructor(opts) {
461
+ super({
462
+ name: "PrivateTypeException",
463
+ $fault: "client",
464
+ ...opts
465
+ });
466
+ this.name = "PrivateTypeException";
467
+ this.$fault = "client";
468
+ Object.setPrototypeOf(this, _PrivateTypeException.prototype);
469
+ this.Message = opts.Message;
470
+ }
471
+ };
472
+ __name(_PrivateTypeException, "PrivateTypeException");
473
+ var PrivateTypeException = _PrivateTypeException;
474
+ var _ResourceConflictException = class _ResourceConflictException extends CloudControlServiceException {
475
+ /**
476
+ * @internal
477
+ */
478
+ constructor(opts) {
479
+ super({
480
+ name: "ResourceConflictException",
481
+ $fault: "client",
482
+ ...opts
483
+ });
484
+ this.name = "ResourceConflictException";
485
+ this.$fault = "client";
486
+ Object.setPrototypeOf(this, _ResourceConflictException.prototype);
487
+ this.Message = opts.Message;
488
+ }
489
+ };
490
+ __name(_ResourceConflictException, "ResourceConflictException");
491
+ var ResourceConflictException = _ResourceConflictException;
492
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudControlServiceException {
493
+ /**
494
+ * @internal
495
+ */
496
+ constructor(opts) {
497
+ super({
498
+ name: "ResourceNotFoundException",
499
+ $fault: "client",
500
+ ...opts
501
+ });
502
+ this.name = "ResourceNotFoundException";
503
+ this.$fault = "client";
504
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
505
+ this.Message = opts.Message;
506
+ }
507
+ };
508
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
509
+ var ResourceNotFoundException = _ResourceNotFoundException;
510
+ var _ServiceInternalErrorException = class _ServiceInternalErrorException extends CloudControlServiceException {
511
+ /**
512
+ * @internal
513
+ */
514
+ constructor(opts) {
515
+ super({
516
+ name: "ServiceInternalErrorException",
517
+ $fault: "server",
518
+ ...opts
519
+ });
520
+ this.name = "ServiceInternalErrorException";
521
+ this.$fault = "server";
522
+ Object.setPrototypeOf(this, _ServiceInternalErrorException.prototype);
523
+ this.Message = opts.Message;
524
+ }
525
+ };
526
+ __name(_ServiceInternalErrorException, "ServiceInternalErrorException");
527
+ var ServiceInternalErrorException = _ServiceInternalErrorException;
528
+ var _ServiceLimitExceededException = class _ServiceLimitExceededException extends CloudControlServiceException {
529
+ /**
530
+ * @internal
531
+ */
532
+ constructor(opts) {
533
+ super({
534
+ name: "ServiceLimitExceededException",
535
+ $fault: "client",
536
+ ...opts
537
+ });
538
+ this.name = "ServiceLimitExceededException";
539
+ this.$fault = "client";
540
+ Object.setPrototypeOf(this, _ServiceLimitExceededException.prototype);
541
+ this.Message = opts.Message;
542
+ }
543
+ };
544
+ __name(_ServiceLimitExceededException, "ServiceLimitExceededException");
545
+ var ServiceLimitExceededException = _ServiceLimitExceededException;
546
+ var _ThrottlingException = class _ThrottlingException extends CloudControlServiceException {
547
+ /**
548
+ * @internal
549
+ */
550
+ constructor(opts) {
551
+ super({
552
+ name: "ThrottlingException",
553
+ $fault: "client",
554
+ ...opts
555
+ });
556
+ this.name = "ThrottlingException";
557
+ this.$fault = "client";
558
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
559
+ this.Message = opts.Message;
560
+ }
561
+ };
562
+ __name(_ThrottlingException, "ThrottlingException");
563
+ var ThrottlingException = _ThrottlingException;
564
+ var _TypeNotFoundException = class _TypeNotFoundException extends CloudControlServiceException {
565
+ /**
566
+ * @internal
567
+ */
568
+ constructor(opts) {
569
+ super({
570
+ name: "TypeNotFoundException",
571
+ $fault: "client",
572
+ ...opts
573
+ });
574
+ this.name = "TypeNotFoundException";
575
+ this.$fault = "client";
576
+ Object.setPrototypeOf(this, _TypeNotFoundException.prototype);
577
+ this.Message = opts.Message;
578
+ }
579
+ };
580
+ __name(_TypeNotFoundException, "TypeNotFoundException");
581
+ var TypeNotFoundException = _TypeNotFoundException;
582
+ var _UnsupportedActionException = class _UnsupportedActionException extends CloudControlServiceException {
583
+ /**
584
+ * @internal
585
+ */
586
+ constructor(opts) {
587
+ super({
588
+ name: "UnsupportedActionException",
589
+ $fault: "client",
590
+ ...opts
591
+ });
592
+ this.name = "UnsupportedActionException";
593
+ this.$fault = "client";
594
+ Object.setPrototypeOf(this, _UnsupportedActionException.prototype);
595
+ this.Message = opts.Message;
596
+ }
597
+ };
598
+ __name(_UnsupportedActionException, "UnsupportedActionException");
599
+ var UnsupportedActionException = _UnsupportedActionException;
600
+ var ProgressEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
601
+ ...obj,
602
+ ...obj.ResourceModel && { ResourceModel: import_smithy_client.SENSITIVE_STRING }
603
+ }), "ProgressEventFilterSensitiveLog");
604
+ var CancelResourceRequestOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
605
+ ...obj,
606
+ ...obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }
607
+ }), "CancelResourceRequestOutputFilterSensitiveLog");
608
+ var CreateResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
609
+ ...obj,
610
+ ...obj.DesiredState && { DesiredState: import_smithy_client.SENSITIVE_STRING }
611
+ }), "CreateResourceInputFilterSensitiveLog");
612
+ var CreateResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
613
+ ...obj,
614
+ ...obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }
615
+ }), "CreateResourceOutputFilterSensitiveLog");
616
+ var DeleteResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
617
+ ...obj,
618
+ ...obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }
619
+ }), "DeleteResourceOutputFilterSensitiveLog");
620
+ var ResourceDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
621
+ ...obj,
622
+ ...obj.Properties && { Properties: import_smithy_client.SENSITIVE_STRING }
623
+ }), "ResourceDescriptionFilterSensitiveLog");
624
+ var GetResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
625
+ ...obj,
626
+ ...obj.ResourceDescription && {
627
+ ResourceDescription: ResourceDescriptionFilterSensitiveLog(obj.ResourceDescription)
628
+ }
629
+ }), "GetResourceOutputFilterSensitiveLog");
630
+ var GetResourceRequestStatusOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
631
+ ...obj,
632
+ ...obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }
633
+ }), "GetResourceRequestStatusOutputFilterSensitiveLog");
634
+ var ListResourceRequestsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
635
+ ...obj,
636
+ ...obj.ResourceRequestStatusSummaries && {
637
+ ResourceRequestStatusSummaries: obj.ResourceRequestStatusSummaries.map(
638
+ (item) => ProgressEventFilterSensitiveLog(item)
639
+ )
640
+ }
641
+ }), "ListResourceRequestsOutputFilterSensitiveLog");
642
+ var ListResourcesInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
643
+ ...obj,
644
+ ...obj.ResourceModel && { ResourceModel: import_smithy_client.SENSITIVE_STRING }
645
+ }), "ListResourcesInputFilterSensitiveLog");
646
+ var ListResourcesOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
647
+ ...obj,
648
+ ...obj.ResourceDescriptions && {
649
+ ResourceDescriptions: obj.ResourceDescriptions.map((item) => ResourceDescriptionFilterSensitiveLog(item))
650
+ }
651
+ }), "ListResourcesOutputFilterSensitiveLog");
652
+ var UpdateResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
653
+ ...obj,
654
+ ...obj.PatchDocument && { PatchDocument: import_smithy_client.SENSITIVE_STRING }
655
+ }), "UpdateResourceInputFilterSensitiveLog");
656
+ var UpdateResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
657
+ ...obj,
658
+ ...obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }
659
+ }), "UpdateResourceOutputFilterSensitiveLog");
660
+
661
+ // src/protocols/Aws_json1_0.ts
662
+
663
+
664
+ var import_uuid = require("uuid");
665
+ var se_CancelResourceRequestCommand = /* @__PURE__ */ __name(async (input, context) => {
666
+ const headers = sharedHeaders("CancelResourceRequest");
667
+ let body;
668
+ body = JSON.stringify((0, import_smithy_client._json)(input));
669
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
670
+ }, "se_CancelResourceRequestCommand");
671
+ var se_CreateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
672
+ const headers = sharedHeaders("CreateResource");
673
+ let body;
674
+ body = JSON.stringify(se_CreateResourceInput(input, context));
675
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
676
+ }, "se_CreateResourceCommand");
677
+ var se_DeleteResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
678
+ const headers = sharedHeaders("DeleteResource");
679
+ let body;
680
+ body = JSON.stringify(se_DeleteResourceInput(input, context));
681
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
682
+ }, "se_DeleteResourceCommand");
683
+ var se_GetResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
684
+ const headers = sharedHeaders("GetResource");
685
+ let body;
686
+ body = JSON.stringify((0, import_smithy_client._json)(input));
687
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
688
+ }, "se_GetResourceCommand");
689
+ var se_GetResourceRequestStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
690
+ const headers = sharedHeaders("GetResourceRequestStatus");
691
+ let body;
692
+ body = JSON.stringify((0, import_smithy_client._json)(input));
693
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
694
+ }, "se_GetResourceRequestStatusCommand");
695
+ var se_ListResourceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => {
696
+ const headers = sharedHeaders("ListResourceRequests");
697
+ let body;
698
+ body = JSON.stringify((0, import_smithy_client._json)(input));
699
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
700
+ }, "se_ListResourceRequestsCommand");
701
+ var se_ListResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
702
+ const headers = sharedHeaders("ListResources");
703
+ let body;
704
+ body = JSON.stringify((0, import_smithy_client._json)(input));
705
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
706
+ }, "se_ListResourcesCommand");
707
+ var se_UpdateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
708
+ const headers = sharedHeaders("UpdateResource");
709
+ let body;
710
+ body = JSON.stringify(se_UpdateResourceInput(input, context));
711
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
712
+ }, "se_UpdateResourceCommand");
713
+ var de_CancelResourceRequestCommand = /* @__PURE__ */ __name(async (output, context) => {
714
+ if (output.statusCode >= 300) {
715
+ return de_CancelResourceRequestCommandError(output, context);
716
+ }
717
+ const data = await parseBody(output.body, context);
718
+ let contents = {};
719
+ contents = de_CancelResourceRequestOutput(data, context);
720
+ const response = {
721
+ $metadata: deserializeMetadata(output),
722
+ ...contents
723
+ };
724
+ return response;
725
+ }, "de_CancelResourceRequestCommand");
726
+ var de_CancelResourceRequestCommandError = /* @__PURE__ */ __name(async (output, context) => {
727
+ const parsedOutput = {
728
+ ...output,
729
+ body: await parseErrorBody(output.body, context)
730
+ };
731
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
732
+ switch (errorCode) {
733
+ case "ConcurrentModificationException":
734
+ case "com.amazonaws.cloudcontrol#ConcurrentModificationException":
735
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
736
+ case "RequestTokenNotFoundException":
737
+ case "com.amazonaws.cloudcontrol#RequestTokenNotFoundException":
738
+ throw await de_RequestTokenNotFoundExceptionRes(parsedOutput, context);
739
+ default:
740
+ const parsedBody = parsedOutput.body;
741
+ return throwDefaultError({
742
+ output,
743
+ parsedBody,
744
+ errorCode
745
+ });
746
+ }
747
+ }, "de_CancelResourceRequestCommandError");
748
+ var de_CreateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
749
+ if (output.statusCode >= 300) {
750
+ return de_CreateResourceCommandError(output, context);
751
+ }
752
+ const data = await parseBody(output.body, context);
753
+ let contents = {};
754
+ contents = de_CreateResourceOutput(data, context);
755
+ const response = {
756
+ $metadata: deserializeMetadata(output),
757
+ ...contents
758
+ };
759
+ return response;
760
+ }, "de_CreateResourceCommand");
761
+ var de_CreateResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
762
+ const parsedOutput = {
763
+ ...output,
764
+ body: await parseErrorBody(output.body, context)
765
+ };
766
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
767
+ switch (errorCode) {
768
+ case "AlreadyExistsException":
769
+ case "com.amazonaws.cloudcontrol#AlreadyExistsException":
770
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
771
+ case "ClientTokenConflictException":
772
+ case "com.amazonaws.cloudcontrol#ClientTokenConflictException":
773
+ throw await de_ClientTokenConflictExceptionRes(parsedOutput, context);
774
+ case "ConcurrentOperationException":
775
+ case "com.amazonaws.cloudcontrol#ConcurrentOperationException":
776
+ throw await de_ConcurrentOperationExceptionRes(parsedOutput, context);
777
+ case "GeneralServiceException":
778
+ case "com.amazonaws.cloudcontrol#GeneralServiceException":
779
+ throw await de_GeneralServiceExceptionRes(parsedOutput, context);
780
+ case "HandlerFailureException":
781
+ case "com.amazonaws.cloudcontrol#HandlerFailureException":
782
+ throw await de_HandlerFailureExceptionRes(parsedOutput, context);
783
+ case "HandlerInternalFailureException":
784
+ case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
785
+ throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
786
+ case "InvalidCredentialsException":
787
+ case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
788
+ throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
789
+ case "InvalidRequestException":
790
+ case "com.amazonaws.cloudcontrol#InvalidRequestException":
791
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
792
+ case "NetworkFailureException":
793
+ case "com.amazonaws.cloudcontrol#NetworkFailureException":
794
+ throw await de_NetworkFailureExceptionRes(parsedOutput, context);
795
+ case "NotStabilizedException":
796
+ case "com.amazonaws.cloudcontrol#NotStabilizedException":
797
+ throw await de_NotStabilizedExceptionRes(parsedOutput, context);
798
+ case "NotUpdatableException":
799
+ case "com.amazonaws.cloudcontrol#NotUpdatableException":
800
+ throw await de_NotUpdatableExceptionRes(parsedOutput, context);
801
+ case "PrivateTypeException":
802
+ case "com.amazonaws.cloudcontrol#PrivateTypeException":
803
+ throw await de_PrivateTypeExceptionRes(parsedOutput, context);
804
+ case "ResourceConflictException":
805
+ case "com.amazonaws.cloudcontrol#ResourceConflictException":
806
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
807
+ case "ResourceNotFoundException":
808
+ case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
809
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
810
+ case "ServiceInternalErrorException":
811
+ case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
812
+ throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
813
+ case "ServiceLimitExceededException":
814
+ case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
815
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
816
+ case "ThrottlingException":
817
+ case "com.amazonaws.cloudcontrol#ThrottlingException":
818
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
819
+ case "TypeNotFoundException":
820
+ case "com.amazonaws.cloudcontrol#TypeNotFoundException":
821
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
822
+ case "UnsupportedActionException":
823
+ case "com.amazonaws.cloudcontrol#UnsupportedActionException":
824
+ throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
825
+ default:
826
+ const parsedBody = parsedOutput.body;
827
+ return throwDefaultError({
828
+ output,
829
+ parsedBody,
830
+ errorCode
831
+ });
832
+ }
833
+ }, "de_CreateResourceCommandError");
834
+ var de_DeleteResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
835
+ if (output.statusCode >= 300) {
836
+ return de_DeleteResourceCommandError(output, context);
837
+ }
838
+ const data = await parseBody(output.body, context);
839
+ let contents = {};
840
+ contents = de_DeleteResourceOutput(data, context);
841
+ const response = {
842
+ $metadata: deserializeMetadata(output),
843
+ ...contents
844
+ };
845
+ return response;
846
+ }, "de_DeleteResourceCommand");
847
+ var de_DeleteResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
848
+ const parsedOutput = {
849
+ ...output,
850
+ body: await parseErrorBody(output.body, context)
851
+ };
852
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
853
+ switch (errorCode) {
854
+ case "AlreadyExistsException":
855
+ case "com.amazonaws.cloudcontrol#AlreadyExistsException":
856
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
857
+ case "ClientTokenConflictException":
858
+ case "com.amazonaws.cloudcontrol#ClientTokenConflictException":
859
+ throw await de_ClientTokenConflictExceptionRes(parsedOutput, context);
860
+ case "ConcurrentOperationException":
861
+ case "com.amazonaws.cloudcontrol#ConcurrentOperationException":
862
+ throw await de_ConcurrentOperationExceptionRes(parsedOutput, context);
863
+ case "GeneralServiceException":
864
+ case "com.amazonaws.cloudcontrol#GeneralServiceException":
865
+ throw await de_GeneralServiceExceptionRes(parsedOutput, context);
866
+ case "HandlerFailureException":
867
+ case "com.amazonaws.cloudcontrol#HandlerFailureException":
868
+ throw await de_HandlerFailureExceptionRes(parsedOutput, context);
869
+ case "HandlerInternalFailureException":
870
+ case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
871
+ throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
872
+ case "InvalidCredentialsException":
873
+ case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
874
+ throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
875
+ case "InvalidRequestException":
876
+ case "com.amazonaws.cloudcontrol#InvalidRequestException":
877
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
878
+ case "NetworkFailureException":
879
+ case "com.amazonaws.cloudcontrol#NetworkFailureException":
880
+ throw await de_NetworkFailureExceptionRes(parsedOutput, context);
881
+ case "NotStabilizedException":
882
+ case "com.amazonaws.cloudcontrol#NotStabilizedException":
883
+ throw await de_NotStabilizedExceptionRes(parsedOutput, context);
884
+ case "NotUpdatableException":
885
+ case "com.amazonaws.cloudcontrol#NotUpdatableException":
886
+ throw await de_NotUpdatableExceptionRes(parsedOutput, context);
887
+ case "PrivateTypeException":
888
+ case "com.amazonaws.cloudcontrol#PrivateTypeException":
889
+ throw await de_PrivateTypeExceptionRes(parsedOutput, context);
890
+ case "ResourceConflictException":
891
+ case "com.amazonaws.cloudcontrol#ResourceConflictException":
892
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
893
+ case "ResourceNotFoundException":
894
+ case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
895
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
896
+ case "ServiceInternalErrorException":
897
+ case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
898
+ throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
899
+ case "ServiceLimitExceededException":
900
+ case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
901
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
902
+ case "ThrottlingException":
903
+ case "com.amazonaws.cloudcontrol#ThrottlingException":
904
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
905
+ case "TypeNotFoundException":
906
+ case "com.amazonaws.cloudcontrol#TypeNotFoundException":
907
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
908
+ case "UnsupportedActionException":
909
+ case "com.amazonaws.cloudcontrol#UnsupportedActionException":
910
+ throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
911
+ default:
912
+ const parsedBody = parsedOutput.body;
913
+ return throwDefaultError({
914
+ output,
915
+ parsedBody,
916
+ errorCode
917
+ });
918
+ }
919
+ }, "de_DeleteResourceCommandError");
920
+ var de_GetResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
921
+ if (output.statusCode >= 300) {
922
+ return de_GetResourceCommandError(output, context);
923
+ }
924
+ const data = await parseBody(output.body, context);
925
+ let contents = {};
926
+ contents = (0, import_smithy_client._json)(data);
927
+ const response = {
928
+ $metadata: deserializeMetadata(output),
929
+ ...contents
930
+ };
931
+ return response;
932
+ }, "de_GetResourceCommand");
933
+ var de_GetResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
934
+ const parsedOutput = {
935
+ ...output,
936
+ body: await parseErrorBody(output.body, context)
937
+ };
938
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
939
+ switch (errorCode) {
940
+ case "AlreadyExistsException":
941
+ case "com.amazonaws.cloudcontrol#AlreadyExistsException":
942
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
943
+ case "GeneralServiceException":
944
+ case "com.amazonaws.cloudcontrol#GeneralServiceException":
945
+ throw await de_GeneralServiceExceptionRes(parsedOutput, context);
946
+ case "HandlerFailureException":
947
+ case "com.amazonaws.cloudcontrol#HandlerFailureException":
948
+ throw await de_HandlerFailureExceptionRes(parsedOutput, context);
949
+ case "HandlerInternalFailureException":
950
+ case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
951
+ throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
952
+ case "InvalidCredentialsException":
953
+ case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
954
+ throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
955
+ case "InvalidRequestException":
956
+ case "com.amazonaws.cloudcontrol#InvalidRequestException":
957
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
958
+ case "NetworkFailureException":
959
+ case "com.amazonaws.cloudcontrol#NetworkFailureException":
960
+ throw await de_NetworkFailureExceptionRes(parsedOutput, context);
961
+ case "NotStabilizedException":
962
+ case "com.amazonaws.cloudcontrol#NotStabilizedException":
963
+ throw await de_NotStabilizedExceptionRes(parsedOutput, context);
964
+ case "NotUpdatableException":
965
+ case "com.amazonaws.cloudcontrol#NotUpdatableException":
966
+ throw await de_NotUpdatableExceptionRes(parsedOutput, context);
967
+ case "PrivateTypeException":
968
+ case "com.amazonaws.cloudcontrol#PrivateTypeException":
969
+ throw await de_PrivateTypeExceptionRes(parsedOutput, context);
970
+ case "ResourceConflictException":
971
+ case "com.amazonaws.cloudcontrol#ResourceConflictException":
972
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
973
+ case "ResourceNotFoundException":
974
+ case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
975
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
976
+ case "ServiceInternalErrorException":
977
+ case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
978
+ throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
979
+ case "ServiceLimitExceededException":
980
+ case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
981
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
982
+ case "ThrottlingException":
983
+ case "com.amazonaws.cloudcontrol#ThrottlingException":
984
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
985
+ case "TypeNotFoundException":
986
+ case "com.amazonaws.cloudcontrol#TypeNotFoundException":
987
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
988
+ case "UnsupportedActionException":
989
+ case "com.amazonaws.cloudcontrol#UnsupportedActionException":
990
+ throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
991
+ default:
992
+ const parsedBody = parsedOutput.body;
993
+ return throwDefaultError({
994
+ output,
995
+ parsedBody,
996
+ errorCode
997
+ });
998
+ }
999
+ }, "de_GetResourceCommandError");
1000
+ var de_GetResourceRequestStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1001
+ if (output.statusCode >= 300) {
1002
+ return de_GetResourceRequestStatusCommandError(output, context);
1003
+ }
1004
+ const data = await parseBody(output.body, context);
1005
+ let contents = {};
1006
+ contents = de_GetResourceRequestStatusOutput(data, context);
1007
+ const response = {
1008
+ $metadata: deserializeMetadata(output),
1009
+ ...contents
1010
+ };
1011
+ return response;
1012
+ }, "de_GetResourceRequestStatusCommand");
1013
+ var de_GetResourceRequestStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1014
+ const parsedOutput = {
1015
+ ...output,
1016
+ body: await parseErrorBody(output.body, context)
1017
+ };
1018
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1019
+ switch (errorCode) {
1020
+ case "RequestTokenNotFoundException":
1021
+ case "com.amazonaws.cloudcontrol#RequestTokenNotFoundException":
1022
+ throw await de_RequestTokenNotFoundExceptionRes(parsedOutput, context);
1023
+ default:
1024
+ const parsedBody = parsedOutput.body;
1025
+ return throwDefaultError({
1026
+ output,
1027
+ parsedBody,
1028
+ errorCode
1029
+ });
1030
+ }
1031
+ }, "de_GetResourceRequestStatusCommandError");
1032
+ var de_ListResourceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {
1033
+ if (output.statusCode >= 300) {
1034
+ return de_ListResourceRequestsCommandError(output, context);
1035
+ }
1036
+ const data = await parseBody(output.body, context);
1037
+ let contents = {};
1038
+ contents = de_ListResourceRequestsOutput(data, context);
1039
+ const response = {
1040
+ $metadata: deserializeMetadata(output),
1041
+ ...contents
1042
+ };
1043
+ return response;
1044
+ }, "de_ListResourceRequestsCommand");
1045
+ var de_ListResourceRequestsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1046
+ const parsedOutput = {
1047
+ ...output,
1048
+ body: await parseErrorBody(output.body, context)
1049
+ };
1050
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1051
+ const parsedBody = parsedOutput.body;
1052
+ return throwDefaultError({
1053
+ output,
1054
+ parsedBody,
1055
+ errorCode
1056
+ });
1057
+ }, "de_ListResourceRequestsCommandError");
1058
+ var de_ListResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1059
+ if (output.statusCode >= 300) {
1060
+ return de_ListResourcesCommandError(output, context);
1061
+ }
1062
+ const data = await parseBody(output.body, context);
1063
+ let contents = {};
1064
+ contents = (0, import_smithy_client._json)(data);
1065
+ const response = {
1066
+ $metadata: deserializeMetadata(output),
1067
+ ...contents
1068
+ };
1069
+ return response;
1070
+ }, "de_ListResourcesCommand");
1071
+ var de_ListResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1072
+ const parsedOutput = {
1073
+ ...output,
1074
+ body: await parseErrorBody(output.body, context)
1075
+ };
1076
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1077
+ switch (errorCode) {
1078
+ case "AlreadyExistsException":
1079
+ case "com.amazonaws.cloudcontrol#AlreadyExistsException":
1080
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
1081
+ case "GeneralServiceException":
1082
+ case "com.amazonaws.cloudcontrol#GeneralServiceException":
1083
+ throw await de_GeneralServiceExceptionRes(parsedOutput, context);
1084
+ case "HandlerFailureException":
1085
+ case "com.amazonaws.cloudcontrol#HandlerFailureException":
1086
+ throw await de_HandlerFailureExceptionRes(parsedOutput, context);
1087
+ case "HandlerInternalFailureException":
1088
+ case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
1089
+ throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
1090
+ case "InvalidCredentialsException":
1091
+ case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
1092
+ throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
1093
+ case "InvalidRequestException":
1094
+ case "com.amazonaws.cloudcontrol#InvalidRequestException":
1095
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1096
+ case "NetworkFailureException":
1097
+ case "com.amazonaws.cloudcontrol#NetworkFailureException":
1098
+ throw await de_NetworkFailureExceptionRes(parsedOutput, context);
1099
+ case "NotStabilizedException":
1100
+ case "com.amazonaws.cloudcontrol#NotStabilizedException":
1101
+ throw await de_NotStabilizedExceptionRes(parsedOutput, context);
1102
+ case "NotUpdatableException":
1103
+ case "com.amazonaws.cloudcontrol#NotUpdatableException":
1104
+ throw await de_NotUpdatableExceptionRes(parsedOutput, context);
1105
+ case "PrivateTypeException":
1106
+ case "com.amazonaws.cloudcontrol#PrivateTypeException":
1107
+ throw await de_PrivateTypeExceptionRes(parsedOutput, context);
1108
+ case "ResourceConflictException":
1109
+ case "com.amazonaws.cloudcontrol#ResourceConflictException":
1110
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
1111
+ case "ResourceNotFoundException":
1112
+ case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
1113
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1114
+ case "ServiceInternalErrorException":
1115
+ case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
1116
+ throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
1117
+ case "ServiceLimitExceededException":
1118
+ case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
1119
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
1120
+ case "ThrottlingException":
1121
+ case "com.amazonaws.cloudcontrol#ThrottlingException":
1122
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1123
+ case "TypeNotFoundException":
1124
+ case "com.amazonaws.cloudcontrol#TypeNotFoundException":
1125
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1126
+ case "UnsupportedActionException":
1127
+ case "com.amazonaws.cloudcontrol#UnsupportedActionException":
1128
+ throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
1129
+ default:
1130
+ const parsedBody = parsedOutput.body;
1131
+ return throwDefaultError({
1132
+ output,
1133
+ parsedBody,
1134
+ errorCode
1135
+ });
1136
+ }
1137
+ }, "de_ListResourcesCommandError");
1138
+ var de_UpdateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1139
+ if (output.statusCode >= 300) {
1140
+ return de_UpdateResourceCommandError(output, context);
1141
+ }
1142
+ const data = await parseBody(output.body, context);
1143
+ let contents = {};
1144
+ contents = de_UpdateResourceOutput(data, context);
1145
+ const response = {
1146
+ $metadata: deserializeMetadata(output),
1147
+ ...contents
1148
+ };
1149
+ return response;
1150
+ }, "de_UpdateResourceCommand");
1151
+ var de_UpdateResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1152
+ const parsedOutput = {
1153
+ ...output,
1154
+ body: await parseErrorBody(output.body, context)
1155
+ };
1156
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1157
+ switch (errorCode) {
1158
+ case "AlreadyExistsException":
1159
+ case "com.amazonaws.cloudcontrol#AlreadyExistsException":
1160
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
1161
+ case "ClientTokenConflictException":
1162
+ case "com.amazonaws.cloudcontrol#ClientTokenConflictException":
1163
+ throw await de_ClientTokenConflictExceptionRes(parsedOutput, context);
1164
+ case "ConcurrentOperationException":
1165
+ case "com.amazonaws.cloudcontrol#ConcurrentOperationException":
1166
+ throw await de_ConcurrentOperationExceptionRes(parsedOutput, context);
1167
+ case "GeneralServiceException":
1168
+ case "com.amazonaws.cloudcontrol#GeneralServiceException":
1169
+ throw await de_GeneralServiceExceptionRes(parsedOutput, context);
1170
+ case "HandlerFailureException":
1171
+ case "com.amazonaws.cloudcontrol#HandlerFailureException":
1172
+ throw await de_HandlerFailureExceptionRes(parsedOutput, context);
1173
+ case "HandlerInternalFailureException":
1174
+ case "com.amazonaws.cloudcontrol#HandlerInternalFailureException":
1175
+ throw await de_HandlerInternalFailureExceptionRes(parsedOutput, context);
1176
+ case "InvalidCredentialsException":
1177
+ case "com.amazonaws.cloudcontrol#InvalidCredentialsException":
1178
+ throw await de_InvalidCredentialsExceptionRes(parsedOutput, context);
1179
+ case "InvalidRequestException":
1180
+ case "com.amazonaws.cloudcontrol#InvalidRequestException":
1181
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1182
+ case "NetworkFailureException":
1183
+ case "com.amazonaws.cloudcontrol#NetworkFailureException":
1184
+ throw await de_NetworkFailureExceptionRes(parsedOutput, context);
1185
+ case "NotStabilizedException":
1186
+ case "com.amazonaws.cloudcontrol#NotStabilizedException":
1187
+ throw await de_NotStabilizedExceptionRes(parsedOutput, context);
1188
+ case "NotUpdatableException":
1189
+ case "com.amazonaws.cloudcontrol#NotUpdatableException":
1190
+ throw await de_NotUpdatableExceptionRes(parsedOutput, context);
1191
+ case "PrivateTypeException":
1192
+ case "com.amazonaws.cloudcontrol#PrivateTypeException":
1193
+ throw await de_PrivateTypeExceptionRes(parsedOutput, context);
1194
+ case "ResourceConflictException":
1195
+ case "com.amazonaws.cloudcontrol#ResourceConflictException":
1196
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
1197
+ case "ResourceNotFoundException":
1198
+ case "com.amazonaws.cloudcontrol#ResourceNotFoundException":
1199
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1200
+ case "ServiceInternalErrorException":
1201
+ case "com.amazonaws.cloudcontrol#ServiceInternalErrorException":
1202
+ throw await de_ServiceInternalErrorExceptionRes(parsedOutput, context);
1203
+ case "ServiceLimitExceededException":
1204
+ case "com.amazonaws.cloudcontrol#ServiceLimitExceededException":
1205
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
1206
+ case "ThrottlingException":
1207
+ case "com.amazonaws.cloudcontrol#ThrottlingException":
1208
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1209
+ case "TypeNotFoundException":
1210
+ case "com.amazonaws.cloudcontrol#TypeNotFoundException":
1211
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1212
+ case "UnsupportedActionException":
1213
+ case "com.amazonaws.cloudcontrol#UnsupportedActionException":
1214
+ throw await de_UnsupportedActionExceptionRes(parsedOutput, context);
1215
+ default:
1216
+ const parsedBody = parsedOutput.body;
1217
+ return throwDefaultError({
1218
+ output,
1219
+ parsedBody,
1220
+ errorCode
1221
+ });
1222
+ }
1223
+ }, "de_UpdateResourceCommandError");
1224
+ var de_AlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1225
+ const body = parsedOutput.body;
1226
+ const deserialized = (0, import_smithy_client._json)(body);
1227
+ const exception = new AlreadyExistsException({
1228
+ $metadata: deserializeMetadata(parsedOutput),
1229
+ ...deserialized
1230
+ });
1231
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1232
+ }, "de_AlreadyExistsExceptionRes");
1233
+ var de_ClientTokenConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1234
+ const body = parsedOutput.body;
1235
+ const deserialized = (0, import_smithy_client._json)(body);
1236
+ const exception = new ClientTokenConflictException({
1237
+ $metadata: deserializeMetadata(parsedOutput),
1238
+ ...deserialized
1239
+ });
1240
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1241
+ }, "de_ClientTokenConflictExceptionRes");
1242
+ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1243
+ const body = parsedOutput.body;
1244
+ const deserialized = (0, import_smithy_client._json)(body);
1245
+ const exception = new ConcurrentModificationException({
1246
+ $metadata: deserializeMetadata(parsedOutput),
1247
+ ...deserialized
1248
+ });
1249
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1250
+ }, "de_ConcurrentModificationExceptionRes");
1251
+ var de_ConcurrentOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1252
+ const body = parsedOutput.body;
1253
+ const deserialized = (0, import_smithy_client._json)(body);
1254
+ const exception = new ConcurrentOperationException({
1255
+ $metadata: deserializeMetadata(parsedOutput),
1256
+ ...deserialized
1257
+ });
1258
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1259
+ }, "de_ConcurrentOperationExceptionRes");
1260
+ var de_GeneralServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1261
+ const body = parsedOutput.body;
1262
+ const deserialized = (0, import_smithy_client._json)(body);
1263
+ const exception = new GeneralServiceException({
1264
+ $metadata: deserializeMetadata(parsedOutput),
1265
+ ...deserialized
1266
+ });
1267
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1268
+ }, "de_GeneralServiceExceptionRes");
1269
+ var de_HandlerFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1270
+ const body = parsedOutput.body;
1271
+ const deserialized = (0, import_smithy_client._json)(body);
1272
+ const exception = new HandlerFailureException({
1273
+ $metadata: deserializeMetadata(parsedOutput),
1274
+ ...deserialized
1275
+ });
1276
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1277
+ }, "de_HandlerFailureExceptionRes");
1278
+ var de_HandlerInternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1279
+ const body = parsedOutput.body;
1280
+ const deserialized = (0, import_smithy_client._json)(body);
1281
+ const exception = new HandlerInternalFailureException({
1282
+ $metadata: deserializeMetadata(parsedOutput),
1283
+ ...deserialized
1284
+ });
1285
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1286
+ }, "de_HandlerInternalFailureExceptionRes");
1287
+ var de_InvalidCredentialsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1288
+ const body = parsedOutput.body;
1289
+ const deserialized = (0, import_smithy_client._json)(body);
1290
+ const exception = new InvalidCredentialsException({
1291
+ $metadata: deserializeMetadata(parsedOutput),
1292
+ ...deserialized
1293
+ });
1294
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1295
+ }, "de_InvalidCredentialsExceptionRes");
1296
+ var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1297
+ const body = parsedOutput.body;
1298
+ const deserialized = (0, import_smithy_client._json)(body);
1299
+ const exception = new InvalidRequestException({
1300
+ $metadata: deserializeMetadata(parsedOutput),
1301
+ ...deserialized
1302
+ });
1303
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1304
+ }, "de_InvalidRequestExceptionRes");
1305
+ var de_NetworkFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1306
+ const body = parsedOutput.body;
1307
+ const deserialized = (0, import_smithy_client._json)(body);
1308
+ const exception = new NetworkFailureException({
1309
+ $metadata: deserializeMetadata(parsedOutput),
1310
+ ...deserialized
1311
+ });
1312
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1313
+ }, "de_NetworkFailureExceptionRes");
1314
+ var de_NotStabilizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1315
+ const body = parsedOutput.body;
1316
+ const deserialized = (0, import_smithy_client._json)(body);
1317
+ const exception = new NotStabilizedException({
1318
+ $metadata: deserializeMetadata(parsedOutput),
1319
+ ...deserialized
1320
+ });
1321
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1322
+ }, "de_NotStabilizedExceptionRes");
1323
+ var de_NotUpdatableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1324
+ const body = parsedOutput.body;
1325
+ const deserialized = (0, import_smithy_client._json)(body);
1326
+ const exception = new NotUpdatableException({
1327
+ $metadata: deserializeMetadata(parsedOutput),
1328
+ ...deserialized
1329
+ });
1330
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1331
+ }, "de_NotUpdatableExceptionRes");
1332
+ var de_PrivateTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1333
+ const body = parsedOutput.body;
1334
+ const deserialized = (0, import_smithy_client._json)(body);
1335
+ const exception = new PrivateTypeException({
1336
+ $metadata: deserializeMetadata(parsedOutput),
1337
+ ...deserialized
1338
+ });
1339
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1340
+ }, "de_PrivateTypeExceptionRes");
1341
+ var de_RequestTokenNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1342
+ const body = parsedOutput.body;
1343
+ const deserialized = (0, import_smithy_client._json)(body);
1344
+ const exception = new RequestTokenNotFoundException({
1345
+ $metadata: deserializeMetadata(parsedOutput),
1346
+ ...deserialized
1347
+ });
1348
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1349
+ }, "de_RequestTokenNotFoundExceptionRes");
1350
+ var de_ResourceConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1351
+ const body = parsedOutput.body;
1352
+ const deserialized = (0, import_smithy_client._json)(body);
1353
+ const exception = new ResourceConflictException({
1354
+ $metadata: deserializeMetadata(parsedOutput),
1355
+ ...deserialized
1356
+ });
1357
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1358
+ }, "de_ResourceConflictExceptionRes");
1359
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1360
+ const body = parsedOutput.body;
1361
+ const deserialized = (0, import_smithy_client._json)(body);
1362
+ const exception = new ResourceNotFoundException({
1363
+ $metadata: deserializeMetadata(parsedOutput),
1364
+ ...deserialized
1365
+ });
1366
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1367
+ }, "de_ResourceNotFoundExceptionRes");
1368
+ var de_ServiceInternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1369
+ const body = parsedOutput.body;
1370
+ const deserialized = (0, import_smithy_client._json)(body);
1371
+ const exception = new ServiceInternalErrorException({
1372
+ $metadata: deserializeMetadata(parsedOutput),
1373
+ ...deserialized
1374
+ });
1375
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1376
+ }, "de_ServiceInternalErrorExceptionRes");
1377
+ var de_ServiceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1378
+ const body = parsedOutput.body;
1379
+ const deserialized = (0, import_smithy_client._json)(body);
1380
+ const exception = new ServiceLimitExceededException({
1381
+ $metadata: deserializeMetadata(parsedOutput),
1382
+ ...deserialized
1383
+ });
1384
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1385
+ }, "de_ServiceLimitExceededExceptionRes");
1386
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1387
+ const body = parsedOutput.body;
1388
+ const deserialized = (0, import_smithy_client._json)(body);
1389
+ const exception = new ThrottlingException({
1390
+ $metadata: deserializeMetadata(parsedOutput),
1391
+ ...deserialized
1392
+ });
1393
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1394
+ }, "de_ThrottlingExceptionRes");
1395
+ var de_TypeNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1396
+ const body = parsedOutput.body;
1397
+ const deserialized = (0, import_smithy_client._json)(body);
1398
+ const exception = new TypeNotFoundException({
1399
+ $metadata: deserializeMetadata(parsedOutput),
1400
+ ...deserialized
1401
+ });
1402
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1403
+ }, "de_TypeNotFoundExceptionRes");
1404
+ var de_UnsupportedActionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1405
+ const body = parsedOutput.body;
1406
+ const deserialized = (0, import_smithy_client._json)(body);
1407
+ const exception = new UnsupportedActionException({
1408
+ $metadata: deserializeMetadata(parsedOutput),
1409
+ ...deserialized
1410
+ });
1411
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1412
+ }, "de_UnsupportedActionExceptionRes");
1413
+ var se_CreateResourceInput = /* @__PURE__ */ __name((input, context) => {
1414
+ return (0, import_smithy_client.take)(input, {
1415
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1416
+ DesiredState: [],
1417
+ RoleArn: [],
1418
+ TypeName: [],
1419
+ TypeVersionId: []
1420
+ });
1421
+ }, "se_CreateResourceInput");
1422
+ var se_DeleteResourceInput = /* @__PURE__ */ __name((input, context) => {
1423
+ return (0, import_smithy_client.take)(input, {
1424
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1425
+ Identifier: [],
1426
+ RoleArn: [],
1427
+ TypeName: [],
1428
+ TypeVersionId: []
1429
+ });
1430
+ }, "se_DeleteResourceInput");
1431
+ var se_UpdateResourceInput = /* @__PURE__ */ __name((input, context) => {
1432
+ return (0, import_smithy_client.take)(input, {
1433
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1434
+ Identifier: [],
1435
+ PatchDocument: [],
1436
+ RoleArn: [],
1437
+ TypeName: [],
1438
+ TypeVersionId: []
1439
+ });
1440
+ }, "se_UpdateResourceInput");
1441
+ var de_CancelResourceRequestOutput = /* @__PURE__ */ __name((output, context) => {
1442
+ return (0, import_smithy_client.take)(output, {
1443
+ ProgressEvent: (_) => de_ProgressEvent(_, context)
1444
+ });
1445
+ }, "de_CancelResourceRequestOutput");
1446
+ var de_CreateResourceOutput = /* @__PURE__ */ __name((output, context) => {
1447
+ return (0, import_smithy_client.take)(output, {
1448
+ ProgressEvent: (_) => de_ProgressEvent(_, context)
1449
+ });
1450
+ }, "de_CreateResourceOutput");
1451
+ var de_DeleteResourceOutput = /* @__PURE__ */ __name((output, context) => {
1452
+ return (0, import_smithy_client.take)(output, {
1453
+ ProgressEvent: (_) => de_ProgressEvent(_, context)
1454
+ });
1455
+ }, "de_DeleteResourceOutput");
1456
+ var de_GetResourceRequestStatusOutput = /* @__PURE__ */ __name((output, context) => {
1457
+ return (0, import_smithy_client.take)(output, {
1458
+ ProgressEvent: (_) => de_ProgressEvent(_, context)
1459
+ });
1460
+ }, "de_GetResourceRequestStatusOutput");
1461
+ var de_ListResourceRequestsOutput = /* @__PURE__ */ __name((output, context) => {
1462
+ return (0, import_smithy_client.take)(output, {
1463
+ NextToken: import_smithy_client.expectString,
1464
+ ResourceRequestStatusSummaries: (_) => de_ResourceRequestStatusSummaries(_, context)
1465
+ });
1466
+ }, "de_ListResourceRequestsOutput");
1467
+ var de_ProgressEvent = /* @__PURE__ */ __name((output, context) => {
1468
+ return (0, import_smithy_client.take)(output, {
1469
+ ErrorCode: import_smithy_client.expectString,
1470
+ EventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1471
+ Identifier: import_smithy_client.expectString,
1472
+ Operation: import_smithy_client.expectString,
1473
+ OperationStatus: import_smithy_client.expectString,
1474
+ RequestToken: import_smithy_client.expectString,
1475
+ ResourceModel: import_smithy_client.expectString,
1476
+ RetryAfter: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1477
+ StatusMessage: import_smithy_client.expectString,
1478
+ TypeName: import_smithy_client.expectString
1479
+ });
1480
+ }, "de_ProgressEvent");
1481
+ var de_ResourceRequestStatusSummaries = /* @__PURE__ */ __name((output, context) => {
1482
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1483
+ return de_ProgressEvent(entry, context);
1484
+ });
1485
+ return retVal;
1486
+ }, "de_ResourceRequestStatusSummaries");
1487
+ var de_UpdateResourceOutput = /* @__PURE__ */ __name((output, context) => {
1488
+ return (0, import_smithy_client.take)(output, {
1489
+ ProgressEvent: (_) => de_ProgressEvent(_, context)
1490
+ });
1491
+ }, "de_UpdateResourceOutput");
1492
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1493
+ httpStatusCode: output.statusCode,
1494
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1495
+ extendedRequestId: output.headers["x-amz-id-2"],
1496
+ cfId: output.headers["x-amz-cf-id"]
1497
+ }), "deserializeMetadata");
1498
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
1499
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudControlServiceException);
1500
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1501
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1502
+ const contents = {
1503
+ protocol,
1504
+ hostname,
1505
+ port,
1506
+ method: "POST",
1507
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1508
+ headers
1509
+ };
1510
+ if (resolvedHostname !== void 0) {
1511
+ contents.hostname = resolvedHostname;
1512
+ }
1513
+ if (body !== void 0) {
1514
+ contents.body = body;
1515
+ }
1516
+ return new import_protocol_http.HttpRequest(contents);
1517
+ }, "buildHttpRpcRequest");
1518
+ function sharedHeaders(operation) {
1519
+ return {
1520
+ "content-type": "application/x-amz-json-1.0",
1521
+ "x-amz-target": `CloudApiService.${operation}`
1522
+ };
1523
+ }
1524
+ __name(sharedHeaders, "sharedHeaders");
1525
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1526
+ if (encoded.length) {
1527
+ return JSON.parse(encoded);
1528
+ }
1529
+ return {};
1530
+ }), "parseBody");
1531
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
1532
+ const value = await parseBody(errorBody, context);
1533
+ value.message = value.message ?? value.Message;
1534
+ return value;
1535
+ }, "parseErrorBody");
1536
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
1537
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
1538
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
1539
+ let cleanValue = rawValue;
1540
+ if (typeof cleanValue === "number") {
1541
+ cleanValue = cleanValue.toString();
1542
+ }
1543
+ if (cleanValue.indexOf(",") >= 0) {
1544
+ cleanValue = cleanValue.split(",")[0];
1545
+ }
1546
+ if (cleanValue.indexOf(":") >= 0) {
1547
+ cleanValue = cleanValue.split(":")[0];
1548
+ }
1549
+ if (cleanValue.indexOf("#") >= 0) {
1550
+ cleanValue = cleanValue.split("#")[1];
1551
+ }
1552
+ return cleanValue;
1553
+ }, "sanitizeErrorCode");
1554
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
1555
+ if (headerKey !== void 0) {
1556
+ return sanitizeErrorCode(output.headers[headerKey]);
1557
+ }
1558
+ if (data.code !== void 0) {
1559
+ return sanitizeErrorCode(data.code);
1560
+ }
1561
+ if (data["__type"] !== void 0) {
1562
+ return sanitizeErrorCode(data["__type"]);
1563
+ }
1564
+ }, "loadRestJsonErrorCode");
1565
+
1566
+ // src/commands/CancelResourceRequestCommand.ts
1567
+ var _CancelResourceRequestCommand = class _CancelResourceRequestCommand extends import_smithy_client.Command.classBuilder().ep({
1568
+ ...commonParams
1569
+ }).m(function(Command, cs, config, o) {
1570
+ return [
1571
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1572
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1573
+ ];
1574
+ }).s("CloudApiService", "CancelResourceRequest", {}).n("CloudControlClient", "CancelResourceRequestCommand").f(void 0, CancelResourceRequestOutputFilterSensitiveLog).ser(se_CancelResourceRequestCommand).de(de_CancelResourceRequestCommand).build() {
1575
+ };
1576
+ __name(_CancelResourceRequestCommand, "CancelResourceRequestCommand");
1577
+ var CancelResourceRequestCommand = _CancelResourceRequestCommand;
1578
+
1579
+ // src/commands/CreateResourceCommand.ts
1580
+
1581
+
1582
+
1583
+
1584
+ var _CreateResourceCommand = class _CreateResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1585
+ ...commonParams
1586
+ }).m(function(Command, cs, config, o) {
1587
+ return [
1588
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1589
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1590
+ ];
1591
+ }).s("CloudApiService", "CreateResource", {}).n("CloudControlClient", "CreateResourceCommand").f(CreateResourceInputFilterSensitiveLog, CreateResourceOutputFilterSensitiveLog).ser(se_CreateResourceCommand).de(de_CreateResourceCommand).build() {
1592
+ };
1593
+ __name(_CreateResourceCommand, "CreateResourceCommand");
1594
+ var CreateResourceCommand = _CreateResourceCommand;
1595
+
1596
+ // src/commands/DeleteResourceCommand.ts
1597
+
1598
+
1599
+
1600
+
1601
+ var _DeleteResourceCommand = class _DeleteResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1602
+ ...commonParams
1603
+ }).m(function(Command, cs, config, o) {
1604
+ return [
1605
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1606
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1607
+ ];
1608
+ }).s("CloudApiService", "DeleteResource", {}).n("CloudControlClient", "DeleteResourceCommand").f(void 0, DeleteResourceOutputFilterSensitiveLog).ser(se_DeleteResourceCommand).de(de_DeleteResourceCommand).build() {
1609
+ };
1610
+ __name(_DeleteResourceCommand, "DeleteResourceCommand");
1611
+ var DeleteResourceCommand = _DeleteResourceCommand;
1612
+
1613
+ // src/commands/GetResourceCommand.ts
1614
+
1615
+
1616
+
1617
+
1618
+ var _GetResourceCommand = class _GetResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1619
+ ...commonParams
1620
+ }).m(function(Command, cs, config, o) {
1621
+ return [
1622
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1623
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1624
+ ];
1625
+ }).s("CloudApiService", "GetResource", {}).n("CloudControlClient", "GetResourceCommand").f(void 0, GetResourceOutputFilterSensitiveLog).ser(se_GetResourceCommand).de(de_GetResourceCommand).build() {
1626
+ };
1627
+ __name(_GetResourceCommand, "GetResourceCommand");
1628
+ var GetResourceCommand = _GetResourceCommand;
1629
+
1630
+ // src/commands/GetResourceRequestStatusCommand.ts
1631
+
1632
+
1633
+
1634
+
1635
+ var _GetResourceRequestStatusCommand = class _GetResourceRequestStatusCommand extends import_smithy_client.Command.classBuilder().ep({
1636
+ ...commonParams
1637
+ }).m(function(Command, cs, config, o) {
1638
+ return [
1639
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1640
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1641
+ ];
1642
+ }).s("CloudApiService", "GetResourceRequestStatus", {}).n("CloudControlClient", "GetResourceRequestStatusCommand").f(void 0, GetResourceRequestStatusOutputFilterSensitiveLog).ser(se_GetResourceRequestStatusCommand).de(de_GetResourceRequestStatusCommand).build() {
1643
+ };
1644
+ __name(_GetResourceRequestStatusCommand, "GetResourceRequestStatusCommand");
1645
+ var GetResourceRequestStatusCommand = _GetResourceRequestStatusCommand;
1646
+
1647
+ // src/commands/ListResourceRequestsCommand.ts
1648
+
1649
+
1650
+
1651
+
1652
+ var _ListResourceRequestsCommand = class _ListResourceRequestsCommand extends import_smithy_client.Command.classBuilder().ep({
1653
+ ...commonParams
1654
+ }).m(function(Command, cs, config, o) {
1655
+ return [
1656
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1657
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1658
+ ];
1659
+ }).s("CloudApiService", "ListResourceRequests", {}).n("CloudControlClient", "ListResourceRequestsCommand").f(void 0, ListResourceRequestsOutputFilterSensitiveLog).ser(se_ListResourceRequestsCommand).de(de_ListResourceRequestsCommand).build() {
1660
+ };
1661
+ __name(_ListResourceRequestsCommand, "ListResourceRequestsCommand");
1662
+ var ListResourceRequestsCommand = _ListResourceRequestsCommand;
1663
+
1664
+ // src/commands/ListResourcesCommand.ts
1665
+
1666
+
1667
+
1668
+
1669
+ var _ListResourcesCommand = class _ListResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
1670
+ ...commonParams
1671
+ }).m(function(Command, cs, config, o) {
1672
+ return [
1673
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1674
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1675
+ ];
1676
+ }).s("CloudApiService", "ListResources", {}).n("CloudControlClient", "ListResourcesCommand").f(ListResourcesInputFilterSensitiveLog, ListResourcesOutputFilterSensitiveLog).ser(se_ListResourcesCommand).de(de_ListResourcesCommand).build() {
1677
+ };
1678
+ __name(_ListResourcesCommand, "ListResourcesCommand");
1679
+ var ListResourcesCommand = _ListResourcesCommand;
1680
+
1681
+ // src/commands/UpdateResourceCommand.ts
1682
+
1683
+
1684
+
1685
+
1686
+ var _UpdateResourceCommand = class _UpdateResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1687
+ ...commonParams
1688
+ }).m(function(Command, cs, config, o) {
1689
+ return [
1690
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1691
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1692
+ ];
1693
+ }).s("CloudApiService", "UpdateResource", {}).n("CloudControlClient", "UpdateResourceCommand").f(UpdateResourceInputFilterSensitiveLog, UpdateResourceOutputFilterSensitiveLog).ser(se_UpdateResourceCommand).de(de_UpdateResourceCommand).build() {
1694
+ };
1695
+ __name(_UpdateResourceCommand, "UpdateResourceCommand");
1696
+ var UpdateResourceCommand = _UpdateResourceCommand;
1697
+
1698
+ // src/CloudControl.ts
1699
+ var commands = {
1700
+ CancelResourceRequestCommand,
1701
+ CreateResourceCommand,
1702
+ DeleteResourceCommand,
1703
+ GetResourceCommand,
1704
+ GetResourceRequestStatusCommand,
1705
+ ListResourceRequestsCommand,
1706
+ ListResourcesCommand,
1707
+ UpdateResourceCommand
1708
+ };
1709
+ var _CloudControl = class _CloudControl extends CloudControlClient {
1710
+ };
1711
+ __name(_CloudControl, "CloudControl");
1712
+ var CloudControl = _CloudControl;
1713
+ (0, import_smithy_client.createAggregatedClient)(commands, CloudControl);
1714
+
1715
+ // src/pagination/ListResourceRequestsPaginator.ts
1716
+ var import_core = require("@smithy/core");
1717
+ var paginateListResourceRequests = (0, import_core.createPaginator)(CloudControlClient, ListResourceRequestsCommand, "NextToken", "NextToken", "MaxResults");
1718
+
1719
+ // src/pagination/ListResourcesPaginator.ts
1720
+
1721
+ var paginateListResources = (0, import_core.createPaginator)(CloudControlClient, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
1722
+
1723
+ // src/waiters/waitForResourceRequestSuccess.ts
1724
+ var import_util_waiter = require("@smithy/util-waiter");
1725
+ var checkState = /* @__PURE__ */ __name(async (client, input) => {
1726
+ let reason;
1727
+ try {
1728
+ const result = await client.send(new GetResourceRequestStatusCommand(input));
1729
+ reason = result;
1730
+ try {
1731
+ const returnComparator = /* @__PURE__ */ __name(() => {
1732
+ return result.ProgressEvent.OperationStatus;
1733
+ }, "returnComparator");
1734
+ if (returnComparator() === "SUCCESS") {
1735
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
1736
+ }
1737
+ } catch (e) {
1738
+ }
1739
+ try {
1740
+ const returnComparator = /* @__PURE__ */ __name(() => {
1741
+ return result.ProgressEvent.OperationStatus;
1742
+ }, "returnComparator");
1743
+ if (returnComparator() === "FAILED") {
1744
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
1745
+ }
1746
+ } catch (e) {
1747
+ }
1748
+ try {
1749
+ const returnComparator = /* @__PURE__ */ __name(() => {
1750
+ return result.ProgressEvent.OperationStatus;
1751
+ }, "returnComparator");
1752
+ if (returnComparator() === "CANCEL_COMPLETE") {
1753
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
1754
+ }
1755
+ } catch (e) {
1756
+ }
1757
+ } catch (exception) {
1758
+ reason = exception;
1759
+ }
1760
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
1761
+ }, "checkState");
1762
+ var waitForResourceRequestSuccess = /* @__PURE__ */ __name(async (params, input) => {
1763
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
1764
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
1765
+ }, "waitForResourceRequestSuccess");
1766
+ var waitUntilResourceRequestSuccess = /* @__PURE__ */ __name(async (params, input) => {
1767
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
1768
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
1769
+ return (0, import_util_waiter.checkExceptions)(result);
1770
+ }, "waitUntilResourceRequestSuccess");
1771
+
1772
+ // src/index.ts
1773
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
1774
+ // Annotate the CommonJS export names for ESM import in node:
1775
+
1776
+ 0 && (module.exports = {
1777
+ AlreadyExistsException,
1778
+ CancelResourceRequestCommand,
1779
+ CancelResourceRequestOutputFilterSensitiveLog,
1780
+ ClientTokenConflictException,
1781
+ CloudControl,
1782
+ CloudControlClient,
1783
+ CloudControlServiceException,
1784
+ ConcurrentModificationException,
1785
+ ConcurrentOperationException,
1786
+ CreateResourceCommand,
1787
+ CreateResourceInputFilterSensitiveLog,
1788
+ CreateResourceOutputFilterSensitiveLog,
1789
+ DeleteResourceCommand,
1790
+ DeleteResourceOutputFilterSensitiveLog,
1791
+ GeneralServiceException,
1792
+ GetResourceCommand,
1793
+ GetResourceOutputFilterSensitiveLog,
1794
+ GetResourceRequestStatusCommand,
1795
+ GetResourceRequestStatusOutputFilterSensitiveLog,
1796
+ HandlerErrorCode,
1797
+ HandlerFailureException,
1798
+ HandlerInternalFailureException,
1799
+ InvalidCredentialsException,
1800
+ InvalidRequestException,
1801
+ ListResourceRequestsCommand,
1802
+ ListResourceRequestsOutputFilterSensitiveLog,
1803
+ ListResourcesCommand,
1804
+ ListResourcesInputFilterSensitiveLog,
1805
+ ListResourcesOutputFilterSensitiveLog,
1806
+ NetworkFailureException,
1807
+ NotStabilizedException,
1808
+ NotUpdatableException,
1809
+ Operation,
1810
+ OperationStatus,
1811
+ PrivateTypeException,
1812
+ ProgressEventFilterSensitiveLog,
1813
+ RequestTokenNotFoundException,
1814
+ ResourceConflictException,
1815
+ ResourceDescriptionFilterSensitiveLog,
1816
+ ResourceNotFoundException,
1817
+ ServiceInternalErrorException,
1818
+ ServiceLimitExceededException,
1819
+ ThrottlingException,
1820
+ TypeNotFoundException,
1821
+ UnsupportedActionException,
1822
+ UpdateResourceCommand,
1823
+ UpdateResourceInputFilterSensitiveLog,
1824
+ UpdateResourceOutputFilterSensitiveLog,
1825
+ __Client,
1826
+ paginateListResourceRequests,
1827
+ paginateListResources,
1828
+ waitForResourceRequestSuccess,
1829
+ waitUntilResourceRequestSuccess
1830
+ });
1831
+