aws_sdk_ssm/client/
list_resource_data_sync.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 [`ListResourceDataSync`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`sync_type(impl Into<String>)`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::sync_type) / [`set_sync_type(Option<String>)`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::set_sync_type):<br>required: **false**<br><p>View a list of resource data syncs according to the sync type. Specify <code>SyncToDestination</code> to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify <code>SyncFromSource</code> to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::set_next_token):<br>required: **false**<br><p>A token to start the list. Use this token to get the next set of results.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p><br>
10    /// - On success, responds with [`ListResourceDataSyncOutput`](crate::operation::list_resource_data_sync::ListResourceDataSyncOutput) with field(s):
11    ///   - [`resource_data_sync_items(Option<Vec::<ResourceDataSyncItem>>)`](crate::operation::list_resource_data_sync::ListResourceDataSyncOutput::resource_data_sync_items): <p>A list of your current resource data sync configurations and their statuses.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_resource_data_sync::ListResourceDataSyncOutput::next_token): <p>The token for the next set of items to return. Use this token to get the next set of results.</p>
13    /// - On failure, responds with [`SdkError<ListResourceDataSyncError>`](crate::operation::list_resource_data_sync::ListResourceDataSyncError)
14    pub fn list_resource_data_sync(&self) -> crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder {
15        crate::operation::list_resource_data_sync::builders::ListResourceDataSyncFluentBuilder::new(self.handle.clone())
16    }
17}