AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon QuickSight CreateTheme API operation.

Syntax

New-QSTheme
-ThemeId <String>
-UIColorPalette_Accent <String>
-UIColorPalette_AccentForeground <String>
-AwsAccountId <String>
-BaseThemeId <String>
-DataColorPalette_Color <String[]>
-UIColorPalette_Danger <String>
-UIColorPalette_DangerForeground <String>
-UIColorPalette_Dimension <String>
-UIColorPalette_DimensionForeground <String>
-DataColorPalette_EmptyFillColor <String>
-Typography_FontFamily <Font[]>
-UIColorPalette_Measure <String>
-UIColorPalette_MeasureForeground <String>
-DataColorPalette_MinMaxGradient <String[]>
-Name <String>
-Permission <ResourcePermission[]>
-UIColorPalette_PrimaryBackground <String>
-UIColorPalette_PrimaryForeground <String>
-UIColorPalette_SecondaryBackground <String>
-UIColorPalette_SecondaryForeground <String>
-Border_Show <Boolean>
-Gutter_Show <Boolean>
-Margin_Show <Boolean>
-UIColorPalette_Success <String>
-UIColorPalette_SuccessForeground <String>
-Tag <Tag[]>
-VersionDescription <String>
-UIColorPalette_Warning <String>
-UIColorPalette_WarningForeground <String>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>
-ClientConfig <AmazonQuickSightConfig>

Description

Creates a theme. A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.

Parameters

-AwsAccountId <String>
The ID of the Amazon Web Services account where you want to store the new theme.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-BaseThemeId <String>
The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within an analysis.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-Border_Show <Boolean>
The option to enable display of borders for visuals.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_Sheet_Tile_Border_Show
-ClientConfig <AmazonQuickSightConfig>
Amazon.PowerShell.Cmdlets.QS.AmazonQuickSightClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DataColorPalette_Color <String[]>
The hexadecimal codes for the colors.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_DataColorPalette_Colors
-DataColorPalette_EmptyFillColor <String>
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_DataColorPalette_EmptyFillColor
-DataColorPalette_MinMaxGradient <String[]>
The minimum and maximum hexadecimal codes that describe a color gradient.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_DataColorPalette_MinMaxGradient
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Gutter_Show <Boolean>
This Boolean value controls whether to display a gutter space between sheet tiles.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_Sheet_TileLayout_Gutter_Show
-Margin_Show <Boolean>
This Boolean value controls whether to display sheet margins.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_Sheet_TileLayout_Margin_Show
-Name <String>
A display name for the theme.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the ThemeId parameter. The -PassThru parameter is deprecated, use -Select '^ThemeId' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Permission <ResourcePermission[]>
A valid grouping of resource permissions to apply to the new theme.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesPermissions
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.QuickSight.Model.CreateThemeResponse). Specifying the name of a property of type Amazon.QuickSight.Model.CreateThemeResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Tag <Tag[]>
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags
-ThemeId <String>
An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-Typography_FontFamily <Font[]>
Determines the list of font families.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_Typography_FontFamilies
-UIColorPalette_Accent <String>
This color is that applies to selected states and buttons.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_Accent
-UIColorPalette_AccentForeground <String>
The foreground color that applies to any text or other elements that appear over the accent color.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_AccentForeground
-UIColorPalette_Danger <String>
The color that applies to error messages.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_Danger
-UIColorPalette_DangerForeground <String>
The foreground color that applies to any text or other elements that appear over the error color.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_DangerForeground
-UIColorPalette_Dimension <String>
The color that applies to the names of fields that are identified as dimensions.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_Dimension
-UIColorPalette_DimensionForeground <String>
The foreground color that applies to any text or other elements that appear over the dimension color.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_DimensionForeground
-UIColorPalette_Measure <String>
The color that applies to the names of fields that are identified as measures.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_Measure
-UIColorPalette_MeasureForeground <String>
The foreground color that applies to any text or other elements that appear over the measure color.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_MeasureForeground
-UIColorPalette_PrimaryBackground <String>
The background color that applies to visuals and other high emphasis UI.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_PrimaryBackground
-UIColorPalette_PrimaryForeground <String>
The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_PrimaryForeground
-UIColorPalette_SecondaryBackground <String>
The background color that applies to the sheet background and sheet controls.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_SecondaryBackground
-UIColorPalette_SecondaryForeground <String>
The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_SecondaryForeground
-UIColorPalette_Success <String>
The color that applies to success messages, for example the check mark for a successful download.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_Success
-UIColorPalette_SuccessForeground <String>
The foreground color that applies to any text or other elements that appear over the success color.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_SuccessForeground
-UIColorPalette_Warning <String>
This color that applies to warning and informational messages.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_Warning
-UIColorPalette_WarningForeground <String>
The foreground color that applies to any text or other elements that appear over the warning color.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfiguration_UIColorPalette_WarningForeground
-VersionDescription <String>
A description of the first version of the theme that you're creating. Every time UpdateTheme is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription field.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.QuickSight.Model.CreateThemeResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z