@aws-sdk/client-cloudtrail 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +183 -127
  3. package/dist-es/CloudTrail.js +2 -0
  4. package/dist-es/commands/ListInsightsDataCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +2 -1
  7. package/dist-es/models/enums.js +118 -0
  8. package/dist-es/models/errors.js +1205 -0
  9. package/dist-es/models/models_0.js +1 -1311
  10. package/dist-es/pagination/ListInsightsDataPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +33 -8
  13. package/dist-types/CloudTrail.d.ts +7 -0
  14. package/dist-types/CloudTrailClient.d.ts +3 -2
  15. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -0
  16. package/dist-types/commands/DeleteTrailCommand.d.ts +12 -0
  17. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +5 -2
  18. package/dist-types/commands/ListInsightsDataCommand.d.ts +126 -0
  19. package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +35 -1
  20. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +26 -2
  21. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/index.d.ts +3 -1
  24. package/dist-types/models/enums.d.ts +294 -0
  25. package/dist-types/models/errors.d.ts +1615 -0
  26. package/dist-types/models/models_0.d.ts +239 -2023
  27. package/dist-types/pagination/ListInsightsDataPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +5 -0
  30. package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
  31. package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/ListInsightsDataCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/index.d.ts +3 -1
  35. package/dist-types/ts3.4/models/enums.d.ts +153 -0
  36. package/dist-types/ts3.4/models/errors.d.ts +794 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +57 -944
  38. package/dist-types/ts3.4/pagination/ListInsightsDataPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  41. package/package.json +12 -12
  42. package/dist-es/models/index.js +0 -1
  43. package/dist-types/models/index.d.ts +0 -1
  44. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,1615 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
3
+ /**
4
+ * <p>
5
+ * You do not have sufficient access to perform this action.
6
+ * </p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>Brief description of the exception returned by the request.</p>
14
+ * @public
15
+ */
16
+ Message?: string | undefined;
17
+ /**
18
+ * @internal
19
+ */
20
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
21
+ }
22
+ /**
23
+ * <p> This exception is thrown when you start a new import and a previous import is still in
24
+ * progress. </p>
25
+ * @public
26
+ */
27
+ export declare class AccountHasOngoingImportException extends __BaseException {
28
+ readonly name: "AccountHasOngoingImportException";
29
+ readonly $fault: "client";
30
+ /**
31
+ * <p>Brief description of the exception returned by the request.</p>
32
+ * @public
33
+ */
34
+ Message?: string | undefined;
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<AccountHasOngoingImportException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>This exception is thrown when the specified account is not found or not part of an
42
+ * organization.</p>
43
+ * @public
44
+ */
45
+ export declare class AccountNotFoundException extends __BaseException {
46
+ readonly name: "AccountNotFoundException";
47
+ readonly $fault: "client";
48
+ /**
49
+ * <p>Brief description of the exception returned by the request.</p>
50
+ * @public
51
+ */
52
+ Message?: string | undefined;
53
+ /**
54
+ * @internal
55
+ */
56
+ constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
57
+ }
58
+ /**
59
+ * <p>This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.</p>
60
+ * @public
61
+ */
62
+ export declare class AccountNotRegisteredException extends __BaseException {
63
+ readonly name: "AccountNotRegisteredException";
64
+ readonly $fault: "client";
65
+ /**
66
+ * <p>Brief description of the exception returned by the request.</p>
67
+ * @public
68
+ */
69
+ Message?: string | undefined;
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>This exception is thrown when the account is already registered as the CloudTrail
77
+ * delegated administrator.</p>
78
+ * @public
79
+ */
80
+ export declare class AccountRegisteredException extends __BaseException {
81
+ readonly name: "AccountRegisteredException";
82
+ readonly $fault: "client";
83
+ /**
84
+ * <p>Brief description of the exception returned by the request.</p>
85
+ * @public
86
+ */
87
+ Message?: string | undefined;
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<AccountRegisteredException, __BaseException>);
92
+ }
93
+ /**
94
+ * <p>This exception is thrown when the specified value of <code>ChannelARN</code> is not
95
+ * valid.</p>
96
+ * @public
97
+ */
98
+ export declare class ChannelARNInvalidException extends __BaseException {
99
+ readonly name: "ChannelARNInvalidException";
100
+ readonly $fault: "client";
101
+ /**
102
+ * <p>Brief description of the exception returned by the request.</p>
103
+ * @public
104
+ */
105
+ Message?: string | undefined;
106
+ /**
107
+ * @internal
108
+ */
109
+ constructor(opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>);
110
+ }
111
+ /**
112
+ * <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
113
+ * @public
114
+ */
115
+ export declare class ChannelNotFoundException extends __BaseException {
116
+ readonly name: "ChannelNotFoundException";
117
+ readonly $fault: "client";
118
+ /**
119
+ * <p>Brief description of the exception returned by the request.</p>
120
+ * @public
121
+ */
122
+ Message?: string | undefined;
123
+ /**
124
+ * @internal
125
+ */
126
+ constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
127
+ }
128
+ /**
129
+ * <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
130
+ * <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
131
+ * </p>
132
+ * <p>The following is the format of an event data store ARN:
133
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
134
+ * </p>
135
+ * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
136
+ * </p>
137
+ * <p>The following is the format of a channel ARN:
138
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
139
+ * </p>
140
+ * @public
141
+ */
142
+ export declare class CloudTrailARNInvalidException extends __BaseException {
143
+ readonly name: "CloudTrailARNInvalidException";
144
+ readonly $fault: "client";
145
+ /**
146
+ * <p>Brief description of the exception returned by the request.</p>
147
+ * @public
148
+ */
149
+ Message?: string | undefined;
150
+ /**
151
+ * @internal
152
+ */
153
+ constructor(opts: __ExceptionOptionType<CloudTrailARNInvalidException, __BaseException>);
154
+ }
155
+ /**
156
+ * <p>This exception is thrown when the specified resource is not ready for an operation. This
157
+ * can occur when you try to run an operation on a resource before CloudTrail has time
158
+ * to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
159
+ * operation again.</p>
160
+ * @public
161
+ */
162
+ export declare class ConflictException extends __BaseException {
163
+ readonly name: "ConflictException";
164
+ readonly $fault: "client";
165
+ /**
166
+ * <p>Brief description of the exception returned by the request.</p>
167
+ * @public
168
+ */
169
+ Message?: string | undefined;
170
+ /**
171
+ * @internal
172
+ */
173
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
174
+ }
175
+ /**
176
+ * <p>The specified event data store ARN is not valid or does not map to an event data store
177
+ * in your account.</p>
178
+ * @public
179
+ */
180
+ export declare class EventDataStoreARNInvalidException extends __BaseException {
181
+ readonly name: "EventDataStoreARNInvalidException";
182
+ readonly $fault: "client";
183
+ /**
184
+ * <p>Brief description of the exception returned by the request.</p>
185
+ * @public
186
+ */
187
+ Message?: string | undefined;
188
+ /**
189
+ * @internal
190
+ */
191
+ constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
192
+ }
193
+ /**
194
+ * <p>The specified event data store was not found.</p>
195
+ * @public
196
+ */
197
+ export declare class EventDataStoreNotFoundException extends __BaseException {
198
+ readonly name: "EventDataStoreNotFoundException";
199
+ readonly $fault: "client";
200
+ /**
201
+ * <p>Brief description of the exception returned by the request.</p>
202
+ * @public
203
+ */
204
+ Message?: string | undefined;
205
+ /**
206
+ * @internal
207
+ */
208
+ constructor(opts: __ExceptionOptionType<EventDataStoreNotFoundException, __BaseException>);
209
+ }
210
+ /**
211
+ * <p>The event data store is inactive.</p>
212
+ * @public
213
+ */
214
+ export declare class InactiveEventDataStoreException extends __BaseException {
215
+ readonly name: "InactiveEventDataStoreException";
216
+ readonly $fault: "client";
217
+ /**
218
+ * <p>Brief description of the exception returned by the request.</p>
219
+ * @public
220
+ */
221
+ Message?: string | undefined;
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts: __ExceptionOptionType<InactiveEventDataStoreException, __BaseException>);
226
+ }
227
+ /**
228
+ * <p>This exception is thrown when the specified tag key or values are not valid. It can also
229
+ * occur if there are duplicate tags or too many tags on the resource.</p>
230
+ * @public
231
+ */
232
+ export declare class InvalidTagParameterException extends __BaseException {
233
+ readonly name: "InvalidTagParameterException";
234
+ readonly $fault: "client";
235
+ /**
236
+ * <p>Brief description of the exception returned by the request.</p>
237
+ * @public
238
+ */
239
+ Message?: string | undefined;
240
+ /**
241
+ * @internal
242
+ */
243
+ constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
244
+ }
245
+ /**
246
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
247
+ * meet the following requirements:</p>
248
+ * <ul>
249
+ * <li>
250
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
251
+ * (_), or dashes (-)</p>
252
+ * </li>
253
+ * <li>
254
+ * <p>Start with a letter or number, and end with a letter or number</p>
255
+ * </li>
256
+ * <li>
257
+ * <p>Be between 3 and 128 characters</p>
258
+ * </li>
259
+ * <li>
260
+ * <p>Have no adjacent periods, underscores or dashes. Names like
261
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
262
+ * </li>
263
+ * <li>
264
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
265
+ * </li>
266
+ * </ul>
267
+ * @public
268
+ */
269
+ export declare class InvalidTrailNameException extends __BaseException {
270
+ readonly name: "InvalidTrailNameException";
271
+ readonly $fault: "client";
272
+ /**
273
+ * <p>Brief description of the exception returned by the request.</p>
274
+ * @public
275
+ */
276
+ Message?: string | undefined;
277
+ /**
278
+ * @internal
279
+ */
280
+ constructor(opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>);
281
+ }
282
+ /**
283
+ * <p> This exception is thrown when the management account does not have a service-linked
284
+ * role. </p>
285
+ * @public
286
+ */
287
+ export declare class NoManagementAccountSLRExistsException extends __BaseException {
288
+ readonly name: "NoManagementAccountSLRExistsException";
289
+ readonly $fault: "client";
290
+ /**
291
+ * <p>Brief description of the exception returned by the request.</p>
292
+ * @public
293
+ */
294
+ Message?: string | undefined;
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts: __ExceptionOptionType<NoManagementAccountSLRExistsException, __BaseException>);
299
+ }
300
+ /**
301
+ * <p>This exception is thrown when the Amazon Web Services account making the request to
302
+ * create or update an organization trail or event data store is not the management account
303
+ * for an organization in Organizations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html">Organization event data stores</a>.</p>
304
+ * @public
305
+ */
306
+ export declare class NotOrganizationMasterAccountException extends __BaseException {
307
+ readonly name: "NotOrganizationMasterAccountException";
308
+ readonly $fault: "client";
309
+ /**
310
+ * <p>Brief description of the exception returned by the request.</p>
311
+ * @public
312
+ */
313
+ Message?: string | undefined;
314
+ /**
315
+ * @internal
316
+ */
317
+ constructor(opts: __ExceptionOptionType<NotOrganizationMasterAccountException, __BaseException>);
318
+ }
319
+ /**
320
+ * <p>This exception is thrown when the requested operation is not permitted.</p>
321
+ * @public
322
+ */
323
+ export declare class OperationNotPermittedException extends __BaseException {
324
+ readonly name: "OperationNotPermittedException";
325
+ readonly $fault: "client";
326
+ /**
327
+ * <p>Brief description of the exception returned by the request.</p>
328
+ * @public
329
+ */
330
+ Message?: string | undefined;
331
+ /**
332
+ * @internal
333
+ */
334
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
335
+ }
336
+ /**
337
+ * <p>This exception is thrown when the specified resource is not found.</p>
338
+ * @public
339
+ */
340
+ export declare class ResourceNotFoundException extends __BaseException {
341
+ readonly name: "ResourceNotFoundException";
342
+ readonly $fault: "client";
343
+ /**
344
+ * <p>Brief description of the exception returned by the request.</p>
345
+ * @public
346
+ */
347
+ Message?: string | undefined;
348
+ /**
349
+ * @internal
350
+ */
351
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
352
+ }
353
+ /**
354
+ * <p>This exception is thrown when the specified resource type is not supported by CloudTrail.</p>
355
+ * @public
356
+ */
357
+ export declare class ResourceTypeNotSupportedException extends __BaseException {
358
+ readonly name: "ResourceTypeNotSupportedException";
359
+ readonly $fault: "client";
360
+ /**
361
+ * <p>Brief description of the exception returned by the request.</p>
362
+ * @public
363
+ */
364
+ Message?: string | undefined;
365
+ /**
366
+ * @internal
367
+ */
368
+ constructor(opts: __ExceptionOptionType<ResourceTypeNotSupportedException, __BaseException>);
369
+ }
370
+ /**
371
+ * <p>The number of tags per trail, event data store, dashboard, or channel has exceeded the permitted amount. Currently, the limit is
372
+ * 50.</p>
373
+ * @public
374
+ */
375
+ export declare class TagsLimitExceededException extends __BaseException {
376
+ readonly name: "TagsLimitExceededException";
377
+ readonly $fault: "client";
378
+ /**
379
+ * <p>Brief description of the exception returned by the request.</p>
380
+ * @public
381
+ */
382
+ Message?: string | undefined;
383
+ /**
384
+ * @internal
385
+ */
386
+ constructor(opts: __ExceptionOptionType<TagsLimitExceededException, __BaseException>);
387
+ }
388
+ /**
389
+ * <p>This exception is thrown when the requested operation is not supported.</p>
390
+ * @public
391
+ */
392
+ export declare class UnsupportedOperationException extends __BaseException {
393
+ readonly name: "UnsupportedOperationException";
394
+ readonly $fault: "client";
395
+ /**
396
+ * <p>Brief description of the exception returned by the request.</p>
397
+ * @public
398
+ */
399
+ Message?: string | undefined;
400
+ /**
401
+ * @internal
402
+ */
403
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
404
+ }
405
+ /**
406
+ * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>,
407
+ * <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code> state.</p>
408
+ * @public
409
+ */
410
+ export declare class InactiveQueryException extends __BaseException {
411
+ readonly name: "InactiveQueryException";
412
+ readonly $fault: "client";
413
+ /**
414
+ * <p>Brief description of the exception returned by the request.</p>
415
+ * @public
416
+ */
417
+ Message?: string | undefined;
418
+ /**
419
+ * @internal
420
+ */
421
+ constructor(opts: __ExceptionOptionType<InactiveQueryException, __BaseException>);
422
+ }
423
+ /**
424
+ * <p>The request includes a parameter that is not valid.</p>
425
+ * @public
426
+ */
427
+ export declare class InvalidParameterException extends __BaseException {
428
+ readonly name: "InvalidParameterException";
429
+ readonly $fault: "client";
430
+ /**
431
+ * <p>Brief description of the exception returned by the request.</p>
432
+ * @public
433
+ */
434
+ Message?: string | undefined;
435
+ /**
436
+ * @internal
437
+ */
438
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
439
+ }
440
+ /**
441
+ * <p>The query ID does not exist or does not map to a query.</p>
442
+ * @public
443
+ */
444
+ export declare class QueryIdNotFoundException extends __BaseException {
445
+ readonly name: "QueryIdNotFoundException";
446
+ readonly $fault: "client";
447
+ /**
448
+ * <p>Brief description of the exception returned by the request.</p>
449
+ * @public
450
+ */
451
+ Message?: string | undefined;
452
+ /**
453
+ * @internal
454
+ */
455
+ constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
456
+ }
457
+ /**
458
+ * <p>This exception is thrown when the management account of an organization is registered as
459
+ * the CloudTrail delegated administrator.</p>
460
+ * @public
461
+ */
462
+ export declare class CannotDelegateManagementAccountException extends __BaseException {
463
+ readonly name: "CannotDelegateManagementAccountException";
464
+ readonly $fault: "client";
465
+ /**
466
+ * <p>Brief description of the exception returned by the request.</p>
467
+ * @public
468
+ */
469
+ Message?: string | undefined;
470
+ /**
471
+ * @internal
472
+ */
473
+ constructor(opts: __ExceptionOptionType<CannotDelegateManagementAccountException, __BaseException>);
474
+ }
475
+ /**
476
+ * <p>
477
+ * This exception is thrown when the provided channel already exists.
478
+ * </p>
479
+ * @public
480
+ */
481
+ export declare class ChannelAlreadyExistsException extends __BaseException {
482
+ readonly name: "ChannelAlreadyExistsException";
483
+ readonly $fault: "client";
484
+ /**
485
+ * <p>Brief description of the exception returned by the request.</p>
486
+ * @public
487
+ */
488
+ Message?: string | undefined;
489
+ /**
490
+ * @internal
491
+ */
492
+ constructor(opts: __ExceptionOptionType<ChannelAlreadyExistsException, __BaseException>);
493
+ }
494
+ /**
495
+ * <p>This exception is thrown when the specified event data store cannot yet be deleted because it
496
+ * is in use by a channel.</p>
497
+ * @public
498
+ */
499
+ export declare class ChannelExistsForEDSException extends __BaseException {
500
+ readonly name: "ChannelExistsForEDSException";
501
+ readonly $fault: "client";
502
+ /**
503
+ * <p>Brief description of the exception returned by the request.</p>
504
+ * @public
505
+ */
506
+ Message?: string | undefined;
507
+ /**
508
+ * @internal
509
+ */
510
+ constructor(opts: __ExceptionOptionType<ChannelExistsForEDSException, __BaseException>);
511
+ }
512
+ /**
513
+ * <p>
514
+ * This exception is thrown when the maximum number of channels limit is exceeded.
515
+ * </p>
516
+ * @public
517
+ */
518
+ export declare class ChannelMaxLimitExceededException extends __BaseException {
519
+ readonly name: "ChannelMaxLimitExceededException";
520
+ readonly $fault: "client";
521
+ /**
522
+ * <p>Brief description of the exception returned by the request.</p>
523
+ * @public
524
+ */
525
+ Message?: string | undefined;
526
+ /**
527
+ * @internal
528
+ */
529
+ constructor(opts: __ExceptionOptionType<ChannelMaxLimitExceededException, __BaseException>);
530
+ }
531
+ /**
532
+ * <p>This exception is thrown when event categories of specified event data stores are not
533
+ * valid.</p>
534
+ * @public
535
+ */
536
+ export declare class InvalidEventDataStoreCategoryException extends __BaseException {
537
+ readonly name: "InvalidEventDataStoreCategoryException";
538
+ readonly $fault: "client";
539
+ /**
540
+ * <p>Brief description of the exception returned by the request.</p>
541
+ * @public
542
+ */
543
+ Message?: string | undefined;
544
+ /**
545
+ * @internal
546
+ */
547
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreCategoryException, __BaseException>);
548
+ }
549
+ /**
550
+ * <p>This exception is thrown when the specified value of <code>Source</code> is not valid.</p>
551
+ * @public
552
+ */
553
+ export declare class InvalidSourceException extends __BaseException {
554
+ readonly name: "InvalidSourceException";
555
+ readonly $fault: "client";
556
+ /**
557
+ * <p>Brief description of the exception returned by the request.</p>
558
+ * @public
559
+ */
560
+ Message?: string | undefined;
561
+ /**
562
+ * @internal
563
+ */
564
+ constructor(opts: __ExceptionOptionType<InvalidSourceException, __BaseException>);
565
+ }
566
+ /**
567
+ * <p>For the <code>CreateTrail</code>
568
+ * <code>PutInsightSelectors</code>, <code>UpdateTrail</code>, <code>StartQuery</code>, and <code>StartImport</code> operations, this exception is thrown
569
+ * when the policy on the S3 bucket or KMS key does
570
+ * not have sufficient permissions for the operation.</p>
571
+ * <p>For all other operations, this exception is thrown when the policy for the KMS key does
572
+ * not have sufficient permissions for the operation.</p>
573
+ * @public
574
+ */
575
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
576
+ readonly name: "InsufficientEncryptionPolicyException";
577
+ readonly $fault: "client";
578
+ /**
579
+ * <p>Brief description of the exception returned by the request.</p>
580
+ * @public
581
+ */
582
+ Message?: string | undefined;
583
+ /**
584
+ * @internal
585
+ */
586
+ constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
587
+ }
588
+ /**
589
+ * <p>The query that was submitted has validation errors, or uses incorrect syntax or
590
+ * unsupported keywords. For more information about writing a query, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create or edit a query</a> in the <i>CloudTrail User
591
+ * Guide</i>.</p>
592
+ * @public
593
+ */
594
+ export declare class InvalidQueryStatementException extends __BaseException {
595
+ readonly name: "InvalidQueryStatementException";
596
+ readonly $fault: "client";
597
+ /**
598
+ * <p>Brief description of the exception returned by the request.</p>
599
+ * @public
600
+ */
601
+ Message?: string | undefined;
602
+ /**
603
+ * @internal
604
+ */
605
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
606
+ }
607
+ /**
608
+ * <p>
609
+ * This exception is thrown when the quota is exceeded. For information about CloudTrail quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/ct.html#limits_cloudtrail">Service quotas</a>
610
+ * in the <i>Amazon Web Services General Reference</i>.
611
+ * </p>
612
+ * @public
613
+ */
614
+ export declare class ServiceQuotaExceededException extends __BaseException {
615
+ readonly name: "ServiceQuotaExceededException";
616
+ readonly $fault: "client";
617
+ /**
618
+ * <p>Brief description of the exception returned by the request.</p>
619
+ * @public
620
+ */
621
+ Message?: string | undefined;
622
+ /**
623
+ * @internal
624
+ */
625
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
626
+ }
627
+ /**
628
+ * <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access">How to enable or disable trusted access</a> in the <i>Organizations User Guide</i> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a> in the <i>CloudTrail User Guide</i>.</p>
629
+ * @public
630
+ */
631
+ export declare class CloudTrailAccessNotEnabledException extends __BaseException {
632
+ readonly name: "CloudTrailAccessNotEnabledException";
633
+ readonly $fault: "client";
634
+ /**
635
+ * <p>Brief description of the exception returned by the request.</p>
636
+ * @public
637
+ */
638
+ Message?: string | undefined;
639
+ /**
640
+ * @internal
641
+ */
642
+ constructor(opts: __ExceptionOptionType<CloudTrailAccessNotEnabledException, __BaseException>);
643
+ }
644
+ /**
645
+ * <p>An event data store with that name already exists.</p>
646
+ * @public
647
+ */
648
+ export declare class EventDataStoreAlreadyExistsException extends __BaseException {
649
+ readonly name: "EventDataStoreAlreadyExistsException";
650
+ readonly $fault: "client";
651
+ /**
652
+ * <p>Brief description of the exception returned by the request.</p>
653
+ * @public
654
+ */
655
+ Message?: string | undefined;
656
+ /**
657
+ * @internal
658
+ */
659
+ constructor(opts: __ExceptionOptionType<EventDataStoreAlreadyExistsException, __BaseException>);
660
+ }
661
+ /**
662
+ * <p>Your account has used the maximum number of event data stores.</p>
663
+ * @public
664
+ */
665
+ export declare class EventDataStoreMaxLimitExceededException extends __BaseException {
666
+ readonly name: "EventDataStoreMaxLimitExceededException";
667
+ readonly $fault: "client";
668
+ /**
669
+ * <p>Brief description of the exception returned by the request.</p>
670
+ * @public
671
+ */
672
+ Message?: string | undefined;
673
+ /**
674
+ * @internal
675
+ */
676
+ constructor(opts: __ExceptionOptionType<EventDataStoreMaxLimitExceededException, __BaseException>);
677
+ }
678
+ /**
679
+ * <p>This exception is thrown when the IAM identity that is used to create
680
+ * the organization resource lacks one or more required permissions for creating an
681
+ * organization resource in a required service.</p>
682
+ * @public
683
+ */
684
+ export declare class InsufficientDependencyServiceAccessPermissionException extends __BaseException {
685
+ readonly name: "InsufficientDependencyServiceAccessPermissionException";
686
+ readonly $fault: "client";
687
+ /**
688
+ * <p>Brief description of the exception returned by the request.</p>
689
+ * @public
690
+ */
691
+ Message?: string | undefined;
692
+ /**
693
+ * @internal
694
+ */
695
+ constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
696
+ }
697
+ /**
698
+ * <p>This exception is thrown when the <code>PutEventSelectors</code> operation is called
699
+ * with a number of event selectors, advanced event selectors, or data resources that is not
700
+ * valid. The combination of event selectors or advanced event selectors and data resources is
701
+ * not valid. A trail can have up to 5 event selectors. If a trail uses advanced event
702
+ * selectors, a maximum of 500 total values for all conditions in all advanced event selectors
703
+ * is allowed. A trail is limited to 250 data resources. These data resources can be
704
+ * distributed across event selectors, but the overall total cannot exceed 250.</p>
705
+ * <p>You can:</p>
706
+ * <ul>
707
+ * <li>
708
+ * <p>Specify a valid number of event selectors (1 to 5) for a trail.</p>
709
+ * </li>
710
+ * <li>
711
+ * <p>Specify a valid number of data resources (1 to 250) for an event selector. The
712
+ * limit of number of resources on an individual event selector is configurable up to
713
+ * 250. However, this upper limit is allowed only if the total number of data resources
714
+ * does not exceed 250 across all event selectors for a trail.</p>
715
+ * </li>
716
+ * <li>
717
+ * <p>Specify up to 500 values for all conditions in all advanced event selectors for a
718
+ * trail.</p>
719
+ * </li>
720
+ * <li>
721
+ * <p>Specify a valid value for a parameter. For example, specifying the
722
+ * <code>ReadWriteType</code> parameter with a value of <code>read-only</code> is not
723
+ * valid.</p>
724
+ * </li>
725
+ * </ul>
726
+ * @public
727
+ */
728
+ export declare class InvalidEventSelectorsException extends __BaseException {
729
+ readonly name: "InvalidEventSelectorsException";
730
+ readonly $fault: "client";
731
+ /**
732
+ * <p>Brief description of the exception returned by the request.</p>
733
+ * @public
734
+ */
735
+ Message?: string | undefined;
736
+ /**
737
+ * @internal
738
+ */
739
+ constructor(opts: __ExceptionOptionType<InvalidEventSelectorsException, __BaseException>);
740
+ }
741
+ /**
742
+ * <p>This exception is thrown when the KMS key ARN is not valid.</p>
743
+ * @public
744
+ */
745
+ export declare class InvalidKmsKeyIdException extends __BaseException {
746
+ readonly name: "InvalidKmsKeyIdException";
747
+ readonly $fault: "client";
748
+ /**
749
+ * <p>Brief description of the exception returned by the request.</p>
750
+ * @public
751
+ */
752
+ Message?: string | undefined;
753
+ /**
754
+ * @internal
755
+ */
756
+ constructor(opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>);
757
+ }
758
+ /**
759
+ * <p>This exception is thrown when there is an issue with the specified KMS
760
+ * key and the trail or event data store can't be updated.</p>
761
+ * @public
762
+ */
763
+ export declare class KmsException extends __BaseException {
764
+ readonly name: "KmsException";
765
+ readonly $fault: "client";
766
+ /**
767
+ * <p>Brief description of the exception returned by the request.</p>
768
+ * @public
769
+ */
770
+ Message?: string | undefined;
771
+ /**
772
+ * @internal
773
+ */
774
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
775
+ }
776
+ /**
777
+ * <p>This exception is thrown when the KMS key does not exist, when the S3
778
+ * bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
779
+ * not in the same Region.</p>
780
+ * @public
781
+ */
782
+ export declare class KmsKeyNotFoundException extends __BaseException {
783
+ readonly name: "KmsKeyNotFoundException";
784
+ readonly $fault: "client";
785
+ /**
786
+ * <p>Brief description of the exception returned by the request.</p>
787
+ * @public
788
+ */
789
+ Message?: string | undefined;
790
+ /**
791
+ * @internal
792
+ */
793
+ constructor(opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>);
794
+ }
795
+ /**
796
+ * <p>This exception is thrown when Organizations is not configured to support all
797
+ * features. All features must be enabled in Organizations to support creating an
798
+ * organization trail or event data store.</p>
799
+ * @public
800
+ */
801
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
802
+ readonly name: "OrganizationNotInAllFeaturesModeException";
803
+ readonly $fault: "client";
804
+ /**
805
+ * <p>Brief description of the exception returned by the request.</p>
806
+ * @public
807
+ */
808
+ Message?: string | undefined;
809
+ /**
810
+ * @internal
811
+ */
812
+ constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
813
+ }
814
+ /**
815
+ * <p>This exception is thrown when the request is made from an Amazon Web Services account
816
+ * that is not a member of an organization. To make this request, sign in using the
817
+ * credentials of an account that belongs to an organization.</p>
818
+ * @public
819
+ */
820
+ export declare class OrganizationsNotInUseException extends __BaseException {
821
+ readonly name: "OrganizationsNotInUseException";
822
+ readonly $fault: "client";
823
+ /**
824
+ * <p>Brief description of the exception returned by the request.</p>
825
+ * @public
826
+ */
827
+ Message?: string | undefined;
828
+ /**
829
+ * @internal
830
+ */
831
+ constructor(opts: __ExceptionOptionType<OrganizationsNotInUseException, __BaseException>);
832
+ }
833
+ /**
834
+ * <p>
835
+ * This exception is thrown when the request rate exceeds the limit.
836
+ * </p>
837
+ * @public
838
+ */
839
+ export declare class ThrottlingException extends __BaseException {
840
+ readonly name: "ThrottlingException";
841
+ readonly $fault: "client";
842
+ /**
843
+ * <p>Brief description of the exception returned by the request.</p>
844
+ * @public
845
+ */
846
+ Message?: string | undefined;
847
+ /**
848
+ * @internal
849
+ */
850
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
851
+ }
852
+ /**
853
+ * <p>This exception is thrown when a call results in the <code>InvalidClientTokenId</code>
854
+ * error code. This can occur when you are creating or updating a trail to send notifications
855
+ * to an Amazon SNS topic that is in a suspended Amazon Web Services account.</p>
856
+ * @public
857
+ */
858
+ export declare class CloudTrailInvalidClientTokenIdException extends __BaseException {
859
+ readonly name: "CloudTrailInvalidClientTokenIdException";
860
+ readonly $fault: "client";
861
+ /**
862
+ * <p>Brief description of the exception returned by the request.</p>
863
+ * @public
864
+ */
865
+ Message?: string | undefined;
866
+ /**
867
+ * @internal
868
+ */
869
+ constructor(opts: __ExceptionOptionType<CloudTrailInvalidClientTokenIdException, __BaseException>);
870
+ }
871
+ /**
872
+ * <p>Cannot set a CloudWatch Logs delivery for this Region.</p>
873
+ * @public
874
+ */
875
+ export declare class CloudWatchLogsDeliveryUnavailableException extends __BaseException {
876
+ readonly name: "CloudWatchLogsDeliveryUnavailableException";
877
+ readonly $fault: "client";
878
+ /**
879
+ * <p>Brief description of the exception returned by the request.</p>
880
+ * @public
881
+ */
882
+ Message?: string | undefined;
883
+ /**
884
+ * @internal
885
+ */
886
+ constructor(opts: __ExceptionOptionType<CloudWatchLogsDeliveryUnavailableException, __BaseException>);
887
+ }
888
+ /**
889
+ * <p>This exception is thrown when the policy on the S3 bucket is not sufficient.</p>
890
+ * @public
891
+ */
892
+ export declare class InsufficientS3BucketPolicyException extends __BaseException {
893
+ readonly name: "InsufficientS3BucketPolicyException";
894
+ readonly $fault: "client";
895
+ /**
896
+ * <p>Brief description of the exception returned by the request.</p>
897
+ * @public
898
+ */
899
+ Message?: string | undefined;
900
+ /**
901
+ * @internal
902
+ */
903
+ constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyException, __BaseException>);
904
+ }
905
+ /**
906
+ * <p>This exception is thrown when the policy on the Amazon SNS topic is not
907
+ * sufficient.</p>
908
+ * @public
909
+ */
910
+ export declare class InsufficientSnsTopicPolicyException extends __BaseException {
911
+ readonly name: "InsufficientSnsTopicPolicyException";
912
+ readonly $fault: "client";
913
+ /**
914
+ * <p>Brief description of the exception returned by the request.</p>
915
+ * @public
916
+ */
917
+ Message?: string | undefined;
918
+ /**
919
+ * @internal
920
+ */
921
+ constructor(opts: __ExceptionOptionType<InsufficientSnsTopicPolicyException, __BaseException>);
922
+ }
923
+ /**
924
+ * <p>This exception is thrown when the provided CloudWatch Logs log group is not
925
+ * valid.</p>
926
+ * @public
927
+ */
928
+ export declare class InvalidCloudWatchLogsLogGroupArnException extends __BaseException {
929
+ readonly name: "InvalidCloudWatchLogsLogGroupArnException";
930
+ readonly $fault: "client";
931
+ /**
932
+ * <p>Brief description of the exception returned by the request.</p>
933
+ * @public
934
+ */
935
+ Message?: string | undefined;
936
+ /**
937
+ * @internal
938
+ */
939
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsLogGroupArnException, __BaseException>);
940
+ }
941
+ /**
942
+ * <p>This exception is thrown when the provided role is not valid.</p>
943
+ * @public
944
+ */
945
+ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseException {
946
+ readonly name: "InvalidCloudWatchLogsRoleArnException";
947
+ readonly $fault: "client";
948
+ /**
949
+ * <p>Brief description of the exception returned by the request.</p>
950
+ * @public
951
+ */
952
+ Message?: string | undefined;
953
+ /**
954
+ * @internal
955
+ */
956
+ constructor(opts: __ExceptionOptionType<InvalidCloudWatchLogsRoleArnException, __BaseException>);
957
+ }
958
+ /**
959
+ * <p>This exception is thrown when the combination of parameters provided is not
960
+ * valid.</p>
961
+ * @public
962
+ */
963
+ export declare class InvalidParameterCombinationException extends __BaseException {
964
+ readonly name: "InvalidParameterCombinationException";
965
+ readonly $fault: "client";
966
+ /**
967
+ * <p>Brief description of the exception returned by the request.</p>
968
+ * @public
969
+ */
970
+ Message?: string | undefined;
971
+ /**
972
+ * @internal
973
+ */
974
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
975
+ }
976
+ /**
977
+ * <p>This exception is thrown when the provided S3 bucket name is not valid.</p>
978
+ * @public
979
+ */
980
+ export declare class InvalidS3BucketNameException extends __BaseException {
981
+ readonly name: "InvalidS3BucketNameException";
982
+ readonly $fault: "client";
983
+ /**
984
+ * <p>Brief description of the exception returned by the request.</p>
985
+ * @public
986
+ */
987
+ Message?: string | undefined;
988
+ /**
989
+ * @internal
990
+ */
991
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketNameException, __BaseException>);
992
+ }
993
+ /**
994
+ * <p>This exception is thrown when the provided S3 prefix is not valid.</p>
995
+ * @public
996
+ */
997
+ export declare class InvalidS3PrefixException extends __BaseException {
998
+ readonly name: "InvalidS3PrefixException";
999
+ readonly $fault: "client";
1000
+ /**
1001
+ * <p>Brief description of the exception returned by the request.</p>
1002
+ * @public
1003
+ */
1004
+ Message?: string | undefined;
1005
+ /**
1006
+ * @internal
1007
+ */
1008
+ constructor(opts: __ExceptionOptionType<InvalidS3PrefixException, __BaseException>);
1009
+ }
1010
+ /**
1011
+ * <p>This exception is thrown when the provided SNS topic name is not valid.</p>
1012
+ * @public
1013
+ */
1014
+ export declare class InvalidSnsTopicNameException extends __BaseException {
1015
+ readonly name: "InvalidSnsTopicNameException";
1016
+ readonly $fault: "client";
1017
+ /**
1018
+ * <p>Brief description of the exception returned by the request.</p>
1019
+ * @public
1020
+ */
1021
+ Message?: string | undefined;
1022
+ /**
1023
+ * @internal
1024
+ */
1025
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>);
1026
+ }
1027
+ /**
1028
+ * <p>This exception is no longer in use.</p>
1029
+ *
1030
+ * @deprecated deprecated
1031
+ * @public
1032
+ */
1033
+ export declare class KmsKeyDisabledException extends __BaseException {
1034
+ readonly name: "KmsKeyDisabledException";
1035
+ readonly $fault: "client";
1036
+ /**
1037
+ * <p>Brief description of the exception returned by the request.</p>
1038
+ * @public
1039
+ */
1040
+ Message?: string | undefined;
1041
+ /**
1042
+ * @internal
1043
+ */
1044
+ constructor(opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>);
1045
+ }
1046
+ /**
1047
+ * <p>This exception is thrown when the maximum number of trails is reached.</p>
1048
+ * @public
1049
+ */
1050
+ export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
1051
+ readonly name: "MaximumNumberOfTrailsExceededException";
1052
+ readonly $fault: "client";
1053
+ /**
1054
+ * <p>Brief description of the exception returned by the request.</p>
1055
+ * @public
1056
+ */
1057
+ Message?: string | undefined;
1058
+ /**
1059
+ * @internal
1060
+ */
1061
+ constructor(opts: __ExceptionOptionType<MaximumNumberOfTrailsExceededException, __BaseException>);
1062
+ }
1063
+ /**
1064
+ * <p>This exception is thrown when the specified S3 bucket does not exist.</p>
1065
+ * @public
1066
+ */
1067
+ export declare class S3BucketDoesNotExistException extends __BaseException {
1068
+ readonly name: "S3BucketDoesNotExistException";
1069
+ readonly $fault: "client";
1070
+ /**
1071
+ * <p>Brief description of the exception returned by the request.</p>
1072
+ * @public
1073
+ */
1074
+ Message?: string | undefined;
1075
+ /**
1076
+ * @internal
1077
+ */
1078
+ constructor(opts: __ExceptionOptionType<S3BucketDoesNotExistException, __BaseException>);
1079
+ }
1080
+ /**
1081
+ * <p>This exception is thrown when the specified trail already exists.</p>
1082
+ * @public
1083
+ */
1084
+ export declare class TrailAlreadyExistsException extends __BaseException {
1085
+ readonly name: "TrailAlreadyExistsException";
1086
+ readonly $fault: "client";
1087
+ /**
1088
+ * <p>Brief description of the exception returned by the request.</p>
1089
+ * @public
1090
+ */
1091
+ Message?: string | undefined;
1092
+ /**
1093
+ * @internal
1094
+ */
1095
+ constructor(opts: __ExceptionOptionType<TrailAlreadyExistsException, __BaseException>);
1096
+ }
1097
+ /**
1098
+ * <p>This exception is no longer in use.</p>
1099
+ * @public
1100
+ */
1101
+ export declare class TrailNotProvidedException extends __BaseException {
1102
+ readonly name: "TrailNotProvidedException";
1103
+ readonly $fault: "client";
1104
+ /**
1105
+ * <p>Brief description of the exception returned by the request.</p>
1106
+ * @public
1107
+ */
1108
+ Message?: string | undefined;
1109
+ /**
1110
+ * @internal
1111
+ */
1112
+ constructor(opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>);
1113
+ }
1114
+ /**
1115
+ * <p>
1116
+ * You cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the <code>DisableFederation</code> operation to
1117
+ * disable Lake query federation on the event data store.
1118
+ * </p>
1119
+ * @public
1120
+ */
1121
+ export declare class EventDataStoreFederationEnabledException extends __BaseException {
1122
+ readonly name: "EventDataStoreFederationEnabledException";
1123
+ readonly $fault: "client";
1124
+ /**
1125
+ * <p>Brief description of the exception returned by the request.</p>
1126
+ * @public
1127
+ */
1128
+ Message?: string | undefined;
1129
+ /**
1130
+ * @internal
1131
+ */
1132
+ constructor(opts: __ExceptionOptionType<EventDataStoreFederationEnabledException, __BaseException>);
1133
+ }
1134
+ /**
1135
+ * <p> This exception is thrown when you try to update or delete an event data store that
1136
+ * currently has an import in progress. </p>
1137
+ * @public
1138
+ */
1139
+ export declare class EventDataStoreHasOngoingImportException extends __BaseException {
1140
+ readonly name: "EventDataStoreHasOngoingImportException";
1141
+ readonly $fault: "client";
1142
+ /**
1143
+ * <p>Brief description of the exception returned by the request.</p>
1144
+ * @public
1145
+ */
1146
+ Message?: string | undefined;
1147
+ /**
1148
+ * @internal
1149
+ */
1150
+ constructor(opts: __ExceptionOptionType<EventDataStoreHasOngoingImportException, __BaseException>);
1151
+ }
1152
+ /**
1153
+ * <p>The event data store cannot be deleted because termination protection is enabled for
1154
+ * it.</p>
1155
+ * @public
1156
+ */
1157
+ export declare class EventDataStoreTerminationProtectedException extends __BaseException {
1158
+ readonly name: "EventDataStoreTerminationProtectedException";
1159
+ readonly $fault: "client";
1160
+ /**
1161
+ * <p>Brief description of the exception returned by the request.</p>
1162
+ * @public
1163
+ */
1164
+ Message?: string | undefined;
1165
+ /**
1166
+ * @internal
1167
+ */
1168
+ constructor(opts: __ExceptionOptionType<EventDataStoreTerminationProtectedException, __BaseException>);
1169
+ }
1170
+ /**
1171
+ * <p>
1172
+ * This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid.
1173
+ * </p>
1174
+ * <p>The following is the format of an event data store ARN:
1175
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
1176
+ * </p>
1177
+ * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
1178
+ * </p>
1179
+ * <p>The following is the format of a channel ARN:
1180
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
1181
+ * </p>
1182
+ * @public
1183
+ */
1184
+ export declare class ResourceARNNotValidException extends __BaseException {
1185
+ readonly name: "ResourceARNNotValidException";
1186
+ readonly $fault: "client";
1187
+ /**
1188
+ * <p>Brief description of the exception returned by the request.</p>
1189
+ * @public
1190
+ */
1191
+ Message?: string | undefined;
1192
+ /**
1193
+ * @internal
1194
+ */
1195
+ constructor(opts: __ExceptionOptionType<ResourceARNNotValidException, __BaseException>);
1196
+ }
1197
+ /**
1198
+ * <p>
1199
+ * This exception is thrown when the specified resource policy is not found.
1200
+ * </p>
1201
+ * @public
1202
+ */
1203
+ export declare class ResourcePolicyNotFoundException extends __BaseException {
1204
+ readonly name: "ResourcePolicyNotFoundException";
1205
+ readonly $fault: "client";
1206
+ /**
1207
+ * <p>Brief description of the exception returned by the request.</p>
1208
+ * @public
1209
+ */
1210
+ Message?: string | undefined;
1211
+ /**
1212
+ * @internal
1213
+ */
1214
+ constructor(opts: __ExceptionOptionType<ResourcePolicyNotFoundException, __BaseException>);
1215
+ }
1216
+ /**
1217
+ * <p>This exception is thrown when an operation is called on a trail from a Region other than
1218
+ * the Region in which the trail was created.</p>
1219
+ * @public
1220
+ */
1221
+ export declare class InvalidHomeRegionException extends __BaseException {
1222
+ readonly name: "InvalidHomeRegionException";
1223
+ readonly $fault: "client";
1224
+ /**
1225
+ * <p>Brief description of the exception returned by the request.</p>
1226
+ * @public
1227
+ */
1228
+ Message?: string | undefined;
1229
+ /**
1230
+ * @internal
1231
+ */
1232
+ constructor(opts: __ExceptionOptionType<InvalidHomeRegionException, __BaseException>);
1233
+ }
1234
+ /**
1235
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
1236
+ * @public
1237
+ */
1238
+ export declare class TrailNotFoundException extends __BaseException {
1239
+ readonly name: "TrailNotFoundException";
1240
+ readonly $fault: "client";
1241
+ /**
1242
+ * <p>Brief description of the exception returned by the request.</p>
1243
+ * @public
1244
+ */
1245
+ Message?: string | undefined;
1246
+ /**
1247
+ * @internal
1248
+ */
1249
+ constructor(opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>);
1250
+ }
1251
+ /**
1252
+ * <p> This exception is thrown when the account making the request is not the organization's
1253
+ * management account. </p>
1254
+ * @public
1255
+ */
1256
+ export declare class NotOrganizationManagementAccountException extends __BaseException {
1257
+ readonly name: "NotOrganizationManagementAccountException";
1258
+ readonly $fault: "client";
1259
+ /**
1260
+ * <p>Brief description of the exception returned by the request.</p>
1261
+ * @public
1262
+ */
1263
+ Message?: string | undefined;
1264
+ /**
1265
+ * @internal
1266
+ */
1267
+ constructor(opts: __ExceptionOptionType<NotOrganizationManagementAccountException, __BaseException>);
1268
+ }
1269
+ /**
1270
+ * <p>
1271
+ * You are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
1272
+ * </p>
1273
+ * @public
1274
+ */
1275
+ export declare class ConcurrentModificationException extends __BaseException {
1276
+ readonly name: "ConcurrentModificationException";
1277
+ readonly $fault: "client";
1278
+ /**
1279
+ * <p>Brief description of the exception returned by the request.</p>
1280
+ * @public
1281
+ */
1282
+ Message?: string | undefined;
1283
+ /**
1284
+ * @internal
1285
+ */
1286
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
1287
+ }
1288
+ /**
1289
+ * <p>
1290
+ * This exception is thrown when a valid query could not be generated for the provided prompt.
1291
+ * </p>
1292
+ * @public
1293
+ */
1294
+ export declare class GenerateResponseException extends __BaseException {
1295
+ readonly name: "GenerateResponseException";
1296
+ readonly $fault: "client";
1297
+ /**
1298
+ * <p>Brief description of the exception returned by the request.</p>
1299
+ * @public
1300
+ */
1301
+ Message?: string | undefined;
1302
+ /**
1303
+ * @internal
1304
+ */
1305
+ constructor(opts: __ExceptionOptionType<GenerateResponseException, __BaseException>);
1306
+ }
1307
+ /**
1308
+ * <p>The event data store is not in a status that supports the operation.</p>
1309
+ * @public
1310
+ */
1311
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
1312
+ readonly name: "InvalidEventDataStoreStatusException";
1313
+ readonly $fault: "client";
1314
+ /**
1315
+ * <p>Brief description of the exception returned by the request.</p>
1316
+ * @public
1317
+ */
1318
+ Message?: string | undefined;
1319
+ /**
1320
+ * @internal
1321
+ */
1322
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
1323
+ }
1324
+ /**
1325
+ * <p> The specified import was not found. </p>
1326
+ * @public
1327
+ */
1328
+ export declare class ImportNotFoundException extends __BaseException {
1329
+ readonly name: "ImportNotFoundException";
1330
+ readonly $fault: "client";
1331
+ /**
1332
+ * <p>Brief description of the exception returned by the request.</p>
1333
+ * @public
1334
+ */
1335
+ Message?: string | undefined;
1336
+ /**
1337
+ * @internal
1338
+ */
1339
+ constructor(opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>);
1340
+ }
1341
+ /**
1342
+ * <p>If you run <code>GetInsightSelectors</code> on a trail or event data store that does not have Insights
1343
+ * events enabled, the operation throws the exception
1344
+ * <code>InsightNotEnabledException</code>.</p>
1345
+ * @public
1346
+ */
1347
+ export declare class InsightNotEnabledException extends __BaseException {
1348
+ readonly name: "InsightNotEnabledException";
1349
+ readonly $fault: "client";
1350
+ /**
1351
+ * <p>Brief description of the exception returned by the request.</p>
1352
+ * @public
1353
+ */
1354
+ Message?: string | undefined;
1355
+ /**
1356
+ * @internal
1357
+ */
1358
+ constructor(opts: __ExceptionOptionType<InsightNotEnabledException, __BaseException>);
1359
+ }
1360
+ /**
1361
+ * <p>This exception is thrown if the limit specified is not valid.</p>
1362
+ * @public
1363
+ */
1364
+ export declare class InvalidMaxResultsException extends __BaseException {
1365
+ readonly name: "InvalidMaxResultsException";
1366
+ readonly $fault: "client";
1367
+ /**
1368
+ * <p>Brief description of the exception returned by the request.</p>
1369
+ * @public
1370
+ */
1371
+ Message?: string | undefined;
1372
+ /**
1373
+ * @internal
1374
+ */
1375
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
1376
+ }
1377
+ /**
1378
+ * <p>A token that is not valid, or a token that was previously used in a request with
1379
+ * different parameters. This exception is thrown if the token is not valid.</p>
1380
+ * @public
1381
+ */
1382
+ export declare class InvalidNextTokenException extends __BaseException {
1383
+ readonly name: "InvalidNextTokenException";
1384
+ readonly $fault: "client";
1385
+ /**
1386
+ * <p>Brief description of the exception returned by the request.</p>
1387
+ * @public
1388
+ */
1389
+ Message?: string | undefined;
1390
+ /**
1391
+ * @internal
1392
+ */
1393
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
1394
+ }
1395
+ /**
1396
+ * <p>Occurs if the timestamp values are not valid. Either the start time occurs after the end
1397
+ * time, or the time range is outside the range of possible values.</p>
1398
+ * @public
1399
+ */
1400
+ export declare class InvalidTimeRangeException extends __BaseException {
1401
+ readonly name: "InvalidTimeRangeException";
1402
+ readonly $fault: "client";
1403
+ /**
1404
+ * <p>Brief description of the exception returned by the request.</p>
1405
+ * @public
1406
+ */
1407
+ Message?: string | undefined;
1408
+ /**
1409
+ * @internal
1410
+ */
1411
+ constructor(opts: __ExceptionOptionType<InvalidTimeRangeException, __BaseException>);
1412
+ }
1413
+ /**
1414
+ * <p>Reserved for future use.</p>
1415
+ * @public
1416
+ */
1417
+ export declare class InvalidTokenException extends __BaseException {
1418
+ readonly name: "InvalidTokenException";
1419
+ readonly $fault: "client";
1420
+ /**
1421
+ * <p>Brief description of the exception returned by the request.</p>
1422
+ * @public
1423
+ */
1424
+ Message?: string | undefined;
1425
+ /**
1426
+ * @internal
1427
+ */
1428
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
1429
+ }
1430
+ /**
1431
+ * <p>A date range for the query was specified that is not valid. Be sure that the start time
1432
+ * is chronologically before the end time. For more information about writing a query, see
1433
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html">Create or edit a query</a> in the <i>CloudTrail User Guide</i>.</p>
1434
+ * @public
1435
+ */
1436
+ export declare class InvalidDateRangeException extends __BaseException {
1437
+ readonly name: "InvalidDateRangeException";
1438
+ readonly $fault: "client";
1439
+ /**
1440
+ * <p>Brief description of the exception returned by the request.</p>
1441
+ * @public
1442
+ */
1443
+ Message?: string | undefined;
1444
+ /**
1445
+ * @internal
1446
+ */
1447
+ constructor(opts: __ExceptionOptionType<InvalidDateRangeException, __BaseException>);
1448
+ }
1449
+ /**
1450
+ * <p>The query status is not valid for the operation.</p>
1451
+ * @public
1452
+ */
1453
+ export declare class InvalidQueryStatusException extends __BaseException {
1454
+ readonly name: "InvalidQueryStatusException";
1455
+ readonly $fault: "client";
1456
+ /**
1457
+ * <p>Brief description of the exception returned by the request.</p>
1458
+ * @public
1459
+ */
1460
+ Message?: string | undefined;
1461
+ /**
1462
+ * @internal
1463
+ */
1464
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatusException, __BaseException>);
1465
+ }
1466
+ /**
1467
+ * <p>Occurs if an event category that is not valid is specified as a value of
1468
+ * <code>EventCategory</code>.</p>
1469
+ * @public
1470
+ */
1471
+ export declare class InvalidEventCategoryException extends __BaseException {
1472
+ readonly name: "InvalidEventCategoryException";
1473
+ readonly $fault: "client";
1474
+ /**
1475
+ * <p>Brief description of the exception returned by the request.</p>
1476
+ * @public
1477
+ */
1478
+ Message?: string | undefined;
1479
+ /**
1480
+ * @internal
1481
+ */
1482
+ constructor(opts: __ExceptionOptionType<InvalidEventCategoryException, __BaseException>);
1483
+ }
1484
+ /**
1485
+ * <p>Occurs when a lookup attribute is specified that is not valid.</p>
1486
+ * @public
1487
+ */
1488
+ export declare class InvalidLookupAttributesException extends __BaseException {
1489
+ readonly name: "InvalidLookupAttributesException";
1490
+ readonly $fault: "client";
1491
+ /**
1492
+ * <p>Brief description of the exception returned by the request.</p>
1493
+ * @public
1494
+ */
1495
+ Message?: string | undefined;
1496
+ /**
1497
+ * @internal
1498
+ */
1499
+ constructor(opts: __ExceptionOptionType<InvalidLookupAttributesException, __BaseException>);
1500
+ }
1501
+ /**
1502
+ * <p>The task can't be completed because you are signed in with an account that lacks permissions to view or create a service-linked role. Sign in with an account that has the required permissions and then try again.</p>
1503
+ * @public
1504
+ */
1505
+ export declare class InsufficientIAMAccessPermissionException extends __BaseException {
1506
+ readonly name: "InsufficientIAMAccessPermissionException";
1507
+ readonly $fault: "client";
1508
+ /**
1509
+ * <p>Brief description of the exception returned by the request.</p>
1510
+ * @public
1511
+ */
1512
+ Message?: string | undefined;
1513
+ /**
1514
+ * @internal
1515
+ */
1516
+ constructor(opts: __ExceptionOptionType<InsufficientIAMAccessPermissionException, __BaseException>);
1517
+ }
1518
+ /**
1519
+ * <p>For <code>PutInsightSelectors</code>, this exception is thrown when the formatting or syntax of the <code>InsightSelectors</code> JSON statement is not
1520
+ * valid, or the specified <code>InsightType</code> in the <code>InsightSelectors</code> statement is not
1521
+ * valid. Valid values for <code>InsightType</code> are <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code>. To enable Insights on an event data store, the destination event data store specified by the
1522
+ * <code>InsightsDestination</code> parameter must log Insights events and the source event data
1523
+ * store specified by the <code>EventDataStore</code> parameter must log management events.</p>
1524
+ * <p>For <code>UpdateEventDataStore</code>, this exception is thrown if Insights are enabled on the event data store and the updated
1525
+ * advanced event selectors are not compatible with the configured <code>InsightSelectors</code>.
1526
+ * If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiCallRateInsight</code>, the source event data store must log <code>write</code> management events.
1527
+ * If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiErrorRateInsight</code>, the source event data store must log management events.</p>
1528
+ * @public
1529
+ */
1530
+ export declare class InvalidInsightSelectorsException extends __BaseException {
1531
+ readonly name: "InvalidInsightSelectorsException";
1532
+ readonly $fault: "client";
1533
+ /**
1534
+ * <p>Brief description of the exception returned by the request.</p>
1535
+ * @public
1536
+ */
1537
+ Message?: string | undefined;
1538
+ /**
1539
+ * @internal
1540
+ */
1541
+ constructor(opts: __ExceptionOptionType<InvalidInsightSelectorsException, __BaseException>);
1542
+ }
1543
+ /**
1544
+ * <p>
1545
+ * This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
1546
+ * </p>
1547
+ * @public
1548
+ */
1549
+ export declare class ResourcePolicyNotValidException extends __BaseException {
1550
+ readonly name: "ResourcePolicyNotValidException";
1551
+ readonly $fault: "client";
1552
+ /**
1553
+ * <p>Brief description of the exception returned by the request.</p>
1554
+ * @public
1555
+ */
1556
+ Message?: string | undefined;
1557
+ /**
1558
+ * @internal
1559
+ */
1560
+ constructor(opts: __ExceptionOptionType<ResourcePolicyNotValidException, __BaseException>);
1561
+ }
1562
+ /**
1563
+ * <p>This exception is thrown when the maximum number of CloudTrail delegated
1564
+ * administrators is reached.</p>
1565
+ * @public
1566
+ */
1567
+ export declare class DelegatedAdminAccountLimitExceededException extends __BaseException {
1568
+ readonly name: "DelegatedAdminAccountLimitExceededException";
1569
+ readonly $fault: "client";
1570
+ /**
1571
+ * <p>Brief description of the exception returned by the request.</p>
1572
+ * @public
1573
+ */
1574
+ Message?: string | undefined;
1575
+ /**
1576
+ * @internal
1577
+ */
1578
+ constructor(opts: __ExceptionOptionType<DelegatedAdminAccountLimitExceededException, __BaseException>);
1579
+ }
1580
+ /**
1581
+ * <p> This exception is thrown when the provided source S3 bucket is not valid for import.
1582
+ * </p>
1583
+ * @public
1584
+ */
1585
+ export declare class InvalidImportSourceException extends __BaseException {
1586
+ readonly name: "InvalidImportSourceException";
1587
+ readonly $fault: "client";
1588
+ /**
1589
+ * <p>Brief description of the exception returned by the request.</p>
1590
+ * @public
1591
+ */
1592
+ Message?: string | undefined;
1593
+ /**
1594
+ * @internal
1595
+ */
1596
+ constructor(opts: __ExceptionOptionType<InvalidImportSourceException, __BaseException>);
1597
+ }
1598
+ /**
1599
+ * <p>You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some
1600
+ * queries to finish, and then run the query again.</p>
1601
+ * @public
1602
+ */
1603
+ export declare class MaxConcurrentQueriesException extends __BaseException {
1604
+ readonly name: "MaxConcurrentQueriesException";
1605
+ readonly $fault: "client";
1606
+ /**
1607
+ * <p>Brief description of the exception returned by the request.</p>
1608
+ * @public
1609
+ */
1610
+ Message?: string | undefined;
1611
+ /**
1612
+ * @internal
1613
+ */
1614
+ constructor(opts: __ExceptionOptionType<MaxConcurrentQueriesException, __BaseException>);
1615
+ }