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.ListFleetMetrics

Description

Lists all your fleet metrics.

Requires permission to access the ListFleetMetrics action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListFleetMetrics Source #

See: newListFleetMetrics smart constructor.

Constructors

ListFleetMetrics' 

Fields

  • nextToken :: Maybe Text

    To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return in this operation.

Instances

Instances details
Eq ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Read ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Show ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Generic ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Associated Types

type Rep ListFleetMetrics :: Type -> Type #

NFData ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Methods

rnf :: ListFleetMetrics -> () #

Hashable ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

AWSPager ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

AWSRequest ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Associated Types

type AWSResponse ListFleetMetrics #

ToHeaders ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

ToPath ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

ToQuery ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

type Rep ListFleetMetrics Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

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

Defined in Amazonka.IoT.ListFleetMetrics

newListFleetMetrics :: ListFleetMetrics Source #

Create a value of ListFleetMetrics 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:ListFleetMetrics', listFleetMetrics_nextToken - To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

$sel:maxResults:ListFleetMetrics', listFleetMetrics_maxResults - The maximum number of results to return in this operation.

Request Lenses

listFleetMetrics_nextToken :: Lens' ListFleetMetrics (Maybe Text) Source #

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

listFleetMetrics_maxResults :: Lens' ListFleetMetrics (Maybe Natural) Source #

The maximum number of results to return in this operation.

Destructuring the Response

data ListFleetMetricsResponse Source #

See: newListFleetMetricsResponse smart constructor.

Constructors

ListFleetMetricsResponse' 

Fields

Instances

Instances details
Eq ListFleetMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Read ListFleetMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Show ListFleetMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Generic ListFleetMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

Associated Types

type Rep ListFleetMetricsResponse :: Type -> Type #

NFData ListFleetMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

type Rep ListFleetMetricsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListFleetMetrics

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

newListFleetMetricsResponse Source #

Create a value of ListFleetMetricsResponse 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:fleetMetrics:ListFleetMetricsResponse', listFleetMetricsResponse_fleetMetrics - The list of fleet metrics objects.

$sel:nextToken:ListFleetMetrics', listFleetMetricsResponse_nextToken - The token for the next set of results. Will not be returned if the operation has returned all results.

$sel:httpStatus:ListFleetMetricsResponse', listFleetMetricsResponse_httpStatus - The response's http status code.

Response Lenses

listFleetMetricsResponse_nextToken :: Lens' ListFleetMetricsResponse (Maybe Text) Source #

The token for the next set of results. Will not be returned if the operation has returned all results.