@aws-sdk/client-amp 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 { defaultAmpHttpAuthSchemeProvider } 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: "2020-08-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.amp",
30
+ errorTypeRegistries,
29
31
  version: "2020-08-01",
30
32
  serviceTarget: "AmazonPrometheusService",
31
33
  },
@@ -248,11 +248,11 @@ const _rIe = "revisionId";
248
248
  const _rPID = "retentionPeriodInDays";
249
249
  const _rT = "resourceType";
250
250
  const _ra = "ratio";
251
- const _s = "status";
252
- const _sC = "statusCode";
251
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.amp";
252
+ const _sC = "serviceCode";
253
253
  const _sCc = "scrapeConfiguration";
254
254
  const _sCcr = "scraperComponents";
255
- const _sCe = "serviceCode";
255
+ const _sCt = "statusCode";
256
256
  const _sGI = "securityGroupIds";
257
257
  const _sI = "scraperId";
258
258
  const _sIu = "subnetIds";
@@ -264,8 +264,8 @@ const _sc = "scraper";
264
264
  const _scr = "scrapers";
265
265
  const _se = "server";
266
266
  const _sk = "skip";
267
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.amp";
268
267
  const _so = "source";
268
+ const _st = "status";
269
269
  const _t = "tags";
270
270
  const _tK = "tagKeys";
271
271
  const _tRA = "targetRoleArn";
@@ -280,20 +280,64 @@ const n0 = "com.amazonaws.amp";
280
280
  import { TypeRegistry } from "@smithy/core/schema";
281
281
  import { AmpServiceException } from "../models/AmpServiceException";
282
282
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
283
+ const _s_registry = TypeRegistry.for(_s);
284
+ export var AmpServiceException$ = [-3, _s, "AmpServiceException", 0, [], []];
285
+ _s_registry.registerError(AmpServiceException$, AmpServiceException);
286
+ const n0_registry = TypeRegistry.for(n0);
283
287
  export var AccessDeniedException$ = [-3, n0, _ADE,
284
288
  { [_e]: _c, [_hE]: 403 },
285
289
  [_m],
286
290
  [0], 1
287
291
  ];
288
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
292
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
293
+ export var ConflictException$ = [-3, n0, _CE,
294
+ { [_e]: _c, [_hE]: 409 },
295
+ [_m, _rI, _rT],
296
+ [0, 0, 0], 3
297
+ ];
298
+ n0_registry.registerError(ConflictException$, ConflictException);
299
+ export var InternalServerException$ = [-3, n0, _ISE,
300
+ { [_e]: _se, [_hE]: 500 },
301
+ [_m, _rAS],
302
+ [0, [1, { [_hH]: _RA }]], 1
303
+ ];
304
+ n0_registry.registerError(InternalServerException$, InternalServerException);
305
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
306
+ { [_e]: _c, [_hE]: 404 },
307
+ [_m, _rI, _rT],
308
+ [0, 0, 0], 3
309
+ ];
310
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
311
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
312
+ { [_e]: _c, [_hE]: 402 },
313
+ [_m, _rI, _rT, _sC, _qC],
314
+ [0, 0, 0, 0, 0], 5
315
+ ];
316
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
317
+ export var ThrottlingException$ = [-3, n0, _TE,
318
+ { [_e]: _c, [_hE]: 429 },
319
+ [_m, _sC, _qC, _rAS],
320
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
321
+ ];
322
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
323
+ export var ValidationException$ = [-3, n0, _VE,
324
+ { [_e]: _c, [_hE]: 400 },
325
+ [_m, _r, _fL],
326
+ [0, 0, () => ValidationExceptionFieldList], 2
327
+ ];
328
+ n0_registry.registerError(ValidationException$, ValidationException);
329
+ export const errorTypeRegistries = [
330
+ _s_registry,
331
+ n0_registry,
332
+ ];
289
333
  export var AlertManagerDefinitionDescription$ = [3, n0, _AMDD,
290
334
  0,
291
- [_s, _d, _cA, _mA],
335
+ [_st, _d, _cA, _mA],
292
336
  [() => AlertManagerDefinitionStatus$, 21, 4, 4], 4
293
337
  ];
294
338
  export var AlertManagerDefinitionStatus$ = [3, n0, _AMDS,
295
339
  0,
296
- [_sC, _sR],
340
+ [_sCt, _sR],
297
341
  [0, 0], 1
298
342
  ];
299
343
  export var AmpConfiguration$ = [3, n0, _AC,
@@ -303,17 +347,17 @@ export var AmpConfiguration$ = [3, n0, _AC,
303
347
  ];
304
348
  export var AnomalyDetectorDescription$ = [3, n0, _ADD,
305
349
  0,
306
- [_a, _aDI, _al, _s, _cA, _mA, _eIIS, _mDA, _co, _l, _t],
350
+ [_a, _aDI, _al, _st, _cA, _mA, _eIIS, _mDA, _co, _l, _t],
307
351
  [0, 0, 0, () => AnomalyDetectorStatus$, 4, 4, 1, () => AnomalyDetectorMissingDataAction$, () => AnomalyDetectorConfiguration$, 128 | 0, 128 | 0], 6
308
352
  ];
309
353
  export var AnomalyDetectorStatus$ = [3, n0, _ADS,
310
354
  0,
311
- [_sC, _sR],
355
+ [_sCt, _sR],
312
356
  [0, 0], 1
313
357
  ];
314
358
  export var AnomalyDetectorSummary$ = [3, n0, _ADSn,
315
359
  0,
316
- [_a, _aDI, _al, _s, _cA, _mA, _t],
360
+ [_a, _aDI, _al, _st, _cA, _mA, _t],
317
361
  [0, 0, 0, () => AnomalyDetectorStatus$, 4, 4, 128 | 0], 6
318
362
  ];
319
363
  export var CloudWatchLogDestination$ = [3, n0, _CWLD,
@@ -326,12 +370,6 @@ export var ComponentConfig$ = [3, n0, _CC,
326
370
  [_o],
327
371
  [128 | 0]
328
372
  ];
329
- export var ConflictException$ = [-3, n0, _CE,
330
- { [_e]: _c, [_hE]: 409 },
331
- [_m, _rI, _rT],
332
- [0, 0, 0], 3
333
- ];
334
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
335
373
  export var CreateAlertManagerDefinitionRequest$ = [3, n0, _CAMDR,
336
374
  0,
337
375
  [_wI, _d, _cT],
@@ -339,7 +377,7 @@ export var CreateAlertManagerDefinitionRequest$ = [3, n0, _CAMDR,
339
377
  ];
340
378
  export var CreateAlertManagerDefinitionResponse$ = [3, n0, _CAMDRr,
341
379
  0,
342
- [_s],
380
+ [_st],
343
381
  [() => AlertManagerDefinitionStatus$], 1
344
382
  ];
345
383
  export var CreateAnomalyDetectorRequest$ = [3, n0, _CADR,
@@ -349,7 +387,7 @@ export var CreateAnomalyDetectorRequest$ = [3, n0, _CADR,
349
387
  ];
350
388
  export var CreateAnomalyDetectorResponse$ = [3, n0, _CADRr,
351
389
  0,
352
- [_aDI, _a, _s, _t],
390
+ [_aDI, _a, _st, _t],
353
391
  [0, 0, () => AnomalyDetectorStatus$, 128 | 0], 3
354
392
  ];
355
393
  export var CreateLoggingConfigurationRequest$ = [3, n0, _CLCR,
@@ -359,7 +397,7 @@ export var CreateLoggingConfigurationRequest$ = [3, n0, _CLCR,
359
397
  ];
360
398
  export var CreateLoggingConfigurationResponse$ = [3, n0, _CLCRr,
361
399
  0,
362
- [_s],
400
+ [_st],
363
401
  [() => LoggingConfigurationStatus$], 1
364
402
  ];
365
403
  export var CreateQueryLoggingConfigurationRequest$ = [3, n0, _CQLCR,
@@ -369,7 +407,7 @@ export var CreateQueryLoggingConfigurationRequest$ = [3, n0, _CQLCR,
369
407
  ];
370
408
  export var CreateQueryLoggingConfigurationResponse$ = [3, n0, _CQLCRr,
371
409
  0,
372
- [_s],
410
+ [_st],
373
411
  [() => QueryLoggingConfigurationStatus$], 1
374
412
  ];
375
413
  export var CreateRuleGroupsNamespaceRequest$ = [3, n0, _CRGNR,
@@ -379,7 +417,7 @@ export var CreateRuleGroupsNamespaceRequest$ = [3, n0, _CRGNR,
379
417
  ];
380
418
  export var CreateRuleGroupsNamespaceResponse$ = [3, n0, _CRGNRr,
381
419
  0,
382
- [_n, _a, _s, _t],
420
+ [_n, _a, _st, _t],
383
421
  [0, 0, () => RuleGroupsNamespaceStatus$, 128 | 0], 3
384
422
  ];
385
423
  export var CreateScraperRequest$ = [3, n0, _CSR,
@@ -389,7 +427,7 @@ export var CreateScraperRequest$ = [3, n0, _CSR,
389
427
  ];
390
428
  export var CreateScraperResponse$ = [3, n0, _CSRr,
391
429
  0,
392
- [_sI, _a, _s, _t],
430
+ [_sI, _a, _st, _t],
393
431
  [0, 0, () => ScraperStatus$, 128 | 0], 3
394
432
  ];
395
433
  export var CreateWorkspaceRequest$ = [3, n0, _CWR,
@@ -399,7 +437,7 @@ export var CreateWorkspaceRequest$ = [3, n0, _CWR,
399
437
  ];
400
438
  export var CreateWorkspaceResponse$ = [3, n0, _CWRr,
401
439
  0,
402
- [_wI, _a, _s, _t, _kKA],
440
+ [_wI, _a, _st, _t, _kKA],
403
441
  [0, 0, () => WorkspaceStatus$, 128 | 0, 0], 3
404
442
  ];
405
443
  export var DeleteAlertManagerDefinitionRequest$ = [3, n0, _DAMDR,
@@ -444,7 +482,7 @@ export var DeleteScraperRequest$ = [3, n0, _DSR,
444
482
  ];
445
483
  export var DeleteScraperResponse$ = [3, n0, _DSRe,
446
484
  0,
447
- [_sI, _s],
485
+ [_sI, _st],
448
486
  [0, () => ScraperStatus$], 2
449
487
  ];
450
488
  export var DeleteWorkspaceRequest$ = [3, n0, _DWR,
@@ -519,7 +557,7 @@ export var DescribeScraperLoggingConfigurationRequest$ = [3, n0, _DSLCRe,
519
557
  ];
520
558
  export var DescribeScraperLoggingConfigurationResponse$ = [3, n0, _DSLCRes,
521
559
  0,
522
- [_s, _sI, _lD, _sCcr, _mA],
560
+ [_st, _sI, _lD, _sCcr, _mA],
523
561
  [() => ScraperLoggingConfigurationStatus$, 0, () => ScraperLoggingDestination$, () => ScraperComponents, 4], 5
524
562
  ];
525
563
  export var DescribeScraperRequest$ = [3, n0, _DSRes,
@@ -567,12 +605,6 @@ export var GetDefaultScraperConfigurationResponse$ = [3, n0, _GDSCRe,
567
605
  [_co],
568
606
  [21], 1
569
607
  ];
570
- export var InternalServerException$ = [-3, n0, _ISE,
571
- { [_e]: _se, [_hE]: 500 },
572
- [_m, _rAS],
573
- [0, [1, { [_hH]: _RA }]], 1
574
- ];
575
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
576
608
  export var LimitsPerLabelSet$ = [3, n0, _LPLS,
577
609
  0,
578
610
  [_li, _lS],
@@ -635,12 +667,12 @@ export var ListWorkspacesResponse$ = [3, n0, _LWRi,
635
667
  ];
636
668
  export var LoggingConfigurationMetadata$ = [3, n0, _LCM,
637
669
  0,
638
- [_s, _w, _lGA, _cA, _mA],
670
+ [_st, _w, _lGA, _cA, _mA],
639
671
  [() => LoggingConfigurationStatus$, 0, 0, 4, 4], 5
640
672
  ];
641
673
  export var LoggingConfigurationStatus$ = [3, n0, _LCS,
642
674
  0,
643
- [_sC, _sR],
675
+ [_sCt, _sR],
644
676
  [0, 0], 1
645
677
  ];
646
678
  export var LoggingDestination$ = [3, n0, _LD,
@@ -660,7 +692,7 @@ export var PutAlertManagerDefinitionRequest$ = [3, n0, _PAMDR,
660
692
  ];
661
693
  export var PutAlertManagerDefinitionResponse$ = [3, n0, _PAMDRu,
662
694
  0,
663
- [_s],
695
+ [_st],
664
696
  [() => AlertManagerDefinitionStatus$], 1
665
697
  ];
666
698
  export var PutAnomalyDetectorRequest$ = [3, n0, _PADR,
@@ -670,7 +702,7 @@ export var PutAnomalyDetectorRequest$ = [3, n0, _PADR,
670
702
  ];
671
703
  export var PutAnomalyDetectorResponse$ = [3, n0, _PADRu,
672
704
  0,
673
- [_aDI, _a, _s, _t],
705
+ [_aDI, _a, _st, _t],
674
706
  [0, 0, () => AnomalyDetectorStatus$, 128 | 0], 3
675
707
  ];
676
708
  export var PutResourcePolicyRequest$ = [3, n0, _PRPR,
@@ -690,17 +722,17 @@ export var PutRuleGroupsNamespaceRequest$ = [3, n0, _PRGNR,
690
722
  ];
691
723
  export var PutRuleGroupsNamespaceResponse$ = [3, n0, _PRGNRu,
692
724
  0,
693
- [_n, _a, _s, _t],
725
+ [_n, _a, _st, _t],
694
726
  [0, 0, () => RuleGroupsNamespaceStatus$, 128 | 0], 3
695
727
  ];
696
728
  export var QueryLoggingConfigurationMetadata$ = [3, n0, _QLCM,
697
729
  0,
698
- [_s, _w, _de, _cA, _mA],
730
+ [_st, _w, _de, _cA, _mA],
699
731
  [() => QueryLoggingConfigurationStatus$, 0, () => LoggingDestinations, 4, 4], 5
700
732
  ];
701
733
  export var QueryLoggingConfigurationStatus$ = [3, n0, _QLCS,
702
734
  0,
703
- [_sC, _sR],
735
+ [_sCt, _sR],
704
736
  [0, 0], 1
705
737
  ];
706
738
  export var RandomCutForestConfiguration$ = [3, n0, _RCFC,
@@ -708,12 +740,6 @@ export var RandomCutForestConfiguration$ = [3, n0, _RCFC,
708
740
  [_q, _sS, _sSa, _iNEFA, _iNEFB],
709
741
  [0, 1, 1, () => IgnoreNearExpected$, () => IgnoreNearExpected$], 1
710
742
  ];
711
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
712
- { [_e]: _c, [_hE]: 404 },
713
- [_m, _rI, _rT],
714
- [0, 0, 0], 3
715
- ];
716
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
717
743
  export var RoleConfiguration$ = [3, n0, _RC,
718
744
  0,
719
745
  [_sRA, _tRA],
@@ -721,17 +747,17 @@ export var RoleConfiguration$ = [3, n0, _RC,
721
747
  ];
722
748
  export var RuleGroupsNamespaceDescription$ = [3, n0, _RGND,
723
749
  0,
724
- [_a, _n, _s, _d, _cA, _mA, _t],
750
+ [_a, _n, _st, _d, _cA, _mA, _t],
725
751
  [0, 0, () => RuleGroupsNamespaceStatus$, 21, 4, 4, 128 | 0], 6
726
752
  ];
727
753
  export var RuleGroupsNamespaceStatus$ = [3, n0, _RGNS,
728
754
  0,
729
- [_sC, _sR],
755
+ [_sCt, _sR],
730
756
  [0, 0], 1
731
757
  ];
732
758
  export var RuleGroupsNamespaceSummary$ = [3, n0, _RGNSu,
733
759
  0,
734
- [_a, _n, _s, _cA, _mA, _t],
760
+ [_a, _n, _st, _cA, _mA, _t],
735
761
  [0, 0, () => RuleGroupsNamespaceStatus$, 4, 4, 128 | 0], 5
736
762
  ];
737
763
  export var ScraperComponent$ = [3, n0, _SC,
@@ -741,30 +767,24 @@ export var ScraperComponent$ = [3, n0, _SC,
741
767
  ];
742
768
  export var ScraperDescription$ = [3, n0, _SD,
743
769
  0,
744
- [_sI, _a, _rAo, _s, _cA, _lMA, _sCc, _so, _des, _al, _t, _sR, _rC],
770
+ [_sI, _a, _rAo, _st, _cA, _lMA, _sCc, _so, _des, _al, _t, _sR, _rC],
745
771
  [0, 0, 0, () => ScraperStatus$, 4, 4, () => ScrapeConfiguration$, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$], 9
746
772
  ];
747
773
  export var ScraperLoggingConfigurationStatus$ = [3, n0, _SLCS,
748
774
  0,
749
- [_sC, _sR],
775
+ [_sCt, _sR],
750
776
  [0, 0], 1
751
777
  ];
752
778
  export var ScraperStatus$ = [3, n0, _SS,
753
779
  0,
754
- [_sC],
780
+ [_sCt],
755
781
  [0], 1
756
782
  ];
757
783
  export var ScraperSummary$ = [3, n0, _SSc,
758
784
  0,
759
- [_sI, _a, _rAo, _s, _cA, _lMA, _so, _des, _al, _t, _sR, _rC],
785
+ [_sI, _a, _rAo, _st, _cA, _lMA, _so, _des, _al, _t, _sR, _rC],
760
786
  [0, 0, 0, () => ScraperStatus$, 4, 4, () => Source$, () => Destination$, 0, 128 | 0, 0, () => RoleConfiguration$], 8
761
787
  ];
762
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
763
- { [_e]: _c, [_hE]: 402 },
764
- [_m, _rI, _rT, _sCe, _qC],
765
- [0, 0, 0, 0, 0], 5
766
- ];
767
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
768
788
  export var TagResourceRequest$ = [3, n0, _TRR,
769
789
  0,
770
790
  [_rA, _t],
@@ -775,12 +795,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
775
795
  [],
776
796
  []
777
797
  ];
778
- export var ThrottlingException$ = [-3, n0, _TE,
779
- { [_e]: _c, [_hE]: 429 },
780
- [_m, _sCe, _qC, _rAS],
781
- [0, 0, 0, [1, { [_hH]: _RA }]], 1
782
- ];
783
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
784
798
  export var UntagResourceRequest$ = [3, n0, _URR,
785
799
  0,
786
800
  [_rA, _tK],
@@ -798,7 +812,7 @@ export var UpdateLoggingConfigurationRequest$ = [3, n0, _ULCR,
798
812
  ];
799
813
  export var UpdateLoggingConfigurationResponse$ = [3, n0, _ULCRp,
800
814
  0,
801
- [_s],
815
+ [_st],
802
816
  [() => LoggingConfigurationStatus$], 1
803
817
  ];
804
818
  export var UpdateQueryLoggingConfigurationRequest$ = [3, n0, _UQLCR,
@@ -808,7 +822,7 @@ export var UpdateQueryLoggingConfigurationRequest$ = [3, n0, _UQLCR,
808
822
  ];
809
823
  export var UpdateQueryLoggingConfigurationResponse$ = [3, n0, _UQLCRp,
810
824
  0,
811
- [_s],
825
+ [_st],
812
826
  [() => QueryLoggingConfigurationStatus$], 1
813
827
  ];
814
828
  export var UpdateScraperLoggingConfigurationRequest$ = [3, n0, _USLCR,
@@ -818,7 +832,7 @@ export var UpdateScraperLoggingConfigurationRequest$ = [3, n0, _USLCR,
818
832
  ];
819
833
  export var UpdateScraperLoggingConfigurationResponse$ = [3, n0, _USLCRp,
820
834
  0,
821
- [_s],
835
+ [_st],
822
836
  [() => ScraperLoggingConfigurationStatus$], 1
823
837
  ];
824
838
  export var UpdateScraperRequest$ = [3, n0, _USR,
@@ -828,7 +842,7 @@ export var UpdateScraperRequest$ = [3, n0, _USR,
828
842
  ];
829
843
  export var UpdateScraperResponse$ = [3, n0, _USRp,
830
844
  0,
831
- [_sI, _a, _s, _t],
845
+ [_sI, _a, _st, _t],
832
846
  [0, 0, () => ScraperStatus$, 128 | 0], 3
833
847
  ];
834
848
  export var UpdateWorkspaceAliasRequest$ = [3, n0, _UWAR,
@@ -843,15 +857,9 @@ export var UpdateWorkspaceConfigurationRequest$ = [3, n0, _UWCR,
843
857
  ];
844
858
  export var UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp,
845
859
  0,
846
- [_s],
860
+ [_st],
847
861
  [() => WorkspaceConfigurationStatus$], 1
848
862
  ];
849
- export var ValidationException$ = [-3, n0, _VE,
850
- { [_e]: _c, [_hE]: 400 },
851
- [_m, _r, _fL],
852
- [0, 0, () => ValidationExceptionFieldList], 2
853
- ];
854
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
855
863
  export var ValidationExceptionField$ = [3, n0, _VEF,
856
864
  0,
857
865
  [_n, _m],
@@ -864,32 +872,30 @@ export var VpcConfiguration$ = [3, n0, _VC,
864
872
  ];
865
873
  export var WorkspaceConfigurationDescription$ = [3, n0, _WCD,
866
874
  0,
867
- [_s, _lPLS, _rPID],
875
+ [_st, _lPLS, _rPID],
868
876
  [() => WorkspaceConfigurationStatus$, () => LimitsPerLabelSetList, 1], 1
869
877
  ];
870
878
  export var WorkspaceConfigurationStatus$ = [3, n0, _WCS,
871
879
  0,
872
- [_sC, _sR],
880
+ [_sCt, _sR],
873
881
  [0, 0], 1
874
882
  ];
875
883
  export var WorkspaceDescription$ = [3, n0, _WD,
876
884
  0,
877
- [_wI, _a, _s, _cA, _al, _pE, _t, _kKA],
885
+ [_wI, _a, _st, _cA, _al, _pE, _t, _kKA],
878
886
  [0, 0, () => WorkspaceStatus$, 4, 0, 0, 128 | 0, 0], 4
879
887
  ];
880
888
  export var WorkspaceStatus$ = [3, n0, _WS,
881
889
  0,
882
- [_sC],
890
+ [_sCt],
883
891
  [0], 1
884
892
  ];
885
893
  export var WorkspaceSummary$ = [3, n0, _WSo,
886
894
  0,
887
- [_wI, _a, _s, _cA, _al, _t, _kKA],
895
+ [_wI, _a, _st, _cA, _al, _t, _kKA],
888
896
  [0, 0, () => WorkspaceStatus$, 4, 0, 128 | 0, 0], 4
889
897
  ];
890
898
  var __Unit = "unit";
891
- export var AmpServiceException$ = [-3, _sm, "AmpServiceException", 0, [], []];
892
- TypeRegistry.for(_sm).registerError(AmpServiceException$, AmpServiceException);
893
899
  var AnomalyDetectorSummaryList = [1, n0, _ADSL,
894
900
  0, () => AnomalyDetectorSummary$
895
901
  ];
@@ -1,5 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var AmpServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ThrottlingException$: StaticErrorSchema;
10
+ export declare var ValidationException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
3
17
  export declare var AlertManagerDefinitionDescription$: StaticStructureSchema;
4
18
  export declare var AlertManagerDefinitionStatus$: StaticStructureSchema;
5
19
  export declare var AmpConfiguration$: StaticStructureSchema;
@@ -8,7 +22,6 @@ export declare var AnomalyDetectorStatus$: StaticStructureSchema;
8
22
  export declare var AnomalyDetectorSummary$: StaticStructureSchema;
9
23
  export declare var CloudWatchLogDestination$: StaticStructureSchema;
10
24
  export declare var ComponentConfig$: StaticStructureSchema;
11
- export declare var ConflictException$: StaticErrorSchema;
12
25
  export declare var CreateAlertManagerDefinitionRequest$: StaticStructureSchema;
13
26
  export declare var CreateAlertManagerDefinitionResponse$: StaticStructureSchema;
14
27
  export declare var CreateAnomalyDetectorRequest$: StaticStructureSchema;
@@ -56,7 +69,6 @@ export declare var DescribeWorkspaceResponse$: StaticStructureSchema;
56
69
  export declare var EksConfiguration$: StaticStructureSchema;
57
70
  export declare var GetDefaultScraperConfigurationRequest$: StaticStructureSchema;
58
71
  export declare var GetDefaultScraperConfigurationResponse$: StaticStructureSchema;
59
- export declare var InternalServerException$: StaticErrorSchema;
60
72
  export declare var LimitsPerLabelSet$: StaticStructureSchema;
61
73
  export declare var LimitsPerLabelSetEntry$: StaticStructureSchema;
62
74
  export declare var ListAnomalyDetectorsRequest$: StaticStructureSchema;
@@ -84,7 +96,6 @@ export declare var PutRuleGroupsNamespaceResponse$: StaticStructureSchema;
84
96
  export declare var QueryLoggingConfigurationMetadata$: StaticStructureSchema;
85
97
  export declare var QueryLoggingConfigurationStatus$: StaticStructureSchema;
86
98
  export declare var RandomCutForestConfiguration$: StaticStructureSchema;
87
- export declare var ResourceNotFoundException$: StaticErrorSchema;
88
99
  export declare var RoleConfiguration$: StaticStructureSchema;
89
100
  export declare var RuleGroupsNamespaceDescription$: StaticStructureSchema;
90
101
  export declare var RuleGroupsNamespaceStatus$: StaticStructureSchema;
@@ -94,10 +105,8 @@ export declare var ScraperDescription$: StaticStructureSchema;
94
105
  export declare var ScraperLoggingConfigurationStatus$: StaticStructureSchema;
95
106
  export declare var ScraperStatus$: StaticStructureSchema;
96
107
  export declare var ScraperSummary$: StaticStructureSchema;
97
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
98
108
  export declare var TagResourceRequest$: StaticStructureSchema;
99
109
  export declare var TagResourceResponse$: StaticStructureSchema;
100
- export declare var ThrottlingException$: StaticErrorSchema;
101
110
  export declare var UntagResourceRequest$: StaticStructureSchema;
102
111
  export declare var UntagResourceResponse$: StaticStructureSchema;
103
112
  export declare var UpdateLoggingConfigurationRequest$: StaticStructureSchema;
@@ -111,7 +120,6 @@ export declare var UpdateScraperResponse$: StaticStructureSchema;
111
120
  export declare var UpdateWorkspaceAliasRequest$: StaticStructureSchema;
112
121
  export declare var UpdateWorkspaceConfigurationRequest$: StaticStructureSchema;
113
122
  export declare var UpdateWorkspaceConfigurationResponse$: StaticStructureSchema;
114
- export declare var ValidationException$: StaticErrorSchema;
115
123
  export declare var ValidationExceptionField$: StaticStructureSchema;
116
124
  export declare var VpcConfiguration$: StaticStructureSchema;
117
125
  export declare var WorkspaceConfigurationDescription$: StaticStructureSchema;
@@ -119,7 +127,6 @@ export declare var WorkspaceConfigurationStatus$: StaticStructureSchema;
119
127
  export declare var WorkspaceDescription$: StaticStructureSchema;
120
128
  export declare var WorkspaceStatus$: StaticStructureSchema;
121
129
  export declare var WorkspaceSummary$: StaticStructureSchema;
122
- export declare var AmpServiceException$: StaticErrorSchema;
123
130
  export declare var AnomalyDetectorConfiguration$: StaticUnionSchema;
124
131
  export declare var AnomalyDetectorMissingDataAction$: StaticUnionSchema;
125
132
  export declare var Destination$: StaticUnionSchema;
@@ -1,10 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var AmpServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ThrottlingException$: StaticErrorSchema;
15
+ export declare var ValidationException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
8
17
  export declare var AlertManagerDefinitionDescription$: StaticStructureSchema;
9
18
  export declare var AlertManagerDefinitionStatus$: StaticStructureSchema;
10
19
  export declare var AmpConfiguration$: StaticStructureSchema;
@@ -13,7 +22,6 @@ export declare var AnomalyDetectorStatus$: StaticStructureSchema;
13
22
  export declare var AnomalyDetectorSummary$: StaticStructureSchema;
14
23
  export declare var CloudWatchLogDestination$: StaticStructureSchema;
15
24
  export declare var ComponentConfig$: StaticStructureSchema;
16
- export declare var ConflictException$: StaticErrorSchema;
17
25
  export declare var CreateAlertManagerDefinitionRequest$: StaticStructureSchema;
18
26
  export declare var CreateAlertManagerDefinitionResponse$: StaticStructureSchema;
19
27
  export declare var CreateAnomalyDetectorRequest$: StaticStructureSchema;
@@ -61,7 +69,6 @@ export declare var DescribeWorkspaceResponse$: StaticStructureSchema;
61
69
  export declare var EksConfiguration$: StaticStructureSchema;
62
70
  export declare var GetDefaultScraperConfigurationRequest$: StaticStructureSchema;
63
71
  export declare var GetDefaultScraperConfigurationResponse$: StaticStructureSchema;
64
- export declare var InternalServerException$: StaticErrorSchema;
65
72
  export declare var LimitsPerLabelSet$: StaticStructureSchema;
66
73
  export declare var LimitsPerLabelSetEntry$: StaticStructureSchema;
67
74
  export declare var ListAnomalyDetectorsRequest$: StaticStructureSchema;
@@ -89,7 +96,6 @@ export declare var PutRuleGroupsNamespaceResponse$: StaticStructureSchema;
89
96
  export declare var QueryLoggingConfigurationMetadata$: StaticStructureSchema;
90
97
  export declare var QueryLoggingConfigurationStatus$: StaticStructureSchema;
91
98
  export declare var RandomCutForestConfiguration$: StaticStructureSchema;
92
- export declare var ResourceNotFoundException$: StaticErrorSchema;
93
99
  export declare var RoleConfiguration$: StaticStructureSchema;
94
100
  export declare var RuleGroupsNamespaceDescription$: StaticStructureSchema;
95
101
  export declare var RuleGroupsNamespaceStatus$: StaticStructureSchema;
@@ -99,10 +105,8 @@ export declare var ScraperDescription$: StaticStructureSchema;
99
105
  export declare var ScraperLoggingConfigurationStatus$: StaticStructureSchema;
100
106
  export declare var ScraperStatus$: StaticStructureSchema;
101
107
  export declare var ScraperSummary$: StaticStructureSchema;
102
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
103
108
  export declare var TagResourceRequest$: StaticStructureSchema;
104
109
  export declare var TagResourceResponse$: StaticStructureSchema;
105
- export declare var ThrottlingException$: StaticErrorSchema;
106
110
  export declare var UntagResourceRequest$: StaticStructureSchema;
107
111
  export declare var UntagResourceResponse$: StaticStructureSchema;
108
112
  export declare var UpdateLoggingConfigurationRequest$: StaticStructureSchema;
@@ -116,7 +120,6 @@ export declare var UpdateScraperResponse$: StaticStructureSchema;
116
120
  export declare var UpdateWorkspaceAliasRequest$: StaticStructureSchema;
117
121
  export declare var UpdateWorkspaceConfigurationRequest$: StaticStructureSchema;
118
122
  export declare var UpdateWorkspaceConfigurationResponse$: StaticStructureSchema;
119
- export declare var ValidationException$: StaticErrorSchema;
120
123
  export declare var ValidationExceptionField$: StaticStructureSchema;
121
124
  export declare var VpcConfiguration$: StaticStructureSchema;
122
125
  export declare var WorkspaceConfigurationDescription$: StaticStructureSchema;
@@ -124,7 +127,6 @@ export declare var WorkspaceConfigurationStatus$: StaticStructureSchema;
124
127
  export declare var WorkspaceDescription$: StaticStructureSchema;
125
128
  export declare var WorkspaceStatus$: StaticStructureSchema;
126
129
  export declare var WorkspaceSummary$: StaticStructureSchema;
127
- export declare var AmpServiceException$: StaticErrorSchema;
128
130
  export declare var AnomalyDetectorConfiguration$: StaticUnionSchema;
129
131
  export declare var AnomalyDetectorMissingDataAction$: StaticUnionSchema;
130
132
  export declare var Destination$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp 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-amp",
@@ -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",