@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
|
@@ -3,7 +3,7 @@ import { requestBuilder as rb } from "@smithy/core";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { GuardDutyServiceException as __BaseException } from "../models/GuardDutyServiceException";
|
|
6
|
-
import { AccessDeniedException, BadRequestException, ConflictException, InternalServerErrorException, } from "../models/models_0";
|
|
6
|
+
import { AccessDeniedException, BadRequestException, ConflictException, InternalServerErrorException, ResourceNotFoundException, } from "../models/models_0";
|
|
7
7
|
export const se_AcceptAdministratorInvitationCommand = async (input, context) => {
|
|
8
8
|
const b = rb(input, context);
|
|
9
9
|
const headers = {
|
|
@@ -105,6 +105,23 @@ export const se_CreateIPSetCommand = async (input, context) => {
|
|
|
105
105
|
b.m("POST").h(headers).b(body);
|
|
106
106
|
return b.build();
|
|
107
107
|
};
|
|
108
|
+
export const se_CreateMalwareProtectionPlanCommand = async (input, context) => {
|
|
109
|
+
const b = rb(input, context);
|
|
110
|
+
const headers = {
|
|
111
|
+
"content-type": "application/json",
|
|
112
|
+
};
|
|
113
|
+
b.bp("/malware-protection-plan");
|
|
114
|
+
let body;
|
|
115
|
+
body = JSON.stringify(take(input, {
|
|
116
|
+
actions: [, (_) => se_MalwareProtectionPlanActions(_, context), `Actions`],
|
|
117
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `ClientToken`],
|
|
118
|
+
protectedResource: [, (_) => se_CreateProtectedResource(_, context), `ProtectedResource`],
|
|
119
|
+
role: [, , `Role`],
|
|
120
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
121
|
+
}));
|
|
122
|
+
b.m("POST").h(headers).b(body);
|
|
123
|
+
return b.build();
|
|
124
|
+
};
|
|
108
125
|
export const se_CreateMembersCommand = async (input, context) => {
|
|
109
126
|
const b = rb(input, context);
|
|
110
127
|
const headers = {
|
|
@@ -223,6 +240,15 @@ export const se_DeleteIPSetCommand = async (input, context) => {
|
|
|
223
240
|
b.m("DELETE").h(headers).b(body);
|
|
224
241
|
return b.build();
|
|
225
242
|
};
|
|
243
|
+
export const se_DeleteMalwareProtectionPlanCommand = async (input, context) => {
|
|
244
|
+
const b = rb(input, context);
|
|
245
|
+
const headers = {};
|
|
246
|
+
b.bp("/malware-protection-plan/{MalwareProtectionPlanId}");
|
|
247
|
+
b.p("MalwareProtectionPlanId", () => input.MalwareProtectionPlanId, "{MalwareProtectionPlanId}", false);
|
|
248
|
+
let body;
|
|
249
|
+
b.m("DELETE").h(headers).b(body);
|
|
250
|
+
return b.build();
|
|
251
|
+
};
|
|
226
252
|
export const se_DeleteMembersCommand = async (input, context) => {
|
|
227
253
|
const b = rb(input, context);
|
|
228
254
|
const headers = {
|
|
@@ -449,6 +475,15 @@ export const se_GetIPSetCommand = async (input, context) => {
|
|
|
449
475
|
b.m("GET").h(headers).b(body);
|
|
450
476
|
return b.build();
|
|
451
477
|
};
|
|
478
|
+
export const se_GetMalwareProtectionPlanCommand = async (input, context) => {
|
|
479
|
+
const b = rb(input, context);
|
|
480
|
+
const headers = {};
|
|
481
|
+
b.bp("/malware-protection-plan/{MalwareProtectionPlanId}");
|
|
482
|
+
b.p("MalwareProtectionPlanId", () => input.MalwareProtectionPlanId, "{MalwareProtectionPlanId}", false);
|
|
483
|
+
let body;
|
|
484
|
+
b.m("GET").h(headers).b(body);
|
|
485
|
+
return b.build();
|
|
486
|
+
};
|
|
452
487
|
export const se_GetMalwareScanSettingsCommand = async (input, context) => {
|
|
453
488
|
const b = rb(input, context);
|
|
454
489
|
const headers = {};
|
|
@@ -648,6 +683,17 @@ export const se_ListIPSetsCommand = async (input, context) => {
|
|
|
648
683
|
b.m("GET").h(headers).q(query).b(body);
|
|
649
684
|
return b.build();
|
|
650
685
|
};
|
|
686
|
+
export const se_ListMalwareProtectionPlansCommand = async (input, context) => {
|
|
687
|
+
const b = rb(input, context);
|
|
688
|
+
const headers = {};
|
|
689
|
+
b.bp("/malware-protection-plan");
|
|
690
|
+
const query = map({
|
|
691
|
+
[_nT]: [, input[_NT]],
|
|
692
|
+
});
|
|
693
|
+
let body;
|
|
694
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
695
|
+
return b.build();
|
|
696
|
+
};
|
|
651
697
|
export const se_ListMembersCommand = async (input, context) => {
|
|
652
698
|
const b = rb(input, context);
|
|
653
699
|
const headers = {};
|
|
@@ -861,6 +907,22 @@ export const se_UpdateIPSetCommand = async (input, context) => {
|
|
|
861
907
|
b.m("POST").h(headers).b(body);
|
|
862
908
|
return b.build();
|
|
863
909
|
};
|
|
910
|
+
export const se_UpdateMalwareProtectionPlanCommand = async (input, context) => {
|
|
911
|
+
const b = rb(input, context);
|
|
912
|
+
const headers = {
|
|
913
|
+
"content-type": "application/json",
|
|
914
|
+
};
|
|
915
|
+
b.bp("/malware-protection-plan/{MalwareProtectionPlanId}");
|
|
916
|
+
b.p("MalwareProtectionPlanId", () => input.MalwareProtectionPlanId, "{MalwareProtectionPlanId}", false);
|
|
917
|
+
let body;
|
|
918
|
+
body = JSON.stringify(take(input, {
|
|
919
|
+
actions: [, (_) => se_MalwareProtectionPlanActions(_, context), `Actions`],
|
|
920
|
+
protectedResource: [, (_) => se_UpdateProtectedResource(_, context), `ProtectedResource`],
|
|
921
|
+
role: [, , `Role`],
|
|
922
|
+
}));
|
|
923
|
+
b.m("PATCH").h(headers).b(body);
|
|
924
|
+
return b.build();
|
|
925
|
+
};
|
|
864
926
|
export const se_UpdateMalwareScanSettingsCommand = async (input, context) => {
|
|
865
927
|
const b = rb(input, context);
|
|
866
928
|
const headers = {
|
|
@@ -1014,6 +1076,20 @@ export const de_CreateIPSetCommand = async (output, context) => {
|
|
|
1014
1076
|
Object.assign(contents, doc);
|
|
1015
1077
|
return contents;
|
|
1016
1078
|
};
|
|
1079
|
+
export const de_CreateMalwareProtectionPlanCommand = async (output, context) => {
|
|
1080
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
+
return de_CommandError(output, context);
|
|
1082
|
+
}
|
|
1083
|
+
const contents = map({
|
|
1084
|
+
$metadata: deserializeMetadata(output),
|
|
1085
|
+
});
|
|
1086
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1087
|
+
const doc = take(data, {
|
|
1088
|
+
MalwareProtectionPlanId: [, __expectString, `malwareProtectionPlanId`],
|
|
1089
|
+
});
|
|
1090
|
+
Object.assign(contents, doc);
|
|
1091
|
+
return contents;
|
|
1092
|
+
};
|
|
1017
1093
|
export const de_CreateMembersCommand = async (output, context) => {
|
|
1018
1094
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1019
1095
|
return de_CommandError(output, context);
|
|
@@ -1124,6 +1200,16 @@ export const de_DeleteIPSetCommand = async (output, context) => {
|
|
|
1124
1200
|
await collectBody(output.body, context);
|
|
1125
1201
|
return contents;
|
|
1126
1202
|
};
|
|
1203
|
+
export const de_DeleteMalwareProtectionPlanCommand = async (output, context) => {
|
|
1204
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1205
|
+
return de_CommandError(output, context);
|
|
1206
|
+
}
|
|
1207
|
+
const contents = map({
|
|
1208
|
+
$metadata: deserializeMetadata(output),
|
|
1209
|
+
});
|
|
1210
|
+
await collectBody(output.body, context);
|
|
1211
|
+
return contents;
|
|
1212
|
+
};
|
|
1127
1213
|
export const de_DeleteMembersCommand = async (output, context) => {
|
|
1128
1214
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1129
1215
|
return de_CommandError(output, context);
|
|
@@ -1392,6 +1478,27 @@ export const de_GetIPSetCommand = async (output, context) => {
|
|
|
1392
1478
|
Object.assign(contents, doc);
|
|
1393
1479
|
return contents;
|
|
1394
1480
|
};
|
|
1481
|
+
export const de_GetMalwareProtectionPlanCommand = async (output, context) => {
|
|
1482
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1483
|
+
return de_CommandError(output, context);
|
|
1484
|
+
}
|
|
1485
|
+
const contents = map({
|
|
1486
|
+
$metadata: deserializeMetadata(output),
|
|
1487
|
+
});
|
|
1488
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1489
|
+
const doc = take(data, {
|
|
1490
|
+
Actions: [, (_) => de_MalwareProtectionPlanActions(_, context), `actions`],
|
|
1491
|
+
Arn: [, __expectString, `arn`],
|
|
1492
|
+
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `createdAt`],
|
|
1493
|
+
ProtectedResource: [, (_) => de_CreateProtectedResource(_, context), `protectedResource`],
|
|
1494
|
+
Role: [, __expectString, `role`],
|
|
1495
|
+
Status: [, __expectString, `status`],
|
|
1496
|
+
StatusReasons: [, (_) => de_MalwareProtectionPlanStatusReasonsList(_, context), `statusReasons`],
|
|
1497
|
+
Tags: [, _json, `tags`],
|
|
1498
|
+
});
|
|
1499
|
+
Object.assign(contents, doc);
|
|
1500
|
+
return contents;
|
|
1501
|
+
};
|
|
1395
1502
|
export const de_GetMalwareScanSettingsCommand = async (output, context) => {
|
|
1396
1503
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1397
1504
|
return de_CommandError(output, context);
|
|
@@ -1617,6 +1724,21 @@ export const de_ListIPSetsCommand = async (output, context) => {
|
|
|
1617
1724
|
Object.assign(contents, doc);
|
|
1618
1725
|
return contents;
|
|
1619
1726
|
};
|
|
1727
|
+
export const de_ListMalwareProtectionPlansCommand = async (output, context) => {
|
|
1728
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1729
|
+
return de_CommandError(output, context);
|
|
1730
|
+
}
|
|
1731
|
+
const contents = map({
|
|
1732
|
+
$metadata: deserializeMetadata(output),
|
|
1733
|
+
});
|
|
1734
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1735
|
+
const doc = take(data, {
|
|
1736
|
+
MalwareProtectionPlans: [, (_) => de_MalwareProtectionPlansSummary(_, context), `malwareProtectionPlans`],
|
|
1737
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1738
|
+
});
|
|
1739
|
+
Object.assign(contents, doc);
|
|
1740
|
+
return contents;
|
|
1741
|
+
};
|
|
1620
1742
|
export const de_ListMembersCommand = async (output, context) => {
|
|
1621
1743
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1622
1744
|
return de_CommandError(output, context);
|
|
@@ -1807,6 +1929,16 @@ export const de_UpdateIPSetCommand = async (output, context) => {
|
|
|
1807
1929
|
await collectBody(output.body, context);
|
|
1808
1930
|
return contents;
|
|
1809
1931
|
};
|
|
1932
|
+
export const de_UpdateMalwareProtectionPlanCommand = async (output, context) => {
|
|
1933
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1934
|
+
return de_CommandError(output, context);
|
|
1935
|
+
}
|
|
1936
|
+
const contents = map({
|
|
1937
|
+
$metadata: deserializeMetadata(output),
|
|
1938
|
+
});
|
|
1939
|
+
await collectBody(output.body, context);
|
|
1940
|
+
return contents;
|
|
1941
|
+
};
|
|
1810
1942
|
export const de_UpdateMalwareScanSettingsCommand = async (output, context) => {
|
|
1811
1943
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1812
1944
|
return de_CommandError(output, context);
|
|
@@ -1880,6 +2012,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1880
2012
|
case "ConflictException":
|
|
1881
2013
|
case "com.amazonaws.guardduty#ConflictException":
|
|
1882
2014
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2015
|
+
case "ResourceNotFoundException":
|
|
2016
|
+
case "com.amazonaws.guardduty#ResourceNotFoundException":
|
|
2017
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1883
2018
|
default:
|
|
1884
2019
|
const parsedBody = parsedOutput.body;
|
|
1885
2020
|
return throwDefaultError({
|
|
@@ -1946,6 +2081,20 @@ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1946
2081
|
});
|
|
1947
2082
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1948
2083
|
};
|
|
2084
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2085
|
+
const contents = map({});
|
|
2086
|
+
const data = parsedOutput.body;
|
|
2087
|
+
const doc = take(data, {
|
|
2088
|
+
Message: [, __expectString, `message`],
|
|
2089
|
+
Type: [, __expectString, `__type`],
|
|
2090
|
+
});
|
|
2091
|
+
Object.assign(contents, doc);
|
|
2092
|
+
const exception = new ResourceNotFoundException({
|
|
2093
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2094
|
+
...contents,
|
|
2095
|
+
});
|
|
2096
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
2097
|
+
};
|
|
1949
2098
|
const se_AccountDetail = (input, context) => {
|
|
1950
2099
|
return take(input, {
|
|
1951
2100
|
accountId: [, , `AccountId`],
|
|
@@ -2005,6 +2154,17 @@ const se_CoverageSortCriteria = (input, context) => {
|
|
|
2005
2154
|
orderBy: [, , `OrderBy`],
|
|
2006
2155
|
});
|
|
2007
2156
|
};
|
|
2157
|
+
const se_CreateProtectedResource = (input, context) => {
|
|
2158
|
+
return take(input, {
|
|
2159
|
+
s3Bucket: [, (_) => se_CreateS3BucketResource(_, context), `S3Bucket`],
|
|
2160
|
+
});
|
|
2161
|
+
};
|
|
2162
|
+
const se_CreateS3BucketResource = (input, context) => {
|
|
2163
|
+
return take(input, {
|
|
2164
|
+
bucketName: [, , `BucketName`],
|
|
2165
|
+
objectPrefixes: [, _json, `ObjectPrefixes`],
|
|
2166
|
+
});
|
|
2167
|
+
};
|
|
2008
2168
|
const se_Criterion = (input, context) => {
|
|
2009
2169
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2010
2170
|
if (value === null) {
|
|
@@ -2099,6 +2259,16 @@ const se_MalwareProtectionConfiguration = (input, context) => {
|
|
|
2099
2259
|
scanEc2InstanceWithFindings: [, (_) => se_ScanEc2InstanceWithFindings(_, context), `ScanEc2InstanceWithFindings`],
|
|
2100
2260
|
});
|
|
2101
2261
|
};
|
|
2262
|
+
const se_MalwareProtectionPlanActions = (input, context) => {
|
|
2263
|
+
return take(input, {
|
|
2264
|
+
tagging: [, (_) => se_MalwareProtectionPlanTaggingAction(_, context), `Tagging`],
|
|
2265
|
+
});
|
|
2266
|
+
};
|
|
2267
|
+
const se_MalwareProtectionPlanTaggingAction = (input, context) => {
|
|
2268
|
+
return take(input, {
|
|
2269
|
+
status: [, , `Status`],
|
|
2270
|
+
});
|
|
2271
|
+
};
|
|
2102
2272
|
const se_MapEquals = (input, context) => {
|
|
2103
2273
|
return input
|
|
2104
2274
|
.filter((e) => e != null)
|
|
@@ -2243,6 +2413,16 @@ const se_SortCriteria = (input, context) => {
|
|
|
2243
2413
|
orderBy: [, , `OrderBy`],
|
|
2244
2414
|
});
|
|
2245
2415
|
};
|
|
2416
|
+
const se_UpdateProtectedResource = (input, context) => {
|
|
2417
|
+
return take(input, {
|
|
2418
|
+
s3Bucket: [, (_) => se_UpdateS3BucketResource(_, context), `S3Bucket`],
|
|
2419
|
+
});
|
|
2420
|
+
};
|
|
2421
|
+
const se_UpdateS3BucketResource = (input, context) => {
|
|
2422
|
+
return take(input, {
|
|
2423
|
+
objectPrefixes: [, _json, `ObjectPrefixes`],
|
|
2424
|
+
});
|
|
2425
|
+
};
|
|
2246
2426
|
const se_UsageCriteria = (input, context) => {
|
|
2247
2427
|
return take(input, {
|
|
2248
2428
|
accountIds: [, _json, `AccountIds`],
|
|
@@ -2551,6 +2731,17 @@ const de_CoverageStatistics = (output, context) => {
|
|
|
2551
2731
|
CountByResourceType: [, _json, `countByResourceType`],
|
|
2552
2732
|
});
|
|
2553
2733
|
};
|
|
2734
|
+
const de_CreateProtectedResource = (output, context) => {
|
|
2735
|
+
return take(output, {
|
|
2736
|
+
S3Bucket: [, (_) => de_CreateS3BucketResource(_, context), `s3Bucket`],
|
|
2737
|
+
});
|
|
2738
|
+
};
|
|
2739
|
+
const de_CreateS3BucketResource = (output, context) => {
|
|
2740
|
+
return take(output, {
|
|
2741
|
+
BucketName: [, __expectString, `bucketName`],
|
|
2742
|
+
ObjectPrefixes: [, _json, `objectPrefixes`],
|
|
2743
|
+
});
|
|
2744
|
+
};
|
|
2554
2745
|
const de_Criterion = (output, context) => {
|
|
2555
2746
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2556
2747
|
if (value === null) {
|
|
@@ -2867,6 +3058,20 @@ const de_Invitations = (output, context) => {
|
|
|
2867
3058
|
});
|
|
2868
3059
|
return retVal;
|
|
2869
3060
|
};
|
|
3061
|
+
const de_ItemPath = (output, context) => {
|
|
3062
|
+
return take(output, {
|
|
3063
|
+
Hash: [, __expectString, `hash`],
|
|
3064
|
+
NestedItemPath: [, __expectString, `nestedItemPath`],
|
|
3065
|
+
});
|
|
3066
|
+
};
|
|
3067
|
+
const de_ItemPaths = (output, context) => {
|
|
3068
|
+
const retVal = (output || [])
|
|
3069
|
+
.filter((e) => e != null)
|
|
3070
|
+
.map((entry) => {
|
|
3071
|
+
return de_ItemPath(entry, context);
|
|
3072
|
+
});
|
|
3073
|
+
return retVal;
|
|
3074
|
+
};
|
|
2870
3075
|
const de_KubernetesApiCallAction = (output, context) => {
|
|
2871
3076
|
return take(output, {
|
|
2872
3077
|
Namespace: [, __expectString, `namespace`],
|
|
@@ -3027,6 +3232,48 @@ const de_MalwareProtectionDataSourceFreeTrial = (output, context) => {
|
|
|
3027
3232
|
ScanEc2InstanceWithFindings: [, (_) => de_DataSourceFreeTrial(_, context), `scanEc2InstanceWithFindings`],
|
|
3028
3233
|
});
|
|
3029
3234
|
};
|
|
3235
|
+
const de_MalwareProtectionPlanActions = (output, context) => {
|
|
3236
|
+
return take(output, {
|
|
3237
|
+
Tagging: [, (_) => de_MalwareProtectionPlanTaggingAction(_, context), `tagging`],
|
|
3238
|
+
});
|
|
3239
|
+
};
|
|
3240
|
+
const de_MalwareProtectionPlansSummary = (output, context) => {
|
|
3241
|
+
const retVal = (output || [])
|
|
3242
|
+
.filter((e) => e != null)
|
|
3243
|
+
.map((entry) => {
|
|
3244
|
+
return de_MalwareProtectionPlanSummary(entry, context);
|
|
3245
|
+
});
|
|
3246
|
+
return retVal;
|
|
3247
|
+
};
|
|
3248
|
+
const de_MalwareProtectionPlanStatusReason = (output, context) => {
|
|
3249
|
+
return take(output, {
|
|
3250
|
+
Code: [, __expectString, `code`],
|
|
3251
|
+
Message: [, __expectString, `message`],
|
|
3252
|
+
});
|
|
3253
|
+
};
|
|
3254
|
+
const de_MalwareProtectionPlanStatusReasonsList = (output, context) => {
|
|
3255
|
+
const retVal = (output || [])
|
|
3256
|
+
.filter((e) => e != null)
|
|
3257
|
+
.map((entry) => {
|
|
3258
|
+
return de_MalwareProtectionPlanStatusReason(entry, context);
|
|
3259
|
+
});
|
|
3260
|
+
return retVal;
|
|
3261
|
+
};
|
|
3262
|
+
const de_MalwareProtectionPlanSummary = (output, context) => {
|
|
3263
|
+
return take(output, {
|
|
3264
|
+
MalwareProtectionPlanId: [, __expectString, `malwareProtectionPlanId`],
|
|
3265
|
+
});
|
|
3266
|
+
};
|
|
3267
|
+
const de_MalwareProtectionPlanTaggingAction = (output, context) => {
|
|
3268
|
+
return take(output, {
|
|
3269
|
+
Status: [, __expectString, `status`],
|
|
3270
|
+
});
|
|
3271
|
+
};
|
|
3272
|
+
const de_MalwareScanDetails = (output, context) => {
|
|
3273
|
+
return take(output, {
|
|
3274
|
+
Threats: [, (_) => de_Threats(_, context), `threats`],
|
|
3275
|
+
});
|
|
3276
|
+
};
|
|
3030
3277
|
const de_MapEquals = (output, context) => {
|
|
3031
3278
|
const retVal = (output || [])
|
|
3032
3279
|
.filter((e) => e != null)
|
|
@@ -3483,6 +3730,7 @@ const de_S3BucketDetail = (output, context) => {
|
|
|
3483
3730
|
Name: [, __expectString, `name`],
|
|
3484
3731
|
Owner: [, (_) => de_Owner(_, context), `owner`],
|
|
3485
3732
|
PublicAccess: [, (_) => de_PublicAccess(_, context), `publicAccess`],
|
|
3733
|
+
S3ObjectDetails: [, (_) => de_S3ObjectDetails(_, context), `s3ObjectDetails`],
|
|
3486
3734
|
Tags: [, (_) => de_Tags(_, context), `tags`],
|
|
3487
3735
|
Type: [, __expectString, `type`],
|
|
3488
3736
|
});
|
|
@@ -3500,6 +3748,23 @@ const de_S3LogsConfigurationResult = (output, context) => {
|
|
|
3500
3748
|
Status: [, __expectString, `status`],
|
|
3501
3749
|
});
|
|
3502
3750
|
};
|
|
3751
|
+
const de_S3ObjectDetail = (output, context) => {
|
|
3752
|
+
return take(output, {
|
|
3753
|
+
ETag: [, __expectString, `eTag`],
|
|
3754
|
+
Hash: [, __expectString, `hash`],
|
|
3755
|
+
Key: [, __expectString, `key`],
|
|
3756
|
+
ObjectArn: [, __expectString, `objectArn`],
|
|
3757
|
+
VersionId: [, __expectString, `versionId`],
|
|
3758
|
+
});
|
|
3759
|
+
};
|
|
3760
|
+
const de_S3ObjectDetails = (output, context) => {
|
|
3761
|
+
const retVal = (output || [])
|
|
3762
|
+
.filter((e) => e != null)
|
|
3763
|
+
.map((entry) => {
|
|
3764
|
+
return de_S3ObjectDetail(entry, context);
|
|
3765
|
+
});
|
|
3766
|
+
return retVal;
|
|
3767
|
+
};
|
|
3503
3768
|
const de_Scan = (output, context) => {
|
|
3504
3769
|
return take(output, {
|
|
3505
3770
|
AccountId: [, __expectString, `accountId`],
|
|
@@ -3639,6 +3904,7 @@ const de_Service = (output, context) => {
|
|
|
3639
3904
|
EventLastSeen: [, __expectString, `eventLastSeen`],
|
|
3640
3905
|
Evidence: [, (_) => de_Evidence(_, context), `evidence`],
|
|
3641
3906
|
FeatureName: [, __expectString, `featureName`],
|
|
3907
|
+
MalwareScanDetails: [, (_) => de_MalwareScanDetails(_, context), `malwareScanDetails`],
|
|
3642
3908
|
ResourceRole: [, __expectString, `resourceRole`],
|
|
3643
3909
|
RuntimeDetails: [, (_) => de_RuntimeDetails(_, context), `runtimeDetails`],
|
|
3644
3910
|
ServiceName: [, __expectString, `serviceName`],
|
|
@@ -3665,6 +3931,13 @@ const de_Tags = (output, context) => {
|
|
|
3665
3931
|
});
|
|
3666
3932
|
return retVal;
|
|
3667
3933
|
};
|
|
3934
|
+
const de_Threat = (output, context) => {
|
|
3935
|
+
return take(output, {
|
|
3936
|
+
ItemPaths: [, (_) => de_ItemPaths(_, context), `itemPaths`],
|
|
3937
|
+
Name: [, __expectString, `name`],
|
|
3938
|
+
Source: [, __expectString, `source`],
|
|
3939
|
+
});
|
|
3940
|
+
};
|
|
3668
3941
|
const de_ThreatDetectedByName = (output, context) => {
|
|
3669
3942
|
return take(output, {
|
|
3670
3943
|
ItemCount: [, __expectInt32, `itemCount`],
|
|
@@ -3688,6 +3961,14 @@ const de_ThreatIntelligenceDetails = (output, context) => {
|
|
|
3688
3961
|
});
|
|
3689
3962
|
return retVal;
|
|
3690
3963
|
};
|
|
3964
|
+
const de_Threats = (output, context) => {
|
|
3965
|
+
const retVal = (output || [])
|
|
3966
|
+
.filter((e) => e != null)
|
|
3967
|
+
.map((entry) => {
|
|
3968
|
+
return de_Threat(entry, context);
|
|
3969
|
+
});
|
|
3970
|
+
return retVal;
|
|
3971
|
+
};
|
|
3691
3972
|
const de_ThreatsDetectedItemCount = (output, context) => {
|
|
3692
3973
|
return take(output, {
|
|
3693
3974
|
Files: [, __expectInt32, `files`],
|
|
@@ -5,6 +5,7 @@ import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./com
|
|
|
5
5
|
import { CreateDetectorCommandInput, CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
|
|
6
6
|
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
7
7
|
import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
|
|
8
|
+
import { CreateMalwareProtectionPlanCommandInput, CreateMalwareProtectionPlanCommandOutput } from "./commands/CreateMalwareProtectionPlanCommand";
|
|
8
9
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
9
10
|
import { CreatePublishingDestinationCommandInput, CreatePublishingDestinationCommandOutput } from "./commands/CreatePublishingDestinationCommand";
|
|
10
11
|
import { CreateSampleFindingsCommandInput, CreateSampleFindingsCommandOutput } from "./commands/CreateSampleFindingsCommand";
|
|
@@ -14,6 +15,7 @@ import { DeleteDetectorCommandInput, DeleteDetectorCommandOutput } from "./comma
|
|
|
14
15
|
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
15
16
|
import { DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput } from "./commands/DeleteInvitationsCommand";
|
|
16
17
|
import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
|
|
18
|
+
import { DeleteMalwareProtectionPlanCommandInput, DeleteMalwareProtectionPlanCommandOutput } from "./commands/DeleteMalwareProtectionPlanCommand";
|
|
17
19
|
import { DeleteMembersCommandInput, DeleteMembersCommandOutput } from "./commands/DeleteMembersCommand";
|
|
18
20
|
import { DeletePublishingDestinationCommandInput, DeletePublishingDestinationCommandOutput } from "./commands/DeletePublishingDestinationCommand";
|
|
19
21
|
import { DeleteThreatIntelSetCommandInput, DeleteThreatIntelSetCommandOutput } from "./commands/DeleteThreatIntelSetCommand";
|
|
@@ -33,6 +35,7 @@ import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/Ge
|
|
|
33
35
|
import { GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput } from "./commands/GetFindingsStatisticsCommand";
|
|
34
36
|
import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
35
37
|
import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
38
|
+
import { GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput } from "./commands/GetMalwareProtectionPlanCommand";
|
|
36
39
|
import { GetMalwareScanSettingsCommandInput, GetMalwareScanSettingsCommandOutput } from "./commands/GetMalwareScanSettingsCommand";
|
|
37
40
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
38
41
|
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
@@ -48,6 +51,7 @@ import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/Li
|
|
|
48
51
|
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
49
52
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
50
53
|
import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
54
|
+
import { ListMalwareProtectionPlansCommandInput, ListMalwareProtectionPlansCommandOutput } from "./commands/ListMalwareProtectionPlansCommand";
|
|
51
55
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
52
56
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
53
57
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "./commands/ListPublishingDestinationsCommand";
|
|
@@ -63,6 +67,7 @@ import { UpdateDetectorCommandInput, UpdateDetectorCommandOutput } from "./comma
|
|
|
63
67
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
64
68
|
import { UpdateFindingsFeedbackCommandInput, UpdateFindingsFeedbackCommandOutput } from "./commands/UpdateFindingsFeedbackCommand";
|
|
65
69
|
import { UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
|
|
70
|
+
import { UpdateMalwareProtectionPlanCommandInput, UpdateMalwareProtectionPlanCommandOutput } from "./commands/UpdateMalwareProtectionPlanCommand";
|
|
66
71
|
import { UpdateMalwareScanSettingsCommandInput, UpdateMalwareScanSettingsCommandOutput } from "./commands/UpdateMalwareScanSettingsCommand";
|
|
67
72
|
import { UpdateMemberDetectorsCommandInput, UpdateMemberDetectorsCommandOutput } from "./commands/UpdateMemberDetectorsCommand";
|
|
68
73
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
@@ -106,6 +111,12 @@ export interface GuardDuty {
|
|
|
106
111
|
createIPSet(args: CreateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateIPSetCommandOutput>;
|
|
107
112
|
createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
108
113
|
createIPSet(args: CreateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link CreateMalwareProtectionPlanCommand}
|
|
116
|
+
*/
|
|
117
|
+
createMalwareProtectionPlan(args: CreateMalwareProtectionPlanCommandInput, options?: __HttpHandlerOptions): Promise<CreateMalwareProtectionPlanCommandOutput>;
|
|
118
|
+
createMalwareProtectionPlan(args: CreateMalwareProtectionPlanCommandInput, cb: (err: any, data?: CreateMalwareProtectionPlanCommandOutput) => void): void;
|
|
119
|
+
createMalwareProtectionPlan(args: CreateMalwareProtectionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMalwareProtectionPlanCommandOutput) => void): void;
|
|
109
120
|
/**
|
|
110
121
|
* @see {@link CreateMembersCommand}
|
|
111
122
|
*/
|
|
@@ -160,6 +171,12 @@ export interface GuardDuty {
|
|
|
160
171
|
deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
|
|
161
172
|
deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
162
173
|
deleteIPSet(args: DeleteIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link DeleteMalwareProtectionPlanCommand}
|
|
176
|
+
*/
|
|
177
|
+
deleteMalwareProtectionPlan(args: DeleteMalwareProtectionPlanCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMalwareProtectionPlanCommandOutput>;
|
|
178
|
+
deleteMalwareProtectionPlan(args: DeleteMalwareProtectionPlanCommandInput, cb: (err: any, data?: DeleteMalwareProtectionPlanCommandOutput) => void): void;
|
|
179
|
+
deleteMalwareProtectionPlan(args: DeleteMalwareProtectionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMalwareProtectionPlanCommandOutput) => void): void;
|
|
163
180
|
/**
|
|
164
181
|
* @see {@link DeleteMembersCommand}
|
|
165
182
|
*/
|
|
@@ -275,6 +292,12 @@ export interface GuardDuty {
|
|
|
275
292
|
getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
|
|
276
293
|
getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
277
294
|
getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
295
|
+
/**
|
|
296
|
+
* @see {@link GetMalwareProtectionPlanCommand}
|
|
297
|
+
*/
|
|
298
|
+
getMalwareProtectionPlan(args: GetMalwareProtectionPlanCommandInput, options?: __HttpHandlerOptions): Promise<GetMalwareProtectionPlanCommandOutput>;
|
|
299
|
+
getMalwareProtectionPlan(args: GetMalwareProtectionPlanCommandInput, cb: (err: any, data?: GetMalwareProtectionPlanCommandOutput) => void): void;
|
|
300
|
+
getMalwareProtectionPlan(args: GetMalwareProtectionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMalwareProtectionPlanCommandOutput) => void): void;
|
|
278
301
|
/**
|
|
279
302
|
* @see {@link GetMalwareScanSettingsCommand}
|
|
280
303
|
*/
|
|
@@ -368,6 +391,13 @@ export interface GuardDuty {
|
|
|
368
391
|
listIPSets(args: ListIPSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListIPSetsCommandOutput>;
|
|
369
392
|
listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
370
393
|
listIPSets(args: ListIPSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
394
|
+
/**
|
|
395
|
+
* @see {@link ListMalwareProtectionPlansCommand}
|
|
396
|
+
*/
|
|
397
|
+
listMalwareProtectionPlans(): Promise<ListMalwareProtectionPlansCommandOutput>;
|
|
398
|
+
listMalwareProtectionPlans(args: ListMalwareProtectionPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListMalwareProtectionPlansCommandOutput>;
|
|
399
|
+
listMalwareProtectionPlans(args: ListMalwareProtectionPlansCommandInput, cb: (err: any, data?: ListMalwareProtectionPlansCommandOutput) => void): void;
|
|
400
|
+
listMalwareProtectionPlans(args: ListMalwareProtectionPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMalwareProtectionPlansCommandOutput) => void): void;
|
|
371
401
|
/**
|
|
372
402
|
* @see {@link ListMembersCommand}
|
|
373
403
|
*/
|
|
@@ -459,6 +489,12 @@ export interface GuardDuty {
|
|
|
459
489
|
updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
|
|
460
490
|
updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
461
491
|
updateIPSet(args: UpdateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
492
|
+
/**
|
|
493
|
+
* @see {@link UpdateMalwareProtectionPlanCommand}
|
|
494
|
+
*/
|
|
495
|
+
updateMalwareProtectionPlan(args: UpdateMalwareProtectionPlanCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMalwareProtectionPlanCommandOutput>;
|
|
496
|
+
updateMalwareProtectionPlan(args: UpdateMalwareProtectionPlanCommandInput, cb: (err: any, data?: UpdateMalwareProtectionPlanCommandOutput) => void): void;
|
|
497
|
+
updateMalwareProtectionPlan(args: UpdateMalwareProtectionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMalwareProtectionPlanCommandOutput) => void): void;
|
|
462
498
|
/**
|
|
463
499
|
* @see {@link UpdateMalwareScanSettingsCommand}
|
|
464
500
|
*/
|
|
@@ -13,6 +13,7 @@ import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./com
|
|
|
13
13
|
import { CreateDetectorCommandInput, CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
|
|
14
14
|
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
15
15
|
import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
|
|
16
|
+
import { CreateMalwareProtectionPlanCommandInput, CreateMalwareProtectionPlanCommandOutput } from "./commands/CreateMalwareProtectionPlanCommand";
|
|
16
17
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
17
18
|
import { CreatePublishingDestinationCommandInput, CreatePublishingDestinationCommandOutput } from "./commands/CreatePublishingDestinationCommand";
|
|
18
19
|
import { CreateSampleFindingsCommandInput, CreateSampleFindingsCommandOutput } from "./commands/CreateSampleFindingsCommand";
|
|
@@ -22,6 +23,7 @@ import { DeleteDetectorCommandInput, DeleteDetectorCommandOutput } from "./comma
|
|
|
22
23
|
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
23
24
|
import { DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput } from "./commands/DeleteInvitationsCommand";
|
|
24
25
|
import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
|
|
26
|
+
import { DeleteMalwareProtectionPlanCommandInput, DeleteMalwareProtectionPlanCommandOutput } from "./commands/DeleteMalwareProtectionPlanCommand";
|
|
25
27
|
import { DeleteMembersCommandInput, DeleteMembersCommandOutput } from "./commands/DeleteMembersCommand";
|
|
26
28
|
import { DeletePublishingDestinationCommandInput, DeletePublishingDestinationCommandOutput } from "./commands/DeletePublishingDestinationCommand";
|
|
27
29
|
import { DeleteThreatIntelSetCommandInput, DeleteThreatIntelSetCommandOutput } from "./commands/DeleteThreatIntelSetCommand";
|
|
@@ -41,6 +43,7 @@ import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/Ge
|
|
|
41
43
|
import { GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput } from "./commands/GetFindingsStatisticsCommand";
|
|
42
44
|
import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
43
45
|
import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
46
|
+
import { GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput } from "./commands/GetMalwareProtectionPlanCommand";
|
|
44
47
|
import { GetMalwareScanSettingsCommandInput, GetMalwareScanSettingsCommandOutput } from "./commands/GetMalwareScanSettingsCommand";
|
|
45
48
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
46
49
|
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
@@ -56,6 +59,7 @@ import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/Li
|
|
|
56
59
|
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
57
60
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
58
61
|
import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
62
|
+
import { ListMalwareProtectionPlansCommandInput, ListMalwareProtectionPlansCommandOutput } from "./commands/ListMalwareProtectionPlansCommand";
|
|
59
63
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
60
64
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
61
65
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "./commands/ListPublishingDestinationsCommand";
|
|
@@ -71,6 +75,7 @@ import { UpdateDetectorCommandInput, UpdateDetectorCommandOutput } from "./comma
|
|
|
71
75
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
72
76
|
import { UpdateFindingsFeedbackCommandInput, UpdateFindingsFeedbackCommandOutput } from "./commands/UpdateFindingsFeedbackCommand";
|
|
73
77
|
import { UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
|
|
78
|
+
import { UpdateMalwareProtectionPlanCommandInput, UpdateMalwareProtectionPlanCommandOutput } from "./commands/UpdateMalwareProtectionPlanCommand";
|
|
74
79
|
import { UpdateMalwareScanSettingsCommandInput, UpdateMalwareScanSettingsCommandOutput } from "./commands/UpdateMalwareScanSettingsCommand";
|
|
75
80
|
import { UpdateMemberDetectorsCommandInput, UpdateMemberDetectorsCommandOutput } from "./commands/UpdateMemberDetectorsCommand";
|
|
76
81
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
@@ -82,11 +87,11 @@ export { __Client };
|
|
|
82
87
|
/**
|
|
83
88
|
* @public
|
|
84
89
|
*/
|
|
85
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
|
|
90
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMalwareProtectionPlanCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMalwareProtectionPlanCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareProtectionPlanCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMalwareProtectionPlansCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareProtectionPlanCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
|
|
86
91
|
/**
|
|
87
92
|
* @public
|
|
88
93
|
*/
|
|
89
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
|
|
94
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMalwareProtectionPlanCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMalwareProtectionPlanCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareProtectionPlanCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMalwareProtectionPlansCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareProtectionPlanCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
|
|
90
95
|
/**
|
|
91
96
|
* @public
|
|
92
97
|
*/
|