@aws-sdk/client-oam 3.986.0 → 3.988.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var OAMServiceException = require('./models/OAMServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,515 +113,6 @@ class OAMClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class OAMServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, OAMServiceException.prototype);
117
- }
118
- }
119
-
120
- class ConflictException extends OAMServiceException {
121
- name = "ConflictException";
122
- $fault = "client";
123
- Message;
124
- amznErrorType;
125
- constructor(opts) {
126
- super({
127
- name: "ConflictException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, ConflictException.prototype);
132
- this.Message = opts.Message;
133
- this.amznErrorType = opts.amznErrorType;
134
- }
135
- }
136
- class InternalServiceFault extends OAMServiceException {
137
- name = "InternalServiceFault";
138
- $fault = "server";
139
- Message;
140
- amznErrorType;
141
- constructor(opts) {
142
- super({
143
- name: "InternalServiceFault",
144
- $fault: "server",
145
- ...opts,
146
- });
147
- Object.setPrototypeOf(this, InternalServiceFault.prototype);
148
- this.Message = opts.Message;
149
- this.amznErrorType = opts.amznErrorType;
150
- }
151
- }
152
- class InvalidParameterException extends OAMServiceException {
153
- name = "InvalidParameterException";
154
- $fault = "client";
155
- amznErrorType;
156
- constructor(opts) {
157
- super({
158
- name: "InvalidParameterException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
163
- this.amznErrorType = opts.amznErrorType;
164
- }
165
- }
166
- class MissingRequiredParameterException extends OAMServiceException {
167
- name = "MissingRequiredParameterException";
168
- $fault = "client";
169
- amznErrorType;
170
- constructor(opts) {
171
- super({
172
- name: "MissingRequiredParameterException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
177
- this.amznErrorType = opts.amznErrorType;
178
- }
179
- }
180
- class ServiceQuotaExceededException extends OAMServiceException {
181
- name = "ServiceQuotaExceededException";
182
- $fault = "client";
183
- Message;
184
- amznErrorType;
185
- constructor(opts) {
186
- super({
187
- name: "ServiceQuotaExceededException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
192
- this.Message = opts.Message;
193
- this.amznErrorType = opts.amznErrorType;
194
- }
195
- }
196
- class ResourceNotFoundException extends OAMServiceException {
197
- name = "ResourceNotFoundException";
198
- $fault = "client";
199
- Message;
200
- amznErrorType;
201
- constructor(opts) {
202
- super({
203
- name: "ResourceNotFoundException",
204
- $fault: "client",
205
- ...opts,
206
- });
207
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
208
- this.Message = opts.Message;
209
- this.amznErrorType = opts.amznErrorType;
210
- }
211
- }
212
- class ValidationException extends OAMServiceException {
213
- name = "ValidationException";
214
- $fault = "client";
215
- Message;
216
- constructor(opts) {
217
- super({
218
- name: "ValidationException",
219
- $fault: "client",
220
- ...opts,
221
- });
222
- Object.setPrototypeOf(this, ValidationException.prototype);
223
- this.Message = opts.Message;
224
- }
225
- }
226
- class TooManyTagsException extends OAMServiceException {
227
- name = "TooManyTagsException";
228
- $fault = "client";
229
- Message;
230
- constructor(opts) {
231
- super({
232
- name: "TooManyTagsException",
233
- $fault: "client",
234
- ...opts,
235
- });
236
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
237
- this.Message = opts.Message;
238
- }
239
- }
240
-
241
- const _A = "Arn";
242
- const _CE = "ConflictException";
243
- const _CL = "CreateLink";
244
- const _CLI = "CreateLinkInput";
245
- const _CLO = "CreateLinkOutput";
246
- const _CS = "CreateSink";
247
- const _CSI = "CreateSinkInput";
248
- const _CSO = "CreateSinkOutput";
249
- const _DL = "DeleteLink";
250
- const _DLI = "DeleteLinkInput";
251
- const _DLO = "DeleteLinkOutput";
252
- const _DS = "DeleteSink";
253
- const _DSI = "DeleteSinkInput";
254
- const _DSO = "DeleteSinkOutput";
255
- const _F = "Filter";
256
- const _GL = "GetLink";
257
- const _GLI = "GetLinkInput";
258
- const _GLO = "GetLinkOutput";
259
- const _GS = "GetSink";
260
- const _GSI = "GetSinkInput";
261
- const _GSO = "GetSinkOutput";
262
- const _GSP = "GetSinkPolicy";
263
- const _GSPI = "GetSinkPolicyInput";
264
- const _GSPO = "GetSinkPolicyOutput";
265
- const _I = "Id";
266
- const _IPE = "InvalidParameterException";
267
- const _ISF = "InternalServiceFault";
268
- const _IT = "IncludeTags";
269
- const _Id = "Identifier";
270
- const _It = "Items";
271
- const _L = "Label";
272
- const _LA = "LinkArn";
273
- const _LAL = "ListAttachedLinks";
274
- const _LALI = "ListAttachedLinksInput";
275
- const _LALIi = "ListAttachedLinksItem";
276
- const _LALIis = "ListAttachedLinksItems";
277
- const _LALO = "ListAttachedLinksOutput";
278
- const _LC = "LinkConfiguration";
279
- const _LGC = "LogGroupConfiguration";
280
- const _LL = "ListLinks";
281
- const _LLI = "ListLinksInput";
282
- const _LLIi = "ListLinksItem";
283
- const _LLIis = "ListLinksItems";
284
- const _LLO = "ListLinksOutput";
285
- const _LS = "ListSinks";
286
- const _LSI = "ListSinksInput";
287
- const _LSIi = "ListSinksItem";
288
- const _LSIis = "ListSinksItems";
289
- const _LSO = "ListSinksOutput";
290
- const _LT = "LabelTemplate";
291
- const _LTFR = "ListTagsForResource";
292
- const _LTFRI = "ListTagsForResourceInput";
293
- const _LTFRO = "ListTagsForResourceOutput";
294
- const _M = "Message";
295
- const _MC = "MetricConfiguration";
296
- const _MR = "MaxResults";
297
- const _MRPE = "MissingRequiredParameterException";
298
- const _N = "Name";
299
- const _NT = "NextToken";
300
- const _P = "Policy";
301
- const _PSP = "PutSinkPolicy";
302
- const _PSPI = "PutSinkPolicyInput";
303
- const _PSPO = "PutSinkPolicyOutput";
304
- const _RA = "ResourceArn";
305
- const _RNFE = "ResourceNotFoundException";
306
- const _RT = "ResourceTypes";
307
- const _SA = "SinkArn";
308
- const _SI = "SinkIdentifier";
309
- const _SIi = "SinkId";
310
- const _SQEE = "ServiceQuotaExceededException";
311
- const _T = "Tags";
312
- const _TK = "TagKeys";
313
- const _TMTE = "TooManyTagsException";
314
- const _TR = "TagResource";
315
- const _TRI = "TagResourceInput";
316
- const _TRO = "TagResourceOutput";
317
- const _UL = "UpdateLink";
318
- const _ULI = "UpdateLinkInput";
319
- const _ULO = "UpdateLinkOutput";
320
- const _UR = "UntagResource";
321
- const _URI = "UntagResourceInput";
322
- const _URO = "UntagResourceOutput";
323
- const _VE = "ValidationException";
324
- const _aET = "amznErrorType";
325
- const _c = "client";
326
- const _e = "error";
327
- const _h = "http";
328
- const _hE = "httpError";
329
- const _hH = "httpHeader";
330
- const _hQ = "httpQuery";
331
- const _m = "message";
332
- const _s = "server";
333
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.oam";
334
- const _tK = "tagKeys";
335
- const _xaE = "x-amzn-ErrorType";
336
- const n0 = "com.amazonaws.oam";
337
- var ConflictException$ = [-3, n0, _CE,
338
- { [_e]: _c, [_hE]: 409 },
339
- [_M, _aET],
340
- [0, [0, { [_hH]: _xaE }]]
341
- ];
342
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
343
- var CreateLinkInput$ = [3, n0, _CLI,
344
- 0,
345
- [_LT, _RT, _SI, _T, _LC],
346
- [0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$], 3
347
- ];
348
- var CreateLinkOutput$ = [3, n0, _CLO,
349
- 0,
350
- [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
351
- [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
352
- ];
353
- var CreateSinkInput$ = [3, n0, _CSI,
354
- 0,
355
- [_N, _T],
356
- [0, 128 | 0], 1
357
- ];
358
- var CreateSinkOutput$ = [3, n0, _CSO,
359
- 0,
360
- [_A, _I, _N, _T],
361
- [0, 0, 0, 128 | 0]
362
- ];
363
- var DeleteLinkInput$ = [3, n0, _DLI,
364
- 0,
365
- [_Id],
366
- [0], 1
367
- ];
368
- var DeleteLinkOutput$ = [3, n0, _DLO,
369
- 0,
370
- [],
371
- []
372
- ];
373
- var DeleteSinkInput$ = [3, n0, _DSI,
374
- 0,
375
- [_Id],
376
- [0], 1
377
- ];
378
- var DeleteSinkOutput$ = [3, n0, _DSO,
379
- 0,
380
- [],
381
- []
382
- ];
383
- var GetLinkInput$ = [3, n0, _GLI,
384
- 0,
385
- [_Id, _IT],
386
- [0, 2], 1
387
- ];
388
- var GetLinkOutput$ = [3, n0, _GLO,
389
- 0,
390
- [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
391
- [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
392
- ];
393
- var GetSinkInput$ = [3, n0, _GSI,
394
- 0,
395
- [_Id, _IT],
396
- [0, 2], 1
397
- ];
398
- var GetSinkOutput$ = [3, n0, _GSO,
399
- 0,
400
- [_A, _I, _N, _T],
401
- [0, 0, 0, 128 | 0]
402
- ];
403
- var GetSinkPolicyInput$ = [3, n0, _GSPI,
404
- 0,
405
- [_SI],
406
- [0], 1
407
- ];
408
- var GetSinkPolicyOutput$ = [3, n0, _GSPO,
409
- 0,
410
- [_SA, _SIi, _P],
411
- [0, 0, 0]
412
- ];
413
- var InternalServiceFault$ = [-3, n0, _ISF,
414
- { [_e]: _s, [_hE]: 500 },
415
- [_M, _aET],
416
- [0, [0, { [_hH]: _xaE }]]
417
- ];
418
- schema.TypeRegistry.for(n0).registerError(InternalServiceFault$, InternalServiceFault);
419
- var InvalidParameterException$ = [-3, n0, _IPE,
420
- { [_e]: _c, [_hE]: 400 },
421
- [_m, _aET],
422
- [0, [0, { [_hH]: _xaE }]]
423
- ];
424
- schema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
425
- var LinkConfiguration$ = [3, n0, _LC,
426
- 0,
427
- [_LGC, _MC],
428
- [() => LogGroupConfiguration$, () => MetricConfiguration$]
429
- ];
430
- var ListAttachedLinksInput$ = [3, n0, _LALI,
431
- 0,
432
- [_SI, _MR, _NT],
433
- [0, 1, 0], 1
434
- ];
435
- var ListAttachedLinksItem$ = [3, n0, _LALIi,
436
- 0,
437
- [_L, _LA, _RT],
438
- [0, 0, 64 | 0]
439
- ];
440
- var ListAttachedLinksOutput$ = [3, n0, _LALO,
441
- 0,
442
- [_It, _NT],
443
- [() => ListAttachedLinksItems, 0], 1
444
- ];
445
- var ListLinksInput$ = [3, n0, _LLI,
446
- 0,
447
- [_MR, _NT],
448
- [1, 0]
449
- ];
450
- var ListLinksItem$ = [3, n0, _LLIi,
451
- 0,
452
- [_A, _I, _L, _RT, _SA],
453
- [0, 0, 0, 64 | 0, 0]
454
- ];
455
- var ListLinksOutput$ = [3, n0, _LLO,
456
- 0,
457
- [_It, _NT],
458
- [() => ListLinksItems, 0], 1
459
- ];
460
- var ListSinksInput$ = [3, n0, _LSI,
461
- 0,
462
- [_MR, _NT],
463
- [1, 0]
464
- ];
465
- var ListSinksItem$ = [3, n0, _LSIi,
466
- 0,
467
- [_A, _I, _N],
468
- [0, 0, 0]
469
- ];
470
- var ListSinksOutput$ = [3, n0, _LSO,
471
- 0,
472
- [_It, _NT],
473
- [() => ListSinksItems, 0], 1
474
- ];
475
- var ListTagsForResourceInput$ = [3, n0, _LTFRI,
476
- 0,
477
- [_RA],
478
- [[0, 1]], 1
479
- ];
480
- var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
481
- 0,
482
- [_T],
483
- [128 | 0]
484
- ];
485
- var LogGroupConfiguration$ = [3, n0, _LGC,
486
- 0,
487
- [_F],
488
- [0], 1
489
- ];
490
- var MetricConfiguration$ = [3, n0, _MC,
491
- 0,
492
- [_F],
493
- [0], 1
494
- ];
495
- var MissingRequiredParameterException$ = [-3, n0, _MRPE,
496
- { [_e]: _c, [_hE]: 400 },
497
- [_m, _aET],
498
- [0, [0, { [_hH]: _xaE }]]
499
- ];
500
- schema.TypeRegistry.for(n0).registerError(MissingRequiredParameterException$, MissingRequiredParameterException);
501
- var PutSinkPolicyInput$ = [3, n0, _PSPI,
502
- 0,
503
- [_SI, _P],
504
- [0, 0], 2
505
- ];
506
- var PutSinkPolicyOutput$ = [3, n0, _PSPO,
507
- 0,
508
- [_SA, _SIi, _P],
509
- [0, 0, 0]
510
- ];
511
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
512
- { [_e]: _c, [_hE]: 404 },
513
- [_M, _aET],
514
- [0, [0, { [_hH]: _xaE }]]
515
- ];
516
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
517
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
518
- { [_e]: _c, [_hE]: 429 },
519
- [_M, _aET],
520
- [0, [0, { [_hH]: _xaE }]]
521
- ];
522
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
523
- var TagResourceInput$ = [3, n0, _TRI,
524
- 0,
525
- [_RA, _T],
526
- [[0, 1], 128 | 0], 2
527
- ];
528
- var TagResourceOutput$ = [3, n0, _TRO,
529
- 0,
530
- [],
531
- []
532
- ];
533
- var TooManyTagsException$ = [-3, n0, _TMTE,
534
- { [_e]: _c, [_hE]: 400 },
535
- [_M],
536
- [0]
537
- ];
538
- schema.TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
539
- var UntagResourceInput$ = [3, n0, _URI,
540
- 0,
541
- [_RA, _TK],
542
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
543
- ];
544
- var UntagResourceOutput$ = [3, n0, _URO,
545
- 0,
546
- [],
547
- []
548
- ];
549
- var UpdateLinkInput$ = [3, n0, _ULI,
550
- 0,
551
- [_Id, _RT, _LC, _IT],
552
- [0, 64 | 0, () => LinkConfiguration$, 2], 2
553
- ];
554
- var UpdateLinkOutput$ = [3, n0, _ULO,
555
- 0,
556
- [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
557
- [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
558
- ];
559
- var ValidationException$ = [-3, n0, _VE,
560
- { [_e]: _c, [_hE]: 400 },
561
- [_M],
562
- [0]
563
- ];
564
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
565
- var OAMServiceException$ = [-3, _sm, "OAMServiceException", 0, [], []];
566
- schema.TypeRegistry.for(_sm).registerError(OAMServiceException$, OAMServiceException);
567
- var ListAttachedLinksItems = [1, n0, _LALIis,
568
- 0, () => ListAttachedLinksItem$
569
- ];
570
- var ListLinksItems = [1, n0, _LLIis,
571
- 0, () => ListLinksItem$
572
- ];
573
- var ListSinksItems = [1, n0, _LSIis,
574
- 0, () => ListSinksItem$
575
- ];
576
- var CreateLink$ = [9, n0, _CL,
577
- { [_h]: ["POST", "/CreateLink", 200] }, () => CreateLinkInput$, () => CreateLinkOutput$
578
- ];
579
- var CreateSink$ = [9, n0, _CS,
580
- { [_h]: ["POST", "/CreateSink", 200] }, () => CreateSinkInput$, () => CreateSinkOutput$
581
- ];
582
- var DeleteLink$ = [9, n0, _DL,
583
- { [_h]: ["POST", "/DeleteLink", 200] }, () => DeleteLinkInput$, () => DeleteLinkOutput$
584
- ];
585
- var DeleteSink$ = [9, n0, _DS,
586
- { [_h]: ["POST", "/DeleteSink", 200] }, () => DeleteSinkInput$, () => DeleteSinkOutput$
587
- ];
588
- var GetLink$ = [9, n0, _GL,
589
- { [_h]: ["POST", "/GetLink", 200] }, () => GetLinkInput$, () => GetLinkOutput$
590
- ];
591
- var GetSink$ = [9, n0, _GS,
592
- { [_h]: ["POST", "/GetSink", 200] }, () => GetSinkInput$, () => GetSinkOutput$
593
- ];
594
- var GetSinkPolicy$ = [9, n0, _GSP,
595
- { [_h]: ["POST", "/GetSinkPolicy", 200] }, () => GetSinkPolicyInput$, () => GetSinkPolicyOutput$
596
- ];
597
- var ListAttachedLinks$ = [9, n0, _LAL,
598
- { [_h]: ["POST", "/ListAttachedLinks", 200] }, () => ListAttachedLinksInput$, () => ListAttachedLinksOutput$
599
- ];
600
- var ListLinks$ = [9, n0, _LL,
601
- { [_h]: ["POST", "/ListLinks", 200] }, () => ListLinksInput$, () => ListLinksOutput$
602
- ];
603
- var ListSinks$ = [9, n0, _LS,
604
- { [_h]: ["POST", "/ListSinks", 200] }, () => ListSinksInput$, () => ListSinksOutput$
605
- ];
606
- var ListTagsForResource$ = [9, n0, _LTFR,
607
- { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
608
- ];
609
- var PutSinkPolicy$ = [9, n0, _PSP,
610
- { [_h]: ["POST", "/PutSinkPolicy", 200] }, () => PutSinkPolicyInput$, () => PutSinkPolicyOutput$
611
- ];
612
- var TagResource$ = [9, n0, _TR,
613
- { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
614
- ];
615
- var UntagResource$ = [9, n0, _UR,
616
- { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
617
- ];
618
- var UpdateLink$ = [9, n0, _UL,
619
- { [_h]: ["POST", "/UpdateLink", 200] }, () => UpdateLinkInput$, () => UpdateLinkOutput$
620
- ];
621
-
622
116
  class CreateLinkCommand extends smithyClient.Command
623
117
  .classBuilder()
624
118
  .ep(commonParams)
@@ -627,7 +121,7 @@ class CreateLinkCommand extends smithyClient.Command
627
121
  })
628
122
  .s("oamservice", "CreateLink", {})
629
123
  .n("OAMClient", "CreateLinkCommand")
630
- .sc(CreateLink$)
124
+ .sc(schemas_0.CreateLink$)
631
125
  .build() {
632
126
  }
633
127
 
@@ -639,7 +133,7 @@ class CreateSinkCommand extends smithyClient.Command
639
133
  })
640
134
  .s("oamservice", "CreateSink", {})
641
135
  .n("OAMClient", "CreateSinkCommand")
642
- .sc(CreateSink$)
136
+ .sc(schemas_0.CreateSink$)
643
137
  .build() {
644
138
  }
645
139
 
@@ -651,7 +145,7 @@ class DeleteLinkCommand extends smithyClient.Command
651
145
  })
652
146
  .s("oamservice", "DeleteLink", {})
653
147
  .n("OAMClient", "DeleteLinkCommand")
654
- .sc(DeleteLink$)
148
+ .sc(schemas_0.DeleteLink$)
655
149
  .build() {
656
150
  }
657
151
 
@@ -663,7 +157,7 @@ class DeleteSinkCommand extends smithyClient.Command
663
157
  })
664
158
  .s("oamservice", "DeleteSink", {})
665
159
  .n("OAMClient", "DeleteSinkCommand")
666
- .sc(DeleteSink$)
160
+ .sc(schemas_0.DeleteSink$)
667
161
  .build() {
668
162
  }
669
163
 
@@ -675,7 +169,7 @@ class GetLinkCommand extends smithyClient.Command
675
169
  })
676
170
  .s("oamservice", "GetLink", {})
677
171
  .n("OAMClient", "GetLinkCommand")
678
- .sc(GetLink$)
172
+ .sc(schemas_0.GetLink$)
679
173
  .build() {
680
174
  }
681
175
 
@@ -687,7 +181,7 @@ class GetSinkCommand extends smithyClient.Command
687
181
  })
688
182
  .s("oamservice", "GetSink", {})
689
183
  .n("OAMClient", "GetSinkCommand")
690
- .sc(GetSink$)
184
+ .sc(schemas_0.GetSink$)
691
185
  .build() {
692
186
  }
693
187
 
@@ -699,7 +193,7 @@ class GetSinkPolicyCommand extends smithyClient.Command
699
193
  })
700
194
  .s("oamservice", "GetSinkPolicy", {})
701
195
  .n("OAMClient", "GetSinkPolicyCommand")
702
- .sc(GetSinkPolicy$)
196
+ .sc(schemas_0.GetSinkPolicy$)
703
197
  .build() {
704
198
  }
705
199
 
@@ -711,7 +205,7 @@ class ListAttachedLinksCommand extends smithyClient.Command
711
205
  })
712
206
  .s("oamservice", "ListAttachedLinks", {})
713
207
  .n("OAMClient", "ListAttachedLinksCommand")
714
- .sc(ListAttachedLinks$)
208
+ .sc(schemas_0.ListAttachedLinks$)
715
209
  .build() {
716
210
  }
717
211
 
@@ -723,7 +217,7 @@ class ListLinksCommand extends smithyClient.Command
723
217
  })
724
218
  .s("oamservice", "ListLinks", {})
725
219
  .n("OAMClient", "ListLinksCommand")
726
- .sc(ListLinks$)
220
+ .sc(schemas_0.ListLinks$)
727
221
  .build() {
728
222
  }
729
223
 
@@ -735,7 +229,7 @@ class ListSinksCommand extends smithyClient.Command
735
229
  })
736
230
  .s("oamservice", "ListSinks", {})
737
231
  .n("OAMClient", "ListSinksCommand")
738
- .sc(ListSinks$)
232
+ .sc(schemas_0.ListSinks$)
739
233
  .build() {
740
234
  }
741
235
 
@@ -747,7 +241,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
747
241
  })
748
242
  .s("oamservice", "ListTagsForResource", {})
749
243
  .n("OAMClient", "ListTagsForResourceCommand")
750
- .sc(ListTagsForResource$)
244
+ .sc(schemas_0.ListTagsForResource$)
751
245
  .build() {
752
246
  }
753
247
 
@@ -759,7 +253,7 @@ class PutSinkPolicyCommand extends smithyClient.Command
759
253
  })
760
254
  .s("oamservice", "PutSinkPolicy", {})
761
255
  .n("OAMClient", "PutSinkPolicyCommand")
762
- .sc(PutSinkPolicy$)
256
+ .sc(schemas_0.PutSinkPolicy$)
763
257
  .build() {
764
258
  }
765
259
 
@@ -771,7 +265,7 @@ class TagResourceCommand extends smithyClient.Command
771
265
  })
772
266
  .s("oamservice", "TagResource", {})
773
267
  .n("OAMClient", "TagResourceCommand")
774
- .sc(TagResource$)
268
+ .sc(schemas_0.TagResource$)
775
269
  .build() {
776
270
  }
777
271
 
@@ -783,7 +277,7 @@ class UntagResourceCommand extends smithyClient.Command
783
277
  })
784
278
  .s("oamservice", "UntagResource", {})
785
279
  .n("OAMClient", "UntagResourceCommand")
786
- .sc(UntagResource$)
280
+ .sc(schemas_0.UntagResource$)
787
281
  .build() {
788
282
  }
789
283
 
@@ -795,7 +289,7 @@ class UpdateLinkCommand extends smithyClient.Command
795
289
  })
796
290
  .s("oamservice", "UpdateLink", {})
797
291
  .n("OAMClient", "UpdateLinkCommand")
798
- .sc(UpdateLink$)
292
+ .sc(schemas_0.UpdateLink$)
799
293
  .build() {
800
294
  }
801
295
 
@@ -849,93 +343,40 @@ Object.defineProperty(exports, "__Client", {
849
343
  enumerable: true,
850
344
  get: function () { return smithyClient.Client; }
851
345
  });
852
- exports.ConflictException = ConflictException;
853
- exports.ConflictException$ = ConflictException$;
854
- exports.CreateLink$ = CreateLink$;
346
+ Object.defineProperty(exports, "OAMServiceException", {
347
+ enumerable: true,
348
+ get: function () { return OAMServiceException.OAMServiceException; }
349
+ });
855
350
  exports.CreateLinkCommand = CreateLinkCommand;
856
- exports.CreateLinkInput$ = CreateLinkInput$;
857
- exports.CreateLinkOutput$ = CreateLinkOutput$;
858
- exports.CreateSink$ = CreateSink$;
859
351
  exports.CreateSinkCommand = CreateSinkCommand;
860
- exports.CreateSinkInput$ = CreateSinkInput$;
861
- exports.CreateSinkOutput$ = CreateSinkOutput$;
862
- exports.DeleteLink$ = DeleteLink$;
863
352
  exports.DeleteLinkCommand = DeleteLinkCommand;
864
- exports.DeleteLinkInput$ = DeleteLinkInput$;
865
- exports.DeleteLinkOutput$ = DeleteLinkOutput$;
866
- exports.DeleteSink$ = DeleteSink$;
867
353
  exports.DeleteSinkCommand = DeleteSinkCommand;
868
- exports.DeleteSinkInput$ = DeleteSinkInput$;
869
- exports.DeleteSinkOutput$ = DeleteSinkOutput$;
870
- exports.GetLink$ = GetLink$;
871
354
  exports.GetLinkCommand = GetLinkCommand;
872
- exports.GetLinkInput$ = GetLinkInput$;
873
- exports.GetLinkOutput$ = GetLinkOutput$;
874
- exports.GetSink$ = GetSink$;
875
355
  exports.GetSinkCommand = GetSinkCommand;
876
- exports.GetSinkInput$ = GetSinkInput$;
877
- exports.GetSinkOutput$ = GetSinkOutput$;
878
- exports.GetSinkPolicy$ = GetSinkPolicy$;
879
356
  exports.GetSinkPolicyCommand = GetSinkPolicyCommand;
880
- exports.GetSinkPolicyInput$ = GetSinkPolicyInput$;
881
- exports.GetSinkPolicyOutput$ = GetSinkPolicyOutput$;
882
- exports.InternalServiceFault = InternalServiceFault;
883
- exports.InternalServiceFault$ = InternalServiceFault$;
884
- exports.InvalidParameterException = InvalidParameterException;
885
- exports.InvalidParameterException$ = InvalidParameterException$;
886
- exports.LinkConfiguration$ = LinkConfiguration$;
887
- exports.ListAttachedLinks$ = ListAttachedLinks$;
888
357
  exports.ListAttachedLinksCommand = ListAttachedLinksCommand;
889
- exports.ListAttachedLinksInput$ = ListAttachedLinksInput$;
890
- exports.ListAttachedLinksItem$ = ListAttachedLinksItem$;
891
- exports.ListAttachedLinksOutput$ = ListAttachedLinksOutput$;
892
- exports.ListLinks$ = ListLinks$;
893
358
  exports.ListLinksCommand = ListLinksCommand;
894
- exports.ListLinksInput$ = ListLinksInput$;
895
- exports.ListLinksItem$ = ListLinksItem$;
896
- exports.ListLinksOutput$ = ListLinksOutput$;
897
- exports.ListSinks$ = ListSinks$;
898
359
  exports.ListSinksCommand = ListSinksCommand;
899
- exports.ListSinksInput$ = ListSinksInput$;
900
- exports.ListSinksItem$ = ListSinksItem$;
901
- exports.ListSinksOutput$ = ListSinksOutput$;
902
- exports.ListTagsForResource$ = ListTagsForResource$;
903
360
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
904
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
905
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
906
- exports.LogGroupConfiguration$ = LogGroupConfiguration$;
907
- exports.MetricConfiguration$ = MetricConfiguration$;
908
- exports.MissingRequiredParameterException = MissingRequiredParameterException;
909
- exports.MissingRequiredParameterException$ = MissingRequiredParameterException$;
910
361
  exports.OAM = OAM;
911
362
  exports.OAMClient = OAMClient;
912
- exports.OAMServiceException = OAMServiceException;
913
- exports.OAMServiceException$ = OAMServiceException$;
914
- exports.PutSinkPolicy$ = PutSinkPolicy$;
915
363
  exports.PutSinkPolicyCommand = PutSinkPolicyCommand;
916
- exports.PutSinkPolicyInput$ = PutSinkPolicyInput$;
917
- exports.PutSinkPolicyOutput$ = PutSinkPolicyOutput$;
918
- exports.ResourceNotFoundException = ResourceNotFoundException;
919
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
920
364
  exports.ResourceType = ResourceType;
921
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
922
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
923
- exports.TagResource$ = TagResource$;
924
365
  exports.TagResourceCommand = TagResourceCommand;
925
- exports.TagResourceInput$ = TagResourceInput$;
926
- exports.TagResourceOutput$ = TagResourceOutput$;
927
- exports.TooManyTagsException = TooManyTagsException;
928
- exports.TooManyTagsException$ = TooManyTagsException$;
929
- exports.UntagResource$ = UntagResource$;
930
366
  exports.UntagResourceCommand = UntagResourceCommand;
931
- exports.UntagResourceInput$ = UntagResourceInput$;
932
- exports.UntagResourceOutput$ = UntagResourceOutput$;
933
- exports.UpdateLink$ = UpdateLink$;
934
367
  exports.UpdateLinkCommand = UpdateLinkCommand;
935
- exports.UpdateLinkInput$ = UpdateLinkInput$;
936
- exports.UpdateLinkOutput$ = UpdateLinkOutput$;
937
- exports.ValidationException = ValidationException;
938
- exports.ValidationException$ = ValidationException$;
939
368
  exports.paginateListAttachedLinks = paginateListAttachedLinks;
940
369
  exports.paginateListLinks = paginateListLinks;
941
370
  exports.paginateListSinks = paginateListSinks;
371
+ Object.keys(schemas_0).forEach(function (k) {
372
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
373
+ enumerable: true,
374
+ get: function () { return schemas_0[k]; }
375
+ });
376
+ });
377
+ Object.keys(errors).forEach(function (k) {
378
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
379
+ enumerable: true,
380
+ get: function () { return errors[k]; }
381
+ });
382
+ });