@aws-sdk/client-servicediscovery 3.926.0 → 3.928.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 (51) hide show
  1. package/dist-cjs/index.js +1126 -1260
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ServiceDiscoveryClient.js +2 -0
  4. package/dist-es/commands/CreateHttpNamespaceCommand.js +3 -9
  5. package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +3 -9
  6. package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +3 -9
  7. package/dist-es/commands/CreateServiceCommand.js +3 -9
  8. package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
  9. package/dist-es/commands/DeleteServiceAttributesCommand.js +3 -9
  10. package/dist-es/commands/DeleteServiceCommand.js +3 -9
  11. package/dist-es/commands/DeregisterInstanceCommand.js +3 -9
  12. package/dist-es/commands/DiscoverInstancesCommand.js +3 -9
  13. package/dist-es/commands/DiscoverInstancesRevisionCommand.js +3 -9
  14. package/dist-es/commands/GetInstanceCommand.js +3 -9
  15. package/dist-es/commands/GetInstancesHealthStatusCommand.js +3 -9
  16. package/dist-es/commands/GetNamespaceCommand.js +3 -9
  17. package/dist-es/commands/GetOperationCommand.js +3 -9
  18. package/dist-es/commands/GetServiceAttributesCommand.js +3 -9
  19. package/dist-es/commands/GetServiceCommand.js +3 -9
  20. package/dist-es/commands/ListInstancesCommand.js +3 -9
  21. package/dist-es/commands/ListNamespacesCommand.js +3 -9
  22. package/dist-es/commands/ListOperationsCommand.js +3 -9
  23. package/dist-es/commands/ListServicesCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/RegisterInstanceCommand.js +3 -9
  26. package/dist-es/commands/TagResourceCommand.js +3 -9
  27. package/dist-es/commands/UntagResourceCommand.js +3 -9
  28. package/dist-es/commands/UpdateHttpNamespaceCommand.js +3 -9
  29. package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +3 -9
  30. package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +3 -9
  31. package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +3 -9
  32. package/dist-es/commands/UpdateServiceAttributesCommand.js +3 -9
  33. package/dist-es/commands/UpdateServiceCommand.js +3 -9
  34. package/dist-es/runtimeConfig.shared.js +7 -0
  35. package/dist-es/schemas/schemas_0.js +1025 -0
  36. package/dist-types/ServiceDiscoveryClient.d.ts +10 -1
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/runtimeConfig.d.ts +1 -0
  39. package/dist-types/runtimeConfig.native.d.ts +1 -0
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  41. package/dist-types/schemas/schemas_0.d.ts +161 -0
  42. package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +166 -0
  48. package/package.json +5 -6
  49. package/dist-es/protocols/Aws_json1_1.js +0 -1006
  50. package/dist-types/protocols/Aws_json1_1.d.ts +0 -272
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -365
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 ServiceDiscoveryClient 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 ServiceDiscoveryClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class ServiceDiscoveryServiceException extends smithyClient.ServiceException {
113
+ let ServiceDiscoveryServiceException$1 = class ServiceDiscoveryServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, ServiceDiscoveryServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class DuplicateRequest extends ServiceDiscoveryServiceException {
120
+ let DuplicateRequest$1 = class DuplicateRequest extends ServiceDiscoveryServiceException$1 {
122
121
  name = "DuplicateRequest";
123
122
  $fault = "client";
124
123
  Message;
@@ -133,8 +132,8 @@ class DuplicateRequest extends ServiceDiscoveryServiceException {
133
132
  this.Message = opts.Message;
134
133
  this.DuplicateOperationId = opts.DuplicateOperationId;
135
134
  }
136
- }
137
- class InvalidInput extends ServiceDiscoveryServiceException {
135
+ };
136
+ let InvalidInput$1 = class InvalidInput extends ServiceDiscoveryServiceException$1 {
138
137
  name = "InvalidInput";
139
138
  $fault = "client";
140
139
  Message;
@@ -147,8 +146,8 @@ class InvalidInput extends ServiceDiscoveryServiceException {
147
146
  Object.setPrototypeOf(this, InvalidInput.prototype);
148
147
  this.Message = opts.Message;
149
148
  }
150
- }
151
- class NamespaceAlreadyExists extends ServiceDiscoveryServiceException {
149
+ };
150
+ let NamespaceAlreadyExists$1 = class NamespaceAlreadyExists extends ServiceDiscoveryServiceException$1 {
152
151
  name = "NamespaceAlreadyExists";
153
152
  $fault = "client";
154
153
  Message;
@@ -165,8 +164,8 @@ class NamespaceAlreadyExists extends ServiceDiscoveryServiceException {
165
164
  this.CreatorRequestId = opts.CreatorRequestId;
166
165
  this.NamespaceId = opts.NamespaceId;
167
166
  }
168
- }
169
- class ResourceLimitExceeded extends ServiceDiscoveryServiceException {
167
+ };
168
+ let ResourceLimitExceeded$1 = class ResourceLimitExceeded extends ServiceDiscoveryServiceException$1 {
170
169
  name = "ResourceLimitExceeded";
171
170
  $fault = "client";
172
171
  Message;
@@ -179,8 +178,8 @@ class ResourceLimitExceeded extends ServiceDiscoveryServiceException {
179
178
  Object.setPrototypeOf(this, ResourceLimitExceeded.prototype);
180
179
  this.Message = opts.Message;
181
180
  }
182
- }
183
- class TooManyTagsException extends ServiceDiscoveryServiceException {
181
+ };
182
+ let TooManyTagsException$1 = class TooManyTagsException extends ServiceDiscoveryServiceException$1 {
184
183
  name = "TooManyTagsException";
185
184
  $fault = "client";
186
185
  Message;
@@ -195,7 +194,7 @@ class TooManyTagsException extends ServiceDiscoveryServiceException {
195
194
  this.Message = opts.Message;
196
195
  this.ResourceName = opts.ResourceName;
197
196
  }
198
- }
197
+ };
199
198
  const RecordType = {
200
199
  A: "A",
201
200
  AAAA: "AAAA",
@@ -219,7 +218,7 @@ const ServiceType = {
219
218
  DNS_HTTP: "DNS_HTTP",
220
219
  HTTP: "HTTP",
221
220
  };
222
- class NamespaceNotFound extends ServiceDiscoveryServiceException {
221
+ let NamespaceNotFound$1 = class NamespaceNotFound extends ServiceDiscoveryServiceException$1 {
223
222
  name = "NamespaceNotFound";
224
223
  $fault = "client";
225
224
  Message;
@@ -232,8 +231,8 @@ class NamespaceNotFound extends ServiceDiscoveryServiceException {
232
231
  Object.setPrototypeOf(this, NamespaceNotFound.prototype);
233
232
  this.Message = opts.Message;
234
233
  }
235
- }
236
- class ServiceAlreadyExists extends ServiceDiscoveryServiceException {
234
+ };
235
+ let ServiceAlreadyExists$1 = class ServiceAlreadyExists extends ServiceDiscoveryServiceException$1 {
237
236
  name = "ServiceAlreadyExists";
238
237
  $fault = "client";
239
238
  Message;
@@ -252,8 +251,8 @@ class ServiceAlreadyExists extends ServiceDiscoveryServiceException {
252
251
  this.ServiceId = opts.ServiceId;
253
252
  this.ServiceArn = opts.ServiceArn;
254
253
  }
255
- }
256
- class CustomHealthNotFound extends ServiceDiscoveryServiceException {
254
+ };
255
+ let CustomHealthNotFound$1 = class CustomHealthNotFound extends ServiceDiscoveryServiceException$1 {
257
256
  name = "CustomHealthNotFound";
258
257
  $fault = "client";
259
258
  Message;
@@ -266,12 +265,12 @@ class CustomHealthNotFound extends ServiceDiscoveryServiceException {
266
265
  Object.setPrototypeOf(this, CustomHealthNotFound.prototype);
267
266
  this.Message = opts.Message;
268
267
  }
269
- }
268
+ };
270
269
  const CustomHealthStatus = {
271
270
  HEALTHY: "HEALTHY",
272
271
  UNHEALTHY: "UNHEALTHY",
273
272
  };
274
- class ResourceInUse extends ServiceDiscoveryServiceException {
273
+ let ResourceInUse$1 = class ResourceInUse extends ServiceDiscoveryServiceException$1 {
275
274
  name = "ResourceInUse";
276
275
  $fault = "client";
277
276
  Message;
@@ -284,8 +283,8 @@ class ResourceInUse extends ServiceDiscoveryServiceException {
284
283
  Object.setPrototypeOf(this, ResourceInUse.prototype);
285
284
  this.Message = opts.Message;
286
285
  }
287
- }
288
- class ServiceNotFound extends ServiceDiscoveryServiceException {
286
+ };
287
+ let ServiceNotFound$1 = class ServiceNotFound extends ServiceDiscoveryServiceException$1 {
289
288
  name = "ServiceNotFound";
290
289
  $fault = "client";
291
290
  Message;
@@ -298,8 +297,8 @@ class ServiceNotFound extends ServiceDiscoveryServiceException {
298
297
  Object.setPrototypeOf(this, ServiceNotFound.prototype);
299
298
  this.Message = opts.Message;
300
299
  }
301
- }
302
- class InstanceNotFound extends ServiceDiscoveryServiceException {
300
+ };
301
+ let InstanceNotFound$1 = class InstanceNotFound extends ServiceDiscoveryServiceException$1 {
303
302
  name = "InstanceNotFound";
304
303
  $fault = "client";
305
304
  Message;
@@ -312,7 +311,7 @@ class InstanceNotFound extends ServiceDiscoveryServiceException {
312
311
  Object.setPrototypeOf(this, InstanceNotFound.prototype);
313
312
  this.Message = opts.Message;
314
313
  }
315
- }
314
+ };
316
315
  const HealthStatusFilter = {
317
316
  ALL: "ALL",
318
317
  HEALTHY: "HEALTHY",
@@ -324,7 +323,7 @@ const HealthStatus = {
324
323
  UNHEALTHY: "UNHEALTHY",
325
324
  UNKNOWN: "UNKNOWN",
326
325
  };
327
- class RequestLimitExceeded extends ServiceDiscoveryServiceException {
326
+ let RequestLimitExceeded$1 = class RequestLimitExceeded extends ServiceDiscoveryServiceException$1 {
328
327
  name = "RequestLimitExceeded";
329
328
  $fault = "client";
330
329
  Message;
@@ -337,7 +336,7 @@ class RequestLimitExceeded extends ServiceDiscoveryServiceException {
337
336
  Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
338
337
  this.Message = opts.Message;
339
338
  }
340
- }
339
+ };
341
340
  const FilterCondition = {
342
341
  BEGINS_WITH: "BEGINS_WITH",
343
342
  BETWEEN: "BETWEEN",
@@ -368,7 +367,7 @@ const OperationType = {
368
367
  UPDATE_NAMESPACE: "UPDATE_NAMESPACE",
369
368
  UPDATE_SERVICE: "UPDATE_SERVICE",
370
369
  };
371
- class OperationNotFound extends ServiceDiscoveryServiceException {
370
+ let OperationNotFound$1 = class OperationNotFound extends ServiceDiscoveryServiceException$1 {
372
371
  name = "OperationNotFound";
373
372
  $fault = "client";
374
373
  Message;
@@ -381,7 +380,7 @@ class OperationNotFound extends ServiceDiscoveryServiceException {
381
380
  Object.setPrototypeOf(this, OperationNotFound.prototype);
382
381
  this.Message = opts.Message;
383
382
  }
384
- }
383
+ };
385
384
  const NamespaceFilterName = {
386
385
  HTTP_NAME: "HTTP_NAME",
387
386
  NAME: "NAME",
@@ -399,7 +398,7 @@ const ServiceFilterName = {
399
398
  NAMESPACE_ID: "NAMESPACE_ID",
400
399
  RESOURCE_OWNER: "RESOURCE_OWNER",
401
400
  };
402
- class ResourceNotFoundException extends ServiceDiscoveryServiceException {
401
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ServiceDiscoveryServiceException$1 {
403
402
  name = "ResourceNotFoundException";
404
403
  $fault = "client";
405
404
  Message;
@@ -412,8 +411,8 @@ class ResourceNotFoundException extends ServiceDiscoveryServiceException {
412
411
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
413
412
  this.Message = opts.Message;
414
413
  }
415
- }
416
- class ServiceAttributesLimitExceededException extends ServiceDiscoveryServiceException {
414
+ };
415
+ let ServiceAttributesLimitExceededException$1 = class ServiceAttributesLimitExceededException extends ServiceDiscoveryServiceException$1 {
417
416
  name = "ServiceAttributesLimitExceededException";
418
417
  $fault = "client";
419
418
  Message;
@@ -426,1022 +425,1034 @@ class ServiceAttributesLimitExceededException extends ServiceDiscoveryServiceExc
426
425
  Object.setPrototypeOf(this, ServiceAttributesLimitExceededException.prototype);
427
426
  this.Message = opts.Message;
428
427
  }
429
- }
430
-
431
- const se_CreateHttpNamespaceCommand = async (input, context) => {
432
- const headers = sharedHeaders("CreateHttpNamespace");
433
- let body;
434
- body = JSON.stringify(se_CreateHttpNamespaceRequest(input));
435
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
436
- };
437
- const se_CreatePrivateDnsNamespaceCommand = async (input, context) => {
438
- const headers = sharedHeaders("CreatePrivateDnsNamespace");
439
- let body;
440
- body = JSON.stringify(se_CreatePrivateDnsNamespaceRequest(input));
441
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
442
- };
443
- const se_CreatePublicDnsNamespaceCommand = async (input, context) => {
444
- const headers = sharedHeaders("CreatePublicDnsNamespace");
445
- let body;
446
- body = JSON.stringify(se_CreatePublicDnsNamespaceRequest(input));
447
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
448
- };
449
- const se_CreateServiceCommand = async (input, context) => {
450
- const headers = sharedHeaders("CreateService");
451
- let body;
452
- body = JSON.stringify(se_CreateServiceRequest(input));
453
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
454
- };
455
- const se_DeleteNamespaceCommand = async (input, context) => {
456
- const headers = sharedHeaders("DeleteNamespace");
457
- let body;
458
- body = JSON.stringify(smithyClient._json(input));
459
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
460
- };
461
- const se_DeleteServiceCommand = async (input, context) => {
462
- const headers = sharedHeaders("DeleteService");
463
- let body;
464
- body = JSON.stringify(smithyClient._json(input));
465
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
466
- };
467
- const se_DeleteServiceAttributesCommand = async (input, context) => {
468
- const headers = sharedHeaders("DeleteServiceAttributes");
469
- let body;
470
- body = JSON.stringify(smithyClient._json(input));
471
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
472
- };
473
- const se_DeregisterInstanceCommand = async (input, context) => {
474
- const headers = sharedHeaders("DeregisterInstance");
475
- let body;
476
- body = JSON.stringify(smithyClient._json(input));
477
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
478
- };
479
- const se_DiscoverInstancesCommand = async (input, context) => {
480
- const headers = sharedHeaders("DiscoverInstances");
481
- let body;
482
- body = JSON.stringify(smithyClient._json(input));
483
- let { hostname: resolvedHostname } = await context.endpoint();
484
- if (context.disableHostPrefix !== true) {
485
- resolvedHostname = "data-" + resolvedHostname;
486
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
487
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
488
- }
489
- }
490
- return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
491
- };
492
- const se_DiscoverInstancesRevisionCommand = async (input, context) => {
493
- const headers = sharedHeaders("DiscoverInstancesRevision");
494
- let body;
495
- body = JSON.stringify(smithyClient._json(input));
496
- let { hostname: resolvedHostname } = await context.endpoint();
497
- if (context.disableHostPrefix !== true) {
498
- resolvedHostname = "data-" + resolvedHostname;
499
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
500
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
501
- }
502
- }
503
- return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
504
- };
505
- const se_GetInstanceCommand = async (input, context) => {
506
- const headers = sharedHeaders("GetInstance");
507
- let body;
508
- body = JSON.stringify(smithyClient._json(input));
509
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
- };
511
- const se_GetInstancesHealthStatusCommand = async (input, context) => {
512
- const headers = sharedHeaders("GetInstancesHealthStatus");
513
- let body;
514
- body = JSON.stringify(smithyClient._json(input));
515
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
516
- };
517
- const se_GetNamespaceCommand = async (input, context) => {
518
- const headers = sharedHeaders("GetNamespace");
519
- let body;
520
- body = JSON.stringify(smithyClient._json(input));
521
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
- };
523
- const se_GetOperationCommand = async (input, context) => {
524
- const headers = sharedHeaders("GetOperation");
525
- let body;
526
- body = JSON.stringify(smithyClient._json(input));
527
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
528
- };
529
- const se_GetServiceCommand = async (input, context) => {
530
- const headers = sharedHeaders("GetService");
531
- let body;
532
- body = JSON.stringify(smithyClient._json(input));
533
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
534
- };
535
- const se_GetServiceAttributesCommand = async (input, context) => {
536
- const headers = sharedHeaders("GetServiceAttributes");
537
- let body;
538
- body = JSON.stringify(smithyClient._json(input));
539
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
540
- };
541
- const se_ListInstancesCommand = async (input, context) => {
542
- const headers = sharedHeaders("ListInstances");
543
- let body;
544
- body = JSON.stringify(smithyClient._json(input));
545
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
546
- };
547
- const se_ListNamespacesCommand = async (input, context) => {
548
- const headers = sharedHeaders("ListNamespaces");
549
- let body;
550
- body = JSON.stringify(smithyClient._json(input));
551
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
552
- };
553
- const se_ListOperationsCommand = async (input, context) => {
554
- const headers = sharedHeaders("ListOperations");
555
- let body;
556
- body = JSON.stringify(smithyClient._json(input));
557
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
558
- };
559
- const se_ListServicesCommand = async (input, context) => {
560
- const headers = sharedHeaders("ListServices");
561
- let body;
562
- body = JSON.stringify(smithyClient._json(input));
563
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
564
- };
565
- const se_ListTagsForResourceCommand = async (input, context) => {
566
- const headers = sharedHeaders("ListTagsForResource");
567
- let body;
568
- body = JSON.stringify(smithyClient._json(input));
569
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
- };
571
- const se_RegisterInstanceCommand = async (input, context) => {
572
- const headers = sharedHeaders("RegisterInstance");
573
- let body;
574
- body = JSON.stringify(se_RegisterInstanceRequest(input));
575
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
576
- };
577
- const se_TagResourceCommand = async (input, context) => {
578
- const headers = sharedHeaders("TagResource");
579
- let body;
580
- body = JSON.stringify(smithyClient._json(input));
581
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
582
- };
583
- const se_UntagResourceCommand = async (input, context) => {
584
- const headers = sharedHeaders("UntagResource");
585
- let body;
586
- body = JSON.stringify(smithyClient._json(input));
587
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
588
- };
589
- const se_UpdateHttpNamespaceCommand = async (input, context) => {
590
- const headers = sharedHeaders("UpdateHttpNamespace");
591
- let body;
592
- body = JSON.stringify(se_UpdateHttpNamespaceRequest(input));
593
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
594
- };
595
- const se_UpdateInstanceCustomHealthStatusCommand = async (input, context) => {
596
- const headers = sharedHeaders("UpdateInstanceCustomHealthStatus");
597
- let body;
598
- body = JSON.stringify(smithyClient._json(input));
599
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
600
- };
601
- const se_UpdatePrivateDnsNamespaceCommand = async (input, context) => {
602
- const headers = sharedHeaders("UpdatePrivateDnsNamespace");
603
- let body;
604
- body = JSON.stringify(se_UpdatePrivateDnsNamespaceRequest(input));
605
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
606
- };
607
- const se_UpdatePublicDnsNamespaceCommand = async (input, context) => {
608
- const headers = sharedHeaders("UpdatePublicDnsNamespace");
609
- let body;
610
- body = JSON.stringify(se_UpdatePublicDnsNamespaceRequest(input));
611
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
612
- };
613
- const se_UpdateServiceCommand = async (input, context) => {
614
- const headers = sharedHeaders("UpdateService");
615
- let body;
616
- body = JSON.stringify(smithyClient._json(input));
617
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
618
- };
619
- const se_UpdateServiceAttributesCommand = async (input, context) => {
620
- const headers = sharedHeaders("UpdateServiceAttributes");
621
- let body;
622
- body = JSON.stringify(smithyClient._json(input));
623
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
624
- };
625
- const de_CreateHttpNamespaceCommand = async (output, context) => {
626
- if (output.statusCode >= 300) {
627
- return de_CommandError(output, context);
628
- }
629
- const data = await core$1.parseJsonBody(output.body, context);
630
- let contents = {};
631
- contents = smithyClient._json(data);
632
- const response = {
633
- $metadata: deserializeMetadata(output),
634
- ...contents,
635
- };
636
- return response;
637
- };
638
- const de_CreatePrivateDnsNamespaceCommand = async (output, context) => {
639
- if (output.statusCode >= 300) {
640
- return de_CommandError(output, context);
641
- }
642
- const data = await core$1.parseJsonBody(output.body, context);
643
- let contents = {};
644
- contents = smithyClient._json(data);
645
- const response = {
646
- $metadata: deserializeMetadata(output),
647
- ...contents,
648
- };
649
- return response;
650
- };
651
- const de_CreatePublicDnsNamespaceCommand = async (output, context) => {
652
- if (output.statusCode >= 300) {
653
- return de_CommandError(output, context);
654
- }
655
- const data = await core$1.parseJsonBody(output.body, context);
656
- let contents = {};
657
- contents = smithyClient._json(data);
658
- const response = {
659
- $metadata: deserializeMetadata(output),
660
- ...contents,
661
- };
662
- return response;
663
- };
664
- const de_CreateServiceCommand = async (output, context) => {
665
- if (output.statusCode >= 300) {
666
- return de_CommandError(output, context);
667
- }
668
- const data = await core$1.parseJsonBody(output.body, context);
669
- let contents = {};
670
- contents = de_CreateServiceResponse(data);
671
- const response = {
672
- $metadata: deserializeMetadata(output),
673
- ...contents,
674
- };
675
- return response;
676
- };
677
- const de_DeleteNamespaceCommand = async (output, context) => {
678
- if (output.statusCode >= 300) {
679
- return de_CommandError(output, context);
680
- }
681
- const data = await core$1.parseJsonBody(output.body, context);
682
- let contents = {};
683
- contents = smithyClient._json(data);
684
- const response = {
685
- $metadata: deserializeMetadata(output),
686
- ...contents,
687
- };
688
- return response;
689
- };
690
- const de_DeleteServiceCommand = async (output, context) => {
691
- if (output.statusCode >= 300) {
692
- return de_CommandError(output, context);
693
- }
694
- const data = await core$1.parseJsonBody(output.body, context);
695
- let contents = {};
696
- contents = smithyClient._json(data);
697
- const response = {
698
- $metadata: deserializeMetadata(output),
699
- ...contents,
700
- };
701
- return response;
702
- };
703
- const de_DeleteServiceAttributesCommand = async (output, context) => {
704
- if (output.statusCode >= 300) {
705
- return de_CommandError(output, context);
706
- }
707
- const data = await core$1.parseJsonBody(output.body, context);
708
- let contents = {};
709
- contents = smithyClient._json(data);
710
- const response = {
711
- $metadata: deserializeMetadata(output),
712
- ...contents,
713
- };
714
- return response;
715
- };
716
- const de_DeregisterInstanceCommand = async (output, context) => {
717
- if (output.statusCode >= 300) {
718
- return de_CommandError(output, context);
719
- }
720
- const data = await core$1.parseJsonBody(output.body, context);
721
- let contents = {};
722
- contents = smithyClient._json(data);
723
- const response = {
724
- $metadata: deserializeMetadata(output),
725
- ...contents,
726
- };
727
- return response;
728
- };
729
- const de_DiscoverInstancesCommand = async (output, context) => {
730
- if (output.statusCode >= 300) {
731
- return de_CommandError(output, context);
732
- }
733
- const data = await core$1.parseJsonBody(output.body, context);
734
- let contents = {};
735
- contents = smithyClient._json(data);
736
- const response = {
737
- $metadata: deserializeMetadata(output),
738
- ...contents,
739
- };
740
- return response;
741
- };
742
- const de_DiscoverInstancesRevisionCommand = async (output, context) => {
743
- if (output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const data = await core$1.parseJsonBody(output.body, context);
747
- let contents = {};
748
- contents = smithyClient._json(data);
749
- const response = {
750
- $metadata: deserializeMetadata(output),
751
- ...contents,
752
- };
753
- return response;
754
- };
755
- const de_GetInstanceCommand = async (output, context) => {
756
- if (output.statusCode >= 300) {
757
- return de_CommandError(output, context);
758
- }
759
- const data = await core$1.parseJsonBody(output.body, context);
760
- let contents = {};
761
- contents = smithyClient._json(data);
762
- const response = {
763
- $metadata: deserializeMetadata(output),
764
- ...contents,
765
- };
766
- return response;
767
- };
768
- const de_GetInstancesHealthStatusCommand = async (output, context) => {
769
- if (output.statusCode >= 300) {
770
- return de_CommandError(output, context);
771
- }
772
- const data = await core$1.parseJsonBody(output.body, context);
773
- let contents = {};
774
- contents = smithyClient._json(data);
775
- const response = {
776
- $metadata: deserializeMetadata(output),
777
- ...contents,
778
- };
779
- return response;
780
- };
781
- const de_GetNamespaceCommand = async (output, context) => {
782
- if (output.statusCode >= 300) {
783
- return de_CommandError(output, context);
784
- }
785
- const data = await core$1.parseJsonBody(output.body, context);
786
- let contents = {};
787
- contents = de_GetNamespaceResponse(data);
788
- const response = {
789
- $metadata: deserializeMetadata(output),
790
- ...contents,
791
- };
792
- return response;
793
- };
794
- const de_GetOperationCommand = async (output, context) => {
795
- if (output.statusCode >= 300) {
796
- return de_CommandError(output, context);
797
- }
798
- const data = await core$1.parseJsonBody(output.body, context);
799
- let contents = {};
800
- contents = de_GetOperationResponse(data);
801
- const response = {
802
- $metadata: deserializeMetadata(output),
803
- ...contents,
804
- };
805
- return response;
806
- };
807
- const de_GetServiceCommand = async (output, context) => {
808
- if (output.statusCode >= 300) {
809
- return de_CommandError(output, context);
810
- }
811
- const data = await core$1.parseJsonBody(output.body, context);
812
- let contents = {};
813
- contents = de_GetServiceResponse(data);
814
- const response = {
815
- $metadata: deserializeMetadata(output),
816
- ...contents,
817
- };
818
- return response;
819
- };
820
- const de_GetServiceAttributesCommand = async (output, context) => {
821
- if (output.statusCode >= 300) {
822
- return de_CommandError(output, context);
823
- }
824
- const data = await core$1.parseJsonBody(output.body, context);
825
- let contents = {};
826
- contents = smithyClient._json(data);
827
- const response = {
828
- $metadata: deserializeMetadata(output),
829
- ...contents,
830
- };
831
- return response;
832
- };
833
- const de_ListInstancesCommand = async (output, context) => {
834
- if (output.statusCode >= 300) {
835
- return de_CommandError(output, context);
836
- }
837
- const data = await core$1.parseJsonBody(output.body, context);
838
- let contents = {};
839
- contents = smithyClient._json(data);
840
- const response = {
841
- $metadata: deserializeMetadata(output),
842
- ...contents,
843
- };
844
- return response;
845
- };
846
- const de_ListNamespacesCommand = async (output, context) => {
847
- if (output.statusCode >= 300) {
848
- return de_CommandError(output, context);
849
- }
850
- const data = await core$1.parseJsonBody(output.body, context);
851
- let contents = {};
852
- contents = de_ListNamespacesResponse(data);
853
- const response = {
854
- $metadata: deserializeMetadata(output),
855
- ...contents,
856
- };
857
- return response;
858
- };
859
- const de_ListOperationsCommand = async (output, context) => {
860
- if (output.statusCode >= 300) {
861
- return de_CommandError(output, context);
862
- }
863
- const data = await core$1.parseJsonBody(output.body, context);
864
- let contents = {};
865
- contents = smithyClient._json(data);
866
- const response = {
867
- $metadata: deserializeMetadata(output),
868
- ...contents,
869
- };
870
- return response;
871
- };
872
- const de_ListServicesCommand = async (output, context) => {
873
- if (output.statusCode >= 300) {
874
- return de_CommandError(output, context);
875
- }
876
- const data = await core$1.parseJsonBody(output.body, context);
877
- let contents = {};
878
- contents = de_ListServicesResponse(data);
879
- const response = {
880
- $metadata: deserializeMetadata(output),
881
- ...contents,
882
- };
883
- return response;
884
- };
885
- const de_ListTagsForResourceCommand = async (output, context) => {
886
- if (output.statusCode >= 300) {
887
- return de_CommandError(output, context);
888
- }
889
- const data = await core$1.parseJsonBody(output.body, context);
890
- let contents = {};
891
- contents = smithyClient._json(data);
892
- const response = {
893
- $metadata: deserializeMetadata(output),
894
- ...contents,
895
- };
896
- return response;
897
- };
898
- const de_RegisterInstanceCommand = async (output, context) => {
899
- if (output.statusCode >= 300) {
900
- return de_CommandError(output, context);
901
- }
902
- const data = await core$1.parseJsonBody(output.body, context);
903
- let contents = {};
904
- contents = smithyClient._json(data);
905
- const response = {
906
- $metadata: deserializeMetadata(output),
907
- ...contents,
908
- };
909
- return response;
910
- };
911
- const de_TagResourceCommand = async (output, context) => {
912
- if (output.statusCode >= 300) {
913
- return de_CommandError(output, context);
914
- }
915
- const data = await core$1.parseJsonBody(output.body, context);
916
- let contents = {};
917
- contents = smithyClient._json(data);
918
- const response = {
919
- $metadata: deserializeMetadata(output),
920
- ...contents,
921
- };
922
- return response;
923
- };
924
- const de_UntagResourceCommand = async (output, context) => {
925
- if (output.statusCode >= 300) {
926
- return de_CommandError(output, context);
927
- }
928
- const data = await core$1.parseJsonBody(output.body, context);
929
- let contents = {};
930
- contents = smithyClient._json(data);
931
- const response = {
932
- $metadata: deserializeMetadata(output),
933
- ...contents,
934
- };
935
- return response;
936
- };
937
- const de_UpdateHttpNamespaceCommand = async (output, context) => {
938
- if (output.statusCode >= 300) {
939
- return de_CommandError(output, context);
940
- }
941
- const data = await core$1.parseJsonBody(output.body, context);
942
- let contents = {};
943
- contents = smithyClient._json(data);
944
- const response = {
945
- $metadata: deserializeMetadata(output),
946
- ...contents,
947
- };
948
- return response;
949
- };
950
- const de_UpdateInstanceCustomHealthStatusCommand = async (output, context) => {
951
- if (output.statusCode >= 300) {
952
- return de_CommandError(output, context);
953
- }
954
- await smithyClient.collectBody(output.body, context);
955
- const response = {
956
- $metadata: deserializeMetadata(output),
957
- };
958
- return response;
959
- };
960
- const de_UpdatePrivateDnsNamespaceCommand = async (output, context) => {
961
- if (output.statusCode >= 300) {
962
- return de_CommandError(output, context);
963
- }
964
- const data = await core$1.parseJsonBody(output.body, context);
965
- let contents = {};
966
- contents = smithyClient._json(data);
967
- const response = {
968
- $metadata: deserializeMetadata(output),
969
- ...contents,
970
- };
971
- return response;
972
- };
973
- const de_UpdatePublicDnsNamespaceCommand = async (output, context) => {
974
- if (output.statusCode >= 300) {
975
- return de_CommandError(output, context);
976
- }
977
- const data = await core$1.parseJsonBody(output.body, context);
978
- let contents = {};
979
- contents = smithyClient._json(data);
980
- const response = {
981
- $metadata: deserializeMetadata(output),
982
- ...contents,
983
- };
984
- return response;
985
- };
986
- const de_UpdateServiceCommand = async (output, context) => {
987
- if (output.statusCode >= 300) {
988
- return de_CommandError(output, context);
989
- }
990
- const data = await core$1.parseJsonBody(output.body, context);
991
- let contents = {};
992
- contents = smithyClient._json(data);
993
- const response = {
994
- $metadata: deserializeMetadata(output),
995
- ...contents,
996
- };
997
- return response;
998
- };
999
- const de_UpdateServiceAttributesCommand = async (output, context) => {
1000
- if (output.statusCode >= 300) {
1001
- return de_CommandError(output, context);
1002
- }
1003
- const data = await core$1.parseJsonBody(output.body, context);
1004
- let contents = {};
1005
- contents = smithyClient._json(data);
1006
- const response = {
1007
- $metadata: deserializeMetadata(output),
1008
- ...contents,
1009
- };
1010
- return response;
1011
- };
1012
- const de_CommandError = async (output, context) => {
1013
- const parsedOutput = {
1014
- ...output,
1015
- body: await core$1.parseJsonErrorBody(output.body, context),
1016
- };
1017
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1018
- switch (errorCode) {
1019
- case "DuplicateRequest":
1020
- case "com.amazonaws.servicediscovery#DuplicateRequest":
1021
- throw await de_DuplicateRequestRes(parsedOutput);
1022
- case "InvalidInput":
1023
- case "com.amazonaws.servicediscovery#InvalidInput":
1024
- throw await de_InvalidInputRes(parsedOutput);
1025
- case "NamespaceAlreadyExists":
1026
- case "com.amazonaws.servicediscovery#NamespaceAlreadyExists":
1027
- throw await de_NamespaceAlreadyExistsRes(parsedOutput);
1028
- case "ResourceLimitExceeded":
1029
- case "com.amazonaws.servicediscovery#ResourceLimitExceeded":
1030
- throw await de_ResourceLimitExceededRes(parsedOutput);
1031
- case "TooManyTagsException":
1032
- case "com.amazonaws.servicediscovery#TooManyTagsException":
1033
- throw await de_TooManyTagsExceptionRes(parsedOutput);
1034
- case "NamespaceNotFound":
1035
- case "com.amazonaws.servicediscovery#NamespaceNotFound":
1036
- throw await de_NamespaceNotFoundRes(parsedOutput);
1037
- case "ServiceAlreadyExists":
1038
- case "com.amazonaws.servicediscovery#ServiceAlreadyExists":
1039
- throw await de_ServiceAlreadyExistsRes(parsedOutput);
1040
- case "ResourceInUse":
1041
- case "com.amazonaws.servicediscovery#ResourceInUse":
1042
- throw await de_ResourceInUseRes(parsedOutput);
1043
- case "ServiceNotFound":
1044
- case "com.amazonaws.servicediscovery#ServiceNotFound":
1045
- throw await de_ServiceNotFoundRes(parsedOutput);
1046
- case "InstanceNotFound":
1047
- case "com.amazonaws.servicediscovery#InstanceNotFound":
1048
- throw await de_InstanceNotFoundRes(parsedOutput);
1049
- case "RequestLimitExceeded":
1050
- case "com.amazonaws.servicediscovery#RequestLimitExceeded":
1051
- throw await de_RequestLimitExceededRes(parsedOutput);
1052
- case "OperationNotFound":
1053
- case "com.amazonaws.servicediscovery#OperationNotFound":
1054
- throw await de_OperationNotFoundRes(parsedOutput);
1055
- case "ResourceNotFoundException":
1056
- case "com.amazonaws.servicediscovery#ResourceNotFoundException":
1057
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1058
- case "CustomHealthNotFound":
1059
- case "com.amazonaws.servicediscovery#CustomHealthNotFound":
1060
- throw await de_CustomHealthNotFoundRes(parsedOutput);
1061
- case "ServiceAttributesLimitExceededException":
1062
- case "com.amazonaws.servicediscovery#ServiceAttributesLimitExceededException":
1063
- throw await de_ServiceAttributesLimitExceededExceptionRes(parsedOutput);
1064
- default:
1065
- const parsedBody = parsedOutput.body;
1066
- return throwDefaultError({
1067
- output,
1068
- parsedBody,
1069
- errorCode,
1070
- });
1071
- }
1072
- };
1073
- const de_CustomHealthNotFoundRes = async (parsedOutput, context) => {
1074
- const body = parsedOutput.body;
1075
- const deserialized = smithyClient._json(body);
1076
- const exception = new CustomHealthNotFound({
1077
- $metadata: deserializeMetadata(parsedOutput),
1078
- ...deserialized,
1079
- });
1080
- return smithyClient.decorateServiceException(exception, body);
1081
- };
1082
- const de_DuplicateRequestRes = async (parsedOutput, context) => {
1083
- const body = parsedOutput.body;
1084
- const deserialized = smithyClient._json(body);
1085
- const exception = new DuplicateRequest({
1086
- $metadata: deserializeMetadata(parsedOutput),
1087
- ...deserialized,
1088
- });
1089
- return smithyClient.decorateServiceException(exception, body);
1090
- };
1091
- const de_InstanceNotFoundRes = async (parsedOutput, context) => {
1092
- const body = parsedOutput.body;
1093
- const deserialized = smithyClient._json(body);
1094
- const exception = new InstanceNotFound({
1095
- $metadata: deserializeMetadata(parsedOutput),
1096
- ...deserialized,
1097
- });
1098
- return smithyClient.decorateServiceException(exception, body);
1099
- };
1100
- const de_InvalidInputRes = async (parsedOutput, context) => {
1101
- const body = parsedOutput.body;
1102
- const deserialized = smithyClient._json(body);
1103
- const exception = new InvalidInput({
1104
- $metadata: deserializeMetadata(parsedOutput),
1105
- ...deserialized,
1106
- });
1107
- return smithyClient.decorateServiceException(exception, body);
1108
- };
1109
- const de_NamespaceAlreadyExistsRes = async (parsedOutput, context) => {
1110
- const body = parsedOutput.body;
1111
- const deserialized = smithyClient._json(body);
1112
- const exception = new NamespaceAlreadyExists({
1113
- $metadata: deserializeMetadata(parsedOutput),
1114
- ...deserialized,
1115
- });
1116
- return smithyClient.decorateServiceException(exception, body);
1117
- };
1118
- const de_NamespaceNotFoundRes = async (parsedOutput, context) => {
1119
- const body = parsedOutput.body;
1120
- const deserialized = smithyClient._json(body);
1121
- const exception = new NamespaceNotFound({
1122
- $metadata: deserializeMetadata(parsedOutput),
1123
- ...deserialized,
1124
- });
1125
- return smithyClient.decorateServiceException(exception, body);
1126
- };
1127
- const de_OperationNotFoundRes = async (parsedOutput, context) => {
1128
- const body = parsedOutput.body;
1129
- const deserialized = smithyClient._json(body);
1130
- const exception = new OperationNotFound({
1131
- $metadata: deserializeMetadata(parsedOutput),
1132
- ...deserialized,
1133
- });
1134
- return smithyClient.decorateServiceException(exception, body);
1135
- };
1136
- const de_RequestLimitExceededRes = async (parsedOutput, context) => {
1137
- const body = parsedOutput.body;
1138
- const deserialized = smithyClient._json(body);
1139
- const exception = new RequestLimitExceeded({
1140
- $metadata: deserializeMetadata(parsedOutput),
1141
- ...deserialized,
1142
- });
1143
- return smithyClient.decorateServiceException(exception, body);
1144
- };
1145
- const de_ResourceInUseRes = async (parsedOutput, context) => {
1146
- const body = parsedOutput.body;
1147
- const deserialized = smithyClient._json(body);
1148
- const exception = new ResourceInUse({
1149
- $metadata: deserializeMetadata(parsedOutput),
1150
- ...deserialized,
1151
- });
1152
- return smithyClient.decorateServiceException(exception, body);
1153
- };
1154
- const de_ResourceLimitExceededRes = async (parsedOutput, context) => {
1155
- const body = parsedOutput.body;
1156
- const deserialized = smithyClient._json(body);
1157
- const exception = new ResourceLimitExceeded({
1158
- $metadata: deserializeMetadata(parsedOutput),
1159
- ...deserialized,
1160
- });
1161
- return smithyClient.decorateServiceException(exception, body);
1162
- };
1163
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1164
- const body = parsedOutput.body;
1165
- const deserialized = smithyClient._json(body);
1166
- const exception = new ResourceNotFoundException({
1167
- $metadata: deserializeMetadata(parsedOutput),
1168
- ...deserialized,
1169
- });
1170
- return smithyClient.decorateServiceException(exception, body);
1171
- };
1172
- const de_ServiceAlreadyExistsRes = async (parsedOutput, context) => {
1173
- const body = parsedOutput.body;
1174
- const deserialized = smithyClient._json(body);
1175
- const exception = new ServiceAlreadyExists({
1176
- $metadata: deserializeMetadata(parsedOutput),
1177
- ...deserialized,
1178
- });
1179
- return smithyClient.decorateServiceException(exception, body);
1180
- };
1181
- const de_ServiceAttributesLimitExceededExceptionRes = async (parsedOutput, context) => {
1182
- const body = parsedOutput.body;
1183
- const deserialized = smithyClient._json(body);
1184
- const exception = new ServiceAttributesLimitExceededException({
1185
- $metadata: deserializeMetadata(parsedOutput),
1186
- ...deserialized,
1187
- });
1188
- return smithyClient.decorateServiceException(exception, body);
1189
- };
1190
- const de_ServiceNotFoundRes = async (parsedOutput, context) => {
1191
- const body = parsedOutput.body;
1192
- const deserialized = smithyClient._json(body);
1193
- const exception = new ServiceNotFound({
1194
- $metadata: deserializeMetadata(parsedOutput),
1195
- ...deserialized,
1196
- });
1197
- return smithyClient.decorateServiceException(exception, body);
1198
- };
1199
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1200
- const body = parsedOutput.body;
1201
- const deserialized = smithyClient._json(body);
1202
- const exception = new TooManyTagsException({
1203
- $metadata: deserializeMetadata(parsedOutput),
1204
- ...deserialized,
1205
- });
1206
- return smithyClient.decorateServiceException(exception, body);
1207
- };
1208
- const se_CreateHttpNamespaceRequest = (input, context) => {
1209
- return smithyClient.take(input, {
1210
- CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
1211
- Description: [],
1212
- Name: [],
1213
- Tags: smithyClient._json,
1214
- });
1215
- };
1216
- const se_CreatePrivateDnsNamespaceRequest = (input, context) => {
1217
- return smithyClient.take(input, {
1218
- CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
1219
- Description: [],
1220
- Name: [],
1221
- Properties: smithyClient._json,
1222
- Tags: smithyClient._json,
1223
- Vpc: [],
1224
- });
1225
- };
1226
- const se_CreatePublicDnsNamespaceRequest = (input, context) => {
1227
- return smithyClient.take(input, {
1228
- CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
1229
- Description: [],
1230
- Name: [],
1231
- Properties: smithyClient._json,
1232
- Tags: smithyClient._json,
1233
- });
1234
- };
1235
- const se_CreateServiceRequest = (input, context) => {
1236
- return smithyClient.take(input, {
1237
- CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
1238
- Description: [],
1239
- DnsConfig: smithyClient._json,
1240
- HealthCheckConfig: smithyClient._json,
1241
- HealthCheckCustomConfig: smithyClient._json,
1242
- Name: [],
1243
- NamespaceId: [],
1244
- Tags: smithyClient._json,
1245
- Type: [],
1246
- });
1247
- };
1248
- const se_RegisterInstanceRequest = (input, context) => {
1249
- return smithyClient.take(input, {
1250
- Attributes: smithyClient._json,
1251
- CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
1252
- InstanceId: [],
1253
- ServiceId: [],
1254
- });
1255
- };
1256
- const se_UpdateHttpNamespaceRequest = (input, context) => {
1257
- return smithyClient.take(input, {
1258
- Id: [],
1259
- Namespace: smithyClient._json,
1260
- UpdaterRequestId: [true, (_) => _ ?? uuid.v4()],
1261
- });
1262
- };
1263
- const se_UpdatePrivateDnsNamespaceRequest = (input, context) => {
1264
- return smithyClient.take(input, {
1265
- Id: [],
1266
- Namespace: smithyClient._json,
1267
- UpdaterRequestId: [true, (_) => _ ?? uuid.v4()],
1268
- });
1269
- };
1270
- const se_UpdatePublicDnsNamespaceRequest = (input, context) => {
1271
- return smithyClient.take(input, {
1272
- Id: [],
1273
- Namespace: smithyClient._json,
1274
- UpdaterRequestId: [true, (_) => _ ?? uuid.v4()],
1275
- });
1276
- };
1277
- const de_CreateServiceResponse = (output, context) => {
1278
- return smithyClient.take(output, {
1279
- Service: (_) => de_Service(_),
1280
- });
1281
- };
1282
- const de_GetNamespaceResponse = (output, context) => {
1283
- return smithyClient.take(output, {
1284
- Namespace: (_) => de_Namespace(_),
1285
- });
1286
- };
1287
- const de_GetOperationResponse = (output, context) => {
1288
- return smithyClient.take(output, {
1289
- Operation: (_) => de_Operation(_),
1290
- });
1291
- };
1292
- const de_GetServiceResponse = (output, context) => {
1293
- return smithyClient.take(output, {
1294
- Service: (_) => de_Service(_),
1295
- });
1296
- };
1297
- const de_ListNamespacesResponse = (output, context) => {
1298
- return smithyClient.take(output, {
1299
- Namespaces: (_) => de_NamespaceSummariesList(_),
1300
- NextToken: smithyClient.expectString,
1301
- });
1302
- };
1303
- const de_ListServicesResponse = (output, context) => {
1304
- return smithyClient.take(output, {
1305
- NextToken: smithyClient.expectString,
1306
- Services: (_) => de_ServiceSummariesList(_),
1307
- });
1308
428
  };
1309
- const de_Namespace = (output, context) => {
1310
- return smithyClient.take(output, {
1311
- Arn: smithyClient.expectString,
1312
- CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1313
- CreatorRequestId: smithyClient.expectString,
1314
- Description: smithyClient.expectString,
1315
- Id: smithyClient.expectString,
1316
- Name: smithyClient.expectString,
1317
- Properties: smithyClient._json,
1318
- ResourceOwner: smithyClient.expectString,
1319
- ServiceCount: smithyClient.expectInt32,
1320
- Type: smithyClient.expectString,
1321
- });
1322
- };
1323
- const de_NamespaceSummariesList = (output, context) => {
1324
- const retVal = (output || [])
1325
- .filter((e) => e != null)
1326
- .map((entry) => {
1327
- return de_NamespaceSummary(entry);
1328
- });
1329
- return retVal;
1330
- };
1331
- const de_NamespaceSummary = (output, context) => {
1332
- return smithyClient.take(output, {
1333
- Arn: smithyClient.expectString,
1334
- CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1335
- Description: smithyClient.expectString,
1336
- Id: smithyClient.expectString,
1337
- Name: smithyClient.expectString,
1338
- Properties: smithyClient._json,
1339
- ResourceOwner: smithyClient.expectString,
1340
- ServiceCount: smithyClient.expectInt32,
1341
- Type: smithyClient.expectString,
1342
- });
1343
- };
1344
- const de_Operation = (output, context) => {
1345
- return smithyClient.take(output, {
1346
- CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1347
- ErrorCode: smithyClient.expectString,
1348
- ErrorMessage: smithyClient.expectString,
1349
- Id: smithyClient.expectString,
1350
- OwnerAccount: smithyClient.expectString,
1351
- Status: smithyClient.expectString,
1352
- Targets: smithyClient._json,
1353
- Type: smithyClient.expectString,
1354
- UpdateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1355
- });
1356
- };
1357
- const de_Service = (output, context) => {
1358
- return smithyClient.take(output, {
1359
- Arn: smithyClient.expectString,
1360
- CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1361
- CreatedByAccount: smithyClient.expectString,
1362
- CreatorRequestId: smithyClient.expectString,
1363
- Description: smithyClient.expectString,
1364
- DnsConfig: smithyClient._json,
1365
- HealthCheckConfig: smithyClient._json,
1366
- HealthCheckCustomConfig: smithyClient._json,
1367
- Id: smithyClient.expectString,
1368
- InstanceCount: smithyClient.expectInt32,
1369
- Name: smithyClient.expectString,
1370
- NamespaceId: smithyClient.expectString,
1371
- ResourceOwner: smithyClient.expectString,
1372
- Type: smithyClient.expectString,
1373
- });
1374
- };
1375
- const de_ServiceSummariesList = (output, context) => {
1376
- const retVal = (output || [])
1377
- .filter((e) => e != null)
1378
- .map((entry) => {
1379
- return de_ServiceSummary(entry);
1380
- });
1381
- return retVal;
1382
- };
1383
- const de_ServiceSummary = (output, context) => {
1384
- return smithyClient.take(output, {
1385
- Arn: smithyClient.expectString,
1386
- CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1387
- CreatedByAccount: smithyClient.expectString,
1388
- Description: smithyClient.expectString,
1389
- DnsConfig: smithyClient._json,
1390
- HealthCheckConfig: smithyClient._json,
1391
- HealthCheckCustomConfig: smithyClient._json,
1392
- Id: smithyClient.expectString,
1393
- InstanceCount: smithyClient.expectInt32,
1394
- Name: smithyClient.expectString,
1395
- ResourceOwner: smithyClient.expectString,
1396
- Type: smithyClient.expectString,
1397
- });
1398
- };
1399
- const deserializeMetadata = (output) => ({
1400
- httpStatusCode: output.statusCode,
1401
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1402
- extendedRequestId: output.headers["x-amz-id-2"],
1403
- cfId: output.headers["x-amz-cf-id"],
1404
- });
1405
- const throwDefaultError = smithyClient.withBaseException(ServiceDiscoveryServiceException);
1406
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1407
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1408
- const contents = {
1409
- protocol,
1410
- hostname,
1411
- port,
1412
- method: "POST",
1413
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1414
- headers,
1415
- };
1416
- if (resolvedHostname !== undefined) {
1417
- contents.hostname = resolvedHostname;
1418
- }
1419
- if (body !== undefined) {
1420
- contents.body = body;
1421
- }
1422
- return new protocolHttp.HttpRequest(contents);
1423
- };
1424
- function sharedHeaders(operation) {
1425
- return {
1426
- "content-type": "application/x-amz-json-1.1",
1427
- "x-amz-target": `Route53AutoNaming_v20170314.${operation}`,
1428
- };
1429
- }
429
+
430
+ const _A = "Attributes";
431
+ const _Ar = "Arn";
432
+ const _C = "Condition";
433
+ const _CBA = "CreatedByAccount";
434
+ const _CD = "CreateDate";
435
+ const _CHN = "CreateHttpNamespace";
436
+ const _CHNF = "CustomHealthNotFound";
437
+ const _CHNR = "CreateHttpNamespaceRequest";
438
+ const _CHNRr = "CreateHttpNamespaceResponse";
439
+ const _CPDN = "CreatePrivateDnsNamespace";
440
+ const _CPDNR = "CreatePrivateDnsNamespaceRequest";
441
+ const _CPDNRr = "CreatePrivateDnsNamespaceResponse";
442
+ const _CPDNRre = "CreatePublicDnsNamespaceRequest";
443
+ const _CPDNRrea = "CreatePublicDnsNamespaceResponse";
444
+ const _CPDNr = "CreatePublicDnsNamespace";
445
+ const _CRI = "CreatorRequestId";
446
+ const _CS = "CreateService";
447
+ const _CSR = "CreateServiceRequest";
448
+ const _CSRr = "CreateServiceResponse";
449
+ const _D = "Description";
450
+ const _DC = "DnsConfig";
451
+ const _DCC = "DnsConfigChange";
452
+ const _DI = "DeregisterInstance";
453
+ const _DIR = "DeregisterInstanceRequest";
454
+ const _DIRR = "DiscoverInstancesRevisionRequest";
455
+ const _DIRRi = "DiscoverInstancesRevisionResponse";
456
+ const _DIRe = "DeregisterInstanceResponse";
457
+ const _DIRi = "DiscoverInstancesRequest";
458
+ const _DIRis = "DiscoverInstancesResponse";
459
+ const _DIRisc = "DiscoverInstancesRevision";
460
+ const _DIi = "DiscoverInstances";
461
+ const _DN = "DeleteNamespace";
462
+ const _DNR = "DeleteNamespaceRequest";
463
+ const _DNRe = "DeleteNamespaceResponse";
464
+ const _DOI = "DuplicateOperationId";
465
+ const _DP = "DnsProperties";
466
+ const _DR = "DnsRecords";
467
+ const _DRL = "DnsRecordList";
468
+ const _DRn = "DnsRecord";
469
+ const _DRu = "DuplicateRequest";
470
+ const _DS = "DeleteService";
471
+ const _DSA = "DeleteServiceAttributes";
472
+ const _DSAR = "DeleteServiceAttributesRequest";
473
+ const _DSARe = "DeleteServiceAttributesResponse";
474
+ const _DSR = "DeleteServiceRequest";
475
+ const _DSRe = "DeleteServiceResponse";
476
+ const _EC = "ErrorCode";
477
+ const _EM = "ErrorMessage";
478
+ const _F = "Filters";
479
+ const _FT = "FailureThreshold";
480
+ const _FV = "FilterValues";
481
+ const _GI = "GetInstance";
482
+ const _GIHS = "GetInstancesHealthStatus";
483
+ const _GIHSR = "GetInstancesHealthStatusRequest";
484
+ const _GIHSRe = "GetInstancesHealthStatusResponse";
485
+ const _GIR = "GetInstanceRequest";
486
+ const _GIRe = "GetInstanceResponse";
487
+ const _GN = "GetNamespace";
488
+ const _GNR = "GetNamespaceRequest";
489
+ const _GNRe = "GetNamespaceResponse";
490
+ const _GO = "GetOperation";
491
+ const _GOR = "GetOperationRequest";
492
+ const _GORe = "GetOperationResponse";
493
+ const _GS = "GetService";
494
+ const _GSA = "GetServiceAttributes";
495
+ const _GSAR = "GetServiceAttributesRequest";
496
+ const _GSARe = "GetServiceAttributesResponse";
497
+ const _GSR = "GetServiceRequest";
498
+ const _GSRe = "GetServiceResponse";
499
+ const _HCC = "HealthCheckConfig";
500
+ const _HCCC = "HealthCheckCustomConfig";
501
+ const _HIS = "HttpInstanceSummary";
502
+ const _HISL = "HttpInstanceSummaryList";
503
+ const _HN = "HttpName";
504
+ const _HNC = "HttpNamespaceChange";
505
+ const _HP = "HttpProperties";
506
+ const _HS = "HealthStatus";
507
+ const _HZI = "HostedZoneId";
508
+ const _I = "Id";
509
+ const _IC = "InstanceCount";
510
+ const _II = "InstanceId";
511
+ const _IIL = "InstanceIdList";
512
+ const _IIn = "InvalidInput";
513
+ const _INF = "InstanceNotFound";
514
+ const _IR = "InstancesRevision";
515
+ const _IS = "InstanceSummary";
516
+ const _ISL = "InstanceSummaryList";
517
+ const _In = "Instances";
518
+ const _Ins = "Instance";
519
+ const _K = "Key";
520
+ const _LI = "ListInstances";
521
+ const _LIR = "ListInstancesRequest";
522
+ const _LIRi = "ListInstancesResponse";
523
+ const _LN = "ListNamespaces";
524
+ const _LNR = "ListNamespacesRequest";
525
+ const _LNRi = "ListNamespacesResponse";
526
+ const _LO = "ListOperations";
527
+ const _LOR = "ListOperationsRequest";
528
+ const _LORi = "ListOperationsResponse";
529
+ const _LS = "ListServices";
530
+ const _LSR = "ListServicesRequest";
531
+ const _LSRi = "ListServicesResponse";
532
+ const _LTFR = "ListTagsForResource";
533
+ const _LTFRR = "ListTagsForResourceRequest";
534
+ const _LTFRRi = "ListTagsForResourceResponse";
535
+ const _M = "Message";
536
+ const _MR = "MaxResults";
537
+ const _N = "Name";
538
+ const _NAE = "NamespaceAlreadyExists";
539
+ const _NF = "NamespaceFilter";
540
+ const _NFa = "NamespaceFilters";
541
+ const _NI = "NamespaceId";
542
+ const _NN = "NamespaceName";
543
+ const _NNF = "NamespaceNotFound";
544
+ const _NP = "NamespaceProperties";
545
+ const _NS = "NamespaceSummary";
546
+ const _NSL = "NamespaceSummariesList";
547
+ const _NT = "NextToken";
548
+ const _Na = "Namespace";
549
+ const _Nam = "Namespaces";
550
+ const _O = "Operation";
551
+ const _OA = "OwnerAccount";
552
+ const _OF = "OperationFilter";
553
+ const _OFp = "OperationFilters";
554
+ const _OI = "OperationId";
555
+ const _ONF = "OperationNotFound";
556
+ const _OP = "OptionalParameters";
557
+ const _OS = "OperationSummary";
558
+ const _OSL = "OperationSummaryList";
559
+ const _Op = "Operations";
560
+ const _P = "Properties";
561
+ const _PDNC = "PrivateDnsNamespaceChange";
562
+ const _PDNCu = "PublicDnsNamespaceChange";
563
+ const _PDNP = "PrivateDnsNamespaceProperties";
564
+ const _PDNPC = "PrivateDnsNamespacePropertiesChange";
565
+ const _PDNPCu = "PublicDnsNamespacePropertiesChange";
566
+ const _PDNPu = "PublicDnsNamespaceProperties";
567
+ const _PDPM = "PrivateDnsPropertiesMutable";
568
+ const _PDPMC = "PrivateDnsPropertiesMutableChange";
569
+ const _PDPMCu = "PublicDnsPropertiesMutableChange";
570
+ const _PDPMu = "PublicDnsPropertiesMutable";
571
+ const _QP = "QueryParameters";
572
+ const _RARN = "ResourceARN";
573
+ const _RI = "RegisterInstance";
574
+ const _RIR = "RegisterInstanceRequest";
575
+ const _RIRe = "RegisterInstanceResponse";
576
+ const _RIU = "ResourceInUse";
577
+ const _RLE = "RequestLimitExceeded";
578
+ const _RLEe = "ResourceLimitExceeded";
579
+ const _RN = "ResourceName";
580
+ const _RNFE = "ResourceNotFoundException";
581
+ const _RO = "ResourceOwner";
582
+ const _RP = "RoutingPolicy";
583
+ const _RPe = "ResourcePath";
584
+ const _S = "Service";
585
+ const _SA = "ServiceAttributes";
586
+ const _SAE = "ServiceAlreadyExists";
587
+ const _SALEE = "ServiceAttributesLimitExceededException";
588
+ const _SAe = "ServiceArn";
589
+ const _SC = "ServiceCount";
590
+ const _SCe = "ServiceChange";
591
+ const _SF = "ServiceFilter";
592
+ const _SFe = "ServiceFilters";
593
+ const _SI = "ServiceId";
594
+ const _SN = "ServiceName";
595
+ const _SNF = "ServiceNotFound";
596
+ const _SOA = "SOA";
597
+ const _SOAC = "SOAChange";
598
+ const _SS = "ServiceSummary";
599
+ const _SSL = "ServiceSummariesList";
600
+ const _Se = "Services";
601
+ const _St = "Status";
602
+ const _T = "Tags";
603
+ const _TK = "TagKeys";
604
+ const _TL = "TagList";
605
+ const _TMTE = "TooManyTagsException";
606
+ const _TR = "TagResource";
607
+ const _TRR = "TagResourceRequest";
608
+ const _TRRa = "TagResourceResponse";
609
+ const _TTL = "TTL";
610
+ const _Ta = "Targets";
611
+ const _Tag = "Tag";
612
+ const _Ty = "Type";
613
+ const _UD = "UpdateDate";
614
+ const _UHN = "UpdateHttpNamespace";
615
+ const _UHNR = "UpdateHttpNamespaceRequest";
616
+ const _UHNRp = "UpdateHttpNamespaceResponse";
617
+ const _UICHS = "UpdateInstanceCustomHealthStatus";
618
+ const _UICHSR = "UpdateInstanceCustomHealthStatusRequest";
619
+ const _UPDN = "UpdatePrivateDnsNamespace";
620
+ const _UPDNR = "UpdatePrivateDnsNamespaceRequest";
621
+ const _UPDNRp = "UpdatePrivateDnsNamespaceResponse";
622
+ const _UPDNRpd = "UpdatePublicDnsNamespaceRequest";
623
+ const _UPDNRpda = "UpdatePublicDnsNamespaceResponse";
624
+ const _UPDNp = "UpdatePublicDnsNamespace";
625
+ const _UR = "UntagResource";
626
+ const _URI = "UpdaterRequestId";
627
+ const _URR = "UntagResourceRequest";
628
+ const _URRn = "UntagResourceResponse";
629
+ const _US = "UpdateService";
630
+ const _USA = "UpdateServiceAttributes";
631
+ const _USAR = "UpdateServiceAttributesRequest";
632
+ const _USARp = "UpdateServiceAttributesResponse";
633
+ const _USR = "UpdateServiceRequest";
634
+ const _USRp = "UpdateServiceResponse";
635
+ const _V = "Vpc";
636
+ const _Va = "Values";
637
+ const _Val = "Value";
638
+ const _c = "client";
639
+ const _e = "error";
640
+ const _en = "endpoint";
641
+ const _hE = "httpError";
642
+ const _i = "item";
643
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.servicediscovery";
644
+ const _xN = "xmlName";
645
+ const n0 = "com.amazonaws.servicediscovery";
646
+ var CreateHttpNamespaceRequest = [
647
+ 3,
648
+ n0,
649
+ _CHNR,
650
+ 0,
651
+ [_N, _CRI, _D, _T],
652
+ [0, [0, 4], 0, () => TagList],
653
+ ];
654
+ var CreateHttpNamespaceResponse = [3, n0, _CHNRr, 0, [_OI], [0]];
655
+ var CreatePrivateDnsNamespaceRequest = [
656
+ 3,
657
+ n0,
658
+ _CPDNR,
659
+ 0,
660
+ [_N, _CRI, _D, _V, _T, _P],
661
+ [0, [0, 4], 0, 0, () => TagList, () => PrivateDnsNamespaceProperties],
662
+ ];
663
+ var CreatePrivateDnsNamespaceResponse = [3, n0, _CPDNRr, 0, [_OI], [0]];
664
+ var CreatePublicDnsNamespaceRequest = [
665
+ 3,
666
+ n0,
667
+ _CPDNRre,
668
+ 0,
669
+ [_N, _CRI, _D, _T, _P],
670
+ [0, [0, 4], 0, () => TagList, () => PublicDnsNamespaceProperties],
671
+ ];
672
+ var CreatePublicDnsNamespaceResponse = [3, n0, _CPDNRrea, 0, [_OI], [0]];
673
+ var CreateServiceRequest = [
674
+ 3,
675
+ n0,
676
+ _CSR,
677
+ 0,
678
+ [_N, _NI, _CRI, _D, _DC, _HCC, _HCCC, _T, _Ty],
679
+ [0, 0, [0, 4], 0, () => DnsConfig, () => HealthCheckConfig, () => HealthCheckCustomConfig, () => TagList, 0],
680
+ ];
681
+ var CreateServiceResponse = [3, n0, _CSRr, 0, [_S], [() => Service]];
682
+ var CustomHealthNotFound = [
683
+ -3,
684
+ n0,
685
+ _CHNF,
686
+ {
687
+ [_e]: _c,
688
+ [_hE]: 404,
689
+ },
690
+ [_M],
691
+ [0],
692
+ ];
693
+ schema.TypeRegistry.for(n0).registerError(CustomHealthNotFound, CustomHealthNotFound$1);
694
+ var DeleteNamespaceRequest = [3, n0, _DNR, 0, [_I], [0]];
695
+ var DeleteNamespaceResponse = [3, n0, _DNRe, 0, [_OI], [0]];
696
+ var DeleteServiceAttributesRequest = [3, n0, _DSAR, 0, [_SI, _A], [0, 64 | 0]];
697
+ var DeleteServiceAttributesResponse = [3, n0, _DSARe, 0, [], []];
698
+ var DeleteServiceRequest = [3, n0, _DSR, 0, [_I], [0]];
699
+ var DeleteServiceResponse = [3, n0, _DSRe, 0, [], []];
700
+ var DeregisterInstanceRequest = [3, n0, _DIR, 0, [_SI, _II], [0, 0]];
701
+ var DeregisterInstanceResponse = [3, n0, _DIRe, 0, [_OI], [0]];
702
+ var DiscoverInstancesRequest = [
703
+ 3,
704
+ n0,
705
+ _DIRi,
706
+ 0,
707
+ [_NN, _SN, _MR, _QP, _OP, _HS, _OA],
708
+ [0, 0, 1, 128 | 0, 128 | 0, 0, 0],
709
+ ];
710
+ var DiscoverInstancesResponse = [
711
+ 3,
712
+ n0,
713
+ _DIRis,
714
+ 0,
715
+ [_In, _IR],
716
+ [() => HttpInstanceSummaryList, 1],
717
+ ];
718
+ var DiscoverInstancesRevisionRequest = [3, n0, _DIRR, 0, [_NN, _SN, _OA], [0, 0, 0]];
719
+ var DiscoverInstancesRevisionResponse = [3, n0, _DIRRi, 0, [_IR], [1]];
720
+ var DnsConfig = [3, n0, _DC, 0, [_NI, _RP, _DR], [0, 0, () => DnsRecordList]];
721
+ var DnsConfigChange = [3, n0, _DCC, 0, [_DR], [() => DnsRecordList]];
722
+ var DnsProperties = [3, n0, _DP, 0, [_HZI, _SOA], [0, () => SOA]];
723
+ var DnsRecord = [3, n0, _DRn, 0, [_Ty, _TTL], [0, 1]];
724
+ var DuplicateRequest = [
725
+ -3,
726
+ n0,
727
+ _DRu,
728
+ {
729
+ [_e]: _c,
730
+ [_hE]: 409,
731
+ },
732
+ [_M, _DOI],
733
+ [0, 0],
734
+ ];
735
+ schema.TypeRegistry.for(n0).registerError(DuplicateRequest, DuplicateRequest$1);
736
+ var GetInstanceRequest = [3, n0, _GIR, 0, [_SI, _II], [0, 0]];
737
+ var GetInstanceResponse = [3, n0, _GIRe, 0, [_RO, _Ins], [0, () => Instance]];
738
+ var GetInstancesHealthStatusRequest = [
739
+ 3,
740
+ n0,
741
+ _GIHSR,
742
+ 0,
743
+ [_SI, _In, _MR, _NT],
744
+ [0, [() => InstanceIdList, 0], 1, 0],
745
+ ];
746
+ var GetInstancesHealthStatusResponse = [3, n0, _GIHSRe, 0, [_St, _NT], [128 | 0, 0]];
747
+ var GetNamespaceRequest = [3, n0, _GNR, 0, [_I], [0]];
748
+ var GetNamespaceResponse = [3, n0, _GNRe, 0, [_Na], [() => Namespace]];
749
+ var GetOperationRequest = [3, n0, _GOR, 0, [_OI, _OA], [0, 0]];
750
+ var GetOperationResponse = [3, n0, _GORe, 0, [_O], [() => Operation]];
751
+ var GetServiceAttributesRequest = [3, n0, _GSAR, 0, [_SI], [0]];
752
+ var GetServiceAttributesResponse = [3, n0, _GSARe, 0, [_SA], [() => ServiceAttributes]];
753
+ var GetServiceRequest = [3, n0, _GSR, 0, [_I], [0]];
754
+ var GetServiceResponse = [3, n0, _GSRe, 0, [_S], [() => Service]];
755
+ var HealthCheckConfig = [3, n0, _HCC, 0, [_Ty, _RPe, _FT], [0, 0, 1]];
756
+ var HealthCheckCustomConfig = [3, n0, _HCCC, 0, [_FT], [1]];
757
+ var HttpInstanceSummary = [
758
+ 3,
759
+ n0,
760
+ _HIS,
761
+ 0,
762
+ [_II, _NN, _SN, _HS, _A],
763
+ [0, 0, 0, 0, 128 | 0],
764
+ ];
765
+ var HttpNamespaceChange = [3, n0, _HNC, 0, [_D], [0]];
766
+ var HttpProperties = [3, n0, _HP, 0, [_HN], [0]];
767
+ var Instance = [3, n0, _Ins, 0, [_I, _CRI, _A, _CBA], [0, 0, 128 | 0, 0]];
768
+ var InstanceNotFound = [
769
+ -3,
770
+ n0,
771
+ _INF,
772
+ {
773
+ [_e]: _c,
774
+ [_hE]: 404,
775
+ },
776
+ [_M],
777
+ [0],
778
+ ];
779
+ schema.TypeRegistry.for(n0).registerError(InstanceNotFound, InstanceNotFound$1);
780
+ var InstanceSummary = [3, n0, _IS, 0, [_I, _A, _CBA], [0, 128 | 0, 0]];
781
+ var InvalidInput = [
782
+ -3,
783
+ n0,
784
+ _IIn,
785
+ {
786
+ [_e]: _c,
787
+ [_hE]: 400,
788
+ },
789
+ [_M],
790
+ [0],
791
+ ];
792
+ schema.TypeRegistry.for(n0).registerError(InvalidInput, InvalidInput$1);
793
+ var ListInstancesRequest = [3, n0, _LIR, 0, [_SI, _NT, _MR], [0, 0, 1]];
794
+ var ListInstancesResponse = [
795
+ 3,
796
+ n0,
797
+ _LIRi,
798
+ 0,
799
+ [_RO, _In, _NT],
800
+ [0, [() => InstanceSummaryList, 0], 0],
801
+ ];
802
+ var ListNamespacesRequest = [
803
+ 3,
804
+ n0,
805
+ _LNR,
806
+ 0,
807
+ [_NT, _MR, _F],
808
+ [0, 1, [() => NamespaceFilters, 0]],
809
+ ];
810
+ var ListNamespacesResponse = [
811
+ 3,
812
+ n0,
813
+ _LNRi,
814
+ 0,
815
+ [_Nam, _NT],
816
+ [() => NamespaceSummariesList, 0],
817
+ ];
818
+ var ListOperationsRequest = [
819
+ 3,
820
+ n0,
821
+ _LOR,
822
+ 0,
823
+ [_NT, _MR, _F],
824
+ [0, 1, [() => OperationFilters, 0]],
825
+ ];
826
+ var ListOperationsResponse = [
827
+ 3,
828
+ n0,
829
+ _LORi,
830
+ 0,
831
+ [_Op, _NT],
832
+ [[() => OperationSummaryList, 0], 0],
833
+ ];
834
+ var ListServicesRequest = [
835
+ 3,
836
+ n0,
837
+ _LSR,
838
+ 0,
839
+ [_NT, _MR, _F],
840
+ [0, 1, [() => ServiceFilters, 0]],
841
+ ];
842
+ var ListServicesResponse = [3, n0, _LSRi, 0, [_Se, _NT], [() => ServiceSummariesList, 0]];
843
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
844
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
845
+ var Namespace = [
846
+ 3,
847
+ n0,
848
+ _Na,
849
+ 0,
850
+ [_I, _Ar, _RO, _N, _Ty, _D, _SC, _P, _CD, _CRI],
851
+ [0, 0, 0, 0, 0, 0, 1, () => NamespaceProperties, 4, 0],
852
+ ];
853
+ var NamespaceAlreadyExists = [
854
+ -3,
855
+ n0,
856
+ _NAE,
857
+ {
858
+ [_e]: _c,
859
+ [_hE]: 400,
860
+ },
861
+ [_M, _CRI, _NI],
862
+ [0, 0, 0],
863
+ ];
864
+ schema.TypeRegistry.for(n0).registerError(NamespaceAlreadyExists, NamespaceAlreadyExists$1);
865
+ var NamespaceFilter = [3, n0, _NF, 0, [_N, _Va, _C], [0, [() => FilterValues, 0], 0]];
866
+ var NamespaceNotFound = [
867
+ -3,
868
+ n0,
869
+ _NNF,
870
+ {
871
+ [_e]: _c,
872
+ [_hE]: 404,
873
+ },
874
+ [_M],
875
+ [0],
876
+ ];
877
+ schema.TypeRegistry.for(n0).registerError(NamespaceNotFound, NamespaceNotFound$1);
878
+ var NamespaceProperties = [
879
+ 3,
880
+ n0,
881
+ _NP,
882
+ 0,
883
+ [_DP, _HP],
884
+ [() => DnsProperties, () => HttpProperties],
885
+ ];
886
+ var NamespaceSummary = [
887
+ 3,
888
+ n0,
889
+ _NS,
890
+ 0,
891
+ [_I, _Ar, _RO, _N, _Ty, _D, _SC, _P, _CD],
892
+ [0, 0, 0, 0, 0, 0, 1, () => NamespaceProperties, 4],
893
+ ];
894
+ var Operation = [
895
+ 3,
896
+ n0,
897
+ _O,
898
+ 0,
899
+ [_I, _OA, _Ty, _St, _EM, _EC, _CD, _UD, _Ta],
900
+ [0, 0, 0, 0, 0, 0, 4, 4, 128 | 0],
901
+ ];
902
+ var OperationFilter = [3, n0, _OF, 0, [_N, _Va, _C], [0, [() => FilterValues, 0], 0]];
903
+ var OperationNotFound = [
904
+ -3,
905
+ n0,
906
+ _ONF,
907
+ {
908
+ [_e]: _c,
909
+ [_hE]: 404,
910
+ },
911
+ [_M],
912
+ [0],
913
+ ];
914
+ schema.TypeRegistry.for(n0).registerError(OperationNotFound, OperationNotFound$1);
915
+ var OperationSummary = [3, n0, _OS, 0, [_I, _St], [0, 0]];
916
+ var PrivateDnsNamespaceChange = [
917
+ 3,
918
+ n0,
919
+ _PDNC,
920
+ 0,
921
+ [_D, _P],
922
+ [0, () => PrivateDnsNamespacePropertiesChange],
923
+ ];
924
+ var PrivateDnsNamespaceProperties = [
925
+ 3,
926
+ n0,
927
+ _PDNP,
928
+ 0,
929
+ [_DP],
930
+ [() => PrivateDnsPropertiesMutable],
931
+ ];
932
+ var PrivateDnsNamespacePropertiesChange = [
933
+ 3,
934
+ n0,
935
+ _PDNPC,
936
+ 0,
937
+ [_DP],
938
+ [() => PrivateDnsPropertiesMutableChange],
939
+ ];
940
+ var PrivateDnsPropertiesMutable = [3, n0, _PDPM, 0, [_SOA], [() => SOA]];
941
+ var PrivateDnsPropertiesMutableChange = [3, n0, _PDPMC, 0, [_SOA], [() => SOAChange]];
942
+ var PublicDnsNamespaceChange = [
943
+ 3,
944
+ n0,
945
+ _PDNCu,
946
+ 0,
947
+ [_D, _P],
948
+ [0, () => PublicDnsNamespacePropertiesChange],
949
+ ];
950
+ var PublicDnsNamespaceProperties = [
951
+ 3,
952
+ n0,
953
+ _PDNPu,
954
+ 0,
955
+ [_DP],
956
+ [() => PublicDnsPropertiesMutable],
957
+ ];
958
+ var PublicDnsNamespacePropertiesChange = [
959
+ 3,
960
+ n0,
961
+ _PDNPCu,
962
+ 0,
963
+ [_DP],
964
+ [() => PublicDnsPropertiesMutableChange],
965
+ ];
966
+ var PublicDnsPropertiesMutable = [3, n0, _PDPMu, 0, [_SOA], [() => SOA]];
967
+ var PublicDnsPropertiesMutableChange = [3, n0, _PDPMCu, 0, [_SOA], [() => SOAChange]];
968
+ var RegisterInstanceRequest = [
969
+ 3,
970
+ n0,
971
+ _RIR,
972
+ 0,
973
+ [_SI, _II, _CRI, _A],
974
+ [0, 0, [0, 4], 128 | 0],
975
+ ];
976
+ var RegisterInstanceResponse = [3, n0, _RIRe, 0, [_OI], [0]];
977
+ var RequestLimitExceeded = [
978
+ -3,
979
+ n0,
980
+ _RLE,
981
+ {
982
+ [_e]: _c,
983
+ [_hE]: 429,
984
+ },
985
+ [_M],
986
+ [0],
987
+ ];
988
+ schema.TypeRegistry.for(n0).registerError(RequestLimitExceeded, RequestLimitExceeded$1);
989
+ var ResourceInUse = [
990
+ -3,
991
+ n0,
992
+ _RIU,
993
+ {
994
+ [_e]: _c,
995
+ [_hE]: 409,
996
+ },
997
+ [_M],
998
+ [0],
999
+ ];
1000
+ schema.TypeRegistry.for(n0).registerError(ResourceInUse, ResourceInUse$1);
1001
+ var ResourceLimitExceeded = [
1002
+ -3,
1003
+ n0,
1004
+ _RLEe,
1005
+ {
1006
+ [_e]: _c,
1007
+ [_hE]: 400,
1008
+ },
1009
+ [_M],
1010
+ [0],
1011
+ ];
1012
+ schema.TypeRegistry.for(n0).registerError(ResourceLimitExceeded, ResourceLimitExceeded$1);
1013
+ var ResourceNotFoundException = [
1014
+ -3,
1015
+ n0,
1016
+ _RNFE,
1017
+ {
1018
+ [_e]: _c,
1019
+ [_hE]: 404,
1020
+ },
1021
+ [_M],
1022
+ [0],
1023
+ ];
1024
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1025
+ var Service = [
1026
+ 3,
1027
+ n0,
1028
+ _S,
1029
+ 0,
1030
+ [_I, _Ar, _RO, _N, _NI, _D, _IC, _DC, _Ty, _HCC, _HCCC, _CD, _CRI, _CBA],
1031
+ [0, 0, 0, 0, 0, 0, 1, () => DnsConfig, 0, () => HealthCheckConfig, () => HealthCheckCustomConfig, 4, 0, 0],
1032
+ ];
1033
+ var ServiceAlreadyExists = [
1034
+ -3,
1035
+ n0,
1036
+ _SAE,
1037
+ {
1038
+ [_e]: _c,
1039
+ [_hE]: 400,
1040
+ },
1041
+ [_M, _CRI, _SI, _SAe],
1042
+ [0, 0, 0, 0],
1043
+ ];
1044
+ schema.TypeRegistry.for(n0).registerError(ServiceAlreadyExists, ServiceAlreadyExists$1);
1045
+ var ServiceAttributes = [3, n0, _SA, 0, [_SAe, _RO, _A], [0, 0, 128 | 0]];
1046
+ var ServiceAttributesLimitExceededException = [
1047
+ -3,
1048
+ n0,
1049
+ _SALEE,
1050
+ {
1051
+ [_e]: _c,
1052
+ [_hE]: 400,
1053
+ },
1054
+ [_M],
1055
+ [0],
1056
+ ];
1057
+ schema.TypeRegistry.for(n0).registerError(ServiceAttributesLimitExceededException, ServiceAttributesLimitExceededException$1);
1058
+ var ServiceChange = [
1059
+ 3,
1060
+ n0,
1061
+ _SCe,
1062
+ 0,
1063
+ [_D, _DC, _HCC],
1064
+ [0, () => DnsConfigChange, () => HealthCheckConfig],
1065
+ ];
1066
+ var ServiceFilter = [3, n0, _SF, 0, [_N, _Va, _C], [0, [() => FilterValues, 0], 0]];
1067
+ var ServiceNotFound = [
1068
+ -3,
1069
+ n0,
1070
+ _SNF,
1071
+ {
1072
+ [_e]: _c,
1073
+ [_hE]: 404,
1074
+ },
1075
+ [_M],
1076
+ [0],
1077
+ ];
1078
+ schema.TypeRegistry.for(n0).registerError(ServiceNotFound, ServiceNotFound$1);
1079
+ var ServiceSummary = [
1080
+ 3,
1081
+ n0,
1082
+ _SS,
1083
+ 0,
1084
+ [_I, _Ar, _RO, _N, _Ty, _D, _IC, _DC, _HCC, _HCCC, _CD, _CBA],
1085
+ [0, 0, 0, 0, 0, 0, 1, () => DnsConfig, () => HealthCheckConfig, () => HealthCheckCustomConfig, 4, 0],
1086
+ ];
1087
+ var SOA = [3, n0, _SOA, 0, [_TTL], [1]];
1088
+ var SOAChange = [3, n0, _SOAC, 0, [_TTL], [1]];
1089
+ var Tag = [3, n0, _Tag, 0, [_K, _Val], [0, 0]];
1090
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
1091
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1092
+ var TooManyTagsException = [
1093
+ -3,
1094
+ n0,
1095
+ _TMTE,
1096
+ {
1097
+ [_e]: _c,
1098
+ [_hE]: 400,
1099
+ },
1100
+ [_M, _RN],
1101
+ [0, 0],
1102
+ ];
1103
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1104
+ var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
1105
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1106
+ var UpdateHttpNamespaceRequest = [
1107
+ 3,
1108
+ n0,
1109
+ _UHNR,
1110
+ 0,
1111
+ [_I, _URI, _Na],
1112
+ [0, [0, 4], () => HttpNamespaceChange],
1113
+ ];
1114
+ var UpdateHttpNamespaceResponse = [3, n0, _UHNRp, 0, [_OI], [0]];
1115
+ var UpdateInstanceCustomHealthStatusRequest = [
1116
+ 3,
1117
+ n0,
1118
+ _UICHSR,
1119
+ 0,
1120
+ [_SI, _II, _St],
1121
+ [0, 0, 0],
1122
+ ];
1123
+ var UpdatePrivateDnsNamespaceRequest = [
1124
+ 3,
1125
+ n0,
1126
+ _UPDNR,
1127
+ 0,
1128
+ [_I, _URI, _Na],
1129
+ [0, [0, 4], () => PrivateDnsNamespaceChange],
1130
+ ];
1131
+ var UpdatePrivateDnsNamespaceResponse = [3, n0, _UPDNRp, 0, [_OI], [0]];
1132
+ var UpdatePublicDnsNamespaceRequest = [
1133
+ 3,
1134
+ n0,
1135
+ _UPDNRpd,
1136
+ 0,
1137
+ [_I, _URI, _Na],
1138
+ [0, [0, 4], () => PublicDnsNamespaceChange],
1139
+ ];
1140
+ var UpdatePublicDnsNamespaceResponse = [3, n0, _UPDNRpda, 0, [_OI], [0]];
1141
+ var UpdateServiceAttributesRequest = [3, n0, _USAR, 0, [_SI, _A], [0, 128 | 0]];
1142
+ var UpdateServiceAttributesResponse = [3, n0, _USARp, 0, [], []];
1143
+ var UpdateServiceRequest = [3, n0, _USR, 0, [_I, _S], [0, () => ServiceChange]];
1144
+ var UpdateServiceResponse = [3, n0, _USRp, 0, [_OI], [0]];
1145
+ var __Unit = "unit";
1146
+ var ServiceDiscoveryServiceException = [
1147
+ -3,
1148
+ _s,
1149
+ "ServiceDiscoveryServiceException",
1150
+ 0,
1151
+ [],
1152
+ [],
1153
+ ];
1154
+ schema.TypeRegistry.for(_s).registerError(ServiceDiscoveryServiceException, ServiceDiscoveryServiceException$1);
1155
+ var DnsRecordList = [1, n0, _DRL, 0, () => DnsRecord];
1156
+ var FilterValues = [
1157
+ 1,
1158
+ n0,
1159
+ _FV,
1160
+ 0,
1161
+ [
1162
+ 0,
1163
+ {
1164
+ [_xN]: _i,
1165
+ },
1166
+ ],
1167
+ ];
1168
+ var HttpInstanceSummaryList = [1, n0, _HISL, 0, () => HttpInstanceSummary];
1169
+ var InstanceIdList = [
1170
+ 1,
1171
+ n0,
1172
+ _IIL,
1173
+ 0,
1174
+ [
1175
+ 0,
1176
+ {
1177
+ [_xN]: _II,
1178
+ },
1179
+ ],
1180
+ ];
1181
+ var InstanceSummaryList = [
1182
+ 1,
1183
+ n0,
1184
+ _ISL,
1185
+ 0,
1186
+ [
1187
+ () => InstanceSummary,
1188
+ {
1189
+ [_xN]: _IS,
1190
+ },
1191
+ ],
1192
+ ];
1193
+ var NamespaceFilters = [
1194
+ 1,
1195
+ n0,
1196
+ _NFa,
1197
+ 0,
1198
+ [
1199
+ () => NamespaceFilter,
1200
+ {
1201
+ [_xN]: _i,
1202
+ },
1203
+ ],
1204
+ ];
1205
+ var NamespaceSummariesList = [1, n0, _NSL, 0, () => NamespaceSummary];
1206
+ var OperationFilters = [
1207
+ 1,
1208
+ n0,
1209
+ _OFp,
1210
+ 0,
1211
+ [
1212
+ () => OperationFilter,
1213
+ {
1214
+ [_xN]: _i,
1215
+ },
1216
+ ],
1217
+ ];
1218
+ var OperationSummaryList = [
1219
+ 1,
1220
+ n0,
1221
+ _OSL,
1222
+ 0,
1223
+ [
1224
+ () => OperationSummary,
1225
+ {
1226
+ [_xN]: _OS,
1227
+ },
1228
+ ],
1229
+ ];
1230
+ var ServiceFilters = [
1231
+ 1,
1232
+ n0,
1233
+ _SFe,
1234
+ 0,
1235
+ [
1236
+ () => ServiceFilter,
1237
+ {
1238
+ [_xN]: _i,
1239
+ },
1240
+ ],
1241
+ ];
1242
+ var ServiceSummariesList = [1, n0, _SSL, 0, () => ServiceSummary];
1243
+ var TagList = [1, n0, _TL, 0, () => Tag];
1244
+ var CreateHttpNamespace = [
1245
+ 9,
1246
+ n0,
1247
+ _CHN,
1248
+ 0,
1249
+ () => CreateHttpNamespaceRequest,
1250
+ () => CreateHttpNamespaceResponse,
1251
+ ];
1252
+ var CreatePrivateDnsNamespace = [
1253
+ 9,
1254
+ n0,
1255
+ _CPDN,
1256
+ 0,
1257
+ () => CreatePrivateDnsNamespaceRequest,
1258
+ () => CreatePrivateDnsNamespaceResponse,
1259
+ ];
1260
+ var CreatePublicDnsNamespace = [
1261
+ 9,
1262
+ n0,
1263
+ _CPDNr,
1264
+ 0,
1265
+ () => CreatePublicDnsNamespaceRequest,
1266
+ () => CreatePublicDnsNamespaceResponse,
1267
+ ];
1268
+ var CreateService = [
1269
+ 9,
1270
+ n0,
1271
+ _CS,
1272
+ 0,
1273
+ () => CreateServiceRequest,
1274
+ () => CreateServiceResponse,
1275
+ ];
1276
+ var DeleteNamespace = [
1277
+ 9,
1278
+ n0,
1279
+ _DN,
1280
+ 0,
1281
+ () => DeleteNamespaceRequest,
1282
+ () => DeleteNamespaceResponse,
1283
+ ];
1284
+ var DeleteService = [
1285
+ 9,
1286
+ n0,
1287
+ _DS,
1288
+ 0,
1289
+ () => DeleteServiceRequest,
1290
+ () => DeleteServiceResponse,
1291
+ ];
1292
+ var DeleteServiceAttributes = [
1293
+ 9,
1294
+ n0,
1295
+ _DSA,
1296
+ 0,
1297
+ () => DeleteServiceAttributesRequest,
1298
+ () => DeleteServiceAttributesResponse,
1299
+ ];
1300
+ var DeregisterInstance = [
1301
+ 9,
1302
+ n0,
1303
+ _DI,
1304
+ 0,
1305
+ () => DeregisterInstanceRequest,
1306
+ () => DeregisterInstanceResponse,
1307
+ ];
1308
+ var DiscoverInstances = [
1309
+ 9,
1310
+ n0,
1311
+ _DIi,
1312
+ {
1313
+ [_en]: ["data-"],
1314
+ },
1315
+ () => DiscoverInstancesRequest,
1316
+ () => DiscoverInstancesResponse,
1317
+ ];
1318
+ var DiscoverInstancesRevision = [
1319
+ 9,
1320
+ n0,
1321
+ _DIRisc,
1322
+ {
1323
+ [_en]: ["data-"],
1324
+ },
1325
+ () => DiscoverInstancesRevisionRequest,
1326
+ () => DiscoverInstancesRevisionResponse,
1327
+ ];
1328
+ var GetInstance = [9, n0, _GI, 0, () => GetInstanceRequest, () => GetInstanceResponse];
1329
+ var GetInstancesHealthStatus = [
1330
+ 9,
1331
+ n0,
1332
+ _GIHS,
1333
+ 0,
1334
+ () => GetInstancesHealthStatusRequest,
1335
+ () => GetInstancesHealthStatusResponse,
1336
+ ];
1337
+ var GetNamespace = [9, n0, _GN, 0, () => GetNamespaceRequest, () => GetNamespaceResponse];
1338
+ var GetOperation = [9, n0, _GO, 0, () => GetOperationRequest, () => GetOperationResponse];
1339
+ var GetService = [9, n0, _GS, 0, () => GetServiceRequest, () => GetServiceResponse];
1340
+ var GetServiceAttributes = [
1341
+ 9,
1342
+ n0,
1343
+ _GSA,
1344
+ 0,
1345
+ () => GetServiceAttributesRequest,
1346
+ () => GetServiceAttributesResponse,
1347
+ ];
1348
+ var ListInstances = [
1349
+ 9,
1350
+ n0,
1351
+ _LI,
1352
+ 0,
1353
+ () => ListInstancesRequest,
1354
+ () => ListInstancesResponse,
1355
+ ];
1356
+ var ListNamespaces = [
1357
+ 9,
1358
+ n0,
1359
+ _LN,
1360
+ 0,
1361
+ () => ListNamespacesRequest,
1362
+ () => ListNamespacesResponse,
1363
+ ];
1364
+ var ListOperations = [
1365
+ 9,
1366
+ n0,
1367
+ _LO,
1368
+ 0,
1369
+ () => ListOperationsRequest,
1370
+ () => ListOperationsResponse,
1371
+ ];
1372
+ var ListServices = [9, n0, _LS, 0, () => ListServicesRequest, () => ListServicesResponse];
1373
+ var ListTagsForResource = [
1374
+ 9,
1375
+ n0,
1376
+ _LTFR,
1377
+ 0,
1378
+ () => ListTagsForResourceRequest,
1379
+ () => ListTagsForResourceResponse,
1380
+ ];
1381
+ var RegisterInstance = [
1382
+ 9,
1383
+ n0,
1384
+ _RI,
1385
+ 0,
1386
+ () => RegisterInstanceRequest,
1387
+ () => RegisterInstanceResponse,
1388
+ ];
1389
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1390
+ var UntagResource = [
1391
+ 9,
1392
+ n0,
1393
+ _UR,
1394
+ 0,
1395
+ () => UntagResourceRequest,
1396
+ () => UntagResourceResponse,
1397
+ ];
1398
+ var UpdateHttpNamespace = [
1399
+ 9,
1400
+ n0,
1401
+ _UHN,
1402
+ 0,
1403
+ () => UpdateHttpNamespaceRequest,
1404
+ () => UpdateHttpNamespaceResponse,
1405
+ ];
1406
+ var UpdateInstanceCustomHealthStatus = [
1407
+ 9,
1408
+ n0,
1409
+ _UICHS,
1410
+ 0,
1411
+ () => UpdateInstanceCustomHealthStatusRequest,
1412
+ () => __Unit,
1413
+ ];
1414
+ var UpdatePrivateDnsNamespace = [
1415
+ 9,
1416
+ n0,
1417
+ _UPDN,
1418
+ 0,
1419
+ () => UpdatePrivateDnsNamespaceRequest,
1420
+ () => UpdatePrivateDnsNamespaceResponse,
1421
+ ];
1422
+ var UpdatePublicDnsNamespace = [
1423
+ 9,
1424
+ n0,
1425
+ _UPDNp,
1426
+ 0,
1427
+ () => UpdatePublicDnsNamespaceRequest,
1428
+ () => UpdatePublicDnsNamespaceResponse,
1429
+ ];
1430
+ var UpdateService = [
1431
+ 9,
1432
+ n0,
1433
+ _US,
1434
+ 0,
1435
+ () => UpdateServiceRequest,
1436
+ () => UpdateServiceResponse,
1437
+ ];
1438
+ var UpdateServiceAttributes = [
1439
+ 9,
1440
+ n0,
1441
+ _USA,
1442
+ 0,
1443
+ () => UpdateServiceAttributesRequest,
1444
+ () => UpdateServiceAttributesResponse,
1445
+ ];
1430
1446
 
1431
1447
  class CreateHttpNamespaceCommand extends smithyClient.Command
1432
1448
  .classBuilder()
1433
1449
  .ep(commonParams)
1434
1450
  .m(function (Command, cs, config, o) {
1435
- return [
1436
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1437
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1438
- ];
1451
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
1452
  })
1440
1453
  .s("Route53AutoNaming_v20170314", "CreateHttpNamespace", {})
1441
1454
  .n("ServiceDiscoveryClient", "CreateHttpNamespaceCommand")
1442
- .f(void 0, void 0)
1443
- .ser(se_CreateHttpNamespaceCommand)
1444
- .de(de_CreateHttpNamespaceCommand)
1455
+ .sc(CreateHttpNamespace)
1445
1456
  .build() {
1446
1457
  }
1447
1458
 
@@ -1449,16 +1460,11 @@ class CreatePrivateDnsNamespaceCommand extends smithyClient.Command
1449
1460
  .classBuilder()
1450
1461
  .ep(commonParams)
1451
1462
  .m(function (Command, cs, config, o) {
1452
- return [
1453
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1454
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1455
- ];
1463
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1456
1464
  })
1457
1465
  .s("Route53AutoNaming_v20170314", "CreatePrivateDnsNamespace", {})
1458
1466
  .n("ServiceDiscoveryClient", "CreatePrivateDnsNamespaceCommand")
1459
- .f(void 0, void 0)
1460
- .ser(se_CreatePrivateDnsNamespaceCommand)
1461
- .de(de_CreatePrivateDnsNamespaceCommand)
1467
+ .sc(CreatePrivateDnsNamespace)
1462
1468
  .build() {
1463
1469
  }
1464
1470
 
@@ -1466,16 +1472,11 @@ class CreatePublicDnsNamespaceCommand extends smithyClient.Command
1466
1472
  .classBuilder()
1467
1473
  .ep(commonParams)
1468
1474
  .m(function (Command, cs, config, o) {
1469
- return [
1470
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1471
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1472
- ];
1475
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
1476
  })
1474
1477
  .s("Route53AutoNaming_v20170314", "CreatePublicDnsNamespace", {})
1475
1478
  .n("ServiceDiscoveryClient", "CreatePublicDnsNamespaceCommand")
1476
- .f(void 0, void 0)
1477
- .ser(se_CreatePublicDnsNamespaceCommand)
1478
- .de(de_CreatePublicDnsNamespaceCommand)
1479
+ .sc(CreatePublicDnsNamespace)
1479
1480
  .build() {
1480
1481
  }
1481
1482
 
@@ -1483,16 +1484,11 @@ class CreateServiceCommand extends smithyClient.Command
1483
1484
  .classBuilder()
1484
1485
  .ep(commonParams)
1485
1486
  .m(function (Command, cs, config, o) {
1486
- return [
1487
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1488
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1489
- ];
1487
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1490
1488
  })
1491
1489
  .s("Route53AutoNaming_v20170314", "CreateService", {})
1492
1490
  .n("ServiceDiscoveryClient", "CreateServiceCommand")
1493
- .f(void 0, void 0)
1494
- .ser(se_CreateServiceCommand)
1495
- .de(de_CreateServiceCommand)
1491
+ .sc(CreateService)
1496
1492
  .build() {
1497
1493
  }
1498
1494
 
@@ -1500,16 +1496,11 @@ class DeleteNamespaceCommand extends smithyClient.Command
1500
1496
  .classBuilder()
1501
1497
  .ep(commonParams)
1502
1498
  .m(function (Command, cs, config, o) {
1503
- return [
1504
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1505
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1506
- ];
1499
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1507
1500
  })
1508
1501
  .s("Route53AutoNaming_v20170314", "DeleteNamespace", {})
1509
1502
  .n("ServiceDiscoveryClient", "DeleteNamespaceCommand")
1510
- .f(void 0, void 0)
1511
- .ser(se_DeleteNamespaceCommand)
1512
- .de(de_DeleteNamespaceCommand)
1503
+ .sc(DeleteNamespace)
1513
1504
  .build() {
1514
1505
  }
1515
1506
 
@@ -1517,16 +1508,11 @@ class DeleteServiceAttributesCommand extends smithyClient.Command
1517
1508
  .classBuilder()
1518
1509
  .ep(commonParams)
1519
1510
  .m(function (Command, cs, config, o) {
1520
- return [
1521
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1522
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1523
- ];
1511
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1524
1512
  })
1525
1513
  .s("Route53AutoNaming_v20170314", "DeleteServiceAttributes", {})
1526
1514
  .n("ServiceDiscoveryClient", "DeleteServiceAttributesCommand")
1527
- .f(void 0, void 0)
1528
- .ser(se_DeleteServiceAttributesCommand)
1529
- .de(de_DeleteServiceAttributesCommand)
1515
+ .sc(DeleteServiceAttributes)
1530
1516
  .build() {
1531
1517
  }
1532
1518
 
@@ -1534,16 +1520,11 @@ class DeleteServiceCommand extends smithyClient.Command
1534
1520
  .classBuilder()
1535
1521
  .ep(commonParams)
1536
1522
  .m(function (Command, cs, config, o) {
1537
- return [
1538
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1539
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1540
- ];
1523
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1541
1524
  })
1542
1525
  .s("Route53AutoNaming_v20170314", "DeleteService", {})
1543
1526
  .n("ServiceDiscoveryClient", "DeleteServiceCommand")
1544
- .f(void 0, void 0)
1545
- .ser(se_DeleteServiceCommand)
1546
- .de(de_DeleteServiceCommand)
1527
+ .sc(DeleteService)
1547
1528
  .build() {
1548
1529
  }
1549
1530
 
@@ -1551,16 +1532,11 @@ class DeregisterInstanceCommand extends smithyClient.Command
1551
1532
  .classBuilder()
1552
1533
  .ep(commonParams)
1553
1534
  .m(function (Command, cs, config, o) {
1554
- return [
1555
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1556
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1557
- ];
1535
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
1536
  })
1559
1537
  .s("Route53AutoNaming_v20170314", "DeregisterInstance", {})
1560
1538
  .n("ServiceDiscoveryClient", "DeregisterInstanceCommand")
1561
- .f(void 0, void 0)
1562
- .ser(se_DeregisterInstanceCommand)
1563
- .de(de_DeregisterInstanceCommand)
1539
+ .sc(DeregisterInstance)
1564
1540
  .build() {
1565
1541
  }
1566
1542
 
@@ -1568,16 +1544,11 @@ class DiscoverInstancesCommand extends smithyClient.Command
1568
1544
  .classBuilder()
1569
1545
  .ep(commonParams)
1570
1546
  .m(function (Command, cs, config, o) {
1571
- return [
1572
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1573
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1574
- ];
1547
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1575
1548
  })
1576
1549
  .s("Route53AutoNaming_v20170314", "DiscoverInstances", {})
1577
1550
  .n("ServiceDiscoveryClient", "DiscoverInstancesCommand")
1578
- .f(void 0, void 0)
1579
- .ser(se_DiscoverInstancesCommand)
1580
- .de(de_DiscoverInstancesCommand)
1551
+ .sc(DiscoverInstances)
1581
1552
  .build() {
1582
1553
  }
1583
1554
 
@@ -1585,16 +1556,11 @@ class DiscoverInstancesRevisionCommand extends smithyClient.Command
1585
1556
  .classBuilder()
1586
1557
  .ep(commonParams)
1587
1558
  .m(function (Command, cs, config, o) {
1588
- return [
1589
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1590
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1591
- ];
1559
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1592
1560
  })
1593
1561
  .s("Route53AutoNaming_v20170314", "DiscoverInstancesRevision", {})
1594
1562
  .n("ServiceDiscoveryClient", "DiscoverInstancesRevisionCommand")
1595
- .f(void 0, void 0)
1596
- .ser(se_DiscoverInstancesRevisionCommand)
1597
- .de(de_DiscoverInstancesRevisionCommand)
1563
+ .sc(DiscoverInstancesRevision)
1598
1564
  .build() {
1599
1565
  }
1600
1566
 
@@ -1602,16 +1568,11 @@ class GetInstanceCommand extends smithyClient.Command
1602
1568
  .classBuilder()
1603
1569
  .ep(commonParams)
1604
1570
  .m(function (Command, cs, config, o) {
1605
- return [
1606
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1607
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1608
- ];
1571
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1609
1572
  })
1610
1573
  .s("Route53AutoNaming_v20170314", "GetInstance", {})
1611
1574
  .n("ServiceDiscoveryClient", "GetInstanceCommand")
1612
- .f(void 0, void 0)
1613
- .ser(se_GetInstanceCommand)
1614
- .de(de_GetInstanceCommand)
1575
+ .sc(GetInstance)
1615
1576
  .build() {
1616
1577
  }
1617
1578
 
@@ -1619,16 +1580,11 @@ class GetInstancesHealthStatusCommand extends smithyClient.Command
1619
1580
  .classBuilder()
1620
1581
  .ep(commonParams)
1621
1582
  .m(function (Command, cs, config, o) {
1622
- return [
1623
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1624
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1625
- ];
1583
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1626
1584
  })
1627
1585
  .s("Route53AutoNaming_v20170314", "GetInstancesHealthStatus", {})
1628
1586
  .n("ServiceDiscoveryClient", "GetInstancesHealthStatusCommand")
1629
- .f(void 0, void 0)
1630
- .ser(se_GetInstancesHealthStatusCommand)
1631
- .de(de_GetInstancesHealthStatusCommand)
1587
+ .sc(GetInstancesHealthStatus)
1632
1588
  .build() {
1633
1589
  }
1634
1590
 
@@ -1636,16 +1592,11 @@ class GetNamespaceCommand extends smithyClient.Command
1636
1592
  .classBuilder()
1637
1593
  .ep(commonParams)
1638
1594
  .m(function (Command, cs, config, o) {
1639
- return [
1640
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1641
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1642
- ];
1595
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1643
1596
  })
1644
1597
  .s("Route53AutoNaming_v20170314", "GetNamespace", {})
1645
1598
  .n("ServiceDiscoveryClient", "GetNamespaceCommand")
1646
- .f(void 0, void 0)
1647
- .ser(se_GetNamespaceCommand)
1648
- .de(de_GetNamespaceCommand)
1599
+ .sc(GetNamespace)
1649
1600
  .build() {
1650
1601
  }
1651
1602
 
@@ -1653,16 +1604,11 @@ class GetOperationCommand extends smithyClient.Command
1653
1604
  .classBuilder()
1654
1605
  .ep(commonParams)
1655
1606
  .m(function (Command, cs, config, o) {
1656
- return [
1657
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1658
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1659
- ];
1607
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1660
1608
  })
1661
1609
  .s("Route53AutoNaming_v20170314", "GetOperation", {})
1662
1610
  .n("ServiceDiscoveryClient", "GetOperationCommand")
1663
- .f(void 0, void 0)
1664
- .ser(se_GetOperationCommand)
1665
- .de(de_GetOperationCommand)
1611
+ .sc(GetOperation)
1666
1612
  .build() {
1667
1613
  }
1668
1614
 
@@ -1670,16 +1616,11 @@ class GetServiceAttributesCommand extends smithyClient.Command
1670
1616
  .classBuilder()
1671
1617
  .ep(commonParams)
1672
1618
  .m(function (Command, cs, config, o) {
1673
- return [
1674
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1675
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1676
- ];
1619
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
1620
  })
1678
1621
  .s("Route53AutoNaming_v20170314", "GetServiceAttributes", {})
1679
1622
  .n("ServiceDiscoveryClient", "GetServiceAttributesCommand")
1680
- .f(void 0, void 0)
1681
- .ser(se_GetServiceAttributesCommand)
1682
- .de(de_GetServiceAttributesCommand)
1623
+ .sc(GetServiceAttributes)
1683
1624
  .build() {
1684
1625
  }
1685
1626
 
@@ -1687,16 +1628,11 @@ class GetServiceCommand extends smithyClient.Command
1687
1628
  .classBuilder()
1688
1629
  .ep(commonParams)
1689
1630
  .m(function (Command, cs, config, o) {
1690
- return [
1691
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1692
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1693
- ];
1631
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1694
1632
  })
1695
1633
  .s("Route53AutoNaming_v20170314", "GetService", {})
1696
1634
  .n("ServiceDiscoveryClient", "GetServiceCommand")
1697
- .f(void 0, void 0)
1698
- .ser(se_GetServiceCommand)
1699
- .de(de_GetServiceCommand)
1635
+ .sc(GetService)
1700
1636
  .build() {
1701
1637
  }
1702
1638
 
@@ -1704,16 +1640,11 @@ class ListInstancesCommand extends smithyClient.Command
1704
1640
  .classBuilder()
1705
1641
  .ep(commonParams)
1706
1642
  .m(function (Command, cs, config, o) {
1707
- return [
1708
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1709
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1710
- ];
1643
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1711
1644
  })
1712
1645
  .s("Route53AutoNaming_v20170314", "ListInstances", {})
1713
1646
  .n("ServiceDiscoveryClient", "ListInstancesCommand")
1714
- .f(void 0, void 0)
1715
- .ser(se_ListInstancesCommand)
1716
- .de(de_ListInstancesCommand)
1647
+ .sc(ListInstances)
1717
1648
  .build() {
1718
1649
  }
1719
1650
 
@@ -1721,16 +1652,11 @@ class ListNamespacesCommand extends smithyClient.Command
1721
1652
  .classBuilder()
1722
1653
  .ep(commonParams)
1723
1654
  .m(function (Command, cs, config, o) {
1724
- return [
1725
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1726
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1727
- ];
1655
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1728
1656
  })
1729
1657
  .s("Route53AutoNaming_v20170314", "ListNamespaces", {})
1730
1658
  .n("ServiceDiscoveryClient", "ListNamespacesCommand")
1731
- .f(void 0, void 0)
1732
- .ser(se_ListNamespacesCommand)
1733
- .de(de_ListNamespacesCommand)
1659
+ .sc(ListNamespaces)
1734
1660
  .build() {
1735
1661
  }
1736
1662
 
@@ -1738,16 +1664,11 @@ class ListOperationsCommand extends smithyClient.Command
1738
1664
  .classBuilder()
1739
1665
  .ep(commonParams)
1740
1666
  .m(function (Command, cs, config, o) {
1741
- return [
1742
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1743
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1744
- ];
1667
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1745
1668
  })
1746
1669
  .s("Route53AutoNaming_v20170314", "ListOperations", {})
1747
1670
  .n("ServiceDiscoveryClient", "ListOperationsCommand")
1748
- .f(void 0, void 0)
1749
- .ser(se_ListOperationsCommand)
1750
- .de(de_ListOperationsCommand)
1671
+ .sc(ListOperations)
1751
1672
  .build() {
1752
1673
  }
1753
1674
 
@@ -1755,16 +1676,11 @@ class ListServicesCommand extends smithyClient.Command
1755
1676
  .classBuilder()
1756
1677
  .ep(commonParams)
1757
1678
  .m(function (Command, cs, config, o) {
1758
- return [
1759
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1760
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1761
- ];
1679
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1762
1680
  })
1763
1681
  .s("Route53AutoNaming_v20170314", "ListServices", {})
1764
1682
  .n("ServiceDiscoveryClient", "ListServicesCommand")
1765
- .f(void 0, void 0)
1766
- .ser(se_ListServicesCommand)
1767
- .de(de_ListServicesCommand)
1683
+ .sc(ListServices)
1768
1684
  .build() {
1769
1685
  }
1770
1686
 
@@ -1772,16 +1688,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1772
1688
  .classBuilder()
1773
1689
  .ep(commonParams)
1774
1690
  .m(function (Command, cs, config, o) {
1775
- return [
1776
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1777
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1778
- ];
1691
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1779
1692
  })
1780
1693
  .s("Route53AutoNaming_v20170314", "ListTagsForResource", {})
1781
1694
  .n("ServiceDiscoveryClient", "ListTagsForResourceCommand")
1782
- .f(void 0, void 0)
1783
- .ser(se_ListTagsForResourceCommand)
1784
- .de(de_ListTagsForResourceCommand)
1695
+ .sc(ListTagsForResource)
1785
1696
  .build() {
1786
1697
  }
1787
1698
 
@@ -1789,16 +1700,11 @@ class RegisterInstanceCommand extends smithyClient.Command
1789
1700
  .classBuilder()
1790
1701
  .ep(commonParams)
1791
1702
  .m(function (Command, cs, config, o) {
1792
- return [
1793
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1794
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1795
- ];
1703
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1796
1704
  })
1797
1705
  .s("Route53AutoNaming_v20170314", "RegisterInstance", {})
1798
1706
  .n("ServiceDiscoveryClient", "RegisterInstanceCommand")
1799
- .f(void 0, void 0)
1800
- .ser(se_RegisterInstanceCommand)
1801
- .de(de_RegisterInstanceCommand)
1707
+ .sc(RegisterInstance)
1802
1708
  .build() {
1803
1709
  }
1804
1710
 
@@ -1806,16 +1712,11 @@ class TagResourceCommand extends smithyClient.Command
1806
1712
  .classBuilder()
1807
1713
  .ep(commonParams)
1808
1714
  .m(function (Command, cs, config, o) {
1809
- return [
1810
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1811
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1812
- ];
1715
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1813
1716
  })
1814
1717
  .s("Route53AutoNaming_v20170314", "TagResource", {})
1815
1718
  .n("ServiceDiscoveryClient", "TagResourceCommand")
1816
- .f(void 0, void 0)
1817
- .ser(se_TagResourceCommand)
1818
- .de(de_TagResourceCommand)
1719
+ .sc(TagResource)
1819
1720
  .build() {
1820
1721
  }
1821
1722
 
@@ -1823,16 +1724,11 @@ class UntagResourceCommand extends smithyClient.Command
1823
1724
  .classBuilder()
1824
1725
  .ep(commonParams)
1825
1726
  .m(function (Command, cs, config, o) {
1826
- return [
1827
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1828
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1829
- ];
1727
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1830
1728
  })
1831
1729
  .s("Route53AutoNaming_v20170314", "UntagResource", {})
1832
1730
  .n("ServiceDiscoveryClient", "UntagResourceCommand")
1833
- .f(void 0, void 0)
1834
- .ser(se_UntagResourceCommand)
1835
- .de(de_UntagResourceCommand)
1731
+ .sc(UntagResource)
1836
1732
  .build() {
1837
1733
  }
1838
1734
 
@@ -1840,16 +1736,11 @@ class UpdateHttpNamespaceCommand extends smithyClient.Command
1840
1736
  .classBuilder()
1841
1737
  .ep(commonParams)
1842
1738
  .m(function (Command, cs, config, o) {
1843
- return [
1844
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1845
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1846
- ];
1739
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1847
1740
  })
1848
1741
  .s("Route53AutoNaming_v20170314", "UpdateHttpNamespace", {})
1849
1742
  .n("ServiceDiscoveryClient", "UpdateHttpNamespaceCommand")
1850
- .f(void 0, void 0)
1851
- .ser(se_UpdateHttpNamespaceCommand)
1852
- .de(de_UpdateHttpNamespaceCommand)
1743
+ .sc(UpdateHttpNamespace)
1853
1744
  .build() {
1854
1745
  }
1855
1746
 
@@ -1857,16 +1748,11 @@ class UpdateInstanceCustomHealthStatusCommand extends smithyClient.Command
1857
1748
  .classBuilder()
1858
1749
  .ep(commonParams)
1859
1750
  .m(function (Command, cs, config, o) {
1860
- return [
1861
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1862
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1863
- ];
1751
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1864
1752
  })
1865
1753
  .s("Route53AutoNaming_v20170314", "UpdateInstanceCustomHealthStatus", {})
1866
1754
  .n("ServiceDiscoveryClient", "UpdateInstanceCustomHealthStatusCommand")
1867
- .f(void 0, void 0)
1868
- .ser(se_UpdateInstanceCustomHealthStatusCommand)
1869
- .de(de_UpdateInstanceCustomHealthStatusCommand)
1755
+ .sc(UpdateInstanceCustomHealthStatus)
1870
1756
  .build() {
1871
1757
  }
1872
1758
 
@@ -1874,16 +1760,11 @@ class UpdatePrivateDnsNamespaceCommand extends smithyClient.Command
1874
1760
  .classBuilder()
1875
1761
  .ep(commonParams)
1876
1762
  .m(function (Command, cs, config, o) {
1877
- return [
1878
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1879
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1880
- ];
1763
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1881
1764
  })
1882
1765
  .s("Route53AutoNaming_v20170314", "UpdatePrivateDnsNamespace", {})
1883
1766
  .n("ServiceDiscoveryClient", "UpdatePrivateDnsNamespaceCommand")
1884
- .f(void 0, void 0)
1885
- .ser(se_UpdatePrivateDnsNamespaceCommand)
1886
- .de(de_UpdatePrivateDnsNamespaceCommand)
1767
+ .sc(UpdatePrivateDnsNamespace)
1887
1768
  .build() {
1888
1769
  }
1889
1770
 
@@ -1891,16 +1772,11 @@ class UpdatePublicDnsNamespaceCommand extends smithyClient.Command
1891
1772
  .classBuilder()
1892
1773
  .ep(commonParams)
1893
1774
  .m(function (Command, cs, config, o) {
1894
- return [
1895
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1896
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1897
- ];
1775
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1898
1776
  })
1899
1777
  .s("Route53AutoNaming_v20170314", "UpdatePublicDnsNamespace", {})
1900
1778
  .n("ServiceDiscoveryClient", "UpdatePublicDnsNamespaceCommand")
1901
- .f(void 0, void 0)
1902
- .ser(se_UpdatePublicDnsNamespaceCommand)
1903
- .de(de_UpdatePublicDnsNamespaceCommand)
1779
+ .sc(UpdatePublicDnsNamespace)
1904
1780
  .build() {
1905
1781
  }
1906
1782
 
@@ -1908,16 +1784,11 @@ class UpdateServiceAttributesCommand extends smithyClient.Command
1908
1784
  .classBuilder()
1909
1785
  .ep(commonParams)
1910
1786
  .m(function (Command, cs, config, o) {
1911
- return [
1912
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1913
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1914
- ];
1787
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1915
1788
  })
1916
1789
  .s("Route53AutoNaming_v20170314", "UpdateServiceAttributes", {})
1917
1790
  .n("ServiceDiscoveryClient", "UpdateServiceAttributesCommand")
1918
- .f(void 0, void 0)
1919
- .ser(se_UpdateServiceAttributesCommand)
1920
- .de(de_UpdateServiceAttributesCommand)
1791
+ .sc(UpdateServiceAttributes)
1921
1792
  .build() {
1922
1793
  }
1923
1794
 
@@ -1925,16 +1796,11 @@ class UpdateServiceCommand extends smithyClient.Command
1925
1796
  .classBuilder()
1926
1797
  .ep(commonParams)
1927
1798
  .m(function (Command, cs, config, o) {
1928
- return [
1929
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1930
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1931
- ];
1799
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1932
1800
  })
1933
1801
  .s("Route53AutoNaming_v20170314", "UpdateService", {})
1934
1802
  .n("ServiceDiscoveryClient", "UpdateServiceCommand")
1935
- .f(void 0, void 0)
1936
- .ser(se_UpdateServiceCommand)
1937
- .de(de_UpdateServiceCommand)
1803
+ .sc(UpdateService)
1938
1804
  .build() {
1939
1805
  }
1940
1806
 
@@ -1996,7 +1862,7 @@ exports.CreateHttpNamespaceCommand = CreateHttpNamespaceCommand;
1996
1862
  exports.CreatePrivateDnsNamespaceCommand = CreatePrivateDnsNamespaceCommand;
1997
1863
  exports.CreatePublicDnsNamespaceCommand = CreatePublicDnsNamespaceCommand;
1998
1864
  exports.CreateServiceCommand = CreateServiceCommand;
1999
- exports.CustomHealthNotFound = CustomHealthNotFound;
1865
+ exports.CustomHealthNotFound = CustomHealthNotFound$1;
2000
1866
  exports.CustomHealthStatus = CustomHealthStatus;
2001
1867
  exports.DeleteNamespaceCommand = DeleteNamespaceCommand;
2002
1868
  exports.DeleteServiceAttributesCommand = DeleteServiceAttributesCommand;
@@ -2004,7 +1870,7 @@ exports.DeleteServiceCommand = DeleteServiceCommand;
2004
1870
  exports.DeregisterInstanceCommand = DeregisterInstanceCommand;
2005
1871
  exports.DiscoverInstancesCommand = DiscoverInstancesCommand;
2006
1872
  exports.DiscoverInstancesRevisionCommand = DiscoverInstancesRevisionCommand;
2007
- exports.DuplicateRequest = DuplicateRequest;
1873
+ exports.DuplicateRequest = DuplicateRequest$1;
2008
1874
  exports.FilterCondition = FilterCondition;
2009
1875
  exports.GetInstanceCommand = GetInstanceCommand;
2010
1876
  exports.GetInstancesHealthStatusCommand = GetInstancesHealthStatusCommand;
@@ -2015,40 +1881,40 @@ exports.GetServiceCommand = GetServiceCommand;
2015
1881
  exports.HealthCheckType = HealthCheckType;
2016
1882
  exports.HealthStatus = HealthStatus;
2017
1883
  exports.HealthStatusFilter = HealthStatusFilter;
2018
- exports.InstanceNotFound = InstanceNotFound;
2019
- exports.InvalidInput = InvalidInput;
1884
+ exports.InstanceNotFound = InstanceNotFound$1;
1885
+ exports.InvalidInput = InvalidInput$1;
2020
1886
  exports.ListInstancesCommand = ListInstancesCommand;
2021
1887
  exports.ListNamespacesCommand = ListNamespacesCommand;
2022
1888
  exports.ListOperationsCommand = ListOperationsCommand;
2023
1889
  exports.ListServicesCommand = ListServicesCommand;
2024
1890
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2025
- exports.NamespaceAlreadyExists = NamespaceAlreadyExists;
1891
+ exports.NamespaceAlreadyExists = NamespaceAlreadyExists$1;
2026
1892
  exports.NamespaceFilterName = NamespaceFilterName;
2027
- exports.NamespaceNotFound = NamespaceNotFound;
1893
+ exports.NamespaceNotFound = NamespaceNotFound$1;
2028
1894
  exports.NamespaceType = NamespaceType;
2029
1895
  exports.OperationFilterName = OperationFilterName;
2030
- exports.OperationNotFound = OperationNotFound;
1896
+ exports.OperationNotFound = OperationNotFound$1;
2031
1897
  exports.OperationStatus = OperationStatus;
2032
1898
  exports.OperationTargetType = OperationTargetType;
2033
1899
  exports.OperationType = OperationType;
2034
1900
  exports.RecordType = RecordType;
2035
1901
  exports.RegisterInstanceCommand = RegisterInstanceCommand;
2036
- exports.RequestLimitExceeded = RequestLimitExceeded;
2037
- exports.ResourceInUse = ResourceInUse;
2038
- exports.ResourceLimitExceeded = ResourceLimitExceeded;
2039
- exports.ResourceNotFoundException = ResourceNotFoundException;
1902
+ exports.RequestLimitExceeded = RequestLimitExceeded$1;
1903
+ exports.ResourceInUse = ResourceInUse$1;
1904
+ exports.ResourceLimitExceeded = ResourceLimitExceeded$1;
1905
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2040
1906
  exports.RoutingPolicy = RoutingPolicy;
2041
- exports.ServiceAlreadyExists = ServiceAlreadyExists;
2042
- exports.ServiceAttributesLimitExceededException = ServiceAttributesLimitExceededException;
1907
+ exports.ServiceAlreadyExists = ServiceAlreadyExists$1;
1908
+ exports.ServiceAttributesLimitExceededException = ServiceAttributesLimitExceededException$1;
2043
1909
  exports.ServiceDiscovery = ServiceDiscovery;
2044
1910
  exports.ServiceDiscoveryClient = ServiceDiscoveryClient;
2045
- exports.ServiceDiscoveryServiceException = ServiceDiscoveryServiceException;
1911
+ exports.ServiceDiscoveryServiceException = ServiceDiscoveryServiceException$1;
2046
1912
  exports.ServiceFilterName = ServiceFilterName;
2047
- exports.ServiceNotFound = ServiceNotFound;
1913
+ exports.ServiceNotFound = ServiceNotFound$1;
2048
1914
  exports.ServiceType = ServiceType;
2049
1915
  exports.ServiceTypeOption = ServiceTypeOption;
2050
1916
  exports.TagResourceCommand = TagResourceCommand;
2051
- exports.TooManyTagsException = TooManyTagsException;
1917
+ exports.TooManyTagsException = TooManyTagsException$1;
2052
1918
  exports.UntagResourceCommand = UntagResourceCommand;
2053
1919
  exports.UpdateHttpNamespaceCommand = UpdateHttpNamespaceCommand;
2054
1920
  exports.UpdateInstanceCustomHealthStatusCommand = UpdateInstanceCustomHealthStatusCommand;