update_ip_set¶
Operation¶
update_ip_set
¶
update_ip_set(request: UpdateIPSetInput | UpdateIPSetInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateIPSetInputDict]) -> UpdateIPSetOutput
Updates the IPSet specified by the IPSet ID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateIPSetInput | UpdateIPSetInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateIPSetInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateIPSetOutput
|
An instance of |
update_ip_set
async
¶
update_ip_set(request: UpdateIPSetInput | UpdateIPSetInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateIPSetInputDict]) -> UpdateIPSetOutput
Updates the IPSet specified by the IPSet ID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateIPSetInput | UpdateIPSetInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateIPSetInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateIPSetOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateIPSetInputDict
¶
Bases: TypedDict
Dictionary form of UpdateIPSetInput.
Attributes¶
activate
instance-attribute
¶
activate: bool | None
The updated Boolean value that specifies whether the IPSet is active or not.
detector_id
instance-attribute
¶
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
instance-attribute
¶
expected_bucket_owner: str | None
The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
ip_set_id
instance-attribute
¶
The unique ID that specifies the IPSet that you want to update.
UpdateIPSetInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateIPSetInput structure.
Attributes¶
activate
class-attribute
instance-attribute
¶
activate: bool | None = ...
The updated Boolean value that specifies whether the IPSet is active or not.
detector_id
class-attribute
instance-attribute
¶
detector_id: str | 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 = ...
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 = ...
The unique ID that specifies the IPSet that you want to update.
Output¶
UpdateIPSetOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateIPSetOutput structure.