aws_sdk_codestarconnections/client/
list_repository_sync_definitions.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 [`ListRepositorySyncDefinitions`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`repository_link_id(impl Into<String>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::repository_link_id) / [`set_repository_link_id(Option<String>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::set_repository_link_id):<br>required: **true**<br><p>The ID of the repository link for the sync definition for which you want to retrieve information.</p><br>
7    ///   - [`sync_type(SyncConfigurationType)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::sync_type) / [`set_sync_type(Option<SyncConfigurationType>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::set_sync_type):<br>required: **true**<br><p>The sync type of the repository link for the the sync definition for which you want to retrieve information.</p><br>
8    /// - On success, responds with [`ListRepositorySyncDefinitionsOutput`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsOutput) with field(s):
9    ///   - [`repository_sync_definitions(Vec::<RepositorySyncDefinition>)`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsOutput::repository_sync_definitions): <p>The list of repository sync definitions returned by the request. A <code>RepositorySyncDefinition</code> is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsOutput::next_token): <p>An enumeration token that, when provided in a request, returns the next batch of the results.</p>
11    /// - On failure, responds with [`SdkError<ListRepositorySyncDefinitionsError>`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsError)
12    pub fn list_repository_sync_definitions(
13        &self,
14    ) -> crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder {
15        crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::new(self.handle.clone())
16    }
17}