Skip to content

/AWS1/CL_IOT=>CREATETHINGGROUP()

About CreateThingGroup

Create a thing group.

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

If the ThingGroup that you create has the exact same attributes as an existing ThingGroup, you will get a 200 success response.

Requires permission to access the CreateThingGroup action.

Method Signature

IMPORTING

Required arguments:

IV_THINGGROUPNAME TYPE /AWS1/IOTTHINGGROUPNAME /AWS1/IOTTHINGGROUPNAME

The thing group name to create.

Optional arguments:

IV_PARENTGROUPNAME TYPE /AWS1/IOTTHINGGROUPNAME /AWS1/IOTTHINGGROUPNAME

The name of the parent thing group.

IO_THINGGROUPPROPERTIES TYPE REF TO /AWS1/CL_IOTTHINGGROUPPRPS /AWS1/CL_IOTTHINGGROUPPRPS

The thing group properties.

IT_TAGS TYPE /AWS1/CL_IOTTAG=>TT_TAGLIST TT_TAGLIST

Metadata which can be used to manage the thing group.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTCRETHINGGROUPRSP /AWS1/CL_IOTCRETHINGGROUPRSP