@aws-sdk/client-guardduty 3.592.0 → 3.596.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.
- package/README.md +40 -0
- package/dist-cjs/index.js +429 -25
- package/dist-es/GuardDuty.js +10 -0
- package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/GetMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/ListMalwareProtectionPlansCommand.js +24 -0
- package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +23 -23
- package/dist-es/models/models_1.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +282 -1
- package/dist-types/GuardDuty.d.ts +36 -0
- package/dist-types/GuardDutyClient.d.ts +7 -2
- package/dist-types/commands/CreateMalwareProtectionPlanCommand.d.ts +91 -0
- package/dist-types/commands/DeleteMalwareProtectionPlanCommand.d.ts +72 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +23 -0
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +98 -0
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/commands/ListMalwareProtectionPlansCommand.d.ts +75 -0
- package/dist-types/commands/UpdateMalwareProtectionPlanCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +331 -376
- package/dist-types/models/models_1.d.ts +469 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +86 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateMalwareProtectionPlanCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteMalwareProtectionPlanCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMalwareProtectionPlansCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateMalwareProtectionPlanCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -100
- package/dist-types/ts3.4/models/models_1.d.ts +127 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +4 -4
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,
|
|
@@ -540,6 +548,10 @@ var IpSetFormat = {
|
|
|
540
548
|
STIX: "STIX",
|
|
541
549
|
TXT: "TXT"
|
|
542
550
|
};
|
|
551
|
+
var MalwareProtectionPlanTaggingActionStatus = {
|
|
552
|
+
DISABLED: "DISABLED",
|
|
553
|
+
ENABLED: "ENABLED"
|
|
554
|
+
};
|
|
543
555
|
var DestinationType = {
|
|
544
556
|
S3: "S3"
|
|
545
557
|
};
|
|
@@ -568,6 +580,25 @@ var DataSource = {
|
|
|
568
580
|
KUBERNETES_AUDIT_LOGS: "KUBERNETES_AUDIT_LOGS",
|
|
569
581
|
S3_LOGS: "S3_LOGS"
|
|
570
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;
|
|
571
602
|
var ScanResult = {
|
|
572
603
|
CLEAN: "CLEAN",
|
|
573
604
|
INFECTED: "INFECTED"
|
|
@@ -643,6 +674,11 @@ var IpSetStatus = {
|
|
|
643
674
|
ERROR: "ERROR",
|
|
644
675
|
INACTIVE: "INACTIVE"
|
|
645
676
|
};
|
|
677
|
+
var MalwareProtectionPlanStatus = {
|
|
678
|
+
ACTIVE: "ACTIVE",
|
|
679
|
+
ERROR: "ERROR",
|
|
680
|
+
WARNING: "WARNING"
|
|
681
|
+
};
|
|
646
682
|
var ScanCriterionKey = {
|
|
647
683
|
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG"
|
|
648
684
|
};
|
|
@@ -655,29 +691,6 @@ var ThreatIntelSetStatus = {
|
|
|
655
691
|
ERROR: "ERROR",
|
|
656
692
|
INACTIVE: "INACTIVE"
|
|
657
693
|
};
|
|
658
|
-
var UsageFeature = {
|
|
659
|
-
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
660
|
-
DNS_LOGS: "DNS_LOGS",
|
|
661
|
-
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
662
|
-
EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING",
|
|
663
|
-
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
664
|
-
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
665
|
-
FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING",
|
|
666
|
-
FLOW_LOGS: "FLOW_LOGS",
|
|
667
|
-
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
668
|
-
RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED",
|
|
669
|
-
RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS",
|
|
670
|
-
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
671
|
-
S3_DATA_EVENTS: "S3_DATA_EVENTS"
|
|
672
|
-
};
|
|
673
|
-
var UsageStatisticType = {
|
|
674
|
-
SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT",
|
|
675
|
-
SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE",
|
|
676
|
-
SUM_BY_FEATURES: "SUM_BY_FEATURES",
|
|
677
|
-
SUM_BY_RESOURCE: "SUM_BY_RESOURCE",
|
|
678
|
-
TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
|
|
679
|
-
TOP_RESOURCES: "TOP_RESOURCES"
|
|
680
|
-
};
|
|
681
694
|
var AccountDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
682
695
|
...obj,
|
|
683
696
|
...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -896,6 +909,25 @@ var se_CreateIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
896
909
|
b.m("POST").h(headers).b(body);
|
|
897
910
|
return b.build();
|
|
898
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");
|
|
899
931
|
var se_CreateMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
900
932
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
901
933
|
const headers = {
|
|
@@ -1026,6 +1058,15 @@ var se_DeleteIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1026
1058
|
b.m("DELETE").h(headers).b(body);
|
|
1027
1059
|
return b.build();
|
|
1028
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");
|
|
1029
1070
|
var se_DeleteMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1030
1071
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1031
1072
|
const headers = {
|
|
@@ -1268,6 +1309,15 @@ var se_GetIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1268
1309
|
b.m("GET").h(headers).b(body);
|
|
1269
1310
|
return b.build();
|
|
1270
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");
|
|
1271
1321
|
var se_GetMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1272
1322
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1273
1323
|
const headers = {};
|
|
@@ -1481,6 +1531,17 @@ var se_ListIPSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1481
1531
|
b.m("GET").h(headers).q(query).b(body);
|
|
1482
1532
|
return b.build();
|
|
1483
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");
|
|
1484
1545
|
var se_ListMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1485
1546
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1486
1547
|
const headers = {};
|
|
@@ -1712,6 +1773,24 @@ var se_UpdateIPSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1712
1773
|
b.m("POST").h(headers).b(body);
|
|
1713
1774
|
return b.build();
|
|
1714
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");
|
|
1715
1794
|
var se_UpdateMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1716
1795
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1717
1796
|
const headers = {
|
|
@@ -1875,6 +1954,20 @@ var de_CreateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1875
1954
|
Object.assign(contents, doc);
|
|
1876
1955
|
return contents;
|
|
1877
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");
|
|
1878
1971
|
var de_CreateMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1879
1972
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1880
1973
|
return de_CommandError(output, context);
|
|
@@ -1985,6 +2078,16 @@ var de_DeleteIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1985
2078
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1986
2079
|
return contents;
|
|
1987
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");
|
|
1988
2091
|
var de_DeleteMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1989
2092
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1990
2093
|
return de_CommandError(output, context);
|
|
@@ -2253,6 +2356,27 @@ var de_GetIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2253
2356
|
Object.assign(contents, doc);
|
|
2254
2357
|
return contents;
|
|
2255
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");
|
|
2256
2380
|
var de_GetMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2257
2381
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2258
2382
|
return de_CommandError(output, context);
|
|
@@ -2478,6 +2602,21 @@ var de_ListIPSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2478
2602
|
Object.assign(contents, doc);
|
|
2479
2603
|
return contents;
|
|
2480
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");
|
|
2481
2620
|
var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2482
2621
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2483
2622
|
return de_CommandError(output, context);
|
|
@@ -2668,6 +2807,16 @@ var de_UpdateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2668
2807
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2669
2808
|
return contents;
|
|
2670
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");
|
|
2671
2820
|
var de_UpdateMalwareScanSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2672
2821
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2673
2822
|
return de_CommandError(output, context);
|
|
@@ -2741,6 +2890,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2741
2890
|
case "ConflictException":
|
|
2742
2891
|
case "com.amazonaws.guardduty#ConflictException":
|
|
2743
2892
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2893
|
+
case "ResourceNotFoundException":
|
|
2894
|
+
case "com.amazonaws.guardduty#ResourceNotFoundException":
|
|
2895
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2744
2896
|
default:
|
|
2745
2897
|
const parsedBody = parsedOutput.body;
|
|
2746
2898
|
return throwDefaultError({
|
|
@@ -2807,6 +2959,20 @@ var de_InternalServerErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOut
|
|
|
2807
2959
|
});
|
|
2808
2960
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2809
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");
|
|
2810
2976
|
var se_AccountDetail = /* @__PURE__ */ __name((input, context) => {
|
|
2811
2977
|
return (0, import_smithy_client.take)(input, {
|
|
2812
2978
|
accountId: [, , `AccountId`],
|
|
@@ -2862,6 +3028,17 @@ var se_CoverageSortCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
|
2862
3028
|
orderBy: [, , `OrderBy`]
|
|
2863
3029
|
});
|
|
2864
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");
|
|
2865
3042
|
var se_Criterion = /* @__PURE__ */ __name((input, context) => {
|
|
2866
3043
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2867
3044
|
if (value === null) {
|
|
@@ -2950,6 +3127,16 @@ var se_MalwareProtectionConfiguration = /* @__PURE__ */ __name((input, context)
|
|
|
2950
3127
|
scanEc2InstanceWithFindings: [, (_) => se_ScanEc2InstanceWithFindings(_, context), `ScanEc2InstanceWithFindings`]
|
|
2951
3128
|
});
|
|
2952
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");
|
|
2953
3140
|
var se_MapEquals = /* @__PURE__ */ __name((input, context) => {
|
|
2954
3141
|
return input.filter((e) => e != null).map((entry) => {
|
|
2955
3142
|
return se_ScanConditionPair(entry, context);
|
|
@@ -3084,6 +3271,16 @@ var se_SortCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
|
3084
3271
|
orderBy: [, , `OrderBy`]
|
|
3085
3272
|
});
|
|
3086
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");
|
|
3087
3284
|
var se_UsageCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
3088
3285
|
return (0, import_smithy_client.take)(input, {
|
|
3089
3286
|
accountIds: [, import_smithy_client._json, `AccountIds`],
|
|
@@ -3388,6 +3585,17 @@ var de_CoverageStatistics = /* @__PURE__ */ __name((output, context) => {
|
|
|
3388
3585
|
CountByResourceType: [, import_smithy_client._json, `countByResourceType`]
|
|
3389
3586
|
});
|
|
3390
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");
|
|
3391
3599
|
var de_Criterion = /* @__PURE__ */ __name((output, context) => {
|
|
3392
3600
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3393
3601
|
if (value === null) {
|
|
@@ -3690,6 +3898,18 @@ var de_Invitations = /* @__PURE__ */ __name((output, context) => {
|
|
|
3690
3898
|
});
|
|
3691
3899
|
return retVal;
|
|
3692
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");
|
|
3693
3913
|
var de_KubernetesApiCallAction = /* @__PURE__ */ __name((output, context) => {
|
|
3694
3914
|
return (0, import_smithy_client.take)(output, {
|
|
3695
3915
|
Namespace: [, import_smithy_client.expectString, `namespace`],
|
|
@@ -3846,6 +4066,44 @@ var de_MalwareProtectionDataSourceFreeTrial = /* @__PURE__ */ __name((output, co
|
|
|
3846
4066
|
ScanEc2InstanceWithFindings: [, (_) => de_DataSourceFreeTrial(_, context), `scanEc2InstanceWithFindings`]
|
|
3847
4067
|
});
|
|
3848
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");
|
|
3849
4107
|
var de_MapEquals = /* @__PURE__ */ __name((output, context) => {
|
|
3850
4108
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3851
4109
|
return de_ScanConditionPair(entry, context);
|
|
@@ -4276,6 +4534,7 @@ var de_S3BucketDetail = /* @__PURE__ */ __name((output, context) => {
|
|
|
4276
4534
|
Name: [, import_smithy_client.expectString, `name`],
|
|
4277
4535
|
Owner: [, (_) => de_Owner(_, context), `owner`],
|
|
4278
4536
|
PublicAccess: [, (_) => de_PublicAccess(_, context), `publicAccess`],
|
|
4537
|
+
S3ObjectDetails: [, (_) => de_S3ObjectDetails(_, context), `s3ObjectDetails`],
|
|
4279
4538
|
Tags: [, (_) => de_Tags(_, context), `tags`],
|
|
4280
4539
|
Type: [, import_smithy_client.expectString, `type`]
|
|
4281
4540
|
});
|
|
@@ -4291,6 +4550,21 @@ var de_S3LogsConfigurationResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
4291
4550
|
Status: [, import_smithy_client.expectString, `status`]
|
|
4292
4551
|
});
|
|
4293
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");
|
|
4294
4568
|
var de_Scan = /* @__PURE__ */ __name((output, context) => {
|
|
4295
4569
|
return (0, import_smithy_client.take)(output, {
|
|
4296
4570
|
AccountId: [, import_smithy_client.expectString, `accountId`],
|
|
@@ -4427,6 +4701,7 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
|
|
|
4427
4701
|
EventLastSeen: [, import_smithy_client.expectString, `eventLastSeen`],
|
|
4428
4702
|
Evidence: [, (_) => de_Evidence(_, context), `evidence`],
|
|
4429
4703
|
FeatureName: [, import_smithy_client.expectString, `featureName`],
|
|
4704
|
+
MalwareScanDetails: [, (_) => de_MalwareScanDetails(_, context), `malwareScanDetails`],
|
|
4430
4705
|
ResourceRole: [, import_smithy_client.expectString, `resourceRole`],
|
|
4431
4706
|
RuntimeDetails: [, (_) => de_RuntimeDetails(_, context), `runtimeDetails`],
|
|
4432
4707
|
ServiceName: [, import_smithy_client.expectString, `serviceName`],
|
|
@@ -4451,6 +4726,13 @@ var de_Tags = /* @__PURE__ */ __name((output, context) => {
|
|
|
4451
4726
|
});
|
|
4452
4727
|
return retVal;
|
|
4453
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");
|
|
4454
4736
|
var de_ThreatDetectedByName = /* @__PURE__ */ __name((output, context) => {
|
|
4455
4737
|
return (0, import_smithy_client.take)(output, {
|
|
4456
4738
|
ItemCount: [, import_smithy_client.expectInt32, `itemCount`],
|
|
@@ -4472,6 +4754,12 @@ var de_ThreatIntelligenceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
4472
4754
|
});
|
|
4473
4755
|
return retVal;
|
|
4474
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");
|
|
4475
4763
|
var de_ThreatsDetectedItemCount = /* @__PURE__ */ __name((output, context) => {
|
|
4476
4764
|
return (0, import_smithy_client.take)(output, {
|
|
4477
4765
|
Files: [, import_smithy_client.expectInt32, `files`]
|
|
@@ -4744,6 +5032,22 @@ var _CreateIPSetCommand = class _CreateIPSetCommand extends import_smithy_client
|
|
|
4744
5032
|
__name(_CreateIPSetCommand, "CreateIPSetCommand");
|
|
4745
5033
|
var CreateIPSetCommand = _CreateIPSetCommand;
|
|
4746
5034
|
|
|
5035
|
+
// src/commands/CreateMalwareProtectionPlanCommand.ts
|
|
5036
|
+
|
|
5037
|
+
|
|
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
|
+
|
|
4747
5051
|
// src/commands/CreateMembersCommand.ts
|
|
4748
5052
|
|
|
4749
5053
|
|
|
@@ -4888,6 +5192,22 @@ var _DeleteIPSetCommand = class _DeleteIPSetCommand extends import_smithy_client
|
|
|
4888
5192
|
__name(_DeleteIPSetCommand, "DeleteIPSetCommand");
|
|
4889
5193
|
var DeleteIPSetCommand = _DeleteIPSetCommand;
|
|
4890
5194
|
|
|
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;
|
|
5210
|
+
|
|
4891
5211
|
// src/commands/DeleteMembersCommand.ts
|
|
4892
5212
|
|
|
4893
5213
|
|
|
@@ -5192,6 +5512,22 @@ var _GetIPSetCommand = class _GetIPSetCommand extends import_smithy_client.Comma
|
|
|
5192
5512
|
__name(_GetIPSetCommand, "GetIPSetCommand");
|
|
5193
5513
|
var GetIPSetCommand = _GetIPSetCommand;
|
|
5194
5514
|
|
|
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;
|
|
5530
|
+
|
|
5195
5531
|
// src/commands/GetMalwareScanSettingsCommand.ts
|
|
5196
5532
|
|
|
5197
5533
|
|
|
@@ -5432,12 +5768,51 @@ var _ListIPSetsCommand = class _ListIPSetsCommand extends import_smithy_client.C
|
|
|
5432
5768
|
__name(_ListIPSetsCommand, "ListIPSetsCommand");
|
|
5433
5769
|
var ListIPSetsCommand = _ListIPSetsCommand;
|
|
5434
5770
|
|
|
5771
|
+
// src/commands/ListMalwareProtectionPlansCommand.ts
|
|
5772
|
+
|
|
5773
|
+
|
|
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
|
+
|
|
5435
5787
|
// src/commands/ListMembersCommand.ts
|
|
5436
5788
|
|
|
5437
5789
|
|
|
5438
5790
|
|
|
5439
5791
|
|
|
5440
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
|
+
};
|
|
5441
5816
|
var ListMembersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5442
5817
|
...obj,
|
|
5443
5818
|
...obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }
|
|
@@ -5680,6 +6055,22 @@ var _UpdateIPSetCommand = class _UpdateIPSetCommand extends import_smithy_client
|
|
|
5680
6055
|
__name(_UpdateIPSetCommand, "UpdateIPSetCommand");
|
|
5681
6056
|
var UpdateIPSetCommand = _UpdateIPSetCommand;
|
|
5682
6057
|
|
|
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;
|
|
6073
|
+
|
|
5683
6074
|
// src/commands/UpdateMalwareScanSettingsCommand.ts
|
|
5684
6075
|
|
|
5685
6076
|
|
|
@@ -5768,6 +6159,7 @@ var commands = {
|
|
|
5768
6159
|
CreateDetectorCommand,
|
|
5769
6160
|
CreateFilterCommand,
|
|
5770
6161
|
CreateIPSetCommand,
|
|
6162
|
+
CreateMalwareProtectionPlanCommand,
|
|
5771
6163
|
CreateMembersCommand,
|
|
5772
6164
|
CreatePublishingDestinationCommand,
|
|
5773
6165
|
CreateSampleFindingsCommand,
|
|
@@ -5777,6 +6169,7 @@ var commands = {
|
|
|
5777
6169
|
DeleteFilterCommand,
|
|
5778
6170
|
DeleteInvitationsCommand,
|
|
5779
6171
|
DeleteIPSetCommand,
|
|
6172
|
+
DeleteMalwareProtectionPlanCommand,
|
|
5780
6173
|
DeleteMembersCommand,
|
|
5781
6174
|
DeletePublishingDestinationCommand,
|
|
5782
6175
|
DeleteThreatIntelSetCommand,
|
|
@@ -5796,6 +6189,7 @@ var commands = {
|
|
|
5796
6189
|
GetFindingsStatisticsCommand,
|
|
5797
6190
|
GetInvitationsCountCommand,
|
|
5798
6191
|
GetIPSetCommand,
|
|
6192
|
+
GetMalwareProtectionPlanCommand,
|
|
5799
6193
|
GetMalwareScanSettingsCommand,
|
|
5800
6194
|
GetMasterAccountCommand,
|
|
5801
6195
|
GetMemberDetectorsCommand,
|
|
@@ -5811,6 +6205,7 @@ var commands = {
|
|
|
5811
6205
|
ListFindingsCommand,
|
|
5812
6206
|
ListInvitationsCommand,
|
|
5813
6207
|
ListIPSetsCommand,
|
|
6208
|
+
ListMalwareProtectionPlansCommand,
|
|
5814
6209
|
ListMembersCommand,
|
|
5815
6210
|
ListOrganizationAdminAccountsCommand,
|
|
5816
6211
|
ListPublishingDestinationsCommand,
|
|
@@ -5826,6 +6221,7 @@ var commands = {
|
|
|
5826
6221
|
UpdateFilterCommand,
|
|
5827
6222
|
UpdateFindingsFeedbackCommand,
|
|
5828
6223
|
UpdateIPSetCommand,
|
|
6224
|
+
UpdateMalwareProtectionPlanCommand,
|
|
5829
6225
|
UpdateMalwareScanSettingsCommand,
|
|
5830
6226
|
UpdateMemberDetectorsCommand,
|
|
5831
6227
|
UpdateOrganizationConfigurationCommand,
|
|
@@ -5903,6 +6299,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
5903
6299
|
CreateDetectorCommand,
|
|
5904
6300
|
CreateFilterCommand,
|
|
5905
6301
|
CreateIPSetCommand,
|
|
6302
|
+
CreateMalwareProtectionPlanCommand,
|
|
5906
6303
|
CreateMembersCommand,
|
|
5907
6304
|
CreatePublishingDestinationCommand,
|
|
5908
6305
|
CreateSampleFindingsCommand,
|
|
@@ -5912,6 +6309,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
5912
6309
|
DeleteFilterCommand,
|
|
5913
6310
|
DeleteIPSetCommand,
|
|
5914
6311
|
DeleteInvitationsCommand,
|
|
6312
|
+
DeleteMalwareProtectionPlanCommand,
|
|
5915
6313
|
DeleteMembersCommand,
|
|
5916
6314
|
DeletePublishingDestinationCommand,
|
|
5917
6315
|
DeleteThreatIntelSetCommand,
|
|
@@ -5931,6 +6329,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
5931
6329
|
GetFindingsStatisticsCommand,
|
|
5932
6330
|
GetIPSetCommand,
|
|
5933
6331
|
GetInvitationsCountCommand,
|
|
6332
|
+
GetMalwareProtectionPlanCommand,
|
|
5934
6333
|
GetMalwareScanSettingsCommand,
|
|
5935
6334
|
GetMasterAccountCommand,
|
|
5936
6335
|
GetMemberDetectorsCommand,
|
|
@@ -5946,6 +6345,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
5946
6345
|
ListFindingsCommand,
|
|
5947
6346
|
ListIPSetsCommand,
|
|
5948
6347
|
ListInvitationsCommand,
|
|
6348
|
+
ListMalwareProtectionPlansCommand,
|
|
5949
6349
|
ListMembersCommand,
|
|
5950
6350
|
ListOrganizationAdminAccountsCommand,
|
|
5951
6351
|
ListPublishingDestinationsCommand,
|
|
@@ -5961,6 +6361,7 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
5961
6361
|
UpdateFilterCommand,
|
|
5962
6362
|
UpdateFindingsFeedbackCommand,
|
|
5963
6363
|
UpdateIPSetCommand,
|
|
6364
|
+
UpdateMalwareProtectionPlanCommand,
|
|
5964
6365
|
UpdateMalwareScanSettingsCommand,
|
|
5965
6366
|
UpdateMemberDetectorsCommand,
|
|
5966
6367
|
UpdateOrganizationConfigurationCommand,
|
|
@@ -6002,10 +6403,12 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
6002
6403
|
FindingPublishingFrequency,
|
|
6003
6404
|
FilterAction,
|
|
6004
6405
|
IpSetFormat,
|
|
6406
|
+
MalwareProtectionPlanTaggingActionStatus,
|
|
6005
6407
|
DestinationType,
|
|
6006
6408
|
ThreatIntelSetFormat,
|
|
6007
6409
|
CriterionKey,
|
|
6008
6410
|
DataSource,
|
|
6411
|
+
ResourceNotFoundException,
|
|
6009
6412
|
ScanResult,
|
|
6010
6413
|
ScanStatus,
|
|
6011
6414
|
ScanType,
|
|
@@ -6019,10 +6422,9 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
6019
6422
|
Feedback,
|
|
6020
6423
|
FindingStatisticType,
|
|
6021
6424
|
IpSetStatus,
|
|
6425
|
+
MalwareProtectionPlanStatus,
|
|
6022
6426
|
ScanCriterionKey,
|
|
6023
6427
|
ThreatIntelSetStatus,
|
|
6024
|
-
UsageFeature,
|
|
6025
|
-
UsageStatisticType,
|
|
6026
6428
|
AccountDetailFilterSensitiveLog,
|
|
6027
6429
|
RemoteIpDetailsFilterSensitiveLog,
|
|
6028
6430
|
AwsApiCallActionFilterSensitiveLog,
|
|
@@ -6043,6 +6445,8 @@ var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClie
|
|
|
6043
6445
|
GetFindingsResponseFilterSensitiveLog,
|
|
6044
6446
|
MemberFilterSensitiveLog,
|
|
6045
6447
|
GetMembersResponseFilterSensitiveLog,
|
|
6448
|
+
UsageFeature,
|
|
6449
|
+
UsageStatisticType,
|
|
6046
6450
|
ListMembersResponseFilterSensitiveLog
|
|
6047
6451
|
});
|
|
6048
6452
|
|