@aws-sdk/client-guardduty 3.933.0 → 3.935.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 (72) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +1505 -525
  3. package/dist-es/GuardDuty.js +4 -0
  4. package/dist-es/commands/GetMalwareScanCommand.js +16 -0
  5. package/dist-es/commands/ListMalwareScansCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/index.js +2 -1
  8. package/dist-es/models/enums.js +445 -0
  9. package/dist-es/models/errors.js +81 -0
  10. package/dist-es/models/models_0.js +1 -383
  11. package/dist-es/models/models_1.js +1 -77
  12. package/dist-es/pagination/ListMalwareScansPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +942 -68
  15. package/dist-types/GuardDuty.d.ts +15 -0
  16. package/dist-types/GuardDutyClient.d.ts +4 -2
  17. package/dist-types/commands/DescribeMalwareScansCommand.d.ts +1 -0
  18. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
  19. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  20. package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
  21. package/dist-types/commands/GetFilterCommand.d.ts +1 -1
  22. package/dist-types/commands/GetFindingsCommand.d.ts +34 -1
  23. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
  24. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  25. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  26. package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
  27. package/dist-types/commands/GetMalwareScanCommand.d.ts +164 -0
  28. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  29. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  30. package/dist-types/commands/GetMemberDetectorsCommand.d.ts +1 -1
  31. package/dist-types/commands/GetMembersCommand.d.ts +1 -1
  32. package/dist-types/commands/ListMalwareScansCommand.d.ts +110 -0
  33. package/dist-types/commands/StartMalwareScanCommand.d.ts +14 -2
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/index.d.ts +4 -1
  36. package/dist-types/models/enums.d.ts +973 -0
  37. package/dist-types/models/errors.d.ts +112 -0
  38. package/dist-types/models/models_0.d.ts +1178 -784
  39. package/dist-types/models/models_1.d.ts +169 -893
  40. package/dist-types/pagination/ListMalwareScansPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +30 -0
  43. package/dist-types/ts3.4/GuardDuty.d.ts +35 -0
  44. package/dist-types/ts3.4/GuardDutyClient.d.ts +12 -0
  45. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListMalwareScansCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  61. package/dist-types/ts3.4/index.d.ts +4 -1
  62. package/dist-types/ts3.4/models/enums.d.ts +554 -0
  63. package/dist-types/ts3.4/models/errors.d.ts +45 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +329 -423
  65. package/dist-types/ts3.4/models/models_1.d.ts +68 -285
  66. package/dist-types/ts3.4/pagination/ListMalwareScansPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  68. package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
  69. package/package.json +12 -12
  70. package/dist-es/models/index.js +0 -2
  71. package/dist-types/models/index.d.ts +0 -2
  72. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,245 +1,48 @@
1
1
  import {
2
- AccountFreeTrialInfo,
3
- AdminAccount,
4
- Administrator,
5
2
  AutoEnableMembers,
6
- CoverageFilterCriteria,
7
- CoverageResource,
8
- CoverageSortCriteria,
9
- CoverageStatistics,
10
- CoverageStatisticsType,
11
- CreateProtectedResource,
12
3
  DataSource,
13
- DataSourceConfigurations,
14
- DataSourceConfigurationsResult,
15
- Destination,
16
- DestinationProperties,
17
- DetectorFeatureConfiguration,
18
- DetectorFeatureConfigurationResult,
19
- DetectorStatus,
20
4
  EbsSnapshotPreservation,
21
5
  FeatureStatus,
22
6
  Feedback,
23
7
  FilterAction,
24
- Finding,
25
- FindingCriteria,
26
8
  FindingPublishingFrequency,
27
- FindingStatistics,
28
- IpSetFormat,
29
- MalwareProtectionPlanActions,
30
- OrderBy,
9
+ ListMalwareScansCriterionKey,
10
+ MalwareProtectionResourceType,
11
+ MalwareProtectionScanStatus,
12
+ MalwareProtectionScanType,
31
13
  OrgFeature,
32
14
  OrgFeatureAdditionalConfiguration,
33
15
  OrgFeatureStatus,
34
- SortCriteria,
16
+ ScanResultStatus,
35
17
  ThreatEntitySetFormat,
18
+ ThreatEntitySetStatus,
36
19
  ThreatIntelSetFormat,
20
+ ThreatIntelSetStatus,
37
21
  TrustedEntitySetFormat,
22
+ TrustedEntitySetStatus,
23
+ UsageFeature,
24
+ UsageStatisticType,
25
+ } from "./enums";
26
+ import {
27
+ AccountFreeTrialInfo,
28
+ AdminAccount,
29
+ CoverageFilterCriteria,
30
+ CoverageResource,
31
+ CoverageSortCriteria,
32
+ DataSourceConfigurations,
33
+ Destination,
34
+ DestinationProperties,
35
+ DetectorFeatureConfiguration,
36
+ FilterCondition,
37
+ FindingCriteria,
38
+ IncrementalScanDetails,
39
+ MalwareProtectionPlanActions,
40
+ Member,
41
+ OrganizationFeatureStatisticsAdditionalConfiguration,
42
+ ScanResourceCriteria,
43
+ SortCriteria,
38
44
  UnprocessedAccount,
39
45
  } from "./models_0";
40
- export declare const FindingStatisticType: {
41
- readonly COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY";
42
- };
43
- export type FindingStatisticType =
44
- (typeof FindingStatisticType)[keyof typeof FindingStatisticType];
45
- export interface GetAdministratorAccountRequest {
46
- DetectorId: string | undefined;
47
- }
48
- export interface GetAdministratorAccountResponse {
49
- Administrator: Administrator | undefined;
50
- }
51
- export interface GetCoverageStatisticsRequest {
52
- DetectorId: string | undefined;
53
- FilterCriteria?: CoverageFilterCriteria | undefined;
54
- StatisticsType: CoverageStatisticsType[] | undefined;
55
- }
56
- export interface GetCoverageStatisticsResponse {
57
- CoverageStatistics?: CoverageStatistics | undefined;
58
- }
59
- export interface GetDetectorRequest {
60
- DetectorId: string | undefined;
61
- }
62
- export interface GetDetectorResponse {
63
- CreatedAt?: string | undefined;
64
- FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
65
- ServiceRole: string | undefined;
66
- Status: DetectorStatus | undefined;
67
- UpdatedAt?: string | undefined;
68
- DataSources?: DataSourceConfigurationsResult | undefined;
69
- Tags?: Record<string, string> | undefined;
70
- Features?: DetectorFeatureConfigurationResult[] | undefined;
71
- }
72
- export interface GetFilterRequest {
73
- DetectorId: string | undefined;
74
- FilterName: string | undefined;
75
- }
76
- export interface GetFilterResponse {
77
- Name: string | undefined;
78
- Description?: string | undefined;
79
- Action: FilterAction | undefined;
80
- Rank?: number | undefined;
81
- FindingCriteria: FindingCriteria | undefined;
82
- Tags?: Record<string, string> | undefined;
83
- }
84
- export interface GetFindingsRequest {
85
- DetectorId: string | undefined;
86
- FindingIds: string[] | undefined;
87
- SortCriteria?: SortCriteria | undefined;
88
- }
89
- export interface GetFindingsResponse {
90
- Findings: Finding[] | undefined;
91
- }
92
- export declare const GroupByType: {
93
- readonly ACCOUNT: "ACCOUNT";
94
- readonly DATE: "DATE";
95
- readonly FINDING_TYPE: "FINDING_TYPE";
96
- readonly RESOURCE: "RESOURCE";
97
- readonly SEVERITY: "SEVERITY";
98
- };
99
- export type GroupByType = (typeof GroupByType)[keyof typeof GroupByType];
100
- export interface GetFindingsStatisticsRequest {
101
- DetectorId: string | undefined;
102
- FindingStatisticTypes?: FindingStatisticType[] | undefined;
103
- FindingCriteria?: FindingCriteria | undefined;
104
- GroupBy?: GroupByType | undefined;
105
- OrderBy?: OrderBy | undefined;
106
- MaxResults?: number | undefined;
107
- }
108
- export interface GetFindingsStatisticsResponse {
109
- FindingStatistics: FindingStatistics | undefined;
110
- NextToken?: string | undefined;
111
- }
112
- export interface GetInvitationsCountRequest {}
113
- export interface GetInvitationsCountResponse {
114
- InvitationsCount?: number | undefined;
115
- }
116
- export interface GetIPSetRequest {
117
- DetectorId: string | undefined;
118
- IpSetId: string | undefined;
119
- }
120
- export declare const IpSetStatus: {
121
- readonly ACTIVATING: "ACTIVATING";
122
- readonly ACTIVE: "ACTIVE";
123
- readonly DEACTIVATING: "DEACTIVATING";
124
- readonly DELETED: "DELETED";
125
- readonly DELETE_PENDING: "DELETE_PENDING";
126
- readonly ERROR: "ERROR";
127
- readonly INACTIVE: "INACTIVE";
128
- };
129
- export type IpSetStatus = (typeof IpSetStatus)[keyof typeof IpSetStatus];
130
- export interface GetIPSetResponse {
131
- Name: string | undefined;
132
- Format: IpSetFormat | undefined;
133
- Location: string | undefined;
134
- Status: IpSetStatus | undefined;
135
- Tags?: Record<string, string> | undefined;
136
- ExpectedBucketOwner?: string | undefined;
137
- }
138
- export interface GetMalwareProtectionPlanRequest {
139
- MalwareProtectionPlanId: string | undefined;
140
- }
141
- export declare const MalwareProtectionPlanStatus: {
142
- readonly ACTIVE: "ACTIVE";
143
- readonly ERROR: "ERROR";
144
- readonly WARNING: "WARNING";
145
- };
146
- export type MalwareProtectionPlanStatus =
147
- (typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus];
148
- export interface MalwareProtectionPlanStatusReason {
149
- Code?: string | undefined;
150
- Message?: string | undefined;
151
- }
152
- export interface GetMalwareProtectionPlanResponse {
153
- Arn?: string | undefined;
154
- Role?: string | undefined;
155
- ProtectedResource?: CreateProtectedResource | undefined;
156
- Actions?: MalwareProtectionPlanActions | undefined;
157
- CreatedAt?: Date | undefined;
158
- Status?: MalwareProtectionPlanStatus | undefined;
159
- StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined;
160
- Tags?: Record<string, string> | undefined;
161
- }
162
- export interface GetMalwareScanSettingsRequest {
163
- DetectorId: string | undefined;
164
- }
165
- export declare const ScanCriterionKey: {
166
- readonly EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG";
167
- };
168
- export type ScanCriterionKey =
169
- (typeof ScanCriterionKey)[keyof typeof ScanCriterionKey];
170
- export interface ScanConditionPair {
171
- Key: string | undefined;
172
- Value?: string | undefined;
173
- }
174
- export interface ScanCondition {
175
- MapEquals: ScanConditionPair[] | undefined;
176
- }
177
- export interface ScanResourceCriteria {
178
- Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
179
- Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
180
- }
181
- export interface GetMalwareScanSettingsResponse {
182
- ScanResourceCriteria?: ScanResourceCriteria | undefined;
183
- EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
184
- }
185
- export interface GetMasterAccountRequest {
186
- DetectorId: string | undefined;
187
- }
188
- export interface Master {
189
- AccountId?: string | undefined;
190
- InvitationId?: string | undefined;
191
- RelationshipStatus?: string | undefined;
192
- InvitedAt?: string | undefined;
193
- }
194
- export interface GetMasterAccountResponse {
195
- Master: Master | undefined;
196
- }
197
- export interface GetMemberDetectorsRequest {
198
- DetectorId: string | undefined;
199
- AccountIds: string[] | undefined;
200
- }
201
- export interface MemberAdditionalConfigurationResult {
202
- Name?: OrgFeatureAdditionalConfiguration | undefined;
203
- Status?: FeatureStatus | undefined;
204
- UpdatedAt?: Date | undefined;
205
- }
206
- export interface MemberFeaturesConfigurationResult {
207
- Name?: OrgFeature | undefined;
208
- Status?: FeatureStatus | undefined;
209
- UpdatedAt?: Date | undefined;
210
- AdditionalConfiguration?: MemberAdditionalConfigurationResult[] | undefined;
211
- }
212
- export interface MemberDataSourceConfiguration {
213
- AccountId: string | undefined;
214
- DataSources?: DataSourceConfigurationsResult | undefined;
215
- Features?: MemberFeaturesConfigurationResult[] | undefined;
216
- }
217
- export interface GetMemberDetectorsResponse {
218
- MemberDataSourceConfigurations: MemberDataSourceConfiguration[] | undefined;
219
- UnprocessedAccounts: UnprocessedAccount[] | undefined;
220
- }
221
- export interface GetMembersRequest {
222
- DetectorId: string | undefined;
223
- AccountIds: string[] | undefined;
224
- }
225
- export interface Member {
226
- AccountId: string | undefined;
227
- DetectorId?: string | undefined;
228
- MasterId: string | undefined;
229
- Email: string | undefined;
230
- RelationshipStatus: string | undefined;
231
- InvitedAt?: string | undefined;
232
- UpdatedAt: string | undefined;
233
- AdministratorId?: string | undefined;
234
- }
235
- export interface GetMembersResponse {
236
- Members: Member[] | undefined;
237
- UnprocessedAccounts: UnprocessedAccount[] | undefined;
238
- }
239
- export interface OrganizationFeatureStatisticsAdditionalConfiguration {
240
- Name?: OrgFeatureAdditionalConfiguration | undefined;
241
- EnabledAccountsCount?: number | undefined;
242
- }
243
46
  export interface OrganizationFeatureStatistics {
244
47
  Name?: OrgFeature | undefined;
245
48
  EnabledAccountsCount?: number | undefined;
@@ -273,17 +76,6 @@ export interface GetThreatEntitySetRequest {
273
76
  DetectorId: string | undefined;
274
77
  ThreatEntitySetId: string | undefined;
275
78
  }
276
- export declare const ThreatEntitySetStatus: {
277
- readonly ACTIVATING: "ACTIVATING";
278
- readonly ACTIVE: "ACTIVE";
279
- readonly DEACTIVATING: "DEACTIVATING";
280
- readonly DELETED: "DELETED";
281
- readonly DELETE_PENDING: "DELETE_PENDING";
282
- readonly ERROR: "ERROR";
283
- readonly INACTIVE: "INACTIVE";
284
- };
285
- export type ThreatEntitySetStatus =
286
- (typeof ThreatEntitySetStatus)[keyof typeof ThreatEntitySetStatus];
287
79
  export interface GetThreatEntitySetResponse {
288
80
  Name: string | undefined;
289
81
  Format: ThreatEntitySetFormat | undefined;
@@ -299,17 +91,6 @@ export interface GetThreatIntelSetRequest {
299
91
  DetectorId: string | undefined;
300
92
  ThreatIntelSetId: string | undefined;
301
93
  }
302
- export declare const ThreatIntelSetStatus: {
303
- readonly ACTIVATING: "ACTIVATING";
304
- readonly ACTIVE: "ACTIVE";
305
- readonly DEACTIVATING: "DEACTIVATING";
306
- readonly DELETED: "DELETED";
307
- readonly DELETE_PENDING: "DELETE_PENDING";
308
- readonly ERROR: "ERROR";
309
- readonly INACTIVE: "INACTIVE";
310
- };
311
- export type ThreatIntelSetStatus =
312
- (typeof ThreatIntelSetStatus)[keyof typeof ThreatIntelSetStatus];
313
94
  export interface GetThreatIntelSetResponse {
314
95
  Name: string | undefined;
315
96
  Format: ThreatIntelSetFormat | undefined;
@@ -322,17 +103,6 @@ export interface GetTrustedEntitySetRequest {
322
103
  DetectorId: string | undefined;
323
104
  TrustedEntitySetId: string | undefined;
324
105
  }
325
- export declare const TrustedEntitySetStatus: {
326
- readonly ACTIVATING: "ACTIVATING";
327
- readonly ACTIVE: "ACTIVE";
328
- readonly DEACTIVATING: "DEACTIVATING";
329
- readonly DELETED: "DELETED";
330
- readonly DELETE_PENDING: "DELETE_PENDING";
331
- readonly ERROR: "ERROR";
332
- readonly INACTIVE: "INACTIVE";
333
- };
334
- export type TrustedEntitySetStatus =
335
- (typeof TrustedEntitySetStatus)[keyof typeof TrustedEntitySetStatus];
336
106
  export interface GetTrustedEntitySetResponse {
337
107
  Name: string | undefined;
338
108
  Format: TrustedEntitySetFormat | undefined;
@@ -344,38 +114,12 @@ export interface GetTrustedEntitySetResponse {
344
114
  UpdatedAt?: Date | undefined;
345
115
  ErrorDetails?: string | undefined;
346
116
  }
347
- export declare const UsageFeature: {
348
- readonly CLOUD_TRAIL: "CLOUD_TRAIL";
349
- readonly DNS_LOGS: "DNS_LOGS";
350
- readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
351
- readonly EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING";
352
- readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
353
- readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
354
- readonly FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING";
355
- readonly FLOW_LOGS: "FLOW_LOGS";
356
- readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
357
- readonly RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED";
358
- readonly RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS";
359
- readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
360
- readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
361
- };
362
- export type UsageFeature = (typeof UsageFeature)[keyof typeof UsageFeature];
363
117
  export interface UsageCriteria {
364
118
  AccountIds?: string[] | undefined;
365
119
  DataSources?: DataSource[] | undefined;
366
120
  Resources?: string[] | undefined;
367
121
  Features?: UsageFeature[] | undefined;
368
122
  }
369
- export declare const UsageStatisticType: {
370
- readonly SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT";
371
- readonly SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE";
372
- readonly SUM_BY_FEATURES: "SUM_BY_FEATURES";
373
- readonly SUM_BY_RESOURCE: "SUM_BY_RESOURCE";
374
- readonly TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE";
375
- readonly TOP_RESOURCES: "TOP_RESOURCES";
376
- };
377
- export type UsageStatisticType =
378
- (typeof UsageStatisticType)[keyof typeof UsageStatisticType];
379
123
  export interface GetUsageStatisticsRequest {
380
124
  DetectorId: string | undefined;
381
125
  UsageStatisticType: UsageStatisticType | undefined;
@@ -505,6 +249,35 @@ export interface ListMalwareProtectionPlansResponse {
505
249
  MalwareProtectionPlans?: MalwareProtectionPlanSummary[] | undefined;
506
250
  NextToken?: string | undefined;
507
251
  }
252
+ export interface ListMalwareScansFilterCriterion {
253
+ ListMalwareScansCriterionKey?: ListMalwareScansCriterionKey | undefined;
254
+ FilterCondition?: FilterCondition | undefined;
255
+ }
256
+ export interface ListMalwareScansFilterCriteria {
257
+ ListMalwareScansFilterCriterion?:
258
+ | ListMalwareScansFilterCriterion[]
259
+ | undefined;
260
+ }
261
+ export interface ListMalwareScansRequest {
262
+ MaxResults?: number | undefined;
263
+ NextToken?: string | undefined;
264
+ FilterCriteria?: ListMalwareScansFilterCriteria | undefined;
265
+ SortCriteria?: SortCriteria | undefined;
266
+ }
267
+ export interface MalwareScan {
268
+ ResourceArn?: string | undefined;
269
+ ResourceType?: MalwareProtectionResourceType | undefined;
270
+ ScanId?: string | undefined;
271
+ ScanStatus?: MalwareProtectionScanStatus | undefined;
272
+ ScanResultStatus?: ScanResultStatus | undefined;
273
+ ScanType?: MalwareProtectionScanType | undefined;
274
+ ScanStartedAt?: Date | undefined;
275
+ ScanCompletedAt?: Date | undefined;
276
+ }
277
+ export interface ListMalwareScansResponse {
278
+ Scans: MalwareScan[] | undefined;
279
+ NextToken?: string | undefined;
280
+ }
508
281
  export interface ListMembersRequest {
509
282
  DetectorId: string | undefined;
510
283
  MaxResults?: number | undefined;
@@ -574,8 +347,18 @@ export interface SendObjectMalwareScanRequest {
574
347
  S3Object?: S3ObjectForSendObjectMalwareScan | undefined;
575
348
  }
576
349
  export interface SendObjectMalwareScanResponse {}
350
+ export interface RecoveryPoint {
351
+ BackupVaultName: string | undefined;
352
+ }
353
+ export interface StartMalwareScanConfiguration {
354
+ Role: string | undefined;
355
+ IncrementalScanDetails?: IncrementalScanDetails | undefined;
356
+ RecoveryPoint?: RecoveryPoint | undefined;
357
+ }
577
358
  export interface StartMalwareScanRequest {
578
359
  ResourceArn: string | undefined;
360
+ ClientToken?: string | undefined;
361
+ ScanConfiguration?: StartMalwareScanConfiguration | undefined;
579
362
  }
580
363
  export interface StartMalwareScanResponse {
581
364
  ScanId?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMalwareScansCommandInput,
4
+ ListMalwareScansCommandOutput,
5
+ } from "../commands/ListMalwareScansCommand";
6
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMalwareScans: (
8
+ config: GuardDutyPaginationConfiguration,
9
+ input: ListMalwareScansCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMalwareScansCommandOutput>;
@@ -8,6 +8,7 @@ export * from "./ListFiltersPaginator";
8
8
  export * from "./ListFindingsPaginator";
9
9
  export * from "./ListIPSetsPaginator";
10
10
  export * from "./ListInvitationsPaginator";
11
+ export * from "./ListMalwareScansPaginator";
11
12
  export * from "./ListMembersPaginator";
12
13
  export * from "./ListOrganizationAdminAccountsPaginator";
13
14
  export * from "./ListPublishingDestinationsPaginator";
@@ -24,6 +24,7 @@ export declare var AccountStatistics: StaticStructureSchema;
24
24
  export declare var Action: StaticStructureSchema;
25
25
  export declare var Actor: StaticStructureSchema;
26
26
  export declare var ActorProcess: StaticStructureSchema;
27
+ export declare var AdditionalInfo: StaticStructureSchema;
27
28
  export declare var AddonDetails: StaticStructureSchema;
28
29
  export declare var AdminAccount: StaticStructureSchema;
29
30
  export declare var Administrator: StaticStructureSchema;
@@ -130,9 +131,12 @@ export declare var DisassociateMembersResponse: StaticStructureSchema;
130
131
  export declare var DNSLogsConfigurationResult: StaticStructureSchema;
131
132
  export declare var DnsRequestAction: StaticStructureSchema;
132
133
  export declare var DomainDetails: StaticStructureSchema;
134
+ export declare var EbsSnapshot: StaticStructureSchema;
135
+ export declare var EbsSnapshotDetails: StaticStructureSchema;
133
136
  export declare var EbsVolumeDetails: StaticStructureSchema;
134
137
  export declare var EbsVolumeScanDetails: StaticStructureSchema;
135
138
  export declare var EbsVolumesResult: StaticStructureSchema;
139
+ export declare var Ec2ImageDetails: StaticStructureSchema;
136
140
  export declare var Ec2Instance: StaticStructureSchema;
137
141
  export declare var Ec2NetworkInterface: StaticStructureSchema;
138
142
  export declare var EcsClusterDetails: StaticStructureSchema;
@@ -171,6 +175,9 @@ export declare var GetIPSetRequest: StaticStructureSchema;
171
175
  export declare var GetIPSetResponse: StaticStructureSchema;
172
176
  export declare var GetMalwareProtectionPlanRequest: StaticStructureSchema;
173
177
  export declare var GetMalwareProtectionPlanResponse: StaticStructureSchema;
178
+ export declare var GetMalwareScanRequest: StaticStructureSchema;
179
+ export declare var GetMalwareScanResponse: StaticStructureSchema;
180
+ export declare var GetMalwareScanResultDetails: StaticStructureSchema;
174
181
  export declare var GetMalwareScanSettingsRequest: StaticStructureSchema;
175
182
  export declare var GetMalwareScanSettingsResponse: StaticStructureSchema;
176
183
  export declare var GetMasterAccountRequest: StaticStructureSchema;
@@ -194,12 +201,14 @@ export declare var HighestSeverityThreatDetails: StaticStructureSchema;
194
201
  export declare var HostPath: StaticStructureSchema;
195
202
  export declare var IamInstanceProfile: StaticStructureSchema;
196
203
  export declare var ImpersonatedUser: StaticStructureSchema;
204
+ export declare var IncrementalScanDetails: StaticStructureSchema;
197
205
  export declare var Indicator: StaticStructureSchema;
198
206
  export declare var InstanceDetails: StaticStructureSchema;
199
207
  export declare var InternalServerErrorException: StaticErrorSchema;
200
208
  export declare var Invitation: StaticStructureSchema;
201
209
  export declare var InviteMembersRequest: StaticStructureSchema;
202
210
  export declare var InviteMembersResponse: StaticStructureSchema;
211
+ export declare var ItemDetails: StaticStructureSchema;
203
212
  export declare var ItemPath: StaticStructureSchema;
204
213
  export declare var KubernetesApiCallAction: StaticStructureSchema;
205
214
  export declare var KubernetesAuditLogsConfiguration: StaticStructureSchema;
@@ -230,6 +239,10 @@ export declare var ListIPSetsRequest: StaticStructureSchema;
230
239
  export declare var ListIPSetsResponse: StaticStructureSchema;
231
240
  export declare var ListMalwareProtectionPlansRequest: StaticStructureSchema;
232
241
  export declare var ListMalwareProtectionPlansResponse: StaticStructureSchema;
242
+ export declare var ListMalwareScansFilterCriteria: StaticStructureSchema;
243
+ export declare var ListMalwareScansFilterCriterion: StaticStructureSchema;
244
+ export declare var ListMalwareScansRequest: StaticStructureSchema;
245
+ export declare var ListMalwareScansResponse: StaticStructureSchema;
233
246
  export declare var ListMembersRequest: StaticStructureSchema;
234
247
  export declare var ListMembersResponse: StaticStructureSchema;
235
248
  export declare var ListOrganizationAdminAccountsRequest: StaticStructureSchema;
@@ -250,10 +263,12 @@ export declare var LoginAttribute: StaticStructureSchema;
250
263
  export declare var MalwareProtectionConfiguration: StaticStructureSchema;
251
264
  export declare var MalwareProtectionConfigurationResult: StaticStructureSchema;
252
265
  export declare var MalwareProtectionDataSourceFreeTrial: StaticStructureSchema;
266
+ export declare var MalwareProtectionFindingsScanConfiguration: StaticStructureSchema;
253
267
  export declare var MalwareProtectionPlanActions: StaticStructureSchema;
254
268
  export declare var MalwareProtectionPlanStatusReason: StaticStructureSchema;
255
269
  export declare var MalwareProtectionPlanSummary: StaticStructureSchema;
256
270
  export declare var MalwareProtectionPlanTaggingAction: StaticStructureSchema;
271
+ export declare var MalwareScan: StaticStructureSchema;
257
272
  export declare var MalwareScanDetails: StaticStructureSchema;
258
273
  export declare var Master: StaticStructureSchema;
259
274
  export declare var Member: StaticStructureSchema;
@@ -304,6 +319,8 @@ export declare var RdsDbInstanceDetails: StaticStructureSchema;
304
319
  export declare var RdsDbUserDetails: StaticStructureSchema;
305
320
  export declare var RdsLimitlessDbDetails: StaticStructureSchema;
306
321
  export declare var RdsLoginAttemptAction: StaticStructureSchema;
322
+ export declare var RecoveryPoint: StaticStructureSchema;
323
+ export declare var RecoveryPointDetails: StaticStructureSchema;
307
324
  export declare var RemoteAccountDetails: StaticStructureSchema;
308
325
  export declare var RemoteIpDetails: StaticStructureSchema;
309
326
  export declare var RemotePortDetails: StaticStructureSchema;
@@ -325,13 +342,18 @@ export declare var S3ObjectForSendObjectMalwareScan: StaticStructureSchema;
325
342
  export declare var Scan: StaticStructureSchema;
326
343
  export declare var ScanCondition: StaticStructureSchema;
327
344
  export declare var ScanConditionPair: StaticStructureSchema;
345
+ export declare var ScanConfiguration: StaticStructureSchema;
346
+ export declare var ScanConfigurationRecoveryPoint: StaticStructureSchema;
328
347
  export declare var ScanDetections: StaticStructureSchema;
329
348
  export declare var ScanEc2InstanceWithFindings: StaticStructureSchema;
330
349
  export declare var ScanEc2InstanceWithFindingsResult: StaticStructureSchema;
331
350
  export declare var ScanFilePath: StaticStructureSchema;
332
351
  export declare var ScannedItemCount: StaticStructureSchema;
352
+ export declare var ScannedResource: StaticStructureSchema;
353
+ export declare var ScannedResourceDetails: StaticStructureSchema;
333
354
  export declare var ScanResourceCriteria: StaticStructureSchema;
334
355
  export declare var ScanResultDetails: StaticStructureSchema;
356
+ export declare var ScanResultThreat: StaticStructureSchema;
335
357
  export declare var ScanThreatName: StaticStructureSchema;
336
358
  export declare var SecurityContext: StaticStructureSchema;
337
359
  export declare var SecurityGroup: StaticStructureSchema;
@@ -344,6 +366,7 @@ export declare var Session: StaticStructureSchema;
344
366
  export declare var SeverityStatistics: StaticStructureSchema;
345
367
  export declare var Signal: StaticStructureSchema;
346
368
  export declare var SortCriteria: StaticStructureSchema;
369
+ export declare var StartMalwareScanConfiguration: StaticStructureSchema;
347
370
  export declare var StartMalwareScanRequest: StaticStructureSchema;
348
371
  export declare var StartMalwareScanResponse: StaticStructureSchema;
349
372
  export declare var StartMonitoringMembersRequest: StaticStructureSchema;
@@ -451,12 +474,15 @@ export declare var Invitations: StaticListSchema;
451
474
  export declare var IpSetIds: number;
452
475
  export declare var Ipv6Addresses: number;
453
476
  export declare var Issues: number;
477
+ export declare var ItemDetailsList: StaticListSchema;
454
478
  export declare var ItemPaths: StaticListSchema;
455
479
  export declare var Lineage: StaticListSchema;
480
+ export declare var ListMalwareScansFilterCriterionList: StaticListSchema;
456
481
  export declare var LoginAttributes: StaticListSchema;
457
482
  export declare var MalwareProtectionPlanObjectPrefixesList: number;
458
483
  export declare var MalwareProtectionPlansSummary: StaticListSchema;
459
484
  export declare var MalwareProtectionPlanStatusReasonsList: StaticListSchema;
485
+ export declare var MalwareScans: StaticListSchema;
460
486
  export declare var MapEquals: StaticListSchema;
461
487
  export declare var MemberAdditionalConfigurationResults: StaticListSchema;
462
488
  export declare var MemberAdditionalConfigurations: StaticListSchema;
@@ -485,6 +511,8 @@ export declare var ResourceUids: number;
485
511
  export declare var S3BucketDetails: StaticListSchema;
486
512
  export declare var S3ObjectDetails: StaticListSchema;
487
513
  export declare var S3ObjectUids: number;
514
+ export declare var ScannedResources: StaticListSchema;
515
+ export declare var ScanResultThreats: StaticListSchema;
488
516
  export declare var Scans: StaticListSchema;
489
517
  export declare var ScanThreatNames: StaticListSchema;
490
518
  export declare var SecurityGroups: StaticListSchema;
@@ -564,6 +592,7 @@ export declare var GetFindingsStatistics: StaticOperationSchema;
564
592
  export declare var GetInvitationsCount: StaticOperationSchema;
565
593
  export declare var GetIPSet: StaticOperationSchema;
566
594
  export declare var GetMalwareProtectionPlan: StaticOperationSchema;
595
+ export declare var GetMalwareScan: StaticOperationSchema;
567
596
  export declare var GetMalwareScanSettings: StaticOperationSchema;
568
597
  export declare var GetMasterAccount: StaticOperationSchema;
569
598
  export declare var GetMemberDetectors: StaticOperationSchema;
@@ -582,6 +611,7 @@ export declare var ListFindings: StaticOperationSchema;
582
611
  export declare var ListInvitations: StaticOperationSchema;
583
612
  export declare var ListIPSets: StaticOperationSchema;
584
613
  export declare var ListMalwareProtectionPlans: StaticOperationSchema;
614
+ export declare var ListMalwareScans: StaticOperationSchema;
585
615
  export declare var ListMembers: StaticOperationSchema;
586
616
  export declare var ListOrganizationAdminAccounts: StaticOperationSchema;
587
617
  export declare var ListPublishingDestinations: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-guardduty",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1,2 +0,0 @@
1
- export * from "./models_0";
2
- export * from "./models_1";
@@ -1,2 +0,0 @@
1
- export * from "./models_0";
2
- export * from "./models_1";
@@ -1,2 +0,0 @@
1
- export * from "./models_0";
2
- export * from "./models_1";