@aws-sdk/client-launch-wizard 3.928.0 → 3.930.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +478 -583
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/LaunchWizardClient.js +2 -0
  4. package/dist-es/commands/CreateDeploymentCommand.js +3 -10
  5. package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
  6. package/dist-es/commands/GetDeploymentCommand.js +3 -10
  7. package/dist-es/commands/GetWorkloadCommand.js +3 -9
  8. package/dist-es/commands/GetWorkloadDeploymentPatternCommand.js +3 -9
  9. package/dist-es/commands/ListDeploymentEventsCommand.js +3 -9
  10. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  11. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  12. package/dist-es/commands/ListWorkloadDeploymentPatternsCommand.js +3 -9
  13. package/dist-es/commands/ListWorkloadsCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/models/models_0.js +0 -13
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +446 -0
  19. package/dist-types/LaunchWizardClient.d.ts +10 -1
  20. package/dist-types/models/models_0.d.ts +0 -12
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +65 -0
  26. package/dist-types/ts3.4/LaunchWizardClient.d.ts +4 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +0 -9
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +71 -0
  33. package/package.json +33 -33
  34. package/dist-es/protocols/Aws_restJson1.js +0 -474
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class LaunchWizardClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class LaunchWizardClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class LaunchWizardServiceException extends smithyClient.ServiceException {
113
+ let LaunchWizardServiceException$1 = class LaunchWizardServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, LaunchWizardServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class InternalServerException extends LaunchWizardServiceException {
120
+ let InternalServerException$1 = class InternalServerException extends LaunchWizardServiceException$1 {
121
121
  name = "InternalServerException";
122
122
  $fault = "server";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class InternalServerException extends LaunchWizardServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, InternalServerException.prototype);
130
130
  }
131
- }
132
- class ResourceLimitException extends LaunchWizardServiceException {
131
+ };
132
+ let ResourceLimitException$1 = class ResourceLimitException extends LaunchWizardServiceException$1 {
133
133
  name = "ResourceLimitException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class ResourceLimitException extends LaunchWizardServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, ResourceLimitException.prototype);
142
142
  }
143
- }
144
- class ResourceNotFoundException extends LaunchWizardServiceException {
143
+ };
144
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends LaunchWizardServiceException$1 {
145
145
  name = "ResourceNotFoundException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class ResourceNotFoundException extends LaunchWizardServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
154
154
  }
155
- }
156
- class ValidationException extends LaunchWizardServiceException {
155
+ };
156
+ let ValidationException$1 = class ValidationException extends LaunchWizardServiceException$1 {
157
157
  name = "ValidationException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,7 +164,7 @@ class ValidationException extends LaunchWizardServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, ValidationException.prototype);
166
166
  }
167
- }
167
+ };
168
168
  const DeploymentStatus = {
169
169
  COMPLETED: "COMPLETED",
170
170
  CREATING: "CREATING",
@@ -202,502 +202,455 @@ const WorkloadDeploymentPatternStatus = {
202
202
  DISABLED: "DISABLED",
203
203
  INACTIVE: "INACTIVE",
204
204
  };
205
- const CreateDeploymentInputFilterSensitiveLog = (obj) => ({
206
- ...obj,
207
- ...(obj.specifications && { specifications: smithyClient.SENSITIVE_STRING }),
208
- });
209
- const DeploymentDataFilterSensitiveLog = (obj) => ({
210
- ...obj,
211
- ...(obj.specifications && { specifications: smithyClient.SENSITIVE_STRING }),
212
- });
213
- const GetDeploymentOutputFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.deployment && { deployment: DeploymentDataFilterSensitiveLog(obj.deployment) }),
216
- });
217
205
 
218
- const se_CreateDeploymentCommand = async (input, context) => {
219
- const b = core.requestBuilder(input, context);
220
- const headers = {
221
- "content-type": "application/json",
222
- };
223
- b.bp("/createDeployment");
224
- let body;
225
- body = JSON.stringify(smithyClient.take(input, {
226
- deploymentPatternName: [],
227
- dryRun: [],
228
- name: [],
229
- specifications: (_) => smithyClient._json(_),
230
- tags: (_) => smithyClient._json(_),
231
- workloadName: [],
232
- }));
233
- b.m("POST").h(headers).b(body);
234
- return b.build();
235
- };
236
- const se_DeleteDeploymentCommand = async (input, context) => {
237
- const b = core.requestBuilder(input, context);
238
- const headers = {
239
- "content-type": "application/json",
240
- };
241
- b.bp("/deleteDeployment");
242
- let body;
243
- body = JSON.stringify(smithyClient.take(input, {
244
- deploymentId: [],
245
- }));
246
- b.m("POST").h(headers).b(body);
247
- return b.build();
248
- };
249
- const se_GetDeploymentCommand = async (input, context) => {
250
- const b = core.requestBuilder(input, context);
251
- const headers = {
252
- "content-type": "application/json",
253
- };
254
- b.bp("/getDeployment");
255
- let body;
256
- body = JSON.stringify(smithyClient.take(input, {
257
- deploymentId: [],
258
- }));
259
- b.m("POST").h(headers).b(body);
260
- return b.build();
261
- };
262
- const se_GetWorkloadCommand = async (input, context) => {
263
- const b = core.requestBuilder(input, context);
264
- const headers = {
265
- "content-type": "application/json",
266
- };
267
- b.bp("/getWorkload");
268
- let body;
269
- body = JSON.stringify(smithyClient.take(input, {
270
- workloadName: [],
271
- }));
272
- b.m("POST").h(headers).b(body);
273
- return b.build();
274
- };
275
- const se_GetWorkloadDeploymentPatternCommand = async (input, context) => {
276
- const b = core.requestBuilder(input, context);
277
- const headers = {
278
- "content-type": "application/json",
279
- };
280
- b.bp("/getWorkloadDeploymentPattern");
281
- let body;
282
- body = JSON.stringify(smithyClient.take(input, {
283
- deploymentPatternName: [],
284
- workloadName: [],
285
- }));
286
- b.m("POST").h(headers).b(body);
287
- return b.build();
288
- };
289
- const se_ListDeploymentEventsCommand = async (input, context) => {
290
- const b = core.requestBuilder(input, context);
291
- const headers = {
292
- "content-type": "application/json",
293
- };
294
- b.bp("/listDeploymentEvents");
295
- let body;
296
- body = JSON.stringify(smithyClient.take(input, {
297
- deploymentId: [],
298
- maxResults: [],
299
- nextToken: [],
300
- }));
301
- b.m("POST").h(headers).b(body);
302
- return b.build();
303
- };
304
- const se_ListDeploymentsCommand = async (input, context) => {
305
- const b = core.requestBuilder(input, context);
306
- const headers = {
307
- "content-type": "application/json",
308
- };
309
- b.bp("/listDeployments");
310
- let body;
311
- body = JSON.stringify(smithyClient.take(input, {
312
- filters: (_) => smithyClient._json(_),
313
- maxResults: [],
314
- nextToken: [],
315
- }));
316
- b.m("POST").h(headers).b(body);
317
- return b.build();
318
- };
319
- const se_ListTagsForResourceCommand = async (input, context) => {
320
- const b = core.requestBuilder(input, context);
321
- const headers = {};
322
- b.bp("/tags/{resourceArn}");
323
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
324
- let body;
325
- b.m("GET").h(headers).b(body);
326
- return b.build();
327
- };
328
- const se_ListWorkloadDeploymentPatternsCommand = async (input, context) => {
329
- const b = core.requestBuilder(input, context);
330
- const headers = {
331
- "content-type": "application/json",
332
- };
333
- b.bp("/listWorkloadDeploymentPatterns");
334
- let body;
335
- body = JSON.stringify(smithyClient.take(input, {
336
- maxResults: [],
337
- nextToken: [],
338
- workloadName: [],
339
- }));
340
- b.m("POST").h(headers).b(body);
341
- return b.build();
342
- };
343
- const se_ListWorkloadsCommand = async (input, context) => {
344
- const b = core.requestBuilder(input, context);
345
- const headers = {
346
- "content-type": "application/json",
347
- };
348
- b.bp("/listWorkloads");
349
- let body;
350
- body = JSON.stringify(smithyClient.take(input, {
351
- maxResults: [],
352
- nextToken: [],
353
- }));
354
- b.m("POST").h(headers).b(body);
355
- return b.build();
356
- };
357
- const se_TagResourceCommand = async (input, context) => {
358
- const b = core.requestBuilder(input, context);
359
- const headers = {
360
- "content-type": "application/json",
361
- };
362
- b.bp("/tags/{resourceArn}");
363
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
364
- let body;
365
- body = JSON.stringify(smithyClient.take(input, {
366
- tags: (_) => smithyClient._json(_),
367
- }));
368
- b.m("POST").h(headers).b(body);
369
- return b.build();
370
- };
371
- const se_UntagResourceCommand = async (input, context) => {
372
- const b = core.requestBuilder(input, context);
373
- const headers = {};
374
- b.bp("/tags/{resourceArn}");
375
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
376
- const query = smithyClient.map({
377
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
378
- });
379
- let body;
380
- b.m("DELETE").h(headers).q(query).b(body);
381
- return b.build();
382
- };
383
- const de_CreateDeploymentCommand = async (output, context) => {
384
- if (output.statusCode !== 200 && output.statusCode >= 300) {
385
- return de_CommandError(output, context);
386
- }
387
- const contents = smithyClient.map({
388
- $metadata: deserializeMetadata(output),
389
- });
390
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
391
- const doc = smithyClient.take(data, {
392
- deploymentId: smithyClient.expectString,
393
- });
394
- Object.assign(contents, doc);
395
- return contents;
396
- };
397
- const de_DeleteDeploymentCommand = async (output, context) => {
398
- if (output.statusCode !== 200 && output.statusCode >= 300) {
399
- return de_CommandError(output, context);
400
- }
401
- const contents = smithyClient.map({
402
- $metadata: deserializeMetadata(output),
403
- });
404
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
405
- const doc = smithyClient.take(data, {
406
- status: smithyClient.expectString,
407
- statusReason: smithyClient.expectString,
408
- });
409
- Object.assign(contents, doc);
410
- return contents;
411
- };
412
- const de_GetDeploymentCommand = async (output, context) => {
413
- if (output.statusCode !== 200 && output.statusCode >= 300) {
414
- return de_CommandError(output, context);
415
- }
416
- const contents = smithyClient.map({
417
- $metadata: deserializeMetadata(output),
418
- });
419
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
420
- const doc = smithyClient.take(data, {
421
- deployment: (_) => de_DeploymentData(_),
422
- });
423
- Object.assign(contents, doc);
424
- return contents;
425
- };
426
- const de_GetWorkloadCommand = async (output, context) => {
427
- if (output.statusCode !== 200 && output.statusCode >= 300) {
428
- return de_CommandError(output, context);
429
- }
430
- const contents = smithyClient.map({
431
- $metadata: deserializeMetadata(output),
432
- });
433
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
434
- const doc = smithyClient.take(data, {
435
- workload: smithyClient._json,
436
- });
437
- Object.assign(contents, doc);
438
- return contents;
439
- };
440
- const de_GetWorkloadDeploymentPatternCommand = async (output, context) => {
441
- if (output.statusCode !== 200 && output.statusCode >= 300) {
442
- return de_CommandError(output, context);
443
- }
444
- const contents = smithyClient.map({
445
- $metadata: deserializeMetadata(output),
446
- });
447
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
448
- const doc = smithyClient.take(data, {
449
- workloadDeploymentPattern: smithyClient._json,
450
- });
451
- Object.assign(contents, doc);
452
- return contents;
453
- };
454
- const de_ListDeploymentEventsCommand = async (output, context) => {
455
- if (output.statusCode !== 200 && output.statusCode >= 300) {
456
- return de_CommandError(output, context);
457
- }
458
- const contents = smithyClient.map({
459
- $metadata: deserializeMetadata(output),
460
- });
461
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
462
- const doc = smithyClient.take(data, {
463
- deploymentEvents: (_) => de_DeploymentEventDataSummaryList(_),
464
- nextToken: smithyClient.expectString,
465
- });
466
- Object.assign(contents, doc);
467
- return contents;
468
- };
469
- const de_ListDeploymentsCommand = async (output, context) => {
470
- if (output.statusCode !== 200 && output.statusCode >= 300) {
471
- return de_CommandError(output, context);
472
- }
473
- const contents = smithyClient.map({
474
- $metadata: deserializeMetadata(output),
475
- });
476
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
477
- const doc = smithyClient.take(data, {
478
- deployments: (_) => de_DeploymentDataSummaryList(_),
479
- nextToken: smithyClient.expectString,
480
- });
481
- Object.assign(contents, doc);
482
- return contents;
483
- };
484
- const de_ListTagsForResourceCommand = async (output, context) => {
485
- if (output.statusCode !== 200 && output.statusCode >= 300) {
486
- return de_CommandError(output, context);
487
- }
488
- const contents = smithyClient.map({
489
- $metadata: deserializeMetadata(output),
490
- });
491
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
492
- const doc = smithyClient.take(data, {
493
- tags: smithyClient._json,
494
- });
495
- Object.assign(contents, doc);
496
- return contents;
497
- };
498
- const de_ListWorkloadDeploymentPatternsCommand = async (output, context) => {
499
- if (output.statusCode !== 200 && output.statusCode >= 300) {
500
- return de_CommandError(output, context);
501
- }
502
- const contents = smithyClient.map({
503
- $metadata: deserializeMetadata(output),
504
- });
505
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
506
- const doc = smithyClient.take(data, {
507
- nextToken: smithyClient.expectString,
508
- workloadDeploymentPatterns: smithyClient._json,
509
- });
510
- Object.assign(contents, doc);
511
- return contents;
512
- };
513
- const de_ListWorkloadsCommand = async (output, context) => {
514
- if (output.statusCode !== 200 && output.statusCode >= 300) {
515
- return de_CommandError(output, context);
516
- }
517
- const contents = smithyClient.map({
518
- $metadata: deserializeMetadata(output),
519
- });
520
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
521
- const doc = smithyClient.take(data, {
522
- nextToken: smithyClient.expectString,
523
- workloads: smithyClient._json,
524
- });
525
- Object.assign(contents, doc);
526
- return contents;
527
- };
528
- const de_TagResourceCommand = async (output, context) => {
529
- if (output.statusCode !== 200 && output.statusCode >= 300) {
530
- return de_CommandError(output, context);
531
- }
532
- const contents = smithyClient.map({
533
- $metadata: deserializeMetadata(output),
534
- });
535
- await smithyClient.collectBody(output.body, context);
536
- return contents;
537
- };
538
- const de_UntagResourceCommand = async (output, context) => {
539
- if (output.statusCode !== 200 && output.statusCode >= 300) {
540
- return de_CommandError(output, context);
541
- }
542
- const contents = smithyClient.map({
543
- $metadata: deserializeMetadata(output),
544
- });
545
- await smithyClient.collectBody(output.body, context);
546
- return contents;
547
- };
548
- const de_CommandError = async (output, context) => {
549
- const parsedOutput = {
550
- ...output,
551
- body: await core$1.parseJsonErrorBody(output.body, context),
552
- };
553
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
554
- switch (errorCode) {
555
- case "InternalServerException":
556
- case "com.amazonaws.launchwizard#InternalServerException":
557
- throw await de_InternalServerExceptionRes(parsedOutput);
558
- case "ResourceLimitException":
559
- case "com.amazonaws.launchwizard#ResourceLimitException":
560
- throw await de_ResourceLimitExceptionRes(parsedOutput);
561
- case "ResourceNotFoundException":
562
- case "com.amazonaws.launchwizard#ResourceNotFoundException":
563
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
564
- case "ValidationException":
565
- case "com.amazonaws.launchwizard#ValidationException":
566
- throw await de_ValidationExceptionRes(parsedOutput);
567
- default:
568
- const parsedBody = parsedOutput.body;
569
- return throwDefaultError({
570
- output,
571
- parsedBody,
572
- errorCode,
573
- });
574
- }
575
- };
576
- const throwDefaultError = smithyClient.withBaseException(LaunchWizardServiceException);
577
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
578
- const contents = smithyClient.map({});
579
- const data = parsedOutput.body;
580
- const doc = smithyClient.take(data, {
581
- message: smithyClient.expectString,
582
- });
583
- Object.assign(contents, doc);
584
- const exception = new InternalServerException({
585
- $metadata: deserializeMetadata(parsedOutput),
586
- ...contents,
587
- });
588
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
589
- };
590
- const de_ResourceLimitExceptionRes = async (parsedOutput, context) => {
591
- const contents = smithyClient.map({});
592
- const data = parsedOutput.body;
593
- const doc = smithyClient.take(data, {
594
- message: smithyClient.expectString,
595
- });
596
- Object.assign(contents, doc);
597
- const exception = new ResourceLimitException({
598
- $metadata: deserializeMetadata(parsedOutput),
599
- ...contents,
600
- });
601
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
602
- };
603
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
604
- const contents = smithyClient.map({});
605
- const data = parsedOutput.body;
606
- const doc = smithyClient.take(data, {
607
- message: smithyClient.expectString,
608
- });
609
- Object.assign(contents, doc);
610
- const exception = new ResourceNotFoundException({
611
- $metadata: deserializeMetadata(parsedOutput),
612
- ...contents,
613
- });
614
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
615
- };
616
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
617
- const contents = smithyClient.map({});
618
- const data = parsedOutput.body;
619
- const doc = smithyClient.take(data, {
620
- message: smithyClient.expectString,
621
- });
622
- Object.assign(contents, doc);
623
- const exception = new ValidationException({
624
- $metadata: deserializeMetadata(parsedOutput),
625
- ...contents,
626
- });
627
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
628
- };
629
- const de_DeploymentData = (output, context) => {
630
- return smithyClient.take(output, {
631
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
632
- deletedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
633
- deploymentArn: smithyClient.expectString,
634
- id: smithyClient.expectString,
635
- name: smithyClient.expectString,
636
- patternName: smithyClient.expectString,
637
- resourceGroup: smithyClient.expectString,
638
- specifications: smithyClient._json,
639
- status: smithyClient.expectString,
640
- tags: smithyClient._json,
641
- workloadName: smithyClient.expectString,
642
- });
643
- };
644
- const de_DeploymentDataSummary = (output, context) => {
645
- return smithyClient.take(output, {
646
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
647
- id: smithyClient.expectString,
648
- name: smithyClient.expectString,
649
- patternName: smithyClient.expectString,
650
- status: smithyClient.expectString,
651
- workloadName: smithyClient.expectString,
652
- });
653
- };
654
- const de_DeploymentDataSummaryList = (output, context) => {
655
- const retVal = (output || [])
656
- .filter((e) => e != null)
657
- .map((entry) => {
658
- return de_DeploymentDataSummary(entry);
659
- });
660
- return retVal;
661
- };
662
- const de_DeploymentEventDataSummary = (output, context) => {
663
- return smithyClient.take(output, {
664
- description: smithyClient.expectString,
665
- name: smithyClient.expectString,
666
- status: smithyClient.expectString,
667
- statusReason: smithyClient.expectString,
668
- timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
669
- });
670
- };
671
- const de_DeploymentEventDataSummaryList = (output, context) => {
672
- const retVal = (output || [])
673
- .filter((e) => e != null)
674
- .map((entry) => {
675
- return de_DeploymentEventDataSummary(entry);
676
- });
677
- return retVal;
678
- };
679
- const deserializeMetadata = (output) => ({
680
- httpStatusCode: output.statusCode,
681
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
682
- extendedRequestId: output.headers["x-amz-id-2"],
683
- cfId: output.headers["x-amz-cf-id"],
684
- });
206
+ const _CD = "CreateDeployment";
207
+ const _CDI = "CreateDeploymentInput";
208
+ const _CDO = "CreateDeploymentOutput";
209
+ const _DCF = "DeploymentConditionalField";
210
+ const _DD = "DeploymentData";
211
+ const _DDI = "DeleteDeploymentInput";
212
+ const _DDO = "DeleteDeploymentOutput";
213
+ const _DDS = "DeploymentDataSummary";
214
+ const _DDSL = "DeploymentDataSummaryList";
215
+ const _DDe = "DeleteDeployment";
216
+ const _DEDS = "DeploymentEventDataSummary";
217
+ const _DEDSL = "DeploymentEventDataSummaryList";
218
+ const _DF = "DeploymentFilter";
219
+ const _DFL = "DeploymentFilterList";
220
+ const _DS = "DeploymentSpecifications";
221
+ const _DSD = "DeploymentSpecificationsData";
222
+ const _DSF = "DeploymentSpecificationsField";
223
+ const _GD = "GetDeployment";
224
+ const _GDI = "GetDeploymentInput";
225
+ const _GDO = "GetDeploymentOutput";
226
+ const _GW = "GetWorkload";
227
+ const _GWDP = "GetWorkloadDeploymentPattern";
228
+ const _GWDPI = "GetWorkloadDeploymentPatternInput";
229
+ const _GWDPO = "GetWorkloadDeploymentPatternOutput";
230
+ const _GWI = "GetWorkloadInput";
231
+ const _GWO = "GetWorkloadOutput";
232
+ const _ISE = "InternalServerException";
233
+ const _LD = "ListDeployments";
234
+ const _LDE = "ListDeploymentEvents";
235
+ const _LDEI = "ListDeploymentEventsInput";
236
+ const _LDEO = "ListDeploymentEventsOutput";
237
+ const _LDI = "ListDeploymentsInput";
238
+ const _LDO = "ListDeploymentsOutput";
239
+ const _LTFR = "ListTagsForResource";
240
+ const _LTFRI = "ListTagsForResourceInput";
241
+ const _LTFRO = "ListTagsForResourceOutput";
242
+ const _LW = "ListWorkloads";
243
+ const _LWDP = "ListWorkloadDeploymentPatterns";
244
+ const _LWDPI = "ListWorkloadDeploymentPatternsInput";
245
+ const _LWDPO = "ListWorkloadDeploymentPatternsOutput";
246
+ const _LWI = "ListWorkloadsInput";
247
+ const _LWO = "ListWorkloadsOutput";
248
+ const _RLE = "ResourceLimitException";
249
+ const _RNFE = "ResourceNotFoundException";
250
+ const _SCD = "SpecificationsConditionalData";
251
+ const _TR = "TagResource";
252
+ const _TRI = "TagResourceInput";
253
+ const _TRO = "TagResourceOutput";
254
+ const _UR = "UntagResource";
255
+ const _URI = "UntagResourceInput";
256
+ const _URO = "UntagResourceOutput";
257
+ const _VE = "ValidationException";
258
+ const _WD = "WorkloadData";
259
+ const _WDPD = "WorkloadDeploymentPatternData";
260
+ const _WDPDS = "WorkloadDeploymentPatternDataSummary";
261
+ const _WDPDSL = "WorkloadDeploymentPatternDataSummaryList";
262
+ const _WDS = "WorkloadDataSummary";
263
+ const _WDSL = "WorkloadDataSummaryList";
264
+ const _aV = "allowedValues";
265
+ const _c = "comparator";
266
+ const _cA = "createdAt";
267
+ const _cl = "client";
268
+ const _co = "conditionals";
269
+ const _d = "description";
270
+ const _dA = "deletedAt";
271
+ const _dAe = "deploymentArn";
272
+ const _dE = "deploymentEvents";
273
+ const _dI = "deploymentId";
274
+ const _dN = "displayName";
275
+ const _dPN = "deploymentPatternName";
276
+ const _dR = "dryRun";
277
+ const _dU = "documentationUrl";
278
+ const _de = "deployment";
279
+ const _dep = "deployments";
280
+ const _e = "error";
281
+ const _f = "filters";
282
+ const _h = "http";
283
+ const _hE = "httpError";
284
+ const _hQ = "httpQuery";
285
+ const _i = "id";
286
+ const _iU = "iconUrl";
287
+ const _m = "message";
288
+ const _mR = "maxResults";
289
+ const _n = "name";
290
+ const _nT = "nextToken";
291
+ const _pN = "patternName";
292
+ const _r = "required";
293
+ const _rA = "resourceArn";
294
+ const _rG = "resourceGroup";
295
+ const _s = "specifications";
296
+ const _sM = "statusMessage";
297
+ const _sR = "statusReason";
298
+ const _se = "server";
299
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.launchwizard";
300
+ const _st = "status";
301
+ const _t = "tags";
685
302
  const _tK = "tagKeys";
303
+ const _ti = "timestamp";
304
+ const _v = "value";
305
+ const _va = "values";
306
+ const _w = "workload";
307
+ const _wDP = "workloadDeploymentPattern";
308
+ const _wDPo = "workloadDeploymentPatterns";
309
+ const _wN = "workloadName";
310
+ const _wVN = "workloadVersionName";
311
+ const _wo = "workloads";
312
+ const n0 = "com.amazonaws.launchwizard";
313
+ var CreateDeploymentInput = [
314
+ 3,
315
+ n0,
316
+ _CDI,
317
+ 0,
318
+ [_wN, _dPN, _n, _s, _dR, _t],
319
+ [0, 0, 0, [() => DeploymentSpecifications, 0], 2, 128 | 0],
320
+ ];
321
+ var CreateDeploymentOutput = [3, n0, _CDO, 0, [_dI], [0]];
322
+ var DeleteDeploymentInput = [3, n0, _DDI, 0, [_dI], [0]];
323
+ var DeleteDeploymentOutput = [3, n0, _DDO, 0, [_st, _sR], [0, 0]];
324
+ var DeploymentConditionalField = [3, n0, _DCF, 0, [_n, _v, _c], [0, 0, 0]];
325
+ var DeploymentData = [
326
+ 3,
327
+ n0,
328
+ _DD,
329
+ 0,
330
+ [_n, _i, _wN, _pN, _st, _cA, _s, _rG, _dA, _t, _dAe],
331
+ [0, 0, 0, 0, 0, 4, [() => DeploymentSpecifications, 0], 0, 4, 128 | 0, 0],
332
+ ];
333
+ var DeploymentDataSummary = [
334
+ 3,
335
+ n0,
336
+ _DDS,
337
+ 0,
338
+ [_n, _i, _wN, _pN, _st, _cA],
339
+ [0, 0, 0, 0, 0, 4],
340
+ ];
341
+ var DeploymentEventDataSummary = [
342
+ 3,
343
+ n0,
344
+ _DEDS,
345
+ 0,
346
+ [_n, _d, _st, _sR, _ti],
347
+ [0, 0, 0, 0, 4],
348
+ ];
349
+ var DeploymentFilter = [3, n0, _DF, 0, [_n, _va], [0, 64 | 0]];
350
+ var DeploymentSpecificationsField = [
351
+ 3,
352
+ n0,
353
+ _DSF,
354
+ 0,
355
+ [_n, _d, _aV, _r, _co],
356
+ [0, 0, 64 | 0, 0, () => SpecificationsConditionalData],
357
+ ];
358
+ var GetDeploymentInput = [3, n0, _GDI, 0, [_dI], [0]];
359
+ var GetDeploymentOutput = [3, n0, _GDO, 0, [_de], [[() => DeploymentData, 0]]];
360
+ var GetWorkloadDeploymentPatternInput = [3, n0, _GWDPI, 0, [_wN, _dPN], [0, 0]];
361
+ var GetWorkloadDeploymentPatternOutput = [
362
+ 3,
363
+ n0,
364
+ _GWDPO,
365
+ 0,
366
+ [_wDP],
367
+ [() => WorkloadDeploymentPatternData],
368
+ ];
369
+ var GetWorkloadInput = [3, n0, _GWI, 0, [_wN], [0]];
370
+ var GetWorkloadOutput = [3, n0, _GWO, 0, [_w], [() => WorkloadData]];
371
+ var InternalServerException = [
372
+ -3,
373
+ n0,
374
+ _ISE,
375
+ {
376
+ [_e]: _se,
377
+ [_hE]: 500,
378
+ },
379
+ [_m],
380
+ [0],
381
+ ];
382
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
383
+ var ListDeploymentEventsInput = [3, n0, _LDEI, 0, [_dI, _mR, _nT], [0, 1, 0]];
384
+ var ListDeploymentEventsOutput = [
385
+ 3,
386
+ n0,
387
+ _LDEO,
388
+ 0,
389
+ [_dE, _nT],
390
+ [() => DeploymentEventDataSummaryList, 0],
391
+ ];
392
+ var ListDeploymentsInput = [
393
+ 3,
394
+ n0,
395
+ _LDI,
396
+ 0,
397
+ [_f, _mR, _nT],
398
+ [() => DeploymentFilterList, 1, 0],
399
+ ];
400
+ var ListDeploymentsOutput = [
401
+ 3,
402
+ n0,
403
+ _LDO,
404
+ 0,
405
+ [_dep, _nT],
406
+ [() => DeploymentDataSummaryList, 0],
407
+ ];
408
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
409
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
410
+ var ListWorkloadDeploymentPatternsInput = [3, n0, _LWDPI, 0, [_wN, _mR, _nT], [0, 1, 0]];
411
+ var ListWorkloadDeploymentPatternsOutput = [
412
+ 3,
413
+ n0,
414
+ _LWDPO,
415
+ 0,
416
+ [_wDPo, _nT],
417
+ [() => WorkloadDeploymentPatternDataSummaryList, 0],
418
+ ];
419
+ var ListWorkloadsInput = [3, n0, _LWI, 0, [_mR, _nT], [1, 0]];
420
+ var ListWorkloadsOutput = [
421
+ 3,
422
+ n0,
423
+ _LWO,
424
+ 0,
425
+ [_wo, _nT],
426
+ [() => WorkloadDataSummaryList, 0],
427
+ ];
428
+ var ResourceLimitException = [
429
+ -3,
430
+ n0,
431
+ _RLE,
432
+ {
433
+ [_e]: _cl,
434
+ [_hE]: 400,
435
+ },
436
+ [_m],
437
+ [0],
438
+ ];
439
+ schema.TypeRegistry.for(n0).registerError(ResourceLimitException, ResourceLimitException$1);
440
+ var ResourceNotFoundException = [
441
+ -3,
442
+ n0,
443
+ _RNFE,
444
+ {
445
+ [_e]: _cl,
446
+ [_hE]: 404,
447
+ },
448
+ [_m],
449
+ [0],
450
+ ];
451
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
452
+ var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
453
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
454
+ var UntagResourceInput = [
455
+ 3,
456
+ n0,
457
+ _URI,
458
+ 0,
459
+ [_rA, _tK],
460
+ [
461
+ [0, 1],
462
+ [
463
+ 64 | 0,
464
+ {
465
+ [_hQ]: _tK,
466
+ },
467
+ ],
468
+ ],
469
+ ];
470
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
471
+ var ValidationException = [
472
+ -3,
473
+ n0,
474
+ _VE,
475
+ {
476
+ [_e]: _cl,
477
+ [_hE]: 400,
478
+ },
479
+ [_m],
480
+ [0],
481
+ ];
482
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
483
+ var WorkloadData = [
484
+ 3,
485
+ n0,
486
+ _WD,
487
+ 0,
488
+ [_wN, _dN, _d, _dU, _iU, _st, _sM],
489
+ [0, 0, 0, 0, 0, 0, 0],
490
+ ];
491
+ var WorkloadDataSummary = [3, n0, _WDS, 0, [_wN, _dN], [0, 0]];
492
+ var WorkloadDeploymentPatternData = [
493
+ 3,
494
+ n0,
495
+ _WDPD,
496
+ 0,
497
+ [_wN, _dPN, _wVN, _dN, _d, _st, _sM, _s],
498
+ [0, 0, 0, 0, 0, 0, 0, () => DeploymentSpecificationsData],
499
+ ];
500
+ var WorkloadDeploymentPatternDataSummary = [
501
+ 3,
502
+ n0,
503
+ _WDPDS,
504
+ 0,
505
+ [_wN, _dPN, _wVN, _dN, _d, _st, _sM],
506
+ [0, 0, 0, 0, 0, 0, 0],
507
+ ];
508
+ var LaunchWizardServiceException = [-3, _sm, "LaunchWizardServiceException", 0, [], []];
509
+ schema.TypeRegistry.for(_sm).registerError(LaunchWizardServiceException, LaunchWizardServiceException$1);
510
+ var DeploymentDataSummaryList = [1, n0, _DDSL, 0, () => DeploymentDataSummary];
511
+ var DeploymentEventDataSummaryList = [1, n0, _DEDSL, 0, () => DeploymentEventDataSummary];
512
+ var DeploymentFilterList = [1, n0, _DFL, 0, () => DeploymentFilter];
513
+ var DeploymentSpecificationsData = [1, n0, _DSD, 0, () => DeploymentSpecificationsField];
514
+ var SpecificationsConditionalData = [1, n0, _SCD, 0, () => DeploymentConditionalField];
515
+ var WorkloadDataSummaryList = [1, n0, _WDSL, 0, () => WorkloadDataSummary];
516
+ var WorkloadDeploymentPatternDataSummaryList = [
517
+ 1,
518
+ n0,
519
+ _WDPDSL,
520
+ 0,
521
+ () => WorkloadDeploymentPatternDataSummary,
522
+ ];
523
+ var DeploymentSpecifications = [2, n0, _DS, 8, 0, 0];
524
+ var CreateDeployment = [
525
+ 9,
526
+ n0,
527
+ _CD,
528
+ {
529
+ [_h]: ["POST", "/createDeployment", 200],
530
+ },
531
+ () => CreateDeploymentInput,
532
+ () => CreateDeploymentOutput,
533
+ ];
534
+ var DeleteDeployment = [
535
+ 9,
536
+ n0,
537
+ _DDe,
538
+ {
539
+ [_h]: ["POST", "/deleteDeployment", 200],
540
+ },
541
+ () => DeleteDeploymentInput,
542
+ () => DeleteDeploymentOutput,
543
+ ];
544
+ var GetDeployment = [
545
+ 9,
546
+ n0,
547
+ _GD,
548
+ {
549
+ [_h]: ["POST", "/getDeployment", 200],
550
+ },
551
+ () => GetDeploymentInput,
552
+ () => GetDeploymentOutput,
553
+ ];
554
+ var GetWorkload = [
555
+ 9,
556
+ n0,
557
+ _GW,
558
+ {
559
+ [_h]: ["POST", "/getWorkload", 200],
560
+ },
561
+ () => GetWorkloadInput,
562
+ () => GetWorkloadOutput,
563
+ ];
564
+ var GetWorkloadDeploymentPattern = [
565
+ 9,
566
+ n0,
567
+ _GWDP,
568
+ {
569
+ [_h]: ["POST", "/getWorkloadDeploymentPattern", 200],
570
+ },
571
+ () => GetWorkloadDeploymentPatternInput,
572
+ () => GetWorkloadDeploymentPatternOutput,
573
+ ];
574
+ var ListDeploymentEvents = [
575
+ 9,
576
+ n0,
577
+ _LDE,
578
+ {
579
+ [_h]: ["POST", "/listDeploymentEvents", 200],
580
+ },
581
+ () => ListDeploymentEventsInput,
582
+ () => ListDeploymentEventsOutput,
583
+ ];
584
+ var ListDeployments = [
585
+ 9,
586
+ n0,
587
+ _LD,
588
+ {
589
+ [_h]: ["POST", "/listDeployments", 200],
590
+ },
591
+ () => ListDeploymentsInput,
592
+ () => ListDeploymentsOutput,
593
+ ];
594
+ var ListTagsForResource = [
595
+ 9,
596
+ n0,
597
+ _LTFR,
598
+ {
599
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
600
+ },
601
+ () => ListTagsForResourceInput,
602
+ () => ListTagsForResourceOutput,
603
+ ];
604
+ var ListWorkloadDeploymentPatterns = [
605
+ 9,
606
+ n0,
607
+ _LWDP,
608
+ {
609
+ [_h]: ["POST", "/listWorkloadDeploymentPatterns", 200],
610
+ },
611
+ () => ListWorkloadDeploymentPatternsInput,
612
+ () => ListWorkloadDeploymentPatternsOutput,
613
+ ];
614
+ var ListWorkloads = [
615
+ 9,
616
+ n0,
617
+ _LW,
618
+ {
619
+ [_h]: ["POST", "/listWorkloads", 200],
620
+ },
621
+ () => ListWorkloadsInput,
622
+ () => ListWorkloadsOutput,
623
+ ];
624
+ var TagResource = [
625
+ 9,
626
+ n0,
627
+ _TR,
628
+ {
629
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
630
+ },
631
+ () => TagResourceInput,
632
+ () => TagResourceOutput,
633
+ ];
634
+ var UntagResource = [
635
+ 9,
636
+ n0,
637
+ _UR,
638
+ {
639
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
640
+ },
641
+ () => UntagResourceInput,
642
+ () => UntagResourceOutput,
643
+ ];
686
644
 
687
645
  class CreateDeploymentCommand extends smithyClient.Command
688
646
  .classBuilder()
689
647
  .ep(commonParams)
690
648
  .m(function (Command, cs, config, o) {
691
- return [
692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
694
- ];
649
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
650
  })
696
651
  .s("LaunchWizard", "CreateDeployment", {})
697
652
  .n("LaunchWizardClient", "CreateDeploymentCommand")
698
- .f(CreateDeploymentInputFilterSensitiveLog, void 0)
699
- .ser(se_CreateDeploymentCommand)
700
- .de(de_CreateDeploymentCommand)
653
+ .sc(CreateDeployment)
701
654
  .build() {
702
655
  }
703
656
 
@@ -705,16 +658,11 @@ class DeleteDeploymentCommand extends smithyClient.Command
705
658
  .classBuilder()
706
659
  .ep(commonParams)
707
660
  .m(function (Command, cs, config, o) {
708
- return [
709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
711
- ];
661
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
712
662
  })
713
663
  .s("LaunchWizard", "DeleteDeployment", {})
714
664
  .n("LaunchWizardClient", "DeleteDeploymentCommand")
715
- .f(void 0, void 0)
716
- .ser(se_DeleteDeploymentCommand)
717
- .de(de_DeleteDeploymentCommand)
665
+ .sc(DeleteDeployment)
718
666
  .build() {
719
667
  }
720
668
 
@@ -722,16 +670,11 @@ class GetDeploymentCommand extends smithyClient.Command
722
670
  .classBuilder()
723
671
  .ep(commonParams)
724
672
  .m(function (Command, cs, config, o) {
725
- return [
726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
728
- ];
673
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
729
674
  })
730
675
  .s("LaunchWizard", "GetDeployment", {})
731
676
  .n("LaunchWizardClient", "GetDeploymentCommand")
732
- .f(void 0, GetDeploymentOutputFilterSensitiveLog)
733
- .ser(se_GetDeploymentCommand)
734
- .de(de_GetDeploymentCommand)
677
+ .sc(GetDeployment)
735
678
  .build() {
736
679
  }
737
680
 
@@ -739,16 +682,11 @@ class GetWorkloadCommand extends smithyClient.Command
739
682
  .classBuilder()
740
683
  .ep(commonParams)
741
684
  .m(function (Command, cs, config, o) {
742
- return [
743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
745
- ];
685
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
746
686
  })
747
687
  .s("LaunchWizard", "GetWorkload", {})
748
688
  .n("LaunchWizardClient", "GetWorkloadCommand")
749
- .f(void 0, void 0)
750
- .ser(se_GetWorkloadCommand)
751
- .de(de_GetWorkloadCommand)
689
+ .sc(GetWorkload)
752
690
  .build() {
753
691
  }
754
692
 
@@ -756,16 +694,11 @@ class GetWorkloadDeploymentPatternCommand extends smithyClient.Command
756
694
  .classBuilder()
757
695
  .ep(commonParams)
758
696
  .m(function (Command, cs, config, o) {
759
- return [
760
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
761
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
762
- ];
697
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
763
698
  })
764
699
  .s("LaunchWizard", "GetWorkloadDeploymentPattern", {})
765
700
  .n("LaunchWizardClient", "GetWorkloadDeploymentPatternCommand")
766
- .f(void 0, void 0)
767
- .ser(se_GetWorkloadDeploymentPatternCommand)
768
- .de(de_GetWorkloadDeploymentPatternCommand)
701
+ .sc(GetWorkloadDeploymentPattern)
769
702
  .build() {
770
703
  }
771
704
 
@@ -773,16 +706,11 @@ class ListDeploymentEventsCommand extends smithyClient.Command
773
706
  .classBuilder()
774
707
  .ep(commonParams)
775
708
  .m(function (Command, cs, config, o) {
776
- return [
777
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
778
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
779
- ];
709
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
780
710
  })
781
711
  .s("LaunchWizard", "ListDeploymentEvents", {})
782
712
  .n("LaunchWizardClient", "ListDeploymentEventsCommand")
783
- .f(void 0, void 0)
784
- .ser(se_ListDeploymentEventsCommand)
785
- .de(de_ListDeploymentEventsCommand)
713
+ .sc(ListDeploymentEvents)
786
714
  .build() {
787
715
  }
788
716
 
@@ -790,16 +718,11 @@ class ListDeploymentsCommand extends smithyClient.Command
790
718
  .classBuilder()
791
719
  .ep(commonParams)
792
720
  .m(function (Command, cs, config, o) {
793
- return [
794
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
795
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
796
- ];
721
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
797
722
  })
798
723
  .s("LaunchWizard", "ListDeployments", {})
799
724
  .n("LaunchWizardClient", "ListDeploymentsCommand")
800
- .f(void 0, void 0)
801
- .ser(se_ListDeploymentsCommand)
802
- .de(de_ListDeploymentsCommand)
725
+ .sc(ListDeployments)
803
726
  .build() {
804
727
  }
805
728
 
@@ -807,16 +730,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
807
730
  .classBuilder()
808
731
  .ep(commonParams)
809
732
  .m(function (Command, cs, config, o) {
810
- return [
811
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
812
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
813
- ];
733
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
814
734
  })
815
735
  .s("LaunchWizard", "ListTagsForResource", {})
816
736
  .n("LaunchWizardClient", "ListTagsForResourceCommand")
817
- .f(void 0, void 0)
818
- .ser(se_ListTagsForResourceCommand)
819
- .de(de_ListTagsForResourceCommand)
737
+ .sc(ListTagsForResource)
820
738
  .build() {
821
739
  }
822
740
 
@@ -824,16 +742,11 @@ class ListWorkloadDeploymentPatternsCommand extends smithyClient.Command
824
742
  .classBuilder()
825
743
  .ep(commonParams)
826
744
  .m(function (Command, cs, config, o) {
827
- return [
828
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
829
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
830
- ];
745
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
831
746
  })
832
747
  .s("LaunchWizard", "ListWorkloadDeploymentPatterns", {})
833
748
  .n("LaunchWizardClient", "ListWorkloadDeploymentPatternsCommand")
834
- .f(void 0, void 0)
835
- .ser(se_ListWorkloadDeploymentPatternsCommand)
836
- .de(de_ListWorkloadDeploymentPatternsCommand)
749
+ .sc(ListWorkloadDeploymentPatterns)
837
750
  .build() {
838
751
  }
839
752
 
@@ -841,16 +754,11 @@ class ListWorkloadsCommand extends smithyClient.Command
841
754
  .classBuilder()
842
755
  .ep(commonParams)
843
756
  .m(function (Command, cs, config, o) {
844
- return [
845
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
846
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
847
- ];
757
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
848
758
  })
849
759
  .s("LaunchWizard", "ListWorkloads", {})
850
760
  .n("LaunchWizardClient", "ListWorkloadsCommand")
851
- .f(void 0, void 0)
852
- .ser(se_ListWorkloadsCommand)
853
- .de(de_ListWorkloadsCommand)
761
+ .sc(ListWorkloads)
854
762
  .build() {
855
763
  }
856
764
 
@@ -858,16 +766,11 @@ class TagResourceCommand extends smithyClient.Command
858
766
  .classBuilder()
859
767
  .ep(commonParams)
860
768
  .m(function (Command, cs, config, o) {
861
- return [
862
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
863
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
864
- ];
769
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
865
770
  })
866
771
  .s("LaunchWizard", "TagResource", {})
867
772
  .n("LaunchWizardClient", "TagResourceCommand")
868
- .f(void 0, void 0)
869
- .ser(se_TagResourceCommand)
870
- .de(de_TagResourceCommand)
773
+ .sc(TagResource)
871
774
  .build() {
872
775
  }
873
776
 
@@ -875,16 +778,11 @@ class UntagResourceCommand extends smithyClient.Command
875
778
  .classBuilder()
876
779
  .ep(commonParams)
877
780
  .m(function (Command, cs, config, o) {
878
- return [
879
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
880
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
881
- ];
781
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
882
782
  })
883
783
  .s("LaunchWizard", "UntagResource", {})
884
784
  .n("LaunchWizardClient", "UntagResourceCommand")
885
- .f(void 0, void 0)
886
- .ser(se_UntagResourceCommand)
887
- .de(de_UntagResourceCommand)
785
+ .sc(UntagResource)
888
786
  .build() {
889
787
  }
890
788
 
@@ -923,30 +821,27 @@ Object.defineProperty(exports, "__Client", {
923
821
  get: function () { return smithyClient.Client; }
924
822
  });
925
823
  exports.CreateDeploymentCommand = CreateDeploymentCommand;
926
- exports.CreateDeploymentInputFilterSensitiveLog = CreateDeploymentInputFilterSensitiveLog;
927
824
  exports.DeleteDeploymentCommand = DeleteDeploymentCommand;
928
- exports.DeploymentDataFilterSensitiveLog = DeploymentDataFilterSensitiveLog;
929
825
  exports.DeploymentFilterKey = DeploymentFilterKey;
930
826
  exports.DeploymentStatus = DeploymentStatus;
931
827
  exports.EventStatus = EventStatus;
932
828
  exports.GetDeploymentCommand = GetDeploymentCommand;
933
- exports.GetDeploymentOutputFilterSensitiveLog = GetDeploymentOutputFilterSensitiveLog;
934
829
  exports.GetWorkloadCommand = GetWorkloadCommand;
935
830
  exports.GetWorkloadDeploymentPatternCommand = GetWorkloadDeploymentPatternCommand;
936
- exports.InternalServerException = InternalServerException;
831
+ exports.InternalServerException = InternalServerException$1;
937
832
  exports.LaunchWizard = LaunchWizard;
938
833
  exports.LaunchWizardClient = LaunchWizardClient;
939
- exports.LaunchWizardServiceException = LaunchWizardServiceException;
834
+ exports.LaunchWizardServiceException = LaunchWizardServiceException$1;
940
835
  exports.ListDeploymentEventsCommand = ListDeploymentEventsCommand;
941
836
  exports.ListDeploymentsCommand = ListDeploymentsCommand;
942
837
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
943
838
  exports.ListWorkloadDeploymentPatternsCommand = ListWorkloadDeploymentPatternsCommand;
944
839
  exports.ListWorkloadsCommand = ListWorkloadsCommand;
945
- exports.ResourceLimitException = ResourceLimitException;
946
- exports.ResourceNotFoundException = ResourceNotFoundException;
840
+ exports.ResourceLimitException = ResourceLimitException$1;
841
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
947
842
  exports.TagResourceCommand = TagResourceCommand;
948
843
  exports.UntagResourceCommand = UntagResourceCommand;
949
- exports.ValidationException = ValidationException;
844
+ exports.ValidationException = ValidationException$1;
950
845
  exports.WorkloadDeploymentPatternStatus = WorkloadDeploymentPatternStatus;
951
846
  exports.WorkloadStatus = WorkloadStatus;
952
847
  exports.paginateListDeploymentEvents = paginateListDeploymentEvents;