GuardDuty / Client / delete_ip_set

delete_ip_set#

GuardDuty.Client.delete_ip_set(**kwargs)#

Deletes the IPSet specified by the ipSetId. IPSets are called trusted IP lists in the console user interface.

See also: AWS API Documentation

Request Syntax

response = client.delete_ip_set(
    DetectorId='string',
    IpSetId='string'
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The unique ID of the detector associated with the IPSet.

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

  • IpSetId (string) –

    [REQUIRED]

    The unique ID of the IPSet to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException