diff --git a/clients/client-appstream/README.md b/clients/client-appstream/README.md index b1d5dc8e3d026..e8d345d6d1e5a 100644 --- a/clients/client-appstream/README.md +++ b/clients/client-appstream/README.md @@ -364,6 +364,14 @@ CreateStreamingURL [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/) + +
+ +CreateThemeForStack + + +[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/) +
@@ -468,6 +476,14 @@ DeleteStack [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/) +
+
+ +DeleteThemeForStack + + +[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/) +
@@ -588,6 +604,14 @@ DescribeStacks [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/) +
+
+ +DescribeThemeForStack + + +[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/) +
@@ -821,3 +845,11 @@ UpdateStack [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/)
+
+ +UpdateThemeForStack + + +[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/) + +
diff --git a/clients/client-appstream/src/AppStream.ts b/clients/client-appstream/src/AppStream.ts index 589acd7eef424..a078608ee1c14 100644 --- a/clients/client-appstream/src/AppStream.ts +++ b/clients/client-appstream/src/AppStream.ts @@ -81,6 +81,11 @@ import { CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput, } from "./commands/CreateStreamingURLCommand"; +import { + CreateThemeForStackCommand, + CreateThemeForStackCommandInput, + CreateThemeForStackCommandOutput, +} from "./commands/CreateThemeForStackCommand"; import { CreateUpdatedImageCommand, CreateUpdatedImageCommandInput, @@ -130,6 +135,11 @@ import { DeleteImagePermissionsCommandOutput, } from "./commands/DeleteImagePermissionsCommand"; import { DeleteStackCommand, DeleteStackCommandInput, DeleteStackCommandOutput } from "./commands/DeleteStackCommand"; +import { + DeleteThemeForStackCommand, + DeleteThemeForStackCommandInput, + DeleteThemeForStackCommandOutput, +} from "./commands/DeleteThemeForStackCommand"; import { DeleteUsageReportSubscriptionCommand, DeleteUsageReportSubscriptionCommandInput, @@ -201,6 +211,11 @@ import { DescribeStacksCommandInput, DescribeStacksCommandOutput, } from "./commands/DescribeStacksCommand"; +import { + DescribeThemeForStackCommand, + DescribeThemeForStackCommandInput, + DescribeThemeForStackCommandOutput, +} from "./commands/DescribeThemeForStackCommand"; import { DescribeUsageReportSubscriptionsCommand, DescribeUsageReportSubscriptionsCommandInput, @@ -318,6 +333,11 @@ import { UpdateImagePermissionsCommandOutput, } from "./commands/UpdateImagePermissionsCommand"; import { UpdateStackCommand, UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand"; +import { + UpdateThemeForStackCommand, + UpdateThemeForStackCommandInput, + UpdateThemeForStackCommandOutput, +} from "./commands/UpdateThemeForStackCommand"; const commands = { AssociateAppBlockBuilderAppBlockCommand, @@ -338,6 +358,7 @@ const commands = { CreateImageBuilderStreamingURLCommand, CreateStackCommand, CreateStreamingURLCommand, + CreateThemeForStackCommand, CreateUpdatedImageCommand, CreateUsageReportSubscriptionCommand, CreateUserCommand, @@ -351,6 +372,7 @@ const commands = { DeleteImageBuilderCommand, DeleteImagePermissionsCommand, DeleteStackCommand, + DeleteThemeForStackCommand, DeleteUsageReportSubscriptionCommand, DeleteUserCommand, DescribeAppBlockBuilderAppBlockAssociationsCommand, @@ -366,6 +388,7 @@ const commands = { DescribeImagesCommand, DescribeSessionsCommand, DescribeStacksCommand, + DescribeThemeForStackCommand, DescribeUsageReportSubscriptionsCommand, DescribeUsersCommand, DescribeUserStackAssociationsCommand, @@ -395,6 +418,7 @@ const commands = { UpdateFleetCommand, UpdateImagePermissionsCommand, UpdateStackCommand, + UpdateThemeForStackCommand, }; export interface AppStream { @@ -680,6 +704,23 @@ export interface AppStream { cb: (err: any, data?: CreateStreamingURLCommandOutput) => void ): void; + /** + * @see {@link CreateThemeForStackCommand} + */ + createThemeForStack( + args: CreateThemeForStackCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createThemeForStack( + args: CreateThemeForStackCommandInput, + cb: (err: any, data?: CreateThemeForStackCommandOutput) => void + ): void; + createThemeForStack( + args: CreateThemeForStackCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateThemeForStackCommandOutput) => void + ): void; + /** * @see {@link CreateUpdatedImageCommand} */ @@ -875,6 +916,23 @@ export interface AppStream { cb: (err: any, data?: DeleteStackCommandOutput) => void ): void; + /** + * @see {@link DeleteThemeForStackCommand} + */ + deleteThemeForStack( + args: DeleteThemeForStackCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteThemeForStack( + args: DeleteThemeForStackCommandInput, + cb: (err: any, data?: DeleteThemeForStackCommandOutput) => void + ): void; + deleteThemeForStack( + args: DeleteThemeForStackCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteThemeForStackCommandOutput) => void + ): void; + /** * @see {@link DeleteUsageReportSubscriptionCommand} */ @@ -1126,6 +1184,23 @@ export interface AppStream { cb: (err: any, data?: DescribeStacksCommandOutput) => void ): void; + /** + * @see {@link DescribeThemeForStackCommand} + */ + describeThemeForStack( + args: DescribeThemeForStackCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeThemeForStack( + args: DescribeThemeForStackCommandInput, + cb: (err: any, data?: DescribeThemeForStackCommandOutput) => void + ): void; + describeThemeForStack( + args: DescribeThemeForStackCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeThemeForStackCommandOutput) => void + ): void; + /** * @see {@link DescribeUsageReportSubscriptionsCommand} */ @@ -1561,6 +1636,23 @@ export interface AppStream { options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStackCommandOutput) => void ): void; + + /** + * @see {@link UpdateThemeForStackCommand} + */ + updateThemeForStack( + args: UpdateThemeForStackCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateThemeForStack( + args: UpdateThemeForStackCommandInput, + cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void + ): void; + updateThemeForStack( + args: UpdateThemeForStackCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void + ): void; } /** diff --git a/clients/client-appstream/src/AppStreamClient.ts b/clients/client-appstream/src/AppStreamClient.ts index 6ce7494089f0d..0bc791bbe79c8 100644 --- a/clients/client-appstream/src/AppStreamClient.ts +++ b/clients/client-appstream/src/AppStreamClient.ts @@ -98,6 +98,10 @@ import { } from "./commands/CreateImageBuilderStreamingURLCommand"; import { CreateStackCommandInput, CreateStackCommandOutput } from "./commands/CreateStackCommand"; import { CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput } from "./commands/CreateStreamingURLCommand"; +import { + CreateThemeForStackCommandInput, + CreateThemeForStackCommandOutput, +} from "./commands/CreateThemeForStackCommand"; import { CreateUpdatedImageCommandInput, CreateUpdatedImageCommandOutput } from "./commands/CreateUpdatedImageCommand"; import { CreateUsageReportSubscriptionCommandInput, @@ -123,6 +127,10 @@ import { DeleteImagePermissionsCommandOutput, } from "./commands/DeleteImagePermissionsCommand"; import { DeleteStackCommandInput, DeleteStackCommandOutput } from "./commands/DeleteStackCommand"; +import { + DeleteThemeForStackCommandInput, + DeleteThemeForStackCommandOutput, +} from "./commands/DeleteThemeForStackCommand"; import { DeleteUsageReportSubscriptionCommandInput, DeleteUsageReportSubscriptionCommandOutput, @@ -165,6 +173,10 @@ import { import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand"; import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand"; import { DescribeStacksCommandInput, DescribeStacksCommandOutput } from "./commands/DescribeStacksCommand"; +import { + DescribeThemeForStackCommandInput, + DescribeThemeForStackCommandOutput, +} from "./commands/DescribeThemeForStackCommand"; import { DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscriptionsCommandOutput, @@ -236,6 +248,10 @@ import { UpdateImagePermissionsCommandOutput, } from "./commands/UpdateImagePermissionsCommand"; import { UpdateStackCommandInput, UpdateStackCommandOutput } from "./commands/UpdateStackCommand"; +import { + UpdateThemeForStackCommandInput, + UpdateThemeForStackCommandOutput, +} from "./commands/UpdateThemeForStackCommand"; import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, @@ -269,6 +285,7 @@ export type ServiceInputTypes = | CreateImageBuilderStreamingURLCommandInput | CreateStackCommandInput | CreateStreamingURLCommandInput + | CreateThemeForStackCommandInput | CreateUpdatedImageCommandInput | CreateUsageReportSubscriptionCommandInput | CreateUserCommandInput @@ -282,6 +299,7 @@ export type ServiceInputTypes = | DeleteImageCommandInput | DeleteImagePermissionsCommandInput | DeleteStackCommandInput + | DeleteThemeForStackCommandInput | DeleteUsageReportSubscriptionCommandInput | DeleteUserCommandInput | DescribeAppBlockBuilderAppBlockAssociationsCommandInput @@ -297,6 +315,7 @@ export type ServiceInputTypes = | DescribeImagesCommandInput | DescribeSessionsCommandInput | DescribeStacksCommandInput + | DescribeThemeForStackCommandInput | DescribeUsageReportSubscriptionsCommandInput | DescribeUserStackAssociationsCommandInput | DescribeUsersCommandInput @@ -325,7 +344,8 @@ export type ServiceInputTypes = | UpdateEntitlementCommandInput | UpdateFleetCommandInput | UpdateImagePermissionsCommandInput - | UpdateStackCommandInput; + | UpdateStackCommandInput + | UpdateThemeForStackCommandInput; /** * @public @@ -349,6 +369,7 @@ export type ServiceOutputTypes = | CreateImageBuilderStreamingURLCommandOutput | CreateStackCommandOutput | CreateStreamingURLCommandOutput + | CreateThemeForStackCommandOutput | CreateUpdatedImageCommandOutput | CreateUsageReportSubscriptionCommandOutput | CreateUserCommandOutput @@ -362,6 +383,7 @@ export type ServiceOutputTypes = | DeleteImageCommandOutput | DeleteImagePermissionsCommandOutput | DeleteStackCommandOutput + | DeleteThemeForStackCommandOutput | DeleteUsageReportSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeAppBlockBuilderAppBlockAssociationsCommandOutput @@ -377,6 +399,7 @@ export type ServiceOutputTypes = | DescribeImagesCommandOutput | DescribeSessionsCommandOutput | DescribeStacksCommandOutput + | DescribeThemeForStackCommandOutput | DescribeUsageReportSubscriptionsCommandOutput | DescribeUserStackAssociationsCommandOutput | DescribeUsersCommandOutput @@ -405,7 +428,8 @@ export type ServiceOutputTypes = | UpdateEntitlementCommandOutput | UpdateFleetCommandOutput | UpdateImagePermissionsCommandOutput - | UpdateStackCommandOutput; + | UpdateStackCommandOutput + | UpdateThemeForStackCommandOutput; /** * @public diff --git a/clients/client-appstream/src/commands/CreateImageBuilderCommand.ts b/clients/client-appstream/src/commands/CreateImageBuilderCommand.ts index 90f68c93bdc71..ac171cc497584 100644 --- a/clients/client-appstream/src/commands/CreateImageBuilderCommand.ts +++ b/clients/client-appstream/src/commands/CreateImageBuilderCommand.ts @@ -117,6 +117,7 @@ export interface CreateImageBuilderCommandOutput extends CreateImageBuilderResul * // VpceId: "STRING_VALUE", * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", * // }, * // }; * diff --git a/clients/client-appstream/src/commands/CreateThemeForStackCommand.ts b/clients/client-appstream/src/commands/CreateThemeForStackCommand.ts new file mode 100644 index 0000000000000..6526afa686fd7 --- /dev/null +++ b/clients/client-appstream/src/commands/CreateThemeForStackCommand.ts @@ -0,0 +1,130 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateThemeForStackRequest, CreateThemeForStackResult } from "../models/models_0"; +import { de_CreateThemeForStackCommand, se_CreateThemeForStackCommand } from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateThemeForStackCommand}. + */ +export interface CreateThemeForStackCommandInput extends CreateThemeForStackRequest {} +/** + * @public + * + * The output of {@link CreateThemeForStackCommand}. + */ +export interface CreateThemeForStackCommandOutput extends CreateThemeForStackResult, __MetadataBearer {} + +/** + *

Creates custom branding that customizes the appearance of the streaming application catalog page.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AppStreamClient, CreateThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import + * // const { AppStreamClient, CreateThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import + * const client = new AppStreamClient(config); + * const input = { // CreateThemeForStackRequest + * StackName: "STRING_VALUE", // required + * FooterLinks: [ // ThemeFooterLinks + * { // ThemeFooterLink + * DisplayName: "STRING_VALUE", + * FooterLinkURL: "STRING_VALUE", + * }, + * ], + * TitleText: "STRING_VALUE", // required + * ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED", // required + * OrganizationLogoS3Location: { // S3Location + * S3Bucket: "STRING_VALUE", // required + * S3Key: "STRING_VALUE", + * }, + * FaviconS3Location: { + * S3Bucket: "STRING_VALUE", // required + * S3Key: "STRING_VALUE", + * }, + * }; + * const command = new CreateThemeForStackCommand(input); + * const response = await client.send(command); + * // { // CreateThemeForStackResult + * // Theme: { // Theme + * // StackName: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED", + * // ThemeTitleText: "STRING_VALUE", + * // ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED", + * // ThemeFooterLinks: [ // ThemeFooterLinks + * // { // ThemeFooterLink + * // DisplayName: "STRING_VALUE", + * // FooterLinkURL: "STRING_VALUE", + * // }, + * // ], + * // ThemeOrganizationLogoURL: "STRING_VALUE", + * // ThemeFaviconURL: "STRING_VALUE", + * // CreatedTime: new Date("TIMESTAMP"), + * // }, + * // }; + * + * ``` + * + * @param CreateThemeForStackCommandInput - {@link CreateThemeForStackCommandInput} + * @returns {@link CreateThemeForStackCommandOutput} + * @see {@link CreateThemeForStackCommandInput} for command's `input` shape. + * @see {@link CreateThemeForStackCommandOutput} for command's `response` shape. + * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. + * + * @throws {@link ConcurrentModificationException} (client fault) + *

An API error occurred. Wait a few minutes and try again.

+ * + * @throws {@link InvalidAccountStatusException} (client fault) + *

The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.

+ * + * @throws {@link LimitExceededException} (client fault) + *

The requested limit exceeds the permitted limit for an account.

+ * + * @throws {@link OperationNotPermittedException} (client fault) + *

The attempted operation is not permitted.

+ * + * @throws {@link ResourceAlreadyExistsException} (client fault) + *

The specified resource already exists.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource was not found.

+ * + * @throws {@link AppStreamServiceException} + *

Base exception class for all service exceptions from AppStream service.

+ * + * @public + */ +export class CreateThemeForStackCommand extends $Command + .classBuilder< + CreateThemeForStackCommandInput, + CreateThemeForStackCommandOutput, + AppStreamClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: AppStreamClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("PhotonAdminProxyService", "CreateThemeForStack", {}) + .n("AppStreamClient", "CreateThemeForStackCommand") + .f(void 0, void 0) + .ser(se_CreateThemeForStackCommand) + .de(de_CreateThemeForStackCommand) + .build() {} diff --git a/clients/client-appstream/src/commands/CreateUpdatedImageCommand.ts b/clients/client-appstream/src/commands/CreateUpdatedImageCommand.ts index a07774bfdb234..450b65fa17d51 100644 --- a/clients/client-appstream/src/commands/CreateUpdatedImageCommand.ts +++ b/clients/client-appstream/src/commands/CreateUpdatedImageCommand.ts @@ -107,6 +107,12 @@ export interface CreateUpdatedImageCommandOutput extends CreateUpdatedImageResul * // ErrorTimestamp: new Date("TIMESTAMP"), * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", + * // SupportedInstanceFamilies: [ + * // "STRING_VALUE", + * // ], + * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED", + * // ImageSharedWithOthers: "TRUE" || "FALSE", * // }, * // canUpdateImage: true || false, * // }; diff --git a/clients/client-appstream/src/commands/DeleteImageBuilderCommand.ts b/clients/client-appstream/src/commands/DeleteImageBuilderCommand.ts index 1e71773bb1aba..c28e178136e4f 100644 --- a/clients/client-appstream/src/commands/DeleteImageBuilderCommand.ts +++ b/clients/client-appstream/src/commands/DeleteImageBuilderCommand.ts @@ -87,6 +87,7 @@ export interface DeleteImageBuilderCommandOutput extends DeleteImageBuilderResul * // VpceId: "STRING_VALUE", * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", * // }, * // }; * diff --git a/clients/client-appstream/src/commands/DeleteImageCommand.ts b/clients/client-appstream/src/commands/DeleteImageCommand.ts index a8367301c6dd6..3012bcdfcf9d5 100644 --- a/clients/client-appstream/src/commands/DeleteImageCommand.ts +++ b/clients/client-appstream/src/commands/DeleteImageCommand.ts @@ -99,6 +99,12 @@ export interface DeleteImageCommandOutput extends DeleteImageResult, __MetadataB * // ErrorTimestamp: new Date("TIMESTAMP"), * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", + * // SupportedInstanceFamilies: [ + * // "STRING_VALUE", + * // ], + * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED", + * // ImageSharedWithOthers: "TRUE" || "FALSE", * // }, * // }; * diff --git a/clients/client-appstream/src/commands/DeleteThemeForStackCommand.ts b/clients/client-appstream/src/commands/DeleteThemeForStackCommand.ts new file mode 100644 index 0000000000000..6051969e3b88b --- /dev/null +++ b/clients/client-appstream/src/commands/DeleteThemeForStackCommand.ts @@ -0,0 +1,89 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteThemeForStackRequest, DeleteThemeForStackResult } from "../models/models_0"; +import { de_DeleteThemeForStackCommand, se_DeleteThemeForStackCommand } from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteThemeForStackCommand}. + */ +export interface DeleteThemeForStackCommandInput extends DeleteThemeForStackRequest {} +/** + * @public + * + * The output of {@link DeleteThemeForStackCommand}. + */ +export interface DeleteThemeForStackCommandOutput extends DeleteThemeForStackResult, __MetadataBearer {} + +/** + *

Deletes custom branding that customizes the appearance of the streaming application catalog page.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AppStreamClient, DeleteThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import + * // const { AppStreamClient, DeleteThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import + * const client = new AppStreamClient(config); + * const input = { // DeleteThemeForStackRequest + * StackName: "STRING_VALUE", // required + * }; + * const command = new DeleteThemeForStackCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteThemeForStackCommandInput - {@link DeleteThemeForStackCommandInput} + * @returns {@link DeleteThemeForStackCommandOutput} + * @see {@link DeleteThemeForStackCommandInput} for command's `input` shape. + * @see {@link DeleteThemeForStackCommandOutput} for command's `response` shape. + * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. + * + * @throws {@link ConcurrentModificationException} (client fault) + *

An API error occurred. Wait a few minutes and try again.

+ * + * @throws {@link OperationNotPermittedException} (client fault) + *

The attempted operation is not permitted.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource was not found.

+ * + * @throws {@link AppStreamServiceException} + *

Base exception class for all service exceptions from AppStream service.

+ * + * @public + */ +export class DeleteThemeForStackCommand extends $Command + .classBuilder< + DeleteThemeForStackCommandInput, + DeleteThemeForStackCommandOutput, + AppStreamClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: AppStreamClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("PhotonAdminProxyService", "DeleteThemeForStack", {}) + .n("AppStreamClient", "DeleteThemeForStackCommand") + .f(void 0, void 0) + .ser(se_DeleteThemeForStackCommand) + .de(de_DeleteThemeForStackCommand) + .build() {} diff --git a/clients/client-appstream/src/commands/DescribeImageBuildersCommand.ts b/clients/client-appstream/src/commands/DescribeImageBuildersCommand.ts index 102e1bcb4883d..5a19cdd71536f 100644 --- a/clients/client-appstream/src/commands/DescribeImageBuildersCommand.ts +++ b/clients/client-appstream/src/commands/DescribeImageBuildersCommand.ts @@ -92,6 +92,7 @@ export interface DescribeImageBuildersCommandOutput extends DescribeImageBuilder * // VpceId: "STRING_VALUE", * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-appstream/src/commands/DescribeImagesCommand.ts b/clients/client-appstream/src/commands/DescribeImagesCommand.ts index 4a31b508f10e4..63247859f12db 100644 --- a/clients/client-appstream/src/commands/DescribeImagesCommand.ts +++ b/clients/client-appstream/src/commands/DescribeImagesCommand.ts @@ -107,6 +107,12 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResult, __Met * // ErrorTimestamp: new Date("TIMESTAMP"), * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", + * // SupportedInstanceFamilies: [ + * // "STRING_VALUE", + * // ], + * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED", + * // ImageSharedWithOthers: "TRUE" || "FALSE", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-appstream/src/commands/DescribeThemeForStackCommand.ts b/clients/client-appstream/src/commands/DescribeThemeForStackCommand.ts new file mode 100644 index 0000000000000..7996b8fb221b0 --- /dev/null +++ b/clients/client-appstream/src/commands/DescribeThemeForStackCommand.ts @@ -0,0 +1,102 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DescribeThemeForStackRequest, DescribeThemeForStackResult } from "../models/models_0"; +import { de_DescribeThemeForStackCommand, se_DescribeThemeForStackCommand } from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DescribeThemeForStackCommand}. + */ +export interface DescribeThemeForStackCommandInput extends DescribeThemeForStackRequest {} +/** + * @public + * + * The output of {@link DescribeThemeForStackCommand}. + */ +export interface DescribeThemeForStackCommandOutput extends DescribeThemeForStackResult, __MetadataBearer {} + +/** + *

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.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AppStreamClient, DescribeThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import + * // const { AppStreamClient, DescribeThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import + * const client = new AppStreamClient(config); + * const input = { // DescribeThemeForStackRequest + * StackName: "STRING_VALUE", // required + * }; + * const command = new DescribeThemeForStackCommand(input); + * const response = await client.send(command); + * // { // DescribeThemeForStackResult + * // Theme: { // Theme + * // StackName: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED", + * // ThemeTitleText: "STRING_VALUE", + * // ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED", + * // ThemeFooterLinks: [ // ThemeFooterLinks + * // { // ThemeFooterLink + * // DisplayName: "STRING_VALUE", + * // FooterLinkURL: "STRING_VALUE", + * // }, + * // ], + * // ThemeOrganizationLogoURL: "STRING_VALUE", + * // ThemeFaviconURL: "STRING_VALUE", + * // CreatedTime: new Date("TIMESTAMP"), + * // }, + * // }; + * + * ``` + * + * @param DescribeThemeForStackCommandInput - {@link DescribeThemeForStackCommandInput} + * @returns {@link DescribeThemeForStackCommandOutput} + * @see {@link DescribeThemeForStackCommandInput} for command's `input` shape. + * @see {@link DescribeThemeForStackCommandOutput} for command's `response` shape. + * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. + * + * @throws {@link OperationNotPermittedException} (client fault) + *

The attempted operation is not permitted.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource was not found.

+ * + * @throws {@link AppStreamServiceException} + *

Base exception class for all service exceptions from AppStream service.

+ * + * @public + */ +export class DescribeThemeForStackCommand extends $Command + .classBuilder< + DescribeThemeForStackCommandInput, + DescribeThemeForStackCommandOutput, + AppStreamClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: AppStreamClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("PhotonAdminProxyService", "DescribeThemeForStack", {}) + .n("AppStreamClient", "DescribeThemeForStackCommand") + .f(void 0, void 0) + .ser(se_DescribeThemeForStackCommand) + .de(de_DescribeThemeForStackCommand) + .build() {} diff --git a/clients/client-appstream/src/commands/StartImageBuilderCommand.ts b/clients/client-appstream/src/commands/StartImageBuilderCommand.ts index b5d8ef95fa3d5..583ae2d08d943 100644 --- a/clients/client-appstream/src/commands/StartImageBuilderCommand.ts +++ b/clients/client-appstream/src/commands/StartImageBuilderCommand.ts @@ -88,6 +88,7 @@ export interface StartImageBuilderCommandOutput extends StartImageBuilderResult, * // VpceId: "STRING_VALUE", * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", * // }, * // }; * diff --git a/clients/client-appstream/src/commands/StopImageBuilderCommand.ts b/clients/client-appstream/src/commands/StopImageBuilderCommand.ts index 3d38e134ae282..ebcc228f6d6c0 100644 --- a/clients/client-appstream/src/commands/StopImageBuilderCommand.ts +++ b/clients/client-appstream/src/commands/StopImageBuilderCommand.ts @@ -87,6 +87,7 @@ export interface StopImageBuilderCommandOutput extends StopImageBuilderResult, _ * // VpceId: "STRING_VALUE", * // }, * // ], + * // LatestAppstreamAgentVersion: "TRUE" || "FALSE", * // }, * // }; * diff --git a/clients/client-appstream/src/commands/UpdateThemeForStackCommand.ts b/clients/client-appstream/src/commands/UpdateThemeForStackCommand.ts new file mode 100644 index 0000000000000..fd0b8fe2d48b0 --- /dev/null +++ b/clients/client-appstream/src/commands/UpdateThemeForStackCommand.ts @@ -0,0 +1,134 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { UpdateThemeForStackRequest, UpdateThemeForStackResult } from "../models/models_0"; +import { de_UpdateThemeForStackCommand, se_UpdateThemeForStackCommand } from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UpdateThemeForStackCommand}. + */ +export interface UpdateThemeForStackCommandInput extends UpdateThemeForStackRequest {} +/** + * @public + * + * The output of {@link UpdateThemeForStackCommand}. + */ +export interface UpdateThemeForStackCommandOutput extends UpdateThemeForStackResult, __MetadataBearer {} + +/** + *

Updates custom branding that customizes the appearance of the streaming application catalog page.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AppStreamClient, UpdateThemeForStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import + * // const { AppStreamClient, UpdateThemeForStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import + * const client = new AppStreamClient(config); + * const input = { // UpdateThemeForStackRequest + * StackName: "STRING_VALUE", // required + * FooterLinks: [ // ThemeFooterLinks + * { // ThemeFooterLink + * DisplayName: "STRING_VALUE", + * FooterLinkURL: "STRING_VALUE", + * }, + * ], + * TitleText: "STRING_VALUE", + * ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED", + * OrganizationLogoS3Location: { // S3Location + * S3Bucket: "STRING_VALUE", // required + * S3Key: "STRING_VALUE", + * }, + * FaviconS3Location: { + * S3Bucket: "STRING_VALUE", // required + * S3Key: "STRING_VALUE", + * }, + * State: "ENABLED" || "DISABLED", + * AttributesToDelete: [ // ThemeAttributes + * "FOOTER_LINKS", + * ], + * }; + * const command = new UpdateThemeForStackCommand(input); + * const response = await client.send(command); + * // { // UpdateThemeForStackResult + * // Theme: { // Theme + * // StackName: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED", + * // ThemeTitleText: "STRING_VALUE", + * // ThemeStyling: "LIGHT_BLUE" || "BLUE" || "PINK" || "RED", + * // ThemeFooterLinks: [ // ThemeFooterLinks + * // { // ThemeFooterLink + * // DisplayName: "STRING_VALUE", + * // FooterLinkURL: "STRING_VALUE", + * // }, + * // ], + * // ThemeOrganizationLogoURL: "STRING_VALUE", + * // ThemeFaviconURL: "STRING_VALUE", + * // CreatedTime: new Date("TIMESTAMP"), + * // }, + * // }; + * + * ``` + * + * @param UpdateThemeForStackCommandInput - {@link UpdateThemeForStackCommandInput} + * @returns {@link UpdateThemeForStackCommandOutput} + * @see {@link UpdateThemeForStackCommandInput} for command's `input` shape. + * @see {@link UpdateThemeForStackCommandOutput} for command's `response` shape. + * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. + * + * @throws {@link ConcurrentModificationException} (client fault) + *

An API error occurred. Wait a few minutes and try again.

+ * + * @throws {@link InvalidAccountStatusException} (client fault) + *

The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.

+ * + * @throws {@link InvalidParameterCombinationException} (client fault) + *

Indicates an incorrect combination of parameters, or a missing parameter.

+ * + * @throws {@link LimitExceededException} (client fault) + *

The requested limit exceeds the permitted limit for an account.

+ * + * @throws {@link OperationNotPermittedException} (client fault) + *

The attempted operation is not permitted.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource was not found.

+ * + * @throws {@link AppStreamServiceException} + *

Base exception class for all service exceptions from AppStream service.

+ * + * @public + */ +export class UpdateThemeForStackCommand extends $Command + .classBuilder< + UpdateThemeForStackCommandInput, + UpdateThemeForStackCommandOutput, + AppStreamClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: AppStreamClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("PhotonAdminProxyService", "UpdateThemeForStack", {}) + .n("AppStreamClient", "UpdateThemeForStackCommand") + .f(void 0, void 0) + .ser(se_UpdateThemeForStackCommand) + .de(de_UpdateThemeForStackCommand) + .build() {} diff --git a/clients/client-appstream/src/commands/index.ts b/clients/client-appstream/src/commands/index.ts index 5a4ec386bec6d..e12877275c559 100644 --- a/clients/client-appstream/src/commands/index.ts +++ b/clients/client-appstream/src/commands/index.ts @@ -17,6 +17,7 @@ export * from "./CreateImageBuilderCommand"; export * from "./CreateImageBuilderStreamingURLCommand"; export * from "./CreateStackCommand"; export * from "./CreateStreamingURLCommand"; +export * from "./CreateThemeForStackCommand"; export * from "./CreateUpdatedImageCommand"; export * from "./CreateUsageReportSubscriptionCommand"; export * from "./CreateUserCommand"; @@ -30,6 +31,7 @@ export * from "./DeleteImageBuilderCommand"; export * from "./DeleteImageCommand"; export * from "./DeleteImagePermissionsCommand"; export * from "./DeleteStackCommand"; +export * from "./DeleteThemeForStackCommand"; export * from "./DeleteUsageReportSubscriptionCommand"; export * from "./DeleteUserCommand"; export * from "./DescribeAppBlockBuilderAppBlockAssociationsCommand"; @@ -45,6 +47,7 @@ export * from "./DescribeImagePermissionsCommand"; export * from "./DescribeImagesCommand"; export * from "./DescribeSessionsCommand"; export * from "./DescribeStacksCommand"; +export * from "./DescribeThemeForStackCommand"; export * from "./DescribeUsageReportSubscriptionsCommand"; export * from "./DescribeUserStackAssociationsCommand"; export * from "./DescribeUsersCommand"; @@ -74,3 +77,4 @@ export * from "./UpdateEntitlementCommand"; export * from "./UpdateFleetCommand"; export * from "./UpdateImagePermissionsCommand"; export * from "./UpdateStackCommand"; +export * from "./UpdateThemeForStackCommand"; diff --git a/clients/client-appstream/src/models/models_0.ts b/clients/client-appstream/src/models/models_0.ts index b9c9cbd773565..03185735e39b3 100644 --- a/clients/client-appstream/src/models/models_0.ts +++ b/clients/client-appstream/src/models/models_0.ts @@ -2183,6 +2183,27 @@ export interface CreateFleetRequest { *

stream.graphics.g4dn.16xlarge

* *
  • + *

    stream.graphics.g5.xlarge

    + *
  • + *
  • + *

    stream.graphics.g5.2xlarge

    + *
  • + *
  • + *

    stream.graphics.g5.4xlarge

    + *
  • + *
  • + *

    stream.graphics.g5.8xlarge

    + *
  • + *
  • + *

    stream.graphics.g5.12xlarge

    + *
  • + *
  • + *

    stream.graphics.g5.16xlarge

    + *
  • + *
  • + *

    stream.graphics.g5.24xlarge

    + *
  • + *
  • *

    stream.graphics-pro.4xlarge

    *
  • *
  • @@ -2880,6 +2901,21 @@ export interface CreateImageBuilderRequest { AccessEndpoints?: AccessEndpoint[]; } +/** + * @public + * @enum + */ +export const LatestAppstreamAgentVersion = { + FALSE: "FALSE", + TRUE: "TRUE", +} as const; + +/** + * @public + */ +export type LatestAppstreamAgentVersion = + (typeof LatestAppstreamAgentVersion)[keyof typeof LatestAppstreamAgentVersion]; + /** *

    Describes the network details of the fleet or image builder instance.

    * @public @@ -3168,6 +3204,12 @@ export interface ImageBuilder { * @public */ AccessEndpoints?: AccessEndpoint[]; + + /** + *

    Indicates whether the image builder is using the latest AppStream 2.0 agent version or not.

    + * @public + */ + LatestAppstreamAgentVersion?: LatestAppstreamAgentVersion; } /** @@ -3596,6 +3638,160 @@ export interface CreateStreamingURLResult { Expires?: Date; } +/** + *

    The website links that display in the catalog page footer.

    + * @public + */ +export interface ThemeFooterLink { + /** + *

    The name of the websites that display in the catalog page footer.

    + * @public + */ + DisplayName?: string; + + /** + *

    The URL of the websites that display in the catalog page footer.

    + * @public + */ + FooterLinkURL?: string; +} + +/** + * @public + * @enum + */ +export const ThemeStyling = { + BLUE: "BLUE", + LIGHT_BLUE: "LIGHT_BLUE", + PINK: "PINK", + RED: "RED", +} as const; + +/** + * @public + */ +export type ThemeStyling = (typeof ThemeStyling)[keyof typeof ThemeStyling]; + +/** + * @public + */ +export interface CreateThemeForStackRequest { + /** + *

    The name of the stack for the theme.

    + * @public + */ + StackName: string | undefined; + + /** + *

    The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.

    + * @public + */ + FooterLinks?: ThemeFooterLink[]; + + /** + *

    The title that is displayed at the top of the browser tab during users' application streaming sessions.

    + * @public + */ + TitleText: string | undefined; + + /** + *

    The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.

    + * @public + */ + ThemeStyling: ThemeStyling | undefined; + + /** + *

    The organization logo that appears on the streaming application catalog page.

    + * @public + */ + OrganizationLogoS3Location: S3Location | undefined; + + /** + *

    The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.

    + * @public + */ + FaviconS3Location: S3Location | undefined; +} + +/** + * @public + * @enum + */ +export const ThemeState = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +} as const; + +/** + * @public + */ +export type ThemeState = (typeof ThemeState)[keyof typeof ThemeState]; + +/** + *

    The custom branding theme, which might include a custom logo, website links, and other branding to display to users.

    + * @public + */ +export interface Theme { + /** + *

    The stack that has the custom branding theme.

    + * @public + */ + StackName?: string; + + /** + *

    The state of the theme.

    + * @public + */ + State?: ThemeState; + + /** + *

    The browser tab page title.

    + * @public + */ + ThemeTitleText?: string; + + /** + *

    The color that is used for the website links, text, buttons, and catalog page background.

    + * @public + */ + ThemeStyling?: ThemeStyling; + + /** + *

    The website links that display in the catalog page footer.

    + * @public + */ + ThemeFooterLinks?: ThemeFooterLink[]; + + /** + *

    The URL of the logo that displays in the catalog page header.

    + * @public + */ + ThemeOrganizationLogoURL?: string; + + /** + *

    The URL of the icon that displays at the top of a user's browser tab during streaming sessions.

    + * @public + */ + ThemeFaviconURL?: string; + + /** + *

    The time the theme was created.

    + * @public + */ + CreatedTime?: Date; +} + +/** + * @public + */ +export interface CreateThemeForStackResult { + /** + *

    The theme object that contains the metadata of the custom branding.

    + * @public + */ + Theme?: Theme; +} + /** * @public */ @@ -3641,6 +3837,20 @@ export interface CreateUpdatedImageRequest { dryRun?: boolean; } +/** + * @public + * @enum + */ +export const DynamicAppProvidersEnabled = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +} as const; + +/** + * @public + */ +export type DynamicAppProvidersEnabled = (typeof DynamicAppProvidersEnabled)[keyof typeof DynamicAppProvidersEnabled]; + /** *

    Describes the permissions for an image.

    * @public @@ -3659,6 +3869,20 @@ export interface ImagePermissions { allowImageBuilder?: boolean; } +/** + * @public + * @enum + */ +export const ImageSharedWithOthers = { + FALSE: "FALSE", + TRUE: "TRUE", +} as const; + +/** + * @public + */ +export type ImageSharedWithOthers = (typeof ImageSharedWithOthers)[keyof typeof ImageSharedWithOthers]; + /** * @public * @enum @@ -3834,6 +4058,56 @@ export interface Image { * @public */ ImageErrors?: ResourceError[]; + + /** + *

    Indicates whether the image is using the latest AppStream 2.0 agent version or not.

    + * @public + */ + LatestAppstreamAgentVersion?: LatestAppstreamAgentVersion; + + /** + *

    The supported instances families that determine which image a customer can use when the customer launches a fleet or image builder. The following instances families are supported:

    + *
      + *
    • + *

      General Purpose

      + *
    • + *
    • + *

      Compute Optimized

      + *
    • + *
    • + *

      Memory Optimized

      + *
    • + *
    • + *

      Graphics

      + *
    • + *
    • + *

      Graphics Design

      + *
    • + *
    • + *

      Graphics Pro

      + *
    • + *
    • + *

      Graphics G4

      + *
    • + *
    • + *

      Graphics G5

      + *
    • + *
    + * @public + */ + SupportedInstanceFamilies?: string[]; + + /** + *

    Indicates whether dynamic app providers are enabled within an AppStream 2.0 image or not.

    + * @public + */ + DynamicAppProvidersEnabled?: DynamicAppProvidersEnabled; + + /** + *

    Indicates whether the image is shared with another account ID.

    + * @public + */ + ImageSharedWithOthers?: ImageSharedWithOthers; } /** @@ -4163,6 +4437,22 @@ export interface DeleteStackRequest { */ export interface DeleteStackResult {} +/** + * @public + */ +export interface DeleteThemeForStackRequest { + /** + *

    The name of the stack for the theme.

    + * @public + */ + StackName: string | undefined; +} + +/** + * @public + */ +export interface DeleteThemeForStackResult {} + /** * @public */ @@ -4905,6 +5195,28 @@ export interface DescribeStacksResult { NextToken?: string; } +/** + * @public + */ +export interface DescribeThemeForStackRequest { + /** + *

    The name of the stack for the theme.

    + * @public + */ + StackName: string | undefined; +} + +/** + * @public + */ +export interface DescribeThemeForStackResult { + /** + *

    The theme object that contains the metadata of the custom branding.

    + * @public + */ + Theme?: Theme; +} + /** * @public */ @@ -6382,6 +6694,83 @@ export interface UpdateStackResult { Stack?: Stack; } +/** + * @public + * @enum + */ +export const ThemeAttribute = { + FOOTER_LINKS: "FOOTER_LINKS", +} as const; + +/** + * @public + */ +export type ThemeAttribute = (typeof ThemeAttribute)[keyof typeof ThemeAttribute]; + +/** + * @public + */ +export interface UpdateThemeForStackRequest { + /** + *

    The name of the stack for the theme.

    + * @public + */ + StackName: string | undefined; + + /** + *

    The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.

    + * @public + */ + FooterLinks?: ThemeFooterLink[]; + + /** + *

    The title that is displayed at the top of the browser tab during users' application streaming sessions.

    + * @public + */ + TitleText?: string; + + /** + *

    The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.

    + * @public + */ + ThemeStyling?: ThemeStyling; + + /** + *

    The organization logo that appears on the streaming application catalog page.

    + * @public + */ + OrganizationLogoS3Location?: S3Location; + + /** + *

    The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.

    + * @public + */ + FaviconS3Location?: S3Location; + + /** + *

    Specifies whether custom branding should be applied to catalog page or not.

    + * @public + */ + State?: ThemeState; + + /** + *

    The attributes to delete.

    + * @public + */ + AttributesToDelete?: ThemeAttribute[]; +} + +/** + * @public + */ +export interface UpdateThemeForStackResult { + /** + *

    The theme object that contains the metadata of the custom branding.

    + * @public + */ + Theme?: Theme; +} + /** * @internal */ diff --git a/clients/client-appstream/src/protocols/Aws_json1_1.ts b/clients/client-appstream/src/protocols/Aws_json1_1.ts index 529c8c1630323..eaf07e8940f0c 100644 --- a/clients/client-appstream/src/protocols/Aws_json1_1.ts +++ b/clients/client-appstream/src/protocols/Aws_json1_1.ts @@ -66,6 +66,10 @@ import { } from "../commands/CreateImageBuilderStreamingURLCommand"; import { CreateStackCommandInput, CreateStackCommandOutput } from "../commands/CreateStackCommand"; import { CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput } from "../commands/CreateStreamingURLCommand"; +import { + CreateThemeForStackCommandInput, + CreateThemeForStackCommandOutput, +} from "../commands/CreateThemeForStackCommand"; import { CreateUpdatedImageCommandInput, CreateUpdatedImageCommandOutput } from "../commands/CreateUpdatedImageCommand"; import { CreateUsageReportSubscriptionCommandInput, @@ -91,6 +95,10 @@ import { DeleteImagePermissionsCommandOutput, } from "../commands/DeleteImagePermissionsCommand"; import { DeleteStackCommandInput, DeleteStackCommandOutput } from "../commands/DeleteStackCommand"; +import { + DeleteThemeForStackCommandInput, + DeleteThemeForStackCommandOutput, +} from "../commands/DeleteThemeForStackCommand"; import { DeleteUsageReportSubscriptionCommandInput, DeleteUsageReportSubscriptionCommandOutput, @@ -133,6 +141,10 @@ import { import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "../commands/DescribeImagesCommand"; import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "../commands/DescribeSessionsCommand"; import { DescribeStacksCommandInput, DescribeStacksCommandOutput } from "../commands/DescribeStacksCommand"; +import { + DescribeThemeForStackCommandInput, + DescribeThemeForStackCommandOutput, +} from "../commands/DescribeThemeForStackCommand"; import { DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscriptionsCommandOutput, @@ -204,6 +216,10 @@ import { UpdateImagePermissionsCommandOutput, } from "../commands/UpdateImagePermissionsCommand"; import { UpdateStackCommandInput, UpdateStackCommandOutput } from "../commands/UpdateStackCommand"; +import { + UpdateThemeForStackCommandInput, + UpdateThemeForStackCommandOutput, +} from "../commands/UpdateThemeForStackCommand"; import { AppStreamServiceException as __BaseException } from "../models/AppStreamServiceException"; import { AccessEndpoint, @@ -245,6 +261,8 @@ import { CreateStackResult, CreateStreamingURLRequest, CreateStreamingURLResult, + CreateThemeForStackRequest, + CreateThemeForStackResult, CreateUpdatedImageRequest, CreateUpdatedImageResult, CreateUsageReportSubscriptionRequest, @@ -261,6 +279,7 @@ import { DeleteImageRequest, DeleteImageResult, DeleteStackRequest, + DeleteThemeForStackRequest, DeleteUsageReportSubscriptionRequest, DeleteUserRequest, DescribeAppBlockBuilderAppBlockAssociationsRequest, @@ -286,6 +305,8 @@ import { DescribeSessionsResult, DescribeStacksRequest, DescribeStacksResult, + DescribeThemeForStackRequest, + DescribeThemeForStackResult, DescribeUsageReportSubscriptionsRequest, DescribeUsageReportSubscriptionsResult, DescribeUsersRequest, @@ -345,6 +366,9 @@ import { StorageConnector, StreamingExperienceSettings, TagResourceRequest, + Theme, + ThemeAttribute, + ThemeFooterLink, UntagResourceRequest, UpdateAppBlockBuilderRequest, UpdateAppBlockBuilderResult, @@ -359,6 +383,8 @@ import { UpdateImagePermissionsRequest, UpdateStackRequest, UpdateStackResult, + UpdateThemeForStackRequest, + UpdateThemeForStackResult, UsageReportSubscription, User, UserSetting, @@ -600,6 +626,19 @@ export const se_CreateStreamingURLCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1CreateThemeForStackCommand + */ +export const se_CreateThemeForStackCommand = async ( + input: CreateThemeForStackCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("CreateThemeForStack"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1CreateUpdatedImageCommand */ @@ -769,6 +808,19 @@ export const se_DeleteStackCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1DeleteThemeForStackCommand + */ +export const se_DeleteThemeForStackCommand = async ( + input: DeleteThemeForStackCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("DeleteThemeForStack"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1DeleteUsageReportSubscriptionCommand */ @@ -964,6 +1016,19 @@ export const se_DescribeStacksCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1DescribeThemeForStackCommand + */ +export const se_DescribeThemeForStackCommand = async ( + input: DescribeThemeForStackCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("DescribeThemeForStack"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1DescribeUsageReportSubscriptionsCommand */ @@ -1341,6 +1406,19 @@ export const se_UpdateStackCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1UpdateThemeForStackCommand + */ +export const se_UpdateThemeForStackCommand = async ( + input: UpdateThemeForStackCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("UpdateThemeForStack"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * deserializeAws_json1_1AssociateAppBlockBuilderAppBlockCommand */ @@ -1701,6 +1779,26 @@ export const de_CreateStreamingURLCommand = async ( return response; }; +/** + * deserializeAws_json1_1CreateThemeForStackCommand + */ +export const de_CreateThemeForStackCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = de_CreateThemeForStackResult(data, context); + const response: CreateThemeForStackCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1CreateUpdatedImageCommand */ @@ -1961,6 +2059,26 @@ export const de_DeleteStackCommand = async ( return response; }; +/** + * deserializeAws_json1_1DeleteThemeForStackCommand + */ +export const de_DeleteThemeForStackCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = _json(data); + const response: DeleteThemeForStackCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1DeleteUsageReportSubscriptionCommand */ @@ -2261,6 +2379,26 @@ export const de_DescribeStacksCommand = async ( return response; }; +/** + * deserializeAws_json1_1DescribeThemeForStackCommand + */ +export const de_DescribeThemeForStackCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = de_DescribeThemeForStackResult(data, context); + const response: DescribeThemeForStackCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1DescribeUsageReportSubscriptionsCommand */ @@ -2841,6 +2979,26 @@ export const de_UpdateStackCommand = async ( return response; }; +/** + * deserializeAws_json1_1UpdateThemeForStackCommand + */ +export const de_UpdateThemeForStackCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = de_UpdateThemeForStackResult(data, context); + const response: UpdateThemeForStackCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserialize_Aws_json1_1CommandError */ @@ -3181,6 +3339,8 @@ const de_ResourceNotFoundExceptionRes = async ( // se_CreateStreamingURLRequest omitted. +// se_CreateThemeForStackRequest omitted. + // se_CreateUpdatedImageRequest omitted. // se_CreateUsageReportSubscriptionRequest omitted. @@ -3207,6 +3367,8 @@ const de_ResourceNotFoundExceptionRes = async ( // se_DeleteStackRequest omitted. +// se_DeleteThemeForStackRequest omitted. + // se_DeleteUsageReportSubscriptionRequest omitted. // se_DeleteUserRequest omitted. @@ -3237,6 +3399,8 @@ const de_ResourceNotFoundExceptionRes = async ( // se_DescribeStacksRequest omitted. +// se_DescribeThemeForStackRequest omitted. + // se_DescribeUsageReportSubscriptionsRequest omitted. // se_DescribeUsersRequest omitted. @@ -3323,6 +3487,12 @@ const de_ResourceNotFoundExceptionRes = async ( // se_Tags omitted. +// se_ThemeAttributes omitted. + +// se_ThemeFooterLink omitted. + +// se_ThemeFooterLinks omitted. + // se_UntagResourceRequest omitted. // se_UpdateAppBlockBuilderRequest omitted. @@ -3339,6 +3509,8 @@ const de_ResourceNotFoundExceptionRes = async ( // se_UpdateStackRequest omitted. +// se_UpdateThemeForStackRequest omitted. + // se_UsbDeviceFilterStrings omitted. // se_UserSetting omitted. @@ -3595,6 +3767,15 @@ const de_CreateStreamingURLResult = (output: any, context: __SerdeContext): Crea }) as any; }; +/** + * deserializeAws_json1_1CreateThemeForStackResult + */ +const de_CreateThemeForStackResult = (output: any, context: __SerdeContext): CreateThemeForStackResult => { + return take(output, { + Theme: (_: any) => de_Theme(_, context), + }) as any; +}; + /** * deserializeAws_json1_1CreateUpdatedImageResult */ @@ -3643,6 +3824,8 @@ const de_DeleteImageResult = (output: any, context: __SerdeContext): DeleteImage // de_DeleteStackResult omitted. +// de_DeleteThemeForStackResult omitted. + // de_DeleteUsageReportSubscriptionResult omitted. // de_DeleteUserResult omitted. @@ -3753,6 +3936,15 @@ const de_DescribeStacksResult = (output: any, context: __SerdeContext): Describe }) as any; }; +/** + * deserializeAws_json1_1DescribeThemeForStackResult + */ +const de_DescribeThemeForStackResult = (output: any, context: __SerdeContext): DescribeThemeForStackResult => { + return take(output, { + Theme: (_: any) => de_Theme(_, context), + }) as any; +}; + /** * deserializeAws_json1_1DescribeUsageReportSubscriptionsResult */ @@ -3927,15 +4119,19 @@ const de_Image = (output: any, context: __SerdeContext): Image => { CreatedTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), Description: __expectString, DisplayName: __expectString, + DynamicAppProvidersEnabled: __expectString, ImageBuilderName: __expectString, ImageBuilderSupported: __expectBoolean, ImageErrors: (_: any) => de_ResourceErrors(_, context), ImagePermissions: _json, + ImageSharedWithOthers: __expectString, + LatestAppstreamAgentVersion: __expectString, Name: __expectString, Platform: __expectString, PublicBaseImageReleasedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), State: __expectString, StateChangeReason: _json, + SupportedInstanceFamilies: _json, Visibility: __expectString, }) as any; }; @@ -3957,6 +4153,7 @@ const de_ImageBuilder = (output: any, context: __SerdeContext): ImageBuilder => ImageArn: __expectString, ImageBuilderErrors: (_: any) => de_ResourceErrors(_, context), InstanceType: __expectString, + LatestAppstreamAgentVersion: __expectString, Name: __expectString, NetworkAccessConfiguration: _json, Platform: __expectString, @@ -4196,6 +4393,26 @@ const de_StopImageBuilderResult = (output: any, context: __SerdeContext): StopIm // de_Tags omitted. +/** + * deserializeAws_json1_1Theme + */ +const de_Theme = (output: any, context: __SerdeContext): Theme => { + return take(output, { + CreatedTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + StackName: __expectString, + State: __expectString, + ThemeFaviconURL: __expectString, + ThemeFooterLinks: _json, + ThemeOrganizationLogoURL: __expectString, + ThemeStyling: __expectString, + ThemeTitleText: __expectString, + }) as any; +}; + +// de_ThemeFooterLink omitted. + +// de_ThemeFooterLinks omitted. + // de_UntagResourceResponse omitted. /** @@ -4254,6 +4471,15 @@ const de_UpdateStackResult = (output: any, context: __SerdeContext): UpdateStack }) as any; }; +/** + * deserializeAws_json1_1UpdateThemeForStackResult + */ +const de_UpdateThemeForStackResult = (output: any, context: __SerdeContext): UpdateThemeForStackResult => { + return take(output, { + Theme: (_: any) => de_Theme(_, context), + }) as any; +}; + /** * deserializeAws_json1_1UsageReportSubscription */ diff --git a/codegen/sdk-codegen/aws-models/appstream.json b/codegen/sdk-codegen/aws-models/appstream.json index 906d9cff98803..4eac9e0a26150 100644 --- a/codegen/sdk-codegen/aws-models/appstream.json +++ b/codegen/sdk-codegen/aws-models/appstream.json @@ -2036,7 +2036,7 @@ "target": "com.amazonaws.appstream#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

    The instance type to use when launching fleet instances. The following instance types are available:

    \n
      \n
    • \n

      stream.standard.small

      \n
    • \n
    • \n

      stream.standard.medium

      \n
    • \n
    • \n

      stream.standard.large

      \n
    • \n
    • \n

      stream.standard.xlarge

      \n
    • \n
    • \n

      stream.standard.2xlarge

      \n
    • \n
    • \n

      stream.compute.large

      \n
    • \n
    • \n

      stream.compute.xlarge

      \n
    • \n
    • \n

      stream.compute.2xlarge

      \n
    • \n
    • \n

      stream.compute.4xlarge

      \n
    • \n
    • \n

      stream.compute.8xlarge

      \n
    • \n
    • \n

      stream.memory.large

      \n
    • \n
    • \n

      stream.memory.xlarge

      \n
    • \n
    • \n

      stream.memory.2xlarge

      \n
    • \n
    • \n

      stream.memory.4xlarge

      \n
    • \n
    • \n

      stream.memory.8xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.large

      \n
    • \n
    • \n

      stream.memory.z1d.xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.2xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.3xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.6xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.12xlarge

      \n
    • \n
    • \n

      stream.graphics-design.large

      \n
    • \n
    • \n

      stream.graphics-design.xlarge

      \n
    • \n
    • \n

      stream.graphics-design.2xlarge

      \n
    • \n
    • \n

      stream.graphics-design.4xlarge

      \n
    • \n
    • \n

      stream.graphics-desktop.2xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.2xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.4xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.8xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.12xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.16xlarge

      \n
    • \n
    • \n

      stream.graphics-pro.4xlarge

      \n
    • \n
    • \n

      stream.graphics-pro.8xlarge

      \n
    • \n
    • \n

      stream.graphics-pro.16xlarge

      \n
    • \n
    \n

    The following instance types are available for Elastic fleets:

    \n
      \n
    • \n

      stream.standard.small

      \n
    • \n
    • \n

      stream.standard.medium

      \n
    • \n
    • \n

      stream.standard.large

      \n
    • \n
    • \n

      stream.standard.xlarge

      \n
    • \n
    • \n

      stream.standard.2xlarge

      \n
    • \n
    ", + "smithy.api#documentation": "

    The instance type to use when launching fleet instances. The following instance types are available:

    \n
      \n
    • \n

      stream.standard.small

      \n
    • \n
    • \n

      stream.standard.medium

      \n
    • \n
    • \n

      stream.standard.large

      \n
    • \n
    • \n

      stream.standard.xlarge

      \n
    • \n
    • \n

      stream.standard.2xlarge

      \n
    • \n
    • \n

      stream.compute.large

      \n
    • \n
    • \n

      stream.compute.xlarge

      \n
    • \n
    • \n

      stream.compute.2xlarge

      \n
    • \n
    • \n

      stream.compute.4xlarge

      \n
    • \n
    • \n

      stream.compute.8xlarge

      \n
    • \n
    • \n

      stream.memory.large

      \n
    • \n
    • \n

      stream.memory.xlarge

      \n
    • \n
    • \n

      stream.memory.2xlarge

      \n
    • \n
    • \n

      stream.memory.4xlarge

      \n
    • \n
    • \n

      stream.memory.8xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.large

      \n
    • \n
    • \n

      stream.memory.z1d.xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.2xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.3xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.6xlarge

      \n
    • \n
    • \n

      stream.memory.z1d.12xlarge

      \n
    • \n
    • \n

      stream.graphics-design.large

      \n
    • \n
    • \n

      stream.graphics-design.xlarge

      \n
    • \n
    • \n

      stream.graphics-design.2xlarge

      \n
    • \n
    • \n

      stream.graphics-design.4xlarge

      \n
    • \n
    • \n

      stream.graphics-desktop.2xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.2xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.4xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.8xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.12xlarge

      \n
    • \n
    • \n

      stream.graphics.g4dn.16xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.2xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.4xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.8xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.12xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.16xlarge

      \n
    • \n
    • \n

      stream.graphics.g5.24xlarge

      \n
    • \n
    • \n

      stream.graphics-pro.4xlarge

      \n
    • \n
    • \n

      stream.graphics-pro.8xlarge

      \n
    • \n
    • \n

      stream.graphics-pro.16xlarge

      \n
    • \n
    \n

    The following instance types are available for Elastic fleets:

    \n
      \n
    • \n

      stream.standard.small

      \n
    • \n
    • \n

      stream.standard.medium

      \n
    • \n
    • \n

      stream.standard.large

      \n
    • \n
    • \n

      stream.standard.xlarge

      \n
    • \n
    • \n

      stream.standard.2xlarge

      \n
    • \n
    ", "smithy.api#required": {} } }, @@ -2610,6 +2610,106 @@ "smithy.api#output": {} } }, + "com.amazonaws.appstream#CreateThemeForStack": { + "type": "operation", + "input": { + "target": "com.amazonaws.appstream#CreateThemeForStackRequest" + }, + "output": { + "target": "com.amazonaws.appstream#CreateThemeForStackResult" + }, + "errors": [ + { + "target": "com.amazonaws.appstream#ConcurrentModificationException" + }, + { + "target": "com.amazonaws.appstream#InvalidAccountStatusException" + }, + { + "target": "com.amazonaws.appstream#LimitExceededException" + }, + { + "target": "com.amazonaws.appstream#OperationNotPermittedException" + }, + { + "target": "com.amazonaws.appstream#ResourceAlreadyExistsException" + }, + { + "target": "com.amazonaws.appstream#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

    Creates custom branding that customizes the appearance of the streaming application catalog page.

    " + } + }, + "com.amazonaws.appstream#CreateThemeForStackRequest": { + "type": "structure", + "members": { + "StackName": { + "target": "com.amazonaws.appstream#Name", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The name of the stack for the theme.

    ", + "smithy.api#required": {} + } + }, + "FooterLinks": { + "target": "com.amazonaws.appstream#ThemeFooterLinks", + "traits": { + "smithy.api#documentation": "

    The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.

    " + } + }, + "TitleText": { + "target": "com.amazonaws.appstream#ThemeTitleText", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The title that is displayed at the top of the browser tab during users' application streaming sessions.

    ", + "smithy.api#required": {} + } + }, + "ThemeStyling": { + "target": "com.amazonaws.appstream#ThemeStyling", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.

    ", + "smithy.api#required": {} + } + }, + "OrganizationLogoS3Location": { + "target": "com.amazonaws.appstream#S3Location", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The organization logo that appears on the streaming application catalog page.

    ", + "smithy.api#required": {} + } + }, + "FaviconS3Location": { + "target": "com.amazonaws.appstream#S3Location", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.

    ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.appstream#CreateThemeForStackResult": { + "type": "structure", + "members": { + "Theme": { + "target": "com.amazonaws.appstream#Theme", + "traits": { + "smithy.api#documentation": "

    The theme object that contains the metadata of the custom branding.

    " + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.appstream#CreateUpdatedImage": { "type": "operation", "input": { @@ -3337,6 +3437,52 @@ "smithy.api#output": {} } }, + "com.amazonaws.appstream#DeleteThemeForStack": { + "type": "operation", + "input": { + "target": "com.amazonaws.appstream#DeleteThemeForStackRequest" + }, + "output": { + "target": "com.amazonaws.appstream#DeleteThemeForStackResult" + }, + "errors": [ + { + "target": "com.amazonaws.appstream#ConcurrentModificationException" + }, + { + "target": "com.amazonaws.appstream#OperationNotPermittedException" + }, + { + "target": "com.amazonaws.appstream#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

    Deletes custom branding that customizes the appearance of the streaming application catalog page.

    " + } + }, + "com.amazonaws.appstream#DeleteThemeForStackRequest": { + "type": "structure", + "members": { + "StackName": { + "target": "com.amazonaws.appstream#Name", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The name of the stack for the theme.

    ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.appstream#DeleteThemeForStackResult": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.appstream#DeleteUsageReportSubscription": { "type": "operation", "input": { @@ -4438,6 +4584,56 @@ "smithy.api#output": {} } }, + "com.amazonaws.appstream#DescribeThemeForStack": { + "type": "operation", + "input": { + "target": "com.amazonaws.appstream#DescribeThemeForStackRequest" + }, + "output": { + "target": "com.amazonaws.appstream#DescribeThemeForStackResult" + }, + "errors": [ + { + "target": "com.amazonaws.appstream#OperationNotPermittedException" + }, + { + "target": "com.amazonaws.appstream#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

    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.

    " + } + }, + "com.amazonaws.appstream#DescribeThemeForStackRequest": { + "type": "structure", + "members": { + "StackName": { + "target": "com.amazonaws.appstream#Name", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The name of the stack for the theme.

    ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.appstream#DescribeThemeForStackResult": { + "type": "structure", + "members": { + "Theme": { + "target": "com.amazonaws.appstream#Theme", + "traits": { + "smithy.api#documentation": "

    The theme object that contains the metadata of the custom branding.

    " + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.appstream#DescribeUsageReportSubscriptions": { "type": "operation", "input": { @@ -5040,6 +5236,23 @@ } } }, + "com.amazonaws.appstream#DynamicAppProvidersEnabled": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.appstream#EmbedHostDomain": { "type": "string", "traits": { @@ -5942,6 +6155,30 @@ "traits": { "smithy.api#documentation": "

    Describes the errors that are returned when a new image can't be created.

    " } + }, + "LatestAppstreamAgentVersion": { + "target": "com.amazonaws.appstream#LatestAppstreamAgentVersion", + "traits": { + "smithy.api#documentation": "

    Indicates whether the image is using the latest AppStream 2.0 agent version or not.

    " + } + }, + "SupportedInstanceFamilies": { + "target": "com.amazonaws.appstream#StringList", + "traits": { + "smithy.api#documentation": "

    The supported instances families that determine which image a customer can use when the customer launches a fleet or image builder. The following instances families are supported:

    \n
      \n
    • \n

      General Purpose

      \n
    • \n
    • \n

      Compute Optimized

      \n
    • \n
    • \n

      Memory Optimized

      \n
    • \n
    • \n

      Graphics

      \n
    • \n
    • \n

      Graphics Design

      \n
    • \n
    • \n

      Graphics Pro

      \n
    • \n
    • \n

      Graphics G4

      \n
    • \n
    • \n

      Graphics G5

      \n
    • \n
    " + } + }, + "DynamicAppProvidersEnabled": { + "target": "com.amazonaws.appstream#DynamicAppProvidersEnabled", + "traits": { + "smithy.api#documentation": "

    Indicates whether dynamic app providers are enabled within an AppStream 2.0 image or not.

    " + } + }, + "ImageSharedWithOthers": { + "target": "com.amazonaws.appstream#ImageSharedWithOthers", + "traits": { + "smithy.api#documentation": "

    Indicates whether the image is shared with another account ID.

    " + } } }, "traits": { @@ -6057,6 +6294,12 @@ "traits": { "smithy.api#documentation": "

    The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.

    " } + }, + "LatestAppstreamAgentVersion": { + "target": "com.amazonaws.appstream#LatestAppstreamAgentVersion", + "traits": { + "smithy.api#documentation": "

    Indicates whether the image builder is using the latest AppStream 2.0 agent version or not.

    " + } } }, "traits": { @@ -6203,6 +6446,23 @@ "smithy.api#documentation": "

    Describes the permissions for an image.

    " } }, + "com.amazonaws.appstream#ImageSharedWithOthers": { + "type": "enum", + "members": { + "TRUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRUE" + } + }, + "FALSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FALSE" + } + } + } + }, "com.amazonaws.appstream#ImageState": { "type": "enum", "members": { @@ -6374,6 +6634,23 @@ "target": "com.amazonaws.appstream#LastReportGenerationExecutionError" } }, + "com.amazonaws.appstream#LatestAppstreamAgentVersion": { + "type": "enum", + "members": { + "TRUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRUE" + } + }, + "FALSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FALSE" + } + } + } + }, "com.amazonaws.appstream#LimitExceededException": { "type": "structure", "members": { @@ -6805,6 +7082,9 @@ { "target": "com.amazonaws.appstream#CreateStreamingURL" }, + { + "target": "com.amazonaws.appstream#CreateThemeForStack" + }, { "target": "com.amazonaws.appstream#CreateUpdatedImage" }, @@ -6844,6 +7124,9 @@ { "target": "com.amazonaws.appstream#DeleteStack" }, + { + "target": "com.amazonaws.appstream#DeleteThemeForStack" + }, { "target": "com.amazonaws.appstream#DeleteUsageReportSubscription" }, @@ -6889,6 +7172,9 @@ { "target": "com.amazonaws.appstream#DescribeStacks" }, + { + "target": "com.amazonaws.appstream#DescribeThemeForStack" + }, { "target": "com.amazonaws.appstream#DescribeUsageReportSubscriptions" }, @@ -6975,6 +7261,9 @@ }, { "target": "com.amazonaws.appstream#UpdateStack" + }, + { + "target": "com.amazonaws.appstream#UpdateThemeForStack" } ], "traits": { @@ -9133,6 +9422,180 @@ } } }, + "com.amazonaws.appstream#Theme": { + "type": "structure", + "members": { + "StackName": { + "target": "com.amazonaws.appstream#Name", + "traits": { + "smithy.api#documentation": "

    The stack that has the custom branding theme.

    " + } + }, + "State": { + "target": "com.amazonaws.appstream#ThemeState", + "traits": { + "smithy.api#documentation": "

    The state of the theme.

    " + } + }, + "ThemeTitleText": { + "target": "com.amazonaws.appstream#ThemeTitleText", + "traits": { + "smithy.api#documentation": "

    The browser tab page title.

    " + } + }, + "ThemeStyling": { + "target": "com.amazonaws.appstream#ThemeStyling", + "traits": { + "smithy.api#documentation": "

    The color that is used for the website links, text, buttons, and catalog page background.

    " + } + }, + "ThemeFooterLinks": { + "target": "com.amazonaws.appstream#ThemeFooterLinks", + "traits": { + "smithy.api#documentation": "

    The website links that display in the catalog page footer.

    " + } + }, + "ThemeOrganizationLogoURL": { + "target": "com.amazonaws.appstream#String", + "traits": { + "smithy.api#documentation": "

    The URL of the logo that displays in the catalog page header.

    " + } + }, + "ThemeFaviconURL": { + "target": "com.amazonaws.appstream#String", + "traits": { + "smithy.api#documentation": "

    The URL of the icon that displays at the top of a user's browser tab during streaming sessions.

    " + } + }, + "CreatedTime": { + "target": "com.amazonaws.appstream#Timestamp", + "traits": { + "smithy.api#documentation": "

    The time the theme was created.

    " + } + } + }, + "traits": { + "smithy.api#documentation": "

    The custom branding theme, which might include a custom logo, website links, and other branding to display to users.

    " + } + }, + "com.amazonaws.appstream#ThemeAttribute": { + "type": "enum", + "members": { + "FOOTER_LINKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FOOTER_LINKS" + } + } + } + }, + "com.amazonaws.appstream#ThemeAttributes": { + "type": "list", + "member": { + "target": "com.amazonaws.appstream#ThemeAttribute" + } + }, + "com.amazonaws.appstream#ThemeFooterLink": { + "type": "structure", + "members": { + "DisplayName": { + "target": "com.amazonaws.appstream#ThemeFooterLinkDisplayName", + "traits": { + "smithy.api#documentation": "

    The name of the websites that display in the catalog page footer.

    " + } + }, + "FooterLinkURL": { + "target": "com.amazonaws.appstream#ThemeFooterLinkURL", + "traits": { + "smithy.api#documentation": "

    The URL of the websites that display in the catalog page footer.

    " + } + } + }, + "traits": { + "smithy.api#documentation": "

    The website links that display in the catalog page footer.

    " + } + }, + "com.amazonaws.appstream#ThemeFooterLinkDisplayName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 300 + }, + "smithy.api#pattern": "^[-@./#&+\\w\\s]*$" + } + }, + "com.amazonaws.appstream#ThemeFooterLinkURL": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.appstream#ThemeFooterLinks": { + "type": "list", + "member": { + "target": "com.amazonaws.appstream#ThemeFooterLink" + } + }, + "com.amazonaws.appstream#ThemeState": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, + "com.amazonaws.appstream#ThemeStyling": { + "type": "enum", + "members": { + "LIGHT_BLUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LIGHT_BLUE" + } + }, + "BLUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLUE" + } + }, + "PINK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PINK" + } + }, + "RED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RED" + } + } + } + }, + "com.amazonaws.appstream#ThemeTitleText": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 300 + }, + "smithy.api#pattern": "^[-@./#&+\\w\\s]*$" + } + }, "com.amazonaws.appstream#Timestamp": { "type": "timestamp" }, @@ -9974,6 +10437,110 @@ "smithy.api#output": {} } }, + "com.amazonaws.appstream#UpdateThemeForStack": { + "type": "operation", + "input": { + "target": "com.amazonaws.appstream#UpdateThemeForStackRequest" + }, + "output": { + "target": "com.amazonaws.appstream#UpdateThemeForStackResult" + }, + "errors": [ + { + "target": "com.amazonaws.appstream#ConcurrentModificationException" + }, + { + "target": "com.amazonaws.appstream#InvalidAccountStatusException" + }, + { + "target": "com.amazonaws.appstream#InvalidParameterCombinationException" + }, + { + "target": "com.amazonaws.appstream#LimitExceededException" + }, + { + "target": "com.amazonaws.appstream#OperationNotPermittedException" + }, + { + "target": "com.amazonaws.appstream#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

    Updates custom branding that customizes the appearance of the streaming application catalog page.

    " + } + }, + "com.amazonaws.appstream#UpdateThemeForStackRequest": { + "type": "structure", + "members": { + "StackName": { + "target": "com.amazonaws.appstream#Name", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

    The name of the stack for the theme.

    ", + "smithy.api#required": {} + } + }, + "FooterLinks": { + "target": "com.amazonaws.appstream#ThemeFooterLinks", + "traits": { + "smithy.api#documentation": "

    The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.

    " + } + }, + "TitleText": { + "target": "com.amazonaws.appstream#ThemeTitleText", + "traits": { + "smithy.api#documentation": "

    The title that is displayed at the top of the browser tab during users' application streaming sessions.

    " + } + }, + "ThemeStyling": { + "target": "com.amazonaws.appstream#ThemeStyling", + "traits": { + "smithy.api#documentation": "

    The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.

    " + } + }, + "OrganizationLogoS3Location": { + "target": "com.amazonaws.appstream#S3Location", + "traits": { + "smithy.api#documentation": "

    The organization logo that appears on the streaming application catalog page.

    " + } + }, + "FaviconS3Location": { + "target": "com.amazonaws.appstream#S3Location", + "traits": { + "smithy.api#documentation": "

    The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.

    " + } + }, + "State": { + "target": "com.amazonaws.appstream#ThemeState", + "traits": { + "smithy.api#documentation": "

    Specifies whether custom branding should be applied to catalog page or not.

    " + } + }, + "AttributesToDelete": { + "target": "com.amazonaws.appstream#ThemeAttributes", + "traits": { + "smithy.api#documentation": "

    The attributes to delete.

    " + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.appstream#UpdateThemeForStackResult": { + "type": "structure", + "members": { + "Theme": { + "target": "com.amazonaws.appstream#Theme", + "traits": { + "smithy.api#documentation": "

    The theme object that contains the metadata of the custom branding.

    " + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.appstream#UsageReportExecutionErrorCode": { "type": "enum", "members": {