aws_sdk_codestarconnections/client/get_repository_sync_status.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 [`GetRepositorySyncStatus`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`branch(impl Into<String>)`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::branch) / [`set_branch(Option<String>)`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::set_branch):<br>required: **true**<br><p>The branch of the repository link for the requested repository sync status.</p><br>
7 /// - [`repository_link_id(impl Into<String>)`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::repository_link_id) / [`set_repository_link_id(Option<String>)`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::set_repository_link_id):<br>required: **true**<br><p>The repository link ID for the requested repository sync status.</p><br>
8 /// - [`sync_type(SyncConfigurationType)`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::sync_type) / [`set_sync_type(Option<SyncConfigurationType>)`](crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::set_sync_type):<br>required: **true**<br><p>The sync type of the requested sync status.</p><br>
9 /// - On success, responds with [`GetRepositorySyncStatusOutput`](crate::operation::get_repository_sync_status::GetRepositorySyncStatusOutput) with field(s):
10 /// - [`latest_sync(Option<RepositorySyncAttempt>)`](crate::operation::get_repository_sync_status::GetRepositorySyncStatusOutput::latest_sync): <p>The status of the latest sync returned for a specified repository and branch.</p>
11 /// - On failure, responds with [`SdkError<GetRepositorySyncStatusError>`](crate::operation::get_repository_sync_status::GetRepositorySyncStatusError)
12 pub fn get_repository_sync_status(&self) -> crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder {
13 crate::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder::new(self.handle.clone())
14 }
15}