Struct aws_sdk_iotanalytics::input::UpdateDatastoreInput
source · #[non_exhaustive]pub struct UpdateDatastoreInput { /* private fields */ }Implementations§
source§impl UpdateDatastoreInput
impl UpdateDatastoreInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDatastore, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDatastore, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDatastore>
Examples found in repository?
3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDatastore,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDatastoreError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateDatastoreOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDatastoreError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDatastoreInput.
source§impl UpdateDatastoreInput
impl UpdateDatastoreInput
sourcepub fn datastore_name(&self) -> Option<&str>
pub fn datastore_name(&self) -> Option<&str>
The name of the data store to be updated.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
sourcepub fn datastore_storage(&self) -> Option<&DatastoreStorage>
pub fn datastore_storage(&self) -> Option<&DatastoreStorage>
Where data in a data store is stored.. You can choose serviceManagedS3 storage, customerManagedS3 storage, or iotSiteWiseMultiLayerStorage storage. The default is serviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is created.
sourcepub fn file_format_configuration(&self) -> Option<&FileFormatConfiguration>
pub fn file_format_configuration(&self) -> Option<&FileFormatConfiguration>
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
Trait Implementations§
source§impl Clone for UpdateDatastoreInput
impl Clone for UpdateDatastoreInput
source§fn clone(&self) -> UpdateDatastoreInput
fn clone(&self) -> UpdateDatastoreInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more