Struct aws_sdk_workspaces::model::Workspace
source · [−]#[non_exhaustive]pub struct Workspace { /* private fields */ }Expand description
Describes a WorkSpace.
Implementations
sourceimpl Workspace
impl Workspace
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The identifier of the WorkSpace.
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the Directory Service directory for the WorkSpace.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
The IP address of the WorkSpace.
sourcepub fn state(&self) -> Option<&WorkspaceState>
pub fn state(&self) -> Option<&WorkspaceState>
The operational state of the WorkSpace.
After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.
sourcepub fn bundle_id(&self) -> Option<&str>
pub fn bundle_id(&self) -> Option<&str>
The identifier of the bundle used to create the WorkSpace.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The text of the error message that is returned if the WorkSpace cannot be created.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code that is returned if the WorkSpace cannot be created.
sourcepub fn computer_name(&self) -> Option<&str>
pub fn computer_name(&self) -> Option<&str>
The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see Launch a WorkSpace.
sourcepub fn volume_encryption_key(&self) -> Option<&str>
pub fn volume_encryption_key(&self) -> Option<&str>
The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
sourcepub fn user_volume_encryption_enabled(&self) -> Option<bool>
pub fn user_volume_encryption_enabled(&self) -> Option<bool>
Indicates whether the data stored on the user volume is encrypted.
sourcepub fn root_volume_encryption_enabled(&self) -> Option<bool>
pub fn root_volume_encryption_enabled(&self) -> Option<bool>
Indicates whether the data stored on the root volume is encrypted.
sourcepub fn workspace_properties(&self) -> Option<&WorkspaceProperties>
pub fn workspace_properties(&self) -> Option<&WorkspaceProperties>
The properties of the WorkSpace.
sourcepub fn modification_states(&self) -> Option<&[ModificationState]>
pub fn modification_states(&self) -> Option<&[ModificationState]>
The modification states of the WorkSpace.
Trait Implementations
impl StructuralPartialEq for Workspace
Auto Trait Implementations
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
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> 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