Skip to content

Updates the alias of an existing workspace

Description

Updates the alias of an existing workspace.

Usage

prometheusservice_update_workspace_alias(workspaceId, alias,
  clientToken)

Arguments

  • workspaceId

    [required] The ID of the workspace to update.

  • alias

    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.

  • clientToken

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

Value

An empty list.

Request syntax

svc$update_workspace_alias(
  workspaceId = "string",
  alias = "string",
  clientToken = "string"
)