list_custom_metrics(**kwargs)¶Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
See also: AWS API Documentation
Request Syntax
response = client.list_custom_metrics(
    nextToken='string',
    maxResults=123
)
dict
Response Syntax
{
    'metricNames': [
        'string',
    ],
    'nextToken': 'string'
}
Response Structure
(dict) --
metricNames (list) --
The name of the custom metric.
nextToken (string) --
A token that can be used to retrieve the next set of results, or null if there are no additional results.
Exceptions
IoT.Client.exceptions.InvalidRequestExceptionIoT.Client.exceptions.ThrottlingExceptionIoT.Client.exceptions.InternalFailureException