AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateThingGroupsForThing operation. Updates the groups to which the thing belongs.

Requires permission to access the UpdateThingGroupsForThing action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.UpdateThingGroupsForThingRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateThingGroupsForThingRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The UpdateThingGroupsForThingRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property OverrideDynamicGroups System.Nullable<System.Boolean>

Gets and sets the property OverrideDynamicGroups.

Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.

Public Property ThingGroupsToAdd System.Collections.Generic.List<System.String>

Gets and sets the property ThingGroupsToAdd.

The groups to which the thing will be added.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ThingGroupsToRemove System.Collections.Generic.List<System.String>

Gets and sets the property ThingGroupsToRemove.

The groups from which the thing will be removed.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ThingName System.String

Gets and sets the property ThingName.

The thing whose group memberships will be updated.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer