#[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>,
pub workspace_name: 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.
workspace_name: Option<String>The name of the user-decoupled WorkSpace.
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.
sourcepub fn workspace_name(&self) -> Option<&str>
pub fn workspace_name(&self) -> Option<&str>
The name of the user-decoupled WorkSpace.
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 ==.impl StructuralPartialEq for DescribeWorkspacesInput
Auto Trait Implementations§
impl Freeze for DescribeWorkspacesInput
impl RefUnwindSafe for DescribeWorkspacesInput
impl Send for DescribeWorkspacesInput
impl Sync for DescribeWorkspacesInput
impl Unpin for DescribeWorkspacesInput
impl UnwindSafe for DescribeWorkspacesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more