Struct aws_sdk_workspaces::model::WorkspaceDirectory
source · [−]#[non_exhaustive]pub struct WorkspaceDirectory { /* private fields */ }Expand description
Describes a directory that is used with Amazon WorkSpaces.
Implementations
sourceimpl WorkspaceDirectory
impl WorkspaceDirectory
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The directory identifier.
sourcepub fn directory_name(&self) -> Option<&str>
pub fn directory_name(&self) -> Option<&str>
The name of the directory.
sourcepub fn registration_code(&self) -> Option<&str>
pub fn registration_code(&self) -> Option<&str>
The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The identifiers of the subnets used with the directory.
sourcepub fn dns_ip_addresses(&self) -> Option<&[String]>
pub fn dns_ip_addresses(&self) -> Option<&[String]>
The IP addresses of the DNS servers for the directory.
sourcepub fn customer_user_name(&self) -> Option<&str>
pub fn customer_user_name(&self) -> Option<&str>
The user name for the service account.
sourcepub fn iam_role_id(&self) -> Option<&str>
pub fn iam_role_id(&self) -> Option<&str>
The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
sourcepub fn directory_type(&self) -> Option<&WorkspaceDirectoryType>
pub fn directory_type(&self) -> Option<&WorkspaceDirectoryType>
The directory type.
sourcepub fn workspace_security_group_id(&self) -> Option<&str>
pub fn workspace_security_group_id(&self) -> Option<&str>
The identifier of the security group that is assigned to new WorkSpaces.
sourcepub fn state(&self) -> Option<&WorkspaceDirectoryState>
pub fn state(&self) -> Option<&WorkspaceDirectoryState>
The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.
sourcepub fn workspace_creation_properties(
&self
) -> Option<&DefaultWorkspaceCreationProperties>
pub fn workspace_creation_properties(
&self
) -> Option<&DefaultWorkspaceCreationProperties>
The default creation properties for all WorkSpaces in the directory.
sourcepub fn ip_group_ids(&self) -> Option<&[String]>
pub fn ip_group_ids(&self) -> Option<&[String]>
The identifiers of the IP access control groups associated with the directory.
sourcepub fn workspace_access_properties(&self) -> Option<&WorkspaceAccessProperties>
pub fn workspace_access_properties(&self) -> Option<&WorkspaceAccessProperties>
The devices and operating systems that users can use to access WorkSpaces.
sourcepub fn tenancy(&self) -> Option<&Tenancy>
pub fn tenancy(&self) -> Option<&Tenancy>
Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.
sourcepub fn selfservice_permissions(&self) -> Option<&SelfservicePermissions>
pub fn selfservice_permissions(&self) -> Option<&SelfservicePermissions>
The default self-service permissions for WorkSpaces in the directory.
sourcepub fn saml_properties(&self) -> Option<&SamlProperties>
pub fn saml_properties(&self) -> Option<&SamlProperties>
Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
sourceimpl WorkspaceDirectory
impl WorkspaceDirectory
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkspaceDirectory.
Trait Implementations
sourceimpl Clone for WorkspaceDirectory
impl Clone for WorkspaceDirectory
sourcefn clone(&self) -> WorkspaceDirectory
fn clone(&self) -> WorkspaceDirectory
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more