@aws-sdk/client-migration-hub-refactor-spaces 3.927.0 → 3.929.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 (48) hide show
  1. package/dist-cjs/index.js +1148 -1376
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MigrationHubRefactorSpacesClient.js +2 -0
  4. package/dist-es/commands/CreateApplicationCommand.js +3 -10
  5. package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
  6. package/dist-es/commands/CreateRouteCommand.js +3 -10
  7. package/dist-es/commands/CreateServiceCommand.js +3 -10
  8. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  9. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  10. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  11. package/dist-es/commands/DeleteRouteCommand.js +3 -9
  12. package/dist-es/commands/DeleteServiceCommand.js +3 -9
  13. package/dist-es/commands/GetApplicationCommand.js +3 -10
  14. package/dist-es/commands/GetEnvironmentCommand.js +3 -10
  15. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  16. package/dist-es/commands/GetRouteCommand.js +3 -10
  17. package/dist-es/commands/GetServiceCommand.js +3 -10
  18. package/dist-es/commands/ListApplicationsCommand.js +3 -10
  19. package/dist-es/commands/ListEnvironmentVpcsCommand.js +3 -9
  20. package/dist-es/commands/ListEnvironmentsCommand.js +3 -10
  21. package/dist-es/commands/ListRoutesCommand.js +3 -10
  22. package/dist-es/commands/ListServicesCommand.js +3 -10
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  24. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -10
  26. package/dist-es/commands/UntagResourceCommand.js +3 -10
  27. package/dist-es/commands/UpdateRouteCommand.js +3 -9
  28. package/dist-es/models/models_0.js +0 -101
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-es/schemas/schemas_0.js +1085 -0
  31. package/dist-types/MigrationHubRefactorSpacesClient.d.ts +10 -1
  32. package/dist-types/models/models_0.d.ts +0 -92
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  37. package/dist-types/schemas/schemas_0.d.ts +110 -0
  38. package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +4 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +0 -67
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
  45. package/package.json +5 -6
  46. package/dist-es/protocols/Aws_restJson1.js +0 -1069
  47. package/dist-types/protocols/Aws_restJson1.d.ts +0 -218
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -293
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class MigrationHubRefactorSpacesClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class MigrationHubRefactorSpacesClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class MigrationHubRefactorSpacesServiceException extends smithyClient.ServiceException {
113
+ let MigrationHubRefactorSpacesServiceException$1 = class MigrationHubRefactorSpacesServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, MigrationHubRefactorSpacesServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends MigrationHubRefactorSpacesServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends MigrationHubRefactorSpacesServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  Message;
@@ -131,7 +130,7 @@ class AccessDeniedException extends MigrationHubRefactorSpacesServiceException {
131
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
131
  this.Message = opts.Message;
133
132
  }
134
- }
133
+ };
135
134
  const ApiGatewayEndpointType = {
136
135
  PRIVATE: "PRIVATE",
137
136
  REGIONAL: "REGIONAL",
@@ -181,7 +180,7 @@ const ErrorResourceType = {
181
180
  const ProxyType = {
182
181
  API_GATEWAY: "API_GATEWAY",
183
182
  };
184
- class ConflictException extends MigrationHubRefactorSpacesServiceException {
183
+ let ConflictException$1 = class ConflictException extends MigrationHubRefactorSpacesServiceException$1 {
185
184
  name = "ConflictException";
186
185
  $fault = "client";
187
186
  Message;
@@ -198,8 +197,8 @@ class ConflictException extends MigrationHubRefactorSpacesServiceException {
198
197
  this.ResourceId = opts.ResourceId;
199
198
  this.ResourceType = opts.ResourceType;
200
199
  }
201
- }
202
- class InternalServerException extends MigrationHubRefactorSpacesServiceException {
200
+ };
201
+ let InternalServerException$1 = class InternalServerException extends MigrationHubRefactorSpacesServiceException$1 {
203
202
  name = "InternalServerException";
204
203
  $fault = "server";
205
204
  Message;
@@ -212,8 +211,8 @@ class InternalServerException extends MigrationHubRefactorSpacesServiceException
212
211
  Object.setPrototypeOf(this, InternalServerException.prototype);
213
212
  this.Message = opts.Message;
214
213
  }
215
- }
216
- class ResourceNotFoundException extends MigrationHubRefactorSpacesServiceException {
214
+ };
215
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MigrationHubRefactorSpacesServiceException$1 {
217
216
  name = "ResourceNotFoundException";
218
217
  $fault = "client";
219
218
  Message;
@@ -230,8 +229,8 @@ class ResourceNotFoundException extends MigrationHubRefactorSpacesServiceExcepti
230
229
  this.ResourceId = opts.ResourceId;
231
230
  this.ResourceType = opts.ResourceType;
232
231
  }
233
- }
234
- class ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceException {
232
+ };
233
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceException$1 {
235
234
  name = "ServiceQuotaExceededException";
236
235
  $fault = "client";
237
236
  Message;
@@ -252,8 +251,8 @@ class ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceExc
252
251
  this.QuotaCode = opts.QuotaCode;
253
252
  this.ServiceCode = opts.ServiceCode;
254
253
  }
255
- }
256
- class ThrottlingException extends MigrationHubRefactorSpacesServiceException {
254
+ };
255
+ let ThrottlingException$1 = class ThrottlingException extends MigrationHubRefactorSpacesServiceException$1 {
257
256
  name = "ThrottlingException";
258
257
  $fault = "client";
259
258
  Message;
@@ -272,8 +271,8 @@ class ThrottlingException extends MigrationHubRefactorSpacesServiceException {
272
271
  this.ServiceCode = opts.ServiceCode;
273
272
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
274
273
  }
275
- }
276
- class ValidationException extends MigrationHubRefactorSpacesServiceException {
274
+ };
275
+ let ValidationException$1 = class ValidationException extends MigrationHubRefactorSpacesServiceException$1 {
277
276
  name = "ValidationException";
278
277
  $fault = "client";
279
278
  Message;
@@ -286,7 +285,7 @@ class ValidationException extends MigrationHubRefactorSpacesServiceException {
286
285
  Object.setPrototypeOf(this, ValidationException.prototype);
287
286
  this.Message = opts.Message;
288
287
  }
289
- }
288
+ };
290
289
  const NetworkFabricType = {
291
290
  NONE: "NONE",
292
291
  TRANSIT_GATEWAY: "TRANSIT_GATEWAY",
@@ -332,7 +331,7 @@ const ServiceState = {
332
331
  DELETING: "DELETING",
333
332
  FAILED: "FAILED",
334
333
  };
335
- class InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException {
334
+ let InvalidResourcePolicyException$1 = class InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException$1 {
336
335
  name = "InvalidResourcePolicyException";
337
336
  $fault = "client";
338
337
  Message;
@@ -345,1185 +344,1096 @@ class InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceEx
345
344
  Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
346
345
  this.Message = opts.Message;
347
346
  }
348
- }
349
- const ApplicationSummaryFilterSensitiveLog = (obj) => ({
350
- ...obj,
351
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
352
- });
353
- const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
354
- ...obj,
355
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
356
- });
357
- const CreateApplicationResponseFilterSensitiveLog = (obj) => ({
358
- ...obj,
359
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
360
- });
361
- const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
362
- ...obj,
363
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
364
- });
365
- const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
366
- ...obj,
367
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
368
- });
369
- const CreateRouteRequestFilterSensitiveLog = (obj) => ({
370
- ...obj,
371
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
372
- });
373
- const CreateRouteResponseFilterSensitiveLog = (obj) => ({
374
- ...obj,
375
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
376
- });
377
- const CreateServiceRequestFilterSensitiveLog = (obj) => ({
378
- ...obj,
379
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
380
- });
381
- const CreateServiceResponseFilterSensitiveLog = (obj) => ({
382
- ...obj,
383
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
384
- });
385
- const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
386
- ...obj,
387
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
388
- });
389
- const GetApplicationResponseFilterSensitiveLog = (obj) => ({
390
- ...obj,
391
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
392
- });
393
- const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
394
- ...obj,
395
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
396
- });
397
- const GetRouteResponseFilterSensitiveLog = (obj) => ({
398
- ...obj,
399
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
400
- });
401
- const GetServiceResponseFilterSensitiveLog = (obj) => ({
402
- ...obj,
403
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
404
- });
405
- const ListApplicationsResponseFilterSensitiveLog = (obj) => ({
406
- ...obj,
407
- ...(obj.ApplicationSummaryList && {
408
- ApplicationSummaryList: obj.ApplicationSummaryList.map((item) => ApplicationSummaryFilterSensitiveLog(item)),
409
- }),
410
- });
411
- const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
412
- ...obj,
413
- ...(obj.EnvironmentSummaryList && {
414
- EnvironmentSummaryList: obj.EnvironmentSummaryList.map((item) => EnvironmentSummaryFilterSensitiveLog(item)),
415
- }),
416
- });
417
- const RouteSummaryFilterSensitiveLog = (obj) => ({
418
- ...obj,
419
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
420
- });
421
- const ListRoutesResponseFilterSensitiveLog = (obj) => ({
422
- ...obj,
423
- ...(obj.RouteSummaryList && {
424
- RouteSummaryList: obj.RouteSummaryList.map((item) => RouteSummaryFilterSensitiveLog(item)),
425
- }),
426
- });
427
- const ServiceSummaryFilterSensitiveLog = (obj) => ({
428
- ...obj,
429
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
430
- });
431
- const ListServicesResponseFilterSensitiveLog = (obj) => ({
432
- ...obj,
433
- ...(obj.ServiceSummaryList && {
434
- ServiceSummaryList: obj.ServiceSummaryList.map((item) => ServiceSummaryFilterSensitiveLog(item)),
435
- }),
436
- });
437
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
438
- ...obj,
439
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
440
- });
441
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
442
- ...obj,
443
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
444
- });
445
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
446
- ...obj,
447
- ...(obj.TagKeys && { TagKeys: smithyClient.SENSITIVE_STRING }),
448
- });
449
-
450
- const se_CreateApplicationCommand = async (input, context) => {
451
- const b = core.requestBuilder(input, context);
452
- const headers = {
453
- "content-type": "application/json",
454
- };
455
- b.bp("/environments/{EnvironmentIdentifier}/applications");
456
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
457
- let body;
458
- body = JSON.stringify(smithyClient.take(input, {
459
- ApiGatewayProxy: (_) => smithyClient._json(_),
460
- ClientToken: [true, (_) => _ ?? uuid.v4()],
461
- Name: [],
462
- ProxyType: [],
463
- Tags: (_) => smithyClient._json(_),
464
- VpcId: [],
465
- }));
466
- b.m("POST").h(headers).b(body);
467
- return b.build();
468
- };
469
- const se_CreateEnvironmentCommand = async (input, context) => {
470
- const b = core.requestBuilder(input, context);
471
- const headers = {
472
- "content-type": "application/json",
473
- };
474
- b.bp("/environments");
475
- let body;
476
- body = JSON.stringify(smithyClient.take(input, {
477
- ClientToken: [true, (_) => _ ?? uuid.v4()],
478
- Description: [],
479
- Name: [],
480
- NetworkFabricType: [],
481
- Tags: (_) => smithyClient._json(_),
482
- }));
483
- b.m("POST").h(headers).b(body);
484
- return b.build();
485
- };
486
- const se_CreateRouteCommand = async (input, context) => {
487
- const b = core.requestBuilder(input, context);
488
- const headers = {
489
- "content-type": "application/json",
490
- };
491
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes");
492
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
493
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
494
- let body;
495
- body = JSON.stringify(smithyClient.take(input, {
496
- ClientToken: [true, (_) => _ ?? uuid.v4()],
497
- DefaultRoute: (_) => smithyClient._json(_),
498
- RouteType: [],
499
- ServiceIdentifier: [],
500
- Tags: (_) => smithyClient._json(_),
501
- UriPathRoute: (_) => smithyClient._json(_),
502
- }));
503
- b.m("POST").h(headers).b(body);
504
- return b.build();
505
- };
506
- const se_CreateServiceCommand = async (input, context) => {
507
- const b = core.requestBuilder(input, context);
508
- const headers = {
509
- "content-type": "application/json",
510
- };
511
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services");
512
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
513
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
514
- let body;
515
- body = JSON.stringify(smithyClient.take(input, {
516
- ClientToken: [true, (_) => _ ?? uuid.v4()],
517
- Description: [],
518
- EndpointType: [],
519
- LambdaEndpoint: (_) => smithyClient._json(_),
520
- Name: [],
521
- Tags: (_) => smithyClient._json(_),
522
- UrlEndpoint: (_) => smithyClient._json(_),
523
- VpcId: [],
524
- }));
525
- b.m("POST").h(headers).b(body);
526
- return b.build();
527
- };
528
- const se_DeleteApplicationCommand = async (input, context) => {
529
- const b = core.requestBuilder(input, context);
530
- const headers = {};
531
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}");
532
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
533
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
534
- let body;
535
- b.m("DELETE").h(headers).b(body);
536
- return b.build();
537
- };
538
- const se_DeleteEnvironmentCommand = async (input, context) => {
539
- const b = core.requestBuilder(input, context);
540
- const headers = {};
541
- b.bp("/environments/{EnvironmentIdentifier}");
542
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
543
- let body;
544
- b.m("DELETE").h(headers).b(body);
545
- return b.build();
546
- };
547
- const se_DeleteResourcePolicyCommand = async (input, context) => {
548
- const b = core.requestBuilder(input, context);
549
- const headers = {};
550
- b.bp("/resourcepolicy/{Identifier}");
551
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
552
- let body;
553
- b.m("DELETE").h(headers).b(body);
554
- return b.build();
555
- };
556
- const se_DeleteRouteCommand = async (input, context) => {
557
- const b = core.requestBuilder(input, context);
558
- const headers = {};
559
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}");
560
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
561
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
562
- b.p("RouteIdentifier", () => input.RouteIdentifier, "{RouteIdentifier}", false);
563
- let body;
564
- b.m("DELETE").h(headers).b(body);
565
- return b.build();
566
- };
567
- const se_DeleteServiceCommand = async (input, context) => {
568
- const b = core.requestBuilder(input, context);
569
- const headers = {};
570
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}");
571
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
572
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
573
- b.p("ServiceIdentifier", () => input.ServiceIdentifier, "{ServiceIdentifier}", false);
574
- let body;
575
- b.m("DELETE").h(headers).b(body);
576
- return b.build();
577
- };
578
- const se_GetApplicationCommand = async (input, context) => {
579
- const b = core.requestBuilder(input, context);
580
- const headers = {};
581
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}");
582
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
583
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
584
- let body;
585
- b.m("GET").h(headers).b(body);
586
- return b.build();
587
- };
588
- const se_GetEnvironmentCommand = async (input, context) => {
589
- const b = core.requestBuilder(input, context);
590
- const headers = {};
591
- b.bp("/environments/{EnvironmentIdentifier}");
592
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
593
- let body;
594
- b.m("GET").h(headers).b(body);
595
- return b.build();
596
- };
597
- const se_GetResourcePolicyCommand = async (input, context) => {
598
- const b = core.requestBuilder(input, context);
599
- const headers = {};
600
- b.bp("/resourcepolicy/{Identifier}");
601
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
602
- let body;
603
- b.m("GET").h(headers).b(body);
604
- return b.build();
605
- };
606
- const se_GetRouteCommand = async (input, context) => {
607
- const b = core.requestBuilder(input, context);
608
- const headers = {};
609
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}");
610
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
611
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
612
- b.p("RouteIdentifier", () => input.RouteIdentifier, "{RouteIdentifier}", false);
613
- let body;
614
- b.m("GET").h(headers).b(body);
615
- return b.build();
616
- };
617
- const se_GetServiceCommand = async (input, context) => {
618
- const b = core.requestBuilder(input, context);
619
- const headers = {};
620
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}");
621
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
622
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
623
- b.p("ServiceIdentifier", () => input.ServiceIdentifier, "{ServiceIdentifier}", false);
624
- let body;
625
- b.m("GET").h(headers).b(body);
626
- return b.build();
627
- };
628
- const se_ListApplicationsCommand = async (input, context) => {
629
- const b = core.requestBuilder(input, context);
630
- const headers = {};
631
- b.bp("/environments/{EnvironmentIdentifier}/applications");
632
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
633
- const query = smithyClient.map({
634
- [_nT]: [, input[_NT]],
635
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
636
- });
637
- let body;
638
- b.m("GET").h(headers).q(query).b(body);
639
- return b.build();
640
- };
641
- const se_ListEnvironmentsCommand = async (input, context) => {
642
- const b = core.requestBuilder(input, context);
643
- const headers = {};
644
- b.bp("/environments");
645
- const query = smithyClient.map({
646
- [_nT]: [, input[_NT]],
647
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
648
- });
649
- let body;
650
- b.m("GET").h(headers).q(query).b(body);
651
- return b.build();
652
- };
653
- const se_ListEnvironmentVpcsCommand = async (input, context) => {
654
- const b = core.requestBuilder(input, context);
655
- const headers = {};
656
- b.bp("/environments/{EnvironmentIdentifier}/vpcs");
657
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
658
- const query = smithyClient.map({
659
- [_nT]: [, input[_NT]],
660
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
661
- });
662
- let body;
663
- b.m("GET").h(headers).q(query).b(body);
664
- return b.build();
665
- };
666
- const se_ListRoutesCommand = async (input, context) => {
667
- const b = core.requestBuilder(input, context);
668
- const headers = {};
669
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes");
670
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
671
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
672
- const query = smithyClient.map({
673
- [_nT]: [, input[_NT]],
674
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
675
- });
676
- let body;
677
- b.m("GET").h(headers).q(query).b(body);
678
- return b.build();
679
- };
680
- const se_ListServicesCommand = async (input, context) => {
681
- const b = core.requestBuilder(input, context);
682
- const headers = {};
683
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services");
684
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
685
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
686
- const query = smithyClient.map({
687
- [_nT]: [, input[_NT]],
688
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
689
- });
690
- let body;
691
- b.m("GET").h(headers).q(query).b(body);
692
- return b.build();
693
- };
694
- const se_ListTagsForResourceCommand = async (input, context) => {
695
- const b = core.requestBuilder(input, context);
696
- const headers = {};
697
- b.bp("/tags/{ResourceArn}");
698
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
699
- let body;
700
- b.m("GET").h(headers).b(body);
701
- return b.build();
702
- };
703
- const se_PutResourcePolicyCommand = async (input, context) => {
704
- const b = core.requestBuilder(input, context);
705
- const headers = {
706
- "content-type": "application/json",
707
- };
708
- b.bp("/resourcepolicy");
709
- let body;
710
- body = JSON.stringify(smithyClient.take(input, {
711
- Policy: [],
712
- ResourceArn: [],
713
- }));
714
- b.m("PUT").h(headers).b(body);
715
- return b.build();
716
- };
717
- const se_TagResourceCommand = async (input, context) => {
718
- const b = core.requestBuilder(input, context);
719
- const headers = {
720
- "content-type": "application/json",
721
- };
722
- b.bp("/tags/{ResourceArn}");
723
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
724
- let body;
725
- body = JSON.stringify(smithyClient.take(input, {
726
- Tags: (_) => smithyClient._json(_),
727
- }));
728
- b.m("POST").h(headers).b(body);
729
- return b.build();
730
- };
731
- const se_UntagResourceCommand = async (input, context) => {
732
- const b = core.requestBuilder(input, context);
733
- const headers = {};
734
- b.bp("/tags/{ResourceArn}");
735
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
736
- const query = smithyClient.map({
737
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
738
- });
739
- let body;
740
- b.m("DELETE").h(headers).q(query).b(body);
741
- return b.build();
742
- };
743
- const se_UpdateRouteCommand = async (input, context) => {
744
- const b = core.requestBuilder(input, context);
745
- const headers = {
746
- "content-type": "application/json",
747
- };
748
- b.bp("/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}");
749
- b.p("EnvironmentIdentifier", () => input.EnvironmentIdentifier, "{EnvironmentIdentifier}", false);
750
- b.p("ApplicationIdentifier", () => input.ApplicationIdentifier, "{ApplicationIdentifier}", false);
751
- b.p("RouteIdentifier", () => input.RouteIdentifier, "{RouteIdentifier}", false);
752
- let body;
753
- body = JSON.stringify(smithyClient.take(input, {
754
- ActivationState: [],
755
- }));
756
- b.m("PATCH").h(headers).b(body);
757
- return b.build();
758
- };
759
- const de_CreateApplicationCommand = async (output, context) => {
760
- if (output.statusCode !== 200 && output.statusCode >= 300) {
761
- return de_CommandError(output, context);
762
- }
763
- const contents = smithyClient.map({
764
- $metadata: deserializeMetadata(output),
765
- });
766
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
767
- const doc = smithyClient.take(data, {
768
- ApiGatewayProxy: smithyClient._json,
769
- ApplicationId: smithyClient.expectString,
770
- Arn: smithyClient.expectString,
771
- CreatedByAccountId: smithyClient.expectString,
772
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
773
- EnvironmentId: smithyClient.expectString,
774
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
775
- Name: smithyClient.expectString,
776
- OwnerAccountId: smithyClient.expectString,
777
- ProxyType: smithyClient.expectString,
778
- State: smithyClient.expectString,
779
- Tags: smithyClient._json,
780
- VpcId: smithyClient.expectString,
781
- });
782
- Object.assign(contents, doc);
783
- return contents;
784
347
  };
785
- const de_CreateEnvironmentCommand = async (output, context) => {
786
- if (output.statusCode !== 200 && output.statusCode >= 300) {
787
- return de_CommandError(output, context);
788
- }
789
- const contents = smithyClient.map({
790
- $metadata: deserializeMetadata(output),
791
- });
792
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
793
- const doc = smithyClient.take(data, {
794
- Arn: smithyClient.expectString,
795
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
796
- Description: smithyClient.expectString,
797
- EnvironmentId: smithyClient.expectString,
798
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
799
- Name: smithyClient.expectString,
800
- NetworkFabricType: smithyClient.expectString,
801
- OwnerAccountId: smithyClient.expectString,
802
- State: smithyClient.expectString,
803
- Tags: smithyClient._json,
804
- });
805
- Object.assign(contents, doc);
806
- return contents;
807
- };
808
- const de_CreateRouteCommand = async (output, context) => {
809
- if (output.statusCode !== 200 && output.statusCode >= 300) {
810
- return de_CommandError(output, context);
811
- }
812
- const contents = smithyClient.map({
813
- $metadata: deserializeMetadata(output),
814
- });
815
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
816
- const doc = smithyClient.take(data, {
817
- ApplicationId: smithyClient.expectString,
818
- Arn: smithyClient.expectString,
819
- CreatedByAccountId: smithyClient.expectString,
820
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
821
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
822
- OwnerAccountId: smithyClient.expectString,
823
- RouteId: smithyClient.expectString,
824
- RouteType: smithyClient.expectString,
825
- ServiceId: smithyClient.expectString,
826
- State: smithyClient.expectString,
827
- Tags: smithyClient._json,
828
- UriPathRoute: smithyClient._json,
829
- });
830
- Object.assign(contents, doc);
831
- return contents;
832
- };
833
- const de_CreateServiceCommand = async (output, context) => {
834
- if (output.statusCode !== 200 && output.statusCode >= 300) {
835
- return de_CommandError(output, context);
836
- }
837
- const contents = smithyClient.map({
838
- $metadata: deserializeMetadata(output),
839
- });
840
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
841
- const doc = smithyClient.take(data, {
842
- ApplicationId: smithyClient.expectString,
843
- Arn: smithyClient.expectString,
844
- CreatedByAccountId: smithyClient.expectString,
845
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
846
- Description: smithyClient.expectString,
847
- EndpointType: smithyClient.expectString,
848
- EnvironmentId: smithyClient.expectString,
849
- LambdaEndpoint: smithyClient._json,
850
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
851
- Name: smithyClient.expectString,
852
- OwnerAccountId: smithyClient.expectString,
853
- ServiceId: smithyClient.expectString,
854
- State: smithyClient.expectString,
855
- Tags: smithyClient._json,
856
- UrlEndpoint: smithyClient._json,
857
- VpcId: smithyClient.expectString,
858
- });
859
- Object.assign(contents, doc);
860
- return contents;
861
- };
862
- const de_DeleteApplicationCommand = async (output, context) => {
863
- if (output.statusCode !== 200 && output.statusCode >= 300) {
864
- return de_CommandError(output, context);
865
- }
866
- const contents = smithyClient.map({
867
- $metadata: deserializeMetadata(output),
868
- });
869
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
870
- const doc = smithyClient.take(data, {
871
- ApplicationId: smithyClient.expectString,
872
- Arn: smithyClient.expectString,
873
- EnvironmentId: smithyClient.expectString,
874
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
875
- Name: smithyClient.expectString,
876
- State: smithyClient.expectString,
877
- });
878
- Object.assign(contents, doc);
879
- return contents;
880
- };
881
- const de_DeleteEnvironmentCommand = async (output, context) => {
882
- if (output.statusCode !== 200 && output.statusCode >= 300) {
883
- return de_CommandError(output, context);
884
- }
885
- const contents = smithyClient.map({
886
- $metadata: deserializeMetadata(output),
887
- });
888
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
889
- const doc = smithyClient.take(data, {
890
- Arn: smithyClient.expectString,
891
- EnvironmentId: smithyClient.expectString,
892
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
893
- Name: smithyClient.expectString,
894
- State: smithyClient.expectString,
895
- });
896
- Object.assign(contents, doc);
897
- return contents;
898
- };
899
- const de_DeleteResourcePolicyCommand = async (output, context) => {
900
- if (output.statusCode !== 200 && output.statusCode >= 300) {
901
- return de_CommandError(output, context);
902
- }
903
- const contents = smithyClient.map({
904
- $metadata: deserializeMetadata(output),
905
- });
906
- await smithyClient.collectBody(output.body, context);
907
- return contents;
908
- };
909
- const de_DeleteRouteCommand = async (output, context) => {
910
- if (output.statusCode !== 200 && output.statusCode >= 300) {
911
- return de_CommandError(output, context);
912
- }
913
- const contents = smithyClient.map({
914
- $metadata: deserializeMetadata(output),
915
- });
916
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
917
- const doc = smithyClient.take(data, {
918
- ApplicationId: smithyClient.expectString,
919
- Arn: smithyClient.expectString,
920
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
921
- RouteId: smithyClient.expectString,
922
- ServiceId: smithyClient.expectString,
923
- State: smithyClient.expectString,
924
- });
925
- Object.assign(contents, doc);
926
- return contents;
927
- };
928
- const de_DeleteServiceCommand = async (output, context) => {
929
- if (output.statusCode !== 200 && output.statusCode >= 300) {
930
- return de_CommandError(output, context);
931
- }
932
- const contents = smithyClient.map({
933
- $metadata: deserializeMetadata(output),
934
- });
935
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
936
- const doc = smithyClient.take(data, {
937
- ApplicationId: smithyClient.expectString,
938
- Arn: smithyClient.expectString,
939
- EnvironmentId: smithyClient.expectString,
940
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
941
- Name: smithyClient.expectString,
942
- ServiceId: smithyClient.expectString,
943
- State: smithyClient.expectString,
944
- });
945
- Object.assign(contents, doc);
946
- return contents;
947
- };
948
- const de_GetApplicationCommand = async (output, context) => {
949
- if (output.statusCode !== 200 && output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const contents = smithyClient.map({
953
- $metadata: deserializeMetadata(output),
954
- });
955
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
956
- const doc = smithyClient.take(data, {
957
- ApiGatewayProxy: smithyClient._json,
958
- ApplicationId: smithyClient.expectString,
959
- Arn: smithyClient.expectString,
960
- CreatedByAccountId: smithyClient.expectString,
961
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
962
- EnvironmentId: smithyClient.expectString,
963
- Error: smithyClient._json,
964
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
965
- Name: smithyClient.expectString,
966
- OwnerAccountId: smithyClient.expectString,
967
- ProxyType: smithyClient.expectString,
968
- State: smithyClient.expectString,
969
- Tags: smithyClient._json,
970
- VpcId: smithyClient.expectString,
971
- });
972
- Object.assign(contents, doc);
973
- return contents;
974
- };
975
- const de_GetEnvironmentCommand = async (output, context) => {
976
- if (output.statusCode !== 200 && output.statusCode >= 300) {
977
- return de_CommandError(output, context);
978
- }
979
- const contents = smithyClient.map({
980
- $metadata: deserializeMetadata(output),
981
- });
982
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
983
- const doc = smithyClient.take(data, {
984
- Arn: smithyClient.expectString,
985
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
986
- Description: smithyClient.expectString,
987
- EnvironmentId: smithyClient.expectString,
988
- Error: smithyClient._json,
989
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
990
- Name: smithyClient.expectString,
991
- NetworkFabricType: smithyClient.expectString,
992
- OwnerAccountId: smithyClient.expectString,
993
- State: smithyClient.expectString,
994
- Tags: smithyClient._json,
995
- TransitGatewayId: smithyClient.expectString,
996
- });
997
- Object.assign(contents, doc);
998
- return contents;
999
- };
1000
- const de_GetResourcePolicyCommand = async (output, context) => {
1001
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1002
- return de_CommandError(output, context);
1003
- }
1004
- const contents = smithyClient.map({
1005
- $metadata: deserializeMetadata(output),
1006
- });
1007
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1008
- const doc = smithyClient.take(data, {
1009
- Policy: smithyClient.expectString,
1010
- });
1011
- Object.assign(contents, doc);
1012
- return contents;
1013
- };
1014
- const de_GetRouteCommand = async (output, context) => {
1015
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1016
- return de_CommandError(output, context);
1017
- }
1018
- const contents = smithyClient.map({
1019
- $metadata: deserializeMetadata(output),
1020
- });
1021
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1022
- const doc = smithyClient.take(data, {
1023
- AppendSourcePath: smithyClient.expectBoolean,
1024
- ApplicationId: smithyClient.expectString,
1025
- Arn: smithyClient.expectString,
1026
- CreatedByAccountId: smithyClient.expectString,
1027
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1028
- EnvironmentId: smithyClient.expectString,
1029
- Error: smithyClient._json,
1030
- IncludeChildPaths: smithyClient.expectBoolean,
1031
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1032
- Methods: smithyClient._json,
1033
- OwnerAccountId: smithyClient.expectString,
1034
- PathResourceToId: smithyClient._json,
1035
- RouteId: smithyClient.expectString,
1036
- RouteType: smithyClient.expectString,
1037
- ServiceId: smithyClient.expectString,
1038
- SourcePath: smithyClient.expectString,
1039
- State: smithyClient.expectString,
1040
- Tags: smithyClient._json,
1041
- });
1042
- Object.assign(contents, doc);
1043
- return contents;
1044
- };
1045
- const de_GetServiceCommand = async (output, context) => {
1046
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1047
- return de_CommandError(output, context);
1048
- }
1049
- const contents = smithyClient.map({
1050
- $metadata: deserializeMetadata(output),
1051
- });
1052
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1053
- const doc = smithyClient.take(data, {
1054
- ApplicationId: smithyClient.expectString,
1055
- Arn: smithyClient.expectString,
1056
- CreatedByAccountId: smithyClient.expectString,
1057
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1058
- Description: smithyClient.expectString,
1059
- EndpointType: smithyClient.expectString,
1060
- EnvironmentId: smithyClient.expectString,
1061
- Error: smithyClient._json,
1062
- LambdaEndpoint: smithyClient._json,
1063
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1064
- Name: smithyClient.expectString,
1065
- OwnerAccountId: smithyClient.expectString,
1066
- ServiceId: smithyClient.expectString,
1067
- State: smithyClient.expectString,
1068
- Tags: smithyClient._json,
1069
- UrlEndpoint: smithyClient._json,
1070
- VpcId: smithyClient.expectString,
1071
- });
1072
- Object.assign(contents, doc);
1073
- return contents;
1074
- };
1075
- const de_ListApplicationsCommand = async (output, context) => {
1076
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
- return de_CommandError(output, context);
1078
- }
1079
- const contents = smithyClient.map({
1080
- $metadata: deserializeMetadata(output),
1081
- });
1082
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1083
- const doc = smithyClient.take(data, {
1084
- ApplicationSummaryList: (_) => de_ApplicationSummaries(_),
1085
- NextToken: smithyClient.expectString,
1086
- });
1087
- Object.assign(contents, doc);
1088
- return contents;
1089
- };
1090
- const de_ListEnvironmentsCommand = async (output, context) => {
1091
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1092
- return de_CommandError(output, context);
1093
- }
1094
- const contents = smithyClient.map({
1095
- $metadata: deserializeMetadata(output),
1096
- });
1097
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1098
- const doc = smithyClient.take(data, {
1099
- EnvironmentSummaryList: (_) => de_EnvironmentSummaries(_),
1100
- NextToken: smithyClient.expectString,
1101
- });
1102
- Object.assign(contents, doc);
1103
- return contents;
1104
- };
1105
- const de_ListEnvironmentVpcsCommand = async (output, context) => {
1106
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1107
- return de_CommandError(output, context);
1108
- }
1109
- const contents = smithyClient.map({
1110
- $metadata: deserializeMetadata(output),
1111
- });
1112
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1113
- const doc = smithyClient.take(data, {
1114
- EnvironmentVpcList: (_) => de_EnvironmentVpcs(_),
1115
- NextToken: smithyClient.expectString,
1116
- });
1117
- Object.assign(contents, doc);
1118
- return contents;
1119
- };
1120
- const de_ListRoutesCommand = async (output, context) => {
1121
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1122
- return de_CommandError(output, context);
1123
- }
1124
- const contents = smithyClient.map({
1125
- $metadata: deserializeMetadata(output),
1126
- });
1127
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1128
- const doc = smithyClient.take(data, {
1129
- NextToken: smithyClient.expectString,
1130
- RouteSummaryList: (_) => de_RouteSummaries(_),
1131
- });
1132
- Object.assign(contents, doc);
1133
- return contents;
1134
- };
1135
- const de_ListServicesCommand = async (output, context) => {
1136
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
- return de_CommandError(output, context);
1138
- }
1139
- const contents = smithyClient.map({
1140
- $metadata: deserializeMetadata(output),
1141
- });
1142
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1143
- const doc = smithyClient.take(data, {
1144
- NextToken: smithyClient.expectString,
1145
- ServiceSummaryList: (_) => de_ServiceSummaries(_),
1146
- });
1147
- Object.assign(contents, doc);
1148
- return contents;
1149
- };
1150
- const de_ListTagsForResourceCommand = async (output, context) => {
1151
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1152
- return de_CommandError(output, context);
1153
- }
1154
- const contents = smithyClient.map({
1155
- $metadata: deserializeMetadata(output),
1156
- });
1157
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1158
- const doc = smithyClient.take(data, {
1159
- Tags: smithyClient._json,
1160
- });
1161
- Object.assign(contents, doc);
1162
- return contents;
1163
- };
1164
- const de_PutResourcePolicyCommand = async (output, context) => {
1165
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1166
- return de_CommandError(output, context);
1167
- }
1168
- const contents = smithyClient.map({
1169
- $metadata: deserializeMetadata(output),
1170
- });
1171
- await smithyClient.collectBody(output.body, context);
1172
- return contents;
1173
- };
1174
- const de_TagResourceCommand = async (output, context) => {
1175
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1176
- return de_CommandError(output, context);
1177
- }
1178
- const contents = smithyClient.map({
1179
- $metadata: deserializeMetadata(output),
1180
- });
1181
- await smithyClient.collectBody(output.body, context);
1182
- return contents;
1183
- };
1184
- const de_UntagResourceCommand = async (output, context) => {
1185
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1186
- return de_CommandError(output, context);
1187
- }
1188
- const contents = smithyClient.map({
1189
- $metadata: deserializeMetadata(output),
1190
- });
1191
- await smithyClient.collectBody(output.body, context);
1192
- return contents;
1193
- };
1194
- const de_UpdateRouteCommand = async (output, context) => {
1195
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1196
- return de_CommandError(output, context);
1197
- }
1198
- const contents = smithyClient.map({
1199
- $metadata: deserializeMetadata(output),
1200
- });
1201
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1202
- const doc = smithyClient.take(data, {
1203
- ApplicationId: smithyClient.expectString,
1204
- Arn: smithyClient.expectString,
1205
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1206
- RouteId: smithyClient.expectString,
1207
- ServiceId: smithyClient.expectString,
1208
- State: smithyClient.expectString,
1209
- });
1210
- Object.assign(contents, doc);
1211
- return contents;
1212
- };
1213
- const de_CommandError = async (output, context) => {
1214
- const parsedOutput = {
1215
- ...output,
1216
- body: await core$1.parseJsonErrorBody(output.body, context),
1217
- };
1218
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1219
- switch (errorCode) {
1220
- case "AccessDeniedException":
1221
- case "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException":
1222
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1223
- case "ConflictException":
1224
- case "com.amazonaws.migrationhubrefactorspaces#ConflictException":
1225
- throw await de_ConflictExceptionRes(parsedOutput);
1226
- case "InternalServerException":
1227
- case "com.amazonaws.migrationhubrefactorspaces#InternalServerException":
1228
- throw await de_InternalServerExceptionRes(parsedOutput);
1229
- case "ResourceNotFoundException":
1230
- case "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException":
1231
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1232
- case "ServiceQuotaExceededException":
1233
- case "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException":
1234
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1235
- case "ThrottlingException":
1236
- case "com.amazonaws.migrationhubrefactorspaces#ThrottlingException":
1237
- throw await de_ThrottlingExceptionRes(parsedOutput);
1238
- case "ValidationException":
1239
- case "com.amazonaws.migrationhubrefactorspaces#ValidationException":
1240
- throw await de_ValidationExceptionRes(parsedOutput);
1241
- case "InvalidResourcePolicyException":
1242
- case "com.amazonaws.migrationhubrefactorspaces#InvalidResourcePolicyException":
1243
- throw await de_InvalidResourcePolicyExceptionRes(parsedOutput);
1244
- default:
1245
- const parsedBody = parsedOutput.body;
1246
- return throwDefaultError({
1247
- output,
1248
- parsedBody,
1249
- errorCode,
1250
- });
1251
- }
1252
- };
1253
- const throwDefaultError = smithyClient.withBaseException(MigrationHubRefactorSpacesServiceException);
1254
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1255
- const contents = smithyClient.map({});
1256
- const data = parsedOutput.body;
1257
- const doc = smithyClient.take(data, {
1258
- Message: smithyClient.expectString,
1259
- });
1260
- Object.assign(contents, doc);
1261
- const exception = new AccessDeniedException({
1262
- $metadata: deserializeMetadata(parsedOutput),
1263
- ...contents,
1264
- });
1265
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1266
- };
1267
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1268
- const contents = smithyClient.map({});
1269
- const data = parsedOutput.body;
1270
- const doc = smithyClient.take(data, {
1271
- Message: smithyClient.expectString,
1272
- ResourceId: smithyClient.expectString,
1273
- ResourceType: smithyClient.expectString,
1274
- });
1275
- Object.assign(contents, doc);
1276
- const exception = new ConflictException({
1277
- $metadata: deserializeMetadata(parsedOutput),
1278
- ...contents,
1279
- });
1280
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1281
- };
1282
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1283
- const contents = smithyClient.map({});
1284
- const data = parsedOutput.body;
1285
- const doc = smithyClient.take(data, {
1286
- Message: smithyClient.expectString,
1287
- });
1288
- Object.assign(contents, doc);
1289
- const exception = new InternalServerException({
1290
- $metadata: deserializeMetadata(parsedOutput),
1291
- ...contents,
1292
- });
1293
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1294
- };
1295
- const de_InvalidResourcePolicyExceptionRes = async (parsedOutput, context) => {
1296
- const contents = smithyClient.map({});
1297
- const data = parsedOutput.body;
1298
- const doc = smithyClient.take(data, {
1299
- Message: smithyClient.expectString,
1300
- });
1301
- Object.assign(contents, doc);
1302
- const exception = new InvalidResourcePolicyException({
1303
- $metadata: deserializeMetadata(parsedOutput),
1304
- ...contents,
1305
- });
1306
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1307
- };
1308
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1309
- const contents = smithyClient.map({});
1310
- const data = parsedOutput.body;
1311
- const doc = smithyClient.take(data, {
1312
- Message: smithyClient.expectString,
1313
- ResourceId: smithyClient.expectString,
1314
- ResourceType: smithyClient.expectString,
1315
- });
1316
- Object.assign(contents, doc);
1317
- const exception = new ResourceNotFoundException({
1318
- $metadata: deserializeMetadata(parsedOutput),
1319
- ...contents,
1320
- });
1321
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1322
- };
1323
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1324
- const contents = smithyClient.map({});
1325
- const data = parsedOutput.body;
1326
- const doc = smithyClient.take(data, {
1327
- Message: smithyClient.expectString,
1328
- QuotaCode: smithyClient.expectString,
1329
- ResourceId: smithyClient.expectString,
1330
- ResourceType: smithyClient.expectString,
1331
- ServiceCode: smithyClient.expectString,
1332
- });
1333
- Object.assign(contents, doc);
1334
- const exception = new ServiceQuotaExceededException({
1335
- $metadata: deserializeMetadata(parsedOutput),
1336
- ...contents,
1337
- });
1338
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1339
- };
1340
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1341
- const contents = smithyClient.map({
1342
- [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1343
- });
1344
- const data = parsedOutput.body;
1345
- const doc = smithyClient.take(data, {
1346
- Message: smithyClient.expectString,
1347
- QuotaCode: smithyClient.expectString,
1348
- ServiceCode: smithyClient.expectString,
1349
- });
1350
- Object.assign(contents, doc);
1351
- const exception = new ThrottlingException({
1352
- $metadata: deserializeMetadata(parsedOutput),
1353
- ...contents,
1354
- });
1355
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1356
- };
1357
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1358
- const contents = smithyClient.map({});
1359
- const data = parsedOutput.body;
1360
- const doc = smithyClient.take(data, {
1361
- Message: smithyClient.expectString,
1362
- });
1363
- Object.assign(contents, doc);
1364
- const exception = new ValidationException({
1365
- $metadata: deserializeMetadata(parsedOutput),
1366
- ...contents,
1367
- });
1368
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1369
- };
1370
- const de_ApplicationSummaries = (output, context) => {
1371
- const retVal = (output || [])
1372
- .filter((e) => e != null)
1373
- .map((entry) => {
1374
- return de_ApplicationSummary(entry);
1375
- });
1376
- return retVal;
1377
- };
1378
- const de_ApplicationSummary = (output, context) => {
1379
- return smithyClient.take(output, {
1380
- ApiGatewayProxy: smithyClient._json,
1381
- ApplicationId: smithyClient.expectString,
1382
- Arn: smithyClient.expectString,
1383
- CreatedByAccountId: smithyClient.expectString,
1384
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1385
- EnvironmentId: smithyClient.expectString,
1386
- Error: smithyClient._json,
1387
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1388
- Name: smithyClient.expectString,
1389
- OwnerAccountId: smithyClient.expectString,
1390
- ProxyType: smithyClient.expectString,
1391
- State: smithyClient.expectString,
1392
- Tags: smithyClient._json,
1393
- VpcId: smithyClient.expectString,
1394
- });
1395
- };
1396
- const de_EnvironmentSummaries = (output, context) => {
1397
- const retVal = (output || [])
1398
- .filter((e) => e != null)
1399
- .map((entry) => {
1400
- return de_EnvironmentSummary(entry);
1401
- });
1402
- return retVal;
1403
- };
1404
- const de_EnvironmentSummary = (output, context) => {
1405
- return smithyClient.take(output, {
1406
- Arn: smithyClient.expectString,
1407
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1408
- Description: smithyClient.expectString,
1409
- EnvironmentId: smithyClient.expectString,
1410
- Error: smithyClient._json,
1411
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1412
- Name: smithyClient.expectString,
1413
- NetworkFabricType: smithyClient.expectString,
1414
- OwnerAccountId: smithyClient.expectString,
1415
- State: smithyClient.expectString,
1416
- Tags: smithyClient._json,
1417
- TransitGatewayId: smithyClient.expectString,
1418
- });
1419
- };
1420
- const de_EnvironmentVpc = (output, context) => {
1421
- return smithyClient.take(output, {
1422
- AccountId: smithyClient.expectString,
1423
- CidrBlocks: smithyClient._json,
1424
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1425
- EnvironmentId: smithyClient.expectString,
1426
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1427
- VpcId: smithyClient.expectString,
1428
- VpcName: smithyClient.expectString,
1429
- });
1430
- };
1431
- const de_EnvironmentVpcs = (output, context) => {
1432
- const retVal = (output || [])
1433
- .filter((e) => e != null)
1434
- .map((entry) => {
1435
- return de_EnvironmentVpc(entry);
1436
- });
1437
- return retVal;
1438
- };
1439
- const de_RouteSummaries = (output, context) => {
1440
- const retVal = (output || [])
1441
- .filter((e) => e != null)
1442
- .map((entry) => {
1443
- return de_RouteSummary(entry);
1444
- });
1445
- return retVal;
1446
- };
1447
- const de_RouteSummary = (output, context) => {
1448
- return smithyClient.take(output, {
1449
- AppendSourcePath: smithyClient.expectBoolean,
1450
- ApplicationId: smithyClient.expectString,
1451
- Arn: smithyClient.expectString,
1452
- CreatedByAccountId: smithyClient.expectString,
1453
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1454
- EnvironmentId: smithyClient.expectString,
1455
- Error: smithyClient._json,
1456
- IncludeChildPaths: smithyClient.expectBoolean,
1457
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1458
- Methods: smithyClient._json,
1459
- OwnerAccountId: smithyClient.expectString,
1460
- PathResourceToId: smithyClient._json,
1461
- RouteId: smithyClient.expectString,
1462
- RouteType: smithyClient.expectString,
1463
- ServiceId: smithyClient.expectString,
1464
- SourcePath: smithyClient.expectString,
1465
- State: smithyClient.expectString,
1466
- Tags: smithyClient._json,
1467
- });
1468
- };
1469
- const de_ServiceSummaries = (output, context) => {
1470
- const retVal = (output || [])
1471
- .filter((e) => e != null)
1472
- .map((entry) => {
1473
- return de_ServiceSummary(entry);
1474
- });
1475
- return retVal;
1476
- };
1477
- const de_ServiceSummary = (output, context) => {
1478
- return smithyClient.take(output, {
1479
- ApplicationId: smithyClient.expectString,
1480
- Arn: smithyClient.expectString,
1481
- CreatedByAccountId: smithyClient.expectString,
1482
- CreatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1483
- Description: smithyClient.expectString,
1484
- EndpointType: smithyClient.expectString,
1485
- EnvironmentId: smithyClient.expectString,
1486
- Error: smithyClient._json,
1487
- LambdaEndpoint: smithyClient._json,
1488
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1489
- Name: smithyClient.expectString,
1490
- OwnerAccountId: smithyClient.expectString,
1491
- ServiceId: smithyClient.expectString,
1492
- State: smithyClient.expectString,
1493
- Tags: smithyClient._json,
1494
- UrlEndpoint: smithyClient._json,
1495
- VpcId: smithyClient.expectString,
1496
- });
1497
- };
1498
- const deserializeMetadata = (output) => ({
1499
- httpStatusCode: output.statusCode,
1500
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1501
- extendedRequestId: output.headers["x-amz-id-2"],
1502
- cfId: output.headers["x-amz-cf-id"],
1503
- });
348
+
349
+ const _A = "Arn";
350
+ const _AD = "AdditionalDetails";
351
+ const _ADE = "AccessDeniedException";
352
+ const _AGI = "ApiGatewayId";
353
+ const _AGP = "ApiGatewayProxy";
354
+ const _AGPC = "ApiGatewayProxyConfig";
355
+ const _AGPI = "ApiGatewayProxyInput";
356
+ const _AGPS = "ApiGatewayProxySummary";
357
+ const _AI = "ApplicationId";
358
+ const _AIc = "AccountId";
359
+ const _AIp = "ApplicationIdentifier";
360
+ const _AS = "ApplicationSummary";
361
+ const _ASL = "ApplicationSummaryList";
362
+ const _ASP = "AppendSourcePath";
363
+ const _ASc = "ActivationState";
364
+ const _ASp = "ApplicationSummaries";
365
+ const _C = "Code";
366
+ const _CA = "CreateApplication";
367
+ const _CAR = "CreateApplicationRequest";
368
+ const _CARr = "CreateApplicationResponse";
369
+ const _CB = "CidrBlocks";
370
+ const _CBAI = "CreatedByAccountId";
371
+ const _CE = "ConflictException";
372
+ const _CER = "CreateEnvironmentRequest";
373
+ const _CERr = "CreateEnvironmentResponse";
374
+ const _CEr = "CreateEnvironment";
375
+ const _CR = "CreateRoute";
376
+ const _CRR = "CreateRouteRequest";
377
+ const _CRRr = "CreateRouteResponse";
378
+ const _CS = "CreateService";
379
+ const _CSR = "CreateServiceRequest";
380
+ const _CSRr = "CreateServiceResponse";
381
+ const _CT = "CreatedTime";
382
+ const _CTl = "ClientToken";
383
+ const _D = "Description";
384
+ const _DA = "DeleteApplication";
385
+ const _DAR = "DeleteApplicationRequest";
386
+ const _DARe = "DeleteApplicationResponse";
387
+ const _DE = "DeleteEnvironment";
388
+ const _DER = "DeleteEnvironmentRequest";
389
+ const _DERe = "DeleteEnvironmentResponse";
390
+ const _DR = "DefaultRoute";
391
+ const _DRI = "DefaultRouteInput";
392
+ const _DRP = "DeleteResourcePolicy";
393
+ const _DRPR = "DeleteResourcePolicyRequest";
394
+ const _DRPRe = "DeleteResourcePolicyResponse";
395
+ const _DRR = "DeleteRouteRequest";
396
+ const _DRRe = "DeleteRouteResponse";
397
+ const _DRe = "DeleteRoute";
398
+ const _DS = "DeleteService";
399
+ const _DSR = "DeleteServiceRequest";
400
+ const _DSRe = "DeleteServiceResponse";
401
+ const _E = "Error";
402
+ const _EI = "EnvironmentId";
403
+ const _EIn = "EnvironmentIdentifier";
404
+ const _ER = "ErrorResponse";
405
+ const _ES = "EnvironmentSummary";
406
+ const _ESL = "EnvironmentSummaryList";
407
+ const _ESn = "EnvironmentSummaries";
408
+ const _ET = "EndpointType";
409
+ const _EV = "EnvironmentVpc";
410
+ const _EVL = "EnvironmentVpcList";
411
+ const _EVn = "EnvironmentVpcs";
412
+ const _GA = "GetApplication";
413
+ const _GAR = "GetApplicationRequest";
414
+ const _GARe = "GetApplicationResponse";
415
+ const _GE = "GetEnvironment";
416
+ const _GER = "GetEnvironmentRequest";
417
+ const _GERe = "GetEnvironmentResponse";
418
+ const _GR = "GetRoute";
419
+ const _GRP = "GetResourcePolicy";
420
+ const _GRPR = "GetResourcePolicyRequest";
421
+ const _GRPRe = "GetResourcePolicyResponse";
422
+ const _GRR = "GetRouteRequest";
423
+ const _GRRe = "GetRouteResponse";
424
+ const _GS = "GetService";
425
+ const _GSR = "GetServiceRequest";
426
+ const _GSRe = "GetServiceResponse";
427
+ const _HU = "HealthUrl";
428
+ const _I = "Identifier";
429
+ const _ICP = "IncludeChildPaths";
430
+ const _IRPE = "InvalidResourcePolicyException";
431
+ const _ISE = "InternalServerException";
432
+ const _LA = "ListApplications";
433
+ const _LAR = "ListApplicationsRequest";
434
+ const _LARi = "ListApplicationsResponse";
435
+ const _LE = "LambdaEndpoint";
436
+ const _LEC = "LambdaEndpointConfig";
437
+ const _LEI = "LambdaEndpointInput";
438
+ const _LER = "ListEnvironmentsRequest";
439
+ const _LERi = "ListEnvironmentsResponse";
440
+ const _LES = "LambdaEndpointSummary";
441
+ const _LEV = "ListEnvironmentVpcs";
442
+ const _LEVR = "ListEnvironmentVpcsRequest";
443
+ const _LEVRi = "ListEnvironmentVpcsResponse";
444
+ const _LEi = "ListEnvironments";
445
+ const _LR = "ListRoutes";
446
+ const _LRR = "ListRoutesRequest";
447
+ const _LRRi = "ListRoutesResponse";
448
+ const _LS = "ListServices";
449
+ const _LSR = "ListServicesRequest";
450
+ const _LSRi = "ListServicesResponse";
451
+ const _LTFR = "ListTagsForResource";
452
+ const _LTFRR = "ListTagsForResourceRequest";
453
+ const _LTFRRi = "ListTagsForResourceResponse";
454
+ const _LUT = "LastUpdatedTime";
455
+ const _M = "Message";
1504
456
  const _MR = "MaxResults";
457
+ const _Me = "Methods";
458
+ const _N = "Name";
459
+ const _NA = "NlbArn";
460
+ const _NFT = "NetworkFabricType";
461
+ const _NN = "NlbName";
1505
462
  const _NT = "NextToken";
463
+ const _OAI = "OwnerAccountId";
464
+ const _P = "Policy";
465
+ const _PRP = "PutResourcePolicy";
466
+ const _PRPR = "PutResourcePolicyRequest";
467
+ const _PRPRu = "PutResourcePolicyResponse";
468
+ const _PRTI = "PathResourceToId";
469
+ const _PT = "ProxyType";
470
+ const _PU = "ProxyUrl";
471
+ const _QC = "QuotaCode";
472
+ const _RA = "ResourceArn";
1506
473
  const _RAS = "RetryAfterSeconds";
474
+ const _RA_ = "Retry-After";
475
+ const _RI = "ResourceId";
476
+ const _RIe = "ResourceIdentifier";
477
+ const _RIo = "RouteId";
478
+ const _RIou = "RouteIdentifier";
479
+ const _RNFE = "ResourceNotFoundException";
480
+ const _RS = "RouteSummary";
481
+ const _RSL = "RouteSummaryList";
482
+ const _RSo = "RouteSummaries";
483
+ const _RT = "ResourceType";
484
+ const _RTo = "RouteType";
485
+ const _S = "State";
486
+ const _SC = "ServiceCode";
487
+ const _SI = "ServiceIdentifier";
488
+ const _SIe = "ServiceId";
489
+ const _SN = "StageName";
490
+ const _SP = "SourcePath";
491
+ const _SQEE = "ServiceQuotaExceededException";
492
+ const _SS = "ServiceSummary";
493
+ const _SSL = "ServiceSummaryList";
494
+ const _SSe = "ServiceSummaries";
495
+ const _T = "Tags";
496
+ const _TE = "ThrottlingException";
497
+ const _TGI = "TransitGatewayId";
1507
498
  const _TK = "TagKeys";
499
+ const _TM = "TagMap";
500
+ const _TR = "TagResource";
501
+ const _TRR = "TagResourceRequest";
502
+ const _TRRa = "TagResourceResponse";
503
+ const _U = "Url";
504
+ const _UE = "UrlEndpoint";
505
+ const _UEC = "UrlEndpointConfig";
506
+ const _UEI = "UrlEndpointInput";
507
+ const _UES = "UrlEndpointSummary";
508
+ const _UPR = "UriPathRoute";
509
+ const _UPRI = "UriPathRouteInput";
510
+ const _UR = "UntagResource";
511
+ const _URR = "UntagResourceRequest";
512
+ const _URRn = "UntagResourceResponse";
513
+ const _URRp = "UpdateRouteRequest";
514
+ const _URRpd = "UpdateRouteResponse";
515
+ const _URp = "UpdateRoute";
516
+ const _VE = "ValidationException";
517
+ const _VI = "VpcId";
518
+ const _VLI = "VpcLinkId";
519
+ const _VN = "VpcName";
520
+ const _c = "client";
521
+ const _e = "error";
522
+ const _h = "http";
523
+ const _hE = "httpError";
524
+ const _hH = "httpHeader";
525
+ const _hQ = "httpQuery";
1508
526
  const _mR = "maxResults";
1509
527
  const _nT = "nextToken";
1510
- const _ra = "retry-after";
528
+ const _s = "server";
529
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubrefactorspaces";
1511
530
  const _tK = "tagKeys";
531
+ const n0 = "com.amazonaws.migrationhubrefactorspaces";
532
+ var AccessDeniedException = [
533
+ -3,
534
+ n0,
535
+ _ADE,
536
+ {
537
+ [_e]: _c,
538
+ [_hE]: 403,
539
+ },
540
+ [_M],
541
+ [0],
542
+ ];
543
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
544
+ var ApiGatewayProxyConfig = [
545
+ 3,
546
+ n0,
547
+ _AGPC,
548
+ 0,
549
+ [_PU, _AGI, _VLI, _NA, _NN, _ET, _SN],
550
+ [0, 0, 0, 0, 0, 0, 0],
551
+ ];
552
+ var ApiGatewayProxyInput = [3, n0, _AGPI, 0, [_ET, _SN], [0, 0]];
553
+ var ApiGatewayProxySummary = [
554
+ 3,
555
+ n0,
556
+ _AGPS,
557
+ 0,
558
+ [_PU, _AGI, _VLI, _NA, _NN, _ET, _SN],
559
+ [0, 0, 0, 0, 0, 0, 0],
560
+ ];
561
+ var ApplicationSummary = [
562
+ 3,
563
+ n0,
564
+ _AS,
565
+ 0,
566
+ [_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _E, _LUT, _CT],
567
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxySummary, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4],
568
+ ];
569
+ var ConflictException = [
570
+ -3,
571
+ n0,
572
+ _CE,
573
+ {
574
+ [_e]: _c,
575
+ [_hE]: 409,
576
+ },
577
+ [_M, _RI, _RT],
578
+ [0, 0, 0],
579
+ ];
580
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
581
+ var CreateApplicationRequest = [
582
+ 3,
583
+ n0,
584
+ _CAR,
585
+ 0,
586
+ [_N, _EIn, _VI, _PT, _AGP, _T, _CTl],
587
+ [0, [0, 1], 0, 0, () => ApiGatewayProxyInput, [() => TagMap, 0], [0, 4]],
588
+ ];
589
+ var CreateApplicationResponse = [
590
+ 3,
591
+ n0,
592
+ _CARr,
593
+ 0,
594
+ [_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _LUT, _CT],
595
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxyInput, 0, [() => TagMap, 0], 4, 4],
596
+ ];
597
+ var CreateEnvironmentRequest = [
598
+ 3,
599
+ n0,
600
+ _CER,
601
+ 0,
602
+ [_N, _D, _NFT, _T, _CTl],
603
+ [0, 0, 0, [() => TagMap, 0], [0, 4]],
604
+ ];
605
+ var CreateEnvironmentResponse = [
606
+ 3,
607
+ n0,
608
+ _CERr,
609
+ 0,
610
+ [_N, _A, _D, _EI, _NFT, _OAI, _S, _T, _LUT, _CT],
611
+ [0, 0, 0, 0, 0, 0, 0, [() => TagMap, 0], 4, 4],
612
+ ];
613
+ var CreateRouteRequest = [
614
+ 3,
615
+ n0,
616
+ _CRR,
617
+ 0,
618
+ [_EIn, _AIp, _SI, _RTo, _DR, _UPR, _T, _CTl],
619
+ [[0, 1], [0, 1], 0, 0, () => DefaultRouteInput, () => UriPathRouteInput, [() => TagMap, 0], [0, 4]],
620
+ ];
621
+ var CreateRouteResponse = [
622
+ 3,
623
+ n0,
624
+ _CRRr,
625
+ 0,
626
+ [_RIo, _A, _OAI, _CBAI, _RTo, _SIe, _AI, _UPR, _S, _T, _LUT, _CT],
627
+ [0, 0, 0, 0, 0, 0, 0, () => UriPathRouteInput, 0, [() => TagMap, 0], 4, 4],
628
+ ];
629
+ var CreateServiceRequest = [
630
+ 3,
631
+ n0,
632
+ _CSR,
633
+ 0,
634
+ [_N, _D, _EIn, _AIp, _VI, _ET, _UE, _LE, _T, _CTl],
635
+ [0, 0, [0, 1], [0, 1], 0, 0, () => UrlEndpointInput, () => LambdaEndpointInput, [() => TagMap, 0], [0, 4]],
636
+ ];
637
+ var CreateServiceResponse = [
638
+ 3,
639
+ n0,
640
+ _CSRr,
641
+ 0,
642
+ [_SIe, _N, _A, _OAI, _CBAI, _D, _EI, _AI, _VI, _ET, _UE, _LE, _S, _T, _LUT, _CT],
643
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => UrlEndpointInput, () => LambdaEndpointInput, 0, [() => TagMap, 0], 4, 4],
644
+ ];
645
+ var DefaultRouteInput = [3, n0, _DRI, 0, [_ASc], [0]];
646
+ var DeleteApplicationRequest = [
647
+ 3,
648
+ n0,
649
+ _DAR,
650
+ 0,
651
+ [_EIn, _AIp],
652
+ [
653
+ [0, 1],
654
+ [0, 1],
655
+ ],
656
+ ];
657
+ var DeleteApplicationResponse = [
658
+ 3,
659
+ n0,
660
+ _DARe,
661
+ 0,
662
+ [_N, _A, _AI, _EI, _S, _LUT],
663
+ [0, 0, 0, 0, 0, 4],
664
+ ];
665
+ var DeleteEnvironmentRequest = [3, n0, _DER, 0, [_EIn], [[0, 1]]];
666
+ var DeleteEnvironmentResponse = [
667
+ 3,
668
+ n0,
669
+ _DERe,
670
+ 0,
671
+ [_N, _A, _EI, _S, _LUT],
672
+ [0, 0, 0, 0, 4],
673
+ ];
674
+ var DeleteResourcePolicyRequest = [3, n0, _DRPR, 0, [_I], [[0, 1]]];
675
+ var DeleteResourcePolicyResponse = [3, n0, _DRPRe, 0, [], []];
676
+ var DeleteRouteRequest = [
677
+ 3,
678
+ n0,
679
+ _DRR,
680
+ 0,
681
+ [_EIn, _AIp, _RIou],
682
+ [
683
+ [0, 1],
684
+ [0, 1],
685
+ [0, 1],
686
+ ],
687
+ ];
688
+ var DeleteRouteResponse = [
689
+ 3,
690
+ n0,
691
+ _DRRe,
692
+ 0,
693
+ [_RIo, _A, _SIe, _AI, _S, _LUT],
694
+ [0, 0, 0, 0, 0, 4],
695
+ ];
696
+ var DeleteServiceRequest = [
697
+ 3,
698
+ n0,
699
+ _DSR,
700
+ 0,
701
+ [_EIn, _AIp, _SI],
702
+ [
703
+ [0, 1],
704
+ [0, 1],
705
+ [0, 1],
706
+ ],
707
+ ];
708
+ var DeleteServiceResponse = [
709
+ 3,
710
+ n0,
711
+ _DSRe,
712
+ 0,
713
+ [_SIe, _N, _A, _EI, _AI, _S, _LUT],
714
+ [0, 0, 0, 0, 0, 0, 4],
715
+ ];
716
+ var EnvironmentSummary = [
717
+ 3,
718
+ n0,
719
+ _ES,
720
+ 0,
721
+ [_N, _A, _D, _EI, _NFT, _OAI, _TGI, _S, _T, _E, _LUT, _CT],
722
+ [0, 0, 0, 0, 0, 0, 0, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4],
723
+ ];
724
+ var EnvironmentVpc = [
725
+ 3,
726
+ n0,
727
+ _EV,
728
+ 0,
729
+ [_EI, _VI, _AIc, _CB, _VN, _LUT, _CT],
730
+ [0, 0, 0, 64 | 0, 0, 4, 4],
731
+ ];
732
+ var ErrorResponse = [
733
+ 3,
734
+ n0,
735
+ _ER,
736
+ 0,
737
+ [_C, _M, _AIc, _RIe, _RT, _AD],
738
+ [0, 0, 0, 0, 0, 128 | 0],
739
+ ];
740
+ var GetApplicationRequest = [
741
+ 3,
742
+ n0,
743
+ _GAR,
744
+ 0,
745
+ [_EIn, _AIp],
746
+ [
747
+ [0, 1],
748
+ [0, 1],
749
+ ],
750
+ ];
751
+ var GetApplicationResponse = [
752
+ 3,
753
+ n0,
754
+ _GARe,
755
+ 0,
756
+ [_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _E, _LUT, _CT],
757
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxyConfig, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4],
758
+ ];
759
+ var GetEnvironmentRequest = [3, n0, _GER, 0, [_EIn], [[0, 1]]];
760
+ var GetEnvironmentResponse = [
761
+ 3,
762
+ n0,
763
+ _GERe,
764
+ 0,
765
+ [_N, _A, _D, _EI, _NFT, _OAI, _TGI, _S, _T, _E, _LUT, _CT],
766
+ [0, 0, 0, 0, 0, 0, 0, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4],
767
+ ];
768
+ var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_I], [[0, 1]]];
769
+ var GetResourcePolicyResponse = [3, n0, _GRPRe, 0, [_P], [0]];
770
+ var GetRouteRequest = [
771
+ 3,
772
+ n0,
773
+ _GRR,
774
+ 0,
775
+ [_EIn, _AIp, _RIou],
776
+ [
777
+ [0, 1],
778
+ [0, 1],
779
+ [0, 1],
780
+ ],
781
+ ];
782
+ var GetRouteResponse = [
783
+ 3,
784
+ n0,
785
+ _GRRe,
786
+ 0,
787
+ [_RIo, _A, _OAI, _CBAI, _RTo, _SIe, _AI, _EI, _SP, _Me, _ICP, _PRTI, _S, _T, _E, _LUT, _CT, _ASP],
788
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 2, 128 | 0, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4, 2],
789
+ ];
790
+ var GetServiceRequest = [
791
+ 3,
792
+ n0,
793
+ _GSR,
794
+ 0,
795
+ [_EIn, _AIp, _SI],
796
+ [
797
+ [0, 1],
798
+ [0, 1],
799
+ [0, 1],
800
+ ],
801
+ ];
802
+ var GetServiceResponse = [
803
+ 3,
804
+ n0,
805
+ _GSRe,
806
+ 0,
807
+ [_SIe, _N, _A, _OAI, _CBAI, _D, _EI, _AI, _VI, _ET, _UE, _LE, _S, _T, _E, _LUT, _CT],
808
+ [
809
+ 0,
810
+ 0,
811
+ 0,
812
+ 0,
813
+ 0,
814
+ 0,
815
+ 0,
816
+ 0,
817
+ 0,
818
+ 0,
819
+ () => UrlEndpointConfig,
820
+ () => LambdaEndpointConfig,
821
+ 0,
822
+ [() => TagMap, 0],
823
+ () => ErrorResponse,
824
+ 4,
825
+ 4,
826
+ ],
827
+ ];
828
+ var InternalServerException = [
829
+ -3,
830
+ n0,
831
+ _ISE,
832
+ {
833
+ [_e]: _s,
834
+ [_hE]: 500,
835
+ },
836
+ [_M],
837
+ [0],
838
+ ];
839
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
840
+ var InvalidResourcePolicyException = [
841
+ -3,
842
+ n0,
843
+ _IRPE,
844
+ {
845
+ [_e]: _c,
846
+ [_hE]: 400,
847
+ },
848
+ [_M],
849
+ [0],
850
+ ];
851
+ schema.TypeRegistry.for(n0).registerError(InvalidResourcePolicyException, InvalidResourcePolicyException$1);
852
+ var LambdaEndpointConfig = [3, n0, _LEC, 0, [_A], [0]];
853
+ var LambdaEndpointInput = [3, n0, _LEI, 0, [_A], [0]];
854
+ var LambdaEndpointSummary = [3, n0, _LES, 0, [_A], [0]];
855
+ var ListApplicationsRequest = [
856
+ 3,
857
+ n0,
858
+ _LAR,
859
+ 0,
860
+ [_EIn, _NT, _MR],
861
+ [
862
+ [0, 1],
863
+ [
864
+ 0,
865
+ {
866
+ [_hQ]: _nT,
867
+ },
868
+ ],
869
+ [
870
+ 1,
871
+ {
872
+ [_hQ]: _mR,
873
+ },
874
+ ],
875
+ ],
876
+ ];
877
+ var ListApplicationsResponse = [
878
+ 3,
879
+ n0,
880
+ _LARi,
881
+ 0,
882
+ [_ASL, _NT],
883
+ [[() => ApplicationSummaries, 0], 0],
884
+ ];
885
+ var ListEnvironmentsRequest = [
886
+ 3,
887
+ n0,
888
+ _LER,
889
+ 0,
890
+ [_NT, _MR],
891
+ [
892
+ [
893
+ 0,
894
+ {
895
+ [_hQ]: _nT,
896
+ },
897
+ ],
898
+ [
899
+ 1,
900
+ {
901
+ [_hQ]: _mR,
902
+ },
903
+ ],
904
+ ],
905
+ ];
906
+ var ListEnvironmentsResponse = [
907
+ 3,
908
+ n0,
909
+ _LERi,
910
+ 0,
911
+ [_ESL, _NT],
912
+ [[() => EnvironmentSummaries, 0], 0],
913
+ ];
914
+ var ListEnvironmentVpcsRequest = [
915
+ 3,
916
+ n0,
917
+ _LEVR,
918
+ 0,
919
+ [_EIn, _NT, _MR],
920
+ [
921
+ [0, 1],
922
+ [
923
+ 0,
924
+ {
925
+ [_hQ]: _nT,
926
+ },
927
+ ],
928
+ [
929
+ 1,
930
+ {
931
+ [_hQ]: _mR,
932
+ },
933
+ ],
934
+ ],
935
+ ];
936
+ var ListEnvironmentVpcsResponse = [
937
+ 3,
938
+ n0,
939
+ _LEVRi,
940
+ 0,
941
+ [_EVL, _NT],
942
+ [() => EnvironmentVpcs, 0],
943
+ ];
944
+ var ListRoutesRequest = [
945
+ 3,
946
+ n0,
947
+ _LRR,
948
+ 0,
949
+ [_EIn, _AIp, _NT, _MR],
950
+ [
951
+ [0, 1],
952
+ [0, 1],
953
+ [
954
+ 0,
955
+ {
956
+ [_hQ]: _nT,
957
+ },
958
+ ],
959
+ [
960
+ 1,
961
+ {
962
+ [_hQ]: _mR,
963
+ },
964
+ ],
965
+ ],
966
+ ];
967
+ var ListRoutesResponse = [3, n0, _LRRi, 0, [_RSL, _NT], [[() => RouteSummaries, 0], 0]];
968
+ var ListServicesRequest = [
969
+ 3,
970
+ n0,
971
+ _LSR,
972
+ 0,
973
+ [_EIn, _AIp, _NT, _MR],
974
+ [
975
+ [0, 1],
976
+ [0, 1],
977
+ [
978
+ 0,
979
+ {
980
+ [_hQ]: _nT,
981
+ },
982
+ ],
983
+ [
984
+ 1,
985
+ {
986
+ [_hQ]: _mR,
987
+ },
988
+ ],
989
+ ],
990
+ ];
991
+ var ListServicesResponse = [
992
+ 3,
993
+ n0,
994
+ _LSRi,
995
+ 0,
996
+ [_SSL, _NT],
997
+ [[() => ServiceSummaries, 0], 0],
998
+ ];
999
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
1000
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [[() => TagMap, 0]]];
1001
+ var PutResourcePolicyRequest = [3, n0, _PRPR, 0, [_RA, _P], [0, 0]];
1002
+ var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [], []];
1003
+ var ResourceNotFoundException = [
1004
+ -3,
1005
+ n0,
1006
+ _RNFE,
1007
+ {
1008
+ [_e]: _c,
1009
+ [_hE]: 404,
1010
+ },
1011
+ [_M, _RI, _RT],
1012
+ [0, 0, 0],
1013
+ ];
1014
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1015
+ var RouteSummary = [
1016
+ 3,
1017
+ n0,
1018
+ _RS,
1019
+ 0,
1020
+ [_RIo, _A, _OAI, _CBAI, _RTo, _SIe, _AI, _EI, _SP, _Me, _ICP, _PRTI, _S, _T, _E, _LUT, _CT, _ASP],
1021
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 2, 128 | 0, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4, 2],
1022
+ ];
1023
+ var ServiceQuotaExceededException = [
1024
+ -3,
1025
+ n0,
1026
+ _SQEE,
1027
+ {
1028
+ [_e]: _c,
1029
+ [_hE]: 402,
1030
+ },
1031
+ [_M, _RI, _RT, _QC, _SC],
1032
+ [0, 0, 0, 0, 0],
1033
+ ];
1034
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1035
+ var ServiceSummary = [
1036
+ 3,
1037
+ n0,
1038
+ _SS,
1039
+ 0,
1040
+ [_SIe, _N, _A, _OAI, _CBAI, _D, _EI, _AI, _VI, _ET, _UE, _LE, _S, _T, _E, _LUT, _CT],
1041
+ [
1042
+ 0,
1043
+ 0,
1044
+ 0,
1045
+ 0,
1046
+ 0,
1047
+ 0,
1048
+ 0,
1049
+ 0,
1050
+ 0,
1051
+ 0,
1052
+ () => UrlEndpointSummary,
1053
+ () => LambdaEndpointSummary,
1054
+ 0,
1055
+ [() => TagMap, 0],
1056
+ () => ErrorResponse,
1057
+ 4,
1058
+ 4,
1059
+ ],
1060
+ ];
1061
+ var TagResourceRequest = [
1062
+ 3,
1063
+ n0,
1064
+ _TRR,
1065
+ 0,
1066
+ [_RA, _T],
1067
+ [
1068
+ [0, 1],
1069
+ [() => TagMap, 0],
1070
+ ],
1071
+ ];
1072
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1073
+ var ThrottlingException = [
1074
+ -3,
1075
+ n0,
1076
+ _TE,
1077
+ {
1078
+ [_e]: _c,
1079
+ [_hE]: 429,
1080
+ },
1081
+ [_M, _QC, _SC, _RAS],
1082
+ [
1083
+ 0,
1084
+ 0,
1085
+ 0,
1086
+ [
1087
+ 1,
1088
+ {
1089
+ [_hH]: _RA_,
1090
+ },
1091
+ ],
1092
+ ],
1093
+ ];
1094
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1095
+ var UntagResourceRequest = [
1096
+ 3,
1097
+ n0,
1098
+ _URR,
1099
+ 0,
1100
+ [_RA, _TK],
1101
+ [
1102
+ [0, 1],
1103
+ [
1104
+ () => TagKeys,
1105
+ {
1106
+ [_hQ]: _tK,
1107
+ },
1108
+ ],
1109
+ ],
1110
+ ];
1111
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1112
+ var UpdateRouteRequest = [
1113
+ 3,
1114
+ n0,
1115
+ _URRp,
1116
+ 0,
1117
+ [_EIn, _AIp, _RIou, _ASc],
1118
+ [[0, 1], [0, 1], [0, 1], 0],
1119
+ ];
1120
+ var UpdateRouteResponse = [
1121
+ 3,
1122
+ n0,
1123
+ _URRpd,
1124
+ 0,
1125
+ [_RIo, _A, _SIe, _AI, _S, _LUT],
1126
+ [0, 0, 0, 0, 0, 4],
1127
+ ];
1128
+ var UriPathRouteInput = [
1129
+ 3,
1130
+ n0,
1131
+ _UPRI,
1132
+ 0,
1133
+ [_SP, _ASc, _Me, _ICP, _ASP],
1134
+ [0, 0, 64 | 0, 2, 2],
1135
+ ];
1136
+ var UrlEndpointConfig = [3, n0, _UEC, 0, [_U, _HU], [0, 0]];
1137
+ var UrlEndpointInput = [3, n0, _UEI, 0, [_U, _HU], [0, 0]];
1138
+ var UrlEndpointSummary = [3, n0, _UES, 0, [_U, _HU], [0, 0]];
1139
+ var ValidationException = [
1140
+ -3,
1141
+ n0,
1142
+ _VE,
1143
+ {
1144
+ [_e]: _c,
1145
+ [_hE]: 400,
1146
+ },
1147
+ [_M],
1148
+ [0],
1149
+ ];
1150
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1151
+ var MigrationHubRefactorSpacesServiceException = [
1152
+ -3,
1153
+ _sm,
1154
+ "MigrationHubRefactorSpacesServiceException",
1155
+ 0,
1156
+ [],
1157
+ [],
1158
+ ];
1159
+ schema.TypeRegistry.for(_sm).registerError(MigrationHubRefactorSpacesServiceException, MigrationHubRefactorSpacesServiceException$1);
1160
+ var ApplicationSummaries = [1, n0, _ASp, 0, [() => ApplicationSummary, 0]];
1161
+ var EnvironmentSummaries = [1, n0, _ESn, 0, [() => EnvironmentSummary, 0]];
1162
+ var EnvironmentVpcs = [1, n0, _EVn, 0, () => EnvironmentVpc];
1163
+ var RouteSummaries = [1, n0, _RSo, 0, [() => RouteSummary, 0]];
1164
+ var ServiceSummaries = [1, n0, _SSe, 0, [() => ServiceSummary, 0]];
1165
+ var TagKeys = [1, n0, _TK, 8, 0];
1166
+ var TagMap = [2, n0, _TM, 8, 0, 0];
1167
+ var CreateApplication = [
1168
+ 9,
1169
+ n0,
1170
+ _CA,
1171
+ {
1172
+ [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications", 200],
1173
+ },
1174
+ () => CreateApplicationRequest,
1175
+ () => CreateApplicationResponse,
1176
+ ];
1177
+ var CreateEnvironment = [
1178
+ 9,
1179
+ n0,
1180
+ _CEr,
1181
+ {
1182
+ [_h]: ["POST", "/environments", 200],
1183
+ },
1184
+ () => CreateEnvironmentRequest,
1185
+ () => CreateEnvironmentResponse,
1186
+ ];
1187
+ var CreateRoute = [
1188
+ 9,
1189
+ n0,
1190
+ _CR,
1191
+ {
1192
+ [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200],
1193
+ },
1194
+ () => CreateRouteRequest,
1195
+ () => CreateRouteResponse,
1196
+ ];
1197
+ var CreateService = [
1198
+ 9,
1199
+ n0,
1200
+ _CS,
1201
+ {
1202
+ [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200],
1203
+ },
1204
+ () => CreateServiceRequest,
1205
+ () => CreateServiceResponse,
1206
+ ];
1207
+ var DeleteApplication = [
1208
+ 9,
1209
+ n0,
1210
+ _DA,
1211
+ {
1212
+ [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200],
1213
+ },
1214
+ () => DeleteApplicationRequest,
1215
+ () => DeleteApplicationResponse,
1216
+ ];
1217
+ var DeleteEnvironment = [
1218
+ 9,
1219
+ n0,
1220
+ _DE,
1221
+ {
1222
+ [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}", 200],
1223
+ },
1224
+ () => DeleteEnvironmentRequest,
1225
+ () => DeleteEnvironmentResponse,
1226
+ ];
1227
+ var DeleteResourcePolicy = [
1228
+ 9,
1229
+ n0,
1230
+ _DRP,
1231
+ {
1232
+ [_h]: ["DELETE", "/resourcepolicy/{Identifier}", 200],
1233
+ },
1234
+ () => DeleteResourcePolicyRequest,
1235
+ () => DeleteResourcePolicyResponse,
1236
+ ];
1237
+ var DeleteRoute = [
1238
+ 9,
1239
+ n0,
1240
+ _DRe,
1241
+ {
1242
+ [_h]: [
1243
+ "DELETE",
1244
+ "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}",
1245
+ 200,
1246
+ ],
1247
+ },
1248
+ () => DeleteRouteRequest,
1249
+ () => DeleteRouteResponse,
1250
+ ];
1251
+ var DeleteService = [
1252
+ 9,
1253
+ n0,
1254
+ _DS,
1255
+ {
1256
+ [_h]: [
1257
+ "DELETE",
1258
+ "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}",
1259
+ 200,
1260
+ ],
1261
+ },
1262
+ () => DeleteServiceRequest,
1263
+ () => DeleteServiceResponse,
1264
+ ];
1265
+ var GetApplication = [
1266
+ 9,
1267
+ n0,
1268
+ _GA,
1269
+ {
1270
+ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200],
1271
+ },
1272
+ () => GetApplicationRequest,
1273
+ () => GetApplicationResponse,
1274
+ ];
1275
+ var GetEnvironment = [
1276
+ 9,
1277
+ n0,
1278
+ _GE,
1279
+ {
1280
+ [_h]: ["GET", "/environments/{EnvironmentIdentifier}", 200],
1281
+ },
1282
+ () => GetEnvironmentRequest,
1283
+ () => GetEnvironmentResponse,
1284
+ ];
1285
+ var GetResourcePolicy = [
1286
+ 9,
1287
+ n0,
1288
+ _GRP,
1289
+ {
1290
+ [_h]: ["GET", "/resourcepolicy/{Identifier}", 200],
1291
+ },
1292
+ () => GetResourcePolicyRequest,
1293
+ () => GetResourcePolicyResponse,
1294
+ ];
1295
+ var GetRoute = [
1296
+ 9,
1297
+ n0,
1298
+ _GR,
1299
+ {
1300
+ [_h]: [
1301
+ "GET",
1302
+ "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}",
1303
+ 200,
1304
+ ],
1305
+ },
1306
+ () => GetRouteRequest,
1307
+ () => GetRouteResponse,
1308
+ ];
1309
+ var GetService = [
1310
+ 9,
1311
+ n0,
1312
+ _GS,
1313
+ {
1314
+ [_h]: [
1315
+ "GET",
1316
+ "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}",
1317
+ 200,
1318
+ ],
1319
+ },
1320
+ () => GetServiceRequest,
1321
+ () => GetServiceResponse,
1322
+ ];
1323
+ var ListApplications = [
1324
+ 9,
1325
+ n0,
1326
+ _LA,
1327
+ {
1328
+ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications", 200],
1329
+ },
1330
+ () => ListApplicationsRequest,
1331
+ () => ListApplicationsResponse,
1332
+ ];
1333
+ var ListEnvironments = [
1334
+ 9,
1335
+ n0,
1336
+ _LEi,
1337
+ {
1338
+ [_h]: ["GET", "/environments", 200],
1339
+ },
1340
+ () => ListEnvironmentsRequest,
1341
+ () => ListEnvironmentsResponse,
1342
+ ];
1343
+ var ListEnvironmentVpcs = [
1344
+ 9,
1345
+ n0,
1346
+ _LEV,
1347
+ {
1348
+ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/vpcs", 200],
1349
+ },
1350
+ () => ListEnvironmentVpcsRequest,
1351
+ () => ListEnvironmentVpcsResponse,
1352
+ ];
1353
+ var ListRoutes = [
1354
+ 9,
1355
+ n0,
1356
+ _LR,
1357
+ {
1358
+ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200],
1359
+ },
1360
+ () => ListRoutesRequest,
1361
+ () => ListRoutesResponse,
1362
+ ];
1363
+ var ListServices = [
1364
+ 9,
1365
+ n0,
1366
+ _LS,
1367
+ {
1368
+ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200],
1369
+ },
1370
+ () => ListServicesRequest,
1371
+ () => ListServicesResponse,
1372
+ ];
1373
+ var ListTagsForResource = [
1374
+ 9,
1375
+ n0,
1376
+ _LTFR,
1377
+ {
1378
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1379
+ },
1380
+ () => ListTagsForResourceRequest,
1381
+ () => ListTagsForResourceResponse,
1382
+ ];
1383
+ var PutResourcePolicy = [
1384
+ 9,
1385
+ n0,
1386
+ _PRP,
1387
+ {
1388
+ [_h]: ["PUT", "/resourcepolicy", 200],
1389
+ },
1390
+ () => PutResourcePolicyRequest,
1391
+ () => PutResourcePolicyResponse,
1392
+ ];
1393
+ var TagResource = [
1394
+ 9,
1395
+ n0,
1396
+ _TR,
1397
+ {
1398
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
1399
+ },
1400
+ () => TagResourceRequest,
1401
+ () => TagResourceResponse,
1402
+ ];
1403
+ var UntagResource = [
1404
+ 9,
1405
+ n0,
1406
+ _UR,
1407
+ {
1408
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
1409
+ },
1410
+ () => UntagResourceRequest,
1411
+ () => UntagResourceResponse,
1412
+ ];
1413
+ var UpdateRoute = [
1414
+ 9,
1415
+ n0,
1416
+ _URp,
1417
+ {
1418
+ [_h]: [
1419
+ "PATCH",
1420
+ "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}",
1421
+ 200,
1422
+ ],
1423
+ },
1424
+ () => UpdateRouteRequest,
1425
+ () => UpdateRouteResponse,
1426
+ ];
1512
1427
 
1513
1428
  class CreateApplicationCommand extends smithyClient.Command
1514
1429
  .classBuilder()
1515
1430
  .ep(commonParams)
1516
1431
  .m(function (Command, cs, config, o) {
1517
- return [
1518
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1519
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1520
- ];
1432
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
1433
  })
1522
1434
  .s("RefactorSpaces", "CreateApplication", {})
1523
1435
  .n("MigrationHubRefactorSpacesClient", "CreateApplicationCommand")
1524
- .f(CreateApplicationRequestFilterSensitiveLog, CreateApplicationResponseFilterSensitiveLog)
1525
- .ser(se_CreateApplicationCommand)
1526
- .de(de_CreateApplicationCommand)
1436
+ .sc(CreateApplication)
1527
1437
  .build() {
1528
1438
  }
1529
1439
 
@@ -1531,16 +1441,11 @@ class CreateEnvironmentCommand extends smithyClient.Command
1531
1441
  .classBuilder()
1532
1442
  .ep(commonParams)
1533
1443
  .m(function (Command, cs, config, o) {
1534
- return [
1535
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1536
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1537
- ];
1444
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1538
1445
  })
1539
1446
  .s("RefactorSpaces", "CreateEnvironment", {})
1540
1447
  .n("MigrationHubRefactorSpacesClient", "CreateEnvironmentCommand")
1541
- .f(CreateEnvironmentRequestFilterSensitiveLog, CreateEnvironmentResponseFilterSensitiveLog)
1542
- .ser(se_CreateEnvironmentCommand)
1543
- .de(de_CreateEnvironmentCommand)
1448
+ .sc(CreateEnvironment)
1544
1449
  .build() {
1545
1450
  }
1546
1451
 
@@ -1548,16 +1453,11 @@ class CreateRouteCommand extends smithyClient.Command
1548
1453
  .classBuilder()
1549
1454
  .ep(commonParams)
1550
1455
  .m(function (Command, cs, config, o) {
1551
- return [
1552
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1553
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1554
- ];
1456
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1555
1457
  })
1556
1458
  .s("RefactorSpaces", "CreateRoute", {})
1557
1459
  .n("MigrationHubRefactorSpacesClient", "CreateRouteCommand")
1558
- .f(CreateRouteRequestFilterSensitiveLog, CreateRouteResponseFilterSensitiveLog)
1559
- .ser(se_CreateRouteCommand)
1560
- .de(de_CreateRouteCommand)
1460
+ .sc(CreateRoute)
1561
1461
  .build() {
1562
1462
  }
1563
1463
 
@@ -1565,16 +1465,11 @@ class CreateServiceCommand extends smithyClient.Command
1565
1465
  .classBuilder()
1566
1466
  .ep(commonParams)
1567
1467
  .m(function (Command, cs, config, o) {
1568
- return [
1569
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1570
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1571
- ];
1468
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1572
1469
  })
1573
1470
  .s("RefactorSpaces", "CreateService", {})
1574
1471
  .n("MigrationHubRefactorSpacesClient", "CreateServiceCommand")
1575
- .f(CreateServiceRequestFilterSensitiveLog, CreateServiceResponseFilterSensitiveLog)
1576
- .ser(se_CreateServiceCommand)
1577
- .de(de_CreateServiceCommand)
1472
+ .sc(CreateService)
1578
1473
  .build() {
1579
1474
  }
1580
1475
 
@@ -1582,16 +1477,11 @@ class DeleteApplicationCommand extends smithyClient.Command
1582
1477
  .classBuilder()
1583
1478
  .ep(commonParams)
1584
1479
  .m(function (Command, cs, config, o) {
1585
- return [
1586
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1587
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1588
- ];
1480
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1589
1481
  })
1590
1482
  .s("RefactorSpaces", "DeleteApplication", {})
1591
1483
  .n("MigrationHubRefactorSpacesClient", "DeleteApplicationCommand")
1592
- .f(void 0, void 0)
1593
- .ser(se_DeleteApplicationCommand)
1594
- .de(de_DeleteApplicationCommand)
1484
+ .sc(DeleteApplication)
1595
1485
  .build() {
1596
1486
  }
1597
1487
 
@@ -1599,16 +1489,11 @@ class DeleteEnvironmentCommand extends smithyClient.Command
1599
1489
  .classBuilder()
1600
1490
  .ep(commonParams)
1601
1491
  .m(function (Command, cs, config, o) {
1602
- return [
1603
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1604
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1605
- ];
1492
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
1493
  })
1607
1494
  .s("RefactorSpaces", "DeleteEnvironment", {})
1608
1495
  .n("MigrationHubRefactorSpacesClient", "DeleteEnvironmentCommand")
1609
- .f(void 0, void 0)
1610
- .ser(se_DeleteEnvironmentCommand)
1611
- .de(de_DeleteEnvironmentCommand)
1496
+ .sc(DeleteEnvironment)
1612
1497
  .build() {
1613
1498
  }
1614
1499
 
@@ -1616,16 +1501,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
1616
1501
  .classBuilder()
1617
1502
  .ep(commonParams)
1618
1503
  .m(function (Command, cs, config, o) {
1619
- return [
1620
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1621
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1622
- ];
1504
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1623
1505
  })
1624
1506
  .s("RefactorSpaces", "DeleteResourcePolicy", {})
1625
1507
  .n("MigrationHubRefactorSpacesClient", "DeleteResourcePolicyCommand")
1626
- .f(void 0, void 0)
1627
- .ser(se_DeleteResourcePolicyCommand)
1628
- .de(de_DeleteResourcePolicyCommand)
1508
+ .sc(DeleteResourcePolicy)
1629
1509
  .build() {
1630
1510
  }
1631
1511
 
@@ -1633,16 +1513,11 @@ class DeleteRouteCommand extends smithyClient.Command
1633
1513
  .classBuilder()
1634
1514
  .ep(commonParams)
1635
1515
  .m(function (Command, cs, config, o) {
1636
- return [
1637
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1638
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1639
- ];
1516
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1640
1517
  })
1641
1518
  .s("RefactorSpaces", "DeleteRoute", {})
1642
1519
  .n("MigrationHubRefactorSpacesClient", "DeleteRouteCommand")
1643
- .f(void 0, void 0)
1644
- .ser(se_DeleteRouteCommand)
1645
- .de(de_DeleteRouteCommand)
1520
+ .sc(DeleteRoute)
1646
1521
  .build() {
1647
1522
  }
1648
1523
 
@@ -1650,16 +1525,11 @@ class DeleteServiceCommand extends smithyClient.Command
1650
1525
  .classBuilder()
1651
1526
  .ep(commonParams)
1652
1527
  .m(function (Command, cs, config, o) {
1653
- return [
1654
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1655
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1656
- ];
1528
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1657
1529
  })
1658
1530
  .s("RefactorSpaces", "DeleteService", {})
1659
1531
  .n("MigrationHubRefactorSpacesClient", "DeleteServiceCommand")
1660
- .f(void 0, void 0)
1661
- .ser(se_DeleteServiceCommand)
1662
- .de(de_DeleteServiceCommand)
1532
+ .sc(DeleteService)
1663
1533
  .build() {
1664
1534
  }
1665
1535
 
@@ -1667,16 +1537,11 @@ class GetApplicationCommand extends smithyClient.Command
1667
1537
  .classBuilder()
1668
1538
  .ep(commonParams)
1669
1539
  .m(function (Command, cs, config, o) {
1670
- return [
1671
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1672
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1673
- ];
1540
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1674
1541
  })
1675
1542
  .s("RefactorSpaces", "GetApplication", {})
1676
1543
  .n("MigrationHubRefactorSpacesClient", "GetApplicationCommand")
1677
- .f(void 0, GetApplicationResponseFilterSensitiveLog)
1678
- .ser(se_GetApplicationCommand)
1679
- .de(de_GetApplicationCommand)
1544
+ .sc(GetApplication)
1680
1545
  .build() {
1681
1546
  }
1682
1547
 
@@ -1684,16 +1549,11 @@ class GetEnvironmentCommand extends smithyClient.Command
1684
1549
  .classBuilder()
1685
1550
  .ep(commonParams)
1686
1551
  .m(function (Command, cs, config, o) {
1687
- return [
1688
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1689
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1690
- ];
1552
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1691
1553
  })
1692
1554
  .s("RefactorSpaces", "GetEnvironment", {})
1693
1555
  .n("MigrationHubRefactorSpacesClient", "GetEnvironmentCommand")
1694
- .f(void 0, GetEnvironmentResponseFilterSensitiveLog)
1695
- .ser(se_GetEnvironmentCommand)
1696
- .de(de_GetEnvironmentCommand)
1556
+ .sc(GetEnvironment)
1697
1557
  .build() {
1698
1558
  }
1699
1559
 
@@ -1701,16 +1561,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
1701
1561
  .classBuilder()
1702
1562
  .ep(commonParams)
1703
1563
  .m(function (Command, cs, config, o) {
1704
- return [
1705
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1706
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1707
- ];
1564
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1708
1565
  })
1709
1566
  .s("RefactorSpaces", "GetResourcePolicy", {})
1710
1567
  .n("MigrationHubRefactorSpacesClient", "GetResourcePolicyCommand")
1711
- .f(void 0, void 0)
1712
- .ser(se_GetResourcePolicyCommand)
1713
- .de(de_GetResourcePolicyCommand)
1568
+ .sc(GetResourcePolicy)
1714
1569
  .build() {
1715
1570
  }
1716
1571
 
@@ -1718,16 +1573,11 @@ class GetRouteCommand extends smithyClient.Command
1718
1573
  .classBuilder()
1719
1574
  .ep(commonParams)
1720
1575
  .m(function (Command, cs, config, o) {
1721
- return [
1722
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1723
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1724
- ];
1576
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
1577
  })
1726
1578
  .s("RefactorSpaces", "GetRoute", {})
1727
1579
  .n("MigrationHubRefactorSpacesClient", "GetRouteCommand")
1728
- .f(void 0, GetRouteResponseFilterSensitiveLog)
1729
- .ser(se_GetRouteCommand)
1730
- .de(de_GetRouteCommand)
1580
+ .sc(GetRoute)
1731
1581
  .build() {
1732
1582
  }
1733
1583
 
@@ -1735,16 +1585,11 @@ class GetServiceCommand extends smithyClient.Command
1735
1585
  .classBuilder()
1736
1586
  .ep(commonParams)
1737
1587
  .m(function (Command, cs, config, o) {
1738
- return [
1739
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1740
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1741
- ];
1588
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1742
1589
  })
1743
1590
  .s("RefactorSpaces", "GetService", {})
1744
1591
  .n("MigrationHubRefactorSpacesClient", "GetServiceCommand")
1745
- .f(void 0, GetServiceResponseFilterSensitiveLog)
1746
- .ser(se_GetServiceCommand)
1747
- .de(de_GetServiceCommand)
1592
+ .sc(GetService)
1748
1593
  .build() {
1749
1594
  }
1750
1595
 
@@ -1752,16 +1597,11 @@ class ListApplicationsCommand extends smithyClient.Command
1752
1597
  .classBuilder()
1753
1598
  .ep(commonParams)
1754
1599
  .m(function (Command, cs, config, o) {
1755
- return [
1756
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1757
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1758
- ];
1600
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1759
1601
  })
1760
1602
  .s("RefactorSpaces", "ListApplications", {})
1761
1603
  .n("MigrationHubRefactorSpacesClient", "ListApplicationsCommand")
1762
- .f(void 0, ListApplicationsResponseFilterSensitiveLog)
1763
- .ser(se_ListApplicationsCommand)
1764
- .de(de_ListApplicationsCommand)
1604
+ .sc(ListApplications)
1765
1605
  .build() {
1766
1606
  }
1767
1607
 
@@ -1769,16 +1609,11 @@ class ListEnvironmentsCommand extends smithyClient.Command
1769
1609
  .classBuilder()
1770
1610
  .ep(commonParams)
1771
1611
  .m(function (Command, cs, config, o) {
1772
- return [
1773
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1774
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1775
- ];
1612
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1776
1613
  })
1777
1614
  .s("RefactorSpaces", "ListEnvironments", {})
1778
1615
  .n("MigrationHubRefactorSpacesClient", "ListEnvironmentsCommand")
1779
- .f(void 0, ListEnvironmentsResponseFilterSensitiveLog)
1780
- .ser(se_ListEnvironmentsCommand)
1781
- .de(de_ListEnvironmentsCommand)
1616
+ .sc(ListEnvironments)
1782
1617
  .build() {
1783
1618
  }
1784
1619
 
@@ -1786,16 +1621,11 @@ class ListEnvironmentVpcsCommand extends smithyClient.Command
1786
1621
  .classBuilder()
1787
1622
  .ep(commonParams)
1788
1623
  .m(function (Command, cs, config, o) {
1789
- return [
1790
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1791
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1792
- ];
1624
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1793
1625
  })
1794
1626
  .s("RefactorSpaces", "ListEnvironmentVpcs", {})
1795
1627
  .n("MigrationHubRefactorSpacesClient", "ListEnvironmentVpcsCommand")
1796
- .f(void 0, void 0)
1797
- .ser(se_ListEnvironmentVpcsCommand)
1798
- .de(de_ListEnvironmentVpcsCommand)
1628
+ .sc(ListEnvironmentVpcs)
1799
1629
  .build() {
1800
1630
  }
1801
1631
 
@@ -1803,16 +1633,11 @@ class ListRoutesCommand extends smithyClient.Command
1803
1633
  .classBuilder()
1804
1634
  .ep(commonParams)
1805
1635
  .m(function (Command, cs, config, o) {
1806
- return [
1807
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1808
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1809
- ];
1636
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1810
1637
  })
1811
1638
  .s("RefactorSpaces", "ListRoutes", {})
1812
1639
  .n("MigrationHubRefactorSpacesClient", "ListRoutesCommand")
1813
- .f(void 0, ListRoutesResponseFilterSensitiveLog)
1814
- .ser(se_ListRoutesCommand)
1815
- .de(de_ListRoutesCommand)
1640
+ .sc(ListRoutes)
1816
1641
  .build() {
1817
1642
  }
1818
1643
 
@@ -1820,16 +1645,11 @@ class ListServicesCommand extends smithyClient.Command
1820
1645
  .classBuilder()
1821
1646
  .ep(commonParams)
1822
1647
  .m(function (Command, cs, config, o) {
1823
- return [
1824
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1825
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1826
- ];
1648
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1827
1649
  })
1828
1650
  .s("RefactorSpaces", "ListServices", {})
1829
1651
  .n("MigrationHubRefactorSpacesClient", "ListServicesCommand")
1830
- .f(void 0, ListServicesResponseFilterSensitiveLog)
1831
- .ser(se_ListServicesCommand)
1832
- .de(de_ListServicesCommand)
1652
+ .sc(ListServices)
1833
1653
  .build() {
1834
1654
  }
1835
1655
 
@@ -1837,16 +1657,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1837
1657
  .classBuilder()
1838
1658
  .ep(commonParams)
1839
1659
  .m(function (Command, cs, config, o) {
1840
- return [
1841
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1842
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1843
- ];
1660
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1844
1661
  })
1845
1662
  .s("RefactorSpaces", "ListTagsForResource", {})
1846
1663
  .n("MigrationHubRefactorSpacesClient", "ListTagsForResourceCommand")
1847
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
1848
- .ser(se_ListTagsForResourceCommand)
1849
- .de(de_ListTagsForResourceCommand)
1664
+ .sc(ListTagsForResource)
1850
1665
  .build() {
1851
1666
  }
1852
1667
 
@@ -1854,16 +1669,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
1854
1669
  .classBuilder()
1855
1670
  .ep(commonParams)
1856
1671
  .m(function (Command, cs, config, o) {
1857
- return [
1858
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1859
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1860
- ];
1672
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1861
1673
  })
1862
1674
  .s("RefactorSpaces", "PutResourcePolicy", {})
1863
1675
  .n("MigrationHubRefactorSpacesClient", "PutResourcePolicyCommand")
1864
- .f(void 0, void 0)
1865
- .ser(se_PutResourcePolicyCommand)
1866
- .de(de_PutResourcePolicyCommand)
1676
+ .sc(PutResourcePolicy)
1867
1677
  .build() {
1868
1678
  }
1869
1679
 
@@ -1871,16 +1681,11 @@ class TagResourceCommand extends smithyClient.Command
1871
1681
  .classBuilder()
1872
1682
  .ep(commonParams)
1873
1683
  .m(function (Command, cs, config, o) {
1874
- return [
1875
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1876
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1877
- ];
1684
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1878
1685
  })
1879
1686
  .s("RefactorSpaces", "TagResource", {})
1880
1687
  .n("MigrationHubRefactorSpacesClient", "TagResourceCommand")
1881
- .f(TagResourceRequestFilterSensitiveLog, void 0)
1882
- .ser(se_TagResourceCommand)
1883
- .de(de_TagResourceCommand)
1688
+ .sc(TagResource)
1884
1689
  .build() {
1885
1690
  }
1886
1691
 
@@ -1888,16 +1693,11 @@ class UntagResourceCommand extends smithyClient.Command
1888
1693
  .classBuilder()
1889
1694
  .ep(commonParams)
1890
1695
  .m(function (Command, cs, config, o) {
1891
- return [
1892
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1893
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1894
- ];
1696
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1895
1697
  })
1896
1698
  .s("RefactorSpaces", "UntagResource", {})
1897
1699
  .n("MigrationHubRefactorSpacesClient", "UntagResourceCommand")
1898
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
1899
- .ser(se_UntagResourceCommand)
1900
- .de(de_UntagResourceCommand)
1700
+ .sc(UntagResource)
1901
1701
  .build() {
1902
1702
  }
1903
1703
 
@@ -1905,16 +1705,11 @@ class UpdateRouteCommand extends smithyClient.Command
1905
1705
  .classBuilder()
1906
1706
  .ep(commonParams)
1907
1707
  .m(function (Command, cs, config, o) {
1908
- return [
1909
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1910
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1911
- ];
1708
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1912
1709
  })
1913
1710
  .s("RefactorSpaces", "UpdateRoute", {})
1914
1711
  .n("MigrationHubRefactorSpacesClient", "UpdateRouteCommand")
1915
- .f(void 0, void 0)
1916
- .ser(se_UpdateRouteCommand)
1917
- .de(de_UpdateRouteCommand)
1712
+ .sc(UpdateRoute)
1918
1713
  .build() {
1919
1714
  }
1920
1715
 
@@ -1966,77 +1761,54 @@ Object.defineProperty(exports, "__Client", {
1966
1761
  enumerable: true,
1967
1762
  get: function () { return smithyClient.Client; }
1968
1763
  });
1969
- exports.AccessDeniedException = AccessDeniedException;
1764
+ exports.AccessDeniedException = AccessDeniedException$1;
1970
1765
  exports.ApiGatewayEndpointType = ApiGatewayEndpointType;
1971
1766
  exports.ApplicationState = ApplicationState;
1972
- exports.ApplicationSummaryFilterSensitiveLog = ApplicationSummaryFilterSensitiveLog;
1973
- exports.ConflictException = ConflictException;
1767
+ exports.ConflictException = ConflictException$1;
1974
1768
  exports.CreateApplicationCommand = CreateApplicationCommand;
1975
- exports.CreateApplicationRequestFilterSensitiveLog = CreateApplicationRequestFilterSensitiveLog;
1976
- exports.CreateApplicationResponseFilterSensitiveLog = CreateApplicationResponseFilterSensitiveLog;
1977
1769
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1978
- exports.CreateEnvironmentRequestFilterSensitiveLog = CreateEnvironmentRequestFilterSensitiveLog;
1979
- exports.CreateEnvironmentResponseFilterSensitiveLog = CreateEnvironmentResponseFilterSensitiveLog;
1980
1770
  exports.CreateRouteCommand = CreateRouteCommand;
1981
- exports.CreateRouteRequestFilterSensitiveLog = CreateRouteRequestFilterSensitiveLog;
1982
- exports.CreateRouteResponseFilterSensitiveLog = CreateRouteResponseFilterSensitiveLog;
1983
1771
  exports.CreateServiceCommand = CreateServiceCommand;
1984
- exports.CreateServiceRequestFilterSensitiveLog = CreateServiceRequestFilterSensitiveLog;
1985
- exports.CreateServiceResponseFilterSensitiveLog = CreateServiceResponseFilterSensitiveLog;
1986
1772
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
1987
1773
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1988
1774
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1989
1775
  exports.DeleteRouteCommand = DeleteRouteCommand;
1990
1776
  exports.DeleteServiceCommand = DeleteServiceCommand;
1991
1777
  exports.EnvironmentState = EnvironmentState;
1992
- exports.EnvironmentSummaryFilterSensitiveLog = EnvironmentSummaryFilterSensitiveLog;
1993
1778
  exports.ErrorCode = ErrorCode;
1994
1779
  exports.ErrorResourceType = ErrorResourceType;
1995
1780
  exports.GetApplicationCommand = GetApplicationCommand;
1996
- exports.GetApplicationResponseFilterSensitiveLog = GetApplicationResponseFilterSensitiveLog;
1997
1781
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1998
- exports.GetEnvironmentResponseFilterSensitiveLog = GetEnvironmentResponseFilterSensitiveLog;
1999
1782
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
2000
1783
  exports.GetRouteCommand = GetRouteCommand;
2001
- exports.GetRouteResponseFilterSensitiveLog = GetRouteResponseFilterSensitiveLog;
2002
1784
  exports.GetServiceCommand = GetServiceCommand;
2003
- exports.GetServiceResponseFilterSensitiveLog = GetServiceResponseFilterSensitiveLog;
2004
1785
  exports.HttpMethod = HttpMethod;
2005
- exports.InternalServerException = InternalServerException;
2006
- exports.InvalidResourcePolicyException = InvalidResourcePolicyException;
1786
+ exports.InternalServerException = InternalServerException$1;
1787
+ exports.InvalidResourcePolicyException = InvalidResourcePolicyException$1;
2007
1788
  exports.ListApplicationsCommand = ListApplicationsCommand;
2008
- exports.ListApplicationsResponseFilterSensitiveLog = ListApplicationsResponseFilterSensitiveLog;
2009
1789
  exports.ListEnvironmentVpcsCommand = ListEnvironmentVpcsCommand;
2010
1790
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
2011
- exports.ListEnvironmentsResponseFilterSensitiveLog = ListEnvironmentsResponseFilterSensitiveLog;
2012
1791
  exports.ListRoutesCommand = ListRoutesCommand;
2013
- exports.ListRoutesResponseFilterSensitiveLog = ListRoutesResponseFilterSensitiveLog;
2014
1792
  exports.ListServicesCommand = ListServicesCommand;
2015
- exports.ListServicesResponseFilterSensitiveLog = ListServicesResponseFilterSensitiveLog;
2016
1793
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2017
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
2018
1794
  exports.MigrationHubRefactorSpaces = MigrationHubRefactorSpaces;
2019
1795
  exports.MigrationHubRefactorSpacesClient = MigrationHubRefactorSpacesClient;
2020
- exports.MigrationHubRefactorSpacesServiceException = MigrationHubRefactorSpacesServiceException;
1796
+ exports.MigrationHubRefactorSpacesServiceException = MigrationHubRefactorSpacesServiceException$1;
2021
1797
  exports.NetworkFabricType = NetworkFabricType;
2022
1798
  exports.ProxyType = ProxyType;
2023
1799
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2024
- exports.ResourceNotFoundException = ResourceNotFoundException;
1800
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2025
1801
  exports.RouteActivationState = RouteActivationState;
2026
1802
  exports.RouteState = RouteState;
2027
- exports.RouteSummaryFilterSensitiveLog = RouteSummaryFilterSensitiveLog;
2028
1803
  exports.RouteType = RouteType;
2029
1804
  exports.ServiceEndpointType = ServiceEndpointType;
2030
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1805
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2031
1806
  exports.ServiceState = ServiceState;
2032
- exports.ServiceSummaryFilterSensitiveLog = ServiceSummaryFilterSensitiveLog;
2033
1807
  exports.TagResourceCommand = TagResourceCommand;
2034
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
2035
- exports.ThrottlingException = ThrottlingException;
1808
+ exports.ThrottlingException = ThrottlingException$1;
2036
1809
  exports.UntagResourceCommand = UntagResourceCommand;
2037
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
2038
1810
  exports.UpdateRouteCommand = UpdateRouteCommand;
2039
- exports.ValidationException = ValidationException;
1811
+ exports.ValidationException = ValidationException$1;
2040
1812
  exports.paginateListApplications = paginateListApplications;
2041
1813
  exports.paginateListEnvironmentVpcs = paginateListEnvironmentVpcs;
2042
1814
  exports.paginateListEnvironments = paginateListEnvironments;