update_dynamic_thing_group
¶
update_dynamic_thing_group(
thing_group_name: ThingGroupName,
thing_group_properties: ThingGroupProperties,
*,
config_overrides: Optional[IoTClientConfig] = 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/io_t.py
17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 | |