#[non_exhaustive]pub struct RegisterWorkspaceDirectoryInput {
pub directory_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub enable_work_docs: Option<bool>,
pub enable_self_service: Option<bool>,
pub tenancy: Option<Tenancy>,
pub tags: Option<Vec<Tag>>,
}
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.directory_id: Option<String>
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.
subnet_ids: Option<Vec<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.
enable_work_docs: 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.
enable_self_service: Option<bool>
Indicates whether self-service capabilities are enabled or disabled.
tenancy: 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.
Implementations
sourceimpl RegisterWorkspaceDirectoryInput
impl RegisterWorkspaceDirectoryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterWorkspaceDirectory, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterWorkspaceDirectory, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RegisterWorkspaceDirectory
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RegisterWorkspaceDirectoryInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for RegisterWorkspaceDirectoryInput
impl Clone for RegisterWorkspaceDirectoryInput
sourcefn clone(&self) -> RegisterWorkspaceDirectoryInput
fn clone(&self) -> RegisterWorkspaceDirectoryInput
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 PartialEq<RegisterWorkspaceDirectoryInput> for RegisterWorkspaceDirectoryInput
impl PartialEq<RegisterWorkspaceDirectoryInput> for RegisterWorkspaceDirectoryInput
sourcefn eq(&self, other: &RegisterWorkspaceDirectoryInput) -> bool
fn eq(&self, other: &RegisterWorkspaceDirectoryInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterWorkspaceDirectoryInput) -> bool
fn ne(&self, other: &RegisterWorkspaceDirectoryInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for RegisterWorkspaceDirectoryInput
Auto Trait Implementations
impl RefUnwindSafe for RegisterWorkspaceDirectoryInput
impl Send for RegisterWorkspaceDirectoryInput
impl Sync for RegisterWorkspaceDirectoryInput
impl Unpin for RegisterWorkspaceDirectoryInput
impl UnwindSafe for RegisterWorkspaceDirectoryInput
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