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.RepublishAction

Description

 
Synopsis

Documentation

data RepublishAction Source #

Describes an action to republish to another topic.

See: newRepublishAction smart constructor.

Constructors

RepublishAction' 

Fields

  • qos :: Maybe Natural

    The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

  • roleArn :: Text

    The ARN of the IAM role that grants access.

  • topic :: Text

    The name of the MQTT topic.

Instances

Instances details
Eq RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

Read RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

Show RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

Generic RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

Associated Types

type Rep RepublishAction :: Type -> Type #

NFData RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

Methods

rnf :: RepublishAction -> () #

Hashable RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

ToJSON RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

FromJSON RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

type Rep RepublishAction Source # 
Instance details

Defined in Amazonka.IoT.Types.RepublishAction

type Rep RepublishAction = D1 ('MetaData "RepublishAction" "Amazonka.IoT.Types.RepublishAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "RepublishAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "qos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRepublishAction Source #

Create a value of RepublishAction 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:qos:RepublishAction', republishAction_qos - The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

$sel:roleArn:RepublishAction', republishAction_roleArn - The ARN of the IAM role that grants access.

$sel:topic:RepublishAction', republishAction_topic - The name of the MQTT topic.

republishAction_qos :: Lens' RepublishAction (Maybe Natural) Source #

The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

republishAction_roleArn :: Lens' RepublishAction Text Source #

The ARN of the IAM role that grants access.

republishAction_topic :: Lens' RepublishAction Text Source #

The name of the MQTT topic.