Skip to main content

theme_for_stacks

Creates, updates, deletes, gets or lists a theme_for_stacks resource.

Overview

Nametheme_for_stacks
TypeResource
Idaws.appstream.theme_for_stacks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_timestring (date-time)The time the theme was created.
stack_namestringThe stack that has the custom branding theme. (pattern: <code>^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$</code>)
statestringThe state of the theme. (ENABLED, DISABLED)
theme_favicon_urlstringThe URL of the icon that displays at the top of a user's browser tab during streaming sessions.
theme_footer_linksarrayThe website links that display in the catalog page footer.
theme_organization_logo_urlstringThe URL of the logo that displays in the catalog page header.
theme_stylingstringThe color that is used for the website links, text, buttons, and catalog page background. (LIGHT_BLUE, BLUE, PINK, RED)
theme_title_textstringThe browser tab page title. (pattern: <code>^[-@./#&+\w\s]*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_theme_for_stackselectregionRetrieves 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.
create_theme_for_stackinsertregion, StackName, TitleText, ThemeStyling, OrganizationLogoS3Location, FaviconS3LocationCreates custom branding that customizes the appearance of the streaming application catalog page.
update_theme_for_stackupdateregion, StackNameUpdates custom branding that customizes the appearance of the streaming application catalog page.
delete_theme_for_stackdeleteregionDeletes custom branding that customizes the appearance of the streaming application catalog page.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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.

SELECT
created_time,
stack_name,
state,
theme_favicon_url,
theme_footer_links,
theme_organization_logo_url,
theme_styling,
theme_title_text
FROM aws.appstream.theme_for_stacks
WHERE region = '{{ region }}' -- required
;

INSERT examples

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

INSERT INTO aws.appstream.theme_for_stacks (
StackName,
FooterLinks,
TitleText,
ThemeStyling,
OrganizationLogoS3Location,
FaviconS3Location,
region
)
SELECT
'{{ StackName }}' /* required */,
'{{ FooterLinks }}',
'{{ TitleText }}' /* required */,
'{{ ThemeStyling }}' /* required */,
'{{ OrganizationLogoS3Location }}' /* required */,
'{{ FaviconS3Location }}' /* required */,
'{{ region }}'
RETURNING
theme
;

UPDATE examples

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

UPDATE aws.appstream.theme_for_stacks
SET
StackName = '{{ StackName }}',
FooterLinks = '{{ FooterLinks }}',
TitleText = '{{ TitleText }}',
ThemeStyling = '{{ ThemeStyling }}',
OrganizationLogoS3Location = '{{ OrganizationLogoS3Location }}',
FaviconS3Location = '{{ FaviconS3Location }}',
State = '{{ State }}',
AttributesToDelete = '{{ AttributesToDelete }}'
WHERE
region = '{{ region }}' --required
AND StackName = '{{ StackName }}' --required
RETURNING
theme;

DELETE examples

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

DELETE FROM aws.appstream.theme_for_stacks
WHERE region = '{{ region }}' --required
;