update_thing_group
async
¶
update_thing_group(
thing_group_name: ThingGroupName,
thing_group_properties: ThingGroupProperties,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 | |