| 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.ExportComponents
Description
Exports component configurations to code that is ready to integrate into an Amplify app.
This operation returns paginated results.
Synopsis
- data ExportComponents = ExportComponents' {}
- newExportComponents :: Text -> Text -> ExportComponents
- exportComponents_nextToken :: Lens' ExportComponents (Maybe Text)
- exportComponents_appId :: Lens' ExportComponents Text
- exportComponents_environmentName :: Lens' ExportComponents Text
- data ExportComponentsResponse = ExportComponentsResponse' {}
- newExportComponentsResponse :: Int -> ExportComponentsResponse
- exportComponentsResponse_nextToken :: Lens' ExportComponentsResponse (Maybe Text)
- exportComponentsResponse_httpStatus :: Lens' ExportComponentsResponse Int
- exportComponentsResponse_entities :: Lens' ExportComponentsResponse [Component]
Creating a Request
data ExportComponents Source #
See: newExportComponents smart constructor.
Constructors
| ExportComponents' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ExportComponents |
Create a value of ExportComponents 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:
ExportComponents, exportComponents_nextToken - The token to request the next page of results.
ExportComponents, exportComponents_appId - The unique ID of the Amplify app to export components to.
ExportComponents, exportComponents_environmentName - The name of the backend environment that is a part of the Amplify app.
Request Lenses
exportComponents_nextToken :: Lens' ExportComponents (Maybe Text) Source #
The token to request the next page of results.
exportComponents_appId :: Lens' ExportComponents Text Source #
The unique ID of the Amplify app to export components to.
exportComponents_environmentName :: Lens' ExportComponents Text Source #
The name of the backend environment that is a part of the Amplify app.
Destructuring the Response
data ExportComponentsResponse Source #
See: newExportComponentsResponse smart constructor.
Constructors
| ExportComponentsResponse' | |
Instances
newExportComponentsResponse Source #
Create a value of ExportComponentsResponse 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:
ExportComponents, exportComponentsResponse_nextToken - The pagination token that's included if more results are available.
$sel:httpStatus:ExportComponentsResponse', exportComponentsResponse_httpStatus - The response's http status code.
$sel:entities:ExportComponentsResponse', exportComponentsResponse_entities - Represents the configuration of the exported components.
Response Lenses
exportComponentsResponse_nextToken :: Lens' ExportComponentsResponse (Maybe Text) Source #
The pagination token that's included if more results are available.
exportComponentsResponse_httpStatus :: Lens' ExportComponentsResponse Int Source #
The response's http status code.
exportComponentsResponse_entities :: Lens' ExportComponentsResponse [Component] Source #
Represents the configuration of the exported components.