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.ThingIndexingConfiguration
Description
Synopsis
- data ThingIndexingConfiguration = ThingIndexingConfiguration' {
- customFields :: Maybe [Field]
- deviceDefenderIndexingMode :: Maybe DeviceDefenderIndexingMode
- filter' :: Maybe IndexingFilter
- managedFields :: Maybe [Field]
- namedShadowIndexingMode :: Maybe NamedShadowIndexingMode
- thingConnectivityIndexingMode :: Maybe ThingConnectivityIndexingMode
- thingIndexingMode :: ThingIndexingMode
- newThingIndexingConfiguration :: ThingIndexingMode -> ThingIndexingConfiguration
- thingIndexingConfiguration_customFields :: Lens' ThingIndexingConfiguration (Maybe [Field])
- thingIndexingConfiguration_deviceDefenderIndexingMode :: Lens' ThingIndexingConfiguration (Maybe DeviceDefenderIndexingMode)
- thingIndexingConfiguration_filter :: Lens' ThingIndexingConfiguration (Maybe IndexingFilter)
- thingIndexingConfiguration_managedFields :: Lens' ThingIndexingConfiguration (Maybe [Field])
- thingIndexingConfiguration_namedShadowIndexingMode :: Lens' ThingIndexingConfiguration (Maybe NamedShadowIndexingMode)
- thingIndexingConfiguration_thingConnectivityIndexingMode :: Lens' ThingIndexingConfiguration (Maybe ThingConnectivityIndexingMode)
- thingIndexingConfiguration_thingIndexingMode :: Lens' ThingIndexingConfiguration ThingIndexingMode
Documentation
data ThingIndexingConfiguration Source #
The thing indexing configuration. For more information, see Managing Thing Indexing.
See: newThingIndexingConfiguration
smart constructor.
Constructors
ThingIndexingConfiguration' | |
Fields
|
Instances
newThingIndexingConfiguration Source #
Arguments
:: ThingIndexingMode | |
-> ThingIndexingConfiguration |
Create a value of ThingIndexingConfiguration
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:customFields:ThingIndexingConfiguration'
, thingIndexingConfiguration_customFields
- Contains custom field names and their data type.
$sel:deviceDefenderIndexingMode:ThingIndexingConfiguration'
, thingIndexingConfiguration_deviceDefenderIndexingMode
- Device Defender indexing mode. Valid values are:
- VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, deviceDefenderIndexingMode must not be set to OFF.
- OFF - Device Defender indexing is disabled.
For more information about Device Defender violations, see Device Defender Detect.
$sel:filter':ThingIndexingConfiguration'
, thingIndexingConfiguration_filter
- Provides additional filters for specific data sources. Named shadow is
the only data source that currently supports and requires a filter. To
add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in
filter
.
$sel:managedFields:ThingIndexingConfiguration'
, thingIndexingConfiguration_managedFields
- Contains fields that are indexed and whose types are already known by
the Fleet Indexing service.
$sel:namedShadowIndexingMode:ThingIndexingConfiguration'
, thingIndexingConfiguration_namedShadowIndexingMode
- Named shadow indexing mode. Valid values are:
- ON – Your thing index contains named shadow. To enable thing named shadow indexing, namedShadowIndexingMode must not be set to OFF.
- OFF - Named shadow indexing is disabled.
For more information about Shadows, see IoT Device Shadow service.
$sel:thingConnectivityIndexingMode:ThingIndexingConfiguration'
, thingIndexingConfiguration_thingConnectivityIndexingMode
- Thing connectivity indexing mode. Valid values are:
- STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
- OFF - Thing connectivity status indexing is disabled.
$sel:thingIndexingMode:ThingIndexingConfiguration'
, thingIndexingConfiguration_thingIndexingMode
- Thing indexing mode. Valid values are:
- REGISTRY – Your thing index contains registry data only.
- REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
- OFF - Thing indexing is disabled.
thingIndexingConfiguration_customFields :: Lens' ThingIndexingConfiguration (Maybe [Field]) Source #
Contains custom field names and their data type.
thingIndexingConfiguration_deviceDefenderIndexingMode :: Lens' ThingIndexingConfiguration (Maybe DeviceDefenderIndexingMode) Source #
Device Defender indexing mode. Valid values are:
- VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, deviceDefenderIndexingMode must not be set to OFF.
- OFF - Device Defender indexing is disabled.
For more information about Device Defender violations, see Device Defender Detect.
thingIndexingConfiguration_filter :: Lens' ThingIndexingConfiguration (Maybe IndexingFilter) Source #
Provides additional filters for specific data sources. Named shadow is
the only data source that currently supports and requires a filter. To
add named shadows to your fleet indexing configuration, set
namedShadowIndexingMode
to be ON
and specify your shadow names in
filter
.
thingIndexingConfiguration_managedFields :: Lens' ThingIndexingConfiguration (Maybe [Field]) Source #
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
thingIndexingConfiguration_namedShadowIndexingMode :: Lens' ThingIndexingConfiguration (Maybe NamedShadowIndexingMode) Source #
Named shadow indexing mode. Valid values are:
- ON – Your thing index contains named shadow. To enable thing named shadow indexing, namedShadowIndexingMode must not be set to OFF.
- OFF - Named shadow indexing is disabled.
For more information about Shadows, see IoT Device Shadow service.
thingIndexingConfiguration_thingConnectivityIndexingMode :: Lens' ThingIndexingConfiguration (Maybe ThingConnectivityIndexingMode) Source #
Thing connectivity indexing mode. Valid values are:
- STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.
- OFF - Thing connectivity status indexing is disabled.
thingIndexingConfiguration_thingIndexingMode :: Lens' ThingIndexingConfiguration ThingIndexingMode Source #
Thing indexing mode. Valid values are:
- REGISTRY – Your thing index contains registry data only.
- REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.
- OFF - Thing indexing is disabled.