@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.
@@ -53,8 +53,7 @@ var partitionHash = {
53
53
  };
54
54
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
55
55
  return __generator(this, function (_a) {
56
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "appstream", regionHash: regionHash,
57
- partitionHash: partitionHash }))];
56
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "appstream", regionHash: regionHash, partitionHash: partitionHash }))];
58
57
  });
59
58
  }); };
60
59
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,IAAI,EAAE;QACJ,QAAQ,EAAE,6CAA6C;QACvD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,MAAM;YACN,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,mCAAmC;KAC9C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,sCAAsC;KACjD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,Q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EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,mCAAmC;KAC9C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,eAAe,CAAC;QACnD,QAAQ,EAAE,mCAAmC;KAC9C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,WAAW,EAC3B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -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"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  export var serializeAws_json1_1AssociateFleetCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
5
  var headers, body;
6
6
  return __generator(this, function (_a) {
@@ -4788,10 +4788,10 @@ var deserializeAws_json1_1BatchDisassociateUserStackResult = function (output, c
4788
4788
  };
4789
4789
  var deserializeAws_json1_1ComputeCapacityStatus = function (output, context) {
4790
4790
  return {
4791
- Available: __expectInt(output.Available),
4792
- Desired: __expectInt(output.Desired),
4793
- InUse: __expectInt(output.InUse),
4794
- Running: __expectInt(output.Running),
4791
+ Available: __expectInt32(output.Available),
4792
+ Desired: __expectInt32(output.Desired),
4793
+ InUse: __expectInt32(output.InUse),
4794
+ Running: __expectInt32(output.Running),
4795
4795
  };
4796
4796
  };
4797
4797
  var deserializeAws_json1_1ConcurrentModificationException = function (output, context) {
@@ -4827,7 +4827,9 @@ var deserializeAws_json1_1CreateImageBuilderResult = function (output, context)
4827
4827
  };
4828
4828
  var deserializeAws_json1_1CreateImageBuilderStreamingURLResult = function (output, context) {
4829
4829
  return {
4830
- Expires: output.Expires !== undefined && output.Expires !== null ? new Date(Math.round(output.Expires * 1000)) : undefined,
4830
+ Expires: output.Expires !== undefined && output.Expires !== null
4831
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
4832
+ : undefined,
4831
4833
  StreamingURL: __expectString(output.StreamingURL),
4832
4834
  };
4833
4835
  };
@@ -4840,7 +4842,9 @@ var deserializeAws_json1_1CreateStackResult = function (output, context) {
4840
4842
  };
4841
4843
  var deserializeAws_json1_1CreateStreamingURLResult = function (output, context) {
4842
4844
  return {
4843
- Expires: output.Expires !== undefined && output.Expires !== null ? new Date(Math.round(output.Expires * 1000)) : undefined,
4845
+ Expires: output.Expires !== undefined && output.Expires !== null
4846
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
4847
+ : undefined,
4844
4848
  StreamingURL: __expectString(output.StreamingURL),
4845
4849
  };
4846
4850
  };
@@ -4977,7 +4981,7 @@ var deserializeAws_json1_1DescribeUserStackAssociationsResult = function (output
4977
4981
  var deserializeAws_json1_1DirectoryConfig = function (output, context) {
4978
4982
  return {
4979
4983
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4980
- ? new Date(Math.round(output.CreatedTime * 1000))
4984
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
4981
4985
  : undefined,
4982
4986
  DirectoryName: __expectString(output.DirectoryName),
4983
4987
  OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames !== undefined && output.OrganizationalUnitDistinguishedNames !== null
@@ -5043,10 +5047,10 @@ var deserializeAws_json1_1Fleet = function (output, context) {
5043
5047
  ? deserializeAws_json1_1ComputeCapacityStatus(output.ComputeCapacityStatus, context)
5044
5048
  : undefined,
5045
5049
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5046
- ? new Date(Math.round(output.CreatedTime * 1000))
5050
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5047
5051
  : undefined,
5048
5052
  Description: __expectString(output.Description),
5049
- DisconnectTimeoutInSeconds: __expectInt(output.DisconnectTimeoutInSeconds),
5053
+ DisconnectTimeoutInSeconds: __expectInt32(output.DisconnectTimeoutInSeconds),
5050
5054
  DisplayName: __expectString(output.DisplayName),
5051
5055
  DomainJoinInfo: output.DomainJoinInfo !== undefined && output.DomainJoinInfo !== null
5052
5056
  ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
@@ -5057,11 +5061,11 @@ var deserializeAws_json1_1Fleet = function (output, context) {
5057
5061
  : undefined,
5058
5062
  FleetType: __expectString(output.FleetType),
5059
5063
  IamRoleArn: __expectString(output.IamRoleArn),
5060
- IdleDisconnectTimeoutInSeconds: __expectInt(output.IdleDisconnectTimeoutInSeconds),
5064
+ IdleDisconnectTimeoutInSeconds: __expectInt32(output.IdleDisconnectTimeoutInSeconds),
5061
5065
  ImageArn: __expectString(output.ImageArn),
5062
5066
  ImageName: __expectString(output.ImageName),
5063
5067
  InstanceType: __expectString(output.InstanceType),
5064
- MaxUserDurationInSeconds: __expectInt(output.MaxUserDurationInSeconds),
5068
+ MaxUserDurationInSeconds: __expectInt32(output.MaxUserDurationInSeconds),
5065
5069
  Name: __expectString(output.Name),
5066
5070
  State: __expectString(output.State),
5067
5071
  StreamView: __expectString(output.StreamView),
@@ -5105,7 +5109,7 @@ var deserializeAws_json1_1Image = function (output, context) {
5105
5109
  Arn: __expectString(output.Arn),
5106
5110
  BaseImageArn: __expectString(output.BaseImageArn),
5107
5111
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5108
- ? new Date(Math.round(output.CreatedTime * 1000))
5112
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5109
5113
  : undefined,
5110
5114
  Description: __expectString(output.Description),
5111
5115
  DisplayName: __expectString(output.DisplayName),
@@ -5120,7 +5124,7 @@ var deserializeAws_json1_1Image = function (output, context) {
5120
5124
  Name: __expectString(output.Name),
5121
5125
  Platform: __expectString(output.Platform),
5122
5126
  PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate !== undefined && output.PublicBaseImageReleasedDate !== null
5123
- ? new Date(Math.round(output.PublicBaseImageReleasedDate * 1000))
5127
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PublicBaseImageReleasedDate)))
5124
5128
  : undefined,
5125
5129
  State: __expectString(output.State),
5126
5130
  StateChangeReason: output.StateChangeReason !== undefined && output.StateChangeReason !== null
@@ -5137,7 +5141,7 @@ var deserializeAws_json1_1ImageBuilder = function (output, context) {
5137
5141
  AppstreamAgentVersion: __expectString(output.AppstreamAgentVersion),
5138
5142
  Arn: __expectString(output.Arn),
5139
5143
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5140
- ? new Date(Math.round(output.CreatedTime * 1000))
5144
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5141
5145
  : undefined,
5142
5146
  Description: __expectString(output.Description),
5143
5147
  DisplayName: __expectString(output.DisplayName),
@@ -5311,7 +5315,7 @@ var deserializeAws_json1_1ResourceError = function (output, context) {
5311
5315
  ErrorCode: __expectString(output.ErrorCode),
5312
5316
  ErrorMessage: __expectString(output.ErrorMessage),
5313
5317
  ErrorTimestamp: output.ErrorTimestamp !== undefined && output.ErrorTimestamp !== null
5314
- ? new Date(Math.round(output.ErrorTimestamp * 1000))
5318
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ErrorTimestamp)))
5315
5319
  : undefined,
5316
5320
  };
5317
5321
  };
@@ -5363,14 +5367,14 @@ var deserializeAws_json1_1Session = function (output, context) {
5363
5367
  FleetName: __expectString(output.FleetName),
5364
5368
  Id: __expectString(output.Id),
5365
5369
  MaxExpirationTime: output.MaxExpirationTime !== undefined && output.MaxExpirationTime !== null
5366
- ? new Date(Math.round(output.MaxExpirationTime * 1000))
5370
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.MaxExpirationTime)))
5367
5371
  : undefined,
5368
5372
  NetworkAccessConfiguration: output.NetworkAccessConfiguration !== undefined && output.NetworkAccessConfiguration !== null
5369
5373
  ? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
5370
5374
  : undefined,
5371
5375
  StackName: __expectString(output.StackName),
5372
5376
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5373
- ? new Date(Math.round(output.StartTime * 1000))
5377
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
5374
5378
  : undefined,
5375
5379
  State: __expectString(output.State),
5376
5380
  UserId: __expectString(output.UserId),
@@ -5414,7 +5418,7 @@ var deserializeAws_json1_1Stack = function (output, context) {
5414
5418
  : undefined,
5415
5419
  Arn: __expectString(output.Arn),
5416
5420
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5417
- ? new Date(Math.round(output.CreatedTime * 1000))
5421
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5418
5422
  : undefined,
5419
5423
  Description: __expectString(output.Description),
5420
5424
  DisplayName: __expectString(output.DisplayName),
@@ -5563,7 +5567,7 @@ var deserializeAws_json1_1UpdateStackResult = function (output, context) {
5563
5567
  var deserializeAws_json1_1UsageReportSubscription = function (output, context) {
5564
5568
  return {
5565
5569
  LastGeneratedReportDate: output.LastGeneratedReportDate !== undefined && output.LastGeneratedReportDate !== null
5566
- ? new Date(Math.round(output.LastGeneratedReportDate * 1000))
5570
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastGeneratedReportDate)))
5567
5571
  : undefined,
5568
5572
  S3BucketName: __expectString(output.S3BucketName),
5569
5573
  Schedule: __expectString(output.Schedule),
@@ -5587,7 +5591,7 @@ var deserializeAws_json1_1User = function (output, context) {
5587
5591
  Arn: __expectString(output.Arn),
5588
5592
  AuthenticationType: __expectString(output.AuthenticationType),
5589
5593
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5590
- ? new Date(Math.round(output.CreatedTime * 1000))
5594
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5591
5595
  : undefined,
5592
5596
  Enabled: __expectBoolean(output.Enabled),
5593
5597
  FirstName: __expectString(output.FirstName),