@aws-sdk/client-guardduty 3.687.0 → 3.691.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.
@@ -28,19 +28,19 @@ import {
28
28
  UnprocessedAccount,
29
29
  } from "./models_0";
30
30
  export interface OrganizationDetails {
31
- UpdatedAt?: Date;
32
- OrganizationStatistics?: OrganizationStatistics;
31
+ UpdatedAt?: Date | undefined;
32
+ OrganizationStatistics?: OrganizationStatistics | undefined;
33
33
  }
34
34
  export interface GetOrganizationStatisticsResponse {
35
- OrganizationDetails?: OrganizationDetails;
35
+ OrganizationDetails?: OrganizationDetails | undefined;
36
36
  }
37
37
  export interface GetRemainingFreeTrialDaysRequest {
38
38
  DetectorId: string | undefined;
39
- AccountIds?: string[];
39
+ AccountIds?: string[] | undefined;
40
40
  }
41
41
  export interface GetRemainingFreeTrialDaysResponse {
42
- Accounts?: AccountFreeTrialInfo[];
43
- UnprocessedAccounts?: UnprocessedAccount[];
42
+ Accounts?: AccountFreeTrialInfo[] | undefined;
43
+ UnprocessedAccounts?: UnprocessedAccount[] | undefined;
44
44
  }
45
45
  export interface GetThreatIntelSetRequest {
46
46
  DetectorId: string | undefined;
@@ -62,7 +62,7 @@ export interface GetThreatIntelSetResponse {
62
62
  Format: ThreatIntelSetFormat | undefined;
63
63
  Location: string | undefined;
64
64
  Status: ThreatIntelSetStatus | undefined;
65
- Tags?: Record<string, string>;
65
+ Tags?: Record<string, string> | undefined;
66
66
  }
67
67
  export declare const UsageFeature: {
68
68
  readonly CLOUD_TRAIL: "CLOUD_TRAIL";
@@ -81,10 +81,10 @@ export declare const UsageFeature: {
81
81
  };
82
82
  export type UsageFeature = (typeof UsageFeature)[keyof typeof UsageFeature];
83
83
  export interface UsageCriteria {
84
- AccountIds?: string[];
85
- DataSources?: DataSource[];
86
- Resources?: string[];
87
- Features?: UsageFeature[];
84
+ AccountIds?: string[] | undefined;
85
+ DataSources?: DataSource[] | undefined;
86
+ Resources?: string[] | undefined;
87
+ Features?: UsageFeature[] | undefined;
88
88
  }
89
89
  export declare const UsageStatisticType: {
90
90
  readonly SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT";
@@ -100,178 +100,178 @@ export interface GetUsageStatisticsRequest {
100
100
  DetectorId: string | undefined;
101
101
  UsageStatisticType: UsageStatisticType | undefined;
102
102
  UsageCriteria: UsageCriteria | undefined;
103
- Unit?: string;
104
- MaxResults?: number;
105
- NextToken?: string;
103
+ Unit?: string | undefined;
104
+ MaxResults?: number | undefined;
105
+ NextToken?: string | undefined;
106
106
  }
107
107
  export interface Total {
108
- Amount?: string;
109
- Unit?: string;
108
+ Amount?: string | undefined;
109
+ Unit?: string | undefined;
110
110
  }
111
111
  export interface UsageAccountResult {
112
- AccountId?: string;
113
- Total?: Total;
112
+ AccountId?: string | undefined;
113
+ Total?: Total | undefined;
114
114
  }
115
115
  export interface UsageDataSourceResult {
116
- DataSource?: DataSource;
117
- Total?: Total;
116
+ DataSource?: DataSource | undefined;
117
+ Total?: Total | undefined;
118
118
  }
119
119
  export interface UsageFeatureResult {
120
- Feature?: UsageFeature;
121
- Total?: Total;
120
+ Feature?: UsageFeature | undefined;
121
+ Total?: Total | undefined;
122
122
  }
123
123
  export interface UsageResourceResult {
124
- Resource?: string;
125
- Total?: Total;
124
+ Resource?: string | undefined;
125
+ Total?: Total | undefined;
126
126
  }
127
127
  export interface UsageTopAccountResult {
128
- AccountId?: string;
129
- Total?: Total;
128
+ AccountId?: string | undefined;
129
+ Total?: Total | undefined;
130
130
  }
131
131
  export interface UsageTopAccountsResult {
132
- Feature?: UsageFeature;
133
- Accounts?: UsageTopAccountResult[];
132
+ Feature?: UsageFeature | undefined;
133
+ Accounts?: UsageTopAccountResult[] | undefined;
134
134
  }
135
135
  export interface UsageStatistics {
136
- SumByAccount?: UsageAccountResult[];
137
- TopAccountsByFeature?: UsageTopAccountsResult[];
138
- SumByDataSource?: UsageDataSourceResult[];
139
- SumByResource?: UsageResourceResult[];
140
- TopResources?: UsageResourceResult[];
141
- SumByFeature?: UsageFeatureResult[];
136
+ SumByAccount?: UsageAccountResult[] | undefined;
137
+ TopAccountsByFeature?: UsageTopAccountsResult[] | undefined;
138
+ SumByDataSource?: UsageDataSourceResult[] | undefined;
139
+ SumByResource?: UsageResourceResult[] | undefined;
140
+ TopResources?: UsageResourceResult[] | undefined;
141
+ SumByFeature?: UsageFeatureResult[] | undefined;
142
142
  }
143
143
  export interface GetUsageStatisticsResponse {
144
- UsageStatistics?: UsageStatistics;
145
- NextToken?: string;
144
+ UsageStatistics?: UsageStatistics | undefined;
145
+ NextToken?: string | undefined;
146
146
  }
147
147
  export interface InviteMembersRequest {
148
148
  DetectorId: string | undefined;
149
149
  AccountIds: string[] | undefined;
150
- DisableEmailNotification?: boolean;
151
- Message?: string;
150
+ DisableEmailNotification?: boolean | undefined;
151
+ Message?: string | undefined;
152
152
  }
153
153
  export interface InviteMembersResponse {
154
154
  UnprocessedAccounts: UnprocessedAccount[] | undefined;
155
155
  }
156
156
  export interface ListCoverageRequest {
157
157
  DetectorId: string | undefined;
158
- NextToken?: string;
159
- MaxResults?: number;
160
- FilterCriteria?: CoverageFilterCriteria;
161
- SortCriteria?: CoverageSortCriteria;
158
+ NextToken?: string | undefined;
159
+ MaxResults?: number | undefined;
160
+ FilterCriteria?: CoverageFilterCriteria | undefined;
161
+ SortCriteria?: CoverageSortCriteria | undefined;
162
162
  }
163
163
  export interface ListCoverageResponse {
164
164
  Resources: CoverageResource[] | undefined;
165
- NextToken?: string;
165
+ NextToken?: string | undefined;
166
166
  }
167
167
  export interface ListDetectorsRequest {
168
- MaxResults?: number;
169
- NextToken?: string;
168
+ MaxResults?: number | undefined;
169
+ NextToken?: string | undefined;
170
170
  }
171
171
  export interface ListDetectorsResponse {
172
172
  DetectorIds: string[] | undefined;
173
- NextToken?: string;
173
+ NextToken?: string | undefined;
174
174
  }
175
175
  export interface ListFiltersRequest {
176
176
  DetectorId: string | undefined;
177
- MaxResults?: number;
178
- NextToken?: string;
177
+ MaxResults?: number | undefined;
178
+ NextToken?: string | undefined;
179
179
  }
180
180
  export interface ListFiltersResponse {
181
181
  FilterNames: string[] | undefined;
182
- NextToken?: string;
182
+ NextToken?: string | undefined;
183
183
  }
184
184
  export interface ListFindingsRequest {
185
185
  DetectorId: string | undefined;
186
- FindingCriteria?: FindingCriteria;
187
- SortCriteria?: SortCriteria;
188
- MaxResults?: number;
189
- NextToken?: string;
186
+ FindingCriteria?: FindingCriteria | undefined;
187
+ SortCriteria?: SortCriteria | undefined;
188
+ MaxResults?: number | undefined;
189
+ NextToken?: string | undefined;
190
190
  }
191
191
  export interface ListFindingsResponse {
192
192
  FindingIds: string[] | undefined;
193
- NextToken?: string;
193
+ NextToken?: string | undefined;
194
194
  }
195
195
  export interface ListInvitationsRequest {
196
- MaxResults?: number;
197
- NextToken?: string;
196
+ MaxResults?: number | undefined;
197
+ NextToken?: string | undefined;
198
198
  }
199
199
  export interface Invitation {
200
- AccountId?: string;
201
- InvitationId?: string;
202
- RelationshipStatus?: string;
203
- InvitedAt?: string;
200
+ AccountId?: string | undefined;
201
+ InvitationId?: string | undefined;
202
+ RelationshipStatus?: string | undefined;
203
+ InvitedAt?: string | undefined;
204
204
  }
205
205
  export interface ListInvitationsResponse {
206
- Invitations?: Invitation[];
207
- NextToken?: string;
206
+ Invitations?: Invitation[] | undefined;
207
+ NextToken?: string | undefined;
208
208
  }
209
209
  export interface ListIPSetsRequest {
210
210
  DetectorId: string | undefined;
211
- MaxResults?: number;
212
- NextToken?: string;
211
+ MaxResults?: number | undefined;
212
+ NextToken?: string | undefined;
213
213
  }
214
214
  export interface ListIPSetsResponse {
215
215
  IpSetIds: string[] | undefined;
216
- NextToken?: string;
216
+ NextToken?: string | undefined;
217
217
  }
218
218
  export interface ListMalwareProtectionPlansRequest {
219
- NextToken?: string;
219
+ NextToken?: string | undefined;
220
220
  }
221
221
  export interface MalwareProtectionPlanSummary {
222
- MalwareProtectionPlanId?: string;
222
+ MalwareProtectionPlanId?: string | undefined;
223
223
  }
224
224
  export interface ListMalwareProtectionPlansResponse {
225
- MalwareProtectionPlans?: MalwareProtectionPlanSummary[];
226
- NextToken?: string;
225
+ MalwareProtectionPlans?: MalwareProtectionPlanSummary[] | undefined;
226
+ NextToken?: string | undefined;
227
227
  }
228
228
  export interface ListMembersRequest {
229
229
  DetectorId: string | undefined;
230
- MaxResults?: number;
231
- NextToken?: string;
232
- OnlyAssociated?: string;
230
+ MaxResults?: number | undefined;
231
+ NextToken?: string | undefined;
232
+ OnlyAssociated?: string | undefined;
233
233
  }
234
234
  export interface ListMembersResponse {
235
- Members?: Member[];
236
- NextToken?: string;
235
+ Members?: Member[] | undefined;
236
+ NextToken?: string | undefined;
237
237
  }
238
238
  export interface ListOrganizationAdminAccountsRequest {
239
- MaxResults?: number;
240
- NextToken?: string;
239
+ MaxResults?: number | undefined;
240
+ NextToken?: string | undefined;
241
241
  }
242
242
  export interface ListOrganizationAdminAccountsResponse {
243
- AdminAccounts?: AdminAccount[];
244
- NextToken?: string;
243
+ AdminAccounts?: AdminAccount[] | undefined;
244
+ NextToken?: string | undefined;
245
245
  }
246
246
  export interface ListPublishingDestinationsRequest {
247
247
  DetectorId: string | undefined;
248
- MaxResults?: number;
249
- NextToken?: string;
248
+ MaxResults?: number | undefined;
249
+ NextToken?: string | undefined;
250
250
  }
251
251
  export interface ListPublishingDestinationsResponse {
252
252
  Destinations: Destination[] | undefined;
253
- NextToken?: string;
253
+ NextToken?: string | undefined;
254
254
  }
255
255
  export interface ListTagsForResourceRequest {
256
256
  ResourceArn: string | undefined;
257
257
  }
258
258
  export interface ListTagsForResourceResponse {
259
- Tags?: Record<string, string>;
259
+ Tags?: Record<string, string> | undefined;
260
260
  }
261
261
  export interface ListThreatIntelSetsRequest {
262
262
  DetectorId: string | undefined;
263
- MaxResults?: number;
264
- NextToken?: string;
263
+ MaxResults?: number | undefined;
264
+ NextToken?: string | undefined;
265
265
  }
266
266
  export interface ListThreatIntelSetsResponse {
267
267
  ThreatIntelSetIds: string[] | undefined;
268
- NextToken?: string;
268
+ NextToken?: string | undefined;
269
269
  }
270
270
  export interface StartMalwareScanRequest {
271
271
  ResourceArn: string | undefined;
272
272
  }
273
273
  export interface StartMalwareScanResponse {
274
- ScanId?: string;
274
+ ScanId?: string | undefined;
275
275
  }
276
276
  export interface StartMonitoringMembersRequest {
277
277
  DetectorId: string | undefined;
@@ -304,19 +304,19 @@ export interface UntagResourceRequest {
304
304
  export interface UntagResourceResponse {}
305
305
  export interface UpdateDetectorRequest {
306
306
  DetectorId: string | undefined;
307
- Enable?: boolean;
308
- FindingPublishingFrequency?: FindingPublishingFrequency;
309
- DataSources?: DataSourceConfigurations;
310
- Features?: DetectorFeatureConfiguration[];
307
+ Enable?: boolean | undefined;
308
+ FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
309
+ DataSources?: DataSourceConfigurations | undefined;
310
+ Features?: DetectorFeatureConfiguration[] | undefined;
311
311
  }
312
312
  export interface UpdateDetectorResponse {}
313
313
  export interface UpdateFilterRequest {
314
314
  DetectorId: string | undefined;
315
315
  FilterName: string | undefined;
316
- Description?: string;
317
- Action?: FilterAction;
318
- Rank?: number;
319
- FindingCriteria?: FindingCriteria;
316
+ Description?: string | undefined;
317
+ Action?: FilterAction | undefined;
318
+ Rank?: number | undefined;
319
+ FindingCriteria?: FindingCriteria | undefined;
320
320
  }
321
321
  export interface UpdateFilterResponse {
322
322
  Name: string | undefined;
@@ -325,49 +325,49 @@ export interface UpdateFindingsFeedbackRequest {
325
325
  DetectorId: string | undefined;
326
326
  FindingIds: string[] | undefined;
327
327
  Feedback: Feedback | undefined;
328
- Comments?: string;
328
+ Comments?: string | undefined;
329
329
  }
330
330
  export interface UpdateFindingsFeedbackResponse {}
331
331
  export interface UpdateIPSetRequest {
332
332
  DetectorId: string | undefined;
333
333
  IpSetId: string | undefined;
334
- Name?: string;
335
- Location?: string;
336
- Activate?: boolean;
334
+ Name?: string | undefined;
335
+ Location?: string | undefined;
336
+ Activate?: boolean | undefined;
337
337
  }
338
338
  export interface UpdateIPSetResponse {}
339
339
  export interface UpdateS3BucketResource {
340
- ObjectPrefixes?: string[];
340
+ ObjectPrefixes?: string[] | undefined;
341
341
  }
342
342
  export interface UpdateProtectedResource {
343
- S3Bucket?: UpdateS3BucketResource;
343
+ S3Bucket?: UpdateS3BucketResource | undefined;
344
344
  }
345
345
  export interface UpdateMalwareProtectionPlanRequest {
346
346
  MalwareProtectionPlanId: string | undefined;
347
- Role?: string;
348
- Actions?: MalwareProtectionPlanActions;
349
- ProtectedResource?: UpdateProtectedResource;
347
+ Role?: string | undefined;
348
+ Actions?: MalwareProtectionPlanActions | undefined;
349
+ ProtectedResource?: UpdateProtectedResource | undefined;
350
350
  }
351
351
  export interface UpdateMalwareScanSettingsRequest {
352
352
  DetectorId: string | undefined;
353
- ScanResourceCriteria?: ScanResourceCriteria;
354
- EbsSnapshotPreservation?: EbsSnapshotPreservation;
353
+ ScanResourceCriteria?: ScanResourceCriteria | undefined;
354
+ EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
355
355
  }
356
356
  export interface UpdateMalwareScanSettingsResponse {}
357
357
  export interface MemberAdditionalConfiguration {
358
- Name?: OrgFeatureAdditionalConfiguration;
359
- Status?: FeatureStatus;
358
+ Name?: OrgFeatureAdditionalConfiguration | undefined;
359
+ Status?: FeatureStatus | undefined;
360
360
  }
361
361
  export interface MemberFeaturesConfiguration {
362
- Name?: OrgFeature;
363
- Status?: FeatureStatus;
364
- AdditionalConfiguration?: MemberAdditionalConfiguration[];
362
+ Name?: OrgFeature | undefined;
363
+ Status?: FeatureStatus | undefined;
364
+ AdditionalConfiguration?: MemberAdditionalConfiguration[] | undefined;
365
365
  }
366
366
  export interface UpdateMemberDetectorsRequest {
367
367
  DetectorId: string | undefined;
368
368
  AccountIds: string[] | undefined;
369
- DataSources?: DataSourceConfigurations;
370
- Features?: MemberFeaturesConfiguration[];
369
+ DataSources?: DataSourceConfigurations | undefined;
370
+ Features?: MemberFeaturesConfiguration[] | undefined;
371
371
  }
372
372
  export interface UpdateMemberDetectorsResponse {
373
373
  UnprocessedAccounts: UnprocessedAccount[] | undefined;
@@ -379,51 +379,53 @@ export interface OrganizationKubernetesConfiguration {
379
379
  AuditLogs: OrganizationKubernetesAuditLogsConfiguration | undefined;
380
380
  }
381
381
  export interface OrganizationEbsVolumes {
382
- AutoEnable?: boolean;
382
+ AutoEnable?: boolean | undefined;
383
383
  }
384
384
  export interface OrganizationScanEc2InstanceWithFindings {
385
- EbsVolumes?: OrganizationEbsVolumes;
385
+ EbsVolumes?: OrganizationEbsVolumes | undefined;
386
386
  }
387
387
  export interface OrganizationMalwareProtectionConfiguration {
388
- ScanEc2InstanceWithFindings?: OrganizationScanEc2InstanceWithFindings;
388
+ ScanEc2InstanceWithFindings?:
389
+ | OrganizationScanEc2InstanceWithFindings
390
+ | undefined;
389
391
  }
390
392
  export interface OrganizationS3LogsConfiguration {
391
393
  AutoEnable: boolean | undefined;
392
394
  }
393
395
  export interface OrganizationDataSourceConfigurations {
394
- S3Logs?: OrganizationS3LogsConfiguration;
395
- Kubernetes?: OrganizationKubernetesConfiguration;
396
- MalwareProtection?: OrganizationMalwareProtectionConfiguration;
396
+ S3Logs?: OrganizationS3LogsConfiguration | undefined;
397
+ Kubernetes?: OrganizationKubernetesConfiguration | undefined;
398
+ MalwareProtection?: OrganizationMalwareProtectionConfiguration | undefined;
397
399
  }
398
400
  export interface OrganizationAdditionalConfiguration {
399
- Name?: OrgFeatureAdditionalConfiguration;
400
- AutoEnable?: OrgFeatureStatus;
401
+ Name?: OrgFeatureAdditionalConfiguration | undefined;
402
+ AutoEnable?: OrgFeatureStatus | undefined;
401
403
  }
402
404
  export interface OrganizationFeatureConfiguration {
403
- Name?: OrgFeature;
404
- AutoEnable?: OrgFeatureStatus;
405
- AdditionalConfiguration?: OrganizationAdditionalConfiguration[];
405
+ Name?: OrgFeature | undefined;
406
+ AutoEnable?: OrgFeatureStatus | undefined;
407
+ AdditionalConfiguration?: OrganizationAdditionalConfiguration[] | undefined;
406
408
  }
407
409
  export interface UpdateOrganizationConfigurationRequest {
408
410
  DetectorId: string | undefined;
409
- AutoEnable?: boolean;
410
- DataSources?: OrganizationDataSourceConfigurations;
411
- Features?: OrganizationFeatureConfiguration[];
412
- AutoEnableOrganizationMembers?: AutoEnableMembers;
411
+ AutoEnable?: boolean | undefined;
412
+ DataSources?: OrganizationDataSourceConfigurations | undefined;
413
+ Features?: OrganizationFeatureConfiguration[] | undefined;
414
+ AutoEnableOrganizationMembers?: AutoEnableMembers | undefined;
413
415
  }
414
416
  export interface UpdateOrganizationConfigurationResponse {}
415
417
  export interface UpdatePublishingDestinationRequest {
416
418
  DetectorId: string | undefined;
417
419
  DestinationId: string | undefined;
418
- DestinationProperties?: DestinationProperties;
420
+ DestinationProperties?: DestinationProperties | undefined;
419
421
  }
420
422
  export interface UpdatePublishingDestinationResponse {}
421
423
  export interface UpdateThreatIntelSetRequest {
422
424
  DetectorId: string | undefined;
423
425
  ThreatIntelSetId: string | undefined;
424
- Name?: string;
425
- Location?: string;
426
- Activate?: boolean;
426
+ Name?: string | undefined;
427
+ Location?: string | undefined;
428
+ Activate?: boolean | undefined;
427
429
  }
428
430
  export interface UpdateThreatIntelSetResponse {}
429
431
  export declare const ListMembersResponseFilterSensitiveLog: (
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.687.0",
4
+ "version": "3.691.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,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",