amazonka-iotsitewise-2.0: Amazon IoT SiteWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTSiteWise.ListGateways

Description

Retrieves a paginated list of gateways.

This operation returns paginated results.

Synopsis

Creating a Request

data ListGateways Source #

See: newListGateways smart constructor.

Constructors

ListGateways' 

Fields

Instances

Instances details
ToHeaders ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

ToPath ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

ToQuery ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

AWSPager ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

AWSRequest ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Associated Types

type AWSResponse ListGateways #

Generic ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Associated Types

type Rep ListGateways :: Type -> Type #

Read ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Show ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

NFData ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Methods

rnf :: ListGateways -> () #

Eq ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Hashable ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

type AWSResponse ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

type Rep ListGateways Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

type Rep ListGateways = D1 ('MetaData "ListGateways" "Amazonka.IoTSiteWise.ListGateways" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "ListGateways'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListGateways :: ListGateways Source #

Create a value of ListGateways 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:maxResults:ListGateways', listGateways_maxResults - The maximum number of results to return for each paginated request.

Default: 50

ListGateways, listGateways_nextToken - The token to be used for the next set of paginated results.

Request Lenses

listGateways_maxResults :: Lens' ListGateways (Maybe Natural) Source #

The maximum number of results to return for each paginated request.

Default: 50

listGateways_nextToken :: Lens' ListGateways (Maybe Text) Source #

The token to be used for the next set of paginated results.

Destructuring the Response

data ListGatewaysResponse Source #

See: newListGatewaysResponse smart constructor.

Constructors

ListGatewaysResponse' 

Fields

Instances

Instances details
Generic ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Associated Types

type Rep ListGatewaysResponse :: Type -> Type #

Read ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Show ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

NFData ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

Methods

rnf :: ListGatewaysResponse -> () #

Eq ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

type Rep ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListGateways

type Rep ListGatewaysResponse = D1 ('MetaData "ListGatewaysResponse" "Amazonka.IoTSiteWise.ListGateways" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "ListGatewaysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "gatewaySummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GatewaySummary]))))

newListGatewaysResponse Source #

Create a value of ListGatewaysResponse 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:

ListGateways, listGatewaysResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:httpStatus:ListGatewaysResponse', listGatewaysResponse_httpStatus - The response's http status code.

$sel:gatewaySummaries:ListGatewaysResponse', listGatewaysResponse_gatewaySummaries - A list that summarizes each gateway.

Response Lenses

listGatewaysResponse_nextToken :: Lens' ListGatewaysResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no additional results.