@aws-sdk/client-appstream 3.523.0 → 3.529.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.
Files changed (98) hide show
  1. package/dist-cjs/index.js +78 -118
  2. package/dist-es/protocols/Aws_json1_1.js +1 -40
  3. package/package.json +17 -17
  4. package/dist-cjs/AppStream.js +0 -1
  5. package/dist-cjs/AppStreamClient.js +0 -1
  6. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  7. package/dist-cjs/commands/AssociateAppBlockBuilderAppBlockCommand.js +0 -1
  8. package/dist-cjs/commands/AssociateApplicationFleetCommand.js +0 -1
  9. package/dist-cjs/commands/AssociateApplicationToEntitlementCommand.js +0 -1
  10. package/dist-cjs/commands/AssociateFleetCommand.js +0 -1
  11. package/dist-cjs/commands/BatchAssociateUserStackCommand.js +0 -1
  12. package/dist-cjs/commands/BatchDisassociateUserStackCommand.js +0 -1
  13. package/dist-cjs/commands/CopyImageCommand.js +0 -1
  14. package/dist-cjs/commands/CreateAppBlockBuilderCommand.js +0 -1
  15. package/dist-cjs/commands/CreateAppBlockBuilderStreamingURLCommand.js +0 -1
  16. package/dist-cjs/commands/CreateAppBlockCommand.js +0 -1
  17. package/dist-cjs/commands/CreateApplicationCommand.js +0 -1
  18. package/dist-cjs/commands/CreateDirectoryConfigCommand.js +0 -1
  19. package/dist-cjs/commands/CreateEntitlementCommand.js +0 -1
  20. package/dist-cjs/commands/CreateFleetCommand.js +0 -1
  21. package/dist-cjs/commands/CreateImageBuilderCommand.js +0 -1
  22. package/dist-cjs/commands/CreateImageBuilderStreamingURLCommand.js +0 -1
  23. package/dist-cjs/commands/CreateStackCommand.js +0 -1
  24. package/dist-cjs/commands/CreateStreamingURLCommand.js +0 -1
  25. package/dist-cjs/commands/CreateUpdatedImageCommand.js +0 -1
  26. package/dist-cjs/commands/CreateUsageReportSubscriptionCommand.js +0 -1
  27. package/dist-cjs/commands/CreateUserCommand.js +0 -1
  28. package/dist-cjs/commands/DeleteAppBlockBuilderCommand.js +0 -1
  29. package/dist-cjs/commands/DeleteAppBlockCommand.js +0 -1
  30. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -1
  31. package/dist-cjs/commands/DeleteDirectoryConfigCommand.js +0 -1
  32. package/dist-cjs/commands/DeleteEntitlementCommand.js +0 -1
  33. package/dist-cjs/commands/DeleteFleetCommand.js +0 -1
  34. package/dist-cjs/commands/DeleteImageBuilderCommand.js +0 -1
  35. package/dist-cjs/commands/DeleteImageCommand.js +0 -1
  36. package/dist-cjs/commands/DeleteImagePermissionsCommand.js +0 -1
  37. package/dist-cjs/commands/DeleteStackCommand.js +0 -1
  38. package/dist-cjs/commands/DeleteUsageReportSubscriptionCommand.js +0 -1
  39. package/dist-cjs/commands/DeleteUserCommand.js +0 -1
  40. package/dist-cjs/commands/DescribeAppBlockBuilderAppBlockAssociationsCommand.js +0 -1
  41. package/dist-cjs/commands/DescribeAppBlockBuildersCommand.js +0 -1
  42. package/dist-cjs/commands/DescribeAppBlocksCommand.js +0 -1
  43. package/dist-cjs/commands/DescribeApplicationFleetAssociationsCommand.js +0 -1
  44. package/dist-cjs/commands/DescribeApplicationsCommand.js +0 -1
  45. package/dist-cjs/commands/DescribeDirectoryConfigsCommand.js +0 -1
  46. package/dist-cjs/commands/DescribeEntitlementsCommand.js +0 -1
  47. package/dist-cjs/commands/DescribeFleetsCommand.js +0 -1
  48. package/dist-cjs/commands/DescribeImageBuildersCommand.js +0 -1
  49. package/dist-cjs/commands/DescribeImagePermissionsCommand.js +0 -1
  50. package/dist-cjs/commands/DescribeImagesCommand.js +0 -1
  51. package/dist-cjs/commands/DescribeSessionsCommand.js +0 -1
  52. package/dist-cjs/commands/DescribeStacksCommand.js +0 -1
  53. package/dist-cjs/commands/DescribeUsageReportSubscriptionsCommand.js +0 -1
  54. package/dist-cjs/commands/DescribeUserStackAssociationsCommand.js +0 -1
  55. package/dist-cjs/commands/DescribeUsersCommand.js +0 -1
  56. package/dist-cjs/commands/DisableUserCommand.js +0 -1
  57. package/dist-cjs/commands/DisassociateAppBlockBuilderAppBlockCommand.js +0 -1
  58. package/dist-cjs/commands/DisassociateApplicationFleetCommand.js +0 -1
  59. package/dist-cjs/commands/DisassociateApplicationFromEntitlementCommand.js +0 -1
  60. package/dist-cjs/commands/DisassociateFleetCommand.js +0 -1
  61. package/dist-cjs/commands/EnableUserCommand.js +0 -1
  62. package/dist-cjs/commands/ExpireSessionCommand.js +0 -1
  63. package/dist-cjs/commands/ListAssociatedFleetsCommand.js +0 -1
  64. package/dist-cjs/commands/ListAssociatedStacksCommand.js +0 -1
  65. package/dist-cjs/commands/ListEntitledApplicationsCommand.js +0 -1
  66. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  67. package/dist-cjs/commands/StartAppBlockBuilderCommand.js +0 -1
  68. package/dist-cjs/commands/StartFleetCommand.js +0 -1
  69. package/dist-cjs/commands/StartImageBuilderCommand.js +0 -1
  70. package/dist-cjs/commands/StopAppBlockBuilderCommand.js +0 -1
  71. package/dist-cjs/commands/StopFleetCommand.js +0 -1
  72. package/dist-cjs/commands/StopImageBuilderCommand.js +0 -1
  73. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  74. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  75. package/dist-cjs/commands/UpdateAppBlockBuilderCommand.js +0 -1
  76. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -1
  77. package/dist-cjs/commands/UpdateDirectoryConfigCommand.js +0 -1
  78. package/dist-cjs/commands/UpdateEntitlementCommand.js +0 -1
  79. package/dist-cjs/commands/UpdateFleetCommand.js +0 -1
  80. package/dist-cjs/commands/UpdateImagePermissionsCommand.js +0 -1
  81. package/dist-cjs/commands/UpdateStackCommand.js +0 -1
  82. package/dist-cjs/commands/index.js +0 -1
  83. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  84. package/dist-cjs/extensionConfiguration.js +0 -1
  85. package/dist-cjs/models/AppStreamServiceException.js +0 -1
  86. package/dist-cjs/models/index.js +0 -1
  87. package/dist-cjs/models/models_0.js +0 -1
  88. package/dist-cjs/pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator.js +0 -1
  89. package/dist-cjs/pagination/DescribeAppBlockBuildersPaginator.js +0 -1
  90. package/dist-cjs/pagination/DescribeImagePermissionsPaginator.js +0 -1
  91. package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -1
  92. package/dist-cjs/pagination/Interfaces.js +0 -1
  93. package/dist-cjs/pagination/index.js +0 -1
  94. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  95. package/dist-cjs/runtimeExtensions.js +0 -1
  96. package/dist-cjs/waiters/index.js +0 -1
  97. package/dist-cjs/waiters/waitForFleetStarted.js +0 -1
  98. package/dist-cjs/waiters/waitForFleetStopped.js +0 -1
@@ -1,3 +1,4 @@
1
+ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { AppStreamServiceException as __BaseException } from "../models/AppStreamServiceException";
@@ -2147,43 +2148,3 @@ function sharedHeaders(operation) {
2147
2148
  "x-amz-target": `PhotonAdminProxyService.${operation}`,
2148
2149
  };
2149
2150
  }
2150
- const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2151
- if (encoded.length) {
2152
- return JSON.parse(encoded);
2153
- }
2154
- return {};
2155
- });
2156
- const parseErrorBody = async (errorBody, context) => {
2157
- const value = await parseBody(errorBody, context);
2158
- value.message = value.message ?? value.Message;
2159
- return value;
2160
- };
2161
- const loadRestJsonErrorCode = (output, data) => {
2162
- const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2163
- const sanitizeErrorCode = (rawValue) => {
2164
- let cleanValue = rawValue;
2165
- if (typeof cleanValue === "number") {
2166
- cleanValue = cleanValue.toString();
2167
- }
2168
- if (cleanValue.indexOf(",") >= 0) {
2169
- cleanValue = cleanValue.split(",")[0];
2170
- }
2171
- if (cleanValue.indexOf(":") >= 0) {
2172
- cleanValue = cleanValue.split(":")[0];
2173
- }
2174
- if (cleanValue.indexOf("#") >= 0) {
2175
- cleanValue = cleanValue.split("#")[1];
2176
- }
2177
- return cleanValue;
2178
- };
2179
- const headerKey = findKey(output.headers, "x-amzn-errortype");
2180
- if (headerKey !== undefined) {
2181
- return sanitizeErrorCode(output.headers[headerKey]);
2182
- }
2183
- if (data.code !== undefined) {
2184
- return sanitizeErrorCode(data.code);
2185
- }
2186
- if (data["__type"] !== undefined) {
2187
- return sanitizeErrorCode(data["__type"]);
2188
- }
2189
- };
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.523.0",
4
+ "version": "3.529.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appstream",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.523.0",
24
- "@aws-sdk/core": "3.523.0",
25
- "@aws-sdk/credential-provider-node": "3.523.0",
23
+ "@aws-sdk/client-sts": "3.529.0",
24
+ "@aws-sdk/core": "3.529.0",
25
+ "@aws-sdk/credential-provider-node": "3.529.0",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.523.0",
30
- "@aws-sdk/region-config-resolver": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.525.0",
30
+ "@aws-sdk/region-config-resolver": "3.525.0",
31
31
  "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.525.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.523.0",
35
- "@smithy/config-resolver": "^2.1.3",
36
- "@smithy/core": "^1.3.4",
34
+ "@aws-sdk/util-user-agent-node": "3.525.0",
35
+ "@smithy/config-resolver": "^2.1.4",
36
+ "@smithy/core": "^1.3.5",
37
37
  "@smithy/fetch-http-handler": "^2.4.3",
38
38
  "@smithy/hash-node": "^2.1.3",
39
39
  "@smithy/invalid-dependency": "^2.1.3",
40
40
  "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.3",
42
- "@smithy/middleware-retry": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.4",
42
+ "@smithy/middleware-retry": "^2.1.4",
43
43
  "@smithy/middleware-serde": "^2.1.3",
44
44
  "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.3",
45
+ "@smithy/node-config-provider": "^2.2.4",
46
46
  "@smithy/node-http-handler": "^2.4.1",
47
47
  "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.1",
48
+ "@smithy/smithy-client": "^2.4.2",
49
49
  "@smithy/types": "^2.10.1",
50
50
  "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.3",
55
- "@smithy/util-defaults-mode-node": "^2.2.2",
56
- "@smithy/util-endpoints": "^1.1.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.4",
55
+ "@smithy/util-defaults-mode-node": "^2.2.3",
56
+ "@smithy/util-endpoints": "^1.1.4",
57
57
  "@smithy/util-middleware": "^2.1.3",
58
58
  "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");