| 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.CreateTheme
Description
Creates a theme to apply to the components in an Amplify app.
Synopsis
- data CreateTheme = CreateTheme' {}
- newCreateTheme :: Text -> Text -> CreateThemeData -> CreateTheme
- createTheme_clientToken :: Lens' CreateTheme (Maybe Text)
- createTheme_appId :: Lens' CreateTheme Text
- createTheme_environmentName :: Lens' CreateTheme Text
- createTheme_themeToCreate :: Lens' CreateTheme CreateThemeData
- data CreateThemeResponse = CreateThemeResponse' {
- entity :: Maybe Theme
- httpStatus :: Int
- newCreateThemeResponse :: Int -> CreateThemeResponse
- createThemeResponse_entity :: Lens' CreateThemeResponse (Maybe Theme)
- createThemeResponse_httpStatus :: Lens' CreateThemeResponse Int
Creating a Request
data CreateTheme Source #
See: newCreateTheme smart constructor.
Constructors
| CreateTheme' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateThemeData | |
| -> 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:clientToken:CreateTheme', createTheme_clientToken - The unique client token.
CreateTheme, createTheme_appId - The unique ID of the Amplify app associated with the theme.
CreateTheme, createTheme_environmentName - The name of the backend environment that is a part of the Amplify app.
$sel:themeToCreate:CreateTheme', createTheme_themeToCreate - Represents the configuration of the theme to create.
Request Lenses
createTheme_clientToken :: Lens' CreateTheme (Maybe Text) Source #
The unique client token.
createTheme_appId :: Lens' CreateTheme Text Source #
The unique ID of the Amplify app associated with the theme.
createTheme_environmentName :: Lens' CreateTheme Text Source #
The name of the backend environment that is a part of the Amplify app.
createTheme_themeToCreate :: Lens' CreateTheme CreateThemeData Source #
Represents the configuration of the theme to create.
Destructuring the Response
data CreateThemeResponse Source #
See: newCreateThemeResponse smart constructor.
Constructors
| CreateThemeResponse' | |
Fields
| |
Instances
newCreateThemeResponse Source #
Arguments
| :: Int | |
| -> CreateThemeResponse |
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:entity:CreateThemeResponse', createThemeResponse_entity - Describes the configuration of the new theme.
$sel:httpStatus:CreateThemeResponse', createThemeResponse_httpStatus - The response's http status code.
Response Lenses
createThemeResponse_entity :: Lens' CreateThemeResponse (Maybe Theme) Source #
Describes the configuration of the new theme.
createThemeResponse_httpStatus :: Lens' CreateThemeResponse Int Source #
The response's http status code.