monitoring_alert_histories
Creates, updates, deletes, gets or lists a monitoring_alert_histories resource.
Overview
| Name | monitoring_alert_histories |
| Type | Resource |
| Id | aws.sagemaker.monitoring_alert_histories |
Fields
The following fields are returned by SELECT queries:
- list_monitoring_alert_history
| Name | Datatype | Description |
|---|---|---|
alert_status | string | The current alert status of an alert. (InAlert, OK) |
creation_time | string (date-time) | A timestamp that indicates when the first alert transition occurred in an alert history. An alert transition can be from status InAlert to OK, or from OK to InAlert. |
monitoring_alert_name | string | The name of a monitoring alert. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>) |
monitoring_schedule_name | string | The name of a monitoring schedule. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_monitoring_alert_history | select | region | Gets a list of past alerts in a model monitoring schedule. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_monitoring_alert_history
Gets a list of past alerts in a model monitoring schedule.
SELECT
alert_status,
creation_time,
monitoring_alert_name,
monitoring_schedule_name
FROM aws.sagemaker.monitoring_alert_histories
WHERE region = '{{ region }}' -- required
;