@aws-sdk/client-cloudtrail 3.693.0 → 3.698.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 (62) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +346 -44
  3. package/dist-es/CloudTrail.js +12 -0
  4. package/dist-es/commands/CreateDashboardCommand.js +22 -0
  5. package/dist-es/commands/DeleteDashboardCommand.js +22 -0
  6. package/dist-es/commands/GetDashboardCommand.js +22 -0
  7. package/dist-es/commands/ListDashboardsCommand.js +22 -0
  8. package/dist-es/commands/StartDashboardRefreshCommand.js +22 -0
  9. package/dist-es/commands/UpdateDashboardCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +58 -26
  12. package/dist-es/protocols/Aws_json1_1.js +160 -7
  13. package/dist-types/CloudTrail.d.ts +43 -0
  14. package/dist-types/CloudTrailClient.d.ts +8 -2
  15. package/dist-types/commands/AddTagsCommand.d.ts +4 -2
  16. package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateDashboardCommand.d.ts +189 -0
  19. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -1
  20. package/dist-types/commands/CreateTrailCommand.d.ts +6 -2
  21. package/dist-types/commands/DeleteDashboardCommand.d.ts +83 -0
  22. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -3
  23. package/dist-types/commands/DeleteTrailCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeQueryCommand.d.ts +7 -3
  25. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -0
  26. package/dist-types/commands/GenerateQueryCommand.d.ts +1 -0
  27. package/dist-types/commands/GetDashboardCommand.d.ts +106 -0
  28. package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -0
  29. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +2 -0
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -1
  31. package/dist-types/commands/GetResourcePolicyCommand.d.ts +11 -3
  32. package/dist-types/commands/GetTrailCommand.d.ts +2 -0
  33. package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -0
  34. package/dist-types/commands/ListDashboardsCommand.d.ts +85 -0
  35. package/dist-types/commands/ListTagsCommand.d.ts +3 -1
  36. package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -0
  37. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +7 -1
  38. package/dist-types/commands/PutResourcePolicyCommand.d.ts +17 -21
  39. package/dist-types/commands/RemoveTagsCommand.d.ts +3 -1
  40. package/dist-types/commands/StartDashboardRefreshCommand.d.ts +98 -0
  41. package/dist-types/commands/StartImportCommand.d.ts +5 -1
  42. package/dist-types/commands/StartLoggingCommand.d.ts +2 -0
  43. package/dist-types/commands/StartQueryCommand.d.ts +7 -1
  44. package/dist-types/commands/StopLoggingCommand.d.ts +2 -0
  45. package/dist-types/commands/UpdateDashboardCommand.d.ts +164 -0
  46. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +5 -1
  47. package/dist-types/commands/UpdateTrailCommand.d.ts +7 -1
  48. package/dist-types/commands/index.d.ts +6 -0
  49. package/dist-types/models/models_0.d.ts +823 -116
  50. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  51. package/dist-types/ts3.4/CloudTrail.d.ts +103 -0
  52. package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
  53. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/StartDashboardRefreshCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +156 -19
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  62. package/package.json +35 -35
@@ -92,7 +92,7 @@ export declare class AccountRegisteredException extends __BaseException {
92
92
  }
93
93
  /**
94
94
  * <p>A custom key-value pair associated with a resource such as a CloudTrail
95
- * trail, event data store, or channel.</p>
95
+ * trail, event data store, dashboard, or channel.</p>
96
96
  * @public
97
97
  */
98
98
  export interface Tag {
@@ -110,12 +110,12 @@ export interface Tag {
110
110
  Value?: string | undefined;
111
111
  }
112
112
  /**
113
- * <p>Specifies the tags to add to a trail, event data store, or channel.</p>
113
+ * <p>Specifies the tags to add to a trail, event data store, dashboard, or channel.</p>
114
114
  * @public
115
115
  */
116
116
  export interface AddTagsRequest {
117
117
  /**
118
- * <p>Specifies the ARN of the trail, event data store, or channel to which one or more tags will be
118
+ * <p>Specifies the ARN of the trail, event data store, dashboard, or channel to which one or more tags will be
119
119
  * added.</p>
120
120
  * <p>The format of a trail ARN is:
121
121
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
@@ -123,6 +123,8 @@ export interface AddTagsRequest {
123
123
  * <p>The format of an event data store ARN is:
124
124
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
125
125
  * </p>
126
+ * <p>The format of a dashboard ARN is: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
127
+ * </p>
126
128
  * <p>The format of a channel ARN is:
127
129
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
128
130
  * </p>
@@ -183,6 +185,8 @@ export declare class ChannelNotFoundException extends __BaseException {
183
185
  * <p>The following is the format of an event data store ARN:
184
186
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
185
187
  * </p>
188
+ * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
189
+ * </p>
186
190
  * <p>The following is the format of a channel ARN:
187
191
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
188
192
  * </p>
@@ -417,7 +421,7 @@ export declare class ResourceTypeNotSupportedException extends __BaseException {
417
421
  constructor(opts: __ExceptionOptionType<ResourceTypeNotSupportedException, __BaseException>);
418
422
  }
419
423
  /**
420
- * <p>The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is
424
+ * <p>The number of tags per trail, event data store, dashboard, or channel has exceeded the permitted amount. Currently, the limit is
421
425
  * 50.</p>
422
426
  * @public
423
427
  */
@@ -877,6 +881,13 @@ export interface CancelQueryRequest {
877
881
  * @public
878
882
  */
879
883
  QueryId: string | undefined;
884
+ /**
885
+ * <p>
886
+ * The account ID of the event data store owner.
887
+ * </p>
888
+ * @public
889
+ */
890
+ EventDataStoreOwnerAccountId?: string | undefined;
880
891
  }
881
892
  /**
882
893
  * @public
@@ -909,6 +920,13 @@ export interface CancelQueryResponse {
909
920
  * @public
910
921
  */
911
922
  QueryStatus: QueryStatus | undefined;
923
+ /**
924
+ * <p>
925
+ * The account ID of the event data store owner.
926
+ * </p>
927
+ * @public
928
+ */
929
+ EventDataStoreOwnerAccountId?: string | undefined;
912
930
  }
913
931
  /**
914
932
  * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>,
@@ -1181,6 +1199,329 @@ export declare class InvalidSourceException extends __BaseException {
1181
1199
  */
1182
1200
  constructor(opts: __ExceptionOptionType<InvalidSourceException, __BaseException>);
1183
1201
  }
1202
+ /**
1203
+ * @public
1204
+ * @enum
1205
+ */
1206
+ export declare const RefreshScheduleFrequencyUnit: {
1207
+ readonly DAYS: "DAYS";
1208
+ readonly HOURS: "HOURS";
1209
+ };
1210
+ /**
1211
+ * @public
1212
+ */
1213
+ export type RefreshScheduleFrequencyUnit = (typeof RefreshScheduleFrequencyUnit)[keyof typeof RefreshScheduleFrequencyUnit];
1214
+ /**
1215
+ * <p>
1216
+ * Specifies the frequency for a dashboard refresh schedule.
1217
+ * </p>
1218
+ * <p>
1219
+ * For a custom dashboard, you can schedule a refresh for every 1, 6, 12, or 24 hours, or every day.
1220
+ * </p>
1221
+ * @public
1222
+ */
1223
+ export interface RefreshScheduleFrequency {
1224
+ /**
1225
+ * <p>
1226
+ * The unit to use for the refresh.
1227
+ * </p>
1228
+ * <p>For custom dashboards, the unit can be <code>HOURS</code> or <code>DAYS</code>.</p>
1229
+ * <p>For the Highlights dashboard, the <code>Unit</code> must be <code>HOURS</code>.</p>
1230
+ * @public
1231
+ */
1232
+ Unit?: RefreshScheduleFrequencyUnit | undefined;
1233
+ /**
1234
+ * <p>
1235
+ * The value for the refresh schedule.
1236
+ * </p>
1237
+ * <p>
1238
+ * For custom dashboards, the following values are valid when the unit is <code>HOURS</code>: <code>1</code>, <code>6</code>, <code>12</code>, <code>24</code>
1239
+ * </p>
1240
+ * <p>For custom dashboards, the only valid value when the unit is <code>DAYS</code> is <code>1</code>.</p>
1241
+ * <p>For the Highlights dashboard, the <code>Value</code> must be <code>6</code>.</p>
1242
+ * @public
1243
+ */
1244
+ Value?: number | undefined;
1245
+ }
1246
+ /**
1247
+ * @public
1248
+ * @enum
1249
+ */
1250
+ export declare const RefreshScheduleStatus: {
1251
+ readonly DISABLED: "DISABLED";
1252
+ readonly ENABLED: "ENABLED";
1253
+ };
1254
+ /**
1255
+ * @public
1256
+ */
1257
+ export type RefreshScheduleStatus = (typeof RefreshScheduleStatus)[keyof typeof RefreshScheduleStatus];
1258
+ /**
1259
+ * <p>
1260
+ * The schedule for a dashboard refresh.
1261
+ * </p>
1262
+ * @public
1263
+ */
1264
+ export interface RefreshSchedule {
1265
+ /**
1266
+ * <p>
1267
+ * The frequency at which you want the dashboard refreshed.
1268
+ * </p>
1269
+ * @public
1270
+ */
1271
+ Frequency?: RefreshScheduleFrequency | undefined;
1272
+ /**
1273
+ * <p>
1274
+ * Specifies whether the refresh schedule is enabled. Set the value to <code>ENABLED</code> to enable the refresh schedule, or to <code>DISABLED</code> to turn off the refresh schedule.
1275
+ * </p>
1276
+ * @public
1277
+ */
1278
+ Status?: RefreshScheduleStatus | undefined;
1279
+ /**
1280
+ * <p>
1281
+ * The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.
1282
+ * </p>
1283
+ * @public
1284
+ */
1285
+ TimeOfDay?: string | undefined;
1286
+ }
1287
+ /**
1288
+ * <p>
1289
+ * Contains information about a widget on a CloudTrail Lake dashboard.
1290
+ * </p>
1291
+ * @public
1292
+ */
1293
+ export interface RequestWidget {
1294
+ /**
1295
+ * <p>
1296
+ * The query statement for the widget. For custom dashboard widgets, you can query across multiple event data stores as long as all event data stores exist in your account.
1297
+ * </p>
1298
+ * <note>
1299
+ * <p>When a query uses <code>?</code> with <code>eventTime</code>, <code>?</code> must be surrounded by single quotes as follows: <code>'?'</code>.</p>
1300
+ * </note>
1301
+ * @public
1302
+ */
1303
+ QueryStatement: string | undefined;
1304
+ /**
1305
+ * <p>
1306
+ * The optional query parameters. The following query parameters are valid: <code>$StartTime$</code>, <code>$EndTime$</code>, and <code>$Period$</code>.
1307
+ * </p>
1308
+ * @public
1309
+ */
1310
+ QueryParameters?: string[] | undefined;
1311
+ /**
1312
+ * <p>
1313
+ * The view properties for the widget. For more information about view properties, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html">
1314
+ * View properties for widgets
1315
+ * </a> in the <i>CloudTrail User Guide</i>.
1316
+ * </p>
1317
+ * @public
1318
+ */
1319
+ ViewProperties: Record<string, string> | undefined;
1320
+ }
1321
+ /**
1322
+ * @public
1323
+ */
1324
+ export interface CreateDashboardRequest {
1325
+ /**
1326
+ * <p>
1327
+ * The name of the dashboard. The name must be unique to your account.
1328
+ * </p>
1329
+ * <p>To create the Highlights dashboard, the name must be <code>AWSCloudTrail-Highlights</code>.</p>
1330
+ * @public
1331
+ */
1332
+ Name: string | undefined;
1333
+ /**
1334
+ * <p>
1335
+ * The refresh schedule configuration for the dashboard.
1336
+ * </p>
1337
+ * <p>To create the Highlights dashboard, you must set a refresh schedule and set the <code>Status</code> to <code>ENABLED</code>. The <code>Unit</code> for the refresh schedule must be <code>HOURS</code>
1338
+ * and the <code>Value</code> must be <code>6</code>.</p>
1339
+ * @public
1340
+ */
1341
+ RefreshSchedule?: RefreshSchedule | undefined;
1342
+ /**
1343
+ * <p>A list of tags.</p>
1344
+ * @public
1345
+ */
1346
+ TagsList?: Tag[] | undefined;
1347
+ /**
1348
+ * <p>
1349
+ * Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.
1350
+ * </p>
1351
+ * @public
1352
+ */
1353
+ TerminationProtectionEnabled?: boolean | undefined;
1354
+ /**
1355
+ * <p>
1356
+ * An array of widgets for a custom dashboard. A custom dashboard can have a maximum of ten widgets.
1357
+ * </p>
1358
+ * <p>You do not need to specify widgets for the Highlights dashboard.</p>
1359
+ * @public
1360
+ */
1361
+ Widgets?: RequestWidget[] | undefined;
1362
+ }
1363
+ /**
1364
+ * @public
1365
+ * @enum
1366
+ */
1367
+ export declare const DashboardType: {
1368
+ readonly CUSTOM: "CUSTOM";
1369
+ readonly MANAGED: "MANAGED";
1370
+ };
1371
+ /**
1372
+ * @public
1373
+ */
1374
+ export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
1375
+ /**
1376
+ * <p>
1377
+ * A widget on a CloudTrail Lake dashboard.
1378
+ * </p>
1379
+ * @public
1380
+ */
1381
+ export interface Widget {
1382
+ /**
1383
+ * <p>The query alias used to identify the query for the widget.
1384
+ * </p>
1385
+ * @public
1386
+ */
1387
+ QueryAlias?: string | undefined;
1388
+ /**
1389
+ * <p>
1390
+ * The SQL query statement for the widget.
1391
+ * </p>
1392
+ * @public
1393
+ */
1394
+ QueryStatement?: string | undefined;
1395
+ /**
1396
+ * <p>
1397
+ * The query parameters for the widget.
1398
+ * </p>
1399
+ * @public
1400
+ */
1401
+ QueryParameters?: string[] | undefined;
1402
+ /**
1403
+ * <p>
1404
+ * The view properties for the widget. For more information about view properties, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html">
1405
+ * View properties for widgets
1406
+ * </a> in the <i>CloudTrail User Guide</i>..
1407
+ * </p>
1408
+ * @public
1409
+ */
1410
+ ViewProperties?: Record<string, string> | undefined;
1411
+ }
1412
+ /**
1413
+ * @public
1414
+ */
1415
+ export interface CreateDashboardResponse {
1416
+ /**
1417
+ * <p>
1418
+ * The ARN for the dashboard.
1419
+ * </p>
1420
+ * @public
1421
+ */
1422
+ DashboardArn?: string | undefined;
1423
+ /**
1424
+ * <p>
1425
+ * The name of the dashboard.
1426
+ * </p>
1427
+ * @public
1428
+ */
1429
+ Name?: string | undefined;
1430
+ /**
1431
+ * <p>
1432
+ * The dashboard type.
1433
+ * </p>
1434
+ * @public
1435
+ */
1436
+ Type?: DashboardType | undefined;
1437
+ /**
1438
+ * <p>
1439
+ * An array of widgets for the dashboard.
1440
+ * </p>
1441
+ * @public
1442
+ */
1443
+ Widgets?: Widget[] | undefined;
1444
+ /**
1445
+ * <p>A list of tags.</p>
1446
+ * @public
1447
+ */
1448
+ TagsList?: Tag[] | undefined;
1449
+ /**
1450
+ * <p>
1451
+ * The refresh schedule for the dashboard, if configured.
1452
+ * </p>
1453
+ * @public
1454
+ */
1455
+ RefreshSchedule?: RefreshSchedule | undefined;
1456
+ /**
1457
+ * <p>
1458
+ * Indicates whether termination protection is enabled for the dashboard.
1459
+ * </p>
1460
+ * @public
1461
+ */
1462
+ TerminationProtectionEnabled?: boolean | undefined;
1463
+ }
1464
+ /**
1465
+ * <p>For the <code>CreateTrail</code>
1466
+ * <code>PutInsightSelectors</code>, <code>UpdateTrail</code>, <code>StartQuery</code>, and <code>StartImport</code> operations, this exception is thrown
1467
+ * when the policy on the S3 bucket or KMS key does
1468
+ * not have sufficient permissions for the operation.</p>
1469
+ * <p>For all other operations, this exception is thrown when the policy for the KMS key does
1470
+ * not have sufficient permissions for the operation.</p>
1471
+ * @public
1472
+ */
1473
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
1474
+ readonly name: "InsufficientEncryptionPolicyException";
1475
+ readonly $fault: "client";
1476
+ /**
1477
+ * <p>Brief description of the exception returned by the request.</p>
1478
+ * @public
1479
+ */
1480
+ Message?: string | undefined;
1481
+ /**
1482
+ * @internal
1483
+ */
1484
+ constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
1485
+ }
1486
+ /**
1487
+ * <p>The query that was submitted has validation errors, or uses incorrect syntax or
1488
+ * 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
1489
+ * Guide</i>.</p>
1490
+ * @public
1491
+ */
1492
+ export declare class InvalidQueryStatementException extends __BaseException {
1493
+ readonly name: "InvalidQueryStatementException";
1494
+ readonly $fault: "client";
1495
+ /**
1496
+ * <p>Brief description of the exception returned by the request.</p>
1497
+ * @public
1498
+ */
1499
+ Message?: string | undefined;
1500
+ /**
1501
+ * @internal
1502
+ */
1503
+ constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
1504
+ }
1505
+ /**
1506
+ * <p>
1507
+ * 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>
1508
+ * in the <i>Amazon Web Services General Reference</i>.
1509
+ * </p>
1510
+ * @public
1511
+ */
1512
+ export declare class ServiceQuotaExceededException extends __BaseException {
1513
+ readonly name: "ServiceQuotaExceededException";
1514
+ readonly $fault: "client";
1515
+ /**
1516
+ * <p>Brief description of the exception returned by the request.</p>
1517
+ * @public
1518
+ */
1519
+ Message?: string | undefined;
1520
+ /**
1521
+ * @internal
1522
+ */
1523
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1524
+ }
1184
1525
  /**
1185
1526
  * <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>
1186
1527
  * @public
@@ -1478,24 +1819,6 @@ export declare class InsufficientDependencyServiceAccessPermissionException exte
1478
1819
  */
1479
1820
  constructor(opts: __ExceptionOptionType<InsufficientDependencyServiceAccessPermissionException, __BaseException>);
1480
1821
  }
1481
- /**
1482
- * <p>This exception is thrown when the policy on the S3 bucket or KMS key does
1483
- * not have sufficient permissions for the operation.</p>
1484
- * @public
1485
- */
1486
- export declare class InsufficientEncryptionPolicyException extends __BaseException {
1487
- readonly name: "InsufficientEncryptionPolicyException";
1488
- readonly $fault: "client";
1489
- /**
1490
- * <p>Brief description of the exception returned by the request.</p>
1491
- * @public
1492
- */
1493
- Message?: string | undefined;
1494
- /**
1495
- * @internal
1496
- */
1497
- constructor(opts: __ExceptionOptionType<InsufficientEncryptionPolicyException, __BaseException>);
1498
- }
1499
1822
  /**
1500
1823
  * <p>This exception is thrown when the <code>PutEventSelectors</code> operation is called
1501
1824
  * with a number of event selectors, advanced event selectors, or data resources that is not
@@ -2155,6 +2478,23 @@ export interface DeleteChannelRequest {
2155
2478
  */
2156
2479
  export interface DeleteChannelResponse {
2157
2480
  }
2481
+ /**
2482
+ * @public
2483
+ */
2484
+ export interface DeleteDashboardRequest {
2485
+ /**
2486
+ * <p>
2487
+ * The name or ARN for the dashboard.
2488
+ * </p>
2489
+ * @public
2490
+ */
2491
+ DashboardId: string | undefined;
2492
+ }
2493
+ /**
2494
+ * @public
2495
+ */
2496
+ export interface DeleteDashboardResponse {
2497
+ }
2158
2498
  /**
2159
2499
  * @public
2160
2500
  */
@@ -2232,10 +2572,15 @@ export declare class EventDataStoreTerminationProtectedException extends __BaseE
2232
2572
  export interface DeleteResourcePolicyRequest {
2233
2573
  /**
2234
2574
  * <p>
2235
- * The Amazon Resource Name (ARN) of the CloudTrail channel you're deleting the resource-based policy from.
2236
- * The following is the format of a resource ARN:
2237
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel</code>.
2238
- * </p>
2575
+ * The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel you're deleting the resource-based policy from.</p>
2576
+ * <p>Example event data store ARN format:
2577
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
2578
+ * </p>
2579
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
2580
+ * </p>
2581
+ * <p>Example channel ARN format:
2582
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
2583
+ * </p>
2239
2584
  * @public
2240
2585
  */
2241
2586
  ResourceArn: string | undefined;
@@ -2247,9 +2592,16 @@ export interface DeleteResourcePolicyResponse {
2247
2592
  }
2248
2593
  /**
2249
2594
  * <p>
2250
- * This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN:
2251
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel</code>.
2595
+ * This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid.
2252
2596
  * </p>
2597
+ * <p>The following is the format of an event data store ARN:
2598
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
2599
+ * </p>
2600
+ * <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
2601
+ * </p>
2602
+ * <p>The following is the format of a channel ARN:
2603
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
2604
+ * </p>
2253
2605
  * @public
2254
2606
  */
2255
2607
  export declare class ResourceARNNotValidException extends __BaseException {
@@ -2402,6 +2754,20 @@ export interface DescribeQueryRequest {
2402
2754
  * @public
2403
2755
  */
2404
2756
  QueryAlias?: string | undefined;
2757
+ /**
2758
+ * <p>
2759
+ * The ID of the dashboard refresh.
2760
+ * </p>
2761
+ * @public
2762
+ */
2763
+ RefreshId?: string | undefined;
2764
+ /**
2765
+ * <p>
2766
+ * The account ID of the event data store owner.
2767
+ * </p>
2768
+ * @public
2769
+ */
2770
+ EventDataStoreOwnerAccountId?: string | undefined;
2405
2771
  }
2406
2772
  /**
2407
2773
  * @public
@@ -2511,6 +2877,13 @@ export interface DescribeQueryResponse {
2511
2877
  * @public
2512
2878
  */
2513
2879
  Prompt?: string | undefined;
2880
+ /**
2881
+ * <p>
2882
+ * The account ID of the event data store owner.
2883
+ * </p>
2884
+ * @public
2885
+ */
2886
+ EventDataStoreOwnerAccountId?: string | undefined;
2514
2887
  }
2515
2888
  /**
2516
2889
  * <p>Returns information about the trail.</p>
@@ -2830,6 +3203,13 @@ export interface GenerateQueryResponse {
2830
3203
  * @public
2831
3204
  */
2832
3205
  QueryAlias?: string | undefined;
3206
+ /**
3207
+ * <p>
3208
+ * The account ID of the event data store owner.
3209
+ * </p>
3210
+ * @public
3211
+ */
3212
+ EventDataStoreOwnerAccountId?: string | undefined;
2833
3213
  }
2834
3214
  /**
2835
3215
  * <p>
@@ -2925,31 +3305,133 @@ export interface GetChannelResponse {
2925
3305
  * Amazon Web Services service. </p>
2926
3306
  * @public
2927
3307
  */
2928
- Name?: string | undefined;
3308
+ Name?: string | undefined;
3309
+ /**
3310
+ * <p>The source for the CloudTrail channel.</p>
3311
+ * @public
3312
+ */
3313
+ Source?: string | undefined;
3314
+ /**
3315
+ * <p> Provides information about the advanced event selectors configured for the channel, and
3316
+ * whether the channel applies to all Regions or a single Region. </p>
3317
+ * @public
3318
+ */
3319
+ SourceConfig?: SourceConfig | undefined;
3320
+ /**
3321
+ * <p>The destinations for the channel. For channels created for integrations,
3322
+ * the destinations are the event data stores that log events arriving through the channel.
3323
+ * For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.</p>
3324
+ * @public
3325
+ */
3326
+ Destinations?: Destination[] | undefined;
3327
+ /**
3328
+ * <p>A table showing information about the most recent successful and failed attempts
3329
+ * to ingest events.</p>
3330
+ * @public
3331
+ */
3332
+ IngestionStatus?: IngestionStatus | undefined;
3333
+ }
3334
+ /**
3335
+ * @public
3336
+ */
3337
+ export interface GetDashboardRequest {
3338
+ /**
3339
+ * <p>
3340
+ * The name or ARN for the dashboard.
3341
+ * </p>
3342
+ * @public
3343
+ */
3344
+ DashboardId: string | undefined;
3345
+ }
3346
+ /**
3347
+ * @public
3348
+ * @enum
3349
+ */
3350
+ export declare const DashboardStatus: {
3351
+ readonly CREATED: "CREATED";
3352
+ readonly CREATING: "CREATING";
3353
+ readonly DELETING: "DELETING";
3354
+ readonly UPDATED: "UPDATED";
3355
+ readonly UPDATING: "UPDATING";
3356
+ };
3357
+ /**
3358
+ * @public
3359
+ */
3360
+ export type DashboardStatus = (typeof DashboardStatus)[keyof typeof DashboardStatus];
3361
+ /**
3362
+ * @public
3363
+ */
3364
+ export interface GetDashboardResponse {
3365
+ /**
3366
+ * <p>
3367
+ * The ARN for the dashboard.
3368
+ * </p>
3369
+ * @public
3370
+ */
3371
+ DashboardArn?: string | undefined;
3372
+ /**
3373
+ * <p>
3374
+ * The type of dashboard.
3375
+ * </p>
3376
+ * @public
3377
+ */
3378
+ Type?: DashboardType | undefined;
3379
+ /**
3380
+ * <p>
3381
+ * The status of the dashboard.
3382
+ * </p>
3383
+ * @public
3384
+ */
3385
+ Status?: DashboardStatus | undefined;
3386
+ /**
3387
+ * <p>
3388
+ * An array of widgets for the dashboard.
3389
+ * </p>
3390
+ * @public
3391
+ */
3392
+ Widgets?: Widget[] | undefined;
3393
+ /**
3394
+ * <p>
3395
+ * The refresh schedule for the dashboard, if configured.
3396
+ * </p>
3397
+ * @public
3398
+ */
3399
+ RefreshSchedule?: RefreshSchedule | undefined;
2929
3400
  /**
2930
- * <p>The source for the CloudTrail channel.</p>
3401
+ * <p>
3402
+ * The timestamp that shows when the dashboard was created.
3403
+ * </p>
2931
3404
  * @public
2932
3405
  */
2933
- Source?: string | undefined;
3406
+ CreatedTimestamp?: Date | undefined;
2934
3407
  /**
2935
- * <p> Provides information about the advanced event selectors configured for the channel, and
2936
- * whether the channel applies to all Regions or a single Region. </p>
3408
+ * <p>
3409
+ * The timestamp that shows when the dashboard was last updated.
3410
+ * </p>
2937
3411
  * @public
2938
3412
  */
2939
- SourceConfig?: SourceConfig | undefined;
3413
+ UpdatedTimestamp?: Date | undefined;
2940
3414
  /**
2941
- * <p>The destinations for the channel. For channels created for integrations,
2942
- * the destinations are the event data stores that log events arriving through the channel.
2943
- * For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.</p>
3415
+ * <p>
3416
+ * The ID of the last dashboard refresh.
3417
+ * </p>
2944
3418
  * @public
2945
3419
  */
2946
- Destinations?: Destination[] | undefined;
3420
+ LastRefreshId?: string | undefined;
2947
3421
  /**
2948
- * <p>A table showing information about the most recent successful and failed attempts
2949
- * to ingest events.</p>
3422
+ * <p>
3423
+ * Provides information about failures for the last scheduled refresh.
3424
+ * </p>
2950
3425
  * @public
2951
3426
  */
2952
- IngestionStatus?: IngestionStatus | undefined;
3427
+ LastRefreshFailureReason?: string | undefined;
3428
+ /**
3429
+ * <p>
3430
+ * Indicates whether termination protection is enabled for the dashboard.
3431
+ * </p>
3432
+ * @public
3433
+ */
3434
+ TerminationProtectionEnabled?: boolean | undefined;
2953
3435
  }
2954
3436
  /**
2955
3437
  * @public
@@ -3669,6 +4151,13 @@ export interface GetQueryResultsRequest {
3669
4151
  * @public
3670
4152
  */
3671
4153
  MaxQueryResults?: number | undefined;
4154
+ /**
4155
+ * <p>
4156
+ * The account ID of the event data store owner.
4157
+ * </p>
4158
+ * @public
4159
+ */
4160
+ EventDataStoreOwnerAccountId?: string | undefined;
3672
4161
  }
3673
4162
  /**
3674
4163
  * <p>Metadata about a query, such as the number of results.</p>
@@ -3766,10 +4255,15 @@ export declare class InvalidNextTokenException extends __BaseException {
3766
4255
  export interface GetResourcePolicyRequest {
3767
4256
  /**
3768
4257
  * <p>
3769
- * The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy.
3770
- * The following is the format of a resource ARN:
3771
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel</code>.
3772
- * </p>
4258
+ * The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy.</p>
4259
+ * <p>Example event data store ARN format:
4260
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
4261
+ * </p>
4262
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
4263
+ * </p>
4264
+ * <p>Example channel ARN format:
4265
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
4266
+ * </p>
3773
4267
  * @public
3774
4268
  */
3775
4269
  ResourceArn: string | undefined;
@@ -3780,18 +4274,35 @@ export interface GetResourcePolicyRequest {
3780
4274
  export interface GetResourcePolicyResponse {
3781
4275
  /**
3782
4276
  * <p>
3783
- * The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.
4277
+ * The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to resource-based policy.
3784
4278
  * </p>
4279
+ * <p>Example event data store ARN format:
4280
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
4281
+ * </p>
4282
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
4283
+ * </p>
4284
+ * <p>Example channel ARN format:
4285
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
4286
+ * </p>
3785
4287
  * @public
3786
4288
  */
3787
4289
  ResourceArn?: string | undefined;
3788
4290
  /**
3789
4291
  * <p>
3790
- * A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
4292
+ * A JSON-formatted string that contains the resource-based policy attached to the CloudTrail event data store, dashboard, or channel.
3791
4293
  * </p>
3792
4294
  * @public
3793
4295
  */
3794
4296
  ResourcePolicy?: string | undefined;
4297
+ /**
4298
+ * <p>
4299
+ * The default resource-based policy that is automatically generated for the delegated administrator of an Organizations organization.
4300
+ * This policy will be evaluated in tandem with any policy you submit for the resource. For more information about this policy,
4301
+ * see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp">Default resource policy for delegated administrators</a>.
4302
+ * </p>
4303
+ * @public
4304
+ */
4305
+ DelegatedAdminResourcePolicy?: string | undefined;
3795
4306
  }
3796
4307
  /**
3797
4308
  * @public
@@ -3822,11 +4333,14 @@ export interface GetTrailStatusRequest {
3822
4333
  /**
3823
4334
  * <p>Specifies the name or the CloudTrail ARN of the trail for which you are
3824
4335
  * requesting status. To get the status of a shadow trail (a replication of the trail in
3825
- * another Region), you must specify its ARN. The following is the format of a trail
3826
- * ARN.</p>
4336
+ * another Region), you must specify its ARN.</p>
3827
4337
  * <p>
3828
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
4338
+ * The following is the format of a trail
4339
+ * ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
3829
4340
  * </p>
4341
+ * <note>
4342
+ * <p>If the trail is an organization trail and you are a member account in the organization in Organizations, you must provide the full ARN of that trail, and not just the name.</p>
4343
+ * </note>
3830
4344
  * @public
3831
4345
  */
3832
4346
  Name: string | undefined;
@@ -3983,6 +4497,80 @@ export interface ListChannelsResponse {
3983
4497
  */
3984
4498
  NextToken?: string | undefined;
3985
4499
  }
4500
+ /**
4501
+ * @public
4502
+ */
4503
+ export interface ListDashboardsRequest {
4504
+ /**
4505
+ * <p>
4506
+ * Specify a name prefix to filter on.
4507
+ * </p>
4508
+ * @public
4509
+ */
4510
+ NamePrefix?: string | undefined;
4511
+ /**
4512
+ * <p>
4513
+ * Specify a dashboard type to filter on: <code>CUSTOM</code> or <code>MANAGED</code>.
4514
+ * </p>
4515
+ * @public
4516
+ */
4517
+ Type?: DashboardType | undefined;
4518
+ /**
4519
+ * <p>
4520
+ * A token you can use to get the next page of dashboard results.
4521
+ * </p>
4522
+ * @public
4523
+ */
4524
+ NextToken?: string | undefined;
4525
+ /**
4526
+ * <p>
4527
+ * The maximum number of dashboards to display on a single page.
4528
+ * </p>
4529
+ * @public
4530
+ */
4531
+ MaxResults?: number | undefined;
4532
+ }
4533
+ /**
4534
+ * <p>
4535
+ * Provides information about a CloudTrail Lake dashboard.
4536
+ * </p>
4537
+ * @public
4538
+ */
4539
+ export interface DashboardDetail {
4540
+ /**
4541
+ * <p>
4542
+ * The ARN for the dashboard.
4543
+ * </p>
4544
+ * @public
4545
+ */
4546
+ DashboardArn?: string | undefined;
4547
+ /**
4548
+ * <p>
4549
+ * The type of dashboard.
4550
+ * </p>
4551
+ * @public
4552
+ */
4553
+ Type?: DashboardType | undefined;
4554
+ }
4555
+ /**
4556
+ * @public
4557
+ */
4558
+ export interface ListDashboardsResponse {
4559
+ /**
4560
+ * <p>
4561
+ * Contains information about dashboards in the account, in the current Region that match the applied filters.
4562
+ * </p>
4563
+ * @public
4564
+ */
4565
+ Dashboards?: DashboardDetail[] | undefined;
4566
+ /**
4567
+ * <p>
4568
+ * A token you can use to get the next page of dashboard results.
4569
+ * </p>
4570
+ * @public
4571
+ */
4572
+ NextToken?: string | undefined;
4573
+ }
3986
4574
  /**
3987
4575
  * @public
3988
4576
  */
@@ -4303,13 +4891,13 @@ export interface ListInsightsMetricDataRequest {
4303
4891
  */
4304
4892
  Period?: number | undefined;
4305
4893
  /**
4306
- * <p>Type of datapoints to return. Valid values are <code>NonZeroData</code> and
4894
+ * <p>Type of data points to return. Valid values are <code>NonZeroData</code> and
4307
4895
  * <code>FillWithZeros</code>. The default is <code>NonZeroData</code>.</p>
4308
4896
  * @public
4309
4897
  */
4310
4898
  DataType?: InsightsMetricDataType | undefined;
4311
4899
  /**
4312
- * <p>The maximum number of datapoints to return. Valid values are integers from 1 to 21600.
4900
+ * <p>The maximum number of data points to return. Valid values are integers from 1 to 21600.
4313
4901
  * The default value is 21600.</p>
4314
4902
  * @public
4315
4903
  */
@@ -4593,7 +5181,7 @@ export interface ListQueriesResponse {
4593
5181
  */
4594
5182
  export interface ListTagsRequest {
4595
5183
  /**
4596
- * <p>Specifies a list of trail, event data store, or channel ARNs whose tags will be listed. The list
5184
+ * <p>Specifies a list of trail, event data store, dashboard, or channel ARNs whose tags will be listed. The list
4597
5185
  * has a limit of 20 ARNs.</p>
4598
5186
  * <p> Example trail ARN format:
4599
5187
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
@@ -4601,6 +5189,8 @@ export interface ListTagsRequest {
4601
5189
  * <p>Example event data store ARN format:
4602
5190
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
4603
5191
  * </p>
5192
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
5193
+ * </p>
4604
5194
  * <p>Example channel ARN format:
4605
5195
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
4606
5196
  * </p>
@@ -5130,10 +5720,15 @@ export interface PutInsightSelectorsResponse {
5130
5720
  export interface PutResourcePolicyRequest {
5131
5721
  /**
5132
5722
  * <p>
5133
- * The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy.
5134
- * The following is the format of a resource ARN:
5135
- * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel</code>.
5136
- * </p>
5723
+ * The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy.</p>
5724
+ * <p>Example event data store ARN format:
5725
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
5726
+ * </p>
5727
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
5728
+ * </p>
5729
+ * <p>Example channel ARN format:
5730
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
5731
+ * </p>
5137
5732
  * @public
5138
5733
  */
5139
5734
  ResourceArn: string | undefined;
@@ -5141,24 +5736,9 @@ export interface PutResourcePolicyRequest {
5141
5736
  * <p>
5142
5737
  * A JSON-formatted string for an Amazon Web Services resource-based policy.
5143
5738
  * </p>
5144
- * <p>The following are requirements for the resource policy:</p>
5145
- * <ul>
5146
- * <li>
5147
- * <p>
5148
- * Contains only one action: cloudtrail-data:PutAuditEvents
5149
- * </p>
5150
- * </li>
5151
- * <li>
5152
- * <p>
5153
- * Contains at least one statement. The policy can have a maximum of 20 statements.
5154
- * </p>
5155
- * </li>
5156
- * <li>
5157
- * <p>
5158
- * Each statement contains at least one principal. A statement can have a maximum of 50 principals.
5159
- * </p>
5160
- * </li>
5161
- * </ul>
5739
+ * <p> For example resource-based policies, see
5740
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html">CloudTrail resource-based policy examples</a>
5741
+ * in the <i>CloudTrail User Guide</i>.</p>
5162
5742
  * @public
5163
5743
  */
5164
5744
  ResourcePolicy: string | undefined;
@@ -5169,41 +5749,40 @@ export interface PutResourcePolicyRequest {
5169
5749
  export interface PutResourcePolicyResponse {
5170
5750
  /**
5171
5751
  * <p>
5172
- * The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy.
5752
+ * The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy.
5173
5753
  * </p>
5754
+ * <p>Example event data store ARN format:
5755
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
5756
+ * </p>
5757
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
5758
+ * </p>
5759
+ * <p>Example channel ARN format:
5760
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
5761
+ * </p>
5174
5762
  * @public
5175
5763
  */
5176
5764
  ResourceArn?: string | undefined;
5177
5765
  /**
5178
5766
  * <p>
5179
- * The JSON-formatted string of the Amazon Web Services resource-based policy attached to the CloudTrail channel.
5767
+ * The JSON-formatted string of the Amazon Web Services resource-based policy attached to the CloudTrail event data store, dashboard, or channel.
5180
5768
  * </p>
5181
5769
  * @public
5182
5770
  */
5183
5771
  ResourcePolicy?: string | undefined;
5772
+ /**
5773
+ * <p>
5774
+ * The default resource-based policy that is automatically generated for the delegated administrator of an Organizations organization.
5775
+ * This policy will be evaluated in tandem with any policy you submit for the resource. For more information about this policy,
5776
+ * see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp">Default resource policy for delegated administrators</a>.
5777
+ * </p>
5778
+ * @public
5779
+ */
5780
+ DelegatedAdminResourcePolicy?: string | undefined;
5184
5781
  }
5185
5782
  /**
5186
5783
  * <p>
5187
5784
  * This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
5188
5785
  * </p>
5189
- * <p>The following are requirements for the resource policy:</p>
5190
- * <ul>
5191
- * <li>
5192
- * <p>
5193
- * Contains only one action: cloudtrail-data:PutAuditEvents
5194
- * </p>
5195
- * </li>
5196
- * <li>
5197
- * <p>
5198
- * Contains at least one statement. The policy can have a maximum of 20 statements.
5199
- * </p>
5200
- * </li>
5201
- * <li>
5202
- * <p>
5203
- * Each statement contains at least one principal. A statement can have a maximum of 50 principals.
5204
- * </p>
5205
- * </li>
5206
- * </ul>
5207
5786
  * @public
5208
5787
  */
5209
5788
  export declare class ResourcePolicyNotValidException extends __BaseException {
@@ -5257,12 +5836,12 @@ export interface RegisterOrganizationDelegatedAdminRequest {
5257
5836
  export interface RegisterOrganizationDelegatedAdminResponse {
5258
5837
  }
5259
5838
  /**
5260
- * <p>Specifies the tags to remove from a trail, event data store, or channel.</p>
5839
+ * <p>Specifies the tags to remove from a trail, event data store, dashboard, or channel.</p>
5261
5840
  * @public
5262
5841
  */
5263
5842
  export interface RemoveTagsRequest {
5264
5843
  /**
5265
- * <p>Specifies the ARN of the trail, event data store, or channel from which tags should be
5844
+ * <p>Specifies the ARN of the trail, event data store, dashboard, or channel from which tags should be
5266
5845
  * removed.</p>
5267
5846
  * <p> Example trail ARN format:
5268
5847
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
@@ -5270,6 +5849,8 @@ export interface RemoveTagsRequest {
5270
5849
  * <p>Example event data store ARN format:
5271
5850
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
5272
5851
  * </p>
5852
+ * <p>Example dashboard ARN format: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
5853
+ * </p>
5273
5854
  * <p>Example channel ARN format:
5274
5855
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
5275
5856
  * </p>
@@ -5391,6 +5972,41 @@ export interface RestoreEventDataStoreResponse {
5391
5972
  */
5392
5973
  BillingMode?: BillingMode | undefined;
5393
5974
  }
5975
+ /**
5976
+ * @public
5977
+ */
5978
+ export interface StartDashboardRefreshRequest {
5979
+ /**
5980
+ * <p>
5981
+ * The name or ARN of the dashboard.
5982
+ * </p>
5983
+ * @public
5984
+ */
5985
+ DashboardId: string | undefined;
5986
+ /**
5987
+ * <p>
5988
+ * The query parameter values for the dashboard
5989
+ * </p>
5990
+ * <p>For custom dashboards, the following query parameters are valid: <code>$StartTime$</code>, <code>$EndTime$</code>, and <code>$Period$</code>.</p>
5991
+ * <p>For managed dashboards, the following query parameters are valid: <code>$StartTime$</code>,
5992
+ * <code>$EndTime$</code>, <code>$Period$</code>, and <code>$EventDataStoreId$</code>. The
5993
+ * <code>$EventDataStoreId$</code> query parameter is required.</p>
5994
+ * @public
5995
+ */
5996
+ QueryParameterValues?: Record<string, string> | undefined;
5997
+ }
5998
+ /**
5999
+ * @public
6000
+ */
6001
+ export interface StartDashboardRefreshResponse {
6002
+ /**
6003
+ * <p>
6004
+ * The refresh ID for the dashboard.
6005
+ * </p>
6006
+ * @public
6007
+ */
6008
+ RefreshId?: string | undefined;
6009
+ }
5394
6010
  /**
5395
6011
  * @public
5396
6012
  */
@@ -5537,25 +6153,6 @@ export interface StartLoggingRequest {
5537
6153
  */
5538
6154
  export interface StartLoggingResponse {
5539
6155
  }
5540
- /**
5541
- * <p>The query that was submitted has validation errors, or uses incorrect syntax or
5542
- * 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
5543
- * Guide</i>.</p>
5544
- * @public
5545
- */
5546
- export declare class InvalidQueryStatementException extends __BaseException {
5547
- readonly name: "InvalidQueryStatementException";
5548
- readonly $fault: "client";
5549
- /**
5550
- * <p>Brief description of the exception returned by the request.</p>
5551
- * @public
5552
- */
5553
- Message?: string | undefined;
5554
- /**
5555
- * @internal
5556
- */
5557
- constructor(opts: __ExceptionOptionType<InvalidQueryStatementException, __BaseException>);
5558
- }
5559
6156
  /**
5560
6157
  * <p>You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some
5561
6158
  * queries to finish, and then run the query again.</p>
@@ -5602,6 +6199,13 @@ export interface StartQueryRequest {
5602
6199
  * @public
5603
6200
  */
5604
6201
  QueryParameters?: string[] | undefined;
6202
+ /**
6203
+ * <p>
6204
+ * The account ID of the event data store owner.
6205
+ * </p>
6206
+ * @public
6207
+ */
6208
+ EventDataStoreOwnerAccountId?: string | undefined;
5605
6209
  }
5606
6210
  /**
5607
6211
  * @public
@@ -5612,6 +6216,13 @@ export interface StartQueryResponse {
5612
6216
  * @public
5613
6217
  */
5614
6218
  QueryId?: string | undefined;
6219
+ /**
6220
+ * <p>
6221
+ * The account ID of the event data store owner.
6222
+ * </p>
6223
+ * @public
6224
+ */
6225
+ EventDataStoreOwnerAccountId?: string | undefined;
5615
6226
  }
5616
6227
  /**
5617
6228
  * @public
@@ -5763,6 +6374,102 @@ export interface UpdateChannelResponse {
5763
6374
  */
5764
6375
  Destinations?: Destination[] | undefined;
5765
6376
  }
6377
+ /**
6378
+ * @public
6379
+ */
6380
+ export interface UpdateDashboardRequest {
6381
+ /**
6382
+ * <p>
6383
+ * The name or ARN of the dashboard.
6384
+ * </p>
6385
+ * @public
6386
+ */
6387
+ DashboardId: string | undefined;
6388
+ /**
6389
+ * <p>
6390
+ * An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets.
6391
+ * </p>
6392
+ * <p>To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the <code>GetDashboard</code> operation to get the list of widgets for the dashboard.</p>
6393
+ * <p>To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.</p>
6394
+ * @public
6395
+ */
6396
+ Widgets?: RequestWidget[] | undefined;
6397
+ /**
6398
+ * <p>
6399
+ * The refresh schedule configuration for the dashboard.
6400
+ * </p>
6401
+ * @public
6402
+ */
6403
+ RefreshSchedule?: RefreshSchedule | undefined;
6404
+ /**
6405
+ * <p>
6406
+ * Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.
6407
+ * </p>
6408
+ * @public
6409
+ */
6410
+ TerminationProtectionEnabled?: boolean | undefined;
6411
+ }
6412
+ /**
6413
+ * @public
6414
+ */
6415
+ export interface UpdateDashboardResponse {
6416
+ /**
6417
+ * <p>
6418
+ * The ARN for the dashboard.
6419
+ * </p>
6420
+ * @public
6421
+ */
6422
+ DashboardArn?: string | undefined;
6423
+ /**
6424
+ * <p>
6425
+ * The name for the dashboard.
6426
+ * </p>
6427
+ * @public
6428
+ */
6429
+ Name?: string | undefined;
6430
+ /**
6431
+ * <p>
6432
+ * The type of dashboard.
6433
+ * </p>
6434
+ * @public
6435
+ */
6436
+ Type?: DashboardType | undefined;
6437
+ /**
6438
+ * <p>
6439
+ * An array of widgets for the dashboard.
6440
+ * </p>
6441
+ * @public
6442
+ */
6443
+ Widgets?: Widget[] | undefined;
6444
+ /**
6445
+ * <p>
6446
+ * The refresh schedule for the dashboard, if configured.
6447
+ * </p>
6448
+ * @public
6449
+ */
6450
+ RefreshSchedule?: RefreshSchedule | undefined;
6451
+ /**
6452
+ * <p>
6453
+ * Indicates whether termination protection is enabled for the dashboard.
6454
+ * </p>
6455
+ * @public
6456
+ */
6457
+ TerminationProtectionEnabled?: boolean | undefined;
6458
+ /**
6459
+ * <p>
6460
+ * The timestamp that shows when the dashboard was created.
6461
+ * </p>
6462
+ * @public
6463
+ */
6464
+ CreatedTimestamp?: Date | undefined;
6465
+ /**
6466
+ * <p>
6467
+ * The timestamp that shows when the dashboard was updated.
6468
+ * </p>
6469
+ * @public
6470
+ */
6471
+ UpdatedTimestamp?: Date | undefined;
6472
+ }
5766
6473
  /**
5767
6474
  * @public
5768
6475
  */