#[non_exhaustive]pub struct DescribeWorkspacesInput {
pub workspace_ids: Option<Vec<String>>,
pub directory_id: Option<String>,
pub user_name: Option<String>,
pub bundle_id: Option<String>,
pub limit: Option<i32>,
pub next_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workspace_ids: Option<Vec<String>>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.
directory_id: Option<String>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.
user_name: Option<String>The name of the directory user. You must specify this parameter with DirectoryId.
bundle_id: Option<String>The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
limit: Option<i32>The maximum number of items to return.
next_token: Option<String>If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
Implementations§
source§impl DescribeWorkspacesInput
impl DescribeWorkspacesInput
sourcepub fn workspace_ids(&self) -> &[String]
pub fn workspace_ids(&self) -> &[String]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .workspace_ids.is_none().
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
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.
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The name of the directory user. You must specify this parameter with DirectoryId.
sourcepub fn bundle_id(&self) -> Option<&str>
pub fn bundle_id(&self) -> Option<&str>
The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
source§impl DescribeWorkspacesInput
impl DescribeWorkspacesInput
sourcepub fn builder() -> DescribeWorkspacesInputBuilder
pub fn builder() -> DescribeWorkspacesInputBuilder
Creates a new builder-style object to manufacture DescribeWorkspacesInput.
Trait Implementations§
source§impl Clone for DescribeWorkspacesInput
impl Clone for DescribeWorkspacesInput
source§fn clone(&self) -> DescribeWorkspacesInput
fn clone(&self) -> DescribeWorkspacesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeWorkspacesInput
impl Debug for DescribeWorkspacesInput
source§impl PartialEq for DescribeWorkspacesInput
impl PartialEq for DescribeWorkspacesInput
source§fn eq(&self, other: &DescribeWorkspacesInput) -> bool
fn eq(&self, other: &DescribeWorkspacesInput) -> bool
self and other values to be equal, and is used
by ==.