remove_thing_from_thing_group

IoT.Client.remove_thing_from_thing_group(**kwargs)

Remove the specified thing from the specified group.

You must specify either a thingGroupArn or a thingGroupName to identify the thing group and either a thingArn or a thingName to identify the thing to remove from the thing group.

Requires permission to access the RemoveThingFromThingGroup action.

See also: AWS API Documentation

Request Syntax

response = client.remove_thing_from_thing_group(
    thingGroupName='string',
    thingGroupArn='string',
    thingName='string',
    thingArn='string'
)
Parameters
  • thingGroupName (string) -- The group name.
  • thingGroupArn (string) -- The group ARN.
  • thingName (string) -- The name of the thing to remove from the group.
  • thingArn (string) -- The ARN of the thing to remove from the group.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.ThrottlingException
  • IoT.Client.exceptions.InternalFailureException
  • IoT.Client.exceptions.ResourceNotFoundException