libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.TopicRuleListItem

Description

 
Synopsis

Documentation

data TopicRuleListItem Source #

Describes a rule.

See: newTopicRuleListItem smart constructor.

Constructors

TopicRuleListItem' 

Fields

Instances

Instances details
Eq TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

Read TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

Show TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

Generic TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

Associated Types

type Rep TopicRuleListItem :: Type -> Type #

NFData TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

Methods

rnf :: TopicRuleListItem -> () #

Hashable TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

FromJSON TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

type Rep TopicRuleListItem Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleListItem

type Rep TopicRuleListItem = D1 ('MetaData "TopicRuleListItem" "Amazonka.IoT.Types.TopicRuleListItem" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "TopicRuleListItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "ruleDisabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "topicPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTopicRuleListItem :: TopicRuleListItem Source #

Create a value of TopicRuleListItem with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:createdAt:TopicRuleListItem', topicRuleListItem_createdAt - The date and time the rule was created.

$sel:ruleDisabled:TopicRuleListItem', topicRuleListItem_ruleDisabled - Specifies whether the rule is disabled.

$sel:ruleName:TopicRuleListItem', topicRuleListItem_ruleName - The name of the rule.

$sel:ruleArn:TopicRuleListItem', topicRuleListItem_ruleArn - The rule ARN.

$sel:topicPattern:TopicRuleListItem', topicRuleListItem_topicPattern - The pattern for the topic names that apply.

topicRuleListItem_createdAt :: Lens' TopicRuleListItem (Maybe UTCTime) Source #

The date and time the rule was created.

topicRuleListItem_ruleDisabled :: Lens' TopicRuleListItem (Maybe Bool) Source #

Specifies whether the rule is disabled.

topicRuleListItem_topicPattern :: Lens' TopicRuleListItem (Maybe Text) Source #

The pattern for the topic names that apply.