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 detectorIds of all the existing Amazon GuardDuty detector resources.
This operation returns paginated results.
Synopsis
- data ListDetectors = ListDetectors' {}
- newListDetectors :: ListDetectors
- listDetectors_nextToken :: Lens' ListDetectors (Maybe Text)
- listDetectors_maxResults :: Lens' ListDetectors (Maybe Natural)
- data ListDetectorsResponse = ListDetectorsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- detectorIds :: [Text]
- newListDetectorsResponse :: Int -> ListDetectorsResponse
- listDetectorsResponse_nextToken :: Lens' ListDetectorsResponse (Maybe Text)
- listDetectorsResponse_httpStatus :: Lens' ListDetectorsResponse Int
- listDetectorsResponse_detectorIds :: Lens' ListDetectorsResponse [Text]
Creating a Request
data ListDetectors Source #
See: newListDetectors
smart constructor.
ListDetectors' | |
|
Instances
newListDetectors :: ListDetectors 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
- You can use this parameter when paginating results. Set the value of
this parameter to null on your first call to the list action. For
subsequent calls to the action, fill nextToken in the request with the
value of NextToken from the previous response to continue listing data.
$sel:maxResults:ListDetectors'
, listDetectors_maxResults
- You can use this parameter to indicate the maximum number of items that
you want in the response. The default value is 50. The maximum value is
50.
Request Lenses
listDetectors_nextToken :: Lens' ListDetectors (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listDetectors_maxResults :: Lens' ListDetectors (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
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 pagination parameter to be used on the next list operation to
retrieve more items.
$sel:httpStatus:ListDetectorsResponse'
, listDetectorsResponse_httpStatus
- The response's http status code.
$sel:detectorIds:ListDetectorsResponse'
, listDetectorsResponse_detectorIds
- A list of detector IDs.
Response Lenses
listDetectorsResponse_nextToken :: Lens' ListDetectorsResponse (Maybe Text) Source #
The pagination parameter to be used on the next list operation to retrieve more items.
listDetectorsResponse_httpStatus :: Lens' ListDetectorsResponse Int Source #
The response's http status code.
listDetectorsResponse_detectorIds :: Lens' ListDetectorsResponse [Text] Source #
A list of detector IDs.