@aws-sdk/client-guardduty 3.590.0 → 3.595.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 (176) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +429 -94
  3. package/dist-es/GuardDuty.js +10 -0
  4. package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +24 -0
  5. package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +24 -0
  6. package/dist-es/commands/GetMalwareProtectionPlanCommand.js +24 -0
  7. package/dist-es/commands/ListMalwareProtectionPlansCommand.js +24 -0
  8. package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +24 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +23 -23
  11. package/dist-es/models/models_1.js +23 -0
  12. package/dist-es/protocols/Aws_restJson1.js +282 -1
  13. package/dist-types/GuardDuty.d.ts +36 -0
  14. package/dist-types/GuardDutyClient.d.ts +7 -2
  15. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
  16. package/dist-types/commands/AcceptInvitationCommand.d.ts +2 -1
  17. package/dist-types/commands/ArchiveFindingsCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateDetectorCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateFilterCommand.d.ts +2 -1
  20. package/dist-types/commands/CreateIPSetCommand.d.ts +2 -1
  21. package/dist-types/commands/CreateMalwareProtectionPlanCommand.d.ts +91 -0
  22. package/dist-types/commands/CreateMembersCommand.d.ts +2 -1
  23. package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +2 -1
  26. package/dist-types/commands/DeclineInvitationsCommand.d.ts +2 -1
  27. package/dist-types/commands/DeleteDetectorCommand.d.ts +2 -1
  28. package/dist-types/commands/DeleteFilterCommand.d.ts +2 -1
  29. package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteInvitationsCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteMalwareProtectionPlanCommand.d.ts +72 -0
  32. package/dist-types/commands/DeleteMembersCommand.d.ts +2 -1
  33. package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +2 -1
  34. package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeMalwareScansCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +2 -1
  38. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -1
  39. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -1
  40. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +2 -1
  41. package/dist-types/commands/DisassociateMembersCommand.d.ts +2 -1
  42. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -1
  43. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +2 -1
  44. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +2 -1
  45. package/dist-types/commands/GetDetectorCommand.d.ts +2 -1
  46. package/dist-types/commands/GetFilterCommand.d.ts +2 -1
  47. package/dist-types/commands/GetFindingsCommand.d.ts +25 -1
  48. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +2 -1
  49. package/dist-types/commands/GetIPSetCommand.d.ts +2 -1
  50. package/dist-types/commands/GetInvitationsCountCommand.d.ts +2 -1
  51. package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +98 -0
  52. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +2 -1
  53. package/dist-types/commands/GetMasterAccountCommand.d.ts +2 -1
  54. package/dist-types/commands/GetMemberDetectorsCommand.d.ts +2 -1
  55. package/dist-types/commands/GetMembersCommand.d.ts +2 -1
  56. package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +2 -1
  57. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
  58. package/dist-types/commands/GetThreatIntelSetCommand.d.ts +2 -1
  59. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +3 -2
  60. package/dist-types/commands/InviteMembersCommand.d.ts +3 -2
  61. package/dist-types/commands/ListCoverageCommand.d.ts +3 -2
  62. package/dist-types/commands/ListDetectorsCommand.d.ts +2 -1
  63. package/dist-types/commands/ListFiltersCommand.d.ts +2 -1
  64. package/dist-types/commands/ListFindingsCommand.d.ts +2 -1
  65. package/dist-types/commands/ListIPSetsCommand.d.ts +2 -1
  66. package/dist-types/commands/ListInvitationsCommand.d.ts +2 -1
  67. package/dist-types/commands/ListMalwareProtectionPlansCommand.d.ts +75 -0
  68. package/dist-types/commands/ListMembersCommand.d.ts +2 -1
  69. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -1
  70. package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +2 -1
  71. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  72. package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +2 -1
  73. package/dist-types/commands/StartMalwareScanCommand.d.ts +2 -1
  74. package/dist-types/commands/StartMonitoringMembersCommand.d.ts +2 -1
  75. package/dist-types/commands/StopMonitoringMembersCommand.d.ts +2 -1
  76. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  77. package/dist-types/commands/UnarchiveFindingsCommand.d.ts +2 -1
  78. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  79. package/dist-types/commands/UpdateDetectorCommand.d.ts +2 -1
  80. package/dist-types/commands/UpdateFilterCommand.d.ts +2 -1
  81. package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +2 -1
  82. package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -1
  83. package/dist-types/commands/UpdateMalwareProtectionPlanCommand.d.ts +83 -0
  84. package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +2 -1
  85. package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +2 -1
  86. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -1
  87. package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +2 -1
  88. package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +2 -1
  89. package/dist-types/commands/index.d.ts +5 -0
  90. package/dist-types/index.d.ts +2 -2
  91. package/dist-types/models/GuardDutyServiceException.d.ts +2 -1
  92. package/dist-types/models/models_0.d.ts +331 -376
  93. package/dist-types/models/models_1.d.ts +469 -1
  94. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  95. package/dist-types/ts3.4/GuardDuty.d.ts +86 -0
  96. package/dist-types/ts3.4/GuardDutyClient.d.ts +30 -0
  97. package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
  98. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +2 -1
  100. package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +2 -1
  101. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -1
  102. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/CreateMalwareProtectionPlanCommand.d.ts +40 -0
  104. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +2 -1
  105. package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +2 -1
  107. package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +2 -1
  108. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +2 -1
  109. package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +2 -1
  110. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -1
  111. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -1
  112. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +2 -1
  113. package/dist-types/ts3.4/commands/DeleteMalwareProtectionPlanCommand.d.ts +36 -0
  114. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +2 -1
  115. package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +2 -1
  117. package/dist-types/ts3.4/commands/DescribeMalwareScansCommand.d.ts +2 -1
  118. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -1
  119. package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -1
  121. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -1
  122. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +2 -1
  123. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +2 -1
  124. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -1
  125. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +2 -1
  126. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +2 -1
  127. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +2 -1
  128. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +2 -1
  129. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
  130. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +2 -1
  131. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -1
  132. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +2 -1
  133. package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +40 -0
  134. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +2 -1
  135. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +2 -1
  136. package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +2 -1
  137. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -1
  138. package/dist-types/ts3.4/commands/GetOrganizationStatisticsCommand.d.ts +2 -1
  139. package/dist-types/ts3.4/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
  140. package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +2 -1
  141. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +3 -2
  142. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +3 -2
  143. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +3 -2
  144. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +2 -1
  145. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -1
  146. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -1
  147. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -1
  148. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -1
  149. package/dist-types/ts3.4/commands/ListMalwareProtectionPlansCommand.d.ts +40 -0
  150. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -1
  151. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -1
  152. package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +2 -1
  153. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
  154. package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +2 -1
  155. package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +2 -1
  156. package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +2 -1
  157. package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +2 -1
  158. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  159. package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +2 -1
  160. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  161. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +2 -1
  162. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +2 -1
  163. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +2 -1
  164. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -1
  165. package/dist-types/ts3.4/commands/UpdateMalwareProtectionPlanCommand.d.ts +36 -0
  166. package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +2 -1
  167. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +2 -1
  168. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -1
  169. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +2 -1
  170. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +2 -1
  171. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  172. package/dist-types/ts3.4/models/GuardDutyServiceException.d.ts +2 -1
  173. package/dist-types/ts3.4/models/models_0.d.ts +86 -100
  174. package/dist-types/ts3.4/models/models_1.d.ts +127 -0
  175. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  176. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -39,6 +39,7 @@ __export(src_exports, {
39
39
  CreateDetectorCommand: () => CreateDetectorCommand,
40
40
  CreateFilterCommand: () => CreateFilterCommand,
41
41
  CreateIPSetCommand: () => CreateIPSetCommand,
42
+ CreateMalwareProtectionPlanCommand: () => CreateMalwareProtectionPlanCommand,
42
43
  CreateMembersCommand: () => CreateMembersCommand,
43
44
  CreateMembersRequestFilterSensitiveLog: () => CreateMembersRequestFilterSensitiveLog,
44
45
  CreatePublishingDestinationCommand: () => CreatePublishingDestinationCommand,
@@ -52,6 +53,7 @@ __export(src_exports, {
52
53
  DeleteFilterCommand: () => DeleteFilterCommand,
53
54
  DeleteIPSetCommand: () => DeleteIPSetCommand,
54
55
  DeleteInvitationsCommand: () => DeleteInvitationsCommand,
56
+ DeleteMalwareProtectionPlanCommand: () => DeleteMalwareProtectionPlanCommand,
55
57
  DeleteMembersCommand: () => DeleteMembersCommand,
56
58
  DeletePublishingDestinationCommand: () => DeletePublishingDestinationCommand,
57
59
  DeleteThreatIntelSetCommand: () => DeleteThreatIntelSetCommand,
@@ -85,6 +87,7 @@ __export(src_exports, {
85
87
  GetFindingsStatisticsCommand: () => GetFindingsStatisticsCommand,
86
88
  GetIPSetCommand: () => GetIPSetCommand,
87
89
  GetInvitationsCountCommand: () => GetInvitationsCountCommand,
90
+ GetMalwareProtectionPlanCommand: () => GetMalwareProtectionPlanCommand,
88
91
  GetMalwareScanSettingsCommand: () => GetMalwareScanSettingsCommand,
89
92
  GetMasterAccountCommand: () => GetMasterAccountCommand,
90
93
  GetMemberDetectorsCommand: () => GetMemberDetectorsCommand,
@@ -109,6 +112,7 @@ __export(src_exports, {
109
112
  ListFindingsCommand: () => ListFindingsCommand,
110
113
  ListIPSetsCommand: () => ListIPSetsCommand,
111
114
  ListInvitationsCommand: () => ListInvitationsCommand,
115
+ ListMalwareProtectionPlansCommand: () => ListMalwareProtectionPlansCommand,
112
116
  ListMembersCommand: () => ListMembersCommand,
113
117
  ListMembersResponseFilterSensitiveLog: () => ListMembersResponseFilterSensitiveLog,
114
118
  ListOrganizationAdminAccountsCommand: () => ListOrganizationAdminAccountsCommand,
@@ -116,6 +120,8 @@ __export(src_exports, {
116
120
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
117
121
  ListThreatIntelSetsCommand: () => ListThreatIntelSetsCommand,
118
122
  LocalIpDetailsFilterSensitiveLog: () => LocalIpDetailsFilterSensitiveLog,
123
+ MalwareProtectionPlanStatus: () => MalwareProtectionPlanStatus,
124
+ MalwareProtectionPlanTaggingActionStatus: () => MalwareProtectionPlanTaggingActionStatus,
119
125
  ManagementType: () => ManagementType,
120
126
  MemberFilterSensitiveLog: () => MemberFilterSensitiveLog,
121
127
  NetworkConnectionActionFilterSensitiveLog: () => NetworkConnectionActionFilterSensitiveLog,
@@ -133,6 +139,7 @@ __export(src_exports, {
133
139
  RdsLoginAttemptActionFilterSensitiveLog: () => RdsLoginAttemptActionFilterSensitiveLog,
134
140
  RemoteIpDetailsFilterSensitiveLog: () => RemoteIpDetailsFilterSensitiveLog,
135
141
  ResourceFilterSensitiveLog: () => ResourceFilterSensitiveLog,
142
+ ResourceNotFoundException: () => ResourceNotFoundException,
136
143
  ResourceType: () => ResourceType,
137
144
  ScanCriterionKey: () => ScanCriterionKey,
138
145
  ScanResult: () => ScanResult,
@@ -151,6 +158,7 @@ __export(src_exports, {
151
158
  UpdateFilterCommand: () => UpdateFilterCommand,
152
159
  UpdateFindingsFeedbackCommand: () => UpdateFindingsFeedbackCommand,
153
160
  UpdateIPSetCommand: () => UpdateIPSetCommand,
161
+ UpdateMalwareProtectionPlanCommand: () => UpdateMalwareProtectionPlanCommand,
154
162
  UpdateMalwareScanSettingsCommand: () => UpdateMalwareScanSettingsCommand,
155
163
  UpdateMemberDetectorsCommand: () => UpdateMemberDetectorsCommand,
156
164
  UpdateOrganizationConfigurationCommand: () => UpdateOrganizationConfigurationCommand,
@@ -325,7 +333,6 @@ var GuardDutyClient = _GuardDutyClient;
325
333
 
326
334
  var import_middleware_serde = require("@smithy/middleware-serde");
327
335
 
328
- var import_types = require("@smithy/types");
329
336
 
330
337
  // src/protocols/Aws_restJson1.ts
331
338
  var import_core2 = require("@aws-sdk/core");
@@ -541,6 +548,10 @@ var IpSetFormat = {
541
548
  STIX: "STIX",
542
549
  TXT: "TXT"
543
550
  };
551
+ var MalwareProtectionPlanTaggingActionStatus = {
552
+ DISABLED: "DISABLED",
553
+ ENABLED: "ENABLED"
554
+ };
544
555
  var DestinationType = {
545
556
  S3: "S3"
546
557
  };
@@ -569,6 +580,25 @@ var DataSource = {
569
580
  KUBERNETES_AUDIT_LOGS: "KUBERNETES_AUDIT_LOGS",
570
581
  S3_LOGS: "S3_LOGS"
571
582
  };
583
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends GuardDutyServiceException {
584
+ /**
585
+ * @internal
586
+ */
587
+ constructor(opts) {
588
+ super({
589
+ name: "ResourceNotFoundException",
590
+ $fault: "client",
591
+ ...opts
592
+ });
593
+ this.name = "ResourceNotFoundException";
594
+ this.$fault = "client";
595
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
596
+ this.Message = opts.Message;
597
+ this.Type = opts.Type;
598
+ }
599
+ };
600
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
601
+ var ResourceNotFoundException = _ResourceNotFoundException;
572
602
  var ScanResult = {
573
603
  CLEAN: "CLEAN",
574
604
  INFECTED: "INFECTED"
@@ -644,6 +674,11 @@ var IpSetStatus = {
644
674
  ERROR: "ERROR",
645
675
  INACTIVE: "INACTIVE"
646
676
  };
677
+ var MalwareProtectionPlanStatus = {
678
+ ACTIVE: "ACTIVE",
679
+ ERROR: "ERROR",
680
+ WARNING: "WARNING"
681
+ };
647
682
  var ScanCriterionKey = {
648
683
  EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG"
649
684
  };
@@ -656,29 +691,6 @@ var ThreatIntelSetStatus = {
656
691
  ERROR: "ERROR",
657
692
  INACTIVE: "INACTIVE"
658
693
  };
659
- var UsageFeature = {
660
- CLOUD_TRAIL: "CLOUD_TRAIL",
661
- DNS_LOGS: "DNS_LOGS",
662
- EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
663
- EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING",
664
- EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
665
- EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
666
- FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING",
667
- FLOW_LOGS: "FLOW_LOGS",
668
- LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
669
- RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED",
670
- RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS",
671
- RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
672
- S3_DATA_EVENTS: "S3_DATA_EVENTS"
673
- };
674
- var UsageStatisticType = {
675
- SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT",
676
- SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE",
677
- SUM_BY_FEATURES: "SUM_BY_FEATURES",
678
- SUM_BY_RESOURCE: "SUM_BY_RESOURCE",
679
- TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
680
- TOP_RESOURCES: "TOP_RESOURCES"
681
- };
682
694
  var AccountDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
683
695
  ...obj,
684
696
  ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }
@@ -897,6 +909,25 @@ var se_CreateIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
897
909
  b.m("POST").h(headers).b(body);
898
910
  return b.build();
899
911
  }, "se_CreateIPSetCommand");
912
+ var se_CreateMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (input, context) => {
913
+ const b = (0, import_core.requestBuilder)(input, context);
914
+ const headers = {
915
+ "content-type": "application/json"
916
+ };
917
+ b.bp("/malware-protection-plan");
918
+ let body;
919
+ body = JSON.stringify(
920
+ (0, import_smithy_client.take)(input, {
921
+ actions: [, (_) => se_MalwareProtectionPlanActions(_, context), `Actions`],
922
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)(), `ClientToken`],
923
+ protectedResource: [, (_) => se_CreateProtectedResource(_, context), `ProtectedResource`],
924
+ role: [, , `Role`],
925
+ tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
926
+ })
927
+ );
928
+ b.m("POST").h(headers).b(body);
929
+ return b.build();
930
+ }, "se_CreateMalwareProtectionPlanCommand");
900
931
  var se_CreateMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
901
932
  const b = (0, import_core.requestBuilder)(input, context);
902
933
  const headers = {
@@ -1027,6 +1058,15 @@ var se_DeleteIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1027
1058
  b.m("DELETE").h(headers).b(body);
1028
1059
  return b.build();
1029
1060
  }, "se_DeleteIPSetCommand");
1061
+ var se_DeleteMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (input, context) => {
1062
+ const b = (0, import_core.requestBuilder)(input, context);
1063
+ const headers = {};
1064
+ b.bp("/malware-protection-plan/{MalwareProtectionPlanId}");
1065
+ b.p("MalwareProtectionPlanId", () => input.MalwareProtectionPlanId, "{MalwareProtectionPlanId}", false);
1066
+ let body;
1067
+ b.m("DELETE").h(headers).b(body);
1068
+ return b.build();
1069
+ }, "se_DeleteMalwareProtectionPlanCommand");
1030
1070
  var se_DeleteMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
1031
1071
  const b = (0, import_core.requestBuilder)(input, context);
1032
1072
  const headers = {
@@ -1269,6 +1309,15 @@ var se_GetIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1269
1309
  b.m("GET").h(headers).b(body);
1270
1310
  return b.build();
1271
1311
  }, "se_GetIPSetCommand");
1312
+ var se_GetMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (input, context) => {
1313
+ const b = (0, import_core.requestBuilder)(input, context);
1314
+ const headers = {};
1315
+ b.bp("/malware-protection-plan/{MalwareProtectionPlanId}");
1316
+ b.p("MalwareProtectionPlanId", () => input.MalwareProtectionPlanId, "{MalwareProtectionPlanId}", false);
1317
+ let body;
1318
+ b.m("GET").h(headers).b(body);
1319
+ return b.build();
1320
+ }, "se_GetMalwareProtectionPlanCommand");
1272
1321
  var se_GetMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
1273
1322
  const b = (0, import_core.requestBuilder)(input, context);
1274
1323
  const headers = {};
@@ -1482,6 +1531,17 @@ var se_ListIPSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
1482
1531
  b.m("GET").h(headers).q(query).b(body);
1483
1532
  return b.build();
1484
1533
  }, "se_ListIPSetsCommand");
1534
+ var se_ListMalwareProtectionPlansCommand = /* @__PURE__ */ __name(async (input, context) => {
1535
+ const b = (0, import_core.requestBuilder)(input, context);
1536
+ const headers = {};
1537
+ b.bp("/malware-protection-plan");
1538
+ const query = (0, import_smithy_client.map)({
1539
+ [_nT]: [, input[_NT]]
1540
+ });
1541
+ let body;
1542
+ b.m("GET").h(headers).q(query).b(body);
1543
+ return b.build();
1544
+ }, "se_ListMalwareProtectionPlansCommand");
1485
1545
  var se_ListMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
1486
1546
  const b = (0, import_core.requestBuilder)(input, context);
1487
1547
  const headers = {};
@@ -1713,6 +1773,24 @@ var se_UpdateIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1713
1773
  b.m("POST").h(headers).b(body);
1714
1774
  return b.build();
1715
1775
  }, "se_UpdateIPSetCommand");
1776
+ var se_UpdateMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (input, context) => {
1777
+ const b = (0, import_core.requestBuilder)(input, context);
1778
+ const headers = {
1779
+ "content-type": "application/json"
1780
+ };
1781
+ b.bp("/malware-protection-plan/{MalwareProtectionPlanId}");
1782
+ b.p("MalwareProtectionPlanId", () => input.MalwareProtectionPlanId, "{MalwareProtectionPlanId}", false);
1783
+ let body;
1784
+ body = JSON.stringify(
1785
+ (0, import_smithy_client.take)(input, {
1786
+ actions: [, (_) => se_MalwareProtectionPlanActions(_, context), `Actions`],
1787
+ protectedResource: [, (_) => se_UpdateProtectedResource(_, context), `ProtectedResource`],
1788
+ role: [, , `Role`]
1789
+ })
1790
+ );
1791
+ b.m("PATCH").h(headers).b(body);
1792
+ return b.build();
1793
+ }, "se_UpdateMalwareProtectionPlanCommand");
1716
1794
  var se_UpdateMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
1717
1795
  const b = (0, import_core.requestBuilder)(input, context);
1718
1796
  const headers = {
@@ -1876,6 +1954,20 @@ var de_CreateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1876
1954
  Object.assign(contents, doc);
1877
1955
  return contents;
1878
1956
  }, "de_CreateIPSetCommand");
1957
+ var de_CreateMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
1958
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1959
+ return de_CommandError(output, context);
1960
+ }
1961
+ const contents = (0, import_smithy_client.map)({
1962
+ $metadata: deserializeMetadata(output)
1963
+ });
1964
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1965
+ const doc = (0, import_smithy_client.take)(data, {
1966
+ MalwareProtectionPlanId: [, import_smithy_client.expectString, `malwareProtectionPlanId`]
1967
+ });
1968
+ Object.assign(contents, doc);
1969
+ return contents;
1970
+ }, "de_CreateMalwareProtectionPlanCommand");
1879
1971
  var de_CreateMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
1880
1972
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1881
1973
  return de_CommandError(output, context);
@@ -1986,6 +2078,16 @@ var de_DeleteIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1986
2078
  await (0, import_smithy_client.collectBody)(output.body, context);
1987
2079
  return contents;
1988
2080
  }, "de_DeleteIPSetCommand");
2081
+ var de_DeleteMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
2082
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2083
+ return de_CommandError(output, context);
2084
+ }
2085
+ const contents = (0, import_smithy_client.map)({
2086
+ $metadata: deserializeMetadata(output)
2087
+ });
2088
+ await (0, import_smithy_client.collectBody)(output.body, context);
2089
+ return contents;
2090
+ }, "de_DeleteMalwareProtectionPlanCommand");
1989
2091
  var de_DeleteMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
1990
2092
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1991
2093
  return de_CommandError(output, context);
@@ -2254,6 +2356,27 @@ var de_GetIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2254
2356
  Object.assign(contents, doc);
2255
2357
  return contents;
2256
2358
  }, "de_GetIPSetCommand");
2359
+ var de_GetMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
2360
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2361
+ return de_CommandError(output, context);
2362
+ }
2363
+ const contents = (0, import_smithy_client.map)({
2364
+ $metadata: deserializeMetadata(output)
2365
+ });
2366
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2367
+ const doc = (0, import_smithy_client.take)(data, {
2368
+ Actions: [, (_) => de_MalwareProtectionPlanActions(_, context), `actions`],
2369
+ Arn: [, import_smithy_client.expectString, `arn`],
2370
+ CreatedAt: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), `createdAt`],
2371
+ ProtectedResource: [, (_) => de_CreateProtectedResource(_, context), `protectedResource`],
2372
+ Role: [, import_smithy_client.expectString, `role`],
2373
+ Status: [, import_smithy_client.expectString, `status`],
2374
+ StatusReasons: [, (_) => de_MalwareProtectionPlanStatusReasonsList(_, context), `statusReasons`],
2375
+ Tags: [, import_smithy_client._json, `tags`]
2376
+ });
2377
+ Object.assign(contents, doc);
2378
+ return contents;
2379
+ }, "de_GetMalwareProtectionPlanCommand");
2257
2380
  var de_GetMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2258
2381
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2259
2382
  return de_CommandError(output, context);
@@ -2479,6 +2602,21 @@ var de_ListIPSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
2479
2602
  Object.assign(contents, doc);
2480
2603
  return contents;
2481
2604
  }, "de_ListIPSetsCommand");
2605
+ var de_ListMalwareProtectionPlansCommand = /* @__PURE__ */ __name(async (output, context) => {
2606
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2607
+ return de_CommandError(output, context);
2608
+ }
2609
+ const contents = (0, import_smithy_client.map)({
2610
+ $metadata: deserializeMetadata(output)
2611
+ });
2612
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2613
+ const doc = (0, import_smithy_client.take)(data, {
2614
+ MalwareProtectionPlans: [, (_) => de_MalwareProtectionPlansSummary(_, context), `malwareProtectionPlans`],
2615
+ NextToken: [, import_smithy_client.expectString, `nextToken`]
2616
+ });
2617
+ Object.assign(contents, doc);
2618
+ return contents;
2619
+ }, "de_ListMalwareProtectionPlansCommand");
2482
2620
  var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
2483
2621
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2484
2622
  return de_CommandError(output, context);
@@ -2669,6 +2807,16 @@ var de_UpdateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2669
2807
  await (0, import_smithy_client.collectBody)(output.body, context);
2670
2808
  return contents;
2671
2809
  }, "de_UpdateIPSetCommand");
2810
+ var de_UpdateMalwareProtectionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
2811
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2812
+ return de_CommandError(output, context);
2813
+ }
2814
+ const contents = (0, import_smithy_client.map)({
2815
+ $metadata: deserializeMetadata(output)
2816
+ });
2817
+ await (0, import_smithy_client.collectBody)(output.body, context);
2818
+ return contents;
2819
+ }, "de_UpdateMalwareProtectionPlanCommand");
2672
2820
  var de_UpdateMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2673
2821
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2674
2822
  return de_CommandError(output, context);
@@ -2742,6 +2890,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2742
2890
  case "ConflictException":
2743
2891
  case "com.amazonaws.guardduty#ConflictException":
2744
2892
  throw await de_ConflictExceptionRes(parsedOutput, context);
2893
+ case "ResourceNotFoundException":
2894
+ case "com.amazonaws.guardduty#ResourceNotFoundException":
2895
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2745
2896
  default:
2746
2897
  const parsedBody = parsedOutput.body;
2747
2898
  return throwDefaultError({
@@ -2808,6 +2959,20 @@ var de_InternalServerErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOut
2808
2959
  });
2809
2960
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2810
2961
  }, "de_InternalServerErrorExceptionRes");
2962
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2963
+ const contents = (0, import_smithy_client.map)({});
2964
+ const data = parsedOutput.body;
2965
+ const doc = (0, import_smithy_client.take)(data, {
2966
+ Message: [, import_smithy_client.expectString, `message`],
2967
+ Type: [, import_smithy_client.expectString, `__type`]
2968
+ });
2969
+ Object.assign(contents, doc);
2970
+ const exception = new ResourceNotFoundException({
2971
+ $metadata: deserializeMetadata(parsedOutput),
2972
+ ...contents
2973
+ });
2974
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2975
+ }, "de_ResourceNotFoundExceptionRes");
2811
2976
  var se_AccountDetail = /* @__PURE__ */ __name((input, context) => {
2812
2977
  return (0, import_smithy_client.take)(input, {
2813
2978
  accountId: [, , `AccountId`],
@@ -2863,6 +3028,17 @@ var se_CoverageSortCriteria = /* @__PURE__ */ __name((input, context) => {
2863
3028
  orderBy: [, , `OrderBy`]
2864
3029
  });
2865
3030
  }, "se_CoverageSortCriteria");
3031
+ var se_CreateProtectedResource = /* @__PURE__ */ __name((input, context) => {
3032
+ return (0, import_smithy_client.take)(input, {
3033
+ s3Bucket: [, (_) => se_CreateS3BucketResource(_, context), `S3Bucket`]
3034
+ });
3035
+ }, "se_CreateProtectedResource");
3036
+ var se_CreateS3BucketResource = /* @__PURE__ */ __name((input, context) => {
3037
+ return (0, import_smithy_client.take)(input, {
3038
+ bucketName: [, , `BucketName`],
3039
+ objectPrefixes: [, import_smithy_client._json, `ObjectPrefixes`]
3040
+ });
3041
+ }, "se_CreateS3BucketResource");
2866
3042
  var se_Criterion = /* @__PURE__ */ __name((input, context) => {
2867
3043
  return Object.entries(input).reduce((acc, [key, value]) => {
2868
3044
  if (value === null) {
@@ -2951,6 +3127,16 @@ var se_MalwareProtectionConfiguration = /* @__PURE__ */ __name((input, context)
2951
3127
  scanEc2InstanceWithFindings: [, (_) => se_ScanEc2InstanceWithFindings(_, context), `ScanEc2InstanceWithFindings`]
2952
3128
  });
2953
3129
  }, "se_MalwareProtectionConfiguration");
3130
+ var se_MalwareProtectionPlanActions = /* @__PURE__ */ __name((input, context) => {
3131
+ return (0, import_smithy_client.take)(input, {
3132
+ tagging: [, (_) => se_MalwareProtectionPlanTaggingAction(_, context), `Tagging`]
3133
+ });
3134
+ }, "se_MalwareProtectionPlanActions");
3135
+ var se_MalwareProtectionPlanTaggingAction = /* @__PURE__ */ __name((input, context) => {
3136
+ return (0, import_smithy_client.take)(input, {
3137
+ status: [, , `Status`]
3138
+ });
3139
+ }, "se_MalwareProtectionPlanTaggingAction");
2954
3140
  var se_MapEquals = /* @__PURE__ */ __name((input, context) => {
2955
3141
  return input.filter((e) => e != null).map((entry) => {
2956
3142
  return se_ScanConditionPair(entry, context);
@@ -3085,6 +3271,16 @@ var se_SortCriteria = /* @__PURE__ */ __name((input, context) => {
3085
3271
  orderBy: [, , `OrderBy`]
3086
3272
  });
3087
3273
  }, "se_SortCriteria");
3274
+ var se_UpdateProtectedResource = /* @__PURE__ */ __name((input, context) => {
3275
+ return (0, import_smithy_client.take)(input, {
3276
+ s3Bucket: [, (_) => se_UpdateS3BucketResource(_, context), `S3Bucket`]
3277
+ });
3278
+ }, "se_UpdateProtectedResource");
3279
+ var se_UpdateS3BucketResource = /* @__PURE__ */ __name((input, context) => {
3280
+ return (0, import_smithy_client.take)(input, {
3281
+ objectPrefixes: [, import_smithy_client._json, `ObjectPrefixes`]
3282
+ });
3283
+ }, "se_UpdateS3BucketResource");
3088
3284
  var se_UsageCriteria = /* @__PURE__ */ __name((input, context) => {
3089
3285
  return (0, import_smithy_client.take)(input, {
3090
3286
  accountIds: [, import_smithy_client._json, `AccountIds`],
@@ -3389,6 +3585,17 @@ var de_CoverageStatistics = /* @__PURE__ */ __name((output, context) => {
3389
3585
  CountByResourceType: [, import_smithy_client._json, `countByResourceType`]
3390
3586
  });
3391
3587
  }, "de_CoverageStatistics");
3588
+ var de_CreateProtectedResource = /* @__PURE__ */ __name((output, context) => {
3589
+ return (0, import_smithy_client.take)(output, {
3590
+ S3Bucket: [, (_) => de_CreateS3BucketResource(_, context), `s3Bucket`]
3591
+ });
3592
+ }, "de_CreateProtectedResource");
3593
+ var de_CreateS3BucketResource = /* @__PURE__ */ __name((output, context) => {
3594
+ return (0, import_smithy_client.take)(output, {
3595
+ BucketName: [, import_smithy_client.expectString, `bucketName`],
3596
+ ObjectPrefixes: [, import_smithy_client._json, `objectPrefixes`]
3597
+ });
3598
+ }, "de_CreateS3BucketResource");
3392
3599
  var de_Criterion = /* @__PURE__ */ __name((output, context) => {
3393
3600
  return Object.entries(output).reduce((acc, [key, value]) => {
3394
3601
  if (value === null) {
@@ -3691,6 +3898,18 @@ var de_Invitations = /* @__PURE__ */ __name((output, context) => {
3691
3898
  });
3692
3899
  return retVal;
3693
3900
  }, "de_Invitations");
3901
+ var de_ItemPath = /* @__PURE__ */ __name((output, context) => {
3902
+ return (0, import_smithy_client.take)(output, {
3903
+ Hash: [, import_smithy_client.expectString, `hash`],
3904
+ NestedItemPath: [, import_smithy_client.expectString, `nestedItemPath`]
3905
+ });
3906
+ }, "de_ItemPath");
3907
+ var de_ItemPaths = /* @__PURE__ */ __name((output, context) => {
3908
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3909
+ return de_ItemPath(entry, context);
3910
+ });
3911
+ return retVal;
3912
+ }, "de_ItemPaths");
3694
3913
  var de_KubernetesApiCallAction = /* @__PURE__ */ __name((output, context) => {
3695
3914
  return (0, import_smithy_client.take)(output, {
3696
3915
  Namespace: [, import_smithy_client.expectString, `namespace`],
@@ -3847,6 +4066,44 @@ var de_MalwareProtectionDataSourceFreeTrial = /* @__PURE__ */ __name((output, co
3847
4066
  ScanEc2InstanceWithFindings: [, (_) => de_DataSourceFreeTrial(_, context), `scanEc2InstanceWithFindings`]
3848
4067
  });
3849
4068
  }, "de_MalwareProtectionDataSourceFreeTrial");
4069
+ var de_MalwareProtectionPlanActions = /* @__PURE__ */ __name((output, context) => {
4070
+ return (0, import_smithy_client.take)(output, {
4071
+ Tagging: [, (_) => de_MalwareProtectionPlanTaggingAction(_, context), `tagging`]
4072
+ });
4073
+ }, "de_MalwareProtectionPlanActions");
4074
+ var de_MalwareProtectionPlansSummary = /* @__PURE__ */ __name((output, context) => {
4075
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4076
+ return de_MalwareProtectionPlanSummary(entry, context);
4077
+ });
4078
+ return retVal;
4079
+ }, "de_MalwareProtectionPlansSummary");
4080
+ var de_MalwareProtectionPlanStatusReason = /* @__PURE__ */ __name((output, context) => {
4081
+ return (0, import_smithy_client.take)(output, {
4082
+ Code: [, import_smithy_client.expectString, `code`],
4083
+ Message: [, import_smithy_client.expectString, `message`]
4084
+ });
4085
+ }, "de_MalwareProtectionPlanStatusReason");
4086
+ var de_MalwareProtectionPlanStatusReasonsList = /* @__PURE__ */ __name((output, context) => {
4087
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4088
+ return de_MalwareProtectionPlanStatusReason(entry, context);
4089
+ });
4090
+ return retVal;
4091
+ }, "de_MalwareProtectionPlanStatusReasonsList");
4092
+ var de_MalwareProtectionPlanSummary = /* @__PURE__ */ __name((output, context) => {
4093
+ return (0, import_smithy_client.take)(output, {
4094
+ MalwareProtectionPlanId: [, import_smithy_client.expectString, `malwareProtectionPlanId`]
4095
+ });
4096
+ }, "de_MalwareProtectionPlanSummary");
4097
+ var de_MalwareProtectionPlanTaggingAction = /* @__PURE__ */ __name((output, context) => {
4098
+ return (0, import_smithy_client.take)(output, {
4099
+ Status: [, import_smithy_client.expectString, `status`]
4100
+ });
4101
+ }, "de_MalwareProtectionPlanTaggingAction");
4102
+ var de_MalwareScanDetails = /* @__PURE__ */ __name((output, context) => {
4103
+ return (0, import_smithy_client.take)(output, {
4104
+ Threats: [, (_) => de_Threats(_, context), `threats`]
4105
+ });
4106
+ }, "de_MalwareScanDetails");
3850
4107
  var de_MapEquals = /* @__PURE__ */ __name((output, context) => {
3851
4108
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
3852
4109
  return de_ScanConditionPair(entry, context);
@@ -4277,6 +4534,7 @@ var de_S3BucketDetail = /* @__PURE__ */ __name((output, context) => {
4277
4534
  Name: [, import_smithy_client.expectString, `name`],
4278
4535
  Owner: [, (_) => de_Owner(_, context), `owner`],
4279
4536
  PublicAccess: [, (_) => de_PublicAccess(_, context), `publicAccess`],
4537
+ S3ObjectDetails: [, (_) => de_S3ObjectDetails(_, context), `s3ObjectDetails`],
4280
4538
  Tags: [, (_) => de_Tags(_, context), `tags`],
4281
4539
  Type: [, import_smithy_client.expectString, `type`]
4282
4540
  });
@@ -4292,6 +4550,21 @@ var de_S3LogsConfigurationResult = /* @__PURE__ */ __name((output, context) => {
4292
4550
  Status: [, import_smithy_client.expectString, `status`]
4293
4551
  });
4294
4552
  }, "de_S3LogsConfigurationResult");
4553
+ var de_S3ObjectDetail = /* @__PURE__ */ __name((output, context) => {
4554
+ return (0, import_smithy_client.take)(output, {
4555
+ ETag: [, import_smithy_client.expectString, `eTag`],
4556
+ Hash: [, import_smithy_client.expectString, `hash`],
4557
+ Key: [, import_smithy_client.expectString, `key`],
4558
+ ObjectArn: [, import_smithy_client.expectString, `objectArn`],
4559
+ VersionId: [, import_smithy_client.expectString, `versionId`]
4560
+ });
4561
+ }, "de_S3ObjectDetail");
4562
+ var de_S3ObjectDetails = /* @__PURE__ */ __name((output, context) => {
4563
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4564
+ return de_S3ObjectDetail(entry, context);
4565
+ });
4566
+ return retVal;
4567
+ }, "de_S3ObjectDetails");
4295
4568
  var de_Scan = /* @__PURE__ */ __name((output, context) => {
4296
4569
  return (0, import_smithy_client.take)(output, {
4297
4570
  AccountId: [, import_smithy_client.expectString, `accountId`],
@@ -4428,6 +4701,7 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
4428
4701
  EventLastSeen: [, import_smithy_client.expectString, `eventLastSeen`],
4429
4702
  Evidence: [, (_) => de_Evidence(_, context), `evidence`],
4430
4703
  FeatureName: [, import_smithy_client.expectString, `featureName`],
4704
+ MalwareScanDetails: [, (_) => de_MalwareScanDetails(_, context), `malwareScanDetails`],
4431
4705
  ResourceRole: [, import_smithy_client.expectString, `resourceRole`],
4432
4706
  RuntimeDetails: [, (_) => de_RuntimeDetails(_, context), `runtimeDetails`],
4433
4707
  ServiceName: [, import_smithy_client.expectString, `serviceName`],
@@ -4452,6 +4726,13 @@ var de_Tags = /* @__PURE__ */ __name((output, context) => {
4452
4726
  });
4453
4727
  return retVal;
4454
4728
  }, "de_Tags");
4729
+ var de_Threat = /* @__PURE__ */ __name((output, context) => {
4730
+ return (0, import_smithy_client.take)(output, {
4731
+ ItemPaths: [, (_) => de_ItemPaths(_, context), `itemPaths`],
4732
+ Name: [, import_smithy_client.expectString, `name`],
4733
+ Source: [, import_smithy_client.expectString, `source`]
4734
+ });
4735
+ }, "de_Threat");
4455
4736
  var de_ThreatDetectedByName = /* @__PURE__ */ __name((output, context) => {
4456
4737
  return (0, import_smithy_client.take)(output, {
4457
4738
  ItemCount: [, import_smithy_client.expectInt32, `itemCount`],
@@ -4473,6 +4754,12 @@ var de_ThreatIntelligenceDetails = /* @__PURE__ */ __name((output, context) => {
4473
4754
  });
4474
4755
  return retVal;
4475
4756
  }, "de_ThreatIntelligenceDetails");
4757
+ var de_Threats = /* @__PURE__ */ __name((output, context) => {
4758
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4759
+ return de_Threat(entry, context);
4760
+ });
4761
+ return retVal;
4762
+ }, "de_Threats");
4476
4763
  var de_ThreatsDetectedItemCount = /* @__PURE__ */ __name((output, context) => {
4477
4764
  return (0, import_smithy_client.take)(output, {
4478
4765
  Files: [, import_smithy_client.expectInt32, `files`]
@@ -4669,7 +4956,6 @@ var AcceptAdministratorInvitationCommand = _AcceptAdministratorInvitationCommand
4669
4956
 
4670
4957
 
4671
4958
 
4672
-
4673
4959
  var _AcceptInvitationCommand = class _AcceptInvitationCommand extends import_smithy_client.Command.classBuilder().ep({
4674
4960
  ...commonParams
4675
4961
  }).m(function(Command, cs, config, o) {
@@ -4686,7 +4972,6 @@ var AcceptInvitationCommand = _AcceptInvitationCommand;
4686
4972
 
4687
4973
 
4688
4974
 
4689
-
4690
4975
  var _ArchiveFindingsCommand = class _ArchiveFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
4691
4976
  ...commonParams
4692
4977
  }).m(function(Command, cs, config, o) {
@@ -4703,7 +4988,6 @@ var ArchiveFindingsCommand = _ArchiveFindingsCommand;
4703
4988
 
4704
4989
 
4705
4990
 
4706
-
4707
4991
  var _CreateDetectorCommand = class _CreateDetectorCommand extends import_smithy_client.Command.classBuilder().ep({
4708
4992
  ...commonParams
4709
4993
  }).m(function(Command, cs, config, o) {
@@ -4720,7 +5004,6 @@ var CreateDetectorCommand = _CreateDetectorCommand;
4720
5004
 
4721
5005
 
4722
5006
 
4723
-
4724
5007
  var _CreateFilterCommand = class _CreateFilterCommand extends import_smithy_client.Command.classBuilder().ep({
4725
5008
  ...commonParams
4726
5009
  }).m(function(Command, cs, config, o) {
@@ -4737,7 +5020,6 @@ var CreateFilterCommand = _CreateFilterCommand;
4737
5020
 
4738
5021
 
4739
5022
 
4740
-
4741
5023
  var _CreateIPSetCommand = class _CreateIPSetCommand extends import_smithy_client.Command.classBuilder().ep({
4742
5024
  ...commonParams
4743
5025
  }).m(function(Command, cs, config, o) {
@@ -4750,9 +5032,24 @@ var _CreateIPSetCommand = class _CreateIPSetCommand extends import_smithy_client
4750
5032
  __name(_CreateIPSetCommand, "CreateIPSetCommand");
4751
5033
  var CreateIPSetCommand = _CreateIPSetCommand;
4752
5034
 
4753
- // src/commands/CreateMembersCommand.ts
5035
+ // src/commands/CreateMalwareProtectionPlanCommand.ts
5036
+
4754
5037
 
4755
5038
 
5039
+ var _CreateMalwareProtectionPlanCommand = class _CreateMalwareProtectionPlanCommand extends import_smithy_client.Command.classBuilder().ep({
5040
+ ...commonParams
5041
+ }).m(function(Command, cs, config, o) {
5042
+ return [
5043
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5044
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5045
+ ];
5046
+ }).s("GuardDutyAPIService", "CreateMalwareProtectionPlan", {}).n("GuardDutyClient", "CreateMalwareProtectionPlanCommand").f(void 0, void 0).ser(se_CreateMalwareProtectionPlanCommand).de(de_CreateMalwareProtectionPlanCommand).build() {
5047
+ };
5048
+ __name(_CreateMalwareProtectionPlanCommand, "CreateMalwareProtectionPlanCommand");
5049
+ var CreateMalwareProtectionPlanCommand = _CreateMalwareProtectionPlanCommand;
5050
+
5051
+ // src/commands/CreateMembersCommand.ts
5052
+
4756
5053
 
4757
5054
 
4758
5055
  var _CreateMembersCommand = class _CreateMembersCommand extends import_smithy_client.Command.classBuilder().ep({
@@ -4771,7 +5068,6 @@ var CreateMembersCommand = _CreateMembersCommand;
4771
5068
 
4772
5069
 
4773
5070
 
4774
-
4775
5071
  var _CreatePublishingDestinationCommand = class _CreatePublishingDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
4776
5072
  ...commonParams
4777
5073
  }).m(function(Command, cs, config, o) {
@@ -4788,7 +5084,6 @@ var CreatePublishingDestinationCommand = _CreatePublishingDestinationCommand;
4788
5084
 
4789
5085
 
4790
5086
 
4791
-
4792
5087
  var _CreateSampleFindingsCommand = class _CreateSampleFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
4793
5088
  ...commonParams
4794
5089
  }).m(function(Command, cs, config, o) {
@@ -4805,7 +5100,6 @@ var CreateSampleFindingsCommand = _CreateSampleFindingsCommand;
4805
5100
 
4806
5101
 
4807
5102
 
4808
-
4809
5103
  var _CreateThreatIntelSetCommand = class _CreateThreatIntelSetCommand extends import_smithy_client.Command.classBuilder().ep({
4810
5104
  ...commonParams
4811
5105
  }).m(function(Command, cs, config, o) {
@@ -4822,7 +5116,6 @@ var CreateThreatIntelSetCommand = _CreateThreatIntelSetCommand;
4822
5116
 
4823
5117
 
4824
5118
 
4825
-
4826
5119
  var _DeclineInvitationsCommand = class _DeclineInvitationsCommand extends import_smithy_client.Command.classBuilder().ep({
4827
5120
  ...commonParams
4828
5121
  }).m(function(Command, cs, config, o) {
@@ -4839,7 +5132,6 @@ var DeclineInvitationsCommand = _DeclineInvitationsCommand;
4839
5132
 
4840
5133
 
4841
5134
 
4842
-
4843
5135
  var _DeleteDetectorCommand = class _DeleteDetectorCommand extends import_smithy_client.Command.classBuilder().ep({
4844
5136
  ...commonParams
4845
5137
  }).m(function(Command, cs, config, o) {
@@ -4856,7 +5148,6 @@ var DeleteDetectorCommand = _DeleteDetectorCommand;
4856
5148
 
4857
5149
 
4858
5150
 
4859
-
4860
5151
  var _DeleteFilterCommand = class _DeleteFilterCommand extends import_smithy_client.Command.classBuilder().ep({
4861
5152
  ...commonParams
4862
5153
  }).m(function(Command, cs, config, o) {
@@ -4873,7 +5164,6 @@ var DeleteFilterCommand = _DeleteFilterCommand;
4873
5164
 
4874
5165
 
4875
5166
 
4876
-
4877
5167
  var _DeleteInvitationsCommand = class _DeleteInvitationsCommand extends import_smithy_client.Command.classBuilder().ep({
4878
5168
  ...commonParams
4879
5169
  }).m(function(Command, cs, config, o) {
@@ -4890,7 +5180,6 @@ var DeleteInvitationsCommand = _DeleteInvitationsCommand;
4890
5180
 
4891
5181
 
4892
5182
 
4893
-
4894
5183
  var _DeleteIPSetCommand = class _DeleteIPSetCommand extends import_smithy_client.Command.classBuilder().ep({
4895
5184
  ...commonParams
4896
5185
  }).m(function(Command, cs, config, o) {
@@ -4903,8 +5192,23 @@ var _DeleteIPSetCommand = class _DeleteIPSetCommand extends import_smithy_client
4903
5192
  __name(_DeleteIPSetCommand, "DeleteIPSetCommand");
4904
5193
  var DeleteIPSetCommand = _DeleteIPSetCommand;
4905
5194
 
4906
- // src/commands/DeleteMembersCommand.ts
5195
+ // src/commands/DeleteMalwareProtectionPlanCommand.ts
5196
+
5197
+
5198
+
5199
+ var _DeleteMalwareProtectionPlanCommand = class _DeleteMalwareProtectionPlanCommand extends import_smithy_client.Command.classBuilder().ep({
5200
+ ...commonParams
5201
+ }).m(function(Command, cs, config, o) {
5202
+ return [
5203
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5204
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5205
+ ];
5206
+ }).s("GuardDutyAPIService", "DeleteMalwareProtectionPlan", {}).n("GuardDutyClient", "DeleteMalwareProtectionPlanCommand").f(void 0, void 0).ser(se_DeleteMalwareProtectionPlanCommand).de(de_DeleteMalwareProtectionPlanCommand).build() {
5207
+ };
5208
+ __name(_DeleteMalwareProtectionPlanCommand, "DeleteMalwareProtectionPlanCommand");
5209
+ var DeleteMalwareProtectionPlanCommand = _DeleteMalwareProtectionPlanCommand;
4907
5210
 
5211
+ // src/commands/DeleteMembersCommand.ts
4908
5212
 
4909
5213
 
4910
5214
 
@@ -4924,7 +5228,6 @@ var DeleteMembersCommand = _DeleteMembersCommand;
4924
5228
 
4925
5229
 
4926
5230
 
4927
-
4928
5231
  var _DeletePublishingDestinationCommand = class _DeletePublishingDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
4929
5232
  ...commonParams
4930
5233
  }).m(function(Command, cs, config, o) {
@@ -4941,7 +5244,6 @@ var DeletePublishingDestinationCommand = _DeletePublishingDestinationCommand;
4941
5244
 
4942
5245
 
4943
5246
 
4944
-
4945
5247
  var _DeleteThreatIntelSetCommand = class _DeleteThreatIntelSetCommand extends import_smithy_client.Command.classBuilder().ep({
4946
5248
  ...commonParams
4947
5249
  }).m(function(Command, cs, config, o) {
@@ -4958,7 +5260,6 @@ var DeleteThreatIntelSetCommand = _DeleteThreatIntelSetCommand;
4958
5260
 
4959
5261
 
4960
5262
 
4961
-
4962
5263
  var _DescribeMalwareScansCommand = class _DescribeMalwareScansCommand extends import_smithy_client.Command.classBuilder().ep({
4963
5264
  ...commonParams
4964
5265
  }).m(function(Command, cs, config, o) {
@@ -4975,7 +5276,6 @@ var DescribeMalwareScansCommand = _DescribeMalwareScansCommand;
4975
5276
 
4976
5277
 
4977
5278
 
4978
-
4979
5279
  var _DescribeOrganizationConfigurationCommand = class _DescribeOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
4980
5280
  ...commonParams
4981
5281
  }).m(function(Command, cs, config, o) {
@@ -4992,7 +5292,6 @@ var DescribeOrganizationConfigurationCommand = _DescribeOrganizationConfiguratio
4992
5292
 
4993
5293
 
4994
5294
 
4995
-
4996
5295
  var _DescribePublishingDestinationCommand = class _DescribePublishingDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
4997
5296
  ...commonParams
4998
5297
  }).m(function(Command, cs, config, o) {
@@ -5009,7 +5308,6 @@ var DescribePublishingDestinationCommand = _DescribePublishingDestinationCommand
5009
5308
 
5010
5309
 
5011
5310
 
5012
-
5013
5311
  var _DisableOrganizationAdminAccountCommand = class _DisableOrganizationAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
5014
5312
  ...commonParams
5015
5313
  }).m(function(Command, cs, config, o) {
@@ -5026,7 +5324,6 @@ var DisableOrganizationAdminAccountCommand = _DisableOrganizationAdminAccountCom
5026
5324
 
5027
5325
 
5028
5326
 
5029
-
5030
5327
  var _DisassociateFromAdministratorAccountCommand = class _DisassociateFromAdministratorAccountCommand extends import_smithy_client.Command.classBuilder().ep({
5031
5328
  ...commonParams
5032
5329
  }).m(function(Command, cs, config, o) {
@@ -5043,7 +5340,6 @@ var DisassociateFromAdministratorAccountCommand = _DisassociateFromAdministrator
5043
5340
 
5044
5341
 
5045
5342
 
5046
-
5047
5343
  var _DisassociateFromMasterAccountCommand = class _DisassociateFromMasterAccountCommand extends import_smithy_client.Command.classBuilder().ep({
5048
5344
  ...commonParams
5049
5345
  }).m(function(Command, cs, config, o) {
@@ -5060,7 +5356,6 @@ var DisassociateFromMasterAccountCommand = _DisassociateFromMasterAccountCommand
5060
5356
 
5061
5357
 
5062
5358
 
5063
-
5064
5359
  var _DisassociateMembersCommand = class _DisassociateMembersCommand extends import_smithy_client.Command.classBuilder().ep({
5065
5360
  ...commonParams
5066
5361
  }).m(function(Command, cs, config, o) {
@@ -5077,7 +5372,6 @@ var DisassociateMembersCommand = _DisassociateMembersCommand;
5077
5372
 
5078
5373
 
5079
5374
 
5080
-
5081
5375
  var _EnableOrganizationAdminAccountCommand = class _EnableOrganizationAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
5082
5376
  ...commonParams
5083
5377
  }).m(function(Command, cs, config, o) {
@@ -5094,7 +5388,6 @@ var EnableOrganizationAdminAccountCommand = _EnableOrganizationAdminAccountComma
5094
5388
 
5095
5389
 
5096
5390
 
5097
-
5098
5391
  var _GetAdministratorAccountCommand = class _GetAdministratorAccountCommand extends import_smithy_client.Command.classBuilder().ep({
5099
5392
  ...commonParams
5100
5393
  }).m(function(Command, cs, config, o) {
@@ -5111,7 +5404,6 @@ var GetAdministratorAccountCommand = _GetAdministratorAccountCommand;
5111
5404
 
5112
5405
 
5113
5406
 
5114
-
5115
5407
  var _GetCoverageStatisticsCommand = class _GetCoverageStatisticsCommand extends import_smithy_client.Command.classBuilder().ep({
5116
5408
  ...commonParams
5117
5409
  }).m(function(Command, cs, config, o) {
@@ -5128,7 +5420,6 @@ var GetCoverageStatisticsCommand = _GetCoverageStatisticsCommand;
5128
5420
 
5129
5421
 
5130
5422
 
5131
-
5132
5423
  var _GetDetectorCommand = class _GetDetectorCommand extends import_smithy_client.Command.classBuilder().ep({
5133
5424
  ...commonParams
5134
5425
  }).m(function(Command, cs, config, o) {
@@ -5145,7 +5436,6 @@ var GetDetectorCommand = _GetDetectorCommand;
5145
5436
 
5146
5437
 
5147
5438
 
5148
-
5149
5439
  var _GetFilterCommand = class _GetFilterCommand extends import_smithy_client.Command.classBuilder().ep({
5150
5440
  ...commonParams
5151
5441
  }).m(function(Command, cs, config, o) {
@@ -5162,7 +5452,6 @@ var GetFilterCommand = _GetFilterCommand;
5162
5452
 
5163
5453
 
5164
5454
 
5165
-
5166
5455
  var _GetFindingsCommand = class _GetFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
5167
5456
  ...commonParams
5168
5457
  }).m(function(Command, cs, config, o) {
@@ -5179,7 +5468,6 @@ var GetFindingsCommand = _GetFindingsCommand;
5179
5468
 
5180
5469
 
5181
5470
 
5182
-
5183
5471
  var _GetFindingsStatisticsCommand = class _GetFindingsStatisticsCommand extends import_smithy_client.Command.classBuilder().ep({
5184
5472
  ...commonParams
5185
5473
  }).m(function(Command, cs, config, o) {
@@ -5196,7 +5484,6 @@ var GetFindingsStatisticsCommand = _GetFindingsStatisticsCommand;
5196
5484
 
5197
5485
 
5198
5486
 
5199
-
5200
5487
  var _GetInvitationsCountCommand = class _GetInvitationsCountCommand extends import_smithy_client.Command.classBuilder().ep({
5201
5488
  ...commonParams
5202
5489
  }).m(function(Command, cs, config, o) {
@@ -5213,7 +5500,6 @@ var GetInvitationsCountCommand = _GetInvitationsCountCommand;
5213
5500
 
5214
5501
 
5215
5502
 
5216
-
5217
5503
  var _GetIPSetCommand = class _GetIPSetCommand extends import_smithy_client.Command.classBuilder().ep({
5218
5504
  ...commonParams
5219
5505
  }).m(function(Command, cs, config, o) {
@@ -5226,8 +5512,23 @@ var _GetIPSetCommand = class _GetIPSetCommand extends import_smithy_client.Comma
5226
5512
  __name(_GetIPSetCommand, "GetIPSetCommand");
5227
5513
  var GetIPSetCommand = _GetIPSetCommand;
5228
5514
 
5229
- // src/commands/GetMalwareScanSettingsCommand.ts
5515
+ // src/commands/GetMalwareProtectionPlanCommand.ts
5516
+
5517
+
5518
+
5519
+ var _GetMalwareProtectionPlanCommand = class _GetMalwareProtectionPlanCommand extends import_smithy_client.Command.classBuilder().ep({
5520
+ ...commonParams
5521
+ }).m(function(Command, cs, config, o) {
5522
+ return [
5523
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5524
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5525
+ ];
5526
+ }).s("GuardDutyAPIService", "GetMalwareProtectionPlan", {}).n("GuardDutyClient", "GetMalwareProtectionPlanCommand").f(void 0, void 0).ser(se_GetMalwareProtectionPlanCommand).de(de_GetMalwareProtectionPlanCommand).build() {
5527
+ };
5528
+ __name(_GetMalwareProtectionPlanCommand, "GetMalwareProtectionPlanCommand");
5529
+ var GetMalwareProtectionPlanCommand = _GetMalwareProtectionPlanCommand;
5230
5530
 
5531
+ // src/commands/GetMalwareScanSettingsCommand.ts
5231
5532
 
5232
5533
 
5233
5534
 
@@ -5247,7 +5548,6 @@ var GetMalwareScanSettingsCommand = _GetMalwareScanSettingsCommand;
5247
5548
 
5248
5549
 
5249
5550
 
5250
-
5251
5551
  var _GetMasterAccountCommand = class _GetMasterAccountCommand extends import_smithy_client.Command.classBuilder().ep({
5252
5552
  ...commonParams
5253
5553
  }).m(function(Command, cs, config, o) {
@@ -5264,7 +5564,6 @@ var GetMasterAccountCommand = _GetMasterAccountCommand;
5264
5564
 
5265
5565
 
5266
5566
 
5267
-
5268
5567
  var _GetMemberDetectorsCommand = class _GetMemberDetectorsCommand extends import_smithy_client.Command.classBuilder().ep({
5269
5568
  ...commonParams
5270
5569
  }).m(function(Command, cs, config, o) {
@@ -5281,7 +5580,6 @@ var GetMemberDetectorsCommand = _GetMemberDetectorsCommand;
5281
5580
 
5282
5581
 
5283
5582
 
5284
-
5285
5583
  var _GetMembersCommand = class _GetMembersCommand extends import_smithy_client.Command.classBuilder().ep({
5286
5584
  ...commonParams
5287
5585
  }).m(function(Command, cs, config, o) {
@@ -5298,7 +5596,6 @@ var GetMembersCommand = _GetMembersCommand;
5298
5596
 
5299
5597
 
5300
5598
 
5301
-
5302
5599
  var _GetOrganizationStatisticsCommand = class _GetOrganizationStatisticsCommand extends import_smithy_client.Command.classBuilder().ep({
5303
5600
  ...commonParams
5304
5601
  }).m(function(Command, cs, config, o) {
@@ -5315,7 +5612,6 @@ var GetOrganizationStatisticsCommand = _GetOrganizationStatisticsCommand;
5315
5612
 
5316
5613
 
5317
5614
 
5318
-
5319
5615
  var _GetRemainingFreeTrialDaysCommand = class _GetRemainingFreeTrialDaysCommand extends import_smithy_client.Command.classBuilder().ep({
5320
5616
  ...commonParams
5321
5617
  }).m(function(Command, cs, config, o) {
@@ -5332,7 +5628,6 @@ var GetRemainingFreeTrialDaysCommand = _GetRemainingFreeTrialDaysCommand;
5332
5628
 
5333
5629
 
5334
5630
 
5335
-
5336
5631
  var _GetThreatIntelSetCommand = class _GetThreatIntelSetCommand extends import_smithy_client.Command.classBuilder().ep({
5337
5632
  ...commonParams
5338
5633
  }).m(function(Command, cs, config, o) {
@@ -5349,7 +5644,6 @@ var GetThreatIntelSetCommand = _GetThreatIntelSetCommand;
5349
5644
 
5350
5645
 
5351
5646
 
5352
-
5353
5647
  var _GetUsageStatisticsCommand = class _GetUsageStatisticsCommand extends import_smithy_client.Command.classBuilder().ep({
5354
5648
  ...commonParams
5355
5649
  }).m(function(Command, cs, config, o) {
@@ -5366,7 +5660,6 @@ var GetUsageStatisticsCommand = _GetUsageStatisticsCommand;
5366
5660
 
5367
5661
 
5368
5662
 
5369
-
5370
5663
  var _InviteMembersCommand = class _InviteMembersCommand extends import_smithy_client.Command.classBuilder().ep({
5371
5664
  ...commonParams
5372
5665
  }).m(function(Command, cs, config, o) {
@@ -5383,7 +5676,6 @@ var InviteMembersCommand = _InviteMembersCommand;
5383
5676
 
5384
5677
 
5385
5678
 
5386
-
5387
5679
  var _ListCoverageCommand = class _ListCoverageCommand extends import_smithy_client.Command.classBuilder().ep({
5388
5680
  ...commonParams
5389
5681
  }).m(function(Command, cs, config, o) {
@@ -5400,7 +5692,6 @@ var ListCoverageCommand = _ListCoverageCommand;
5400
5692
 
5401
5693
 
5402
5694
 
5403
-
5404
5695
  var _ListDetectorsCommand = class _ListDetectorsCommand extends import_smithy_client.Command.classBuilder().ep({
5405
5696
  ...commonParams
5406
5697
  }).m(function(Command, cs, config, o) {
@@ -5417,7 +5708,6 @@ var ListDetectorsCommand = _ListDetectorsCommand;
5417
5708
 
5418
5709
 
5419
5710
 
5420
-
5421
5711
  var _ListFiltersCommand = class _ListFiltersCommand extends import_smithy_client.Command.classBuilder().ep({
5422
5712
  ...commonParams
5423
5713
  }).m(function(Command, cs, config, o) {
@@ -5434,7 +5724,6 @@ var ListFiltersCommand = _ListFiltersCommand;
5434
5724
 
5435
5725
 
5436
5726
 
5437
-
5438
5727
  var _ListFindingsCommand = class _ListFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
5439
5728
  ...commonParams
5440
5729
  }).m(function(Command, cs, config, o) {
@@ -5451,7 +5740,6 @@ var ListFindingsCommand = _ListFindingsCommand;
5451
5740
 
5452
5741
 
5453
5742
 
5454
-
5455
5743
  var _ListInvitationsCommand = class _ListInvitationsCommand extends import_smithy_client.Command.classBuilder().ep({
5456
5744
  ...commonParams
5457
5745
  }).m(function(Command, cs, config, o) {
@@ -5468,7 +5756,6 @@ var ListInvitationsCommand = _ListInvitationsCommand;
5468
5756
 
5469
5757
 
5470
5758
 
5471
-
5472
5759
  var _ListIPSetsCommand = class _ListIPSetsCommand extends import_smithy_client.Command.classBuilder().ep({
5473
5760
  ...commonParams
5474
5761
  }).m(function(Command, cs, config, o) {
@@ -5481,13 +5768,51 @@ var _ListIPSetsCommand = class _ListIPSetsCommand extends import_smithy_client.C
5481
5768
  __name(_ListIPSetsCommand, "ListIPSetsCommand");
5482
5769
  var ListIPSetsCommand = _ListIPSetsCommand;
5483
5770
 
5484
- // src/commands/ListMembersCommand.ts
5771
+ // src/commands/ListMalwareProtectionPlansCommand.ts
5772
+
5773
+
5485
5774
 
5775
+ var _ListMalwareProtectionPlansCommand = class _ListMalwareProtectionPlansCommand extends import_smithy_client.Command.classBuilder().ep({
5776
+ ...commonParams
5777
+ }).m(function(Command, cs, config, o) {
5778
+ return [
5779
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5780
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5781
+ ];
5782
+ }).s("GuardDutyAPIService", "ListMalwareProtectionPlans", {}).n("GuardDutyClient", "ListMalwareProtectionPlansCommand").f(void 0, void 0).ser(se_ListMalwareProtectionPlansCommand).de(de_ListMalwareProtectionPlansCommand).build() {
5783
+ };
5784
+ __name(_ListMalwareProtectionPlansCommand, "ListMalwareProtectionPlansCommand");
5785
+ var ListMalwareProtectionPlansCommand = _ListMalwareProtectionPlansCommand;
5786
+
5787
+ // src/commands/ListMembersCommand.ts
5486
5788
 
5487
5789
 
5488
5790
 
5489
5791
 
5490
5792
  // src/models/models_1.ts
5793
+ var UsageFeature = {
5794
+ CLOUD_TRAIL: "CLOUD_TRAIL",
5795
+ DNS_LOGS: "DNS_LOGS",
5796
+ EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
5797
+ EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING",
5798
+ EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
5799
+ EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
5800
+ FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING",
5801
+ FLOW_LOGS: "FLOW_LOGS",
5802
+ LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
5803
+ RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED",
5804
+ RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS",
5805
+ RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
5806
+ S3_DATA_EVENTS: "S3_DATA_EVENTS"
5807
+ };
5808
+ var UsageStatisticType = {
5809
+ SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT",
5810
+ SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE",
5811
+ SUM_BY_FEATURES: "SUM_BY_FEATURES",
5812
+ SUM_BY_RESOURCE: "SUM_BY_RESOURCE",
5813
+ TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
5814
+ TOP_RESOURCES: "TOP_RESOURCES"
5815
+ };
5491
5816
  var ListMembersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5492
5817
  ...obj,
5493
5818
  ...obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }
@@ -5510,7 +5835,6 @@ var ListMembersCommand = _ListMembersCommand;
5510
5835
 
5511
5836
 
5512
5837
 
5513
-
5514
5838
  var _ListOrganizationAdminAccountsCommand = class _ListOrganizationAdminAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
5515
5839
  ...commonParams
5516
5840
  }).m(function(Command, cs, config, o) {
@@ -5527,7 +5851,6 @@ var ListOrganizationAdminAccountsCommand = _ListOrganizationAdminAccountsCommand
5527
5851
 
5528
5852
 
5529
5853
 
5530
-
5531
5854
  var _ListPublishingDestinationsCommand = class _ListPublishingDestinationsCommand extends import_smithy_client.Command.classBuilder().ep({
5532
5855
  ...commonParams
5533
5856
  }).m(function(Command, cs, config, o) {
@@ -5544,7 +5867,6 @@ var ListPublishingDestinationsCommand = _ListPublishingDestinationsCommand;
5544
5867
 
5545
5868
 
5546
5869
 
5547
-
5548
5870
  var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
5549
5871
  ...commonParams
5550
5872
  }).m(function(Command, cs, config, o) {
@@ -5561,7 +5883,6 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
5561
5883
 
5562
5884
 
5563
5885
 
5564
-
5565
5886
  var _ListThreatIntelSetsCommand = class _ListThreatIntelSetsCommand extends import_smithy_client.Command.classBuilder().ep({
5566
5887
  ...commonParams
5567
5888
  }).m(function(Command, cs, config, o) {
@@ -5578,7 +5899,6 @@ var ListThreatIntelSetsCommand = _ListThreatIntelSetsCommand;
5578
5899
 
5579
5900
 
5580
5901
 
5581
-
5582
5902
  var _StartMalwareScanCommand = class _StartMalwareScanCommand extends import_smithy_client.Command.classBuilder().ep({
5583
5903
  ...commonParams
5584
5904
  }).m(function(Command, cs, config, o) {
@@ -5595,7 +5915,6 @@ var StartMalwareScanCommand = _StartMalwareScanCommand;
5595
5915
 
5596
5916
 
5597
5917
 
5598
-
5599
5918
  var _StartMonitoringMembersCommand = class _StartMonitoringMembersCommand extends import_smithy_client.Command.classBuilder().ep({
5600
5919
  ...commonParams
5601
5920
  }).m(function(Command, cs, config, o) {
@@ -5612,7 +5931,6 @@ var StartMonitoringMembersCommand = _StartMonitoringMembersCommand;
5612
5931
 
5613
5932
 
5614
5933
 
5615
-
5616
5934
  var _StopMonitoringMembersCommand = class _StopMonitoringMembersCommand extends import_smithy_client.Command.classBuilder().ep({
5617
5935
  ...commonParams
5618
5936
  }).m(function(Command, cs, config, o) {
@@ -5629,7 +5947,6 @@ var StopMonitoringMembersCommand = _StopMonitoringMembersCommand;
5629
5947
 
5630
5948
 
5631
5949
 
5632
-
5633
5950
  var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
5634
5951
  ...commonParams
5635
5952
  }).m(function(Command, cs, config, o) {
@@ -5646,7 +5963,6 @@ var TagResourceCommand = _TagResourceCommand;
5646
5963
 
5647
5964
 
5648
5965
 
5649
-
5650
5966
  var _UnarchiveFindingsCommand = class _UnarchiveFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
5651
5967
  ...commonParams
5652
5968
  }).m(function(Command, cs, config, o) {
@@ -5663,7 +5979,6 @@ var UnarchiveFindingsCommand = _UnarchiveFindingsCommand;
5663
5979
 
5664
5980
 
5665
5981
 
5666
-
5667
5982
  var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
5668
5983
  ...commonParams
5669
5984
  }).m(function(Command, cs, config, o) {
@@ -5680,7 +5995,6 @@ var UntagResourceCommand = _UntagResourceCommand;
5680
5995
 
5681
5996
 
5682
5997
 
5683
-
5684
5998
  var _UpdateDetectorCommand = class _UpdateDetectorCommand extends import_smithy_client.Command.classBuilder().ep({
5685
5999
  ...commonParams
5686
6000
  }).m(function(Command, cs, config, o) {
@@ -5697,7 +6011,6 @@ var UpdateDetectorCommand = _UpdateDetectorCommand;
5697
6011
 
5698
6012
 
5699
6013
 
5700
-
5701
6014
  var _UpdateFilterCommand = class _UpdateFilterCommand extends import_smithy_client.Command.classBuilder().ep({
5702
6015
  ...commonParams
5703
6016
  }).m(function(Command, cs, config, o) {
@@ -5714,7 +6027,6 @@ var UpdateFilterCommand = _UpdateFilterCommand;
5714
6027
 
5715
6028
 
5716
6029
 
5717
-
5718
6030
  var _UpdateFindingsFeedbackCommand = class _UpdateFindingsFeedbackCommand extends import_smithy_client.Command.classBuilder().ep({
5719
6031
  ...commonParams
5720
6032
  }).m(function(Command, cs, config, o) {
@@ -5731,7 +6043,6 @@ var UpdateFindingsFeedbackCommand = _UpdateFindingsFeedbackCommand;
5731
6043
 
5732
6044
 
5733
6045
 
5734
-
5735
6046
  var _UpdateIPSetCommand = class _UpdateIPSetCommand extends import_smithy_client.Command.classBuilder().ep({
5736
6047
  ...commonParams
5737
6048
  }).m(function(Command, cs, config, o) {
@@ -5744,8 +6055,23 @@ var _UpdateIPSetCommand = class _UpdateIPSetCommand extends import_smithy_client
5744
6055
  __name(_UpdateIPSetCommand, "UpdateIPSetCommand");
5745
6056
  var UpdateIPSetCommand = _UpdateIPSetCommand;
5746
6057
 
5747
- // src/commands/UpdateMalwareScanSettingsCommand.ts
6058
+ // src/commands/UpdateMalwareProtectionPlanCommand.ts
6059
+
6060
+
6061
+
6062
+ var _UpdateMalwareProtectionPlanCommand = class _UpdateMalwareProtectionPlanCommand extends import_smithy_client.Command.classBuilder().ep({
6063
+ ...commonParams
6064
+ }).m(function(Command, cs, config, o) {
6065
+ return [
6066
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6067
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6068
+ ];
6069
+ }).s("GuardDutyAPIService", "UpdateMalwareProtectionPlan", {}).n("GuardDutyClient", "UpdateMalwareProtectionPlanCommand").f(void 0, void 0).ser(se_UpdateMalwareProtectionPlanCommand).de(de_UpdateMalwareProtectionPlanCommand).build() {
6070
+ };
6071
+ __name(_UpdateMalwareProtectionPlanCommand, "UpdateMalwareProtectionPlanCommand");
6072
+ var UpdateMalwareProtectionPlanCommand = _UpdateMalwareProtectionPlanCommand;
5748
6073
 
6074
+ // src/commands/UpdateMalwareScanSettingsCommand.ts
5749
6075
 
5750
6076
 
5751
6077
 
@@ -5765,7 +6091,6 @@ var UpdateMalwareScanSettingsCommand = _UpdateMalwareScanSettingsCommand;
5765
6091
 
5766
6092
 
5767
6093
 
5768
-
5769
6094
  var _UpdateMemberDetectorsCommand = class _UpdateMemberDetectorsCommand extends import_smithy_client.Command.classBuilder().ep({
5770
6095
  ...commonParams
5771
6096
  }).m(function(Command, cs, config, o) {
@@ -5782,7 +6107,6 @@ var UpdateMemberDetectorsCommand = _UpdateMemberDetectorsCommand;
5782
6107
 
5783
6108
 
5784
6109
 
5785
-
5786
6110
  var _UpdateOrganizationConfigurationCommand = class _UpdateOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
5787
6111
  ...commonParams
5788
6112
  }).m(function(Command, cs, config, o) {
@@ -5799,7 +6123,6 @@ var UpdateOrganizationConfigurationCommand = _UpdateOrganizationConfigurationCom
5799
6123
 
5800
6124
 
5801
6125
 
5802
-
5803
6126
  var _UpdatePublishingDestinationCommand = class _UpdatePublishingDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
5804
6127
  ...commonParams
5805
6128
  }).m(function(Command, cs, config, o) {
@@ -5816,7 +6139,6 @@ var UpdatePublishingDestinationCommand = _UpdatePublishingDestinationCommand;
5816
6139
 
5817
6140
 
5818
6141
 
5819
-
5820
6142
  var _UpdateThreatIntelSetCommand = class _UpdateThreatIntelSetCommand extends import_smithy_client.Command.classBuilder().ep({
5821
6143
  ...commonParams
5822
6144
  }).m(function(Command, cs, config, o) {
@@ -5837,6 +6159,7 @@ var commands = {
5837
6159
  CreateDetectorCommand,
5838
6160
  CreateFilterCommand,
5839
6161
  CreateIPSetCommand,
6162
+ CreateMalwareProtectionPlanCommand,
5840
6163
  CreateMembersCommand,
5841
6164
  CreatePublishingDestinationCommand,
5842
6165
  CreateSampleFindingsCommand,
@@ -5846,6 +6169,7 @@ var commands = {
5846
6169
  DeleteFilterCommand,
5847
6170
  DeleteInvitationsCommand,
5848
6171
  DeleteIPSetCommand,
6172
+ DeleteMalwareProtectionPlanCommand,
5849
6173
  DeleteMembersCommand,
5850
6174
  DeletePublishingDestinationCommand,
5851
6175
  DeleteThreatIntelSetCommand,
@@ -5865,6 +6189,7 @@ var commands = {
5865
6189
  GetFindingsStatisticsCommand,
5866
6190
  GetInvitationsCountCommand,
5867
6191
  GetIPSetCommand,
6192
+ GetMalwareProtectionPlanCommand,
5868
6193
  GetMalwareScanSettingsCommand,
5869
6194
  GetMasterAccountCommand,
5870
6195
  GetMemberDetectorsCommand,
@@ -5880,6 +6205,7 @@ var commands = {
5880
6205
  ListFindingsCommand,
5881
6206
  ListInvitationsCommand,
5882
6207
  ListIPSetsCommand,
6208
+ ListMalwareProtectionPlansCommand,
5883
6209
  ListMembersCommand,
5884
6210
  ListOrganizationAdminAccountsCommand,
5885
6211
  ListPublishingDestinationsCommand,
@@ -5895,6 +6221,7 @@ var commands = {
5895
6221
  UpdateFilterCommand,
5896
6222
  UpdateFindingsFeedbackCommand,
5897
6223
  UpdateIPSetCommand,
6224
+ UpdateMalwareProtectionPlanCommand,
5898
6225
  UpdateMalwareScanSettingsCommand,
5899
6226
  UpdateMemberDetectorsCommand,
5900
6227
  UpdateOrganizationConfigurationCommand,
@@ -5972,6 +6299,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
5972
6299
  CreateDetectorCommand,
5973
6300
  CreateFilterCommand,
5974
6301
  CreateIPSetCommand,
6302
+ CreateMalwareProtectionPlanCommand,
5975
6303
  CreateMembersCommand,
5976
6304
  CreatePublishingDestinationCommand,
5977
6305
  CreateSampleFindingsCommand,
@@ -5981,6 +6309,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
5981
6309
  DeleteFilterCommand,
5982
6310
  DeleteIPSetCommand,
5983
6311
  DeleteInvitationsCommand,
6312
+ DeleteMalwareProtectionPlanCommand,
5984
6313
  DeleteMembersCommand,
5985
6314
  DeletePublishingDestinationCommand,
5986
6315
  DeleteThreatIntelSetCommand,
@@ -6000,6 +6329,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6000
6329
  GetFindingsStatisticsCommand,
6001
6330
  GetIPSetCommand,
6002
6331
  GetInvitationsCountCommand,
6332
+ GetMalwareProtectionPlanCommand,
6003
6333
  GetMalwareScanSettingsCommand,
6004
6334
  GetMasterAccountCommand,
6005
6335
  GetMemberDetectorsCommand,
@@ -6015,6 +6345,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6015
6345
  ListFindingsCommand,
6016
6346
  ListIPSetsCommand,
6017
6347
  ListInvitationsCommand,
6348
+ ListMalwareProtectionPlansCommand,
6018
6349
  ListMembersCommand,
6019
6350
  ListOrganizationAdminAccountsCommand,
6020
6351
  ListPublishingDestinationsCommand,
@@ -6030,6 +6361,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6030
6361
  UpdateFilterCommand,
6031
6362
  UpdateFindingsFeedbackCommand,
6032
6363
  UpdateIPSetCommand,
6364
+ UpdateMalwareProtectionPlanCommand,
6033
6365
  UpdateMalwareScanSettingsCommand,
6034
6366
  UpdateMemberDetectorsCommand,
6035
6367
  UpdateOrganizationConfigurationCommand,
@@ -6071,10 +6403,12 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6071
6403
  FindingPublishingFrequency,
6072
6404
  FilterAction,
6073
6405
  IpSetFormat,
6406
+ MalwareProtectionPlanTaggingActionStatus,
6074
6407
  DestinationType,
6075
6408
  ThreatIntelSetFormat,
6076
6409
  CriterionKey,
6077
6410
  DataSource,
6411
+ ResourceNotFoundException,
6078
6412
  ScanResult,
6079
6413
  ScanStatus,
6080
6414
  ScanType,
@@ -6088,10 +6422,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6088
6422
  Feedback,
6089
6423
  FindingStatisticType,
6090
6424
  IpSetStatus,
6425
+ MalwareProtectionPlanStatus,
6091
6426
  ScanCriterionKey,
6092
6427
  ThreatIntelSetStatus,
6093
- UsageFeature,
6094
- UsageStatisticType,
6095
6428
  AccountDetailFilterSensitiveLog,
6096
6429
  RemoteIpDetailsFilterSensitiveLog,
6097
6430
  AwsApiCallActionFilterSensitiveLog,
@@ -6112,6 +6445,8 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
6112
6445
  GetFindingsResponseFilterSensitiveLog,
6113
6446
  MemberFilterSensitiveLog,
6114
6447
  GetMembersResponseFilterSensitiveLog,
6448
+ UsageFeature,
6449
+ UsageStatisticType,
6115
6450
  ListMembersResponseFilterSensitiveLog
6116
6451
  });
6117
6452