@aws-sdk/client-appstream 3.45.0 → 3.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/dist-cjs/AppStream.js +105 -0
- package/dist-cjs/commands/AssociateApplicationToEntitlementCommand.js +36 -0
- package/dist-cjs/commands/CreateEntitlementCommand.js +36 -0
- package/dist-cjs/commands/DeleteEntitlementCommand.js +36 -0
- package/dist-cjs/commands/DescribeEntitlementsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateApplicationFromEntitlementCommand.js +36 -0
- package/dist-cjs/commands/ListEntitledApplicationsCommand.js +36 -0
- package/dist-cjs/commands/UpdateEntitlementCommand.js +36 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoints.js +0 -12
- package/dist-cjs/models/models_0.js +105 -70
- package/dist-cjs/protocols/Aws_json1_1.js +779 -18
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/AppStream.js +105 -0
- package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +39 -0
- package/dist-es/commands/CreateEntitlementCommand.js +39 -0
- package/dist-es/commands/DeleteEntitlementCommand.js +39 -0
- package/dist-es/commands/DescribeEntitlementsCommand.js +39 -0
- package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +39 -0
- package/dist-es/commands/ListEntitledApplicationsCommand.js +39 -0
- package/dist-es/commands/UpdateEntitlementCommand.js +39 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoints.js +0 -12
- package/dist-es/models/models_0.js +73 -48
- package/dist-es/protocols/Aws_json1_1.js +822 -31
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/AppStream.d.ts +54 -0
- package/dist-types/AppStreamClient.d.ts +14 -3
- package/dist-types/commands/AssociateApplicationToEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/CreateEntitlementCommand.d.ts +40 -0
- package/dist-types/commands/DeleteEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/DescribeEntitlementsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateApplicationFromEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/ListEntitledApplicationsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +367 -64
- package/dist-types/protocols/Aws_json1_1.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/AppStream.d.ts +35 -0
- package/dist-types/ts3.4/AppStreamClient.d.ts +12 -3
- package/dist-types/ts3.4/commands/AssociateApplicationToEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEntitlementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateApplicationFromEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntitledApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +203 -44
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +21 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
|
@@ -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
|
|
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
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
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
|
|
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,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AppStreamClient } from "./AppStreamClient";
|
|
3
3
|
import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
|
|
4
|
+
import { AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput } from "./commands/AssociateApplicationToEntitlementCommand";
|
|
4
5
|
import { AssociateFleetCommandInput, AssociateFleetCommandOutput } from "./commands/AssociateFleetCommand";
|
|
5
6
|
import { BatchAssociateUserStackCommandInput, BatchAssociateUserStackCommandOutput } from "./commands/BatchAssociateUserStackCommand";
|
|
6
7
|
import { BatchDisassociateUserStackCommandInput, BatchDisassociateUserStackCommandOutput } from "./commands/BatchDisassociateUserStackCommand";
|
|
@@ -8,6 +9,7 @@ import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyIm
|
|
|
8
9
|
import { CreateAppBlockCommandInput, CreateAppBlockCommandOutput } from "./commands/CreateAppBlockCommand";
|
|
9
10
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
10
11
|
import { CreateDirectoryConfigCommandInput, CreateDirectoryConfigCommandOutput } from "./commands/CreateDirectoryConfigCommand";
|
|
12
|
+
import { CreateEntitlementCommandInput, CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
|
|
11
13
|
import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
|
|
12
14
|
import { CreateImageBuilderCommandInput, CreateImageBuilderCommandOutput } from "./commands/CreateImageBuilderCommand";
|
|
13
15
|
import { CreateImageBuilderStreamingURLCommandInput, CreateImageBuilderStreamingURLCommandOutput } from "./commands/CreateImageBuilderStreamingURLCommand";
|
|
@@ -19,6 +21,7 @@ import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/Crea
|
|
|
19
21
|
import { DeleteAppBlockCommandInput, DeleteAppBlockCommandOutput } from "./commands/DeleteAppBlockCommand";
|
|
20
22
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
21
23
|
import { DeleteDirectoryConfigCommandInput, DeleteDirectoryConfigCommandOutput } from "./commands/DeleteDirectoryConfigCommand";
|
|
24
|
+
import { DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
|
|
22
25
|
import { DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
|
|
23
26
|
import { DeleteImageBuilderCommandInput, DeleteImageBuilderCommandOutput } from "./commands/DeleteImageBuilderCommand";
|
|
24
27
|
import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/DeleteImageCommand";
|
|
@@ -30,6 +33,7 @@ import { DescribeAppBlocksCommandInput, DescribeAppBlocksCommandOutput } from ".
|
|
|
30
33
|
import { DescribeApplicationFleetAssociationsCommandInput, DescribeApplicationFleetAssociationsCommandOutput } from "./commands/DescribeApplicationFleetAssociationsCommand";
|
|
31
34
|
import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
|
|
32
35
|
import { DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput } from "./commands/DescribeDirectoryConfigsCommand";
|
|
36
|
+
import { DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput } from "./commands/DescribeEntitlementsCommand";
|
|
33
37
|
import { DescribeFleetsCommandInput, DescribeFleetsCommandOutput } from "./commands/DescribeFleetsCommand";
|
|
34
38
|
import { DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput } from "./commands/DescribeImageBuildersCommand";
|
|
35
39
|
import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "./commands/DescribeImagePermissionsCommand";
|
|
@@ -41,11 +45,13 @@ import { DescribeUsersCommandInput, DescribeUsersCommandOutput } from "./command
|
|
|
41
45
|
import { DescribeUserStackAssociationsCommandInput, DescribeUserStackAssociationsCommandOutput } from "./commands/DescribeUserStackAssociationsCommand";
|
|
42
46
|
import { DisableUserCommandInput, DisableUserCommandOutput } from "./commands/DisableUserCommand";
|
|
43
47
|
import { DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput } from "./commands/DisassociateApplicationFleetCommand";
|
|
48
|
+
import { DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput } from "./commands/DisassociateApplicationFromEntitlementCommand";
|
|
44
49
|
import { DisassociateFleetCommandInput, DisassociateFleetCommandOutput } from "./commands/DisassociateFleetCommand";
|
|
45
50
|
import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/EnableUserCommand";
|
|
46
51
|
import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
|
|
47
52
|
import { ListAssociatedFleetsCommandInput, ListAssociatedFleetsCommandOutput } from "./commands/ListAssociatedFleetsCommand";
|
|
48
53
|
import { ListAssociatedStacksCommandInput, ListAssociatedStacksCommandOutput } from "./commands/ListAssociatedStacksCommand";
|
|
54
|
+
import { ListEntitledApplicationsCommandInput, ListEntitledApplicationsCommandOutput } from "./commands/ListEntitledApplicationsCommand";
|
|
49
55
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
50
56
|
import { StartFleetCommandInput, StartFleetCommandOutput } from "./commands/StartFleetCommand";
|
|
51
57
|
import { StartImageBuilderCommandInput, StartImageBuilderCommandOutput } from "./commands/StartImageBuilderCommand";
|
|
@@ -55,6 +61,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
55
61
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
56
62
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
57
63
|
import { UpdateDirectoryConfigCommandInput, UpdateDirectoryConfigCommandOutput } from "./commands/UpdateDirectoryConfigCommand";
|
|
64
|
+
import { UpdateEntitlementCommandInput, UpdateEntitlementCommandOutput } from "./commands/UpdateEntitlementCommand";
|
|
58
65
|
import { UpdateFleetCommandInput, UpdateFleetCommandOutput } from "./commands/UpdateFleetCommand";
|
|
59
66
|
import { UpdateImagePermissionsCommandInput, UpdateImagePermissionsCommandOutput } from "./commands/UpdateImagePermissionsCommand";
|
|
60
67
|
import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand";
|
|
@@ -88,6 +95,12 @@ export declare class AppStream extends AppStreamClient {
|
|
|
88
95
|
associateApplicationFleet(args: AssociateApplicationFleetCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApplicationFleetCommandOutput>;
|
|
89
96
|
associateApplicationFleet(args: AssociateApplicationFleetCommandInput, cb: (err: any, data?: AssociateApplicationFleetCommandOutput) => void): void;
|
|
90
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;
|
|
91
104
|
/**
|
|
92
105
|
* <p>Associates the specified fleet with the specified stack.</p>
|
|
93
106
|
*/
|
|
@@ -142,6 +155,17 @@ export declare class AppStream extends AppStreamClient {
|
|
|
142
155
|
createDirectoryConfig(args: CreateDirectoryConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateDirectoryConfigCommandOutput>;
|
|
143
156
|
createDirectoryConfig(args: CreateDirectoryConfigCommandInput, cb: (err: any, data?: CreateDirectoryConfigCommandOutput) => void): void;
|
|
144
157
|
createDirectoryConfig(args: CreateDirectoryConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDirectoryConfigCommandOutput) => void): void;
|
|
158
|
+
/**
|
|
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;
|
|
145
169
|
/**
|
|
146
170
|
* <p>Creates a fleet. A fleet consists of streaming instances that run a specified image when using Always-On or On-Demand.</p>
|
|
147
171
|
*/
|
|
@@ -212,6 +236,12 @@ export declare class AppStream extends AppStreamClient {
|
|
|
212
236
|
deleteDirectoryConfig(args: DeleteDirectoryConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDirectoryConfigCommandOutput>;
|
|
213
237
|
deleteDirectoryConfig(args: DeleteDirectoryConfigCommandInput, cb: (err: any, data?: DeleteDirectoryConfigCommandOutput) => void): void;
|
|
214
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;
|
|
215
245
|
/**
|
|
216
246
|
* <p>Deletes the specified fleet.</p>
|
|
217
247
|
*/
|
|
@@ -281,6 +311,12 @@ export declare class AppStream extends AppStreamClient {
|
|
|
281
311
|
describeDirectoryConfigs(args: DescribeDirectoryConfigsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDirectoryConfigsCommandOutput>;
|
|
282
312
|
describeDirectoryConfigs(args: DescribeDirectoryConfigsCommandInput, cb: (err: any, data?: DescribeDirectoryConfigsCommandOutput) => void): void;
|
|
283
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;
|
|
284
320
|
/**
|
|
285
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>
|
|
286
322
|
*/
|
|
@@ -357,6 +393,12 @@ export declare class AppStream extends AppStreamClient {
|
|
|
357
393
|
disassociateApplicationFleet(args: DisassociateApplicationFleetCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApplicationFleetCommandOutput>;
|
|
358
394
|
disassociateApplicationFleet(args: DisassociateApplicationFleetCommandInput, cb: (err: any, data?: DisassociateApplicationFleetCommandOutput) => void): void;
|
|
359
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;
|
|
360
402
|
/**
|
|
361
403
|
* <p>Disassociates the specified fleet from the specified stack.</p>
|
|
362
404
|
*/
|
|
@@ -387,6 +429,12 @@ export declare class AppStream extends AppStreamClient {
|
|
|
387
429
|
listAssociatedStacks(args: ListAssociatedStacksCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedStacksCommandOutput>;
|
|
388
430
|
listAssociatedStacks(args: ListAssociatedStacksCommandInput, cb: (err: any, data?: ListAssociatedStacksCommandOutput) => void): void;
|
|
389
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;
|
|
390
438
|
/**
|
|
391
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>
|
|
392
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>
|
|
@@ -450,6 +498,12 @@ export declare class AppStream extends AppStreamClient {
|
|
|
450
498
|
updateDirectoryConfig(args: UpdateDirectoryConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDirectoryConfigCommandOutput>;
|
|
451
499
|
updateDirectoryConfig(args: UpdateDirectoryConfigCommandInput, cb: (err: any, data?: UpdateDirectoryConfigCommandOutput) => void): void;
|
|
452
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;
|
|
453
507
|
/**
|
|
454
508
|
* <p>Updates the specified fleet.</p>
|
|
455
509
|
* <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except
|
|
@@ -4,9 +4,10 @@ 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
9
|
import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
|
|
10
|
+
import { AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput } from "./commands/AssociateApplicationToEntitlementCommand";
|
|
10
11
|
import { AssociateFleetCommandInput, AssociateFleetCommandOutput } from "./commands/AssociateFleetCommand";
|
|
11
12
|
import { BatchAssociateUserStackCommandInput, BatchAssociateUserStackCommandOutput } from "./commands/BatchAssociateUserStackCommand";
|
|
12
13
|
import { BatchDisassociateUserStackCommandInput, BatchDisassociateUserStackCommandOutput } from "./commands/BatchDisassociateUserStackCommand";
|
|
@@ -14,6 +15,7 @@ import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyIm
|
|
|
14
15
|
import { CreateAppBlockCommandInput, CreateAppBlockCommandOutput } from "./commands/CreateAppBlockCommand";
|
|
15
16
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
16
17
|
import { CreateDirectoryConfigCommandInput, CreateDirectoryConfigCommandOutput } from "./commands/CreateDirectoryConfigCommand";
|
|
18
|
+
import { CreateEntitlementCommandInput, CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
|
|
17
19
|
import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
|
|
18
20
|
import { CreateImageBuilderCommandInput, CreateImageBuilderCommandOutput } from "./commands/CreateImageBuilderCommand";
|
|
19
21
|
import { CreateImageBuilderStreamingURLCommandInput, CreateImageBuilderStreamingURLCommandOutput } from "./commands/CreateImageBuilderStreamingURLCommand";
|
|
@@ -25,6 +27,7 @@ import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/Crea
|
|
|
25
27
|
import { DeleteAppBlockCommandInput, DeleteAppBlockCommandOutput } from "./commands/DeleteAppBlockCommand";
|
|
26
28
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
27
29
|
import { DeleteDirectoryConfigCommandInput, DeleteDirectoryConfigCommandOutput } from "./commands/DeleteDirectoryConfigCommand";
|
|
30
|
+
import { DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
|
|
28
31
|
import { DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
|
|
29
32
|
import { DeleteImageBuilderCommandInput, DeleteImageBuilderCommandOutput } from "./commands/DeleteImageBuilderCommand";
|
|
30
33
|
import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/DeleteImageCommand";
|
|
@@ -36,6 +39,7 @@ import { DescribeAppBlocksCommandInput, DescribeAppBlocksCommandOutput } from ".
|
|
|
36
39
|
import { DescribeApplicationFleetAssociationsCommandInput, DescribeApplicationFleetAssociationsCommandOutput } from "./commands/DescribeApplicationFleetAssociationsCommand";
|
|
37
40
|
import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
|
|
38
41
|
import { DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput } from "./commands/DescribeDirectoryConfigsCommand";
|
|
42
|
+
import { DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput } from "./commands/DescribeEntitlementsCommand";
|
|
39
43
|
import { DescribeFleetsCommandInput, DescribeFleetsCommandOutput } from "./commands/DescribeFleetsCommand";
|
|
40
44
|
import { DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput } from "./commands/DescribeImageBuildersCommand";
|
|
41
45
|
import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "./commands/DescribeImagePermissionsCommand";
|
|
@@ -47,11 +51,13 @@ import { DescribeUsersCommandInput, DescribeUsersCommandOutput } from "./command
|
|
|
47
51
|
import { DescribeUserStackAssociationsCommandInput, DescribeUserStackAssociationsCommandOutput } from "./commands/DescribeUserStackAssociationsCommand";
|
|
48
52
|
import { DisableUserCommandInput, DisableUserCommandOutput } from "./commands/DisableUserCommand";
|
|
49
53
|
import { DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput } from "./commands/DisassociateApplicationFleetCommand";
|
|
54
|
+
import { DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput } from "./commands/DisassociateApplicationFromEntitlementCommand";
|
|
50
55
|
import { DisassociateFleetCommandInput, DisassociateFleetCommandOutput } from "./commands/DisassociateFleetCommand";
|
|
51
56
|
import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/EnableUserCommand";
|
|
52
57
|
import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
|
|
53
58
|
import { ListAssociatedFleetsCommandInput, ListAssociatedFleetsCommandOutput } from "./commands/ListAssociatedFleetsCommand";
|
|
54
59
|
import { ListAssociatedStacksCommandInput, ListAssociatedStacksCommandOutput } from "./commands/ListAssociatedStacksCommand";
|
|
60
|
+
import { ListEntitledApplicationsCommandInput, ListEntitledApplicationsCommandOutput } from "./commands/ListEntitledApplicationsCommand";
|
|
55
61
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
56
62
|
import { StartFleetCommandInput, StartFleetCommandOutput } from "./commands/StartFleetCommand";
|
|
57
63
|
import { StartImageBuilderCommandInput, StartImageBuilderCommandOutput } from "./commands/StartImageBuilderCommand";
|
|
@@ -61,11 +67,12 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
61
67
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
62
68
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
63
69
|
import { UpdateDirectoryConfigCommandInput, UpdateDirectoryConfigCommandOutput } from "./commands/UpdateDirectoryConfigCommand";
|
|
70
|
+
import { UpdateEntitlementCommandInput, UpdateEntitlementCommandOutput } from "./commands/UpdateEntitlementCommand";
|
|
64
71
|
import { UpdateFleetCommandInput, UpdateFleetCommandOutput } from "./commands/UpdateFleetCommand";
|
|
65
72
|
import { UpdateImagePermissionsCommandInput, UpdateImagePermissionsCommandOutput } from "./commands/UpdateImagePermissionsCommand";
|
|
66
73
|
import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand";
|
|
67
|
-
export declare type ServiceInputTypes = AssociateApplicationFleetCommandInput | AssociateFleetCommandInput | BatchAssociateUserStackCommandInput | BatchDisassociateUserStackCommandInput | CopyImageCommandInput | CreateAppBlockCommandInput | CreateApplicationCommandInput | CreateDirectoryConfigCommandInput | CreateFleetCommandInput | CreateImageBuilderCommandInput | CreateImageBuilderStreamingURLCommandInput | CreateStackCommandInput | CreateStreamingURLCommandInput | CreateUpdatedImageCommandInput | CreateUsageReportSubscriptionCommandInput | CreateUserCommandInput | DeleteAppBlockCommandInput | DeleteApplicationCommandInput | DeleteDirectoryConfigCommandInput | DeleteFleetCommandInput | DeleteImageBuilderCommandInput | DeleteImageCommandInput | DeleteImagePermissionsCommandInput | DeleteStackCommandInput | DeleteUsageReportSubscriptionCommandInput | DeleteUserCommandInput | DescribeAppBlocksCommandInput | DescribeApplicationFleetAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeDirectoryConfigsCommandInput | DescribeFleetsCommandInput | DescribeImageBuildersCommandInput | DescribeImagePermissionsCommandInput | DescribeImagesCommandInput | DescribeSessionsCommandInput | DescribeStacksCommandInput | DescribeUsageReportSubscriptionsCommandInput | DescribeUserStackAssociationsCommandInput | DescribeUsersCommandInput | DisableUserCommandInput | DisassociateApplicationFleetCommandInput | DisassociateFleetCommandInput | EnableUserCommandInput | ExpireSessionCommandInput | ListAssociatedFleetsCommandInput | ListAssociatedStacksCommandInput | ListTagsForResourceCommandInput | StartFleetCommandInput | StartImageBuilderCommandInput | StopFleetCommandInput | StopImageBuilderCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateDirectoryConfigCommandInput | UpdateFleetCommandInput | UpdateImagePermissionsCommandInput | UpdateStackCommandInput;
|
|
68
|
-
export declare type ServiceOutputTypes = AssociateApplicationFleetCommandOutput | AssociateFleetCommandOutput | BatchAssociateUserStackCommandOutput | BatchDisassociateUserStackCommandOutput | CopyImageCommandOutput | CreateAppBlockCommandOutput | CreateApplicationCommandOutput | CreateDirectoryConfigCommandOutput | CreateFleetCommandOutput | CreateImageBuilderCommandOutput | CreateImageBuilderStreamingURLCommandOutput | CreateStackCommandOutput | CreateStreamingURLCommandOutput | CreateUpdatedImageCommandOutput | CreateUsageReportSubscriptionCommandOutput | CreateUserCommandOutput | DeleteAppBlockCommandOutput | DeleteApplicationCommandOutput | DeleteDirectoryConfigCommandOutput | DeleteFleetCommandOutput | DeleteImageBuilderCommandOutput | DeleteImageCommandOutput | DeleteImagePermissionsCommandOutput | DeleteStackCommandOutput | DeleteUsageReportSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeAppBlocksCommandOutput | DescribeApplicationFleetAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeDirectoryConfigsCommandOutput | DescribeFleetsCommandOutput | DescribeImageBuildersCommandOutput | DescribeImagePermissionsCommandOutput | DescribeImagesCommandOutput | DescribeSessionsCommandOutput | DescribeStacksCommandOutput | DescribeUsageReportSubscriptionsCommandOutput | DescribeUserStackAssociationsCommandOutput | DescribeUsersCommandOutput | DisableUserCommandOutput | DisassociateApplicationFleetCommandOutput | DisassociateFleetCommandOutput | EnableUserCommandOutput | ExpireSessionCommandOutput | ListAssociatedFleetsCommandOutput | ListAssociatedStacksCommandOutput | ListTagsForResourceCommandOutput | StartFleetCommandOutput | StartImageBuilderCommandOutput | StopFleetCommandOutput | StopImageBuilderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | 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;
|
|
69
76
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
77
|
/**
|
|
71
78
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -166,6 +173,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
166
173
|
* @internal
|
|
167
174
|
*/
|
|
168
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>;
|
|
169
180
|
}
|
|
170
181
|
declare type AppStreamClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
171
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 { 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,40 @@
|
|
|
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 { CreateEntitlementRequest, CreateEntitlementResult } from "../models/models_0";
|
|
5
|
+
export interface CreateEntitlementCommandInput extends CreateEntitlementRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateEntitlementCommandOutput extends CreateEntitlementResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a new entitlement. Entitlements control access to specific applications within
|
|
11
|
+
* a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user
|
|
12
|
+
* identities. Amazon AppStream 2.0 user pool and streaming URL users are entitled to all
|
|
13
|
+
* applications in a stack. Entitlements don't apply to the desktop stream view
|
|
14
|
+
* application, or to applications managed by a dynamic app provider using the Dynamic
|
|
15
|
+
* Application Framework.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { AppStreamClient, CreateEntitlementCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
20
|
+
* // const { AppStreamClient, CreateEntitlementCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
21
|
+
* const client = new AppStreamClient(config);
|
|
22
|
+
* const command = new CreateEntitlementCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link CreateEntitlementCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link CreateEntitlementCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class CreateEntitlementCommand extends $Command<CreateEntitlementCommandInput, CreateEntitlementCommandOutput, AppStreamClientResolvedConfig> {
|
|
32
|
+
readonly input: CreateEntitlementCommandInput;
|
|
33
|
+
constructor(input: CreateEntitlementCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEntitlementCommandInput, CreateEntitlementCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -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 { DeleteEntitlementRequest, DeleteEntitlementResult } from "../models/models_0";
|
|
5
|
+
export interface DeleteEntitlementCommandInput extends DeleteEntitlementRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteEntitlementCommandOutput extends DeleteEntitlementResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes the specified entitlement.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppStreamClient, DeleteEntitlementCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
15
|
+
* // const { AppStreamClient, DeleteEntitlementCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
16
|
+
* const client = new AppStreamClient(config);
|
|
17
|
+
* const command = new DeleteEntitlementCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteEntitlementCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteEntitlementCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteEntitlementCommand extends $Command<DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput, AppStreamClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteEntitlementCommandInput;
|
|
28
|
+
constructor(input: DeleteEntitlementCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput>;
|
|
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 { DescribeEntitlementsRequest, DescribeEntitlementsResult } from "../models/models_0";
|
|
5
|
+
export interface DescribeEntitlementsCommandInput extends DescribeEntitlementsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeEntitlementsCommandOutput extends DescribeEntitlementsResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves a list that describes one of more entitlements.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppStreamClient, DescribeEntitlementsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
15
|
+
* // const { AppStreamClient, DescribeEntitlementsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
16
|
+
* const client = new AppStreamClient(config);
|
|
17
|
+
* const command = new DescribeEntitlementsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeEntitlementsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeEntitlementsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeEntitlementsCommand extends $Command<DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput, AppStreamClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeEntitlementsCommandInput;
|
|
28
|
+
constructor(input: DescribeEntitlementsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput>;
|
|
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 { DisassociateApplicationFromEntitlementRequest, DisassociateApplicationFromEntitlementResult } from "../models/models_0";
|
|
5
|
+
export interface DisassociateApplicationFromEntitlementCommandInput extends DisassociateApplicationFromEntitlementRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisassociateApplicationFromEntitlementCommandOutput extends DisassociateApplicationFromEntitlementResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes the specified application from the specified entitlement.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppStreamClient, DisassociateApplicationFromEntitlementCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
15
|
+
* // const { AppStreamClient, DisassociateApplicationFromEntitlementCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
16
|
+
* const client = new AppStreamClient(config);
|
|
17
|
+
* const command = new DisassociateApplicationFromEntitlementCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DisassociateApplicationFromEntitlementCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DisassociateApplicationFromEntitlementCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DisassociateApplicationFromEntitlementCommand extends $Command<DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput, AppStreamClientResolvedConfig> {
|
|
27
|
+
readonly input: DisassociateApplicationFromEntitlementCommandInput;
|
|
28
|
+
constructor(input: DisassociateApplicationFromEntitlementCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput>;
|
|
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 { ListEntitledApplicationsRequest, ListEntitledApplicationsResult } from "../models/models_0";
|
|
5
|
+
export interface ListEntitledApplicationsCommandInput extends ListEntitledApplicationsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListEntitledApplicationsCommandOutput extends ListEntitledApplicationsResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves a list of entitled applications.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppStreamClient, ListEntitledApplicationsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
15
|
+
* // const { AppStreamClient, ListEntitledApplicationsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
16
|
+
* const client = new AppStreamClient(config);
|
|
17
|
+
* const command = new ListEntitledApplicationsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListEntitledApplicationsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListEntitledApplicationsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListEntitledApplicationsCommand extends $Command<ListEntitledApplicationsCommandInput, ListEntitledApplicationsCommandOutput, AppStreamClientResolvedConfig> {
|
|
27
|
+
readonly input: ListEntitledApplicationsCommandInput;
|
|
28
|
+
constructor(input: ListEntitledApplicationsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEntitledApplicationsCommandInput, ListEntitledApplicationsCommandOutput>;
|
|
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 { UpdateEntitlementRequest, UpdateEntitlementResult } from "../models/models_0";
|
|
5
|
+
export interface UpdateEntitlementCommandInput extends UpdateEntitlementRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateEntitlementCommandOutput extends UpdateEntitlementResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the specified entitlement.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppStreamClient, UpdateEntitlementCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
15
|
+
* // const { AppStreamClient, UpdateEntitlementCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
16
|
+
* const client = new AppStreamClient(config);
|
|
17
|
+
* const command = new UpdateEntitlementCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateEntitlementCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateEntitlementCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateEntitlementCommand extends $Command<UpdateEntitlementCommandInput, UpdateEntitlementCommandOutput, AppStreamClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateEntitlementCommandInput;
|
|
28
|
+
constructor(input: UpdateEntitlementCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEntitlementCommandInput, UpdateEntitlementCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|