@aws-sdk/client-appstream 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_json1_1.js +24 -20
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_json1_1.js +25 -21
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_json1_1.ts +28 -21
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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,46 +27,46 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
58
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"tslib": "^2.3.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"downlevel-dts": "0.7.0",
|
|
65
65
|
"jest": "^26.1.0",
|
|
66
66
|
"rimraf": "^3.0.0",
|
|
67
67
|
"ts-jest": "^26.4.1",
|
|
68
68
|
"typedoc": "^0.19.2",
|
|
69
|
-
"typescript": "~4.3.
|
|
69
|
+
"typescript": "~4.3.5"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -245,8 +245,11 @@ import {
|
|
|
245
245
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
246
246
|
import {
|
|
247
247
|
expectBoolean as __expectBoolean,
|
|
248
|
-
|
|
248
|
+
expectInt32 as __expectInt32,
|
|
249
|
+
expectNonNull as __expectNonNull,
|
|
250
|
+
expectNumber as __expectNumber,
|
|
249
251
|
expectString as __expectString,
|
|
252
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
250
253
|
} from "@aws-sdk/smithy-client";
|
|
251
254
|
import {
|
|
252
255
|
Endpoint as __Endpoint,
|
|
@@ -5563,10 +5566,10 @@ const deserializeAws_json1_1BatchDisassociateUserStackResult = (
|
|
|
5563
5566
|
|
|
5564
5567
|
const deserializeAws_json1_1ComputeCapacityStatus = (output: any, context: __SerdeContext): ComputeCapacityStatus => {
|
|
5565
5568
|
return {
|
|
5566
|
-
Available:
|
|
5567
|
-
Desired:
|
|
5568
|
-
InUse:
|
|
5569
|
-
Running:
|
|
5569
|
+
Available: __expectInt32(output.Available),
|
|
5570
|
+
Desired: __expectInt32(output.Desired),
|
|
5571
|
+
InUse: __expectInt32(output.InUse),
|
|
5572
|
+
Running: __expectInt32(output.Running),
|
|
5570
5573
|
} as any;
|
|
5571
5574
|
};
|
|
5572
5575
|
|
|
@@ -5624,7 +5627,9 @@ const deserializeAws_json1_1CreateImageBuilderStreamingURLResult = (
|
|
|
5624
5627
|
): CreateImageBuilderStreamingURLResult => {
|
|
5625
5628
|
return {
|
|
5626
5629
|
Expires:
|
|
5627
|
-
output.Expires !== undefined && output.Expires !== null
|
|
5630
|
+
output.Expires !== undefined && output.Expires !== null
|
|
5631
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
|
|
5632
|
+
: undefined,
|
|
5628
5633
|
StreamingURL: __expectString(output.StreamingURL),
|
|
5629
5634
|
} as any;
|
|
5630
5635
|
};
|
|
@@ -5644,7 +5649,9 @@ const deserializeAws_json1_1CreateStreamingURLResult = (
|
|
|
5644
5649
|
): CreateStreamingURLResult => {
|
|
5645
5650
|
return {
|
|
5646
5651
|
Expires:
|
|
5647
|
-
output.Expires !== undefined && output.Expires !== null
|
|
5652
|
+
output.Expires !== undefined && output.Expires !== null
|
|
5653
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
|
|
5654
|
+
: undefined,
|
|
5648
5655
|
StreamingURL: __expectString(output.StreamingURL),
|
|
5649
5656
|
} as any;
|
|
5650
5657
|
};
|
|
@@ -5850,7 +5857,7 @@ const deserializeAws_json1_1DirectoryConfig = (output: any, context: __SerdeCont
|
|
|
5850
5857
|
return {
|
|
5851
5858
|
CreatedTime:
|
|
5852
5859
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
5853
|
-
?
|
|
5860
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5854
5861
|
: undefined,
|
|
5855
5862
|
DirectoryName: __expectString(output.DirectoryName),
|
|
5856
5863
|
OrganizationalUnitDistinguishedNames:
|
|
@@ -5935,10 +5942,10 @@ const deserializeAws_json1_1Fleet = (output: any, context: __SerdeContext): Flee
|
|
|
5935
5942
|
: undefined,
|
|
5936
5943
|
CreatedTime:
|
|
5937
5944
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
5938
|
-
?
|
|
5945
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5939
5946
|
: undefined,
|
|
5940
5947
|
Description: __expectString(output.Description),
|
|
5941
|
-
DisconnectTimeoutInSeconds:
|
|
5948
|
+
DisconnectTimeoutInSeconds: __expectInt32(output.DisconnectTimeoutInSeconds),
|
|
5942
5949
|
DisplayName: __expectString(output.DisplayName),
|
|
5943
5950
|
DomainJoinInfo:
|
|
5944
5951
|
output.DomainJoinInfo !== undefined && output.DomainJoinInfo !== null
|
|
@@ -5951,11 +5958,11 @@ const deserializeAws_json1_1Fleet = (output: any, context: __SerdeContext): Flee
|
|
|
5951
5958
|
: undefined,
|
|
5952
5959
|
FleetType: __expectString(output.FleetType),
|
|
5953
5960
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
5954
|
-
IdleDisconnectTimeoutInSeconds:
|
|
5961
|
+
IdleDisconnectTimeoutInSeconds: __expectInt32(output.IdleDisconnectTimeoutInSeconds),
|
|
5955
5962
|
ImageArn: __expectString(output.ImageArn),
|
|
5956
5963
|
ImageName: __expectString(output.ImageName),
|
|
5957
5964
|
InstanceType: __expectString(output.InstanceType),
|
|
5958
|
-
MaxUserDurationInSeconds:
|
|
5965
|
+
MaxUserDurationInSeconds: __expectInt32(output.MaxUserDurationInSeconds),
|
|
5959
5966
|
Name: __expectString(output.Name),
|
|
5960
5967
|
State: __expectString(output.State),
|
|
5961
5968
|
StreamView: __expectString(output.StreamView),
|
|
@@ -6006,7 +6013,7 @@ const deserializeAws_json1_1Image = (output: any, context: __SerdeContext): Imag
|
|
|
6006
6013
|
BaseImageArn: __expectString(output.BaseImageArn),
|
|
6007
6014
|
CreatedTime:
|
|
6008
6015
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
6009
|
-
?
|
|
6016
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6010
6017
|
: undefined,
|
|
6011
6018
|
Description: __expectString(output.Description),
|
|
6012
6019
|
DisplayName: __expectString(output.DisplayName),
|
|
@@ -6024,7 +6031,7 @@ const deserializeAws_json1_1Image = (output: any, context: __SerdeContext): Imag
|
|
|
6024
6031
|
Platform: __expectString(output.Platform),
|
|
6025
6032
|
PublicBaseImageReleasedDate:
|
|
6026
6033
|
output.PublicBaseImageReleasedDate !== undefined && output.PublicBaseImageReleasedDate !== null
|
|
6027
|
-
?
|
|
6034
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PublicBaseImageReleasedDate)))
|
|
6028
6035
|
: undefined,
|
|
6029
6036
|
State: __expectString(output.State),
|
|
6030
6037
|
StateChangeReason:
|
|
@@ -6045,7 +6052,7 @@ const deserializeAws_json1_1ImageBuilder = (output: any, context: __SerdeContext
|
|
|
6045
6052
|
Arn: __expectString(output.Arn),
|
|
6046
6053
|
CreatedTime:
|
|
6047
6054
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
6048
|
-
?
|
|
6055
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6049
6056
|
: undefined,
|
|
6050
6057
|
Description: __expectString(output.Description),
|
|
6051
6058
|
DisplayName: __expectString(output.DisplayName),
|
|
@@ -6293,7 +6300,7 @@ const deserializeAws_json1_1ResourceError = (output: any, context: __SerdeContex
|
|
|
6293
6300
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6294
6301
|
ErrorTimestamp:
|
|
6295
6302
|
output.ErrorTimestamp !== undefined && output.ErrorTimestamp !== null
|
|
6296
|
-
?
|
|
6303
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ErrorTimestamp)))
|
|
6297
6304
|
: undefined,
|
|
6298
6305
|
} as any;
|
|
6299
6306
|
};
|
|
@@ -6362,7 +6369,7 @@ const deserializeAws_json1_1Session = (output: any, context: __SerdeContext): Se
|
|
|
6362
6369
|
Id: __expectString(output.Id),
|
|
6363
6370
|
MaxExpirationTime:
|
|
6364
6371
|
output.MaxExpirationTime !== undefined && output.MaxExpirationTime !== null
|
|
6365
|
-
?
|
|
6372
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.MaxExpirationTime)))
|
|
6366
6373
|
: undefined,
|
|
6367
6374
|
NetworkAccessConfiguration:
|
|
6368
6375
|
output.NetworkAccessConfiguration !== undefined && output.NetworkAccessConfiguration !== null
|
|
@@ -6371,7 +6378,7 @@ const deserializeAws_json1_1Session = (output: any, context: __SerdeContext): Se
|
|
|
6371
6378
|
StackName: __expectString(output.StackName),
|
|
6372
6379
|
StartTime:
|
|
6373
6380
|
output.StartTime !== undefined && output.StartTime !== null
|
|
6374
|
-
?
|
|
6381
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
6375
6382
|
: undefined,
|
|
6376
6383
|
State: __expectString(output.State),
|
|
6377
6384
|
UserId: __expectString(output.UserId),
|
|
@@ -6426,7 +6433,7 @@ const deserializeAws_json1_1Stack = (output: any, context: __SerdeContext): Stac
|
|
|
6426
6433
|
Arn: __expectString(output.Arn),
|
|
6427
6434
|
CreatedTime:
|
|
6428
6435
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
6429
|
-
?
|
|
6436
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6430
6437
|
: undefined,
|
|
6431
6438
|
Description: __expectString(output.Description),
|
|
6432
6439
|
DisplayName: __expectString(output.DisplayName),
|
|
@@ -6618,7 +6625,7 @@ const deserializeAws_json1_1UsageReportSubscription = (
|
|
|
6618
6625
|
return {
|
|
6619
6626
|
LastGeneratedReportDate:
|
|
6620
6627
|
output.LastGeneratedReportDate !== undefined && output.LastGeneratedReportDate !== null
|
|
6621
|
-
?
|
|
6628
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastGeneratedReportDate)))
|
|
6622
6629
|
: undefined,
|
|
6623
6630
|
S3BucketName: __expectString(output.S3BucketName),
|
|
6624
6631
|
Schedule: __expectString(output.Schedule),
|
|
@@ -6649,7 +6656,7 @@ const deserializeAws_json1_1User = (output: any, context: __SerdeContext): User
|
|
|
6649
6656
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
6650
6657
|
CreatedTime:
|
|
6651
6658
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
6652
|
-
?
|
|
6659
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6653
6660
|
: undefined,
|
|
6654
6661
|
Enabled: __expectBoolean(output.Enabled),
|
|
6655
6662
|
FirstName: __expectString(output.FirstName),
|