aws_sdk_ssm/client/
update_resource_data_sync.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateResourceDataSync`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`sync_name(impl Into<String>)`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::sync_name) / [`set_sync_name(Option<String>)`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::set_sync_name):<br>required: **true**<br><p>The name of the resource data sync you want to update.</p><br>
7    ///   - [`sync_type(impl Into<String>)`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::sync_type) / [`set_sync_type(Option<String>)`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::set_sync_type):<br>required: **true**<br><p>The type of resource data sync. The supported <code>SyncType</code> is SyncFromSource.</p><br>
8    ///   - [`sync_source(ResourceDataSyncSource)`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::sync_source) / [`set_sync_source(Option<ResourceDataSyncSource>)`](crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::set_sync_source):<br>required: **true**<br><p>Specify information about the data sources to synchronize.</p><br>
9    /// - On success, responds with [`UpdateResourceDataSyncOutput`](crate::operation::update_resource_data_sync::UpdateResourceDataSyncOutput)
10    /// - On failure, responds with [`SdkError<UpdateResourceDataSyncError>`](crate::operation::update_resource_data_sync::UpdateResourceDataSyncError)
11    pub fn update_resource_data_sync(&self) -> crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder {
12        crate::operation::update_resource_data_sync::builders::UpdateResourceDataSyncFluentBuilder::new(self.handle.clone())
13    }
14}