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 |
Updates an existing application with new attributes.
Synopsis
- data UpdateApplication = UpdateApplication' {
- description :: Maybe Text
- name :: Maybe Text
- application :: Text
- newUpdateApplication :: Text -> UpdateApplication
- updateApplication_description :: Lens' UpdateApplication (Maybe Text)
- updateApplication_name :: Lens' UpdateApplication (Maybe Text)
- updateApplication_application :: Lens' UpdateApplication Text
- data UpdateApplicationResponse = UpdateApplicationResponse' {}
- newUpdateApplicationResponse :: Int -> UpdateApplicationResponse
- updateApplicationResponse_application :: Lens' UpdateApplicationResponse (Maybe Application)
- updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int
Creating a Request
data UpdateApplication Source #
See: newUpdateApplication
smart constructor.
UpdateApplication' | |
|
Instances
Create a value of UpdateApplication
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:
UpdateApplication
, updateApplication_description
- The new description of the application.
UpdateApplication
, updateApplication_name
- Deprecated: The new name of the application. The name must be unique in
the region in which you are updating the application. Please do not use
this field as we have stopped supporting name updates.
UpdateApplication
, updateApplication_application
- The name or ID of the application that will be updated.
Request Lenses
updateApplication_description :: Lens' UpdateApplication (Maybe Text) Source #
The new description of the application.
updateApplication_name :: Lens' UpdateApplication (Maybe Text) Source #
Deprecated: The new name of the application. The name must be unique in the region in which you are updating the application. Please do not use this field as we have stopped supporting name updates.
updateApplication_application :: Lens' UpdateApplication Text Source #
The name or ID of the application that will be updated.
Destructuring the Response
data UpdateApplicationResponse Source #
See: newUpdateApplicationResponse
smart constructor.
UpdateApplicationResponse' | |
|
Instances
newUpdateApplicationResponse Source #
Create a value of UpdateApplicationResponse
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:
UpdateApplication
, updateApplicationResponse_application
- The updated information of the application.
$sel:httpStatus:UpdateApplicationResponse'
, updateApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
updateApplicationResponse_application :: Lens' UpdateApplicationResponse (Maybe Application) Source #
The updated information of the application.
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.