describe_fleet_metric
(**kwargs)¶Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
See also: AWS API Documentation
Request Syntax
response = client.describe_fleet_metric(
metricName='string'
)
[REQUIRED]
The name of the fleet metric to describe.
{
'metricName': 'string',
'queryString': 'string',
'aggregationType': {
'name': 'Statistics'|'Percentiles'|'Cardinality',
'values': [
'string',
]
},
'period': 123,
'aggregationField': 'string',
'description': 'string',
'queryVersion': 'string',
'indexName': 'string',
'creationDate': datetime(2015, 1, 1),
'lastModifiedDate': datetime(2015, 1, 1),
'unit': 'Seconds'|'Microseconds'|'Milliseconds'|'Bytes'|'Kilobytes'|'Megabytes'|'Gigabytes'|'Terabytes'|'Bits'|'Kilobits'|'Megabits'|'Gigabits'|'Terabits'|'Percent'|'Count'|'Bytes/Second'|'Kilobytes/Second'|'Megabytes/Second'|'Gigabytes/Second'|'Terabytes/Second'|'Bits/Second'|'Kilobits/Second'|'Megabits/Second'|'Gigabits/Second'|'Terabits/Second'|'Count/Second'|'None',
'version': 123,
'metricArn': 'string'
}
Response Structure
The name of the fleet metric to describe.
The search query string.
The type of the aggregation query.
The name of the aggregation type.
A list of the values of aggregation types.
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
The field to aggregate.
The fleet metric description.
The query version.
The name of the index to search.
The date when the fleet metric is created.
The date when the fleet metric is last modified.
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
The version of the fleet metric.
The ARN of the fleet metric to describe.
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.ResourceNotFoundException