Struct aws_sdk_ssm::input::UpdateResourceDataSyncInput
source · #[non_exhaustive]pub struct UpdateResourceDataSyncInput { /* private fields */ }
Implementations§
source§impl UpdateResourceDataSyncInput
impl UpdateResourceDataSyncInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateResourceDataSync, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateResourceDataSync, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateResourceDataSync
>
Examples found in repository?
src/client.rs (line 19490)
19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateResourceDataSync,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateResourceDataSyncError>,
> {
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::UpdateResourceDataSyncOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateResourceDataSyncError>,
> {
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 UpdateResourceDataSyncInput
.
source§impl UpdateResourceDataSyncInput
impl UpdateResourceDataSyncInput
sourcepub fn sync_type(&self) -> Option<&str>
pub fn sync_type(&self) -> Option<&str>
The type of resource data sync. The supported SyncType
is SyncFromSource.
sourcepub fn sync_source(&self) -> Option<&ResourceDataSyncSource>
pub fn sync_source(&self) -> Option<&ResourceDataSyncSource>
Specify information about the data sources to synchronize.
Trait Implementations§
source§impl Clone for UpdateResourceDataSyncInput
impl Clone for UpdateResourceDataSyncInput
source§fn clone(&self) -> UpdateResourceDataSyncInput
fn clone(&self) -> UpdateResourceDataSyncInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more