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
*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
+ *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 +): PromiseThe instance type to use when launching fleet instances. The following instance types are available:
\nstream.standard.small
\nstream.standard.medium
\nstream.standard.large
\nstream.standard.xlarge
\nstream.standard.2xlarge
\nstream.compute.large
\nstream.compute.xlarge
\nstream.compute.2xlarge
\nstream.compute.4xlarge
\nstream.compute.8xlarge
\nstream.memory.large
\nstream.memory.xlarge
\nstream.memory.2xlarge
\nstream.memory.4xlarge
\nstream.memory.8xlarge
\nstream.memory.z1d.large
\nstream.memory.z1d.xlarge
\nstream.memory.z1d.2xlarge
\nstream.memory.z1d.3xlarge
\nstream.memory.z1d.6xlarge
\nstream.memory.z1d.12xlarge
\nstream.graphics-design.large
\nstream.graphics-design.xlarge
\nstream.graphics-design.2xlarge
\nstream.graphics-design.4xlarge
\nstream.graphics-desktop.2xlarge
\nstream.graphics.g4dn.xlarge
\nstream.graphics.g4dn.2xlarge
\nstream.graphics.g4dn.4xlarge
\nstream.graphics.g4dn.8xlarge
\nstream.graphics.g4dn.12xlarge
\nstream.graphics.g4dn.16xlarge
\nstream.graphics-pro.4xlarge
\nstream.graphics-pro.8xlarge
\nstream.graphics-pro.16xlarge
\nThe following instance types are available for Elastic fleets:
\nstream.standard.small
\nstream.standard.medium
\nstream.standard.large
\nstream.standard.xlarge
\nstream.standard.2xlarge
\nThe instance type to use when launching fleet instances. The following instance types are available:
\nstream.standard.small
\nstream.standard.medium
\nstream.standard.large
\nstream.standard.xlarge
\nstream.standard.2xlarge
\nstream.compute.large
\nstream.compute.xlarge
\nstream.compute.2xlarge
\nstream.compute.4xlarge
\nstream.compute.8xlarge
\nstream.memory.large
\nstream.memory.xlarge
\nstream.memory.2xlarge
\nstream.memory.4xlarge
\nstream.memory.8xlarge
\nstream.memory.z1d.large
\nstream.memory.z1d.xlarge
\nstream.memory.z1d.2xlarge
\nstream.memory.z1d.3xlarge
\nstream.memory.z1d.6xlarge
\nstream.memory.z1d.12xlarge
\nstream.graphics-design.large
\nstream.graphics-design.xlarge
\nstream.graphics-design.2xlarge
\nstream.graphics-design.4xlarge
\nstream.graphics-desktop.2xlarge
\nstream.graphics.g4dn.xlarge
\nstream.graphics.g4dn.2xlarge
\nstream.graphics.g4dn.4xlarge
\nstream.graphics.g4dn.8xlarge
\nstream.graphics.g4dn.12xlarge
\nstream.graphics.g4dn.16xlarge
\nstream.graphics.g5.xlarge
\nstream.graphics.g5.2xlarge
\nstream.graphics.g5.4xlarge
\nstream.graphics.g5.8xlarge
\nstream.graphics.g5.12xlarge
\nstream.graphics.g5.16xlarge
\nstream.graphics.g5.24xlarge
\nstream.graphics-pro.4xlarge
\nstream.graphics-pro.8xlarge
\nstream.graphics-pro.16xlarge
\nThe following instance types are available for Elastic fleets:
\nstream.standard.small
\nstream.standard.medium
\nstream.standard.large
\nstream.standard.xlarge
\nstream.standard.2xlarge
\nCreates 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:
\nGeneral Purpose
\nCompute Optimized
\nMemory Optimized
\nGraphics
\nGraphics Design
\nGraphics Pro
\nGraphics G4
\nGraphics G5
\nIndicates 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": {