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

Description

Create a thing group.

This is a control plane operation. See Authorization for information about authorizing control plane actions.

Requires permission to access the CreateThingGroup action.

Synopsis

Creating a Request

data CreateThingGroup Source #

See: newCreateThingGroup smart constructor.

Constructors

CreateThingGroup' 

Fields

Instances

Instances details
Eq CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Read CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Show CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Generic CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Associated Types

type Rep CreateThingGroup :: Type -> Type #

NFData CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Methods

rnf :: CreateThingGroup -> () #

Hashable CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

ToJSON CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

AWSRequest CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Associated Types

type AWSResponse CreateThingGroup #

ToHeaders CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

ToPath CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

ToQuery CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

type Rep CreateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

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

Defined in Amazonka.IoT.CreateThingGroup

newCreateThingGroup Source #

Create a value of CreateThingGroup 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:parentGroupName:CreateThingGroup', createThingGroup_parentGroupName - The name of the parent thing group.

$sel:thingGroupProperties:CreateThingGroup', createThingGroup_thingGroupProperties - The thing group properties.

$sel:tags:CreateThingGroup', createThingGroup_tags - Metadata which can be used to manage the thing group.

$sel:thingGroupName:CreateThingGroup', createThingGroup_thingGroupName - The thing group name to create.

Request Lenses

createThingGroup_parentGroupName :: Lens' CreateThingGroup (Maybe Text) Source #

The name of the parent thing group.

createThingGroup_tags :: Lens' CreateThingGroup (Maybe [Tag]) Source #

Metadata which can be used to manage the thing group.

Destructuring the Response

data CreateThingGroupResponse Source #

See: newCreateThingGroupResponse smart constructor.

Constructors

CreateThingGroupResponse' 

Fields

Instances

Instances details
Eq CreateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Read CreateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Show CreateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Generic CreateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

Associated Types

type Rep CreateThingGroupResponse :: Type -> Type #

NFData CreateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

type Rep CreateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.CreateThingGroup

type Rep CreateThingGroupResponse = D1 ('MetaData "CreateThingGroupResponse" "Amazonka.IoT.CreateThingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CreateThingGroupResponse'" 'PrefixI 'True) ((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 "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateThingGroupResponse Source #

Create a value of CreateThingGroupResponse 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:thingGroupArn:CreateThingGroupResponse', createThingGroupResponse_thingGroupArn - The thing group ARN.

$sel:thingGroupId:CreateThingGroupResponse', createThingGroupResponse_thingGroupId - The thing group ID.

$sel:thingGroupName:CreateThingGroup', createThingGroupResponse_thingGroupName - The thing group name.

$sel:httpStatus:CreateThingGroupResponse', createThingGroupResponse_httpStatus - The response's http status code.

Response Lenses