@aws-sdk/client-cloudtrail 3.45.0 → 3.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/CloudTrail.js +165 -0
  3. package/dist-cjs/commands/CancelQueryCommand.js +36 -0
  4. package/dist-cjs/commands/CreateEventDataStoreCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeQueryCommand.js +36 -0
  7. package/dist-cjs/commands/GetEventDataStoreCommand.js +36 -0
  8. package/dist-cjs/commands/GetQueryResultsCommand.js +36 -0
  9. package/dist-cjs/commands/ListEventDataStoresCommand.js +36 -0
  10. package/dist-cjs/commands/ListQueriesCommand.js +36 -0
  11. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +36 -0
  12. package/dist-cjs/commands/StartQueryCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +36 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/endpoints.js +0 -16
  16. package/dist-cjs/models/models_0.js +158 -252
  17. package/dist-cjs/pagination/GetQueryResultsPaginator.js +34 -0
  18. package/dist-cjs/pagination/ListEventDataStoresPaginator.js +35 -0
  19. package/dist-cjs/pagination/ListQueriesPaginator.js +35 -0
  20. package/dist-cjs/pagination/index.js +3 -0
  21. package/dist-cjs/protocols/Aws_json1_1.js +2319 -389
  22. package/dist-cjs/runtimeConfig.browser.js +7 -2
  23. package/dist-cjs/runtimeConfig.js +9 -3
  24. package/dist-es/CloudTrail.js +165 -0
  25. package/dist-es/commands/CancelQueryCommand.js +39 -0
  26. package/dist-es/commands/CreateEventDataStoreCommand.js +39 -0
  27. package/dist-es/commands/DeleteEventDataStoreCommand.js +39 -0
  28. package/dist-es/commands/DescribeQueryCommand.js +39 -0
  29. package/dist-es/commands/GetEventDataStoreCommand.js +39 -0
  30. package/dist-es/commands/GetQueryResultsCommand.js +39 -0
  31. package/dist-es/commands/ListEventDataStoresCommand.js +39 -0
  32. package/dist-es/commands/ListQueriesCommand.js +39 -0
  33. package/dist-es/commands/RestoreEventDataStoreCommand.js +39 -0
  34. package/dist-es/commands/StartQueryCommand.js +39 -0
  35. package/dist-es/commands/UpdateEventDataStoreCommand.js +39 -0
  36. package/dist-es/commands/index.js +11 -0
  37. package/dist-es/endpoints.js +0 -16
  38. package/dist-es/models/models_0.js +118 -176
  39. package/dist-es/pagination/GetQueryResultsPaginator.js +73 -0
  40. package/dist-es/pagination/ListEventDataStoresPaginator.js +74 -0
  41. package/dist-es/pagination/ListQueriesPaginator.js +74 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_json1_1.js +2669 -704
  44. package/dist-es/runtimeConfig.browser.js +12 -3
  45. package/dist-es/runtimeConfig.js +13 -6
  46. package/dist-types/CloudTrail.d.ts +100 -1
  47. package/dist-types/CloudTrailClient.d.ts +18 -3
  48. package/dist-types/commands/CancelQueryCommand.d.ts +37 -0
  49. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +35 -0
  50. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +41 -0
  51. package/dist-types/commands/DescribeQueryCommand.d.ts +36 -0
  52. package/dist-types/commands/GetEventDataStoreCommand.d.ts +35 -0
  53. package/dist-types/commands/GetQueryResultsCommand.d.ts +36 -0
  54. package/dist-types/commands/ListEventDataStoresCommand.d.ts +35 -0
  55. package/dist-types/commands/ListQueriesCommand.d.ts +39 -0
  56. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +1 -1
  57. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +37 -0
  58. package/dist-types/commands/StartQueryCommand.d.ts +36 -0
  59. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +40 -0
  60. package/dist-types/commands/index.d.ts +11 -0
  61. package/dist-types/models/models_0.d.ts +926 -328
  62. package/dist-types/pagination/GetQueryResultsPaginator.d.ts +4 -0
  63. package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  64. package/dist-types/pagination/ListQueriesPaginator.d.ts +4 -0
  65. package/dist-types/pagination/index.d.ts +3 -0
  66. package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
  67. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  68. package/dist-types/runtimeConfig.d.ts +4 -3
  69. package/dist-types/runtimeConfig.native.d.ts +1 -0
  70. package/dist-types/ts3.4/CloudTrail.d.ts +55 -0
  71. package/dist-types/ts3.4/CloudTrailClient.d.ts +16 -3
  72. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +523 -205
  85. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +33 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  93. package/package.json +39 -46
@@ -15,7 +15,7 @@ export interface AddTagsRequest {
15
15
 
16
16
  ResourceId: string | undefined;
17
17
 
18
- TagsList?: Tag[];
18
+ TagsList: Tag[] | undefined;
19
19
  }
20
20
  export declare namespace AddTagsRequest {
21
21
 
@@ -35,31 +35,40 @@ export interface CloudTrailARNInvalidException extends __SmithyException, $Metad
35
35
 
36
36
  Message?: string;
37
37
  }
38
- export declare namespace CloudTrailARNInvalidException {
38
+
39
+ export interface ConflictException extends __SmithyException, $MetadataBearer {
40
+ name: "ConflictException";
41
+ $fault: "client";
39
42
 
40
- const filterSensitiveLog: (obj: CloudTrailARNInvalidException) => any;
43
+ Message?: string;
41
44
  }
42
45
 
43
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
44
- name: "InvalidTagParameterException";
46
+ export interface EventDataStoreNotFoundException extends __SmithyException, $MetadataBearer {
47
+ name: "EventDataStoreNotFoundException";
45
48
  $fault: "client";
46
49
 
47
50
  Message?: string;
48
51
  }
49
- export declare namespace InvalidTagParameterException {
52
+
53
+ export interface InactiveEventDataStoreException extends __SmithyException, $MetadataBearer {
54
+ name: "InactiveEventDataStoreException";
55
+ $fault: "client";
50
56
 
51
- const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
57
+ Message?: string;
52
58
  }
53
59
 
54
- export interface InvalidTrailNameException extends __SmithyException, $MetadataBearer {
55
- name: "InvalidTrailNameException";
60
+ export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
61
+ name: "InvalidTagParameterException";
56
62
  $fault: "client";
57
63
 
58
64
  Message?: string;
59
65
  }
60
- export declare namespace InvalidTrailNameException {
66
+
67
+ export interface InvalidTrailNameException extends __SmithyException, $MetadataBearer {
68
+ name: "InvalidTrailNameException";
69
+ $fault: "client";
61
70
 
62
- const filterSensitiveLog: (obj: InvalidTrailNameException) => any;
71
+ Message?: string;
63
72
  }
64
73
 
65
74
  export interface NotOrganizationMasterAccountException extends __SmithyException, $MetadataBearer {
@@ -68,10 +77,6 @@ export interface NotOrganizationMasterAccountException extends __SmithyException
68
77
 
69
78
  Message?: string;
70
79
  }
71
- export declare namespace NotOrganizationMasterAccountException {
72
-
73
- const filterSensitiveLog: (obj: NotOrganizationMasterAccountException) => any;
74
- }
75
80
 
76
81
  export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
77
82
  name: "OperationNotPermittedException";
@@ -79,10 +84,6 @@ export interface OperationNotPermittedException extends __SmithyException, $Meta
79
84
 
80
85
  Message?: string;
81
86
  }
82
- export declare namespace OperationNotPermittedException {
83
-
84
- const filterSensitiveLog: (obj: OperationNotPermittedException) => any;
85
- }
86
87
 
87
88
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
88
89
  name: "ResourceNotFoundException";
@@ -90,10 +91,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
90
91
 
91
92
  Message?: string;
92
93
  }
93
- export declare namespace ResourceNotFoundException {
94
-
95
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
96
- }
97
94
 
98
95
  export interface ResourceTypeNotSupportedException extends __SmithyException, $MetadataBearer {
99
96
  name: "ResourceTypeNotSupportedException";
@@ -101,10 +98,6 @@ export interface ResourceTypeNotSupportedException extends __SmithyException, $M
101
98
 
102
99
  Message?: string;
103
100
  }
104
- export declare namespace ResourceTypeNotSupportedException {
105
-
106
- const filterSensitiveLog: (obj: ResourceTypeNotSupportedException) => any;
107
- }
108
101
 
109
102
  export interface TagsLimitExceededException extends __SmithyException, $MetadataBearer {
110
103
  name: "TagsLimitExceededException";
@@ -112,10 +105,6 @@ export interface TagsLimitExceededException extends __SmithyException, $Metadata
112
105
 
113
106
  Message?: string;
114
107
  }
115
- export declare namespace TagsLimitExceededException {
116
-
117
- const filterSensitiveLog: (obj: TagsLimitExceededException) => any;
118
- }
119
108
 
120
109
  export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
121
110
  name: "UnsupportedOperationException";
@@ -123,10 +112,6 @@ export interface UnsupportedOperationException extends __SmithyException, $Metad
123
112
 
124
113
  Message?: string;
125
114
  }
126
- export declare namespace UnsupportedOperationException {
127
-
128
- const filterSensitiveLog: (obj: UnsupportedOperationException) => any;
129
- }
130
115
 
131
116
  export interface AdvancedFieldSelector {
132
117
 
@@ -159,6 +144,61 @@ export declare namespace AdvancedEventSelector {
159
144
 
160
145
  const filterSensitiveLog: (obj: AdvancedEventSelector) => any;
161
146
  }
147
+ export interface CancelQueryRequest {
148
+
149
+ EventDataStore: string | undefined;
150
+
151
+ QueryId: string | undefined;
152
+ }
153
+ export declare namespace CancelQueryRequest {
154
+
155
+ const filterSensitiveLog: (obj: CancelQueryRequest) => any;
156
+ }
157
+ export declare enum QueryStatus {
158
+ CANCELLED = "CANCELLED",
159
+ FAILED = "FAILED",
160
+ FINISHED = "FINISHED",
161
+ QUEUED = "QUEUED",
162
+ RUNNING = "RUNNING"
163
+ }
164
+ export interface CancelQueryResponse {
165
+
166
+ QueryId: string | undefined;
167
+
168
+ QueryStatus: QueryStatus | string | undefined;
169
+ }
170
+ export declare namespace CancelQueryResponse {
171
+
172
+ const filterSensitiveLog: (obj: CancelQueryResponse) => any;
173
+ }
174
+
175
+ export interface EventDataStoreARNInvalidException extends __SmithyException, $MetadataBearer {
176
+ name: "EventDataStoreARNInvalidException";
177
+ $fault: "client";
178
+
179
+ Message?: string;
180
+ }
181
+
182
+ export interface InactiveQueryException extends __SmithyException, $MetadataBearer {
183
+ name: "InactiveQueryException";
184
+ $fault: "client";
185
+
186
+ Message?: string;
187
+ }
188
+
189
+ export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
190
+ name: "InvalidParameterException";
191
+ $fault: "client";
192
+
193
+ Message?: string;
194
+ }
195
+
196
+ export interface QueryIdNotFoundException extends __SmithyException, $MetadataBearer {
197
+ name: "QueryIdNotFoundException";
198
+ $fault: "client";
199
+
200
+ Message?: string;
201
+ }
162
202
 
163
203
  export interface CloudTrailAccessNotEnabledException extends __SmithyException, $MetadataBearer {
164
204
  name: "CloudTrailAccessNotEnabledException";
@@ -166,31 +206,107 @@ export interface CloudTrailAccessNotEnabledException extends __SmithyException,
166
206
 
167
207
  Message?: string;
168
208
  }
169
- export declare namespace CloudTrailAccessNotEnabledException {
209
+ export interface CreateEventDataStoreRequest {
210
+
211
+ Name: string | undefined;
212
+
213
+ AdvancedEventSelectors?: AdvancedEventSelector[];
214
+
215
+ MultiRegionEnabled?: boolean;
216
+
217
+ OrganizationEnabled?: boolean;
218
+
219
+ RetentionPeriod?: number;
220
+
221
+ TerminationProtectionEnabled?: boolean;
222
+
223
+ TagsList?: Tag[];
224
+ }
225
+ export declare namespace CreateEventDataStoreRequest {
226
+
227
+ const filterSensitiveLog: (obj: CreateEventDataStoreRequest) => any;
228
+ }
229
+ export declare enum EventDataStoreStatus {
230
+ CREATED = "CREATED",
231
+ ENABLED = "ENABLED",
232
+ PENDING_DELETION = "PENDING_DELETION"
233
+ }
234
+ export interface CreateEventDataStoreResponse {
235
+
236
+ EventDataStoreArn?: string;
237
+
238
+ Name?: string;
239
+
240
+ Status?: EventDataStoreStatus | string;
241
+
242
+ AdvancedEventSelectors?: AdvancedEventSelector[];
243
+
244
+ MultiRegionEnabled?: boolean;
245
+
246
+ OrganizationEnabled?: boolean;
247
+
248
+ RetentionPeriod?: number;
249
+
250
+ TerminationProtectionEnabled?: boolean;
251
+
252
+ TagsList?: Tag[];
253
+
254
+ CreatedTimestamp?: Date;
255
+
256
+ UpdatedTimestamp?: Date;
257
+ }
258
+ export declare namespace CreateEventDataStoreResponse {
170
259
 
171
- const filterSensitiveLog: (obj: CloudTrailAccessNotEnabledException) => any;
260
+ const filterSensitiveLog: (obj: CreateEventDataStoreResponse) => any;
172
261
  }
173
262
 
174
- export interface CloudTrailInvalidClientTokenIdException extends __SmithyException, $MetadataBearer {
175
- name: "CloudTrailInvalidClientTokenIdException";
263
+ export interface EventDataStoreAlreadyExistsException extends __SmithyException, $MetadataBearer {
264
+ name: "EventDataStoreAlreadyExistsException";
176
265
  $fault: "client";
177
266
 
178
267
  Message?: string;
179
268
  }
180
- export declare namespace CloudTrailInvalidClientTokenIdException {
269
+
270
+ export interface EventDataStoreMaxLimitExceededException extends __SmithyException, $MetadataBearer {
271
+ name: "EventDataStoreMaxLimitExceededException";
272
+ $fault: "client";
181
273
 
182
- const filterSensitiveLog: (obj: CloudTrailInvalidClientTokenIdException) => any;
274
+ Message?: string;
183
275
  }
184
276
 
185
- export interface CloudWatchLogsDeliveryUnavailableException extends __SmithyException, $MetadataBearer {
186
- name: "CloudWatchLogsDeliveryUnavailableException";
277
+ export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
278
+ name: "InsufficientDependencyServiceAccessPermissionException";
279
+ $fault: "client";
280
+
281
+ Message?: string;
282
+ }
283
+
284
+ export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
285
+ name: "OrganizationNotInAllFeaturesModeException";
286
+ $fault: "client";
287
+
288
+ Message?: string;
289
+ }
290
+
291
+ export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
292
+ name: "OrganizationsNotInUseException";
293
+ $fault: "client";
294
+
295
+ Message?: string;
296
+ }
297
+
298
+ export interface CloudTrailInvalidClientTokenIdException extends __SmithyException, $MetadataBearer {
299
+ name: "CloudTrailInvalidClientTokenIdException";
187
300
  $fault: "client";
188
301
 
189
302
  Message?: string;
190
303
  }
191
- export declare namespace CloudWatchLogsDeliveryUnavailableException {
304
+
305
+ export interface CloudWatchLogsDeliveryUnavailableException extends __SmithyException, $MetadataBearer {
306
+ name: "CloudWatchLogsDeliveryUnavailableException";
307
+ $fault: "client";
192
308
 
193
- const filterSensitiveLog: (obj: CloudWatchLogsDeliveryUnavailableException) => any;
309
+ Message?: string;
194
310
  }
195
311
 
196
312
  export interface CreateTrailRequest {
@@ -257,27 +373,12 @@ export declare namespace CreateTrailResponse {
257
373
  const filterSensitiveLog: (obj: CreateTrailResponse) => any;
258
374
  }
259
375
 
260
- export interface InsufficientDependencyServiceAccessPermissionException extends __SmithyException, $MetadataBearer {
261
- name: "InsufficientDependencyServiceAccessPermissionException";
262
- $fault: "client";
263
-
264
- Message?: string;
265
- }
266
- export declare namespace InsufficientDependencyServiceAccessPermissionException {
267
-
268
- const filterSensitiveLog: (obj: InsufficientDependencyServiceAccessPermissionException) => any;
269
- }
270
-
271
376
  export interface InsufficientEncryptionPolicyException extends __SmithyException, $MetadataBearer {
272
377
  name: "InsufficientEncryptionPolicyException";
273
378
  $fault: "client";
274
379
 
275
380
  Message?: string;
276
381
  }
277
- export declare namespace InsufficientEncryptionPolicyException {
278
-
279
- const filterSensitiveLog: (obj: InsufficientEncryptionPolicyException) => any;
280
- }
281
382
 
282
383
  export interface InsufficientS3BucketPolicyException extends __SmithyException, $MetadataBearer {
283
384
  name: "InsufficientS3BucketPolicyException";
@@ -285,10 +386,6 @@ export interface InsufficientS3BucketPolicyException extends __SmithyException,
285
386
 
286
387
  Message?: string;
287
388
  }
288
- export declare namespace InsufficientS3BucketPolicyException {
289
-
290
- const filterSensitiveLog: (obj: InsufficientS3BucketPolicyException) => any;
291
- }
292
389
 
293
390
  export interface InsufficientSnsTopicPolicyException extends __SmithyException, $MetadataBearer {
294
391
  name: "InsufficientSnsTopicPolicyException";
@@ -296,10 +393,6 @@ export interface InsufficientSnsTopicPolicyException extends __SmithyException,
296
393
 
297
394
  Message?: string;
298
395
  }
299
- export declare namespace InsufficientSnsTopicPolicyException {
300
-
301
- const filterSensitiveLog: (obj: InsufficientSnsTopicPolicyException) => any;
302
- }
303
396
 
304
397
  export interface InvalidCloudWatchLogsLogGroupArnException extends __SmithyException, $MetadataBearer {
305
398
  name: "InvalidCloudWatchLogsLogGroupArnException";
@@ -307,10 +400,6 @@ export interface InvalidCloudWatchLogsLogGroupArnException extends __SmithyExcep
307
400
 
308
401
  Message?: string;
309
402
  }
310
- export declare namespace InvalidCloudWatchLogsLogGroupArnException {
311
-
312
- const filterSensitiveLog: (obj: InvalidCloudWatchLogsLogGroupArnException) => any;
313
- }
314
403
 
315
404
  export interface InvalidCloudWatchLogsRoleArnException extends __SmithyException, $MetadataBearer {
316
405
  name: "InvalidCloudWatchLogsRoleArnException";
@@ -318,10 +407,6 @@ export interface InvalidCloudWatchLogsRoleArnException extends __SmithyException
318
407
 
319
408
  Message?: string;
320
409
  }
321
- export declare namespace InvalidCloudWatchLogsRoleArnException {
322
-
323
- const filterSensitiveLog: (obj: InvalidCloudWatchLogsRoleArnException) => any;
324
- }
325
410
 
326
411
  export interface InvalidKmsKeyIdException extends __SmithyException, $MetadataBearer {
327
412
  name: "InvalidKmsKeyIdException";
@@ -329,10 +414,6 @@ export interface InvalidKmsKeyIdException extends __SmithyException, $MetadataBe
329
414
 
330
415
  Message?: string;
331
416
  }
332
- export declare namespace InvalidKmsKeyIdException {
333
-
334
- const filterSensitiveLog: (obj: InvalidKmsKeyIdException) => any;
335
- }
336
417
 
337
418
  export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
338
419
  name: "InvalidParameterCombinationException";
@@ -340,10 +421,6 @@ export interface InvalidParameterCombinationException extends __SmithyException,
340
421
 
341
422
  Message?: string;
342
423
  }
343
- export declare namespace InvalidParameterCombinationException {
344
-
345
- const filterSensitiveLog: (obj: InvalidParameterCombinationException) => any;
346
- }
347
424
 
348
425
  export interface InvalidS3BucketNameException extends __SmithyException, $MetadataBearer {
349
426
  name: "InvalidS3BucketNameException";
@@ -351,10 +428,6 @@ export interface InvalidS3BucketNameException extends __SmithyException, $Metada
351
428
 
352
429
  Message?: string;
353
430
  }
354
- export declare namespace InvalidS3BucketNameException {
355
-
356
- const filterSensitiveLog: (obj: InvalidS3BucketNameException) => any;
357
- }
358
431
 
359
432
  export interface InvalidS3PrefixException extends __SmithyException, $MetadataBearer {
360
433
  name: "InvalidS3PrefixException";
@@ -362,10 +435,6 @@ export interface InvalidS3PrefixException extends __SmithyException, $MetadataBe
362
435
 
363
436
  Message?: string;
364
437
  }
365
- export declare namespace InvalidS3PrefixException {
366
-
367
- const filterSensitiveLog: (obj: InvalidS3PrefixException) => any;
368
- }
369
438
 
370
439
  export interface InvalidSnsTopicNameException extends __SmithyException, $MetadataBearer {
371
440
  name: "InvalidSnsTopicNameException";
@@ -373,10 +442,6 @@ export interface InvalidSnsTopicNameException extends __SmithyException, $Metada
373
442
 
374
443
  Message?: string;
375
444
  }
376
- export declare namespace InvalidSnsTopicNameException {
377
-
378
- const filterSensitiveLog: (obj: InvalidSnsTopicNameException) => any;
379
- }
380
445
 
381
446
  export interface KmsException extends __SmithyException, $MetadataBearer {
382
447
  name: "KmsException";
@@ -384,10 +449,6 @@ export interface KmsException extends __SmithyException, $MetadataBearer {
384
449
 
385
450
  Message?: string;
386
451
  }
387
- export declare namespace KmsException {
388
-
389
- const filterSensitiveLog: (obj: KmsException) => any;
390
- }
391
452
 
392
453
  export interface KmsKeyDisabledException extends __SmithyException, $MetadataBearer {
393
454
  name: "KmsKeyDisabledException";
@@ -395,10 +456,6 @@ export interface KmsKeyDisabledException extends __SmithyException, $MetadataBea
395
456
 
396
457
  Message?: string;
397
458
  }
398
- export declare namespace KmsKeyDisabledException {
399
-
400
- const filterSensitiveLog: (obj: KmsKeyDisabledException) => any;
401
- }
402
459
 
403
460
  export interface KmsKeyNotFoundException extends __SmithyException, $MetadataBearer {
404
461
  name: "KmsKeyNotFoundException";
@@ -406,10 +463,6 @@ export interface KmsKeyNotFoundException extends __SmithyException, $MetadataBea
406
463
 
407
464
  Message?: string;
408
465
  }
409
- export declare namespace KmsKeyNotFoundException {
410
-
411
- const filterSensitiveLog: (obj: KmsKeyNotFoundException) => any;
412
- }
413
466
 
414
467
  export interface MaximumNumberOfTrailsExceededException extends __SmithyException, $MetadataBearer {
415
468
  name: "MaximumNumberOfTrailsExceededException";
@@ -417,32 +470,6 @@ export interface MaximumNumberOfTrailsExceededException extends __SmithyExceptio
417
470
 
418
471
  Message?: string;
419
472
  }
420
- export declare namespace MaximumNumberOfTrailsExceededException {
421
-
422
- const filterSensitiveLog: (obj: MaximumNumberOfTrailsExceededException) => any;
423
- }
424
-
425
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
426
- name: "OrganizationNotInAllFeaturesModeException";
427
- $fault: "client";
428
-
429
- Message?: string;
430
- }
431
- export declare namespace OrganizationNotInAllFeaturesModeException {
432
-
433
- const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
434
- }
435
-
436
- export interface OrganizationsNotInUseException extends __SmithyException, $MetadataBearer {
437
- name: "OrganizationsNotInUseException";
438
- $fault: "client";
439
-
440
- Message?: string;
441
- }
442
- export declare namespace OrganizationsNotInUseException {
443
-
444
- const filterSensitiveLog: (obj: OrganizationsNotInUseException) => any;
445
- }
446
473
 
447
474
  export interface S3BucketDoesNotExistException extends __SmithyException, $MetadataBearer {
448
475
  name: "S3BucketDoesNotExistException";
@@ -450,10 +477,6 @@ export interface S3BucketDoesNotExistException extends __SmithyException, $Metad
450
477
 
451
478
  Message?: string;
452
479
  }
453
- export declare namespace S3BucketDoesNotExistException {
454
-
455
- const filterSensitiveLog: (obj: S3BucketDoesNotExistException) => any;
456
- }
457
480
 
458
481
  export interface TrailAlreadyExistsException extends __SmithyException, $MetadataBearer {
459
482
  name: "TrailAlreadyExistsException";
@@ -461,10 +484,6 @@ export interface TrailAlreadyExistsException extends __SmithyException, $Metadat
461
484
 
462
485
  Message?: string;
463
486
  }
464
- export declare namespace TrailAlreadyExistsException {
465
-
466
- const filterSensitiveLog: (obj: TrailAlreadyExistsException) => any;
467
- }
468
487
 
469
488
  export interface TrailNotProvidedException extends __SmithyException, $MetadataBearer {
470
489
  name: "TrailNotProvidedException";
@@ -472,21 +491,27 @@ export interface TrailNotProvidedException extends __SmithyException, $MetadataB
472
491
 
473
492
  Message?: string;
474
493
  }
475
- export declare namespace TrailNotProvidedException {
494
+ export interface DeleteEventDataStoreRequest {
495
+
496
+ EventDataStore: string | undefined;
497
+ }
498
+ export declare namespace DeleteEventDataStoreRequest {
499
+
500
+ const filterSensitiveLog: (obj: DeleteEventDataStoreRequest) => any;
501
+ }
502
+ export interface DeleteEventDataStoreResponse {
503
+ }
504
+ export declare namespace DeleteEventDataStoreResponse {
476
505
 
477
- const filterSensitiveLog: (obj: TrailNotProvidedException) => any;
506
+ const filterSensitiveLog: (obj: DeleteEventDataStoreResponse) => any;
478
507
  }
479
508
 
480
- export interface ConflictException extends __SmithyException, $MetadataBearer {
481
- name: "ConflictException";
509
+ export interface EventDataStoreTerminationProtectedException extends __SmithyException, $MetadataBearer {
510
+ name: "EventDataStoreTerminationProtectedException";
482
511
  $fault: "client";
483
512
 
484
513
  Message?: string;
485
514
  }
486
- export declare namespace ConflictException {
487
-
488
- const filterSensitiveLog: (obj: ConflictException) => any;
489
- }
490
515
 
491
516
  export interface DeleteTrailRequest {
492
517
 
@@ -510,10 +535,6 @@ export interface InvalidHomeRegionException extends __SmithyException, $Metadata
510
535
 
511
536
  Message?: string;
512
537
  }
513
- export declare namespace InvalidHomeRegionException {
514
-
515
- const filterSensitiveLog: (obj: InvalidHomeRegionException) => any;
516
- }
517
538
 
518
539
  export interface TrailNotFoundException extends __SmithyException, $MetadataBearer {
519
540
  name: "TrailNotFoundException";
@@ -521,9 +542,46 @@ export interface TrailNotFoundException extends __SmithyException, $MetadataBear
521
542
 
522
543
  Message?: string;
523
544
  }
524
- export declare namespace TrailNotFoundException {
545
+ export interface DescribeQueryRequest {
546
+
547
+ EventDataStore: string | undefined;
548
+
549
+ QueryId: string | undefined;
550
+ }
551
+ export declare namespace DescribeQueryRequest {
525
552
 
526
- const filterSensitiveLog: (obj: TrailNotFoundException) => any;
553
+ const filterSensitiveLog: (obj: DescribeQueryRequest) => any;
554
+ }
555
+
556
+ export interface QueryStatisticsForDescribeQuery {
557
+
558
+ EventsMatched?: number;
559
+
560
+ EventsScanned?: number;
561
+
562
+ ExecutionTimeInMillis?: number;
563
+
564
+ CreationTime?: Date;
565
+ }
566
+ export declare namespace QueryStatisticsForDescribeQuery {
567
+
568
+ const filterSensitiveLog: (obj: QueryStatisticsForDescribeQuery) => any;
569
+ }
570
+ export interface DescribeQueryResponse {
571
+
572
+ QueryId?: string;
573
+
574
+ QueryString?: string;
575
+
576
+ QueryStatus?: QueryStatus | string;
577
+
578
+ QueryStatistics?: QueryStatisticsForDescribeQuery;
579
+
580
+ ErrorMessage?: string;
581
+ }
582
+ export declare namespace DescribeQueryResponse {
583
+
584
+ const filterSensitiveLog: (obj: DescribeQueryResponse) => any;
527
585
  }
528
586
 
529
587
  export interface DescribeTrailsRequest {
@@ -584,6 +642,40 @@ export declare namespace DescribeTrailsResponse {
584
642
 
585
643
  const filterSensitiveLog: (obj: DescribeTrailsResponse) => any;
586
644
  }
645
+ export interface GetEventDataStoreRequest {
646
+
647
+ EventDataStore: string | undefined;
648
+ }
649
+ export declare namespace GetEventDataStoreRequest {
650
+
651
+ const filterSensitiveLog: (obj: GetEventDataStoreRequest) => any;
652
+ }
653
+ export interface GetEventDataStoreResponse {
654
+
655
+ EventDataStoreArn?: string;
656
+
657
+ Name?: string;
658
+
659
+ Status?: EventDataStoreStatus | string;
660
+
661
+ AdvancedEventSelectors?: AdvancedEventSelector[];
662
+
663
+ MultiRegionEnabled?: boolean;
664
+
665
+ OrganizationEnabled?: boolean;
666
+
667
+ RetentionPeriod?: number;
668
+
669
+ TerminationProtectionEnabled?: boolean;
670
+
671
+ CreatedTimestamp?: Date;
672
+
673
+ UpdatedTimestamp?: Date;
674
+ }
675
+ export declare namespace GetEventDataStoreResponse {
676
+
677
+ const filterSensitiveLog: (obj: GetEventDataStoreResponse) => any;
678
+ }
587
679
  export interface GetEventSelectorsRequest {
588
680
 
589
681
  TrailName: string | undefined;
@@ -673,9 +765,62 @@ export interface InsightNotEnabledException extends __SmithyException, $Metadata
673
765
 
674
766
  Message?: string;
675
767
  }
676
- export declare namespace InsightNotEnabledException {
768
+ export interface GetQueryResultsRequest {
769
+
770
+ EventDataStore: string | undefined;
771
+
772
+ QueryId: string | undefined;
773
+
774
+ NextToken?: string;
775
+
776
+ MaxQueryResults?: number;
777
+ }
778
+ export declare namespace GetQueryResultsRequest {
677
779
 
678
- const filterSensitiveLog: (obj: InsightNotEnabledException) => any;
780
+ const filterSensitiveLog: (obj: GetQueryResultsRequest) => any;
781
+ }
782
+
783
+ export interface QueryStatistics {
784
+
785
+ ResultsCount?: number;
786
+
787
+ TotalResultsCount?: number;
788
+ }
789
+ export declare namespace QueryStatistics {
790
+
791
+ const filterSensitiveLog: (obj: QueryStatistics) => any;
792
+ }
793
+ export interface GetQueryResultsResponse {
794
+
795
+ QueryStatus?: QueryStatus | string;
796
+
797
+ QueryStatistics?: QueryStatistics;
798
+
799
+ QueryResultRows?: {
800
+ [key: string]: string;
801
+ }[][];
802
+
803
+ NextToken?: string;
804
+
805
+ ErrorMessage?: string;
806
+ }
807
+ export declare namespace GetQueryResultsResponse {
808
+
809
+ const filterSensitiveLog: (obj: GetQueryResultsResponse) => any;
810
+ }
811
+
812
+ export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
813
+ name: "InvalidMaxResultsException";
814
+ $fault: "client";
815
+
816
+ Message?: string;
817
+ }
818
+
819
+ export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
820
+ name: "InvalidNextTokenException";
821
+ $fault: "client";
822
+
823
+ Message?: string;
679
824
  }
680
825
  export interface GetTrailRequest {
681
826
 
@@ -743,6 +888,53 @@ export declare namespace GetTrailStatusResponse {
743
888
 
744
889
  const filterSensitiveLog: (obj: GetTrailStatusResponse) => any;
745
890
  }
891
+ export interface ListEventDataStoresRequest {
892
+
893
+ NextToken?: string;
894
+
895
+ MaxResults?: number;
896
+ }
897
+ export declare namespace ListEventDataStoresRequest {
898
+
899
+ const filterSensitiveLog: (obj: ListEventDataStoresRequest) => any;
900
+ }
901
+
902
+ export interface EventDataStore {
903
+
904
+ EventDataStoreArn?: string;
905
+
906
+ Name?: string;
907
+
908
+ TerminationProtectionEnabled?: boolean;
909
+
910
+ Status?: EventDataStoreStatus | string;
911
+
912
+ AdvancedEventSelectors?: AdvancedEventSelector[];
913
+
914
+ MultiRegionEnabled?: boolean;
915
+
916
+ OrganizationEnabled?: boolean;
917
+
918
+ RetentionPeriod?: number;
919
+
920
+ CreatedTimestamp?: Date;
921
+
922
+ UpdatedTimestamp?: Date;
923
+ }
924
+ export declare namespace EventDataStore {
925
+
926
+ const filterSensitiveLog: (obj: EventDataStore) => any;
927
+ }
928
+ export interface ListEventDataStoresResponse {
929
+
930
+ EventDataStores?: EventDataStore[];
931
+
932
+ NextToken?: string;
933
+ }
934
+ export declare namespace ListEventDataStoresResponse {
935
+
936
+ const filterSensitiveLog: (obj: ListEventDataStoresResponse) => any;
937
+ }
746
938
 
747
939
  export interface InvalidTimeRangeException extends __SmithyException, $MetadataBearer {
748
940
  name: "InvalidTimeRangeException";
@@ -750,10 +942,6 @@ export interface InvalidTimeRangeException extends __SmithyException, $MetadataB
750
942
 
751
943
  Message?: string;
752
944
  }
753
- export declare namespace InvalidTimeRangeException {
754
-
755
- const filterSensitiveLog: (obj: InvalidTimeRangeException) => any;
756
- }
757
945
 
758
946
  export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
759
947
  name: "InvalidTokenException";
@@ -761,10 +949,6 @@ export interface InvalidTokenException extends __SmithyException, $MetadataBeare
761
949
 
762
950
  Message?: string;
763
951
  }
764
- export declare namespace InvalidTokenException {
765
-
766
- const filterSensitiveLog: (obj: InvalidTokenException) => any;
767
- }
768
952
 
769
953
  export interface ListPublicKeysRequest {
770
954
 
@@ -805,6 +989,61 @@ export declare namespace ListPublicKeysResponse {
805
989
  const filterSensitiveLog: (obj: ListPublicKeysResponse) => any;
806
990
  }
807
991
 
992
+ export interface InvalidDateRangeException extends __SmithyException, $MetadataBearer {
993
+ name: "InvalidDateRangeException";
994
+ $fault: "client";
995
+
996
+ Message?: string;
997
+ }
998
+
999
+ export interface InvalidQueryStatusException extends __SmithyException, $MetadataBearer {
1000
+ name: "InvalidQueryStatusException";
1001
+ $fault: "client";
1002
+
1003
+ Message?: string;
1004
+ }
1005
+ export interface ListQueriesRequest {
1006
+
1007
+ EventDataStore: string | undefined;
1008
+
1009
+ NextToken?: string;
1010
+
1011
+ MaxResults?: number;
1012
+
1013
+ StartTime?: Date;
1014
+
1015
+ EndTime?: Date;
1016
+
1017
+ QueryStatus?: QueryStatus | string;
1018
+ }
1019
+ export declare namespace ListQueriesRequest {
1020
+
1021
+ const filterSensitiveLog: (obj: ListQueriesRequest) => any;
1022
+ }
1023
+
1024
+ export interface Query {
1025
+
1026
+ QueryId?: string;
1027
+
1028
+ QueryStatus?: QueryStatus | string;
1029
+
1030
+ CreationTime?: Date;
1031
+ }
1032
+ export declare namespace Query {
1033
+
1034
+ const filterSensitiveLog: (obj: Query) => any;
1035
+ }
1036
+ export interface ListQueriesResponse {
1037
+
1038
+ Queries?: Query[];
1039
+
1040
+ NextToken?: string;
1041
+ }
1042
+ export declare namespace ListQueriesResponse {
1043
+
1044
+ const filterSensitiveLog: (obj: ListQueriesResponse) => any;
1045
+ }
1046
+
808
1047
  export interface ListTagsRequest {
809
1048
 
810
1049
  ResourceIdList: string[] | undefined;
@@ -875,10 +1114,6 @@ export interface InvalidEventCategoryException extends __SmithyException, $Metad
875
1114
 
876
1115
  Message?: string;
877
1116
  }
878
- export declare namespace InvalidEventCategoryException {
879
-
880
- const filterSensitiveLog: (obj: InvalidEventCategoryException) => any;
881
- }
882
1117
 
883
1118
  export interface InvalidLookupAttributesException extends __SmithyException, $MetadataBearer {
884
1119
  name: "InvalidLookupAttributesException";
@@ -886,32 +1121,6 @@ export interface InvalidLookupAttributesException extends __SmithyException, $Me
886
1121
 
887
1122
  Message?: string;
888
1123
  }
889
- export declare namespace InvalidLookupAttributesException {
890
-
891
- const filterSensitiveLog: (obj: InvalidLookupAttributesException) => any;
892
- }
893
-
894
- export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
895
- name: "InvalidMaxResultsException";
896
- $fault: "client";
897
-
898
- Message?: string;
899
- }
900
- export declare namespace InvalidMaxResultsException {
901
-
902
- const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
903
- }
904
-
905
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
906
- name: "InvalidNextTokenException";
907
- $fault: "client";
908
-
909
- Message?: string;
910
- }
911
- export declare namespace InvalidNextTokenException {
912
-
913
- const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
914
- }
915
1124
  export declare enum EventCategory {
916
1125
  Insight = "insight"
917
1126
  }
@@ -1009,10 +1218,6 @@ export interface InvalidEventSelectorsException extends __SmithyException, $Meta
1009
1218
 
1010
1219
  Message?: string;
1011
1220
  }
1012
- export declare namespace InvalidEventSelectorsException {
1013
-
1014
- const filterSensitiveLog: (obj: InvalidEventSelectorsException) => any;
1015
- }
1016
1221
  export interface PutEventSelectorsRequest {
1017
1222
 
1018
1223
  TrailName: string | undefined;
@@ -1044,10 +1249,6 @@ export interface InvalidInsightSelectorsException extends __SmithyException, $Me
1044
1249
 
1045
1250
  Message?: string;
1046
1251
  }
1047
- export declare namespace InvalidInsightSelectorsException {
1048
-
1049
- const filterSensitiveLog: (obj: InvalidInsightSelectorsException) => any;
1050
- }
1051
1252
  export interface PutInsightSelectorsRequest {
1052
1253
 
1053
1254
  TrailName: string | undefined;
@@ -1073,7 +1274,7 @@ export interface RemoveTagsRequest {
1073
1274
 
1074
1275
  ResourceId: string | undefined;
1075
1276
 
1076
- TagsList?: Tag[];
1277
+ TagsList: Tag[] | undefined;
1077
1278
  }
1078
1279
  export declare namespace RemoveTagsRequest {
1079
1280
 
@@ -1087,6 +1288,47 @@ export declare namespace RemoveTagsResponse {
1087
1288
  const filterSensitiveLog: (obj: RemoveTagsResponse) => any;
1088
1289
  }
1089
1290
 
1291
+ export interface InvalidEventDataStoreStatusException extends __SmithyException, $MetadataBearer {
1292
+ name: "InvalidEventDataStoreStatusException";
1293
+ $fault: "client";
1294
+
1295
+ Message?: string;
1296
+ }
1297
+ export interface RestoreEventDataStoreRequest {
1298
+
1299
+ EventDataStore: string | undefined;
1300
+ }
1301
+ export declare namespace RestoreEventDataStoreRequest {
1302
+
1303
+ const filterSensitiveLog: (obj: RestoreEventDataStoreRequest) => any;
1304
+ }
1305
+ export interface RestoreEventDataStoreResponse {
1306
+
1307
+ EventDataStoreArn?: string;
1308
+
1309
+ Name?: string;
1310
+
1311
+ Status?: EventDataStoreStatus | string;
1312
+
1313
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1314
+
1315
+ MultiRegionEnabled?: boolean;
1316
+
1317
+ OrganizationEnabled?: boolean;
1318
+
1319
+ RetentionPeriod?: number;
1320
+
1321
+ TerminationProtectionEnabled?: boolean;
1322
+
1323
+ CreatedTimestamp?: Date;
1324
+
1325
+ UpdatedTimestamp?: Date;
1326
+ }
1327
+ export declare namespace RestoreEventDataStoreResponse {
1328
+
1329
+ const filterSensitiveLog: (obj: RestoreEventDataStoreResponse) => any;
1330
+ }
1331
+
1090
1332
  export interface StartLoggingRequest {
1091
1333
 
1092
1334
  Name: string | undefined;
@@ -1103,6 +1345,36 @@ export declare namespace StartLoggingResponse {
1103
1345
  const filterSensitiveLog: (obj: StartLoggingResponse) => any;
1104
1346
  }
1105
1347
 
1348
+ export interface InvalidQueryStatementException extends __SmithyException, $MetadataBearer {
1349
+ name: "InvalidQueryStatementException";
1350
+ $fault: "client";
1351
+
1352
+ Message?: string;
1353
+ }
1354
+
1355
+ export interface MaxConcurrentQueriesException extends __SmithyException, $MetadataBearer {
1356
+ name: "MaxConcurrentQueriesException";
1357
+ $fault: "client";
1358
+
1359
+ Message?: string;
1360
+ }
1361
+ export interface StartQueryRequest {
1362
+
1363
+ QueryStatement: string | undefined;
1364
+ }
1365
+ export declare namespace StartQueryRequest {
1366
+
1367
+ const filterSensitiveLog: (obj: StartQueryRequest) => any;
1368
+ }
1369
+ export interface StartQueryResponse {
1370
+
1371
+ QueryId?: string;
1372
+ }
1373
+ export declare namespace StartQueryResponse {
1374
+
1375
+ const filterSensitiveLog: (obj: StartQueryResponse) => any;
1376
+ }
1377
+
1106
1378
  export interface StopLoggingRequest {
1107
1379
 
1108
1380
  Name: string | undefined;
@@ -1118,6 +1390,52 @@ export declare namespace StopLoggingResponse {
1118
1390
 
1119
1391
  const filterSensitiveLog: (obj: StopLoggingResponse) => any;
1120
1392
  }
1393
+ export interface UpdateEventDataStoreRequest {
1394
+
1395
+ EventDataStore: string | undefined;
1396
+
1397
+ Name?: string;
1398
+
1399
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1400
+
1401
+ MultiRegionEnabled?: boolean;
1402
+
1403
+ OrganizationEnabled?: boolean;
1404
+
1405
+ RetentionPeriod?: number;
1406
+
1407
+ TerminationProtectionEnabled?: boolean;
1408
+ }
1409
+ export declare namespace UpdateEventDataStoreRequest {
1410
+
1411
+ const filterSensitiveLog: (obj: UpdateEventDataStoreRequest) => any;
1412
+ }
1413
+ export interface UpdateEventDataStoreResponse {
1414
+
1415
+ EventDataStoreArn?: string;
1416
+
1417
+ Name?: string;
1418
+
1419
+ Status?: EventDataStoreStatus | string;
1420
+
1421
+ AdvancedEventSelectors?: AdvancedEventSelector[];
1422
+
1423
+ MultiRegionEnabled?: boolean;
1424
+
1425
+ OrganizationEnabled?: boolean;
1426
+
1427
+ RetentionPeriod?: number;
1428
+
1429
+ TerminationProtectionEnabled?: boolean;
1430
+
1431
+ CreatedTimestamp?: Date;
1432
+
1433
+ UpdatedTimestamp?: Date;
1434
+ }
1435
+ export declare namespace UpdateEventDataStoreResponse {
1436
+
1437
+ const filterSensitiveLog: (obj: UpdateEventDataStoreResponse) => any;
1438
+ }
1121
1439
 
1122
1440
  export interface UpdateTrailRequest {
1123
1441