@aws-sdk/client-servicediscovery 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultServiceDiscoveryHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2017-03-14",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.servicediscovery",
30
+ errorTypeRegistries,
29
31
  version: "2017-03-14",
30
32
  serviceTarget: "Route53AutoNaming_v20170314",
31
33
  },
@@ -34,10 +34,10 @@ const _DNR = "DeleteNamespaceRequest";
34
34
  const _DNRe = "DeleteNamespaceResponse";
35
35
  const _DOI = "DuplicateOperationId";
36
36
  const _DP = "DnsProperties";
37
- const _DR = "DnsRecords";
37
+ const _DR = "DuplicateRequest";
38
38
  const _DRL = "DnsRecordList";
39
- const _DRn = "DnsRecord";
40
- const _DRu = "DuplicateRequest";
39
+ const _DRn = "DnsRecords";
40
+ const _DRns = "DnsRecord";
41
41
  const _DS = "DeleteService";
42
42
  const _DSA = "DeleteServiceAttributes";
43
43
  const _DSAR = "DeleteServiceAttributesRequest";
@@ -78,9 +78,9 @@ const _HS = "HealthStatus";
78
78
  const _HZI = "HostedZoneId";
79
79
  const _I = "Id";
80
80
  const _IC = "InstanceCount";
81
- const _II = "InstanceId";
81
+ const _II = "InvalidInput";
82
82
  const _IIL = "InstanceIdList";
83
- const _IIn = "InvalidInput";
83
+ const _IIn = "InstanceId";
84
84
  const _INF = "InstanceNotFound";
85
85
  const _IR = "InstancesRevision";
86
86
  const _IS = "InstanceSummary";
@@ -153,10 +153,10 @@ const _RO = "ResourceOwner";
153
153
  const _RP = "RoutingPolicy";
154
154
  const _RPe = "ResourcePath";
155
155
  const _S = "Service";
156
- const _SA = "ServiceAttributes";
156
+ const _SA = "ServiceArn";
157
157
  const _SAE = "ServiceAlreadyExists";
158
158
  const _SALEE = "ServiceAttributesLimitExceededException";
159
- const _SAe = "ServiceArn";
159
+ const _SAe = "ServiceAttributes";
160
160
  const _SC = "ServiceCount";
161
161
  const _SCe = "ServiceChange";
162
162
  const _SF = "ServiceFilter";
@@ -217,6 +217,104 @@ const n0 = "com.amazonaws.servicediscovery";
217
217
  import { TypeRegistry } from "@smithy/core/schema";
218
218
  import { CustomHealthNotFound, DuplicateRequest, InstanceNotFound, InvalidInput, NamespaceAlreadyExists, NamespaceNotFound, OperationNotFound, RequestLimitExceeded, ResourceInUse, ResourceLimitExceeded, ResourceNotFoundException, ServiceAlreadyExists, ServiceAttributesLimitExceededException, ServiceNotFound, TooManyTagsException, } from "../models/errors";
219
219
  import { ServiceDiscoveryServiceException } from "../models/ServiceDiscoveryServiceException";
220
+ const _s_registry = TypeRegistry.for(_s);
221
+ export var ServiceDiscoveryServiceException$ = [-3, _s, "ServiceDiscoveryServiceException", 0, [], []];
222
+ _s_registry.registerError(ServiceDiscoveryServiceException$, ServiceDiscoveryServiceException);
223
+ const n0_registry = TypeRegistry.for(n0);
224
+ export var CustomHealthNotFound$ = [-3, n0, _CHNF,
225
+ { [_e]: _c, [_hE]: 404 },
226
+ [_M],
227
+ [0]
228
+ ];
229
+ n0_registry.registerError(CustomHealthNotFound$, CustomHealthNotFound);
230
+ export var DuplicateRequest$ = [-3, n0, _DR,
231
+ { [_e]: _c, [_hE]: 409 },
232
+ [_M, _DOI],
233
+ [0, 0]
234
+ ];
235
+ n0_registry.registerError(DuplicateRequest$, DuplicateRequest);
236
+ export var InstanceNotFound$ = [-3, n0, _INF,
237
+ { [_e]: _c, [_hE]: 404 },
238
+ [_M],
239
+ [0]
240
+ ];
241
+ n0_registry.registerError(InstanceNotFound$, InstanceNotFound);
242
+ export var InvalidInput$ = [-3, n0, _II,
243
+ { [_e]: _c, [_hE]: 400 },
244
+ [_M],
245
+ [0]
246
+ ];
247
+ n0_registry.registerError(InvalidInput$, InvalidInput);
248
+ export var NamespaceAlreadyExists$ = [-3, n0, _NAE,
249
+ { [_e]: _c, [_hE]: 400 },
250
+ [_M, _CRI, _NI],
251
+ [0, 0, 0]
252
+ ];
253
+ n0_registry.registerError(NamespaceAlreadyExists$, NamespaceAlreadyExists);
254
+ export var NamespaceNotFound$ = [-3, n0, _NNF,
255
+ { [_e]: _c, [_hE]: 404 },
256
+ [_M],
257
+ [0]
258
+ ];
259
+ n0_registry.registerError(NamespaceNotFound$, NamespaceNotFound);
260
+ export var OperationNotFound$ = [-3, n0, _ONF,
261
+ { [_e]: _c, [_hE]: 404 },
262
+ [_M],
263
+ [0]
264
+ ];
265
+ n0_registry.registerError(OperationNotFound$, OperationNotFound);
266
+ export var RequestLimitExceeded$ = [-3, n0, _RLE,
267
+ { [_e]: _c, [_hE]: 429 },
268
+ [_M],
269
+ [0]
270
+ ];
271
+ n0_registry.registerError(RequestLimitExceeded$, RequestLimitExceeded);
272
+ export var ResourceInUse$ = [-3, n0, _RIU,
273
+ { [_e]: _c, [_hE]: 409 },
274
+ [_M],
275
+ [0]
276
+ ];
277
+ n0_registry.registerError(ResourceInUse$, ResourceInUse);
278
+ export var ResourceLimitExceeded$ = [-3, n0, _RLEe,
279
+ { [_e]: _c, [_hE]: 400 },
280
+ [_M],
281
+ [0]
282
+ ];
283
+ n0_registry.registerError(ResourceLimitExceeded$, ResourceLimitExceeded);
284
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
285
+ { [_e]: _c, [_hE]: 404 },
286
+ [_M],
287
+ [0]
288
+ ];
289
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
290
+ export var ServiceAlreadyExists$ = [-3, n0, _SAE,
291
+ { [_e]: _c, [_hE]: 400 },
292
+ [_M, _CRI, _SI, _SA],
293
+ [0, 0, 0, 0]
294
+ ];
295
+ n0_registry.registerError(ServiceAlreadyExists$, ServiceAlreadyExists);
296
+ export var ServiceAttributesLimitExceededException$ = [-3, n0, _SALEE,
297
+ { [_e]: _c, [_hE]: 400 },
298
+ [_M],
299
+ [0]
300
+ ];
301
+ n0_registry.registerError(ServiceAttributesLimitExceededException$, ServiceAttributesLimitExceededException);
302
+ export var ServiceNotFound$ = [-3, n0, _SNF,
303
+ { [_e]: _c, [_hE]: 404 },
304
+ [_M],
305
+ [0]
306
+ ];
307
+ n0_registry.registerError(ServiceNotFound$, ServiceNotFound);
308
+ export var TooManyTagsException$ = [-3, n0, _TMTE,
309
+ { [_e]: _c, [_hE]: 400 },
310
+ [_M, _RN],
311
+ [0, 0]
312
+ ];
313
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
314
+ export const errorTypeRegistries = [
315
+ _s_registry,
316
+ n0_registry,
317
+ ];
220
318
  export var CreateHttpNamespaceRequest$ = [3, n0, _CHNR,
221
319
  0,
222
320
  [_N, _CRI, _D, _T],
@@ -257,12 +355,6 @@ export var CreateServiceResponse$ = [3, n0, _CSRr,
257
355
  [_S],
258
356
  [() => Service$]
259
357
  ];
260
- export var CustomHealthNotFound$ = [-3, n0, _CHNF,
261
- { [_e]: _c, [_hE]: 404 },
262
- [_M],
263
- [0]
264
- ];
265
- TypeRegistry.for(n0).registerError(CustomHealthNotFound$, CustomHealthNotFound);
266
358
  export var DeleteNamespaceRequest$ = [3, n0, _DNR,
267
359
  0,
268
360
  [_I],
@@ -295,7 +387,7 @@ export var DeleteServiceResponse$ = [3, n0, _DSRe,
295
387
  ];
296
388
  export var DeregisterInstanceRequest$ = [3, n0, _DIR,
297
389
  0,
298
- [_SI, _II],
390
+ [_SI, _IIn],
299
391
  [0, 0], 2
300
392
  ];
301
393
  export var DeregisterInstanceResponse$ = [3, n0, _DIRe,
@@ -325,12 +417,12 @@ export var DiscoverInstancesRevisionResponse$ = [3, n0, _DIRRi,
325
417
  ];
326
418
  export var DnsConfig$ = [3, n0, _DC,
327
419
  0,
328
- [_DR, _NI, _RP],
420
+ [_DRn, _NI, _RP],
329
421
  [() => DnsRecordList, 0, 0], 1
330
422
  ];
331
423
  export var DnsConfigChange$ = [3, n0, _DCC,
332
424
  0,
333
- [_DR],
425
+ [_DRn],
334
426
  [() => DnsRecordList], 1
335
427
  ];
336
428
  export var DnsProperties$ = [3, n0, _DP,
@@ -338,20 +430,14 @@ export var DnsProperties$ = [3, n0, _DP,
338
430
  [_HZI, _SOA],
339
431
  [0, () => SOA$]
340
432
  ];
341
- export var DnsRecord$ = [3, n0, _DRn,
433
+ export var DnsRecord$ = [3, n0, _DRns,
342
434
  0,
343
435
  [_Ty, _TTL],
344
436
  [0, 1], 2
345
437
  ];
346
- export var DuplicateRequest$ = [-3, n0, _DRu,
347
- { [_e]: _c, [_hE]: 409 },
348
- [_M, _DOI],
349
- [0, 0]
350
- ];
351
- TypeRegistry.for(n0).registerError(DuplicateRequest$, DuplicateRequest);
352
438
  export var GetInstanceRequest$ = [3, n0, _GIR,
353
439
  0,
354
- [_SI, _II],
440
+ [_SI, _IIn],
355
441
  [0, 0], 2
356
442
  ];
357
443
  export var GetInstanceResponse$ = [3, n0, _GIRe,
@@ -396,7 +482,7 @@ export var GetServiceAttributesRequest$ = [3, n0, _GSAR,
396
482
  ];
397
483
  export var GetServiceAttributesResponse$ = [3, n0, _GSARe,
398
484
  0,
399
- [_SA],
485
+ [_SAe],
400
486
  [() => ServiceAttributes$]
401
487
  ];
402
488
  export var GetServiceRequest$ = [3, n0, _GSR,
@@ -421,7 +507,7 @@ export var HealthCheckCustomConfig$ = [3, n0, _HCCC,
421
507
  ];
422
508
  export var HttpInstanceSummary$ = [3, n0, _HIS,
423
509
  0,
424
- [_II, _NN, _SN, _HS, _A],
510
+ [_IIn, _NN, _SN, _HS, _A],
425
511
  [0, 0, 0, 0, 128 | 0]
426
512
  ];
427
513
  export var HttpNamespaceChange$ = [3, n0, _HNC,
@@ -439,23 +525,11 @@ export var Instance$ = [3, n0, _Ins,
439
525
  [_I, _CRI, _A, _CBA],
440
526
  [0, 0, 128 | 0, 0], 1
441
527
  ];
442
- export var InstanceNotFound$ = [-3, n0, _INF,
443
- { [_e]: _c, [_hE]: 404 },
444
- [_M],
445
- [0]
446
- ];
447
- TypeRegistry.for(n0).registerError(InstanceNotFound$, InstanceNotFound);
448
528
  export var InstanceSummary$ = [3, n0, _IS,
449
529
  0,
450
530
  [_I, _A, _CBA],
451
531
  [0, 128 | 0, 0]
452
532
  ];
453
- export var InvalidInput$ = [-3, n0, _IIn,
454
- { [_e]: _c, [_hE]: 400 },
455
- [_M],
456
- [0]
457
- ];
458
- TypeRegistry.for(n0).registerError(InvalidInput$, InvalidInput);
459
533
  export var ListInstancesRequest$ = [3, n0, _LIR,
460
534
  0,
461
535
  [_SI, _NT, _MR],
@@ -511,23 +585,11 @@ export var Namespace$ = [3, n0, _Na,
511
585
  [_I, _Ar, _RO, _N, _Ty, _D, _SC, _P, _CD, _CRI],
512
586
  [0, 0, 0, 0, 0, 0, 1, () => NamespaceProperties$, 4, 0]
513
587
  ];
514
- export var NamespaceAlreadyExists$ = [-3, n0, _NAE,
515
- { [_e]: _c, [_hE]: 400 },
516
- [_M, _CRI, _NI],
517
- [0, 0, 0]
518
- ];
519
- TypeRegistry.for(n0).registerError(NamespaceAlreadyExists$, NamespaceAlreadyExists);
520
588
  export var NamespaceFilter$ = [3, n0, _NF,
521
589
  0,
522
590
  [_N, _Va, _C],
523
591
  [0, [() => FilterValues, 0], 0], 2
524
592
  ];
525
- export var NamespaceNotFound$ = [-3, n0, _NNF,
526
- { [_e]: _c, [_hE]: 404 },
527
- [_M],
528
- [0]
529
- ];
530
- TypeRegistry.for(n0).registerError(NamespaceNotFound$, NamespaceNotFound);
531
593
  export var NamespaceProperties$ = [3, n0, _NP,
532
594
  0,
533
595
  [_DP, _HP],
@@ -548,12 +610,6 @@ export var OperationFilter$ = [3, n0, _OF,
548
610
  [_N, _Va, _C],
549
611
  [0, [() => FilterValues, 0], 0], 2
550
612
  ];
551
- export var OperationNotFound$ = [-3, n0, _ONF,
552
- { [_e]: _c, [_hE]: 404 },
553
- [_M],
554
- [0]
555
- ];
556
- TypeRegistry.for(n0).registerError(OperationNotFound$, OperationNotFound);
557
613
  export var OperationSummary$ = [3, n0, _OS,
558
614
  0,
559
615
  [_I, _St],
@@ -611,7 +667,7 @@ export var PublicDnsPropertiesMutableChange$ = [3, n0, _PDPMCu,
611
667
  ];
612
668
  export var RegisterInstanceRequest$ = [3, n0, _RIR,
613
669
  0,
614
- [_SI, _II, _A, _CRI],
670
+ [_SI, _IIn, _A, _CRI],
615
671
  [0, 0, 128 | 0, [0, 4]], 3
616
672
  ];
617
673
  export var RegisterInstanceResponse$ = [3, n0, _RIRe,
@@ -619,52 +675,16 @@ export var RegisterInstanceResponse$ = [3, n0, _RIRe,
619
675
  [_OI],
620
676
  [0]
621
677
  ];
622
- export var RequestLimitExceeded$ = [-3, n0, _RLE,
623
- { [_e]: _c, [_hE]: 429 },
624
- [_M],
625
- [0]
626
- ];
627
- TypeRegistry.for(n0).registerError(RequestLimitExceeded$, RequestLimitExceeded);
628
- export var ResourceInUse$ = [-3, n0, _RIU,
629
- { [_e]: _c, [_hE]: 409 },
630
- [_M],
631
- [0]
632
- ];
633
- TypeRegistry.for(n0).registerError(ResourceInUse$, ResourceInUse);
634
- export var ResourceLimitExceeded$ = [-3, n0, _RLEe,
635
- { [_e]: _c, [_hE]: 400 },
636
- [_M],
637
- [0]
638
- ];
639
- TypeRegistry.for(n0).registerError(ResourceLimitExceeded$, ResourceLimitExceeded);
640
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
641
- { [_e]: _c, [_hE]: 404 },
642
- [_M],
643
- [0]
644
- ];
645
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
646
678
  export var Service$ = [3, n0, _S,
647
679
  0,
648
680
  [_I, _Ar, _RO, _N, _NI, _D, _IC, _DC, _Ty, _HCC, _HCCC, _CD, _CRI, _CBA],
649
681
  [0, 0, 0, 0, 0, 0, 1, () => DnsConfig$, 0, () => HealthCheckConfig$, () => HealthCheckCustomConfig$, 4, 0, 0]
650
682
  ];
651
- export var ServiceAlreadyExists$ = [-3, n0, _SAE,
652
- { [_e]: _c, [_hE]: 400 },
653
- [_M, _CRI, _SI, _SAe],
654
- [0, 0, 0, 0]
655
- ];
656
- TypeRegistry.for(n0).registerError(ServiceAlreadyExists$, ServiceAlreadyExists);
657
- export var ServiceAttributes$ = [3, n0, _SA,
683
+ export var ServiceAttributes$ = [3, n0, _SAe,
658
684
  0,
659
- [_SAe, _RO, _A],
685
+ [_SA, _RO, _A],
660
686
  [0, 0, 128 | 0]
661
687
  ];
662
- export var ServiceAttributesLimitExceededException$ = [-3, n0, _SALEE,
663
- { [_e]: _c, [_hE]: 400 },
664
- [_M],
665
- [0]
666
- ];
667
- TypeRegistry.for(n0).registerError(ServiceAttributesLimitExceededException$, ServiceAttributesLimitExceededException);
668
688
  export var ServiceChange$ = [3, n0, _SCe,
669
689
  0,
670
690
  [_D, _DC, _HCC],
@@ -675,12 +695,6 @@ export var ServiceFilter$ = [3, n0, _SF,
675
695
  [_N, _Va, _C],
676
696
  [0, [() => FilterValues, 0], 0], 2
677
697
  ];
678
- export var ServiceNotFound$ = [-3, n0, _SNF,
679
- { [_e]: _c, [_hE]: 404 },
680
- [_M],
681
- [0]
682
- ];
683
- TypeRegistry.for(n0).registerError(ServiceNotFound$, ServiceNotFound);
684
698
  export var ServiceSummary$ = [3, n0, _SS,
685
699
  0,
686
700
  [_I, _Ar, _RO, _N, _Ty, _D, _IC, _DC, _HCC, _HCCC, _CD, _CBA],
@@ -711,12 +725,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
711
725
  [],
712
726
  []
713
727
  ];
714
- export var TooManyTagsException$ = [-3, n0, _TMTE,
715
- { [_e]: _c, [_hE]: 400 },
716
- [_M, _RN],
717
- [0, 0]
718
- ];
719
- TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
720
728
  export var UntagResourceRequest$ = [3, n0, _URR,
721
729
  0,
722
730
  [_RARN, _TK],
@@ -739,7 +747,7 @@ export var UpdateHttpNamespaceResponse$ = [3, n0, _UHNRp,
739
747
  ];
740
748
  export var UpdateInstanceCustomHealthStatusRequest$ = [3, n0, _UICHSR,
741
749
  0,
742
- [_SI, _II, _St],
750
+ [_SI, _IIn, _St],
743
751
  [0, 0, 0], 3
744
752
  ];
745
753
  export var UpdatePrivateDnsNamespaceRequest$ = [3, n0, _UPDNR,
@@ -783,8 +791,6 @@ export var UpdateServiceResponse$ = [3, n0, _USRp,
783
791
  [0]
784
792
  ];
785
793
  var __Unit = "unit";
786
- export var ServiceDiscoveryServiceException$ = [-3, _s, "ServiceDiscoveryServiceException", 0, [], []];
787
- TypeRegistry.for(_s).registerError(ServiceDiscoveryServiceException$, ServiceDiscoveryServiceException);
788
794
  var DnsRecordList = [1, n0, _DRL,
789
795
  0, () => DnsRecord$
790
796
  ];
@@ -797,7 +803,7 @@ var HttpInstanceSummaryList = [1, n0, _HISL,
797
803
  ];
798
804
  var InstanceIdList = [1, n0, _IIL,
799
805
  0, [0,
800
- { [_xN]: _II }]
806
+ { [_xN]: _IIn }]
801
807
  ];
802
808
  var InstanceSummaryList = [1, n0, _ISL,
803
809
  0, [() => InstanceSummary$,
@@ -1,4 +1,27 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var ServiceDiscoveryServiceException$: StaticErrorSchema;
4
+ export declare var CustomHealthNotFound$: StaticErrorSchema;
5
+ export declare var DuplicateRequest$: StaticErrorSchema;
6
+ export declare var InstanceNotFound$: StaticErrorSchema;
7
+ export declare var InvalidInput$: StaticErrorSchema;
8
+ export declare var NamespaceAlreadyExists$: StaticErrorSchema;
9
+ export declare var NamespaceNotFound$: StaticErrorSchema;
10
+ export declare var OperationNotFound$: StaticErrorSchema;
11
+ export declare var RequestLimitExceeded$: StaticErrorSchema;
12
+ export declare var ResourceInUse$: StaticErrorSchema;
13
+ export declare var ResourceLimitExceeded$: StaticErrorSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var ServiceAlreadyExists$: StaticErrorSchema;
16
+ export declare var ServiceAttributesLimitExceededException$: StaticErrorSchema;
17
+ export declare var ServiceNotFound$: StaticErrorSchema;
18
+ export declare var TooManyTagsException$: StaticErrorSchema;
19
+ /**
20
+ * TypeRegistry instances containing modeled errors.
21
+ * @internal
22
+ *
23
+ */
24
+ export declare const errorTypeRegistries: TypeRegistry[];
2
25
  export declare var CreateHttpNamespaceRequest$: StaticStructureSchema;
3
26
  export declare var CreateHttpNamespaceResponse$: StaticStructureSchema;
4
27
  export declare var CreatePrivateDnsNamespaceRequest$: StaticStructureSchema;
@@ -7,7 +30,6 @@ export declare var CreatePublicDnsNamespaceRequest$: StaticStructureSchema;
7
30
  export declare var CreatePublicDnsNamespaceResponse$: StaticStructureSchema;
8
31
  export declare var CreateServiceRequest$: StaticStructureSchema;
9
32
  export declare var CreateServiceResponse$: StaticStructureSchema;
10
- export declare var CustomHealthNotFound$: StaticErrorSchema;
11
33
  export declare var DeleteNamespaceRequest$: StaticStructureSchema;
12
34
  export declare var DeleteNamespaceResponse$: StaticStructureSchema;
13
35
  export declare var DeleteServiceAttributesRequest$: StaticStructureSchema;
@@ -24,7 +46,6 @@ export declare var DnsConfig$: StaticStructureSchema;
24
46
  export declare var DnsConfigChange$: StaticStructureSchema;
25
47
  export declare var DnsProperties$: StaticStructureSchema;
26
48
  export declare var DnsRecord$: StaticStructureSchema;
27
- export declare var DuplicateRequest$: StaticErrorSchema;
28
49
  export declare var GetInstanceRequest$: StaticStructureSchema;
29
50
  export declare var GetInstanceResponse$: StaticStructureSchema;
30
51
  export declare var GetInstancesHealthStatusRequest$: StaticStructureSchema;
@@ -43,9 +64,7 @@ export declare var HttpInstanceSummary$: StaticStructureSchema;
43
64
  export declare var HttpNamespaceChange$: StaticStructureSchema;
44
65
  export declare var HttpProperties$: StaticStructureSchema;
45
66
  export declare var Instance$: StaticStructureSchema;
46
- export declare var InstanceNotFound$: StaticErrorSchema;
47
67
  export declare var InstanceSummary$: StaticStructureSchema;
48
- export declare var InvalidInput$: StaticErrorSchema;
49
68
  export declare var ListInstancesRequest$: StaticStructureSchema;
50
69
  export declare var ListInstancesResponse$: StaticStructureSchema;
51
70
  export declare var ListNamespacesRequest$: StaticStructureSchema;
@@ -57,14 +76,11 @@ export declare var ListServicesResponse$: StaticStructureSchema;
57
76
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
58
77
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
59
78
  export declare var Namespace$: StaticStructureSchema;
60
- export declare var NamespaceAlreadyExists$: StaticErrorSchema;
61
79
  export declare var NamespaceFilter$: StaticStructureSchema;
62
- export declare var NamespaceNotFound$: StaticErrorSchema;
63
80
  export declare var NamespaceProperties$: StaticStructureSchema;
64
81
  export declare var NamespaceSummary$: StaticStructureSchema;
65
82
  export declare var Operation$: StaticStructureSchema;
66
83
  export declare var OperationFilter$: StaticStructureSchema;
67
- export declare var OperationNotFound$: StaticErrorSchema;
68
84
  export declare var OperationSummary$: StaticStructureSchema;
69
85
  export declare var PrivateDnsNamespaceChange$: StaticStructureSchema;
70
86
  export declare var PrivateDnsNamespaceProperties$: StaticStructureSchema;
@@ -78,24 +94,16 @@ export declare var PublicDnsPropertiesMutable$: StaticStructureSchema;
78
94
  export declare var PublicDnsPropertiesMutableChange$: StaticStructureSchema;
79
95
  export declare var RegisterInstanceRequest$: StaticStructureSchema;
80
96
  export declare var RegisterInstanceResponse$: StaticStructureSchema;
81
- export declare var RequestLimitExceeded$: StaticErrorSchema;
82
- export declare var ResourceInUse$: StaticErrorSchema;
83
- export declare var ResourceLimitExceeded$: StaticErrorSchema;
84
- export declare var ResourceNotFoundException$: StaticErrorSchema;
85
97
  export declare var Service$: StaticStructureSchema;
86
- export declare var ServiceAlreadyExists$: StaticErrorSchema;
87
98
  export declare var ServiceAttributes$: StaticStructureSchema;
88
- export declare var ServiceAttributesLimitExceededException$: StaticErrorSchema;
89
99
  export declare var ServiceChange$: StaticStructureSchema;
90
100
  export declare var ServiceFilter$: StaticStructureSchema;
91
- export declare var ServiceNotFound$: StaticErrorSchema;
92
101
  export declare var ServiceSummary$: StaticStructureSchema;
93
102
  export declare var SOA$: StaticStructureSchema;
94
103
  export declare var SOAChange$: StaticStructureSchema;
95
104
  export declare var Tag$: StaticStructureSchema;
96
105
  export declare var TagResourceRequest$: StaticStructureSchema;
97
106
  export declare var TagResourceResponse$: StaticStructureSchema;
98
- export declare var TooManyTagsException$: StaticErrorSchema;
99
107
  export declare var UntagResourceRequest$: StaticStructureSchema;
100
108
  export declare var UntagResourceResponse$: StaticStructureSchema;
101
109
  export declare var UpdateHttpNamespaceRequest$: StaticStructureSchema;
@@ -109,7 +117,6 @@ export declare var UpdateServiceAttributesRequest$: StaticStructureSchema;
109
117
  export declare var UpdateServiceAttributesResponse$: StaticStructureSchema;
110
118
  export declare var UpdateServiceRequest$: StaticStructureSchema;
111
119
  export declare var UpdateServiceResponse$: StaticStructureSchema;
112
- export declare var ServiceDiscoveryServiceException$: StaticErrorSchema;
113
120
  export declare var CreateHttpNamespace$: StaticOperationSchema;
114
121
  export declare var CreatePrivateDnsNamespace$: StaticOperationSchema;
115
122
  export declare var CreatePublicDnsNamespace$: StaticOperationSchema;
@@ -1,8 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var ServiceDiscoveryServiceException$: StaticErrorSchema;
8
+ export declare var CustomHealthNotFound$: StaticErrorSchema;
9
+ export declare var DuplicateRequest$: StaticErrorSchema;
10
+ export declare var InstanceNotFound$: StaticErrorSchema;
11
+ export declare var InvalidInput$: StaticErrorSchema;
12
+ export declare var NamespaceAlreadyExists$: StaticErrorSchema;
13
+ export declare var NamespaceNotFound$: StaticErrorSchema;
14
+ export declare var OperationNotFound$: StaticErrorSchema;
15
+ export declare var RequestLimitExceeded$: StaticErrorSchema;
16
+ export declare var ResourceInUse$: StaticErrorSchema;
17
+ export declare var ResourceLimitExceeded$: StaticErrorSchema;
18
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
19
+ export declare var ServiceAlreadyExists$: StaticErrorSchema;
20
+ export declare var ServiceAttributesLimitExceededException$: StaticErrorSchema;
21
+ export declare var ServiceNotFound$: StaticErrorSchema;
22
+ export declare var TooManyTagsException$: StaticErrorSchema;
23
+ export declare const errorTypeRegistries: TypeRegistry[];
6
24
  export declare var CreateHttpNamespaceRequest$: StaticStructureSchema;
7
25
  export declare var CreateHttpNamespaceResponse$: StaticStructureSchema;
8
26
  export declare var CreatePrivateDnsNamespaceRequest$: StaticStructureSchema;
@@ -11,7 +29,6 @@ export declare var CreatePublicDnsNamespaceRequest$: StaticStructureSchema;
11
29
  export declare var CreatePublicDnsNamespaceResponse$: StaticStructureSchema;
12
30
  export declare var CreateServiceRequest$: StaticStructureSchema;
13
31
  export declare var CreateServiceResponse$: StaticStructureSchema;
14
- export declare var CustomHealthNotFound$: StaticErrorSchema;
15
32
  export declare var DeleteNamespaceRequest$: StaticStructureSchema;
16
33
  export declare var DeleteNamespaceResponse$: StaticStructureSchema;
17
34
  export declare var DeleteServiceAttributesRequest$: StaticStructureSchema;
@@ -28,7 +45,6 @@ export declare var DnsConfig$: StaticStructureSchema;
28
45
  export declare var DnsConfigChange$: StaticStructureSchema;
29
46
  export declare var DnsProperties$: StaticStructureSchema;
30
47
  export declare var DnsRecord$: StaticStructureSchema;
31
- export declare var DuplicateRequest$: StaticErrorSchema;
32
48
  export declare var GetInstanceRequest$: StaticStructureSchema;
33
49
  export declare var GetInstanceResponse$: StaticStructureSchema;
34
50
  export declare var GetInstancesHealthStatusRequest$: StaticStructureSchema;
@@ -47,9 +63,7 @@ export declare var HttpInstanceSummary$: StaticStructureSchema;
47
63
  export declare var HttpNamespaceChange$: StaticStructureSchema;
48
64
  export declare var HttpProperties$: StaticStructureSchema;
49
65
  export declare var Instance$: StaticStructureSchema;
50
- export declare var InstanceNotFound$: StaticErrorSchema;
51
66
  export declare var InstanceSummary$: StaticStructureSchema;
52
- export declare var InvalidInput$: StaticErrorSchema;
53
67
  export declare var ListInstancesRequest$: StaticStructureSchema;
54
68
  export declare var ListInstancesResponse$: StaticStructureSchema;
55
69
  export declare var ListNamespacesRequest$: StaticStructureSchema;
@@ -61,14 +75,11 @@ export declare var ListServicesResponse$: StaticStructureSchema;
61
75
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
62
76
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
63
77
  export declare var Namespace$: StaticStructureSchema;
64
- export declare var NamespaceAlreadyExists$: StaticErrorSchema;
65
78
  export declare var NamespaceFilter$: StaticStructureSchema;
66
- export declare var NamespaceNotFound$: StaticErrorSchema;
67
79
  export declare var NamespaceProperties$: StaticStructureSchema;
68
80
  export declare var NamespaceSummary$: StaticStructureSchema;
69
81
  export declare var Operation$: StaticStructureSchema;
70
82
  export declare var OperationFilter$: StaticStructureSchema;
71
- export declare var OperationNotFound$: StaticErrorSchema;
72
83
  export declare var OperationSummary$: StaticStructureSchema;
73
84
  export declare var PrivateDnsNamespaceChange$: StaticStructureSchema;
74
85
  export declare var PrivateDnsNamespaceProperties$: StaticStructureSchema;
@@ -82,24 +93,16 @@ export declare var PublicDnsPropertiesMutable$: StaticStructureSchema;
82
93
  export declare var PublicDnsPropertiesMutableChange$: StaticStructureSchema;
83
94
  export declare var RegisterInstanceRequest$: StaticStructureSchema;
84
95
  export declare var RegisterInstanceResponse$: StaticStructureSchema;
85
- export declare var RequestLimitExceeded$: StaticErrorSchema;
86
- export declare var ResourceInUse$: StaticErrorSchema;
87
- export declare var ResourceLimitExceeded$: StaticErrorSchema;
88
- export declare var ResourceNotFoundException$: StaticErrorSchema;
89
96
  export declare var Service$: StaticStructureSchema;
90
- export declare var ServiceAlreadyExists$: StaticErrorSchema;
91
97
  export declare var ServiceAttributes$: StaticStructureSchema;
92
- export declare var ServiceAttributesLimitExceededException$: StaticErrorSchema;
93
98
  export declare var ServiceChange$: StaticStructureSchema;
94
99
  export declare var ServiceFilter$: StaticStructureSchema;
95
- export declare var ServiceNotFound$: StaticErrorSchema;
96
100
  export declare var ServiceSummary$: StaticStructureSchema;
97
101
  export declare var SOA$: StaticStructureSchema;
98
102
  export declare var SOAChange$: StaticStructureSchema;
99
103
  export declare var Tag$: StaticStructureSchema;
100
104
  export declare var TagResourceRequest$: StaticStructureSchema;
101
105
  export declare var TagResourceResponse$: StaticStructureSchema;
102
- export declare var TooManyTagsException$: StaticErrorSchema;
103
106
  export declare var UntagResourceRequest$: StaticStructureSchema;
104
107
  export declare var UntagResourceResponse$: StaticStructureSchema;
105
108
  export declare var UpdateHttpNamespaceRequest$: StaticStructureSchema;
@@ -113,7 +116,6 @@ export declare var UpdateServiceAttributesRequest$: StaticStructureSchema;
113
116
  export declare var UpdateServiceAttributesResponse$: StaticStructureSchema;
114
117
  export declare var UpdateServiceRequest$: StaticStructureSchema;
115
118
  export declare var UpdateServiceResponse$: StaticStructureSchema;
116
- export declare var ServiceDiscoveryServiceException$: StaticErrorSchema;
117
119
  export declare var CreateHttpNamespace$: StaticOperationSchema;
118
120
  export declare var CreatePrivateDnsNamespace$: StaticOperationSchema;
119
121
  export declare var CreatePublicDnsNamespace$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-servicediscovery",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",