@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.
Files changed (69) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/index.js +532 -6
  3. package/dist-es/GuardDuty.js +20 -0
  4. package/dist-es/commands/CreateThreatEntitySetCommand.js +22 -0
  5. package/dist-es/commands/CreateTrustedEntitySetCommand.js +22 -0
  6. package/dist-es/commands/DeleteThreatEntitySetCommand.js +22 -0
  7. package/dist-es/commands/DeleteTrustedEntitySetCommand.js +22 -0
  8. package/dist-es/commands/GetThreatEntitySetCommand.js +22 -0
  9. package/dist-es/commands/GetTrustedEntitySetCommand.js +22 -0
  10. package/dist-es/commands/ListThreatEntitySetsCommand.js +22 -0
  11. package/dist-es/commands/ListTrustedEntitySetsCommand.js +22 -0
  12. package/dist-es/commands/UpdateThreatEntitySetCommand.js +22 -0
  13. package/dist-es/commands/UpdateTrustedEntitySetCommand.js +22 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +16 -3
  16. package/dist-es/models/models_1.js +21 -0
  17. package/dist-es/pagination/ListThreatEntitySetsPaginator.js +4 -0
  18. package/dist-es/pagination/ListTrustedEntitySetsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/protocols/Aws_restJson1.js +284 -0
  21. package/dist-types/GuardDuty.d.ts +70 -0
  22. package/dist-types/GuardDutyClient.d.ts +12 -2
  23. package/dist-types/commands/CreateThreatEntitySetCommand.d.ts +91 -0
  24. package/dist-types/commands/CreateTrustedEntitySetCommand.d.ts +92 -0
  25. package/dist-types/commands/DeleteThreatEntitySetCommand.d.ts +78 -0
  26. package/dist-types/commands/DeleteTrustedEntitySetCommand.d.ts +78 -0
  27. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
  28. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  29. package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
  30. package/dist-types/commands/GetFilterCommand.d.ts +1 -1
  31. package/dist-types/commands/GetFindingsCommand.d.ts +1 -2
  32. package/dist-types/commands/GetThreatEntitySetCommand.d.ts +89 -0
  33. package/dist-types/commands/GetTrustedEntitySetCommand.d.ts +89 -0
  34. package/dist-types/commands/ListThreatEntitySetsCommand.d.ts +85 -0
  35. package/dist-types/commands/ListTrustedEntitySetsCommand.d.ts +85 -0
  36. package/dist-types/commands/UpdateThreatEntitySetCommand.d.ts +81 -0
  37. package/dist-types/commands/UpdateTrustedEntitySetCommand.d.ts +81 -0
  38. package/dist-types/commands/index.d.ts +10 -0
  39. package/dist-types/models/models_0.d.ts +200 -200
  40. package/dist-types/models/models_1.d.ts +548 -1
  41. package/dist-types/pagination/ListThreatEntitySetsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListTrustedEntitySetsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +2 -0
  44. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  45. package/dist-types/ts3.4/GuardDuty.d.ts +170 -0
  46. package/dist-types/ts3.4/GuardDutyClient.d.ts +62 -2
  47. package/dist-types/ts3.4/commands/CreateThreatEntitySetCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/CreateTrustedEntitySetCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/DeleteThreatEntitySetCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/DeleteTrustedEntitySetCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -2
  56. package/dist-types/ts3.4/commands/GetThreatEntitySetCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/GetTrustedEntitySetCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListThreatEntitySetsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListTrustedEntitySetsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/UpdateThreatEntitySetCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/UpdateTrustedEntitySetCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +56 -49
  64. package/dist-types/ts3.4/models/models_1.d.ts +144 -1
  65. package/dist-types/ts3.4/pagination/ListThreatEntitySetsPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/ListTrustedEntitySetsPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  69. package/package.json +5 -5
@@ -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";