Skip to content

/AWS1/CL_AMP=>CREATEALERTMANAGERDEFINITION()

About CreateAlertManagerDefinition

The CreateAlertManagerDefinition operation creates the alert manager definition in a workspace. If a workspace already has an alert manager definition, don't use this operation to update it. Instead, use PutAlertManagerDefinition.

Method Signature

IMPORTING

Required arguments:

IV_WORKSPACEID TYPE /AWS1/AMPWORKSPACEID /AWS1/AMPWORKSPACEID

The ID of the workspace to add the alert manager definition to.

IV_DATA TYPE /AWS1/AMPALERTMANAGERDEFNDATA /AWS1/AMPALERTMANAGERDEFNDATA

The alert manager definition to add. A base64-encoded version of the YAML alert manager definition file.

For details about the alert manager definition, see AlertManagedDefinitionData.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/AMPIDEMPOTENCYTOKEN /AWS1/AMPIDEMPOTENCYTOKEN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMPCREALERTMANAGERD01 /AWS1/CL_AMPCREALERTMANAGERD01