Skip to content

Commit 0282d52

Browse files
This release introduces multi-session fleets, allowing customers to provision more than one user session on a single fleet instance.
Documentation updates for AWS CloudFormation Changed "ResolutionTechniques" and "MappedInputFields" in workflow and schema mapping operations to be required fields. This release adds APIs for the new scheduled retraining feature.
1 parent 4e046f6 commit 0282d52

File tree

117 files changed

+8789
-1723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+8789
-1723
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.163
1+
1.11.164

generated/src/aws-cpp-sdk-appstream/include/aws/appstream/model/ComputeCapacity.h

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,50 @@ namespace Model
5555
*/
5656
inline ComputeCapacity& WithDesiredInstances(int value) { SetDesiredInstances(value); return *this;}
5757

58+
59+
/**
60+
* <p>The desired number of user sessions for a multi-session fleet. This is not
61+
* allowed for single-session fleets.</p> <p>When you create a fleet, you must set
62+
* either the DesiredSessions or DesiredInstances attribute, based on the type of
63+
* fleet you create. You can’t define both attributes or leave both attributes
64+
* blank.</p>
65+
*/
66+
inline int GetDesiredSessions() const{ return m_desiredSessions; }
67+
68+
/**
69+
* <p>The desired number of user sessions for a multi-session fleet. This is not
70+
* allowed for single-session fleets.</p> <p>When you create a fleet, you must set
71+
* either the DesiredSessions or DesiredInstances attribute, based on the type of
72+
* fleet you create. You can’t define both attributes or leave both attributes
73+
* blank.</p>
74+
*/
75+
inline bool DesiredSessionsHasBeenSet() const { return m_desiredSessionsHasBeenSet; }
76+
77+
/**
78+
* <p>The desired number of user sessions for a multi-session fleet. This is not
79+
* allowed for single-session fleets.</p> <p>When you create a fleet, you must set
80+
* either the DesiredSessions or DesiredInstances attribute, based on the type of
81+
* fleet you create. You can’t define both attributes or leave both attributes
82+
* blank.</p>
83+
*/
84+
inline void SetDesiredSessions(int value) { m_desiredSessionsHasBeenSet = true; m_desiredSessions = value; }
85+
86+
/**
87+
* <p>The desired number of user sessions for a multi-session fleet. This is not
88+
* allowed for single-session fleets.</p> <p>When you create a fleet, you must set
89+
* either the DesiredSessions or DesiredInstances attribute, based on the type of
90+
* fleet you create. You can’t define both attributes or leave both attributes
91+
* blank.</p>
92+
*/
93+
inline ComputeCapacity& WithDesiredSessions(int value) { SetDesiredSessions(value); return *this;}
94+
5895
private:
5996

6097
int m_desiredInstances;
6198
bool m_desiredInstancesHasBeenSet = false;
99+
100+
int m_desiredSessions;
101+
bool m_desiredSessionsHasBeenSet = false;
62102
};
63103

64104
} // namespace Model

generated/src/aws-cpp-sdk-appstream/include/aws/appstream/model/ComputeCapacityStatus.h

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,130 @@ namespace Model
122122
*/
123123
inline ComputeCapacityStatus& WithAvailable(int value) { SetAvailable(value); return *this;}
124124

125+
126+
/**
127+
* <p>The total number of sessions slots that are either running or pending. This
128+
* represents the total number of concurrent streaming sessions your fleet can
129+
* support in a steady state.</p> <p>DesiredUserSessionCapacity =
130+
* ActualUserSessionCapacity + PendingUserSessionCapacity</p> <p>This only applies
131+
* to multi-session fleets.</p>
132+
*/
133+
inline int GetDesiredUserSessions() const{ return m_desiredUserSessions; }
134+
135+
/**
136+
* <p>The total number of sessions slots that are either running or pending. This
137+
* represents the total number of concurrent streaming sessions your fleet can
138+
* support in a steady state.</p> <p>DesiredUserSessionCapacity =
139+
* ActualUserSessionCapacity + PendingUserSessionCapacity</p> <p>This only applies
140+
* to multi-session fleets.</p>
141+
*/
142+
inline bool DesiredUserSessionsHasBeenSet() const { return m_desiredUserSessionsHasBeenSet; }
143+
144+
/**
145+
* <p>The total number of sessions slots that are either running or pending. This
146+
* represents the total number of concurrent streaming sessions your fleet can
147+
* support in a steady state.</p> <p>DesiredUserSessionCapacity =
148+
* ActualUserSessionCapacity + PendingUserSessionCapacity</p> <p>This only applies
149+
* to multi-session fleets.</p>
150+
*/
151+
inline void SetDesiredUserSessions(int value) { m_desiredUserSessionsHasBeenSet = true; m_desiredUserSessions = value; }
152+
153+
/**
154+
* <p>The total number of sessions slots that are either running or pending. This
155+
* represents the total number of concurrent streaming sessions your fleet can
156+
* support in a steady state.</p> <p>DesiredUserSessionCapacity =
157+
* ActualUserSessionCapacity + PendingUserSessionCapacity</p> <p>This only applies
158+
* to multi-session fleets.</p>
159+
*/
160+
inline ComputeCapacityStatus& WithDesiredUserSessions(int value) { SetDesiredUserSessions(value); return *this;}
161+
162+
163+
/**
164+
* <p>The number of idle session slots currently available for user sessions.</p>
165+
* <p>AvailableUserSessionCapacity = ActualUserSessionCapacity -
166+
* ActiveUserSessions</p> <p>This only applies to multi-session fleets.</p>
167+
*/
168+
inline int GetAvailableUserSessions() const{ return m_availableUserSessions; }
169+
170+
/**
171+
* <p>The number of idle session slots currently available for user sessions.</p>
172+
* <p>AvailableUserSessionCapacity = ActualUserSessionCapacity -
173+
* ActiveUserSessions</p> <p>This only applies to multi-session fleets.</p>
174+
*/
175+
inline bool AvailableUserSessionsHasBeenSet() const { return m_availableUserSessionsHasBeenSet; }
176+
177+
/**
178+
* <p>The number of idle session slots currently available for user sessions.</p>
179+
* <p>AvailableUserSessionCapacity = ActualUserSessionCapacity -
180+
* ActiveUserSessions</p> <p>This only applies to multi-session fleets.</p>
181+
*/
182+
inline void SetAvailableUserSessions(int value) { m_availableUserSessionsHasBeenSet = true; m_availableUserSessions = value; }
183+
184+
/**
185+
* <p>The number of idle session slots currently available for user sessions.</p>
186+
* <p>AvailableUserSessionCapacity = ActualUserSessionCapacity -
187+
* ActiveUserSessions</p> <p>This only applies to multi-session fleets.</p>
188+
*/
189+
inline ComputeCapacityStatus& WithAvailableUserSessions(int value) { SetAvailableUserSessions(value); return *this;}
190+
191+
192+
/**
193+
* <p>The number of user sessions currently being used for streaming sessions. This
194+
* only applies to multi-session fleets.</p>
195+
*/
196+
inline int GetActiveUserSessions() const{ return m_activeUserSessions; }
197+
198+
/**
199+
* <p>The number of user sessions currently being used for streaming sessions. This
200+
* only applies to multi-session fleets.</p>
201+
*/
202+
inline bool ActiveUserSessionsHasBeenSet() const { return m_activeUserSessionsHasBeenSet; }
203+
204+
/**
205+
* <p>The number of user sessions currently being used for streaming sessions. This
206+
* only applies to multi-session fleets.</p>
207+
*/
208+
inline void SetActiveUserSessions(int value) { m_activeUserSessionsHasBeenSet = true; m_activeUserSessions = value; }
209+
210+
/**
211+
* <p>The number of user sessions currently being used for streaming sessions. This
212+
* only applies to multi-session fleets.</p>
213+
*/
214+
inline ComputeCapacityStatus& WithActiveUserSessions(int value) { SetActiveUserSessions(value); return *this;}
215+
216+
217+
/**
218+
* <p>The total number of session slots that are available for streaming or are
219+
* currently streaming.</p> <p>ActualUserSessionCapacity =
220+
* AvailableUserSessionCapacity + ActiveUserSessions</p> <p>This only applies to
221+
* multi-session fleets.</p>
222+
*/
223+
inline int GetActualUserSessions() const{ return m_actualUserSessions; }
224+
225+
/**
226+
* <p>The total number of session slots that are available for streaming or are
227+
* currently streaming.</p> <p>ActualUserSessionCapacity =
228+
* AvailableUserSessionCapacity + ActiveUserSessions</p> <p>This only applies to
229+
* multi-session fleets.</p>
230+
*/
231+
inline bool ActualUserSessionsHasBeenSet() const { return m_actualUserSessionsHasBeenSet; }
232+
233+
/**
234+
* <p>The total number of session slots that are available for streaming or are
235+
* currently streaming.</p> <p>ActualUserSessionCapacity =
236+
* AvailableUserSessionCapacity + ActiveUserSessions</p> <p>This only applies to
237+
* multi-session fleets.</p>
238+
*/
239+
inline void SetActualUserSessions(int value) { m_actualUserSessionsHasBeenSet = true; m_actualUserSessions = value; }
240+
241+
/**
242+
* <p>The total number of session slots that are available for streaming or are
243+
* currently streaming.</p> <p>ActualUserSessionCapacity =
244+
* AvailableUserSessionCapacity + ActiveUserSessions</p> <p>This only applies to
245+
* multi-session fleets.</p>
246+
*/
247+
inline ComputeCapacityStatus& WithActualUserSessions(int value) { SetActualUserSessions(value); return *this;}
248+
125249
private:
126250

127251
int m_desired;
@@ -135,6 +259,18 @@ namespace Model
135259

136260
int m_available;
137261
bool m_availableHasBeenSet = false;
262+
263+
int m_desiredUserSessions;
264+
bool m_desiredUserSessionsHasBeenSet = false;
265+
266+
int m_availableUserSessions;
267+
bool m_availableUserSessionsHasBeenSet = false;
268+
269+
int m_activeUserSessions;
270+
bool m_activeUserSessionsHasBeenSet = false;
271+
272+
int m_actualUserSessions;
273+
bool m_actualUserSessionsHasBeenSet = false;
138274
};
139275

140276
} // namespace Model

generated/src/aws-cpp-sdk-appstream/include/aws/appstream/model/CreateFleetRequest.h

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ namespace Model
592592
* before this limit is reached, they are prompted to save any open documents
593593
* before being disconnected. After this time elapses, the instance is terminated
594594
* and replaced by a new instance.</p> <p>Specify a value between 600 and
595-
* 360000.</p>
595+
* 432000.</p>
596596
*/
597597
inline int GetMaxUserDurationInSeconds() const{ return m_maxUserDurationInSeconds; }
598598

@@ -602,7 +602,7 @@ namespace Model
602602
* before this limit is reached, they are prompted to save any open documents
603603
* before being disconnected. After this time elapses, the instance is terminated
604604
* and replaced by a new instance.</p> <p>Specify a value between 600 and
605-
* 360000.</p>
605+
* 432000.</p>
606606
*/
607607
inline bool MaxUserDurationInSecondsHasBeenSet() const { return m_maxUserDurationInSecondsHasBeenSet; }
608608

@@ -612,7 +612,7 @@ namespace Model
612612
* before this limit is reached, they are prompted to save any open documents
613613
* before being disconnected. After this time elapses, the instance is terminated
614614
* and replaced by a new instance.</p> <p>Specify a value between 600 and
615-
* 360000.</p>
615+
* 432000.</p>
616616
*/
617617
inline void SetMaxUserDurationInSeconds(int value) { m_maxUserDurationInSecondsHasBeenSet = true; m_maxUserDurationInSeconds = value; }
618618

@@ -622,7 +622,7 @@ namespace Model
622622
* before this limit is reached, they are prompted to save any open documents
623623
* before being disconnected. After this time elapses, the instance is terminated
624624
* and replaced by a new instance.</p> <p>Specify a value between 600 and
625-
* 360000.</p>
625+
* 432000.</p>
626626
*/
627627
inline CreateFleetRequest& WithMaxUserDurationInSeconds(int value) { SetMaxUserDurationInSeconds(value); return *this;}
628628

@@ -1406,6 +1406,31 @@ namespace Model
14061406
*/
14071407
inline CreateFleetRequest& WithSessionScriptS3Location(S3Location&& value) { SetSessionScriptS3Location(std::move(value)); return *this;}
14081408

1409+
1410+
/**
1411+
* <p>The maximum number of user sessions on an instance. This only applies to
1412+
* multi-session fleets.</p>
1413+
*/
1414+
inline int GetMaxSessionsPerInstance() const{ return m_maxSessionsPerInstance; }
1415+
1416+
/**
1417+
* <p>The maximum number of user sessions on an instance. This only applies to
1418+
* multi-session fleets.</p>
1419+
*/
1420+
inline bool MaxSessionsPerInstanceHasBeenSet() const { return m_maxSessionsPerInstanceHasBeenSet; }
1421+
1422+
/**
1423+
* <p>The maximum number of user sessions on an instance. This only applies to
1424+
* multi-session fleets.</p>
1425+
*/
1426+
inline void SetMaxSessionsPerInstance(int value) { m_maxSessionsPerInstanceHasBeenSet = true; m_maxSessionsPerInstance = value; }
1427+
1428+
/**
1429+
* <p>The maximum number of user sessions on an instance. This only applies to
1430+
* multi-session fleets.</p>
1431+
*/
1432+
inline CreateFleetRequest& WithMaxSessionsPerInstance(int value) { SetMaxSessionsPerInstance(value); return *this;}
1433+
14091434
private:
14101435

14111436
Aws::String m_name;
@@ -1470,6 +1495,9 @@ namespace Model
14701495

14711496
S3Location m_sessionScriptS3Location;
14721497
bool m_sessionScriptS3LocationHasBeenSet = false;
1498+
1499+
int m_maxSessionsPerInstance;
1500+
bool m_maxSessionsPerInstanceHasBeenSet = false;
14731501
};
14741502

14751503
} // namespace Model

generated/src/aws-cpp-sdk-appstream/include/aws/appstream/model/DescribeSessionsRequest.h

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,47 @@ namespace Model
282282
*/
283283
inline DescribeSessionsRequest& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
284284

285+
286+
/**
287+
* <p>The identifier for the instance hosting the session.</p>
288+
*/
289+
inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
290+
291+
/**
292+
* <p>The identifier for the instance hosting the session.</p>
293+
*/
294+
inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
295+
296+
/**
297+
* <p>The identifier for the instance hosting the session.</p>
298+
*/
299+
inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
300+
301+
/**
302+
* <p>The identifier for the instance hosting the session.</p>
303+
*/
304+
inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
305+
306+
/**
307+
* <p>The identifier for the instance hosting the session.</p>
308+
*/
309+
inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
310+
311+
/**
312+
* <p>The identifier for the instance hosting the session.</p>
313+
*/
314+
inline DescribeSessionsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
315+
316+
/**
317+
* <p>The identifier for the instance hosting the session.</p>
318+
*/
319+
inline DescribeSessionsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
320+
321+
/**
322+
* <p>The identifier for the instance hosting the session.</p>
323+
*/
324+
inline DescribeSessionsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
325+
285326
private:
286327

287328
Aws::String m_stackName;
@@ -301,6 +342,9 @@ namespace Model
301342

302343
AuthenticationType m_authenticationType;
303344
bool m_authenticationTypeHasBeenSet = false;
345+
346+
Aws::String m_instanceId;
347+
bool m_instanceIdHasBeenSet = false;
304348
};
305349

306350
} // namespace Model

generated/src/aws-cpp-sdk-appstream/include/aws/appstream/model/Fleet.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,6 +1306,31 @@ namespace Model
13061306
*/
13071307
inline Fleet& WithSessionScriptS3Location(S3Location&& value) { SetSessionScriptS3Location(std::move(value)); return *this;}
13081308

1309+
1310+
/**
1311+
* <p>The maximum number of user sessions on an instance. This only applies to
1312+
* multi-session fleets.</p>
1313+
*/
1314+
inline int GetMaxSessionsPerInstance() const{ return m_maxSessionsPerInstance; }
1315+
1316+
/**
1317+
* <p>The maximum number of user sessions on an instance. This only applies to
1318+
* multi-session fleets.</p>
1319+
*/
1320+
inline bool MaxSessionsPerInstanceHasBeenSet() const { return m_maxSessionsPerInstanceHasBeenSet; }
1321+
1322+
/**
1323+
* <p>The maximum number of user sessions on an instance. This only applies to
1324+
* multi-session fleets.</p>
1325+
*/
1326+
inline void SetMaxSessionsPerInstance(int value) { m_maxSessionsPerInstanceHasBeenSet = true; m_maxSessionsPerInstance = value; }
1327+
1328+
/**
1329+
* <p>The maximum number of user sessions on an instance. This only applies to
1330+
* multi-session fleets.</p>
1331+
*/
1332+
inline Fleet& WithMaxSessionsPerInstance(int value) { SetMaxSessionsPerInstance(value); return *this;}
1333+
13091334
private:
13101335

13111336
Aws::String m_arn;
@@ -1379,6 +1404,9 @@ namespace Model
13791404

13801405
S3Location m_sessionScriptS3Location;
13811406
bool m_sessionScriptS3LocationHasBeenSet = false;
1407+
1408+
int m_maxSessionsPerInstance;
1409+
bool m_maxSessionsPerInstanceHasBeenSet = false;
13821410
};
13831411

13841412
} // namespace Model

generated/src/aws-cpp-sdk-appstream/include/aws/appstream/model/FleetAttribute.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ namespace Model
2121
DOMAIN_JOIN_INFO,
2222
IAM_ROLE_ARN,
2323
USB_DEVICE_FILTER_STRINGS,
24-
SESSION_SCRIPT_S3_LOCATION
24+
SESSION_SCRIPT_S3_LOCATION,
25+
MAX_SESSIONS_PER_INSTANCE
2526
};
2627

2728
namespace FleetAttributeMapper

0 commit comments

Comments
 (0)