| 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.UpdateForm
Description
Updates an existing form.
Synopsis
- data UpdateForm = UpdateForm' {
- clientToken :: Maybe Text
- appId :: Text
- environmentName :: Text
- id :: Text
- updatedForm :: UpdateFormData
- newUpdateForm :: Text -> Text -> Text -> UpdateFormData -> UpdateForm
- updateForm_clientToken :: Lens' UpdateForm (Maybe Text)
- updateForm_appId :: Lens' UpdateForm Text
- updateForm_environmentName :: Lens' UpdateForm Text
- updateForm_id :: Lens' UpdateForm Text
- updateForm_updatedForm :: Lens' UpdateForm UpdateFormData
- data UpdateFormResponse = UpdateFormResponse' {
- entity :: Maybe Form
- httpStatus :: Int
- newUpdateFormResponse :: Int -> UpdateFormResponse
- updateFormResponse_entity :: Lens' UpdateFormResponse (Maybe Form)
- updateFormResponse_httpStatus :: Lens' UpdateFormResponse Int
Creating a Request
data UpdateForm Source #
See: newUpdateForm smart constructor.
Constructors
| UpdateForm' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> UpdateFormData | |
| -> UpdateForm |
Create a value of UpdateForm 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:UpdateForm', updateForm_clientToken - The unique client token.
UpdateForm, updateForm_appId - The unique ID for the Amplify app.
UpdateForm, updateForm_environmentName - The name of the backend environment that is part of the Amplify app.
UpdateForm, updateForm_id - The unique ID for the form.
$sel:updatedForm:UpdateForm', updateForm_updatedForm - The request accepts the following data in JSON format.
Request Lenses
updateForm_clientToken :: Lens' UpdateForm (Maybe Text) Source #
The unique client token.
updateForm_appId :: Lens' UpdateForm Text Source #
The unique ID for the Amplify app.
updateForm_environmentName :: Lens' UpdateForm Text Source #
The name of the backend environment that is part of the Amplify app.
updateForm_id :: Lens' UpdateForm Text Source #
The unique ID for the form.
updateForm_updatedForm :: Lens' UpdateForm UpdateFormData Source #
The request accepts the following data in JSON format.
Destructuring the Response
data UpdateFormResponse Source #
See: newUpdateFormResponse smart constructor.
Constructors
| UpdateFormResponse' | |
Fields
| |
Instances
newUpdateFormResponse Source #
Arguments
| :: Int | |
| -> UpdateFormResponse |
Create a value of UpdateFormResponse 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:UpdateFormResponse', updateFormResponse_entity - Describes the configuration of the updated form.
$sel:httpStatus:UpdateFormResponse', updateFormResponse_httpStatus - The response's http status code.
Response Lenses
updateFormResponse_entity :: Lens' UpdateFormResponse (Maybe Form) Source #
Describes the configuration of the updated form.
updateFormResponse_httpStatus :: Lens' UpdateFormResponse Int Source #
The response's http status code.