aws_sdk_codeconnections/client/
update_sync_blocker.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 [`UpdateSyncBlocker`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the sync blocker to be updated.</p><br>
7    ///   - [`sync_type(SyncConfigurationType)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::sync_type) / [`set_sync_type(Option<SyncConfigurationType>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::set_sync_type):<br>required: **true**<br><p>The sync type of the sync blocker to be updated.</p><br>
8    ///   - [`resource_name(impl Into<String>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::resource_name) / [`set_resource_name(Option<String>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::set_resource_name):<br>required: **true**<br><p>The name of the resource for the sync blocker to be updated.</p><br>
9    ///   - [`resolved_reason(impl Into<String>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::resolved_reason) / [`set_resolved_reason(Option<String>)`](crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::set_resolved_reason):<br>required: **true**<br><p>The reason for resolving the sync blocker.</p><br>
10    /// - On success, responds with [`UpdateSyncBlockerOutput`](crate::operation::update_sync_blocker::UpdateSyncBlockerOutput) with field(s):
11    ///   - [`resource_name(String)`](crate::operation::update_sync_blocker::UpdateSyncBlockerOutput::resource_name): <p>The resource name for the sync blocker.</p>
12    ///   - [`parent_resource_name(Option<String>)`](crate::operation::update_sync_blocker::UpdateSyncBlockerOutput::parent_resource_name): <p>The parent resource name for the sync blocker.</p>
13    ///   - [`sync_blocker(Option<SyncBlocker>)`](crate::operation::update_sync_blocker::UpdateSyncBlockerOutput::sync_blocker): <p>Information about the sync blocker to be updated.</p>
14    /// - On failure, responds with [`SdkError<UpdateSyncBlockerError>`](crate::operation::update_sync_blocker::UpdateSyncBlockerError)
15    pub fn update_sync_blocker(&self) -> crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder {
16        crate::operation::update_sync_blocker::builders::UpdateSyncBlockerFluentBuilder::new(self.handle.clone())
17    }
18}