update_thing_group
¶
update_thing_group(
thing_group_name: ThingGroupName,
thing_group_properties: ThingGroupProperties,
*,
config_overrides: Optional[IoTClientConfig] = None,
expected_version: Optional[OptionalVersion] = None,
) -> UpdateThingGroupResponse
Update a thing group.
Requires permission to access the UpdateThingGroup action.
Parameters:
-
thing_group_name(ThingGroupName) –The thing group to update.
-
thing_group_properties(ThingGroupProperties) –The thing group properties.
-
expected_version(Optional[OptionalVersion], default:None) –The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.
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.
-
VersionConflictException–An exception thrown when the version of an entity specified with the
expectedVersionparameter does not match the latest version in the system. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 | |