pub struct DescribeWorkspaceDirectories { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeWorkspaceDirectories.
Describes the available directories that are registered with Amazon WorkSpaces.
Implementations
sourceimpl DescribeWorkspaceDirectories
impl DescribeWorkspaceDirectories
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWorkspaceDirectories, AwsResponseRetryClassifier>, SdkError<DescribeWorkspaceDirectoriesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWorkspaceDirectories, AwsResponseRetryClassifier>, SdkError<DescribeWorkspaceDirectoriesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeWorkspaceDirectoriesOutput, SdkError<DescribeWorkspaceDirectoriesError>>
pub async fn send(
self
) -> Result<DescribeWorkspaceDirectoriesOutput, SdkError<DescribeWorkspaceDirectoriesError>>
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) -> DescribeWorkspaceDirectoriesPaginator
pub fn into_paginator(self) -> DescribeWorkspaceDirectoriesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn directory_ids(self, input: impl Into<String>) -> Self
pub fn directory_ids(self, input: impl Into<String>) -> Self
Appends an item to DirectoryIds.
To override the contents of this collection use set_directory_ids.
The identifiers of the directories. If the value is null, all directories are retrieved.
sourcepub fn set_directory_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_directory_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the directories. If the value is null, all directories are retrieved.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of directories to return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
Trait Implementations
sourceimpl Clone for DescribeWorkspaceDirectories
impl Clone for DescribeWorkspaceDirectories
sourcefn clone(&self) -> DescribeWorkspaceDirectories
fn clone(&self) -> DescribeWorkspaceDirectories
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more