aws-sdk-cloudtrail 1.94.0 → 1.96.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.
@@ -44,11 +44,12 @@ module Aws::CloudTrail
44
44
  #
45
45
  class AccountRegisteredException < Aws::EmptyStructure; end
46
46
 
47
- # Specifies the tags to add to a trail, event data store, or channel.
47
+ # Specifies the tags to add to a trail, event data store, dashboard, or
48
+ # channel.
48
49
  #
49
50
  # @!attribute [rw] resource_id
50
- # Specifies the ARN of the trail, event data store, or channel to
51
- # which one or more tags will be added.
51
+ # Specifies the ARN of the trail, event data store, dashboard, or
52
+ # channel to which one or more tags will be added.
52
53
  #
53
54
  # The format of a trail ARN is:
54
55
  # `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
@@ -56,6 +57,9 @@ module Aws::CloudTrail
56
57
  # The format of an event data store ARN is:
57
58
  # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
58
59
  #
60
+ # The format of a dashboard ARN is:
61
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
62
+ #
59
63
  # The format of a channel ARN is:
60
64
  # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
61
65
  # @return [String]
@@ -244,7 +248,6 @@ module Aws::CloudTrail
244
248
  # * `kms.amazonaws.com`
245
249
  #
246
250
  # * `secretsmanager.amazonaws.com`
247
- #
248
251
  # * <b> <code>eventName</code> </b> - This is an optional field that
249
252
  # is only used for data events, management events (for event data
250
253
  # stores only), and network activity events. You can use any
@@ -262,7 +265,6 @@ module Aws::CloudTrail
262
265
  #
263
266
  # * For CloudTrail network activity events, the value must be
264
267
  # `NetworkActivity`.
265
- #
266
268
  # The following are used only for event data stores:
267
269
  #
268
270
  # * For CloudTrail Insights events, the value must be `Insight`.
@@ -274,7 +276,6 @@ module Aws::CloudTrail
274
276
  #
275
277
  # * For events outside of Amazon Web Services, the value must be
276
278
  # `ActivityAuditLog`.
277
- #
278
279
  # * <b> <code>eventType</code> </b> - This is an optional field
279
280
  # available only for event data stores, which is used to filter
280
281
  # management and data events on the event type. For information
@@ -398,11 +399,16 @@ module Aws::CloudTrail
398
399
  # from the response of a `StartQuery` operation.
399
400
  # @return [String]
400
401
  #
402
+ # @!attribute [rw] event_data_store_owner_account_id
403
+ # The account ID of the event data store owner.
404
+ # @return [String]
405
+ #
401
406
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQueryRequest AWS API Documentation
402
407
  #
403
408
  class CancelQueryRequest < Struct.new(
404
409
  :event_data_store,
405
- :query_id)
410
+ :query_id,
411
+ :event_data_store_owner_account_id)
406
412
  SENSITIVE = []
407
413
  include Aws::Structure
408
414
  end
@@ -416,11 +422,16 @@ module Aws::CloudTrail
416
422
  # Typically, the values shown are either `RUNNING` or `CANCELLED`.
417
423
  # @return [String]
418
424
  #
425
+ # @!attribute [rw] event_data_store_owner_account_id
426
+ # The account ID of the event data store owner.
427
+ # @return [String]
428
+ #
419
429
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQueryResponse AWS API Documentation
420
430
  #
421
431
  class CancelQueryResponse < Struct.new(
422
432
  :query_id,
423
- :query_status)
433
+ :query_status,
434
+ :event_data_store_owner_account_id)
424
435
  SENSITIVE = []
425
436
  include Aws::Structure
426
437
  end
@@ -498,6 +509,9 @@ module Aws::CloudTrail
498
509
  # The following is the format of an event data store ARN:
499
510
  # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
500
511
  #
512
+ # The following is the format of a dashboard ARN:
513
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
514
+ #
501
515
  # The following is the format of a channel ARN:
502
516
  # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
503
517
  #
@@ -626,6 +640,93 @@ module Aws::CloudTrail
626
640
  include Aws::Structure
627
641
  end
628
642
 
643
+ # @!attribute [rw] name
644
+ # The name of the dashboard. The name must be unique to your account.
645
+ #
646
+ # To create the Highlights dashboard, the name must be
647
+ # `AWSCloudTrail-Highlights`.
648
+ # @return [String]
649
+ #
650
+ # @!attribute [rw] refresh_schedule
651
+ # The refresh schedule configuration for the dashboard.
652
+ #
653
+ # To create the Highlights dashboard, you must set a refresh schedule
654
+ # and set the `Status` to `ENABLED`. The `Unit` for the refresh
655
+ # schedule must be `HOURS` and the `Value` must be `6`.
656
+ # @return [Types::RefreshSchedule]
657
+ #
658
+ # @!attribute [rw] tags_list
659
+ # A list of tags.
660
+ # @return [Array<Types::Tag>]
661
+ #
662
+ # @!attribute [rw] termination_protection_enabled
663
+ # Specifies whether termination protection is enabled for the
664
+ # dashboard. If termination protection is enabled, you cannot delete
665
+ # the dashboard until termination protection is disabled.
666
+ # @return [Boolean]
667
+ #
668
+ # @!attribute [rw] widgets
669
+ # An array of widgets for a custom dashboard. A custom dashboard can
670
+ # have a maximum of ten widgets.
671
+ #
672
+ # You do not need to specify widgets for the Highlights dashboard.
673
+ # @return [Array<Types::RequestWidget>]
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateDashboardRequest AWS API Documentation
676
+ #
677
+ class CreateDashboardRequest < Struct.new(
678
+ :name,
679
+ :refresh_schedule,
680
+ :tags_list,
681
+ :termination_protection_enabled,
682
+ :widgets)
683
+ SENSITIVE = []
684
+ include Aws::Structure
685
+ end
686
+
687
+ # @!attribute [rw] dashboard_arn
688
+ # The ARN for the dashboard.
689
+ # @return [String]
690
+ #
691
+ # @!attribute [rw] name
692
+ # The name of the dashboard.
693
+ # @return [String]
694
+ #
695
+ # @!attribute [rw] type
696
+ # The dashboard type.
697
+ # @return [String]
698
+ #
699
+ # @!attribute [rw] widgets
700
+ # An array of widgets for the dashboard.
701
+ # @return [Array<Types::Widget>]
702
+ #
703
+ # @!attribute [rw] tags_list
704
+ # A list of tags.
705
+ # @return [Array<Types::Tag>]
706
+ #
707
+ # @!attribute [rw] refresh_schedule
708
+ # The refresh schedule for the dashboard, if configured.
709
+ # @return [Types::RefreshSchedule]
710
+ #
711
+ # @!attribute [rw] termination_protection_enabled
712
+ # Indicates whether termination protection is enabled for the
713
+ # dashboard.
714
+ # @return [Boolean]
715
+ #
716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateDashboardResponse AWS API Documentation
717
+ #
718
+ class CreateDashboardResponse < Struct.new(
719
+ :dashboard_arn,
720
+ :name,
721
+ :type,
722
+ :widgets,
723
+ :tags_list,
724
+ :refresh_schedule,
725
+ :termination_protection_enabled)
726
+ SENSITIVE = []
727
+ include Aws::Structure
728
+ end
729
+
629
730
  # @!attribute [rw] name
630
731
  # The name of the event data store.
631
732
  # @return [String]
@@ -1108,6 +1209,25 @@ module Aws::CloudTrail
1108
1209
  include Aws::Structure
1109
1210
  end
1110
1211
 
1212
+ # Provides information about a CloudTrail Lake dashboard.
1213
+ #
1214
+ # @!attribute [rw] dashboard_arn
1215
+ # The ARN for the dashboard.
1216
+ # @return [String]
1217
+ #
1218
+ # @!attribute [rw] type
1219
+ # The type of dashboard.
1220
+ # @return [String]
1221
+ #
1222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DashboardDetail AWS API Documentation
1223
+ #
1224
+ class DashboardDetail < Struct.new(
1225
+ :dashboard_arn,
1226
+ :type)
1227
+ SENSITIVE = []
1228
+ include Aws::Structure
1229
+ end
1230
+
1111
1231
  # You can configure the `DataResource` in an `EventSelector` to log data
1112
1232
  # events for the following three resource types:
1113
1233
  #
@@ -1279,6 +1399,22 @@ module Aws::CloudTrail
1279
1399
  #
1280
1400
  class DeleteChannelResponse < Aws::EmptyStructure; end
1281
1401
 
1402
+ # @!attribute [rw] dashboard_id
1403
+ # The name or ARN for the dashboard.
1404
+ # @return [String]
1405
+ #
1406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteDashboardRequest AWS API Documentation
1407
+ #
1408
+ class DeleteDashboardRequest < Struct.new(
1409
+ :dashboard_id)
1410
+ SENSITIVE = []
1411
+ include Aws::Structure
1412
+ end
1413
+
1414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteDashboardResponse AWS API Documentation
1415
+ #
1416
+ class DeleteDashboardResponse < Aws::EmptyStructure; end
1417
+
1282
1418
  # @!attribute [rw] event_data_store
1283
1419
  # The ARN (or the ID suffix of the ARN) of the event data store to
1284
1420
  # delete.
@@ -1297,10 +1433,18 @@ module Aws::CloudTrail
1297
1433
  class DeleteEventDataStoreResponse < Aws::EmptyStructure; end
1298
1434
 
1299
1435
  # @!attribute [rw] resource_arn
1300
- # The Amazon Resource Name (ARN) of the CloudTrail channel you're
1301
- # deleting the resource-based policy from. The following is the format
1302
- # of a resource ARN:
1303
- # `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
1436
+ # The Amazon Resource Name (ARN) of the CloudTrail event data store,
1437
+ # dashboard, or channel you're deleting the resource-based policy
1438
+ # from.
1439
+ #
1440
+ # Example event data store ARN format:
1441
+ # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
1442
+ #
1443
+ # Example dashboard ARN format:
1444
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
1445
+ #
1446
+ # Example channel ARN format:
1447
+ # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
1304
1448
  # @return [String]
1305
1449
  #
1306
1450
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteResourcePolicyRequest AWS API Documentation
@@ -1376,12 +1520,22 @@ module Aws::CloudTrail
1376
1520
  # The alias that identifies a query template.
1377
1521
  # @return [String]
1378
1522
  #
1523
+ # @!attribute [rw] refresh_id
1524
+ # The ID of the dashboard refresh.
1525
+ # @return [String]
1526
+ #
1527
+ # @!attribute [rw] event_data_store_owner_account_id
1528
+ # The account ID of the event data store owner.
1529
+ # @return [String]
1530
+ #
1379
1531
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQueryRequest AWS API Documentation
1380
1532
  #
1381
1533
  class DescribeQueryRequest < Struct.new(
1382
1534
  :event_data_store,
1383
1535
  :query_id,
1384
- :query_alias)
1536
+ :query_alias,
1537
+ :refresh_id,
1538
+ :event_data_store_owner_account_id)
1385
1539
  SENSITIVE = []
1386
1540
  include Aws::Structure
1387
1541
  end
@@ -1428,6 +1582,10 @@ module Aws::CloudTrail
1428
1582
  # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html
1429
1583
  # @return [String]
1430
1584
  #
1585
+ # @!attribute [rw] event_data_store_owner_account_id
1586
+ # The account ID of the event data store owner.
1587
+ # @return [String]
1588
+ #
1431
1589
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQueryResponse AWS API Documentation
1432
1590
  #
1433
1591
  class DescribeQueryResponse < Struct.new(
@@ -1438,7 +1596,8 @@ module Aws::CloudTrail
1438
1596
  :error_message,
1439
1597
  :delivery_s3_uri,
1440
1598
  :delivery_status,
1441
- :prompt)
1599
+ :prompt,
1600
+ :event_data_store_owner_account_id)
1442
1601
  SENSITIVE = []
1443
1602
  include Aws::Structure
1444
1603
  end
@@ -1919,11 +2078,16 @@ module Aws::CloudTrail
1919
2078
  # `QueryStatement` parameter.
1920
2079
  # @return [String]
1921
2080
  #
2081
+ # @!attribute [rw] event_data_store_owner_account_id
2082
+ # The account ID of the event data store owner.
2083
+ # @return [String]
2084
+ #
1922
2085
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GenerateQueryResponse AWS API Documentation
1923
2086
  #
1924
2087
  class GenerateQueryResponse < Struct.new(
1925
2088
  :query_statement,
1926
- :query_alias)
2089
+ :query_alias,
2090
+ :event_data_store_owner_account_id)
1927
2091
  SENSITIVE = []
1928
2092
  include Aws::Structure
1929
2093
  end
@@ -1995,6 +2159,76 @@ module Aws::CloudTrail
1995
2159
  include Aws::Structure
1996
2160
  end
1997
2161
 
2162
+ # @!attribute [rw] dashboard_id
2163
+ # The name or ARN for the dashboard.
2164
+ # @return [String]
2165
+ #
2166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetDashboardRequest AWS API Documentation
2167
+ #
2168
+ class GetDashboardRequest < Struct.new(
2169
+ :dashboard_id)
2170
+ SENSITIVE = []
2171
+ include Aws::Structure
2172
+ end
2173
+
2174
+ # @!attribute [rw] dashboard_arn
2175
+ # The ARN for the dashboard.
2176
+ # @return [String]
2177
+ #
2178
+ # @!attribute [rw] type
2179
+ # The type of dashboard.
2180
+ # @return [String]
2181
+ #
2182
+ # @!attribute [rw] status
2183
+ # The status of the dashboard.
2184
+ # @return [String]
2185
+ #
2186
+ # @!attribute [rw] widgets
2187
+ # An array of widgets for the dashboard.
2188
+ # @return [Array<Types::Widget>]
2189
+ #
2190
+ # @!attribute [rw] refresh_schedule
2191
+ # The refresh schedule for the dashboard, if configured.
2192
+ # @return [Types::RefreshSchedule]
2193
+ #
2194
+ # @!attribute [rw] created_timestamp
2195
+ # The timestamp that shows when the dashboard was created.
2196
+ # @return [Time]
2197
+ #
2198
+ # @!attribute [rw] updated_timestamp
2199
+ # The timestamp that shows when the dashboard was last updated.
2200
+ # @return [Time]
2201
+ #
2202
+ # @!attribute [rw] last_refresh_id
2203
+ # The ID of the last dashboard refresh.
2204
+ # @return [String]
2205
+ #
2206
+ # @!attribute [rw] last_refresh_failure_reason
2207
+ # Provides information about failures for the last scheduled refresh.
2208
+ # @return [String]
2209
+ #
2210
+ # @!attribute [rw] termination_protection_enabled
2211
+ # Indicates whether termination protection is enabled for the
2212
+ # dashboard.
2213
+ # @return [Boolean]
2214
+ #
2215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetDashboardResponse AWS API Documentation
2216
+ #
2217
+ class GetDashboardResponse < Struct.new(
2218
+ :dashboard_arn,
2219
+ :type,
2220
+ :status,
2221
+ :widgets,
2222
+ :refresh_schedule,
2223
+ :created_timestamp,
2224
+ :updated_timestamp,
2225
+ :last_refresh_id,
2226
+ :last_refresh_failure_reason,
2227
+ :termination_protection_enabled)
2228
+ SENSITIVE = []
2229
+ include Aws::Structure
2230
+ end
2231
+
1998
2232
  # @!attribute [rw] event_data_store
1999
2233
  # The ARN (or ID suffix of the ARN) of the event data store about
2000
2234
  # which you want information.
@@ -2320,13 +2554,18 @@ module Aws::CloudTrail
2320
2554
  # The maximum number of query results to display on a single page.
2321
2555
  # @return [Integer]
2322
2556
  #
2557
+ # @!attribute [rw] event_data_store_owner_account_id
2558
+ # The account ID of the event data store owner.
2559
+ # @return [String]
2560
+ #
2323
2561
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetQueryResultsRequest AWS API Documentation
2324
2562
  #
2325
2563
  class GetQueryResultsRequest < Struct.new(
2326
2564
  :event_data_store,
2327
2565
  :query_id,
2328
2566
  :next_token,
2329
- :max_query_results)
2567
+ :max_query_results,
2568
+ :event_data_store_owner_account_id)
2330
2569
  SENSITIVE = []
2331
2570
  include Aws::Structure
2332
2571
  end
@@ -2365,9 +2604,17 @@ module Aws::CloudTrail
2365
2604
  end
2366
2605
 
2367
2606
  # @!attribute [rw] resource_arn
2368
- # The Amazon Resource Name (ARN) of the CloudTrail channel attached to
2369
- # the resource-based policy. The following is the format of a resource
2370
- # ARN: `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
2607
+ # The Amazon Resource Name (ARN) of the CloudTrail event data store,
2608
+ # dashboard, or channel attached to the resource-based policy.
2609
+ #
2610
+ # Example event data store ARN format:
2611
+ # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
2612
+ #
2613
+ # Example dashboard ARN format:
2614
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
2615
+ #
2616
+ # Example channel ARN format:
2617
+ # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
2371
2618
  # @return [String]
2372
2619
  #
2373
2620
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetResourcePolicyRequest AWS API Documentation
@@ -2379,20 +2626,42 @@ module Aws::CloudTrail
2379
2626
  end
2380
2627
 
2381
2628
  # @!attribute [rw] resource_arn
2382
- # The Amazon Resource Name (ARN) of the CloudTrail channel attached to
2383
- # resource-based policy.
2629
+ # The Amazon Resource Name (ARN) of the CloudTrail event data store,
2630
+ # dashboard, or channel attached to resource-based policy.
2631
+ #
2632
+ # Example event data store ARN format:
2633
+ # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
2634
+ #
2635
+ # Example dashboard ARN format:
2636
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
2637
+ #
2638
+ # Example channel ARN format:
2639
+ # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
2384
2640
  # @return [String]
2385
2641
  #
2386
2642
  # @!attribute [rw] resource_policy
2387
2643
  # A JSON-formatted string that contains the resource-based policy
2388
- # attached to the CloudTrail channel.
2644
+ # attached to the CloudTrail event data store, dashboard, or channel.
2645
+ # @return [String]
2646
+ #
2647
+ # @!attribute [rw] delegated_admin_resource_policy
2648
+ # The default resource-based policy that is automatically generated
2649
+ # for the delegated administrator of an Organizations organization.
2650
+ # This policy will be evaluated in tandem with any policy you submit
2651
+ # for the resource. For more information about this policy, see
2652
+ # [Default resource policy for delegated administrators][1].
2653
+ #
2654
+ #
2655
+ #
2656
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp
2389
2657
  # @return [String]
2390
2658
  #
2391
2659
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetResourcePolicyResponse AWS API Documentation
2392
2660
  #
2393
2661
  class GetResourcePolicyResponse < Struct.new(
2394
2662
  :resource_arn,
2395
- :resource_policy)
2663
+ :resource_policy,
2664
+ :delegated_admin_resource_policy)
2396
2665
  SENSITIVE = []
2397
2666
  include Aws::Structure
2398
2667
  end
@@ -2428,9 +2697,16 @@ module Aws::CloudTrail
2428
2697
  # Specifies the name or the CloudTrail ARN of the trail for which you
2429
2698
  # are requesting status. To get the status of a shadow trail (a
2430
2699
  # replication of the trail in another Region), you must specify its
2431
- # ARN. The following is the format of a trail ARN.
2700
+ # ARN.
2432
2701
  #
2702
+ # The following is the format of a trail ARN:
2433
2703
  # `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
2704
+ #
2705
+ # <note markdown="1"> If the trail is an organization trail and you are a member account
2706
+ # in the organization in Organizations, you must provide the full ARN
2707
+ # of that trail, and not just the name.
2708
+ #
2709
+ # </note>
2434
2710
  # @return [String]
2435
2711
  #
2436
2712
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusRequest AWS API Documentation
@@ -2801,8 +3077,13 @@ module Aws::CloudTrail
2801
3077
  #
2802
3078
  class InsufficientDependencyServiceAccessPermissionException < Aws::EmptyStructure; end
2803
3079
 
2804
- # This exception is thrown when the policy on the S3 bucket or KMS key
2805
- # does not have sufficient permissions for the operation.
3080
+ # For the `CreateTrail` `PutInsightSelectors`, `UpdateTrail`,
3081
+ # `StartQuery`, and `StartImport` operations, this exception is thrown
3082
+ # when the policy on the S3 bucket or KMS key does not have sufficient
3083
+ # permissions for the operation.
3084
+ #
3085
+ # For all other operations, this exception is thrown when the policy for
3086
+ # the KMS key does not have sufficient permissions for the operation.
2806
3087
  #
2807
3088
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsufficientEncryptionPolicyException AWS API Documentation
2808
3089
  #
@@ -3123,6 +3404,51 @@ module Aws::CloudTrail
3123
3404
  include Aws::Structure
3124
3405
  end
3125
3406
 
3407
+ # @!attribute [rw] name_prefix
3408
+ # Specify a name prefix to filter on.
3409
+ # @return [String]
3410
+ #
3411
+ # @!attribute [rw] type
3412
+ # Specify a dashboard type to filter on: `CUSTOM` or `MANAGED`.
3413
+ # @return [String]
3414
+ #
3415
+ # @!attribute [rw] next_token
3416
+ # A token you can use to get the next page of dashboard results.
3417
+ # @return [String]
3418
+ #
3419
+ # @!attribute [rw] max_results
3420
+ # The maximum number of dashboards to display on a single page.
3421
+ # @return [Integer]
3422
+ #
3423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListDashboardsRequest AWS API Documentation
3424
+ #
3425
+ class ListDashboardsRequest < Struct.new(
3426
+ :name_prefix,
3427
+ :type,
3428
+ :next_token,
3429
+ :max_results)
3430
+ SENSITIVE = []
3431
+ include Aws::Structure
3432
+ end
3433
+
3434
+ # @!attribute [rw] dashboards
3435
+ # Contains information about dashboards in the account, in the current
3436
+ # Region that match the applied filters.
3437
+ # @return [Array<Types::DashboardDetail>]
3438
+ #
3439
+ # @!attribute [rw] next_token
3440
+ # A token you can use to get the next page of dashboard results.
3441
+ # @return [String]
3442
+ #
3443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListDashboardsResponse AWS API Documentation
3444
+ #
3445
+ class ListDashboardsResponse < Struct.new(
3446
+ :dashboards,
3447
+ :next_token)
3448
+ SENSITIVE = []
3449
+ include Aws::Structure
3450
+ end
3451
+
3126
3452
  # @!attribute [rw] next_token
3127
3453
  # A token you can use to get the next page of event data store
3128
3454
  # results.
@@ -3292,12 +3618,12 @@ module Aws::CloudTrail
3292
3618
  # @return [Integer]
3293
3619
  #
3294
3620
  # @!attribute [rw] data_type
3295
- # Type of datapoints to return. Valid values are `NonZeroData` and
3621
+ # Type of data points to return. Valid values are `NonZeroData` and
3296
3622
  # `FillWithZeros`. The default is `NonZeroData`.
3297
3623
  # @return [String]
3298
3624
  #
3299
3625
  # @!attribute [rw] max_results
3300
- # The maximum number of datapoints to return. Valid values are
3626
+ # The maximum number of data points to return. Valid values are
3301
3627
  # integers from 1 to 21600. The default value is 21600.
3302
3628
  # @return [Integer]
3303
3629
  #
@@ -3499,8 +3825,8 @@ module Aws::CloudTrail
3499
3825
  # Specifies a list of tags to return.
3500
3826
  #
3501
3827
  # @!attribute [rw] resource_id_list
3502
- # Specifies a list of trail, event data store, or channel ARNs whose
3503
- # tags will be listed. The list has a limit of 20 ARNs.
3828
+ # Specifies a list of trail, event data store, dashboard, or channel
3829
+ # ARNs whose tags will be listed. The list has a limit of 20 ARNs.
3504
3830
  #
3505
3831
  # Example trail ARN format:
3506
3832
  # `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
@@ -3508,6 +3834,9 @@ module Aws::CloudTrail
3508
3834
  # Example event data store ARN format:
3509
3835
  # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
3510
3836
  #
3837
+ # Example dashboard ARN format:
3838
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
3839
+ #
3511
3840
  # Example channel ARN format:
3512
3841
  # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
3513
3842
  # @return [Array<String>]
@@ -3983,24 +4312,29 @@ module Aws::CloudTrail
3983
4312
  end
3984
4313
 
3985
4314
  # @!attribute [rw] resource_arn
3986
- # The Amazon Resource Name (ARN) of the CloudTrail channel attached to
3987
- # the resource-based policy. The following is the format of a resource
3988
- # ARN: `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
4315
+ # The Amazon Resource Name (ARN) of the CloudTrail event data store,
4316
+ # dashboard, or channel attached to the resource-based policy.
4317
+ #
4318
+ # Example event data store ARN format:
4319
+ # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
4320
+ #
4321
+ # Example dashboard ARN format:
4322
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
4323
+ #
4324
+ # Example channel ARN format:
4325
+ # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
3989
4326
  # @return [String]
3990
4327
  #
3991
4328
  # @!attribute [rw] resource_policy
3992
4329
  # A JSON-formatted string for an Amazon Web Services resource-based
3993
4330
  # policy.
3994
4331
  #
3995
- # The following are requirements for the resource policy:
4332
+ # For example resource-based policies, see [CloudTrail resource-based
4333
+ # policy examples][1] in the *CloudTrail User Guide*.
3996
4334
  #
3997
- # * Contains only one action: cloudtrail-data:PutAuditEvents
3998
4335
  #
3999
- # * Contains at least one statement. The policy can have a maximum of
4000
- # 20 statements.
4001
4336
  #
4002
- # * Each statement contains at least one principal. A statement can
4003
- # have a maximum of 50 principals.
4337
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html
4004
4338
  # @return [String]
4005
4339
  #
4006
4340
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutResourcePolicyRequest AWS API Documentation
@@ -4013,20 +4347,43 @@ module Aws::CloudTrail
4013
4347
  end
4014
4348
 
4015
4349
  # @!attribute [rw] resource_arn
4016
- # The Amazon Resource Name (ARN) of the CloudTrail channel attached to
4017
- # the resource-based policy.
4350
+ # The Amazon Resource Name (ARN) of the CloudTrail event data store,
4351
+ # dashboard, or channel attached to the resource-based policy.
4352
+ #
4353
+ # Example event data store ARN format:
4354
+ # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
4355
+ #
4356
+ # Example dashboard ARN format:
4357
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
4358
+ #
4359
+ # Example channel ARN format:
4360
+ # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
4018
4361
  # @return [String]
4019
4362
  #
4020
4363
  # @!attribute [rw] resource_policy
4021
4364
  # The JSON-formatted string of the Amazon Web Services resource-based
4022
- # policy attached to the CloudTrail channel.
4365
+ # policy attached to the CloudTrail event data store, dashboard, or
4366
+ # channel.
4367
+ # @return [String]
4368
+ #
4369
+ # @!attribute [rw] delegated_admin_resource_policy
4370
+ # The default resource-based policy that is automatically generated
4371
+ # for the delegated administrator of an Organizations organization.
4372
+ # This policy will be evaluated in tandem with any policy you submit
4373
+ # for the resource. For more information about this policy, see
4374
+ # [Default resource policy for delegated administrators][1].
4375
+ #
4376
+ #
4377
+ #
4378
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp
4023
4379
  # @return [String]
4024
4380
  #
4025
4381
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutResourcePolicyResponse AWS API Documentation
4026
4382
  #
4027
4383
  class PutResourcePolicyResponse < Struct.new(
4028
4384
  :resource_arn,
4029
- :resource_policy)
4385
+ :resource_policy,
4386
+ :delegated_admin_resource_policy)
4030
4387
  SENSITIVE = []
4031
4388
  include Aws::Structure
4032
4389
  end
@@ -4127,6 +4484,67 @@ module Aws::CloudTrail
4127
4484
  include Aws::Structure
4128
4485
  end
4129
4486
 
4487
+ # The schedule for a dashboard refresh.
4488
+ #
4489
+ # @!attribute [rw] frequency
4490
+ # The frequency at which you want the dashboard refreshed.
4491
+ # @return [Types::RefreshScheduleFrequency]
4492
+ #
4493
+ # @!attribute [rw] status
4494
+ # Specifies whether the refresh schedule is enabled. Set the value to
4495
+ # `ENABLED` to enable the refresh schedule, or to `DISABLED` to turn
4496
+ # off the refresh schedule.
4497
+ # @return [String]
4498
+ #
4499
+ # @!attribute [rw] time_of_day
4500
+ # The time of day in UTC to run the schedule; for hourly only refer to
4501
+ # minutes; default is 00:00.
4502
+ # @return [String]
4503
+ #
4504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RefreshSchedule AWS API Documentation
4505
+ #
4506
+ class RefreshSchedule < Struct.new(
4507
+ :frequency,
4508
+ :status,
4509
+ :time_of_day)
4510
+ SENSITIVE = []
4511
+ include Aws::Structure
4512
+ end
4513
+
4514
+ # Specifies the frequency for a dashboard refresh schedule.
4515
+ #
4516
+ # For a custom dashboard, you can schedule a refresh for every 1, 6, 12,
4517
+ # or 24 hours, or every day.
4518
+ #
4519
+ # @!attribute [rw] unit
4520
+ # The unit to use for the refresh.
4521
+ #
4522
+ # For custom dashboards, the unit can be `HOURS` or `DAYS`.
4523
+ #
4524
+ # For the Highlights dashboard, the `Unit` must be `HOURS`.
4525
+ # @return [String]
4526
+ #
4527
+ # @!attribute [rw] value
4528
+ # The value for the refresh schedule.
4529
+ #
4530
+ # For custom dashboards, the following values are valid when the unit
4531
+ # is `HOURS`: `1`, `6`, `12`, `24`
4532
+ #
4533
+ # For custom dashboards, the only valid value when the unit is `DAYS`
4534
+ # is `1`.
4535
+ #
4536
+ # For the Highlights dashboard, the `Value` must be `6`.
4537
+ # @return [Integer]
4538
+ #
4539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RefreshScheduleFrequency AWS API Documentation
4540
+ #
4541
+ class RefreshScheduleFrequency < Struct.new(
4542
+ :unit,
4543
+ :value)
4544
+ SENSITIVE = []
4545
+ include Aws::Structure
4546
+ end
4547
+
4130
4548
  # Specifies an organization member account ID as a CloudTrail delegated
4131
4549
  # administrator.
4132
4550
  #
@@ -4150,12 +4568,12 @@ module Aws::CloudTrail
4150
4568
  #
4151
4569
  class RegisterOrganizationDelegatedAdminResponse < Aws::EmptyStructure; end
4152
4570
 
4153
- # Specifies the tags to remove from a trail, event data store, or
4154
- # channel.
4571
+ # Specifies the tags to remove from a trail, event data store,
4572
+ # dashboard, or channel.
4155
4573
  #
4156
4574
  # @!attribute [rw] resource_id
4157
- # Specifies the ARN of the trail, event data store, or channel from
4158
- # which tags should be removed.
4575
+ # Specifies the ARN of the trail, event data store, dashboard, or
4576
+ # channel from which tags should be removed.
4159
4577
  #
4160
4578
  # Example trail ARN format:
4161
4579
  # `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
@@ -4163,6 +4581,9 @@ module Aws::CloudTrail
4163
4581
  # Example event data store ARN format:
4164
4582
  # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
4165
4583
  #
4584
+ # Example dashboard ARN format:
4585
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
4586
+ #
4166
4587
  # Example channel ARN format:
4167
4588
  # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
4168
4589
  # @return [String]
@@ -4187,6 +4608,44 @@ module Aws::CloudTrail
4187
4608
  #
4188
4609
  class RemoveTagsResponse < Aws::EmptyStructure; end
4189
4610
 
4611
+ # Contains information about a widget on a CloudTrail Lake dashboard.
4612
+ #
4613
+ # @!attribute [rw] query_statement
4614
+ # The query statement for the widget. For custom dashboard widgets,
4615
+ # you can query across multiple event data stores as long as all event
4616
+ # data stores exist in your account.
4617
+ #
4618
+ # <note markdown="1"> When a query uses `?` with `eventTime`, `?` must be surrounded by
4619
+ # single quotes as follows: `'?'`.
4620
+ #
4621
+ # </note>
4622
+ # @return [String]
4623
+ #
4624
+ # @!attribute [rw] query_parameters
4625
+ # The optional query parameters. The following query parameters are
4626
+ # valid: `$StartTime$`, `$EndTime$`, and `$Period$`.
4627
+ # @return [Array<String>]
4628
+ #
4629
+ # @!attribute [rw] view_properties
4630
+ # The view properties for the widget. For more information about view
4631
+ # properties, see [ View properties for widgets ][1] in the
4632
+ # *CloudTrail User Guide*.
4633
+ #
4634
+ #
4635
+ #
4636
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html
4637
+ # @return [Hash<String,String>]
4638
+ #
4639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RequestWidget AWS API Documentation
4640
+ #
4641
+ class RequestWidget < Struct.new(
4642
+ :query_statement,
4643
+ :query_parameters,
4644
+ :view_properties)
4645
+ SENSITIVE = []
4646
+ include Aws::Structure
4647
+ end
4648
+
4190
4649
  # Specifies the type and name of a resource referenced by an event.
4191
4650
  #
4192
4651
  # @!attribute [rw] resource_type
@@ -4220,9 +4679,16 @@ module Aws::CloudTrail
4220
4679
  end
4221
4680
 
4222
4681
  # This exception is thrown when the provided resource does not exist, or
4223
- # the ARN format of the resource is not valid. The following is the
4224
- # valid format for a resource ARN:
4225
- # `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
4682
+ # the ARN format of the resource is not valid.
4683
+ #
4684
+ # The following is the format of an event data store ARN:
4685
+ # `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
4686
+ #
4687
+ # The following is the format of a dashboard ARN:
4688
+ # `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`
4689
+ #
4690
+ # The following is the format of a channel ARN:
4691
+ # `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
4226
4692
  #
4227
4693
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceARNNotValidException AWS API Documentation
4228
4694
  #
@@ -4244,16 +4710,6 @@ module Aws::CloudTrail
4244
4710
  # This exception is thrown when the resouce-based policy has syntax
4245
4711
  # errors, or contains a principal that is not valid.
4246
4712
  #
4247
- # The following are requirements for the resource policy:
4248
- #
4249
- # * Contains only one action: cloudtrail-data:PutAuditEvents
4250
- #
4251
- # * Contains at least one statement. The policy can have a maximum of 20
4252
- # statements.
4253
- #
4254
- # * Each statement contains at least one principal. A statement can have
4255
- # a maximum of 50 principals.
4256
- #
4257
4713
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourcePolicyNotValidException AWS API Documentation
4258
4714
  #
4259
4715
  class ResourcePolicyNotValidException < Aws::EmptyStructure; end
@@ -4404,6 +4860,18 @@ module Aws::CloudTrail
4404
4860
  include Aws::Structure
4405
4861
  end
4406
4862
 
4863
+ # This exception is thrown when the quota is exceeded. For information
4864
+ # about CloudTrail quotas, see [Service quotas][1] in the *Amazon Web
4865
+ # Services General Reference*.
4866
+ #
4867
+ #
4868
+ #
4869
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/ct.html#limits_cloudtrail
4870
+ #
4871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ServiceQuotaExceededException AWS API Documentation
4872
+ #
4873
+ class ServiceQuotaExceededException < Aws::EmptyStructure; end
4874
+
4407
4875
  # Contains configuration information about the channel.
4408
4876
  #
4409
4877
  # @!attribute [rw] apply_to_all_regions
@@ -4424,6 +4892,42 @@ module Aws::CloudTrail
4424
4892
  include Aws::Structure
4425
4893
  end
4426
4894
 
4895
+ # @!attribute [rw] dashboard_id
4896
+ # The name or ARN of the dashboard.
4897
+ # @return [String]
4898
+ #
4899
+ # @!attribute [rw] query_parameter_values
4900
+ # The query parameter values for the dashboard
4901
+ #
4902
+ # For custom dashboards, the following query parameters are valid:
4903
+ # `$StartTime$`, `$EndTime$`, and `$Period$`.
4904
+ #
4905
+ # For managed dashboards, the following query parameters are valid:
4906
+ # `$StartTime$`, `$EndTime$`, `$Period$`, and `$EventDataStoreId$`.
4907
+ # The `$EventDataStoreId$` query parameter is required.
4908
+ # @return [Hash<String,String>]
4909
+ #
4910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartDashboardRefreshRequest AWS API Documentation
4911
+ #
4912
+ class StartDashboardRefreshRequest < Struct.new(
4913
+ :dashboard_id,
4914
+ :query_parameter_values)
4915
+ SENSITIVE = []
4916
+ include Aws::Structure
4917
+ end
4918
+
4919
+ # @!attribute [rw] refresh_id
4920
+ # The refresh ID for the dashboard.
4921
+ # @return [String]
4922
+ #
4923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartDashboardRefreshResponse AWS API Documentation
4924
+ #
4925
+ class StartDashboardRefreshResponse < Struct.new(
4926
+ :refresh_id)
4927
+ SENSITIVE = []
4928
+ include Aws::Structure
4929
+ end
4930
+
4427
4931
  # @!attribute [rw] event_data_store
4428
4932
  # The ARN (or ID suffix of the ARN) of the event data store for which
4429
4933
  # you want to start ingestion.
@@ -4582,13 +5086,18 @@ module Aws::CloudTrail
4582
5086
  # The query parameters for the specified `QueryAlias`.
4583
5087
  # @return [Array<String>]
4584
5088
  #
5089
+ # @!attribute [rw] event_data_store_owner_account_id
5090
+ # The account ID of the event data store owner.
5091
+ # @return [String]
5092
+ #
4585
5093
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQueryRequest AWS API Documentation
4586
5094
  #
4587
5095
  class StartQueryRequest < Struct.new(
4588
5096
  :query_statement,
4589
5097
  :delivery_s3_uri,
4590
5098
  :query_alias,
4591
- :query_parameters)
5099
+ :query_parameters,
5100
+ :event_data_store_owner_account_id)
4592
5101
  SENSITIVE = []
4593
5102
  include Aws::Structure
4594
5103
  end
@@ -4597,10 +5106,15 @@ module Aws::CloudTrail
4597
5106
  # The ID of the started query.
4598
5107
  # @return [String]
4599
5108
  #
5109
+ # @!attribute [rw] event_data_store_owner_account_id
5110
+ # The account ID of the event data store owner.
5111
+ # @return [String]
5112
+ #
4600
5113
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQueryResponse AWS API Documentation
4601
5114
  #
4602
5115
  class StartQueryResponse < Struct.new(
4603
- :query_id)
5116
+ :query_id,
5117
+ :event_data_store_owner_account_id)
4604
5118
  SENSITIVE = []
4605
5119
  include Aws::Structure
4606
5120
  end
@@ -4717,7 +5231,7 @@ module Aws::CloudTrail
4717
5231
  class StopLoggingResponse < Aws::EmptyStructure; end
4718
5232
 
4719
5233
  # A custom key-value pair associated with a resource such as a
4720
- # CloudTrail trail, event data store, or channel.
5234
+ # CloudTrail trail, event data store, dashboard, or channel.
4721
5235
  #
4722
5236
  # @!attribute [rw] key
4723
5237
  # The key in a key-value pair. The key must be must be no longer than
@@ -4739,8 +5253,8 @@ module Aws::CloudTrail
4739
5253
  include Aws::Structure
4740
5254
  end
4741
5255
 
4742
- # The number of tags per trail, event data store, or channel has
4743
- # exceeded the permitted amount. Currently, the limit is 50.
5256
+ # The number of tags per trail, event data store, dashboard, or channel
5257
+ # has exceeded the permitted amount. Currently, the limit is 50.
4744
5258
  #
4745
5259
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/TagsLimitExceededException AWS API Documentation
4746
5260
  #
@@ -4972,6 +5486,91 @@ module Aws::CloudTrail
4972
5486
  include Aws::Structure
4973
5487
  end
4974
5488
 
5489
+ # @!attribute [rw] dashboard_id
5490
+ # The name or ARN of the dashboard.
5491
+ # @return [String]
5492
+ #
5493
+ # @!attribute [rw] widgets
5494
+ # An array of widgets for the dashboard. A custom dashboard can have a
5495
+ # maximum of 10 widgets.
5496
+ #
5497
+ # To add new widgets, pass in an array that includes the existing
5498
+ # widgets along with any new widgets. Run the `GetDashboard` operation
5499
+ # to get the list of widgets for the dashboard.
5500
+ #
5501
+ # To remove widgets, pass in an array that includes the existing
5502
+ # widgets minus the widgets you want removed.
5503
+ # @return [Array<Types::RequestWidget>]
5504
+ #
5505
+ # @!attribute [rw] refresh_schedule
5506
+ # The refresh schedule configuration for the dashboard.
5507
+ # @return [Types::RefreshSchedule]
5508
+ #
5509
+ # @!attribute [rw] termination_protection_enabled
5510
+ # Specifies whether termination protection is enabled for the
5511
+ # dashboard. If termination protection is enabled, you cannot delete
5512
+ # the dashboard until termination protection is disabled.
5513
+ # @return [Boolean]
5514
+ #
5515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateDashboardRequest AWS API Documentation
5516
+ #
5517
+ class UpdateDashboardRequest < Struct.new(
5518
+ :dashboard_id,
5519
+ :widgets,
5520
+ :refresh_schedule,
5521
+ :termination_protection_enabled)
5522
+ SENSITIVE = []
5523
+ include Aws::Structure
5524
+ end
5525
+
5526
+ # @!attribute [rw] dashboard_arn
5527
+ # The ARN for the dashboard.
5528
+ # @return [String]
5529
+ #
5530
+ # @!attribute [rw] name
5531
+ # The name for the dashboard.
5532
+ # @return [String]
5533
+ #
5534
+ # @!attribute [rw] type
5535
+ # The type of dashboard.
5536
+ # @return [String]
5537
+ #
5538
+ # @!attribute [rw] widgets
5539
+ # An array of widgets for the dashboard.
5540
+ # @return [Array<Types::Widget>]
5541
+ #
5542
+ # @!attribute [rw] refresh_schedule
5543
+ # The refresh schedule for the dashboard, if configured.
5544
+ # @return [Types::RefreshSchedule]
5545
+ #
5546
+ # @!attribute [rw] termination_protection_enabled
5547
+ # Indicates whether termination protection is enabled for the
5548
+ # dashboard.
5549
+ # @return [Boolean]
5550
+ #
5551
+ # @!attribute [rw] created_timestamp
5552
+ # The timestamp that shows when the dashboard was created.
5553
+ # @return [Time]
5554
+ #
5555
+ # @!attribute [rw] updated_timestamp
5556
+ # The timestamp that shows when the dashboard was updated.
5557
+ # @return [Time]
5558
+ #
5559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateDashboardResponse AWS API Documentation
5560
+ #
5561
+ class UpdateDashboardResponse < Struct.new(
5562
+ :dashboard_arn,
5563
+ :name,
5564
+ :type,
5565
+ :widgets,
5566
+ :refresh_schedule,
5567
+ :termination_protection_enabled,
5568
+ :created_timestamp,
5569
+ :updated_timestamp)
5570
+ SENSITIVE = []
5571
+ include Aws::Structure
5572
+ end
5573
+
4975
5574
  # @!attribute [rw] event_data_store
4976
5575
  # The ARN (or the ID suffix of the ARN) of the event data store that
4977
5576
  # you want to update.
@@ -5467,6 +6066,41 @@ module Aws::CloudTrail
5467
6066
  include Aws::Structure
5468
6067
  end
5469
6068
 
6069
+ # A widget on a CloudTrail Lake dashboard.
6070
+ #
6071
+ # @!attribute [rw] query_alias
6072
+ # The query alias used to identify the query for the widget.
6073
+ # @return [String]
6074
+ #
6075
+ # @!attribute [rw] query_statement
6076
+ # The SQL query statement for the widget.
6077
+ # @return [String]
6078
+ #
6079
+ # @!attribute [rw] query_parameters
6080
+ # The query parameters for the widget.
6081
+ # @return [Array<String>]
6082
+ #
6083
+ # @!attribute [rw] view_properties
6084
+ # The view properties for the widget. For more information about view
6085
+ # properties, see [ View properties for widgets ][1] in the
6086
+ # *CloudTrail User Guide*..
6087
+ #
6088
+ #
6089
+ #
6090
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html
6091
+ # @return [Hash<String,String>]
6092
+ #
6093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Widget AWS API Documentation
6094
+ #
6095
+ class Widget < Struct.new(
6096
+ :query_alias,
6097
+ :query_statement,
6098
+ :query_parameters,
6099
+ :view_properties)
6100
+ SENSITIVE = []
6101
+ include Aws::Structure
6102
+ end
6103
+
5470
6104
  end
5471
6105
  end
5472
6106