Values.UpdateDashboardResponseSourceUpdates the specified dashboard. 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. 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.
type nonrec t = {dashboardArn : DashboardArn.t option;The ARN for the dashboard.
*)name : DashboardName.t option;The name for the dashboard.
*)type_ : DashboardType.t option;The type of dashboard.
*)widgets : WidgetList.t option;An array of widgets for the dashboard.
*)refreshSchedule : RefreshSchedule.t option;The refresh schedule for the dashboard, if configured.
*)terminationProtectionEnabled : TerminationProtectionEnabled.t option;Indicates whether termination protection is enabled for the dashboard.
*)createdTimestamp : Date.t option;The timestamp that shows when the dashboard was created.
*)updatedTimestamp : Date.t option;The timestamp that shows when the dashboard was updated.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t| `InactiveEventDataStoreException of InactiveEventDataStoreException.t| `InsufficientEncryptionPolicyException of
InsufficientEncryptionPolicyException.t| `InvalidQueryStatementException of InvalidQueryStatementException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictException of unit
| `EventDataStoreNotFoundException of unit
| `InactiveEventDataStoreException of unit
| `InsufficientEncryptionPolicyException of unit
| `InvalidQueryStatementException of unit
| `ResourceNotFoundException of unit
| `ServiceQuotaExceededException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictException of unit
| `EventDataStoreNotFoundException of unit
| `InactiveEventDataStoreException of unit
| `InsufficientEncryptionPolicyException of unit
| `InvalidQueryStatementException of unit
| `ResourceNotFoundException of unit
| `ServiceQuotaExceededException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of TerminationProtectionEnabled.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `List of [> `String of QueryParameter.t ] list
| `Map of
([> `String of ViewPropertiesKey.t ]
* [> `String of ViewPropertiesValue.t ])
list
| `String of QueryAlias.t ])
list ]
list
| `String of DashboardArn.t
| `Structure of
(string
* [> `Enum of string
| `String of TimeOfDay.t
| `Structure of
(string
* [> `Enum of string
| `Integer of RefreshScheduleFrequencyValue.t ])
list ])
list
| `Timestamp of Date.t ])
list ]