aws_sdk_proton/client/
update_service_sync_config.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 [`UpdateServiceSyncConfig`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`service_name(impl Into<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::set_service_name):<br>required: **true**<br><p>The name of the service the Proton Ops file is for.</p><br>
7    ///   - [`repository_provider(RepositoryProvider)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::repository_provider) / [`set_repository_provider(Option<RepositoryProvider>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::set_repository_provider):<br>required: **true**<br><p>The name of the repository provider where the Proton Ops file is found.</p><br>
8    ///   - [`repository_name(impl Into<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository where the Proton Ops file is found.</p><br>
9    ///   - [`branch(impl Into<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::branch) / [`set_branch(Option<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::set_branch):<br>required: **true**<br><p>The name of the code repository branch where the Proton Ops file is found.</p><br>
10    ///   - [`file_path(impl Into<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::file_path) / [`set_file_path(Option<String>)`](crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::set_file_path):<br>required: **true**<br><p>The path to the Proton Ops file.</p><br>
11    /// - On success, responds with [`UpdateServiceSyncConfigOutput`](crate::operation::update_service_sync_config::UpdateServiceSyncConfigOutput) with field(s):
12    ///   - [`service_sync_config(Option<ServiceSyncConfig>)`](crate::operation::update_service_sync_config::UpdateServiceSyncConfigOutput::service_sync_config): <p>The detailed data of the Proton Ops file.</p>
13    /// - On failure, responds with [`SdkError<UpdateServiceSyncConfigError>`](crate::operation::update_service_sync_config::UpdateServiceSyncConfigError)
14    pub fn update_service_sync_config(&self) -> crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder {
15        crate::operation::update_service_sync_config::builders::UpdateServiceSyncConfigFluentBuilder::new(self.handle.clone())
16    }
17}