Struct aws_sdk_workspaces::input::DescribeWorkspacesInput
source · [−]#[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
sourceimpl DescribeWorkspacesInput
impl DescribeWorkspacesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeWorkspaces, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeWorkspaces, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeWorkspaces
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeWorkspacesInput
sourceimpl DescribeWorkspacesInput
impl DescribeWorkspacesInput
sourcepub fn workspace_ids(&self) -> Option<&[String]>
pub fn workspace_ids(&self) -> Option<&[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.
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.
Trait Implementations
sourceimpl Clone for DescribeWorkspacesInput
impl Clone for DescribeWorkspacesInput
sourcefn clone(&self) -> DescribeWorkspacesInput
fn clone(&self) -> DescribeWorkspacesInput
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
sourceimpl Debug for DescribeWorkspacesInput
impl Debug for DescribeWorkspacesInput
sourceimpl PartialEq<DescribeWorkspacesInput> for DescribeWorkspacesInput
impl PartialEq<DescribeWorkspacesInput> for DescribeWorkspacesInput
sourcefn eq(&self, other: &DescribeWorkspacesInput) -> bool
fn eq(&self, other: &DescribeWorkspacesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeWorkspacesInput) -> bool
fn ne(&self, other: &DescribeWorkspacesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeWorkspacesInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeWorkspacesInput
impl Send for DescribeWorkspacesInput
impl Sync for DescribeWorkspacesInput
impl Unpin for DescribeWorkspacesInput
impl UnwindSafe for DescribeWorkspacesInput
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