pub struct DescribeWorkspaces<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeWorkspaces
.
Describes the specified WorkSpaces.
You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.
Implementations
impl<C, M, R> DescribeWorkspaces<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeWorkspaces<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeWorkspacesOutput, SdkError<DescribeWorkspacesError>> where
R::Policy: SmithyRetryPolicy<DescribeWorkspacesInputOperationOutputAlias, DescribeWorkspacesOutput, DescribeWorkspacesError, DescribeWorkspacesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeWorkspacesOutput, SdkError<DescribeWorkspacesError>> where
R::Policy: SmithyRetryPolicy<DescribeWorkspacesInputOperationOutputAlias, DescribeWorkspacesOutput, DescribeWorkspacesError, DescribeWorkspacesInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
Appends an item to WorkspaceIds
.
To override the contents of this collection use set_workspace_ids
.
The identifiers of the WorkSpaces. You cannot combine this parameter with any other filter.
Because the CreateWorkspaces
operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces
with this identifier, no information is returned.
The identifiers of the WorkSpaces. You cannot combine this parameter with any other filter.
Because the CreateWorkspaces
operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces
with this identifier, no information is returned.
The identifier of the directory. In addition, you can optionally specify a specific directory user (see UserName
). You cannot combine this parameter with any other filter.
The identifier of the directory. In addition, you can optionally specify a specific directory user (see UserName
). You cannot combine this parameter with any other filter.
The name of the directory user. You must specify this parameter with DirectoryId
.
The name of the directory user. You must specify this parameter with DirectoryId
.
The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeWorkspaces<C, M, R>
impl<C, M, R> Send for DescribeWorkspaces<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeWorkspaces<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeWorkspaces<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeWorkspaces<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more