| 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.IoTSiteWise.Types.PropertyNotification
Description
Documentation
data PropertyNotification Source #
Contains asset property value notification information. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.
See: newPropertyNotification smart constructor.
Constructors
| PropertyNotification' | |
Fields
| |
Instances
newPropertyNotification Source #
Arguments
| :: Text | |
| -> PropertyNotificationState | |
| -> PropertyNotification |
Create a value of PropertyNotification 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:topic:PropertyNotification', propertyNotification_topic - The MQTT topic to which IoT SiteWise publishes property value update
notifications.
$sel:state:PropertyNotification', propertyNotification_state - The current notification state.
propertyNotification_topic :: Lens' PropertyNotification Text Source #
The MQTT topic to which IoT SiteWise publishes property value update notifications.
propertyNotification_state :: Lens' PropertyNotification PropertyNotificationState Source #
The current notification state.