Skip to content

List Ip Sets

guardduty_list_ip_sets R Documentation

Lists the IPSets of the GuardDuty service specified by the detector ID

Description

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.

Usage

guardduty_list_ip_sets(DetectorId, MaxResults, NextToken)

Arguments

DetectorId

[required] The unique ID of the detector that is associated with IPSet.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the list_detectors API.

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.

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.

Value

A list with the following syntax:

list(
  IpSetIds = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$list_ip_sets(
  DetectorId = "string",
  MaxResults = 123,
  NextToken = "string"
)