@aws-sdk/client-workspaces 3.864.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 +1 -1
@@ -147,6 +147,10 @@ import {
147
147
  DescribeConnectionAliasPermissionsCommandInput,
148
148
  DescribeConnectionAliasPermissionsCommandOutput,
149
149
  } from "./commands/DescribeConnectionAliasPermissionsCommand";
150
+ import {
151
+ DescribeCustomWorkspaceImageImportCommandInput,
152
+ DescribeCustomWorkspaceImageImportCommandOutput,
153
+ } from "./commands/DescribeCustomWorkspaceImageImportCommand";
150
154
  import {
151
155
  DescribeImageAssociationsCommandInput,
152
156
  DescribeImageAssociationsCommandOutput,
@@ -219,6 +223,10 @@ import {
219
223
  ImportClientBrandingCommandInput,
220
224
  ImportClientBrandingCommandOutput,
221
225
  } from "./commands/ImportClientBrandingCommand";
226
+ import {
227
+ ImportCustomWorkspaceImageCommandInput,
228
+ ImportCustomWorkspaceImageCommandOutput,
229
+ } from "./commands/ImportCustomWorkspaceImageCommand";
222
230
  import {
223
231
  ImportWorkspaceImageCommandInput,
224
232
  ImportWorkspaceImageCommandOutput,
@@ -849,6 +857,25 @@ export interface WorkSpaces {
849
857
  data?: DescribeConnectionAliasPermissionsCommandOutput
850
858
  ) => void
851
859
  ): void;
860
+ describeCustomWorkspaceImageImport(
861
+ args: DescribeCustomWorkspaceImageImportCommandInput,
862
+ options?: __HttpHandlerOptions
863
+ ): Promise<DescribeCustomWorkspaceImageImportCommandOutput>;
864
+ describeCustomWorkspaceImageImport(
865
+ args: DescribeCustomWorkspaceImageImportCommandInput,
866
+ cb: (
867
+ err: any,
868
+ data?: DescribeCustomWorkspaceImageImportCommandOutput
869
+ ) => void
870
+ ): void;
871
+ describeCustomWorkspaceImageImport(
872
+ args: DescribeCustomWorkspaceImageImportCommandInput,
873
+ options: __HttpHandlerOptions,
874
+ cb: (
875
+ err: any,
876
+ data?: DescribeCustomWorkspaceImageImportCommandOutput
877
+ ) => void
878
+ ): void;
852
879
  describeImageAssociations(
853
880
  args: DescribeImageAssociationsCommandInput,
854
881
  options?: __HttpHandlerOptions
@@ -1103,6 +1130,19 @@ export interface WorkSpaces {
1103
1130
  options: __HttpHandlerOptions,
1104
1131
  cb: (err: any, data?: ImportClientBrandingCommandOutput) => void
1105
1132
  ): void;
1133
+ importCustomWorkspaceImage(
1134
+ args: ImportCustomWorkspaceImageCommandInput,
1135
+ options?: __HttpHandlerOptions
1136
+ ): Promise<ImportCustomWorkspaceImageCommandOutput>;
1137
+ importCustomWorkspaceImage(
1138
+ args: ImportCustomWorkspaceImageCommandInput,
1139
+ cb: (err: any, data?: ImportCustomWorkspaceImageCommandOutput) => void
1140
+ ): void;
1141
+ importCustomWorkspaceImage(
1142
+ args: ImportCustomWorkspaceImageCommandInput,
1143
+ options: __HttpHandlerOptions,
1144
+ cb: (err: any, data?: ImportCustomWorkspaceImageCommandOutput) => void
1145
+ ): void;
1106
1146
  importWorkspaceImage(
1107
1147
  args: ImportWorkspaceImageCommandInput,
1108
1148
  options?: __HttpHandlerOptions
@@ -193,6 +193,10 @@ import {
193
193
  DescribeConnectionAliasPermissionsCommandInput,
194
194
  DescribeConnectionAliasPermissionsCommandOutput,
195
195
  } from "./commands/DescribeConnectionAliasPermissionsCommand";
196
+ import {
197
+ DescribeCustomWorkspaceImageImportCommandInput,
198
+ DescribeCustomWorkspaceImageImportCommandOutput,
199
+ } from "./commands/DescribeCustomWorkspaceImageImportCommand";
196
200
  import {
197
201
  DescribeImageAssociationsCommandInput,
198
202
  DescribeImageAssociationsCommandOutput,
@@ -265,6 +269,10 @@ import {
265
269
  ImportClientBrandingCommandInput,
266
270
  ImportClientBrandingCommandOutput,
267
271
  } from "./commands/ImportClientBrandingCommand";
272
+ import {
273
+ ImportCustomWorkspaceImageCommandInput,
274
+ ImportCustomWorkspaceImageCommandOutput,
275
+ } from "./commands/ImportCustomWorkspaceImageCommand";
268
276
  import {
269
277
  ImportWorkspaceImageCommandInput,
270
278
  ImportWorkspaceImageCommandOutput,
@@ -446,6 +454,7 @@ export type ServiceInputTypes =
446
454
  | DescribeConnectClientAddInsCommandInput
447
455
  | DescribeConnectionAliasPermissionsCommandInput
448
456
  | DescribeConnectionAliasesCommandInput
457
+ | DescribeCustomWorkspaceImageImportCommandInput
449
458
  | DescribeImageAssociationsCommandInput
450
459
  | DescribeIpGroupsCommandInput
451
460
  | DescribeTagsCommandInput
@@ -464,6 +473,7 @@ export type ServiceInputTypes =
464
473
  | DisassociateWorkspaceApplicationCommandInput
465
474
  | GetAccountLinkCommandInput
466
475
  | ImportClientBrandingCommandInput
476
+ | ImportCustomWorkspaceImageCommandInput
467
477
  | ImportWorkspaceImageCommandInput
468
478
  | ListAccountLinksCommandInput
469
479
  | ListAvailableManagementCidrRangesCommandInput
@@ -536,6 +546,7 @@ export type ServiceOutputTypes =
536
546
  | DescribeConnectClientAddInsCommandOutput
537
547
  | DescribeConnectionAliasPermissionsCommandOutput
538
548
  | DescribeConnectionAliasesCommandOutput
549
+ | DescribeCustomWorkspaceImageImportCommandOutput
539
550
  | DescribeImageAssociationsCommandOutput
540
551
  | DescribeIpGroupsCommandOutput
541
552
  | DescribeTagsCommandOutput
@@ -554,6 +565,7 @@ export type ServiceOutputTypes =
554
565
  | DisassociateWorkspaceApplicationCommandOutput
555
566
  | GetAccountLinkCommandOutput
556
567
  | ImportClientBrandingCommandOutput
568
+ | ImportCustomWorkspaceImageCommandOutput
557
569
  | ImportWorkspaceImageCommandOutput
558
570
  | ListAccountLinksCommandOutput
559
571
  | ListAvailableManagementCidrRangesCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DescribeCustomWorkspaceImageImportRequest,
5
+ DescribeCustomWorkspaceImageImportResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ WorkSpacesClientResolvedConfig,
11
+ } from "../WorkSpacesClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeCustomWorkspaceImageImportCommandInput
15
+ extends DescribeCustomWorkspaceImageImportRequest {}
16
+ export interface DescribeCustomWorkspaceImageImportCommandOutput
17
+ extends DescribeCustomWorkspaceImageImportResult,
18
+ __MetadataBearer {}
19
+ declare const DescribeCustomWorkspaceImageImportCommand_base: {
20
+ new (
21
+ input: DescribeCustomWorkspaceImageImportCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeCustomWorkspaceImageImportCommandInput,
24
+ DescribeCustomWorkspaceImageImportCommandOutput,
25
+ WorkSpacesClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeCustomWorkspaceImageImportCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeCustomWorkspaceImageImportCommandInput,
33
+ DescribeCustomWorkspaceImageImportCommandOutput,
34
+ WorkSpacesClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeCustomWorkspaceImageImportCommand extends DescribeCustomWorkspaceImageImportCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeCustomWorkspaceImageImportRequest;
44
+ output: DescribeCustomWorkspaceImageImportResult;
45
+ };
46
+ sdk: {
47
+ input: DescribeCustomWorkspaceImageImportCommandInput;
48
+ output: DescribeCustomWorkspaceImageImportCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ImportCustomWorkspaceImageRequest,
5
+ ImportCustomWorkspaceImageResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ WorkSpacesClientResolvedConfig,
11
+ } from "../WorkSpacesClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ImportCustomWorkspaceImageCommandInput
15
+ extends ImportCustomWorkspaceImageRequest {}
16
+ export interface ImportCustomWorkspaceImageCommandOutput
17
+ extends ImportCustomWorkspaceImageResult,
18
+ __MetadataBearer {}
19
+ declare const ImportCustomWorkspaceImageCommand_base: {
20
+ new (
21
+ input: ImportCustomWorkspaceImageCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ImportCustomWorkspaceImageCommandInput,
24
+ ImportCustomWorkspaceImageCommandOutput,
25
+ WorkSpacesClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ImportCustomWorkspaceImageCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ImportCustomWorkspaceImageCommandInput,
33
+ ImportCustomWorkspaceImageCommandOutput,
34
+ WorkSpacesClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ImportCustomWorkspaceImageCommand extends ImportCustomWorkspaceImageCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ImportCustomWorkspaceImageRequest;
44
+ output: ImportCustomWorkspaceImageResult;
45
+ };
46
+ sdk: {
47
+ input: ImportCustomWorkspaceImageCommandInput;
48
+ output: ImportCustomWorkspaceImageCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,7 +37,7 @@ export declare class ModifyAccountCommand extends ModifyAccountCommand_base {
37
37
  protected static __types: {
38
38
  api: {
39
39
  input: ModifyAccountRequest;
40
- output: {};
40
+ output: ModifyAccountResult;
41
41
  };
42
42
  sdk: {
43
43
  input: ModifyAccountCommandInput;
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ModifySelfservicePermissionsRequest,
5
- ModifySelfservicePermissionsResult,
6
- } from "../models/models_0";
3
+ import { ModifySelfservicePermissionsRequest } from "../models/models_0";
4
+ import { ModifySelfservicePermissionsResult } from "../models/models_1";
7
5
  import {
8
6
  ServiceInputTypes,
9
7
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ModifyStreamingPropertiesRequest,
5
5
  ModifyStreamingPropertiesResult,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ModifyWorkspaceAccessPropertiesRequest,
5
5
  ModifyWorkspaceAccessPropertiesResult,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ModifyWorkspaceCreationPropertiesRequest,
5
5
  ModifyWorkspaceCreationPropertiesResult,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ModifyWorkspacePropertiesRequest,
5
5
  ModifyWorkspacePropertiesResult,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -35,6 +35,7 @@ export * from "./DescribeClientPropertiesCommand";
35
35
  export * from "./DescribeConnectClientAddInsCommand";
36
36
  export * from "./DescribeConnectionAliasPermissionsCommand";
37
37
  export * from "./DescribeConnectionAliasesCommand";
38
+ export * from "./DescribeCustomWorkspaceImageImportCommand";
38
39
  export * from "./DescribeImageAssociationsCommand";
39
40
  export * from "./DescribeIpGroupsCommand";
40
41
  export * from "./DescribeTagsCommand";
@@ -53,6 +54,7 @@ export * from "./DisassociateIpGroupsCommand";
53
54
  export * from "./DisassociateWorkspaceApplicationCommand";
54
55
  export * from "./GetAccountLinkCommand";
55
56
  export * from "./ImportClientBrandingCommand";
57
+ export * from "./ImportCustomWorkspaceImageCommand";
56
58
  export * from "./ImportWorkspaceImageCommand";
57
59
  export * from "./ListAccountLinksCommand";
58
60
  export * from "./ListAvailableManagementCidrRangesCommand";
@@ -890,6 +890,25 @@ export interface WorkspacesPool {
890
890
  export interface CreateWorkspacesPoolResult {
891
891
  WorkspacesPool?: WorkspacesPool | undefined;
892
892
  }
893
+ export declare const CustomImageProtocol: {
894
+ readonly BYOP: "BYOP";
895
+ readonly DCV: "DCV";
896
+ readonly PCOIP: "PCOIP";
897
+ };
898
+ export type CustomImageProtocol =
899
+ (typeof CustomImageProtocol)[keyof typeof CustomImageProtocol];
900
+ export interface CustomWorkspaceImageImportErrorDetails {
901
+ ErrorCode?: string | undefined;
902
+ ErrorMessage?: string | undefined;
903
+ }
904
+ export declare const CustomWorkspaceImageImportState: {
905
+ readonly COMPLETED: "COMPLETED";
906
+ readonly ERROR: "ERROR";
907
+ readonly IN_PROGRESS: "IN_PROGRESS";
908
+ readonly PENDING: "PENDING";
909
+ };
910
+ export type CustomWorkspaceImageImportState =
911
+ (typeof CustomWorkspaceImageImportState)[keyof typeof CustomWorkspaceImageImportState];
893
912
  export declare const DedicatedTenancyAccountType: {
894
913
  readonly SOURCE_ACCOUNT: "SOURCE_ACCOUNT";
895
914
  readonly TARGET_ACCOUNT: "TARGET_ACCOUNT";
@@ -991,6 +1010,7 @@ export interface DescribeAccountResult {
991
1010
  DedicatedTenancySupport?: DedicatedTenancySupportResultEnum | undefined;
992
1011
  DedicatedTenancyManagementCidrRange?: string | undefined;
993
1012
  DedicatedTenancyAccountType?: DedicatedTenancyAccountType | undefined;
1013
+ Message?: string | undefined;
994
1014
  }
995
1015
  export interface DescribeAccountModificationsRequest {
996
1016
  NextToken?: string | undefined;
@@ -1109,6 +1129,57 @@ export interface DescribeConnectionAliasPermissionsResult {
1109
1129
  ConnectionAliasPermissions?: ConnectionAliasPermission[] | undefined;
1110
1130
  NextToken?: string | undefined;
1111
1131
  }
1132
+ export interface DescribeCustomWorkspaceImageImportRequest {
1133
+ ImageId: string | undefined;
1134
+ }
1135
+ export type ImageSourceIdentifier =
1136
+ | ImageSourceIdentifier.Ec2ImageIdMember
1137
+ | ImageSourceIdentifier.Ec2ImportTaskIdMember
1138
+ | ImageSourceIdentifier.ImageBuildVersionArnMember
1139
+ | ImageSourceIdentifier.$UnknownMember;
1140
+ export declare namespace ImageSourceIdentifier {
1141
+ interface Ec2ImportTaskIdMember {
1142
+ Ec2ImportTaskId: string;
1143
+ ImageBuildVersionArn?: never;
1144
+ Ec2ImageId?: never;
1145
+ $unknown?: never;
1146
+ }
1147
+ interface ImageBuildVersionArnMember {
1148
+ Ec2ImportTaskId?: never;
1149
+ ImageBuildVersionArn: string;
1150
+ Ec2ImageId?: never;
1151
+ $unknown?: never;
1152
+ }
1153
+ interface Ec2ImageIdMember {
1154
+ Ec2ImportTaskId?: never;
1155
+ ImageBuildVersionArn?: never;
1156
+ Ec2ImageId: string;
1157
+ $unknown?: never;
1158
+ }
1159
+ interface $UnknownMember {
1160
+ Ec2ImportTaskId?: never;
1161
+ ImageBuildVersionArn?: never;
1162
+ Ec2ImageId?: never;
1163
+ $unknown: [string, any];
1164
+ }
1165
+ interface Visitor<T> {
1166
+ Ec2ImportTaskId: (value: string) => T;
1167
+ ImageBuildVersionArn: (value: string) => T;
1168
+ Ec2ImageId: (value: string) => T;
1169
+ _: (name: string, value: any) => T;
1170
+ }
1171
+ const visit: <T>(value: ImageSourceIdentifier, visitor: Visitor<T>) => T;
1172
+ }
1173
+ export interface DescribeCustomWorkspaceImageImportResult {
1174
+ ImageId?: string | undefined;
1175
+ InfrastructureConfigurationArn?: string | undefined;
1176
+ State?: CustomWorkspaceImageImportState | undefined;
1177
+ Created?: Date | undefined;
1178
+ LastUpdatedTime?: Date | undefined;
1179
+ ImageSource?: ImageSourceIdentifier | undefined;
1180
+ ImageBuilderInstanceId?: string | undefined;
1181
+ ErrorDetails?: CustomWorkspaceImageImportErrorDetails[] | undefined;
1182
+ }
1112
1183
  export declare const ImageAssociatedResourceType: {
1113
1184
  readonly APPLICATION: "APPLICATION";
1114
1185
  };
@@ -1575,6 +1646,12 @@ export interface GetAccountLinkRequest {
1575
1646
  export interface GetAccountLinkResult {
1576
1647
  AccountLink?: AccountLink | undefined;
1577
1648
  }
1649
+ export declare const ImageComputeType: {
1650
+ readonly BASE: "BASE";
1651
+ readonly GRAPHICS_G4DN: "GRAPHICS_G4DN";
1652
+ };
1653
+ export type ImageComputeType =
1654
+ (typeof ImageComputeType)[keyof typeof ImageComputeType];
1578
1655
  export interface IosImportClientBrandingAttributes {
1579
1656
  Logo?: Uint8Array | undefined;
1580
1657
  Logo2x?: Uint8Array | undefined;
@@ -1601,6 +1678,30 @@ export interface ImportClientBrandingResult {
1601
1678
  DeviceTypeLinux?: DefaultClientBrandingAttributes | undefined;
1602
1679
  DeviceTypeWeb?: DefaultClientBrandingAttributes | undefined;
1603
1680
  }
1681
+ export declare const OSVersion: {
1682
+ readonly Windows_10: "Windows_10";
1683
+ readonly Windows_11: "Windows_11";
1684
+ };
1685
+ export type OSVersion = (typeof OSVersion)[keyof typeof OSVersion];
1686
+ export declare const Platform: {
1687
+ readonly WINDOWS: "WINDOWS";
1688
+ };
1689
+ export type Platform = (typeof Platform)[keyof typeof Platform];
1690
+ export interface ImportCustomWorkspaceImageRequest {
1691
+ ImageName: string | undefined;
1692
+ ImageDescription: string | undefined;
1693
+ ComputeType: ImageComputeType | undefined;
1694
+ Protocol: CustomImageProtocol | undefined;
1695
+ ImageSource: ImageSourceIdentifier | undefined;
1696
+ InfrastructureConfigurationArn: string | undefined;
1697
+ Platform: Platform | undefined;
1698
+ OsVersion: OSVersion | undefined;
1699
+ Tags?: Tag[] | undefined;
1700
+ }
1701
+ export interface ImportCustomWorkspaceImageResult {
1702
+ ImageId?: string | undefined;
1703
+ State?: CustomWorkspaceImageImportState | undefined;
1704
+ }
1604
1705
  export declare const WorkspaceImageIngestionProcess: {
1605
1706
  readonly BYOL_GRAPHICS: "BYOL_GRAPHICS";
1606
1707
  readonly BYOL_GRAPHICSPRO: "BYOL_GRAPHICSPRO";
@@ -1671,7 +1772,9 @@ export interface ModifyAccountRequest {
1671
1772
  DedicatedTenancySupport?: DedicatedTenancySupportEnum | undefined;
1672
1773
  DedicatedTenancyManagementCidrRange?: string | undefined;
1673
1774
  }
1674
- export interface ModifyAccountResult {}
1775
+ export interface ModifyAccountResult {
1776
+ Message?: string | undefined;
1777
+ }
1675
1778
  export interface ModifyCertificateBasedAuthPropertiesRequest {
1676
1779
  ResourceId: string | undefined;
1677
1780
  CertificateBasedAuthProperties?: CertificateBasedAuthProperties | undefined;
@@ -1698,43 +1801,3 @@ export interface ModifySelfservicePermissionsRequest {
1698
1801
  ResourceId: string | undefined;
1699
1802
  SelfservicePermissions: SelfservicePermissions | undefined;
1700
1803
  }
1701
- export interface ModifySelfservicePermissionsResult {}
1702
- export interface ModifyStreamingPropertiesRequest {
1703
- ResourceId: string | undefined;
1704
- StreamingProperties?: StreamingProperties | undefined;
1705
- }
1706
- export interface ModifyStreamingPropertiesResult {}
1707
- export interface ModifyWorkspaceAccessPropertiesRequest {
1708
- ResourceId: string | undefined;
1709
- WorkspaceAccessProperties: WorkspaceAccessProperties | undefined;
1710
- }
1711
- export interface ModifyWorkspaceAccessPropertiesResult {}
1712
- export interface WorkspaceCreationProperties {
1713
- EnableInternetAccess?: boolean | undefined;
1714
- DefaultOu?: string | undefined;
1715
- CustomSecurityGroupId?: string | undefined;
1716
- UserEnabledAsLocalAdministrator?: boolean | undefined;
1717
- EnableMaintenanceMode?: boolean | undefined;
1718
- InstanceIamRoleArn?: string | undefined;
1719
- }
1720
- export interface ModifyWorkspaceCreationPropertiesRequest {
1721
- ResourceId: string | undefined;
1722
- WorkspaceCreationProperties: WorkspaceCreationProperties | undefined;
1723
- }
1724
- export interface ModifyWorkspaceCreationPropertiesResult {}
1725
- export interface ModifyWorkspacePropertiesRequest {
1726
- WorkspaceId: string | undefined;
1727
- WorkspaceProperties?: WorkspaceProperties | undefined;
1728
- DataReplication?: DataReplication | undefined;
1729
- }
1730
- export interface ModifyWorkspacePropertiesResult {}
1731
- export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
1732
- readonly name: "UnsupportedWorkspaceConfigurationException";
1733
- readonly $fault: "client";
1734
- constructor(
1735
- opts: __ExceptionOptionType<
1736
- UnsupportedWorkspaceConfigurationException,
1737
- __BaseException
1738
- >
1739
- );
1740
- }
@@ -5,19 +5,63 @@ import {
5
5
  ApplicationSettingsRequest,
6
6
  Capacity,
7
7
  ConnectionAliasPermission,
8
+ DataReplication,
8
9
  FailedWorkspaceChangeRequest,
9
10
  IpRuleItem,
10
11
  MicrosoftEntraConfig,
11
12
  PoolsRunningMode,
13
+ StreamingProperties,
12
14
  Tag,
13
15
  Tenancy,
14
16
  TimeoutSettings,
15
17
  UserIdentityType,
18
+ WorkspaceAccessProperties,
16
19
  WorkspaceDirectoryState,
20
+ WorkspaceProperties,
17
21
  WorkspacesPool,
18
22
  WorkspaceType,
19
23
  } from "./models_0";
20
24
  import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
25
+ export interface ModifySelfservicePermissionsResult {}
26
+ export interface ModifyStreamingPropertiesRequest {
27
+ ResourceId: string | undefined;
28
+ StreamingProperties?: StreamingProperties | undefined;
29
+ }
30
+ export interface ModifyStreamingPropertiesResult {}
31
+ export interface ModifyWorkspaceAccessPropertiesRequest {
32
+ ResourceId: string | undefined;
33
+ WorkspaceAccessProperties: WorkspaceAccessProperties | undefined;
34
+ }
35
+ export interface ModifyWorkspaceAccessPropertiesResult {}
36
+ export interface WorkspaceCreationProperties {
37
+ EnableInternetAccess?: boolean | undefined;
38
+ DefaultOu?: string | undefined;
39
+ CustomSecurityGroupId?: string | undefined;
40
+ UserEnabledAsLocalAdministrator?: boolean | undefined;
41
+ EnableMaintenanceMode?: boolean | undefined;
42
+ InstanceIamRoleArn?: string | undefined;
43
+ }
44
+ export interface ModifyWorkspaceCreationPropertiesRequest {
45
+ ResourceId: string | undefined;
46
+ WorkspaceCreationProperties: WorkspaceCreationProperties | undefined;
47
+ }
48
+ export interface ModifyWorkspaceCreationPropertiesResult {}
49
+ export interface ModifyWorkspacePropertiesRequest {
50
+ WorkspaceId: string | undefined;
51
+ WorkspaceProperties?: WorkspaceProperties | undefined;
52
+ DataReplication?: DataReplication | undefined;
53
+ }
54
+ export interface ModifyWorkspacePropertiesResult {}
55
+ export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
56
+ readonly name: "UnsupportedWorkspaceConfigurationException";
57
+ readonly $fault: "client";
58
+ constructor(
59
+ opts: __ExceptionOptionType<
60
+ UnsupportedWorkspaceConfigurationException,
61
+ __BaseException
62
+ >
63
+ );
64
+ }
21
65
  export declare const TargetWorkspaceState: {
22
66
  readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
23
67
  readonly AVAILABLE: "AVAILABLE";
@@ -151,6 +151,10 @@ import {
151
151
  DescribeConnectionAliasPermissionsCommandInput,
152
152
  DescribeConnectionAliasPermissionsCommandOutput,
153
153
  } from "../commands/DescribeConnectionAliasPermissionsCommand";
154
+ import {
155
+ DescribeCustomWorkspaceImageImportCommandInput,
156
+ DescribeCustomWorkspaceImageImportCommandOutput,
157
+ } from "../commands/DescribeCustomWorkspaceImageImportCommand";
154
158
  import {
155
159
  DescribeImageAssociationsCommandInput,
156
160
  DescribeImageAssociationsCommandOutput,
@@ -223,6 +227,10 @@ import {
223
227
  ImportClientBrandingCommandInput,
224
228
  ImportClientBrandingCommandOutput,
225
229
  } from "../commands/ImportClientBrandingCommand";
230
+ import {
231
+ ImportCustomWorkspaceImageCommandInput,
232
+ ImportCustomWorkspaceImageCommandOutput,
233
+ } from "../commands/ImportCustomWorkspaceImageCommand";
226
234
  import {
227
235
  ImportWorkspaceImageCommandInput,
228
236
  ImportWorkspaceImageCommandOutput,
@@ -507,6 +515,10 @@ export declare const se_DescribeConnectionAliasPermissionsCommand: (
507
515
  input: DescribeConnectionAliasPermissionsCommandInput,
508
516
  context: __SerdeContext
509
517
  ) => Promise<__HttpRequest>;
518
+ export declare const se_DescribeCustomWorkspaceImageImportCommand: (
519
+ input: DescribeCustomWorkspaceImageImportCommandInput,
520
+ context: __SerdeContext
521
+ ) => Promise<__HttpRequest>;
510
522
  export declare const se_DescribeImageAssociationsCommand: (
511
523
  input: DescribeImageAssociationsCommandInput,
512
524
  context: __SerdeContext
@@ -579,6 +591,10 @@ export declare const se_ImportClientBrandingCommand: (
579
591
  input: ImportClientBrandingCommandInput,
580
592
  context: __SerdeContext
581
593
  ) => Promise<__HttpRequest>;
594
+ export declare const se_ImportCustomWorkspaceImageCommand: (
595
+ input: ImportCustomWorkspaceImageCommandInput,
596
+ context: __SerdeContext
597
+ ) => Promise<__HttpRequest>;
582
598
  export declare const se_ImportWorkspaceImageCommand: (
583
599
  input: ImportWorkspaceImageCommandInput,
584
600
  context: __SerdeContext
@@ -863,6 +879,10 @@ export declare const de_DescribeConnectionAliasPermissionsCommand: (
863
879
  output: __HttpResponse,
864
880
  context: __SerdeContext
865
881
  ) => Promise<DescribeConnectionAliasPermissionsCommandOutput>;
882
+ export declare const de_DescribeCustomWorkspaceImageImportCommand: (
883
+ output: __HttpResponse,
884
+ context: __SerdeContext
885
+ ) => Promise<DescribeCustomWorkspaceImageImportCommandOutput>;
866
886
  export declare const de_DescribeImageAssociationsCommand: (
867
887
  output: __HttpResponse,
868
888
  context: __SerdeContext
@@ -935,6 +955,10 @@ export declare const de_ImportClientBrandingCommand: (
935
955
  output: __HttpResponse,
936
956
  context: __SerdeContext
937
957
  ) => Promise<ImportClientBrandingCommandOutput>;
958
+ export declare const de_ImportCustomWorkspaceImageCommand: (
959
+ output: __HttpResponse,
960
+ context: __SerdeContext
961
+ ) => Promise<ImportCustomWorkspaceImageCommandOutput>;
938
962
  export declare const de_ImportWorkspaceImageCommand: (
939
963
  output: __HttpResponse,
940
964
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces",
3
3
  "description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
4
- "version": "3.864.0",
4
+ "version": "3.868.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces",