pub struct DescribeFolderContents { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeFolderContents
.
Describes the contents of the specified folder, including its documents and subfolders.
By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.
Implementations
sourceimpl DescribeFolderContents
impl DescribeFolderContents
sourcepub async fn send(
self
) -> Result<DescribeFolderContentsOutput, SdkError<DescribeFolderContentsError>>
pub async fn send(
self
) -> Result<DescribeFolderContentsOutput, SdkError<DescribeFolderContentsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> DescribeFolderContentsPaginator
pub fn into_paginator(self) -> DescribeFolderContentsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn set_folder_id(self, input: Option<String>) -> Self
pub fn set_folder_id(self, input: Option<String>) -> Self
The ID of the folder.
sourcepub fn sort(self, input: ResourceSortType) -> Self
pub fn sort(self, input: ResourceSortType) -> Self
The sorting criteria.
sourcepub fn set_sort(self, input: Option<ResourceSortType>) -> Self
pub fn set_sort(self, input: Option<ResourceSortType>) -> Self
The sorting criteria.
sourcepub fn set_order(self, input: Option<OrderType>) -> Self
pub fn set_order(self, input: Option<OrderType>) -> Self
The order for the contents of the folder.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of items to return with this call.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn type(self, input: FolderContentType) -> Self
pub fn type(self, input: FolderContentType) -> Self
The type of items.
sourcepub fn set_type(self, input: Option<FolderContentType>) -> Self
pub fn set_type(self, input: Option<FolderContentType>) -> Self
The type of items.
sourcepub fn include(self, input: impl Into<String>) -> Self
pub fn include(self, input: impl Into<String>) -> Self
The contents to include. Specify "INITIALIZED" to include initialized documents.
sourcepub fn set_include(self, input: Option<String>) -> Self
pub fn set_include(self, input: Option<String>) -> Self
The contents to include. Specify "INITIALIZED" to include initialized documents.
Trait Implementations
sourceimpl Clone for DescribeFolderContents
impl Clone for DescribeFolderContents
sourcefn clone(&self) -> DescribeFolderContents
fn clone(&self) -> DescribeFolderContents
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for DescribeFolderContents
impl Send for DescribeFolderContents
impl Sync for DescribeFolderContents
impl Unpin for DescribeFolderContents
impl !UnwindSafe for DescribeFolderContents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more