Skip to content

/AWS1/CL_SGM=>LISTMONITORINGALERTHISTORY()

About ListMonitoringAlertHistory

Gets a list of past alerts in a model monitoring schedule.

Method Signature

IMPORTING

Optional arguments:

IV_MONITORINGSCHEDULENAME TYPE /AWS1/SGMMONSCHEDULENAME /AWS1/SGMMONSCHEDULENAME

The name of a monitoring schedule.

IV_MONITORINGALERTNAME TYPE /AWS1/SGMMONITORINGALERTNAME /AWS1/SGMMONITORINGALERTNAME

The name of a monitoring alert.

IV_SORTBY TYPE /AWS1/SGMMONALERTHISTORYSORT00 /AWS1/SGMMONALERTHISTORYSORT00

The field used to sort results. The default is CreationTime.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

The sort order, whether Ascending or Descending, of the alert history. The default is Descending.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the result of the previous ListMonitoringAlertHistory request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of results to display. The default is 100.

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only alerts created on or before the specified time.

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only alerts created on or after the specified time.

IV_STATUSEQUALS TYPE /AWS1/SGMMONITORINGALERTSTATUS /AWS1/SGMMONITORINGALERTSTATUS

A filter that retrieves only alerts with a specific status.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLSTMONALERTHISTO01 /AWS1/CL_SGMLSTMONALERTHISTO01