Skip to content

UpdateMitigationActionRequest

Source code in docs_src/capo_iot/types/update_mitigation_action_request.py
class UpdateMitigationActionRequest(TypedDict, closed=True):
    action_name: "capo_iot.types.mitigation_action_name.MitigationActionName"
    """<p>The friendly name for the mitigation action. You cannot change the name by using <code>UpdateMitigationAction</code>. Instead, you must delete and recreate the mitigation action with the new name.</p>"""
    role_arn: NotRequired["capo_iot.types.role_arn.RoleArn"]
    """<p>The ARN of the IAM role that is used to apply the mitigation action.</p>"""
    action_params: NotRequired[
        "capo_iot.types.mitigation_action_params.MitigationActionParams"
    ]
    """<p>Defines the type of action and the parameters for that action.</p>"""

action_name instance-attribute

action_name: MitigationActionName

The friendly name for the mitigation action. You cannot change the name by using UpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.

action_params instance-attribute

action_params: NotRequired[MitigationActionParams]

Defines the type of action and the parameters for that action.

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

The ARN of the IAM role that is used to apply the mitigation action.