prometheusservice_create_alert_manager_definition: The CreateAlertManagerDefinition operation creates the alert...

View source: R/prometheusservice_operations.R

prometheusservice_create_alert_manager_definitionR Documentation

The CreateAlertManagerDefinition operation creates the alert manager definition in a workspace

Description

The create_alert_manager_definition 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 put_alert_manager_definition.

See https://www.paws-r-sdk.com/docs/prometheusservice_create_alert_manager_definition/ for full documentation.

Usage

prometheusservice_create_alert_manager_definition(
  clientToken = NULL,
  data,
  workspaceId
)

Arguments

clientToken

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

data

[required] 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.

workspaceId

[required] The ID of the workspace to add the alert manager definition to.


paws.management documentation built on May 29, 2024, 1:50 a.m.