@aws-sdk/client-workspaces 3.600.0 → 3.607.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 (77) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +536 -1
  3. package/dist-es/WorkSpaces.js +18 -0
  4. package/dist-es/commands/CreateWorkspacesPoolCommand.js +24 -0
  5. package/dist-es/commands/DescribeWorkspacesPoolSessionsCommand.js +24 -0
  6. package/dist-es/commands/DescribeWorkspacesPoolsCommand.js +24 -0
  7. package/dist-es/commands/ModifyStreamingPropertiesCommand.js +24 -0
  8. package/dist-es/commands/StartWorkspacesPoolCommand.js +24 -0
  9. package/dist-es/commands/StopWorkspacesPoolCommand.js +24 -0
  10. package/dist-es/commands/TerminateWorkspacesPoolCommand.js +24 -0
  11. package/dist-es/commands/TerminateWorkspacesPoolSessionCommand.js +24 -0
  12. package/dist-es/commands/UpdateWorkspacesPoolCommand.js +24 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/index.js +1 -0
  15. package/dist-es/models/models_0.js +102 -0
  16. package/dist-es/models/models_1.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +238 -0
  18. package/dist-types/WorkSpaces.d.ts +65 -0
  19. package/dist-types/WorkSpacesClient.d.ts +11 -2
  20. package/dist-types/commands/CreateWorkspacesCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateWorkspacesPoolCommand.d.ts +130 -0
  22. package/dist-types/commands/DescribeApplicationsCommand.d.ts +2 -2
  23. package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +30 -1
  24. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +88 -0
  26. package/dist-types/commands/DescribeWorkspacesPoolsCommand.d.ts +116 -0
  27. package/dist-types/commands/DisassociateIpGroupsCommand.d.ts +3 -0
  28. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +3 -0
  29. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +3 -0
  30. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +86 -0
  31. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -0
  32. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  33. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +18 -4
  34. package/dist-types/commands/StartWorkspacesCommand.d.ts +1 -1
  35. package/dist-types/commands/StartWorkspacesPoolCommand.d.ts +81 -0
  36. package/dist-types/commands/StopWorkspacesCommand.d.ts +1 -1
  37. package/dist-types/commands/StopWorkspacesPoolCommand.d.ts +75 -0
  38. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
  39. package/dist-types/commands/TerminateWorkspacesPoolCommand.d.ts +73 -0
  40. package/dist-types/commands/TerminateWorkspacesPoolSessionCommand.d.ts +73 -0
  41. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateWorkspacesPoolCommand.d.ts +127 -0
  47. package/dist-types/commands/index.d.ts +9 -0
  48. package/dist-types/models/index.d.ts +1 -0
  49. package/dist-types/models/models_0.d.ts +855 -253
  50. package/dist-types/models/models_1.d.ts +324 -0
  51. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  52. package/dist-types/ts3.4/WorkSpaces.d.ts +155 -0
  53. package/dist-types/ts3.4/WorkSpacesClient.d.ts +56 -2
  54. package/dist-types/ts3.4/commands/CreateWorkspacesPoolCommand.d.ts +40 -0
  55. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +40 -0
  56. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolsCommand.d.ts +40 -0
  57. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +40 -0
  58. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/StartWorkspacesPoolCommand.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/StopWorkspacesPoolCommand.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolCommand.d.ts +40 -0
  65. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolSessionCommand.d.ts +40 -0
  66. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdateWorkspacesPoolCommand.d.ts +40 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  73. package/dist-types/ts3.4/models/index.d.ts +1 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +267 -58
  75. package/dist-types/ts3.4/models/models_1.d.ts +92 -0
  76. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  77. package/package.json +3 -3
@@ -208,6 +208,22 @@ export interface AccountModification {
208
208
  */
209
209
  ErrorMessage?: string;
210
210
  }
211
+ /**
212
+ * <p>Information about the Active Directory config.</p>
213
+ * @public
214
+ */
215
+ export interface ActiveDirectoryConfig {
216
+ /**
217
+ * <p>The name of the domain.</p>
218
+ * @public
219
+ */
220
+ DomainName: string | undefined;
221
+ /**
222
+ * <p>Indicates the secret ARN on the service account.</p>
223
+ * @public
224
+ */
225
+ ServiceAccountSecretArn: string | undefined;
226
+ }
211
227
  /**
212
228
  * @public
213
229
  * @enum
@@ -336,6 +352,59 @@ export interface ApplicationResourceAssociation {
336
352
  */
337
353
  StateReason?: AssociationStateReason;
338
354
  }
355
+ /**
356
+ * @public
357
+ * @enum
358
+ */
359
+ export declare const ApplicationSettingsStatusEnum: {
360
+ readonly DISABLED: "DISABLED";
361
+ readonly ENABLED: "ENABLED";
362
+ };
363
+ /**
364
+ * @public
365
+ */
366
+ export type ApplicationSettingsStatusEnum = (typeof ApplicationSettingsStatusEnum)[keyof typeof ApplicationSettingsStatusEnum];
367
+ /**
368
+ * <p>The persistent application settings for WorkSpaces Pools users.</p>
369
+ * @public
370
+ */
371
+ export interface ApplicationSettingsRequest {
372
+ /**
373
+ * <p>Enables or disables persistent application settings for users during their pool sessions.</p>
374
+ * @public
375
+ */
376
+ Status: ApplicationSettingsStatusEnum | undefined;
377
+ /**
378
+ * <p>The path prefix for the S3 bucket where users’ persistent application settings are stored.
379
+ * You can allow the same persistent application settings to be used across multiple pools by specifying
380
+ * the same settings group for each pool.</p>
381
+ * @public
382
+ */
383
+ SettingsGroup?: string;
384
+ }
385
+ /**
386
+ * <p>Describes the persistent application settings for WorkSpaces Pools users.</p>
387
+ * @public
388
+ */
389
+ export interface ApplicationSettingsResponse {
390
+ /**
391
+ * <p>Specifies whether persistent application settings are enabled for users during their pool sessions.</p>
392
+ * @public
393
+ */
394
+ Status: ApplicationSettingsStatusEnum | undefined;
395
+ /**
396
+ * <p>The path prefix for the S3 bucket where users’ persistent application settings are stored.</p>
397
+ * @public
398
+ */
399
+ SettingsGroup?: string;
400
+ /**
401
+ * <p>The S3 bucket where users’ persistent application settings are stored. When persistent
402
+ * application settings are enabled for the first time for an account in an Amazon Web Services Region,
403
+ * an S3 bucket is created. The bucket is unique to the Amazon Web Services account and the Region.</p>
404
+ * @public
405
+ */
406
+ S3BucketName?: string;
407
+ }
339
408
  /**
340
409
  * @public
341
410
  */
@@ -604,6 +673,17 @@ export declare const AssociationStatus: {
604
673
  * @public
605
674
  */
606
675
  export type AssociationStatus = (typeof AssociationStatus)[keyof typeof AssociationStatus];
676
+ /**
677
+ * @public
678
+ * @enum
679
+ */
680
+ export declare const AuthenticationType: {
681
+ readonly SAML: "SAML";
682
+ };
683
+ /**
684
+ * @public
685
+ */
686
+ export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
607
687
  /**
608
688
  * <p>Describes a rule for an IP access control group.</p>
609
689
  * @public
@@ -837,6 +917,46 @@ export interface BundleResourceAssociation {
837
917
  */
838
918
  StateReason?: AssociationStateReason;
839
919
  }
920
+ /**
921
+ * <p>Describes the user capacity for a pool of WorkSpaces.</p>
922
+ * @public
923
+ */
924
+ export interface Capacity {
925
+ /**
926
+ * <p>The desired number of user sessions for a multi-session pool.
927
+ * This is not allowed for single-session pools.</p>
928
+ * @public
929
+ */
930
+ DesiredUserSessions: number | undefined;
931
+ }
932
+ /**
933
+ * <p>Describes the capacity status for a pool of WorkSpaces.</p>
934
+ * @public
935
+ */
936
+ export interface CapacityStatus {
937
+ /**
938
+ * <p>The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.</p>
939
+ * @public
940
+ */
941
+ AvailableUserSessions: number | undefined;
942
+ /**
943
+ * <p>The total number of sessions slots that are either running or pending. This
944
+ * represents the total number of concurrent streaming sessions your pool can support
945
+ * in a steady state.</p>
946
+ * @public
947
+ */
948
+ DesiredUserSessions: number | undefined;
949
+ /**
950
+ * <p>The total number of session slots that are available for a pool of WorkSpaces.</p>
951
+ * @public
952
+ */
953
+ ActualUserSessions: number | undefined;
954
+ /**
955
+ * <p>The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.</p>
956
+ * @public
957
+ */
958
+ ActiveUserSessions: number | undefined;
959
+ }
840
960
  /**
841
961
  * @public
842
962
  * @enum
@@ -1684,6 +1804,7 @@ export interface CreateWorkspaceImageResult {
1684
1804
  */
1685
1805
  export declare const OperatingSystemName: {
1686
1806
  readonly AMAZON_LINUX_2: "AMAZON_LINUX_2";
1807
+ readonly RHEL_8: "RHEL_8";
1687
1808
  readonly UBUNTU_18_04: "UBUNTU_18_04";
1688
1809
  readonly UBUNTU_20_04: "UBUNTU_20_04";
1689
1810
  readonly UBUNTU_22_04: "UBUNTU_22_04";
@@ -2198,6 +2319,240 @@ export interface CreateWorkspacesResult {
2198
2319
  */
2199
2320
  PendingRequests?: Workspace[];
2200
2321
  }
2322
+ /**
2323
+ * <p>Describes the timeout settings for a pool of WorkSpaces.</p>
2324
+ * @public
2325
+ */
2326
+ export interface TimeoutSettings {
2327
+ /**
2328
+ * <p>Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
2329
+ * If users try to reconnect to the streaming session after a disconnection or network interruption
2330
+ * within the time set, they are connected to their previous session. Otherwise, they are connected
2331
+ * to a new session with a new streaming instance.</p>
2332
+ * @public
2333
+ */
2334
+ DisconnectTimeoutInSeconds?: number;
2335
+ /**
2336
+ * <p>The amount of time in seconds a connection will stay active while idle.</p>
2337
+ * @public
2338
+ */
2339
+ IdleDisconnectTimeoutInSeconds?: number;
2340
+ /**
2341
+ * <p>Specifies the maximum amount of time, in seconds, that a streaming session can remain active.
2342
+ * If users are still connected to a streaming instance five minutes before this limit is reached,
2343
+ * they are prompted to save any open documents before being disconnected. After this time elapses,
2344
+ * the instance is terminated and replaced by a new instance.</p>
2345
+ * @public
2346
+ */
2347
+ MaxUserDurationInSeconds?: number;
2348
+ }
2349
+ /**
2350
+ * @public
2351
+ */
2352
+ export interface CreateWorkspacesPoolRequest {
2353
+ /**
2354
+ * <p>The name of the pool.</p>
2355
+ * @public
2356
+ */
2357
+ PoolName: string | undefined;
2358
+ /**
2359
+ * <p>The pool description.</p>
2360
+ * @public
2361
+ */
2362
+ Description: string | undefined;
2363
+ /**
2364
+ * <p>The identifier of the bundle for the pool.</p>
2365
+ * @public
2366
+ */
2367
+ BundleId: string | undefined;
2368
+ /**
2369
+ * <p>The identifier of the directory for the pool.</p>
2370
+ * @public
2371
+ */
2372
+ DirectoryId: string | undefined;
2373
+ /**
2374
+ * <p>The user capacity of the pool.</p>
2375
+ * @public
2376
+ */
2377
+ Capacity: Capacity | undefined;
2378
+ /**
2379
+ * <p>The tags for the pool.</p>
2380
+ * @public
2381
+ */
2382
+ Tags?: Tag[];
2383
+ /**
2384
+ * <p>Indicates the application settings of the pool.</p>
2385
+ * @public
2386
+ */
2387
+ ApplicationSettings?: ApplicationSettingsRequest;
2388
+ /**
2389
+ * <p>Indicates the timeout settings of the pool.</p>
2390
+ * @public
2391
+ */
2392
+ TimeoutSettings?: TimeoutSettings;
2393
+ }
2394
+ /**
2395
+ * @public
2396
+ * @enum
2397
+ */
2398
+ export declare const WorkspacesPoolErrorCode: {
2399
+ readonly BUNDLE_NOT_FOUND: "BUNDLE_NOT_FOUND";
2400
+ readonly DEFAULT_OU_IS_MISSING: "DEFAULT_OU_IS_MISSING";
2401
+ readonly DIRECTORY_NOT_FOUND: "DIRECTORY_NOT_FOUND";
2402
+ readonly DOMAIN_JOIN_ERROR_ACCESS_DENIED: "DOMAIN_JOIN_ERROR_ACCESS_DENIED";
2403
+ readonly DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED: "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED";
2404
+ readonly DOMAIN_JOIN_ERROR_FILE_NOT_FOUND: "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND";
2405
+ readonly DOMAIN_JOIN_ERROR_INVALID_PARAMETER: "DOMAIN_JOIN_ERROR_INVALID_PARAMETER";
2406
+ readonly DOMAIN_JOIN_ERROR_LOGON_FAILURE: "DOMAIN_JOIN_ERROR_LOGON_FAILURE";
2407
+ readonly DOMAIN_JOIN_ERROR_MORE_DATA: "DOMAIN_JOIN_ERROR_MORE_DATA";
2408
+ readonly DOMAIN_JOIN_ERROR_NOT_SUPPORTED: "DOMAIN_JOIN_ERROR_NOT_SUPPORTED";
2409
+ readonly DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN: "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN";
2410
+ readonly DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING: "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING";
2411
+ readonly DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE: "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE";
2412
+ readonly DOMAIN_JOIN_ERROR_SECRET_INVALID: "DOMAIN_JOIN_ERROR_SECRET_INVALID";
2413
+ readonly DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND: "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND";
2414
+ readonly DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID: "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID";
2415
+ readonly DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND: "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND";
2416
+ readonly DOMAIN_JOIN_INTERNAL_SERVICE_ERROR: "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR";
2417
+ readonly DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME: "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME";
2418
+ readonly DOMAIN_JOIN_NERR_PASSWORD_EXPIRED: "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED";
2419
+ readonly DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED: "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED";
2420
+ readonly IAM_SERVICE_ROLE_IS_MISSING: "IAM_SERVICE_ROLE_IS_MISSING";
2421
+ readonly IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION: "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION";
2422
+ readonly IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION: "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION";
2423
+ readonly IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION: "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION";
2424
+ readonly IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION: "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION";
2425
+ readonly IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION: "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION";
2426
+ readonly IGW_NOT_ATTACHED: "IGW_NOT_ATTACHED";
2427
+ readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
2428
+ readonly INSUFFICIENT_PERMISSIONS_ERROR: "INSUFFICIENT_PERMISSIONS_ERROR";
2429
+ readonly INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR";
2430
+ readonly INVALID_SUBNET_CONFIGURATION: "INVALID_SUBNET_CONFIGURATION";
2431
+ readonly MACHINE_ROLE_IS_MISSING: "MACHINE_ROLE_IS_MISSING";
2432
+ readonly NETWORK_INTERFACE_LIMIT_EXCEEDED: "NETWORK_INTERFACE_LIMIT_EXCEEDED";
2433
+ readonly SECURITY_GROUPS_NOT_FOUND: "SECURITY_GROUPS_NOT_FOUND";
2434
+ readonly STS_DISABLED_IN_REGION: "STS_DISABLED_IN_REGION";
2435
+ readonly SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES: "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES";
2436
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
2437
+ readonly WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE: "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE";
2438
+ readonly WORKSPACES_POOL_STOPPED: "WORKSPACES_POOL_STOPPED";
2439
+ };
2440
+ /**
2441
+ * @public
2442
+ */
2443
+ export type WorkspacesPoolErrorCode = (typeof WorkspacesPoolErrorCode)[keyof typeof WorkspacesPoolErrorCode];
2444
+ /**
2445
+ * <p>Describes a pool error.</p>
2446
+ * @public
2447
+ */
2448
+ export interface WorkspacesPoolError {
2449
+ /**
2450
+ * <p>The error code.</p>
2451
+ * @public
2452
+ */
2453
+ ErrorCode?: WorkspacesPoolErrorCode;
2454
+ /**
2455
+ * <p>The error message.</p>
2456
+ * @public
2457
+ */
2458
+ ErrorMessage?: string;
2459
+ }
2460
+ /**
2461
+ * @public
2462
+ * @enum
2463
+ */
2464
+ export declare const WorkspacesPoolState: {
2465
+ readonly CREATING: "CREATING";
2466
+ readonly DELETING: "DELETING";
2467
+ readonly RUNNING: "RUNNING";
2468
+ readonly STARTING: "STARTING";
2469
+ readonly STOPPED: "STOPPED";
2470
+ readonly STOPPING: "STOPPING";
2471
+ readonly UPDATING: "UPDATING";
2472
+ };
2473
+ /**
2474
+ * @public
2475
+ */
2476
+ export type WorkspacesPoolState = (typeof WorkspacesPoolState)[keyof typeof WorkspacesPoolState];
2477
+ /**
2478
+ * <p>Describes a pool of WorkSpaces.</p>
2479
+ * @public
2480
+ */
2481
+ export interface WorkspacesPool {
2482
+ /**
2483
+ * <p>The identifier of a pool.</p>
2484
+ * @public
2485
+ */
2486
+ PoolId: string | undefined;
2487
+ /**
2488
+ * <p>The Amazon Resource Name (ARN) for the pool.</p>
2489
+ * @public
2490
+ */
2491
+ PoolArn: string | undefined;
2492
+ /**
2493
+ * <p>The capacity status for the pool</p>
2494
+ * @public
2495
+ */
2496
+ CapacityStatus: CapacityStatus | undefined;
2497
+ /**
2498
+ * <p>The name of the pool,</p>
2499
+ * @public
2500
+ */
2501
+ PoolName: string | undefined;
2502
+ /**
2503
+ * <p>The description of the pool.</p>
2504
+ * @public
2505
+ */
2506
+ Description?: string;
2507
+ /**
2508
+ * <p>The current state of the pool.</p>
2509
+ * @public
2510
+ */
2511
+ State: WorkspacesPoolState | undefined;
2512
+ /**
2513
+ * <p>The time the pool was created.</p>
2514
+ * @public
2515
+ */
2516
+ CreatedAt: Date | undefined;
2517
+ /**
2518
+ * <p>The identifier of the bundle used by the pool.</p>
2519
+ * @public
2520
+ */
2521
+ BundleId: string | undefined;
2522
+ /**
2523
+ * <p>The identifier of the directory used by the pool.</p>
2524
+ * @public
2525
+ */
2526
+ DirectoryId: string | undefined;
2527
+ /**
2528
+ * <p>The pool errors.</p>
2529
+ * @public
2530
+ */
2531
+ Errors?: WorkspacesPoolError[];
2532
+ /**
2533
+ * <p>The persistent application settings for users of the pool.</p>
2534
+ * @public
2535
+ */
2536
+ ApplicationSettings?: ApplicationSettingsResponse;
2537
+ /**
2538
+ * <p>The amount of time that a pool session remains active after users disconnect.
2539
+ * If they try to reconnect to the pool session after a disconnection or network interruption
2540
+ * within this time interval, they are connected to their previous session.
2541
+ * Otherwise, they are connected to a new session with a new pool instance.</p>
2542
+ * @public
2543
+ */
2544
+ TimeoutSettings?: TimeoutSettings;
2545
+ }
2546
+ /**
2547
+ * @public
2548
+ */
2549
+ export interface CreateWorkspacesPoolResult {
2550
+ /**
2551
+ * <p>Indicates the pool to create.</p>
2552
+ * @public
2553
+ */
2554
+ WorkspacesPool?: WorkspacesPool;
2555
+ }
2201
2556
  /**
2202
2557
  * @public
2203
2558
  * @enum
@@ -2400,6 +2755,11 @@ export interface DefaultWorkspaceCreationProperties {
2400
2755
  * @public
2401
2756
  */
2402
2757
  EnableMaintenanceMode?: boolean;
2758
+ /**
2759
+ * <p>Indicates the IAM role ARN of the instance.</p>
2760
+ * @public
2761
+ */
2762
+ InstanceIamRoleArn?: string;
2403
2763
  }
2404
2764
  /**
2405
2765
  * @public
@@ -3392,6 +3752,11 @@ export interface DescribeWorkspaceDirectoriesRequest {
3392
3752
  * @public
3393
3753
  */
3394
3754
  DirectoryIds?: string[];
3755
+ /**
3756
+ * <p>The names of the WorkSpace directories.</p>
3757
+ * @public
3758
+ */
3759
+ WorkspaceDirectoryNames?: string[];
3395
3760
  /**
3396
3761
  * <p>The maximum number of directories to return.</p>
3397
3762
  * @public
@@ -3410,6 +3775,7 @@ export interface DescribeWorkspaceDirectoriesRequest {
3410
3775
  */
3411
3776
  export declare const WorkspaceDirectoryType: {
3412
3777
  readonly AD_CONNECTOR: "AD_CONNECTOR";
3778
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
3413
3779
  readonly SIMPLE_AD: "SIMPLE_AD";
3414
3780
  };
3415
3781
  /**
@@ -3524,63 +3890,206 @@ export type WorkspaceDirectoryState = (typeof WorkspaceDirectoryState)[keyof typ
3524
3890
  * @public
3525
3891
  * @enum
3526
3892
  */
3527
- export declare const Tenancy: {
3528
- readonly DEDICATED: "DEDICATED";
3529
- readonly SHARED: "SHARED";
3893
+ export declare const StorageConnectorTypeEnum: {
3894
+ readonly HOME_FOLDER: "HOME_FOLDER";
3530
3895
  };
3531
3896
  /**
3532
3897
  * @public
3533
3898
  */
3534
- export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
3899
+ export type StorageConnectorTypeEnum = (typeof StorageConnectorTypeEnum)[keyof typeof StorageConnectorTypeEnum];
3535
3900
  /**
3536
- * <p>The device types and operating systems that can be used to access a WorkSpace. For more
3537
- * information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-network-requirements.html">Amazon
3538
- * WorkSpaces Client Network Requirements</a>.</p>
3539
3901
  * @public
3902
+ * @enum
3540
3903
  */
3541
- export interface WorkspaceAccessProperties {
3542
- /**
3543
- * <p>Indicates whether users can use Windows clients to access their WorkSpaces.</p>
3544
- * @public
3545
- */
3546
- DeviceTypeWindows?: AccessPropertyValue;
3547
- /**
3548
- * <p>Indicates whether users can use macOS clients to access their WorkSpaces.</p>
3549
- * @public
3550
- */
3551
- DeviceTypeOsx?: AccessPropertyValue;
3552
- /**
3553
- * <p>Indicates whether users can access their WorkSpaces through a web browser.</p>
3554
- * @public
3555
- */
3556
- DeviceTypeWeb?: AccessPropertyValue;
3557
- /**
3558
- * <p>Indicates whether users can use iOS devices to access their WorkSpaces.</p>
3559
- * @public
3560
- */
3561
- DeviceTypeIos?: AccessPropertyValue;
3562
- /**
3563
- * <p>Indicates whether users can use Android and Android-compatible Chrome OS devices to
3564
- * access their WorkSpaces.</p>
3565
- * @public
3566
- */
3567
- DeviceTypeAndroid?: AccessPropertyValue;
3904
+ export declare const StorageConnectorStatusEnum: {
3905
+ readonly DISABLED: "DISABLED";
3906
+ readonly ENABLED: "ENABLED";
3907
+ };
3908
+ /**
3909
+ * @public
3910
+ */
3911
+ export type StorageConnectorStatusEnum = (typeof StorageConnectorStatusEnum)[keyof typeof StorageConnectorStatusEnum];
3912
+ /**
3913
+ * <p>Describes the storage connector.</p>
3914
+ * @public
3915
+ */
3916
+ export interface StorageConnector {
3568
3917
  /**
3569
- * <p>Indicates whether users can use Chromebooks to access their WorkSpaces.</p>
3918
+ * <p>The type of connector used to save user files.</p>
3570
3919
  * @public
3571
3920
  */
3572
- DeviceTypeChromeOs?: AccessPropertyValue;
3921
+ ConnectorType: StorageConnectorTypeEnum | undefined;
3573
3922
  /**
3574
- * <p>Indicates whether users can use zero client devices to access their WorkSpaces.</p>
3923
+ * <p>Indicates if the storage connetor is enabled or disabled.</p>
3575
3924
  * @public
3576
3925
  */
3577
- DeviceTypeZeroClient?: AccessPropertyValue;
3926
+ Status: StorageConnectorStatusEnum | undefined;
3927
+ }
3928
+ /**
3929
+ * @public
3930
+ * @enum
3931
+ */
3932
+ export declare const StreamingExperiencePreferredProtocolEnum: {
3933
+ readonly TCP: "TCP";
3934
+ readonly UDP: "UDP";
3935
+ };
3936
+ /**
3937
+ * @public
3938
+ */
3939
+ export type StreamingExperiencePreferredProtocolEnum = (typeof StreamingExperiencePreferredProtocolEnum)[keyof typeof StreamingExperiencePreferredProtocolEnum];
3940
+ /**
3941
+ * @public
3942
+ * @enum
3943
+ */
3944
+ export declare const UserSettingActionEnum: {
3945
+ readonly CLIPBOARD_COPY_FROM_LOCAL_DEVICE: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE";
3946
+ readonly CLIPBOARD_COPY_TO_LOCAL_DEVICE: "CLIPBOARD_COPY_TO_LOCAL_DEVICE";
3947
+ readonly PRINTING_TO_LOCAL_DEVICE: "PRINTING_TO_LOCAL_DEVICE";
3948
+ readonly SMART_CARD: "SMART_CARD";
3949
+ };
3950
+ /**
3951
+ * @public
3952
+ */
3953
+ export type UserSettingActionEnum = (typeof UserSettingActionEnum)[keyof typeof UserSettingActionEnum];
3954
+ /**
3955
+ * @public
3956
+ * @enum
3957
+ */
3958
+ export declare const UserSettingPermissionEnum: {
3959
+ readonly DISABLED: "DISABLED";
3960
+ readonly ENABLED: "ENABLED";
3961
+ };
3962
+ /**
3963
+ * @public
3964
+ */
3965
+ export type UserSettingPermissionEnum = (typeof UserSettingPermissionEnum)[keyof typeof UserSettingPermissionEnum];
3966
+ /**
3967
+ * <p>Information about the user's permission settings.</p>
3968
+ * @public
3969
+ */
3970
+ export interface UserSetting {
3971
+ /**
3972
+ * <p>Indicates the type of action.</p>
3973
+ * @public
3974
+ */
3975
+ Action: UserSettingActionEnum | undefined;
3976
+ /**
3977
+ * <p>Indicates if the setting is enabled or disabled.</p>
3978
+ * @public
3979
+ */
3980
+ Permission: UserSettingPermissionEnum | undefined;
3981
+ /**
3982
+ * <p>Indicates the maximum character length for the specified user setting.</p>
3983
+ * @public
3984
+ */
3985
+ MaximumLength?: number;
3986
+ }
3987
+ /**
3988
+ * <p>Describes the streaming properties.</p>
3989
+ * @public
3990
+ */
3991
+ export interface StreamingProperties {
3992
+ /**
3993
+ * <p>Indicates the type of preferred protocol for the streaming experience.</p>
3994
+ * @public
3995
+ */
3996
+ StreamingExperiencePreferredProtocol?: StreamingExperiencePreferredProtocolEnum;
3997
+ /**
3998
+ * <p>Indicates the permission settings asscoiated with the user.</p>
3999
+ * @public
4000
+ */
4001
+ UserSettings?: UserSetting[];
4002
+ /**
4003
+ * <p>Indicates the storage connector used </p>
4004
+ * @public
4005
+ */
4006
+ StorageConnectors?: StorageConnector[];
4007
+ }
4008
+ /**
4009
+ * @public
4010
+ * @enum
4011
+ */
4012
+ export declare const Tenancy: {
4013
+ readonly DEDICATED: "DEDICATED";
4014
+ readonly SHARED: "SHARED";
4015
+ };
4016
+ /**
4017
+ * @public
4018
+ */
4019
+ export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
4020
+ /**
4021
+ * @public
4022
+ * @enum
4023
+ */
4024
+ export declare const UserIdentityType: {
4025
+ readonly AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE";
4026
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
4027
+ };
4028
+ /**
4029
+ * @public
4030
+ */
4031
+ export type UserIdentityType = (typeof UserIdentityType)[keyof typeof UserIdentityType];
4032
+ /**
4033
+ * <p>The device types and operating systems that can be used to access a WorkSpace. For more
4034
+ * information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-network-requirements.html">Amazon
4035
+ * WorkSpaces Client Network Requirements</a>.</p>
4036
+ * @public
4037
+ */
4038
+ export interface WorkspaceAccessProperties {
4039
+ /**
4040
+ * <p>Indicates whether users can use Windows clients to access their WorkSpaces.</p>
4041
+ * @public
4042
+ */
4043
+ DeviceTypeWindows?: AccessPropertyValue;
4044
+ /**
4045
+ * <p>Indicates whether users can use macOS clients to access their WorkSpaces.</p>
4046
+ * @public
4047
+ */
4048
+ DeviceTypeOsx?: AccessPropertyValue;
4049
+ /**
4050
+ * <p>Indicates whether users can access their WorkSpaces through a web browser.</p>
4051
+ * @public
4052
+ */
4053
+ DeviceTypeWeb?: AccessPropertyValue;
4054
+ /**
4055
+ * <p>Indicates whether users can use iOS devices to access their WorkSpaces.</p>
4056
+ * @public
4057
+ */
4058
+ DeviceTypeIos?: AccessPropertyValue;
4059
+ /**
4060
+ * <p>Indicates whether users can use Android and Android-compatible Chrome OS devices to
4061
+ * access their WorkSpaces.</p>
4062
+ * @public
4063
+ */
4064
+ DeviceTypeAndroid?: AccessPropertyValue;
4065
+ /**
4066
+ * <p>Indicates whether users can use Chromebooks to access their WorkSpaces.</p>
4067
+ * @public
4068
+ */
4069
+ DeviceTypeChromeOs?: AccessPropertyValue;
4070
+ /**
4071
+ * <p>Indicates whether users can use zero client devices to access their WorkSpaces.</p>
4072
+ * @public
4073
+ */
4074
+ DeviceTypeZeroClient?: AccessPropertyValue;
3578
4075
  /**
3579
4076
  * <p>Indicates whether users can use Linux clients to access their WorkSpaces.</p>
3580
4077
  * @public
3581
4078
  */
3582
4079
  DeviceTypeLinux?: AccessPropertyValue;
3583
4080
  }
4081
+ /**
4082
+ * @public
4083
+ * @enum
4084
+ */
4085
+ export declare const WorkspaceType: {
4086
+ readonly PERSONAL: "PERSONAL";
4087
+ readonly POOLS: "POOLS";
4088
+ };
4089
+ /**
4090
+ * @public
4091
+ */
4092
+ export type WorkspaceType = (typeof WorkspaceType)[keyof typeof WorkspaceType];
3584
4093
  /**
3585
4094
  * <p>Describes a directory that is used with Amazon WorkSpaces.</p>
3586
4095
  * @public
@@ -3687,6 +4196,41 @@ export interface WorkspaceDirectory {
3687
4196
  * @public
3688
4197
  */
3689
4198
  CertificateBasedAuthProperties?: CertificateBasedAuthProperties;
4199
+ /**
4200
+ * <p>The name fo the WorkSpace directory.</p>
4201
+ * @public
4202
+ */
4203
+ WorkspaceDirectoryName?: string;
4204
+ /**
4205
+ * <p>The description of the WorkSpace directory</p>
4206
+ * @public
4207
+ */
4208
+ WorkspaceDirectoryDescription?: string;
4209
+ /**
4210
+ * <p>Indicates the identity type of the specifired user.</p>
4211
+ * @public
4212
+ */
4213
+ UserIdentityType?: UserIdentityType;
4214
+ /**
4215
+ * <p>Indicates whether the directory's WorkSpace type is personal or pools.</p>
4216
+ * @public
4217
+ */
4218
+ WorkspaceType?: WorkspaceType;
4219
+ /**
4220
+ * <p>Information about the Active Directory config.</p>
4221
+ * @public
4222
+ */
4223
+ ActiveDirectoryConfig?: ActiveDirectoryConfig;
4224
+ /**
4225
+ * <p>The streaming properties to configure.</p>
4226
+ * @public
4227
+ */
4228
+ StreamingProperties?: StreamingProperties;
4229
+ /**
4230
+ * <p>The error message returned.</p>
4231
+ * @public
4232
+ */
4233
+ ErrorMessage?: string;
3690
4234
  }
3691
4235
  /**
3692
4236
  * @public
@@ -4124,6 +4668,217 @@ export interface DescribeWorkspaceSnapshotsResult {
4124
4668
  */
4125
4669
  RestoreSnapshots?: Snapshot[];
4126
4670
  }
4671
+ /**
4672
+ * @public
4673
+ * @enum
4674
+ */
4675
+ export declare const DescribeWorkspacesPoolsFilterName: {
4676
+ readonly POOLNAME: "PoolName";
4677
+ };
4678
+ /**
4679
+ * @public
4680
+ */
4681
+ export type DescribeWorkspacesPoolsFilterName = (typeof DescribeWorkspacesPoolsFilterName)[keyof typeof DescribeWorkspacesPoolsFilterName];
4682
+ /**
4683
+ * @public
4684
+ * @enum
4685
+ */
4686
+ export declare const DescribeWorkspacesPoolsFilterOperator: {
4687
+ readonly CONTAINS: "CONTAINS";
4688
+ readonly EQUALS: "EQUALS";
4689
+ readonly NOTCONTAINS: "NOTCONTAINS";
4690
+ readonly NOTEQUALS: "NOTEQUALS";
4691
+ };
4692
+ /**
4693
+ * @public
4694
+ */
4695
+ export type DescribeWorkspacesPoolsFilterOperator = (typeof DescribeWorkspacesPoolsFilterOperator)[keyof typeof DescribeWorkspacesPoolsFilterOperator];
4696
+ /**
4697
+ * <p>Describes the filter conditions for WorkSpaces Pools to return.</p>
4698
+ * @public
4699
+ */
4700
+ export interface DescribeWorkspacesPoolsFilter {
4701
+ /**
4702
+ * <p>The name of the pool to filter.</p>
4703
+ * @public
4704
+ */
4705
+ Name: DescribeWorkspacesPoolsFilterName | undefined;
4706
+ /**
4707
+ * <p>The values for filtering WorkSpaces Pools.</p>
4708
+ * @public
4709
+ */
4710
+ Values: string[] | undefined;
4711
+ /**
4712
+ * <p>The operator values for filtering WorkSpaces Pools.</p>
4713
+ * @public
4714
+ */
4715
+ Operator: DescribeWorkspacesPoolsFilterOperator | undefined;
4716
+ }
4717
+ /**
4718
+ * @public
4719
+ */
4720
+ export interface DescribeWorkspacesPoolsRequest {
4721
+ /**
4722
+ * <p>The identifier of the WorkSpaces Pools.</p>
4723
+ * @public
4724
+ */
4725
+ PoolIds?: string[];
4726
+ /**
4727
+ * <p>The filter conditions for the WorkSpaces Pool to return.</p>
4728
+ * @public
4729
+ */
4730
+ Filters?: DescribeWorkspacesPoolsFilter[];
4731
+ /**
4732
+ * <p>The maximum number of items to return.</p>
4733
+ * @public
4734
+ */
4735
+ Limit?: number;
4736
+ /**
4737
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4738
+ * provide this token to receive the next set of results.</p>
4739
+ * @public
4740
+ */
4741
+ NextToken?: string;
4742
+ }
4743
+ /**
4744
+ * @public
4745
+ */
4746
+ export interface DescribeWorkspacesPoolsResult {
4747
+ /**
4748
+ * <p>Information about the WorkSpaces Pools.</p>
4749
+ * @public
4750
+ */
4751
+ WorkspacesPools?: WorkspacesPool[];
4752
+ /**
4753
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4754
+ * provide this token to receive the next set of results.</p>
4755
+ * @public
4756
+ */
4757
+ NextToken?: string;
4758
+ }
4759
+ /**
4760
+ * @public
4761
+ */
4762
+ export interface DescribeWorkspacesPoolSessionsRequest {
4763
+ /**
4764
+ * <p>The identifier of the pool.</p>
4765
+ * @public
4766
+ */
4767
+ PoolId: string | undefined;
4768
+ /**
4769
+ * <p>The identifier of the user.</p>
4770
+ * @public
4771
+ */
4772
+ UserId?: string;
4773
+ /**
4774
+ * <p>The maximum number of items to return.</p>
4775
+ * @public
4776
+ */
4777
+ Limit?: number;
4778
+ /**
4779
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4780
+ * provide this token to receive the next set of results.</p>
4781
+ * @public
4782
+ */
4783
+ NextToken?: string;
4784
+ }
4785
+ /**
4786
+ * @public
4787
+ * @enum
4788
+ */
4789
+ export declare const SessionConnectionState: {
4790
+ readonly CONNECTED: "CONNECTED";
4791
+ readonly NOT_CONNECTED: "NOT_CONNECTED";
4792
+ };
4793
+ /**
4794
+ * @public
4795
+ */
4796
+ export type SessionConnectionState = (typeof SessionConnectionState)[keyof typeof SessionConnectionState];
4797
+ /**
4798
+ * <p>Describes the network details of a WorkSpaces Pool.</p>
4799
+ * @public
4800
+ */
4801
+ export interface NetworkAccessConfiguration {
4802
+ /**
4803
+ * <p>The private IP address of the elastic network interface that is attached to instances in your VPC.</p>
4804
+ * @public
4805
+ */
4806
+ EniPrivateIpAddress?: string;
4807
+ /**
4808
+ * <p>The resource identifier of the elastic network interface that is attached to instances in your
4809
+ * VPC. All network interfaces have the eni-xxxxxxxx resource identifier.</p>
4810
+ * @public
4811
+ */
4812
+ EniId?: string;
4813
+ }
4814
+ /**
4815
+ * <p>Describes a pool session.</p>
4816
+ * @public
4817
+ */
4818
+ export interface WorkspacesPoolSession {
4819
+ /**
4820
+ * <p>The authentication method. The user is authenticated using a
4821
+ * WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).</p>
4822
+ * @public
4823
+ */
4824
+ AuthenticationType?: AuthenticationType;
4825
+ /**
4826
+ * <p>Specifies whether a user is connected to the pool session.</p>
4827
+ * @public
4828
+ */
4829
+ ConnectionState?: SessionConnectionState;
4830
+ /**
4831
+ * <p>The identifier of the session.</p>
4832
+ * @public
4833
+ */
4834
+ SessionId: string | undefined;
4835
+ /**
4836
+ * <p>The identifier for the instance hosting the session.</p>
4837
+ * @public
4838
+ */
4839
+ InstanceId?: string;
4840
+ /**
4841
+ * <p>The identifier of the pool.</p>
4842
+ * @public
4843
+ */
4844
+ PoolId: string | undefined;
4845
+ /**
4846
+ * <p>The time that the pool session ended.</p>
4847
+ * @public
4848
+ */
4849
+ ExpirationTime?: Date;
4850
+ /**
4851
+ * <p>Describes the network details of the pool.</p>
4852
+ * @public
4853
+ */
4854
+ NetworkAccessConfiguration?: NetworkAccessConfiguration;
4855
+ /**
4856
+ * <p>The time that the pool sission started.</p>
4857
+ * @public
4858
+ */
4859
+ StartTime?: Date;
4860
+ /**
4861
+ * <p>The identifier of the user.</p>
4862
+ * @public
4863
+ */
4864
+ UserId: string | undefined;
4865
+ }
4866
+ /**
4867
+ * @public
4868
+ */
4869
+ export interface DescribeWorkspacesPoolSessionsResult {
4870
+ /**
4871
+ * <p>Describes the pool sessions.</p>
4872
+ * @public
4873
+ */
4874
+ Sessions?: WorkspacesPoolSession[];
4875
+ /**
4876
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4877
+ * provide this token to receive the next set of results.</p>
4878
+ * @public
4879
+ */
4880
+ NextToken?: string;
4881
+ }
4127
4882
  /**
4128
4883
  * @public
4129
4884
  */
@@ -4727,6 +5482,26 @@ export interface ModifySelfservicePermissionsRequest {
4727
5482
  */
4728
5483
  export interface ModifySelfservicePermissionsResult {
4729
5484
  }
5485
+ /**
5486
+ * @public
5487
+ */
5488
+ export interface ModifyStreamingPropertiesRequest {
5489
+ /**
5490
+ * <p>The identifier of the resource.</p>
5491
+ * @public
5492
+ */
5493
+ ResourceId: string | undefined;
5494
+ /**
5495
+ * <p>The streaming properties to configure.</p>
5496
+ * @public
5497
+ */
5498
+ StreamingProperties?: StreamingProperties;
5499
+ }
5500
+ /**
5501
+ * @public
5502
+ */
5503
+ export interface ModifyStreamingPropertiesResult {
5504
+ }
4730
5505
  /**
4731
5506
  * @public
4732
5507
  */
@@ -4815,6 +5590,11 @@ export interface WorkspaceCreationProperties {
4815
5590
  * @public
4816
5591
  */
4817
5592
  EnableMaintenanceMode?: boolean;
5593
+ /**
5594
+ * <p>Indicates the IAM role ARN of the instance.</p>
5595
+ * @public
5596
+ */
5597
+ InstanceIamRoleArn?: string;
4818
5598
  }
4819
5599
  /**
4820
5600
  * @public
@@ -4982,7 +5762,7 @@ export interface RegisterWorkspaceDirectoryRequest {
4982
5762
  * WorkSpaces, and try again.</p>
4983
5763
  * @public
4984
5764
  */
4985
- DirectoryId: string | undefined;
5765
+ DirectoryId?: string;
4986
5766
  /**
4987
5767
  * <p>The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the
4988
5768
  * subnets are in supported Availability Zones. The subnets must also be in separate
@@ -4998,7 +5778,7 @@ export interface RegisterWorkspaceDirectoryRequest {
4998
5778
  * again.</p>
4999
5779
  * @public
5000
5780
  */
5001
- EnableWorkDocs: boolean | undefined;
5781
+ EnableWorkDocs?: boolean;
5002
5782
  /**
5003
5783
  * <p>Indicates whether self-service capabilities are enabled or disabled.</p>
5004
5784
  * @public
@@ -5018,11 +5798,46 @@ export interface RegisterWorkspaceDirectoryRequest {
5018
5798
  * @public
5019
5799
  */
5020
5800
  Tags?: Tag[];
5801
+ /**
5802
+ * <p>The name of the directory to register.</p>
5803
+ * @public
5804
+ */
5805
+ WorkspaceDirectoryName?: string;
5806
+ /**
5807
+ * <p>Description of the directory to register.</p>
5808
+ * @public
5809
+ */
5810
+ WorkspaceDirectoryDescription?: string;
5811
+ /**
5812
+ * <p>The type of identity management the user is using.</p>
5813
+ * @public
5814
+ */
5815
+ UserIdentityType?: UserIdentityType;
5816
+ /**
5817
+ * <p>Indicates whether the directory's WorkSpace type is personal or pools.</p>
5818
+ * @public
5819
+ */
5820
+ WorkspaceType?: WorkspaceType;
5821
+ /**
5822
+ * <p>The active directory config of the directory.</p>
5823
+ * @public
5824
+ */
5825
+ ActiveDirectoryConfig?: ActiveDirectoryConfig;
5021
5826
  }
5022
5827
  /**
5023
5828
  * @public
5024
5829
  */
5025
5830
  export interface RegisterWorkspaceDirectoryResult {
5831
+ /**
5832
+ * <p>The identifier of the directory.</p>
5833
+ * @public
5834
+ */
5835
+ DirectoryId?: string;
5836
+ /**
5837
+ * <p>The registration status of the WorkSpace directory.</p>
5838
+ * @public
5839
+ */
5840
+ State?: WorkspaceDirectoryState;
5026
5841
  }
5027
5842
  /**
5028
5843
  * <p>The configuration of this network is not supported for this operation, or your network configuration
@@ -5112,216 +5927,3 @@ export interface RevokeIpRulesRequest {
5112
5927
  */
5113
5928
  export interface RevokeIpRulesResult {
5114
5929
  }
5115
- /**
5116
- * <p>Information used to start a WorkSpace.</p>
5117
- * @public
5118
- */
5119
- export interface StartRequest {
5120
- /**
5121
- * <p>The identifier of the WorkSpace.</p>
5122
- * @public
5123
- */
5124
- WorkspaceId?: string;
5125
- }
5126
- /**
5127
- * @public
5128
- */
5129
- export interface StartWorkspacesRequest {
5130
- /**
5131
- * <p>The WorkSpaces to start. You can specify up to 25 WorkSpaces.</p>
5132
- * @public
5133
- */
5134
- StartWorkspaceRequests: StartRequest[] | undefined;
5135
- }
5136
- /**
5137
- * @public
5138
- */
5139
- export interface StartWorkspacesResult {
5140
- /**
5141
- * <p>Information about the WorkSpaces that could not be started.</p>
5142
- * @public
5143
- */
5144
- FailedRequests?: FailedWorkspaceChangeRequest[];
5145
- }
5146
- /**
5147
- * <p>Describes the information used to stop a WorkSpace.</p>
5148
- * @public
5149
- */
5150
- export interface StopRequest {
5151
- /**
5152
- * <p>The identifier of the WorkSpace.</p>
5153
- * @public
5154
- */
5155
- WorkspaceId?: string;
5156
- }
5157
- /**
5158
- * @public
5159
- */
5160
- export interface StopWorkspacesRequest {
5161
- /**
5162
- * <p>The WorkSpaces to stop. You can specify up to 25 WorkSpaces.</p>
5163
- * @public
5164
- */
5165
- StopWorkspaceRequests: StopRequest[] | undefined;
5166
- }
5167
- /**
5168
- * @public
5169
- */
5170
- export interface StopWorkspacesResult {
5171
- /**
5172
- * <p>Information about the WorkSpaces that could not be stopped.</p>
5173
- * @public
5174
- */
5175
- FailedRequests?: FailedWorkspaceChangeRequest[];
5176
- }
5177
- /**
5178
- * <p>Describes the information used to terminate a WorkSpace.</p>
5179
- * @public
5180
- */
5181
- export interface TerminateRequest {
5182
- /**
5183
- * <p>The identifier of the WorkSpace.</p>
5184
- * @public
5185
- */
5186
- WorkspaceId: string | undefined;
5187
- }
5188
- /**
5189
- * @public
5190
- */
5191
- export interface TerminateWorkspacesRequest {
5192
- /**
5193
- * <p>The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.</p>
5194
- * @public
5195
- */
5196
- TerminateWorkspaceRequests: TerminateRequest[] | undefined;
5197
- }
5198
- /**
5199
- * @public
5200
- */
5201
- export interface TerminateWorkspacesResult {
5202
- /**
5203
- * <p>Information about the WorkSpaces that could not be terminated.</p>
5204
- * @public
5205
- */
5206
- FailedRequests?: FailedWorkspaceChangeRequest[];
5207
- }
5208
- /**
5209
- * @public
5210
- */
5211
- export interface UpdateConnectClientAddInRequest {
5212
- /**
5213
- * <p>The identifier of the client add-in to update.</p>
5214
- * @public
5215
- */
5216
- AddInId: string | undefined;
5217
- /**
5218
- * <p>The directory identifier for which the client add-in is configured.</p>
5219
- * @public
5220
- */
5221
- ResourceId: string | undefined;
5222
- /**
5223
- * <p>The name of the client add-in.</p>
5224
- * @public
5225
- */
5226
- Name?: string;
5227
- /**
5228
- * <p>The endpoint URL of the Amazon Connect client add-in.</p>
5229
- * @public
5230
- */
5231
- URL?: string;
5232
- }
5233
- /**
5234
- * @public
5235
- */
5236
- export interface UpdateConnectClientAddInResult {
5237
- }
5238
- /**
5239
- * @public
5240
- */
5241
- export interface UpdateConnectionAliasPermissionRequest {
5242
- /**
5243
- * <p>The identifier of the connection alias that you want to update permissions for.</p>
5244
- * @public
5245
- */
5246
- AliasId: string | undefined;
5247
- /**
5248
- * <p>Indicates whether to share or unshare the connection alias with the specified Amazon Web Services account.</p>
5249
- * @public
5250
- */
5251
- ConnectionAliasPermission: ConnectionAliasPermission | undefined;
5252
- }
5253
- /**
5254
- * @public
5255
- */
5256
- export interface UpdateConnectionAliasPermissionResult {
5257
- }
5258
- /**
5259
- * @public
5260
- */
5261
- export interface UpdateRulesOfIpGroupRequest {
5262
- /**
5263
- * <p>The identifier of the group.</p>
5264
- * @public
5265
- */
5266
- GroupId: string | undefined;
5267
- /**
5268
- * <p>One or more rules.</p>
5269
- * @public
5270
- */
5271
- UserRules: IpRuleItem[] | undefined;
5272
- }
5273
- /**
5274
- * @public
5275
- */
5276
- export interface UpdateRulesOfIpGroupResult {
5277
- }
5278
- /**
5279
- * @public
5280
- */
5281
- export interface UpdateWorkspaceBundleRequest {
5282
- /**
5283
- * <p>The identifier of the bundle.</p>
5284
- * @public
5285
- */
5286
- BundleId?: string;
5287
- /**
5288
- * <p>The identifier of the image.</p>
5289
- * @public
5290
- */
5291
- ImageId?: string;
5292
- }
5293
- /**
5294
- * @public
5295
- */
5296
- export interface UpdateWorkspaceBundleResult {
5297
- }
5298
- /**
5299
- * @public
5300
- */
5301
- export interface UpdateWorkspaceImagePermissionRequest {
5302
- /**
5303
- * <p>The identifier of the image.</p>
5304
- * @public
5305
- */
5306
- ImageId: string | undefined;
5307
- /**
5308
- * <p>The permission to copy the image. This permission can be revoked only after an image has
5309
- * been shared.</p>
5310
- * @public
5311
- */
5312
- AllowCopyImage: boolean | undefined;
5313
- /**
5314
- * <p>The identifier of the Amazon Web Services account to share or unshare the image
5315
- * with.</p>
5316
- * <important>
5317
- * <p>Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.</p>
5318
- * </important>
5319
- * @public
5320
- */
5321
- SharedAccountId: string | undefined;
5322
- }
5323
- /**
5324
- * @public
5325
- */
5326
- export interface UpdateWorkspaceImagePermissionResult {
5327
- }