@aws-sdk/client-appstream 3.409.0 → 3.413.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.
@@ -392,6 +392,7 @@ exports.UsageReportExecutionErrorCode = {
392
392
  exports.FleetAttribute = {
393
393
  DOMAIN_JOIN_INFO: "DOMAIN_JOIN_INFO",
394
394
  IAM_ROLE_ARN: "IAM_ROLE_ARN",
395
+ MAX_SESSIONS_PER_INSTANCE: "MAX_SESSIONS_PER_INSTANCE",
395
396
  SESSION_SCRIPT_S3_LOCATION: "SESSION_SCRIPT_S3_LOCATION",
396
397
  USB_DEVICE_FILTER_STRINGS: "USB_DEVICE_FILTER_STRINGS",
397
398
  VPC_CONFIGURATION: "VPC_CONFIGURATION",
@@ -3994,6 +3994,7 @@ const de_Fleet = (output, context) => {
3994
3994
  ImageName: smithy_client_1.expectString,
3995
3995
  InstanceType: smithy_client_1.expectString,
3996
3996
  MaxConcurrentSessions: smithy_client_1.expectInt32,
3997
+ MaxSessionsPerInstance: smithy_client_1.expectInt32,
3997
3998
  MaxUserDurationInSeconds: smithy_client_1.expectInt32,
3998
3999
  Name: smithy_client_1.expectString,
3999
4000
  Platform: smithy_client_1.expectString,
@@ -4092,6 +4093,7 @@ const de_Session = (output, context) => {
4092
4093
  ConnectionState: smithy_client_1.expectString,
4093
4094
  FleetName: smithy_client_1.expectString,
4094
4095
  Id: smithy_client_1.expectString,
4096
+ InstanceId: smithy_client_1.expectString,
4095
4097
  MaxExpirationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4096
4098
  NetworkAccessConfiguration: smithy_client_1._json,
4097
4099
  StackName: smithy_client_1.expectString,
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -18,7 +18,7 @@ const checkState = async (client, input) => {
18
18
  };
19
19
  let allStringEq_5 = returnComparator().length > 0;
20
20
  for (const element_4 of returnComparator()) {
21
- allStringEq_5 = allStringEq_5 && element_4 == "RUNNING";
21
+ allStringEq_5 = allStringEq_5 && element_4 == "ACTIVE";
22
22
  }
23
23
  if (allStringEq_5) {
24
24
  return { state: util_waiter_1.WaiterState.SUCCESS, reason };
@@ -34,7 +34,7 @@ const checkState = async (client, input) => {
34
34
  return projection_3;
35
35
  };
36
36
  for (const anyStringEq_4 of returnComparator()) {
37
- if (anyStringEq_4 == "STOPPING") {
37
+ if (anyStringEq_4 == "PENDING_DEACTIVATE") {
38
38
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
39
39
  }
40
40
  }
@@ -49,7 +49,7 @@ const checkState = async (client, input) => {
49
49
  return projection_3;
50
50
  };
51
51
  for (const anyStringEq_4 of returnComparator()) {
52
- if (anyStringEq_4 == "STOPPED") {
52
+ if (anyStringEq_4 == "INACTIVE") {
53
53
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
54
54
  }
55
55
  }
@@ -18,7 +18,7 @@ const checkState = async (client, input) => {
18
18
  };
19
19
  let allStringEq_5 = returnComparator().length > 0;
20
20
  for (const element_4 of returnComparator()) {
21
- allStringEq_5 = allStringEq_5 && element_4 == "STOPPED";
21
+ allStringEq_5 = allStringEq_5 && element_4 == "INACTIVE";
22
22
  }
23
23
  if (allStringEq_5) {
24
24
  return { state: util_waiter_1.WaiterState.SUCCESS, reason };
@@ -34,7 +34,7 @@ const checkState = async (client, input) => {
34
34
  return projection_3;
35
35
  };
36
36
  for (const anyStringEq_4 of returnComparator()) {
37
- if (anyStringEq_4 == "STARTING") {
37
+ if (anyStringEq_4 == "PENDING_ACTIVATE") {
38
38
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
39
39
  }
40
40
  }
@@ -49,7 +49,7 @@ const checkState = async (client, input) => {
49
49
  return projection_3;
50
50
  };
51
51
  for (const anyStringEq_4 of returnComparator()) {
52
- if (anyStringEq_4 == "RUNNING") {
52
+ if (anyStringEq_4 == "ACTIVE") {
53
53
  return { state: util_waiter_1.WaiterState.FAILURE, reason };
54
54
  }
55
55
  }
@@ -374,6 +374,7 @@ export const UsageReportExecutionErrorCode = {
374
374
  export const FleetAttribute = {
375
375
  DOMAIN_JOIN_INFO: "DOMAIN_JOIN_INFO",
376
376
  IAM_ROLE_ARN: "IAM_ROLE_ARN",
377
+ MAX_SESSIONS_PER_INSTANCE: "MAX_SESSIONS_PER_INSTANCE",
377
378
  SESSION_SCRIPT_S3_LOCATION: "SESSION_SCRIPT_S3_LOCATION",
378
379
  USB_DEVICE_FILTER_STRINGS: "USB_DEVICE_FILTER_STRINGS",
379
380
  VPC_CONFIGURATION: "VPC_CONFIGURATION",
@@ -3839,6 +3839,7 @@ const de_Fleet = (output, context) => {
3839
3839
  ImageName: __expectString,
3840
3840
  InstanceType: __expectString,
3841
3841
  MaxConcurrentSessions: __expectInt32,
3842
+ MaxSessionsPerInstance: __expectInt32,
3842
3843
  MaxUserDurationInSeconds: __expectInt32,
3843
3844
  Name: __expectString,
3844
3845
  Platform: __expectString,
@@ -3937,6 +3938,7 @@ const de_Session = (output, context) => {
3937
3938
  ConnectionState: __expectString,
3938
3939
  FleetName: __expectString,
3939
3940
  Id: __expectString,
3941
+ InstanceId: __expectString,
3940
3942
  MaxExpirationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3941
3943
  NetworkAccessConfiguration: _json,
3942
3944
  StackName: __expectString,
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  };
16
16
  let allStringEq_5 = returnComparator().length > 0;
17
17
  for (const element_4 of returnComparator()) {
18
- allStringEq_5 = allStringEq_5 && element_4 == "RUNNING";
18
+ allStringEq_5 = allStringEq_5 && element_4 == "ACTIVE";
19
19
  }
20
20
  if (allStringEq_5) {
21
21
  return { state: WaiterState.SUCCESS, reason };
@@ -31,7 +31,7 @@ const checkState = async (client, input) => {
31
31
  return projection_3;
32
32
  };
33
33
  for (const anyStringEq_4 of returnComparator()) {
34
- if (anyStringEq_4 == "STOPPING") {
34
+ if (anyStringEq_4 == "PENDING_DEACTIVATE") {
35
35
  return { state: WaiterState.FAILURE, reason };
36
36
  }
37
37
  }
@@ -46,7 +46,7 @@ const checkState = async (client, input) => {
46
46
  return projection_3;
47
47
  };
48
48
  for (const anyStringEq_4 of returnComparator()) {
49
- if (anyStringEq_4 == "STOPPED") {
49
+ if (anyStringEq_4 == "INACTIVE") {
50
50
  return { state: WaiterState.FAILURE, reason };
51
51
  }
52
52
  }
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  };
16
16
  let allStringEq_5 = returnComparator().length > 0;
17
17
  for (const element_4 of returnComparator()) {
18
- allStringEq_5 = allStringEq_5 && element_4 == "STOPPED";
18
+ allStringEq_5 = allStringEq_5 && element_4 == "INACTIVE";
19
19
  }
20
20
  if (allStringEq_5) {
21
21
  return { state: WaiterState.SUCCESS, reason };
@@ -31,7 +31,7 @@ const checkState = async (client, input) => {
31
31
  return projection_3;
32
32
  };
33
33
  for (const anyStringEq_4 of returnComparator()) {
34
- if (anyStringEq_4 == "STARTING") {
34
+ if (anyStringEq_4 == "PENDING_ACTIVATE") {
35
35
  return { state: WaiterState.FAILURE, reason };
36
36
  }
37
37
  }
@@ -46,7 +46,7 @@ const checkState = async (client, input) => {
46
46
  return projection_3;
47
47
  };
48
48
  for (const anyStringEq_4 of returnComparator()) {
49
- if (anyStringEq_4 == "RUNNING") {
49
+ if (anyStringEq_4 == "ACTIVE") {
50
50
  return { state: WaiterState.FAILURE, reason };
51
51
  }
52
52
  }
@@ -37,7 +37,8 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
37
37
  * InstanceType: "STRING_VALUE", // required
38
38
  * FleetType: "ALWAYS_ON" || "ON_DEMAND" || "ELASTIC",
39
39
  * ComputeCapacity: { // ComputeCapacity
40
- * DesiredInstances: Number("int"), // required
40
+ * DesiredInstances: Number("int"),
41
+ * DesiredSessions: Number("int"),
41
42
  * },
42
43
  * VpcConfig: { // VpcConfig
43
44
  * SubnetIds: [ // SubnetIdList
@@ -71,6 +72,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
71
72
  * S3Bucket: "STRING_VALUE", // required
72
73
  * S3Key: "STRING_VALUE",
73
74
  * },
75
+ * MaxSessionsPerInstance: Number("int"),
74
76
  * };
75
77
  * const command = new CreateFleetCommand(input);
76
78
  * const response = await client.send(command);
@@ -89,6 +91,10 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
89
91
  * // Running: Number("int"),
90
92
  * // InUse: Number("int"),
91
93
  * // Available: Number("int"),
94
+ * // DesiredUserSessions: Number("int"),
95
+ * // AvailableUserSessions: Number("int"),
96
+ * // ActiveUserSessions: Number("int"),
97
+ * // ActualUserSessions: Number("int"),
92
98
  * // },
93
99
  * // MaxUserDurationInSeconds: Number("int"),
94
100
  * // DisconnectTimeoutInSeconds: Number("int"),
@@ -125,6 +131,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
125
131
  * // S3Bucket: "STRING_VALUE", // required
126
132
  * // S3Key: "STRING_VALUE",
127
133
  * // },
134
+ * // MaxSessionsPerInstance: Number("int"),
128
135
  * // },
129
136
  * // };
130
137
  *
@@ -54,6 +54,10 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
54
54
  * // Running: Number("int"),
55
55
  * // InUse: Number("int"),
56
56
  * // Available: Number("int"),
57
+ * // DesiredUserSessions: Number("int"),
58
+ * // AvailableUserSessions: Number("int"),
59
+ * // ActiveUserSessions: Number("int"),
60
+ * // ActualUserSessions: Number("int"),
57
61
  * // },
58
62
  * // MaxUserDurationInSeconds: Number("int"),
59
63
  * // DisconnectTimeoutInSeconds: Number("int"),
@@ -90,6 +94,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
90
94
  * // S3Bucket: "STRING_VALUE", // required
91
95
  * // S3Key: "STRING_VALUE",
92
96
  * // },
97
+ * // MaxSessionsPerInstance: Number("int"),
93
98
  * // },
94
99
  * // ],
95
100
  * // NextToken: "STRING_VALUE",
@@ -39,6 +39,7 @@ export interface DescribeSessionsCommandOutput extends DescribeSessionsResult, _
39
39
  * NextToken: "STRING_VALUE",
40
40
  * Limit: Number("int"),
41
41
  * AuthenticationType: "API" || "SAML" || "USERPOOL" || "AWS_AD",
42
+ * InstanceId: "STRING_VALUE",
42
43
  * };
43
44
  * const command = new DescribeSessionsCommand(input);
44
45
  * const response = await client.send(command);
@@ -58,6 +59,7 @@ export interface DescribeSessionsCommandOutput extends DescribeSessionsResult, _
58
59
  * // EniPrivateIpAddress: "STRING_VALUE",
59
60
  * // EniId: "STRING_VALUE",
60
61
  * // },
62
+ * // InstanceId: "STRING_VALUE",
61
63
  * // },
62
64
  * // ],
63
65
  * // NextToken: "STRING_VALUE",
@@ -57,7 +57,8 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResult, __MetadataB
57
57
  * Name: "STRING_VALUE",
58
58
  * InstanceType: "STRING_VALUE",
59
59
  * ComputeCapacity: { // ComputeCapacity
60
- * DesiredInstances: Number("int"), // required
60
+ * DesiredInstances: Number("int"),
61
+ * DesiredSessions: Number("int"),
61
62
  * },
62
63
  * VpcConfig: { // VpcConfig
63
64
  * SubnetIds: [ // SubnetIdList
@@ -79,7 +80,7 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResult, __MetadataB
79
80
  * },
80
81
  * IdleDisconnectTimeoutInSeconds: Number("int"),
81
82
  * AttributesToDelete: [ // FleetAttributes
82
- * "VPC_CONFIGURATION" || "VPC_CONFIGURATION_SECURITY_GROUP_IDS" || "DOMAIN_JOIN_INFO" || "IAM_ROLE_ARN" || "USB_DEVICE_FILTER_STRINGS" || "SESSION_SCRIPT_S3_LOCATION",
83
+ * "VPC_CONFIGURATION" || "VPC_CONFIGURATION_SECURITY_GROUP_IDS" || "DOMAIN_JOIN_INFO" || "IAM_ROLE_ARN" || "USB_DEVICE_FILTER_STRINGS" || "SESSION_SCRIPT_S3_LOCATION" || "MAX_SESSIONS_PER_INSTANCE",
83
84
  * ],
84
85
  * IamRoleArn: "STRING_VALUE",
85
86
  * StreamView: "APP" || "DESKTOP",
@@ -92,6 +93,7 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResult, __MetadataB
92
93
  * S3Bucket: "STRING_VALUE", // required
93
94
  * S3Key: "STRING_VALUE",
94
95
  * },
96
+ * MaxSessionsPerInstance: Number("int"),
95
97
  * };
96
98
  * const command = new UpdateFleetCommand(input);
97
99
  * const response = await client.send(command);
@@ -110,6 +112,10 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResult, __MetadataB
110
112
  * // Running: Number("int"),
111
113
  * // InUse: Number("int"),
112
114
  * // Available: Number("int"),
115
+ * // DesiredUserSessions: Number("int"),
116
+ * // AvailableUserSessions: Number("int"),
117
+ * // ActiveUserSessions: Number("int"),
118
+ * // ActualUserSessions: Number("int"),
113
119
  * // },
114
120
  * // MaxUserDurationInSeconds: Number("int"),
115
121
  * // DisconnectTimeoutInSeconds: Number("int"),
@@ -146,6 +152,7 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResult, __MetadataB
146
152
  * // S3Bucket: "STRING_VALUE", // required
147
153
  * // S3Key: "STRING_VALUE",
148
154
  * // },
155
+ * // MaxSessionsPerInstance: Number("int"),
149
156
  * // },
150
157
  * // };
151
158
  *
@@ -1,6 +1,7 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
- export interface AppStreamExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ export interface AppStreamExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
6
7
  }
@@ -1026,7 +1026,13 @@ export interface ComputeCapacity {
1026
1026
  * @public
1027
1027
  * <p>The desired number of streaming instances.</p>
1028
1028
  */
1029
- DesiredInstances: number | undefined;
1029
+ DesiredInstances?: number;
1030
+ /**
1031
+ * @public
1032
+ * <p>The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.</p>
1033
+ * <p>When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.</p>
1034
+ */
1035
+ DesiredSessions?: number;
1030
1036
  }
1031
1037
  /**
1032
1038
  * @public
@@ -1054,6 +1060,32 @@ export interface ComputeCapacityStatus {
1054
1060
  * sessions.</p>
1055
1061
  */
1056
1062
  Available?: number;
1063
+ /**
1064
+ * @public
1065
+ * <p>The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.</p>
1066
+ * <p>DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity</p>
1067
+ * <p>This only applies to multi-session fleets.</p>
1068
+ */
1069
+ DesiredUserSessions?: number;
1070
+ /**
1071
+ * @public
1072
+ * <p>The number of idle session slots currently available for user sessions.</p>
1073
+ * <p>AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions</p>
1074
+ * <p>This only applies to multi-session fleets.</p>
1075
+ */
1076
+ AvailableUserSessions?: number;
1077
+ /**
1078
+ * @public
1079
+ * <p>The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.</p>
1080
+ */
1081
+ ActiveUserSessions?: number;
1082
+ /**
1083
+ * @public
1084
+ * <p>The total number of session slots that are available for streaming or are currently streaming.</p>
1085
+ * <p>ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions</p>
1086
+ * <p>This only applies to multi-session fleets.</p>
1087
+ */
1088
+ ActualUserSessions?: number;
1057
1089
  }
1058
1090
  /**
1059
1091
  * @public
@@ -1880,7 +1912,7 @@ export interface CreateFleetRequest {
1880
1912
  /**
1881
1913
  * @public
1882
1914
  * <p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>
1883
- * <p>Specify a value between 600 and 360000.</p>
1915
+ * <p>Specify a value between 600 and 432000.</p>
1884
1916
  */
1885
1917
  MaxUserDurationInSeconds?: number;
1886
1918
  /**
@@ -1970,6 +2002,11 @@ export interface CreateFleetRequest {
1970
2002
  * <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1971
2003
  */
1972
2004
  SessionScriptS3Location?: S3Location;
2005
+ /**
2006
+ * @public
2007
+ * <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
2008
+ */
2009
+ MaxSessionsPerInstance?: number;
1973
2010
  }
1974
2011
  /**
1975
2012
  * @public
@@ -2257,6 +2294,11 @@ export interface Fleet {
2257
2294
  * <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
2258
2295
  */
2259
2296
  SessionScriptS3Location?: S3Location;
2297
+ /**
2298
+ * @public
2299
+ * <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
2300
+ */
2301
+ MaxSessionsPerInstance?: number;
2260
2302
  }
2261
2303
  /**
2262
2304
  * @public
@@ -4077,6 +4119,11 @@ export interface DescribeSessionsRequest {
4077
4119
  * The default is to authenticate users using a streaming URL.</p>
4078
4120
  */
4079
4121
  AuthenticationType?: AuthenticationType | string;
4122
+ /**
4123
+ * @public
4124
+ * <p>The identifier for the instance hosting the session.</p>
4125
+ */
4126
+ InstanceId?: string;
4080
4127
  }
4081
4128
  /**
4082
4129
  * @public
@@ -4159,6 +4206,11 @@ export interface Session {
4159
4206
  * <p>The network details for the streaming session.</p>
4160
4207
  */
4161
4208
  NetworkAccessConfiguration?: NetworkAccessConfiguration;
4209
+ /**
4210
+ * @public
4211
+ * <p>The identifier for the instance hosting the session.</p>
4212
+ */
4213
+ InstanceId?: string;
4162
4214
  }
4163
4215
  /**
4164
4216
  * @public
@@ -4608,6 +4660,7 @@ export interface ExpireSessionResult {
4608
4660
  export declare const FleetAttribute: {
4609
4661
  readonly DOMAIN_JOIN_INFO: "DOMAIN_JOIN_INFO";
4610
4662
  readonly IAM_ROLE_ARN: "IAM_ROLE_ARN";
4663
+ readonly MAX_SESSIONS_PER_INSTANCE: "MAX_SESSIONS_PER_INSTANCE";
4611
4664
  readonly SESSION_SCRIPT_S3_LOCATION: "SESSION_SCRIPT_S3_LOCATION";
4612
4665
  readonly USB_DEVICE_FILTER_STRINGS: "USB_DEVICE_FILTER_STRINGS";
4613
4666
  readonly VPC_CONFIGURATION: "VPC_CONFIGURATION";
@@ -5381,6 +5434,11 @@ export interface UpdateFleetRequest {
5381
5434
  * <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>
5382
5435
  */
5383
5436
  SessionScriptS3Location?: S3Location;
5437
+ /**
5438
+ * @public
5439
+ * <p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>
5440
+ */
5441
+ MaxSessionsPerInstance?: number;
5384
5442
  }
5385
5443
  /**
5386
5444
  * @public
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,10 @@ import { AppStreamClientConfig } from "./AppStreamClient";
5
5
  export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
12
  apiVersion: string;
10
13
  urlParser: import("@smithy/types").UrlParser;
11
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -3,7 +3,7 @@ import { AppStreamExtensionConfiguration } from "./extensionConfiguration";
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configure(clientConfiguration: AppStreamExtensionConfiguration): void;
6
+ configure(extensionConfiguration: AppStreamExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -1,3 +1,5 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  export interface AppStreamExtensionConfiguration
3
- extends DefaultExtensionConfiguration {}
4
+ extends HttpHandlerExtensionConfiguration,
5
+ DefaultExtensionConfiguration {}
@@ -342,13 +342,18 @@ export interface CertificateBasedAuthProperties {
342
342
  CertificateAuthorityArn?: string;
343
343
  }
344
344
  export interface ComputeCapacity {
345
- DesiredInstances: number | undefined;
345
+ DesiredInstances?: number;
346
+ DesiredSessions?: number;
346
347
  }
347
348
  export interface ComputeCapacityStatus {
348
349
  Desired: number | undefined;
349
350
  Running?: number;
350
351
  InUse?: number;
351
352
  Available?: number;
353
+ DesiredUserSessions?: number;
354
+ AvailableUserSessions?: number;
355
+ ActiveUserSessions?: number;
356
+ ActualUserSessions?: number;
352
357
  }
353
358
  export interface CopyImageRequest {
354
359
  SourceImageName: string | undefined;
@@ -534,6 +539,7 @@ export interface CreateFleetRequest {
534
539
  MaxConcurrentSessions?: number;
535
540
  UsbDeviceFilterStrings?: string[];
536
541
  SessionScriptS3Location?: S3Location;
542
+ MaxSessionsPerInstance?: number;
537
543
  }
538
544
  export interface FleetError {
539
545
  ErrorCode?: FleetErrorCode | string;
@@ -571,6 +577,7 @@ export interface Fleet {
571
577
  MaxConcurrentSessions?: number;
572
578
  UsbDeviceFilterStrings?: string[];
573
579
  SessionScriptS3Location?: S3Location;
580
+ MaxSessionsPerInstance?: number;
574
581
  }
575
582
  export interface CreateFleetResult {
576
583
  Fleet?: Fleet;
@@ -998,6 +1005,7 @@ export interface DescribeSessionsRequest {
998
1005
  NextToken?: string;
999
1006
  Limit?: number;
1000
1007
  AuthenticationType?: AuthenticationType | string;
1008
+ InstanceId?: string;
1001
1009
  }
1002
1010
  export declare const SessionConnectionState: {
1003
1011
  readonly CONNECTED: "CONNECTED";
@@ -1022,6 +1030,7 @@ export interface Session {
1022
1030
  MaxExpirationTime?: Date;
1023
1031
  AuthenticationType?: AuthenticationType | string;
1024
1032
  NetworkAccessConfiguration?: NetworkAccessConfiguration;
1033
+ InstanceId?: string;
1025
1034
  }
1026
1035
  export interface DescribeSessionsResult {
1027
1036
  Sessions?: Session[];
@@ -1131,6 +1140,7 @@ export interface ExpireSessionResult {}
1131
1140
  export declare const FleetAttribute: {
1132
1141
  readonly DOMAIN_JOIN_INFO: "DOMAIN_JOIN_INFO";
1133
1142
  readonly IAM_ROLE_ARN: "IAM_ROLE_ARN";
1143
+ readonly MAX_SESSIONS_PER_INSTANCE: "MAX_SESSIONS_PER_INSTANCE";
1134
1144
  readonly SESSION_SCRIPT_S3_LOCATION: "SESSION_SCRIPT_S3_LOCATION";
1135
1145
  readonly USB_DEVICE_FILTER_STRINGS: "USB_DEVICE_FILTER_STRINGS";
1136
1146
  readonly VPC_CONFIGURATION: "VPC_CONFIGURATION";
@@ -1283,6 +1293,7 @@ export interface UpdateFleetRequest {
1283
1293
  MaxConcurrentSessions?: number;
1284
1294
  UsbDeviceFilterStrings?: string[];
1285
1295
  SessionScriptS3Location?: S3Location;
1296
+ MaxSessionsPerInstance?: number;
1286
1297
  }
1287
1298
  export interface UpdateFleetResult {
1288
1299
  Fleet?: Fleet;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
8
8
  any,
9
9
  import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
- import("@smithy/protocol-http").HttpHandler)
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
12
19
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
20
  apiVersion: string;
14
21
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,6 @@
1
1
  import { AppStreamExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: AppStreamExtensionConfiguration): void;
3
+ configure(extensionConfiguration: AppStreamExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appstream",
3
3
  "description": "AWS SDK for JavaScript Appstream Client for Node.js, Browser and React Native",
4
- "version": "3.409.0",
4
+ "version": "3.413.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,40 +21,40 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.409.0",
25
- "@aws-sdk/credential-provider-node": "3.409.0",
26
- "@aws-sdk/middleware-host-header": "3.408.0",
27
- "@aws-sdk/middleware-logger": "3.408.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
- "@aws-sdk/middleware-signing": "3.408.0",
30
- "@aws-sdk/middleware-user-agent": "3.408.0",
31
- "@aws-sdk/types": "3.408.0",
32
- "@aws-sdk/util-endpoints": "3.408.0",
33
- "@aws-sdk/util-user-agent-browser": "3.408.0",
34
- "@aws-sdk/util-user-agent-node": "3.408.0",
35
- "@smithy/config-resolver": "^2.0.5",
36
- "@smithy/fetch-http-handler": "^2.0.5",
37
- "@smithy/hash-node": "^2.0.5",
38
- "@smithy/invalid-dependency": "^2.0.5",
39
- "@smithy/middleware-content-length": "^2.0.5",
40
- "@smithy/middleware-endpoint": "^2.0.5",
41
- "@smithy/middleware-retry": "^2.0.5",
42
- "@smithy/middleware-serde": "^2.0.5",
24
+ "@aws-sdk/client-sts": "3.413.0",
25
+ "@aws-sdk/credential-provider-node": "3.413.0",
26
+ "@aws-sdk/middleware-host-header": "3.413.0",
27
+ "@aws-sdk/middleware-logger": "3.413.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
+ "@aws-sdk/middleware-signing": "3.413.0",
30
+ "@aws-sdk/middleware-user-agent": "3.413.0",
31
+ "@aws-sdk/types": "3.413.0",
32
+ "@aws-sdk/util-endpoints": "3.413.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.413.0",
34
+ "@aws-sdk/util-user-agent-node": "3.413.0",
35
+ "@smithy/config-resolver": "^2.0.8",
36
+ "@smithy/fetch-http-handler": "^2.1.3",
37
+ "@smithy/hash-node": "^2.0.7",
38
+ "@smithy/invalid-dependency": "^2.0.7",
39
+ "@smithy/middleware-content-length": "^2.0.9",
40
+ "@smithy/middleware-endpoint": "^2.0.7",
41
+ "@smithy/middleware-retry": "^2.0.10",
42
+ "@smithy/middleware-serde": "^2.0.7",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.6",
45
- "@smithy/node-http-handler": "^2.0.5",
46
- "@smithy/protocol-http": "^2.0.5",
47
- "@smithy/smithy-client": "^2.0.5",
48
- "@smithy/types": "^2.2.2",
49
- "@smithy/url-parser": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.10",
45
+ "@smithy/node-http-handler": "^2.1.3",
46
+ "@smithy/protocol-http": "^3.0.3",
47
+ "@smithy/smithy-client": "^2.1.4",
48
+ "@smithy/types": "^2.3.1",
49
+ "@smithy/url-parser": "^2.0.7",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.6",
54
- "@smithy/util-defaults-mode-node": "^2.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.8",
54
+ "@smithy/util-defaults-mode-node": "^2.0.10",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
- "@smithy/util-waiter": "^2.0.5",
57
+ "@smithy/util-waiter": "^2.0.7",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {