@aws-sdk/client-workspaces 3.211.0 → 3.213.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.
@@ -195,6 +195,10 @@ export interface AuthorizeIpRulesRequest {
195
195
  }
196
196
  export interface AuthorizeIpRulesResult {
197
197
  }
198
+ export declare enum BundleType {
199
+ REGULAR = "REGULAR",
200
+ STANDBY = "STANDBY"
201
+ }
198
202
  export declare enum Compute {
199
203
  GRAPHICS = "GRAPHICS",
200
204
  GRAPHICSPRO = "GRAPHICSPRO",
@@ -224,6 +228,11 @@ export interface RootStorage {
224
228
  */
225
229
  Capacity?: string;
226
230
  }
231
+ export declare enum WorkspaceBundleState {
232
+ AVAILABLE = "AVAILABLE",
233
+ ERROR = "ERROR",
234
+ PENDING = "PENDING"
235
+ }
227
236
  /**
228
237
  * <p>Describes the user volume for a WorkSpace bundle.</p>
229
238
  */
@@ -279,6 +288,14 @@ export interface WorkspaceBundle {
279
288
  * <p>The time when the bundle was created.</p>
280
289
  */
281
290
  CreationTime?: Date;
291
+ /**
292
+ * <p>The state of the WorkSpace bundle.</p>
293
+ */
294
+ State?: WorkspaceBundleState | string;
295
+ /**
296
+ * <p>The type of WorkSpace bundle.</p>
297
+ */
298
+ BundleType?: BundleType | string;
282
299
  }
283
300
  export declare enum CertificateBasedAuthStatusEnum {
284
301
  DISABLED = "DISABLED",
@@ -591,6 +608,109 @@ export interface CreateIpGroupResult {
591
608
  */
592
609
  GroupId?: string;
593
610
  }
611
+ /**
612
+ * <p>Describes a Standby WorkSpace.</p>
613
+ */
614
+ export interface StandbyWorkspace {
615
+ /**
616
+ * <p>The identifier of the Standby WorkSpace.</p>
617
+ */
618
+ PrimaryWorkspaceId: string | undefined;
619
+ /**
620
+ * <p>The volume encryption key of the Standby WorkSpace.</p>
621
+ */
622
+ VolumeEncryptionKey?: string;
623
+ /**
624
+ * <p>The identifier of the directory for the Standby WorkSpace.</p>
625
+ */
626
+ DirectoryId: string | undefined;
627
+ /**
628
+ * <p>The tags associated with the Standby WorkSpace.</p>
629
+ */
630
+ Tags?: Tag[];
631
+ }
632
+ export interface CreateStandbyWorkspacesRequest {
633
+ /**
634
+ * <p>The Region of the primary WorkSpace.</p>
635
+ */
636
+ PrimaryRegion: string | undefined;
637
+ /**
638
+ * <p>Information about the Standby WorkSpace to be created.</p>
639
+ */
640
+ StandbyWorkspaces: StandbyWorkspace[] | undefined;
641
+ }
642
+ /**
643
+ * <p>Describes the Standby WorkSpace that could not be created.</p>
644
+ */
645
+ export interface FailedCreateStandbyWorkspacesRequest {
646
+ /**
647
+ * <p>Information about the Standby WorkSpace that could not be created.</p>
648
+ */
649
+ StandbyWorkspaceRequest?: StandbyWorkspace;
650
+ /**
651
+ * <p>The error code that is returned if the Standby WorkSpace could not be created.</p>
652
+ */
653
+ ErrorCode?: string;
654
+ /**
655
+ * <p>The text of the error message that is returned if the Standby WorkSpace could not be created.</p>
656
+ */
657
+ ErrorMessage?: string;
658
+ }
659
+ export declare enum WorkspaceState {
660
+ ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
661
+ AVAILABLE = "AVAILABLE",
662
+ ERROR = "ERROR",
663
+ IMPAIRED = "IMPAIRED",
664
+ MAINTENANCE = "MAINTENANCE",
665
+ PENDING = "PENDING",
666
+ REBOOTING = "REBOOTING",
667
+ REBUILDING = "REBUILDING",
668
+ RESTORING = "RESTORING",
669
+ STARTING = "STARTING",
670
+ STOPPED = "STOPPED",
671
+ STOPPING = "STOPPING",
672
+ SUSPENDED = "SUSPENDED",
673
+ TERMINATED = "TERMINATED",
674
+ TERMINATING = "TERMINATING",
675
+ UNHEALTHY = "UNHEALTHY",
676
+ UPDATING = "UPDATING"
677
+ }
678
+ /**
679
+ * <p>Information about the Standby WorkSpace.</p>
680
+ */
681
+ export interface PendingCreateStandbyWorkspacesRequest {
682
+ /**
683
+ * <p>Describes the Standby WorkSpace that was created.</p>
684
+ * <p>Because this operation is asynchronous, the identifier returned is not immediately
685
+ * available for use with other operations. For example, if you call
686
+ * <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html">
687
+ * DescribeWorkspaces</a>
688
+ * before the WorkSpace is created, the information returned can be incomplete. </p>
689
+ */
690
+ UserName?: string;
691
+ /**
692
+ * <p>The identifier of the directory for the Standby WorkSpace.</p>
693
+ */
694
+ DirectoryId?: string;
695
+ /**
696
+ * <p>The operational state of the Standby WorkSpace.</p>
697
+ */
698
+ State?: WorkspaceState | string;
699
+ /**
700
+ * <p>The identifier of the Standby WorkSpace.</p>
701
+ */
702
+ WorkspaceId?: string;
703
+ }
704
+ export interface CreateStandbyWorkspacesResult {
705
+ /**
706
+ * <p>Information about the Standby WorkSpace that could not be created. </p>
707
+ */
708
+ FailedStandbyRequests?: FailedCreateStandbyWorkspacesRequest[];
709
+ /**
710
+ * <p>Information about the Standby WorkSpace that was created.</p>
711
+ */
712
+ PendingStandbyRequests?: PendingCreateStandbyWorkspacesRequest[];
713
+ }
594
714
  export interface CreateTagsRequest {
595
715
  /**
596
716
  * <p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces,
@@ -905,24 +1025,31 @@ export interface ModificationState {
905
1025
  */
906
1026
  State?: ModificationStateEnum | string;
907
1027
  }
908
- export declare enum WorkspaceState {
909
- ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
910
- AVAILABLE = "AVAILABLE",
911
- ERROR = "ERROR",
912
- IMPAIRED = "IMPAIRED",
913
- MAINTENANCE = "MAINTENANCE",
914
- PENDING = "PENDING",
915
- REBOOTING = "REBOOTING",
916
- REBUILDING = "REBUILDING",
917
- RESTORING = "RESTORING",
918
- STARTING = "STARTING",
919
- STOPPED = "STOPPED",
920
- STOPPING = "STOPPING",
921
- SUSPENDED = "SUSPENDED",
922
- TERMINATED = "TERMINATED",
923
- TERMINATING = "TERMINATING",
924
- UNHEALTHY = "UNHEALTHY",
925
- UPDATING = "UPDATING"
1028
+ export declare enum StandbyWorkspaceRelationshipType {
1029
+ PRIMARY = "PRIMARY",
1030
+ STANDBY = "STANDBY"
1031
+ }
1032
+ /**
1033
+ * <p>Describes the related WorkSpace. The related WorkSpace could be a Standby WorkSpace or
1034
+ * Primary WorkSpace related to the specified WorkSpace.</p>
1035
+ */
1036
+ export interface RelatedWorkspaceProperties {
1037
+ /**
1038
+ * <p>The identifier of the related WorkSpace.</p>
1039
+ */
1040
+ WorkspaceId?: string;
1041
+ /**
1042
+ * <p>The Region of the related WorkSpace.</p>
1043
+ */
1044
+ Region?: string;
1045
+ /**
1046
+ * <p>Indicates the state of the WorkSpace.</p>
1047
+ */
1048
+ State?: WorkspaceState | string;
1049
+ /**
1050
+ * <p>Indicates the type of WorkSpace.</p>
1051
+ */
1052
+ Type?: StandbyWorkspaceRelationshipType | string;
926
1053
  }
927
1054
  /**
928
1055
  * <p>Describes a WorkSpace.</p>
@@ -1000,6 +1127,10 @@ export interface Workspace {
1000
1127
  * <p>The modification states of the WorkSpace.</p>
1001
1128
  */
1002
1129
  ModificationStates?: ModificationState[];
1130
+ /**
1131
+ * <p>The Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.</p>
1132
+ */
1133
+ RelatedWorkspaces?: RelatedWorkspaceProperties[];
1003
1134
  }
1004
1135
  export interface CreateWorkspacesResult {
1005
1136
  /**
@@ -3001,6 +3132,26 @@ export declare const CreateIpGroupRequestFilterSensitiveLog: (obj: CreateIpGroup
3001
3132
  * @internal
3002
3133
  */
3003
3134
  export declare const CreateIpGroupResultFilterSensitiveLog: (obj: CreateIpGroupResult) => any;
3135
+ /**
3136
+ * @internal
3137
+ */
3138
+ export declare const StandbyWorkspaceFilterSensitiveLog: (obj: StandbyWorkspace) => any;
3139
+ /**
3140
+ * @internal
3141
+ */
3142
+ export declare const CreateStandbyWorkspacesRequestFilterSensitiveLog: (obj: CreateStandbyWorkspacesRequest) => any;
3143
+ /**
3144
+ * @internal
3145
+ */
3146
+ export declare const FailedCreateStandbyWorkspacesRequestFilterSensitiveLog: (obj: FailedCreateStandbyWorkspacesRequest) => any;
3147
+ /**
3148
+ * @internal
3149
+ */
3150
+ export declare const PendingCreateStandbyWorkspacesRequestFilterSensitiveLog: (obj: PendingCreateStandbyWorkspacesRequest) => any;
3151
+ /**
3152
+ * @internal
3153
+ */
3154
+ export declare const CreateStandbyWorkspacesResultFilterSensitiveLog: (obj: CreateStandbyWorkspacesResult) => any;
3004
3155
  /**
3005
3156
  * @internal
3006
3157
  */
@@ -3057,6 +3208,10 @@ export declare const FailedCreateWorkspaceRequestFilterSensitiveLog: (obj: Faile
3057
3208
  * @internal
3058
3209
  */
3059
3210
  export declare const ModificationStateFilterSensitiveLog: (obj: ModificationState) => any;
3211
+ /**
3212
+ * @internal
3213
+ */
3214
+ export declare const RelatedWorkspacePropertiesFilterSensitiveLog: (obj: RelatedWorkspaceProperties) => any;
3060
3215
  /**
3061
3216
  * @internal
3062
3217
  */
@@ -7,6 +7,7 @@ import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from
7
7
  import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "../commands/CreateConnectClientAddInCommand";
8
8
  import { CreateConnectionAliasCommandInput, CreateConnectionAliasCommandOutput } from "../commands/CreateConnectionAliasCommand";
9
9
  import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "../commands/CreateIpGroupCommand";
10
+ import { CreateStandbyWorkspacesCommandInput, CreateStandbyWorkspacesCommandOutput } from "../commands/CreateStandbyWorkspacesCommand";
10
11
  import { CreateTagsCommandInput, CreateTagsCommandOutput } from "../commands/CreateTagsCommand";
11
12
  import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCommandOutput } from "../commands/CreateUpdatedWorkspaceImageCommand";
12
13
  import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "../commands/CreateWorkspaceBundleCommand";
@@ -71,6 +72,7 @@ export declare const serializeAws_json1_1CopyWorkspaceImageCommand: (input: Copy
71
72
  export declare const serializeAws_json1_1CreateConnectClientAddInCommand: (input: CreateConnectClientAddInCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
73
  export declare const serializeAws_json1_1CreateConnectionAliasCommand: (input: CreateConnectionAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
74
  export declare const serializeAws_json1_1CreateIpGroupCommand: (input: CreateIpGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
+ export declare const serializeAws_json1_1CreateStandbyWorkspacesCommand: (input: CreateStandbyWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
76
  export declare const serializeAws_json1_1CreateTagsCommand: (input: CreateTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
77
  export declare const serializeAws_json1_1CreateUpdatedWorkspaceImageCommand: (input: CreateUpdatedWorkspaceImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
78
  export declare const serializeAws_json1_1CreateWorkspaceBundleCommand: (input: CreateWorkspaceBundleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -135,6 +137,7 @@ export declare const deserializeAws_json1_1CopyWorkspaceImageCommand: (output: _
135
137
  export declare const deserializeAws_json1_1CreateConnectClientAddInCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateConnectClientAddInCommandOutput>;
136
138
  export declare const deserializeAws_json1_1CreateConnectionAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateConnectionAliasCommandOutput>;
137
139
  export declare const deserializeAws_json1_1CreateIpGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateIpGroupCommandOutput>;
140
+ export declare const deserializeAws_json1_1CreateStandbyWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateStandbyWorkspacesCommandOutput>;
138
141
  export declare const deserializeAws_json1_1CreateTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTagsCommandOutput>;
139
142
  export declare const deserializeAws_json1_1CreateUpdatedWorkspaceImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateUpdatedWorkspaceImageCommandOutput>;
140
143
  export declare const deserializeAws_json1_1CreateWorkspaceBundleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceBundleCommandOutput>;
@@ -27,6 +27,10 @@ import {
27
27
  CreateIpGroupCommandInput,
28
28
  CreateIpGroupCommandOutput,
29
29
  } from "./commands/CreateIpGroupCommand";
30
+ import {
31
+ CreateStandbyWorkspacesCommandInput,
32
+ CreateStandbyWorkspacesCommandOutput,
33
+ } from "./commands/CreateStandbyWorkspacesCommand";
30
34
  import {
31
35
  CreateTagsCommandInput,
32
36
  CreateTagsCommandOutput,
@@ -348,6 +352,19 @@ export declare class WorkSpaces extends WorkSpacesClient {
348
352
  options: __HttpHandlerOptions,
349
353
  cb: (err: any, data?: CreateIpGroupCommandOutput) => void
350
354
  ): void;
355
+ createStandbyWorkspaces(
356
+ args: CreateStandbyWorkspacesCommandInput,
357
+ options?: __HttpHandlerOptions
358
+ ): Promise<CreateStandbyWorkspacesCommandOutput>;
359
+ createStandbyWorkspaces(
360
+ args: CreateStandbyWorkspacesCommandInput,
361
+ cb: (err: any, data?: CreateStandbyWorkspacesCommandOutput) => void
362
+ ): void;
363
+ createStandbyWorkspaces(
364
+ args: CreateStandbyWorkspacesCommandInput,
365
+ options: __HttpHandlerOptions,
366
+ cb: (err: any, data?: CreateStandbyWorkspacesCommandOutput) => void
367
+ ): void;
351
368
  createTags(
352
369
  args: CreateTagsCommandInput,
353
370
  options?: __HttpHandlerOptions
@@ -71,6 +71,10 @@ import {
71
71
  CreateIpGroupCommandInput,
72
72
  CreateIpGroupCommandOutput,
73
73
  } from "./commands/CreateIpGroupCommand";
74
+ import {
75
+ CreateStandbyWorkspacesCommandInput,
76
+ CreateStandbyWorkspacesCommandOutput,
77
+ } from "./commands/CreateStandbyWorkspacesCommand";
74
78
  import {
75
79
  CreateTagsCommandInput,
76
80
  CreateTagsCommandOutput,
@@ -312,6 +316,7 @@ export declare type ServiceInputTypes =
312
316
  | CreateConnectClientAddInCommandInput
313
317
  | CreateConnectionAliasCommandInput
314
318
  | CreateIpGroupCommandInput
319
+ | CreateStandbyWorkspacesCommandInput
315
320
  | CreateTagsCommandInput
316
321
  | CreateUpdatedWorkspaceImageCommandInput
317
322
  | CreateWorkspaceBundleCommandInput
@@ -377,6 +382,7 @@ export declare type ServiceOutputTypes =
377
382
  | CreateConnectClientAddInCommandOutput
378
383
  | CreateConnectionAliasCommandOutput
379
384
  | CreateIpGroupCommandOutput
385
+ | CreateStandbyWorkspacesCommandOutput
380
386
  | CreateTagsCommandOutput
381
387
  | CreateUpdatedWorkspaceImageCommandOutput
382
388
  | CreateWorkspaceBundleCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CreateStandbyWorkspacesRequest,
11
+ CreateStandbyWorkspacesResult,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ WorkSpacesClientResolvedConfig,
17
+ } from "../WorkSpacesClient";
18
+ export interface CreateStandbyWorkspacesCommandInput
19
+ extends CreateStandbyWorkspacesRequest {}
20
+ export interface CreateStandbyWorkspacesCommandOutput
21
+ extends CreateStandbyWorkspacesResult,
22
+ __MetadataBearer {}
23
+ export declare class CreateStandbyWorkspacesCommand extends $Command<
24
+ CreateStandbyWorkspacesCommandInput,
25
+ CreateStandbyWorkspacesCommandOutput,
26
+ WorkSpacesClientResolvedConfig
27
+ > {
28
+ readonly input: CreateStandbyWorkspacesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateStandbyWorkspacesCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: WorkSpacesClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CreateStandbyWorkspacesCommandInput,
37
+ CreateStandbyWorkspacesCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -5,6 +5,7 @@ export * from "./CopyWorkspaceImageCommand";
5
5
  export * from "./CreateConnectClientAddInCommand";
6
6
  export * from "./CreateConnectionAliasCommand";
7
7
  export * from "./CreateIpGroupCommand";
8
+ export * from "./CreateStandbyWorkspacesCommand";
8
9
  export * from "./CreateTagsCommand";
9
10
  export * from "./CreateUpdatedWorkspaceImageCommand";
10
11
  export * from "./CreateWorkspaceBundleCommand";
@@ -107,6 +107,10 @@ export interface AuthorizeIpRulesRequest {
107
107
  UserRules: IpRuleItem[] | undefined;
108
108
  }
109
109
  export interface AuthorizeIpRulesResult {}
110
+ export declare enum BundleType {
111
+ REGULAR = "REGULAR",
112
+ STANDBY = "STANDBY",
113
+ }
110
114
  export declare enum Compute {
111
115
  GRAPHICS = "GRAPHICS",
112
116
  GRAPHICSPRO = "GRAPHICSPRO",
@@ -124,6 +128,11 @@ export interface ComputeType {
124
128
  export interface RootStorage {
125
129
  Capacity?: string;
126
130
  }
131
+ export declare enum WorkspaceBundleState {
132
+ AVAILABLE = "AVAILABLE",
133
+ ERROR = "ERROR",
134
+ PENDING = "PENDING",
135
+ }
127
136
  export interface UserStorage {
128
137
  Capacity?: string;
129
138
  }
@@ -138,6 +147,8 @@ export interface WorkspaceBundle {
138
147
  ComputeType?: ComputeType;
139
148
  LastUpdatedTime?: Date;
140
149
  CreationTime?: Date;
150
+ State?: WorkspaceBundleState | string;
151
+ BundleType?: BundleType | string;
141
152
  }
142
153
  export declare enum CertificateBasedAuthStatusEnum {
143
154
  DISABLED = "DISABLED",
@@ -267,6 +278,50 @@ export interface CreateIpGroupRequest {
267
278
  export interface CreateIpGroupResult {
268
279
  GroupId?: string;
269
280
  }
281
+ export interface StandbyWorkspace {
282
+ PrimaryWorkspaceId: string | undefined;
283
+ VolumeEncryptionKey?: string;
284
+ DirectoryId: string | undefined;
285
+ Tags?: Tag[];
286
+ }
287
+ export interface CreateStandbyWorkspacesRequest {
288
+ PrimaryRegion: string | undefined;
289
+ StandbyWorkspaces: StandbyWorkspace[] | undefined;
290
+ }
291
+ export interface FailedCreateStandbyWorkspacesRequest {
292
+ StandbyWorkspaceRequest?: StandbyWorkspace;
293
+ ErrorCode?: string;
294
+ ErrorMessage?: string;
295
+ }
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
+ }
315
+ export interface PendingCreateStandbyWorkspacesRequest {
316
+ UserName?: string;
317
+ DirectoryId?: string;
318
+ State?: WorkspaceState | string;
319
+ WorkspaceId?: string;
320
+ }
321
+ export interface CreateStandbyWorkspacesResult {
322
+ FailedStandbyRequests?: FailedCreateStandbyWorkspacesRequest[];
323
+ PendingStandbyRequests?: PendingCreateStandbyWorkspacesRequest[];
324
+ }
270
325
  export interface CreateTagsRequest {
271
326
  ResourceId: string | undefined;
272
327
  Tags: Tag[] | undefined;
@@ -373,24 +428,15 @@ export interface ModificationState {
373
428
  Resource?: ModificationResourceEnum | string;
374
429
  State?: ModificationStateEnum | string;
375
430
  }
376
- export declare enum WorkspaceState {
377
- ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
378
- AVAILABLE = "AVAILABLE",
379
- ERROR = "ERROR",
380
- IMPAIRED = "IMPAIRED",
381
- MAINTENANCE = "MAINTENANCE",
382
- PENDING = "PENDING",
383
- REBOOTING = "REBOOTING",
384
- REBUILDING = "REBUILDING",
385
- RESTORING = "RESTORING",
386
- STARTING = "STARTING",
387
- STOPPED = "STOPPED",
388
- STOPPING = "STOPPING",
389
- SUSPENDED = "SUSPENDED",
390
- TERMINATED = "TERMINATED",
391
- TERMINATING = "TERMINATING",
392
- UNHEALTHY = "UNHEALTHY",
393
- UPDATING = "UPDATING",
431
+ export declare enum StandbyWorkspaceRelationshipType {
432
+ PRIMARY = "PRIMARY",
433
+ STANDBY = "STANDBY",
434
+ }
435
+ export interface RelatedWorkspaceProperties {
436
+ WorkspaceId?: string;
437
+ Region?: string;
438
+ State?: WorkspaceState | string;
439
+ Type?: StandbyWorkspaceRelationshipType | string;
394
440
  }
395
441
  export interface Workspace {
396
442
  WorkspaceId?: string;
@@ -408,6 +454,7 @@ export interface Workspace {
408
454
  RootVolumeEncryptionEnabled?: boolean;
409
455
  WorkspaceProperties?: WorkspaceProperties;
410
456
  ModificationStates?: ModificationState[];
457
+ RelatedWorkspaces?: RelatedWorkspaceProperties[];
411
458
  }
412
459
  export interface CreateWorkspacesResult {
413
460
  FailedRequests?: FailedCreateWorkspaceRequest[];
@@ -1066,6 +1113,21 @@ export declare const CreateIpGroupRequestFilterSensitiveLog: (
1066
1113
  export declare const CreateIpGroupResultFilterSensitiveLog: (
1067
1114
  obj: CreateIpGroupResult
1068
1115
  ) => any;
1116
+ export declare const StandbyWorkspaceFilterSensitiveLog: (
1117
+ obj: StandbyWorkspace
1118
+ ) => any;
1119
+ export declare const CreateStandbyWorkspacesRequestFilterSensitiveLog: (
1120
+ obj: CreateStandbyWorkspacesRequest
1121
+ ) => any;
1122
+ export declare const FailedCreateStandbyWorkspacesRequestFilterSensitiveLog: (
1123
+ obj: FailedCreateStandbyWorkspacesRequest
1124
+ ) => any;
1125
+ export declare const PendingCreateStandbyWorkspacesRequestFilterSensitiveLog: (
1126
+ obj: PendingCreateStandbyWorkspacesRequest
1127
+ ) => any;
1128
+ export declare const CreateStandbyWorkspacesResultFilterSensitiveLog: (
1129
+ obj: CreateStandbyWorkspacesResult
1130
+ ) => any;
1069
1131
  export declare const CreateTagsRequestFilterSensitiveLog: (
1070
1132
  obj: CreateTagsRequest
1071
1133
  ) => any;
@@ -1108,6 +1170,9 @@ export declare const FailedCreateWorkspaceRequestFilterSensitiveLog: (
1108
1170
  export declare const ModificationStateFilterSensitiveLog: (
1109
1171
  obj: ModificationState
1110
1172
  ) => any;
1173
+ export declare const RelatedWorkspacePropertiesFilterSensitiveLog: (
1174
+ obj: RelatedWorkspaceProperties
1175
+ ) => any;
1111
1176
  export declare const WorkspaceFilterSensitiveLog: (obj: Workspace) => any;
1112
1177
  export declare const CreateWorkspacesResultFilterSensitiveLog: (
1113
1178
  obj: CreateWorkspacesResult
@@ -31,6 +31,10 @@ import {
31
31
  CreateIpGroupCommandInput,
32
32
  CreateIpGroupCommandOutput,
33
33
  } from "../commands/CreateIpGroupCommand";
34
+ import {
35
+ CreateStandbyWorkspacesCommandInput,
36
+ CreateStandbyWorkspacesCommandOutput,
37
+ } from "../commands/CreateStandbyWorkspacesCommand";
34
38
  import {
35
39
  CreateTagsCommandInput,
36
40
  CreateTagsCommandOutput,
@@ -287,6 +291,10 @@ export declare const serializeAws_json1_1CreateIpGroupCommand: (
287
291
  input: CreateIpGroupCommandInput,
288
292
  context: __SerdeContext
289
293
  ) => Promise<__HttpRequest>;
294
+ export declare const serializeAws_json1_1CreateStandbyWorkspacesCommand: (
295
+ input: CreateStandbyWorkspacesCommandInput,
296
+ context: __SerdeContext
297
+ ) => Promise<__HttpRequest>;
290
298
  export declare const serializeAws_json1_1CreateTagsCommand: (
291
299
  input: CreateTagsCommandInput,
292
300
  context: __SerdeContext
@@ -543,6 +551,10 @@ export declare const deserializeAws_json1_1CreateIpGroupCommand: (
543
551
  output: __HttpResponse,
544
552
  context: __SerdeContext
545
553
  ) => Promise<CreateIpGroupCommandOutput>;
554
+ export declare const deserializeAws_json1_1CreateStandbyWorkspacesCommand: (
555
+ output: __HttpResponse,
556
+ context: __SerdeContext
557
+ ) => Promise<CreateStandbyWorkspacesCommandOutput>;
546
558
  export declare const deserializeAws_json1_1CreateTagsCommand: (
547
559
  output: __HttpResponse,
548
560
  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.211.0",
4
+ "version": "3.213.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",
@@ -19,36 +19,36 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.211.0",
23
- "@aws-sdk/config-resolver": "3.209.0",
24
- "@aws-sdk/credential-provider-node": "3.211.0",
25
- "@aws-sdk/fetch-http-handler": "3.208.0",
26
- "@aws-sdk/hash-node": "3.208.0",
27
- "@aws-sdk/invalid-dependency": "3.208.0",
28
- "@aws-sdk/middleware-content-length": "3.208.0",
29
- "@aws-sdk/middleware-endpoint": "3.208.0",
30
- "@aws-sdk/middleware-host-header": "3.208.0",
31
- "@aws-sdk/middleware-logger": "3.208.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.208.0",
33
- "@aws-sdk/middleware-retry": "3.209.0",
34
- "@aws-sdk/middleware-serde": "3.208.0",
35
- "@aws-sdk/middleware-signing": "3.208.0",
36
- "@aws-sdk/middleware-stack": "3.208.0",
37
- "@aws-sdk/middleware-user-agent": "3.208.0",
38
- "@aws-sdk/node-config-provider": "3.209.0",
39
- "@aws-sdk/node-http-handler": "3.208.0",
40
- "@aws-sdk/protocol-http": "3.208.0",
41
- "@aws-sdk/smithy-client": "3.209.0",
42
- "@aws-sdk/types": "3.208.0",
43
- "@aws-sdk/url-parser": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.213.0",
23
+ "@aws-sdk/config-resolver": "3.212.0",
24
+ "@aws-sdk/credential-provider-node": "3.212.0",
25
+ "@aws-sdk/fetch-http-handler": "3.212.0",
26
+ "@aws-sdk/hash-node": "3.212.0",
27
+ "@aws-sdk/invalid-dependency": "3.212.0",
28
+ "@aws-sdk/middleware-content-length": "3.212.0",
29
+ "@aws-sdk/middleware-endpoint": "3.212.0",
30
+ "@aws-sdk/middleware-host-header": "3.212.0",
31
+ "@aws-sdk/middleware-logger": "3.212.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
+ "@aws-sdk/middleware-retry": "3.212.0",
34
+ "@aws-sdk/middleware-serde": "3.212.0",
35
+ "@aws-sdk/middleware-signing": "3.212.0",
36
+ "@aws-sdk/middleware-stack": "3.212.0",
37
+ "@aws-sdk/middleware-user-agent": "3.212.0",
38
+ "@aws-sdk/node-config-provider": "3.212.0",
39
+ "@aws-sdk/node-http-handler": "3.212.0",
40
+ "@aws-sdk/protocol-http": "3.212.0",
41
+ "@aws-sdk/smithy-client": "3.212.0",
42
+ "@aws-sdk/types": "3.212.0",
43
+ "@aws-sdk/url-parser": "3.212.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.209.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.209.0",
49
- "@aws-sdk/util-endpoints": "3.211.0",
50
- "@aws-sdk/util-user-agent-browser": "3.208.0",
51
- "@aws-sdk/util-user-agent-node": "3.209.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
+ "@aws-sdk/util-endpoints": "3.212.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.212.0",
51
+ "@aws-sdk/util-user-agent-node": "3.212.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1"