update_ip_set
async
¶
update_ip_set(
detector_id: DetectorId,
ip_set_id: String,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
name: Optional[Name] = None,
location: Optional[Location] = None,
activate: Optional[Boolean] = None,
expected_bucket_owner: Optional[AccountId] = None,
) -> UpdateIPSetResponse
Updates the IPSet specified by the IPSet ID.
Parameters:
-
detector_id(DetectorId) –The detectorID that specifies the GuardDuty service whose IPSet you want to update.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
ip_set_id(String) –The unique ID that specifies the IPSet that you want to update.
-
name(Optional[Name], default:None) –The unique ID that specifies the IPSet that you want to update.
-
location(Optional[Location], default:None) –The updated URI of the file that contains the IPSet.
-
activate(Optional[Boolean], default:None) –The updated Boolean value that specifies whether the IPSet is active or not.
-
expected_bucket_owner(Optional[AccountId], default:None) –The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
Raises:
-
AccessDeniedException–An access denied exception object.
-
BadRequestException–A bad request exception object.
-
InternalServerErrorException–An internal server error exception object.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_guardduty/_services/async_guard_duty.py
6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 | |