update_automation_rule_v2
¶
update_automation_rule_v2(
identifier: NonEmptyString,
*,
config_overrides: Optional[SecurityHubClientConfig] = None,
rule_status: Optional[RuleStatusV2] = None,
rule_order: Optional[RuleOrderValueV2] = None,
description: Optional[NonEmptyString] = None,
rule_name: Optional[NonEmptyString] = None,
criteria: Optional[Criteria] = None,
actions: Optional[AutomationRulesActionListV2] = None,
) -> UpdateAutomationRuleV2Response
Updates a V2 automation rule.
Parameters:
-
identifier(NonEmptyString) –The ARN of the automation rule.
-
rule_status(Optional[RuleStatusV2], default:None) –The status of the automation rule.
-
rule_order(Optional[RuleOrderValueV2], default:None) –Represents a value for the rule priority.
-
description(Optional[NonEmptyString], default:None) –A description of the automation rule.
-
rule_name(Optional[NonEmptyString], default:None) –The name of the automation rule.
-
criteria(Optional[Criteria], default:None) –The filtering type and configuration of the automation rule.
-
actions(Optional[AutomationRulesActionListV2], default:None) –A list of actions to be performed when the rule criteria is met.
Raises:
-
AccessDeniedException–You don't have permission to perform the action specified in the request.
-
ConflictException–The request causes conflict with the current state of the service resource.
-
InternalServerException–The request has failed due to an internal failure of the service.
-
ResourceNotFoundException–The request was rejected because we can't find the specified resource.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation because it's missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityhub/_services/security_hub.py
7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 | |