@aws-sdk/client-guardduty 3.864.0 → 3.872.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.
Files changed (69) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/index.js +532 -6
  3. package/dist-es/GuardDuty.js +20 -0
  4. package/dist-es/commands/CreateThreatEntitySetCommand.js +22 -0
  5. package/dist-es/commands/CreateTrustedEntitySetCommand.js +22 -0
  6. package/dist-es/commands/DeleteThreatEntitySetCommand.js +22 -0
  7. package/dist-es/commands/DeleteTrustedEntitySetCommand.js +22 -0
  8. package/dist-es/commands/GetThreatEntitySetCommand.js +22 -0
  9. package/dist-es/commands/GetTrustedEntitySetCommand.js +22 -0
  10. package/dist-es/commands/ListThreatEntitySetsCommand.js +22 -0
  11. package/dist-es/commands/ListTrustedEntitySetsCommand.js +22 -0
  12. package/dist-es/commands/UpdateThreatEntitySetCommand.js +22 -0
  13. package/dist-es/commands/UpdateTrustedEntitySetCommand.js +22 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +16 -3
  16. package/dist-es/models/models_1.js +21 -0
  17. package/dist-es/pagination/ListThreatEntitySetsPaginator.js +4 -0
  18. package/dist-es/pagination/ListTrustedEntitySetsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/protocols/Aws_restJson1.js +284 -0
  21. package/dist-types/GuardDuty.d.ts +70 -0
  22. package/dist-types/GuardDutyClient.d.ts +12 -2
  23. package/dist-types/commands/CreateThreatEntitySetCommand.d.ts +91 -0
  24. package/dist-types/commands/CreateTrustedEntitySetCommand.d.ts +92 -0
  25. package/dist-types/commands/DeleteThreatEntitySetCommand.d.ts +78 -0
  26. package/dist-types/commands/DeleteTrustedEntitySetCommand.d.ts +78 -0
  27. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
  28. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  29. package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
  30. package/dist-types/commands/GetFilterCommand.d.ts +1 -1
  31. package/dist-types/commands/GetFindingsCommand.d.ts +1 -2
  32. package/dist-types/commands/GetThreatEntitySetCommand.d.ts +89 -0
  33. package/dist-types/commands/GetTrustedEntitySetCommand.d.ts +89 -0
  34. package/dist-types/commands/ListThreatEntitySetsCommand.d.ts +85 -0
  35. package/dist-types/commands/ListTrustedEntitySetsCommand.d.ts +85 -0
  36. package/dist-types/commands/UpdateThreatEntitySetCommand.d.ts +81 -0
  37. package/dist-types/commands/UpdateTrustedEntitySetCommand.d.ts +81 -0
  38. package/dist-types/commands/index.d.ts +10 -0
  39. package/dist-types/models/models_0.d.ts +200 -200
  40. package/dist-types/models/models_1.d.ts +548 -1
  41. package/dist-types/pagination/ListThreatEntitySetsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListTrustedEntitySetsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +2 -0
  44. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  45. package/dist-types/ts3.4/GuardDuty.d.ts +170 -0
  46. package/dist-types/ts3.4/GuardDutyClient.d.ts +62 -2
  47. package/dist-types/ts3.4/commands/CreateThreatEntitySetCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/CreateTrustedEntitySetCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/DeleteThreatEntitySetCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/DeleteTrustedEntitySetCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -2
  56. package/dist-types/ts3.4/commands/GetThreatEntitySetCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/GetTrustedEntitySetCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListThreatEntitySetsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListTrustedEntitySetsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/UpdateThreatEntitySetCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/UpdateTrustedEntitySetCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +56 -49
  64. package/dist-types/ts3.4/models/models_1.d.ts +144 -1
  65. package/dist-types/ts3.4/pagination/ListThreatEntitySetsPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/ListTrustedEntitySetsPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  69. package/package.json +2 -2
package/dist-cjs/index.js CHANGED
@@ -45,7 +45,9 @@ __export(index_exports, {
45
45
  CreateMembersRequestFilterSensitiveLog: () => CreateMembersRequestFilterSensitiveLog,
46
46
  CreatePublishingDestinationCommand: () => CreatePublishingDestinationCommand,
47
47
  CreateSampleFindingsCommand: () => CreateSampleFindingsCommand,
48
+ CreateThreatEntitySetCommand: () => CreateThreatEntitySetCommand,
48
49
  CreateThreatIntelSetCommand: () => CreateThreatIntelSetCommand,
50
+ CreateTrustedEntitySetCommand: () => CreateTrustedEntitySetCommand,
49
51
  CriterionKey: () => CriterionKey,
50
52
  DataSource: () => DataSource,
51
53
  DataSourceStatus: () => DataSourceStatus,
@@ -57,7 +59,9 @@ __export(index_exports, {
57
59
  DeleteMalwareProtectionPlanCommand: () => DeleteMalwareProtectionPlanCommand,
58
60
  DeleteMembersCommand: () => DeleteMembersCommand,
59
61
  DeletePublishingDestinationCommand: () => DeletePublishingDestinationCommand,
62
+ DeleteThreatEntitySetCommand: () => DeleteThreatEntitySetCommand,
60
63
  DeleteThreatIntelSetCommand: () => DeleteThreatIntelSetCommand,
64
+ DeleteTrustedEntitySetCommand: () => DeleteTrustedEntitySetCommand,
61
65
  DescribeMalwareScansCommand: () => DescribeMalwareScansCommand,
62
66
  DescribeOrganizationConfigurationCommand: () => DescribeOrganizationConfigurationCommand,
63
67
  DescribePublishingDestinationCommand: () => DescribePublishingDestinationCommand,
@@ -99,7 +103,9 @@ __export(index_exports, {
99
103
  GetMembersResponseFilterSensitiveLog: () => GetMembersResponseFilterSensitiveLog,
100
104
  GetOrganizationStatisticsCommand: () => GetOrganizationStatisticsCommand,
101
105
  GetRemainingFreeTrialDaysCommand: () => GetRemainingFreeTrialDaysCommand,
106
+ GetThreatEntitySetCommand: () => GetThreatEntitySetCommand,
102
107
  GetThreatIntelSetCommand: () => GetThreatIntelSetCommand,
108
+ GetTrustedEntitySetCommand: () => GetTrustedEntitySetCommand,
103
109
  GetUsageStatisticsCommand: () => GetUsageStatisticsCommand,
104
110
  GroupByType: () => GroupByType,
105
111
  GuardDuty: () => GuardDuty,
@@ -125,7 +131,9 @@ __export(index_exports, {
125
131
  ListOrganizationAdminAccountsCommand: () => ListOrganizationAdminAccountsCommand,
126
132
  ListPublishingDestinationsCommand: () => ListPublishingDestinationsCommand,
127
133
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
134
+ ListThreatEntitySetsCommand: () => ListThreatEntitySetsCommand,
128
135
  ListThreatIntelSetsCommand: () => ListThreatIntelSetsCommand,
136
+ ListTrustedEntitySetsCommand: () => ListTrustedEntitySetsCommand,
129
137
  LocalIpDetailsFilterSensitiveLog: () => LocalIpDetailsFilterSensitiveLog,
130
138
  MalwareProtectionPlanStatus: () => MalwareProtectionPlanStatus,
131
139
  MalwareProtectionPlanTaggingActionStatus: () => MalwareProtectionPlanTaggingActionStatus,
@@ -166,8 +174,12 @@ __export(index_exports, {
166
174
  StartMonitoringMembersCommand: () => StartMonitoringMembersCommand,
167
175
  StopMonitoringMembersCommand: () => StopMonitoringMembersCommand,
168
176
  TagResourceCommand: () => TagResourceCommand,
177
+ ThreatEntitySetFormat: () => ThreatEntitySetFormat,
178
+ ThreatEntitySetStatus: () => ThreatEntitySetStatus,
169
179
  ThreatIntelSetFormat: () => ThreatIntelSetFormat,
170
180
  ThreatIntelSetStatus: () => ThreatIntelSetStatus,
181
+ TrustedEntitySetFormat: () => TrustedEntitySetFormat,
182
+ TrustedEntitySetStatus: () => TrustedEntitySetStatus,
171
183
  UnarchiveFindingsCommand: () => UnarchiveFindingsCommand,
172
184
  UntagResourceCommand: () => UntagResourceCommand,
173
185
  UpdateDetectorCommand: () => UpdateDetectorCommand,
@@ -179,7 +191,9 @@ __export(index_exports, {
179
191
  UpdateMemberDetectorsCommand: () => UpdateMemberDetectorsCommand,
180
192
  UpdateOrganizationConfigurationCommand: () => UpdateOrganizationConfigurationCommand,
181
193
  UpdatePublishingDestinationCommand: () => UpdatePublishingDestinationCommand,
194
+ UpdateThreatEntitySetCommand: () => UpdateThreatEntitySetCommand,
182
195
  UpdateThreatIntelSetCommand: () => UpdateThreatIntelSetCommand,
196
+ UpdateTrustedEntitySetCommand: () => UpdateTrustedEntitySetCommand,
183
197
  UsageFeature: () => UsageFeature,
184
198
  UsageStatisticType: () => UsageStatisticType,
185
199
  __Client: () => import_smithy_client.Client,
@@ -195,7 +209,9 @@ __export(index_exports, {
195
209
  paginateListMembers: () => paginateListMembers,
196
210
  paginateListOrganizationAdminAccounts: () => paginateListOrganizationAdminAccounts,
197
211
  paginateListPublishingDestinations: () => paginateListPublishingDestinations,
198
- paginateListThreatIntelSets: () => paginateListThreatIntelSets
212
+ paginateListThreatEntitySets: () => paginateListThreatEntitySets,
213
+ paginateListThreatIntelSets: () => paginateListThreatIntelSets,
214
+ paginateListTrustedEntitySets: () => paginateListTrustedEntitySets
199
215
  });
200
216
  module.exports = __toCommonJS(index_exports);
201
217
 
@@ -626,6 +642,14 @@ var MalwareProtectionPlanTaggingActionStatus = {
626
642
  var DestinationType = {
627
643
  S3: "S3"
628
644
  };
645
+ var ThreatEntitySetFormat = {
646
+ ALIEN_VAULT: "ALIEN_VAULT",
647
+ FIRE_EYE: "FIRE_EYE",
648
+ OTX_CSV: "OTX_CSV",
649
+ PROOF_POINT: "PROOF_POINT",
650
+ STIX: "STIX",
651
+ TXT: "TXT"
652
+ };
629
653
  var ThreatIntelSetFormat = {
630
654
  ALIEN_VAULT: "ALIEN_VAULT",
631
655
  FIRE_EYE: "FIRE_EYE",
@@ -634,6 +658,14 @@ var ThreatIntelSetFormat = {
634
658
  STIX: "STIX",
635
659
  TXT: "TXT"
636
660
  };
661
+ var TrustedEntitySetFormat = {
662
+ ALIEN_VAULT: "ALIEN_VAULT",
663
+ FIRE_EYE: "FIRE_EYE",
664
+ OTX_CSV: "OTX_CSV",
665
+ PROOF_POINT: "PROOF_POINT",
666
+ STIX: "STIX",
667
+ TXT: "TXT"
668
+ };
637
669
  var CriterionKey = {
638
670
  ACCOUNT_ID: "ACCOUNT_ID",
639
671
  EC2_INSTANCE_ARN: "EC2_INSTANCE_ARN",
@@ -807,9 +839,6 @@ var Feedback = {
807
839
  NOT_USEFUL: "NOT_USEFUL",
808
840
  USEFUL: "USEFUL"
809
841
  };
810
- var FindingStatisticType = {
811
- COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY"
812
- };
813
842
  var AccountDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
814
843
  ...obj,
815
844
  ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }
@@ -1107,6 +1136,28 @@ var se_CreateSampleFindingsCommand = /* @__PURE__ */ __name(async (input, contex
1107
1136
  b.m("POST").h(headers).b(body);
1108
1137
  return b.build();
1109
1138
  }, "se_CreateSampleFindingsCommand");
1139
+ var se_CreateThreatEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
1140
+ const b = (0, import_core.requestBuilder)(input, context);
1141
+ const headers = {
1142
+ "content-type": "application/json"
1143
+ };
1144
+ b.bp("/detector/{DetectorId}/threatentityset");
1145
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1146
+ let body;
1147
+ body = JSON.stringify(
1148
+ (0, import_smithy_client.take)(input, {
1149
+ activate: [, , `Activate`],
1150
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)(), `ClientToken`],
1151
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
1152
+ format: [, , `Format`],
1153
+ location: [, , `Location`],
1154
+ name: [, , `Name`],
1155
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
1156
+ })
1157
+ );
1158
+ b.m("POST").h(headers).b(body);
1159
+ return b.build();
1160
+ }, "se_CreateThreatEntitySetCommand");
1110
1161
  var se_CreateThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1111
1162
  const b = (0, import_core.requestBuilder)(input, context);
1112
1163
  const headers = {
@@ -1129,6 +1180,28 @@ var se_CreateThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, contex
1129
1180
  b.m("POST").h(headers).b(body);
1130
1181
  return b.build();
1131
1182
  }, "se_CreateThreatIntelSetCommand");
1183
+ var se_CreateTrustedEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
1184
+ const b = (0, import_core.requestBuilder)(input, context);
1185
+ const headers = {
1186
+ "content-type": "application/json"
1187
+ };
1188
+ b.bp("/detector/{DetectorId}/trustedentityset");
1189
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1190
+ let body;
1191
+ body = JSON.stringify(
1192
+ (0, import_smithy_client.take)(input, {
1193
+ activate: [, , `Activate`],
1194
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)(), `ClientToken`],
1195
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
1196
+ format: [, , `Format`],
1197
+ location: [, , `Location`],
1198
+ name: [, , `Name`],
1199
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
1200
+ })
1201
+ );
1202
+ b.m("POST").h(headers).b(body);
1203
+ return b.build();
1204
+ }, "se_CreateTrustedEntitySetCommand");
1132
1205
  var se_DeclineInvitationsCommand = /* @__PURE__ */ __name(async (input, context) => {
1133
1206
  const b = (0, import_core.requestBuilder)(input, context);
1134
1207
  const headers = {
@@ -1223,6 +1296,16 @@ var se_DeletePublishingDestinationCommand = /* @__PURE__ */ __name(async (input,
1223
1296
  b.m("DELETE").h(headers).b(body);
1224
1297
  return b.build();
1225
1298
  }, "se_DeletePublishingDestinationCommand");
1299
+ var se_DeleteThreatEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
1300
+ const b = (0, import_core.requestBuilder)(input, context);
1301
+ const headers = {};
1302
+ b.bp("/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}");
1303
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1304
+ b.p("ThreatEntitySetId", () => input.ThreatEntitySetId, "{ThreatEntitySetId}", false);
1305
+ let body;
1306
+ b.m("DELETE").h(headers).b(body);
1307
+ return b.build();
1308
+ }, "se_DeleteThreatEntitySetCommand");
1226
1309
  var se_DeleteThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1227
1310
  const b = (0, import_core.requestBuilder)(input, context);
1228
1311
  const headers = {};
@@ -1233,6 +1316,16 @@ var se_DeleteThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, contex
1233
1316
  b.m("DELETE").h(headers).b(body);
1234
1317
  return b.build();
1235
1318
  }, "se_DeleteThreatIntelSetCommand");
1319
+ var se_DeleteTrustedEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
1320
+ const b = (0, import_core.requestBuilder)(input, context);
1321
+ const headers = {};
1322
+ b.bp("/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}");
1323
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1324
+ b.p("TrustedEntitySetId", () => input.TrustedEntitySetId, "{TrustedEntitySetId}", false);
1325
+ let body;
1326
+ b.m("DELETE").h(headers).b(body);
1327
+ return b.build();
1328
+ }, "se_DeleteTrustedEntitySetCommand");
1236
1329
  var se_DescribeMalwareScansCommand = /* @__PURE__ */ __name(async (input, context) => {
1237
1330
  const b = (0, import_core.requestBuilder)(input, context);
1238
1331
  const headers = {
@@ -1522,6 +1615,16 @@ var se_GetRemainingFreeTrialDaysCommand = /* @__PURE__ */ __name(async (input, c
1522
1615
  b.m("POST").h(headers).b(body);
1523
1616
  return b.build();
1524
1617
  }, "se_GetRemainingFreeTrialDaysCommand");
1618
+ var se_GetThreatEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
1619
+ const b = (0, import_core.requestBuilder)(input, context);
1620
+ const headers = {};
1621
+ b.bp("/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}");
1622
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1623
+ b.p("ThreatEntitySetId", () => input.ThreatEntitySetId, "{ThreatEntitySetId}", false);
1624
+ let body;
1625
+ b.m("GET").h(headers).b(body);
1626
+ return b.build();
1627
+ }, "se_GetThreatEntitySetCommand");
1525
1628
  var se_GetThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1526
1629
  const b = (0, import_core.requestBuilder)(input, context);
1527
1630
  const headers = {};
@@ -1532,6 +1635,16 @@ var se_GetThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, context)
1532
1635
  b.m("GET").h(headers).b(body);
1533
1636
  return b.build();
1534
1637
  }, "se_GetThreatIntelSetCommand");
1638
+ var se_GetTrustedEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
1639
+ const b = (0, import_core.requestBuilder)(input, context);
1640
+ const headers = {};
1641
+ b.bp("/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}");
1642
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1643
+ b.p("TrustedEntitySetId", () => input.TrustedEntitySetId, "{TrustedEntitySetId}", false);
1644
+ let body;
1645
+ b.m("GET").h(headers).b(body);
1646
+ return b.build();
1647
+ }, "se_GetTrustedEntitySetCommand");
1535
1648
  var se_GetUsageStatisticsCommand = /* @__PURE__ */ __name(async (input, context) => {
1536
1649
  const b = (0, import_core.requestBuilder)(input, context);
1537
1650
  const headers = {
@@ -1717,6 +1830,19 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
1717
1830
  b.m("GET").h(headers).b(body);
1718
1831
  return b.build();
1719
1832
  }, "se_ListTagsForResourceCommand");
1833
+ var se_ListThreatEntitySetsCommand = /* @__PURE__ */ __name(async (input, context) => {
1834
+ const b = (0, import_core.requestBuilder)(input, context);
1835
+ const headers = {};
1836
+ b.bp("/detector/{DetectorId}/threatentityset");
1837
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1838
+ const query = (0, import_smithy_client.map)({
1839
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1840
+ [_nT]: [, input[_NT]]
1841
+ });
1842
+ let body;
1843
+ b.m("GET").h(headers).q(query).b(body);
1844
+ return b.build();
1845
+ }, "se_ListThreatEntitySetsCommand");
1720
1846
  var se_ListThreatIntelSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
1721
1847
  const b = (0, import_core.requestBuilder)(input, context);
1722
1848
  const headers = {};
@@ -1730,6 +1856,19 @@ var se_ListThreatIntelSetsCommand = /* @__PURE__ */ __name(async (input, context
1730
1856
  b.m("GET").h(headers).q(query).b(body);
1731
1857
  return b.build();
1732
1858
  }, "se_ListThreatIntelSetsCommand");
1859
+ var se_ListTrustedEntitySetsCommand = /* @__PURE__ */ __name(async (input, context) => {
1860
+ const b = (0, import_core.requestBuilder)(input, context);
1861
+ const headers = {};
1862
+ b.bp("/detector/{DetectorId}/trustedentityset");
1863
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
1864
+ const query = (0, import_smithy_client.map)({
1865
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1866
+ [_nT]: [, input[_NT]]
1867
+ });
1868
+ let body;
1869
+ b.m("GET").h(headers).q(query).b(body);
1870
+ return b.build();
1871
+ }, "se_ListTrustedEntitySetsCommand");
1733
1872
  var se_StartMalwareScanCommand = /* @__PURE__ */ __name(async (input, context) => {
1734
1873
  const b = (0, import_core.requestBuilder)(input, context);
1735
1874
  const headers = {
@@ -1987,6 +2126,26 @@ var se_UpdatePublishingDestinationCommand = /* @__PURE__ */ __name(async (input,
1987
2126
  b.m("POST").h(headers).b(body);
1988
2127
  return b.build();
1989
2128
  }, "se_UpdatePublishingDestinationCommand");
2129
+ var se_UpdateThreatEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
2130
+ const b = (0, import_core.requestBuilder)(input, context);
2131
+ const headers = {
2132
+ "content-type": "application/json"
2133
+ };
2134
+ b.bp("/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}");
2135
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
2136
+ b.p("ThreatEntitySetId", () => input.ThreatEntitySetId, "{ThreatEntitySetId}", false);
2137
+ let body;
2138
+ body = JSON.stringify(
2139
+ (0, import_smithy_client.take)(input, {
2140
+ activate: [, , `Activate`],
2141
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
2142
+ location: [, , `Location`],
2143
+ name: [, , `Name`]
2144
+ })
2145
+ );
2146
+ b.m("POST").h(headers).b(body);
2147
+ return b.build();
2148
+ }, "se_UpdateThreatEntitySetCommand");
1990
2149
  var se_UpdateThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1991
2150
  const b = (0, import_core.requestBuilder)(input, context);
1992
2151
  const headers = {
@@ -2007,6 +2166,26 @@ var se_UpdateThreatIntelSetCommand = /* @__PURE__ */ __name(async (input, contex
2007
2166
  b.m("POST").h(headers).b(body);
2008
2167
  return b.build();
2009
2168
  }, "se_UpdateThreatIntelSetCommand");
2169
+ var se_UpdateTrustedEntitySetCommand = /* @__PURE__ */ __name(async (input, context) => {
2170
+ const b = (0, import_core.requestBuilder)(input, context);
2171
+ const headers = {
2172
+ "content-type": "application/json"
2173
+ };
2174
+ b.bp("/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}");
2175
+ b.p("DetectorId", () => input.DetectorId, "{DetectorId}", false);
2176
+ b.p("TrustedEntitySetId", () => input.TrustedEntitySetId, "{TrustedEntitySetId}", false);
2177
+ let body;
2178
+ body = JSON.stringify(
2179
+ (0, import_smithy_client.take)(input, {
2180
+ activate: [, , `Activate`],
2181
+ expectedBucketOwner: [, , `ExpectedBucketOwner`],
2182
+ location: [, , `Location`],
2183
+ name: [, , `Name`]
2184
+ })
2185
+ );
2186
+ b.m("POST").h(headers).b(body);
2187
+ return b.build();
2188
+ }, "se_UpdateTrustedEntitySetCommand");
2010
2189
  var de_AcceptAdministratorInvitationCommand = /* @__PURE__ */ __name(async (output, context) => {
2011
2190
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2012
2191
  return de_CommandError(output, context);
@@ -2132,6 +2311,20 @@ var de_CreateSampleFindingsCommand = /* @__PURE__ */ __name(async (output, conte
2132
2311
  await (0, import_smithy_client.collectBody)(output.body, context);
2133
2312
  return contents;
2134
2313
  }, "de_CreateSampleFindingsCommand");
2314
+ var de_CreateThreatEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
2315
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2316
+ return de_CommandError(output, context);
2317
+ }
2318
+ const contents = (0, import_smithy_client.map)({
2319
+ $metadata: deserializeMetadata(output)
2320
+ });
2321
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2322
+ const doc = (0, import_smithy_client.take)(data, {
2323
+ ThreatEntitySetId: [, import_smithy_client.expectString, `threatEntitySetId`]
2324
+ });
2325
+ Object.assign(contents, doc);
2326
+ return contents;
2327
+ }, "de_CreateThreatEntitySetCommand");
2135
2328
  var de_CreateThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2136
2329
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2137
2330
  return de_CommandError(output, context);
@@ -2146,6 +2339,20 @@ var de_CreateThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, conte
2146
2339
  Object.assign(contents, doc);
2147
2340
  return contents;
2148
2341
  }, "de_CreateThreatIntelSetCommand");
2342
+ var de_CreateTrustedEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
2343
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2344
+ return de_CommandError(output, context);
2345
+ }
2346
+ const contents = (0, import_smithy_client.map)({
2347
+ $metadata: deserializeMetadata(output)
2348
+ });
2349
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2350
+ const doc = (0, import_smithy_client.take)(data, {
2351
+ TrustedEntitySetId: [, import_smithy_client.expectString, `trustedEntitySetId`]
2352
+ });
2353
+ Object.assign(contents, doc);
2354
+ return contents;
2355
+ }, "de_CreateTrustedEntitySetCommand");
2149
2356
  var de_DeclineInvitationsCommand = /* @__PURE__ */ __name(async (output, context) => {
2150
2357
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2151
2358
  return de_CommandError(output, context);
@@ -2238,6 +2445,16 @@ var de_DeletePublishingDestinationCommand = /* @__PURE__ */ __name(async (output
2238
2445
  await (0, import_smithy_client.collectBody)(output.body, context);
2239
2446
  return contents;
2240
2447
  }, "de_DeletePublishingDestinationCommand");
2448
+ var de_DeleteThreatEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
2449
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2450
+ return de_CommandError(output, context);
2451
+ }
2452
+ const contents = (0, import_smithy_client.map)({
2453
+ $metadata: deserializeMetadata(output)
2454
+ });
2455
+ await (0, import_smithy_client.collectBody)(output.body, context);
2456
+ return contents;
2457
+ }, "de_DeleteThreatEntitySetCommand");
2241
2458
  var de_DeleteThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2242
2459
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2243
2460
  return de_CommandError(output, context);
@@ -2248,6 +2465,16 @@ var de_DeleteThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, conte
2248
2465
  await (0, import_smithy_client.collectBody)(output.body, context);
2249
2466
  return contents;
2250
2467
  }, "de_DeleteThreatIntelSetCommand");
2468
+ var de_DeleteTrustedEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
2469
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2470
+ return de_CommandError(output, context);
2471
+ }
2472
+ const contents = (0, import_smithy_client.map)({
2473
+ $metadata: deserializeMetadata(output)
2474
+ });
2475
+ await (0, import_smithy_client.collectBody)(output.body, context);
2476
+ return contents;
2477
+ }, "de_DeleteTrustedEntitySetCommand");
2251
2478
  var de_DescribeMalwareScansCommand = /* @__PURE__ */ __name(async (output, context) => {
2252
2479
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2253
2480
  return de_CommandError(output, context);
@@ -2593,6 +2820,28 @@ var de_GetRemainingFreeTrialDaysCommand = /* @__PURE__ */ __name(async (output,
2593
2820
  Object.assign(contents, doc);
2594
2821
  return contents;
2595
2822
  }, "de_GetRemainingFreeTrialDaysCommand");
2823
+ var de_GetThreatEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
2824
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2825
+ return de_CommandError(output, context);
2826
+ }
2827
+ const contents = (0, import_smithy_client.map)({
2828
+ $metadata: deserializeMetadata(output)
2829
+ });
2830
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2831
+ const doc = (0, import_smithy_client.take)(data, {
2832
+ CreatedAt: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `createdAt`],
2833
+ ErrorDetails: [, import_smithy_client.expectString, `errorDetails`],
2834
+ ExpectedBucketOwner: [, import_smithy_client.expectString, `expectedBucketOwner`],
2835
+ Format: [, import_smithy_client.expectString, `format`],
2836
+ Location: [, import_smithy_client.expectString, `location`],
2837
+ Name: [, import_smithy_client.expectString, `name`],
2838
+ Status: [, import_smithy_client.expectString, `status`],
2839
+ Tags: [, import_smithy_client._json, `tags`],
2840
+ UpdatedAt: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `updatedAt`]
2841
+ });
2842
+ Object.assign(contents, doc);
2843
+ return contents;
2844
+ }, "de_GetThreatEntitySetCommand");
2596
2845
  var de_GetThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2597
2846
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2598
2847
  return de_CommandError(output, context);
@@ -2612,6 +2861,28 @@ var de_GetThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, context)
2612
2861
  Object.assign(contents, doc);
2613
2862
  return contents;
2614
2863
  }, "de_GetThreatIntelSetCommand");
2864
+ var de_GetTrustedEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
2865
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2866
+ return de_CommandError(output, context);
2867
+ }
2868
+ const contents = (0, import_smithy_client.map)({
2869
+ $metadata: deserializeMetadata(output)
2870
+ });
2871
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2872
+ const doc = (0, import_smithy_client.take)(data, {
2873
+ CreatedAt: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `createdAt`],
2874
+ ErrorDetails: [, import_smithy_client.expectString, `errorDetails`],
2875
+ ExpectedBucketOwner: [, import_smithy_client.expectString, `expectedBucketOwner`],
2876
+ Format: [, import_smithy_client.expectString, `format`],
2877
+ Location: [, import_smithy_client.expectString, `location`],
2878
+ Name: [, import_smithy_client.expectString, `name`],
2879
+ Status: [, import_smithy_client.expectString, `status`],
2880
+ Tags: [, import_smithy_client._json, `tags`],
2881
+ UpdatedAt: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `updatedAt`]
2882
+ });
2883
+ Object.assign(contents, doc);
2884
+ return contents;
2885
+ }, "de_GetTrustedEntitySetCommand");
2615
2886
  var de_GetUsageStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
2616
2887
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2617
2888
  return de_CommandError(output, context);
@@ -2805,6 +3076,21 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
2805
3076
  Object.assign(contents, doc);
2806
3077
  return contents;
2807
3078
  }, "de_ListTagsForResourceCommand");
3079
+ var de_ListThreatEntitySetsCommand = /* @__PURE__ */ __name(async (output, context) => {
3080
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3081
+ return de_CommandError(output, context);
3082
+ }
3083
+ const contents = (0, import_smithy_client.map)({
3084
+ $metadata: deserializeMetadata(output)
3085
+ });
3086
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3087
+ const doc = (0, import_smithy_client.take)(data, {
3088
+ NextToken: [, import_smithy_client.expectString, `nextToken`],
3089
+ ThreatEntitySetIds: [, import_smithy_client._json, `threatEntitySetIds`]
3090
+ });
3091
+ Object.assign(contents, doc);
3092
+ return contents;
3093
+ }, "de_ListThreatEntitySetsCommand");
2808
3094
  var de_ListThreatIntelSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
2809
3095
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2810
3096
  return de_CommandError(output, context);
@@ -2820,6 +3106,21 @@ var de_ListThreatIntelSetsCommand = /* @__PURE__ */ __name(async (output, contex
2820
3106
  Object.assign(contents, doc);
2821
3107
  return contents;
2822
3108
  }, "de_ListThreatIntelSetsCommand");
3109
+ var de_ListTrustedEntitySetsCommand = /* @__PURE__ */ __name(async (output, context) => {
3110
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3111
+ return de_CommandError(output, context);
3112
+ }
3113
+ const contents = (0, import_smithy_client.map)({
3114
+ $metadata: deserializeMetadata(output)
3115
+ });
3116
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3117
+ const doc = (0, import_smithy_client.take)(data, {
3118
+ NextToken: [, import_smithy_client.expectString, `nextToken`],
3119
+ TrustedEntitySetIds: [, import_smithy_client._json, `trustedEntitySetIds`]
3120
+ });
3121
+ Object.assign(contents, doc);
3122
+ return contents;
3123
+ }, "de_ListTrustedEntitySetsCommand");
2823
3124
  var de_StartMalwareScanCommand = /* @__PURE__ */ __name(async (output, context) => {
2824
3125
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2825
3126
  return de_CommandError(output, context);
@@ -2990,6 +3291,16 @@ var de_UpdatePublishingDestinationCommand = /* @__PURE__ */ __name(async (output
2990
3291
  await (0, import_smithy_client.collectBody)(output.body, context);
2991
3292
  return contents;
2992
3293
  }, "de_UpdatePublishingDestinationCommand");
3294
+ var de_UpdateThreatEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
3295
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3296
+ return de_CommandError(output, context);
3297
+ }
3298
+ const contents = (0, import_smithy_client.map)({
3299
+ $metadata: deserializeMetadata(output)
3300
+ });
3301
+ await (0, import_smithy_client.collectBody)(output.body, context);
3302
+ return contents;
3303
+ }, "de_UpdateThreatEntitySetCommand");
2993
3304
  var de_UpdateThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2994
3305
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2995
3306
  return de_CommandError(output, context);
@@ -3000,6 +3311,16 @@ var de_UpdateThreatIntelSetCommand = /* @__PURE__ */ __name(async (output, conte
3000
3311
  await (0, import_smithy_client.collectBody)(output.body, context);
3001
3312
  return contents;
3002
3313
  }, "de_UpdateThreatIntelSetCommand");
3314
+ var de_UpdateTrustedEntitySetCommand = /* @__PURE__ */ __name(async (output, context) => {
3315
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3316
+ return de_CommandError(output, context);
3317
+ }
3318
+ const contents = (0, import_smithy_client.map)({
3319
+ $metadata: deserializeMetadata(output)
3320
+ });
3321
+ await (0, import_smithy_client.collectBody)(output.body, context);
3322
+ return contents;
3323
+ }, "de_UpdateTrustedEntitySetCommand");
3003
3324
  var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3004
3325
  const parsedOutput = {
3005
3326
  ...output,
@@ -5546,6 +5867,21 @@ var CreateSampleFindingsCommand = class extends import_smithy_client.Command.cla
5546
5867
  }
5547
5868
  };
5548
5869
 
5870
+ // src/commands/CreateThreatEntitySetCommand.ts
5871
+
5872
+
5873
+
5874
+ var CreateThreatEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5875
+ return [
5876
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5877
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5878
+ ];
5879
+ }).s("GuardDutyAPIService", "CreateThreatEntitySet", {}).n("GuardDutyClient", "CreateThreatEntitySetCommand").f(void 0, void 0).ser(se_CreateThreatEntitySetCommand).de(de_CreateThreatEntitySetCommand).build() {
5880
+ static {
5881
+ __name(this, "CreateThreatEntitySetCommand");
5882
+ }
5883
+ };
5884
+
5549
5885
  // src/commands/CreateThreatIntelSetCommand.ts
5550
5886
 
5551
5887
 
@@ -5561,6 +5897,21 @@ var CreateThreatIntelSetCommand = class extends import_smithy_client.Command.cla
5561
5897
  }
5562
5898
  };
5563
5899
 
5900
+ // src/commands/CreateTrustedEntitySetCommand.ts
5901
+
5902
+
5903
+
5904
+ var CreateTrustedEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5905
+ return [
5906
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5907
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5908
+ ];
5909
+ }).s("GuardDutyAPIService", "CreateTrustedEntitySet", {}).n("GuardDutyClient", "CreateTrustedEntitySetCommand").f(void 0, void 0).ser(se_CreateTrustedEntitySetCommand).de(de_CreateTrustedEntitySetCommand).build() {
5910
+ static {
5911
+ __name(this, "CreateTrustedEntitySetCommand");
5912
+ }
5913
+ };
5914
+
5564
5915
  // src/commands/DeclineInvitationsCommand.ts
5565
5916
 
5566
5917
 
@@ -5681,6 +6032,21 @@ var DeletePublishingDestinationCommand = class extends import_smithy_client.Comm
5681
6032
  }
5682
6033
  };
5683
6034
 
6035
+ // src/commands/DeleteThreatEntitySetCommand.ts
6036
+
6037
+
6038
+
6039
+ var DeleteThreatEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6040
+ return [
6041
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6042
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6043
+ ];
6044
+ }).s("GuardDutyAPIService", "DeleteThreatEntitySet", {}).n("GuardDutyClient", "DeleteThreatEntitySetCommand").f(void 0, void 0).ser(se_DeleteThreatEntitySetCommand).de(de_DeleteThreatEntitySetCommand).build() {
6045
+ static {
6046
+ __name(this, "DeleteThreatEntitySetCommand");
6047
+ }
6048
+ };
6049
+
5684
6050
  // src/commands/DeleteThreatIntelSetCommand.ts
5685
6051
 
5686
6052
 
@@ -5696,6 +6062,21 @@ var DeleteThreatIntelSetCommand = class extends import_smithy_client.Command.cla
5696
6062
  }
5697
6063
  };
5698
6064
 
6065
+ // src/commands/DeleteTrustedEntitySetCommand.ts
6066
+
6067
+
6068
+
6069
+ var DeleteTrustedEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6070
+ return [
6071
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6072
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6073
+ ];
6074
+ }).s("GuardDutyAPIService", "DeleteTrustedEntitySet", {}).n("GuardDutyClient", "DeleteTrustedEntitySetCommand").f(void 0, void 0).ser(se_DeleteTrustedEntitySetCommand).de(de_DeleteTrustedEntitySetCommand).build() {
6075
+ static {
6076
+ __name(this, "DeleteTrustedEntitySetCommand");
6077
+ }
6078
+ };
6079
+
5699
6080
  // src/commands/DescribeMalwareScansCommand.ts
5700
6081
 
5701
6082
 
@@ -5883,6 +6264,9 @@ var GetFilterCommand = class extends import_smithy_client.Command.classBuilder()
5883
6264
 
5884
6265
  // src/models/models_1.ts
5885
6266
 
6267
+ var FindingStatisticType = {
6268
+ COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY"
6269
+ };
5886
6270
  var GroupByType = {
5887
6271
  ACCOUNT: "ACCOUNT",
5888
6272
  DATE: "DATE",
@@ -5907,6 +6291,15 @@ var MalwareProtectionPlanStatus = {
5907
6291
  var ScanCriterionKey = {
5908
6292
  EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG"
5909
6293
  };
6294
+ var ThreatEntitySetStatus = {
6295
+ ACTIVATING: "ACTIVATING",
6296
+ ACTIVE: "ACTIVE",
6297
+ DEACTIVATING: "DEACTIVATING",
6298
+ DELETED: "DELETED",
6299
+ DELETE_PENDING: "DELETE_PENDING",
6300
+ ERROR: "ERROR",
6301
+ INACTIVE: "INACTIVE"
6302
+ };
5910
6303
  var ThreatIntelSetStatus = {
5911
6304
  ACTIVATING: "ACTIVATING",
5912
6305
  ACTIVE: "ACTIVE",
@@ -5916,6 +6309,15 @@ var ThreatIntelSetStatus = {
5916
6309
  ERROR: "ERROR",
5917
6310
  INACTIVE: "INACTIVE"
5918
6311
  };
6312
+ var TrustedEntitySetStatus = {
6313
+ ACTIVATING: "ACTIVATING",
6314
+ ACTIVE: "ACTIVE",
6315
+ DEACTIVATING: "DEACTIVATING",
6316
+ DELETED: "DELETED",
6317
+ DELETE_PENDING: "DELETE_PENDING",
6318
+ ERROR: "ERROR",
6319
+ INACTIVE: "INACTIVE"
6320
+ };
5919
6321
  var UsageFeature = {
5920
6322
  CLOUD_TRAIL: "CLOUD_TRAIL",
5921
6323
  DNS_LOGS: "DNS_LOGS",
@@ -6118,6 +6520,21 @@ var GetRemainingFreeTrialDaysCommand = class extends import_smithy_client.Comman
6118
6520
  }
6119
6521
  };
6120
6522
 
6523
+ // src/commands/GetThreatEntitySetCommand.ts
6524
+
6525
+
6526
+
6527
+ var GetThreatEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6528
+ return [
6529
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6530
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6531
+ ];
6532
+ }).s("GuardDutyAPIService", "GetThreatEntitySet", {}).n("GuardDutyClient", "GetThreatEntitySetCommand").f(void 0, void 0).ser(se_GetThreatEntitySetCommand).de(de_GetThreatEntitySetCommand).build() {
6533
+ static {
6534
+ __name(this, "GetThreatEntitySetCommand");
6535
+ }
6536
+ };
6537
+
6121
6538
  // src/commands/GetThreatIntelSetCommand.ts
6122
6539
 
6123
6540
 
@@ -6133,6 +6550,21 @@ var GetThreatIntelSetCommand = class extends import_smithy_client.Command.classB
6133
6550
  }
6134
6551
  };
6135
6552
 
6553
+ // src/commands/GetTrustedEntitySetCommand.ts
6554
+
6555
+
6556
+
6557
+ var GetTrustedEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6558
+ return [
6559
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6560
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6561
+ ];
6562
+ }).s("GuardDutyAPIService", "GetTrustedEntitySet", {}).n("GuardDutyClient", "GetTrustedEntitySetCommand").f(void 0, void 0).ser(se_GetTrustedEntitySetCommand).de(de_GetTrustedEntitySetCommand).build() {
6563
+ static {
6564
+ __name(this, "GetTrustedEntitySetCommand");
6565
+ }
6566
+ };
6567
+
6136
6568
  // src/commands/GetUsageStatisticsCommand.ts
6137
6569
 
6138
6570
 
@@ -6328,6 +6760,21 @@ var ListTagsForResourceCommand = class extends import_smithy_client.Command.clas
6328
6760
  }
6329
6761
  };
6330
6762
 
6763
+ // src/commands/ListThreatEntitySetsCommand.ts
6764
+
6765
+
6766
+
6767
+ var ListThreatEntitySetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6768
+ return [
6769
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6770
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6771
+ ];
6772
+ }).s("GuardDutyAPIService", "ListThreatEntitySets", {}).n("GuardDutyClient", "ListThreatEntitySetsCommand").f(void 0, void 0).ser(se_ListThreatEntitySetsCommand).de(de_ListThreatEntitySetsCommand).build() {
6773
+ static {
6774
+ __name(this, "ListThreatEntitySetsCommand");
6775
+ }
6776
+ };
6777
+
6331
6778
  // src/commands/ListThreatIntelSetsCommand.ts
6332
6779
 
6333
6780
 
@@ -6343,6 +6790,21 @@ var ListThreatIntelSetsCommand = class extends import_smithy_client.Command.clas
6343
6790
  }
6344
6791
  };
6345
6792
 
6793
+ // src/commands/ListTrustedEntitySetsCommand.ts
6794
+
6795
+
6796
+
6797
+ var ListTrustedEntitySetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6798
+ return [
6799
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6800
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6801
+ ];
6802
+ }).s("GuardDutyAPIService", "ListTrustedEntitySets", {}).n("GuardDutyClient", "ListTrustedEntitySetsCommand").f(void 0, void 0).ser(se_ListTrustedEntitySetsCommand).de(de_ListTrustedEntitySetsCommand).build() {
6803
+ static {
6804
+ __name(this, "ListTrustedEntitySetsCommand");
6805
+ }
6806
+ };
6807
+
6346
6808
  // src/commands/StartMalwareScanCommand.ts
6347
6809
 
6348
6810
 
@@ -6568,6 +7030,21 @@ var UpdatePublishingDestinationCommand = class extends import_smithy_client.Comm
6568
7030
  }
6569
7031
  };
6570
7032
 
7033
+ // src/commands/UpdateThreatEntitySetCommand.ts
7034
+
7035
+
7036
+
7037
+ var UpdateThreatEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
7038
+ return [
7039
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7040
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7041
+ ];
7042
+ }).s("GuardDutyAPIService", "UpdateThreatEntitySet", {}).n("GuardDutyClient", "UpdateThreatEntitySetCommand").f(void 0, void 0).ser(se_UpdateThreatEntitySetCommand).de(de_UpdateThreatEntitySetCommand).build() {
7043
+ static {
7044
+ __name(this, "UpdateThreatEntitySetCommand");
7045
+ }
7046
+ };
7047
+
6571
7048
  // src/commands/UpdateThreatIntelSetCommand.ts
6572
7049
 
6573
7050
 
@@ -6583,6 +7060,21 @@ var UpdateThreatIntelSetCommand = class extends import_smithy_client.Command.cla
6583
7060
  }
6584
7061
  };
6585
7062
 
7063
+ // src/commands/UpdateTrustedEntitySetCommand.ts
7064
+
7065
+
7066
+
7067
+ var UpdateTrustedEntitySetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
7068
+ return [
7069
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7070
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7071
+ ];
7072
+ }).s("GuardDutyAPIService", "UpdateTrustedEntitySet", {}).n("GuardDutyClient", "UpdateTrustedEntitySetCommand").f(void 0, void 0).ser(se_UpdateTrustedEntitySetCommand).de(de_UpdateTrustedEntitySetCommand).build() {
7073
+ static {
7074
+ __name(this, "UpdateTrustedEntitySetCommand");
7075
+ }
7076
+ };
7077
+
6586
7078
  // src/GuardDuty.ts
6587
7079
  var commands = {
6588
7080
  AcceptAdministratorInvitationCommand,
@@ -6595,7 +7087,9 @@ var commands = {
6595
7087
  CreateMembersCommand,
6596
7088
  CreatePublishingDestinationCommand,
6597
7089
  CreateSampleFindingsCommand,
7090
+ CreateThreatEntitySetCommand,
6598
7091
  CreateThreatIntelSetCommand,
7092
+ CreateTrustedEntitySetCommand,
6599
7093
  DeclineInvitationsCommand,
6600
7094
  DeleteDetectorCommand,
6601
7095
  DeleteFilterCommand,
@@ -6604,7 +7098,9 @@ var commands = {
6604
7098
  DeleteMalwareProtectionPlanCommand,
6605
7099
  DeleteMembersCommand,
6606
7100
  DeletePublishingDestinationCommand,
7101
+ DeleteThreatEntitySetCommand,
6607
7102
  DeleteThreatIntelSetCommand,
7103
+ DeleteTrustedEntitySetCommand,
6608
7104
  DescribeMalwareScansCommand,
6609
7105
  DescribeOrganizationConfigurationCommand,
6610
7106
  DescribePublishingDestinationCommand,
@@ -6628,7 +7124,9 @@ var commands = {
6628
7124
  GetMembersCommand,
6629
7125
  GetOrganizationStatisticsCommand,
6630
7126
  GetRemainingFreeTrialDaysCommand,
7127
+ GetThreatEntitySetCommand,
6631
7128
  GetThreatIntelSetCommand,
7129
+ GetTrustedEntitySetCommand,
6632
7130
  GetUsageStatisticsCommand,
6633
7131
  InviteMembersCommand,
6634
7132
  ListCoverageCommand,
@@ -6642,7 +7140,9 @@ var commands = {
6642
7140
  ListOrganizationAdminAccountsCommand,
6643
7141
  ListPublishingDestinationsCommand,
6644
7142
  ListTagsForResourceCommand,
7143
+ ListThreatEntitySetsCommand,
6645
7144
  ListThreatIntelSetsCommand,
7145
+ ListTrustedEntitySetsCommand,
6646
7146
  StartMalwareScanCommand,
6647
7147
  StartMonitoringMembersCommand,
6648
7148
  StopMonitoringMembersCommand,
@@ -6658,7 +7158,9 @@ var commands = {
6658
7158
  UpdateMemberDetectorsCommand,
6659
7159
  UpdateOrganizationConfigurationCommand,
6660
7160
  UpdatePublishingDestinationCommand,
6661
- UpdateThreatIntelSetCommand
7161
+ UpdateThreatEntitySetCommand,
7162
+ UpdateThreatIntelSetCommand,
7163
+ UpdateTrustedEntitySetCommand
6662
7164
  };
6663
7165
  var GuardDuty = class extends GuardDutyClient {
6664
7166
  static {
@@ -6715,9 +7217,17 @@ var paginateListOrganizationAdminAccounts = (0, import_core.createPaginator)(Gua
6715
7217
 
6716
7218
  var paginateListPublishingDestinations = (0, import_core.createPaginator)(GuardDutyClient, ListPublishingDestinationsCommand, "NextToken", "NextToken", "MaxResults");
6717
7219
 
7220
+ // src/pagination/ListThreatEntitySetsPaginator.ts
7221
+
7222
+ var paginateListThreatEntitySets = (0, import_core.createPaginator)(GuardDutyClient, ListThreatEntitySetsCommand, "NextToken", "NextToken", "MaxResults");
7223
+
6718
7224
  // src/pagination/ListThreatIntelSetsPaginator.ts
6719
7225
 
6720
7226
  var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClient, ListThreatIntelSetsCommand, "NextToken", "NextToken", "MaxResults");
7227
+
7228
+ // src/pagination/ListTrustedEntitySetsPaginator.ts
7229
+
7230
+ var paginateListTrustedEntitySets = (0, import_core.createPaginator)(GuardDutyClient, ListTrustedEntitySetsCommand, "NextToken", "NextToken", "MaxResults");
6721
7231
  // Annotate the CommonJS export names for ESM import in node:
6722
7232
 
6723
7233
  0 && (module.exports = {
@@ -6736,7 +7246,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6736
7246
  CreateMembersCommand,
6737
7247
  CreatePublishingDestinationCommand,
6738
7248
  CreateSampleFindingsCommand,
7249
+ CreateThreatEntitySetCommand,
6739
7250
  CreateThreatIntelSetCommand,
7251
+ CreateTrustedEntitySetCommand,
6740
7252
  DeclineInvitationsCommand,
6741
7253
  DeleteDetectorCommand,
6742
7254
  DeleteFilterCommand,
@@ -6745,7 +7257,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6745
7257
  DeleteMalwareProtectionPlanCommand,
6746
7258
  DeleteMembersCommand,
6747
7259
  DeletePublishingDestinationCommand,
7260
+ DeleteThreatEntitySetCommand,
6748
7261
  DeleteThreatIntelSetCommand,
7262
+ DeleteTrustedEntitySetCommand,
6749
7263
  DescribeMalwareScansCommand,
6750
7264
  DescribeOrganizationConfigurationCommand,
6751
7265
  DescribePublishingDestinationCommand,
@@ -6769,7 +7283,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6769
7283
  GetMembersCommand,
6770
7284
  GetOrganizationStatisticsCommand,
6771
7285
  GetRemainingFreeTrialDaysCommand,
7286
+ GetThreatEntitySetCommand,
6772
7287
  GetThreatIntelSetCommand,
7288
+ GetTrustedEntitySetCommand,
6773
7289
  GetUsageStatisticsCommand,
6774
7290
  InviteMembersCommand,
6775
7291
  ListCoverageCommand,
@@ -6783,7 +7299,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6783
7299
  ListOrganizationAdminAccountsCommand,
6784
7300
  ListPublishingDestinationsCommand,
6785
7301
  ListTagsForResourceCommand,
7302
+ ListThreatEntitySetsCommand,
6786
7303
  ListThreatIntelSetsCommand,
7304
+ ListTrustedEntitySetsCommand,
6787
7305
  StartMalwareScanCommand,
6788
7306
  StartMonitoringMembersCommand,
6789
7307
  StopMonitoringMembersCommand,
@@ -6799,7 +7317,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6799
7317
  UpdateMemberDetectorsCommand,
6800
7318
  UpdateOrganizationConfigurationCommand,
6801
7319
  UpdatePublishingDestinationCommand,
7320
+ UpdateThreatEntitySetCommand,
6802
7321
  UpdateThreatIntelSetCommand,
7322
+ UpdateTrustedEntitySetCommand,
6803
7323
  paginateDescribeMalwareScans,
6804
7324
  paginateDescribeOrganizationConfiguration,
6805
7325
  paginateGetUsageStatistics,
@@ -6812,7 +7332,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6812
7332
  paginateListMembers,
6813
7333
  paginateListOrganizationAdminAccounts,
6814
7334
  paginateListPublishingDestinations,
7335
+ paginateListThreatEntitySets,
6815
7336
  paginateListThreatIntelSets,
7337
+ paginateListTrustedEntitySets,
6816
7338
  BadRequestException,
6817
7339
  InternalServerErrorException,
6818
7340
  AccessDeniedException,
@@ -6840,7 +7362,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6840
7362
  IpSetFormat,
6841
7363
  MalwareProtectionPlanTaggingActionStatus,
6842
7364
  DestinationType,
7365
+ ThreatEntitySetFormat,
6843
7366
  ThreatIntelSetFormat,
7367
+ TrustedEntitySetFormat,
6844
7368
  CriterionKey,
6845
7369
  DataSource,
6846
7370
  ResourceNotFoundException,
@@ -6863,7 +7387,6 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6863
7387
  DetectorStatus,
6864
7388
  EbsSnapshotPreservation,
6865
7389
  Feedback,
6866
- FindingStatisticType,
6867
7390
  AccountDetailFilterSensitiveLog,
6868
7391
  RemoteIpDetailsFilterSensitiveLog,
6869
7392
  AwsApiCallActionFilterSensitiveLog,
@@ -6886,11 +7409,14 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6886
7409
  ResourceFilterSensitiveLog,
6887
7410
  ServiceFilterSensitiveLog,
6888
7411
  FindingFilterSensitiveLog,
7412
+ FindingStatisticType,
6889
7413
  GroupByType,
6890
7414
  IpSetStatus,
6891
7415
  MalwareProtectionPlanStatus,
6892
7416
  ScanCriterionKey,
7417
+ ThreatEntitySetStatus,
6893
7418
  ThreatIntelSetStatus,
7419
+ TrustedEntitySetStatus,
6894
7420
  UsageFeature,
6895
7421
  UsageStatisticType,
6896
7422
  GetFindingsResponseFilterSensitiveLog,