@aws-sdk/client-workspaces 3.863.0 → 3.868.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +131 -2
  3. package/dist-es/WorkSpaces.js +4 -0
  4. package/dist-es/commands/DescribeCustomWorkspaceImageImportCommand.js +22 -0
  5. package/dist-es/commands/ImportCustomWorkspaceImageCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +34 -12
  8. package/dist-es/models/models_1.js +12 -0
  9. package/dist-es/protocols/Aws_json1_1.js +53 -3
  10. package/dist-types/WorkSpaces.d.ts +14 -0
  11. package/dist-types/WorkSpacesClient.d.ts +4 -2
  12. package/dist-types/commands/DescribeAccountCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeCustomWorkspaceImageImportCommand.d.ts +94 -0
  14. package/dist-types/commands/ImportCustomWorkspaceImageCommand.d.ts +113 -0
  15. package/dist-types/commands/ModifyAccountCommand.d.ts +4 -2
  16. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +2 -1
  17. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +1 -1
  18. package/dist-types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +1 -1
  19. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -1
  20. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +266 -161
  23. package/dist-types/models/models_1.d.ts +162 -1
  24. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  25. package/dist-types/ts3.4/WorkSpaces.d.ts +40 -0
  26. package/dist-types/ts3.4/WorkSpacesClient.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/DescribeCustomWorkspaceImageImportCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/ImportCustomWorkspaceImageCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +104 -41
  37. package/dist-types/ts3.4/models/models_1.d.ts +44 -0
  38. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  39. package/package.json +5 -5
@@ -2717,6 +2717,50 @@ export interface CreateWorkspacesPoolResult {
2717
2717
  */
2718
2718
  WorkspacesPool?: WorkspacesPool | undefined;
2719
2719
  }
2720
+ /**
2721
+ * @public
2722
+ * @enum
2723
+ */
2724
+ export declare const CustomImageProtocol: {
2725
+ readonly BYOP: "BYOP";
2726
+ readonly DCV: "DCV";
2727
+ readonly PCOIP: "PCOIP";
2728
+ };
2729
+ /**
2730
+ * @public
2731
+ */
2732
+ export type CustomImageProtocol = (typeof CustomImageProtocol)[keyof typeof CustomImageProtocol];
2733
+ /**
2734
+ * <p>Describes in-depth details about the error. These details include the
2735
+ * possible causes of the error and troubleshooting information.</p>
2736
+ * @public
2737
+ */
2738
+ export interface CustomWorkspaceImageImportErrorDetails {
2739
+ /**
2740
+ * <p>The error code that is returned for the image import.</p>
2741
+ * @public
2742
+ */
2743
+ ErrorCode?: string | undefined;
2744
+ /**
2745
+ * <p>The text of the error message that is returned for the image import.</p>
2746
+ * @public
2747
+ */
2748
+ ErrorMessage?: string | undefined;
2749
+ }
2750
+ /**
2751
+ * @public
2752
+ * @enum
2753
+ */
2754
+ export declare const CustomWorkspaceImageImportState: {
2755
+ readonly COMPLETED: "COMPLETED";
2756
+ readonly ERROR: "ERROR";
2757
+ readonly IN_PROGRESS: "IN_PROGRESS";
2758
+ readonly PENDING: "PENDING";
2759
+ };
2760
+ /**
2761
+ * @public
2762
+ */
2763
+ export type CustomWorkspaceImageImportState = (typeof CustomWorkspaceImageImportState)[keyof typeof CustomWorkspaceImageImportState];
2720
2764
  /**
2721
2765
  * @public
2722
2766
  * @enum
@@ -3173,6 +3217,11 @@ export interface DescribeAccountResult {
3173
3217
  * @public
3174
3218
  */
3175
3219
  DedicatedTenancyAccountType?: DedicatedTenancyAccountType | undefined;
3220
+ /**
3221
+ * <p>The text message to describe the status of BYOL.</p>
3222
+ * @public
3223
+ */
3224
+ Message?: string | undefined;
3176
3225
  }
3177
3226
  /**
3178
3227
  * @public
@@ -3675,6 +3724,118 @@ export interface DescribeConnectionAliasPermissionsResult {
3675
3724
  */
3676
3725
  NextToken?: string | undefined;
3677
3726
  }
3727
+ /**
3728
+ * @public
3729
+ */
3730
+ export interface DescribeCustomWorkspaceImageImportRequest {
3731
+ /**
3732
+ * <p>The identifier of the WorkSpace image.</p>
3733
+ * @public
3734
+ */
3735
+ ImageId: string | undefined;
3736
+ }
3737
+ /**
3738
+ * <p>Describes the image import source.</p>
3739
+ * @public
3740
+ */
3741
+ export type ImageSourceIdentifier = ImageSourceIdentifier.Ec2ImageIdMember | ImageSourceIdentifier.Ec2ImportTaskIdMember | ImageSourceIdentifier.ImageBuildVersionArnMember | ImageSourceIdentifier.$UnknownMember;
3742
+ /**
3743
+ * @public
3744
+ */
3745
+ export declare namespace ImageSourceIdentifier {
3746
+ /**
3747
+ * <p>The EC2 import task ID to import the image from the Amazon EC2 VM import process.</p>
3748
+ * @public
3749
+ */
3750
+ interface Ec2ImportTaskIdMember {
3751
+ Ec2ImportTaskId: string;
3752
+ ImageBuildVersionArn?: never;
3753
+ Ec2ImageId?: never;
3754
+ $unknown?: never;
3755
+ }
3756
+ /**
3757
+ * <p>The ARN of the EC2 Image Builder image.</p>
3758
+ * @public
3759
+ */
3760
+ interface ImageBuildVersionArnMember {
3761
+ Ec2ImportTaskId?: never;
3762
+ ImageBuildVersionArn: string;
3763
+ Ec2ImageId?: never;
3764
+ $unknown?: never;
3765
+ }
3766
+ /**
3767
+ * <p>The identifier of the EC2 image.</p>
3768
+ * @public
3769
+ */
3770
+ interface Ec2ImageIdMember {
3771
+ Ec2ImportTaskId?: never;
3772
+ ImageBuildVersionArn?: never;
3773
+ Ec2ImageId: string;
3774
+ $unknown?: never;
3775
+ }
3776
+ /**
3777
+ * @public
3778
+ */
3779
+ interface $UnknownMember {
3780
+ Ec2ImportTaskId?: never;
3781
+ ImageBuildVersionArn?: never;
3782
+ Ec2ImageId?: never;
3783
+ $unknown: [string, any];
3784
+ }
3785
+ interface Visitor<T> {
3786
+ Ec2ImportTaskId: (value: string) => T;
3787
+ ImageBuildVersionArn: (value: string) => T;
3788
+ Ec2ImageId: (value: string) => T;
3789
+ _: (name: string, value: any) => T;
3790
+ }
3791
+ const visit: <T>(value: ImageSourceIdentifier, visitor: Visitor<T>) => T;
3792
+ }
3793
+ /**
3794
+ * @public
3795
+ */
3796
+ export interface DescribeCustomWorkspaceImageImportResult {
3797
+ /**
3798
+ * <p>The identifier of the WorkSpace image.</p>
3799
+ * @public
3800
+ */
3801
+ ImageId?: string | undefined;
3802
+ /**
3803
+ * <p>The infrastructure configuration ARN that specifies how the WorkSpace image is built.</p>
3804
+ * @public
3805
+ */
3806
+ InfrastructureConfigurationArn?: string | undefined;
3807
+ /**
3808
+ * <p>The state of the WorkSpace image.</p>
3809
+ * @public
3810
+ */
3811
+ State?: CustomWorkspaceImageImportState | undefined;
3812
+ /**
3813
+ * <p>The timestamp when the WorkSpace image import was created.</p>
3814
+ * @public
3815
+ */
3816
+ Created?: Date | undefined;
3817
+ /**
3818
+ * <p>The timestamp when the WorkSpace image import was last updated.</p>
3819
+ * @public
3820
+ */
3821
+ LastUpdatedTime?: Date | undefined;
3822
+ /**
3823
+ * <p>Describes the image import source.</p>
3824
+ * @public
3825
+ */
3826
+ ImageSource?: ImageSourceIdentifier | undefined;
3827
+ /**
3828
+ * <p>The image builder instance ID of the WorkSpace image.</p>
3829
+ * @public
3830
+ */
3831
+ ImageBuilderInstanceId?: string | undefined;
3832
+ /**
3833
+ * <p>Describes in-depth details about the error. These details include the
3834
+ * possible causes of the error and troubleshooting information.</p>
3835
+ * @public
3836
+ */
3837
+ ErrorDetails?: CustomWorkspaceImageImportErrorDetails[] | undefined;
3838
+ }
3678
3839
  /**
3679
3840
  * @public
3680
3841
  * @enum
@@ -5295,6 +5456,18 @@ export interface GetAccountLinkResult {
5295
5456
  */
5296
5457
  AccountLink?: AccountLink | undefined;
5297
5458
  }
5459
+ /**
5460
+ * @public
5461
+ * @enum
5462
+ */
5463
+ export declare const ImageComputeType: {
5464
+ readonly BASE: "BASE";
5465
+ readonly GRAPHICS_G4DN: "GRAPHICS_G4DN";
5466
+ };
5467
+ /**
5468
+ * @public
5469
+ */
5470
+ export type ImageComputeType = (typeof ImageComputeType)[keyof typeof ImageComputeType];
5298
5471
  /**
5299
5472
  * <p>The client branding attributes to import for iOS device types. These attributes are
5300
5473
  * displayed on the iOS client login screen.</p>
@@ -5461,6 +5634,94 @@ export interface ImportClientBrandingResult {
5461
5634
  */
5462
5635
  DeviceTypeWeb?: DefaultClientBrandingAttributes | undefined;
5463
5636
  }
5637
+ /**
5638
+ * @public
5639
+ * @enum
5640
+ */
5641
+ export declare const OSVersion: {
5642
+ readonly Windows_10: "Windows_10";
5643
+ readonly Windows_11: "Windows_11";
5644
+ };
5645
+ /**
5646
+ * @public
5647
+ */
5648
+ export type OSVersion = (typeof OSVersion)[keyof typeof OSVersion];
5649
+ /**
5650
+ * @public
5651
+ * @enum
5652
+ */
5653
+ export declare const Platform: {
5654
+ readonly WINDOWS: "WINDOWS";
5655
+ };
5656
+ /**
5657
+ * @public
5658
+ */
5659
+ export type Platform = (typeof Platform)[keyof typeof Platform];
5660
+ /**
5661
+ * @public
5662
+ */
5663
+ export interface ImportCustomWorkspaceImageRequest {
5664
+ /**
5665
+ * <p>The name of the WorkSpace image.</p>
5666
+ * @public
5667
+ */
5668
+ ImageName: string | undefined;
5669
+ /**
5670
+ * <p>The description of the WorkSpace image.</p>
5671
+ * @public
5672
+ */
5673
+ ImageDescription: string | undefined;
5674
+ /**
5675
+ * <p>The supported compute type for the WorkSpace image.</p>
5676
+ * @public
5677
+ */
5678
+ ComputeType: ImageComputeType | undefined;
5679
+ /**
5680
+ * <p>The supported protocol for the WorkSpace image. Windows 11 does not support PCOIP protocol.</p>
5681
+ * @public
5682
+ */
5683
+ Protocol: CustomImageProtocol | undefined;
5684
+ /**
5685
+ * <p>The options for image import source.</p>
5686
+ * @public
5687
+ */
5688
+ ImageSource: ImageSourceIdentifier | undefined;
5689
+ /**
5690
+ * <p>The infrastructure configuration ARN that specifies how the WorkSpace image is built.</p>
5691
+ * @public
5692
+ */
5693
+ InfrastructureConfigurationArn: string | undefined;
5694
+ /**
5695
+ * <p>The platform for the WorkSpace image source.</p>
5696
+ * @public
5697
+ */
5698
+ Platform: Platform | undefined;
5699
+ /**
5700
+ * <p>The OS version for the WorkSpace image source.</p>
5701
+ * @public
5702
+ */
5703
+ OsVersion: OSVersion | undefined;
5704
+ /**
5705
+ * <p>The resource tags. Each WorkSpaces resource can have a maximum of 50 tags.</p>
5706
+ * @public
5707
+ */
5708
+ Tags?: Tag[] | undefined;
5709
+ }
5710
+ /**
5711
+ * @public
5712
+ */
5713
+ export interface ImportCustomWorkspaceImageResult {
5714
+ /**
5715
+ * <p>The identifier of the WorkSpace image.</p>
5716
+ * @public
5717
+ */
5718
+ ImageId?: string | undefined;
5719
+ /**
5720
+ * <p>The state of the WorkSpace image.</p>
5721
+ * @public
5722
+ */
5723
+ State?: CustomWorkspaceImageImportState | undefined;
5724
+ }
5464
5725
  /**
5465
5726
  * @public
5466
5727
  * @enum
@@ -5703,6 +5964,11 @@ export interface ModifyAccountRequest {
5703
5964
  * @public
5704
5965
  */
5705
5966
  export interface ModifyAccountResult {
5967
+ /**
5968
+ * <p>The text message to describe the status of BYOL modification.</p>
5969
+ * @public
5970
+ */
5971
+ Message?: string | undefined;
5706
5972
  }
5707
5973
  /**
5708
5974
  * @public
@@ -5822,164 +6088,3 @@ export interface ModifySelfservicePermissionsRequest {
5822
6088
  */
5823
6089
  SelfservicePermissions: SelfservicePermissions | undefined;
5824
6090
  }
5825
- /**
5826
- * @public
5827
- */
5828
- export interface ModifySelfservicePermissionsResult {
5829
- }
5830
- /**
5831
- * @public
5832
- */
5833
- export interface ModifyStreamingPropertiesRequest {
5834
- /**
5835
- * <p>The identifier of the resource.</p>
5836
- * @public
5837
- */
5838
- ResourceId: string | undefined;
5839
- /**
5840
- * <p>The streaming properties to configure.</p>
5841
- * @public
5842
- */
5843
- StreamingProperties?: StreamingProperties | undefined;
5844
- }
5845
- /**
5846
- * @public
5847
- */
5848
- export interface ModifyStreamingPropertiesResult {
5849
- }
5850
- /**
5851
- * @public
5852
- */
5853
- export interface ModifyWorkspaceAccessPropertiesRequest {
5854
- /**
5855
- * <p>The identifier of the directory.</p>
5856
- * @public
5857
- */
5858
- ResourceId: string | undefined;
5859
- /**
5860
- * <p>The device types and operating systems to enable or disable for access.</p>
5861
- * @public
5862
- */
5863
- WorkspaceAccessProperties: WorkspaceAccessProperties | undefined;
5864
- }
5865
- /**
5866
- * @public
5867
- */
5868
- export interface ModifyWorkspaceAccessPropertiesResult {
5869
- }
5870
- /**
5871
- * <p>Describes the default properties that are used for creating WorkSpaces. For more
5872
- * information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html">Update Directory
5873
- * Details for Your WorkSpaces</a>. </p>
5874
- * @public
5875
- */
5876
- export interface WorkspaceCreationProperties {
5877
- /**
5878
- * <p>Indicates whether internet access is enabled for your WorkSpaces.</p>
5879
- * @public
5880
- */
5881
- EnableInternetAccess?: boolean | undefined;
5882
- /**
5883
- * <p>The default organizational unit (OU) for your WorkSpaces directories. This string must
5884
- * be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target
5885
- * domain and OU. It must be in the form
5886
- * <code>"OU=<i>value</i>,DC=<i>value</i>,DC=<i>value</i>"</code>,
5887
- * where <i>value</i> is any string of characters, and the number of domain
5888
- * components (DCs) is two or more. For example,
5889
- * <code>OU=WorkSpaces_machines,DC=machines,DC=example,DC=com</code>. </p>
5890
- * <important>
5891
- * <ul>
5892
- * <li>
5893
- * <p>To avoid errors, certain characters in the distinguished name must be escaped.
5894
- * For more information, see <a href="https://docs.microsoft.com/previous-versions/windows/desktop/ldap/distinguished-names"> Distinguished Names</a> in the Microsoft documentation.</p>
5895
- * </li>
5896
- * <li>
5897
- * <p>The API doesn't validate whether the OU exists.</p>
5898
- * </li>
5899
- * </ul>
5900
- * </important>
5901
- * @public
5902
- */
5903
- DefaultOu?: string | undefined;
5904
- /**
5905
- * <p>The identifier of your custom security group.</p>
5906
- * @public
5907
- */
5908
- CustomSecurityGroupId?: string | undefined;
5909
- /**
5910
- * <p>Indicates whether users are local administrators of their WorkSpaces.</p>
5911
- * @public
5912
- */
5913
- UserEnabledAsLocalAdministrator?: boolean | undefined;
5914
- /**
5915
- * <p>Indicates whether maintenance mode is enabled for your WorkSpaces. For more information,
5916
- * see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html">WorkSpace
5917
- * Maintenance</a>. </p>
5918
- * @public
5919
- */
5920
- EnableMaintenanceMode?: boolean | undefined;
5921
- /**
5922
- * <p>Indicates the IAM role ARN of the instance.</p>
5923
- * @public
5924
- */
5925
- InstanceIamRoleArn?: string | undefined;
5926
- }
5927
- /**
5928
- * @public
5929
- */
5930
- export interface ModifyWorkspaceCreationPropertiesRequest {
5931
- /**
5932
- * <p>The identifier of the directory.</p>
5933
- * @public
5934
- */
5935
- ResourceId: string | undefined;
5936
- /**
5937
- * <p>The default properties for creating WorkSpaces.</p>
5938
- * @public
5939
- */
5940
- WorkspaceCreationProperties: WorkspaceCreationProperties | undefined;
5941
- }
5942
- /**
5943
- * @public
5944
- */
5945
- export interface ModifyWorkspaceCreationPropertiesResult {
5946
- }
5947
- /**
5948
- * @public
5949
- */
5950
- export interface ModifyWorkspacePropertiesRequest {
5951
- /**
5952
- * <p>The identifier of the WorkSpace.</p>
5953
- * @public
5954
- */
5955
- WorkspaceId: string | undefined;
5956
- /**
5957
- * <p>The properties of the WorkSpace.</p>
5958
- * @public
5959
- */
5960
- WorkspaceProperties?: WorkspaceProperties | undefined;
5961
- /**
5962
- * <p>Indicates the data replication status.</p>
5963
- * @public
5964
- */
5965
- DataReplication?: DataReplication | undefined;
5966
- }
5967
- /**
5968
- * @public
5969
- */
5970
- export interface ModifyWorkspacePropertiesResult {
5971
- }
5972
- /**
5973
- * <p>The configuration of this WorkSpace is not supported for this operation. For more information, see
5974
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html">Required
5975
- * Configuration and Service Components for WorkSpaces </a>.</p>
5976
- * @public
5977
- */
5978
- export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
5979
- readonly name: "UnsupportedWorkspaceConfigurationException";
5980
- readonly $fault: "client";
5981
- /**
5982
- * @internal
5983
- */
5984
- constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
5985
- }
@@ -1,6 +1,167 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AccountLink, ActiveDirectoryConfig, ApplicationSettingsRequest, Capacity, ConnectionAliasPermission, FailedWorkspaceChangeRequest, IpRuleItem, MicrosoftEntraConfig, PoolsRunningMode, Tag, Tenancy, TimeoutSettings, UserIdentityType, WorkspaceDirectoryState, WorkspacesPool, WorkspaceType } from "./models_0";
2
+ import { AccountLink, ActiveDirectoryConfig, ApplicationSettingsRequest, Capacity, ConnectionAliasPermission, DataReplication, FailedWorkspaceChangeRequest, IpRuleItem, MicrosoftEntraConfig, PoolsRunningMode, StreamingProperties, Tag, Tenancy, TimeoutSettings, UserIdentityType, WorkspaceAccessProperties, WorkspaceDirectoryState, WorkspaceProperties, WorkspacesPool, WorkspaceType } from "./models_0";
3
3
  import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface ModifySelfservicePermissionsResult {
8
+ }
9
+ /**
10
+ * @public
11
+ */
12
+ export interface ModifyStreamingPropertiesRequest {
13
+ /**
14
+ * <p>The identifier of the resource.</p>
15
+ * @public
16
+ */
17
+ ResourceId: string | undefined;
18
+ /**
19
+ * <p>The streaming properties to configure.</p>
20
+ * @public
21
+ */
22
+ StreamingProperties?: StreamingProperties | undefined;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface ModifyStreamingPropertiesResult {
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface ModifyWorkspaceAccessPropertiesRequest {
33
+ /**
34
+ * <p>The identifier of the directory.</p>
35
+ * @public
36
+ */
37
+ ResourceId: string | undefined;
38
+ /**
39
+ * <p>The device types and operating systems to enable or disable for access.</p>
40
+ * @public
41
+ */
42
+ WorkspaceAccessProperties: WorkspaceAccessProperties | undefined;
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface ModifyWorkspaceAccessPropertiesResult {
48
+ }
49
+ /**
50
+ * <p>Describes the default properties that are used for creating WorkSpaces. For more
51
+ * information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html">Update Directory
52
+ * Details for Your WorkSpaces</a>. </p>
53
+ * @public
54
+ */
55
+ export interface WorkspaceCreationProperties {
56
+ /**
57
+ * <p>Indicates whether internet access is enabled for your WorkSpaces.</p>
58
+ * @public
59
+ */
60
+ EnableInternetAccess?: boolean | undefined;
61
+ /**
62
+ * <p>The default organizational unit (OU) for your WorkSpaces directories. This string must
63
+ * be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target
64
+ * domain and OU. It must be in the form
65
+ * <code>"OU=<i>value</i>,DC=<i>value</i>,DC=<i>value</i>"</code>,
66
+ * where <i>value</i> is any string of characters, and the number of domain
67
+ * components (DCs) is two or more. For example,
68
+ * <code>OU=WorkSpaces_machines,DC=machines,DC=example,DC=com</code>. </p>
69
+ * <important>
70
+ * <ul>
71
+ * <li>
72
+ * <p>To avoid errors, certain characters in the distinguished name must be escaped.
73
+ * For more information, see <a href="https://docs.microsoft.com/previous-versions/windows/desktop/ldap/distinguished-names"> Distinguished Names</a> in the Microsoft documentation.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>The API doesn't validate whether the OU exists.</p>
77
+ * </li>
78
+ * </ul>
79
+ * </important>
80
+ * @public
81
+ */
82
+ DefaultOu?: string | undefined;
83
+ /**
84
+ * <p>The identifier of your custom security group.</p>
85
+ * @public
86
+ */
87
+ CustomSecurityGroupId?: string | undefined;
88
+ /**
89
+ * <p>Indicates whether users are local administrators of their WorkSpaces.</p>
90
+ * @public
91
+ */
92
+ UserEnabledAsLocalAdministrator?: boolean | undefined;
93
+ /**
94
+ * <p>Indicates whether maintenance mode is enabled for your WorkSpaces. For more information,
95
+ * see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html">WorkSpace
96
+ * Maintenance</a>. </p>
97
+ * @public
98
+ */
99
+ EnableMaintenanceMode?: boolean | undefined;
100
+ /**
101
+ * <p>Indicates the IAM role ARN of the instance.</p>
102
+ * @public
103
+ */
104
+ InstanceIamRoleArn?: string | undefined;
105
+ }
106
+ /**
107
+ * @public
108
+ */
109
+ export interface ModifyWorkspaceCreationPropertiesRequest {
110
+ /**
111
+ * <p>The identifier of the directory.</p>
112
+ * @public
113
+ */
114
+ ResourceId: string | undefined;
115
+ /**
116
+ * <p>The default properties for creating WorkSpaces.</p>
117
+ * @public
118
+ */
119
+ WorkspaceCreationProperties: WorkspaceCreationProperties | undefined;
120
+ }
121
+ /**
122
+ * @public
123
+ */
124
+ export interface ModifyWorkspaceCreationPropertiesResult {
125
+ }
126
+ /**
127
+ * @public
128
+ */
129
+ export interface ModifyWorkspacePropertiesRequest {
130
+ /**
131
+ * <p>The identifier of the WorkSpace.</p>
132
+ * @public
133
+ */
134
+ WorkspaceId: string | undefined;
135
+ /**
136
+ * <p>The properties of the WorkSpace.</p>
137
+ * @public
138
+ */
139
+ WorkspaceProperties?: WorkspaceProperties | undefined;
140
+ /**
141
+ * <p>Indicates the data replication status.</p>
142
+ * @public
143
+ */
144
+ DataReplication?: DataReplication | undefined;
145
+ }
146
+ /**
147
+ * @public
148
+ */
149
+ export interface ModifyWorkspacePropertiesResult {
150
+ }
151
+ /**
152
+ * <p>The configuration of this WorkSpace is not supported for this operation. For more information, see
153
+ * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html">Required
154
+ * Configuration and Service Components for WorkSpaces </a>.</p>
155
+ * @public
156
+ */
157
+ export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
158
+ readonly name: "UnsupportedWorkspaceConfigurationException";
159
+ readonly $fault: "client";
160
+ /**
161
+ * @internal
162
+ */
163
+ constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
164
+ }
4
165
  /**
5
166
  * @public
6
167
  * @enum
@@ -37,6 +37,7 @@ import { DescribeClientPropertiesCommandInput, DescribeClientPropertiesCommandOu
37
37
  import { DescribeConnectClientAddInsCommandInput, DescribeConnectClientAddInsCommandOutput } from "../commands/DescribeConnectClientAddInsCommand";
38
38
  import { DescribeConnectionAliasesCommandInput, DescribeConnectionAliasesCommandOutput } from "../commands/DescribeConnectionAliasesCommand";
39
39
  import { DescribeConnectionAliasPermissionsCommandInput, DescribeConnectionAliasPermissionsCommandOutput } from "../commands/DescribeConnectionAliasPermissionsCommand";
40
+ import { DescribeCustomWorkspaceImageImportCommandInput, DescribeCustomWorkspaceImageImportCommandOutput } from "../commands/DescribeCustomWorkspaceImageImportCommand";
40
41
  import { DescribeImageAssociationsCommandInput, DescribeImageAssociationsCommandOutput } from "../commands/DescribeImageAssociationsCommand";
41
42
  import { DescribeIpGroupsCommandInput, DescribeIpGroupsCommandOutput } from "../commands/DescribeIpGroupsCommand";
42
43
  import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "../commands/DescribeTagsCommand";
@@ -55,6 +56,7 @@ import { DisassociateIpGroupsCommandInput, DisassociateIpGroupsCommandOutput } f
55
56
  import { DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput } from "../commands/DisassociateWorkspaceApplicationCommand";
56
57
  import { GetAccountLinkCommandInput, GetAccountLinkCommandOutput } from "../commands/GetAccountLinkCommand";
57
58
  import { ImportClientBrandingCommandInput, ImportClientBrandingCommandOutput } from "../commands/ImportClientBrandingCommand";
59
+ import { ImportCustomWorkspaceImageCommandInput, ImportCustomWorkspaceImageCommandOutput } from "../commands/ImportCustomWorkspaceImageCommand";
58
60
  import { ImportWorkspaceImageCommandInput, ImportWorkspaceImageCommandOutput } from "../commands/ImportWorkspaceImageCommand";
59
61
  import { ListAccountLinksCommandInput, ListAccountLinksCommandOutput } from "../commands/ListAccountLinksCommand";
60
62
  import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementCidrRangesCommandOutput } from "../commands/ListAvailableManagementCidrRangesCommand";
@@ -237,6 +239,10 @@ export declare const se_DescribeConnectionAliasesCommand: (input: DescribeConnec
237
239
  * serializeAws_json1_1DescribeConnectionAliasPermissionsCommand
238
240
  */
239
241
  export declare const se_DescribeConnectionAliasPermissionsCommand: (input: DescribeConnectionAliasPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
242
+ /**
243
+ * serializeAws_json1_1DescribeCustomWorkspaceImageImportCommand
244
+ */
245
+ export declare const se_DescribeCustomWorkspaceImageImportCommand: (input: DescribeCustomWorkspaceImageImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
240
246
  /**
241
247
  * serializeAws_json1_1DescribeImageAssociationsCommand
242
248
  */
@@ -309,6 +315,10 @@ export declare const se_GetAccountLinkCommand: (input: GetAccountLinkCommandInpu
309
315
  * serializeAws_json1_1ImportClientBrandingCommand
310
316
  */
311
317
  export declare const se_ImportClientBrandingCommand: (input: ImportClientBrandingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
318
+ /**
319
+ * serializeAws_json1_1ImportCustomWorkspaceImageCommand
320
+ */
321
+ export declare const se_ImportCustomWorkspaceImageCommand: (input: ImportCustomWorkspaceImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
312
322
  /**
313
323
  * serializeAws_json1_1ImportWorkspaceImageCommand
314
324
  */
@@ -593,6 +603,10 @@ export declare const de_DescribeConnectionAliasesCommand: (output: __HttpRespons
593
603
  * deserializeAws_json1_1DescribeConnectionAliasPermissionsCommand
594
604
  */
595
605
  export declare const de_DescribeConnectionAliasPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeConnectionAliasPermissionsCommandOutput>;
606
+ /**
607
+ * deserializeAws_json1_1DescribeCustomWorkspaceImageImportCommand
608
+ */
609
+ export declare const de_DescribeCustomWorkspaceImageImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCustomWorkspaceImageImportCommandOutput>;
596
610
  /**
597
611
  * deserializeAws_json1_1DescribeImageAssociationsCommand
598
612
  */
@@ -665,6 +679,10 @@ export declare const de_GetAccountLinkCommand: (output: __HttpResponse, context:
665
679
  * deserializeAws_json1_1ImportClientBrandingCommand
666
680
  */
667
681
  export declare const de_ImportClientBrandingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportClientBrandingCommandOutput>;
682
+ /**
683
+ * deserializeAws_json1_1ImportCustomWorkspaceImageCommand
684
+ */
685
+ export declare const de_ImportCustomWorkspaceImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportCustomWorkspaceImageCommandOutput>;
668
686
  /**
669
687
  * deserializeAws_json1_1ImportWorkspaceImageCommand
670
688
  */