Skip to content

/AWS1/CL_IOT=>UPDATEFLEETMETRIC()

About UpdateFleetMetric

Updates the data for a fleet metric.

Requires permission to access the UpdateFleetMetric action.

Method Signature

IMPORTING

Required arguments:

IV_METRICNAME TYPE /AWS1/IOTFLEETMETRICNAME /AWS1/IOTFLEETMETRICNAME

The name of the fleet metric to update.

IV_INDEXNAME TYPE /AWS1/IOTINDEXNAME /AWS1/IOTINDEXNAME

The name of the index to search.

Optional arguments:

IV_QUERYSTRING TYPE /AWS1/IOTQUERYSTRING /AWS1/IOTQUERYSTRING

The search query string.

IO_AGGREGATIONTYPE TYPE REF TO /AWS1/CL_IOTAGGREGATIONTYPE /AWS1/CL_IOTAGGREGATIONTYPE

The type of the aggregation query.

IV_PERIOD TYPE /AWS1/IOTFLEETMETRICPERIOD /AWS1/IOTFLEETMETRICPERIOD

The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

IV_AGGREGATIONFIELD TYPE /AWS1/IOTAGGREGATIONFIELD /AWS1/IOTAGGREGATIONFIELD

The field to aggregate.

IV_DESCRIPTION TYPE /AWS1/IOTFLEETMETRICDESC /AWS1/IOTFLEETMETRICDESC

The description of the fleet metric.

IV_QUERYVERSION TYPE /AWS1/IOTQUERYVERSION /AWS1/IOTQUERYVERSION

The version of the query.

IV_UNIT TYPE /AWS1/IOTFLEETMETRICUNIT /AWS1/IOTFLEETMETRICUNIT

Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.

IV_EXPECTEDVERSION TYPE /AWS1/IOTOPTIONALVERSION /AWS1/IOTOPTIONALVERSION

The expected version of the fleet metric record in the registry.