Call this operation to update a specified rule action.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to UpdateRuleAction.
ActionId Long Yes The ID of the rule action to be modified.
Type String Yes

The rule action type indicates the target to which data will be forwarded. Value options:

MNS: Forwards data to a theme of Message Service (MNS) for message transmission.

FC: Forwards data to a function of Function Compute for event computing.

OTS: Forwards data to a Table Store instance for NoSQL data storage.

REPUBLISH: Forwards data to another topic.

  • For different regions, the supported target products may be different. See Regions and zones of Rules Engine.
  • Binary data (the DataType value of the rule is BINARY) cannot be forwarded to OTS (Table Store).
Configuration String Yes Rule action configurations. The configurations for different rule action types are different. For more information, see the configuration descriptions for each type in CreateActionRule.
Common Request Parameters - Yes See Common parameters.

Response parameters

Parameter Type Description
RequestId String The globally unique ID generated by Alibaba Cloud for the request.
Success Boolean Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.
ErrorMessage String The error message returned when the call fails.
Code String The error code returned when the call fails. For more information about error codes, see Error codes.


Request example
&Public Request Parameters

Response example

    "RequestId": "21D327AF-A7DE-4E59-B5D1-ACAC8C024555",
    "Success": true