@aws-sdk/client-cloudtrail 3.686.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.
@@ -3,7 +3,7 @@ import { CloudTrailServiceException as __BaseException } from "./CloudTrailServi
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
@@ -11,7 +11,7 @@ export declare class AccessDeniedException extends __BaseException {
11
11
  export declare class AccountHasOngoingImportException extends __BaseException {
12
12
  readonly name: "AccountHasOngoingImportException";
13
13
  readonly $fault: "client";
14
- Message?: string;
14
+ Message?: string | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<
17
17
  AccountHasOngoingImportException,
@@ -22,7 +22,7 @@ export declare class AccountHasOngoingImportException extends __BaseException {
22
22
  export declare class AccountNotFoundException extends __BaseException {
23
23
  readonly name: "AccountNotFoundException";
24
24
  readonly $fault: "client";
25
- Message?: string;
25
+ Message?: string | undefined;
26
26
  constructor(
27
27
  opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>
28
28
  );
@@ -30,7 +30,7 @@ export declare class AccountNotFoundException extends __BaseException {
30
30
  export declare class AccountNotRegisteredException extends __BaseException {
31
31
  readonly name: "AccountNotRegisteredException";
32
32
  readonly $fault: "client";
33
- Message?: string;
33
+ Message?: string | undefined;
34
34
  constructor(
35
35
  opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>
36
36
  );
@@ -38,14 +38,14 @@ export declare class AccountNotRegisteredException extends __BaseException {
38
38
  export declare class AccountRegisteredException extends __BaseException {
39
39
  readonly name: "AccountRegisteredException";
40
40
  readonly $fault: "client";
41
- Message?: string;
41
+ Message?: string | undefined;
42
42
  constructor(
43
43
  opts: __ExceptionOptionType<AccountRegisteredException, __BaseException>
44
44
  );
45
45
  }
46
46
  export interface Tag {
47
47
  Key: string | undefined;
48
- Value?: string;
48
+ Value?: string | undefined;
49
49
  }
50
50
  export interface AddTagsRequest {
51
51
  ResourceId: string | undefined;
@@ -55,7 +55,7 @@ export interface AddTagsResponse {}
55
55
  export declare class ChannelARNInvalidException extends __BaseException {
56
56
  readonly name: "ChannelARNInvalidException";
57
57
  readonly $fault: "client";
58
- Message?: string;
58
+ Message?: string | undefined;
59
59
  constructor(
60
60
  opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>
61
61
  );
@@ -63,7 +63,7 @@ export declare class ChannelARNInvalidException extends __BaseException {
63
63
  export declare class ChannelNotFoundException extends __BaseException {
64
64
  readonly name: "ChannelNotFoundException";
65
65
  readonly $fault: "client";
66
- Message?: string;
66
+ Message?: string | undefined;
67
67
  constructor(
68
68
  opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>
69
69
  );
@@ -71,7 +71,7 @@ export declare class ChannelNotFoundException extends __BaseException {
71
71
  export declare class CloudTrailARNInvalidException extends __BaseException {
72
72
  readonly name: "CloudTrailARNInvalidException";
73
73
  readonly $fault: "client";
74
- Message?: string;
74
+ Message?: string | undefined;
75
75
  constructor(
76
76
  opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>
77
77
  );
@@ -79,13 +79,13 @@ export declare class CloudTrailARNInvalidException extends __BaseException {
79
79
  export declare class ConflictException extends __BaseException {
80
80
  readonly name: "ConflictException";
81
81
  readonly $fault: "client";
82
- Message?: string;
82
+ Message?: string | undefined;
83
83
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
84
84
  }
85
85
  export declare class EventDataStoreARNInvalidException extends __BaseException {
86
86
  readonly name: "EventDataStoreARNInvalidException";
87
87
  readonly $fault: "client";
88
- Message?: string;
88
+ Message?: string | undefined;
89
89
  constructor(
90
90
  opts: __ExceptionOptionType<
91
91
  EventDataStoreARNInvalidException,
@@ -96,7 +96,7 @@ export declare class EventDataStoreARNInvalidException extends __BaseException {
96
96
  export declare class EventDataStoreNotFoundException extends __BaseException {
97
97
  readonly name: "EventDataStoreNotFoundException";
98
98
  readonly $fault: "client";
99
- Message?: string;
99
+ Message?: string | undefined;
100
100
  constructor(
101
101
  opts: __ExceptionOptionType<
102
102
  EventDataStoreNotFoundException,
@@ -107,7 +107,7 @@ export declare class EventDataStoreNotFoundException extends __BaseException {
107
107
  export declare class InactiveEventDataStoreException extends __BaseException {
108
108
  readonly name: "InactiveEventDataStoreException";
109
109
  readonly $fault: "client";
110
- Message?: string;
110
+ Message?: string | undefined;
111
111
  constructor(
112
112
  opts: __ExceptionOptionType<
113
113
  InactiveEventDataStoreException,
@@ -118,7 +118,7 @@ export declare class InactiveEventDataStoreException extends __BaseException {
118
118
  export declare class InvalidTagParameterException extends __BaseException {
119
119
  readonly name: "InvalidTagParameterException";
120
120
  readonly $fault: "client";
121
- Message?: string;
121
+ Message?: string | undefined;
122
122
  constructor(
123
123
  opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>
124
124
  );
@@ -126,7 +126,7 @@ export declare class InvalidTagParameterException extends __BaseException {
126
126
  export declare class InvalidTrailNameException extends __BaseException {
127
127
  readonly name: "InvalidTrailNameException";
128
128
  readonly $fault: "client";
129
- Message?: string;
129
+ Message?: string | undefined;
130
130
  constructor(
131
131
  opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>
132
132
  );
@@ -134,7 +134,7 @@ export declare class InvalidTrailNameException extends __BaseException {
134
134
  export declare class NoManagementAccountSLRExistsException extends __BaseException {
135
135
  readonly name: "NoManagementAccountSLRExistsException";
136
136
  readonly $fault: "client";
137
- Message?: string;
137
+ Message?: string | undefined;
138
138
  constructor(
139
139
  opts: __ExceptionOptionType<
140
140
  NoManagementAccountSLRExistsException,
@@ -145,7 +145,7 @@ export declare class NoManagementAccountSLRExistsException extends __BaseExcepti
145
145
  export declare class NotOrganizationMasterAccountException extends __BaseException {
146
146
  readonly name: "NotOrganizationMasterAccountException";
147
147
  readonly $fault: "client";
148
- Message?: string;
148
+ Message?: string | undefined;
149
149
  constructor(
150
150
  opts: __ExceptionOptionType<
151
151
  NotOrganizationMasterAccountException,
@@ -156,7 +156,7 @@ export declare class NotOrganizationMasterAccountException extends __BaseExcepti
156
156
  export declare class OperationNotPermittedException extends __BaseException {
157
157
  readonly name: "OperationNotPermittedException";
158
158
  readonly $fault: "client";
159
- Message?: string;
159
+ Message?: string | undefined;
160
160
  constructor(
161
161
  opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>
162
162
  );
@@ -164,7 +164,7 @@ export declare class OperationNotPermittedException extends __BaseException {
164
164
  export declare class ResourceNotFoundException extends __BaseException {
165
165
  readonly name: "ResourceNotFoundException";
166
166
  readonly $fault: "client";
167
- Message?: string;
167
+ Message?: string | undefined;
168
168
  constructor(
169
169
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
170
170
  );
@@ -172,7 +172,7 @@ export declare class ResourceNotFoundException extends __BaseException {
172
172
  export declare class ResourceTypeNotSupportedException extends __BaseException {
173
173
  readonly name: "ResourceTypeNotSupportedException";
174
174
  readonly $fault: "client";
175
- Message?: string;
175
+ Message?: string | undefined;
176
176
  constructor(
177
177
  opts: __ExceptionOptionType<
178
178
  ResourceTypeNotSupportedException,
@@ -183,7 +183,7 @@ export declare class ResourceTypeNotSupportedException extends __BaseException {
183
183
  export declare class TagsLimitExceededException extends __BaseException {
184
184
  readonly name: "TagsLimitExceededException";
185
185
  readonly $fault: "client";
186
- Message?: string;
186
+ Message?: string | undefined;
187
187
  constructor(
188
188
  opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>
189
189
  );
@@ -191,22 +191,22 @@ export declare class TagsLimitExceededException extends __BaseException {
191
191
  export declare class UnsupportedOperationException extends __BaseException {
192
192
  readonly name: "UnsupportedOperationException";
193
193
  readonly $fault: "client";
194
- Message?: string;
194
+ Message?: string | undefined;
195
195
  constructor(
196
196
  opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
197
197
  );
198
198
  }
199
199
  export interface AdvancedFieldSelector {
200
200
  Field: string | undefined;
201
- Equals?: string[];
202
- StartsWith?: string[];
203
- EndsWith?: string[];
204
- NotEquals?: string[];
205
- NotStartsWith?: string[];
206
- NotEndsWith?: string[];
201
+ Equals?: string[] | undefined;
202
+ StartsWith?: string[] | undefined;
203
+ EndsWith?: string[] | undefined;
204
+ NotEquals?: string[] | undefined;
205
+ NotStartsWith?: string[] | undefined;
206
+ NotEndsWith?: string[] | undefined;
207
207
  }
208
208
  export interface AdvancedEventSelector {
209
- Name?: string;
209
+ Name?: string | undefined;
210
210
  FieldSelectors: AdvancedFieldSelector[] | undefined;
211
211
  }
212
212
  export declare const BillingMode: {
@@ -215,7 +215,7 @@ export declare const BillingMode: {
215
215
  };
216
216
  export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode];
217
217
  export interface CancelQueryRequest {
218
- EventDataStore?: string;
218
+ EventDataStore?: string | undefined;
219
219
  QueryId: string | undefined;
220
220
  }
221
221
  export declare const QueryStatus: {
@@ -234,7 +234,7 @@ export interface CancelQueryResponse {
234
234
  export declare class InactiveQueryException extends __BaseException {
235
235
  readonly name: "InactiveQueryException";
236
236
  readonly $fault: "client";
237
- Message?: string;
237
+ Message?: string | undefined;
238
238
  constructor(
239
239
  opts: __ExceptionOptionType<InactiveQueryException, __BaseException>
240
240
  );
@@ -242,7 +242,7 @@ export declare class InactiveQueryException extends __BaseException {
242
242
  export declare class InvalidParameterException extends __BaseException {
243
243
  readonly name: "InvalidParameterException";
244
244
  readonly $fault: "client";
245
- Message?: string;
245
+ Message?: string | undefined;
246
246
  constructor(
247
247
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
248
248
  );
@@ -250,7 +250,7 @@ export declare class InvalidParameterException extends __BaseException {
250
250
  export declare class QueryIdNotFoundException extends __BaseException {
251
251
  readonly name: "QueryIdNotFoundException";
252
252
  readonly $fault: "client";
253
- Message?: string;
253
+ Message?: string | undefined;
254
254
  constructor(
255
255
  opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>
256
256
  );
@@ -258,7 +258,7 @@ export declare class QueryIdNotFoundException extends __BaseException {
258
258
  export declare class CannotDelegateManagementAccountException extends __BaseException {
259
259
  readonly name: "CannotDelegateManagementAccountException";
260
260
  readonly $fault: "client";
261
- Message?: string;
261
+ Message?: string | undefined;
262
262
  constructor(
263
263
  opts: __ExceptionOptionType<
264
264
  CannotDelegateManagementAccountException,
@@ -267,13 +267,13 @@ export declare class CannotDelegateManagementAccountException extends __BaseExce
267
267
  );
268
268
  }
269
269
  export interface Channel {
270
- ChannelArn?: string;
271
- Name?: string;
270
+ ChannelArn?: string | undefined;
271
+ Name?: string | undefined;
272
272
  }
273
273
  export declare class ChannelAlreadyExistsException extends __BaseException {
274
274
  readonly name: "ChannelAlreadyExistsException";
275
275
  readonly $fault: "client";
276
- Message?: string;
276
+ Message?: string | undefined;
277
277
  constructor(
278
278
  opts: __ExceptionOptionType<ChannelAlreadyExistsException, __BaseException>
279
279
  );
@@ -281,7 +281,7 @@ export declare class ChannelAlreadyExistsException extends __BaseException {
281
281
  export declare class ChannelExistsForEDSException extends __BaseException {
282
282
  readonly name: "ChannelExistsForEDSException";
283
283
  readonly $fault: "client";
284
- Message?: string;
284
+ Message?: string | undefined;
285
285
  constructor(
286
286
  opts: __ExceptionOptionType<ChannelExistsForEDSException, __BaseException>
287
287
  );
@@ -289,7 +289,7 @@ export declare class ChannelExistsForEDSException extends __BaseException {
289
289
  export declare class ChannelMaxLimitExceededException extends __BaseException {
290
290
  readonly name: "ChannelMaxLimitExceededException";
291
291
  readonly $fault: "client";
292
- Message?: string;
292
+ Message?: string | undefined;
293
293
  constructor(
294
294
  opts: __ExceptionOptionType<
295
295
  ChannelMaxLimitExceededException,
@@ -311,19 +311,19 @@ export interface CreateChannelRequest {
311
311
  Name: string | undefined;
312
312
  Source: string | undefined;
313
313
  Destinations: Destination[] | undefined;
314
- Tags?: Tag[];
314
+ Tags?: Tag[] | undefined;
315
315
  }
316
316
  export interface CreateChannelResponse {
317
- ChannelArn?: string;
318
- Name?: string;
319
- Source?: string;
320
- Destinations?: Destination[];
321
- Tags?: Tag[];
317
+ ChannelArn?: string | undefined;
318
+ Name?: string | undefined;
319
+ Source?: string | undefined;
320
+ Destinations?: Destination[] | undefined;
321
+ Tags?: Tag[] | undefined;
322
322
  }
323
323
  export declare class InvalidEventDataStoreCategoryException extends __BaseException {
324
324
  readonly name: "InvalidEventDataStoreCategoryException";
325
325
  readonly $fault: "client";
326
- Message?: string;
326
+ Message?: string | undefined;
327
327
  constructor(
328
328
  opts: __ExceptionOptionType<
329
329
  InvalidEventDataStoreCategoryException,
@@ -334,7 +334,7 @@ export declare class InvalidEventDataStoreCategoryException extends __BaseExcept
334
334
  export declare class InvalidSourceException extends __BaseException {
335
335
  readonly name: "InvalidSourceException";
336
336
  readonly $fault: "client";
337
- Message?: string;
337
+ Message?: string | undefined;
338
338
  constructor(
339
339
  opts: __ExceptionOptionType<InvalidSourceException, __BaseException>
340
340
  );
@@ -342,7 +342,7 @@ export declare class InvalidSourceException extends __BaseException {
342
342
  export declare class CloudTrailAccessNotEnabledException extends __BaseException {
343
343
  readonly name: "CloudTrailAccessNotEnabledException";
344
344
  readonly $fault: "client";
345
- Message?: string;
345
+ Message?: string | undefined;
346
346
  constructor(
347
347
  opts: __ExceptionOptionType<
348
348
  CloudTrailAccessNotEnabledException,
@@ -352,15 +352,15 @@ export declare class CloudTrailAccessNotEnabledException extends __BaseException
352
352
  }
353
353
  export interface CreateEventDataStoreRequest {
354
354
  Name: string | undefined;
355
- AdvancedEventSelectors?: AdvancedEventSelector[];
356
- MultiRegionEnabled?: boolean;
357
- OrganizationEnabled?: boolean;
358
- RetentionPeriod?: number;
359
- TerminationProtectionEnabled?: boolean;
360
- TagsList?: Tag[];
361
- KmsKeyId?: string;
362
- StartIngestion?: boolean;
363
- BillingMode?: BillingMode;
355
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
356
+ MultiRegionEnabled?: boolean | undefined;
357
+ OrganizationEnabled?: boolean | undefined;
358
+ RetentionPeriod?: number | undefined;
359
+ TerminationProtectionEnabled?: boolean | undefined;
360
+ TagsList?: Tag[] | undefined;
361
+ KmsKeyId?: string | undefined;
362
+ StartIngestion?: boolean | undefined;
363
+ BillingMode?: BillingMode | undefined;
364
364
  }
365
365
  export declare const EventDataStoreStatus: {
366
366
  readonly CREATED: "CREATED";
@@ -373,24 +373,24 @@ export declare const EventDataStoreStatus: {
373
373
  export type EventDataStoreStatus =
374
374
  (typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
375
375
  export interface CreateEventDataStoreResponse {
376
- EventDataStoreArn?: string;
377
- Name?: string;
378
- Status?: EventDataStoreStatus;
379
- AdvancedEventSelectors?: AdvancedEventSelector[];
380
- MultiRegionEnabled?: boolean;
381
- OrganizationEnabled?: boolean;
382
- RetentionPeriod?: number;
383
- TerminationProtectionEnabled?: boolean;
384
- TagsList?: Tag[];
385
- CreatedTimestamp?: Date;
386
- UpdatedTimestamp?: Date;
387
- KmsKeyId?: string;
388
- BillingMode?: BillingMode;
376
+ EventDataStoreArn?: string | undefined;
377
+ Name?: string | undefined;
378
+ Status?: EventDataStoreStatus | undefined;
379
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
380
+ MultiRegionEnabled?: boolean | undefined;
381
+ OrganizationEnabled?: boolean | undefined;
382
+ RetentionPeriod?: number | undefined;
383
+ TerminationProtectionEnabled?: boolean | undefined;
384
+ TagsList?: Tag[] | undefined;
385
+ CreatedTimestamp?: Date | undefined;
386
+ UpdatedTimestamp?: Date | undefined;
387
+ KmsKeyId?: string | undefined;
388
+ BillingMode?: BillingMode | undefined;
389
389
  }
390
390
  export declare class EventDataStoreAlreadyExistsException extends __BaseException {
391
391
  readonly name: "EventDataStoreAlreadyExistsException";
392
392
  readonly $fault: "client";
393
- Message?: string;
393
+ Message?: string | undefined;
394
394
  constructor(
395
395
  opts: __ExceptionOptionType<
396
396
  EventDataStoreAlreadyExistsException,
@@ -401,7 +401,7 @@ export declare class EventDataStoreAlreadyExistsException extends __BaseExceptio
401
401
  export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
402
402
  readonly name: "EventDataStoreMaxLimitExceededException";
403
403
  readonly $fault: "client";
404
- Message?: string;
404
+ Message?: string | undefined;
405
405
  constructor(
406
406
  opts: __ExceptionOptionType<
407
407
  EventDataStoreMaxLimitExceededException,
@@ -412,7 +412,7 @@ export declare class EventDataStoreMaxLimitExceededException extends __BaseExcep
412
412
  export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
413
413
  readonly name: "InsufficientDependencyServiceAccessPermissionException";
414
414
  readonly $fault: "client";
415
- Message?: string;
415
+ Message?: string | undefined;
416
416
  constructor(
417
417
  opts: __ExceptionOptionType<
418
418
  InsufficientDependencyServiceAccessPermissionException,
@@ -423,7 +423,7 @@ export declare class InsufficientDependencyServiceAccessPermissionException exte
423
423
  export declare class InsufficientEncryptionPolicyException extends __BaseException {
424
424
  readonly name: "InsufficientEncryptionPolicyException";
425
425
  readonly $fault: "client";
426
- Message?: string;
426
+ Message?: string | undefined;
427
427
  constructor(
428
428
  opts: __ExceptionOptionType<
429
429
  InsufficientEncryptionPolicyException,
@@ -434,7 +434,7 @@ export declare class InsufficientEncryptionPolicyException extends __BaseExcepti
434
434
  export declare class InvalidEventSelectorsException extends __BaseException {
435
435
  readonly name: "InvalidEventSelectorsException";
436
436
  readonly $fault: "client";
437
- Message?: string;
437
+ Message?: string | undefined;
438
438
  constructor(
439
439
  opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>
440
440
  );
@@ -442,7 +442,7 @@ export declare class InvalidEventSelectorsException extends __BaseException {
442
442
  export declare class InvalidKmsKeyIdException extends __BaseException {
443
443
  readonly name: "InvalidKmsKeyIdException";
444
444
  readonly $fault: "client";
445
- Message?: string;
445
+ Message?: string | undefined;
446
446
  constructor(
447
447
  opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>
448
448
  );
@@ -450,13 +450,13 @@ export declare class InvalidKmsKeyIdException extends __BaseException {
450
450
  export declare class KmsException extends __BaseException {
451
451
  readonly name: "KmsException";
452
452
  readonly $fault: "client";
453
- Message?: string;
453
+ Message?: string | undefined;
454
454
  constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
455
455
  }
456
456
  export declare class KmsKeyNotFoundException extends __BaseException {
457
457
  readonly name: "KmsKeyNotFoundException";
458
458
  readonly $fault: "client";
459
- Message?: string;
459
+ Message?: string | undefined;
460
460
  constructor(
461
461
  opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>
462
462
  );
@@ -464,7 +464,7 @@ export declare class KmsKeyNotFoundException extends __BaseException {
464
464
  export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
465
465
  readonly name: "OrganizationNotInAllFeaturesModeException";
466
466
  readonly $fault: "client";
467
- Message?: string;
467
+ Message?: string | undefined;
468
468
  constructor(
469
469
  opts: __ExceptionOptionType<
470
470
  OrganizationNotInAllFeaturesModeException,
@@ -475,7 +475,7 @@ export declare class OrganizationNotInAllFeaturesModeException extends __BaseExc
475
475
  export declare class OrganizationsNotInUseException extends __BaseException {
476
476
  readonly name: "OrganizationsNotInUseException";
477
477
  readonly $fault: "client";
478
- Message?: string;
478
+ Message?: string | undefined;
479
479
  constructor(
480
480
  opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>
481
481
  );
@@ -483,7 +483,7 @@ export declare class OrganizationsNotInUseException extends __BaseException {
483
483
  export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
484
484
  readonly name: "CloudTrailInvalidClientTokenIdException";
485
485
  readonly $fault: "client";
486
- Message?: string;
486
+ Message?: string | undefined;
487
487
  constructor(
488
488
  opts: __ExceptionOptionType<
489
489
  CloudTrailInvalidClientTokenIdException,
@@ -494,7 +494,7 @@ export declare class CloudTrailInvalidClientTokenIdException extends __BaseExcep
494
494
  export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
495
495
  readonly name: "CloudWatchLogsDeliveryUnavailableException";
496
496
  readonly $fault: "client";
497
- Message?: string;
497
+ Message?: string | undefined;
498
498
  constructor(
499
499
  opts: __ExceptionOptionType<
500
500
  CloudWatchLogsDeliveryUnavailableException,
@@ -505,36 +505,36 @@ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseEx
505
505
  export interface CreateTrailRequest {
506
506
  Name: string | undefined;
507
507
  S3BucketName: string | undefined;
508
- S3KeyPrefix?: string;
509
- SnsTopicName?: string;
510
- IncludeGlobalServiceEvents?: boolean;
511
- IsMultiRegionTrail?: boolean;
512
- EnableLogFileValidation?: boolean;
513
- CloudWatchLogsLogGroupArn?: string;
514
- CloudWatchLogsRoleArn?: string;
515
- KmsKeyId?: string;
516
- IsOrganizationTrail?: boolean;
517
- TagsList?: Tag[];
508
+ S3KeyPrefix?: string | undefined;
509
+ SnsTopicName?: string | undefined;
510
+ IncludeGlobalServiceEvents?: boolean | undefined;
511
+ IsMultiRegionTrail?: boolean | undefined;
512
+ EnableLogFileValidation?: boolean | undefined;
513
+ CloudWatchLogsLogGroupArn?: string | undefined;
514
+ CloudWatchLogsRoleArn?: string | undefined;
515
+ KmsKeyId?: string | undefined;
516
+ IsOrganizationTrail?: boolean | undefined;
517
+ TagsList?: Tag[] | undefined;
518
518
  }
519
519
  export interface CreateTrailResponse {
520
- Name?: string;
521
- S3BucketName?: string;
522
- S3KeyPrefix?: string;
523
- SnsTopicName?: string;
524
- SnsTopicARN?: string;
525
- IncludeGlobalServiceEvents?: boolean;
526
- IsMultiRegionTrail?: boolean;
527
- TrailARN?: string;
528
- LogFileValidationEnabled?: boolean;
529
- CloudWatchLogsLogGroupArn?: string;
530
- CloudWatchLogsRoleArn?: string;
531
- KmsKeyId?: string;
532
- IsOrganizationTrail?: boolean;
520
+ Name?: string | undefined;
521
+ S3BucketName?: string | undefined;
522
+ S3KeyPrefix?: string | undefined;
523
+ SnsTopicName?: string | undefined;
524
+ SnsTopicARN?: string | undefined;
525
+ IncludeGlobalServiceEvents?: boolean | undefined;
526
+ IsMultiRegionTrail?: boolean | undefined;
527
+ TrailARN?: string | undefined;
528
+ LogFileValidationEnabled?: boolean | undefined;
529
+ CloudWatchLogsLogGroupArn?: string | undefined;
530
+ CloudWatchLogsRoleArn?: string | undefined;
531
+ KmsKeyId?: string | undefined;
532
+ IsOrganizationTrail?: boolean | undefined;
533
533
  }
534
534
  export declare class InsufficientS3BucketPolicyException extends __BaseException {
535
535
  readonly name: "InsufficientS3BucketPolicyException";
536
536
  readonly $fault: "client";
537
- Message?: string;
537
+ Message?: string | undefined;
538
538
  constructor(
539
539
  opts: __ExceptionOptionType<
540
540
  InsufficientS3BucketPolicyException,
@@ -545,7 +545,7 @@ export declare class InsufficientS3BucketPolicyException extends __BaseException
545
545
  export declare class InsufficientSnsTopicPolicyException extends __BaseException {
546
546
  readonly name: "InsufficientSnsTopicPolicyException";
547
547
  readonly $fault: "client";
548
- Message?: string;
548
+ Message?: string | undefined;
549
549
  constructor(
550
550
  opts: __ExceptionOptionType<
551
551
  InsufficientSnsTopicPolicyException,
@@ -556,7 +556,7 @@ export declare class InsufficientSnsTopicPolicyException extends __BaseException
556
556
  export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
557
557
  readonly name: "InvalidCloudWatchLogsLogGroupArnException";
558
558
  readonly $fault: "client";
559
- Message?: string;
559
+ Message?: string | undefined;
560
560
  constructor(
561
561
  opts: __ExceptionOptionType<
562
562
  InvalidCloudWatchLogsLogGroupArnException,
@@ -567,7 +567,7 @@ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseExc
567
567
  export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
568
568
  readonly name: "InvalidCloudWatchLogsRoleArnException";
569
569
  readonly $fault: "client";
570
- Message?: string;
570
+ Message?: string | undefined;
571
571
  constructor(
572
572
  opts: __ExceptionOptionType<
573
573
  InvalidCloudWatchLogsRoleArnException,
@@ -578,7 +578,7 @@ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseExcepti
578
578
  export declare class InvalidParameterCombinationException extends __BaseException {
579
579
  readonly name: "InvalidParameterCombinationException";
580
580
  readonly $fault: "client";
581
- Message?: string;
581
+ Message?: string | undefined;
582
582
  constructor(
583
583
  opts: __ExceptionOptionType<
584
584
  InvalidParameterCombinationException,
@@ -589,7 +589,7 @@ export declare class InvalidParameterCombinationException extends __BaseExceptio
589
589
  export declare class InvalidS3BucketNameException extends __BaseException {
590
590
  readonly name: "InvalidS3BucketNameException";
591
591
  readonly $fault: "client";
592
- Message?: string;
592
+ Message?: string | undefined;
593
593
  constructor(
594
594
  opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>
595
595
  );
@@ -597,7 +597,7 @@ export declare class InvalidS3BucketNameException extends __BaseException {
597
597
  export declare class InvalidS3PrefixException extends __BaseException {
598
598
  readonly name: "InvalidS3PrefixException";
599
599
  readonly $fault: "client";
600
- Message?: string;
600
+ Message?: string | undefined;
601
601
  constructor(
602
602
  opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>
603
603
  );
@@ -605,7 +605,7 @@ export declare class InvalidS3PrefixException extends __BaseException {
605
605
  export declare class InvalidSnsTopicNameException extends __BaseException {
606
606
  readonly name: "InvalidSnsTopicNameException";
607
607
  readonly $fault: "client";
608
- Message?: string;
608
+ Message?: string | undefined;
609
609
  constructor(
610
610
  opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>
611
611
  );
@@ -613,7 +613,7 @@ export declare class InvalidSnsTopicNameException extends __BaseException {
613
613
  export declare class KmsKeyDisabledException extends __BaseException {
614
614
  readonly name: "KmsKeyDisabledException";
615
615
  readonly $fault: "client";
616
- Message?: string;
616
+ Message?: string | undefined;
617
617
  constructor(
618
618
  opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>
619
619
  );
@@ -621,7 +621,7 @@ export declare class KmsKeyDisabledException extends __BaseException {
621
621
  export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
622
622
  readonly name: "MaximumNumberOfTrailsExceededException";
623
623
  readonly $fault: "client";
624
- Message?: string;
624
+ Message?: string | undefined;
625
625
  constructor(
626
626
  opts: __ExceptionOptionType<
627
627
  MaximumNumberOfTrailsExceededException,
@@ -632,7 +632,7 @@ export declare class MaximumNumberOfTrailsExceededException extends __BaseExcept
632
632
  export declare class S3BucketDoesNotExistException extends __BaseException {
633
633
  readonly name: "S3BucketDoesNotExistException";
634
634
  readonly $fault: "client";
635
- Message?: string;
635
+ Message?: string | undefined;
636
636
  constructor(
637
637
  opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>
638
638
  );
@@ -640,7 +640,7 @@ export declare class S3BucketDoesNotExistException extends __BaseException {
640
640
  export declare class ThrottlingException extends __BaseException {
641
641
  readonly name: "ThrottlingException";
642
642
  readonly $fault: "client";
643
- Message?: string;
643
+ Message?: string | undefined;
644
644
  constructor(
645
645
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
646
646
  );
@@ -648,7 +648,7 @@ export declare class ThrottlingException extends __BaseException {
648
648
  export declare class TrailAlreadyExistsException extends __BaseException {
649
649
  readonly name: "TrailAlreadyExistsException";
650
650
  readonly $fault: "client";
651
- Message?: string;
651
+ Message?: string | undefined;
652
652
  constructor(
653
653
  opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>
654
654
  );
@@ -656,7 +656,7 @@ export declare class TrailAlreadyExistsException extends __BaseException {
656
656
  export declare class TrailNotProvidedException extends __BaseException {
657
657
  readonly name: "TrailNotProvidedException";
658
658
  readonly $fault: "client";
659
- Message?: string;
659
+ Message?: string | undefined;
660
660
  constructor(
661
661
  opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>
662
662
  );
@@ -672,7 +672,7 @@ export interface DeleteEventDataStoreResponse {}
672
672
  export declare class EventDataStoreFederationEnabledException extends __BaseException {
673
673
  readonly name: "EventDataStoreFederationEnabledException";
674
674
  readonly $fault: "client";
675
- Message?: string;
675
+ Message?: string | undefined;
676
676
  constructor(
677
677
  opts: __ExceptionOptionType<
678
678
  EventDataStoreFederationEnabledException,
@@ -683,7 +683,7 @@ export declare class EventDataStoreFederationEnabledException extends __BaseExce
683
683
  export declare class EventDataStoreHasOngoingImportException extends __BaseException {
684
684
  readonly name: "EventDataStoreHasOngoingImportException";
685
685
  readonly $fault: "client";
686
- Message?: string;
686
+ Message?: string | undefined;
687
687
  constructor(
688
688
  opts: __ExceptionOptionType<
689
689
  EventDataStoreHasOngoingImportException,
@@ -694,7 +694,7 @@ export declare class EventDataStoreHasOngoingImportException extends __BaseExcep
694
694
  export declare class EventDataStoreTerminationProtectedException extends __BaseException {
695
695
  readonly name: "EventDataStoreTerminationProtectedException";
696
696
  readonly $fault: "client";
697
- Message?: string;
697
+ Message?: string | undefined;
698
698
  constructor(
699
699
  opts: __ExceptionOptionType<
700
700
  EventDataStoreTerminationProtectedException,
@@ -709,7 +709,7 @@ export interface DeleteResourcePolicyResponse {}
709
709
  export declare class ResourceARNNotValidException extends __BaseException {
710
710
  readonly name: "ResourceARNNotValidException";
711
711
  readonly $fault: "client";
712
- Message?: string;
712
+ Message?: string | undefined;
713
713
  constructor(
714
714
  opts: __ExceptionOptionType<ResourceARNNotValidException, __BaseException>
715
715
  );
@@ -717,7 +717,7 @@ export declare class ResourceARNNotValidException extends __BaseException {
717
717
  export declare class ResourcePolicyNotFoundException extends __BaseException {
718
718
  readonly name: "ResourcePolicyNotFoundException";
719
719
  readonly $fault: "client";
720
- Message?: string;
720
+ Message?: string | undefined;
721
721
  constructor(
722
722
  opts: __ExceptionOptionType<
723
723
  ResourcePolicyNotFoundException,
@@ -732,7 +732,7 @@ export interface DeleteTrailResponse {}
732
732
  export declare class InvalidHomeRegionException extends __BaseException {
733
733
  readonly name: "InvalidHomeRegionException";
734
734
  readonly $fault: "client";
735
- Message?: string;
735
+ Message?: string | undefined;
736
736
  constructor(
737
737
  opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>
738
738
  );
@@ -740,7 +740,7 @@ export declare class InvalidHomeRegionException extends __BaseException {
740
740
  export declare class TrailNotFoundException extends __BaseException {
741
741
  readonly name: "TrailNotFoundException";
742
742
  readonly $fault: "client";
743
- Message?: string;
743
+ Message?: string | undefined;
744
744
  constructor(
745
745
  opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>
746
746
  );
@@ -752,7 +752,7 @@ export interface DeregisterOrganizationDelegatedAdminResponse {}
752
752
  export declare class NotOrganizationManagementAccountException extends __BaseException {
753
753
  readonly name: "NotOrganizationManagementAccountException";
754
754
  readonly $fault: "client";
755
- Message?: string;
755
+ Message?: string | undefined;
756
756
  constructor(
757
757
  opts: __ExceptionOptionType<
758
758
  NotOrganizationManagementAccountException,
@@ -761,9 +761,9 @@ export declare class NotOrganizationManagementAccountException extends __BaseExc
761
761
  );
762
762
  }
763
763
  export interface DescribeQueryRequest {
764
- EventDataStore?: string;
765
- QueryId?: string;
766
- QueryAlias?: string;
764
+ EventDataStore?: string | undefined;
765
+ QueryId?: string | undefined;
766
+ QueryAlias?: string | undefined;
767
767
  }
768
768
  export declare const DeliveryStatus: {
769
769
  readonly ACCESS_DENIED: "ACCESS_DENIED";
@@ -779,50 +779,51 @@ export declare const DeliveryStatus: {
779
779
  export type DeliveryStatus =
780
780
  (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
781
781
  export interface QueryStatisticsForDescribeQuery {
782
- EventsMatched?: number;
783
- EventsScanned?: number;
784
- BytesScanned?: number;
785
- ExecutionTimeInMillis?: number;
786
- CreationTime?: Date;
782
+ EventsMatched?: number | undefined;
783
+ EventsScanned?: number | undefined;
784
+ BytesScanned?: number | undefined;
785
+ ExecutionTimeInMillis?: number | undefined;
786
+ CreationTime?: Date | undefined;
787
787
  }
788
788
  export interface DescribeQueryResponse {
789
- QueryId?: string;
790
- QueryString?: string;
791
- QueryStatus?: QueryStatus;
792
- QueryStatistics?: QueryStatisticsForDescribeQuery;
793
- ErrorMessage?: string;
794
- DeliveryS3Uri?: string;
795
- DeliveryStatus?: DeliveryStatus;
789
+ QueryId?: string | undefined;
790
+ QueryString?: string | undefined;
791
+ QueryStatus?: QueryStatus | undefined;
792
+ QueryStatistics?: QueryStatisticsForDescribeQuery | undefined;
793
+ ErrorMessage?: string | undefined;
794
+ DeliveryS3Uri?: string | undefined;
795
+ DeliveryStatus?: DeliveryStatus | undefined;
796
+ Prompt?: string | undefined;
796
797
  }
797
798
  export interface DescribeTrailsRequest {
798
- trailNameList?: string[];
799
- includeShadowTrails?: boolean;
799
+ trailNameList?: string[] | undefined;
800
+ includeShadowTrails?: boolean | undefined;
800
801
  }
801
802
  export interface Trail {
802
- Name?: string;
803
- S3BucketName?: string;
804
- S3KeyPrefix?: string;
805
- SnsTopicName?: string;
806
- SnsTopicARN?: string;
807
- IncludeGlobalServiceEvents?: boolean;
808
- IsMultiRegionTrail?: boolean;
809
- HomeRegion?: string;
810
- TrailARN?: string;
811
- LogFileValidationEnabled?: boolean;
812
- CloudWatchLogsLogGroupArn?: string;
813
- CloudWatchLogsRoleArn?: string;
814
- KmsKeyId?: string;
815
- HasCustomEventSelectors?: boolean;
816
- HasInsightSelectors?: boolean;
817
- IsOrganizationTrail?: boolean;
803
+ Name?: string | undefined;
804
+ S3BucketName?: string | undefined;
805
+ S3KeyPrefix?: string | undefined;
806
+ SnsTopicName?: string | undefined;
807
+ SnsTopicARN?: string | undefined;
808
+ IncludeGlobalServiceEvents?: boolean | undefined;
809
+ IsMultiRegionTrail?: boolean | undefined;
810
+ HomeRegion?: string | undefined;
811
+ TrailARN?: string | undefined;
812
+ LogFileValidationEnabled?: boolean | undefined;
813
+ CloudWatchLogsLogGroupArn?: string | undefined;
814
+ CloudWatchLogsRoleArn?: string | undefined;
815
+ KmsKeyId?: string | undefined;
816
+ HasCustomEventSelectors?: boolean | undefined;
817
+ HasInsightSelectors?: boolean | undefined;
818
+ IsOrganizationTrail?: boolean | undefined;
818
819
  }
819
820
  export interface DescribeTrailsResponse {
820
- trailList?: Trail[];
821
+ trailList?: Trail[] | undefined;
821
822
  }
822
823
  export declare class ConcurrentModificationException extends __BaseException {
823
824
  readonly name: "ConcurrentModificationException";
824
825
  readonly $fault: "client";
825
- Message?: string;
826
+ Message?: string | undefined;
826
827
  constructor(
827
828
  opts: __ExceptionOptionType<
828
829
  ConcurrentModificationException,
@@ -842,39 +843,55 @@ export declare const FederationStatus: {
842
843
  export type FederationStatus =
843
844
  (typeof FederationStatus)[keyof typeof FederationStatus];
844
845
  export interface DisableFederationResponse {
845
- EventDataStoreArn?: string;
846
- FederationStatus?: FederationStatus;
846
+ EventDataStoreArn?: string | undefined;
847
+ FederationStatus?: FederationStatus | undefined;
847
848
  }
848
849
  export interface EnableFederationRequest {
849
850
  EventDataStore: string | undefined;
850
851
  FederationRoleArn: string | undefined;
851
852
  }
852
853
  export interface EnableFederationResponse {
853
- EventDataStoreArn?: string;
854
- FederationStatus?: FederationStatus;
855
- FederationRoleArn?: string;
854
+ EventDataStoreArn?: string | undefined;
855
+ FederationStatus?: FederationStatus | undefined;
856
+ FederationRoleArn?: string | undefined;
857
+ }
858
+ export interface GenerateQueryRequest {
859
+ EventDataStores: string[] | undefined;
860
+ Prompt: string | undefined;
861
+ }
862
+ export interface GenerateQueryResponse {
863
+ QueryStatement?: string | undefined;
864
+ QueryAlias?: string | undefined;
865
+ }
866
+ export declare class GenerateResponseException extends __BaseException {
867
+ readonly name: "GenerateResponseException";
868
+ readonly $fault: "client";
869
+ Message?: string | undefined;
870
+ constructor(
871
+ opts: __ExceptionOptionType<GenerateResponseException, __BaseException>
872
+ );
856
873
  }
857
874
  export interface GetChannelRequest {
858
875
  Channel: string | undefined;
859
876
  }
860
877
  export interface IngestionStatus {
861
- LatestIngestionSuccessTime?: Date;
862
- LatestIngestionSuccessEventID?: string;
863
- LatestIngestionErrorCode?: string;
864
- LatestIngestionAttemptTime?: Date;
865
- LatestIngestionAttemptEventID?: string;
878
+ LatestIngestionSuccessTime?: Date | undefined;
879
+ LatestIngestionSuccessEventID?: string | undefined;
880
+ LatestIngestionErrorCode?: string | undefined;
881
+ LatestIngestionAttemptTime?: Date | undefined;
882
+ LatestIngestionAttemptEventID?: string | undefined;
866
883
  }
867
884
  export interface SourceConfig {
868
- ApplyToAllRegions?: boolean;
869
- AdvancedEventSelectors?: AdvancedEventSelector[];
885
+ ApplyToAllRegions?: boolean | undefined;
886
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
870
887
  }
871
888
  export interface GetChannelResponse {
872
- ChannelArn?: string;
873
- Name?: string;
874
- Source?: string;
875
- SourceConfig?: SourceConfig;
876
- Destinations?: Destination[];
877
- IngestionStatus?: IngestionStatus;
889
+ ChannelArn?: string | undefined;
890
+ Name?: string | undefined;
891
+ Source?: string | undefined;
892
+ SourceConfig?: SourceConfig | undefined;
893
+ Destinations?: Destination[] | undefined;
894
+ IngestionStatus?: IngestionStatus | undefined;
878
895
  }
879
896
  export interface GetEventDataStoreRequest {
880
897
  EventDataStore: string | undefined;
@@ -884,28 +901,28 @@ export interface PartitionKey {
884
901
  Type: string | undefined;
885
902
  }
886
903
  export interface GetEventDataStoreResponse {
887
- EventDataStoreArn?: string;
888
- Name?: string;
889
- Status?: EventDataStoreStatus;
890
- AdvancedEventSelectors?: AdvancedEventSelector[];
891
- MultiRegionEnabled?: boolean;
892
- OrganizationEnabled?: boolean;
893
- RetentionPeriod?: number;
894
- TerminationProtectionEnabled?: boolean;
895
- CreatedTimestamp?: Date;
896
- UpdatedTimestamp?: Date;
897
- KmsKeyId?: string;
898
- BillingMode?: BillingMode;
899
- FederationStatus?: FederationStatus;
900
- FederationRoleArn?: string;
901
- PartitionKeys?: PartitionKey[];
904
+ EventDataStoreArn?: string | undefined;
905
+ Name?: string | undefined;
906
+ Status?: EventDataStoreStatus | undefined;
907
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
908
+ MultiRegionEnabled?: boolean | undefined;
909
+ OrganizationEnabled?: boolean | undefined;
910
+ RetentionPeriod?: number | undefined;
911
+ TerminationProtectionEnabled?: boolean | undefined;
912
+ CreatedTimestamp?: Date | undefined;
913
+ UpdatedTimestamp?: Date | undefined;
914
+ KmsKeyId?: string | undefined;
915
+ BillingMode?: BillingMode | undefined;
916
+ FederationStatus?: FederationStatus | undefined;
917
+ FederationRoleArn?: string | undefined;
918
+ PartitionKeys?: PartitionKey[] | undefined;
902
919
  }
903
920
  export interface GetEventSelectorsRequest {
904
921
  TrailName: string | undefined;
905
922
  }
906
923
  export interface DataResource {
907
- Type?: string;
908
- Values?: string[];
924
+ Type?: string | undefined;
925
+ Values?: string[] | undefined;
909
926
  }
910
927
  export declare const ReadWriteType: {
911
928
  readonly All: "All";
@@ -914,15 +931,15 @@ export declare const ReadWriteType: {
914
931
  };
915
932
  export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
916
933
  export interface EventSelector {
917
- ReadWriteType?: ReadWriteType;
918
- IncludeManagementEvents?: boolean;
919
- DataResources?: DataResource[];
920
- ExcludeManagementEventSources?: string[];
934
+ ReadWriteType?: ReadWriteType | undefined;
935
+ IncludeManagementEvents?: boolean | undefined;
936
+ DataResources?: DataResource[] | undefined;
937
+ ExcludeManagementEventSources?: string[] | undefined;
921
938
  }
922
939
  export interface GetEventSelectorsResponse {
923
- TrailARN?: string;
924
- EventSelectors?: EventSelector[];
925
- AdvancedEventSelectors?: AdvancedEventSelector[];
940
+ TrailARN?: string | undefined;
941
+ EventSelectors?: EventSelector[] | undefined;
942
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
926
943
  }
927
944
  export interface GetImportRequest {
928
945
  ImportId: string | undefined;
@@ -936,11 +953,11 @@ export interface ImportSource {
936
953
  S3: S3ImportSource | undefined;
937
954
  }
938
955
  export interface ImportStatistics {
939
- PrefixesFound?: number;
940
- PrefixesCompleted?: number;
941
- FilesCompleted?: number;
942
- EventsCompleted?: number;
943
- FailedEntries?: number;
956
+ PrefixesFound?: number | undefined;
957
+ PrefixesCompleted?: number | undefined;
958
+ FilesCompleted?: number | undefined;
959
+ EventsCompleted?: number | undefined;
960
+ FailedEntries?: number | undefined;
944
961
  }
945
962
  export declare const ImportStatus: {
946
963
  readonly COMPLETED: "COMPLETED";
@@ -951,27 +968,27 @@ export declare const ImportStatus: {
951
968
  };
952
969
  export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
953
970
  export interface GetImportResponse {
954
- ImportId?: string;
955
- Destinations?: string[];
956
- ImportSource?: ImportSource;
957
- StartEventTime?: Date;
958
- EndEventTime?: Date;
959
- ImportStatus?: ImportStatus;
960
- CreatedTimestamp?: Date;
961
- UpdatedTimestamp?: Date;
962
- ImportStatistics?: ImportStatistics;
971
+ ImportId?: string | undefined;
972
+ Destinations?: string[] | undefined;
973
+ ImportSource?: ImportSource | undefined;
974
+ StartEventTime?: Date | undefined;
975
+ EndEventTime?: Date | undefined;
976
+ ImportStatus?: ImportStatus | undefined;
977
+ CreatedTimestamp?: Date | undefined;
978
+ UpdatedTimestamp?: Date | undefined;
979
+ ImportStatistics?: ImportStatistics | undefined;
963
980
  }
964
981
  export declare class ImportNotFoundException extends __BaseException {
965
982
  readonly name: "ImportNotFoundException";
966
983
  readonly $fault: "client";
967
- Message?: string;
984
+ Message?: string | undefined;
968
985
  constructor(
969
986
  opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>
970
987
  );
971
988
  }
972
989
  export interface GetInsightSelectorsRequest {
973
- TrailName?: string;
974
- EventDataStore?: string;
990
+ TrailName?: string | undefined;
991
+ EventDataStore?: string | undefined;
975
992
  }
976
993
  export declare const InsightType: {
977
994
  readonly ApiCallRateInsight: "ApiCallRateInsight";
@@ -979,44 +996,44 @@ export declare const InsightType: {
979
996
  };
980
997
  export type InsightType = (typeof InsightType)[keyof typeof InsightType];
981
998
  export interface InsightSelector {
982
- InsightType?: InsightType;
999
+ InsightType?: InsightType | undefined;
983
1000
  }
984
1001
  export interface GetInsightSelectorsResponse {
985
- TrailARN?: string;
986
- InsightSelectors?: InsightSelector[];
987
- EventDataStoreArn?: string;
988
- InsightsDestination?: string;
1002
+ TrailARN?: string | undefined;
1003
+ InsightSelectors?: InsightSelector[] | undefined;
1004
+ EventDataStoreArn?: string | undefined;
1005
+ InsightsDestination?: string | undefined;
989
1006
  }
990
1007
  export declare class InsightNotEnabledException extends __BaseException {
991
1008
  readonly name: "InsightNotEnabledException";
992
1009
  readonly $fault: "client";
993
- Message?: string;
1010
+ Message?: string | undefined;
994
1011
  constructor(
995
1012
  opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>
996
1013
  );
997
1014
  }
998
1015
  export interface GetQueryResultsRequest {
999
- EventDataStore?: string;
1016
+ EventDataStore?: string | undefined;
1000
1017
  QueryId: string | undefined;
1001
- NextToken?: string;
1002
- MaxQueryResults?: number;
1018
+ NextToken?: string | undefined;
1019
+ MaxQueryResults?: number | undefined;
1003
1020
  }
1004
1021
  export interface QueryStatistics {
1005
- ResultsCount?: number;
1006
- TotalResultsCount?: number;
1007
- BytesScanned?: number;
1022
+ ResultsCount?: number | undefined;
1023
+ TotalResultsCount?: number | undefined;
1024
+ BytesScanned?: number | undefined;
1008
1025
  }
1009
1026
  export interface GetQueryResultsResponse {
1010
- QueryStatus?: QueryStatus;
1011
- QueryStatistics?: QueryStatistics;
1012
- QueryResultRows?: Record<string, string>[][];
1013
- NextToken?: string;
1014
- ErrorMessage?: string;
1027
+ QueryStatus?: QueryStatus | undefined;
1028
+ QueryStatistics?: QueryStatistics | undefined;
1029
+ QueryResultRows?: Record<string, string>[][] | undefined;
1030
+ NextToken?: string | undefined;
1031
+ ErrorMessage?: string | undefined;
1015
1032
  }
1016
1033
  export declare class InvalidMaxResultsException extends __BaseException {
1017
1034
  readonly name: "InvalidMaxResultsException";
1018
1035
  readonly $fault: "client";
1019
- Message?: string;
1036
+ Message?: string | undefined;
1020
1037
  constructor(
1021
1038
  opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>
1022
1039
  );
@@ -1024,7 +1041,7 @@ export declare class InvalidMaxResultsException extends __BaseException {
1024
1041
  export declare class InvalidNextTokenException extends __BaseException {
1025
1042
  readonly name: "InvalidNextTokenException";
1026
1043
  readonly $fault: "client";
1027
- Message?: string;
1044
+ Message?: string | undefined;
1028
1045
  constructor(
1029
1046
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
1030
1047
  );
@@ -1033,69 +1050,69 @@ export interface GetResourcePolicyRequest {
1033
1050
  ResourceArn: string | undefined;
1034
1051
  }
1035
1052
  export interface GetResourcePolicyResponse {
1036
- ResourceArn?: string;
1037
- ResourcePolicy?: string;
1053
+ ResourceArn?: string | undefined;
1054
+ ResourcePolicy?: string | undefined;
1038
1055
  }
1039
1056
  export interface GetTrailRequest {
1040
1057
  Name: string | undefined;
1041
1058
  }
1042
1059
  export interface GetTrailResponse {
1043
- Trail?: Trail;
1060
+ Trail?: Trail | undefined;
1044
1061
  }
1045
1062
  export interface GetTrailStatusRequest {
1046
1063
  Name: string | undefined;
1047
1064
  }
1048
1065
  export interface GetTrailStatusResponse {
1049
- IsLogging?: boolean;
1050
- LatestDeliveryError?: string;
1051
- LatestNotificationError?: string;
1052
- LatestDeliveryTime?: Date;
1053
- LatestNotificationTime?: Date;
1054
- StartLoggingTime?: Date;
1055
- StopLoggingTime?: Date;
1056
- LatestCloudWatchLogsDeliveryError?: string;
1057
- LatestCloudWatchLogsDeliveryTime?: Date;
1058
- LatestDigestDeliveryTime?: Date;
1059
- LatestDigestDeliveryError?: string;
1060
- LatestDeliveryAttemptTime?: string;
1061
- LatestNotificationAttemptTime?: string;
1062
- LatestNotificationAttemptSucceeded?: string;
1063
- LatestDeliveryAttemptSucceeded?: string;
1064
- TimeLoggingStarted?: string;
1065
- TimeLoggingStopped?: string;
1066
+ IsLogging?: boolean | undefined;
1067
+ LatestDeliveryError?: string | undefined;
1068
+ LatestNotificationError?: string | undefined;
1069
+ LatestDeliveryTime?: Date | undefined;
1070
+ LatestNotificationTime?: Date | undefined;
1071
+ StartLoggingTime?: Date | undefined;
1072
+ StopLoggingTime?: Date | undefined;
1073
+ LatestCloudWatchLogsDeliveryError?: string | undefined;
1074
+ LatestCloudWatchLogsDeliveryTime?: Date | undefined;
1075
+ LatestDigestDeliveryTime?: Date | undefined;
1076
+ LatestDigestDeliveryError?: string | undefined;
1077
+ LatestDeliveryAttemptTime?: string | undefined;
1078
+ LatestNotificationAttemptTime?: string | undefined;
1079
+ LatestNotificationAttemptSucceeded?: string | undefined;
1080
+ LatestDeliveryAttemptSucceeded?: string | undefined;
1081
+ TimeLoggingStarted?: string | undefined;
1082
+ TimeLoggingStopped?: string | undefined;
1066
1083
  }
1067
1084
  export interface ListChannelsRequest {
1068
- MaxResults?: number;
1069
- NextToken?: string;
1085
+ MaxResults?: number | undefined;
1086
+ NextToken?: string | undefined;
1070
1087
  }
1071
1088
  export interface ListChannelsResponse {
1072
- Channels?: Channel[];
1073
- NextToken?: string;
1089
+ Channels?: Channel[] | undefined;
1090
+ NextToken?: string | undefined;
1074
1091
  }
1075
1092
  export interface ListEventDataStoresRequest {
1076
- NextToken?: string;
1077
- MaxResults?: number;
1093
+ NextToken?: string | undefined;
1094
+ MaxResults?: number | undefined;
1078
1095
  }
1079
1096
  export interface EventDataStore {
1080
- EventDataStoreArn?: string;
1081
- Name?: string;
1082
- TerminationProtectionEnabled?: boolean;
1083
- Status?: EventDataStoreStatus;
1084
- AdvancedEventSelectors?: AdvancedEventSelector[];
1085
- MultiRegionEnabled?: boolean;
1086
- OrganizationEnabled?: boolean;
1087
- RetentionPeriod?: number;
1088
- CreatedTimestamp?: Date;
1089
- UpdatedTimestamp?: Date;
1097
+ EventDataStoreArn?: string | undefined;
1098
+ Name?: string | undefined;
1099
+ TerminationProtectionEnabled?: boolean | undefined;
1100
+ Status?: EventDataStoreStatus | undefined;
1101
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1102
+ MultiRegionEnabled?: boolean | undefined;
1103
+ OrganizationEnabled?: boolean | undefined;
1104
+ RetentionPeriod?: number | undefined;
1105
+ CreatedTimestamp?: Date | undefined;
1106
+ UpdatedTimestamp?: Date | undefined;
1090
1107
  }
1091
1108
  export interface ListEventDataStoresResponse {
1092
- EventDataStores?: EventDataStore[];
1093
- NextToken?: string;
1109
+ EventDataStores?: EventDataStore[] | undefined;
1110
+ NextToken?: string | undefined;
1094
1111
  }
1095
1112
  export interface ListImportFailuresRequest {
1096
1113
  ImportId: string | undefined;
1097
- MaxResults?: number;
1098
- NextToken?: string;
1114
+ MaxResults?: number | undefined;
1115
+ NextToken?: string | undefined;
1099
1116
  }
1100
1117
  export declare const ImportFailureStatus: {
1101
1118
  readonly FAILED: "FAILED";
@@ -1105,32 +1122,32 @@ export declare const ImportFailureStatus: {
1105
1122
  export type ImportFailureStatus =
1106
1123
  (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
1107
1124
  export interface ImportFailureListItem {
1108
- Location?: string;
1109
- Status?: ImportFailureStatus;
1110
- ErrorType?: string;
1111
- ErrorMessage?: string;
1112
- LastUpdatedTime?: Date;
1125
+ Location?: string | undefined;
1126
+ Status?: ImportFailureStatus | undefined;
1127
+ ErrorType?: string | undefined;
1128
+ ErrorMessage?: string | undefined;
1129
+ LastUpdatedTime?: Date | undefined;
1113
1130
  }
1114
1131
  export interface ListImportFailuresResponse {
1115
- Failures?: ImportFailureListItem[];
1116
- NextToken?: string;
1132
+ Failures?: ImportFailureListItem[] | undefined;
1133
+ NextToken?: string | undefined;
1117
1134
  }
1118
1135
  export interface ListImportsRequest {
1119
- MaxResults?: number;
1120
- Destination?: string;
1121
- ImportStatus?: ImportStatus;
1122
- NextToken?: string;
1136
+ MaxResults?: number | undefined;
1137
+ Destination?: string | undefined;
1138
+ ImportStatus?: ImportStatus | undefined;
1139
+ NextToken?: string | undefined;
1123
1140
  }
1124
1141
  export interface ImportsListItem {
1125
- ImportId?: string;
1126
- ImportStatus?: ImportStatus;
1127
- Destinations?: string[];
1128
- CreatedTimestamp?: Date;
1129
- UpdatedTimestamp?: Date;
1142
+ ImportId?: string | undefined;
1143
+ ImportStatus?: ImportStatus | undefined;
1144
+ Destinations?: string[] | undefined;
1145
+ CreatedTimestamp?: Date | undefined;
1146
+ UpdatedTimestamp?: Date | undefined;
1130
1147
  }
1131
1148
  export interface ListImportsResponse {
1132
- Imports?: ImportsListItem[];
1133
- NextToken?: string;
1149
+ Imports?: ImportsListItem[] | undefined;
1150
+ NextToken?: string | undefined;
1134
1151
  }
1135
1152
  export declare const InsightsMetricDataType: {
1136
1153
  readonly FILL_WITH_ZEROS: "FillWithZeros";
@@ -1142,27 +1159,27 @@ export interface ListInsightsMetricDataRequest {
1142
1159
  EventSource: string | undefined;
1143
1160
  EventName: string | undefined;
1144
1161
  InsightType: InsightType | undefined;
1145
- ErrorCode?: string;
1146
- StartTime?: Date;
1147
- EndTime?: Date;
1148
- Period?: number;
1149
- DataType?: InsightsMetricDataType;
1150
- MaxResults?: number;
1151
- NextToken?: string;
1162
+ ErrorCode?: string | undefined;
1163
+ StartTime?: Date | undefined;
1164
+ EndTime?: Date | undefined;
1165
+ Period?: number | undefined;
1166
+ DataType?: InsightsMetricDataType | undefined;
1167
+ MaxResults?: number | undefined;
1168
+ NextToken?: string | undefined;
1152
1169
  }
1153
1170
  export interface ListInsightsMetricDataResponse {
1154
- EventSource?: string;
1155
- EventName?: string;
1156
- InsightType?: InsightType;
1157
- ErrorCode?: string;
1158
- Timestamps?: Date[];
1159
- Values?: number[];
1160
- NextToken?: string;
1171
+ EventSource?: string | undefined;
1172
+ EventName?: string | undefined;
1173
+ InsightType?: InsightType | undefined;
1174
+ ErrorCode?: string | undefined;
1175
+ Timestamps?: Date[] | undefined;
1176
+ Values?: number[] | undefined;
1177
+ NextToken?: string | undefined;
1161
1178
  }
1162
1179
  export declare class InvalidTimeRangeException extends __BaseException {
1163
1180
  readonly name: "InvalidTimeRangeException";
1164
1181
  readonly $fault: "client";
1165
- Message?: string;
1182
+ Message?: string | undefined;
1166
1183
  constructor(
1167
1184
  opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>
1168
1185
  );
@@ -1170,30 +1187,30 @@ export declare class InvalidTimeRangeException extends __BaseException {
1170
1187
  export declare class InvalidTokenException extends __BaseException {
1171
1188
  readonly name: "InvalidTokenException";
1172
1189
  readonly $fault: "client";
1173
- Message?: string;
1190
+ Message?: string | undefined;
1174
1191
  constructor(
1175
1192
  opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
1176
1193
  );
1177
1194
  }
1178
1195
  export interface ListPublicKeysRequest {
1179
- StartTime?: Date;
1180
- EndTime?: Date;
1181
- NextToken?: string;
1196
+ StartTime?: Date | undefined;
1197
+ EndTime?: Date | undefined;
1198
+ NextToken?: string | undefined;
1182
1199
  }
1183
1200
  export interface PublicKey {
1184
- Value?: Uint8Array;
1185
- ValidityStartTime?: Date;
1186
- ValidityEndTime?: Date;
1187
- Fingerprint?: string;
1201
+ Value?: Uint8Array | undefined;
1202
+ ValidityStartTime?: Date | undefined;
1203
+ ValidityEndTime?: Date | undefined;
1204
+ Fingerprint?: string | undefined;
1188
1205
  }
1189
1206
  export interface ListPublicKeysResponse {
1190
- PublicKeyList?: PublicKey[];
1191
- NextToken?: string;
1207
+ PublicKeyList?: PublicKey[] | undefined;
1208
+ NextToken?: string | undefined;
1192
1209
  }
1193
1210
  export declare class InvalidDateRangeException extends __BaseException {
1194
1211
  readonly name: "InvalidDateRangeException";
1195
1212
  readonly $fault: "client";
1196
- Message?: string;
1213
+ Message?: string | undefined;
1197
1214
  constructor(
1198
1215
  opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>
1199
1216
  );
@@ -1201,56 +1218,56 @@ export declare class InvalidDateRangeException extends __BaseException {
1201
1218
  export declare class InvalidQueryStatusException extends __BaseException {
1202
1219
  readonly name: "InvalidQueryStatusException";
1203
1220
  readonly $fault: "client";
1204
- Message?: string;
1221
+ Message?: string | undefined;
1205
1222
  constructor(
1206
1223
  opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>
1207
1224
  );
1208
1225
  }
1209
1226
  export interface ListQueriesRequest {
1210
1227
  EventDataStore: string | undefined;
1211
- NextToken?: string;
1212
- MaxResults?: number;
1213
- StartTime?: Date;
1214
- EndTime?: Date;
1215
- QueryStatus?: QueryStatus;
1228
+ NextToken?: string | undefined;
1229
+ MaxResults?: number | undefined;
1230
+ StartTime?: Date | undefined;
1231
+ EndTime?: Date | undefined;
1232
+ QueryStatus?: QueryStatus | undefined;
1216
1233
  }
1217
1234
  export interface Query {
1218
- QueryId?: string;
1219
- QueryStatus?: QueryStatus;
1220
- CreationTime?: Date;
1235
+ QueryId?: string | undefined;
1236
+ QueryStatus?: QueryStatus | undefined;
1237
+ CreationTime?: Date | undefined;
1221
1238
  }
1222
1239
  export interface ListQueriesResponse {
1223
- Queries?: Query[];
1224
- NextToken?: string;
1240
+ Queries?: Query[] | undefined;
1241
+ NextToken?: string | undefined;
1225
1242
  }
1226
1243
  export interface ListTagsRequest {
1227
1244
  ResourceIdList: string[] | undefined;
1228
- NextToken?: string;
1245
+ NextToken?: string | undefined;
1229
1246
  }
1230
1247
  export interface ResourceTag {
1231
- ResourceId?: string;
1232
- TagsList?: Tag[];
1248
+ ResourceId?: string | undefined;
1249
+ TagsList?: Tag[] | undefined;
1233
1250
  }
1234
1251
  export interface ListTagsResponse {
1235
- ResourceTagList?: ResourceTag[];
1236
- NextToken?: string;
1252
+ ResourceTagList?: ResourceTag[] | undefined;
1253
+ NextToken?: string | undefined;
1237
1254
  }
1238
1255
  export interface ListTrailsRequest {
1239
- NextToken?: string;
1256
+ NextToken?: string | undefined;
1240
1257
  }
1241
1258
  export interface TrailInfo {
1242
- TrailARN?: string;
1243
- Name?: string;
1244
- HomeRegion?: string;
1259
+ TrailARN?: string | undefined;
1260
+ Name?: string | undefined;
1261
+ HomeRegion?: string | undefined;
1245
1262
  }
1246
1263
  export interface ListTrailsResponse {
1247
- Trails?: TrailInfo[];
1248
- NextToken?: string;
1264
+ Trails?: TrailInfo[] | undefined;
1265
+ NextToken?: string | undefined;
1249
1266
  }
1250
1267
  export declare class InvalidEventCategoryException extends __BaseException {
1251
1268
  readonly name: "InvalidEventCategoryException";
1252
1269
  readonly $fault: "client";
1253
- Message?: string;
1270
+ Message?: string | undefined;
1254
1271
  constructor(
1255
1272
  opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>
1256
1273
  );
@@ -1258,7 +1275,7 @@ export declare class InvalidEventCategoryException extends __BaseException {
1258
1275
  export declare class InvalidLookupAttributesException extends __BaseException {
1259
1276
  readonly name: "InvalidLookupAttributesException";
1260
1277
  readonly $fault: "client";
1261
- Message?: string;
1278
+ Message?: string | undefined;
1262
1279
  constructor(
1263
1280
  opts: __ExceptionOptionType<
1264
1281
  InvalidLookupAttributesException,
@@ -1287,46 +1304,46 @@ export interface LookupAttribute {
1287
1304
  AttributeValue: string | undefined;
1288
1305
  }
1289
1306
  export interface LookupEventsRequest {
1290
- LookupAttributes?: LookupAttribute[];
1291
- StartTime?: Date;
1292
- EndTime?: Date;
1293
- EventCategory?: EventCategory;
1294
- MaxResults?: number;
1295
- NextToken?: string;
1307
+ LookupAttributes?: LookupAttribute[] | undefined;
1308
+ StartTime?: Date | undefined;
1309
+ EndTime?: Date | undefined;
1310
+ EventCategory?: EventCategory | undefined;
1311
+ MaxResults?: number | undefined;
1312
+ NextToken?: string | undefined;
1296
1313
  }
1297
1314
  export interface Resource {
1298
- ResourceType?: string;
1299
- ResourceName?: string;
1315
+ ResourceType?: string | undefined;
1316
+ ResourceName?: string | undefined;
1300
1317
  }
1301
1318
  export interface Event {
1302
- EventId?: string;
1303
- EventName?: string;
1304
- ReadOnly?: string;
1305
- AccessKeyId?: string;
1306
- EventTime?: Date;
1307
- EventSource?: string;
1308
- Username?: string;
1309
- Resources?: Resource[];
1310
- CloudTrailEvent?: string;
1319
+ EventId?: string | undefined;
1320
+ EventName?: string | undefined;
1321
+ ReadOnly?: string | undefined;
1322
+ AccessKeyId?: string | undefined;
1323
+ EventTime?: Date | undefined;
1324
+ EventSource?: string | undefined;
1325
+ Username?: string | undefined;
1326
+ Resources?: Resource[] | undefined;
1327
+ CloudTrailEvent?: string | undefined;
1311
1328
  }
1312
1329
  export interface LookupEventsResponse {
1313
- Events?: Event[];
1314
- NextToken?: string;
1330
+ Events?: Event[] | undefined;
1331
+ NextToken?: string | undefined;
1315
1332
  }
1316
1333
  export interface PutEventSelectorsRequest {
1317
1334
  TrailName: string | undefined;
1318
- EventSelectors?: EventSelector[];
1319
- AdvancedEventSelectors?: AdvancedEventSelector[];
1335
+ EventSelectors?: EventSelector[] | undefined;
1336
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1320
1337
  }
1321
1338
  export interface PutEventSelectorsResponse {
1322
- TrailARN?: string;
1323
- EventSelectors?: EventSelector[];
1324
- AdvancedEventSelectors?: AdvancedEventSelector[];
1339
+ TrailARN?: string | undefined;
1340
+ EventSelectors?: EventSelector[] | undefined;
1341
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1325
1342
  }
1326
1343
  export declare class InvalidInsightSelectorsException extends __BaseException {
1327
1344
  readonly name: "InvalidInsightSelectorsException";
1328
1345
  readonly $fault: "client";
1329
- Message?: string;
1346
+ Message?: string | undefined;
1330
1347
  constructor(
1331
1348
  opts: __ExceptionOptionType<
1332
1349
  InvalidInsightSelectorsException,
@@ -1335,29 +1352,29 @@ export declare class InvalidInsightSelectorsException extends __BaseException {
1335
1352
  );
1336
1353
  }
1337
1354
  export interface PutInsightSelectorsRequest {
1338
- TrailName?: string;
1355
+ TrailName?: string | undefined;
1339
1356
  InsightSelectors: InsightSelector[] | undefined;
1340
- EventDataStore?: string;
1341
- InsightsDestination?: string;
1357
+ EventDataStore?: string | undefined;
1358
+ InsightsDestination?: string | undefined;
1342
1359
  }
1343
1360
  export interface PutInsightSelectorsResponse {
1344
- TrailARN?: string;
1345
- InsightSelectors?: InsightSelector[];
1346
- EventDataStoreArn?: string;
1347
- InsightsDestination?: string;
1361
+ TrailARN?: string | undefined;
1362
+ InsightSelectors?: InsightSelector[] | undefined;
1363
+ EventDataStoreArn?: string | undefined;
1364
+ InsightsDestination?: string | undefined;
1348
1365
  }
1349
1366
  export interface PutResourcePolicyRequest {
1350
1367
  ResourceArn: string | undefined;
1351
1368
  ResourcePolicy: string | undefined;
1352
1369
  }
1353
1370
  export interface PutResourcePolicyResponse {
1354
- ResourceArn?: string;
1355
- ResourcePolicy?: string;
1371
+ ResourceArn?: string | undefined;
1372
+ ResourcePolicy?: string | undefined;
1356
1373
  }
1357
1374
  export declare class ResourcePolicyNotValidException extends __BaseException {
1358
1375
  readonly name: "ResourcePolicyNotValidException";
1359
1376
  readonly $fault: "client";
1360
- Message?: string;
1377
+ Message?: string | undefined;
1361
1378
  constructor(
1362
1379
  opts: __ExceptionOptionType<
1363
1380
  ResourcePolicyNotValidException,
@@ -1368,7 +1385,7 @@ export declare class ResourcePolicyNotValidException extends __BaseException {
1368
1385
  export declare class DelegatedAdminAccountLimitExceededException extends __BaseException {
1369
1386
  readonly name: "DelegatedAdminAccountLimitExceededException";
1370
1387
  readonly $fault: "client";
1371
- Message?: string;
1388
+ Message?: string | undefined;
1372
1389
  constructor(
1373
1390
  opts: __ExceptionOptionType<
1374
1391
  DelegatedAdminAccountLimitExceededException,
@@ -1388,7 +1405,7 @@ export interface RemoveTagsResponse {}
1388
1405
  export declare class InvalidEventDataStoreStatusException extends __BaseException {
1389
1406
  readonly name: "InvalidEventDataStoreStatusException";
1390
1407
  readonly $fault: "client";
1391
- Message?: string;
1408
+ Message?: string | undefined;
1392
1409
  constructor(
1393
1410
  opts: __ExceptionOptionType<
1394
1411
  InvalidEventDataStoreStatusException,
@@ -1400,18 +1417,18 @@ export interface RestoreEventDataStoreRequest {
1400
1417
  EventDataStore: string | undefined;
1401
1418
  }
1402
1419
  export interface RestoreEventDataStoreResponse {
1403
- EventDataStoreArn?: string;
1404
- Name?: string;
1405
- Status?: EventDataStoreStatus;
1406
- AdvancedEventSelectors?: AdvancedEventSelector[];
1407
- MultiRegionEnabled?: boolean;
1408
- OrganizationEnabled?: boolean;
1409
- RetentionPeriod?: number;
1410
- TerminationProtectionEnabled?: boolean;
1411
- CreatedTimestamp?: Date;
1412
- UpdatedTimestamp?: Date;
1413
- KmsKeyId?: string;
1414
- BillingMode?: BillingMode;
1420
+ EventDataStoreArn?: string | undefined;
1421
+ Name?: string | undefined;
1422
+ Status?: EventDataStoreStatus | undefined;
1423
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1424
+ MultiRegionEnabled?: boolean | undefined;
1425
+ OrganizationEnabled?: boolean | undefined;
1426
+ RetentionPeriod?: number | undefined;
1427
+ TerminationProtectionEnabled?: boolean | undefined;
1428
+ CreatedTimestamp?: Date | undefined;
1429
+ UpdatedTimestamp?: Date | undefined;
1430
+ KmsKeyId?: string | undefined;
1431
+ BillingMode?: BillingMode | undefined;
1415
1432
  }
1416
1433
  export interface StartEventDataStoreIngestionRequest {
1417
1434
  EventDataStore: string | undefined;
@@ -1420,27 +1437,27 @@ export interface StartEventDataStoreIngestionResponse {}
1420
1437
  export declare class InvalidImportSourceException extends __BaseException {
1421
1438
  readonly name: "InvalidImportSourceException";
1422
1439
  readonly $fault: "client";
1423
- Message?: string;
1440
+ Message?: string | undefined;
1424
1441
  constructor(
1425
1442
  opts: __ExceptionOptionType<InvalidImportSourceException, __BaseException>
1426
1443
  );
1427
1444
  }
1428
1445
  export interface StartImportRequest {
1429
- Destinations?: string[];
1430
- ImportSource?: ImportSource;
1431
- StartEventTime?: Date;
1432
- EndEventTime?: Date;
1433
- ImportId?: string;
1446
+ Destinations?: string[] | undefined;
1447
+ ImportSource?: ImportSource | undefined;
1448
+ StartEventTime?: Date | undefined;
1449
+ EndEventTime?: Date | undefined;
1450
+ ImportId?: string | undefined;
1434
1451
  }
1435
1452
  export interface StartImportResponse {
1436
- ImportId?: string;
1437
- Destinations?: string[];
1438
- ImportSource?: ImportSource;
1439
- StartEventTime?: Date;
1440
- EndEventTime?: Date;
1441
- ImportStatus?: ImportStatus;
1442
- CreatedTimestamp?: Date;
1443
- UpdatedTimestamp?: Date;
1453
+ ImportId?: string | undefined;
1454
+ Destinations?: string[] | undefined;
1455
+ ImportSource?: ImportSource | undefined;
1456
+ StartEventTime?: Date | undefined;
1457
+ EndEventTime?: Date | undefined;
1458
+ ImportStatus?: ImportStatus | undefined;
1459
+ CreatedTimestamp?: Date | undefined;
1460
+ UpdatedTimestamp?: Date | undefined;
1444
1461
  }
1445
1462
  export interface StartLoggingRequest {
1446
1463
  Name: string | undefined;
@@ -1449,7 +1466,7 @@ export interface StartLoggingResponse {}
1449
1466
  export declare class InvalidQueryStatementException extends __BaseException {
1450
1467
  readonly name: "InvalidQueryStatementException";
1451
1468
  readonly $fault: "client";
1452
- Message?: string;
1469
+ Message?: string | undefined;
1453
1470
  constructor(
1454
1471
  opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>
1455
1472
  );
@@ -1457,19 +1474,19 @@ export declare class InvalidQueryStatementException extends __BaseException {
1457
1474
  export declare class MaxConcurrentQueriesException extends __BaseException {
1458
1475
  readonly name: "MaxConcurrentQueriesException";
1459
1476
  readonly $fault: "client";
1460
- Message?: string;
1477
+ Message?: string | undefined;
1461
1478
  constructor(
1462
1479
  opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>
1463
1480
  );
1464
1481
  }
1465
1482
  export interface StartQueryRequest {
1466
- QueryStatement?: string;
1467
- DeliveryS3Uri?: string;
1468
- QueryAlias?: string;
1469
- QueryParameters?: string[];
1483
+ QueryStatement?: string | undefined;
1484
+ DeliveryS3Uri?: string | undefined;
1485
+ QueryAlias?: string | undefined;
1486
+ QueryParameters?: string[] | undefined;
1470
1487
  }
1471
1488
  export interface StartQueryResponse {
1472
- QueryId?: string;
1489
+ QueryId?: string | undefined;
1473
1490
  }
1474
1491
  export interface StopEventDataStoreIngestionRequest {
1475
1492
  EventDataStore: string | undefined;
@@ -1479,15 +1496,15 @@ export interface StopImportRequest {
1479
1496
  ImportId: string | undefined;
1480
1497
  }
1481
1498
  export interface StopImportResponse {
1482
- ImportId?: string;
1483
- ImportSource?: ImportSource;
1484
- Destinations?: string[];
1485
- ImportStatus?: ImportStatus;
1486
- CreatedTimestamp?: Date;
1487
- UpdatedTimestamp?: Date;
1488
- StartEventTime?: Date;
1489
- EndEventTime?: Date;
1490
- ImportStatistics?: ImportStatistics;
1499
+ ImportId?: string | undefined;
1500
+ ImportSource?: ImportSource | undefined;
1501
+ Destinations?: string[] | undefined;
1502
+ ImportStatus?: ImportStatus | undefined;
1503
+ CreatedTimestamp?: Date | undefined;
1504
+ UpdatedTimestamp?: Date | undefined;
1505
+ StartEventTime?: Date | undefined;
1506
+ EndEventTime?: Date | undefined;
1507
+ ImportStatistics?: ImportStatistics | undefined;
1491
1508
  }
1492
1509
  export interface StopLoggingRequest {
1493
1510
  Name: string | undefined;
@@ -1495,67 +1512,67 @@ export interface StopLoggingRequest {
1495
1512
  export interface StopLoggingResponse {}
1496
1513
  export interface UpdateChannelRequest {
1497
1514
  Channel: string | undefined;
1498
- Destinations?: Destination[];
1499
- Name?: string;
1515
+ Destinations?: Destination[] | undefined;
1516
+ Name?: string | undefined;
1500
1517
  }
1501
1518
  export interface UpdateChannelResponse {
1502
- ChannelArn?: string;
1503
- Name?: string;
1504
- Source?: string;
1505
- Destinations?: Destination[];
1519
+ ChannelArn?: string | undefined;
1520
+ Name?: string | undefined;
1521
+ Source?: string | undefined;
1522
+ Destinations?: Destination[] | undefined;
1506
1523
  }
1507
1524
  export interface UpdateEventDataStoreRequest {
1508
1525
  EventDataStore: string | undefined;
1509
- Name?: string;
1510
- AdvancedEventSelectors?: AdvancedEventSelector[];
1511
- MultiRegionEnabled?: boolean;
1512
- OrganizationEnabled?: boolean;
1513
- RetentionPeriod?: number;
1514
- TerminationProtectionEnabled?: boolean;
1515
- KmsKeyId?: string;
1516
- BillingMode?: BillingMode;
1526
+ Name?: string | undefined;
1527
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1528
+ MultiRegionEnabled?: boolean | undefined;
1529
+ OrganizationEnabled?: boolean | undefined;
1530
+ RetentionPeriod?: number | undefined;
1531
+ TerminationProtectionEnabled?: boolean | undefined;
1532
+ KmsKeyId?: string | undefined;
1533
+ BillingMode?: BillingMode | undefined;
1517
1534
  }
1518
1535
  export interface UpdateEventDataStoreResponse {
1519
- EventDataStoreArn?: string;
1520
- Name?: string;
1521
- Status?: EventDataStoreStatus;
1522
- AdvancedEventSelectors?: AdvancedEventSelector[];
1523
- MultiRegionEnabled?: boolean;
1524
- OrganizationEnabled?: boolean;
1525
- RetentionPeriod?: number;
1526
- TerminationProtectionEnabled?: boolean;
1527
- CreatedTimestamp?: Date;
1528
- UpdatedTimestamp?: Date;
1529
- KmsKeyId?: string;
1530
- BillingMode?: BillingMode;
1531
- FederationStatus?: FederationStatus;
1532
- FederationRoleArn?: string;
1536
+ EventDataStoreArn?: string | undefined;
1537
+ Name?: string | undefined;
1538
+ Status?: EventDataStoreStatus | undefined;
1539
+ AdvancedEventSelectors?: AdvancedEventSelector[] | undefined;
1540
+ MultiRegionEnabled?: boolean | undefined;
1541
+ OrganizationEnabled?: boolean | undefined;
1542
+ RetentionPeriod?: number | undefined;
1543
+ TerminationProtectionEnabled?: boolean | undefined;
1544
+ CreatedTimestamp?: Date | undefined;
1545
+ UpdatedTimestamp?: Date | undefined;
1546
+ KmsKeyId?: string | undefined;
1547
+ BillingMode?: BillingMode | undefined;
1548
+ FederationStatus?: FederationStatus | undefined;
1549
+ FederationRoleArn?: string | undefined;
1533
1550
  }
1534
1551
  export interface UpdateTrailRequest {
1535
1552
  Name: string | undefined;
1536
- S3BucketName?: string;
1537
- S3KeyPrefix?: string;
1538
- SnsTopicName?: string;
1539
- IncludeGlobalServiceEvents?: boolean;
1540
- IsMultiRegionTrail?: boolean;
1541
- EnableLogFileValidation?: boolean;
1542
- CloudWatchLogsLogGroupArn?: string;
1543
- CloudWatchLogsRoleArn?: string;
1544
- KmsKeyId?: string;
1545
- IsOrganizationTrail?: boolean;
1553
+ S3BucketName?: string | undefined;
1554
+ S3KeyPrefix?: string | undefined;
1555
+ SnsTopicName?: string | undefined;
1556
+ IncludeGlobalServiceEvents?: boolean | undefined;
1557
+ IsMultiRegionTrail?: boolean | undefined;
1558
+ EnableLogFileValidation?: boolean | undefined;
1559
+ CloudWatchLogsLogGroupArn?: string | undefined;
1560
+ CloudWatchLogsRoleArn?: string | undefined;
1561
+ KmsKeyId?: string | undefined;
1562
+ IsOrganizationTrail?: boolean | undefined;
1546
1563
  }
1547
1564
  export interface UpdateTrailResponse {
1548
- Name?: string;
1549
- S3BucketName?: string;
1550
- S3KeyPrefix?: string;
1551
- SnsTopicName?: string;
1552
- SnsTopicARN?: string;
1553
- IncludeGlobalServiceEvents?: boolean;
1554
- IsMultiRegionTrail?: boolean;
1555
- TrailARN?: string;
1556
- LogFileValidationEnabled?: boolean;
1557
- CloudWatchLogsLogGroupArn?: string;
1558
- CloudWatchLogsRoleArn?: string;
1559
- KmsKeyId?: string;
1560
- IsOrganizationTrail?: boolean;
1565
+ Name?: string | undefined;
1566
+ S3BucketName?: string | undefined;
1567
+ S3KeyPrefix?: string | undefined;
1568
+ SnsTopicName?: string | undefined;
1569
+ SnsTopicARN?: string | undefined;
1570
+ IncludeGlobalServiceEvents?: boolean | undefined;
1571
+ IsMultiRegionTrail?: boolean | undefined;
1572
+ TrailARN?: string | undefined;
1573
+ LogFileValidationEnabled?: boolean | undefined;
1574
+ CloudWatchLogsLogGroupArn?: string | undefined;
1575
+ CloudWatchLogsRoleArn?: string | undefined;
1576
+ KmsKeyId?: string | undefined;
1577
+ IsOrganizationTrail?: boolean | undefined;
1561
1578
  }