Skip to content

CreateRuleGroupsNamespaceRequest

Source code in docs_src/capo_amp/types/create_rule_groups_namespace_request.py
class CreateRuleGroupsNamespaceRequest(TypedDict, closed=True):
    workspace_id: "capo_amp.types.workspace_id.WorkspaceId"
    """<p>The ID of the workspace to add the rule groups namespace.</p>"""
    name: "capo_amp.types.rule_groups_namespace_name.RuleGroupsNamespaceName"
    """<p>The name for the new rule groups namespace.</p>"""
    data: "capo_amp.types.rule_groups_namespace_data.RuleGroupsNamespaceData"
    """<p>The rules file to use in the new namespace.</p> <p>Contains the base64-encoded version of the YAML rules 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>"""
    tags: NotRequired["capo_amp.types.tag_map.TagMap"]
    """<p>The list of tag keys and values to associate with the rule groups namespace.</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 rules file to use in the new namespace.

Contains the base64-encoded version of the YAML rules file.

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

name instance-attribute

The name for the new rule groups namespace.

tags instance-attribute

tags: NotRequired[TagMap]

The list of tag keys and values to associate with the rule groups namespace.

workspace_id instance-attribute

workspace_id: WorkspaceId

The ID of the workspace to add the rule groups namespace.