From 01552b00bfc18dd1f08bc2b029af5389dae37b5f Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 30 Jul 2024 18:19:27 +0000 Subject: [PATCH] docs(client-workspaces): Removing multi-session as it isn't supported for pools --- .../src/commands/CreateWorkspacesCommand.ts | 7 +++++++ clients/client-workspaces/src/models/models_0.ts | 15 ++++++++++----- codegen/sdk-codegen/aws-models/workspaces.json | 12 ++++++------ 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/clients/client-workspaces/src/commands/CreateWorkspacesCommand.ts b/clients/client-workspaces/src/commands/CreateWorkspacesCommand.ts index f8cb7b551d30..ece7793187a2 100644 --- a/clients/client-workspaces/src/commands/CreateWorkspacesCommand.ts +++ b/clients/client-workspaces/src/commands/CreateWorkspacesCommand.ts @@ -46,6 +46,13 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _ *

User-decoupled WorkSpaces are only supported by Amazon WorkSpaces * Core.

* + *
  • + *

    Review your running mode to ensure you are using one that is optimal for your needs and budget. + * For more information on switching running modes, see + * + * Can I switch between hourly and monthly billing? + *

    + *
  • * * * @example diff --git a/clients/client-workspaces/src/models/models_0.ts b/clients/client-workspaces/src/models/models_0.ts index 51d84b712fa8..cdd1a4032f0a 100644 --- a/clients/client-workspaces/src/models/models_0.ts +++ b/clients/client-workspaces/src/models/models_0.ts @@ -1168,8 +1168,7 @@ export interface BundleResourceAssociation { */ export interface Capacity { /** - *

    The desired number of user sessions for a multi-session pool. - * This is not allowed for single-session pools.

    + *

    The desired number of user sessions for the WorkSpaces in the pool.

    * @public */ DesiredUserSessions: number | undefined; @@ -1181,7 +1180,8 @@ export interface Capacity { */ export interface CapacityStatus { /** - *

    The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.

    + *

    The number of user sessions currently available for streaming from your pool.

    + *

    AvailableUserSessions = ActualUserSessions - ActiveUserSessions

    * @public */ AvailableUserSessions: number | undefined; @@ -1195,13 +1195,15 @@ export interface CapacityStatus { DesiredUserSessions: number | undefined; /** - *

    The total number of session slots that are available for a pool of WorkSpaces.

    + *

    The total number of user sessions that are available for streaming or are currently + * streaming in your pool.

    + *

    ActualUserSessions = AvailableUserSessions + ActiveUserSessions

    * @public */ ActualUserSessions: number | undefined; /** - *

    The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.

    + *

    The number of user sessions currently being used for your pool.

    * @public */ ActiveUserSessions: number | undefined; @@ -2244,6 +2246,9 @@ export interface WorkspaceProperties { * your account team to be allow-listed to use this value. For more information, see * Amazon WorkSpaces Core.

    * + *

    Review your running mode to ensure you are using one that is optimal for your needs and + * budget. For more information on switching running modes, see Can I switch between hourly and monthly billing? + *

    * @public */ RunningMode?: RunningMode; diff --git a/codegen/sdk-codegen/aws-models/workspaces.json b/codegen/sdk-codegen/aws-models/workspaces.json index d0de4425aedf..4433b76cc3a5 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.json +++ b/codegen/sdk-codegen/aws-models/workspaces.json @@ -1076,7 +1076,7 @@ "DesiredUserSessions": { "target": "com.amazonaws.workspaces#DesiredUserSessions", "traits": { - "smithy.api#documentation": "

    The desired number of user sessions for a multi-session pool. \n This is not allowed for single-session pools.

    ", + "smithy.api#documentation": "

    The desired number of user sessions for the WorkSpaces in the pool.

    ", "smithy.api#required": {} } } @@ -1091,7 +1091,7 @@ "AvailableUserSessions": { "target": "com.amazonaws.workspaces#AvailableUserSessions", "traits": { - "smithy.api#documentation": "

    The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.

    ", + "smithy.api#documentation": "

    The number of user sessions currently available for streaming from your pool.

    \n

    AvailableUserSessions = ActualUserSessions - ActiveUserSessions

    ", "smithy.api#required": {} } }, @@ -1105,14 +1105,14 @@ "ActualUserSessions": { "target": "com.amazonaws.workspaces#ActualUserSessions", "traits": { - "smithy.api#documentation": "

    The total number of session slots that are available for a pool of WorkSpaces.

    ", + "smithy.api#documentation": "

    The total number of user sessions that are available for streaming or are currently \n streaming in your pool.

    \n

    ActualUserSessions = AvailableUserSessions + ActiveUserSessions

    ", "smithy.api#required": {} } }, "ActiveUserSessions": { "target": "com.amazonaws.workspaces#ActiveUserSessions", "traits": { - "smithy.api#documentation": "

    The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.

    ", + "smithy.api#documentation": "

    The number of user sessions currently being used for your pool.

    ", "smithy.api#required": {} } } @@ -2478,7 +2478,7 @@ } ], "traits": { - "smithy.api#documentation": "

    Creates one or more WorkSpaces.

    \n

    This operation is asynchronous and returns before the WorkSpaces are created.

    \n \n \n " + "smithy.api#documentation": "

    Creates one or more WorkSpaces.

    \n

    This operation is asynchronous and returns before the WorkSpaces are created.

    \n \n \n " } }, "com.amazonaws.workspaces#CreateWorkspacesPool": { @@ -10799,7 +10799,7 @@ "RunningMode": { "target": "com.amazonaws.workspaces#RunningMode", "traits": { - "smithy.api#documentation": "

    The running mode. For more information, see Manage the WorkSpace Running\n Mode.

    \n \n

    The MANUAL value is only supported by Amazon WorkSpaces Core. Contact\n your account team to be allow-listed to use this value. For more information, see\n Amazon WorkSpaces Core.

    \n
    " + "smithy.api#documentation": "

    The running mode. For more information, see Manage the WorkSpace Running\n Mode.

    \n \n

    The MANUAL value is only supported by Amazon WorkSpaces Core. Contact\n your account team to be allow-listed to use this value. For more information, see\n Amazon WorkSpaces Core.

    \n
    \n

    Review your running mode to ensure you are using one that is optimal for your needs and\n budget. For more information on switching running modes, see Can I switch between hourly and monthly billing?\n

    " } }, "RunningModeAutoStopTimeoutInMinutes": {