Skip to content

PutAlertManagerDefinitionRequest

Source code in docs_src/capo_amp/types/put_alert_manager_definition_request.py
class PutAlertManagerDefinitionRequest(TypedDict, closed=True):
    workspace_id: "capo_amp.types.workspace_id.WorkspaceId"
    """<p>The ID of the workspace to update the alert manager definition in.</p>"""
    data: "capo_amp.types.alert_manager_definition_data.AlertManagerDefinitionData"
    """<p>The alert manager definition to use. A base64-encoded version of the YAML alert manager definition file.</p> <p>For details about the alert manager definition, see <a href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html">AlertManagedDefinitionData</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 alert manager definition to use. A base64-encoded version of the YAML alert manager definition file.

For details about the alert manager definition, see AlertManagedDefinitionData.

workspace_id instance-attribute

workspace_id: WorkspaceId

The ID of the workspace to update the alert manager definition in.