PrometheusService / Client / update_workspace_alias

update_workspace_alias#

PrometheusService.Client.update_workspace_alias(**kwargs)#

Updates the alias of an existing workspace.

See also: AWS API Documentation

Request Syntax

response = client.update_workspace_alias(
    alias='string',
    clientToken='string',
    workspaceId='string'
)
Parameters:
  • alias (string) –

    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 (string) –

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

    This field is autopopulated if not provided.

  • workspaceId (string) –

    [REQUIRED]

    The ID of the workspace to update.

Returns:

None

Exceptions