| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.RepublishAction
Description
Synopsis
- data RepublishAction = RepublishAction' {}
- newRepublishAction :: Text -> Text -> RepublishAction
- republishAction_headers :: Lens' RepublishAction (Maybe MqttHeaders)
- republishAction_qos :: Lens' RepublishAction (Maybe Natural)
- republishAction_roleArn :: Lens' RepublishAction Text
- republishAction_topic :: Lens' RepublishAction Text
Documentation
data RepublishAction Source #
Describes an action to republish to another topic.
See: newRepublishAction smart constructor.
Constructors
| RepublishAction' | |
Fields
| |
Instances
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:headers:RepublishAction', republishAction_headers - MQTT Version 5.0 headers information. For more information, see
MQTT
from the Amazon Web Services IoT Core Developer Guide.
$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_headers :: Lens' RepublishAction (Maybe MqttHeaders) Source #
MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
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.