RegisterWorkspaceDirectoryRequest

public struct RegisterWorkspaceDirectoryRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let directoryId: String
  • Indicates whether self-service capabilities are enabled or disabled.

    Declaration

    Swift

    public let enableSelfService: 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.

    Declaration

    Swift

    public let enableWorkDocs: Bool
  • 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.

    Declaration

    Swift

    public let subnetIds: [String]?
  • The tags associated with the directory.

    Declaration

    Swift

    public let tags: [Tag]?
  • 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 AWS 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.

    Declaration

    Swift

    public let tenancy: Tenancy?
  • Undocumented

    Declaration

    Swift

    public init(directoryId: String, enableSelfService: Bool? = nil, enableWorkDocs: Bool, subnetIds: [String]? = nil, tags: [Tag]? = nil, tenancy: Tenancy? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws