Struct aws_sdk_workspaces::operation::register_workspace_directory::RegisterWorkspaceDirectoryInput
source · #[non_exhaustive]pub struct RegisterWorkspaceDirectoryInput { /* private fields */ }
Implementations§
source§impl RegisterWorkspaceDirectoryInput
impl RegisterWorkspaceDirectoryInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error.
sourcepub fn enable_work_docs(&self) -> Option<bool>
pub fn enable_work_docs(&self) -> Option<bool>
Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not available in the Region, you will receive an OperationNotSupportedException error. Set EnableWorkDocs
to disabled, and try again.
sourcepub fn enable_self_service(&self) -> Option<bool>
pub fn enable_self_service(&self) -> Option<bool>
Indicates whether self-service capabilities are enabled or disabled.
sourcepub fn tenancy(&self) -> Option<&Tenancy>
pub fn tenancy(&self) -> Option<&Tenancy>
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set to DEDICATED
and your Amazon Web Services account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, see Bring Your Own Windows Desktop Images.
The tags associated with the directory.
source§impl RegisterWorkspaceDirectoryInput
impl RegisterWorkspaceDirectoryInput
sourcepub fn builder() -> RegisterWorkspaceDirectoryInputBuilder
pub fn builder() -> RegisterWorkspaceDirectoryInputBuilder
Creates a new builder-style object to manufacture RegisterWorkspaceDirectoryInput
.
source§impl RegisterWorkspaceDirectoryInput
impl RegisterWorkspaceDirectoryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterWorkspaceDirectory, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<RegisterWorkspaceDirectory, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RegisterWorkspaceDirectory
>
Trait Implementations§
source§impl Clone for RegisterWorkspaceDirectoryInput
impl Clone for RegisterWorkspaceDirectoryInput
source§fn clone(&self) -> RegisterWorkspaceDirectoryInput
fn clone(&self) -> RegisterWorkspaceDirectoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<RegisterWorkspaceDirectoryInput> for RegisterWorkspaceDirectoryInput
impl PartialEq<RegisterWorkspaceDirectoryInput> for RegisterWorkspaceDirectoryInput
source§fn eq(&self, other: &RegisterWorkspaceDirectoryInput) -> bool
fn eq(&self, other: &RegisterWorkspaceDirectoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.