libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
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.IoTEventsData.ListDetectors

Description

Lists detectors (the instances of a detector model).

Synopsis

Creating a Request

data ListDetectors Source #

See: newListDetectors smart constructor.

Constructors

ListDetectors' 

Fields

Instances

Instances details
Eq ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Read ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Show ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Generic ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Associated Types

type Rep ListDetectors :: Type -> Type #

NFData ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Methods

rnf :: ListDetectors -> () #

Hashable ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

AWSRequest ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Associated Types

type AWSResponse ListDetectors #

ToHeaders ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

ToPath ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

ToQuery ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

type Rep ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

type Rep ListDetectors = D1 ('MetaData "ListDetectors" "Amazonka.IoTEventsData.ListDetectors" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "ListDetectors'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDetectors Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

newListDetectors Source #

Create a value of ListDetectors 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:ListDetectors', listDetectors_nextToken - The token that you can use to return the next set of results.

$sel:stateName:ListDetectors', listDetectors_stateName - A filter that limits results to those detectors (instances) in the given state.

$sel:maxResults:ListDetectors', listDetectors_maxResults - The maximum number of results to be returned per request.

$sel:detectorModelName:ListDetectors', listDetectors_detectorModelName - The name of the detector model whose detectors (instances) are listed.

Request Lenses

listDetectors_nextToken :: Lens' ListDetectors (Maybe Text) Source #

The token that you can use to return the next set of results.

listDetectors_stateName :: Lens' ListDetectors (Maybe Text) Source #

A filter that limits results to those detectors (instances) in the given state.

listDetectors_maxResults :: Lens' ListDetectors (Maybe Natural) Source #

The maximum number of results to be returned per request.

listDetectors_detectorModelName :: Lens' ListDetectors Text Source #

The name of the detector model whose detectors (instances) are listed.

Destructuring the Response

data ListDetectorsResponse Source #

See: newListDetectorsResponse smart constructor.

Constructors

ListDetectorsResponse' 

Fields

Instances

Instances details
Eq ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Read ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Show ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Generic ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Associated Types

type Rep ListDetectorsResponse :: Type -> Type #

NFData ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

Methods

rnf :: ListDetectorsResponse -> () #

type Rep ListDetectorsResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.ListDetectors

type Rep ListDetectorsResponse = D1 ('MetaData "ListDetectorsResponse" "Amazonka.IoTEventsData.ListDetectors" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "ListDetectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detectorSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DetectorSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDetectorsResponse Source #

Create a value of ListDetectorsResponse 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:ListDetectors', listDetectorsResponse_nextToken - The token that you can use to return the next set of results, or null if there are no more results.

$sel:detectorSummaries:ListDetectorsResponse', listDetectorsResponse_detectorSummaries - A list of summary information about the detectors (instances).

$sel:httpStatus:ListDetectorsResponse', listDetectorsResponse_httpStatus - The response's http status code.

Response Lenses

listDetectorsResponse_nextToken :: Lens' ListDetectorsResponse (Maybe Text) Source #

The token that you can use to return the next set of results, or null if there are no more results.

listDetectorsResponse_detectorSummaries :: Lens' ListDetectorsResponse (Maybe [DetectorSummary]) Source #

A list of summary information about the detectors (instances).