Skip to main content

fleet_metrics_list_only

Lists fleet_metrics in a region or regions, for all properties use fleet_metrics

Overview

Namefleet_metrics_list_only
TypeResource
DescriptionAn aggregated metric of certain devices in your fleet
Idaws.iot.fleet_metrics_list_only

Fields

NameDatatypeDescription
metric_namestringThe name of the fleet metric
descriptionstringThe description of a fleet metric
query_stringstringThe Fleet Indexing query used by a fleet metric
periodintegerThe period of metric emission in seconds
aggregation_fieldstringThe aggregation field to perform aggregation and metric emission
query_versionstringThe version of a Fleet Indexing query used by a fleet metric
index_namestringThe index name of a fleet metric
unitstringThe unit of data points emitted by a fleet metric
aggregation_typeobjectAggregation types supported by Fleet Indexing
metric_arnstringThe Amazon Resource Number (ARN) of a fleet metric metric
creation_datestringThe creation date of a fleet metric
last_modified_datestringThe last modified date of a fleet metric
versionnumberThe version of a fleet metric
tagsarrayAn array of key-value pairs to apply to this resource
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all fleet_metrics in a region.

SELECT
region,
metric_name
FROM aws.iot.fleet_metrics_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the fleet_metrics_list_only resource, see fleet_metrics