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 |
Updates an alias of a theme.
Synopsis
- data UpdateThemeAlias = UpdateThemeAlias' {}
- newUpdateThemeAlias :: Text -> Text -> Text -> Natural -> UpdateThemeAlias
- updateThemeAlias_awsAccountId :: Lens' UpdateThemeAlias Text
- updateThemeAlias_themeId :: Lens' UpdateThemeAlias Text
- updateThemeAlias_aliasName :: Lens' UpdateThemeAlias Text
- updateThemeAlias_themeVersionNumber :: Lens' UpdateThemeAlias Natural
- data UpdateThemeAliasResponse = UpdateThemeAliasResponse' {
- requestId :: Maybe Text
- themeAlias :: Maybe ThemeAlias
- status :: Int
- newUpdateThemeAliasResponse :: Int -> UpdateThemeAliasResponse
- updateThemeAliasResponse_requestId :: Lens' UpdateThemeAliasResponse (Maybe Text)
- updateThemeAliasResponse_themeAlias :: Lens' UpdateThemeAliasResponse (Maybe ThemeAlias)
- updateThemeAliasResponse_status :: Lens' UpdateThemeAliasResponse Int
Creating a Request
data UpdateThemeAlias Source #
See: newUpdateThemeAlias
smart constructor.
UpdateThemeAlias' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Natural | |
-> UpdateThemeAlias |
Create a value of UpdateThemeAlias
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:UpdateThemeAlias'
, updateThemeAlias_awsAccountId
- The ID of the Amazon Web Services account that contains the theme alias
that you're updating.
$sel:themeId:UpdateThemeAlias'
, updateThemeAlias_themeId
- The ID for the theme.
$sel:aliasName:UpdateThemeAlias'
, updateThemeAlias_aliasName
- The name of the theme alias that you want to update.
$sel:themeVersionNumber:UpdateThemeAlias'
, updateThemeAlias_themeVersionNumber
- The version number of the theme that the alias should reference.
Request Lenses
updateThemeAlias_awsAccountId :: Lens' UpdateThemeAlias Text Source #
The ID of the Amazon Web Services account that contains the theme alias that you're updating.
updateThemeAlias_themeId :: Lens' UpdateThemeAlias Text Source #
The ID for the theme.
updateThemeAlias_aliasName :: Lens' UpdateThemeAlias Text Source #
The name of the theme alias that you want to update.
updateThemeAlias_themeVersionNumber :: Lens' UpdateThemeAlias Natural Source #
The version number of the theme that the alias should reference.
Destructuring the Response
data UpdateThemeAliasResponse Source #
See: newUpdateThemeAliasResponse
smart constructor.
UpdateThemeAliasResponse' | |
|
Instances
newUpdateThemeAliasResponse Source #
Create a value of UpdateThemeAliasResponse
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:UpdateThemeAliasResponse'
, updateThemeAliasResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeAlias:UpdateThemeAliasResponse'
, updateThemeAliasResponse_themeAlias
- Information about the theme alias.
$sel:status:UpdateThemeAliasResponse'
, updateThemeAliasResponse_status
- The HTTP status of the request.
Response Lenses
updateThemeAliasResponse_requestId :: Lens' UpdateThemeAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateThemeAliasResponse_themeAlias :: Lens' UpdateThemeAliasResponse (Maybe ThemeAlias) Source #
Information about the theme alias.
updateThemeAliasResponse_status :: Lens' UpdateThemeAliasResponse Int Source #
The HTTP status of the request.