Module Smaws_Client_CloudTrail.CreateDashboard

Creates a custom dashboard or the Highlights dashboard.

CloudTrail runs queries to populate the dashboard's widgets during a manual or scheduled refresh. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide.

To set a refresh schedule, CloudTrail must be granted permissions to run the StartDashboardRefresh operation to refresh the dashboard on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to the dashboard. For more information, see Resource-based policy example for a dashboard in the CloudTrail User Guide.

For more information about dashboards, see CloudTrail Lake dashboards in the CloudTrail User Guide.

val request : Smaws_Lib.Context.t -> Types.create_dashboard_request -> (Types.create_dashboard_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `EventDataStoreNotFoundException of Types.event_data_store_not_found_exception | `InactiveEventDataStoreException of Types.inactive_event_data_store_exception | `InsufficientEncryptionPolicyException of Types.insufficient_encryption_policy_exception | `InvalidQueryStatementException of Types.invalid_query_statement_exception | `InvalidTagParameterException of Types.invalid_tag_parameter_exception | `ServiceQuotaExceededException of Types.service_quota_exceeded_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result