Skip to content

Commit 86d89c6

Browse files
author
awstools
committed
feat(client-appstream): This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically.
1 parent db3560c commit 86d89c6

19 files changed

+1815
-3
lines changed

clients/client-appstream/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,14 @@ CreateStreamingURL
364364

365365
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/CreateStreamingURLCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateStreamingURLCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateStreamingURLCommandOutput/)
366366

367+
</details>
368+
<details>
369+
<summary>
370+
CreateThemeForStack
371+
</summary>
372+
373+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/CreateThemeForStackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateThemeForStackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateThemeForStackCommandOutput/)
374+
367375
</details>
368376
<details>
369377
<summary>
@@ -468,6 +476,14 @@ DeleteStack
468476

469477
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/DeleteStackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DeleteStackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DeleteStackCommandOutput/)
470478

479+
</details>
480+
<details>
481+
<summary>
482+
DeleteThemeForStack
483+
</summary>
484+
485+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/DeleteThemeForStackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DeleteThemeForStackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DeleteThemeForStackCommandOutput/)
486+
471487
</details>
472488
<details>
473489
<summary>
@@ -588,6 +604,14 @@ DescribeStacks
588604

589605
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/DescribeStacksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DescribeStacksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DescribeStacksCommandOutput/)
590606

607+
</details>
608+
<details>
609+
<summary>
610+
DescribeThemeForStack
611+
</summary>
612+
613+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/DescribeThemeForStackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DescribeThemeForStackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/DescribeThemeForStackCommandOutput/)
614+
591615
</details>
592616
<details>
593617
<summary>
@@ -821,3 +845,11 @@ UpdateStack
821845
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/UpdateStackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/UpdateStackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/UpdateStackCommandOutput/)
822846

823847
</details>
848+
<details>
849+
<summary>
850+
UpdateThemeForStack
851+
</summary>
852+
853+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/UpdateThemeForStackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/UpdateThemeForStackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/UpdateThemeForStackCommandOutput/)
854+
855+
</details>

clients/client-appstream/src/AppStream.ts

+92
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ import {
8181
CreateStreamingURLCommandInput,
8282
CreateStreamingURLCommandOutput,
8383
} from "./commands/CreateStreamingURLCommand";
84+
import {
85+
CreateThemeForStackCommand,
86+
CreateThemeForStackCommandInput,
87+
CreateThemeForStackCommandOutput,
88+
} from "./commands/CreateThemeForStackCommand";
8489
import {
8590
CreateUpdatedImageCommand,
8691
CreateUpdatedImageCommandInput,
@@ -130,6 +135,11 @@ import {
130135
DeleteImagePermissionsCommandOutput,
131136
} from "./commands/DeleteImagePermissionsCommand";
132137
import { DeleteStackCommand, DeleteStackCommandInput, DeleteStackCommandOutput } from "./commands/DeleteStackCommand";
138+
import {
139+
DeleteThemeForStackCommand,
140+
DeleteThemeForStackCommandInput,
141+
DeleteThemeForStackCommandOutput,
142+
} from "./commands/DeleteThemeForStackCommand";
133143
import {
134144
DeleteUsageReportSubscriptionCommand,
135145
DeleteUsageReportSubscriptionCommandInput,
@@ -201,6 +211,11 @@ import {
201211
DescribeStacksCommandInput,
202212
DescribeStacksCommandOutput,
203213
} from "./commands/DescribeStacksCommand";
214+
import {
215+
DescribeThemeForStackCommand,
216+
DescribeThemeForStackCommandInput,
217+
DescribeThemeForStackCommandOutput,
218+
} from "./commands/DescribeThemeForStackCommand";
204219
import {
205220
DescribeUsageReportSubscriptionsCommand,
206221
DescribeUsageReportSubscriptionsCommandInput,
@@ -318,6 +333,11 @@ import {
318333
UpdateImagePermissionsCommandOutput,
319334
} from "./commands/UpdateImagePermissionsCommand";
320335
import { UpdateStackCommand, UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand";
336+
import {
337+
UpdateThemeForStackCommand,
338+
UpdateThemeForStackCommandInput,
339+
UpdateThemeForStackCommandOutput,
340+
} from "./commands/UpdateThemeForStackCommand";
321341

322342
const commands = {
323343
AssociateAppBlockBuilderAppBlockCommand,
@@ -338,6 +358,7 @@ const commands = {
338358
CreateImageBuilderStreamingURLCommand,
339359
CreateStackCommand,
340360
CreateStreamingURLCommand,
361+
CreateThemeForStackCommand,
341362
CreateUpdatedImageCommand,
342363
CreateUsageReportSubscriptionCommand,
343364
CreateUserCommand,
@@ -351,6 +372,7 @@ const commands = {
351372
DeleteImageBuilderCommand,
352373
DeleteImagePermissionsCommand,
353374
DeleteStackCommand,
375+
DeleteThemeForStackCommand,
354376
DeleteUsageReportSubscriptionCommand,
355377
DeleteUserCommand,
356378
DescribeAppBlockBuilderAppBlockAssociationsCommand,
@@ -366,6 +388,7 @@ const commands = {
366388
DescribeImagesCommand,
367389
DescribeSessionsCommand,
368390
DescribeStacksCommand,
391+
DescribeThemeForStackCommand,
369392
DescribeUsageReportSubscriptionsCommand,
370393
DescribeUsersCommand,
371394
DescribeUserStackAssociationsCommand,
@@ -395,6 +418,7 @@ const commands = {
395418
UpdateFleetCommand,
396419
UpdateImagePermissionsCommand,
397420
UpdateStackCommand,
421+
UpdateThemeForStackCommand,
398422
};
399423

400424
export interface AppStream {
@@ -680,6 +704,23 @@ export interface AppStream {
680704
cb: (err: any, data?: CreateStreamingURLCommandOutput) => void
681705
): void;
682706

707+
/**
708+
* @see {@link CreateThemeForStackCommand}
709+
*/
710+
createThemeForStack(
711+
args: CreateThemeForStackCommandInput,
712+
options?: __HttpHandlerOptions
713+
): Promise<CreateThemeForStackCommandOutput>;
714+
createThemeForStack(
715+
args: CreateThemeForStackCommandInput,
716+
cb: (err: any, data?: CreateThemeForStackCommandOutput) => void
717+
): void;
718+
createThemeForStack(
719+
args: CreateThemeForStackCommandInput,
720+
options: __HttpHandlerOptions,
721+
cb: (err: any, data?: CreateThemeForStackCommandOutput) => void
722+
): void;
723+
683724
/**
684725
* @see {@link CreateUpdatedImageCommand}
685726
*/
@@ -875,6 +916,23 @@ export interface AppStream {
875916
cb: (err: any, data?: DeleteStackCommandOutput) => void
876917
): void;
877918

919+
/**
920+
* @see {@link DeleteThemeForStackCommand}
921+
*/
922+
deleteThemeForStack(
923+
args: DeleteThemeForStackCommandInput,
924+
options?: __HttpHandlerOptions
925+
): Promise<DeleteThemeForStackCommandOutput>;
926+
deleteThemeForStack(
927+
args: DeleteThemeForStackCommandInput,
928+
cb: (err: any, data?: DeleteThemeForStackCommandOutput) => void
929+
): void;
930+
deleteThemeForStack(
931+
args: DeleteThemeForStackCommandInput,
932+
options: __HttpHandlerOptions,
933+
cb: (err: any, data?: DeleteThemeForStackCommandOutput) => void
934+
): void;
935+
878936
/**
879937
* @see {@link DeleteUsageReportSubscriptionCommand}
880938
*/
@@ -1126,6 +1184,23 @@ export interface AppStream {
11261184
cb: (err: any, data?: DescribeStacksCommandOutput) => void
11271185
): void;
11281186

1187+
/**
1188+
* @see {@link DescribeThemeForStackCommand}
1189+
*/
1190+
describeThemeForStack(
1191+
args: DescribeThemeForStackCommandInput,
1192+
options?: __HttpHandlerOptions
1193+
): Promise<DescribeThemeForStackCommandOutput>;
1194+
describeThemeForStack(
1195+
args: DescribeThemeForStackCommandInput,
1196+
cb: (err: any, data?: DescribeThemeForStackCommandOutput) => void
1197+
): void;
1198+
describeThemeForStack(
1199+
args: DescribeThemeForStackCommandInput,
1200+
options: __HttpHandlerOptions,
1201+
cb: (err: any, data?: DescribeThemeForStackCommandOutput) => void
1202+
): void;
1203+
11291204
/**
11301205
* @see {@link DescribeUsageReportSubscriptionsCommand}
11311206
*/
@@ -1561,6 +1636,23 @@ export interface AppStream {
15611636
options: __HttpHandlerOptions,
15621637
cb: (err: any, data?: UpdateStackCommandOutput) => void
15631638
): void;
1639+
1640+
/**
1641+
* @see {@link UpdateThemeForStackCommand}
1642+
*/
1643+
updateThemeForStack(
1644+
args: UpdateThemeForStackCommandInput,
1645+
options?: __HttpHandlerOptions
1646+
): Promise<UpdateThemeForStackCommandOutput>;
1647+
updateThemeForStack(
1648+
args: UpdateThemeForStackCommandInput,
1649+
cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void
1650+
): void;
1651+
updateThemeForStack(
1652+
args: UpdateThemeForStackCommandInput,
1653+
options: __HttpHandlerOptions,
1654+
cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void
1655+
): void;
15641656
}
15651657

15661658
/**

clients/client-appstream/src/AppStreamClient.ts

+26-2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ import {
9898
} from "./commands/CreateImageBuilderStreamingURLCommand";
9999
import { CreateStackCommandInput, CreateStackCommandOutput } from "./commands/CreateStackCommand";
100100
import { CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput } from "./commands/CreateStreamingURLCommand";
101+
import {
102+
CreateThemeForStackCommandInput,
103+
CreateThemeForStackCommandOutput,
104+
} from "./commands/CreateThemeForStackCommand";
101105
import { CreateUpdatedImageCommandInput, CreateUpdatedImageCommandOutput } from "./commands/CreateUpdatedImageCommand";
102106
import {
103107
CreateUsageReportSubscriptionCommandInput,
@@ -123,6 +127,10 @@ import {
123127
DeleteImagePermissionsCommandOutput,
124128
} from "./commands/DeleteImagePermissionsCommand";
125129
import { DeleteStackCommandInput, DeleteStackCommandOutput } from "./commands/DeleteStackCommand";
130+
import {
131+
DeleteThemeForStackCommandInput,
132+
DeleteThemeForStackCommandOutput,
133+
} from "./commands/DeleteThemeForStackCommand";
126134
import {
127135
DeleteUsageReportSubscriptionCommandInput,
128136
DeleteUsageReportSubscriptionCommandOutput,
@@ -165,6 +173,10 @@ import {
165173
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
166174
import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand";
167175
import { DescribeStacksCommandInput, DescribeStacksCommandOutput } from "./commands/DescribeStacksCommand";
176+
import {
177+
DescribeThemeForStackCommandInput,
178+
DescribeThemeForStackCommandOutput,
179+
} from "./commands/DescribeThemeForStackCommand";
168180
import {
169181
DescribeUsageReportSubscriptionsCommandInput,
170182
DescribeUsageReportSubscriptionsCommandOutput,
@@ -236,6 +248,10 @@ import {
236248
UpdateImagePermissionsCommandOutput,
237249
} from "./commands/UpdateImagePermissionsCommand";
238250
import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand";
251+
import {
252+
UpdateThemeForStackCommandInput,
253+
UpdateThemeForStackCommandOutput,
254+
} from "./commands/UpdateThemeForStackCommand";
239255
import {
240256
ClientInputEndpointParameters,
241257
ClientResolvedEndpointParameters,
@@ -269,6 +285,7 @@ export type ServiceInputTypes =
269285
| CreateImageBuilderStreamingURLCommandInput
270286
| CreateStackCommandInput
271287
| CreateStreamingURLCommandInput
288+
| CreateThemeForStackCommandInput
272289
| CreateUpdatedImageCommandInput
273290
| CreateUsageReportSubscriptionCommandInput
274291
| CreateUserCommandInput
@@ -282,6 +299,7 @@ export type ServiceInputTypes =
282299
| DeleteImageCommandInput
283300
| DeleteImagePermissionsCommandInput
284301
| DeleteStackCommandInput
302+
| DeleteThemeForStackCommandInput
285303
| DeleteUsageReportSubscriptionCommandInput
286304
| DeleteUserCommandInput
287305
| DescribeAppBlockBuilderAppBlockAssociationsCommandInput
@@ -297,6 +315,7 @@ export type ServiceInputTypes =
297315
| DescribeImagesCommandInput
298316
| DescribeSessionsCommandInput
299317
| DescribeStacksCommandInput
318+
| DescribeThemeForStackCommandInput
300319
| DescribeUsageReportSubscriptionsCommandInput
301320
| DescribeUserStackAssociationsCommandInput
302321
| DescribeUsersCommandInput
@@ -325,7 +344,8 @@ export type ServiceInputTypes =
325344
| UpdateEntitlementCommandInput
326345
| UpdateFleetCommandInput
327346
| UpdateImagePermissionsCommandInput
328-
| UpdateStackCommandInput;
347+
| UpdateStackCommandInput
348+
| UpdateThemeForStackCommandInput;
329349

330350
/**
331351
* @public
@@ -349,6 +369,7 @@ export type ServiceOutputTypes =
349369
| CreateImageBuilderStreamingURLCommandOutput
350370
| CreateStackCommandOutput
351371
| CreateStreamingURLCommandOutput
372+
| CreateThemeForStackCommandOutput
352373
| CreateUpdatedImageCommandOutput
353374
| CreateUsageReportSubscriptionCommandOutput
354375
| CreateUserCommandOutput
@@ -362,6 +383,7 @@ export type ServiceOutputTypes =
362383
| DeleteImageCommandOutput
363384
| DeleteImagePermissionsCommandOutput
364385
| DeleteStackCommandOutput
386+
| DeleteThemeForStackCommandOutput
365387
| DeleteUsageReportSubscriptionCommandOutput
366388
| DeleteUserCommandOutput
367389
| DescribeAppBlockBuilderAppBlockAssociationsCommandOutput
@@ -377,6 +399,7 @@ export type ServiceOutputTypes =
377399
| DescribeImagesCommandOutput
378400
| DescribeSessionsCommandOutput
379401
| DescribeStacksCommandOutput
402+
| DescribeThemeForStackCommandOutput
380403
| DescribeUsageReportSubscriptionsCommandOutput
381404
| DescribeUserStackAssociationsCommandOutput
382405
| DescribeUsersCommandOutput
@@ -405,7 +428,8 @@ export type ServiceOutputTypes =
405428
| UpdateEntitlementCommandOutput
406429
| UpdateFleetCommandOutput
407430
| UpdateImagePermissionsCommandOutput
408-
| UpdateStackCommandOutput;
431+
| UpdateStackCommandOutput
432+
| UpdateThemeForStackCommandOutput;
409433

410434
/**
411435
* @public

clients/client-appstream/src/commands/CreateImageBuilderCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export interface CreateImageBuilderCommandOutput extends CreateImageBuilderResul
117117
* // VpceId: "STRING_VALUE",
118118
* // },
119119
* // ],
120+
* // LatestAppstreamAgentVersion: "TRUE" || "FALSE",
120121
* // },
121122
* // };
122123
*

0 commit comments

Comments
 (0)