Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ThingDocument = ThingDocument' {
- thingGroupNames :: Maybe [Text]
- thingTypeName :: Maybe Text
- shadow :: Maybe Text
- attributes :: Maybe (HashMap Text Text)
- connectivity :: Maybe ThingConnectivity
- thingName :: Maybe Text
- thingId :: Maybe Text
- newThingDocument :: ThingDocument
- thingDocument_thingGroupNames :: Lens' ThingDocument (Maybe [Text])
- thingDocument_thingTypeName :: Lens' ThingDocument (Maybe Text)
- thingDocument_shadow :: Lens' ThingDocument (Maybe Text)
- thingDocument_attributes :: Lens' ThingDocument (Maybe (HashMap Text Text))
- thingDocument_connectivity :: Lens' ThingDocument (Maybe ThingConnectivity)
- thingDocument_thingName :: Lens' ThingDocument (Maybe Text)
- thingDocument_thingId :: Lens' ThingDocument (Maybe Text)
Documentation
data ThingDocument Source #
The thing search index document.
See: newThingDocument
smart constructor.
ThingDocument' | |
|
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:thingGroupNames:ThingDocument'
, thingDocument_thingGroupNames
- Thing group names.
$sel:thingTypeName:ThingDocument'
, thingDocument_thingTypeName
- The thing type name.
$sel:shadow:ThingDocument'
, thingDocument_shadow
- The shadow.
$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:thingName:ThingDocument'
, thingDocument_thingName
- The thing name.
$sel:thingId:ThingDocument'
, thingDocument_thingId
- The thing ID.
thingDocument_thingGroupNames :: Lens' ThingDocument (Maybe [Text]) Source #
Thing group names.
thingDocument_thingTypeName :: Lens' ThingDocument (Maybe Text) Source #
The thing type name.
thingDocument_shadow :: Lens' ThingDocument (Maybe Text) Source #
The shadow.
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_thingName :: Lens' ThingDocument (Maybe Text) Source #
The thing name.
thingDocument_thingId :: Lens' ThingDocument (Maybe Text) Source #
The thing ID.