Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists detectors (the instances of a detector model).
Synopsis
- data ListDetectors = ListDetectors' {}
- newListDetectors :: Text -> ListDetectors
- listDetectors_nextToken :: Lens' ListDetectors (Maybe Text)
- listDetectors_stateName :: Lens' ListDetectors (Maybe Text)
- listDetectors_maxResults :: Lens' ListDetectors (Maybe Natural)
- listDetectors_detectorModelName :: Lens' ListDetectors Text
- data ListDetectorsResponse = ListDetectorsResponse' {}
- newListDetectorsResponse :: Int -> ListDetectorsResponse
- listDetectorsResponse_nextToken :: Lens' ListDetectorsResponse (Maybe Text)
- listDetectorsResponse_detectorSummaries :: Lens' ListDetectorsResponse (Maybe [DetectorSummary])
- listDetectorsResponse_httpStatus :: Lens' ListDetectorsResponse Int
Creating a Request
data ListDetectors Source #
See: newListDetectors
smart constructor.
ListDetectors' | |
|
Instances
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.
ListDetectorsResponse' | |
|
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: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).
listDetectorsResponse_httpStatus :: Lens' ListDetectorsResponse Int Source #
The response's http status code.