Values.UpdateWorkspaceConfigurationRequestSourceUse 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.
type nonrec t = {workspaceId : WorkspaceId.t;The ID of the workspace that you want to update. To find the IDs of your workspaces, use the ListWorkspaces operation.
*)clientToken : IdempotencyToken.t option;You can include a token in your operation to make it an idempotent opeartion.
*)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.
*)retentionPeriodInDays : UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger.t
option;Specifies how many days that metrics will be retained in the workspace.
*)}val make :
?clientToken:??? ->
?limitsPerLabelSet:??? ->
?retentionPeriodInDays:??? ->
workspaceId:WorkspaceId.t ->
unit ->
tval 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 ]