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 the IPSets of the GuardDuty service specified by the detector ID.
This operation returns paginated results.
- listIPSets :: Text -> ListIPSets
- data ListIPSets
- lisNextToken :: Lens' ListIPSets (Maybe Text)
- lisMaxResults :: Lens' ListIPSets (Maybe Natural)
- lisDetectorId :: Lens' ListIPSets Text
- listIPSetsResponse :: Int -> ListIPSetsResponse
- data ListIPSetsResponse
- lisrsNextToken :: Lens' ListIPSetsResponse (Maybe Text)
- lisrsIPSetIds :: Lens' ListIPSetsResponse [Text]
- lisrsResponseStatus :: Lens' ListIPSetsResponse Int
Creating a Request
Creates a value of ListIPSets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lisNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListIPSet 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.lisMaxResults
- You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 7. The maximum value is 7.lisDetectorId
- The unique ID of the detector that you want to retrieve.
data ListIPSets Source #
See: listIPSets
smart constructor.
Request Lenses
lisNextToken :: Lens' ListIPSets (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 ListIPSet 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.
lisMaxResults :: Lens' ListIPSets (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 7. The maximum value is 7.
lisDetectorId :: Lens' ListIPSets Text Source #
The unique ID of the detector that you want to retrieve.
Destructuring the Response
Creates a value of ListIPSetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lisrsNextToken
- Undocumented member.lisrsIPSetIds
- Undocumented member.lisrsResponseStatus
- -- | The response status code.
data ListIPSetsResponse Source #
See: listIPSetsResponse
smart constructor.
Response Lenses
lisrsNextToken :: Lens' ListIPSetsResponse (Maybe Text) Source #
Undocumented member.
lisrsIPSetIds :: Lens' ListIPSetsResponse [Text] Source #
Undocumented member.
lisrsResponseStatus :: Lens' ListIPSetsResponse Int Source #
- - | The response status code.