Skip to content

UpdateWorkspaceConfigurationRequest

Source code in docs_src/capo_amp/types/update_workspace_configuration_request.py
class UpdateWorkspaceConfigurationRequest(TypedDict, closed=True):
    workspace_id: "capo_amp.types.workspace_id.WorkspaceId"
    """<p>The ID of the workspace that you want to update. To find the IDs of your workspaces, use the <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListWorkspaces.htm">ListWorkspaces</a> operation.</p>"""
    client_token: NotRequired["capo_amp.types.idempotency_token.IdempotencyToken"]
    """<p>You can include a token in your operation to make it an idempotent opeartion. </p>"""
    limits_per_label_set: NotRequired[
        "capo_amp.types.limits_per_label_set_list.LimitsPerLabelSetList"
    ]
    """<p>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.</p>"""
    retention_period_in_days: NotRequired["int"]
    """<p>Specifies how many days that metrics will be retained in the workspace.</p>"""
    out_of_order_time_window_in_seconds: NotRequired["int"]
    """<p>Specifies the time window in seconds for accepting out of order samples. Out of order samples older than this window are rejected.</p>"""
    rule_query_offset_in_seconds: NotRequired["int"]
    """<p>Specifies the duration in seconds to offset rule evaluation queries into the past. This allows ingested samples to be available before rule evaluation.</p>"""

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

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

limits_per_label_set instance-attribute

limits_per_label_set: NotRequired[LimitsPerLabelSetList]

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.

out_of_order_time_window_in_seconds instance-attribute

out_of_order_time_window_in_seconds: NotRequired[int]

Specifies the time window in seconds for accepting out of order samples. Out of order samples older than this window are rejected.

retention_period_in_days instance-attribute

retention_period_in_days: NotRequired[int]

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

rule_query_offset_in_seconds instance-attribute

rule_query_offset_in_seconds: NotRequired[int]

Specifies the duration in seconds to offset rule evaluation queries into the past. This allows ingested samples to be available before rule evaluation.

workspace_id instance-attribute

workspace_id: WorkspaceId

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