Skip to content

Guardduty  >  Operations  >  update_ip_set

update_ip_set

Operation

update_ip_set async

update_ip_set(input: UpdateIPSetInput, plugins: list[Plugin] | None = None) -> UpdateIPSetOutput

Updates the IPSet specified by the IPSet ID.

Parameters:

Name Type Description Default
input UpdateIPSetInput

An instance of UpdateIPSetInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateIPSetOutput

An instance of UpdateIPSetOutput.

Input

UpdateIPSetInput dataclass

Dataclass for UpdateIPSetInput structure.

Attributes

activate class-attribute instance-attribute
activate: bool | None = None

The updated Boolean value that specifies whether the IPSet is active or not.

detector_id class-attribute instance-attribute
detector_id: str | None = None

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.

expected_bucket_owner class-attribute instance-attribute
expected_bucket_owner: str | None = None

The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.

ip_set_id class-attribute instance-attribute
ip_set_id: str | None = None

The unique ID that specifies the IPSet that you want to update.

location class-attribute instance-attribute
location: str | None = None

The updated URI of the file that contains the IPSet.

name class-attribute instance-attribute
name: str | None = None

The unique ID that specifies the IPSet that you want to update.

Output

UpdateIPSetOutput dataclass

Dataclass for UpdateIPSetOutput structure.