@aws-sdk/client-workspaces 3.301.0 → 3.306.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.
@@ -7,19 +7,25 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum AccessPropertyValue {
11
- ALLOW = "ALLOW",
12
- DENY = "DENY",
13
- }
14
- export declare enum DedicatedTenancySupportResultEnum {
15
- DISABLED = "DISABLED",
16
- ENABLED = "ENABLED",
17
- }
18
- export declare enum DedicatedTenancyModificationStateEnum {
19
- COMPLETED = "COMPLETED",
20
- FAILED = "FAILED",
21
- PENDING = "PENDING",
22
- }
10
+ export declare const AccessPropertyValue: {
11
+ readonly ALLOW: "ALLOW";
12
+ readonly DENY: "DENY";
13
+ };
14
+ export type AccessPropertyValue =
15
+ (typeof AccessPropertyValue)[keyof typeof AccessPropertyValue];
16
+ export declare const DedicatedTenancySupportResultEnum: {
17
+ readonly DISABLED: "DISABLED";
18
+ readonly ENABLED: "ENABLED";
19
+ };
20
+ export type DedicatedTenancySupportResultEnum =
21
+ (typeof DedicatedTenancySupportResultEnum)[keyof typeof DedicatedTenancySupportResultEnum];
22
+ export declare const DedicatedTenancyModificationStateEnum: {
23
+ readonly COMPLETED: "COMPLETED";
24
+ readonly FAILED: "FAILED";
25
+ readonly PENDING: "PENDING";
26
+ };
27
+ export type DedicatedTenancyModificationStateEnum =
28
+ (typeof DedicatedTenancyModificationStateEnum)[keyof typeof DedicatedTenancyModificationStateEnum];
23
29
  export interface AccountModification {
24
30
  ModificationState?: DedicatedTenancyModificationStateEnum | string;
25
31
  DedicatedTenancySupport?: DedicatedTenancySupportResultEnum | string;
@@ -28,10 +34,11 @@ export interface AccountModification {
28
34
  ErrorCode?: string;
29
35
  ErrorMessage?: string;
30
36
  }
31
- export declare enum Application {
32
- Microsoft_Office_2016 = "Microsoft_Office_2016",
33
- Microsoft_Office_2019 = "Microsoft_Office_2019",
34
- }
37
+ export declare const Application: {
38
+ readonly Microsoft_Office_2016: "Microsoft_Office_2016";
39
+ readonly Microsoft_Office_2019: "Microsoft_Office_2019";
40
+ };
41
+ export type Application = (typeof Application)[keyof typeof Application];
35
42
  export interface AssociateConnectionAliasRequest {
36
43
  AliasId: string | undefined;
37
44
  ResourceId: string | undefined;
@@ -91,13 +98,15 @@ export declare class ResourceLimitExceededException extends __BaseException {
91
98
  opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
92
99
  );
93
100
  }
94
- export declare enum AssociationStatus {
95
- ASSOCIATED_WITH_OWNER_ACCOUNT = "ASSOCIATED_WITH_OWNER_ACCOUNT",
96
- ASSOCIATED_WITH_SHARED_ACCOUNT = "ASSOCIATED_WITH_SHARED_ACCOUNT",
97
- NOT_ASSOCIATED = "NOT_ASSOCIATED",
98
- PENDING_ASSOCIATION = "PENDING_ASSOCIATION",
99
- PENDING_DISASSOCIATION = "PENDING_DISASSOCIATION",
100
- }
101
+ export declare const AssociationStatus: {
102
+ readonly ASSOCIATED_WITH_OWNER_ACCOUNT: "ASSOCIATED_WITH_OWNER_ACCOUNT";
103
+ readonly ASSOCIATED_WITH_SHARED_ACCOUNT: "ASSOCIATED_WITH_SHARED_ACCOUNT";
104
+ readonly NOT_ASSOCIATED: "NOT_ASSOCIATED";
105
+ readonly PENDING_ASSOCIATION: "PENDING_ASSOCIATION";
106
+ readonly PENDING_DISASSOCIATION: "PENDING_DISASSOCIATION";
107
+ };
108
+ export type AssociationStatus =
109
+ (typeof AssociationStatus)[keyof typeof AssociationStatus];
101
110
  export interface IpRuleItem {
102
111
  ipRule?: string;
103
112
  ruleDesc?: string;
@@ -107,32 +116,36 @@ export interface AuthorizeIpRulesRequest {
107
116
  UserRules: IpRuleItem[] | undefined;
108
117
  }
109
118
  export interface AuthorizeIpRulesResult {}
110
- export declare enum BundleType {
111
- REGULAR = "REGULAR",
112
- STANDBY = "STANDBY",
113
- }
114
- export declare enum Compute {
115
- GRAPHICS = "GRAPHICS",
116
- GRAPHICSPRO = "GRAPHICSPRO",
117
- GRAPHICSPRO_G4DN = "GRAPHICSPRO_G4DN",
118
- GRAPHICS_G4DN = "GRAPHICS_G4DN",
119
- PERFORMANCE = "PERFORMANCE",
120
- POWER = "POWER",
121
- POWERPRO = "POWERPRO",
122
- STANDARD = "STANDARD",
123
- VALUE = "VALUE",
124
- }
119
+ export declare const BundleType: {
120
+ readonly REGULAR: "REGULAR";
121
+ readonly STANDBY: "STANDBY";
122
+ };
123
+ export type BundleType = (typeof BundleType)[keyof typeof BundleType];
124
+ export declare const Compute: {
125
+ readonly GRAPHICS: "GRAPHICS";
126
+ readonly GRAPHICSPRO: "GRAPHICSPRO";
127
+ readonly GRAPHICSPRO_G4DN: "GRAPHICSPRO_G4DN";
128
+ readonly GRAPHICS_G4DN: "GRAPHICS_G4DN";
129
+ readonly PERFORMANCE: "PERFORMANCE";
130
+ readonly POWER: "POWER";
131
+ readonly POWERPRO: "POWERPRO";
132
+ readonly STANDARD: "STANDARD";
133
+ readonly VALUE: "VALUE";
134
+ };
135
+ export type Compute = (typeof Compute)[keyof typeof Compute];
125
136
  export interface ComputeType {
126
137
  Name?: Compute | string;
127
138
  }
128
139
  export interface RootStorage {
129
140
  Capacity?: string;
130
141
  }
131
- export declare enum WorkspaceBundleState {
132
- AVAILABLE = "AVAILABLE",
133
- ERROR = "ERROR",
134
- PENDING = "PENDING",
135
- }
142
+ export declare const WorkspaceBundleState: {
143
+ readonly AVAILABLE: "AVAILABLE";
144
+ readonly ERROR: "ERROR";
145
+ readonly PENDING: "PENDING";
146
+ };
147
+ export type WorkspaceBundleState =
148
+ (typeof WorkspaceBundleState)[keyof typeof WorkspaceBundleState];
136
149
  export interface UserStorage {
137
150
  Capacity?: string;
138
151
  }
@@ -150,30 +163,36 @@ export interface WorkspaceBundle {
150
163
  State?: WorkspaceBundleState | string;
151
164
  BundleType?: BundleType | string;
152
165
  }
153
- export declare enum CertificateBasedAuthStatusEnum {
154
- DISABLED = "DISABLED",
155
- ENABLED = "ENABLED",
156
- }
166
+ export declare const CertificateBasedAuthStatusEnum: {
167
+ readonly DISABLED: "DISABLED";
168
+ readonly ENABLED: "ENABLED";
169
+ };
170
+ export type CertificateBasedAuthStatusEnum =
171
+ (typeof CertificateBasedAuthStatusEnum)[keyof typeof CertificateBasedAuthStatusEnum];
157
172
  export interface CertificateBasedAuthProperties {
158
173
  Status?: CertificateBasedAuthStatusEnum | string;
159
174
  CertificateAuthorityArn?: string;
160
175
  }
161
- export declare enum ClientDeviceType {
162
- DEVICE_TYPE_ANDROID = "DeviceTypeAndroid",
163
- DEVICE_TYPE_IOS = "DeviceTypeIos",
164
- DEVICE_TYPE_LINUX = "DeviceTypeLinux",
165
- DEVICE_TYPE_OSX = "DeviceTypeOsx",
166
- DEVICE_TYPE_WEB = "DeviceTypeWeb",
167
- DEVICE_TYPE_WINDOWS = "DeviceTypeWindows",
168
- }
169
- export declare enum LogUploadEnum {
170
- DISABLED = "DISABLED",
171
- ENABLED = "ENABLED",
172
- }
173
- export declare enum ReconnectEnum {
174
- DISABLED = "DISABLED",
175
- ENABLED = "ENABLED",
176
- }
176
+ export declare const ClientDeviceType: {
177
+ readonly DEVICE_TYPE_ANDROID: "DeviceTypeAndroid";
178
+ readonly DEVICE_TYPE_IOS: "DeviceTypeIos";
179
+ readonly DEVICE_TYPE_LINUX: "DeviceTypeLinux";
180
+ readonly DEVICE_TYPE_OSX: "DeviceTypeOsx";
181
+ readonly DEVICE_TYPE_WEB: "DeviceTypeWeb";
182
+ readonly DEVICE_TYPE_WINDOWS: "DeviceTypeWindows";
183
+ };
184
+ export type ClientDeviceType =
185
+ (typeof ClientDeviceType)[keyof typeof ClientDeviceType];
186
+ export declare const LogUploadEnum: {
187
+ readonly DISABLED: "DISABLED";
188
+ readonly ENABLED: "ENABLED";
189
+ };
190
+ export type LogUploadEnum = (typeof LogUploadEnum)[keyof typeof LogUploadEnum];
191
+ export declare const ReconnectEnum: {
192
+ readonly DISABLED: "DISABLED";
193
+ readonly ENABLED: "ENABLED";
194
+ };
195
+ export type ReconnectEnum = (typeof ReconnectEnum)[keyof typeof ReconnectEnum];
177
196
  export interface ClientProperties {
178
197
  ReconnectEnabled?: ReconnectEnum | string;
179
198
  LogUploadEnabled?: LogUploadEnum | string;
@@ -194,11 +213,13 @@ export interface ConnectionAliasAssociation {
194
213
  ResourceId?: string;
195
214
  ConnectionIdentifier?: string;
196
215
  }
197
- export declare enum ConnectionAliasState {
198
- CREATED = "CREATED",
199
- CREATING = "CREATING",
200
- DELETING = "DELETING",
201
- }
216
+ export declare const ConnectionAliasState: {
217
+ readonly CREATED: "CREATED";
218
+ readonly CREATING: "CREATING";
219
+ readonly DELETING: "DELETING";
220
+ };
221
+ export type ConnectionAliasState =
222
+ (typeof ConnectionAliasState)[keyof typeof ConnectionAliasState];
202
223
  export interface ConnectionAlias {
203
224
  ConnectionString?: string;
204
225
  AliasId?: string;
@@ -210,11 +231,13 @@ export interface ConnectionAliasPermission {
210
231
  SharedAccountId: string | undefined;
211
232
  AllowAssociation: boolean | undefined;
212
233
  }
213
- export declare enum ConnectionState {
214
- CONNECTED = "CONNECTED",
215
- DISCONNECTED = "DISCONNECTED",
216
- UNKNOWN = "UNKNOWN",
217
- }
234
+ export declare const ConnectionState: {
235
+ readonly CONNECTED: "CONNECTED";
236
+ readonly DISCONNECTED: "DISCONNECTED";
237
+ readonly UNKNOWN: "UNKNOWN";
238
+ };
239
+ export type ConnectionState =
240
+ (typeof ConnectionState)[keyof typeof ConnectionState];
218
241
  export interface Tag {
219
242
  Key: string | undefined;
220
243
  Value?: string;
@@ -293,25 +316,27 @@ export interface FailedCreateStandbyWorkspacesRequest {
293
316
  ErrorCode?: string;
294
317
  ErrorMessage?: string;
295
318
  }
296
- export declare enum WorkspaceState {
297
- ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
298
- AVAILABLE = "AVAILABLE",
299
- ERROR = "ERROR",
300
- IMPAIRED = "IMPAIRED",
301
- MAINTENANCE = "MAINTENANCE",
302
- PENDING = "PENDING",
303
- REBOOTING = "REBOOTING",
304
- REBUILDING = "REBUILDING",
305
- RESTORING = "RESTORING",
306
- STARTING = "STARTING",
307
- STOPPED = "STOPPED",
308
- STOPPING = "STOPPING",
309
- SUSPENDED = "SUSPENDED",
310
- TERMINATED = "TERMINATED",
311
- TERMINATING = "TERMINATING",
312
- UNHEALTHY = "UNHEALTHY",
313
- UPDATING = "UPDATING",
314
- }
319
+ export declare const WorkspaceState: {
320
+ readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
321
+ readonly AVAILABLE: "AVAILABLE";
322
+ readonly ERROR: "ERROR";
323
+ readonly IMPAIRED: "IMPAIRED";
324
+ readonly MAINTENANCE: "MAINTENANCE";
325
+ readonly PENDING: "PENDING";
326
+ readonly REBOOTING: "REBOOTING";
327
+ readonly REBUILDING: "REBUILDING";
328
+ readonly RESTORING: "RESTORING";
329
+ readonly STARTING: "STARTING";
330
+ readonly STOPPED: "STOPPED";
331
+ readonly STOPPING: "STOPPING";
332
+ readonly SUSPENDED: "SUSPENDED";
333
+ readonly TERMINATED: "TERMINATED";
334
+ readonly TERMINATING: "TERMINATING";
335
+ readonly UNHEALTHY: "UNHEALTHY";
336
+ readonly UPDATING: "UPDATING";
337
+ };
338
+ export type WorkspaceState =
339
+ (typeof WorkspaceState)[keyof typeof WorkspaceState];
315
340
  export interface PendingCreateStandbyWorkspacesRequest {
316
341
  UserName?: string;
317
342
  DirectoryId?: string;
@@ -354,22 +379,28 @@ export interface CreateWorkspaceImageRequest {
354
379
  WorkspaceId: string | undefined;
355
380
  Tags?: Tag[];
356
381
  }
357
- export declare enum OperatingSystemType {
358
- LINUX = "LINUX",
359
- WINDOWS = "WINDOWS",
360
- }
382
+ export declare const OperatingSystemType: {
383
+ readonly LINUX: "LINUX";
384
+ readonly WINDOWS: "WINDOWS";
385
+ };
386
+ export type OperatingSystemType =
387
+ (typeof OperatingSystemType)[keyof typeof OperatingSystemType];
361
388
  export interface OperatingSystem {
362
389
  Type?: OperatingSystemType | string;
363
390
  }
364
- export declare enum WorkspaceImageRequiredTenancy {
365
- DEDICATED = "DEDICATED",
366
- DEFAULT = "DEFAULT",
367
- }
368
- export declare enum WorkspaceImageState {
369
- AVAILABLE = "AVAILABLE",
370
- ERROR = "ERROR",
371
- PENDING = "PENDING",
372
- }
391
+ export declare const WorkspaceImageRequiredTenancy: {
392
+ readonly DEDICATED: "DEDICATED";
393
+ readonly DEFAULT: "DEFAULT";
394
+ };
395
+ export type WorkspaceImageRequiredTenancy =
396
+ (typeof WorkspaceImageRequiredTenancy)[keyof typeof WorkspaceImageRequiredTenancy];
397
+ export declare const WorkspaceImageState: {
398
+ readonly AVAILABLE: "AVAILABLE";
399
+ readonly ERROR: "ERROR";
400
+ readonly PENDING: "PENDING";
401
+ };
402
+ export type WorkspaceImageState =
403
+ (typeof WorkspaceImageState)[keyof typeof WorkspaceImageState];
373
404
  export interface CreateWorkspaceImageResult {
374
405
  ImageId?: string;
375
406
  Name?: string;
@@ -380,15 +411,17 @@ export interface CreateWorkspaceImageResult {
380
411
  Created?: Date;
381
412
  OwnerAccountId?: string;
382
413
  }
383
- export declare enum Protocol {
384
- PCOIP = "PCOIP",
385
- WSP = "WSP",
386
- }
387
- export declare enum RunningMode {
388
- ALWAYS_ON = "ALWAYS_ON",
389
- AUTO_STOP = "AUTO_STOP",
390
- MANUAL = "MANUAL",
391
- }
414
+ export declare const Protocol: {
415
+ readonly PCOIP: "PCOIP";
416
+ readonly WSP: "WSP";
417
+ };
418
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
419
+ export declare const RunningMode: {
420
+ readonly ALWAYS_ON: "ALWAYS_ON";
421
+ readonly AUTO_STOP: "AUTO_STOP";
422
+ readonly MANUAL: "MANUAL";
423
+ };
424
+ export type RunningMode = (typeof RunningMode)[keyof typeof RunningMode];
392
425
  export interface WorkspaceProperties {
393
426
  RunningMode?: RunningMode | string;
394
427
  RunningModeAutoStopTimeoutInMinutes?: number;
@@ -415,23 +448,29 @@ export interface FailedCreateWorkspaceRequest {
415
448
  ErrorCode?: string;
416
449
  ErrorMessage?: string;
417
450
  }
418
- export declare enum ModificationResourceEnum {
419
- COMPUTE_TYPE = "COMPUTE_TYPE",
420
- ROOT_VOLUME = "ROOT_VOLUME",
421
- USER_VOLUME = "USER_VOLUME",
422
- }
423
- export declare enum ModificationStateEnum {
424
- UPDATE_INITIATED = "UPDATE_INITIATED",
425
- UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS",
426
- }
451
+ export declare const ModificationResourceEnum: {
452
+ readonly COMPUTE_TYPE: "COMPUTE_TYPE";
453
+ readonly ROOT_VOLUME: "ROOT_VOLUME";
454
+ readonly USER_VOLUME: "USER_VOLUME";
455
+ };
456
+ export type ModificationResourceEnum =
457
+ (typeof ModificationResourceEnum)[keyof typeof ModificationResourceEnum];
458
+ export declare const ModificationStateEnum: {
459
+ readonly UPDATE_INITIATED: "UPDATE_INITIATED";
460
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
461
+ };
462
+ export type ModificationStateEnum =
463
+ (typeof ModificationStateEnum)[keyof typeof ModificationStateEnum];
427
464
  export interface ModificationState {
428
465
  Resource?: ModificationResourceEnum | string;
429
466
  State?: ModificationStateEnum | string;
430
467
  }
431
- export declare enum StandbyWorkspaceRelationshipType {
432
- PRIMARY = "PRIMARY",
433
- STANDBY = "STANDBY",
434
- }
468
+ export declare const StandbyWorkspaceRelationshipType: {
469
+ readonly PRIMARY: "PRIMARY";
470
+ readonly STANDBY: "STANDBY";
471
+ };
472
+ export type StandbyWorkspaceRelationshipType =
473
+ (typeof StandbyWorkspaceRelationshipType)[keyof typeof StandbyWorkspaceRelationshipType];
435
474
  export interface RelatedWorkspaceProperties {
436
475
  WorkspaceId?: string;
437
476
  Region?: string;
@@ -460,9 +499,11 @@ export interface CreateWorkspacesResult {
460
499
  FailedRequests?: FailedCreateWorkspaceRequest[];
461
500
  PendingRequests?: Workspace[];
462
501
  }
463
- export declare enum DedicatedTenancySupportEnum {
464
- ENABLED = "ENABLED",
465
- }
502
+ export declare const DedicatedTenancySupportEnum: {
503
+ readonly ENABLED: "ENABLED";
504
+ };
505
+ export type DedicatedTenancySupportEnum =
506
+ (typeof DedicatedTenancySupportEnum)[keyof typeof DedicatedTenancySupportEnum];
466
507
  export interface DefaultClientBrandingAttributes {
467
508
  LogoUrl?: string;
468
509
  SupportEmail?: string;
@@ -485,13 +526,17 @@ export interface DefaultWorkspaceCreationProperties {
485
526
  UserEnabledAsLocalAdministrator?: boolean;
486
527
  EnableMaintenanceMode?: boolean;
487
528
  }
488
- export declare enum DeletableCertificateBasedAuthProperty {
489
- CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN = "CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN",
490
- }
491
- export declare enum DeletableSamlProperty {
492
- SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME = "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME",
493
- SAML_PROPERTIES_USER_ACCESS_URL = "SAML_PROPERTIES_USER_ACCESS_URL",
494
- }
529
+ export declare const DeletableCertificateBasedAuthProperty: {
530
+ readonly CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN: "CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN";
531
+ };
532
+ export type DeletableCertificateBasedAuthProperty =
533
+ (typeof DeletableCertificateBasedAuthProperty)[keyof typeof DeletableCertificateBasedAuthProperty];
534
+ export declare const DeletableSamlProperty: {
535
+ readonly SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME: "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME";
536
+ readonly SAML_PROPERTIES_USER_ACCESS_URL: "SAML_PROPERTIES_USER_ACCESS_URL";
537
+ };
538
+ export type DeletableSamlProperty =
539
+ (typeof DeletableSamlProperty)[keyof typeof DeletableSamlProperty];
495
540
  export interface DeleteClientBrandingRequest {
496
541
  ResourceId: string | undefined;
497
542
  Platforms: (ClientDeviceType | string)[] | undefined;
@@ -629,15 +674,19 @@ export interface DescribeWorkspaceDirectoriesRequest {
629
674
  Limit?: number;
630
675
  NextToken?: string;
631
676
  }
632
- export declare enum WorkspaceDirectoryType {
633
- AD_CONNECTOR = "AD_CONNECTOR",
634
- SIMPLE_AD = "SIMPLE_AD",
635
- }
636
- export declare enum SamlStatusEnum {
637
- DISABLED = "DISABLED",
638
- ENABLED = "ENABLED",
639
- ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK = "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK",
640
- }
677
+ export declare const WorkspaceDirectoryType: {
678
+ readonly AD_CONNECTOR: "AD_CONNECTOR";
679
+ readonly SIMPLE_AD: "SIMPLE_AD";
680
+ };
681
+ export type WorkspaceDirectoryType =
682
+ (typeof WorkspaceDirectoryType)[keyof typeof WorkspaceDirectoryType];
683
+ export declare const SamlStatusEnum: {
684
+ readonly DISABLED: "DISABLED";
685
+ readonly ENABLED: "ENABLED";
686
+ readonly ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK: "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK";
687
+ };
688
+ export type SamlStatusEnum =
689
+ (typeof SamlStatusEnum)[keyof typeof SamlStatusEnum];
641
690
  export interface SamlProperties {
642
691
  Status?: SamlStatusEnum | string;
643
692
  UserAccessUrl?: string;
@@ -650,17 +699,20 @@ export interface SelfservicePermissions {
650
699
  SwitchRunningMode?: ReconnectEnum | string;
651
700
  RebuildWorkspace?: ReconnectEnum | string;
652
701
  }
653
- export declare enum WorkspaceDirectoryState {
654
- DEREGISTERED = "DEREGISTERED",
655
- DEREGISTERING = "DEREGISTERING",
656
- ERROR = "ERROR",
657
- REGISTERED = "REGISTERED",
658
- REGISTERING = "REGISTERING",
659
- }
660
- export declare enum Tenancy {
661
- DEDICATED = "DEDICATED",
662
- SHARED = "SHARED",
663
- }
702
+ export declare const WorkspaceDirectoryState: {
703
+ readonly DEREGISTERED: "DEREGISTERED";
704
+ readonly DEREGISTERING: "DEREGISTERING";
705
+ readonly ERROR: "ERROR";
706
+ readonly REGISTERED: "REGISTERED";
707
+ readonly REGISTERING: "REGISTERING";
708
+ };
709
+ export type WorkspaceDirectoryState =
710
+ (typeof WorkspaceDirectoryState)[keyof typeof WorkspaceDirectoryState];
711
+ export declare const Tenancy: {
712
+ readonly DEDICATED: "DEDICATED";
713
+ readonly SHARED: "SHARED";
714
+ };
715
+ export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
664
716
  export interface WorkspaceAccessProperties {
665
717
  DeviceTypeWindows?: AccessPropertyValue | string;
666
718
  DeviceTypeOsx?: AccessPropertyValue | string;
@@ -708,10 +760,11 @@ export interface DescribeWorkspaceImagePermissionsResult {
708
760
  ImagePermissions?: ImagePermission[];
709
761
  NextToken?: string;
710
762
  }
711
- export declare enum ImageType {
712
- OWNED = "OWNED",
713
- SHARED = "SHARED",
714
- }
763
+ export declare const ImageType: {
764
+ readonly OWNED: "OWNED";
765
+ readonly SHARED: "SHARED";
766
+ };
767
+ export type ImageType = (typeof ImageType)[keyof typeof ImageType];
715
768
  export interface DescribeWorkspaceImagesRequest {
716
769
  ImageIds?: string[];
717
770
  ImageType?: ImageType | string;
@@ -815,15 +868,17 @@ export interface ImportClientBrandingResult {
815
868
  DeviceTypeLinux?: DefaultClientBrandingAttributes;
816
869
  DeviceTypeWeb?: DefaultClientBrandingAttributes;
817
870
  }
818
- export declare enum WorkspaceImageIngestionProcess {
819
- BYOL_GRAPHICS = "BYOL_GRAPHICS",
820
- BYOL_GRAPHICSPRO = "BYOL_GRAPHICSPRO",
821
- BYOL_GRAPHICS_G4DN = "BYOL_GRAPHICS_G4DN",
822
- BYOL_GRAPHICS_G4DN_BYOP = "BYOL_GRAPHICS_G4DN_BYOP",
823
- BYOL_REGULAR = "BYOL_REGULAR",
824
- BYOL_REGULAR_BYOP = "BYOL_REGULAR_BYOP",
825
- BYOL_REGULAR_WSP = "BYOL_REGULAR_WSP",
826
- }
871
+ export declare const WorkspaceImageIngestionProcess: {
872
+ readonly BYOL_GRAPHICS: "BYOL_GRAPHICS";
873
+ readonly BYOL_GRAPHICSPRO: "BYOL_GRAPHICSPRO";
874
+ readonly BYOL_GRAPHICS_G4DN: "BYOL_GRAPHICS_G4DN";
875
+ readonly BYOL_GRAPHICS_G4DN_BYOP: "BYOL_GRAPHICS_G4DN_BYOP";
876
+ readonly BYOL_REGULAR: "BYOL_REGULAR";
877
+ readonly BYOL_REGULAR_BYOP: "BYOL_REGULAR_BYOP";
878
+ readonly BYOL_REGULAR_WSP: "BYOL_REGULAR_WSP";
879
+ };
880
+ export type WorkspaceImageIngestionProcess =
881
+ (typeof WorkspaceImageIngestionProcess)[keyof typeof WorkspaceImageIngestionProcess];
827
882
  export interface ImportWorkspaceImageRequest {
828
883
  Ec2ImageId: string | undefined;
829
884
  IngestionProcess: WorkspaceImageIngestionProcess | string | undefined;
@@ -919,10 +974,12 @@ export declare class UnsupportedWorkspaceConfigurationException extends __BaseEx
919
974
  >
920
975
  );
921
976
  }
922
- export declare enum TargetWorkspaceState {
923
- ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
924
- AVAILABLE = "AVAILABLE",
925
- }
977
+ export declare const TargetWorkspaceState: {
978
+ readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
979
+ readonly AVAILABLE: "AVAILABLE";
980
+ };
981
+ export type TargetWorkspaceState =
982
+ (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
926
983
  export interface ModifyWorkspaceStateRequest {
927
984
  WorkspaceId: string | undefined;
928
985
  WorkspaceState: TargetWorkspaceState | string | undefined;
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.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",