Module Values.UpdateWorkspaceConfigurationRequestSource

Use this operation to create or update the label sets, label set limits, and retention period of a workspace. You must specify at least one of limitsPerLabelSet or retentionPeriodInDays for the request to be valid.

Sourcetype nonrec t = {
  1. workspaceId : WorkspaceId.t;
    (*

    The ID of the workspace that you want to update. To find the IDs of your workspaces, use the ListWorkspaces operation.

    *)
  2. clientToken : IdempotencyToken.t option;
    (*

    You can include a token in your operation to make it an idempotent opeartion.

    *)
  3. limitsPerLabelSet : LimitsPerLabelSetList.t option;
    (*

    This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.

    *)
  4. retentionPeriodInDays : UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger.t option;
    (*

    Specifies how many days that metrics will be retained in the workspace.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?limitsPerLabelSet:??? -> ?retentionPeriodInDays:??? -> workspaceId:WorkspaceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger.t | `List of [> `Structure of (string * [> `Map of ([> `String of LabelName.t ] * [> `String of LabelValue.t ]) list | `Structure of (string * [> `Long of LimitsPerLabelSetEntryMaxSeriesLong.t ]) list ]) list ] list | `String of WorkspaceId.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