remove_thing_from_thing_group
¶
remove_thing_from_thing_group(
*,
config_overrides: Optional[IoTClientConfig] = None,
thing_group_name: Optional[ThingGroupName] = None,
thing_group_arn: Optional[ThingGroupArn] = None,
thing_name: Optional[ThingName] = None,
thing_arn: Optional[ThingArn] = None,
) -> RemoveThingFromThingGroupResponse
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.
Parameters:
-
thing_group_name(Optional[ThingGroupName], default:None) –The group name.
-
thing_group_arn(Optional[ThingGroupArn], default:None) –The group ARN.
-
thing_name(Optional[ThingName], default:None) –The name of the thing to remove from the group.
-
thing_arn(Optional[ThingArn], default:None) –The ARN of the thing to remove from the group.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 | |