@aws-sdk/client-appstream 3.42.0 → 3.47.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 (103) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/AppStream.js +255 -0
  4. package/dist-cjs/commands/AssociateApplicationFleetCommand.js +36 -0
  5. package/dist-cjs/commands/AssociateApplicationToEntitlementCommand.js +36 -0
  6. package/dist-cjs/commands/CreateAppBlockCommand.js +36 -0
  7. package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
  8. package/dist-cjs/commands/CreateEntitlementCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteAppBlockCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
  11. package/dist-cjs/commands/DeleteEntitlementCommand.js +36 -0
  12. package/dist-cjs/commands/DescribeAppBlocksCommand.js +36 -0
  13. package/dist-cjs/commands/DescribeApplicationFleetAssociationsCommand.js +36 -0
  14. package/dist-cjs/commands/DescribeApplicationsCommand.js +36 -0
  15. package/dist-cjs/commands/DescribeEntitlementsCommand.js +36 -0
  16. package/dist-cjs/commands/DisassociateApplicationFleetCommand.js +36 -0
  17. package/dist-cjs/commands/DisassociateApplicationFromEntitlementCommand.js +36 -0
  18. package/dist-cjs/commands/ListEntitledApplicationsCommand.js +36 -0
  19. package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
  20. package/dist-cjs/commands/UpdateEntitlementCommand.js +36 -0
  21. package/dist-cjs/commands/index.js +17 -0
  22. package/dist-cjs/endpoints.js +1 -12
  23. package/dist-cjs/models/models_0.js +254 -68
  24. package/dist-cjs/protocols/Aws_json1_1.js +1964 -115
  25. package/dist-cjs/runtimeConfig.browser.js +7 -2
  26. package/dist-cjs/runtimeConfig.js +9 -3
  27. package/dist-es/AppStream.js +255 -0
  28. package/dist-es/commands/AssociateApplicationFleetCommand.js +39 -0
  29. package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +39 -0
  30. package/dist-es/commands/CreateAppBlockCommand.js +39 -0
  31. package/dist-es/commands/CreateApplicationCommand.js +39 -0
  32. package/dist-es/commands/CreateEntitlementCommand.js +39 -0
  33. package/dist-es/commands/DeleteAppBlockCommand.js +39 -0
  34. package/dist-es/commands/DeleteApplicationCommand.js +39 -0
  35. package/dist-es/commands/DeleteEntitlementCommand.js +39 -0
  36. package/dist-es/commands/DescribeAppBlocksCommand.js +39 -0
  37. package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +39 -0
  38. package/dist-es/commands/DescribeApplicationsCommand.js +39 -0
  39. package/dist-es/commands/DescribeEntitlementsCommand.js +39 -0
  40. package/dist-es/commands/DisassociateApplicationFleetCommand.js +39 -0
  41. package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +39 -0
  42. package/dist-es/commands/ListEntitledApplicationsCommand.js +39 -0
  43. package/dist-es/commands/UpdateApplicationCommand.js +39 -0
  44. package/dist-es/commands/UpdateEntitlementCommand.js +39 -0
  45. package/dist-es/commands/index.js +17 -0
  46. package/dist-es/endpoints.js +1 -12
  47. package/dist-es/models/models_0.js +176 -48
  48. package/dist-es/protocols/Aws_json1_1.js +2134 -222
  49. package/dist-es/runtimeConfig.browser.js +12 -3
  50. package/dist-es/runtimeConfig.js +13 -6
  51. package/dist-types/AppStream.d.ts +158 -4
  52. package/dist-types/AppStreamClient.d.ts +24 -3
  53. package/dist-types/commands/AssociateApplicationFleetCommand.d.ts +35 -0
  54. package/dist-types/commands/AssociateApplicationToEntitlementCommand.d.ts +35 -0
  55. package/dist-types/commands/CreateAppBlockCommand.d.ts +41 -0
  56. package/dist-types/commands/CreateApplicationCommand.d.ts +41 -0
  57. package/dist-types/commands/CreateEntitlementCommand.d.ts +40 -0
  58. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  59. package/dist-types/commands/DeleteAppBlockCommand.d.ts +35 -0
  60. package/dist-types/commands/DeleteApplicationCommand.d.ts +35 -0
  61. package/dist-types/commands/DeleteEntitlementCommand.d.ts +35 -0
  62. package/dist-types/commands/DescribeAppBlocksCommand.d.ts +35 -0
  63. package/dist-types/commands/DescribeApplicationFleetAssociationsCommand.d.ts +35 -0
  64. package/dist-types/commands/DescribeApplicationsCommand.d.ts +35 -0
  65. package/dist-types/commands/DescribeEntitlementsCommand.d.ts +35 -0
  66. package/dist-types/commands/DisassociateApplicationFleetCommand.d.ts +35 -0
  67. package/dist-types/commands/DisassociateApplicationFromEntitlementCommand.d.ts +35 -0
  68. package/dist-types/commands/ListEntitledApplicationsCommand.d.ts +35 -0
  69. package/dist-types/commands/UpdateApplicationCommand.d.ts +35 -0
  70. package/dist-types/commands/UpdateEntitlementCommand.d.ts +35 -0
  71. package/dist-types/commands/UpdateFleetCommand.d.ts +21 -3
  72. package/dist-types/commands/index.d.ts +17 -0
  73. package/dist-types/models/models_0.d.ts +982 -95
  74. package/dist-types/protocols/Aws_json1_1.d.ts +51 -0
  75. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  76. package/dist-types/runtimeConfig.d.ts +4 -3
  77. package/dist-types/runtimeConfig.native.d.ts +1 -0
  78. package/dist-types/ts3.4/AppStream.d.ts +85 -0
  79. package/dist-types/ts3.4/AppStreamClient.d.ts +22 -3
  80. package/dist-types/ts3.4/commands/AssociateApplicationFleetCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/AssociateApplicationToEntitlementCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/CreateAppBlockCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/DeleteAppBlockCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/DescribeAppBlocksCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/DescribeApplicationFleetAssociationsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/DescribeEntitlementsCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/DisassociateApplicationFleetCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/DisassociateApplicationFromEntitlementCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/ListEntitledApplicationsCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/UpdateEntitlementCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +549 -64
  99. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +51 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  103. package/package.json +39 -46
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -1,10 +1,15 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { AppStreamClient } from "./AppStreamClient";
3
+ import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
4
+ import { AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput } from "./commands/AssociateApplicationToEntitlementCommand";
3
5
  import { AssociateFleetCommandInput, AssociateFleetCommandOutput } from "./commands/AssociateFleetCommand";
4
6
  import { BatchAssociateUserStackCommandInput, BatchAssociateUserStackCommandOutput } from "./commands/BatchAssociateUserStackCommand";
5
7
  import { BatchDisassociateUserStackCommandInput, BatchDisassociateUserStackCommandOutput } from "./commands/BatchDisassociateUserStackCommand";
6
8
  import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyImageCommand";
9
+ import { CreateAppBlockCommandInput, CreateAppBlockCommandOutput } from "./commands/CreateAppBlockCommand";
10
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
7
11
  import { CreateDirectoryConfigCommandInput, CreateDirectoryConfigCommandOutput } from "./commands/CreateDirectoryConfigCommand";
12
+ import { CreateEntitlementCommandInput, CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
8
13
  import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
9
14
  import { CreateImageBuilderCommandInput, CreateImageBuilderCommandOutput } from "./commands/CreateImageBuilderCommand";
10
15
  import { CreateImageBuilderStreamingURLCommandInput, CreateImageBuilderStreamingURLCommandOutput } from "./commands/CreateImageBuilderStreamingURLCommand";
@@ -13,7 +18,10 @@ import { CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput } from
13
18
  import { CreateUpdatedImageCommandInput, CreateUpdatedImageCommandOutput } from "./commands/CreateUpdatedImageCommand";
14
19
  import { CreateUsageReportSubscriptionCommandInput, CreateUsageReportSubscriptionCommandOutput } from "./commands/CreateUsageReportSubscriptionCommand";
15
20
  import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
21
+ import { DeleteAppBlockCommandInput, DeleteAppBlockCommandOutput } from "./commands/DeleteAppBlockCommand";
22
+ import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
16
23
  import { DeleteDirectoryConfigCommandInput, DeleteDirectoryConfigCommandOutput } from "./commands/DeleteDirectoryConfigCommand";
24
+ import { DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
17
25
  import { DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
18
26
  import { DeleteImageBuilderCommandInput, DeleteImageBuilderCommandOutput } from "./commands/DeleteImageBuilderCommand";
19
27
  import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/DeleteImageCommand";
@@ -21,7 +29,11 @@ import { DeleteImagePermissionsCommandInput, DeleteImagePermissionsCommandOutput
21
29
  import { DeleteStackCommandInput, DeleteStackCommandOutput } from "./commands/DeleteStackCommand";
22
30
  import { DeleteUsageReportSubscriptionCommandInput, DeleteUsageReportSubscriptionCommandOutput } from "./commands/DeleteUsageReportSubscriptionCommand";
23
31
  import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
32
+ import { DescribeAppBlocksCommandInput, DescribeAppBlocksCommandOutput } from "./commands/DescribeAppBlocksCommand";
33
+ import { DescribeApplicationFleetAssociationsCommandInput, DescribeApplicationFleetAssociationsCommandOutput } from "./commands/DescribeApplicationFleetAssociationsCommand";
34
+ import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
24
35
  import { DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput } from "./commands/DescribeDirectoryConfigsCommand";
36
+ import { DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput } from "./commands/DescribeEntitlementsCommand";
25
37
  import { DescribeFleetsCommandInput, DescribeFleetsCommandOutput } from "./commands/DescribeFleetsCommand";
26
38
  import { DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput } from "./commands/DescribeImageBuildersCommand";
27
39
  import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "./commands/DescribeImagePermissionsCommand";
@@ -32,11 +44,14 @@ import { DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscr
32
44
  import { DescribeUsersCommandInput, DescribeUsersCommandOutput } from "./commands/DescribeUsersCommand";
33
45
  import { DescribeUserStackAssociationsCommandInput, DescribeUserStackAssociationsCommandOutput } from "./commands/DescribeUserStackAssociationsCommand";
34
46
  import { DisableUserCommandInput, DisableUserCommandOutput } from "./commands/DisableUserCommand";
47
+ import { DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput } from "./commands/DisassociateApplicationFleetCommand";
48
+ import { DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput } from "./commands/DisassociateApplicationFromEntitlementCommand";
35
49
  import { DisassociateFleetCommandInput, DisassociateFleetCommandOutput } from "./commands/DisassociateFleetCommand";
36
50
  import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/EnableUserCommand";
37
51
  import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
38
52
  import { ListAssociatedFleetsCommandInput, ListAssociatedFleetsCommandOutput } from "./commands/ListAssociatedFleetsCommand";
39
53
  import { ListAssociatedStacksCommandInput, ListAssociatedStacksCommandOutput } from "./commands/ListAssociatedStacksCommand";
54
+ import { ListEntitledApplicationsCommandInput, ListEntitledApplicationsCommandOutput } from "./commands/ListEntitledApplicationsCommand";
40
55
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
41
56
  import { StartFleetCommandInput, StartFleetCommandOutput } from "./commands/StartFleetCommand";
42
57
  import { StartImageBuilderCommandInput, StartImageBuilderCommandOutput } from "./commands/StartImageBuilderCommand";
@@ -44,7 +59,9 @@ import { StopFleetCommandInput, StopFleetCommandOutput } from "./commands/StopFl
44
59
  import { StopImageBuilderCommandInput, StopImageBuilderCommandOutput } from "./commands/StopImageBuilderCommand";
45
60
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
61
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
62
+ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
47
63
  import { UpdateDirectoryConfigCommandInput, UpdateDirectoryConfigCommandOutput } from "./commands/UpdateDirectoryConfigCommand";
64
+ import { UpdateEntitlementCommandInput, UpdateEntitlementCommandOutput } from "./commands/UpdateEntitlementCommand";
48
65
  import { UpdateFleetCommandInput, UpdateFleetCommandOutput } from "./commands/UpdateFleetCommand";
49
66
  import { UpdateImagePermissionsCommandInput, UpdateImagePermissionsCommandOutput } from "./commands/UpdateImagePermissionsCommand";
50
67
  import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand";
@@ -72,6 +89,18 @@ import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/Up
72
89
  * </ul>
73
90
  */
74
91
  export declare class AppStream extends AppStreamClient {
92
+ /**
93
+ * <p>Associates the specified application with the specified fleet. This is only supported for Elastic fleets.</p>
94
+ */
95
+ associateApplicationFleet(args: AssociateApplicationFleetCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApplicationFleetCommandOutput>;
96
+ associateApplicationFleet(args: AssociateApplicationFleetCommandInput, cb: (err: any, data?: AssociateApplicationFleetCommandOutput) => void): void;
97
+ associateApplicationFleet(args: AssociateApplicationFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApplicationFleetCommandOutput) => void): void;
98
+ /**
99
+ * <p>Associates an application to entitle.</p>
100
+ */
101
+ associateApplicationToEntitlement(args: AssociateApplicationToEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApplicationToEntitlementCommandOutput>;
102
+ associateApplicationToEntitlement(args: AssociateApplicationToEntitlementCommandInput, cb: (err: any, data?: AssociateApplicationToEntitlementCommandOutput) => void): void;
103
+ associateApplicationToEntitlement(args: AssociateApplicationToEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApplicationToEntitlementCommandOutput) => void): void;
75
104
  /**
76
105
  * <p>Associates the specified fleet with the specified stack.</p>
77
106
  */
@@ -96,6 +125,30 @@ export declare class AppStream extends AppStreamClient {
96
125
  copyImage(args: CopyImageCommandInput, options?: __HttpHandlerOptions): Promise<CopyImageCommandOutput>;
97
126
  copyImage(args: CopyImageCommandInput, cb: (err: any, data?: CopyImageCommandOutput) => void): void;
98
127
  copyImage(args: CopyImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyImageCommandOutput) => void): void;
128
+ /**
129
+ * <p>Creates an app block.</p>
130
+ * <p>App blocks are an Amazon AppStream 2.0 resource that stores the details about the
131
+ * virtual hard disk in an S3 bucket. It also stores the setup script with details about
132
+ * how to mount the virtual hard disk. The virtual hard disk includes the application
133
+ * binaries and other files necessary to launch your applications. Multiple applications
134
+ * can be assigned to a single app block.</p>
135
+ * <p>This is only supported for Elastic fleets.</p>
136
+ */
137
+ createAppBlock(args: CreateAppBlockCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppBlockCommandOutput>;
138
+ createAppBlock(args: CreateAppBlockCommandInput, cb: (err: any, data?: CreateAppBlockCommandOutput) => void): void;
139
+ createAppBlock(args: CreateAppBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppBlockCommandOutput) => void): void;
140
+ /**
141
+ * <p>Creates an application.</p>
142
+ * <p>Applications are an Amazon AppStream 2.0 resource that stores the details about how to
143
+ * launch applications on Elastic fleet streaming instances. An application consists of the
144
+ * launch details, icon, and display name. Applications are associated with an app block
145
+ * that contains the application binaries and other files. The applications assigned to an
146
+ * Elastic fleet are the applications users can launch. </p>
147
+ * <p>This is only supported for Elastic fleets.</p>
148
+ */
149
+ createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
150
+ createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
151
+ createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
99
152
  /**
100
153
  * <p>Creates a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.</p>
101
154
  */
@@ -103,7 +156,18 @@ export declare class AppStream extends AppStreamClient {
103
156
  createDirectoryConfig(args: CreateDirectoryConfigCommandInput, cb: (err: any, data?: CreateDirectoryConfigCommandOutput) => void): void;
104
157
  createDirectoryConfig(args: CreateDirectoryConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDirectoryConfigCommandOutput) => void): void;
105
158
  /**
106
- * <p>Creates a fleet. A fleet consists of streaming instances that run a specified image.</p>
159
+ * <p>Creates a new entitlement. Entitlements control access to specific applications within
160
+ * a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user
161
+ * identities. Amazon AppStream 2.0 user pool and streaming URL users are entitled to all
162
+ * applications in a stack. Entitlements don't apply to the desktop stream view
163
+ * application, or to applications managed by a dynamic app provider using the Dynamic
164
+ * Application Framework.</p>
165
+ */
166
+ createEntitlement(args: CreateEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<CreateEntitlementCommandOutput>;
167
+ createEntitlement(args: CreateEntitlementCommandInput, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
168
+ createEntitlement(args: CreateEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
169
+ /**
170
+ * <p>Creates a fleet. A fleet consists of streaming instances that run a specified image when using Always-On or On-Demand.</p>
107
171
  */
108
172
  createFleet(args: CreateFleetCommandInput, options?: __HttpHandlerOptions): Promise<CreateFleetCommandOutput>;
109
173
  createFleet(args: CreateFleetCommandInput, cb: (err: any, data?: CreateFleetCommandOutput) => void): void;
@@ -154,12 +218,30 @@ export declare class AppStream extends AppStreamClient {
154
218
  createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
155
219
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
156
220
  createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
221
+ /**
222
+ * <p>Deletes an app block.</p>
223
+ */
224
+ deleteAppBlock(args: DeleteAppBlockCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppBlockCommandOutput>;
225
+ deleteAppBlock(args: DeleteAppBlockCommandInput, cb: (err: any, data?: DeleteAppBlockCommandOutput) => void): void;
226
+ deleteAppBlock(args: DeleteAppBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppBlockCommandOutput) => void): void;
227
+ /**
228
+ * <p>Deletes an application.</p>
229
+ */
230
+ deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
231
+ deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
232
+ deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
157
233
  /**
158
234
  * <p>Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.</p>
159
235
  */
160
236
  deleteDirectoryConfig(args: DeleteDirectoryConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDirectoryConfigCommandOutput>;
161
237
  deleteDirectoryConfig(args: DeleteDirectoryConfigCommandInput, cb: (err: any, data?: DeleteDirectoryConfigCommandOutput) => void): void;
162
238
  deleteDirectoryConfig(args: DeleteDirectoryConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDirectoryConfigCommandOutput) => void): void;
239
+ /**
240
+ * <p>Deletes the specified entitlement.</p>
241
+ */
242
+ deleteEntitlement(args: DeleteEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntitlementCommandOutput>;
243
+ deleteEntitlement(args: DeleteEntitlementCommandInput, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
244
+ deleteEntitlement(args: DeleteEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
163
245
  /**
164
246
  * <p>Deletes the specified fleet.</p>
165
247
  */
@@ -203,6 +285,24 @@ export declare class AppStream extends AppStreamClient {
203
285
  deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
204
286
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
205
287
  deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
288
+ /**
289
+ * <p>Retrieves a list that describes one or more app blocks.</p>
290
+ */
291
+ describeAppBlocks(args: DescribeAppBlocksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppBlocksCommandOutput>;
292
+ describeAppBlocks(args: DescribeAppBlocksCommandInput, cb: (err: any, data?: DescribeAppBlocksCommandOutput) => void): void;
293
+ describeAppBlocks(args: DescribeAppBlocksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppBlocksCommandOutput) => void): void;
294
+ /**
295
+ * <p>Retrieves a list that describes one or more application fleet associations. Either ApplicationArn or FleetName must be specified.</p>
296
+ */
297
+ describeApplicationFleetAssociations(args: DescribeApplicationFleetAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationFleetAssociationsCommandOutput>;
298
+ describeApplicationFleetAssociations(args: DescribeApplicationFleetAssociationsCommandInput, cb: (err: any, data?: DescribeApplicationFleetAssociationsCommandOutput) => void): void;
299
+ describeApplicationFleetAssociations(args: DescribeApplicationFleetAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationFleetAssociationsCommandOutput) => void): void;
300
+ /**
301
+ * <p>Retrieves a list that describes one or more applications.</p>
302
+ */
303
+ describeApplications(args: DescribeApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationsCommandOutput>;
304
+ describeApplications(args: DescribeApplicationsCommandInput, cb: (err: any, data?: DescribeApplicationsCommandOutput) => void): void;
305
+ describeApplications(args: DescribeApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationsCommandOutput) => void): void;
206
306
  /**
207
307
  * <p>Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
208
308
  * </p>
@@ -211,6 +311,12 @@ export declare class AppStream extends AppStreamClient {
211
311
  describeDirectoryConfigs(args: DescribeDirectoryConfigsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDirectoryConfigsCommandOutput>;
212
312
  describeDirectoryConfigs(args: DescribeDirectoryConfigsCommandInput, cb: (err: any, data?: DescribeDirectoryConfigsCommandOutput) => void): void;
213
313
  describeDirectoryConfigs(args: DescribeDirectoryConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDirectoryConfigsCommandOutput) => void): void;
314
+ /**
315
+ * <p>Retrieves a list that describes one of more entitlements.</p>
316
+ */
317
+ describeEntitlements(args: DescribeEntitlementsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEntitlementsCommandOutput>;
318
+ describeEntitlements(args: DescribeEntitlementsCommandInput, cb: (err: any, data?: DescribeEntitlementsCommandOutput) => void): void;
319
+ describeEntitlements(args: DescribeEntitlementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEntitlementsCommandOutput) => void): void;
214
320
  /**
215
321
  * <p>Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.</p>
216
322
  */
@@ -281,6 +387,18 @@ export declare class AppStream extends AppStreamClient {
281
387
  disableUser(args: DisableUserCommandInput, options?: __HttpHandlerOptions): Promise<DisableUserCommandOutput>;
282
388
  disableUser(args: DisableUserCommandInput, cb: (err: any, data?: DisableUserCommandOutput) => void): void;
283
389
  disableUser(args: DisableUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableUserCommandOutput) => void): void;
390
+ /**
391
+ * <p>Disassociates the specified application from the fleet.</p>
392
+ */
393
+ disassociateApplicationFleet(args: DisassociateApplicationFleetCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApplicationFleetCommandOutput>;
394
+ disassociateApplicationFleet(args: DisassociateApplicationFleetCommandInput, cb: (err: any, data?: DisassociateApplicationFleetCommandOutput) => void): void;
395
+ disassociateApplicationFleet(args: DisassociateApplicationFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApplicationFleetCommandOutput) => void): void;
396
+ /**
397
+ * <p>Deletes the specified application from the specified entitlement.</p>
398
+ */
399
+ disassociateApplicationFromEntitlement(args: DisassociateApplicationFromEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApplicationFromEntitlementCommandOutput>;
400
+ disassociateApplicationFromEntitlement(args: DisassociateApplicationFromEntitlementCommandInput, cb: (err: any, data?: DisassociateApplicationFromEntitlementCommandOutput) => void): void;
401
+ disassociateApplicationFromEntitlement(args: DisassociateApplicationFromEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApplicationFromEntitlementCommandOutput) => void): void;
284
402
  /**
285
403
  * <p>Disassociates the specified fleet from the specified stack.</p>
286
404
  */
@@ -311,6 +429,12 @@ export declare class AppStream extends AppStreamClient {
311
429
  listAssociatedStacks(args: ListAssociatedStacksCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedStacksCommandOutput>;
312
430
  listAssociatedStacks(args: ListAssociatedStacksCommandInput, cb: (err: any, data?: ListAssociatedStacksCommandOutput) => void): void;
313
431
  listAssociatedStacks(args: ListAssociatedStacksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedStacksCommandOutput) => void): void;
432
+ /**
433
+ * <p>Retrieves a list of entitled applications.</p>
434
+ */
435
+ listEntitledApplications(args: ListEntitledApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListEntitledApplicationsCommandOutput>;
436
+ listEntitledApplications(args: ListEntitledApplicationsCommandInput, cb: (err: any, data?: ListEntitledApplicationsCommandOutput) => void): void;
437
+ listEntitledApplications(args: ListEntitledApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEntitledApplicationsCommandOutput) => void): void;
314
438
  /**
315
439
  * <p>Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p>
316
440
  * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
@@ -362,17 +486,47 @@ export declare class AppStream extends AppStreamClient {
362
486
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
363
487
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
364
488
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
489
+ /**
490
+ * <p>Updates the specified application.</p>
491
+ */
492
+ updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
493
+ updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
494
+ updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
365
495
  /**
366
496
  * <p>Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.</p>
367
497
  */
368
498
  updateDirectoryConfig(args: UpdateDirectoryConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDirectoryConfigCommandOutput>;
369
499
  updateDirectoryConfig(args: UpdateDirectoryConfigCommandInput, cb: (err: any, data?: UpdateDirectoryConfigCommandOutput) => void): void;
370
500
  updateDirectoryConfig(args: UpdateDirectoryConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDirectoryConfigCommandOutput) => void): void;
501
+ /**
502
+ * <p>Updates the specified entitlement.</p>
503
+ */
504
+ updateEntitlement(args: UpdateEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEntitlementCommandOutput>;
505
+ updateEntitlement(args: UpdateEntitlementCommandInput, cb: (err: any, data?: UpdateEntitlementCommandOutput) => void): void;
506
+ updateEntitlement(args: UpdateEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEntitlementCommandOutput) => void): void;
371
507
  /**
372
508
  * <p>Updates the specified fleet.</p>
373
- * <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except the fleet name.
374
- * If the fleet is in the <code>RUNNING</code> state, you can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> attributes.
375
- * If the fleet is in the <code>STARTING</code> or <code>STOPPING</code> state, you can't update it.</p>
509
+ * <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except
510
+ * the fleet name.</p>
511
+ * <p>If the fleet is in the <code>RUNNING</code> state, you can update the following based
512
+ * on the fleet type:</p>
513
+ * <ul>
514
+ * <li>
515
+ * <p>Always-On and On-Demand fleet types</p>
516
+ * <p>You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>,
517
+ * <code>ImageARN</code>, <code>ImageName</code>,
518
+ * <code>IdleDisconnectTimeoutInSeconds</code>, and
519
+ * <code>DisconnectTimeoutInSeconds</code> attributes.</p>
520
+ * </li>
521
+ * <li>
522
+ * <p>Elastic fleet type</p>
523
+ * <p>You can update the <code>DisplayName</code>,
524
+ * <code>IdleDisconnectTimeoutInSeconds</code>,
525
+ * <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>,
526
+ * and <code>UsbDeviceFilterStrings</code> attributes.</p>
527
+ * </li>
528
+ * </ul>
529
+ * <p>If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't update it.</p>
376
530
  */
377
531
  updateFleet(args: UpdateFleetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFleetCommandOutput>;
378
532
  updateFleet(args: UpdateFleetCommandInput, cb: (err: any, data?: UpdateFleetCommandOutput) => void): void;
@@ -4,13 +4,18 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
10
+ import { AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput } from "./commands/AssociateApplicationToEntitlementCommand";
9
11
  import { AssociateFleetCommandInput, AssociateFleetCommandOutput } from "./commands/AssociateFleetCommand";
10
12
  import { BatchAssociateUserStackCommandInput, BatchAssociateUserStackCommandOutput } from "./commands/BatchAssociateUserStackCommand";
11
13
  import { BatchDisassociateUserStackCommandInput, BatchDisassociateUserStackCommandOutput } from "./commands/BatchDisassociateUserStackCommand";
12
14
  import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyImageCommand";
15
+ import { CreateAppBlockCommandInput, CreateAppBlockCommandOutput } from "./commands/CreateAppBlockCommand";
16
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
13
17
  import { CreateDirectoryConfigCommandInput, CreateDirectoryConfigCommandOutput } from "./commands/CreateDirectoryConfigCommand";
18
+ import { CreateEntitlementCommandInput, CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
14
19
  import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
15
20
  import { CreateImageBuilderCommandInput, CreateImageBuilderCommandOutput } from "./commands/CreateImageBuilderCommand";
16
21
  import { CreateImageBuilderStreamingURLCommandInput, CreateImageBuilderStreamingURLCommandOutput } from "./commands/CreateImageBuilderStreamingURLCommand";
@@ -19,7 +24,10 @@ import { CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput } from
19
24
  import { CreateUpdatedImageCommandInput, CreateUpdatedImageCommandOutput } from "./commands/CreateUpdatedImageCommand";
20
25
  import { CreateUsageReportSubscriptionCommandInput, CreateUsageReportSubscriptionCommandOutput } from "./commands/CreateUsageReportSubscriptionCommand";
21
26
  import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
27
+ import { DeleteAppBlockCommandInput, DeleteAppBlockCommandOutput } from "./commands/DeleteAppBlockCommand";
28
+ import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
22
29
  import { DeleteDirectoryConfigCommandInput, DeleteDirectoryConfigCommandOutput } from "./commands/DeleteDirectoryConfigCommand";
30
+ import { DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
23
31
  import { DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
24
32
  import { DeleteImageBuilderCommandInput, DeleteImageBuilderCommandOutput } from "./commands/DeleteImageBuilderCommand";
25
33
  import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/DeleteImageCommand";
@@ -27,7 +35,11 @@ import { DeleteImagePermissionsCommandInput, DeleteImagePermissionsCommandOutput
27
35
  import { DeleteStackCommandInput, DeleteStackCommandOutput } from "./commands/DeleteStackCommand";
28
36
  import { DeleteUsageReportSubscriptionCommandInput, DeleteUsageReportSubscriptionCommandOutput } from "./commands/DeleteUsageReportSubscriptionCommand";
29
37
  import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
38
+ import { DescribeAppBlocksCommandInput, DescribeAppBlocksCommandOutput } from "./commands/DescribeAppBlocksCommand";
39
+ import { DescribeApplicationFleetAssociationsCommandInput, DescribeApplicationFleetAssociationsCommandOutput } from "./commands/DescribeApplicationFleetAssociationsCommand";
40
+ import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
30
41
  import { DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput } from "./commands/DescribeDirectoryConfigsCommand";
42
+ import { DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput } from "./commands/DescribeEntitlementsCommand";
31
43
  import { DescribeFleetsCommandInput, DescribeFleetsCommandOutput } from "./commands/DescribeFleetsCommand";
32
44
  import { DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput } from "./commands/DescribeImageBuildersCommand";
33
45
  import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "./commands/DescribeImagePermissionsCommand";
@@ -38,11 +50,14 @@ import { DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscr
38
50
  import { DescribeUsersCommandInput, DescribeUsersCommandOutput } from "./commands/DescribeUsersCommand";
39
51
  import { DescribeUserStackAssociationsCommandInput, DescribeUserStackAssociationsCommandOutput } from "./commands/DescribeUserStackAssociationsCommand";
40
52
  import { DisableUserCommandInput, DisableUserCommandOutput } from "./commands/DisableUserCommand";
53
+ import { DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput } from "./commands/DisassociateApplicationFleetCommand";
54
+ import { DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput } from "./commands/DisassociateApplicationFromEntitlementCommand";
41
55
  import { DisassociateFleetCommandInput, DisassociateFleetCommandOutput } from "./commands/DisassociateFleetCommand";
42
56
  import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/EnableUserCommand";
43
57
  import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
44
58
  import { ListAssociatedFleetsCommandInput, ListAssociatedFleetsCommandOutput } from "./commands/ListAssociatedFleetsCommand";
45
59
  import { ListAssociatedStacksCommandInput, ListAssociatedStacksCommandOutput } from "./commands/ListAssociatedStacksCommand";
60
+ import { ListEntitledApplicationsCommandInput, ListEntitledApplicationsCommandOutput } from "./commands/ListEntitledApplicationsCommand";
46
61
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
47
62
  import { StartFleetCommandInput, StartFleetCommandOutput } from "./commands/StartFleetCommand";
48
63
  import { StartImageBuilderCommandInput, StartImageBuilderCommandOutput } from "./commands/StartImageBuilderCommand";
@@ -50,12 +65,14 @@ import { StopFleetCommandInput, StopFleetCommandOutput } from "./commands/StopFl
50
65
  import { StopImageBuilderCommandInput, StopImageBuilderCommandOutput } from "./commands/StopImageBuilderCommand";
51
66
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
52
67
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
68
+ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
53
69
  import { UpdateDirectoryConfigCommandInput, UpdateDirectoryConfigCommandOutput } from "./commands/UpdateDirectoryConfigCommand";
70
+ import { UpdateEntitlementCommandInput, UpdateEntitlementCommandOutput } from "./commands/UpdateEntitlementCommand";
54
71
  import { UpdateFleetCommandInput, UpdateFleetCommandOutput } from "./commands/UpdateFleetCommand";
55
72
  import { UpdateImagePermissionsCommandInput, UpdateImagePermissionsCommandOutput } from "./commands/UpdateImagePermissionsCommand";
56
73
  import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand";
57
- export declare type ServiceInputTypes = AssociateFleetCommandInput | BatchAssociateUserStackCommandInput | BatchDisassociateUserStackCommandInput | CopyImageCommandInput | CreateDirectoryConfigCommandInput | CreateFleetCommandInput | CreateImageBuilderCommandInput | CreateImageBuilderStreamingURLCommandInput | CreateStackCommandInput | CreateStreamingURLCommandInput | CreateUpdatedImageCommandInput | CreateUsageReportSubscriptionCommandInput | CreateUserCommandInput | DeleteDirectoryConfigCommandInput | DeleteFleetCommandInput | DeleteImageBuilderCommandInput | DeleteImageCommandInput | DeleteImagePermissionsCommandInput | DeleteStackCommandInput | DeleteUsageReportSubscriptionCommandInput | DeleteUserCommandInput | DescribeDirectoryConfigsCommandInput | DescribeFleetsCommandInput | DescribeImageBuildersCommandInput | DescribeImagePermissionsCommandInput | DescribeImagesCommandInput | DescribeSessionsCommandInput | DescribeStacksCommandInput | DescribeUsageReportSubscriptionsCommandInput | DescribeUserStackAssociationsCommandInput | DescribeUsersCommandInput | DisableUserCommandInput | DisassociateFleetCommandInput | EnableUserCommandInput | ExpireSessionCommandInput | ListAssociatedFleetsCommandInput | ListAssociatedStacksCommandInput | ListTagsForResourceCommandInput | StartFleetCommandInput | StartImageBuilderCommandInput | StopFleetCommandInput | StopImageBuilderCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDirectoryConfigCommandInput | UpdateFleetCommandInput | UpdateImagePermissionsCommandInput | UpdateStackCommandInput;
58
- export declare type ServiceOutputTypes = AssociateFleetCommandOutput | BatchAssociateUserStackCommandOutput | BatchDisassociateUserStackCommandOutput | CopyImageCommandOutput | CreateDirectoryConfigCommandOutput | CreateFleetCommandOutput | CreateImageBuilderCommandOutput | CreateImageBuilderStreamingURLCommandOutput | CreateStackCommandOutput | CreateStreamingURLCommandOutput | CreateUpdatedImageCommandOutput | CreateUsageReportSubscriptionCommandOutput | CreateUserCommandOutput | DeleteDirectoryConfigCommandOutput | DeleteFleetCommandOutput | DeleteImageBuilderCommandOutput | DeleteImageCommandOutput | DeleteImagePermissionsCommandOutput | DeleteStackCommandOutput | DeleteUsageReportSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeDirectoryConfigsCommandOutput | DescribeFleetsCommandOutput | DescribeImageBuildersCommandOutput | DescribeImagePermissionsCommandOutput | DescribeImagesCommandOutput | DescribeSessionsCommandOutput | DescribeStacksCommandOutput | DescribeUsageReportSubscriptionsCommandOutput | DescribeUserStackAssociationsCommandOutput | DescribeUsersCommandOutput | DisableUserCommandOutput | DisassociateFleetCommandOutput | EnableUserCommandOutput | ExpireSessionCommandOutput | ListAssociatedFleetsCommandOutput | ListAssociatedStacksCommandOutput | ListTagsForResourceCommandOutput | StartFleetCommandOutput | StartImageBuilderCommandOutput | StopFleetCommandOutput | StopImageBuilderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDirectoryConfigCommandOutput | UpdateFleetCommandOutput | UpdateImagePermissionsCommandOutput | UpdateStackCommandOutput;
74
+ export declare type ServiceInputTypes = AssociateApplicationFleetCommandInput | AssociateApplicationToEntitlementCommandInput | AssociateFleetCommandInput | BatchAssociateUserStackCommandInput | BatchDisassociateUserStackCommandInput | CopyImageCommandInput | CreateAppBlockCommandInput | CreateApplicationCommandInput | CreateDirectoryConfigCommandInput | CreateEntitlementCommandInput | CreateFleetCommandInput | CreateImageBuilderCommandInput | CreateImageBuilderStreamingURLCommandInput | CreateStackCommandInput | CreateStreamingURLCommandInput | CreateUpdatedImageCommandInput | CreateUsageReportSubscriptionCommandInput | CreateUserCommandInput | DeleteAppBlockCommandInput | DeleteApplicationCommandInput | DeleteDirectoryConfigCommandInput | DeleteEntitlementCommandInput | DeleteFleetCommandInput | DeleteImageBuilderCommandInput | DeleteImageCommandInput | DeleteImagePermissionsCommandInput | DeleteStackCommandInput | DeleteUsageReportSubscriptionCommandInput | DeleteUserCommandInput | DescribeAppBlocksCommandInput | DescribeApplicationFleetAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeDirectoryConfigsCommandInput | DescribeEntitlementsCommandInput | DescribeFleetsCommandInput | DescribeImageBuildersCommandInput | DescribeImagePermissionsCommandInput | DescribeImagesCommandInput | DescribeSessionsCommandInput | DescribeStacksCommandInput | DescribeUsageReportSubscriptionsCommandInput | DescribeUserStackAssociationsCommandInput | DescribeUsersCommandInput | DisableUserCommandInput | DisassociateApplicationFleetCommandInput | DisassociateApplicationFromEntitlementCommandInput | DisassociateFleetCommandInput | EnableUserCommandInput | ExpireSessionCommandInput | ListAssociatedFleetsCommandInput | ListAssociatedStacksCommandInput | ListEntitledApplicationsCommandInput | ListTagsForResourceCommandInput | StartFleetCommandInput | StartImageBuilderCommandInput | StopFleetCommandInput | StopImageBuilderCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateDirectoryConfigCommandInput | UpdateEntitlementCommandInput | UpdateFleetCommandInput | UpdateImagePermissionsCommandInput | UpdateStackCommandInput;
75
+ export declare type ServiceOutputTypes = AssociateApplicationFleetCommandOutput | AssociateApplicationToEntitlementCommandOutput | AssociateFleetCommandOutput | BatchAssociateUserStackCommandOutput | BatchDisassociateUserStackCommandOutput | CopyImageCommandOutput | CreateAppBlockCommandOutput | CreateApplicationCommandOutput | CreateDirectoryConfigCommandOutput | CreateEntitlementCommandOutput | CreateFleetCommandOutput | CreateImageBuilderCommandOutput | CreateImageBuilderStreamingURLCommandOutput | CreateStackCommandOutput | CreateStreamingURLCommandOutput | CreateUpdatedImageCommandOutput | CreateUsageReportSubscriptionCommandOutput | CreateUserCommandOutput | DeleteAppBlockCommandOutput | DeleteApplicationCommandOutput | DeleteDirectoryConfigCommandOutput | DeleteEntitlementCommandOutput | DeleteFleetCommandOutput | DeleteImageBuilderCommandOutput | DeleteImageCommandOutput | DeleteImagePermissionsCommandOutput | DeleteStackCommandOutput | DeleteUsageReportSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeAppBlocksCommandOutput | DescribeApplicationFleetAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeDirectoryConfigsCommandOutput | DescribeEntitlementsCommandOutput | DescribeFleetsCommandOutput | DescribeImageBuildersCommandOutput | DescribeImagePermissionsCommandOutput | DescribeImagesCommandOutput | DescribeSessionsCommandOutput | DescribeStacksCommandOutput | DescribeUsageReportSubscriptionsCommandOutput | DescribeUserStackAssociationsCommandOutput | DescribeUsersCommandOutput | DisableUserCommandOutput | DisassociateApplicationFleetCommandOutput | DisassociateApplicationFromEntitlementCommandOutput | DisassociateFleetCommandOutput | EnableUserCommandOutput | ExpireSessionCommandOutput | ListAssociatedFleetsCommandOutput | ListAssociatedStacksCommandOutput | ListEntitledApplicationsCommandOutput | ListTagsForResourceCommandOutput | StartFleetCommandOutput | StartImageBuilderCommandOutput | StopFleetCommandOutput | StopImageBuilderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateDirectoryConfigCommandOutput | UpdateEntitlementCommandOutput | UpdateFleetCommandOutput | UpdateImagePermissionsCommandOutput | UpdateStackCommandOutput;
59
76
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
60
77
  /**
61
78
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -156,6 +173,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
156
173
  * @internal
157
174
  */
158
175
  defaultUserAgentProvider?: Provider<__UserAgent>;
176
+ /**
177
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
178
+ */
179
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
159
180
  }
160
181
  declare type AppStreamClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
161
182
  /**
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
4
+ import { AssociateApplicationFleetRequest, AssociateApplicationFleetResult } from "../models/models_0";
5
+ export interface AssociateApplicationFleetCommandInput extends AssociateApplicationFleetRequest {
6
+ }
7
+ export interface AssociateApplicationFleetCommandOutput extends AssociateApplicationFleetResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Associates the specified application with the specified fleet. This is only supported for Elastic fleets.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppStreamClient, AssociateApplicationFleetCommand } from "@aws-sdk/client-appstream"; // ES Modules import
15
+ * // const { AppStreamClient, AssociateApplicationFleetCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
16
+ * const client = new AppStreamClient(config);
17
+ * const command = new AssociateApplicationFleetCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link AssociateApplicationFleetCommandInput} for command's `input` shape.
22
+ * @see {@link AssociateApplicationFleetCommandOutput} for command's `response` shape.
23
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class AssociateApplicationFleetCommand extends $Command<AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput, AppStreamClientResolvedConfig> {
27
+ readonly input: AssociateApplicationFleetCommandInput;
28
+ constructor(input: AssociateApplicationFleetCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
4
+ import { AssociateApplicationToEntitlementRequest, AssociateApplicationToEntitlementResult } from "../models/models_0";
5
+ export interface AssociateApplicationToEntitlementCommandInput extends AssociateApplicationToEntitlementRequest {
6
+ }
7
+ export interface AssociateApplicationToEntitlementCommandOutput extends AssociateApplicationToEntitlementResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Associates an application to entitle.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppStreamClient, AssociateApplicationToEntitlementCommand } from "@aws-sdk/client-appstream"; // ES Modules import
15
+ * // const { AppStreamClient, AssociateApplicationToEntitlementCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
16
+ * const client = new AppStreamClient(config);
17
+ * const command = new AssociateApplicationToEntitlementCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link AssociateApplicationToEntitlementCommandInput} for command's `input` shape.
22
+ * @see {@link AssociateApplicationToEntitlementCommandOutput} for command's `response` shape.
23
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class AssociateApplicationToEntitlementCommand extends $Command<AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput, AppStreamClientResolvedConfig> {
27
+ readonly input: AssociateApplicationToEntitlementCommandInput;
28
+ constructor(input: AssociateApplicationToEntitlementCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,41 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
4
+ import { CreateAppBlockRequest, CreateAppBlockResult } from "../models/models_0";
5
+ export interface CreateAppBlockCommandInput extends CreateAppBlockRequest {
6
+ }
7
+ export interface CreateAppBlockCommandOutput extends CreateAppBlockResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an app block.</p>
11
+ * <p>App blocks are an Amazon AppStream 2.0 resource that stores the details about the
12
+ * virtual hard disk in an S3 bucket. It also stores the setup script with details about
13
+ * how to mount the virtual hard disk. The virtual hard disk includes the application
14
+ * binaries and other files necessary to launch your applications. Multiple applications
15
+ * can be assigned to a single app block.</p>
16
+ * <p>This is only supported for Elastic fleets.</p>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { AppStreamClient, CreateAppBlockCommand } from "@aws-sdk/client-appstream"; // ES Modules import
21
+ * // const { AppStreamClient, CreateAppBlockCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
22
+ * const client = new AppStreamClient(config);
23
+ * const command = new CreateAppBlockCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link CreateAppBlockCommandInput} for command's `input` shape.
28
+ * @see {@link CreateAppBlockCommandOutput} for command's `response` shape.
29
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class CreateAppBlockCommand extends $Command<CreateAppBlockCommandInput, CreateAppBlockCommandOutput, AppStreamClientResolvedConfig> {
33
+ readonly input: CreateAppBlockCommandInput;
34
+ constructor(input: CreateAppBlockCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAppBlockCommandInput, CreateAppBlockCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }