ChangeSNSTopicState

Enables or disables a topic. After a topic is disabled, messages sent to the topic are automatically ignored and will not be distributed to the subscribed endpoint.

ChangeSNSTopicState uuid=e034cef9ad3d43e0b3f9c0a316a0f25a stateEvent=disable

Parameters

Name Description Optional Valid Value Starting Version
uuid The resource UUID. 2.3
stateEvent The state event.
  • enable
  • disable
2.3
userTags The user tags. For more information, see CreateUserTag. Yes 2.3
systemTags The system tags. For more information, see CreateSystemTag. Yes 2.3
timeout Yes
CLI Command Manual | 5.4.12 | ZStack Cloud · ZCF | ZStack Resource Center