aws_sdk_proton/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 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`repository_name(impl Into<String>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::set_repository_name):<br>required: **true**<br><p>The repository name.</p><br>
8 /// - [`repository_provider(RepositoryProvider)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::repository_provider) / [`set_repository_provider(Option<RepositoryProvider>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::set_repository_provider):<br>required: **true**<br><p>The repository provider.</p><br>
9 /// - [`sync_type(SyncType)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::sync_type) / [`set_sync_type(Option<SyncType>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::set_sync_type):<br>required: **true**<br><p>The sync type. The only supported value is <code>TEMPLATE_SYNC</code>.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the list of repository sync definitions previously requested.</p><br>
11 /// - On success, responds with [`ListRepositorySyncDefinitionsOutput`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsOutput) with field(s):
12 /// - [`next_token(Option<String>)`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsOutput::next_token): <p>A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the current requested list of repository sync definitions.</p>
13 /// - [`sync_definitions(Vec::<RepositorySyncDefinition>)`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsOutput::sync_definitions): <p>An array of repository sync definitions.</p>
14 /// - On failure, responds with [`SdkError<ListRepositorySyncDefinitionsError>`](crate::operation::list_repository_sync_definitions::ListRepositorySyncDefinitionsError)
15 pub fn list_repository_sync_definitions(
16 &self,
17 ) -> crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder {
18 crate::operation::list_repository_sync_definitions::builders::ListRepositorySyncDefinitionsFluentBuilder::new(self.handle.clone())
19 }
20}