Create Alert Manager Definition
prometheusservice_create_alert_manager_definition | R 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
.
Usage¶
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.
Value¶
A list with the following syntax:
list(
status = list(
statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
statusReason = "string"
)
)