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 the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.
This operation returns paginated results.
Synopsis
- data ListIPSets = ListIPSets' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- detectorId :: Text
- newListIPSets :: Text -> ListIPSets
- listIPSets_nextToken :: Lens' ListIPSets (Maybe Text)
- listIPSets_maxResults :: Lens' ListIPSets (Maybe Natural)
- listIPSets_detectorId :: Lens' ListIPSets Text
- data ListIPSetsResponse = ListIPSetsResponse' {}
- newListIPSetsResponse :: Int -> ListIPSetsResponse
- listIPSetsResponse_nextToken :: Lens' ListIPSetsResponse (Maybe Text)
- listIPSetsResponse_httpStatus :: Lens' ListIPSetsResponse Int
- listIPSetsResponse_ipSetIds :: Lens' ListIPSetsResponse [Text]
Creating a Request
data ListIPSets Source #
See: newListIPSets
smart constructor.
ListIPSets' | |
|
Instances
Create a value of ListIPSets
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:ListIPSets'
, listIPSets_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:ListIPSets'
, listIPSets_maxResults
- You can use this parameter to indicate the maximum number of items you
want in the response. The default value is 50. The maximum value is 50.
$sel:detectorId:ListIPSets'
, listIPSets_detectorId
- The unique ID of the detector that the IPSet is associated with.
Request Lenses
listIPSets_nextToken :: 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 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.
listIPSets_maxResults :: Lens' ListIPSets (Maybe Natural) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
listIPSets_detectorId :: Lens' ListIPSets Text Source #
The unique ID of the detector that the IPSet is associated with.
Destructuring the Response
data ListIPSetsResponse Source #
See: newListIPSetsResponse
smart constructor.
Instances
newListIPSetsResponse Source #
Create a value of ListIPSetsResponse
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:ListIPSets'
, listIPSetsResponse_nextToken
- The pagination parameter to be used on the next list operation to
retrieve more items.
$sel:httpStatus:ListIPSetsResponse'
, listIPSetsResponse_httpStatus
- The response's http status code.
$sel:ipSetIds:ListIPSetsResponse'
, listIPSetsResponse_ipSetIds
- The IDs of the IPSet resources.
Response Lenses
listIPSetsResponse_nextToken :: Lens' ListIPSetsResponse (Maybe Text) Source #
The pagination parameter to be used on the next list operation to retrieve more items.
listIPSetsResponse_httpStatus :: Lens' ListIPSetsResponse Int Source #
The response's http status code.
listIPSetsResponse_ipSetIds :: Lens' ListIPSetsResponse [Text] Source #
The IDs of the IPSet resources.