replace_topic_rule
async
¶
replace_topic_rule(
rule_name: RuleName,
topic_rule_payload: TopicRulePayload,
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
) -> None
Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Requires permission to access the ReplaceTopicRule action.
Parameters:
-
rule_name(RuleName) –The name of the rule.
-
topic_rule_payload(TopicRulePayload) –The rule payload.
Raises:
-
ConflictingResourceUpdateException–A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.
-
InternalException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
SqlParseException–The Rule-SQL expression can't be parsed correctly.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 | |