| 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 |
Amazonka.AmplifyUiBuilder.UpdateTheme
Description
Updates an existing theme.
Synopsis
- data UpdateTheme = UpdateTheme' {
- clientToken :: Maybe Text
- appId :: Text
- environmentName :: Text
- id :: Text
- updatedTheme :: UpdateThemeData
- newUpdateTheme :: Text -> Text -> Text -> UpdateThemeData -> UpdateTheme
- updateTheme_clientToken :: Lens' UpdateTheme (Maybe Text)
- updateTheme_appId :: Lens' UpdateTheme Text
- updateTheme_environmentName :: Lens' UpdateTheme Text
- updateTheme_id :: Lens' UpdateTheme Text
- updateTheme_updatedTheme :: Lens' UpdateTheme UpdateThemeData
- data UpdateThemeResponse = UpdateThemeResponse' {
- entity :: Maybe Theme
- httpStatus :: Int
- newUpdateThemeResponse :: Int -> UpdateThemeResponse
- updateThemeResponse_entity :: Lens' UpdateThemeResponse (Maybe Theme)
- updateThemeResponse_httpStatus :: Lens' UpdateThemeResponse Int
Creating a Request
data UpdateTheme Source #
See: newUpdateTheme smart constructor.
Constructors
| UpdateTheme' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> UpdateThemeData | |
| -> UpdateTheme |
Create a value of UpdateTheme 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:clientToken:UpdateTheme', updateTheme_clientToken - The unique client token.
UpdateTheme, updateTheme_appId - The unique ID for the Amplify app.
UpdateTheme, updateTheme_environmentName - The name of the backend environment that is part of the Amplify app.
UpdateTheme, updateTheme_id - The unique ID for the theme.
$sel:updatedTheme:UpdateTheme', updateTheme_updatedTheme - The configuration of the updated theme.
Request Lenses
updateTheme_clientToken :: Lens' UpdateTheme (Maybe Text) Source #
The unique client token.
updateTheme_appId :: Lens' UpdateTheme Text Source #
The unique ID for the Amplify app.
updateTheme_environmentName :: Lens' UpdateTheme Text Source #
The name of the backend environment that is part of the Amplify app.
updateTheme_id :: Lens' UpdateTheme Text Source #
The unique ID for the theme.
updateTheme_updatedTheme :: Lens' UpdateTheme UpdateThemeData Source #
The configuration of the updated theme.
Destructuring the Response
data UpdateThemeResponse Source #
See: newUpdateThemeResponse smart constructor.
Constructors
| UpdateThemeResponse' | |
Fields
| |
Instances
newUpdateThemeResponse Source #
Arguments
| :: Int | |
| -> UpdateThemeResponse |
Create a value of UpdateThemeResponse 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:entity:UpdateThemeResponse', updateThemeResponse_entity - Describes the configuration of the updated theme.
$sel:httpStatus:UpdateThemeResponse', updateThemeResponse_httpStatus - The response's http status code.
Response Lenses
updateThemeResponse_entity :: Lens' UpdateThemeResponse (Maybe Theme) Source #
Describes the configuration of the updated theme.
updateThemeResponse_httpStatus :: Lens' UpdateThemeResponse Int Source #
The response's http status code.