@aws-sdk/client-macie2 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 { defaultMacie2HttpAuthSchemeProvider } 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-01-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.macie2",
30
+ errorTypeRegistries,
29
31
  version: "2020-01-01",
30
32
  serviceTarget: "Macie2",
31
33
  },
@@ -707,7 +707,7 @@ const _rep = "replicated";
707
707
  const _res = "result";
708
708
  const _ro = "row";
709
709
  const _roo = "root";
710
- const _s = "status";
710
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.macie2";
711
711
  const _sA = "sharedAccess";
712
712
  const _sB = "sortBy";
713
713
  const _sBu = "s3Bucket";
@@ -747,13 +747,13 @@ const _s_ = "s3";
747
747
  const _sa = "sample";
748
748
  const _sc = "scoping";
749
749
  const _sco = "score";
750
- const _se = "sensitive";
751
- const _ser = "server";
750
+ const _se = "server";
751
+ const _sen = "sensitive";
752
752
  const _sev = "severity";
753
753
  const _si = "size";
754
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.macie2";
755
- const _st = "statistics";
756
- const _sta = "start";
754
+ const _st = "status";
755
+ const _sta = "statistics";
756
+ const _star = "start";
757
757
  const _su = "suppressed";
758
758
  const _t = "tags";
759
759
  const _tBC = "totalBytesClassified";
@@ -797,6 +797,62 @@ const n0 = "com.amazonaws.macie2";
797
797
  import { TypeRegistry } from "@smithy/core/schema";
798
798
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnprocessableEntityException, ValidationException, } from "../models/errors";
799
799
  import { Macie2ServiceException } from "../models/Macie2ServiceException";
800
+ const _s_registry = TypeRegistry.for(_s);
801
+ export var Macie2ServiceException$ = [-3, _s, "Macie2ServiceException", 0, [], []];
802
+ _s_registry.registerError(Macie2ServiceException$, Macie2ServiceException);
803
+ const n0_registry = TypeRegistry.for(n0);
804
+ export var AccessDeniedException$ = [-3, n0, _ADE,
805
+ { [_e]: _c, [_hE]: 403 },
806
+ [_m],
807
+ [[0, { [_jN]: _m }]]
808
+ ];
809
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
810
+ export var ConflictException$ = [-3, n0, _CE,
811
+ { [_e]: _c, [_hE]: 409 },
812
+ [_m],
813
+ [[0, { [_jN]: _m }]]
814
+ ];
815
+ n0_registry.registerError(ConflictException$, ConflictException);
816
+ export var InternalServerException$ = [-3, n0, _ISE,
817
+ { [_e]: _se, [_hE]: 500 },
818
+ [_m],
819
+ [[0, { [_jN]: _m }]]
820
+ ];
821
+ n0_registry.registerError(InternalServerException$, InternalServerException);
822
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
823
+ { [_e]: _c, [_hE]: 404 },
824
+ [_m],
825
+ [[0, { [_jN]: _m }]]
826
+ ];
827
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
828
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
829
+ { [_e]: _c, [_hE]: 402 },
830
+ [_m],
831
+ [[0, { [_jN]: _m }]]
832
+ ];
833
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
834
+ export var ThrottlingException$ = [-3, n0, _TE,
835
+ { [_e]: _c, [_hE]: 429 },
836
+ [_m],
837
+ [[0, { [_jN]: _m }]]
838
+ ];
839
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
840
+ export var UnprocessableEntityException$ = [-3, n0, _UEE,
841
+ { [_e]: _c, [_hE]: 422 },
842
+ [_m],
843
+ [[0, { [_jN]: _m }]], 1
844
+ ];
845
+ n0_registry.registerError(UnprocessableEntityException$, UnprocessableEntityException);
846
+ export var ValidationException$ = [-3, n0, _VE,
847
+ { [_e]: _c, [_hE]: 400 },
848
+ [_m],
849
+ [[0, { [_jN]: _m }]]
850
+ ];
851
+ n0_registry.registerError(ValidationException$, ValidationException);
852
+ export const errorTypeRegistries = [
853
+ _s_registry,
854
+ n0_registry,
855
+ ];
800
856
  export var AcceptInvitationRequest$ = [3, n0, _AIR,
801
857
  0,
802
858
  [_iI, _aAI, _mA],
@@ -812,12 +868,6 @@ export var AccessControlList$ = [3, n0, _ACL,
812
868
  [_aPRA, _aPWA],
813
869
  [[2, { [_jN]: _aPRA }], [2, { [_jN]: _aPWA }]]
814
870
  ];
815
- export var AccessDeniedException$ = [-3, n0, _ADE,
816
- { [_e]: _c, [_hE]: 403 },
817
- [_m],
818
- [[0, { [_jN]: _m }]]
819
- ];
820
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
821
871
  export var AccountDetail$ = [3, n0, _AD,
822
872
  0,
823
873
  [_aI, _em],
@@ -830,8 +880,8 @@ export var AccountLevelPermissions$ = [3, n0, _ALP,
830
880
  ];
831
881
  export var AdminAccount$ = [3, n0, _AA,
832
882
  0,
833
- [_aI, _s],
834
- [[0, { [_jN]: _aI }], [0, { [_jN]: _s }]]
883
+ [_aI, _st],
884
+ [[0, { [_jN]: _aI }], [0, { [_jN]: _st }]]
835
885
  ];
836
886
  export var AllowListCriteria$ = [3, n0, _ALC,
837
887
  0,
@@ -860,13 +910,13 @@ export var AssumedRole$ = [3, n0, _AR,
860
910
  ];
861
911
  export var AutomatedDiscoveryAccount$ = [3, n0, _ADA,
862
912
  0,
863
- [_aI, _s],
864
- [[0, { [_jN]: _aI }], [0, { [_jN]: _s }]]
913
+ [_aI, _st],
914
+ [[0, { [_jN]: _aI }], [0, { [_jN]: _st }]]
865
915
  ];
866
916
  export var AutomatedDiscoveryAccountUpdate$ = [3, n0, _ADAU,
867
917
  0,
868
- [_aI, _s],
869
- [[0, { [_jN]: _aI }], [0, { [_jN]: _s }]]
918
+ [_aI, _st],
919
+ [[0, { [_jN]: _aI }], [0, { [_jN]: _st }]]
870
920
  ];
871
921
  export var AutomatedDiscoveryAccountUpdateError$ = [3, n0, _ADAUE,
872
922
  0,
@@ -975,8 +1025,8 @@ export var BucketSortCriteria$ = [3, n0, _BSC,
975
1025
  ];
976
1026
  export var BucketStatisticsBySensitivity$ = [3, n0, _BSBS,
977
1027
  0,
978
- [_cE, _nC, _nSo, _se],
979
- [[() => SensitivityAggregations$, { [_jN]: _cE }], [() => SensitivityAggregations$, { [_jN]: _nC }], [() => SensitivityAggregations$, { [_jN]: _nSo }], [() => SensitivityAggregations$, { [_jN]: _se }]]
1028
+ [_cE, _nC, _nSo, _sen],
1029
+ [[() => SensitivityAggregations$, { [_jN]: _cE }], [() => SensitivityAggregations$, { [_jN]: _nC }], [() => SensitivityAggregations$, { [_jN]: _nSo }], [() => SensitivityAggregations$, { [_jN]: _sen }]]
980
1030
  ];
981
1031
  export var Cell$ = [3, n0, _C,
982
1032
  0,
@@ -995,8 +1045,8 @@ export var ClassificationExportConfiguration$ = [3, n0, _CEC,
995
1045
  ];
996
1046
  export var ClassificationResult$ = [3, n0, _CR,
997
1047
  0,
998
- [_aO, _cDI, _mT, _sDe, _sCi, _s],
999
- [[2, { [_jN]: _aO }], [() => CustomDataIdentifiers$, { [_jN]: _cDI }], [0, { [_jN]: _mT }], [() => SensitiveData, { [_jN]: _sDe }], [1, { [_jN]: _sCi }], [() => ClassificationResultStatus$, { [_jN]: _s }]]
1048
+ [_aO, _cDI, _mT, _sDe, _sCi, _st],
1049
+ [[2, { [_jN]: _aO }], [() => CustomDataIdentifiers$, { [_jN]: _cDI }], [0, { [_jN]: _mT }], [() => SensitiveData, { [_jN]: _sDe }], [1, { [_jN]: _sCi }], [() => ClassificationResultStatus$, { [_jN]: _st }]]
1000
1050
  ];
1001
1051
  export var ClassificationResultStatus$ = [3, n0, _CRS,
1002
1052
  0,
@@ -1008,12 +1058,6 @@ export var ClassificationScopeSummary$ = [3, n0, _CSS,
1008
1058
  [_i, _n],
1009
1059
  [[0, { [_jN]: _i }], [0, { [_jN]: _n }]]
1010
1060
  ];
1011
- export var ConflictException$ = [-3, n0, _CE,
1012
- { [_e]: _c, [_hE]: 409 },
1013
- [_m],
1014
- [[0, { [_jN]: _m }]]
1015
- ];
1016
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
1017
1061
  export var CreateAllowListRequest$ = [3, n0, _CALR,
1018
1062
  0,
1019
1063
  [_cr, _n, _cT, _d, _t],
@@ -1201,8 +1245,8 @@ export var DescribeClassificationJobRequest$ = [3, n0, _DCJR,
1201
1245
  ];
1202
1246
  export var DescribeClassificationJobResponse$ = [3, n0, _DCJRe,
1203
1247
  0,
1204
- [_aLI, _cT, _cA, _cDII, _d, _iR, _jA, _jI, _jS, _jT, _lRES, _lRT, _mDII, _mDIS, _n, _sJD, _sP, _sF, _st, _t, _uPD],
1205
- [[64 | 0, { [_jN]: _aLI }], [0, { [_iT]: 1, [_jN]: _cT }], [5, { [_jN]: _cA }], [64 | 0, { [_jN]: _cDII }], [0, { [_jN]: _d }], [2, { [_jN]: _iR }], [0, { [_jN]: _jA }], [0, { [_jN]: _jI }], [0, { [_jN]: _jS }], [0, { [_jN]: _jT }], [() => LastRunErrorStatus$, { [_jN]: _lRES }], [5, { [_jN]: _lRT }], [64 | 0, { [_jN]: _mDII }], [0, { [_jN]: _mDIS }], [0, { [_jN]: _n }], [() => S3JobDefinition$, { [_jN]: _sJD }], [1, { [_jN]: _sP }], [() => JobScheduleFrequency$, { [_jN]: _sF }], [() => Statistics$, { [_jN]: _st }], [128 | 0, { [_jN]: _t }], [() => UserPausedDetails$, { [_jN]: _uPD }]]
1248
+ [_aLI, _cT, _cA, _cDII, _d, _iR, _jA, _jI, _jS, _jT, _lRES, _lRT, _mDII, _mDIS, _n, _sJD, _sP, _sF, _sta, _t, _uPD],
1249
+ [[64 | 0, { [_jN]: _aLI }], [0, { [_iT]: 1, [_jN]: _cT }], [5, { [_jN]: _cA }], [64 | 0, { [_jN]: _cDII }], [0, { [_jN]: _d }], [2, { [_jN]: _iR }], [0, { [_jN]: _jA }], [0, { [_jN]: _jI }], [0, { [_jN]: _jS }], [0, { [_jN]: _jT }], [() => LastRunErrorStatus$, { [_jN]: _lRES }], [5, { [_jN]: _lRT }], [64 | 0, { [_jN]: _mDII }], [0, { [_jN]: _mDIS }], [0, { [_jN]: _n }], [() => S3JobDefinition$, { [_jN]: _sJD }], [1, { [_jN]: _sP }], [() => JobScheduleFrequency$, { [_jN]: _sF }], [() => Statistics$, { [_jN]: _sta }], [128 | 0, { [_jN]: _t }], [() => UserPausedDetails$, { [_jN]: _uPD }]]
1206
1250
  ];
1207
1251
  export var DescribeOrganizationConfigurationRequest$ = [3, n0, _DOCR,
1208
1252
  0,
@@ -1281,8 +1325,8 @@ export var DomainDetails$ = [3, n0, _DDo,
1281
1325
  ];
1282
1326
  export var EnableMacieRequest$ = [3, n0, _EMR,
1283
1327
  0,
1284
- [_cT, _fPF, _s],
1285
- [[0, { [_iT]: 1, [_jN]: _cT }], [0, { [_jN]: _fPF }], [0, { [_jN]: _s }]]
1328
+ [_cT, _fPF, _st],
1329
+ [[0, { [_iT]: 1, [_jN]: _cT }], [0, { [_jN]: _fPF }], [0, { [_jN]: _st }]]
1286
1330
  ];
1287
1331
  export var EnableMacieResponse$ = [3, n0, _EMRn,
1288
1332
  0,
@@ -1351,8 +1395,8 @@ export var GetAllowListRequest$ = [3, n0, _GALR,
1351
1395
  ];
1352
1396
  export var GetAllowListResponse$ = [3, n0, _GALRe,
1353
1397
  0,
1354
- [_a, _cA, _cr, _d, _i, _n, _s, _t, _uA],
1355
- [[0, { [_jN]: _a }], [5, { [_jN]: _cA }], [() => AllowListCriteria$, { [_jN]: _cr }], [0, { [_jN]: _d }], [0, { [_jN]: _i }], [0, { [_jN]: _n }], [() => AllowListStatus$, { [_jN]: _s }], [128 | 0, { [_jN]: _t }], [5, { [_jN]: _uA }]]
1398
+ [_a, _cA, _cr, _d, _i, _n, _st, _t, _uA],
1399
+ [[0, { [_jN]: _a }], [5, { [_jN]: _cA }], [() => AllowListCriteria$, { [_jN]: _cr }], [0, { [_jN]: _d }], [0, { [_jN]: _i }], [0, { [_jN]: _n }], [() => AllowListStatus$, { [_jN]: _st }], [128 | 0, { [_jN]: _t }], [5, { [_jN]: _uA }]]
1356
1400
  ];
1357
1401
  export var GetAutomatedDiscoveryConfigurationRequest$ = [3, n0, _GADCR,
1358
1402
  0,
@@ -1361,8 +1405,8 @@ export var GetAutomatedDiscoveryConfigurationRequest$ = [3, n0, _GADCR,
1361
1405
  ];
1362
1406
  export var GetAutomatedDiscoveryConfigurationResponse$ = [3, n0, _GADCRe,
1363
1407
  0,
1364
- [_aEOM, _cSI, _dA, _fEA, _lUA, _sITI, _s],
1365
- [[0, { [_jN]: _aEOM }], [0, { [_jN]: _cSI }], [5, { [_jN]: _dA }], [5, { [_jN]: _fEA }], [5, { [_jN]: _lUA }], [0, { [_jN]: _sITI }], [0, { [_jN]: _s }]]
1408
+ [_aEOM, _cSI, _dA, _fEA, _lUA, _sITI, _st],
1409
+ [[0, { [_jN]: _aEOM }], [0, { [_jN]: _cSI }], [5, { [_jN]: _dA }], [5, { [_jN]: _fEA }], [5, { [_jN]: _lUA }], [0, { [_jN]: _sITI }], [0, { [_jN]: _st }]]
1366
1410
  ];
1367
1411
  export var GetBucketStatisticsRequest$ = [3, n0, _GBSR,
1368
1412
  0,
@@ -1461,8 +1505,8 @@ export var GetMacieSessionRequest$ = [3, n0, _GMSR,
1461
1505
  ];
1462
1506
  export var GetMacieSessionResponse$ = [3, n0, _GMSRe,
1463
1507
  0,
1464
- [_cA, _fPF, _sR, _s, _uA],
1465
- [[5, { [_jN]: _cA }], [0, { [_jN]: _fPF }], [0, { [_jN]: _sR }], [0, { [_jN]: _s }], [5, { [_jN]: _uA }]]
1508
+ [_cA, _fPF, _sR, _st, _uA],
1509
+ [[5, { [_jN]: _cA }], [0, { [_jN]: _fPF }], [0, { [_jN]: _sR }], [0, { [_jN]: _st }], [5, { [_jN]: _uA }]]
1466
1510
  ];
1467
1511
  export var GetMasterAccountRequest$ = [3, n0, _GMAR,
1468
1512
  0,
@@ -1491,8 +1535,8 @@ export var GetResourceProfileRequest$ = [3, n0, _GRPR,
1491
1535
  ];
1492
1536
  export var GetResourceProfileResponse$ = [3, n0, _GRPRe,
1493
1537
  0,
1494
- [_pUA, _sS, _sSO, _st],
1495
- [[5, { [_jN]: _pUA }], [1, { [_jN]: _sS }], [2, { [_jN]: _sSO }], [() => ResourceStatistics$, { [_jN]: _st }]]
1538
+ [_pUA, _sS, _sSO, _sta],
1539
+ [[5, { [_jN]: _pUA }], [1, { [_jN]: _sS }], [2, { [_jN]: _sSO }], [() => ResourceStatistics$, { [_jN]: _sta }]]
1496
1540
  ];
1497
1541
  export var GetRevealConfigurationRequest$ = [3, n0, _GRCR,
1498
1542
  0,
@@ -1521,8 +1565,8 @@ export var GetSensitiveDataOccurrencesRequest$ = [3, n0, _GSDOR,
1521
1565
  ];
1522
1566
  export var GetSensitiveDataOccurrencesResponse$ = [3, n0, _GSDORe,
1523
1567
  0,
1524
- [_e, _sDO, _s],
1525
- [[0, { [_jN]: _e }], [() => SensitiveDataOccurrences, { [_jN]: _sDO }], [0, { [_jN]: _s }]]
1568
+ [_e, _sDO, _st],
1569
+ [[0, { [_jN]: _e }], [() => SensitiveDataOccurrences, { [_jN]: _sDO }], [0, { [_jN]: _st }]]
1526
1570
  ];
1527
1571
  export var GetSensitivityInspectionTemplateRequest$ = [3, n0, _GSITR,
1528
1572
  0,
@@ -1564,12 +1608,6 @@ export var IamUser$ = [3, n0, _IU,
1564
1608
  [_aI, _a, _pI, _uN],
1565
1609
  [[0, { [_jN]: _aI }], [0, { [_jN]: _a }], [0, { [_jN]: _pI }], [0, { [_jN]: _uN }]]
1566
1610
  ];
1567
- export var InternalServerException$ = [-3, n0, _ISE,
1568
- { [_e]: _ser, [_hE]: 500 },
1569
- [_m],
1570
- [[0, { [_jN]: _m }]]
1571
- ];
1572
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
1573
1611
  export var Invitation$ = [3, n0, _I,
1574
1612
  0,
1575
1613
  [_aI, _iI, _iA, _rS],
@@ -1872,8 +1910,8 @@ export var PutFindingsPublicationConfigurationResponse$ = [3, n0, _PFPCRu,
1872
1910
  ];
1873
1911
  export var Range$ = [3, n0, _R,
1874
1912
  0,
1875
- [_en, _sta, _sCta],
1876
- [[1, { [_jN]: _en }], [1, { [_jN]: _sta }], [1, { [_jN]: _sCta }]]
1913
+ [_en, _star, _sCta],
1914
+ [[1, { [_jN]: _en }], [1, { [_jN]: _star }], [1, { [_jN]: _sCta }]]
1877
1915
  ];
1878
1916
  export var _Record$ = [3, n0, _Re,
1879
1917
  0,
@@ -1885,16 +1923,10 @@ export var ReplicationDetails$ = [3, n0, _RD,
1885
1923
  [_rep, _rE, _rAep],
1886
1924
  [[2, { [_jN]: _rep }], [2, { [_jN]: _rE }], [64 | 0, { [_jN]: _rAep }]]
1887
1925
  ];
1888
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1889
- { [_e]: _c, [_hE]: 404 },
1890
- [_m],
1891
- [[0, { [_jN]: _m }]]
1892
- ];
1893
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1894
1926
  export var ResourceProfileArtifact$ = [3, n0, _RPA,
1895
1927
  0,
1896
- [_a, _cRS, _se],
1897
- [[0, { [_jN]: _a }], [0, { [_jN]: _cRS }], [2, { [_jN]: _se }]], 2
1928
+ [_a, _cRS, _sen],
1929
+ [[0, { [_jN]: _a }], [0, { [_jN]: _cRS }], [2, { [_jN]: _sen }]], 2
1898
1930
  ];
1899
1931
  export var ResourcesAffected$ = [3, n0, _RA,
1900
1932
  0,
@@ -1913,8 +1945,8 @@ export var RetrievalConfiguration$ = [3, n0, _RC,
1913
1945
  ];
1914
1946
  export var RevealConfiguration$ = [3, n0, _RCe,
1915
1947
  0,
1916
- [_s, _kKI],
1917
- [[0, { [_jN]: _s }], [0, { [_jN]: _kKI }]], 1
1948
+ [_st, _kKI],
1949
+ [[0, { [_jN]: _st }], [0, { [_jN]: _kKI }]], 1
1918
1950
  ];
1919
1951
  export var S3Bucket$ = [3, n0, _SB,
1920
1952
  0,
@@ -2066,12 +2098,6 @@ export var ServiceLimit$ = [3, n0, _SL,
2066
2098
  [_iSL, _uni, _va],
2067
2099
  [[2, { [_jN]: _iSL }], [0, { [_jN]: _uni }], [1, { [_jN]: _va }]]
2068
2100
  ];
2069
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
2070
- { [_e]: _c, [_hE]: 402 },
2071
- [_m],
2072
- [[0, { [_jN]: _m }]]
2073
- ];
2074
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
2075
2101
  export var SessionContext$ = [3, n0, _SC,
2076
2102
  0,
2077
2103
  [_at, _sI],
@@ -2162,18 +2188,6 @@ export var TestCustomDataIdentifierResponse$ = [3, n0, _TCDIRe,
2162
2188
  [_mC],
2163
2189
  [[1, { [_jN]: _mC }]]
2164
2190
  ];
2165
- export var ThrottlingException$ = [-3, n0, _TE,
2166
- { [_e]: _c, [_hE]: 429 },
2167
- [_m],
2168
- [[0, { [_jN]: _m }]]
2169
- ];
2170
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
2171
- export var UnprocessableEntityException$ = [-3, n0, _UEE,
2172
- { [_e]: _c, [_hE]: 422 },
2173
- [_m],
2174
- [[0, { [_jN]: _m }]], 1
2175
- ];
2176
- TypeRegistry.for(n0).registerError(UnprocessableEntityException$, UnprocessableEntityException);
2177
2191
  export var UnprocessedAccount$ = [3, n0, _UA,
2178
2192
  0,
2179
2193
  [_aI, _eC, _eM],
@@ -2201,8 +2215,8 @@ export var UpdateAllowListResponse$ = [3, n0, _UALRp,
2201
2215
  ];
2202
2216
  export var UpdateAutomatedDiscoveryConfigurationRequest$ = [3, n0, _UADCR,
2203
2217
  0,
2204
- [_s, _aEOM],
2205
- [[0, { [_jN]: _s }], [0, { [_jN]: _aEOM }]], 1
2218
+ [_st, _aEOM],
2219
+ [[0, { [_jN]: _st }], [0, { [_jN]: _aEOM }]], 1
2206
2220
  ];
2207
2221
  export var UpdateAutomatedDiscoveryConfigurationResponse$ = [3, n0, _UADCRp,
2208
2222
  0,
@@ -2241,8 +2255,8 @@ export var UpdateFindingsFilterResponse$ = [3, n0, _UFFRp,
2241
2255
  ];
2242
2256
  export var UpdateMacieSessionRequest$ = [3, n0, _UMSR,
2243
2257
  0,
2244
- [_fPF, _s],
2245
- [[0, { [_jN]: _fPF }], [0, { [_jN]: _s }]]
2258
+ [_fPF, _st],
2259
+ [[0, { [_jN]: _fPF }], [0, { [_jN]: _st }]]
2246
2260
  ];
2247
2261
  export var UpdateMacieSessionResponse$ = [3, n0, _UMSRp,
2248
2262
  0,
@@ -2251,8 +2265,8 @@ export var UpdateMacieSessionResponse$ = [3, n0, _UMSRp,
2251
2265
  ];
2252
2266
  export var UpdateMemberSessionRequest$ = [3, n0, _UMSRpd,
2253
2267
  0,
2254
- [_i, _s],
2255
- [[0, 1], [0, { [_jN]: _s }]], 2
2268
+ [_i, _st],
2269
+ [[0, 1], [0, { [_jN]: _st }]], 2
2256
2270
  ];
2257
2271
  export var UpdateMemberSessionResponse$ = [3, n0, _UMSRpda,
2258
2272
  0,
@@ -2354,19 +2368,11 @@ export var UserPausedDetails$ = [3, n0, _UPD,
2354
2368
  [_jEA, _jIEHEA, _jPA],
2355
2369
  [[5, { [_jN]: _jEA }], [0, { [_jN]: _jIEHEA }], [5, { [_jN]: _jPA }]]
2356
2370
  ];
2357
- export var ValidationException$ = [-3, n0, _VE,
2358
- { [_e]: _c, [_hE]: 400 },
2359
- [_m],
2360
- [[0, { [_jN]: _m }]]
2361
- ];
2362
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
2363
2371
  export var WeeklySchedule$ = [3, n0, _WS,
2364
2372
  0,
2365
2373
  [_dOW],
2366
2374
  [[0, { [_jN]: _dOW }]]
2367
2375
  ];
2368
- export var Macie2ServiceException$ = [-3, _sm, "Macie2ServiceException", 0, [], []];
2369
- TypeRegistry.for(_sm).registerError(Macie2ServiceException$, Macie2ServiceException);
2370
2376
  var __listOf__string = 64 | 0;
2371
2377
  var __listOfAdminAccount = [1, n0, _lOAA,
2372
2378
  0, [() => AdminAccount$,
@@ -1,8 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var Macie2ServiceException$: 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 ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ThrottlingException$: StaticErrorSchema;
10
+ export declare var UnprocessableEntityException$: StaticErrorSchema;
11
+ export declare var ValidationException$: StaticErrorSchema;
12
+ /**
13
+ * TypeRegistry instances containing modeled errors.
14
+ * @internal
15
+ *
16
+ */
17
+ export declare const errorTypeRegistries: TypeRegistry[];
2
18
  export declare var AcceptInvitationRequest$: StaticStructureSchema;
3
19
  export declare var AcceptInvitationResponse$: StaticStructureSchema;
4
20
  export declare var AccessControlList$: StaticStructureSchema;
5
- export declare var AccessDeniedException$: StaticErrorSchema;
6
21
  export declare var AccountDetail$: StaticStructureSchema;
7
22
  export declare var AccountLevelPermissions$: StaticStructureSchema;
8
23
  export declare var AdminAccount$: StaticStructureSchema;
@@ -41,7 +56,6 @@ export declare var ClassificationExportConfiguration$: StaticStructureSchema;
41
56
  export declare var ClassificationResult$: StaticStructureSchema;
42
57
  export declare var ClassificationResultStatus$: StaticStructureSchema;
43
58
  export declare var ClassificationScopeSummary$: StaticStructureSchema;
44
- export declare var ConflictException$: StaticErrorSchema;
45
59
  export declare var CreateAllowListRequest$: StaticStructureSchema;
46
60
  export declare var CreateAllowListResponse$: StaticStructureSchema;
47
61
  export declare var CreateClassificationJobRequest$: StaticStructureSchema;
@@ -152,7 +166,6 @@ export declare var GetUsageTotalsRequest$: StaticStructureSchema;
152
166
  export declare var GetUsageTotalsResponse$: StaticStructureSchema;
153
167
  export declare var GroupCount$: StaticStructureSchema;
154
168
  export declare var IamUser$: StaticStructureSchema;
155
- export declare var InternalServerException$: StaticErrorSchema;
156
169
  export declare var Invitation$: StaticStructureSchema;
157
170
  export declare var IpAddressDetails$: StaticStructureSchema;
158
171
  export declare var IpCity$: StaticStructureSchema;
@@ -216,7 +229,6 @@ export declare var PutFindingsPublicationConfigurationResponse$: StaticStructure
216
229
  export declare var Range$: StaticStructureSchema;
217
230
  export declare var _Record$: StaticStructureSchema;
218
231
  export declare var ReplicationDetails$: StaticStructureSchema;
219
- export declare var ResourceNotFoundException$: StaticErrorSchema;
220
232
  export declare var ResourceProfileArtifact$: StaticStructureSchema;
221
233
  export declare var ResourcesAffected$: StaticStructureSchema;
222
234
  export declare var ResourceStatistics$: StaticStructureSchema;
@@ -252,7 +264,6 @@ export declare var SensitivityInspectionTemplateIncludes$: StaticStructureSchema
252
264
  export declare var SensitivityInspectionTemplatesEntry$: StaticStructureSchema;
253
265
  export declare var ServerSideEncryption$: StaticStructureSchema;
254
266
  export declare var ServiceLimit$: StaticStructureSchema;
255
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
256
267
  export declare var SessionContext$: StaticStructureSchema;
257
268
  export declare var SessionContextAttributes$: StaticStructureSchema;
258
269
  export declare var SessionIssuer$: StaticStructureSchema;
@@ -271,8 +282,6 @@ export declare var TagScopeTerm$: StaticStructureSchema;
271
282
  export declare var TagValuePair$: StaticStructureSchema;
272
283
  export declare var TestCustomDataIdentifierRequest$: StaticStructureSchema;
273
284
  export declare var TestCustomDataIdentifierResponse$: StaticStructureSchema;
274
- export declare var ThrottlingException$: StaticErrorSchema;
275
- export declare var UnprocessableEntityException$: StaticErrorSchema;
276
285
  export declare var UnprocessedAccount$: StaticStructureSchema;
277
286
  export declare var UntagResourceRequest$: StaticStructureSchema;
278
287
  export declare var UntagResourceResponse$: StaticStructureSchema;
@@ -309,9 +318,7 @@ export declare var UsageTotal$: StaticStructureSchema;
309
318
  export declare var UserIdentity$: StaticStructureSchema;
310
319
  export declare var UserIdentityRoot$: StaticStructureSchema;
311
320
  export declare var UserPausedDetails$: StaticStructureSchema;
312
- export declare var ValidationException$: StaticErrorSchema;
313
321
  export declare var WeeklySchedule$: StaticStructureSchema;
314
- export declare var Macie2ServiceException$: StaticErrorSchema;
315
322
  export declare var AcceptInvitation$: StaticOperationSchema;
316
323
  export declare var BatchGetCustomDataIdentifiers$: StaticOperationSchema;
317
324
  export declare var BatchUpdateAutomatedDiscoveryAccounts$: StaticOperationSchema;
@@ -1,12 +1,22 @@
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 Macie2ServiceException$: 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 ServiceQuotaExceededException$: StaticErrorSchema;
13
+ export declare var ThrottlingException$: StaticErrorSchema;
14
+ export declare var UnprocessableEntityException$: StaticErrorSchema;
15
+ export declare var ValidationException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
6
17
  export declare var AcceptInvitationRequest$: StaticStructureSchema;
7
18
  export declare var AcceptInvitationResponse$: StaticStructureSchema;
8
19
  export declare var AccessControlList$: StaticStructureSchema;
9
- export declare var AccessDeniedException$: StaticErrorSchema;
10
20
  export declare var AccountDetail$: StaticStructureSchema;
11
21
  export declare var AccountLevelPermissions$: StaticStructureSchema;
12
22
  export declare var AdminAccount$: StaticStructureSchema;
@@ -45,7 +55,6 @@ export declare var ClassificationExportConfiguration$: StaticStructureSchema;
45
55
  export declare var ClassificationResult$: StaticStructureSchema;
46
56
  export declare var ClassificationResultStatus$: StaticStructureSchema;
47
57
  export declare var ClassificationScopeSummary$: StaticStructureSchema;
48
- export declare var ConflictException$: StaticErrorSchema;
49
58
  export declare var CreateAllowListRequest$: StaticStructureSchema;
50
59
  export declare var CreateAllowListResponse$: StaticStructureSchema;
51
60
  export declare var CreateClassificationJobRequest$: StaticStructureSchema;
@@ -156,7 +165,6 @@ export declare var GetUsageTotalsRequest$: StaticStructureSchema;
156
165
  export declare var GetUsageTotalsResponse$: StaticStructureSchema;
157
166
  export declare var GroupCount$: StaticStructureSchema;
158
167
  export declare var IamUser$: StaticStructureSchema;
159
- export declare var InternalServerException$: StaticErrorSchema;
160
168
  export declare var Invitation$: StaticStructureSchema;
161
169
  export declare var IpAddressDetails$: StaticStructureSchema;
162
170
  export declare var IpCity$: StaticStructureSchema;
@@ -220,7 +228,6 @@ export declare var PutFindingsPublicationConfigurationResponse$: StaticStructure
220
228
  export declare var Range$: StaticStructureSchema;
221
229
  export declare var _Record$: StaticStructureSchema;
222
230
  export declare var ReplicationDetails$: StaticStructureSchema;
223
- export declare var ResourceNotFoundException$: StaticErrorSchema;
224
231
  export declare var ResourceProfileArtifact$: StaticStructureSchema;
225
232
  export declare var ResourcesAffected$: StaticStructureSchema;
226
233
  export declare var ResourceStatistics$: StaticStructureSchema;
@@ -256,7 +263,6 @@ export declare var SensitivityInspectionTemplateIncludes$: StaticStructureSchema
256
263
  export declare var SensitivityInspectionTemplatesEntry$: StaticStructureSchema;
257
264
  export declare var ServerSideEncryption$: StaticStructureSchema;
258
265
  export declare var ServiceLimit$: StaticStructureSchema;
259
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
260
266
  export declare var SessionContext$: StaticStructureSchema;
261
267
  export declare var SessionContextAttributes$: StaticStructureSchema;
262
268
  export declare var SessionIssuer$: StaticStructureSchema;
@@ -275,8 +281,6 @@ export declare var TagScopeTerm$: StaticStructureSchema;
275
281
  export declare var TagValuePair$: StaticStructureSchema;
276
282
  export declare var TestCustomDataIdentifierRequest$: StaticStructureSchema;
277
283
  export declare var TestCustomDataIdentifierResponse$: StaticStructureSchema;
278
- export declare var ThrottlingException$: StaticErrorSchema;
279
- export declare var UnprocessableEntityException$: StaticErrorSchema;
280
284
  export declare var UnprocessedAccount$: StaticStructureSchema;
281
285
  export declare var UntagResourceRequest$: StaticStructureSchema;
282
286
  export declare var UntagResourceResponse$: StaticStructureSchema;
@@ -313,9 +317,7 @@ export declare var UsageTotal$: StaticStructureSchema;
313
317
  export declare var UserIdentity$: StaticStructureSchema;
314
318
  export declare var UserIdentityRoot$: StaticStructureSchema;
315
319
  export declare var UserPausedDetails$: StaticStructureSchema;
316
- export declare var ValidationException$: StaticErrorSchema;
317
320
  export declare var WeeklySchedule$: StaticStructureSchema;
318
- export declare var Macie2ServiceException$: StaticErrorSchema;
319
321
  export declare var AcceptInvitation$: StaticOperationSchema;
320
322
  export declare var BatchGetCustomDataIdentifiers$: StaticOperationSchema;
321
323
  export declare var BatchUpdateAutomatedDiscoveryAccounts$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-macie2",
3
3
  "description": "AWS SDK for JavaScript Macie2 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-macie2",
@@ -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",