Module Values.StartDashboardRefreshResponseSource

Starts a refresh of the specified dashboard. Each time a dashboard is refreshed, CloudTrail runs queries to populate the dashboard's widgets. 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. refreshId : RefreshId.t option;
    (*

    The refresh ID for the dashboard.

    *)
}
Sourcetype nonrec error = [
  1. | `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t
  2. | `InactiveEventDataStoreException of InactiveEventDataStoreException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `UnsupportedOperationException of UnsupportedOperationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?refreshId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RefreshId.t ]) 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