Skip to content

/AWS1/CL_AMP=>CREATEWORKSPACE()

About CreateWorkspace

Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of Prometheus metrics. You can have one or more workspaces in each Region in your account.

Method Signature

IMPORTING

Optional arguments:

IV_ALIAS TYPE /AWS1/AMPWORKSPACEALIAS /AWS1/AMPWORKSPACEALIAS

An alias that you assign to this workspace to help you identify it. It does not need to be unique.

Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.

IV_CLIENTTOKEN TYPE /AWS1/AMPIDEMPOTENCYTOKEN /AWS1/AMPIDEMPOTENCYTOKEN

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

IT_TAGS TYPE /AWS1/CL_AMPTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The list of tag keys and values to associate with the workspace.

IV_KMSKEYARN TYPE /AWS1/AMPKMSKEYARN /AWS1/AMPKMSKEYARN

(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMPCREATEWORKSPACERSP /AWS1/CL_AMPCREATEWORKSPACERSP