aws_sdk_workdocs/client/get_resources.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetResources`](crate::operation::get_resources::builders::GetResourcesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::set_authentication_token):<br>required: **false**<br><p>The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
/// - [`user_id(impl Into<String>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::set_user_id):<br>required: **false**<br><p>The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.</p><br>
/// - [`collection_type(ResourceCollectionType)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::collection_type) / [`set_collection_type(Option<ResourceCollectionType>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::set_collection_type):<br>required: **false**<br><p>The collection type.</p><br>
/// - [`limit(i32)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of resources to return.</p><br>
/// - [`marker(impl Into<String>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::get_resources::builders::GetResourcesFluentBuilder::set_marker):<br>required: **false**<br><p>The marker for the next set of results. This marker was received from a previous call.</p><br>
/// - On success, responds with [`GetResourcesOutput`](crate::operation::get_resources::GetResourcesOutput) with field(s):
/// - [`folders(Option<Vec::<FolderMetadata>>)`](crate::operation::get_resources::GetResourcesOutput::folders): <p>The folders in the specified folder.</p>
/// - [`documents(Option<Vec::<DocumentMetadata>>)`](crate::operation::get_resources::GetResourcesOutput::documents): <p>The documents in the specified collection.</p>
/// - [`marker(Option<String>)`](crate::operation::get_resources::GetResourcesOutput::marker): <p>The marker to use when requesting the next set of results. If there are no additional results, the string is empty.</p>
/// - On failure, responds with [`SdkError<GetResourcesError>`](crate::operation::get_resources::GetResourcesError)
pub fn get_resources(&self) -> crate::operation::get_resources::builders::GetResourcesFluentBuilder {
crate::operation::get_resources::builders::GetResourcesFluentBuilder::new(self.handle.clone())
}
}