Skip to content

PutRuleGroupsNamespaceRequest

Source code in docs_src/capo_amp/types/put_rule_groups_namespace_request.py
class PutRuleGroupsNamespaceRequest(TypedDict, closed=True):
    workspace_id: "capo_amp.types.workspace_id.WorkspaceId"
    """<p>The ID of the workspace where you are updating the rule groups namespace.</p>"""
    name: "capo_amp.types.rule_groups_namespace_name.RuleGroupsNamespaceName"
    """<p>The name of the rule groups namespace that you are updating.</p>"""
    data: "capo_amp.types.rule_groups_namespace_data.RuleGroupsNamespaceData"
    """<p>The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups file.</p> <p>For details about the rule groups namespace structure, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html">RuleGroupsNamespaceData</a>.</p>"""
    client_token: NotRequired["capo_amp.types.idempotency_token.IdempotencyToken"]
    """<p>A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.</p>"""

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

data instance-attribute

The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups file.

For details about the rule groups namespace structure, see RuleGroupsNamespaceData.

name instance-attribute

The name of the rule groups namespace that you are updating.

workspace_id instance-attribute

workspace_id: WorkspaceId

The ID of the workspace where you are updating the rule groups namespace.