Skip to content

UpdateWorkspaceAliasRequest

Source code in docs_src/capo_amp/types/update_workspace_alias_request.py
class UpdateWorkspaceAliasRequest(TypedDict, closed=True):
    workspace_id: "capo_amp.types.workspace_id.WorkspaceId"
    """<p>The ID of the workspace to update.</p>"""
    alias: NotRequired["capo_amp.types.workspace_alias.WorkspaceAlias"]
    """<p>The new alias for the workspace. It does not need to be unique.</p> <p>Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.</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>"""

alias instance-attribute

alias: NotRequired[WorkspaceAlias]

The new alias for the workspace. It does not need to be unique.

Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

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

workspace_id instance-attribute

workspace_id: WorkspaceId

The ID of the workspace to update.