@aws-sdk/client-appstream 3.67.0 → 3.71.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +11 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +13 -4
- package/dist-types/models/models_0.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.71.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.70.0...v3.71.0) (2022-04-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-appstream:** Includes updates for create and update fleet APIs to manage the session scripts locations for Elastic fleets. ([e52c79d](https://github.com/aws/aws-sdk-js-v3/commit/e52c79d9000e8a9794f979c4048316dd739f71fd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-appstream
|
|
@@ -1226,6 +1226,7 @@ var FleetAttribute;
|
|
|
1226
1226
|
(function (FleetAttribute) {
|
|
1227
1227
|
FleetAttribute["DOMAIN_JOIN_INFO"] = "DOMAIN_JOIN_INFO";
|
|
1228
1228
|
FleetAttribute["IAM_ROLE_ARN"] = "IAM_ROLE_ARN";
|
|
1229
|
+
FleetAttribute["SESSION_SCRIPT_S3_LOCATION"] = "SESSION_SCRIPT_S3_LOCATION";
|
|
1229
1230
|
FleetAttribute["USB_DEVICE_FILTER_STRINGS"] = "USB_DEVICE_FILTER_STRINGS";
|
|
1230
1231
|
FleetAttribute["VPC_CONFIGURATION"] = "VPC_CONFIGURATION";
|
|
1231
1232
|
FleetAttribute["VPC_CONFIGURATION_SECURITY_GROUP_IDS"] = "VPC_CONFIGURATION_SECURITY_GROUP_IDS";
|
|
@@ -3804,6 +3804,10 @@ const serializeAws_json1_1CreateFleetRequest = (input, context) => {
|
|
|
3804
3804
|
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds }),
|
|
3805
3805
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
3806
3806
|
...(input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform }),
|
|
3807
|
+
...(input.SessionScriptS3Location !== undefined &&
|
|
3808
|
+
input.SessionScriptS3Location !== null && {
|
|
3809
|
+
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
3810
|
+
}),
|
|
3807
3811
|
...(input.StreamView !== undefined && input.StreamView !== null && { StreamView: input.StreamView }),
|
|
3808
3812
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
3809
3813
|
...(input.UsbDeviceFilterStrings !== undefined &&
|
|
@@ -4474,6 +4478,10 @@ const serializeAws_json1_1UpdateFleetRequest = (input, context) => {
|
|
|
4474
4478
|
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds }),
|
|
4475
4479
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
4476
4480
|
...(input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform }),
|
|
4481
|
+
...(input.SessionScriptS3Location !== undefined &&
|
|
4482
|
+
input.SessionScriptS3Location !== null && {
|
|
4483
|
+
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
4484
|
+
}),
|
|
4477
4485
|
...(input.StreamView !== undefined && input.StreamView !== null && { StreamView: input.StreamView }),
|
|
4478
4486
|
...(input.UsbDeviceFilterStrings !== undefined &&
|
|
4479
4487
|
input.UsbDeviceFilterStrings !== null && {
|
|
@@ -5146,6 +5154,9 @@ const deserializeAws_json1_1Fleet = (output, context) => {
|
|
|
5146
5154
|
MaxUserDurationInSeconds: (0, smithy_client_1.expectInt32)(output.MaxUserDurationInSeconds),
|
|
5147
5155
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5148
5156
|
Platform: (0, smithy_client_1.expectString)(output.Platform),
|
|
5157
|
+
SessionScriptS3Location: output.SessionScriptS3Location !== undefined && output.SessionScriptS3Location !== null
|
|
5158
|
+
? deserializeAws_json1_1S3Location(output.SessionScriptS3Location, context)
|
|
5159
|
+
: undefined,
|
|
5149
5160
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
5150
5161
|
StreamView: (0, smithy_client_1.expectString)(output.StreamView),
|
|
5151
5162
|
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings !== undefined && output.UsbDeviceFilterStrings !== null
|
|
@@ -912,6 +912,7 @@ export var FleetAttribute;
|
|
|
912
912
|
(function (FleetAttribute) {
|
|
913
913
|
FleetAttribute["DOMAIN_JOIN_INFO"] = "DOMAIN_JOIN_INFO";
|
|
914
914
|
FleetAttribute["IAM_ROLE_ARN"] = "IAM_ROLE_ARN";
|
|
915
|
+
FleetAttribute["SESSION_SCRIPT_S3_LOCATION"] = "SESSION_SCRIPT_S3_LOCATION";
|
|
915
916
|
FleetAttribute["USB_DEVICE_FILTER_STRINGS"] = "USB_DEVICE_FILTER_STRINGS";
|
|
916
917
|
FleetAttribute["VPC_CONFIGURATION"] = "VPC_CONFIGURATION";
|
|
917
918
|
FleetAttribute["VPC_CONFIGURATION_SECURITY_GROUP_IDS"] = "VPC_CONFIGURATION_SECURITY_GROUP_IDS";
|
|
@@ -4845,7 +4845,7 @@ var serializeAws_json1_1CreateEntitlementRequest = function (input, context) {
|
|
|
4845
4845
|
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
4846
4846
|
};
|
|
4847
4847
|
var serializeAws_json1_1CreateFleetRequest = function (input, context) {
|
|
4848
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComputeCapacity !== undefined &&
|
|
4848
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComputeCapacity !== undefined &&
|
|
4849
4849
|
input.ComputeCapacity !== null && {
|
|
4850
4850
|
ComputeCapacity: serializeAws_json1_1ComputeCapacity(input.ComputeCapacity, context),
|
|
4851
4851
|
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds !== undefined &&
|
|
@@ -4858,7 +4858,10 @@ var serializeAws_json1_1CreateFleetRequest = function (input, context) {
|
|
|
4858
4858
|
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
4859
4859
|
})), (input.ImageArn !== undefined && input.ImageArn !== null && { ImageArn: input.ImageArn })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.MaxConcurrentSessions !== undefined &&
|
|
4860
4860
|
input.MaxConcurrentSessions !== null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds !== undefined &&
|
|
4861
|
-
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.
|
|
4861
|
+
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.SessionScriptS3Location !== undefined &&
|
|
4862
|
+
input.SessionScriptS3Location !== null && {
|
|
4863
|
+
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
4864
|
+
})), (input.StreamView !== undefined && input.StreamView !== null && { StreamView: input.StreamView })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UsbDeviceFilterStrings !== undefined &&
|
|
4862
4865
|
input.UsbDeviceFilterStrings !== null && {
|
|
4863
4866
|
UsbDeviceFilterStrings: serializeAws_json1_1UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
4864
4867
|
})), (input.VpcConfig !== undefined &&
|
|
@@ -5263,7 +5266,7 @@ var serializeAws_json1_1UpdateEntitlementRequest = function (input, context) {
|
|
|
5263
5266
|
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
5264
5267
|
};
|
|
5265
5268
|
var serializeAws_json1_1UpdateFleetRequest = function (input, context) {
|
|
5266
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToDelete !== undefined &&
|
|
5269
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToDelete !== undefined &&
|
|
5267
5270
|
input.AttributesToDelete !== null && {
|
|
5268
5271
|
AttributesToDelete: serializeAws_json1_1FleetAttributes(input.AttributesToDelete, context),
|
|
5269
5272
|
})), (input.ComputeCapacity !== undefined &&
|
|
@@ -5280,7 +5283,10 @@ var serializeAws_json1_1UpdateFleetRequest = function (input, context) {
|
|
|
5280
5283
|
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
5281
5284
|
})), (input.ImageArn !== undefined && input.ImageArn !== null && { ImageArn: input.ImageArn })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.MaxConcurrentSessions !== undefined &&
|
|
5282
5285
|
input.MaxConcurrentSessions !== null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds !== undefined &&
|
|
5283
|
-
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.
|
|
5286
|
+
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.SessionScriptS3Location !== undefined &&
|
|
5287
|
+
input.SessionScriptS3Location !== null && {
|
|
5288
|
+
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
5289
|
+
})), (input.StreamView !== undefined && input.StreamView !== null && { StreamView: input.StreamView })), (input.UsbDeviceFilterStrings !== undefined &&
|
|
5284
5290
|
input.UsbDeviceFilterStrings !== null && {
|
|
5285
5291
|
UsbDeviceFilterStrings: serializeAws_json1_1UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
5286
5292
|
})), (input.VpcConfig !== undefined &&
|
|
@@ -5921,6 +5927,9 @@ var deserializeAws_json1_1Fleet = function (output, context) {
|
|
|
5921
5927
|
MaxUserDurationInSeconds: __expectInt32(output.MaxUserDurationInSeconds),
|
|
5922
5928
|
Name: __expectString(output.Name),
|
|
5923
5929
|
Platform: __expectString(output.Platform),
|
|
5930
|
+
SessionScriptS3Location: output.SessionScriptS3Location !== undefined && output.SessionScriptS3Location !== null
|
|
5931
|
+
? deserializeAws_json1_1S3Location(output.SessionScriptS3Location, context)
|
|
5932
|
+
: undefined,
|
|
5924
5933
|
State: __expectString(output.State),
|
|
5925
5934
|
StreamView: __expectString(output.StreamView),
|
|
5926
5935
|
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings !== undefined && output.UsbDeviceFilterStrings !== null
|
|
@@ -1326,6 +1326,10 @@ export interface CreateFleetRequest {
|
|
|
1326
1326
|
* <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>
|
|
1327
1327
|
*/
|
|
1328
1328
|
UsbDeviceFilterStrings?: string[];
|
|
1329
|
+
/**
|
|
1330
|
+
* <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
|
|
1331
|
+
*/
|
|
1332
|
+
SessionScriptS3Location?: S3Location;
|
|
1329
1333
|
}
|
|
1330
1334
|
export declare namespace CreateFleetRequest {
|
|
1331
1335
|
/**
|
|
@@ -1620,6 +1624,10 @@ export interface Fleet {
|
|
|
1620
1624
|
* <p>The USB device filter strings associated with the fleet.</p>
|
|
1621
1625
|
*/
|
|
1622
1626
|
UsbDeviceFilterStrings?: string[];
|
|
1627
|
+
/**
|
|
1628
|
+
* <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>
|
|
1629
|
+
*/
|
|
1630
|
+
SessionScriptS3Location?: S3Location;
|
|
1623
1631
|
}
|
|
1624
1632
|
export declare namespace Fleet {
|
|
1625
1633
|
/**
|
|
@@ -3843,6 +3851,7 @@ export declare namespace ExpireSessionResult {
|
|
|
3843
3851
|
export declare enum FleetAttribute {
|
|
3844
3852
|
DOMAIN_JOIN_INFO = "DOMAIN_JOIN_INFO",
|
|
3845
3853
|
IAM_ROLE_ARN = "IAM_ROLE_ARN",
|
|
3854
|
+
SESSION_SCRIPT_S3_LOCATION = "SESSION_SCRIPT_S3_LOCATION",
|
|
3846
3855
|
USB_DEVICE_FILTER_STRINGS = "USB_DEVICE_FILTER_STRINGS",
|
|
3847
3856
|
VPC_CONFIGURATION = "VPC_CONFIGURATION",
|
|
3848
3857
|
VPC_CONFIGURATION_SECURITY_GROUP_IDS = "VPC_CONFIGURATION_SECURITY_GROUP_IDS"
|
|
@@ -4465,6 +4474,10 @@ export interface UpdateFleetRequest {
|
|
|
4465
4474
|
* <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>
|
|
4466
4475
|
*/
|
|
4467
4476
|
UsbDeviceFilterStrings?: string[];
|
|
4477
|
+
/**
|
|
4478
|
+
* <p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>
|
|
4479
|
+
*/
|
|
4480
|
+
SessionScriptS3Location?: S3Location;
|
|
4468
4481
|
}
|
|
4469
4482
|
export declare namespace UpdateFleetRequest {
|
|
4470
4483
|
/**
|
|
@@ -672,6 +672,8 @@ export interface CreateFleetRequest {
|
|
|
672
672
|
MaxConcurrentSessions?: number;
|
|
673
673
|
|
|
674
674
|
UsbDeviceFilterStrings?: string[];
|
|
675
|
+
|
|
676
|
+
SessionScriptS3Location?: S3Location;
|
|
675
677
|
}
|
|
676
678
|
export declare namespace CreateFleetRequest {
|
|
677
679
|
|
|
@@ -774,6 +776,8 @@ export interface Fleet {
|
|
|
774
776
|
MaxConcurrentSessions?: number;
|
|
775
777
|
|
|
776
778
|
UsbDeviceFilterStrings?: string[];
|
|
779
|
+
|
|
780
|
+
SessionScriptS3Location?: S3Location;
|
|
777
781
|
}
|
|
778
782
|
export declare namespace Fleet {
|
|
779
783
|
|
|
@@ -1961,6 +1965,7 @@ export declare namespace ExpireSessionResult {
|
|
|
1961
1965
|
export declare enum FleetAttribute {
|
|
1962
1966
|
DOMAIN_JOIN_INFO = "DOMAIN_JOIN_INFO",
|
|
1963
1967
|
IAM_ROLE_ARN = "IAM_ROLE_ARN",
|
|
1968
|
+
SESSION_SCRIPT_S3_LOCATION = "SESSION_SCRIPT_S3_LOCATION",
|
|
1964
1969
|
USB_DEVICE_FILTER_STRINGS = "USB_DEVICE_FILTER_STRINGS",
|
|
1965
1970
|
VPC_CONFIGURATION = "VPC_CONFIGURATION",
|
|
1966
1971
|
VPC_CONFIGURATION_SECURITY_GROUP_IDS = "VPC_CONFIGURATION_SECURITY_GROUP_IDS"
|
|
@@ -2260,6 +2265,8 @@ export interface UpdateFleetRequest {
|
|
|
2260
2265
|
MaxConcurrentSessions?: number;
|
|
2261
2266
|
|
|
2262
2267
|
UsbDeviceFilterStrings?: string[];
|
|
2268
|
+
|
|
2269
|
+
SessionScriptS3Location?: S3Location;
|
|
2263
2270
|
}
|
|
2264
2271
|
export declare namespace UpdateFleetRequest {
|
|
2265
2272
|
|
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.
|
|
4
|
+
"version": "3.71.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",
|