| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTEventsData.ListDetectors
Description
Lists detectors (the instances of a detector model).
Synopsis
- data ListDetectors = ListDetectors' {}
- newListDetectors :: Text -> ListDetectors
- listDetectors_maxResults :: Lens' ListDetectors (Maybe Natural)
- listDetectors_nextToken :: Lens' ListDetectors (Maybe Text)
- listDetectors_stateName :: Lens' ListDetectors (Maybe Text)
- listDetectors_detectorModelName :: Lens' ListDetectors Text
- data ListDetectorsResponse = ListDetectorsResponse' {}
- newListDetectorsResponse :: Int -> ListDetectorsResponse
- listDetectorsResponse_detectorSummaries :: Lens' ListDetectorsResponse (Maybe [DetectorSummary])
- listDetectorsResponse_nextToken :: Lens' ListDetectorsResponse (Maybe Text)
- listDetectorsResponse_httpStatus :: Lens' ListDetectorsResponse Int
Creating a Request
data ListDetectors Source #
See: newListDetectors smart constructor.
Constructors
| ListDetectors' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListDetectors |
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:maxResults:ListDetectors', listDetectors_maxResults - The maximum number of results to be returned per request.
ListDetectors, listDetectors_nextToken - The token that you can use to return the next set of results.
ListDetectors, listDetectors_stateName - A filter that limits results to those detectors (instances) in the given
state.
ListDetectors, listDetectors_detectorModelName - The name of the detector model whose detectors (instances) are listed.
Request Lenses
listDetectors_maxResults :: Lens' ListDetectors (Maybe Natural) Source #
The maximum number of results to be returned per request.
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_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
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:detectorSummaries:ListDetectorsResponse', listDetectorsResponse_detectorSummaries - A list of summary information about the detectors (instances).
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:httpStatus:ListDetectorsResponse', listDetectorsResponse_httpStatus - The response's http status code.
Response Lenses
listDetectorsResponse_detectorSummaries :: Lens' ListDetectorsResponse (Maybe [DetectorSummary]) Source #
A list of summary information about the detectors (instances).
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_httpStatus :: Lens' ListDetectorsResponse Int Source #
The response's http status code.