Struct aws_sdk_workspaces::model::Workspace
source · #[non_exhaustive]pub struct Workspace { /* private fields */ }
Expand description
Describes a WorkSpace.
Implementations§
source§impl 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.
The Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.