Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data CreateTheme = CreateTheme' {}
- newCreateTheme :: Text -> Text -> Text -> Text -> ThemeConfiguration -> CreateTheme
- createTheme_permissions :: Lens' CreateTheme (Maybe (NonEmpty ResourcePermission))
- createTheme_tags :: Lens' CreateTheme (Maybe (NonEmpty Tag))
- createTheme_versionDescription :: Lens' CreateTheme (Maybe Text)
- createTheme_awsAccountId :: Lens' CreateTheme Text
- createTheme_themeId :: Lens' CreateTheme Text
- createTheme_name :: Lens' CreateTheme Text
- createTheme_baseThemeId :: Lens' CreateTheme Text
- createTheme_configuration :: Lens' CreateTheme ThemeConfiguration
- data CreateThemeResponse = CreateThemeResponse' {}
- newCreateThemeResponse :: Int -> CreateThemeResponse
- createThemeResponse_arn :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_creationStatus :: Lens' CreateThemeResponse (Maybe ResourceStatus)
- createThemeResponse_requestId :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_themeId :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_versionArn :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_status :: Lens' CreateThemeResponse Int
Creating a Request
data CreateTheme Source #
See: newCreateTheme
smart constructor.
CreateTheme' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ThemeConfiguration | |
-> CreateTheme |
Create a value of CreateTheme
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateTheme
, createTheme_permissions
- A valid grouping of resource permissions to apply to the new theme.
CreateTheme
, createTheme_tags
- A map of the key-value pairs for the resource tag or tags that you want
to add to the resource.
$sel:versionDescription:CreateTheme'
, createTheme_versionDescription
- 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.
CreateTheme
, createTheme_awsAccountId
- The ID of the Amazon Web Services account where you want to store the
new theme.
CreateTheme
, createTheme_themeId
- 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.
CreateTheme
, createTheme_name
- A display name for the theme.
CreateTheme
, createTheme_baseThemeId
- 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.
CreateTheme
, createTheme_configuration
- The theme configuration, which contains the theme display properties.
Request Lenses
createTheme_permissions :: Lens' CreateTheme (Maybe (NonEmpty ResourcePermission)) Source #
A valid grouping of resource permissions to apply to the new theme.
createTheme_tags :: Lens' CreateTheme (Maybe (NonEmpty Tag)) Source #
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
createTheme_versionDescription :: Lens' CreateTheme (Maybe Text) Source #
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.
createTheme_awsAccountId :: Lens' CreateTheme Text Source #
The ID of the Amazon Web Services account where you want to store the new theme.
createTheme_themeId :: Lens' CreateTheme Text Source #
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.
createTheme_name :: Lens' CreateTheme Text Source #
A display name for the theme.
createTheme_baseThemeId :: Lens' CreateTheme Text Source #
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.
createTheme_configuration :: Lens' CreateTheme ThemeConfiguration Source #
The theme configuration, which contains the theme display properties.
Destructuring the Response
data CreateThemeResponse Source #
See: newCreateThemeResponse
smart constructor.
CreateThemeResponse' | |
|
Instances
newCreateThemeResponse Source #
Create a value of CreateThemeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateThemeResponse
, createThemeResponse_arn
- The Amazon Resource Name (ARN) for the theme.
CreateThemeResponse
, createThemeResponse_creationStatus
- The theme creation status.
$sel:requestId:CreateThemeResponse'
, createThemeResponse_requestId
- The Amazon Web Services request ID for this operation.
CreateTheme
, createThemeResponse_themeId
- The ID of the theme.
$sel:versionArn:CreateThemeResponse'
, createThemeResponse_versionArn
- The Amazon Resource Name (ARN) for the new theme.
CreateThemeResponse
, createThemeResponse_status
- The HTTP status of the request.
Response Lenses
createThemeResponse_arn :: Lens' CreateThemeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the theme.
createThemeResponse_creationStatus :: Lens' CreateThemeResponse (Maybe ResourceStatus) Source #
The theme creation status.
createThemeResponse_requestId :: Lens' CreateThemeResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
createThemeResponse_themeId :: Lens' CreateThemeResponse (Maybe Text) Source #
The ID of the theme.
createThemeResponse_versionArn :: Lens' CreateThemeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the new theme.
createThemeResponse_status :: Lens' CreateThemeResponse Int Source #
The HTTP status of the request.