update_malware_protection_plan¶
Operation¶
update_malware_protection_plan
¶
update_malware_protection_plan(request: UpdateMalwareProtectionPlanInput | UpdateMalwareProtectionPlanInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateMalwareProtectionPlanInputDict]) -> UpdateMalwareProtectionPlanOutput
Updates an existing Malware Protection plan resource.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateMalwareProtectionPlanInput | UpdateMalwareProtectionPlanInputDict | 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[UpdateMalwareProtectionPlanInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateMalwareProtectionPlanOutput
|
An instance of |
update_malware_protection_plan
async
¶
update_malware_protection_plan(request: UpdateMalwareProtectionPlanInput | UpdateMalwareProtectionPlanInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateMalwareProtectionPlanInputDict]) -> UpdateMalwareProtectionPlanOutput
Updates an existing Malware Protection plan resource.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateMalwareProtectionPlanInput | UpdateMalwareProtectionPlanInputDict | 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[UpdateMalwareProtectionPlanInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateMalwareProtectionPlanOutput
|
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.
UpdateMalwareProtectionPlanInputDict
¶
Bases: TypedDict
Dictionary form of UpdateMalwareProtectionPlanInput.
Attributes¶
actions
instance-attribute
¶
actions: MalwareProtectionPlanActions | MalwareProtectionPlanActionsDict | None
Information about whether the tags will be added to the S3 object after scanning.
malware_protection_plan_id
instance-attribute
¶
A unique identifier associated with the Malware Protection plan.
protected_resource
instance-attribute
¶
protected_resource: UpdateProtectedResource | UpdateProtectedResourceDict | None
Information about the protected resource that is associated with the
created Malware Protection plan. Presently, S3Bucket is the only
supported protected resource.
UpdateMalwareProtectionPlanInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateMalwareProtectionPlanInput structure.
Attributes¶
actions
class-attribute
instance-attribute
¶
actions: MalwareProtectionPlanActions | None = ...
Information about whether the tags will be added to the S3 object after scanning.
malware_protection_plan_id
class-attribute
instance-attribute
¶
malware_protection_plan_id: str | None = ...
A unique identifier associated with the Malware Protection plan.
protected_resource
class-attribute
instance-attribute
¶
protected_resource: UpdateProtectedResource | None = ...
Information about the protected resource that is associated with the
created Malware Protection plan. Presently, S3Bucket is the only
supported protected resource.
Output¶
UpdateMalwareProtectionPlanOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateMalwareProtectionPlanOutput structure.