Module Values.UpdateDashboardResponseSource

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. dashboardArn : DashboardArn.t option;
    (*

    The ARN for the dashboard.

    *)
  2. name : DashboardName.t option;
    (*

    The name for the dashboard.

    *)
  3. type_ : DashboardType.t option;
    (*

    The type of dashboard.

    *)
  4. widgets : WidgetList.t option;
    (*

    An array of widgets for the dashboard.

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

    The refresh schedule for the dashboard, if configured.

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

    Indicates whether termination protection is enabled for the dashboard.

    *)
  7. createdTimestamp : Date.t option;
    (*

    The timestamp that shows when the dashboard was created.

    *)
  8. updatedTimestamp : Date.t option;
    (*

    The timestamp that shows when the dashboard was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t
  3. | `InactiveEventDataStoreException of InactiveEventDataStoreException.t
  4. | `InsufficientEncryptionPolicyException of InsufficientEncryptionPolicyException.t
  5. | `InvalidQueryStatementException of InvalidQueryStatementException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  8. | `UnsupportedOperationException of UnsupportedOperationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?dashboardArn:??? -> ?name:??? -> ?type_:??? -> ?widgets:??? -> ?refreshSchedule:??? -> ?terminationProtectionEnabled:??? -> ?createdTimestamp:??? -> ?updatedTimestamp:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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