Struct aws_sdk_iotsitewise::operation::delete_time_series::builders::DeleteTimeSeriesFluentBuilder
source · pub struct DeleteTimeSeriesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteTimeSeries.
Deletes a time series (data stream). If you delete a time series that's associated with an asset property, the asset property still exists, but the time series will no longer be associated with this asset property.
To identify a time series, do one of the following:
-
If the time series isn't associated with an asset property, specify the
aliasof the time series. -
If the time series is associated with an asset property, specify one of the following:
-
The
aliasof the time series. -
The
assetIdandpropertyIdthat identifies the asset property.
-
Implementations§
source§impl DeleteTimeSeriesFluentBuilder
impl DeleteTimeSeriesFluentBuilder
sourcepub fn as_input(&self) -> &DeleteTimeSeriesInputBuilder
pub fn as_input(&self) -> &DeleteTimeSeriesInputBuilder
Access the DeleteTimeSeries as a reference.
sourcepub async fn send(
self
) -> Result<DeleteTimeSeriesOutput, SdkError<DeleteTimeSeriesError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteTimeSeriesOutput, SdkError<DeleteTimeSeriesError, 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<DeleteTimeSeriesOutput, DeleteTimeSeriesError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteTimeSeriesOutput, DeleteTimeSeriesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn alias(self, input: impl Into<String>) -> Self
pub fn alias(self, input: impl Into<String>) -> Self
The alias that identifies the time series.
sourcepub fn set_alias(self, input: Option<String>) -> Self
pub fn set_alias(self, input: Option<String>) -> Self
The alias that identifies the time series.
sourcepub fn asset_id(self, input: impl Into<String>) -> Self
pub fn asset_id(self, input: impl Into<String>) -> Self
The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn set_asset_id(self, input: Option<String>) -> Self
pub fn set_asset_id(self, input: Option<String>) -> Self
The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn get_asset_id(&self) -> &Option<String>
pub fn get_asset_id(&self) -> &Option<String>
The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn property_id(self, input: impl Into<String>) -> Self
pub fn property_id(self, input: impl Into<String>) -> Self
The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn set_property_id(self, input: Option<String>) -> Self
pub fn set_property_id(self, input: Option<String>) -> Self
The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn get_property_id(&self) -> &Option<String>
pub fn get_property_id(&self) -> &Option<String>
The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
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 you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
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 you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
Trait Implementations§
source§impl Clone for DeleteTimeSeriesFluentBuilder
impl Clone for DeleteTimeSeriesFluentBuilder
source§fn clone(&self) -> DeleteTimeSeriesFluentBuilder
fn clone(&self) -> DeleteTimeSeriesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for DeleteTimeSeriesFluentBuilder
impl !RefUnwindSafe for DeleteTimeSeriesFluentBuilder
impl Send for DeleteTimeSeriesFluentBuilder
impl Sync for DeleteTimeSeriesFluentBuilder
impl Unpin for DeleteTimeSeriesFluentBuilder
impl !UnwindSafe for DeleteTimeSeriesFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more