list_topic_rules
async
¶
list_topic_rules(
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
topic: Optional[Topic] = None,
max_results: Optional[TopicRuleMaxResults] = None,
next_token: Optional[NextToken] = None,
rule_disabled: Optional[IsDisabled] = None,
) -> ListTopicRulesResponse
Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
Parameters:
-
topic(Optional[Topic], default:None) –The topic.
-
max_results(Optional[TopicRuleMaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwise null to receive the first set of results. -
rule_disabled(Optional[IsDisabled], default:None) –Specifies whether the rule is disabled.
Raises:
-
InternalException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
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
15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 | |