@aws-sdk/client-appstream 3.908.0 → 3.911.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +228 -0
- package/dist-es/AppStream.js +10 -0
- package/dist-es/commands/AssociateSoftwareToImageBuilderCommand.js +22 -0
- package/dist-es/commands/DescribeAppLicenseUsageCommand.js +22 -0
- package/dist-es/commands/DescribeSoftwareAssociationsCommand.js +22 -0
- package/dist-es/commands/DisassociateSoftwareFromImageBuilderCommand.js +22 -0
- package/dist-es/commands/StartSoftwareDeploymentToImageBuilderCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +121 -0
- package/dist-types/AppStream.d.ts +35 -0
- package/dist-types/AppStreamClient.d.ts +7 -2
- package/dist-types/commands/AssociateSoftwareToImageBuilderCommand.d.ts +90 -0
- package/dist-types/commands/CreateImageBuilderCommand.d.ts +7 -1
- package/dist-types/commands/CreateUpdatedImageCommand.d.ts +1 -0
- package/dist-types/commands/DeleteImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImageCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAppLicenseUsageCommand.d.ts +96 -0
- package/dist-types/commands/DescribeImageBuildersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSoftwareAssociationsCommand.d.ts +95 -0
- package/dist-types/commands/DisassociateSoftwareFromImageBuilderCommand.d.ts +87 -0
- package/dist-types/commands/StartImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/StartSoftwareDeploymentToImageBuilderCommand.d.ts +82 -0
- package/dist-types/commands/StopImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +624 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/AppStream.d.ts +97 -0
- package/dist-types/ts3.4/AppStreamClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateSoftwareToImageBuilderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeAppLicenseUsageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSoftwareAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateSoftwareFromImageBuilderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartSoftwareDeploymentToImageBuilderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +34 -34
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeSoftwareAssociationsCommand, se_DescribeSoftwareAssociationsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSoftwareAssociationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("PhotonAdminProxyService", "DescribeSoftwareAssociations", {})
|
|
17
|
+
.n("AppStreamClient", "DescribeSoftwareAssociationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeSoftwareAssociationsCommand)
|
|
20
|
+
.de(de_DescribeSoftwareAssociationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisassociateSoftwareFromImageBuilderCommand, se_DisassociateSoftwareFromImageBuilderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateSoftwareFromImageBuilderCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("PhotonAdminProxyService", "DisassociateSoftwareFromImageBuilder", {})
|
|
17
|
+
.n("AppStreamClient", "DisassociateSoftwareFromImageBuilderCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateSoftwareFromImageBuilderCommand)
|
|
20
|
+
.de(de_DisassociateSoftwareFromImageBuilderCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartSoftwareDeploymentToImageBuilderCommand, se_StartSoftwareDeploymentToImageBuilderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartSoftwareDeploymentToImageBuilderCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("PhotonAdminProxyService", "StartSoftwareDeploymentToImageBuilder", {})
|
|
17
|
+
.n("AppStreamClient", "StartSoftwareDeploymentToImageBuilderCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartSoftwareDeploymentToImageBuilderCommand)
|
|
20
|
+
.de(de_StartSoftwareDeploymentToImageBuilderCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./AssociateAppBlockBuilderAppBlockCommand";
|
|
|
2
2
|
export * from "./AssociateApplicationFleetCommand";
|
|
3
3
|
export * from "./AssociateApplicationToEntitlementCommand";
|
|
4
4
|
export * from "./AssociateFleetCommand";
|
|
5
|
+
export * from "./AssociateSoftwareToImageBuilderCommand";
|
|
5
6
|
export * from "./BatchAssociateUserStackCommand";
|
|
6
7
|
export * from "./BatchDisassociateUserStackCommand";
|
|
7
8
|
export * from "./CopyImageCommand";
|
|
@@ -36,6 +37,7 @@ export * from "./DeleteUserCommand";
|
|
|
36
37
|
export * from "./DescribeAppBlockBuilderAppBlockAssociationsCommand";
|
|
37
38
|
export * from "./DescribeAppBlockBuildersCommand";
|
|
38
39
|
export * from "./DescribeAppBlocksCommand";
|
|
40
|
+
export * from "./DescribeAppLicenseUsageCommand";
|
|
39
41
|
export * from "./DescribeApplicationFleetAssociationsCommand";
|
|
40
42
|
export * from "./DescribeApplicationsCommand";
|
|
41
43
|
export * from "./DescribeDirectoryConfigsCommand";
|
|
@@ -45,6 +47,7 @@ export * from "./DescribeImageBuildersCommand";
|
|
|
45
47
|
export * from "./DescribeImagePermissionsCommand";
|
|
46
48
|
export * from "./DescribeImagesCommand";
|
|
47
49
|
export * from "./DescribeSessionsCommand";
|
|
50
|
+
export * from "./DescribeSoftwareAssociationsCommand";
|
|
48
51
|
export * from "./DescribeStacksCommand";
|
|
49
52
|
export * from "./DescribeThemeForStackCommand";
|
|
50
53
|
export * from "./DescribeUsageReportSubscriptionsCommand";
|
|
@@ -55,6 +58,7 @@ export * from "./DisassociateAppBlockBuilderAppBlockCommand";
|
|
|
55
58
|
export * from "./DisassociateApplicationFleetCommand";
|
|
56
59
|
export * from "./DisassociateApplicationFromEntitlementCommand";
|
|
57
60
|
export * from "./DisassociateFleetCommand";
|
|
61
|
+
export * from "./DisassociateSoftwareFromImageBuilderCommand";
|
|
58
62
|
export * from "./EnableUserCommand";
|
|
59
63
|
export * from "./ExpireSessionCommand";
|
|
60
64
|
export * from "./ListAssociatedFleetsCommand";
|
|
@@ -64,6 +68,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
64
68
|
export * from "./StartAppBlockBuilderCommand";
|
|
65
69
|
export * from "./StartFleetCommand";
|
|
66
70
|
export * from "./StartImageBuilderCommand";
|
|
71
|
+
export * from "./StartSoftwareDeploymentToImageBuilderCommand";
|
|
67
72
|
export * from "./StopAppBlockBuilderCommand";
|
|
68
73
|
export * from "./StopFleetCommand";
|
|
69
74
|
export * from "./StopImageBuilderCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const v = "required", w = "fn", x = "argv", y = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [v]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [v]: false, "type": "string" }, j = { [v]: true, "default": false, "type": "boolean" }, k = { [y]: "Endpoint" }, l = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, m = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, n = {}, o = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, p = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, q = { [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, r = { "url": "https://appstream2.{Region}.amazonaws.com", "properties": {}, "headers": {} }, s = [l], t = [m], u = [{ [y]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [w]: b, [x]: [k] }], rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [w]: c, [x]: [a, o] }, p], rules: [{ endpoint: { url: "https://appstream2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: s, rules: [{ conditions: [{ [w]: c, [x]: [o, a] }], rules: [{ endpoint: { url: "https://appstream2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: t, rules: [{ conditions: [p], rules: [{ endpoint: { url: "https://appstream2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [w]: h, [x]: ["aws", q] }], endpoint: r, type: e }, { conditions: [{ [w]: h, [x]: ["aws-us-gov", q] }], endpoint: r, type: e }, { endpoint: { url: "https://appstream2.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -310,11 +310,13 @@ export const ImageBuilderState = {
|
|
|
310
310
|
FAILED: "FAILED",
|
|
311
311
|
PENDING: "PENDING",
|
|
312
312
|
PENDING_QUALIFICATION: "PENDING_QUALIFICATION",
|
|
313
|
+
PENDING_SYNCING_APPS: "PENDING_SYNCING_APPS",
|
|
313
314
|
REBOOTING: "REBOOTING",
|
|
314
315
|
RUNNING: "RUNNING",
|
|
315
316
|
SNAPSHOTTING: "SNAPSHOTTING",
|
|
316
317
|
STOPPED: "STOPPED",
|
|
317
318
|
STOPPING: "STOPPING",
|
|
319
|
+
SYNCING_APPS: "SYNCING_APPS",
|
|
318
320
|
UPDATING: "UPDATING",
|
|
319
321
|
UPDATING_AGENT: "UPDATING_AGENT",
|
|
320
322
|
};
|
|
@@ -406,6 +408,15 @@ export const SessionState = {
|
|
|
406
408
|
EXPIRED: "EXPIRED",
|
|
407
409
|
PENDING: "PENDING",
|
|
408
410
|
};
|
|
411
|
+
export const SoftwareDeploymentStatus = {
|
|
412
|
+
FAILED_TO_INSTALL: "FAILED_TO_INSTALL",
|
|
413
|
+
FAILED_TO_UNINSTALL: "FAILED_TO_UNINSTALL",
|
|
414
|
+
INSTALLED: "INSTALLED",
|
|
415
|
+
PENDING_INSTALLATION: "PENDING_INSTALLATION",
|
|
416
|
+
PENDING_UNINSTALLATION: "PENDING_UNINSTALLATION",
|
|
417
|
+
STAGED_FOR_INSTALLATION: "STAGED_FOR_INSTALLATION",
|
|
418
|
+
STAGED_FOR_UNINSTALLATION: "STAGED_FOR_UNINSTALLATION",
|
|
419
|
+
};
|
|
409
420
|
export const UsageReportExecutionErrorCode = {
|
|
410
421
|
ACCESS_DENIED: "ACCESS_DENIED",
|
|
411
422
|
INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR",
|
|
@@ -27,6 +27,12 @@ export const se_AssociateFleetCommand = async (input, context) => {
|
|
|
27
27
|
body = JSON.stringify(_json(input));
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
|
+
export const se_AssociateSoftwareToImageBuilderCommand = async (input, context) => {
|
|
31
|
+
const headers = sharedHeaders("AssociateSoftwareToImageBuilder");
|
|
32
|
+
let body;
|
|
33
|
+
body = JSON.stringify(_json(input));
|
|
34
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
+
};
|
|
30
36
|
export const se_BatchAssociateUserStackCommand = async (input, context) => {
|
|
31
37
|
const headers = sharedHeaders("BatchAssociateUserStack");
|
|
32
38
|
let body;
|
|
@@ -243,6 +249,12 @@ export const se_DescribeApplicationsCommand = async (input, context) => {
|
|
|
243
249
|
body = JSON.stringify(_json(input));
|
|
244
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
251
|
};
|
|
252
|
+
export const se_DescribeAppLicenseUsageCommand = async (input, context) => {
|
|
253
|
+
const headers = sharedHeaders("DescribeAppLicenseUsage");
|
|
254
|
+
let body;
|
|
255
|
+
body = JSON.stringify(_json(input));
|
|
256
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
+
};
|
|
246
258
|
export const se_DescribeDirectoryConfigsCommand = async (input, context) => {
|
|
247
259
|
const headers = sharedHeaders("DescribeDirectoryConfigs");
|
|
248
260
|
let body;
|
|
@@ -285,6 +297,12 @@ export const se_DescribeSessionsCommand = async (input, context) => {
|
|
|
285
297
|
body = JSON.stringify(_json(input));
|
|
286
298
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
299
|
};
|
|
300
|
+
export const se_DescribeSoftwareAssociationsCommand = async (input, context) => {
|
|
301
|
+
const headers = sharedHeaders("DescribeSoftwareAssociations");
|
|
302
|
+
let body;
|
|
303
|
+
body = JSON.stringify(_json(input));
|
|
304
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
+
};
|
|
288
306
|
export const se_DescribeStacksCommand = async (input, context) => {
|
|
289
307
|
const headers = sharedHeaders("DescribeStacks");
|
|
290
308
|
let body;
|
|
@@ -345,6 +363,12 @@ export const se_DisassociateFleetCommand = async (input, context) => {
|
|
|
345
363
|
body = JSON.stringify(_json(input));
|
|
346
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
365
|
};
|
|
366
|
+
export const se_DisassociateSoftwareFromImageBuilderCommand = async (input, context) => {
|
|
367
|
+
const headers = sharedHeaders("DisassociateSoftwareFromImageBuilder");
|
|
368
|
+
let body;
|
|
369
|
+
body = JSON.stringify(_json(input));
|
|
370
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
|
+
};
|
|
348
372
|
export const se_EnableUserCommand = async (input, context) => {
|
|
349
373
|
const headers = sharedHeaders("EnableUser");
|
|
350
374
|
let body;
|
|
@@ -399,6 +423,12 @@ export const se_StartImageBuilderCommand = async (input, context) => {
|
|
|
399
423
|
body = JSON.stringify(_json(input));
|
|
400
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
425
|
};
|
|
426
|
+
export const se_StartSoftwareDeploymentToImageBuilderCommand = async (input, context) => {
|
|
427
|
+
const headers = sharedHeaders("StartSoftwareDeploymentToImageBuilder");
|
|
428
|
+
let body;
|
|
429
|
+
body = JSON.stringify(_json(input));
|
|
430
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
|
+
};
|
|
402
432
|
export const se_StopAppBlockBuilderCommand = async (input, context) => {
|
|
403
433
|
const headers = sharedHeaders("StopAppBlockBuilder");
|
|
404
434
|
let body;
|
|
@@ -529,6 +559,19 @@ export const de_AssociateFleetCommand = async (output, context) => {
|
|
|
529
559
|
};
|
|
530
560
|
return response;
|
|
531
561
|
};
|
|
562
|
+
export const de_AssociateSoftwareToImageBuilderCommand = async (output, context) => {
|
|
563
|
+
if (output.statusCode >= 300) {
|
|
564
|
+
return de_CommandError(output, context);
|
|
565
|
+
}
|
|
566
|
+
const data = await parseBody(output.body, context);
|
|
567
|
+
let contents = {};
|
|
568
|
+
contents = _json(data);
|
|
569
|
+
const response = {
|
|
570
|
+
$metadata: deserializeMetadata(output),
|
|
571
|
+
...contents,
|
|
572
|
+
};
|
|
573
|
+
return response;
|
|
574
|
+
};
|
|
532
575
|
export const de_BatchAssociateUserStackCommand = async (output, context) => {
|
|
533
576
|
if (output.statusCode >= 300) {
|
|
534
577
|
return de_CommandError(output, context);
|
|
@@ -997,6 +1040,19 @@ export const de_DescribeApplicationsCommand = async (output, context) => {
|
|
|
997
1040
|
};
|
|
998
1041
|
return response;
|
|
999
1042
|
};
|
|
1043
|
+
export const de_DescribeAppLicenseUsageCommand = async (output, context) => {
|
|
1044
|
+
if (output.statusCode >= 300) {
|
|
1045
|
+
return de_CommandError(output, context);
|
|
1046
|
+
}
|
|
1047
|
+
const data = await parseBody(output.body, context);
|
|
1048
|
+
let contents = {};
|
|
1049
|
+
contents = de_DescribeAppLicenseUsageResult(data, context);
|
|
1050
|
+
const response = {
|
|
1051
|
+
$metadata: deserializeMetadata(output),
|
|
1052
|
+
...contents,
|
|
1053
|
+
};
|
|
1054
|
+
return response;
|
|
1055
|
+
};
|
|
1000
1056
|
export const de_DescribeDirectoryConfigsCommand = async (output, context) => {
|
|
1001
1057
|
if (output.statusCode >= 300) {
|
|
1002
1058
|
return de_CommandError(output, context);
|
|
@@ -1088,6 +1144,19 @@ export const de_DescribeSessionsCommand = async (output, context) => {
|
|
|
1088
1144
|
};
|
|
1089
1145
|
return response;
|
|
1090
1146
|
};
|
|
1147
|
+
export const de_DescribeSoftwareAssociationsCommand = async (output, context) => {
|
|
1148
|
+
if (output.statusCode >= 300) {
|
|
1149
|
+
return de_CommandError(output, context);
|
|
1150
|
+
}
|
|
1151
|
+
const data = await parseBody(output.body, context);
|
|
1152
|
+
let contents = {};
|
|
1153
|
+
contents = _json(data);
|
|
1154
|
+
const response = {
|
|
1155
|
+
$metadata: deserializeMetadata(output),
|
|
1156
|
+
...contents,
|
|
1157
|
+
};
|
|
1158
|
+
return response;
|
|
1159
|
+
};
|
|
1091
1160
|
export const de_DescribeStacksCommand = async (output, context) => {
|
|
1092
1161
|
if (output.statusCode >= 300) {
|
|
1093
1162
|
return de_CommandError(output, context);
|
|
@@ -1218,6 +1287,19 @@ export const de_DisassociateFleetCommand = async (output, context) => {
|
|
|
1218
1287
|
};
|
|
1219
1288
|
return response;
|
|
1220
1289
|
};
|
|
1290
|
+
export const de_DisassociateSoftwareFromImageBuilderCommand = async (output, context) => {
|
|
1291
|
+
if (output.statusCode >= 300) {
|
|
1292
|
+
return de_CommandError(output, context);
|
|
1293
|
+
}
|
|
1294
|
+
const data = await parseBody(output.body, context);
|
|
1295
|
+
let contents = {};
|
|
1296
|
+
contents = _json(data);
|
|
1297
|
+
const response = {
|
|
1298
|
+
$metadata: deserializeMetadata(output),
|
|
1299
|
+
...contents,
|
|
1300
|
+
};
|
|
1301
|
+
return response;
|
|
1302
|
+
};
|
|
1221
1303
|
export const de_EnableUserCommand = async (output, context) => {
|
|
1222
1304
|
if (output.statusCode >= 300) {
|
|
1223
1305
|
return de_CommandError(output, context);
|
|
@@ -1335,6 +1417,19 @@ export const de_StartImageBuilderCommand = async (output, context) => {
|
|
|
1335
1417
|
};
|
|
1336
1418
|
return response;
|
|
1337
1419
|
};
|
|
1420
|
+
export const de_StartSoftwareDeploymentToImageBuilderCommand = async (output, context) => {
|
|
1421
|
+
if (output.statusCode >= 300) {
|
|
1422
|
+
return de_CommandError(output, context);
|
|
1423
|
+
}
|
|
1424
|
+
const data = await parseBody(output.body, context);
|
|
1425
|
+
let contents = {};
|
|
1426
|
+
contents = _json(data);
|
|
1427
|
+
const response = {
|
|
1428
|
+
$metadata: deserializeMetadata(output),
|
|
1429
|
+
...contents,
|
|
1430
|
+
};
|
|
1431
|
+
return response;
|
|
1432
|
+
};
|
|
1338
1433
|
export const de_StopAppBlockBuilderCommand = async (output, context) => {
|
|
1339
1434
|
if (output.statusCode >= 300) {
|
|
1340
1435
|
return de_CommandError(output, context);
|
|
@@ -1688,6 +1783,25 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1688
1783
|
});
|
|
1689
1784
|
return __decorateServiceException(exception, body);
|
|
1690
1785
|
};
|
|
1786
|
+
const de_AdminAppLicenseUsageList = (output, context) => {
|
|
1787
|
+
const retVal = (output || [])
|
|
1788
|
+
.filter((e) => e != null)
|
|
1789
|
+
.map((entry) => {
|
|
1790
|
+
return de_AdminAppLicenseUsageRecord(entry, context);
|
|
1791
|
+
});
|
|
1792
|
+
return retVal;
|
|
1793
|
+
};
|
|
1794
|
+
const de_AdminAppLicenseUsageRecord = (output, context) => {
|
|
1795
|
+
return take(output, {
|
|
1796
|
+
BillingPeriod: __expectString,
|
|
1797
|
+
LicenseType: __expectString,
|
|
1798
|
+
OwnerAWSAccountId: __expectString,
|
|
1799
|
+
SubscriptionFirstUsedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1800
|
+
SubscriptionLastUsedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1801
|
+
UserArn: __expectString,
|
|
1802
|
+
UserId: __expectString,
|
|
1803
|
+
});
|
|
1804
|
+
};
|
|
1691
1805
|
const de_AppBlock = (output, context) => {
|
|
1692
1806
|
return take(output, {
|
|
1693
1807
|
AppBlockErrors: _json,
|
|
@@ -1861,6 +1975,12 @@ const de_DescribeApplicationsResult = (output, context) => {
|
|
|
1861
1975
|
NextToken: __expectString,
|
|
1862
1976
|
});
|
|
1863
1977
|
};
|
|
1978
|
+
const de_DescribeAppLicenseUsageResult = (output, context) => {
|
|
1979
|
+
return take(output, {
|
|
1980
|
+
AppLicenseUsages: (_) => de_AdminAppLicenseUsageList(_, context),
|
|
1981
|
+
NextToken: __expectString,
|
|
1982
|
+
});
|
|
1983
|
+
};
|
|
1864
1984
|
const de_DescribeDirectoryConfigsResult = (output, context) => {
|
|
1865
1985
|
return take(output, {
|
|
1866
1986
|
DirectoryConfigs: (_) => de_DirectoryConfigList(_, context),
|
|
@@ -2009,6 +2129,7 @@ const de_Image = (output, context) => {
|
|
|
2009
2129
|
ImagePermissions: _json,
|
|
2010
2130
|
ImageSharedWithOthers: __expectString,
|
|
2011
2131
|
LatestAppstreamAgentVersion: __expectString,
|
|
2132
|
+
ManagedSoftwareIncluded: __expectBoolean,
|
|
2012
2133
|
Name: __expectString,
|
|
2013
2134
|
Platform: __expectString,
|
|
2014
2135
|
PublicBaseImageReleasedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -4,6 +4,7 @@ import { AssociateAppBlockBuilderAppBlockCommandInput, AssociateAppBlockBuilderA
|
|
|
4
4
|
import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
|
|
5
5
|
import { AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput } from "./commands/AssociateApplicationToEntitlementCommand";
|
|
6
6
|
import { AssociateFleetCommandInput, AssociateFleetCommandOutput } from "./commands/AssociateFleetCommand";
|
|
7
|
+
import { AssociateSoftwareToImageBuilderCommandInput, AssociateSoftwareToImageBuilderCommandOutput } from "./commands/AssociateSoftwareToImageBuilderCommand";
|
|
7
8
|
import { BatchAssociateUserStackCommandInput, BatchAssociateUserStackCommandOutput } from "./commands/BatchAssociateUserStackCommand";
|
|
8
9
|
import { BatchDisassociateUserStackCommandInput, BatchDisassociateUserStackCommandOutput } from "./commands/BatchDisassociateUserStackCommand";
|
|
9
10
|
import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyImageCommand";
|
|
@@ -40,6 +41,7 @@ import { DescribeAppBlockBuildersCommandInput, DescribeAppBlockBuildersCommandOu
|
|
|
40
41
|
import { DescribeAppBlocksCommandInput, DescribeAppBlocksCommandOutput } from "./commands/DescribeAppBlocksCommand";
|
|
41
42
|
import { DescribeApplicationFleetAssociationsCommandInput, DescribeApplicationFleetAssociationsCommandOutput } from "./commands/DescribeApplicationFleetAssociationsCommand";
|
|
42
43
|
import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
|
|
44
|
+
import { DescribeAppLicenseUsageCommandInput, DescribeAppLicenseUsageCommandOutput } from "./commands/DescribeAppLicenseUsageCommand";
|
|
43
45
|
import { DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput } from "./commands/DescribeDirectoryConfigsCommand";
|
|
44
46
|
import { DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput } from "./commands/DescribeEntitlementsCommand";
|
|
45
47
|
import { DescribeFleetsCommandInput, DescribeFleetsCommandOutput } from "./commands/DescribeFleetsCommand";
|
|
@@ -47,6 +49,7 @@ import { DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput }
|
|
|
47
49
|
import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "./commands/DescribeImagePermissionsCommand";
|
|
48
50
|
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
|
|
49
51
|
import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand";
|
|
52
|
+
import { DescribeSoftwareAssociationsCommandInput, DescribeSoftwareAssociationsCommandOutput } from "./commands/DescribeSoftwareAssociationsCommand";
|
|
50
53
|
import { DescribeStacksCommandInput, DescribeStacksCommandOutput } from "./commands/DescribeStacksCommand";
|
|
51
54
|
import { DescribeThemeForStackCommandInput, DescribeThemeForStackCommandOutput } from "./commands/DescribeThemeForStackCommand";
|
|
52
55
|
import { DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscriptionsCommandOutput } from "./commands/DescribeUsageReportSubscriptionsCommand";
|
|
@@ -57,6 +60,7 @@ import { DisassociateAppBlockBuilderAppBlockCommandInput, DisassociateAppBlockBu
|
|
|
57
60
|
import { DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput } from "./commands/DisassociateApplicationFleetCommand";
|
|
58
61
|
import { DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput } from "./commands/DisassociateApplicationFromEntitlementCommand";
|
|
59
62
|
import { DisassociateFleetCommandInput, DisassociateFleetCommandOutput } from "./commands/DisassociateFleetCommand";
|
|
63
|
+
import { DisassociateSoftwareFromImageBuilderCommandInput, DisassociateSoftwareFromImageBuilderCommandOutput } from "./commands/DisassociateSoftwareFromImageBuilderCommand";
|
|
60
64
|
import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/EnableUserCommand";
|
|
61
65
|
import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
|
|
62
66
|
import { ListAssociatedFleetsCommandInput, ListAssociatedFleetsCommandOutput } from "./commands/ListAssociatedFleetsCommand";
|
|
@@ -66,6 +70,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
66
70
|
import { StartAppBlockBuilderCommandInput, StartAppBlockBuilderCommandOutput } from "./commands/StartAppBlockBuilderCommand";
|
|
67
71
|
import { StartFleetCommandInput, StartFleetCommandOutput } from "./commands/StartFleetCommand";
|
|
68
72
|
import { StartImageBuilderCommandInput, StartImageBuilderCommandOutput } from "./commands/StartImageBuilderCommand";
|
|
73
|
+
import { StartSoftwareDeploymentToImageBuilderCommandInput, StartSoftwareDeploymentToImageBuilderCommandOutput } from "./commands/StartSoftwareDeploymentToImageBuilderCommand";
|
|
69
74
|
import { StopAppBlockBuilderCommandInput, StopAppBlockBuilderCommandOutput } from "./commands/StopAppBlockBuilderCommand";
|
|
70
75
|
import { StopFleetCommandInput, StopFleetCommandOutput } from "./commands/StopFleetCommand";
|
|
71
76
|
import { StopImageBuilderCommandInput, StopImageBuilderCommandOutput } from "./commands/StopImageBuilderCommand";
|
|
@@ -104,6 +109,12 @@ export interface AppStream {
|
|
|
104
109
|
associateFleet(args: AssociateFleetCommandInput, options?: __HttpHandlerOptions): Promise<AssociateFleetCommandOutput>;
|
|
105
110
|
associateFleet(args: AssociateFleetCommandInput, cb: (err: any, data?: AssociateFleetCommandOutput) => void): void;
|
|
106
111
|
associateFleet(args: AssociateFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateFleetCommandOutput) => void): void;
|
|
112
|
+
/**
|
|
113
|
+
* @see {@link AssociateSoftwareToImageBuilderCommand}
|
|
114
|
+
*/
|
|
115
|
+
associateSoftwareToImageBuilder(args: AssociateSoftwareToImageBuilderCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSoftwareToImageBuilderCommandOutput>;
|
|
116
|
+
associateSoftwareToImageBuilder(args: AssociateSoftwareToImageBuilderCommandInput, cb: (err: any, data?: AssociateSoftwareToImageBuilderCommandOutput) => void): void;
|
|
117
|
+
associateSoftwareToImageBuilder(args: AssociateSoftwareToImageBuilderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSoftwareToImageBuilderCommandOutput) => void): void;
|
|
107
118
|
/**
|
|
108
119
|
* @see {@link BatchAssociateUserStackCommand}
|
|
109
120
|
*/
|
|
@@ -327,6 +338,12 @@ export interface AppStream {
|
|
|
327
338
|
describeApplications(args: DescribeApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationsCommandOutput>;
|
|
328
339
|
describeApplications(args: DescribeApplicationsCommandInput, cb: (err: any, data?: DescribeApplicationsCommandOutput) => void): void;
|
|
329
340
|
describeApplications(args: DescribeApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationsCommandOutput) => void): void;
|
|
341
|
+
/**
|
|
342
|
+
* @see {@link DescribeAppLicenseUsageCommand}
|
|
343
|
+
*/
|
|
344
|
+
describeAppLicenseUsage(args: DescribeAppLicenseUsageCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppLicenseUsageCommandOutput>;
|
|
345
|
+
describeAppLicenseUsage(args: DescribeAppLicenseUsageCommandInput, cb: (err: any, data?: DescribeAppLicenseUsageCommandOutput) => void): void;
|
|
346
|
+
describeAppLicenseUsage(args: DescribeAppLicenseUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppLicenseUsageCommandOutput) => void): void;
|
|
330
347
|
/**
|
|
331
348
|
* @see {@link DescribeDirectoryConfigsCommand}
|
|
332
349
|
*/
|
|
@@ -373,6 +390,12 @@ export interface AppStream {
|
|
|
373
390
|
describeSessions(args: DescribeSessionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSessionsCommandOutput>;
|
|
374
391
|
describeSessions(args: DescribeSessionsCommandInput, cb: (err: any, data?: DescribeSessionsCommandOutput) => void): void;
|
|
375
392
|
describeSessions(args: DescribeSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSessionsCommandOutput) => void): void;
|
|
393
|
+
/**
|
|
394
|
+
* @see {@link DescribeSoftwareAssociationsCommand}
|
|
395
|
+
*/
|
|
396
|
+
describeSoftwareAssociations(args: DescribeSoftwareAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSoftwareAssociationsCommandOutput>;
|
|
397
|
+
describeSoftwareAssociations(args: DescribeSoftwareAssociationsCommandInput, cb: (err: any, data?: DescribeSoftwareAssociationsCommandOutput) => void): void;
|
|
398
|
+
describeSoftwareAssociations(args: DescribeSoftwareAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSoftwareAssociationsCommandOutput) => void): void;
|
|
376
399
|
/**
|
|
377
400
|
* @see {@link DescribeStacksCommand}
|
|
378
401
|
*/
|
|
@@ -436,6 +459,12 @@ export interface AppStream {
|
|
|
436
459
|
disassociateFleet(args: DisassociateFleetCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFleetCommandOutput>;
|
|
437
460
|
disassociateFleet(args: DisassociateFleetCommandInput, cb: (err: any, data?: DisassociateFleetCommandOutput) => void): void;
|
|
438
461
|
disassociateFleet(args: DisassociateFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFleetCommandOutput) => void): void;
|
|
462
|
+
/**
|
|
463
|
+
* @see {@link DisassociateSoftwareFromImageBuilderCommand}
|
|
464
|
+
*/
|
|
465
|
+
disassociateSoftwareFromImageBuilder(args: DisassociateSoftwareFromImageBuilderCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSoftwareFromImageBuilderCommandOutput>;
|
|
466
|
+
disassociateSoftwareFromImageBuilder(args: DisassociateSoftwareFromImageBuilderCommandInput, cb: (err: any, data?: DisassociateSoftwareFromImageBuilderCommandOutput) => void): void;
|
|
467
|
+
disassociateSoftwareFromImageBuilder(args: DisassociateSoftwareFromImageBuilderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSoftwareFromImageBuilderCommandOutput) => void): void;
|
|
439
468
|
/**
|
|
440
469
|
* @see {@link EnableUserCommand}
|
|
441
470
|
*/
|
|
@@ -490,6 +519,12 @@ export interface AppStream {
|
|
|
490
519
|
startImageBuilder(args: StartImageBuilderCommandInput, options?: __HttpHandlerOptions): Promise<StartImageBuilderCommandOutput>;
|
|
491
520
|
startImageBuilder(args: StartImageBuilderCommandInput, cb: (err: any, data?: StartImageBuilderCommandOutput) => void): void;
|
|
492
521
|
startImageBuilder(args: StartImageBuilderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImageBuilderCommandOutput) => void): void;
|
|
522
|
+
/**
|
|
523
|
+
* @see {@link StartSoftwareDeploymentToImageBuilderCommand}
|
|
524
|
+
*/
|
|
525
|
+
startSoftwareDeploymentToImageBuilder(args: StartSoftwareDeploymentToImageBuilderCommandInput, options?: __HttpHandlerOptions): Promise<StartSoftwareDeploymentToImageBuilderCommandOutput>;
|
|
526
|
+
startSoftwareDeploymentToImageBuilder(args: StartSoftwareDeploymentToImageBuilderCommandInput, cb: (err: any, data?: StartSoftwareDeploymentToImageBuilderCommandOutput) => void): void;
|
|
527
|
+
startSoftwareDeploymentToImageBuilder(args: StartSoftwareDeploymentToImageBuilderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSoftwareDeploymentToImageBuilderCommandOutput) => void): void;
|
|
493
528
|
/**
|
|
494
529
|
* @see {@link StopAppBlockBuilderCommand}
|
|
495
530
|
*/
|
|
@@ -11,6 +11,7 @@ import { AssociateAppBlockBuilderAppBlockCommandInput, AssociateAppBlockBuilderA
|
|
|
11
11
|
import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
|
|
12
12
|
import { AssociateApplicationToEntitlementCommandInput, AssociateApplicationToEntitlementCommandOutput } from "./commands/AssociateApplicationToEntitlementCommand";
|
|
13
13
|
import { AssociateFleetCommandInput, AssociateFleetCommandOutput } from "./commands/AssociateFleetCommand";
|
|
14
|
+
import { AssociateSoftwareToImageBuilderCommandInput, AssociateSoftwareToImageBuilderCommandOutput } from "./commands/AssociateSoftwareToImageBuilderCommand";
|
|
14
15
|
import { BatchAssociateUserStackCommandInput, BatchAssociateUserStackCommandOutput } from "./commands/BatchAssociateUserStackCommand";
|
|
15
16
|
import { BatchDisassociateUserStackCommandInput, BatchDisassociateUserStackCommandOutput } from "./commands/BatchDisassociateUserStackCommand";
|
|
16
17
|
import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyImageCommand";
|
|
@@ -47,6 +48,7 @@ import { DescribeAppBlockBuildersCommandInput, DescribeAppBlockBuildersCommandOu
|
|
|
47
48
|
import { DescribeAppBlocksCommandInput, DescribeAppBlocksCommandOutput } from "./commands/DescribeAppBlocksCommand";
|
|
48
49
|
import { DescribeApplicationFleetAssociationsCommandInput, DescribeApplicationFleetAssociationsCommandOutput } from "./commands/DescribeApplicationFleetAssociationsCommand";
|
|
49
50
|
import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
|
|
51
|
+
import { DescribeAppLicenseUsageCommandInput, DescribeAppLicenseUsageCommandOutput } from "./commands/DescribeAppLicenseUsageCommand";
|
|
50
52
|
import { DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput } from "./commands/DescribeDirectoryConfigsCommand";
|
|
51
53
|
import { DescribeEntitlementsCommandInput, DescribeEntitlementsCommandOutput } from "./commands/DescribeEntitlementsCommand";
|
|
52
54
|
import { DescribeFleetsCommandInput, DescribeFleetsCommandOutput } from "./commands/DescribeFleetsCommand";
|
|
@@ -54,6 +56,7 @@ import { DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput }
|
|
|
54
56
|
import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "./commands/DescribeImagePermissionsCommand";
|
|
55
57
|
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
|
|
56
58
|
import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand";
|
|
59
|
+
import { DescribeSoftwareAssociationsCommandInput, DescribeSoftwareAssociationsCommandOutput } from "./commands/DescribeSoftwareAssociationsCommand";
|
|
57
60
|
import { DescribeStacksCommandInput, DescribeStacksCommandOutput } from "./commands/DescribeStacksCommand";
|
|
58
61
|
import { DescribeThemeForStackCommandInput, DescribeThemeForStackCommandOutput } from "./commands/DescribeThemeForStackCommand";
|
|
59
62
|
import { DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscriptionsCommandOutput } from "./commands/DescribeUsageReportSubscriptionsCommand";
|
|
@@ -64,6 +67,7 @@ import { DisassociateAppBlockBuilderAppBlockCommandInput, DisassociateAppBlockBu
|
|
|
64
67
|
import { DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput } from "./commands/DisassociateApplicationFleetCommand";
|
|
65
68
|
import { DisassociateApplicationFromEntitlementCommandInput, DisassociateApplicationFromEntitlementCommandOutput } from "./commands/DisassociateApplicationFromEntitlementCommand";
|
|
66
69
|
import { DisassociateFleetCommandInput, DisassociateFleetCommandOutput } from "./commands/DisassociateFleetCommand";
|
|
70
|
+
import { DisassociateSoftwareFromImageBuilderCommandInput, DisassociateSoftwareFromImageBuilderCommandOutput } from "./commands/DisassociateSoftwareFromImageBuilderCommand";
|
|
67
71
|
import { EnableUserCommandInput, EnableUserCommandOutput } from "./commands/EnableUserCommand";
|
|
68
72
|
import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
|
|
69
73
|
import { ListAssociatedFleetsCommandInput, ListAssociatedFleetsCommandOutput } from "./commands/ListAssociatedFleetsCommand";
|
|
@@ -73,6 +77,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
73
77
|
import { StartAppBlockBuilderCommandInput, StartAppBlockBuilderCommandOutput } from "./commands/StartAppBlockBuilderCommand";
|
|
74
78
|
import { StartFleetCommandInput, StartFleetCommandOutput } from "./commands/StartFleetCommand";
|
|
75
79
|
import { StartImageBuilderCommandInput, StartImageBuilderCommandOutput } from "./commands/StartImageBuilderCommand";
|
|
80
|
+
import { StartSoftwareDeploymentToImageBuilderCommandInput, StartSoftwareDeploymentToImageBuilderCommandOutput } from "./commands/StartSoftwareDeploymentToImageBuilderCommand";
|
|
76
81
|
import { StopAppBlockBuilderCommandInput, StopAppBlockBuilderCommandOutput } from "./commands/StopAppBlockBuilderCommand";
|
|
77
82
|
import { StopFleetCommandInput, StopFleetCommandOutput } from "./commands/StopFleetCommand";
|
|
78
83
|
import { StopImageBuilderCommandInput, StopImageBuilderCommandOutput } from "./commands/StopImageBuilderCommand";
|
|
@@ -92,11 +97,11 @@ export { __Client };
|
|
|
92
97
|
/**
|
|
93
98
|
* @public
|
|
94
99
|
*/
|
|
95
|
-
export type ServiceInputTypes = AssociateAppBlockBuilderAppBlockCommandInput | AssociateApplicationFleetCommandInput | AssociateApplicationToEntitlementCommandInput | AssociateFleetCommandInput | BatchAssociateUserStackCommandInput | BatchDisassociateUserStackCommandInput | CopyImageCommandInput | CreateAppBlockBuilderCommandInput | CreateAppBlockBuilderStreamingURLCommandInput | CreateAppBlockCommandInput | CreateApplicationCommandInput | CreateDirectoryConfigCommandInput | CreateEntitlementCommandInput | CreateFleetCommandInput | CreateImageBuilderCommandInput | CreateImageBuilderStreamingURLCommandInput | CreateStackCommandInput | CreateStreamingURLCommandInput | CreateThemeForStackCommandInput | CreateUpdatedImageCommandInput | CreateUsageReportSubscriptionCommandInput | CreateUserCommandInput | DeleteAppBlockBuilderCommandInput | DeleteAppBlockCommandInput | DeleteApplicationCommandInput | DeleteDirectoryConfigCommandInput | DeleteEntitlementCommandInput | DeleteFleetCommandInput | DeleteImageBuilderCommandInput | DeleteImageCommandInput | DeleteImagePermissionsCommandInput | DeleteStackCommandInput | DeleteThemeForStackCommandInput | DeleteUsageReportSubscriptionCommandInput | DeleteUserCommandInput | DescribeAppBlockBuilderAppBlockAssociationsCommandInput | DescribeAppBlockBuildersCommandInput | DescribeAppBlocksCommandInput | DescribeApplicationFleetAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeDirectoryConfigsCommandInput | DescribeEntitlementsCommandInput | DescribeFleetsCommandInput | DescribeImageBuildersCommandInput | DescribeImagePermissionsCommandInput | DescribeImagesCommandInput | DescribeSessionsCommandInput | DescribeStacksCommandInput | DescribeThemeForStackCommandInput | DescribeUsageReportSubscriptionsCommandInput | DescribeUserStackAssociationsCommandInput | DescribeUsersCommandInput | DisableUserCommandInput | DisassociateAppBlockBuilderAppBlockCommandInput | DisassociateApplicationFleetCommandInput | DisassociateApplicationFromEntitlementCommandInput | DisassociateFleetCommandInput | EnableUserCommandInput | ExpireSessionCommandInput | ListAssociatedFleetsCommandInput | ListAssociatedStacksCommandInput | ListEntitledApplicationsCommandInput | ListTagsForResourceCommandInput | StartAppBlockBuilderCommandInput | StartFleetCommandInput | StartImageBuilderCommandInput | StopAppBlockBuilderCommandInput | StopFleetCommandInput | StopImageBuilderCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppBlockBuilderCommandInput | UpdateApplicationCommandInput | UpdateDirectoryConfigCommandInput | UpdateEntitlementCommandInput | UpdateFleetCommandInput | UpdateImagePermissionsCommandInput | UpdateStackCommandInput | UpdateThemeForStackCommandInput;
|
|
100
|
+
export type ServiceInputTypes = AssociateAppBlockBuilderAppBlockCommandInput | AssociateApplicationFleetCommandInput | AssociateApplicationToEntitlementCommandInput | AssociateFleetCommandInput | AssociateSoftwareToImageBuilderCommandInput | BatchAssociateUserStackCommandInput | BatchDisassociateUserStackCommandInput | CopyImageCommandInput | CreateAppBlockBuilderCommandInput | CreateAppBlockBuilderStreamingURLCommandInput | CreateAppBlockCommandInput | CreateApplicationCommandInput | CreateDirectoryConfigCommandInput | CreateEntitlementCommandInput | CreateFleetCommandInput | CreateImageBuilderCommandInput | CreateImageBuilderStreamingURLCommandInput | CreateStackCommandInput | CreateStreamingURLCommandInput | CreateThemeForStackCommandInput | CreateUpdatedImageCommandInput | CreateUsageReportSubscriptionCommandInput | CreateUserCommandInput | DeleteAppBlockBuilderCommandInput | DeleteAppBlockCommandInput | DeleteApplicationCommandInput | DeleteDirectoryConfigCommandInput | DeleteEntitlementCommandInput | DeleteFleetCommandInput | DeleteImageBuilderCommandInput | DeleteImageCommandInput | DeleteImagePermissionsCommandInput | DeleteStackCommandInput | DeleteThemeForStackCommandInput | DeleteUsageReportSubscriptionCommandInput | DeleteUserCommandInput | DescribeAppBlockBuilderAppBlockAssociationsCommandInput | DescribeAppBlockBuildersCommandInput | DescribeAppBlocksCommandInput | DescribeAppLicenseUsageCommandInput | DescribeApplicationFleetAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeDirectoryConfigsCommandInput | DescribeEntitlementsCommandInput | DescribeFleetsCommandInput | DescribeImageBuildersCommandInput | DescribeImagePermissionsCommandInput | DescribeImagesCommandInput | DescribeSessionsCommandInput | DescribeSoftwareAssociationsCommandInput | DescribeStacksCommandInput | DescribeThemeForStackCommandInput | DescribeUsageReportSubscriptionsCommandInput | DescribeUserStackAssociationsCommandInput | DescribeUsersCommandInput | DisableUserCommandInput | DisassociateAppBlockBuilderAppBlockCommandInput | DisassociateApplicationFleetCommandInput | DisassociateApplicationFromEntitlementCommandInput | DisassociateFleetCommandInput | DisassociateSoftwareFromImageBuilderCommandInput | EnableUserCommandInput | ExpireSessionCommandInput | ListAssociatedFleetsCommandInput | ListAssociatedStacksCommandInput | ListEntitledApplicationsCommandInput | ListTagsForResourceCommandInput | StartAppBlockBuilderCommandInput | StartFleetCommandInput | StartImageBuilderCommandInput | StartSoftwareDeploymentToImageBuilderCommandInput | StopAppBlockBuilderCommandInput | StopFleetCommandInput | StopImageBuilderCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppBlockBuilderCommandInput | UpdateApplicationCommandInput | UpdateDirectoryConfigCommandInput | UpdateEntitlementCommandInput | UpdateFleetCommandInput | UpdateImagePermissionsCommandInput | UpdateStackCommandInput | UpdateThemeForStackCommandInput;
|
|
96
101
|
/**
|
|
97
102
|
* @public
|
|
98
103
|
*/
|
|
99
|
-
export type ServiceOutputTypes = AssociateAppBlockBuilderAppBlockCommandOutput | AssociateApplicationFleetCommandOutput | AssociateApplicationToEntitlementCommandOutput | AssociateFleetCommandOutput | BatchAssociateUserStackCommandOutput | BatchDisassociateUserStackCommandOutput | CopyImageCommandOutput | CreateAppBlockBuilderCommandOutput | CreateAppBlockBuilderStreamingURLCommandOutput | CreateAppBlockCommandOutput | CreateApplicationCommandOutput | CreateDirectoryConfigCommandOutput | CreateEntitlementCommandOutput | CreateFleetCommandOutput | CreateImageBuilderCommandOutput | CreateImageBuilderStreamingURLCommandOutput | CreateStackCommandOutput | CreateStreamingURLCommandOutput | CreateThemeForStackCommandOutput | CreateUpdatedImageCommandOutput | CreateUsageReportSubscriptionCommandOutput | CreateUserCommandOutput | DeleteAppBlockBuilderCommandOutput | DeleteAppBlockCommandOutput | DeleteApplicationCommandOutput | DeleteDirectoryConfigCommandOutput | DeleteEntitlementCommandOutput | DeleteFleetCommandOutput | DeleteImageBuilderCommandOutput | DeleteImageCommandOutput | DeleteImagePermissionsCommandOutput | DeleteStackCommandOutput | DeleteThemeForStackCommandOutput | DeleteUsageReportSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeAppBlockBuilderAppBlockAssociationsCommandOutput | DescribeAppBlockBuildersCommandOutput | DescribeAppBlocksCommandOutput | DescribeApplicationFleetAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeDirectoryConfigsCommandOutput | DescribeEntitlementsCommandOutput | DescribeFleetsCommandOutput | DescribeImageBuildersCommandOutput | DescribeImagePermissionsCommandOutput | DescribeImagesCommandOutput | DescribeSessionsCommandOutput | DescribeStacksCommandOutput | DescribeThemeForStackCommandOutput | DescribeUsageReportSubscriptionsCommandOutput | DescribeUserStackAssociationsCommandOutput | DescribeUsersCommandOutput | DisableUserCommandOutput | DisassociateAppBlockBuilderAppBlockCommandOutput | DisassociateApplicationFleetCommandOutput | DisassociateApplicationFromEntitlementCommandOutput | DisassociateFleetCommandOutput | EnableUserCommandOutput | ExpireSessionCommandOutput | ListAssociatedFleetsCommandOutput | ListAssociatedStacksCommandOutput | ListEntitledApplicationsCommandOutput | ListTagsForResourceCommandOutput | StartAppBlockBuilderCommandOutput | StartFleetCommandOutput | StartImageBuilderCommandOutput | StopAppBlockBuilderCommandOutput | StopFleetCommandOutput | StopImageBuilderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppBlockBuilderCommandOutput | UpdateApplicationCommandOutput | UpdateDirectoryConfigCommandOutput | UpdateEntitlementCommandOutput | UpdateFleetCommandOutput | UpdateImagePermissionsCommandOutput | UpdateStackCommandOutput | UpdateThemeForStackCommandOutput;
|
|
104
|
+
export type ServiceOutputTypes = AssociateAppBlockBuilderAppBlockCommandOutput | AssociateApplicationFleetCommandOutput | AssociateApplicationToEntitlementCommandOutput | AssociateFleetCommandOutput | AssociateSoftwareToImageBuilderCommandOutput | BatchAssociateUserStackCommandOutput | BatchDisassociateUserStackCommandOutput | CopyImageCommandOutput | CreateAppBlockBuilderCommandOutput | CreateAppBlockBuilderStreamingURLCommandOutput | CreateAppBlockCommandOutput | CreateApplicationCommandOutput | CreateDirectoryConfigCommandOutput | CreateEntitlementCommandOutput | CreateFleetCommandOutput | CreateImageBuilderCommandOutput | CreateImageBuilderStreamingURLCommandOutput | CreateStackCommandOutput | CreateStreamingURLCommandOutput | CreateThemeForStackCommandOutput | CreateUpdatedImageCommandOutput | CreateUsageReportSubscriptionCommandOutput | CreateUserCommandOutput | DeleteAppBlockBuilderCommandOutput | DeleteAppBlockCommandOutput | DeleteApplicationCommandOutput | DeleteDirectoryConfigCommandOutput | DeleteEntitlementCommandOutput | DeleteFleetCommandOutput | DeleteImageBuilderCommandOutput | DeleteImageCommandOutput | DeleteImagePermissionsCommandOutput | DeleteStackCommandOutput | DeleteThemeForStackCommandOutput | DeleteUsageReportSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeAppBlockBuilderAppBlockAssociationsCommandOutput | DescribeAppBlockBuildersCommandOutput | DescribeAppBlocksCommandOutput | DescribeAppLicenseUsageCommandOutput | DescribeApplicationFleetAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeDirectoryConfigsCommandOutput | DescribeEntitlementsCommandOutput | DescribeFleetsCommandOutput | DescribeImageBuildersCommandOutput | DescribeImagePermissionsCommandOutput | DescribeImagesCommandOutput | DescribeSessionsCommandOutput | DescribeSoftwareAssociationsCommandOutput | DescribeStacksCommandOutput | DescribeThemeForStackCommandOutput | DescribeUsageReportSubscriptionsCommandOutput | DescribeUserStackAssociationsCommandOutput | DescribeUsersCommandOutput | DisableUserCommandOutput | DisassociateAppBlockBuilderAppBlockCommandOutput | DisassociateApplicationFleetCommandOutput | DisassociateApplicationFromEntitlementCommandOutput | DisassociateFleetCommandOutput | DisassociateSoftwareFromImageBuilderCommandOutput | EnableUserCommandOutput | ExpireSessionCommandOutput | ListAssociatedFleetsCommandOutput | ListAssociatedStacksCommandOutput | ListEntitledApplicationsCommandOutput | ListTagsForResourceCommandOutput | StartAppBlockBuilderCommandOutput | StartFleetCommandOutput | StartImageBuilderCommandOutput | StartSoftwareDeploymentToImageBuilderCommandOutput | StopAppBlockBuilderCommandOutput | StopFleetCommandOutput | StopImageBuilderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppBlockBuilderCommandOutput | UpdateApplicationCommandOutput | UpdateDirectoryConfigCommandOutput | UpdateEntitlementCommandOutput | UpdateFleetCommandOutput | UpdateImagePermissionsCommandOutput | UpdateStackCommandOutput | UpdateThemeForStackCommandOutput;
|
|
100
105
|
/**
|
|
101
106
|
* @public
|
|
102
107
|
*/
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
4
|
+
import { AssociateSoftwareToImageBuilderRequest, AssociateSoftwareToImageBuilderResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateSoftwareToImageBuilderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateSoftwareToImageBuilderCommandInput extends AssociateSoftwareToImageBuilderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateSoftwareToImageBuilderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateSoftwareToImageBuilderCommandOutput extends AssociateSoftwareToImageBuilderResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateSoftwareToImageBuilderCommand_base: {
|
|
25
|
+
new (input: AssociateSoftwareToImageBuilderCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSoftwareToImageBuilderCommandInput, AssociateSoftwareToImageBuilderCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateSoftwareToImageBuilderCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSoftwareToImageBuilderCommandInput, AssociateSoftwareToImageBuilderCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates license included application(s) with an existing image builder instance.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AppStreamClient, AssociateSoftwareToImageBuilderCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
35
|
+
* // const { AppStreamClient, AssociateSoftwareToImageBuilderCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
36
|
+
* // import type { AppStreamClientConfig } from "@aws-sdk/client-appstream";
|
|
37
|
+
* const config = {}; // type is AppStreamClientConfig
|
|
38
|
+
* const client = new AppStreamClient(config);
|
|
39
|
+
* const input = { // AssociateSoftwareToImageBuilderRequest
|
|
40
|
+
* ImageBuilderName: "STRING_VALUE", // required
|
|
41
|
+
* SoftwareNames: [ // StringList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new AssociateSoftwareToImageBuilderCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param AssociateSoftwareToImageBuilderCommandInput - {@link AssociateSoftwareToImageBuilderCommandInput}
|
|
52
|
+
* @returns {@link AssociateSoftwareToImageBuilderCommandOutput}
|
|
53
|
+
* @see {@link AssociateSoftwareToImageBuilderCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link AssociateSoftwareToImageBuilderCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
58
|
+
* <p>An API error occurred. Wait a few minutes and try again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link IncompatibleImageException} (client fault)
|
|
61
|
+
* <p>The image can't be updated because it's not compatible for updates.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
64
|
+
* <p>Indicates an incorrect combination of parameters, or a missing parameter.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
67
|
+
* <p>The attempted operation is not permitted.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource was not found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AppStreamServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from AppStream service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class AssociateSoftwareToImageBuilderCommand extends AssociateSoftwareToImageBuilderCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: AssociateSoftwareToImageBuilderRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: AssociateSoftwareToImageBuilderCommandInput;
|
|
87
|
+
output: AssociateSoftwareToImageBuilderCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|