Skip to content

Update Workspace Theme

connect_update_workspace_theme R Documentation

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

Description

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

Usage

connect_update_workspace_theme(InstanceId, WorkspaceId, Theme)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

WorkspaceId

[required] The identifier of the workspace.

Theme

The theme configuration, including color schemes and visual styles.

Value

An empty list.

Request syntax

svc$update_workspace_theme(
  InstanceId = "string",
  WorkspaceId = "string",
  Theme = list(
    Light = list(
      Palette = list(
        Header = list(
          Background = "string",
          Text = "string",
          TextHover = "string",
          InvertActionsColors = TRUE|FALSE
        ),
        Navigation = list(
          Background = "string",
          TextBackgroundHover = "string",
          TextBackgroundActive = "string",
          Text = "string",
          TextHover = "string",
          TextActive = "string",
          InvertActionsColors = TRUE|FALSE
        ),
        Canvas = list(
          ContainerBackground = "string",
          PageBackground = "string",
          ActiveBackground = "string"
        ),
        Primary = list(
          Default = "string",
          Active = "string",
          ContrastText = "string"
        )
      ),
      Images = list(
        Logo = list(
          Default = "string",
          Favicon = "string"
        )
      ),
      Typography = list(
        FontFamily = list(
          Default = "Arial"|"Courier New"|"Georgia"|"Times New Roman"|"Trebuchet"|"Verdana"
        )
      )
    ),
    Dark = list(
      Palette = list(
        Header = list(
          Background = "string",
          Text = "string",
          TextHover = "string",
          InvertActionsColors = TRUE|FALSE
        ),
        Navigation = list(
          Background = "string",
          TextBackgroundHover = "string",
          TextBackgroundActive = "string",
          Text = "string",
          TextHover = "string",
          TextActive = "string",
          InvertActionsColors = TRUE|FALSE
        ),
        Canvas = list(
          ContainerBackground = "string",
          PageBackground = "string",
          ActiveBackground = "string"
        ),
        Primary = list(
          Default = "string",
          Active = "string",
          ContrastText = "string"
        )
      ),
      Images = list(
        Logo = list(
          Default = "string",
          Favicon = "string"
        )
      ),
      Typography = list(
        FontFamily = list(
          Default = "Arial"|"Courier New"|"Georgia"|"Times New Roman"|"Trebuchet"|"Verdana"
        )
      )
    )
  )
)