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.CreateDynamicThingGroup

Description

Creates a dynamic thing group.

Requires permission to access the CreateDynamicThingGroup action.

Synopsis

Creating a Request

data CreateDynamicThingGroup Source #

See: newCreateDynamicThingGroup smart constructor.

Constructors

CreateDynamicThingGroup' 

Fields

Instances

Instances details
Eq CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Read CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Show CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Generic CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Associated Types

type Rep CreateDynamicThingGroup :: Type -> Type #

NFData CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Methods

rnf :: CreateDynamicThingGroup -> () #

Hashable CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

ToJSON CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

AWSRequest CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

ToHeaders CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

ToPath CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

ToQuery CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

type Rep CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

type Rep CreateDynamicThingGroup = D1 ('MetaData "CreateDynamicThingGroup" "Amazonka.IoT.CreateDynamicThingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateDynamicThingGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "thingGroupProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThingGroupProperties)) :*: S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "thingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateDynamicThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

newCreateDynamicThingGroup Source #

Create a value of CreateDynamicThingGroup 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:queryVersion:CreateDynamicThingGroup', createDynamicThingGroup_queryVersion - The dynamic thing group query version.

Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.

$sel:thingGroupProperties:CreateDynamicThingGroup', createDynamicThingGroup_thingGroupProperties - The dynamic thing group properties.

$sel:indexName:CreateDynamicThingGroup', createDynamicThingGroup_indexName - The dynamic thing group index name.

Currently one index is supported: AWS_Things.

$sel:tags:CreateDynamicThingGroup', createDynamicThingGroup_tags - Metadata which can be used to manage the dynamic thing group.

$sel:thingGroupName:CreateDynamicThingGroup', createDynamicThingGroup_thingGroupName - The dynamic thing group name to create.

$sel:queryString:CreateDynamicThingGroup', createDynamicThingGroup_queryString - The dynamic thing group search query string.

See Query Syntax for information about query string syntax.

Request Lenses

createDynamicThingGroup_queryVersion :: Lens' CreateDynamicThingGroup (Maybe Text) Source #

The dynamic thing group query version.

Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.

createDynamicThingGroup_indexName :: Lens' CreateDynamicThingGroup (Maybe Text) Source #

The dynamic thing group index name.

Currently one index is supported: AWS_Things.

createDynamicThingGroup_tags :: Lens' CreateDynamicThingGroup (Maybe [Tag]) Source #

Metadata which can be used to manage the dynamic thing group.

createDynamicThingGroup_queryString :: Lens' CreateDynamicThingGroup Text Source #

The dynamic thing group search query string.

See Query Syntax for information about query string syntax.

Destructuring the Response

data CreateDynamicThingGroupResponse Source #

See: newCreateDynamicThingGroupResponse smart constructor.

Constructors

CreateDynamicThingGroupResponse' 

Fields

Instances

Instances details
Eq CreateDynamicThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Read CreateDynamicThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Show CreateDynamicThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Generic CreateDynamicThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

Associated Types

type Rep CreateDynamicThingGroupResponse :: Type -> Type #

NFData CreateDynamicThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

type Rep CreateDynamicThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateDynamicThingGroup

type Rep CreateDynamicThingGroupResponse = D1 ('MetaData "CreateDynamicThingGroupResponse" "Amazonka.IoT.CreateDynamicThingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateDynamicThingGroupResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "thingGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "thingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Response Lenses