aws_sdk_codestarconnections/client/
list_sync_configurations.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListSyncConfigurations`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::set_max_results):<br>required: **false**<br><p>A non-zero, non-negative integer used to limit the number of returned results.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::set_next_token):<br>required: **false**<br><p>An enumeration token that allows the operation to batch the results of the operation.</p><br>
    ///   - [`repository_link_id(impl Into<String>)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::repository_link_id) / [`set_repository_link_id(Option<String>)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::set_repository_link_id):<br>required: **true**<br><p>The ID of the repository link for the requested list of sync configurations.</p><br>
    ///   - [`sync_type(SyncConfigurationType)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::sync_type) / [`set_sync_type(Option<SyncConfigurationType>)`](crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::set_sync_type):<br>required: **true**<br><p>The sync type for the requested list of sync configurations.</p><br>
    /// - On success, responds with [`ListSyncConfigurationsOutput`](crate::operation::list_sync_configurations::ListSyncConfigurationsOutput) with field(s):
    ///   - [`sync_configurations(Vec::<SyncConfiguration>)`](crate::operation::list_sync_configurations::ListSyncConfigurationsOutput::sync_configurations): <p>The list of repository sync definitions returned by the request.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_sync_configurations::ListSyncConfigurationsOutput::next_token): <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
    /// - On failure, responds with [`SdkError<ListSyncConfigurationsError>`](crate::operation::list_sync_configurations::ListSyncConfigurationsError)
    pub fn list_sync_configurations(&self) -> crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder {
        crate::operation::list_sync_configurations::builders::ListSyncConfigurationsFluentBuilder::new(self.handle.clone())
    }
}