Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_versionDescription :: Lens' CreateTheme (Maybe Text)
- createTheme_permissions :: Lens' CreateTheme (Maybe (NonEmpty ResourcePermission))
- createTheme_tags :: Lens' CreateTheme (Maybe (NonEmpty Tag))
- 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_requestId :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_themeId :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_arn :: Lens' CreateThemeResponse (Maybe Text)
- createThemeResponse_creationStatus :: Lens' CreateThemeResponse (Maybe ResourceStatus)
- 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:
$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.
$sel:permissions:CreateTheme'
, createTheme_permissions
- A valid grouping of resource permissions to apply to the new theme.
$sel:tags: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:awsAccountId:CreateTheme'
, createTheme_awsAccountId
- The ID of the Amazon Web Services account where you want to store the
new theme.
$sel:themeId: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.
$sel:name:CreateTheme'
, createTheme_name
- A display name for the theme.
$sel:baseThemeId: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 a Amazon QuickSight analysis.
$sel:configuration:CreateTheme'
, createTheme_configuration
- The theme configuration, which contains the theme display properties.
Request Lenses
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_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_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 a Amazon QuickSight 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:
$sel:requestId:CreateThemeResponse'
, createThemeResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeId:CreateTheme'
, createThemeResponse_themeId
- The ID of the theme.
$sel:arn:CreateThemeResponse'
, createThemeResponse_arn
- The Amazon Resource Name (ARN) for the theme.
$sel:creationStatus:CreateThemeResponse'
, createThemeResponse_creationStatus
- The theme creation status.
$sel:versionArn:CreateThemeResponse'
, createThemeResponse_versionArn
- The Amazon Resource Name (ARN) for the new theme.
$sel:status:CreateThemeResponse'
, createThemeResponse_status
- The HTTP status of the request.
Response Lenses
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_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_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.