@aws-sdk/client-dataexchange 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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultDataExchangeHttpAuthSchemeProvider } 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-07-25",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.dataexchange",
30
+ errorTypeRegistries,
29
31
  version: "2017-07-25",
30
32
  serviceTarget: "DataExchange",
31
33
  },
@@ -251,8 +251,8 @@ const _RDesp = "ResponseDetails";
251
251
  const _RE = "RevisionEntry";
252
252
  const _RH = "RequestHeaders";
253
253
  const _RHe = "ResponseHeaders";
254
- const _RI = "RevisionId";
255
- const _RIe = "ResourceId";
254
+ const _RI = "ResourceId";
255
+ const _RIe = "RevisionId";
256
256
  const _RNFE = "ResourceNotFoundException";
257
257
  const _RP = "ReceiverPrincipal";
258
258
  const _RPe = "RevisionPublished";
@@ -337,8 +337,8 @@ const _mR = "maxResults";
337
337
  const _nT = "nextToken";
338
338
  const _o = "origin";
339
339
  const _rI = "revisionId";
340
- const _s = "server";
341
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dataexchange";
340
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dataexchange";
341
+ const _se = "server";
342
342
  const _t = "tags";
343
343
  const _tK = "tagKeys";
344
344
  const _xadai = "x-amzn-dataexchange-asset-id";
@@ -351,6 +351,56 @@ const n0 = "com.amazonaws.dataexchange";
351
351
  import { TypeRegistry } from "@smithy/core/schema";
352
352
  import { DataExchangeServiceException } from "../models/DataExchangeServiceException";
353
353
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/errors";
354
+ const _s_registry = TypeRegistry.for(_s);
355
+ export var DataExchangeServiceException$ = [-3, _s, "DataExchangeServiceException", 0, [], []];
356
+ _s_registry.registerError(DataExchangeServiceException$, DataExchangeServiceException);
357
+ const n0_registry = TypeRegistry.for(n0);
358
+ export var AccessDeniedException$ = [-3, n0, _ADE,
359
+ { [_e]: _c, [_hE]: 403 },
360
+ [_M],
361
+ [0], 1
362
+ ];
363
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
364
+ export var ConflictException$ = [-3, n0, _CE,
365
+ { [_e]: _c, [_hE]: 409 },
366
+ [_M, _RI, _RT],
367
+ [0, 0, 0], 1
368
+ ];
369
+ n0_registry.registerError(ConflictException$, ConflictException);
370
+ export var InternalServerException$ = [-3, n0, _ISE,
371
+ { [_e]: _se, [_hE]: 500 },
372
+ [_M],
373
+ [0], 1
374
+ ];
375
+ n0_registry.registerError(InternalServerException$, InternalServerException);
376
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
377
+ { [_e]: _c, [_hE]: 404 },
378
+ [_M, _RI, _RT],
379
+ [0, 0, 0], 1
380
+ ];
381
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
382
+ export var ServiceLimitExceededException$ = [-3, n0, _SLEE,
383
+ { [_e]: _c, [_hE]: 402 },
384
+ [_M, _LN, _LV],
385
+ [0, 0, 1], 1
386
+ ];
387
+ n0_registry.registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
388
+ export var ThrottlingException$ = [-3, n0, _TE,
389
+ { [_e]: _c, [_hE]: 429 },
390
+ [_M],
391
+ [0], 1
392
+ ];
393
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
394
+ export var ValidationException$ = [-3, n0, _VE,
395
+ { [_e]: _c, [_hE]: 400 },
396
+ [_M, _EC],
397
+ [0, 0], 1
398
+ ];
399
+ n0_registry.registerError(ValidationException$, ValidationException);
400
+ export const errorTypeRegistries = [
401
+ _s_registry,
402
+ n0_registry,
403
+ ];
354
404
  export var AcceptDataGrantRequest$ = [3, n0, _ADGR,
355
405
  0,
356
406
  [_DGA],
@@ -361,12 +411,6 @@ export var AcceptDataGrantResponse$ = [3, n0, _ADGRc,
361
411
  [_N, _RP, _AS, _GDS, _DSI, _I, _A, _CA, _UA, _SP, _D, _AA, _EA],
362
412
  [0, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 5, 5], 9
363
413
  ];
364
- export var AccessDeniedException$ = [-3, n0, _ADE,
365
- { [_e]: _c, [_hE]: 403 },
366
- [_M],
367
- [0], 1
368
- ];
369
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
370
414
  export var Action$ = [3, n0, _Ac,
371
415
  0,
372
416
  [_ERTS],
@@ -389,7 +433,7 @@ export var AssetDetails$ = [3, n0, _ADs,
389
433
  ];
390
434
  export var AssetEntry$ = [3, n0, _AEs,
391
435
  0,
392
- [_A, _ADs, _AT, _CA, _DSI, _I, _N, _RI, _UA, _SI],
436
+ [_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _UA, _SI],
393
437
  [0, () => AssetDetails$, 0, 5, 0, 0, 0, 0, 5, 0], 9
394
438
  ];
395
439
  export var AssetSourceEntry$ = [3, n0, _ASE,
@@ -412,12 +456,6 @@ export var CancelJobRequest$ = [3, n0, _CJR,
412
456
  [_JI],
413
457
  [[0, 1]], 1
414
458
  ];
415
- export var ConflictException$ = [-3, n0, _CE,
416
- { [_e]: _c, [_hE]: 409 },
417
- [_M, _RIe, _RT],
418
- [0, 0, 0], 1
419
- ];
420
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
421
459
  export var CreateDataGrantRequest$ = [3, n0, _CDGR,
422
460
  0,
423
461
  [_N, _GDS, _RP, _SDSI, _EA, _D, _T],
@@ -470,12 +508,12 @@ export var CreateRevisionResponse$ = [3, n0, _CRRr,
470
508
  ];
471
509
  export var CreateS3DataAccessFromS3BucketRequestDetails$ = [3, n0, _CSDAFSBRD,
472
510
  0,
473
- [_ASs, _DSI, _RI],
511
+ [_ASs, _DSI, _RIe],
474
512
  [() => S3DataAccessAssetSourceEntry$, 0, 0], 3
475
513
  ];
476
514
  export var CreateS3DataAccessFromS3BucketResponseDetails$ = [3, n0, _CSDAFSBRDr,
477
515
  0,
478
- [_ASs, _DSI, _RI],
516
+ [_ASs, _DSI, _RIe],
479
517
  [() => S3DataAccessAssetSourceEntry$, 0, 0], 3
480
518
  ];
481
519
  export var DatabaseLFTagPolicy$ = [3, n0, _DLFTP,
@@ -505,7 +543,7 @@ export var DataUpdateRequestDetails$ = [3, n0, _DURD,
505
543
  ];
506
544
  export var DeleteAssetRequest$ = [3, n0, _DAR,
507
545
  0,
508
- [_AIs, _DSI, _RI],
546
+ [_AIs, _DSI, _RIe],
509
547
  [[0, 1], [0, 1], [0, 1]], 3
510
548
  ];
511
549
  export var DeleteDataGrantRequest$ = [3, n0, _DDGR,
@@ -525,7 +563,7 @@ export var DeleteEventActionRequest$ = [3, n0, _DEAR,
525
563
  ];
526
564
  export var DeleteRevisionRequest$ = [3, n0, _DRR,
527
565
  0,
528
- [_DSI, _RI],
566
+ [_DSI, _RIe],
529
567
  [[0, 1], [0, 1]], 2
530
568
  ];
531
569
  export var DeprecationRequestDetails$ = [3, n0, _DRD,
@@ -550,22 +588,22 @@ export var EventActionEntry$ = [3, n0, _EAE,
550
588
  ];
551
589
  export var ExportAssetsToS3RequestDetails$ = [3, n0, _EATSRD,
552
590
  0,
553
- [_ADss, _DSI, _RI, _E],
591
+ [_ADss, _DSI, _RIe, _E],
554
592
  [() => ListOfAssetDestinationEntry, 0, 0, () => ExportServerSideEncryption$], 3
555
593
  ];
556
594
  export var ExportAssetsToS3ResponseDetails$ = [3, n0, _EATSRDx,
557
595
  0,
558
- [_ADss, _DSI, _RI, _E],
596
+ [_ADss, _DSI, _RIe, _E],
559
597
  [() => ListOfAssetDestinationEntry, 0, 0, () => ExportServerSideEncryption$], 3
560
598
  ];
561
599
  export var ExportAssetToSignedUrlRequestDetails$ = [3, n0, _EATSURD,
562
600
  0,
563
- [_AIs, _DSI, _RI],
601
+ [_AIs, _DSI, _RIe],
564
602
  [0, 0, 0], 3
565
603
  ];
566
604
  export var ExportAssetToSignedUrlResponseDetails$ = [3, n0, _EATSURDx,
567
605
  0,
568
- [_AIs, _DSI, _RI, _SU, _SUEA],
606
+ [_AIs, _DSI, _RIe, _SU, _SUEA],
569
607
  [0, 0, 0, 0, 5], 3
570
608
  ];
571
609
  export var ExportRevisionsToS3RequestDetails$ = [3, n0, _ERTSRD,
@@ -585,12 +623,12 @@ export var ExportServerSideEncryption$ = [3, n0, _ESSE,
585
623
  ];
586
624
  export var GetAssetRequest$ = [3, n0, _GAR,
587
625
  0,
588
- [_AIs, _DSI, _RI],
626
+ [_AIs, _DSI, _RIe],
589
627
  [[0, 1], [0, 1], [0, 1]], 3
590
628
  ];
591
629
  export var GetAssetResponse$ = [3, n0, _GARe,
592
630
  0,
593
- [_A, _ADs, _AT, _CA, _DSI, _I, _N, _RI, _SI, _UA],
631
+ [_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _SI, _UA],
594
632
  [0, () => AssetDetails$, 0, 5, 0, 0, 0, 0, 0, 5]
595
633
  ];
596
634
  export var GetDataGrantRequest$ = [3, n0, _GDGR,
@@ -645,7 +683,7 @@ export var GetReceivedDataGrantResponse$ = [3, n0, _GRDGRe,
645
683
  ];
646
684
  export var GetRevisionRequest$ = [3, n0, _GRR,
647
685
  0,
648
- [_DSI, _RI],
686
+ [_DSI, _RIe],
649
687
  [[0, 1], [0, 1]], 2
650
688
  ];
651
689
  export var GetRevisionResponse$ = [3, n0, _GRRe,
@@ -655,12 +693,12 @@ export var GetRevisionResponse$ = [3, n0, _GRRe,
655
693
  ];
656
694
  export var ImportAssetFromApiGatewayApiRequestDetails$ = [3, n0, _IAFAGARD,
657
695
  0,
658
- [_AI, _AN, _ASMH, _DSI, _PT, _RI, _S, _AD, _AK],
696
+ [_AI, _AN, _ASMH, _DSI, _PT, _RIe, _S, _AD, _AK],
659
697
  [0, 0, 0, 0, 0, 0, 0, 0, 0], 7
660
698
  ];
661
699
  export var ImportAssetFromApiGatewayApiResponseDetails$ = [3, n0, _IAFAGARDm,
662
700
  0,
663
- [_AI, _AN, _ASMH, _ASUU, _ASUUEA, _DSI, _PT, _RI, _S, _AD, _AK],
701
+ [_AI, _AN, _ASMH, _ASUU, _ASUUEA, _DSI, _PT, _RIe, _S, _AD, _AK],
664
702
  [0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0], 9
665
703
  ];
666
704
  export var ImportAssetFromSignedUrlJobErrorDetails$ = [3, n0, _IAFSUJED,
@@ -670,50 +708,44 @@ export var ImportAssetFromSignedUrlJobErrorDetails$ = [3, n0, _IAFSUJED,
670
708
  ];
671
709
  export var ImportAssetFromSignedUrlRequestDetails$ = [3, n0, _IAFSURD,
672
710
  0,
673
- [_ANs, _DSI, _MH, _RI],
711
+ [_ANs, _DSI, _MH, _RIe],
674
712
  [0, 0, 0, 0], 4
675
713
  ];
676
714
  export var ImportAssetFromSignedUrlResponseDetails$ = [3, n0, _IAFSURDm,
677
715
  0,
678
- [_ANs, _DSI, _RI, _MH, _SU, _SUEA],
716
+ [_ANs, _DSI, _RIe, _MH, _SU, _SUEA],
679
717
  [0, 0, 0, 0, 0, 5], 3
680
718
  ];
681
719
  export var ImportAssetsFromLakeFormationTagPolicyRequestDetails$ = [3, n0, _IAFLFTPRD,
682
720
  0,
683
- [_CI, _RAo, _DSI, _RI, _Da, _Ta],
721
+ [_CI, _RAo, _DSI, _RIe, _Da, _Ta],
684
722
  [0, 0, 0, 0, () => DatabaseLFTagPolicyAndPermissions$, () => TableLFTagPolicyAndPermissions$], 4
685
723
  ];
686
724
  export var ImportAssetsFromLakeFormationTagPolicyResponseDetails$ = [3, n0, _IAFLFTPRDm,
687
725
  0,
688
- [_CI, _RAo, _DSI, _RI, _Da, _Ta],
726
+ [_CI, _RAo, _DSI, _RIe, _Da, _Ta],
689
727
  [0, 0, 0, 0, () => DatabaseLFTagPolicyAndPermissions$, () => TableLFTagPolicyAndPermissions$], 4
690
728
  ];
691
729
  export var ImportAssetsFromRedshiftDataSharesRequestDetails$ = [3, n0, _IAFRDSRD,
692
730
  0,
693
- [_ASss, _DSI, _RI],
731
+ [_ASss, _DSI, _RIe],
694
732
  [() => ListOfRedshiftDataShareAssetSourceEntry, 0, 0], 3
695
733
  ];
696
734
  export var ImportAssetsFromRedshiftDataSharesResponseDetails$ = [3, n0, _IAFRDSRDm,
697
735
  0,
698
- [_ASss, _DSI, _RI],
736
+ [_ASss, _DSI, _RIe],
699
737
  [() => ListOfRedshiftDataShareAssetSourceEntry, 0, 0], 3
700
738
  ];
701
739
  export var ImportAssetsFromS3RequestDetails$ = [3, n0, _IAFSRD,
702
740
  0,
703
- [_ASss, _DSI, _RI],
741
+ [_ASss, _DSI, _RIe],
704
742
  [() => ListOfAssetSourceEntry, 0, 0], 3
705
743
  ];
706
744
  export var ImportAssetsFromS3ResponseDetails$ = [3, n0, _IAFSRDm,
707
745
  0,
708
- [_ASss, _DSI, _RI],
746
+ [_ASss, _DSI, _RIe],
709
747
  [() => ListOfAssetSourceEntry, 0, 0], 3
710
748
  ];
711
- export var InternalServerException$ = [-3, n0, _ISE,
712
- { [_e]: _s, [_hE]: 500 },
713
- [_M],
714
- [0], 1
715
- ];
716
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
717
749
  export var JobEntry$ = [3, n0, _JE,
718
750
  0,
719
751
  [_A, _CA, _De, _I, _St, _Ty, _UA, _Er],
@@ -721,7 +753,7 @@ export var JobEntry$ = [3, n0, _JE,
721
753
  ];
722
754
  export var JobError$ = [3, n0, _JEo,
723
755
  0,
724
- [_Co, _M, _De, _LN, _LV, _RIe, _RT],
756
+ [_Co, _M, _De, _LN, _LV, _RI, _RT],
725
757
  [0, 0, () => Details$, 0, 1, 0, 0], 2
726
758
  ];
727
759
  export var KmsKeyToGrant$ = [3, n0, _KKTG,
@@ -801,7 +833,7 @@ export var ListEventActionsResponse$ = [3, n0, _LEARi,
801
833
  ];
802
834
  export var ListJobsRequest$ = [3, n0, _LJR,
803
835
  0,
804
- [_DSI, _MR, _NT, _RI],
836
+ [_DSI, _MR, _NT, _RIe],
805
837
  [[0, { [_hQ]: _dSI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _rI }]]
806
838
  ];
807
839
  export var ListJobsResponse$ = [3, n0, _LJRi,
@@ -821,7 +853,7 @@ export var ListReceivedDataGrantsResponse$ = [3, n0, _LRDGRi,
821
853
  ];
822
854
  export var ListRevisionAssetsRequest$ = [3, n0, _LRAR,
823
855
  0,
824
- [_DSI, _RI, _MR, _NT],
856
+ [_DSI, _RIe, _MR, _NT],
825
857
  [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
826
858
  ];
827
859
  export var ListRevisionAssetsResponse$ = [3, n0, _LRARi,
@@ -874,12 +906,6 @@ export var RequestDetails$ = [3, n0, _RDeq,
874
906
  [_EATSU, _EATS, _ERTSx, _IAFSU, _IAFS, _IAFRDS, _IAFAGA, _CSDAFSB, _IAFLFTP],
875
907
  [() => ExportAssetToSignedUrlRequestDetails$, () => ExportAssetsToS3RequestDetails$, () => ExportRevisionsToS3RequestDetails$, () => ImportAssetFromSignedUrlRequestDetails$, () => ImportAssetsFromS3RequestDetails$, () => ImportAssetsFromRedshiftDataSharesRequestDetails$, () => ImportAssetFromApiGatewayApiRequestDetails$, () => CreateS3DataAccessFromS3BucketRequestDetails$, () => ImportAssetsFromLakeFormationTagPolicyRequestDetails$]
876
908
  ];
877
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
878
- { [_e]: _c, [_hE]: 404 },
879
- [_M, _RIe, _RT],
880
- [0, 0, 0], 1
881
- ];
882
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
883
909
  export var ResponseDetails$ = [3, n0, _RDesp,
884
910
  0,
885
911
  [_EATSU, _EATS, _ERTSx, _IAFSU, _IAFS, _IAFRDS, _IAFAGA, _CSDAFSB, _IAFLFTP],
@@ -887,7 +913,7 @@ export var ResponseDetails$ = [3, n0, _RDesp,
887
913
  ];
888
914
  export var RevisionDestinationEntry$ = [3, n0, _RDE,
889
915
  0,
890
- [_B, _RI, _KP],
916
+ [_B, _RIe, _KP],
891
917
  [0, 0, 0], 2
892
918
  ];
893
919
  export var RevisionEntry$ = [3, n0, _RE,
@@ -902,7 +928,7 @@ export var RevisionPublished$ = [3, n0, _RPe,
902
928
  ];
903
929
  export var RevokeRevisionRequest$ = [3, n0, _RRR,
904
930
  0,
905
- [_DSI, _RI, _RC],
931
+ [_DSI, _RIe, _RC],
906
932
  [[0, 1], [0, 1], 0], 3
907
933
  ];
908
934
  export var RevokeRevisionResponse$ = [3, n0, _RRRe,
@@ -947,7 +973,7 @@ export var ScopeDetails$ = [3, n0, _SD,
947
973
  ];
948
974
  export var SendApiAssetRequest$ = [3, n0, _SAAR,
949
975
  0,
950
- [_AIs, _DSI, _RI, _Bo, _QSP, _RH, _Me, _Pa],
976
+ [_AIs, _DSI, _RIe, _Bo, _QSP, _RH, _Me, _Pa],
951
977
  [[0, { [_hH]: _xadai }], [0, { [_hH]: _xaddsi }], [0, { [_hH]: _xadri }], [0, 16], [128 | 0, 64], [128 | 0, { [_hPH]: _xadh }], [0, { [_hH]: _xadhm }], [0, { [_hH]: _xadp }]], 3
952
978
  ];
953
979
  export var SendApiAssetResponse$ = [3, n0, _SAARe,
@@ -965,12 +991,6 @@ export var SendDataSetNotificationResponse$ = [3, n0, _SDSNRe,
965
991
  [],
966
992
  []
967
993
  ];
968
- export var ServiceLimitExceededException$ = [-3, n0, _SLEE,
969
- { [_e]: _c, [_hE]: 402 },
970
- [_M, _LN, _LV],
971
- [0, 0, 1], 1
972
- ];
973
- TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
974
994
  export var StartJobRequest$ = [3, n0, _SJR,
975
995
  0,
976
996
  [_JI],
@@ -996,12 +1016,6 @@ export var TagResourceRequest$ = [3, n0, _TRR,
996
1016
  [_RAe, _T],
997
1017
  [[0, 1], [128 | 0, { [_jN]: _t }]], 2
998
1018
  ];
999
- export var ThrottlingException$ = [-3, n0, _TE,
1000
- { [_e]: _c, [_hE]: 429 },
1001
- [_M],
1002
- [0], 1
1003
- ];
1004
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
1005
1019
  export var UntagResourceRequest$ = [3, n0, _URR,
1006
1020
  0,
1007
1021
  [_RAe, _TKa],
@@ -1009,12 +1023,12 @@ export var UntagResourceRequest$ = [3, n0, _URR,
1009
1023
  ];
1010
1024
  export var UpdateAssetRequest$ = [3, n0, _UAR,
1011
1025
  0,
1012
- [_AIs, _DSI, _N, _RI],
1026
+ [_AIs, _DSI, _N, _RIe],
1013
1027
  [[0, 1], [0, 1], 0, [0, 1]], 4
1014
1028
  ];
1015
1029
  export var UpdateAssetResponse$ = [3, n0, _UARp,
1016
1030
  0,
1017
- [_A, _ADs, _AT, _CA, _DSI, _I, _N, _RI, _SI, _UA],
1031
+ [_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _SI, _UA],
1018
1032
  [0, () => AssetDetails$, 0, 5, 0, 0, 0, 0, 0, 5]
1019
1033
  ];
1020
1034
  export var UpdateDataSetRequest$ = [3, n0, _UDSR,
@@ -1039,7 +1053,7 @@ export var UpdateEventActionResponse$ = [3, n0, _UEARp,
1039
1053
  ];
1040
1054
  export var UpdateRevisionRequest$ = [3, n0, _URRp,
1041
1055
  0,
1042
- [_DSI, _RI, _C, _F],
1056
+ [_DSI, _RIe, _C, _F],
1043
1057
  [[0, 1], [0, 1], 0, 2], 2
1044
1058
  ];
1045
1059
  export var UpdateRevisionResponse$ = [3, n0, _URRpd,
@@ -1047,15 +1061,7 @@ export var UpdateRevisionResponse$ = [3, n0, _URRpd,
1047
1061
  [_A, _C, _CA, _DSI, _F, _I, _SI, _UA, _RC, _R, _RA],
1048
1062
  [0, 0, 5, 0, 2, 0, 0, 5, 0, 2, 5]
1049
1063
  ];
1050
- export var ValidationException$ = [-3, n0, _VE,
1051
- { [_e]: _c, [_hE]: 400 },
1052
- [_M, _EC],
1053
- [0, 0], 1
1054
- ];
1055
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
1056
1064
  var __Unit = "unit";
1057
- export var DataExchangeServiceException$ = [-3, _sm, "DataExchangeServiceException", 0, [], []];
1058
- TypeRegistry.for(_sm).registerError(DataExchangeServiceException$, DataExchangeServiceException);
1059
1065
  var AcceptanceStateFilterValues = 64 | 0;
1060
1066
  var ListOf__string = 64 | 0;
1061
1067
  var ListOfAssetDestinationEntry = [1, n0, _LOADE,
@@ -1,7 +1,21 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var DataExchangeServiceException$: StaticErrorSchema;
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 ServiceLimitExceededException$: 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[];
2
17
  export declare var AcceptDataGrantRequest$: StaticStructureSchema;
3
18
  export declare var AcceptDataGrantResponse$: StaticStructureSchema;
4
- export declare var AccessDeniedException$: StaticErrorSchema;
5
19
  export declare var Action$: StaticStructureSchema;
6
20
  export declare var ApiGatewayApiAsset$: StaticStructureSchema;
7
21
  export declare var AssetDestinationEntry$: StaticStructureSchema;
@@ -11,7 +25,6 @@ export declare var AssetSourceEntry$: StaticStructureSchema;
11
25
  export declare var AutoExportRevisionDestinationEntry$: StaticStructureSchema;
12
26
  export declare var AutoExportRevisionToS3RequestDetails$: StaticStructureSchema;
13
27
  export declare var CancelJobRequest$: StaticStructureSchema;
14
- export declare var ConflictException$: StaticErrorSchema;
15
28
  export declare var CreateDataGrantRequest$: StaticStructureSchema;
16
29
  export declare var CreateDataGrantResponse$: StaticStructureSchema;
17
30
  export declare var CreateDataSetRequest$: StaticStructureSchema;
@@ -70,7 +83,6 @@ export declare var ImportAssetsFromRedshiftDataSharesRequestDetails$: StaticStru
70
83
  export declare var ImportAssetsFromRedshiftDataSharesResponseDetails$: StaticStructureSchema;
71
84
  export declare var ImportAssetsFromS3RequestDetails$: StaticStructureSchema;
72
85
  export declare var ImportAssetsFromS3ResponseDetails$: StaticStructureSchema;
73
- export declare var InternalServerException$: StaticErrorSchema;
74
86
  export declare var JobEntry$: StaticStructureSchema;
75
87
  export declare var JobError$: StaticStructureSchema;
76
88
  export declare var KmsKeyToGrant$: StaticStructureSchema;
@@ -103,7 +115,6 @@ export declare var RedshiftDataShareAsset$: StaticStructureSchema;
103
115
  export declare var RedshiftDataShareAssetSourceEntry$: StaticStructureSchema;
104
116
  export declare var RedshiftDataShareDetails$: StaticStructureSchema;
105
117
  export declare var RequestDetails$: StaticStructureSchema;
106
- export declare var ResourceNotFoundException$: StaticErrorSchema;
107
118
  export declare var ResponseDetails$: StaticStructureSchema;
108
119
  export declare var RevisionDestinationEntry$: StaticStructureSchema;
109
120
  export declare var RevisionEntry$: StaticStructureSchema;
@@ -121,13 +132,11 @@ export declare var SendApiAssetRequest$: StaticStructureSchema;
121
132
  export declare var SendApiAssetResponse$: StaticStructureSchema;
122
133
  export declare var SendDataSetNotificationRequest$: StaticStructureSchema;
123
134
  export declare var SendDataSetNotificationResponse$: StaticStructureSchema;
124
- export declare var ServiceLimitExceededException$: StaticErrorSchema;
125
135
  export declare var StartJobRequest$: StaticStructureSchema;
126
136
  export declare var StartJobResponse$: StaticStructureSchema;
127
137
  export declare var TableLFTagPolicy$: StaticStructureSchema;
128
138
  export declare var TableLFTagPolicyAndPermissions$: StaticStructureSchema;
129
139
  export declare var TagResourceRequest$: StaticStructureSchema;
130
- export declare var ThrottlingException$: StaticErrorSchema;
131
140
  export declare var UntagResourceRequest$: StaticStructureSchema;
132
141
  export declare var UpdateAssetRequest$: StaticStructureSchema;
133
142
  export declare var UpdateAssetResponse$: StaticStructureSchema;
@@ -137,8 +146,6 @@ export declare var UpdateEventActionRequest$: StaticStructureSchema;
137
146
  export declare var UpdateEventActionResponse$: StaticStructureSchema;
138
147
  export declare var UpdateRevisionRequest$: StaticStructureSchema;
139
148
  export declare var UpdateRevisionResponse$: StaticStructureSchema;
140
- export declare var ValidationException$: StaticErrorSchema;
141
- export declare var DataExchangeServiceException$: StaticErrorSchema;
142
149
  export declare var AcceptDataGrant$: StaticOperationSchema;
143
150
  export declare var CancelJob$: StaticOperationSchema;
144
151
  export declare var CreateDataGrant$: StaticOperationSchema;
@@ -1,11 +1,20 @@
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 DataExchangeServiceException$: StaticErrorSchema;
8
+ export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ServiceLimitExceededException$: StaticErrorSchema;
13
+ export declare var ThrottlingException$: StaticErrorSchema;
14
+ export declare var ValidationException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
6
16
  export declare var AcceptDataGrantRequest$: StaticStructureSchema;
7
17
  export declare var AcceptDataGrantResponse$: StaticStructureSchema;
8
- export declare var AccessDeniedException$: StaticErrorSchema;
9
18
  export declare var Action$: StaticStructureSchema;
10
19
  export declare var ApiGatewayApiAsset$: StaticStructureSchema;
11
20
  export declare var AssetDestinationEntry$: StaticStructureSchema;
@@ -15,7 +24,6 @@ export declare var AssetSourceEntry$: StaticStructureSchema;
15
24
  export declare var AutoExportRevisionDestinationEntry$: StaticStructureSchema;
16
25
  export declare var AutoExportRevisionToS3RequestDetails$: StaticStructureSchema;
17
26
  export declare var CancelJobRequest$: StaticStructureSchema;
18
- export declare var ConflictException$: StaticErrorSchema;
19
27
  export declare var CreateDataGrantRequest$: StaticStructureSchema;
20
28
  export declare var CreateDataGrantResponse$: StaticStructureSchema;
21
29
  export declare var CreateDataSetRequest$: StaticStructureSchema;
@@ -74,7 +82,6 @@ export declare var ImportAssetsFromRedshiftDataSharesRequestDetails$: StaticStru
74
82
  export declare var ImportAssetsFromRedshiftDataSharesResponseDetails$: StaticStructureSchema;
75
83
  export declare var ImportAssetsFromS3RequestDetails$: StaticStructureSchema;
76
84
  export declare var ImportAssetsFromS3ResponseDetails$: StaticStructureSchema;
77
- export declare var InternalServerException$: StaticErrorSchema;
78
85
  export declare var JobEntry$: StaticStructureSchema;
79
86
  export declare var JobError$: StaticStructureSchema;
80
87
  export declare var KmsKeyToGrant$: StaticStructureSchema;
@@ -107,7 +114,6 @@ export declare var RedshiftDataShareAsset$: StaticStructureSchema;
107
114
  export declare var RedshiftDataShareAssetSourceEntry$: StaticStructureSchema;
108
115
  export declare var RedshiftDataShareDetails$: StaticStructureSchema;
109
116
  export declare var RequestDetails$: StaticStructureSchema;
110
- export declare var ResourceNotFoundException$: StaticErrorSchema;
111
117
  export declare var ResponseDetails$: StaticStructureSchema;
112
118
  export declare var RevisionDestinationEntry$: StaticStructureSchema;
113
119
  export declare var RevisionEntry$: StaticStructureSchema;
@@ -125,13 +131,11 @@ export declare var SendApiAssetRequest$: StaticStructureSchema;
125
131
  export declare var SendApiAssetResponse$: StaticStructureSchema;
126
132
  export declare var SendDataSetNotificationRequest$: StaticStructureSchema;
127
133
  export declare var SendDataSetNotificationResponse$: StaticStructureSchema;
128
- export declare var ServiceLimitExceededException$: StaticErrorSchema;
129
134
  export declare var StartJobRequest$: StaticStructureSchema;
130
135
  export declare var StartJobResponse$: StaticStructureSchema;
131
136
  export declare var TableLFTagPolicy$: StaticStructureSchema;
132
137
  export declare var TableLFTagPolicyAndPermissions$: StaticStructureSchema;
133
138
  export declare var TagResourceRequest$: StaticStructureSchema;
134
- export declare var ThrottlingException$: StaticErrorSchema;
135
139
  export declare var UntagResourceRequest$: StaticStructureSchema;
136
140
  export declare var UpdateAssetRequest$: StaticStructureSchema;
137
141
  export declare var UpdateAssetResponse$: StaticStructureSchema;
@@ -141,8 +145,6 @@ export declare var UpdateEventActionRequest$: StaticStructureSchema;
141
145
  export declare var UpdateEventActionResponse$: StaticStructureSchema;
142
146
  export declare var UpdateRevisionRequest$: StaticStructureSchema;
143
147
  export declare var UpdateRevisionResponse$: StaticStructureSchema;
144
- export declare var ValidationException$: StaticErrorSchema;
145
- export declare var DataExchangeServiceException$: StaticErrorSchema;
146
148
  export declare var AcceptDataGrant$: StaticOperationSchema;
147
149
  export declare var CancelJob$: StaticOperationSchema;
148
150
  export declare var CreateDataGrant$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dataexchange",
3
3
  "description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.988.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-dataexchange",
@@ -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.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
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.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.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.6",
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",