@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 CHANGED
@@ -3,6 +3,38 @@
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-appstream
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-appstream
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-appstream
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-appstream
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -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.28.0",
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.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
58
- "@aws-sdk/util-waiter": "3.25.0",
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.23.0",
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.2"
69
+ "typescript": "~4.3.5"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=10.0.0"
@@ -4597,10 +4597,10 @@ const deserializeAws_json1_1BatchDisassociateUserStackResult = (output, context)
4597
4597
  };
4598
4598
  const deserializeAws_json1_1ComputeCapacityStatus = (output, context) => {
4599
4599
  return {
4600
- Available: smithy_client_1.expectInt(output.Available),
4601
- Desired: smithy_client_1.expectInt(output.Desired),
4602
- InUse: smithy_client_1.expectInt(output.InUse),
4603
- Running: smithy_client_1.expectInt(output.Running),
4600
+ Available: smithy_client_1.expectInt32(output.Available),
4601
+ Desired: smithy_client_1.expectInt32(output.Desired),
4602
+ InUse: smithy_client_1.expectInt32(output.InUse),
4603
+ Running: smithy_client_1.expectInt32(output.Running),
4604
4604
  };
4605
4605
  };
4606
4606
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
@@ -4636,7 +4636,9 @@ const deserializeAws_json1_1CreateImageBuilderResult = (output, context) => {
4636
4636
  };
4637
4637
  const deserializeAws_json1_1CreateImageBuilderStreamingURLResult = (output, context) => {
4638
4638
  return {
4639
- Expires: output.Expires !== undefined && output.Expires !== null ? new Date(Math.round(output.Expires * 1000)) : undefined,
4639
+ Expires: output.Expires !== undefined && output.Expires !== null
4640
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Expires)))
4641
+ : undefined,
4640
4642
  StreamingURL: smithy_client_1.expectString(output.StreamingURL),
4641
4643
  };
4642
4644
  };
@@ -4649,7 +4651,9 @@ const deserializeAws_json1_1CreateStackResult = (output, context) => {
4649
4651
  };
4650
4652
  const deserializeAws_json1_1CreateStreamingURLResult = (output, context) => {
4651
4653
  return {
4652
- Expires: output.Expires !== undefined && output.Expires !== null ? new Date(Math.round(output.Expires * 1000)) : undefined,
4654
+ Expires: output.Expires !== undefined && output.Expires !== null
4655
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Expires)))
4656
+ : undefined,
4653
4657
  StreamingURL: smithy_client_1.expectString(output.StreamingURL),
4654
4658
  };
4655
4659
  };
@@ -4786,7 +4790,7 @@ const deserializeAws_json1_1DescribeUserStackAssociationsResult = (output, conte
4786
4790
  const deserializeAws_json1_1DirectoryConfig = (output, context) => {
4787
4791
  return {
4788
4792
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4789
- ? new Date(Math.round(output.CreatedTime * 1000))
4793
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4790
4794
  : undefined,
4791
4795
  DirectoryName: smithy_client_1.expectString(output.DirectoryName),
4792
4796
  OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames !== undefined && output.OrganizationalUnitDistinguishedNames !== null
@@ -4852,10 +4856,10 @@ const deserializeAws_json1_1Fleet = (output, context) => {
4852
4856
  ? deserializeAws_json1_1ComputeCapacityStatus(output.ComputeCapacityStatus, context)
4853
4857
  : undefined,
4854
4858
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4855
- ? new Date(Math.round(output.CreatedTime * 1000))
4859
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4856
4860
  : undefined,
4857
4861
  Description: smithy_client_1.expectString(output.Description),
4858
- DisconnectTimeoutInSeconds: smithy_client_1.expectInt(output.DisconnectTimeoutInSeconds),
4862
+ DisconnectTimeoutInSeconds: smithy_client_1.expectInt32(output.DisconnectTimeoutInSeconds),
4859
4863
  DisplayName: smithy_client_1.expectString(output.DisplayName),
4860
4864
  DomainJoinInfo: output.DomainJoinInfo !== undefined && output.DomainJoinInfo !== null
4861
4865
  ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
@@ -4866,11 +4870,11 @@ const deserializeAws_json1_1Fleet = (output, context) => {
4866
4870
  : undefined,
4867
4871
  FleetType: smithy_client_1.expectString(output.FleetType),
4868
4872
  IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
4869
- IdleDisconnectTimeoutInSeconds: smithy_client_1.expectInt(output.IdleDisconnectTimeoutInSeconds),
4873
+ IdleDisconnectTimeoutInSeconds: smithy_client_1.expectInt32(output.IdleDisconnectTimeoutInSeconds),
4870
4874
  ImageArn: smithy_client_1.expectString(output.ImageArn),
4871
4875
  ImageName: smithy_client_1.expectString(output.ImageName),
4872
4876
  InstanceType: smithy_client_1.expectString(output.InstanceType),
4873
- MaxUserDurationInSeconds: smithy_client_1.expectInt(output.MaxUserDurationInSeconds),
4877
+ MaxUserDurationInSeconds: smithy_client_1.expectInt32(output.MaxUserDurationInSeconds),
4874
4878
  Name: smithy_client_1.expectString(output.Name),
4875
4879
  State: smithy_client_1.expectString(output.State),
4876
4880
  StreamView: smithy_client_1.expectString(output.StreamView),
@@ -4914,7 +4918,7 @@ const deserializeAws_json1_1Image = (output, context) => {
4914
4918
  Arn: smithy_client_1.expectString(output.Arn),
4915
4919
  BaseImageArn: smithy_client_1.expectString(output.BaseImageArn),
4916
4920
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4917
- ? new Date(Math.round(output.CreatedTime * 1000))
4921
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4918
4922
  : undefined,
4919
4923
  Description: smithy_client_1.expectString(output.Description),
4920
4924
  DisplayName: smithy_client_1.expectString(output.DisplayName),
@@ -4929,7 +4933,7 @@ const deserializeAws_json1_1Image = (output, context) => {
4929
4933
  Name: smithy_client_1.expectString(output.Name),
4930
4934
  Platform: smithy_client_1.expectString(output.Platform),
4931
4935
  PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate !== undefined && output.PublicBaseImageReleasedDate !== null
4932
- ? new Date(Math.round(output.PublicBaseImageReleasedDate * 1000))
4936
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PublicBaseImageReleasedDate)))
4933
4937
  : undefined,
4934
4938
  State: smithy_client_1.expectString(output.State),
4935
4939
  StateChangeReason: output.StateChangeReason !== undefined && output.StateChangeReason !== null
@@ -4946,7 +4950,7 @@ const deserializeAws_json1_1ImageBuilder = (output, context) => {
4946
4950
  AppstreamAgentVersion: smithy_client_1.expectString(output.AppstreamAgentVersion),
4947
4951
  Arn: smithy_client_1.expectString(output.Arn),
4948
4952
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4949
- ? new Date(Math.round(output.CreatedTime * 1000))
4953
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4950
4954
  : undefined,
4951
4955
  Description: smithy_client_1.expectString(output.Description),
4952
4956
  DisplayName: smithy_client_1.expectString(output.DisplayName),
@@ -5121,7 +5125,7 @@ const deserializeAws_json1_1ResourceError = (output, context) => {
5121
5125
  ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5122
5126
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5123
5127
  ErrorTimestamp: output.ErrorTimestamp !== undefined && output.ErrorTimestamp !== null
5124
- ? new Date(Math.round(output.ErrorTimestamp * 1000))
5128
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ErrorTimestamp)))
5125
5129
  : undefined,
5126
5130
  };
5127
5131
  };
@@ -5173,14 +5177,14 @@ const deserializeAws_json1_1Session = (output, context) => {
5173
5177
  FleetName: smithy_client_1.expectString(output.FleetName),
5174
5178
  Id: smithy_client_1.expectString(output.Id),
5175
5179
  MaxExpirationTime: output.MaxExpirationTime !== undefined && output.MaxExpirationTime !== null
5176
- ? new Date(Math.round(output.MaxExpirationTime * 1000))
5180
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.MaxExpirationTime)))
5177
5181
  : undefined,
5178
5182
  NetworkAccessConfiguration: output.NetworkAccessConfiguration !== undefined && output.NetworkAccessConfiguration !== null
5179
5183
  ? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
5180
5184
  : undefined,
5181
5185
  StackName: smithy_client_1.expectString(output.StackName),
5182
5186
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5183
- ? new Date(Math.round(output.StartTime * 1000))
5187
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5184
5188
  : undefined,
5185
5189
  State: smithy_client_1.expectString(output.State),
5186
5190
  UserId: smithy_client_1.expectString(output.UserId),
@@ -5224,7 +5228,7 @@ const deserializeAws_json1_1Stack = (output, context) => {
5224
5228
  : undefined,
5225
5229
  Arn: smithy_client_1.expectString(output.Arn),
5226
5230
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5227
- ? new Date(Math.round(output.CreatedTime * 1000))
5231
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5228
5232
  : undefined,
5229
5233
  Description: smithy_client_1.expectString(output.Description),
5230
5234
  DisplayName: smithy_client_1.expectString(output.DisplayName),
@@ -5374,7 +5378,7 @@ const deserializeAws_json1_1UpdateStackResult = (output, context) => {
5374
5378
  const deserializeAws_json1_1UsageReportSubscription = (output, context) => {
5375
5379
  return {
5376
5380
  LastGeneratedReportDate: output.LastGeneratedReportDate !== undefined && output.LastGeneratedReportDate !== null
5377
- ? new Date(Math.round(output.LastGeneratedReportDate * 1000))
5381
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastGeneratedReportDate)))
5378
5382
  : undefined,
5379
5383
  S3BucketName: smithy_client_1.expectString(output.S3BucketName),
5380
5384
  Schedule: smithy_client_1.expectString(output.Schedule),
@@ -5398,7 +5402,7 @@ const deserializeAws_json1_1User = (output, context) => {
5398
5402
  Arn: smithy_client_1.expectString(output.Arn),
5399
5403
  AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
5400
5404
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5401
- ? new Date(Math.round(output.CreatedTime * 1000))
5405
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5402
5406
  : undefined,
5403
5407
  Enabled: smithy_client_1.expectBoolean(output.Enabled),
5404
5408
  FirstName: smithy_client_1.expectString(output.FirstName),