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.

TopicRuleListItem

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

type TopicRuleListItem struct { CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` RuleArn *string `locationName:"ruleArn" type:"string"` RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` RuleName *string `locationName:"ruleName" min:"1" type:"string"` TopicPattern *string `locationName:"topicPattern" type:"string"` }

Describes a rule.

CreatedAt

Type: *time.Time

The date and time the rule was created.

RuleArn

Type: *string

The rule ARN.

RuleDisabled

Type: *bool

Specifies whether the rule is disabled.

RuleName

Type: *string

The name of the rule.

TopicPattern

Type: *string

The pattern for the topic names that apply.

Method

GoString

func (s TopicRuleListItem) GoString() string

GoString returns the string representation

SetCreatedAt

func (s *TopicRuleListItem) SetCreatedAt(v time.Time) *TopicRuleListItem

SetCreatedAt sets the CreatedAt field's value.

SetRuleArn

func (s *TopicRuleListItem) SetRuleArn(v string) *TopicRuleListItem

SetRuleArn sets the RuleArn field's value.

SetRuleDisabled

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

SetRuleDisabled sets the RuleDisabled field's value.

SetRuleName

func (s *TopicRuleListItem) SetRuleName(v string) *TopicRuleListItem

SetRuleName sets the RuleName field's value.

SetTopicPattern

func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem

SetTopicPattern sets the TopicPattern field's value.

String

func (s TopicRuleListItem) String() string

String returns the string representation

On this page: