libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.AddThingsToThingGroupParams

Description

 
Synopsis

Documentation

data AddThingsToThingGroupParams Source #

Parameters used when defining a mitigation action that move a set of things to a thing group.

See: newAddThingsToThingGroupParams smart constructor.

Constructors

AddThingsToThingGroupParams' 

Fields

  • overrideDynamicGroups :: Maybe Bool

    Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.

  • thingGroupNames :: NonEmpty Text

    The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.

Instances

Instances details
Eq AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

Read AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

Show AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

Generic AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

Associated Types

type Rep AddThingsToThingGroupParams :: Type -> Type #

NFData AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

Hashable AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

ToJSON AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

FromJSON AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

type Rep AddThingsToThingGroupParams Source # 
Instance details

Defined in Amazonka.IoT.Types.AddThingsToThingGroupParams

type Rep AddThingsToThingGroupParams = D1 ('MetaData "AddThingsToThingGroupParams" "Amazonka.IoT.Types.AddThingsToThingGroupParams" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AddThingsToThingGroupParams'" 'PrefixI 'True) (S1 ('MetaSel ('Just "overrideDynamicGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "thingGroupNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newAddThingsToThingGroupParams Source #

Create a value of AddThingsToThingGroupParams 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:overrideDynamicGroups:AddThingsToThingGroupParams', addThingsToThingGroupParams_overrideDynamicGroups - Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.

$sel:thingGroupNames:AddThingsToThingGroupParams', addThingsToThingGroupParams_thingGroupNames - The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.

addThingsToThingGroupParams_overrideDynamicGroups :: Lens' AddThingsToThingGroupParams (Maybe Bool) Source #

Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.

addThingsToThingGroupParams_thingGroupNames :: Lens' AddThingsToThingGroupParams (NonEmpty Text) Source #

The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.