@aws-sdk/client-appstream 3.624.0 → 3.630.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +222 -1
  3. package/dist-es/AppStream.js +8 -0
  4. package/dist-es/commands/CreateThemeForStackCommand.js +24 -0
  5. package/dist-es/commands/DeleteThemeForStackCommand.js +24 -0
  6. package/dist-es/commands/DescribeThemeForStackCommand.js +24 -0
  7. package/dist-es/commands/UpdateThemeForStackCommand.js +24 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +25 -0
  10. package/dist-es/protocols/Aws_json1_1.js +108 -0
  11. package/dist-types/AppStream.d.ts +28 -0
  12. package/dist-types/AppStreamClient.d.ts +6 -2
  13. package/dist-types/commands/CreateImageBuilderCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateThemeForStackCommand.d.ts +108 -0
  15. package/dist-types/commands/CreateUpdatedImageCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteImageBuilderCommand.d.ts +1 -0
  17. package/dist-types/commands/DeleteImageCommand.d.ts +6 -0
  18. package/dist-types/commands/DeleteThemeForStackCommand.d.ts +67 -0
  19. package/dist-types/commands/DescribeImageBuildersCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  21. package/dist-types/commands/DescribeThemeForStackCommand.d.ts +80 -0
  22. package/dist-types/commands/StartImageBuilderCommand.d.ts +1 -0
  23. package/dist-types/commands/StopImageBuilderCommand.d.ts +1 -0
  24. package/dist-types/commands/UpdateThemeForStackCommand.d.ts +112 -0
  25. package/dist-types/commands/index.d.ts +4 -0
  26. package/dist-types/models/models_0.d.ts +342 -0
  27. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  28. package/dist-types/ts3.4/AppStream.d.ts +68 -0
  29. package/dist-types/ts3.4/AppStreamClient.d.ts +26 -2
  30. package/dist-types/ts3.4/commands/CreateThemeForStackCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/DeleteThemeForStackCommand.d.ts +40 -0
  32. package/dist-types/ts3.4/commands/DescribeThemeForStackCommand.d.ts +40 -0
  33. package/dist-types/ts3.4/commands/UpdateThemeForStackCommand.d.ts +40 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +88 -0
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  37. package/package.json +5 -5
@@ -0,0 +1,67 @@
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 { DeleteThemeForStackRequest, DeleteThemeForStackResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteThemeForStackCommand}.
14
+ */
15
+ export interface DeleteThemeForStackCommandInput extends DeleteThemeForStackRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteThemeForStackCommand}.
21
+ */
22
+ export interface DeleteThemeForStackCommandOutput extends DeleteThemeForStackResult, __MetadataBearer {
23
+ }
24
+ declare const DeleteThemeForStackCommand_base: {
25
+ new (input: DeleteThemeForStackCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteThemeForStackCommandInput, DeleteThemeForStackCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteThemeForStackCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteThemeForStackCommandInput, DeleteThemeForStackCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes custom branding that customizes the appearance of the streaming application catalog page.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AppStreamClient, DeleteThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import
35
+ * // const { AppStreamClient, DeleteThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
36
+ * const client = new AppStreamClient(config);
37
+ * const input = { // DeleteThemeForStackRequest
38
+ * StackName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteThemeForStackCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteThemeForStackCommandInput - {@link DeleteThemeForStackCommandInput}
47
+ * @returns {@link DeleteThemeForStackCommandOutput}
48
+ * @see {@link DeleteThemeForStackCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteThemeForStackCommandOutput} for command's `response` shape.
50
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
51
+ *
52
+ * @throws {@link ConcurrentModificationException} (client fault)
53
+ * <p>An API error occurred. Wait a few minutes and try again.</p>
54
+ *
55
+ * @throws {@link OperationNotPermittedException} (client fault)
56
+ * <p>The attempted operation is not permitted.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The specified resource was not found.</p>
60
+ *
61
+ * @throws {@link AppStreamServiceException}
62
+ * <p>Base exception class for all service exceptions from AppStream service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class DeleteThemeForStackCommand extends DeleteThemeForStackCommand_base {
67
+ }
@@ -91,6 +91,7 @@ declare const DescribeImageBuildersCommand_base: {
91
91
  * // VpceId: "STRING_VALUE",
92
92
  * // },
93
93
  * // ],
94
+ * // LatestAppstreamAgentVersion: "TRUE" || "FALSE",
94
95
  * // },
95
96
  * // ],
96
97
  * // NextToken: "STRING_VALUE",
@@ -106,6 +106,12 @@ declare const DescribeImagesCommand_base: {
106
106
  * // ErrorTimestamp: new Date("TIMESTAMP"),
107
107
  * // },
108
108
  * // ],
109
+ * // LatestAppstreamAgentVersion: "TRUE" || "FALSE",
110
+ * // SupportedInstanceFamilies: [
111
+ * // "STRING_VALUE",
112
+ * // ],
113
+ * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED",
114
+ * // ImageSharedWithOthers: "TRUE" || "FALSE",
109
115
  * // },
110
116
  * // ],
111
117
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,80 @@
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 { DescribeThemeForStackRequest, DescribeThemeForStackResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeThemeForStackCommand}.
14
+ */
15
+ export interface DescribeThemeForStackCommandInput extends DescribeThemeForStackRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeThemeForStackCommand}.
21
+ */
22
+ export interface DescribeThemeForStackCommandOutput extends DescribeThemeForStackResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeThemeForStackCommand_base: {
25
+ new (input: DescribeThemeForStackCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeThemeForStackCommandInput, DescribeThemeForStackCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeThemeForStackCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeThemeForStackCommandInput, DescribeThemeForStackCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list that describes the theme for a specified stack. A theme is custom branding that customizes the appearance of the streaming application catalog page.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AppStreamClient, DescribeThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import
35
+ * // const { AppStreamClient, DescribeThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
36
+ * const client = new AppStreamClient(config);
37
+ * const input = { // DescribeThemeForStackRequest
38
+ * StackName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeThemeForStackCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeThemeForStackResult
43
+ * // Theme: { // Theme
44
+ * // StackName: "STRING_VALUE",
45
+ * // State: "ENABLED" || "DISABLED",
46
+ * // ThemeTitleText: "STRING_VALUE",
47
+ * // ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED",
48
+ * // ThemeFooterLinks: [ // ThemeFooterLinks
49
+ * // { // ThemeFooterLink
50
+ * // DisplayName: "STRING_VALUE",
51
+ * // FooterLinkURL: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // ThemeOrganizationLogoURL: "STRING_VALUE",
55
+ * // ThemeFaviconURL: "STRING_VALUE",
56
+ * // CreatedTime: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param DescribeThemeForStackCommandInput - {@link DescribeThemeForStackCommandInput}
63
+ * @returns {@link DescribeThemeForStackCommandOutput}
64
+ * @see {@link DescribeThemeForStackCommandInput} for command's `input` shape.
65
+ * @see {@link DescribeThemeForStackCommandOutput} for command's `response` shape.
66
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
67
+ *
68
+ * @throws {@link OperationNotPermittedException} (client fault)
69
+ * <p>The attempted operation is not permitted.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource was not found.</p>
73
+ *
74
+ * @throws {@link AppStreamServiceException}
75
+ * <p>Base exception class for all service exceptions from AppStream service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DescribeThemeForStackCommand extends DescribeThemeForStackCommand_base {
80
+ }
@@ -87,6 +87,7 @@ declare const StartImageBuilderCommand_base: {
87
87
  * // VpceId: "STRING_VALUE",
88
88
  * // },
89
89
  * // ],
90
+ * // LatestAppstreamAgentVersion: "TRUE" || "FALSE",
90
91
  * // },
91
92
  * // };
92
93
  *
@@ -86,6 +86,7 @@ declare const StopImageBuilderCommand_base: {
86
86
  * // VpceId: "STRING_VALUE",
87
87
  * // },
88
88
  * // ],
89
+ * // LatestAppstreamAgentVersion: "TRUE" || "FALSE",
89
90
  * // },
90
91
  * // };
91
92
  *
@@ -0,0 +1,112 @@
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 { UpdateThemeForStackRequest, UpdateThemeForStackResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateThemeForStackCommand}.
14
+ */
15
+ export interface UpdateThemeForStackCommandInput extends UpdateThemeForStackRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateThemeForStackCommand}.
21
+ */
22
+ export interface UpdateThemeForStackCommandOutput extends UpdateThemeForStackResult, __MetadataBearer {
23
+ }
24
+ declare const UpdateThemeForStackCommand_base: {
25
+ new (input: UpdateThemeForStackCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThemeForStackCommandInput, UpdateThemeForStackCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateThemeForStackCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThemeForStackCommandInput, UpdateThemeForStackCommandOutput, AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates custom branding that customizes the appearance of the streaming application catalog page.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AppStreamClient, UpdateThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import
35
+ * // const { AppStreamClient, UpdateThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
36
+ * const client = new AppStreamClient(config);
37
+ * const input = { // UpdateThemeForStackRequest
38
+ * StackName: "STRING_VALUE", // required
39
+ * FooterLinks: [ // ThemeFooterLinks
40
+ * { // ThemeFooterLink
41
+ * DisplayName: "STRING_VALUE",
42
+ * FooterLinkURL: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * TitleText: "STRING_VALUE",
46
+ * ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED",
47
+ * OrganizationLogoS3Location: { // S3Location
48
+ * S3Bucket: "STRING_VALUE", // required
49
+ * S3Key: "STRING_VALUE",
50
+ * },
51
+ * FaviconS3Location: {
52
+ * S3Bucket: "STRING_VALUE", // required
53
+ * S3Key: "STRING_VALUE",
54
+ * },
55
+ * State: "ENABLED" || "DISABLED",
56
+ * AttributesToDelete: [ // ThemeAttributes
57
+ * "FOOTER_LINKS",
58
+ * ],
59
+ * };
60
+ * const command = new UpdateThemeForStackCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // UpdateThemeForStackResult
63
+ * // Theme: { // Theme
64
+ * // StackName: "STRING_VALUE",
65
+ * // State: "ENABLED" || "DISABLED",
66
+ * // ThemeTitleText: "STRING_VALUE",
67
+ * // ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED",
68
+ * // ThemeFooterLinks: [ // ThemeFooterLinks
69
+ * // { // ThemeFooterLink
70
+ * // DisplayName: "STRING_VALUE",
71
+ * // FooterLinkURL: "STRING_VALUE",
72
+ * // },
73
+ * // ],
74
+ * // ThemeOrganizationLogoURL: "STRING_VALUE",
75
+ * // ThemeFaviconURL: "STRING_VALUE",
76
+ * // CreatedTime: new Date("TIMESTAMP"),
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param UpdateThemeForStackCommandInput - {@link UpdateThemeForStackCommandInput}
83
+ * @returns {@link UpdateThemeForStackCommandOutput}
84
+ * @see {@link UpdateThemeForStackCommandInput} for command's `input` shape.
85
+ * @see {@link UpdateThemeForStackCommandOutput} for command's `response` shape.
86
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
87
+ *
88
+ * @throws {@link ConcurrentModificationException} (client fault)
89
+ * <p>An API error occurred. Wait a few minutes and try again.</p>
90
+ *
91
+ * @throws {@link InvalidAccountStatusException} (client fault)
92
+ * <p>The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support. </p>
93
+ *
94
+ * @throws {@link InvalidParameterCombinationException} (client fault)
95
+ * <p>Indicates an incorrect combination of parameters, or a missing parameter.</p>
96
+ *
97
+ * @throws {@link LimitExceededException} (client fault)
98
+ * <p>The requested limit exceeds the permitted limit for an account.</p>
99
+ *
100
+ * @throws {@link OperationNotPermittedException} (client fault)
101
+ * <p>The attempted operation is not permitted.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>The specified resource was not found.</p>
105
+ *
106
+ * @throws {@link AppStreamServiceException}
107
+ * <p>Base exception class for all service exceptions from AppStream service.</p>
108
+ *
109
+ * @public
110
+ */
111
+ export declare class UpdateThemeForStackCommand extends UpdateThemeForStackCommand_base {
112
+ }
@@ -16,6 +16,7 @@ export * from "./CreateImageBuilderCommand";
16
16
  export * from "./CreateImageBuilderStreamingURLCommand";
17
17
  export * from "./CreateStackCommand";
18
18
  export * from "./CreateStreamingURLCommand";
19
+ export * from "./CreateThemeForStackCommand";
19
20
  export * from "./CreateUpdatedImageCommand";
20
21
  export * from "./CreateUsageReportSubscriptionCommand";
21
22
  export * from "./CreateUserCommand";
@@ -29,6 +30,7 @@ export * from "./DeleteImageBuilderCommand";
29
30
  export * from "./DeleteImageCommand";
30
31
  export * from "./DeleteImagePermissionsCommand";
31
32
  export * from "./DeleteStackCommand";
33
+ export * from "./DeleteThemeForStackCommand";
32
34
  export * from "./DeleteUsageReportSubscriptionCommand";
33
35
  export * from "./DeleteUserCommand";
34
36
  export * from "./DescribeAppBlockBuilderAppBlockAssociationsCommand";
@@ -44,6 +46,7 @@ export * from "./DescribeImagePermissionsCommand";
44
46
  export * from "./DescribeImagesCommand";
45
47
  export * from "./DescribeSessionsCommand";
46
48
  export * from "./DescribeStacksCommand";
49
+ export * from "./DescribeThemeForStackCommand";
47
50
  export * from "./DescribeUsageReportSubscriptionsCommand";
48
51
  export * from "./DescribeUserStackAssociationsCommand";
49
52
  export * from "./DescribeUsersCommand";
@@ -73,3 +76,4 @@ export * from "./UpdateEntitlementCommand";
73
76
  export * from "./UpdateFleetCommand";
74
77
  export * from "./UpdateImagePermissionsCommand";
75
78
  export * from "./UpdateStackCommand";
79
+ export * from "./UpdateThemeForStackCommand";