create_dynamic_thing_group
¶
create_dynamic_thing_group(
thing_group_name: ThingGroupName,
query_string: QueryString,
*,
config_overrides: Optional[IoTClientConfig] = 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/io_t.py
2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 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 | |