/AWS1/CL_IOT=>CREATEFLEETMETRIC()
¶
About CreateFleetMetric¶
Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_METRICNAME
TYPE /AWS1/IOTFLEETMETRICNAME
/AWS1/IOTFLEETMETRICNAME
¶
The name of the fleet metric to create.
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.
Optional arguments:¶
IV_DESCRIPTION
TYPE /AWS1/IOTFLEETMETRICDESC
/AWS1/IOTFLEETMETRICDESC
¶
The fleet metric description.
IV_QUERYVERSION
TYPE /AWS1/IOTQUERYVERSION
/AWS1/IOTQUERYVERSION
¶
The query version.
IV_INDEXNAME
TYPE /AWS1/IOTINDEXNAME
/AWS1/IOTINDEXNAME
¶
The name of the index to search.
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. Default to null.
IT_TAGS
TYPE /AWS1/CL_IOTTAG=>TT_TAGLIST
TT_TAGLIST
¶
Metadata, which can be used to manage the fleet metric.