GuardDuty / Client / update_ip_set
update_ip_set#
- GuardDuty.Client.update_ip_set(**kwargs)#
Updates the IPSet specified by the IPSet ID.
See also: AWS API Documentation
Request Syntax
response = client.update_ip_set( DetectorId='string', IpSetId='string', Name='string', Location='string', Activate=True|False )
- Parameters:
DetectorId (string) –
[REQUIRED]
The detectorID that specifies the GuardDuty service whose IPSet you want to update.
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 that specifies the IPSet that you want to update.
Name (string) – The unique ID that specifies the IPSet that you want to update.
Location (string) – The updated URI of the file that contains the IPSet.
Activate (boolean) – The updated Boolean value that specifies whether the IPSet is active or not.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions