get_property_value_history
¶
get_property_value_history(
workspace_id: Id,
selected_properties: SelectedPropertyList,
*,
config_overrides: Optional[IoTTwinMakerClientConfig] = None,
entity_id: Optional[EntityId] = None,
component_name: Optional[Name] = None,
component_path: Optional[ComponentPath] = None,
component_type_id: Optional[ComponentTypeId] = None,
property_filters: Optional[PropertyFilters] = None,
start_date_time: Optional[Timestamp] = None,
end_date_time: Optional[Timestamp] = None,
interpolation: Optional[InterpolationParameters] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
order_by_time: Optional[OrderByTime] = None,
start_time: Optional[Time] = None,
end_time: Optional[Time] = None,
) -> GetPropertyValueHistoryResponse
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
You must specify a value for workspaceId. For entity-specific queries, specify values for componentName and entityId. For cross-entity quries, specify a value for componentTypeId.
Parameters:
-
workspace_id(Id) –The ID of the workspace.
-
entity_id(Optional[EntityId], default:None) –The ID of the entity.
-
component_name(Optional[Name], default:None) –The name of the component.
-
component_path(Optional[ComponentPath], default:None) –This string specifies the path to the composite component, starting from the top-level component.
-
component_type_id(Optional[ComponentTypeId], default:None) –The ID of the component type.
-
selected_properties(SelectedPropertyList) –A list of properties whose value histories the request retrieves.
-
property_filters(Optional[PropertyFilters], default:None) –A list of objects that filter the property value history request.
-
start_date_time(Optional[Timestamp], default:None) –The date and time of the earliest property value to return.
-
end_date_time(Optional[Timestamp], default:None) –The date and time of the latest property value to return.
-
interpolation(Optional[InterpolationParameters], default:None) –An object that specifies the interpolation type and the interval over which to interpolate data.
-
next_token(Optional[NextToken], default:None) –The string that specifies the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
-
order_by_time(Optional[OrderByTime], default:None) –The time direction to use in the result order.
-
start_time(Optional[Time], default:None) –The ISO8601 DateTime of the earliest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
-
end_time(Optional[Time], default:None) –The ISO8601 DateTime of the latest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
Raises:
-
AccessDeniedException–Access is denied.
-
ConnectorFailureException–The connector failed.
-
ConnectorTimeoutException–The connector timed out.
-
InternalServerException–An unexpected error has occurred.
-
ResourceNotFoundException–The resource wasn't found.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–Failed
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iottwinmaker/_services/io_t_twin_maker.py
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 | |