Skip to content

Commit e52c79d

Browse files
author
awstools
committed
feat(client-appstream): Includes updates for create and update fleet APIs to manage the session scripts locations for Elastic fleets.
1 parent f963bdd commit e52c79d

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

clients/client-appstream/src/models/models_0.ts

+16
Original file line numberDiff line numberDiff line change
@@ -1706,6 +1706,11 @@ export interface CreateFleetRequest {
17061706
* <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
17071707
*/
17081708
UsbDeviceFilterStrings?: string[];
1709+
1710+
/**
1711+
* <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
1712+
*/
1713+
SessionScriptS3Location?: S3Location;
17091714
}
17101715

17111716
export namespace CreateFleetRequest {
@@ -2033,6 +2038,11 @@ export interface Fleet {
20332038
* <p>The USB device filter strings associated with the fleet.</p>
20342039
*/
20352040
UsbDeviceFilterStrings?: string[];
2041+
2042+
/**
2043+
* <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
2044+
*/
2045+
SessionScriptS3Location?: S3Location;
20362046
}
20372047

20382048
export namespace Fleet {
@@ -4836,6 +4846,7 @@ export namespace ExpireSessionResult {
48364846
export enum FleetAttribute {
48374847
DOMAIN_JOIN_INFO = "DOMAIN_JOIN_INFO",
48384848
IAM_ROLE_ARN = "IAM_ROLE_ARN",
4849+
SESSION_SCRIPT_S3_LOCATION = "SESSION_SCRIPT_S3_LOCATION",
48394850
USB_DEVICE_FILTER_STRINGS = "USB_DEVICE_FILTER_STRINGS",
48404851
VPC_CONFIGURATION = "VPC_CONFIGURATION",
48414852
VPC_CONFIGURATION_SECURITY_GROUP_IDS = "VPC_CONFIGURATION_SECURITY_GROUP_IDS",
@@ -5603,6 +5614,11 @@ export interface UpdateFleetRequest {
56035614
* <p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>
56045615
*/
56055616
UsbDeviceFilterStrings?: string[];
5617+
5618+
/**
5619+
* <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>
5620+
*/
5621+
SessionScriptS3Location?: S3Location;
56065622
}
56075623

56085624
export namespace UpdateFleetRequest {

clients/client-appstream/src/protocols/Aws_json1_1.ts

+12
Original file line numberDiff line numberDiff line change
@@ -4897,6 +4897,10 @@ const serializeAws_json1_1CreateFleetRequest = (input: CreateFleetRequest, conte
48974897
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds }),
48984898
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
48994899
...(input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform }),
4900+
...(input.SessionScriptS3Location !== undefined &&
4901+
input.SessionScriptS3Location !== null && {
4902+
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
4903+
}),
49004904
...(input.StreamView !== undefined && input.StreamView !== null && { StreamView: input.StreamView }),
49014905
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
49024906
...(input.UsbDeviceFilterStrings !== undefined &&
@@ -5745,6 +5749,10 @@ const serializeAws_json1_1UpdateFleetRequest = (input: UpdateFleetRequest, conte
57455749
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds }),
57465750
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
57475751
...(input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform }),
5752+
...(input.SessionScriptS3Location !== undefined &&
5753+
input.SessionScriptS3Location !== null && {
5754+
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
5755+
}),
57485756
...(input.StreamView !== undefined && input.StreamView !== null && { StreamView: input.StreamView }),
57495757
...(input.UsbDeviceFilterStrings !== undefined &&
57505758
input.UsbDeviceFilterStrings !== null && {
@@ -6663,6 +6671,10 @@ const deserializeAws_json1_1Fleet = (output: any, context: __SerdeContext): Flee
66636671
MaxUserDurationInSeconds: __expectInt32(output.MaxUserDurationInSeconds),
66646672
Name: __expectString(output.Name),
66656673
Platform: __expectString(output.Platform),
6674+
SessionScriptS3Location:
6675+
output.SessionScriptS3Location !== undefined && output.SessionScriptS3Location !== null
6676+
? deserializeAws_json1_1S3Location(output.SessionScriptS3Location, context)
6677+
: undefined,
66666678
State: __expectString(output.State),
66676679
StreamView: __expectString(output.StreamView),
66686680
UsbDeviceFilterStrings:

codegen/sdk-codegen/aws-models/appstream.json

+22
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,12 @@
13821382
"traits": {
13831383
"smithy.api#documentation": "<p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>"
13841384
}
1385+
},
1386+
"SessionScriptS3Location": {
1387+
"target": "com.amazonaws.appstream#S3Location",
1388+
"traits": {
1389+
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
1390+
}
13851391
}
13861392
}
13871393
},
@@ -4121,6 +4127,12 @@
41214127
"traits": {
41224128
"smithy.api#documentation": "<p>The USB device filter strings associated with the fleet.</p>"
41234129
}
4130+
},
4131+
"SessionScriptS3Location": {
4132+
"target": "com.amazonaws.appstream#S3Location",
4133+
"traits": {
4134+
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
4135+
}
41244136
}
41254137
},
41264138
"traits": {
@@ -4151,6 +4163,10 @@
41514163
{
41524164
"value": "USB_DEVICE_FILTER_STRINGS",
41534165
"name": "USB_DEVICE_FILTER_STRINGS"
4166+
},
4167+
{
4168+
"value": "SESSION_SCRIPT_S3_LOCATION",
4169+
"name": "SESSION_SCRIPT_S3_LOCATION"
41544170
}
41554171
]
41564172
}
@@ -6867,6 +6883,12 @@
68676883
"traits": {
68686884
"smithy.api#documentation": "<p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>"
68696885
}
6886+
},
6887+
"SessionScriptS3Location": {
6888+
"target": "com.amazonaws.appstream#S3Location",
6889+
"traits": {
6890+
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>"
6891+
}
68706892
}
68716893
}
68726894
},

0 commit comments

Comments
 (0)