Struct aws_sdk_datazone::operation::post_time_series_data_points::builders::PostTimeSeriesDataPointsFluentBuilder
source · pub struct PostTimeSeriesDataPointsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PostTimeSeriesDataPoints
.
Posts time series data points to Amazon DataZone for the specified asset.
Implementations§
source§impl PostTimeSeriesDataPointsFluentBuilder
impl PostTimeSeriesDataPointsFluentBuilder
sourcepub fn as_input(&self) -> &PostTimeSeriesDataPointsInputBuilder
pub fn as_input(&self) -> &PostTimeSeriesDataPointsInputBuilder
Access the PostTimeSeriesDataPoints as a reference.
sourcepub async fn send(
self
) -> Result<PostTimeSeriesDataPointsOutput, SdkError<PostTimeSeriesDataPointsError, HttpResponse>>
pub async fn send( self ) -> Result<PostTimeSeriesDataPointsOutput, SdkError<PostTimeSeriesDataPointsError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<PostTimeSeriesDataPointsOutput, PostTimeSeriesDataPointsError, Self>
pub fn customize( self ) -> CustomizableOperation<PostTimeSeriesDataPointsOutput, PostTimeSeriesDataPointsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which you want to post time series data points.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which you want to post time series data points.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which you want to post time series data points.
sourcepub fn entity_identifier(self, input: impl Into<String>) -> Self
pub fn entity_identifier(self, input: impl Into<String>) -> Self
The ID of the asset for which you want to post time series data points.
sourcepub fn set_entity_identifier(self, input: Option<String>) -> Self
pub fn set_entity_identifier(self, input: Option<String>) -> Self
The ID of the asset for which you want to post time series data points.
sourcepub fn get_entity_identifier(&self) -> &Option<String>
pub fn get_entity_identifier(&self) -> &Option<String>
The ID of the asset for which you want to post time series data points.
sourcepub fn entity_type(self, input: TimeSeriesEntityType) -> Self
pub fn entity_type(self, input: TimeSeriesEntityType) -> Self
The type of the asset for which you want to post data points.
sourcepub fn set_entity_type(self, input: Option<TimeSeriesEntityType>) -> Self
pub fn set_entity_type(self, input: Option<TimeSeriesEntityType>) -> Self
The type of the asset for which you want to post data points.
sourcepub fn get_entity_type(&self) -> &Option<TimeSeriesEntityType>
pub fn get_entity_type(&self) -> &Option<TimeSeriesEntityType>
The type of the asset for which you want to post data points.
sourcepub fn forms(self, input: TimeSeriesDataPointFormInput) -> Self
pub fn forms(self, input: TimeSeriesDataPointFormInput) -> Self
Appends an item to forms
.
To override the contents of this collection use set_forms
.
The forms that contain the data points that you want to post.
sourcepub fn set_forms(self, input: Option<Vec<TimeSeriesDataPointFormInput>>) -> Self
pub fn set_forms(self, input: Option<Vec<TimeSeriesDataPointFormInput>>) -> Self
The forms that contain the data points that you want to post.
sourcepub fn get_forms(&self) -> &Option<Vec<TimeSeriesDataPointFormInput>>
pub fn get_forms(&self) -> &Option<Vec<TimeSeriesDataPointFormInput>>
The forms that contain the data points that you want to post.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Trait Implementations§
source§impl Clone for PostTimeSeriesDataPointsFluentBuilder
impl Clone for PostTimeSeriesDataPointsFluentBuilder
source§fn clone(&self) -> PostTimeSeriesDataPointsFluentBuilder
fn clone(&self) -> PostTimeSeriesDataPointsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more