pub struct GetPropertyValueHistory { /* private fields */ }Expand description
Fluent builder constructing a request to GetPropertyValueHistory.
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.
Implementations
sourceimpl GetPropertyValueHistory
impl GetPropertyValueHistory
sourcepub async fn send(
self
) -> Result<GetPropertyValueHistoryOutput, SdkError<GetPropertyValueHistoryError>>
pub async fn send(
self
) -> Result<GetPropertyValueHistoryOutput, SdkError<GetPropertyValueHistoryError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> GetPropertyValueHistoryPaginator
pub fn into_paginator(self) -> GetPropertyValueHistoryPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The ID of the entity.
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component.
sourcepub fn component_type_id(self, input: impl Into<String>) -> Self
pub fn component_type_id(self, input: impl Into<String>) -> Self
The ID of the component type.
sourcepub fn set_component_type_id(self, input: Option<String>) -> Self
pub fn set_component_type_id(self, input: Option<String>) -> Self
The ID of the component type.
sourcepub fn selected_properties(self, input: impl Into<String>) -> Self
pub fn selected_properties(self, input: impl Into<String>) -> Self
Appends an item to selectedProperties.
To override the contents of this collection use set_selected_properties.
A list of properties whose value histories the request retrieves.
sourcepub fn set_selected_properties(self, input: Option<Vec<String>>) -> Self
pub fn set_selected_properties(self, input: Option<Vec<String>>) -> Self
A list of properties whose value histories the request retrieves.
sourcepub fn property_filters(self, input: PropertyFilter) -> Self
pub fn property_filters(self, input: PropertyFilter) -> Self
Appends an item to propertyFilters.
To override the contents of this collection use set_property_filters.
A list of objects that filter the property value history request.
sourcepub fn set_property_filters(self, input: Option<Vec<PropertyFilter>>) -> Self
pub fn set_property_filters(self, input: Option<Vec<PropertyFilter>>) -> Self
A list of objects that filter the property value history request.
sourcepub fn start_date_time(self, input: DateTime) -> Self
pub fn start_date_time(self, input: DateTime) -> Self
The date and time of the earliest property value to return.
sourcepub fn set_start_date_time(self, input: Option<DateTime>) -> Self
pub fn set_start_date_time(self, input: Option<DateTime>) -> Self
The date and time of the earliest property value to return.
sourcepub fn end_date_time(self, input: DateTime) -> Self
pub fn end_date_time(self, input: DateTime) -> Self
The date and time of the latest property value to return.
sourcepub fn set_end_date_time(self, input: Option<DateTime>) -> Self
pub fn set_end_date_time(self, input: Option<DateTime>) -> Self
The date and time of the latest property value to return.
sourcepub fn interpolation(self, input: InterpolationParameters) -> Self
pub fn interpolation(self, input: InterpolationParameters) -> Self
An object that specifies the interpolation type and the interval over which to interpolate data.
sourcepub fn set_interpolation(self, input: Option<InterpolationParameters>) -> Self
pub fn set_interpolation(self, input: Option<InterpolationParameters>) -> Self
An object that specifies the interpolation type and the interval over which to interpolate data.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string that specifies the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string that specifies the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn order_by_time(self, input: OrderByTime) -> Self
pub fn order_by_time(self, input: OrderByTime) -> Self
The time direction to use in the result order.
sourcepub fn set_order_by_time(self, input: Option<OrderByTime>) -> Self
pub fn set_order_by_time(self, input: Option<OrderByTime>) -> Self
The time direction to use in the result order.
sourcepub fn start_time(self, input: impl Into<String>) -> Self
pub fn start_time(self, input: impl Into<String>) -> Self
The ISO8601 DateTime of the earliest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
sourcepub fn set_start_time(self, input: Option<String>) -> Self
pub fn set_start_time(self, input: Option<String>) -> Self
The ISO8601 DateTime of the earliest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
sourcepub fn end_time(self, input: impl Into<String>) -> Self
pub fn end_time(self, input: impl Into<String>) -> Self
The ISO8601 DateTime of the latest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
sourcepub fn set_end_time(self, input: Option<String>) -> Self
pub fn set_end_time(self, input: Option<String>) -> Self
The ISO8601 DateTime of the latest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
Trait Implementations
sourceimpl Clone for GetPropertyValueHistory
impl Clone for GetPropertyValueHistory
sourcefn clone(&self) -> GetPropertyValueHistory
fn clone(&self) -> GetPropertyValueHistory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GetPropertyValueHistory
impl Send for GetPropertyValueHistory
impl Sync for GetPropertyValueHistory
impl Unpin for GetPropertyValueHistory
impl !UnwindSafe for GetPropertyValueHistory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more