list_topic_rules
¶
list_topic_rules(
*,
config_overrides: Optional[IoTClientConfig] = 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/io_t.py
14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 | |