Module Values.UpdateDashboardRequestSource

Updates 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.

Sourcetype nonrec t = {
  1. dashboardId : DashboardArn.t;
    (*

    The name or ARN of the dashboard.

    *)
  2. widgets : RequestWidgetList.t option;
    (*

    An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets. To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the GetDashboard operation to get the list of widgets for the dashboard. To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.

    *)
  3. refreshSchedule : RefreshSchedule.t option;
    (*

    The refresh schedule configuration for the dashboard.

    *)
  4. terminationProtectionEnabled : TerminationProtectionEnabled.t option;
    (*

    Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.

    *)
}
Sourceval context_ : string
Sourceval make : ?widgets:??? -> ?refreshSchedule:??? -> ?terminationProtectionEnabled:??? -> dashboardId:DashboardArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of TerminationProtectionEnabled.t | `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 QueryStatement.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 ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t