| 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.ThingDocument
Description
Synopsis
- data ThingDocument = ThingDocument' {
- attributes :: Maybe (HashMap Text Text)
- connectivity :: Maybe ThingConnectivity
- deviceDefender :: Maybe Text
- shadow :: Maybe Text
- thingGroupNames :: Maybe [Text]
- thingId :: Maybe Text
- thingName :: Maybe Text
- thingTypeName :: Maybe Text
- newThingDocument :: ThingDocument
- thingDocument_attributes :: Lens' ThingDocument (Maybe (HashMap Text Text))
- thingDocument_connectivity :: Lens' ThingDocument (Maybe ThingConnectivity)
- thingDocument_deviceDefender :: Lens' ThingDocument (Maybe Text)
- thingDocument_shadow :: Lens' ThingDocument (Maybe Text)
- thingDocument_thingGroupNames :: Lens' ThingDocument (Maybe [Text])
- thingDocument_thingId :: Lens' ThingDocument (Maybe Text)
- thingDocument_thingName :: Lens' ThingDocument (Maybe Text)
- thingDocument_thingTypeName :: Lens' ThingDocument (Maybe Text)
Documentation
data ThingDocument Source #
The thing search index document.
See: newThingDocument smart constructor.
Constructors
| ThingDocument' | |
Fields
| |
Instances
newThingDocument :: ThingDocument Source #
Create a value of ThingDocument 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:attributes:ThingDocument', thingDocument_attributes - The attributes.
$sel:connectivity:ThingDocument', thingDocument_connectivity - Indicates whether the thing is connected to the Amazon Web Services IoT
Core service.
$sel:deviceDefender:ThingDocument', thingDocument_deviceDefender - Contains Device Defender data.
For more information about Device Defender, see Device Defender.
$sel:shadow:ThingDocument', thingDocument_shadow - The unnamed shadow and named shadow.
For more information about shadows, see IoT Device Shadow service.
$sel:thingGroupNames:ThingDocument', thingDocument_thingGroupNames - Thing group names.
$sel:thingId:ThingDocument', thingDocument_thingId - The thing ID.
$sel:thingName:ThingDocument', thingDocument_thingName - The thing name.
$sel:thingTypeName:ThingDocument', thingDocument_thingTypeName - The thing type name.
thingDocument_attributes :: Lens' ThingDocument (Maybe (HashMap Text Text)) Source #
The attributes.
thingDocument_connectivity :: Lens' ThingDocument (Maybe ThingConnectivity) Source #
Indicates whether the thing is connected to the Amazon Web Services IoT Core service.
thingDocument_deviceDefender :: Lens' ThingDocument (Maybe Text) Source #
Contains Device Defender data.
For more information about Device Defender, see Device Defender.
thingDocument_shadow :: Lens' ThingDocument (Maybe Text) Source #
The unnamed shadow and named shadow.
For more information about shadows, see IoT Device Shadow service.
thingDocument_thingGroupNames :: Lens' ThingDocument (Maybe [Text]) Source #
Thing group names.
thingDocument_thingId :: Lens' ThingDocument (Maybe Text) Source #
The thing ID.
thingDocument_thingName :: Lens' ThingDocument (Maybe Text) Source #
The thing name.
thingDocument_thingTypeName :: Lens' ThingDocument (Maybe Text) Source #
The thing type name.