Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
This operation returns paginated results.
- listDetectors :: ListDetectors
- data ListDetectors
- ldNextToken :: Lens' ListDetectors (Maybe Text)
- ldMaxResults :: Lens' ListDetectors (Maybe Natural)
- listDetectorsResponse :: Int -> ListDetectorsResponse
- data ListDetectorsResponse
- ldrsNextToken :: Lens' ListDetectorsResponse (Maybe Text)
- ldrsDetectorIds :: Lens' ListDetectorsResponse [Text]
- ldrsResponseStatus :: Lens' ListDetectorsResponse Int
Creating a Request
listDetectors :: ListDetectors Source #
Creates a value of ListDetectors
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListDetectors 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.ldMaxResults
- You can use this parameter to indicate the maximum number of detectors that you want in the response.
data ListDetectors Source #
See: listDetectors
smart constructor.
Request Lenses
ldNextToken :: 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 ListDetectors 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.
ldMaxResults :: Lens' ListDetectors (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of detectors that you want in the response.
Destructuring the Response
listDetectorsResponse Source #
Creates a value of ListDetectorsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrsNextToken
- Undocumented member.ldrsDetectorIds
- Undocumented member.ldrsResponseStatus
- -- | The response status code.
data ListDetectorsResponse Source #
See: listDetectorsResponse
smart constructor.
Response Lenses
ldrsNextToken :: Lens' ListDetectorsResponse (Maybe Text) Source #
Undocumented member.
ldrsDetectorIds :: Lens' ListDetectorsResponse [Text] Source #
Undocumented member.
ldrsResponseStatus :: Lens' ListDetectorsResponse Int Source #
- - | The response status code.