@aws-sdk/client-workspaces 3.598.0 → 3.606.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 (73) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +535 -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 +101 -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/CreateWorkspacesPoolCommand.d.ts +130 -0
  21. package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +30 -1
  22. package/dist-types/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +88 -0
  23. package/dist-types/commands/DescribeWorkspacesPoolsCommand.d.ts +116 -0
  24. package/dist-types/commands/DisassociateIpGroupsCommand.d.ts +3 -0
  25. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +3 -0
  26. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +3 -0
  27. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +86 -0
  28. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -0
  29. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +18 -4
  30. package/dist-types/commands/StartWorkspacesCommand.d.ts +1 -1
  31. package/dist-types/commands/StartWorkspacesPoolCommand.d.ts +81 -0
  32. package/dist-types/commands/StopWorkspacesCommand.d.ts +1 -1
  33. package/dist-types/commands/StopWorkspacesPoolCommand.d.ts +75 -0
  34. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
  35. package/dist-types/commands/TerminateWorkspacesPoolCommand.d.ts +73 -0
  36. package/dist-types/commands/TerminateWorkspacesPoolSessionCommand.d.ts +73 -0
  37. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateWorkspacesPoolCommand.d.ts +127 -0
  43. package/dist-types/commands/index.d.ts +9 -0
  44. package/dist-types/models/index.d.ts +1 -0
  45. package/dist-types/models/models_0.d.ts +854 -253
  46. package/dist-types/models/models_1.d.ts +324 -0
  47. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  48. package/dist-types/ts3.4/WorkSpaces.d.ts +155 -0
  49. package/dist-types/ts3.4/WorkSpacesClient.d.ts +56 -2
  50. package/dist-types/ts3.4/commands/CreateWorkspacesPoolCommand.d.ts +40 -0
  51. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolSessionsCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/DescribeWorkspacesPoolsCommand.d.ts +40 -0
  53. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +40 -0
  54. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/StartWorkspacesPoolCommand.d.ts +40 -0
  57. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/StopWorkspacesPoolCommand.d.ts +40 -0
  59. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolCommand.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolSessionCommand.d.ts +40 -0
  62. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateWorkspacesPoolCommand.d.ts +40 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  69. package/dist-types/ts3.4/models/index.d.ts +1 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +266 -58
  71. package/dist-types/ts3.4/models/models_1.d.ts +92 -0
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  73. package/package.json +4 -4
@@ -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 users of a WorkSpaces pool.</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 users of a WorkSpaces pool.</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 WorkSpaces pool.</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 WorkSpaces pool</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 WorkSpaces pools.</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
@@ -2198,6 +2318,240 @@ export interface CreateWorkspacesResult {
2198
2318
  */
2199
2319
  PendingRequests?: Workspace[];
2200
2320
  }
2321
+ /**
2322
+ * <p>Describes the timeout settings for a WorkSpaces pool.</p>
2323
+ * @public
2324
+ */
2325
+ export interface TimeoutSettings {
2326
+ /**
2327
+ * <p>Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
2328
+ * If users try to reconnect to the streaming session after a disconnection or network interruption
2329
+ * within the time set, they are connected to their previous session. Otherwise, they are connected
2330
+ * to a new session with a new streaming instance.</p>
2331
+ * @public
2332
+ */
2333
+ DisconnectTimeoutInSeconds?: number;
2334
+ /**
2335
+ * <p>The amount of time in seconds a connection will stay active while idle.</p>
2336
+ * @public
2337
+ */
2338
+ IdleDisconnectTimeoutInSeconds?: number;
2339
+ /**
2340
+ * <p>Specifies the maximum amount of time, in seconds, that a streaming session can remain active.
2341
+ * If users are still connected to a streaming instance five minutes before this limit is reached,
2342
+ * they are prompted to save any open documents before being disconnected. After this time elapses,
2343
+ * the instance is terminated and replaced by a new instance.</p>
2344
+ * @public
2345
+ */
2346
+ MaxUserDurationInSeconds?: number;
2347
+ }
2348
+ /**
2349
+ * @public
2350
+ */
2351
+ export interface CreateWorkspacesPoolRequest {
2352
+ /**
2353
+ * <p>The name of the WorkSpaces pool.</p>
2354
+ * @public
2355
+ */
2356
+ PoolName: string | undefined;
2357
+ /**
2358
+ * <p>The WorkSpaces pool description.</p>
2359
+ * @public
2360
+ */
2361
+ Description: string | undefined;
2362
+ /**
2363
+ * <p>The identifier of the bundle for the WorkSpaces pool.</p>
2364
+ * @public
2365
+ */
2366
+ BundleId: string | undefined;
2367
+ /**
2368
+ * <p>The identifier of the directory for the WorkSpaces pool.</p>
2369
+ * @public
2370
+ */
2371
+ DirectoryId: string | undefined;
2372
+ /**
2373
+ * <p>The user capacity of the WorkSpaces pool.</p>
2374
+ * @public
2375
+ */
2376
+ Capacity: Capacity | undefined;
2377
+ /**
2378
+ * <p>The tags for the WorkSpaces pool.</p>
2379
+ * @public
2380
+ */
2381
+ Tags?: Tag[];
2382
+ /**
2383
+ * <p>Indicates the application settings of the WorkSpaces pool.</p>
2384
+ * @public
2385
+ */
2386
+ ApplicationSettings?: ApplicationSettingsRequest;
2387
+ /**
2388
+ * <p>Indicates the timeout settings of the WorkSpaces pool.</p>
2389
+ * @public
2390
+ */
2391
+ TimeoutSettings?: TimeoutSettings;
2392
+ }
2393
+ /**
2394
+ * @public
2395
+ * @enum
2396
+ */
2397
+ export declare const WorkspacesPoolErrorCode: {
2398
+ readonly BUNDLE_NOT_FOUND: "BUNDLE_NOT_FOUND";
2399
+ readonly DEFAULT_OU_IS_MISSING: "DEFAULT_OU_IS_MISSING";
2400
+ readonly DIRECTORY_NOT_FOUND: "DIRECTORY_NOT_FOUND";
2401
+ readonly DOMAIN_JOIN_ERROR_ACCESS_DENIED: "DOMAIN_JOIN_ERROR_ACCESS_DENIED";
2402
+ readonly DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED: "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED";
2403
+ readonly DOMAIN_JOIN_ERROR_FILE_NOT_FOUND: "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND";
2404
+ readonly DOMAIN_JOIN_ERROR_INVALID_PARAMETER: "DOMAIN_JOIN_ERROR_INVALID_PARAMETER";
2405
+ readonly DOMAIN_JOIN_ERROR_LOGON_FAILURE: "DOMAIN_JOIN_ERROR_LOGON_FAILURE";
2406
+ readonly DOMAIN_JOIN_ERROR_MORE_DATA: "DOMAIN_JOIN_ERROR_MORE_DATA";
2407
+ readonly DOMAIN_JOIN_ERROR_NOT_SUPPORTED: "DOMAIN_JOIN_ERROR_NOT_SUPPORTED";
2408
+ readonly DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN: "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN";
2409
+ readonly DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING: "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING";
2410
+ readonly DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE: "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE";
2411
+ readonly DOMAIN_JOIN_ERROR_SECRET_INVALID: "DOMAIN_JOIN_ERROR_SECRET_INVALID";
2412
+ readonly DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND: "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND";
2413
+ readonly DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID: "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID";
2414
+ readonly DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND: "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND";
2415
+ readonly DOMAIN_JOIN_INTERNAL_SERVICE_ERROR: "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR";
2416
+ readonly DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME: "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME";
2417
+ readonly DOMAIN_JOIN_NERR_PASSWORD_EXPIRED: "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED";
2418
+ readonly DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED: "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED";
2419
+ readonly IAM_SERVICE_ROLE_IS_MISSING: "IAM_SERVICE_ROLE_IS_MISSING";
2420
+ readonly IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION: "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION";
2421
+ readonly IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION: "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION";
2422
+ readonly IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION: "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION";
2423
+ readonly IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION: "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION";
2424
+ readonly IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION: "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION";
2425
+ readonly IGW_NOT_ATTACHED: "IGW_NOT_ATTACHED";
2426
+ readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
2427
+ readonly INSUFFICIENT_PERMISSIONS_ERROR: "INSUFFICIENT_PERMISSIONS_ERROR";
2428
+ readonly INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR";
2429
+ readonly INVALID_SUBNET_CONFIGURATION: "INVALID_SUBNET_CONFIGURATION";
2430
+ readonly MACHINE_ROLE_IS_MISSING: "MACHINE_ROLE_IS_MISSING";
2431
+ readonly NETWORK_INTERFACE_LIMIT_EXCEEDED: "NETWORK_INTERFACE_LIMIT_EXCEEDED";
2432
+ readonly SECURITY_GROUPS_NOT_FOUND: "SECURITY_GROUPS_NOT_FOUND";
2433
+ readonly STS_DISABLED_IN_REGION: "STS_DISABLED_IN_REGION";
2434
+ readonly SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES: "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES";
2435
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
2436
+ readonly WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE: "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE";
2437
+ readonly WORKSPACES_POOL_STOPPED: "WORKSPACES_POOL_STOPPED";
2438
+ };
2439
+ /**
2440
+ * @public
2441
+ */
2442
+ export type WorkspacesPoolErrorCode = (typeof WorkspacesPoolErrorCode)[keyof typeof WorkspacesPoolErrorCode];
2443
+ /**
2444
+ * <p>Describes a WorkSpaces pool error.</p>
2445
+ * @public
2446
+ */
2447
+ export interface WorkspacesPoolError {
2448
+ /**
2449
+ * <p>The error code.</p>
2450
+ * @public
2451
+ */
2452
+ ErrorCode?: WorkspacesPoolErrorCode;
2453
+ /**
2454
+ * <p>The error message.</p>
2455
+ * @public
2456
+ */
2457
+ ErrorMessage?: string;
2458
+ }
2459
+ /**
2460
+ * @public
2461
+ * @enum
2462
+ */
2463
+ export declare const WorkspacesPoolState: {
2464
+ readonly CREATING: "CREATING";
2465
+ readonly DELETING: "DELETING";
2466
+ readonly RUNNING: "RUNNING";
2467
+ readonly STARTING: "STARTING";
2468
+ readonly STOPPED: "STOPPED";
2469
+ readonly STOPPING: "STOPPING";
2470
+ readonly UPDATING: "UPDATING";
2471
+ };
2472
+ /**
2473
+ * @public
2474
+ */
2475
+ export type WorkspacesPoolState = (typeof WorkspacesPoolState)[keyof typeof WorkspacesPoolState];
2476
+ /**
2477
+ * <p>Describes a WorkSpaces pool.</p>
2478
+ * @public
2479
+ */
2480
+ export interface WorkspacesPool {
2481
+ /**
2482
+ * <p>The identifier of a WorkSpaces pool.</p>
2483
+ * @public
2484
+ */
2485
+ PoolId: string | undefined;
2486
+ /**
2487
+ * <p>The Amazon Resource Name (ARN) for the WorkSpaces pool.</p>
2488
+ * @public
2489
+ */
2490
+ PoolArn: string | undefined;
2491
+ /**
2492
+ * <p>The capacity status for the pool</p>
2493
+ * @public
2494
+ */
2495
+ CapacityStatus: CapacityStatus | undefined;
2496
+ /**
2497
+ * <p>The name of the pool,</p>
2498
+ * @public
2499
+ */
2500
+ PoolName: string | undefined;
2501
+ /**
2502
+ * <p>The description of the pool.</p>
2503
+ * @public
2504
+ */
2505
+ Description?: string;
2506
+ /**
2507
+ * <p>The current state of the pool.</p>
2508
+ * @public
2509
+ */
2510
+ State: WorkspacesPoolState | undefined;
2511
+ /**
2512
+ * <p>The time the pool was created.</p>
2513
+ * @public
2514
+ */
2515
+ CreatedAt: Date | undefined;
2516
+ /**
2517
+ * <p>The identifier of the bundle used by the pool.</p>
2518
+ * @public
2519
+ */
2520
+ BundleId: string | undefined;
2521
+ /**
2522
+ * <p>The identifier of the directory used by the pool.</p>
2523
+ * @public
2524
+ */
2525
+ DirectoryId: string | undefined;
2526
+ /**
2527
+ * <p>The pool errors.</p>
2528
+ * @public
2529
+ */
2530
+ Errors?: WorkspacesPoolError[];
2531
+ /**
2532
+ * <p>The persistent application settings for users of the pool.</p>
2533
+ * @public
2534
+ */
2535
+ ApplicationSettings?: ApplicationSettingsResponse;
2536
+ /**
2537
+ * <p>The amount of time that a pool session remains active after users disconnect.
2538
+ * If they try to reconnect to the pool session after a disconnection or network interruption
2539
+ * within this time interval, they are connected to their previous session.
2540
+ * Otherwise, they are connected to a new session with a new pool instance.</p>
2541
+ * @public
2542
+ */
2543
+ TimeoutSettings?: TimeoutSettings;
2544
+ }
2545
+ /**
2546
+ * @public
2547
+ */
2548
+ export interface CreateWorkspacesPoolResult {
2549
+ /**
2550
+ * <p>Indicates the WorkSpaces pool to create.</p>
2551
+ * @public
2552
+ */
2553
+ WorkspacesPool?: WorkspacesPool;
2554
+ }
2201
2555
  /**
2202
2556
  * @public
2203
2557
  * @enum
@@ -2400,6 +2754,11 @@ export interface DefaultWorkspaceCreationProperties {
2400
2754
  * @public
2401
2755
  */
2402
2756
  EnableMaintenanceMode?: boolean;
2757
+ /**
2758
+ * <p>Indicates the IAM role ARN of the instance.</p>
2759
+ * @public
2760
+ */
2761
+ InstanceIamRoleArn?: string;
2403
2762
  }
2404
2763
  /**
2405
2764
  * @public
@@ -3392,6 +3751,11 @@ export interface DescribeWorkspaceDirectoriesRequest {
3392
3751
  * @public
3393
3752
  */
3394
3753
  DirectoryIds?: string[];
3754
+ /**
3755
+ * <p>The names of the WorkSpace directories.</p>
3756
+ * @public
3757
+ */
3758
+ WorkspaceDirectoryNames?: string[];
3395
3759
  /**
3396
3760
  * <p>The maximum number of directories to return.</p>
3397
3761
  * @public
@@ -3410,6 +3774,7 @@ export interface DescribeWorkspaceDirectoriesRequest {
3410
3774
  */
3411
3775
  export declare const WorkspaceDirectoryType: {
3412
3776
  readonly AD_CONNECTOR: "AD_CONNECTOR";
3777
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
3413
3778
  readonly SIMPLE_AD: "SIMPLE_AD";
3414
3779
  };
3415
3780
  /**
@@ -3524,63 +3889,206 @@ export type WorkspaceDirectoryState = (typeof WorkspaceDirectoryState)[keyof typ
3524
3889
  * @public
3525
3890
  * @enum
3526
3891
  */
3527
- export declare const Tenancy: {
3528
- readonly DEDICATED: "DEDICATED";
3529
- readonly SHARED: "SHARED";
3892
+ export declare const StorageConnectorTypeEnum: {
3893
+ readonly HOME_FOLDER: "HOME_FOLDER";
3530
3894
  };
3531
3895
  /**
3532
3896
  * @public
3533
3897
  */
3534
- export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
3898
+ export type StorageConnectorTypeEnum = (typeof StorageConnectorTypeEnum)[keyof typeof StorageConnectorTypeEnum];
3535
3899
  /**
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
3900
  * @public
3901
+ * @enum
3540
3902
  */
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;
3903
+ export declare const StorageConnectorStatusEnum: {
3904
+ readonly DISABLED: "DISABLED";
3905
+ readonly ENABLED: "ENABLED";
3906
+ };
3907
+ /**
3908
+ * @public
3909
+ */
3910
+ export type StorageConnectorStatusEnum = (typeof StorageConnectorStatusEnum)[keyof typeof StorageConnectorStatusEnum];
3911
+ /**
3912
+ * <p>Describes the storage connector.</p>
3913
+ * @public
3914
+ */
3915
+ export interface StorageConnector {
3568
3916
  /**
3569
- * <p>Indicates whether users can use Chromebooks to access their WorkSpaces.</p>
3917
+ * <p>The type of connector used to save user files.</p>
3570
3918
  * @public
3571
3919
  */
3572
- DeviceTypeChromeOs?: AccessPropertyValue;
3920
+ ConnectorType: StorageConnectorTypeEnum | undefined;
3573
3921
  /**
3574
- * <p>Indicates whether users can use zero client devices to access their WorkSpaces.</p>
3922
+ * <p>Indicates if the storage connetor is enabled or disabled.</p>
3575
3923
  * @public
3576
3924
  */
3577
- DeviceTypeZeroClient?: AccessPropertyValue;
3925
+ Status: StorageConnectorStatusEnum | undefined;
3926
+ }
3927
+ /**
3928
+ * @public
3929
+ * @enum
3930
+ */
3931
+ export declare const StreamingExperiencePreferredProtocolEnum: {
3932
+ readonly TCP: "TCP";
3933
+ readonly UDP: "UDP";
3934
+ };
3935
+ /**
3936
+ * @public
3937
+ */
3938
+ export type StreamingExperiencePreferredProtocolEnum = (typeof StreamingExperiencePreferredProtocolEnum)[keyof typeof StreamingExperiencePreferredProtocolEnum];
3939
+ /**
3940
+ * @public
3941
+ * @enum
3942
+ */
3943
+ export declare const UserSettingActionEnum: {
3944
+ readonly CLIPBOARD_COPY_FROM_LOCAL_DEVICE: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE";
3945
+ readonly CLIPBOARD_COPY_TO_LOCAL_DEVICE: "CLIPBOARD_COPY_TO_LOCAL_DEVICE";
3946
+ readonly PRINTING_TO_LOCAL_DEVICE: "PRINTING_TO_LOCAL_DEVICE";
3947
+ readonly SMART_CARD: "SMART_CARD";
3948
+ };
3949
+ /**
3950
+ * @public
3951
+ */
3952
+ export type UserSettingActionEnum = (typeof UserSettingActionEnum)[keyof typeof UserSettingActionEnum];
3953
+ /**
3954
+ * @public
3955
+ * @enum
3956
+ */
3957
+ export declare const UserSettingPermissionEnum: {
3958
+ readonly DISABLED: "DISABLED";
3959
+ readonly ENABLED: "ENABLED";
3960
+ };
3961
+ /**
3962
+ * @public
3963
+ */
3964
+ export type UserSettingPermissionEnum = (typeof UserSettingPermissionEnum)[keyof typeof UserSettingPermissionEnum];
3965
+ /**
3966
+ * <p>Information about the user's permission settings.</p>
3967
+ * @public
3968
+ */
3969
+ export interface UserSetting {
3970
+ /**
3971
+ * <p>Indicates the type of action.</p>
3972
+ * @public
3973
+ */
3974
+ Action: UserSettingActionEnum | undefined;
3975
+ /**
3976
+ * <p>Indicates if the setting is enabled or disabled.</p>
3977
+ * @public
3978
+ */
3979
+ Permission: UserSettingPermissionEnum | undefined;
3980
+ /**
3981
+ * <p>Indicates the maximum character length for the specified user setting.</p>
3982
+ * @public
3983
+ */
3984
+ MaximumLength?: number;
3985
+ }
3986
+ /**
3987
+ * <p>Describes the streaming properties.</p>
3988
+ * @public
3989
+ */
3990
+ export interface StreamingProperties {
3991
+ /**
3992
+ * <p>Indicates the type of preferred protocol for the streaming experience.</p>
3993
+ * @public
3994
+ */
3995
+ StreamingExperiencePreferredProtocol?: StreamingExperiencePreferredProtocolEnum;
3996
+ /**
3997
+ * <p>Indicates the permission settings asscoiated with the user.</p>
3998
+ * @public
3999
+ */
4000
+ UserSettings?: UserSetting[];
4001
+ /**
4002
+ * <p>Indicates the storage connector used </p>
4003
+ * @public
4004
+ */
4005
+ StorageConnectors?: StorageConnector[];
4006
+ }
4007
+ /**
4008
+ * @public
4009
+ * @enum
4010
+ */
4011
+ export declare const Tenancy: {
4012
+ readonly DEDICATED: "DEDICATED";
4013
+ readonly SHARED: "SHARED";
4014
+ };
4015
+ /**
4016
+ * @public
4017
+ */
4018
+ export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
4019
+ /**
4020
+ * @public
4021
+ * @enum
4022
+ */
4023
+ export declare const UserIdentityType: {
4024
+ readonly AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE";
4025
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
4026
+ };
4027
+ /**
4028
+ * @public
4029
+ */
4030
+ export type UserIdentityType = (typeof UserIdentityType)[keyof typeof UserIdentityType];
4031
+ /**
4032
+ * <p>The device types and operating systems that can be used to access a WorkSpace. For more
4033
+ * information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-network-requirements.html">Amazon
4034
+ * WorkSpaces Client Network Requirements</a>.</p>
4035
+ * @public
4036
+ */
4037
+ export interface WorkspaceAccessProperties {
4038
+ /**
4039
+ * <p>Indicates whether users can use Windows clients to access their WorkSpaces.</p>
4040
+ * @public
4041
+ */
4042
+ DeviceTypeWindows?: AccessPropertyValue;
4043
+ /**
4044
+ * <p>Indicates whether users can use macOS clients to access their WorkSpaces.</p>
4045
+ * @public
4046
+ */
4047
+ DeviceTypeOsx?: AccessPropertyValue;
4048
+ /**
4049
+ * <p>Indicates whether users can access their WorkSpaces through a web browser.</p>
4050
+ * @public
4051
+ */
4052
+ DeviceTypeWeb?: AccessPropertyValue;
4053
+ /**
4054
+ * <p>Indicates whether users can use iOS devices to access their WorkSpaces.</p>
4055
+ * @public
4056
+ */
4057
+ DeviceTypeIos?: AccessPropertyValue;
4058
+ /**
4059
+ * <p>Indicates whether users can use Android and Android-compatible Chrome OS devices to
4060
+ * access their WorkSpaces.</p>
4061
+ * @public
4062
+ */
4063
+ DeviceTypeAndroid?: AccessPropertyValue;
4064
+ /**
4065
+ * <p>Indicates whether users can use Chromebooks to access their WorkSpaces.</p>
4066
+ * @public
4067
+ */
4068
+ DeviceTypeChromeOs?: AccessPropertyValue;
4069
+ /**
4070
+ * <p>Indicates whether users can use zero client devices to access their WorkSpaces.</p>
4071
+ * @public
4072
+ */
4073
+ DeviceTypeZeroClient?: AccessPropertyValue;
3578
4074
  /**
3579
4075
  * <p>Indicates whether users can use Linux clients to access their WorkSpaces.</p>
3580
4076
  * @public
3581
4077
  */
3582
4078
  DeviceTypeLinux?: AccessPropertyValue;
3583
4079
  }
4080
+ /**
4081
+ * @public
4082
+ * @enum
4083
+ */
4084
+ export declare const WorkspaceType: {
4085
+ readonly PERSONAL: "PERSONAL";
4086
+ readonly POOLS: "POOLS";
4087
+ };
4088
+ /**
4089
+ * @public
4090
+ */
4091
+ export type WorkspaceType = (typeof WorkspaceType)[keyof typeof WorkspaceType];
3584
4092
  /**
3585
4093
  * <p>Describes a directory that is used with Amazon WorkSpaces.</p>
3586
4094
  * @public
@@ -3687,6 +4195,41 @@ export interface WorkspaceDirectory {
3687
4195
  * @public
3688
4196
  */
3689
4197
  CertificateBasedAuthProperties?: CertificateBasedAuthProperties;
4198
+ /**
4199
+ * <p>The name fo the WorkSpace directory.</p>
4200
+ * @public
4201
+ */
4202
+ WorkspaceDirectoryName?: string;
4203
+ /**
4204
+ * <p>The description of the WorkSpace directory</p>
4205
+ * @public
4206
+ */
4207
+ WorkspaceDirectoryDescription?: string;
4208
+ /**
4209
+ * <p>Indicates the identity type of the specifired user.</p>
4210
+ * @public
4211
+ */
4212
+ UserIdentityType?: UserIdentityType;
4213
+ /**
4214
+ * <p>Indicates whether the directory's WorkSpace type is personal or pools.</p>
4215
+ * @public
4216
+ */
4217
+ WorkspaceType?: WorkspaceType;
4218
+ /**
4219
+ * <p>Information about the Active Directory config.</p>
4220
+ * @public
4221
+ */
4222
+ ActiveDirectoryConfig?: ActiveDirectoryConfig;
4223
+ /**
4224
+ * <p>The streaming properties to configure.</p>
4225
+ * @public
4226
+ */
4227
+ StreamingProperties?: StreamingProperties;
4228
+ /**
4229
+ * <p>The error message returned.</p>
4230
+ * @public
4231
+ */
4232
+ ErrorMessage?: string;
3690
4233
  }
3691
4234
  /**
3692
4235
  * @public
@@ -4124,6 +4667,217 @@ export interface DescribeWorkspaceSnapshotsResult {
4124
4667
  */
4125
4668
  RestoreSnapshots?: Snapshot[];
4126
4669
  }
4670
+ /**
4671
+ * @public
4672
+ * @enum
4673
+ */
4674
+ export declare const DescribeWorkspacesPoolsFilterName: {
4675
+ readonly POOLNAME: "PoolName";
4676
+ };
4677
+ /**
4678
+ * @public
4679
+ */
4680
+ export type DescribeWorkspacesPoolsFilterName = (typeof DescribeWorkspacesPoolsFilterName)[keyof typeof DescribeWorkspacesPoolsFilterName];
4681
+ /**
4682
+ * @public
4683
+ * @enum
4684
+ */
4685
+ export declare const DescribeWorkspacesPoolsFilterOperator: {
4686
+ readonly CONTAINS: "CONTAINS";
4687
+ readonly EQUALS: "EQUALS";
4688
+ readonly NOTCONTAINS: "NOTCONTAINS";
4689
+ readonly NOTEQUALS: "NOTEQUALS";
4690
+ };
4691
+ /**
4692
+ * @public
4693
+ */
4694
+ export type DescribeWorkspacesPoolsFilterOperator = (typeof DescribeWorkspacesPoolsFilterOperator)[keyof typeof DescribeWorkspacesPoolsFilterOperator];
4695
+ /**
4696
+ * <p>Describes the filter conditions for the WorkSpaces pool to return.</p>
4697
+ * @public
4698
+ */
4699
+ export interface DescribeWorkspacesPoolsFilter {
4700
+ /**
4701
+ * <p>The name of the pool to filter.</p>
4702
+ * @public
4703
+ */
4704
+ Name: DescribeWorkspacesPoolsFilterName | undefined;
4705
+ /**
4706
+ * <p>The values for filtering WorkSpaces pools.</p>
4707
+ * @public
4708
+ */
4709
+ Values: string[] | undefined;
4710
+ /**
4711
+ * <p>The operator values for filtering WorkSpaces pools.</p>
4712
+ * @public
4713
+ */
4714
+ Operator: DescribeWorkspacesPoolsFilterOperator | undefined;
4715
+ }
4716
+ /**
4717
+ * @public
4718
+ */
4719
+ export interface DescribeWorkspacesPoolsRequest {
4720
+ /**
4721
+ * <p>The identifier of the WorkSpaces pool.</p>
4722
+ * @public
4723
+ */
4724
+ PoolIds?: string[];
4725
+ /**
4726
+ * <p>The filter conditions for the WorkSpaces pool to return.</p>
4727
+ * @public
4728
+ */
4729
+ Filters?: DescribeWorkspacesPoolsFilter[];
4730
+ /**
4731
+ * <p>The maximum number of items to return.</p>
4732
+ * @public
4733
+ */
4734
+ Limit?: number;
4735
+ /**
4736
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4737
+ * provide this token to receive the next set of results.</p>
4738
+ * @public
4739
+ */
4740
+ NextToken?: string;
4741
+ }
4742
+ /**
4743
+ * @public
4744
+ */
4745
+ export interface DescribeWorkspacesPoolsResult {
4746
+ /**
4747
+ * <p>Information about the WorkSpaces pools.</p>
4748
+ * @public
4749
+ */
4750
+ WorkspacesPools?: WorkspacesPool[];
4751
+ /**
4752
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4753
+ * provide this token to receive the next set of results.</p>
4754
+ * @public
4755
+ */
4756
+ NextToken?: string;
4757
+ }
4758
+ /**
4759
+ * @public
4760
+ */
4761
+ export interface DescribeWorkspacesPoolSessionsRequest {
4762
+ /**
4763
+ * <p>The identifier of the WorkSpaces pool.</p>
4764
+ * @public
4765
+ */
4766
+ PoolId: string | undefined;
4767
+ /**
4768
+ * <p>The identifier of the user.</p>
4769
+ * @public
4770
+ */
4771
+ UserId?: string;
4772
+ /**
4773
+ * <p>The maximum number of items to return.</p>
4774
+ * @public
4775
+ */
4776
+ Limit?: number;
4777
+ /**
4778
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4779
+ * provide this token to receive the next set of results.</p>
4780
+ * @public
4781
+ */
4782
+ NextToken?: string;
4783
+ }
4784
+ /**
4785
+ * @public
4786
+ * @enum
4787
+ */
4788
+ export declare const SessionConnectionState: {
4789
+ readonly CONNECTED: "CONNECTED";
4790
+ readonly NOT_CONNECTED: "NOT_CONNECTED";
4791
+ };
4792
+ /**
4793
+ * @public
4794
+ */
4795
+ export type SessionConnectionState = (typeof SessionConnectionState)[keyof typeof SessionConnectionState];
4796
+ /**
4797
+ * <p>Describes the network details of a WorkSpaces pool.</p>
4798
+ * @public
4799
+ */
4800
+ export interface NetworkAccessConfiguration {
4801
+ /**
4802
+ * <p>The private IP address of the elastic network interface that is attached to instances in your VPC.</p>
4803
+ * @public
4804
+ */
4805
+ EniPrivateIpAddress?: string;
4806
+ /**
4807
+ * <p>The resource identifier of the elastic network interface that is attached to instances in your
4808
+ * VPC. All network interfaces have the eni-xxxxxxxx resource identifier.</p>
4809
+ * @public
4810
+ */
4811
+ EniId?: string;
4812
+ }
4813
+ /**
4814
+ * <p>Describes a WorkSpaces pool session.</p>
4815
+ * @public
4816
+ */
4817
+ export interface WorkspacesPoolSession {
4818
+ /**
4819
+ * <p>The authentication method. The user is authenticated using a WorkSpaces
4820
+ * pool URL (API) or SAML 2.0 federation (SAML).</p>
4821
+ * @public
4822
+ */
4823
+ AuthenticationType?: AuthenticationType;
4824
+ /**
4825
+ * <p>Specifies whether a user is connected to the pool session.</p>
4826
+ * @public
4827
+ */
4828
+ ConnectionState?: SessionConnectionState;
4829
+ /**
4830
+ * <p>The identifier of the session.</p>
4831
+ * @public
4832
+ */
4833
+ SessionId: string | undefined;
4834
+ /**
4835
+ * <p>The identifier for the instance hosting the session.</p>
4836
+ * @public
4837
+ */
4838
+ InstanceId?: string;
4839
+ /**
4840
+ * <p>The identifier of the pool.</p>
4841
+ * @public
4842
+ */
4843
+ PoolId: string | undefined;
4844
+ /**
4845
+ * <p>The time that the pool session ended.</p>
4846
+ * @public
4847
+ */
4848
+ ExpirationTime?: Date;
4849
+ /**
4850
+ * <p>Describes the network details of the pool.</p>
4851
+ * @public
4852
+ */
4853
+ NetworkAccessConfiguration?: NetworkAccessConfiguration;
4854
+ /**
4855
+ * <p>The time that the pool sission started.</p>
4856
+ * @public
4857
+ */
4858
+ StartTime?: Date;
4859
+ /**
4860
+ * <p>The identifier of the user.</p>
4861
+ * @public
4862
+ */
4863
+ UserId: string | undefined;
4864
+ }
4865
+ /**
4866
+ * @public
4867
+ */
4868
+ export interface DescribeWorkspacesPoolSessionsResult {
4869
+ /**
4870
+ * <p>Describes the WorkSpaces pool sessions.</p>
4871
+ * @public
4872
+ */
4873
+ Sessions?: WorkspacesPoolSession[];
4874
+ /**
4875
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated,
4876
+ * provide this token to receive the next set of results.</p>
4877
+ * @public
4878
+ */
4879
+ NextToken?: string;
4880
+ }
4127
4881
  /**
4128
4882
  * @public
4129
4883
  */
@@ -4727,6 +5481,26 @@ export interface ModifySelfservicePermissionsRequest {
4727
5481
  */
4728
5482
  export interface ModifySelfservicePermissionsResult {
4729
5483
  }
5484
+ /**
5485
+ * @public
5486
+ */
5487
+ export interface ModifyStreamingPropertiesRequest {
5488
+ /**
5489
+ * <p>The identifier of the resource.</p>
5490
+ * @public
5491
+ */
5492
+ ResourceId: string | undefined;
5493
+ /**
5494
+ * <p>The streaming properties to configure.</p>
5495
+ * @public
5496
+ */
5497
+ StreamingProperties?: StreamingProperties;
5498
+ }
5499
+ /**
5500
+ * @public
5501
+ */
5502
+ export interface ModifyStreamingPropertiesResult {
5503
+ }
4730
5504
  /**
4731
5505
  * @public
4732
5506
  */
@@ -4815,6 +5589,11 @@ export interface WorkspaceCreationProperties {
4815
5589
  * @public
4816
5590
  */
4817
5591
  EnableMaintenanceMode?: boolean;
5592
+ /**
5593
+ * <p>Indicates the IAM role ARN of the instance.</p>
5594
+ * @public
5595
+ */
5596
+ InstanceIamRoleArn?: string;
4818
5597
  }
4819
5598
  /**
4820
5599
  * @public
@@ -4982,7 +5761,7 @@ export interface RegisterWorkspaceDirectoryRequest {
4982
5761
  * WorkSpaces, and try again.</p>
4983
5762
  * @public
4984
5763
  */
4985
- DirectoryId: string | undefined;
5764
+ DirectoryId?: string;
4986
5765
  /**
4987
5766
  * <p>The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the
4988
5767
  * subnets are in supported Availability Zones. The subnets must also be in separate
@@ -4998,7 +5777,7 @@ export interface RegisterWorkspaceDirectoryRequest {
4998
5777
  * again.</p>
4999
5778
  * @public
5000
5779
  */
5001
- EnableWorkDocs: boolean | undefined;
5780
+ EnableWorkDocs?: boolean;
5002
5781
  /**
5003
5782
  * <p>Indicates whether self-service capabilities are enabled or disabled.</p>
5004
5783
  * @public
@@ -5018,11 +5797,46 @@ export interface RegisterWorkspaceDirectoryRequest {
5018
5797
  * @public
5019
5798
  */
5020
5799
  Tags?: Tag[];
5800
+ /**
5801
+ * <p>The name of the directory to register.</p>
5802
+ * @public
5803
+ */
5804
+ WorkspaceDirectoryName?: string;
5805
+ /**
5806
+ * <p>Description of the directory to register.</p>
5807
+ * @public
5808
+ */
5809
+ WorkspaceDirectoryDescription?: string;
5810
+ /**
5811
+ * <p>The type of identity management the user is using.</p>
5812
+ * @public
5813
+ */
5814
+ UserIdentityType?: UserIdentityType;
5815
+ /**
5816
+ * <p>Indicates whether the directory's WorkSpace type is personal or pools.</p>
5817
+ * @public
5818
+ */
5819
+ WorkspaceType?: WorkspaceType;
5820
+ /**
5821
+ * <p>The active directory config of the directory.</p>
5822
+ * @public
5823
+ */
5824
+ ActiveDirectoryConfig?: ActiveDirectoryConfig;
5021
5825
  }
5022
5826
  /**
5023
5827
  * @public
5024
5828
  */
5025
5829
  export interface RegisterWorkspaceDirectoryResult {
5830
+ /**
5831
+ * <p>The identifier of the directory.</p>
5832
+ * @public
5833
+ */
5834
+ DirectoryId?: string;
5835
+ /**
5836
+ * <p>The registration status of the WorkSpace directory.</p>
5837
+ * @public
5838
+ */
5839
+ State?: WorkspaceDirectoryState;
5026
5840
  }
5027
5841
  /**
5028
5842
  * <p>The configuration of this network is not supported for this operation, or your network configuration
@@ -5112,216 +5926,3 @@ export interface RevokeIpRulesRequest {
5112
5926
  */
5113
5927
  export interface RevokeIpRulesResult {
5114
5928
  }
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
- }