Struct aws_sdk_ssm::client::fluent_builders::UpdateResourceDataSync
source · [−]pub struct UpdateResourceDataSync<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateResourceDataSync
.
Update a resource data sync. After you create a resource data sync for a Region, you can't change the account options for that sync. For example, if you create a sync in the us-east-2 (Ohio) Region and you choose the Include only the current account
option, you can't edit that sync later and choose the Include all accounts from my Organizations configuration
option. Instead, you must delete the first resource data sync, and create a new one.
This API operation only supports a resource data sync that was created with a SyncFromSource SyncType
.
Implementations
impl<C, M, R> UpdateResourceDataSync<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateResourceDataSync<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateResourceDataSyncOutput, SdkError<UpdateResourceDataSyncError>> where
R::Policy: SmithyRetryPolicy<UpdateResourceDataSyncInputOperationOutputAlias, UpdateResourceDataSyncOutput, UpdateResourceDataSyncError, UpdateResourceDataSyncInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateResourceDataSyncOutput, SdkError<UpdateResourceDataSyncError>> where
R::Policy: SmithyRetryPolicy<UpdateResourceDataSyncInputOperationOutputAlias, UpdateResourceDataSyncOutput, UpdateResourceDataSyncError, UpdateResourceDataSyncInputOperationRetryAlias>,
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.
The name of the resource data sync you want to update.
The name of the resource data sync you want to update.
The type of resource data sync. The supported SyncType
is SyncFromSource.
The type of resource data sync. The supported SyncType
is SyncFromSource.
Specify information about the data sources to synchronize.
Specify information about the data sources to synchronize.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateResourceDataSync<C, M, R>
impl<C, M, R> Send for UpdateResourceDataSync<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateResourceDataSync<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateResourceDataSync<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateResourceDataSync<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more