Skip to content

iter_get_property_value async

iter_get_property_value(
    selected_properties: SelectedPropertyList,
    workspace_id: Id,
    *,
    config_overrides: Optional[AsyncIoTTwinMakerClientConfig] = None,
    component_name: Optional[Name] = None,
    component_path: Optional[ComponentPath] = None,
    component_type_id: Optional[ComponentTypeId] = None,
    entity_id: Optional[EntityId] = None,
    max_results: Optional[MaxResults] = None,
    next_token: Optional[NextToken] = None,
    property_group_name: Optional[Name] = None,
    tabular_conditions: Optional[TabularConditions] = None,
) -> AsyncIterator[GetPropertyValueResponse]
Source code in docs_src/capo_iottwinmaker/_services/async_io_t_twin_maker.py
async def iter_get_property_value(
    self,
    selected_properties: "capo_iottwinmaker.types.selected_property_list.SelectedPropertyList",
    workspace_id: "capo_iottwinmaker.types.id.Id",
    *,
    config_overrides: Optional[AsyncIoTTwinMakerClientConfig] = None,
    component_name: Optional["capo_iottwinmaker.types.name.Name"] = None,
    component_path: Optional[
        "capo_iottwinmaker.types.component_path.ComponentPath"
    ] = None,
    component_type_id: Optional[
        "capo_iottwinmaker.types.component_type_id.ComponentTypeId"
    ] = None,
    entity_id: Optional["capo_iottwinmaker.types.entity_id.EntityId"] = None,
    max_results: Optional["capo_iottwinmaker.types.max_results.MaxResults"] = None,
    next_token: Optional["capo_iottwinmaker.types.next_token.NextToken"] = None,
    property_group_name: Optional["capo_iottwinmaker.types.name.Name"] = None,
    tabular_conditions: Optional[
        "capo_iottwinmaker.types.tabular_conditions.TabularConditions"
    ] = None,
) -> "AsyncIterator[capo_iottwinmaker.types.get_property_value_response.GetPropertyValueResponse]":
    _token = next_token
    while True:
        _response = await self.get_property_value(
            selected_properties,
            workspace_id,
            config_overrides=config_overrides,
            component_name=component_name,
            component_path=component_path,
            component_type_id=component_type_id,
            entity_id=entity_id,
            max_results=max_results,
            next_token=_token,
            property_group_name=property_group_name,
            tabular_conditions=tabular_conditions,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break