| 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.GetTheme
Description
Returns an existing theme for an Amplify app.
Synopsis
- data GetTheme = GetTheme' {}
- newGetTheme :: Text -> Text -> Text -> GetTheme
- getTheme_appId :: Lens' GetTheme Text
- getTheme_environmentName :: Lens' GetTheme Text
- getTheme_id :: Lens' GetTheme Text
- data GetThemeResponse = GetThemeResponse' {
- theme :: Maybe Theme
- httpStatus :: Int
- newGetThemeResponse :: Int -> GetThemeResponse
- getThemeResponse_theme :: Lens' GetThemeResponse (Maybe Theme)
- getThemeResponse_httpStatus :: Lens' GetThemeResponse Int
Creating a Request
See: newGetTheme smart constructor.
Constructors
| GetTheme' | |
Instances
Create a value of GetTheme 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:
GetTheme, getTheme_appId - The unique ID of the Amplify app.
GetTheme, getTheme_environmentName - The name of the backend environment that is part of the Amplify app.
GetTheme, getTheme_id - The unique ID for the theme.
Request Lenses
getTheme_environmentName :: Lens' GetTheme Text Source #
The name of the backend environment that is part of the Amplify app.
Destructuring the Response
data GetThemeResponse Source #
See: newGetThemeResponse smart constructor.
Constructors
| GetThemeResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetThemeResponse |
Create a value of GetThemeResponse 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:theme:GetThemeResponse', getThemeResponse_theme - Represents the configuration settings for the theme.
$sel:httpStatus:GetThemeResponse', getThemeResponse_httpStatus - The response's http status code.
Response Lenses
getThemeResponse_theme :: Lens' GetThemeResponse (Maybe Theme) Source #
Represents the configuration settings for the theme.
getThemeResponse_httpStatus :: Lens' GetThemeResponse Int Source #
The response's http status code.