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