import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { UpdateWorkspaceThemeRequest, UpdateWorkspaceThemeResponse } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateWorkspaceThemeCommand}. */ export interface UpdateWorkspaceThemeCommandInput extends UpdateWorkspaceThemeRequest { } /** * @public * * The output of {@link UpdateWorkspaceThemeCommand}. */ export interface UpdateWorkspaceThemeCommandOutput extends UpdateWorkspaceThemeResponse, __MetadataBearer { } declare const UpdateWorkspaceThemeCommand_base: { new (input: UpdateWorkspaceThemeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateWorkspaceThemeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates the theme configuration for a workspace, including colors and styling.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, UpdateWorkspaceThemeCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, UpdateWorkspaceThemeCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // UpdateWorkspaceThemeRequest * InstanceId: "STRING_VALUE", // required * WorkspaceId: "STRING_VALUE", // required * Theme: { // WorkspaceTheme * Light: { // WorkspaceThemeConfig * Palette: { // WorkspaceThemePalette * Header: { // PaletteHeader * Background: "STRING_VALUE", * Text: "STRING_VALUE", * TextHover: "STRING_VALUE", * InvertActionsColors: true || false, * }, * Navigation: { // PaletteNavigation * Background: "STRING_VALUE", * TextBackgroundHover: "STRING_VALUE", * TextBackgroundActive: "STRING_VALUE", * Text: "STRING_VALUE", * TextHover: "STRING_VALUE", * TextActive: "STRING_VALUE", * InvertActionsColors: true || false, * }, * Canvas: { // PaletteCanvas * ContainerBackground: "STRING_VALUE", * PageBackground: "STRING_VALUE", * ActiveBackground: "STRING_VALUE", * }, * Primary: { // PalettePrimary * Default: "STRING_VALUE", * Active: "STRING_VALUE", * ContrastText: "STRING_VALUE", * }, * }, * Images: { // WorkspaceThemeImages * Logo: { // ImagesLogo * Default: "STRING_VALUE", * Favicon: "STRING_VALUE", * }, * }, * Typography: { // WorkspaceThemeTypography * FontFamily: { // FontFamily * Default: "Arial" || "Courier New" || "Georgia" || "Times New Roman" || "Trebuchet" || "Verdana", * }, * }, * }, * Dark: { * Palette: { * Header: { * Background: "STRING_VALUE", * Text: "STRING_VALUE", * TextHover: "STRING_VALUE", * InvertActionsColors: true || false, * }, * Navigation: { * Background: "STRING_VALUE", * TextBackgroundHover: "STRING_VALUE", * TextBackgroundActive: "STRING_VALUE", * Text: "STRING_VALUE", * TextHover: "STRING_VALUE", * TextActive: "STRING_VALUE", * InvertActionsColors: true || false, * }, * Canvas: { * ContainerBackground: "STRING_VALUE", * PageBackground: "STRING_VALUE", * ActiveBackground: "STRING_VALUE", * }, * Primary: { * Default: "STRING_VALUE", * Active: "STRING_VALUE", * ContrastText: "STRING_VALUE", * }, * }, * Images: { * Logo: { * Default: "STRING_VALUE", * Favicon: "STRING_VALUE", * }, * }, * Typography: { * FontFamily: { * Default: "Arial" || "Courier New" || "Georgia" || "Times New Roman" || "Trebuchet" || "Verdana", * }, * }, * }, * }, * }; * const command = new UpdateWorkspaceThemeCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateWorkspaceThemeCommandInput - {@link UpdateWorkspaceThemeCommandInput} * @returns {@link UpdateWorkspaceThemeCommandOutput} * @see {@link UpdateWorkspaceThemeCommandInput} for command's `input` shape. * @see {@link UpdateWorkspaceThemeCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient permissions to perform this action.

* * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

* * @throws {@link InvalidParameterException} (client fault) *

One or more of the specified parameters are not valid.

* * @throws {@link InvalidRequestException} (client fault) *

The request is not valid.

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

The specified resource was not found.

* * @throws {@link ThrottlingException} (client fault) *

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class UpdateWorkspaceThemeCommand extends UpdateWorkspaceThemeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateWorkspaceThemeRequest; output: {}; }; sdk: { input: UpdateWorkspaceThemeCommandInput; output: UpdateWorkspaceThemeCommandOutput; }; }; }