create_dynamic_thing_group
async
¶
create_dynamic_thing_group(
thing_group_name: ThingGroupName,
query_string: QueryString,
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
thing_group_properties: Optional[ThingGroupProperties] = None,
index_name: Optional[IndexName] = None,
query_version: Optional[QueryVersion] = None,
tags: Optional[TagList] = None,
) -> CreateDynamicThingGroupResponse
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
Parameters:
-
thing_group_name(ThingGroupName) –The dynamic thing group name to create.
-
thing_group_properties(Optional[ThingGroupProperties], default:None) –The dynamic thing group properties.
-
index_name(Optional[IndexName], default:None) –The dynamic thing group index name.
Currently one index is supported:
AWS_Things. -
query_string(QueryString) –The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
-
query_version(Optional[QueryVersion], default:None) –The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
-
tags(Optional[TagList], default:None) –Metadata which can be used to manage the dynamic thing group.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidQueryException–The query is invalid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–A limit has been exceeded.
-
ResourceAlreadyExistsException–The resource already exists.
-
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/async_io_t.py
2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 | |