@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
@@ -1,4 +1,203 @@
1
- import { AccountFreeTrialInfo, AdminAccount, AutoEnableMembers, CoverageFilterCriteria, CoverageResource, CoverageSortCriteria, CreateProtectedResource, DataSource, DataSourceConfigurations, DataSourceConfigurationsResult, Destination, DestinationProperties, DetectorFeatureConfiguration, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, Finding, FindingCriteria, FindingPublishingFrequency, FindingStatistics, FindingStatisticType, IpSetFormat, MalwareProtectionPlanActions, OrderBy, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, SortCriteria, ThreatIntelSetFormat, UnprocessedAccount } from "./models_0";
1
+ import { AccountFreeTrialInfo, AdminAccount, Administrator, AutoEnableMembers, CoverageFilterCriteria, CoverageResource, CoverageSortCriteria, CoverageStatistics, CoverageStatisticsType, CreateProtectedResource, DataSource, DataSourceConfigurations, DataSourceConfigurationsResult, Destination, DestinationProperties, DetectorFeatureConfiguration, DetectorFeatureConfigurationResult, DetectorStatus, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, Finding, FindingCriteria, FindingPublishingFrequency, FindingStatistics, IpSetFormat, MalwareProtectionPlanActions, OrderBy, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, SortCriteria, ThreatEntitySetFormat, ThreatIntelSetFormat, TrustedEntitySetFormat, UnprocessedAccount } from "./models_0";
2
+ /**
3
+ * @public
4
+ * @enum
5
+ */
6
+ export declare const FindingStatisticType: {
7
+ readonly COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type FindingStatisticType = (typeof FindingStatisticType)[keyof typeof FindingStatisticType];
13
+ /**
14
+ * @public
15
+ */
16
+ export interface GetAdministratorAccountRequest {
17
+ /**
18
+ * <p>The unique ID of the detector of the GuardDuty member account.</p>
19
+ * @public
20
+ */
21
+ DetectorId: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface GetAdministratorAccountResponse {
27
+ /**
28
+ * <p>The administrator account details.</p>
29
+ * @public
30
+ */
31
+ Administrator: Administrator | undefined;
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface GetCoverageStatisticsRequest {
37
+ /**
38
+ * <p>The unique ID of the GuardDuty detector.</p>
39
+ * <p>To find the <code>detectorId</code> in the current Region, see the
40
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
41
+ * @public
42
+ */
43
+ DetectorId: string | undefined;
44
+ /**
45
+ * <p>Represents the criteria used to filter the coverage statistics.</p>
46
+ * @public
47
+ */
48
+ FilterCriteria?: CoverageFilterCriteria | undefined;
49
+ /**
50
+ * <p>Represents the statistics type used to aggregate the coverage details.</p>
51
+ * @public
52
+ */
53
+ StatisticsType: CoverageStatisticsType[] | undefined;
54
+ }
55
+ /**
56
+ * @public
57
+ */
58
+ export interface GetCoverageStatisticsResponse {
59
+ /**
60
+ * <p>Represents the count aggregated by the <code>statusCode</code> and
61
+ * <code>resourceType</code>.</p>
62
+ * @public
63
+ */
64
+ CoverageStatistics?: CoverageStatistics | undefined;
65
+ }
66
+ /**
67
+ * @public
68
+ */
69
+ export interface GetDetectorRequest {
70
+ /**
71
+ * <p>The unique ID of the detector that you want to get.</p>
72
+ * <p>To find the <code>detectorId</code> in the current Region, see the
73
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
74
+ * @public
75
+ */
76
+ DetectorId: string | undefined;
77
+ }
78
+ /**
79
+ * @public
80
+ */
81
+ export interface GetDetectorResponse {
82
+ /**
83
+ * <p>The timestamp of when the detector was created.</p>
84
+ * @public
85
+ */
86
+ CreatedAt?: string | undefined;
87
+ /**
88
+ * <p>The publishing frequency of the finding.</p>
89
+ * @public
90
+ */
91
+ FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
92
+ /**
93
+ * <p>The GuardDuty service role.</p>
94
+ * @public
95
+ */
96
+ ServiceRole: string | undefined;
97
+ /**
98
+ * <p>The detector status.</p>
99
+ * @public
100
+ */
101
+ Status: DetectorStatus | undefined;
102
+ /**
103
+ * <p>The last-updated timestamp for the detector.</p>
104
+ * @public
105
+ */
106
+ UpdatedAt?: string | undefined;
107
+ /**
108
+ * <p>Describes which data sources are enabled for the detector.</p>
109
+ *
110
+ * @deprecated
111
+ * @public
112
+ */
113
+ DataSources?: DataSourceConfigurationsResult | undefined;
114
+ /**
115
+ * <p>The tags of the detector resource.</p>
116
+ * @public
117
+ */
118
+ Tags?: Record<string, string> | undefined;
119
+ /**
120
+ * <p>Describes the features that have been enabled for the detector.</p>
121
+ * @public
122
+ */
123
+ Features?: DetectorFeatureConfigurationResult[] | undefined;
124
+ }
125
+ /**
126
+ * @public
127
+ */
128
+ export interface GetFilterRequest {
129
+ /**
130
+ * <p>The unique ID of the detector that is associated with this filter.</p>
131
+ * <p>To find the <code>detectorId</code> in the current Region, see the
132
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
133
+ * @public
134
+ */
135
+ DetectorId: string | undefined;
136
+ /**
137
+ * <p>The name of the filter you want to get.</p>
138
+ * @public
139
+ */
140
+ FilterName: string | undefined;
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ export interface GetFilterResponse {
146
+ /**
147
+ * <p>The name of the filter.</p>
148
+ * @public
149
+ */
150
+ Name: string | undefined;
151
+ /**
152
+ * <p>The description of the filter.</p>
153
+ * @public
154
+ */
155
+ Description?: string | undefined;
156
+ /**
157
+ * <p>Specifies the action that is to be applied to the findings that match the filter.</p>
158
+ * @public
159
+ */
160
+ Action: FilterAction | undefined;
161
+ /**
162
+ * <p>Specifies the position of the filter in the list of current filters. Also specifies the
163
+ * order in which this filter is applied to the findings.</p>
164
+ * @public
165
+ */
166
+ Rank?: number | undefined;
167
+ /**
168
+ * <p>Represents the criteria to be used in the filter for querying findings.</p>
169
+ * @public
170
+ */
171
+ FindingCriteria: FindingCriteria | undefined;
172
+ /**
173
+ * <p>The tags of the filter resource.</p>
174
+ * @public
175
+ */
176
+ Tags?: Record<string, string> | undefined;
177
+ }
178
+ /**
179
+ * @public
180
+ */
181
+ export interface GetFindingsRequest {
182
+ /**
183
+ * <p>The ID of the detector that specifies the GuardDuty service whose findings you want to
184
+ * retrieve.</p>
185
+ * <p>To find the <code>detectorId</code> in the current Region, see the
186
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
187
+ * @public
188
+ */
189
+ DetectorId: string | undefined;
190
+ /**
191
+ * <p>The IDs of the findings that you want to retrieve.</p>
192
+ * @public
193
+ */
194
+ FindingIds: string[] | undefined;
195
+ /**
196
+ * <p>Represents the criteria used for sorting findings.</p>
197
+ * @public
198
+ */
199
+ SortCriteria?: SortCriteria | undefined;
200
+ }
2
201
  /**
3
202
  * @public
4
203
  */
@@ -728,6 +927,91 @@ export interface GetRemainingFreeTrialDaysResponse {
728
927
  */
729
928
  UnprocessedAccounts?: UnprocessedAccount[] | undefined;
730
929
  }
930
+ /**
931
+ * @public
932
+ */
933
+ export interface GetThreatEntitySetRequest {
934
+ /**
935
+ * <p>The unique ID of the detector associated with the threat entity set resource.</p>
936
+ * <p>To find the <code>detectorId</code> in the current Region, see the
937
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
938
+ * @public
939
+ */
940
+ DetectorId: string | undefined;
941
+ /**
942
+ * <p>The unique ID that helps GuardDuty identify the threat entity set.</p>
943
+ * @public
944
+ */
945
+ ThreatEntitySetId: string | undefined;
946
+ }
947
+ /**
948
+ * @public
949
+ * @enum
950
+ */
951
+ export declare const ThreatEntitySetStatus: {
952
+ readonly ACTIVATING: "ACTIVATING";
953
+ readonly ACTIVE: "ACTIVE";
954
+ readonly DEACTIVATING: "DEACTIVATING";
955
+ readonly DELETED: "DELETED";
956
+ readonly DELETE_PENDING: "DELETE_PENDING";
957
+ readonly ERROR: "ERROR";
958
+ readonly INACTIVE: "INACTIVE";
959
+ };
960
+ /**
961
+ * @public
962
+ */
963
+ export type ThreatEntitySetStatus = (typeof ThreatEntitySetStatus)[keyof typeof ThreatEntitySetStatus];
964
+ /**
965
+ * @public
966
+ */
967
+ export interface GetThreatEntitySetResponse {
968
+ /**
969
+ * <p>The name of the threat entity set associated with the specified <code>threatEntitySetId</code>.</p>
970
+ * @public
971
+ */
972
+ Name: string | undefined;
973
+ /**
974
+ * <p>The format of the file that contains the threat entity set.</p>
975
+ * @public
976
+ */
977
+ Format: ThreatEntitySetFormat | undefined;
978
+ /**
979
+ * <p>The URI of the file that contains the threat entity set.</p>
980
+ * @public
981
+ */
982
+ Location: string | undefined;
983
+ /**
984
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b>
985
+ * parameter.</p>
986
+ * @public
987
+ */
988
+ ExpectedBucketOwner?: string | undefined;
989
+ /**
990
+ * <p>The status of the associated threat entity set.</p>
991
+ * @public
992
+ */
993
+ Status: ThreatEntitySetStatus | undefined;
994
+ /**
995
+ * <p>The tags associated with the threat entity set resource.</p>
996
+ * @public
997
+ */
998
+ Tags?: Record<string, string> | undefined;
999
+ /**
1000
+ * <p>The timestamp when the associated threat entity set was created.</p>
1001
+ * @public
1002
+ */
1003
+ CreatedAt?: Date | undefined;
1004
+ /**
1005
+ * <p>The timestamp when the associated threat entity set was updated.</p>
1006
+ * @public
1007
+ */
1008
+ UpdatedAt?: Date | undefined;
1009
+ /**
1010
+ * <p>The error details when the status is shown as <code>ERROR</code>.</p>
1011
+ * @public
1012
+ */
1013
+ ErrorDetails?: string | undefined;
1014
+ }
731
1015
  /**
732
1016
  * @public
733
1017
  */
@@ -799,6 +1083,89 @@ export interface GetThreatIntelSetResponse {
799
1083
  */
800
1084
  ExpectedBucketOwner?: string | undefined;
801
1085
  }
1086
+ /**
1087
+ * @public
1088
+ */
1089
+ export interface GetTrustedEntitySetRequest {
1090
+ /**
1091
+ * <p>The unique ID of the GuardDuty detector associated with this trusted entity set.</p>
1092
+ * @public
1093
+ */
1094
+ DetectorId: string | undefined;
1095
+ /**
1096
+ * <p>The unique ID that helps GuardDuty identify the trusted entity set.</p>
1097
+ * @public
1098
+ */
1099
+ TrustedEntitySetId: string | undefined;
1100
+ }
1101
+ /**
1102
+ * @public
1103
+ * @enum
1104
+ */
1105
+ export declare const TrustedEntitySetStatus: {
1106
+ readonly ACTIVATING: "ACTIVATING";
1107
+ readonly ACTIVE: "ACTIVE";
1108
+ readonly DEACTIVATING: "DEACTIVATING";
1109
+ readonly DELETED: "DELETED";
1110
+ readonly DELETE_PENDING: "DELETE_PENDING";
1111
+ readonly ERROR: "ERROR";
1112
+ readonly INACTIVE: "INACTIVE";
1113
+ };
1114
+ /**
1115
+ * @public
1116
+ */
1117
+ export type TrustedEntitySetStatus = (typeof TrustedEntitySetStatus)[keyof typeof TrustedEntitySetStatus];
1118
+ /**
1119
+ * @public
1120
+ */
1121
+ export interface GetTrustedEntitySetResponse {
1122
+ /**
1123
+ * <p>The name of the threat entity set associated with the specified <code>trustedEntitySetId</code>.</p>
1124
+ * @public
1125
+ */
1126
+ Name: string | undefined;
1127
+ /**
1128
+ * <p>The format of the file that contains the trusted entity set.</p>
1129
+ * @public
1130
+ */
1131
+ Format: TrustedEntitySetFormat | undefined;
1132
+ /**
1133
+ * <p>The URI of the file that contains the trusted entity set.</p>
1134
+ * @public
1135
+ */
1136
+ Location: string | undefined;
1137
+ /**
1138
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b>
1139
+ * parameter.</p>
1140
+ * @public
1141
+ */
1142
+ ExpectedBucketOwner?: string | undefined;
1143
+ /**
1144
+ * <p>The status of the associated trusted entity set.</p>
1145
+ * @public
1146
+ */
1147
+ Status: TrustedEntitySetStatus | undefined;
1148
+ /**
1149
+ * <p>The tags associated with trusted entity set resource.</p>
1150
+ * @public
1151
+ */
1152
+ Tags?: Record<string, string> | undefined;
1153
+ /**
1154
+ * <p>The timestamp when the associated trusted entity set was created.</p>
1155
+ * @public
1156
+ */
1157
+ CreatedAt?: Date | undefined;
1158
+ /**
1159
+ * <p>The timestamp when the associated trusted entity set was updated.</p>
1160
+ * @public
1161
+ */
1162
+ UpdatedAt?: Date | undefined;
1163
+ /**
1164
+ * <p>The error details when the status is shown as <code>ERROR</code>.</p>
1165
+ * @public
1166
+ */
1167
+ ErrorDetails?: string | undefined;
1168
+ }
802
1169
  /**
803
1170
  * @public
804
1171
  * @enum
@@ -1763,6 +2130,47 @@ export interface ListTagsForResourceResponse {
1763
2130
  */
1764
2131
  Tags?: Record<string, string> | undefined;
1765
2132
  }
2133
+ /**
2134
+ * @public
2135
+ */
2136
+ export interface ListThreatEntitySetsRequest {
2137
+ /**
2138
+ * <p>The unique ID of the GuardDuty detector that is associated with this threat entity set.</p>
2139
+ * <p>To find the <code>detectorId</code> in the current Region, see the
2140
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
2141
+ * @public
2142
+ */
2143
+ DetectorId: string | undefined;
2144
+ /**
2145
+ * <p>You can use this parameter to indicate the maximum number of
2146
+ * items you want in the response. The default value is 50.</p>
2147
+ * @public
2148
+ */
2149
+ MaxResults?: number | undefined;
2150
+ /**
2151
+ * <p>You can use this parameter when paginating results. Set the value
2152
+ * of this parameter to null on your first call to the list action. For
2153
+ * subsequent calls to the action, fill nextToken in the request
2154
+ * with the value of NextToken from the previous response to continue listing data.</p>
2155
+ * @public
2156
+ */
2157
+ NextToken?: string | undefined;
2158
+ }
2159
+ /**
2160
+ * @public
2161
+ */
2162
+ export interface ListThreatEntitySetsResponse {
2163
+ /**
2164
+ * <p>The IDs of the threat entity set resources.</p>
2165
+ * @public
2166
+ */
2167
+ ThreatEntitySetIds: string[] | undefined;
2168
+ /**
2169
+ * <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
2170
+ * @public
2171
+ */
2172
+ NextToken?: string | undefined;
2173
+ }
1766
2174
  /**
1767
2175
  * @public
1768
2176
  */
@@ -1805,6 +2213,47 @@ export interface ListThreatIntelSetsResponse {
1805
2213
  */
1806
2214
  NextToken?: string | undefined;
1807
2215
  }
2216
+ /**
2217
+ * @public
2218
+ */
2219
+ export interface ListTrustedEntitySetsRequest {
2220
+ /**
2221
+ * <p>The unique ID of the GuardDuty detector that is associated with this threat entity set.</p>
2222
+ * <p>To find the <code>detectorId</code> in the current Region, see the
2223
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
2224
+ * @public
2225
+ */
2226
+ DetectorId: string | undefined;
2227
+ /**
2228
+ * <p>You can use this parameter to indicate the maximum number of
2229
+ * items you want in the response. The default value is 50.</p>
2230
+ * @public
2231
+ */
2232
+ MaxResults?: number | undefined;
2233
+ /**
2234
+ * <p>You can use this parameter when paginating results. Set the value
2235
+ * of this parameter to null on your first call to the list action. For
2236
+ * subsequent calls to the action, fill nextToken in the request
2237
+ * with the value of NextToken from the previous response to continue listing data.</p>
2238
+ * @public
2239
+ */
2240
+ NextToken?: string | undefined;
2241
+ }
2242
+ /**
2243
+ * @public
2244
+ */
2245
+ export interface ListTrustedEntitySetsResponse {
2246
+ /**
2247
+ * <p>The IDs of the trusted entity set resources.</p>
2248
+ * @public
2249
+ */
2250
+ TrustedEntitySetIds: string[] | undefined;
2251
+ /**
2252
+ * <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
2253
+ * @public
2254
+ */
2255
+ NextToken?: string | undefined;
2256
+ }
1808
2257
  /**
1809
2258
  * @public
1810
2259
  */
@@ -2561,6 +3010,55 @@ export interface UpdatePublishingDestinationRequest {
2561
3010
  */
2562
3011
  export interface UpdatePublishingDestinationResponse {
2563
3012
  }
3013
+ /**
3014
+ * @public
3015
+ */
3016
+ export interface UpdateThreatEntitySetRequest {
3017
+ /**
3018
+ * <p>The unique ID of the GuardDuty detector associated with the threat entity set that you want to
3019
+ * update.</p>
3020
+ * <p>To find the <code>detectorId</code> in the current Region, see the
3021
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
3022
+ * @public
3023
+ */
3024
+ DetectorId: string | undefined;
3025
+ /**
3026
+ * <p>The ID returned by GuardDuty after updating the threat entity set resource.</p>
3027
+ * @public
3028
+ */
3029
+ ThreatEntitySetId: string | undefined;
3030
+ /**
3031
+ * <p>A user-friendly name to identify the trusted entity set.</p>
3032
+ * <p>
3033
+ * <b>List naming constraints</b> - The name of your list can include
3034
+ * lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).</p>
3035
+ * @public
3036
+ */
3037
+ Name?: string | undefined;
3038
+ /**
3039
+ * <p>The URI of the file that contains the trusted entity set.</p>
3040
+ * @public
3041
+ */
3042
+ Location?: string | undefined;
3043
+ /**
3044
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b>
3045
+ * parameter.</p>
3046
+ * @public
3047
+ */
3048
+ ExpectedBucketOwner?: string | undefined;
3049
+ /**
3050
+ * <p>A boolean value that indicates whether GuardDuty is to start using this updated threat entity set. After you
3051
+ * update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated
3052
+ * entity set to be effective.</p>
3053
+ * @public
3054
+ */
3055
+ Activate?: boolean | undefined;
3056
+ }
3057
+ /**
3058
+ * @public
3059
+ */
3060
+ export interface UpdateThreatEntitySetResponse {
3061
+ }
2564
3062
  /**
2565
3063
  * @public
2566
3064
  */
@@ -2605,6 +3103,55 @@ export interface UpdateThreatIntelSetRequest {
2605
3103
  */
2606
3104
  export interface UpdateThreatIntelSetResponse {
2607
3105
  }
3106
+ /**
3107
+ * @public
3108
+ */
3109
+ export interface UpdateTrustedEntitySetRequest {
3110
+ /**
3111
+ * <p>The unique ID of the GuardDuty detector associated with the threat entity set that you want to
3112
+ * update.</p>
3113
+ * <p>To find the <code>detectorId</code> in the current Region, see the
3114
+ * Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
3115
+ * @public
3116
+ */
3117
+ DetectorId: string | undefined;
3118
+ /**
3119
+ * <p>The ID returned by GuardDuty after updating the trusted entity set resource.</p>
3120
+ * @public
3121
+ */
3122
+ TrustedEntitySetId: string | undefined;
3123
+ /**
3124
+ * <p>A user-friendly name to identify the trusted entity set.</p>
3125
+ * <p>
3126
+ * <b>List naming constraints</b> - The name of your list can include
3127
+ * lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).</p>
3128
+ * @public
3129
+ */
3130
+ Name?: string | undefined;
3131
+ /**
3132
+ * <p>The URI of the file that contains the trusted entity set.</p>
3133
+ * @public
3134
+ */
3135
+ Location?: string | undefined;
3136
+ /**
3137
+ * <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b>
3138
+ * parameter.</p>
3139
+ * @public
3140
+ */
3141
+ ExpectedBucketOwner?: string | undefined;
3142
+ /**
3143
+ * <p>A boolean value that indicates whether GuardDuty is to start using this updated trusted entity set. After you
3144
+ * update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated
3145
+ * entity set to be effective.</p>
3146
+ * @public
3147
+ */
3148
+ Activate?: boolean | undefined;
3149
+ }
3150
+ /**
3151
+ * @public
3152
+ */
3153
+ export interface UpdateTrustedEntitySetResponse {
3154
+ }
2608
3155
  /**
2609
3156
  * @internal
2610
3157
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListThreatEntitySetsCommandInput, ListThreatEntitySetsCommandOutput } from "../commands/ListThreatEntitySetsCommand";
3
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListThreatEntitySets: (config: GuardDutyPaginationConfiguration, input: ListThreatEntitySetsCommandInput, ...rest: any[]) => Paginator<ListThreatEntitySetsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTrustedEntitySetsCommandInput, ListTrustedEntitySetsCommandOutput } from "../commands/ListTrustedEntitySetsCommand";
3
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListTrustedEntitySets: (config: GuardDutyPaginationConfiguration, input: ListTrustedEntitySetsCommandInput, ...rest: any[]) => Paginator<ListTrustedEntitySetsCommandOutput>;
@@ -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";