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 ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the administrator account are returned.
This operation returns paginated results.
Synopsis
- data ListThreatIntelSets = ListThreatIntelSets' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- detectorId :: Text
- newListThreatIntelSets :: Text -> ListThreatIntelSets
- listThreatIntelSets_nextToken :: Lens' ListThreatIntelSets (Maybe Text)
- listThreatIntelSets_maxResults :: Lens' ListThreatIntelSets (Maybe Natural)
- listThreatIntelSets_detectorId :: Lens' ListThreatIntelSets Text
- data ListThreatIntelSetsResponse = ListThreatIntelSetsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- threatIntelSetIds :: [Text]
- newListThreatIntelSetsResponse :: Int -> ListThreatIntelSetsResponse
- listThreatIntelSetsResponse_nextToken :: Lens' ListThreatIntelSetsResponse (Maybe Text)
- listThreatIntelSetsResponse_httpStatus :: Lens' ListThreatIntelSetsResponse Int
- listThreatIntelSetsResponse_threatIntelSetIds :: Lens' ListThreatIntelSetsResponse [Text]
Creating a Request
data ListThreatIntelSets Source #
See: newListThreatIntelSets
smart constructor.
ListThreatIntelSets' | |
|
Instances
newListThreatIntelSets Source #
Create a value of ListThreatIntelSets
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:ListThreatIntelSets'
, listThreatIntelSets_nextToken
- You can use this parameter to paginate results in the response. 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:ListThreatIntelSets'
, listThreatIntelSets_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.
$sel:detectorId:ListThreatIntelSets'
, listThreatIntelSets_detectorId
- The unique ID of the detector that the threatIntelSet is associated
with.
Request Lenses
listThreatIntelSets_nextToken :: Lens' ListThreatIntelSets (Maybe Text) Source #
You can use this parameter to paginate results in the response. 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.
listThreatIntelSets_maxResults :: Lens' ListThreatIntelSets (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.
listThreatIntelSets_detectorId :: Lens' ListThreatIntelSets Text Source #
The unique ID of the detector that the threatIntelSet is associated with.
Destructuring the Response
data ListThreatIntelSetsResponse Source #
See: newListThreatIntelSetsResponse
smart constructor.
ListThreatIntelSetsResponse' | |
|
Instances
newListThreatIntelSetsResponse Source #
Create a value of ListThreatIntelSetsResponse
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:ListThreatIntelSets'
, listThreatIntelSetsResponse_nextToken
- The pagination parameter to be used on the next list operation to
retrieve more items.
$sel:httpStatus:ListThreatIntelSetsResponse'
, listThreatIntelSetsResponse_httpStatus
- The response's http status code.
$sel:threatIntelSetIds:ListThreatIntelSetsResponse'
, listThreatIntelSetsResponse_threatIntelSetIds
- The IDs of the ThreatIntelSet resources.
Response Lenses
listThreatIntelSetsResponse_nextToken :: Lens' ListThreatIntelSetsResponse (Maybe Text) Source #
The pagination parameter to be used on the next list operation to retrieve more items.
listThreatIntelSetsResponse_httpStatus :: Lens' ListThreatIntelSetsResponse Int Source #
The response's http status code.
listThreatIntelSetsResponse_threatIntelSetIds :: Lens' ListThreatIntelSetsResponse [Text] Source #
The IDs of the ThreatIntelSet resources.