@aws-sdk/client-guardduty 3.863.0 → 3.868.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 +80 -0
- package/dist-cjs/index.js +532 -6
- package/dist-es/GuardDuty.js +20 -0
- package/dist-es/commands/CreateThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/CreateTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/DeleteThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/DeleteTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/GetThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/GetTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/ListThreatEntitySetsCommand.js +22 -0
- package/dist-es/commands/ListTrustedEntitySetsCommand.js +22 -0
- package/dist-es/commands/UpdateThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/UpdateTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +16 -3
- package/dist-es/models/models_1.js +21 -0
- package/dist-es/pagination/ListThreatEntitySetsPaginator.js +4 -0
- package/dist-es/pagination/ListTrustedEntitySetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +284 -0
- package/dist-types/GuardDuty.d.ts +70 -0
- package/dist-types/GuardDutyClient.d.ts +12 -2
- package/dist-types/commands/CreateThreatEntitySetCommand.d.ts +91 -0
- package/dist-types/commands/CreateTrustedEntitySetCommand.d.ts +92 -0
- package/dist-types/commands/DeleteThreatEntitySetCommand.d.ts +78 -0
- package/dist-types/commands/DeleteTrustedEntitySetCommand.d.ts +78 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +1 -2
- package/dist-types/commands/GetThreatEntitySetCommand.d.ts +89 -0
- package/dist-types/commands/GetTrustedEntitySetCommand.d.ts +89 -0
- package/dist-types/commands/ListThreatEntitySetsCommand.d.ts +85 -0
- package/dist-types/commands/ListTrustedEntitySetsCommand.d.ts +85 -0
- package/dist-types/commands/UpdateThreatEntitySetCommand.d.ts +81 -0
- package/dist-types/commands/UpdateTrustedEntitySetCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +200 -200
- package/dist-types/models/models_1.d.ts +548 -1
- package/dist-types/pagination/ListThreatEntitySetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustedEntitySetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +170 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CreateThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListThreatEntitySetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrustedEntitySetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -49
- package/dist-types/ts3.4/models/models_1.d.ts +144 -1
- package/dist-types/ts3.4/pagination/ListThreatEntitySetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustedEntitySetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +5 -5
package/dist-es/GuardDuty.js
CHANGED
|
@@ -9,7 +9,9 @@ import { CreateMalwareProtectionPlanCommand, } from "./commands/CreateMalwarePro
|
|
|
9
9
|
import { CreateMembersCommand, } from "./commands/CreateMembersCommand";
|
|
10
10
|
import { CreatePublishingDestinationCommand, } from "./commands/CreatePublishingDestinationCommand";
|
|
11
11
|
import { CreateSampleFindingsCommand, } from "./commands/CreateSampleFindingsCommand";
|
|
12
|
+
import { CreateThreatEntitySetCommand, } from "./commands/CreateThreatEntitySetCommand";
|
|
12
13
|
import { CreateThreatIntelSetCommand, } from "./commands/CreateThreatIntelSetCommand";
|
|
14
|
+
import { CreateTrustedEntitySetCommand, } from "./commands/CreateTrustedEntitySetCommand";
|
|
13
15
|
import { DeclineInvitationsCommand, } from "./commands/DeclineInvitationsCommand";
|
|
14
16
|
import { DeleteDetectorCommand, } from "./commands/DeleteDetectorCommand";
|
|
15
17
|
import { DeleteFilterCommand, } from "./commands/DeleteFilterCommand";
|
|
@@ -18,7 +20,9 @@ import { DeleteIPSetCommand } from "./commands/DeleteIPSetCommand";
|
|
|
18
20
|
import { DeleteMalwareProtectionPlanCommand, } from "./commands/DeleteMalwareProtectionPlanCommand";
|
|
19
21
|
import { DeleteMembersCommand, } from "./commands/DeleteMembersCommand";
|
|
20
22
|
import { DeletePublishingDestinationCommand, } from "./commands/DeletePublishingDestinationCommand";
|
|
23
|
+
import { DeleteThreatEntitySetCommand, } from "./commands/DeleteThreatEntitySetCommand";
|
|
21
24
|
import { DeleteThreatIntelSetCommand, } from "./commands/DeleteThreatIntelSetCommand";
|
|
25
|
+
import { DeleteTrustedEntitySetCommand, } from "./commands/DeleteTrustedEntitySetCommand";
|
|
22
26
|
import { DescribeMalwareScansCommand, } from "./commands/DescribeMalwareScansCommand";
|
|
23
27
|
import { DescribeOrganizationConfigurationCommand, } from "./commands/DescribeOrganizationConfigurationCommand";
|
|
24
28
|
import { DescribePublishingDestinationCommand, } from "./commands/DescribePublishingDestinationCommand";
|
|
@@ -42,7 +46,9 @@ import { GetMemberDetectorsCommand, } from "./commands/GetMemberDetectorsCommand
|
|
|
42
46
|
import { GetMembersCommand } from "./commands/GetMembersCommand";
|
|
43
47
|
import { GetOrganizationStatisticsCommand, } from "./commands/GetOrganizationStatisticsCommand";
|
|
44
48
|
import { GetRemainingFreeTrialDaysCommand, } from "./commands/GetRemainingFreeTrialDaysCommand";
|
|
49
|
+
import { GetThreatEntitySetCommand, } from "./commands/GetThreatEntitySetCommand";
|
|
45
50
|
import { GetThreatIntelSetCommand, } from "./commands/GetThreatIntelSetCommand";
|
|
51
|
+
import { GetTrustedEntitySetCommand, } from "./commands/GetTrustedEntitySetCommand";
|
|
46
52
|
import { GetUsageStatisticsCommand, } from "./commands/GetUsageStatisticsCommand";
|
|
47
53
|
import { InviteMembersCommand, } from "./commands/InviteMembersCommand";
|
|
48
54
|
import { ListCoverageCommand, } from "./commands/ListCoverageCommand";
|
|
@@ -56,7 +62,9 @@ import { ListMembersCommand } from "./commands/ListMembersCommand";
|
|
|
56
62
|
import { ListOrganizationAdminAccountsCommand, } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
57
63
|
import { ListPublishingDestinationsCommand, } from "./commands/ListPublishingDestinationsCommand";
|
|
58
64
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
65
|
+
import { ListThreatEntitySetsCommand, } from "./commands/ListThreatEntitySetsCommand";
|
|
59
66
|
import { ListThreatIntelSetsCommand, } from "./commands/ListThreatIntelSetsCommand";
|
|
67
|
+
import { ListTrustedEntitySetsCommand, } from "./commands/ListTrustedEntitySetsCommand";
|
|
60
68
|
import { StartMalwareScanCommand, } from "./commands/StartMalwareScanCommand";
|
|
61
69
|
import { StartMonitoringMembersCommand, } from "./commands/StartMonitoringMembersCommand";
|
|
62
70
|
import { StopMonitoringMembersCommand, } from "./commands/StopMonitoringMembersCommand";
|
|
@@ -72,7 +80,9 @@ import { UpdateMalwareScanSettingsCommand, } from "./commands/UpdateMalwareScanS
|
|
|
72
80
|
import { UpdateMemberDetectorsCommand, } from "./commands/UpdateMemberDetectorsCommand";
|
|
73
81
|
import { UpdateOrganizationConfigurationCommand, } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
74
82
|
import { UpdatePublishingDestinationCommand, } from "./commands/UpdatePublishingDestinationCommand";
|
|
83
|
+
import { UpdateThreatEntitySetCommand, } from "./commands/UpdateThreatEntitySetCommand";
|
|
75
84
|
import { UpdateThreatIntelSetCommand, } from "./commands/UpdateThreatIntelSetCommand";
|
|
85
|
+
import { UpdateTrustedEntitySetCommand, } from "./commands/UpdateTrustedEntitySetCommand";
|
|
76
86
|
import { GuardDutyClient } from "./GuardDutyClient";
|
|
77
87
|
const commands = {
|
|
78
88
|
AcceptAdministratorInvitationCommand,
|
|
@@ -85,7 +95,9 @@ const commands = {
|
|
|
85
95
|
CreateMembersCommand,
|
|
86
96
|
CreatePublishingDestinationCommand,
|
|
87
97
|
CreateSampleFindingsCommand,
|
|
98
|
+
CreateThreatEntitySetCommand,
|
|
88
99
|
CreateThreatIntelSetCommand,
|
|
100
|
+
CreateTrustedEntitySetCommand,
|
|
89
101
|
DeclineInvitationsCommand,
|
|
90
102
|
DeleteDetectorCommand,
|
|
91
103
|
DeleteFilterCommand,
|
|
@@ -94,7 +106,9 @@ const commands = {
|
|
|
94
106
|
DeleteMalwareProtectionPlanCommand,
|
|
95
107
|
DeleteMembersCommand,
|
|
96
108
|
DeletePublishingDestinationCommand,
|
|
109
|
+
DeleteThreatEntitySetCommand,
|
|
97
110
|
DeleteThreatIntelSetCommand,
|
|
111
|
+
DeleteTrustedEntitySetCommand,
|
|
98
112
|
DescribeMalwareScansCommand,
|
|
99
113
|
DescribeOrganizationConfigurationCommand,
|
|
100
114
|
DescribePublishingDestinationCommand,
|
|
@@ -118,7 +132,9 @@ const commands = {
|
|
|
118
132
|
GetMembersCommand,
|
|
119
133
|
GetOrganizationStatisticsCommand,
|
|
120
134
|
GetRemainingFreeTrialDaysCommand,
|
|
135
|
+
GetThreatEntitySetCommand,
|
|
121
136
|
GetThreatIntelSetCommand,
|
|
137
|
+
GetTrustedEntitySetCommand,
|
|
122
138
|
GetUsageStatisticsCommand,
|
|
123
139
|
InviteMembersCommand,
|
|
124
140
|
ListCoverageCommand,
|
|
@@ -132,7 +148,9 @@ const commands = {
|
|
|
132
148
|
ListOrganizationAdminAccountsCommand,
|
|
133
149
|
ListPublishingDestinationsCommand,
|
|
134
150
|
ListTagsForResourceCommand,
|
|
151
|
+
ListThreatEntitySetsCommand,
|
|
135
152
|
ListThreatIntelSetsCommand,
|
|
153
|
+
ListTrustedEntitySetsCommand,
|
|
136
154
|
StartMalwareScanCommand,
|
|
137
155
|
StartMonitoringMembersCommand,
|
|
138
156
|
StopMonitoringMembersCommand,
|
|
@@ -148,7 +166,9 @@ const commands = {
|
|
|
148
166
|
UpdateMemberDetectorsCommand,
|
|
149
167
|
UpdateOrganizationConfigurationCommand,
|
|
150
168
|
UpdatePublishingDestinationCommand,
|
|
169
|
+
UpdateThreatEntitySetCommand,
|
|
151
170
|
UpdateThreatIntelSetCommand,
|
|
171
|
+
UpdateTrustedEntitySetCommand,
|
|
152
172
|
};
|
|
153
173
|
export class GuardDuty extends GuardDutyClient {
|
|
154
174
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateThreatEntitySetCommand, se_CreateThreatEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateThreatEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "CreateThreatEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "CreateThreatEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateThreatEntitySetCommand)
|
|
20
|
+
.de(de_CreateThreatEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateTrustedEntitySetCommand, se_CreateTrustedEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateTrustedEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "CreateTrustedEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "CreateTrustedEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateTrustedEntitySetCommand)
|
|
20
|
+
.de(de_CreateTrustedEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteThreatEntitySetCommand, se_DeleteThreatEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteThreatEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "DeleteThreatEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "DeleteThreatEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteThreatEntitySetCommand)
|
|
20
|
+
.de(de_DeleteThreatEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteTrustedEntitySetCommand, se_DeleteTrustedEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteTrustedEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "DeleteTrustedEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "DeleteTrustedEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteTrustedEntitySetCommand)
|
|
20
|
+
.de(de_DeleteTrustedEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetThreatEntitySetCommand, se_GetThreatEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetThreatEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "GetThreatEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "GetThreatEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetThreatEntitySetCommand)
|
|
20
|
+
.de(de_GetThreatEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetTrustedEntitySetCommand, se_GetTrustedEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetTrustedEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "GetTrustedEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "GetTrustedEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetTrustedEntitySetCommand)
|
|
20
|
+
.de(de_GetTrustedEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListThreatEntitySetsCommand, se_ListThreatEntitySetsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListThreatEntitySetsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "ListThreatEntitySets", {})
|
|
17
|
+
.n("GuardDutyClient", "ListThreatEntitySetsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListThreatEntitySetsCommand)
|
|
20
|
+
.de(de_ListThreatEntitySetsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTrustedEntitySetsCommand, se_ListTrustedEntitySetsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTrustedEntitySetsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "ListTrustedEntitySets", {})
|
|
17
|
+
.n("GuardDutyClient", "ListTrustedEntitySetsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTrustedEntitySetsCommand)
|
|
20
|
+
.de(de_ListTrustedEntitySetsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateThreatEntitySetCommand, se_UpdateThreatEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateThreatEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "UpdateThreatEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "UpdateThreatEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateThreatEntitySetCommand)
|
|
20
|
+
.de(de_UpdateThreatEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateTrustedEntitySetCommand, se_UpdateTrustedEntitySetCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateTrustedEntitySetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("GuardDutyAPIService", "UpdateTrustedEntitySet", {})
|
|
17
|
+
.n("GuardDutyClient", "UpdateTrustedEntitySetCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateTrustedEntitySetCommand)
|
|
20
|
+
.de(de_UpdateTrustedEntitySetCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -8,7 +8,9 @@ export * from "./CreateMalwareProtectionPlanCommand";
|
|
|
8
8
|
export * from "./CreateMembersCommand";
|
|
9
9
|
export * from "./CreatePublishingDestinationCommand";
|
|
10
10
|
export * from "./CreateSampleFindingsCommand";
|
|
11
|
+
export * from "./CreateThreatEntitySetCommand";
|
|
11
12
|
export * from "./CreateThreatIntelSetCommand";
|
|
13
|
+
export * from "./CreateTrustedEntitySetCommand";
|
|
12
14
|
export * from "./DeclineInvitationsCommand";
|
|
13
15
|
export * from "./DeleteDetectorCommand";
|
|
14
16
|
export * from "./DeleteFilterCommand";
|
|
@@ -17,7 +19,9 @@ export * from "./DeleteInvitationsCommand";
|
|
|
17
19
|
export * from "./DeleteMalwareProtectionPlanCommand";
|
|
18
20
|
export * from "./DeleteMembersCommand";
|
|
19
21
|
export * from "./DeletePublishingDestinationCommand";
|
|
22
|
+
export * from "./DeleteThreatEntitySetCommand";
|
|
20
23
|
export * from "./DeleteThreatIntelSetCommand";
|
|
24
|
+
export * from "./DeleteTrustedEntitySetCommand";
|
|
21
25
|
export * from "./DescribeMalwareScansCommand";
|
|
22
26
|
export * from "./DescribeOrganizationConfigurationCommand";
|
|
23
27
|
export * from "./DescribePublishingDestinationCommand";
|
|
@@ -41,7 +45,9 @@ export * from "./GetMemberDetectorsCommand";
|
|
|
41
45
|
export * from "./GetMembersCommand";
|
|
42
46
|
export * from "./GetOrganizationStatisticsCommand";
|
|
43
47
|
export * from "./GetRemainingFreeTrialDaysCommand";
|
|
48
|
+
export * from "./GetThreatEntitySetCommand";
|
|
44
49
|
export * from "./GetThreatIntelSetCommand";
|
|
50
|
+
export * from "./GetTrustedEntitySetCommand";
|
|
45
51
|
export * from "./GetUsageStatisticsCommand";
|
|
46
52
|
export * from "./InviteMembersCommand";
|
|
47
53
|
export * from "./ListCoverageCommand";
|
|
@@ -55,7 +61,9 @@ export * from "./ListMembersCommand";
|
|
|
55
61
|
export * from "./ListOrganizationAdminAccountsCommand";
|
|
56
62
|
export * from "./ListPublishingDestinationsCommand";
|
|
57
63
|
export * from "./ListTagsForResourceCommand";
|
|
64
|
+
export * from "./ListThreatEntitySetsCommand";
|
|
58
65
|
export * from "./ListThreatIntelSetsCommand";
|
|
66
|
+
export * from "./ListTrustedEntitySetsCommand";
|
|
59
67
|
export * from "./StartMalwareScanCommand";
|
|
60
68
|
export * from "./StartMonitoringMembersCommand";
|
|
61
69
|
export * from "./StopMonitoringMembersCommand";
|
|
@@ -71,4 +79,6 @@ export * from "./UpdateMalwareScanSettingsCommand";
|
|
|
71
79
|
export * from "./UpdateMemberDetectorsCommand";
|
|
72
80
|
export * from "./UpdateOrganizationConfigurationCommand";
|
|
73
81
|
export * from "./UpdatePublishingDestinationCommand";
|
|
82
|
+
export * from "./UpdateThreatEntitySetCommand";
|
|
74
83
|
export * from "./UpdateThreatIntelSetCommand";
|
|
84
|
+
export * from "./UpdateTrustedEntitySetCommand";
|
|
@@ -199,6 +199,14 @@ export const MalwareProtectionPlanTaggingActionStatus = {
|
|
|
199
199
|
export const DestinationType = {
|
|
200
200
|
S3: "S3",
|
|
201
201
|
};
|
|
202
|
+
export const ThreatEntitySetFormat = {
|
|
203
|
+
ALIEN_VAULT: "ALIEN_VAULT",
|
|
204
|
+
FIRE_EYE: "FIRE_EYE",
|
|
205
|
+
OTX_CSV: "OTX_CSV",
|
|
206
|
+
PROOF_POINT: "PROOF_POINT",
|
|
207
|
+
STIX: "STIX",
|
|
208
|
+
TXT: "TXT",
|
|
209
|
+
};
|
|
202
210
|
export const ThreatIntelSetFormat = {
|
|
203
211
|
ALIEN_VAULT: "ALIEN_VAULT",
|
|
204
212
|
FIRE_EYE: "FIRE_EYE",
|
|
@@ -207,6 +215,14 @@ export const ThreatIntelSetFormat = {
|
|
|
207
215
|
STIX: "STIX",
|
|
208
216
|
TXT: "TXT",
|
|
209
217
|
};
|
|
218
|
+
export const TrustedEntitySetFormat = {
|
|
219
|
+
ALIEN_VAULT: "ALIEN_VAULT",
|
|
220
|
+
FIRE_EYE: "FIRE_EYE",
|
|
221
|
+
OTX_CSV: "OTX_CSV",
|
|
222
|
+
PROOF_POINT: "PROOF_POINT",
|
|
223
|
+
STIX: "STIX",
|
|
224
|
+
TXT: "TXT",
|
|
225
|
+
};
|
|
210
226
|
export const CriterionKey = {
|
|
211
227
|
ACCOUNT_ID: "ACCOUNT_ID",
|
|
212
228
|
EC2_INSTANCE_ARN: "EC2_INSTANCE_ARN",
|
|
@@ -366,9 +382,6 @@ export const Feedback = {
|
|
|
366
382
|
NOT_USEFUL: "NOT_USEFUL",
|
|
367
383
|
USEFUL: "USEFUL",
|
|
368
384
|
};
|
|
369
|
-
export const FindingStatisticType = {
|
|
370
|
-
COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY",
|
|
371
|
-
};
|
|
372
385
|
export const AccountDetailFilterSensitiveLog = (obj) => ({
|
|
373
386
|
...obj,
|
|
374
387
|
...(obj.Email && { Email: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { FindingFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const FindingStatisticType = {
|
|
4
|
+
COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY",
|
|
5
|
+
};
|
|
3
6
|
export const GroupByType = {
|
|
4
7
|
ACCOUNT: "ACCOUNT",
|
|
5
8
|
DATE: "DATE",
|
|
@@ -24,6 +27,15 @@ export const MalwareProtectionPlanStatus = {
|
|
|
24
27
|
export const ScanCriterionKey = {
|
|
25
28
|
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG",
|
|
26
29
|
};
|
|
30
|
+
export const ThreatEntitySetStatus = {
|
|
31
|
+
ACTIVATING: "ACTIVATING",
|
|
32
|
+
ACTIVE: "ACTIVE",
|
|
33
|
+
DEACTIVATING: "DEACTIVATING",
|
|
34
|
+
DELETED: "DELETED",
|
|
35
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
36
|
+
ERROR: "ERROR",
|
|
37
|
+
INACTIVE: "INACTIVE",
|
|
38
|
+
};
|
|
27
39
|
export const ThreatIntelSetStatus = {
|
|
28
40
|
ACTIVATING: "ACTIVATING",
|
|
29
41
|
ACTIVE: "ACTIVE",
|
|
@@ -33,6 +45,15 @@ export const ThreatIntelSetStatus = {
|
|
|
33
45
|
ERROR: "ERROR",
|
|
34
46
|
INACTIVE: "INACTIVE",
|
|
35
47
|
};
|
|
48
|
+
export const TrustedEntitySetStatus = {
|
|
49
|
+
ACTIVATING: "ACTIVATING",
|
|
50
|
+
ACTIVE: "ACTIVE",
|
|
51
|
+
DEACTIVATING: "DEACTIVATING",
|
|
52
|
+
DELETED: "DELETED",
|
|
53
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
54
|
+
ERROR: "ERROR",
|
|
55
|
+
INACTIVE: "INACTIVE",
|
|
56
|
+
};
|
|
36
57
|
export const UsageFeature = {
|
|
37
58
|
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
38
59
|
DNS_LOGS: "DNS_LOGS",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListThreatEntitySetsCommand, } from "../commands/ListThreatEntitySetsCommand";
|
|
3
|
+
import { GuardDutyClient } from "../GuardDutyClient";
|
|
4
|
+
export const paginateListThreatEntitySets = createPaginator(GuardDutyClient, ListThreatEntitySetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListTrustedEntitySetsCommand, } from "../commands/ListTrustedEntitySetsCommand";
|
|
3
|
+
import { GuardDutyClient } from "../GuardDutyClient";
|
|
4
|
+
export const paginateListTrustedEntitySets = createPaginator(GuardDutyClient, ListTrustedEntitySetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -11,4 +11,6 @@ export * from "./ListInvitationsPaginator";
|
|
|
11
11
|
export * from "./ListMembersPaginator";
|
|
12
12
|
export * from "./ListOrganizationAdminAccountsPaginator";
|
|
13
13
|
export * from "./ListPublishingDestinationsPaginator";
|
|
14
|
+
export * from "./ListThreatEntitySetsPaginator";
|
|
14
15
|
export * from "./ListThreatIntelSetsPaginator";
|
|
16
|
+
export * from "./ListTrustedEntitySetsPaginator";
|