libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.ListCustomMetrics

Description

Lists your Device Defender detect custom metrics.

Requires permission to access the ListCustomMetrics action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCustomMetrics Source #

See: newListCustomMetrics smart constructor.

Constructors

ListCustomMetrics' 

Fields

Instances

Instances details
Eq ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Read ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Show ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Generic ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Associated Types

type Rep ListCustomMetrics :: Type -> Type #

NFData ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Methods

rnf :: ListCustomMetrics -> () #

Hashable ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

AWSPager ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

AWSRequest ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Associated Types

type AWSResponse ListCustomMetrics #

ToHeaders ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

ToPath ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

ToQuery ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

type Rep ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

type Rep ListCustomMetrics = D1 ('MetaData "ListCustomMetrics" "Amazonka.IoT.ListCustomMetrics" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListCustomMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListCustomMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

newListCustomMetrics :: ListCustomMetrics Source #

Create a value of ListCustomMetrics with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListCustomMetrics', listCustomMetrics_nextToken - The token for the next set of results.

$sel:maxResults:ListCustomMetrics', listCustomMetrics_maxResults - The maximum number of results to return at one time. The default is 25.

Request Lenses

listCustomMetrics_nextToken :: Lens' ListCustomMetrics (Maybe Text) Source #

The token for the next set of results.

listCustomMetrics_maxResults :: Lens' ListCustomMetrics (Maybe Natural) Source #

The maximum number of results to return at one time. The default is 25.

Destructuring the Response

data ListCustomMetricsResponse Source #

See: newListCustomMetricsResponse smart constructor.

Constructors

ListCustomMetricsResponse' 

Fields

Instances

Instances details
Eq ListCustomMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Read ListCustomMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Show ListCustomMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Generic ListCustomMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

Associated Types

type Rep ListCustomMetricsResponse :: Type -> Type #

NFData ListCustomMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

type Rep ListCustomMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCustomMetrics

type Rep ListCustomMetricsResponse = D1 ('MetaData "ListCustomMetricsResponse" "Amazonka.IoT.ListCustomMetrics" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListCustomMetricsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCustomMetricsResponse Source #

Create a value of ListCustomMetricsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:metricNames:ListCustomMetricsResponse', listCustomMetricsResponse_metricNames - The name of the custom metric.

$sel:nextToken:ListCustomMetrics', listCustomMetricsResponse_nextToken - A token that can be used to retrieve the next set of results, or null if there are no additional results.

$sel:httpStatus:ListCustomMetricsResponse', listCustomMetricsResponse_httpStatus - The response's http status code.

Response Lenses

listCustomMetricsResponse_nextToken :: Lens' ListCustomMetricsResponse (Maybe Text) Source #

A token that can be used to retrieve the next set of results, or null if there are no additional results.