update_dynamic_thing_group
async
¶
update_dynamic_thing_group(
thing_group_name: ThingGroupName,
thing_group_properties: ThingGroupProperties,
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
expected_version: Optional[OptionalVersion] = None,
index_name: Optional[IndexName] = None,
query_string: Optional[QueryString] = None,
query_version: Optional[QueryVersion] = None,
) -> UpdateDynamicThingGroupResponse
Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
Parameters:
-
thing_group_name(ThingGroupName) –The name of the dynamic thing group to update.
-
thing_group_properties(ThingGroupProperties) –The dynamic thing group properties to update.
-
expected_version(Optional[OptionalVersion], default:None) –The expected version of the dynamic thing group to update.
-
index_name(Optional[IndexName], default:None) –The dynamic thing group index to update.
Currently one index is supported:
AWS_Things. -
query_string(Optional[QueryString], default:None) –The dynamic thing group search query string to update.
-
query_version(Optional[QueryVersion], default:None) –The dynamic thing group query version to update.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidQueryException–The query is invalid.
-
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
17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 | |