// Lists the rules for the specific topic.
Lists the rules for the specific topic.
// Lists the rules for the specific topic .
func (c *Client) ListTopicRules(ctx context.Context, params *ListTopicRulesInput, optFns ...func(*Options)) (*ListTopicRulesOutput, error) {
	if params == nil {
		params = &ListTopicRulesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListTopicRules", params, optFns, addOperationListTopicRulesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListTopicRulesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListTopicRules ( ctx context . Context , params * ListTopicRulesInput , optFns ... func ( * Options ) ) ( * ListTopicRulesOutput , error ) { if params == nil { params = & ListTopicRulesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListTopicRulesMiddlewares ) if err != nil { return nil , err } out := result . ( * ListTopicRulesOutput ) out . ResultMetadata = metadata return out , nil }
Lists the rules for the specific topic.
Lists the rules for the specific topic .