AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListTopicRulesInput

import "github.com/aws/aws-sdk-go/service/iot"

type ListTopicRulesInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` RuleDisabled *bool `location:"querystring" locationName:"ruleDisabled" type:"boolean"` Topic *string `location:"querystring" locationName:"topic" type:"string"` }

The input for the ListTopicRules operation.

MaxResults

Type: *int64

The maximum number of results to return.

NextToken

Type: *string

A token used to retrieve the next value.

RuleDisabled

Type: *bool

Specifies whether the rule is disabled.

Topic

Type: *string

The topic.

Method

GoString

func (s ListTopicRulesInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput

SetNextToken sets the NextToken field's value.

SetRuleDisabled

func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput

SetRuleDisabled sets the RuleDisabled field's value.

SetTopic

func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput

SetTopic sets the Topic field's value.

String

func (s ListTopicRulesInput) String() string

String returns the string representation

Validate

func (s *ListTopicRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: