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 alias for a theme.
Synopsis
- data CreateThemeAlias = CreateThemeAlias' {}
- newCreateThemeAlias :: Text -> Text -> Text -> Natural -> CreateThemeAlias
- createThemeAlias_awsAccountId :: Lens' CreateThemeAlias Text
- createThemeAlias_themeId :: Lens' CreateThemeAlias Text
- createThemeAlias_aliasName :: Lens' CreateThemeAlias Text
- createThemeAlias_themeVersionNumber :: Lens' CreateThemeAlias Natural
- data CreateThemeAliasResponse = CreateThemeAliasResponse' {
- requestId :: Maybe Text
- themeAlias :: Maybe ThemeAlias
- status :: Int
- newCreateThemeAliasResponse :: Int -> CreateThemeAliasResponse
- createThemeAliasResponse_requestId :: Lens' CreateThemeAliasResponse (Maybe Text)
- createThemeAliasResponse_themeAlias :: Lens' CreateThemeAliasResponse (Maybe ThemeAlias)
- createThemeAliasResponse_status :: Lens' CreateThemeAliasResponse Int
Creating a Request
data CreateThemeAlias Source #
See: newCreateThemeAlias
smart constructor.
CreateThemeAlias' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Natural | |
-> CreateThemeAlias |
Create a value of CreateThemeAlias
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:awsAccountId:CreateThemeAlias'
, createThemeAlias_awsAccountId
- The ID of the Amazon Web Services account that contains the theme for
the new theme alias.
$sel:themeId:CreateThemeAlias'
, createThemeAlias_themeId
- An ID for the theme alias.
$sel:aliasName:CreateThemeAlias'
, createThemeAlias_aliasName
- The name that you want to give to the theme alias that you are creating.
The alias name can't begin with a $
. Alias names that start with $
are reserved by Amazon QuickSight.
$sel:themeVersionNumber:CreateThemeAlias'
, createThemeAlias_themeVersionNumber
- The version number of the theme.
Request Lenses
createThemeAlias_awsAccountId :: Lens' CreateThemeAlias Text Source #
The ID of the Amazon Web Services account that contains the theme for the new theme alias.
createThemeAlias_themeId :: Lens' CreateThemeAlias Text Source #
An ID for the theme alias.
createThemeAlias_aliasName :: Lens' CreateThemeAlias Text Source #
The name that you want to give to the theme alias that you are creating.
The alias name can't begin with a $
. Alias names that start with $
are reserved by Amazon QuickSight.
createThemeAlias_themeVersionNumber :: Lens' CreateThemeAlias Natural Source #
The version number of the theme.
Destructuring the Response
data CreateThemeAliasResponse Source #
See: newCreateThemeAliasResponse
smart constructor.
CreateThemeAliasResponse' | |
|
Instances
newCreateThemeAliasResponse Source #
Create a value of CreateThemeAliasResponse
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:CreateThemeAliasResponse'
, createThemeAliasResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeAlias:CreateThemeAliasResponse'
, createThemeAliasResponse_themeAlias
- Information about the theme alias.
$sel:status:CreateThemeAliasResponse'
, createThemeAliasResponse_status
- The HTTP status of the request.
Response Lenses
createThemeAliasResponse_requestId :: Lens' CreateThemeAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
createThemeAliasResponse_themeAlias :: Lens' CreateThemeAliasResponse (Maybe ThemeAlias) Source #
Information about the theme alias.
createThemeAliasResponse_status :: Lens' CreateThemeAliasResponse Int Source #
The HTTP status of the request.