| 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.GetForm
Description
Returns an existing form for an Amplify app.
Synopsis
- data GetForm = GetForm' {}
- newGetForm :: Text -> Text -> Text -> GetForm
- getForm_appId :: Lens' GetForm Text
- getForm_environmentName :: Lens' GetForm Text
- getForm_id :: Lens' GetForm Text
- data GetFormResponse = GetFormResponse' {
- form :: Maybe Form
- httpStatus :: Int
- newGetFormResponse :: Int -> GetFormResponse
- getFormResponse_form :: Lens' GetFormResponse (Maybe Form)
- getFormResponse_httpStatus :: Lens' GetFormResponse Int
Creating a Request
See: newGetForm smart constructor.
Constructors
| GetForm' | |
Instances
Create a value of GetForm 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:
GetForm, getForm_appId - The unique ID of the Amplify app.
GetForm, getForm_environmentName - The name of the backend environment that is part of the Amplify app.
GetForm, getForm_id - The unique ID of the form.
Request Lenses
getForm_environmentName :: Lens' GetForm Text Source #
The name of the backend environment that is part of the Amplify app.
Destructuring the Response
data GetFormResponse Source #
See: newGetFormResponse smart constructor.
Constructors
| GetFormResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetFormResponse |
Create a value of GetFormResponse 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:form:GetFormResponse', getFormResponse_form - Represents the configuration settings for the form.
$sel:httpStatus:GetFormResponse', getFormResponse_httpStatus - The response's http status code.
Response Lenses
getFormResponse_form :: Lens' GetFormResponse (Maybe Form) Source #
Represents the configuration settings for the form.
getFormResponse_httpStatus :: Lens' GetFormResponse Int Source #
The response's http status code.