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 |
Exports theme configurations to code that is ready to integrate into an Amplify app.
This operation returns paginated results.
Synopsis
- data ExportThemes = ExportThemes' {}
- newExportThemes :: Text -> Text -> ExportThemes
- exportThemes_nextToken :: Lens' ExportThemes (Maybe Text)
- exportThemes_appId :: Lens' ExportThemes Text
- exportThemes_environmentName :: Lens' ExportThemes Text
- data ExportThemesResponse = ExportThemesResponse' {}
- newExportThemesResponse :: Int -> ExportThemesResponse
- exportThemesResponse_nextToken :: Lens' ExportThemesResponse (Maybe Text)
- exportThemesResponse_httpStatus :: Lens' ExportThemesResponse Int
- exportThemesResponse_entities :: Lens' ExportThemesResponse [Theme]
Creating a Request
data ExportThemes Source #
See: newExportThemes
smart constructor.
Instances
Create a value of ExportThemes
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:
ExportThemes
, exportThemes_nextToken
- The token to request the next page of results.
ExportThemes
, exportThemes_appId
- The unique ID of the Amplify app to export the themes to.
ExportThemes
, exportThemes_environmentName
- The name of the backend environment that is part of the Amplify app.
Request Lenses
exportThemes_nextToken :: Lens' ExportThemes (Maybe Text) Source #
The token to request the next page of results.
exportThemes_appId :: Lens' ExportThemes Text Source #
The unique ID of the Amplify app to export the themes to.
exportThemes_environmentName :: Lens' ExportThemes Text Source #
The name of the backend environment that is part of the Amplify app.
Destructuring the Response
data ExportThemesResponse Source #
See: newExportThemesResponse
smart constructor.
Instances
newExportThemesResponse Source #
Create a value of ExportThemesResponse
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:
ExportThemes
, exportThemesResponse_nextToken
- The pagination token that's included if more results are available.
$sel:httpStatus:ExportThemesResponse'
, exportThemesResponse_httpStatus
- The response's http status code.
$sel:entities:ExportThemesResponse'
, exportThemesResponse_entities
- Represents the configuration of the exported themes.
Response Lenses
exportThemesResponse_nextToken :: Lens' ExportThemesResponse (Maybe Text) Source #
The pagination token that's included if more results are available.
exportThemesResponse_httpStatus :: Lens' ExportThemesResponse Int Source #
The response's http status code.
exportThemesResponse_entities :: Lens' ExportThemesResponse [Theme] Source #
Represents the configuration of the exported themes.