Skip to main content

monitoring_alert_histories

Creates, updates, deletes, gets or lists a monitoring_alert_histories resource.

Overview

Namemonitoring_alert_histories
TypeResource
Idaws.sagemaker.monitoring_alert_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
alert_statusstringThe current alert status of an alert. (InAlert, OK)
creation_timestring (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_namestringThe name of a monitoring alert. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
monitoring_schedule_namestringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_monitoring_alert_historyselectregionGets 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;