| 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.Discovery.UpdateApplication
Description
Updates metadata about an application.
Synopsis
- data UpdateApplication = UpdateApplication' {
- description :: Maybe Text
- name :: Maybe Text
- configurationId :: Text
- newUpdateApplication :: Text -> UpdateApplication
- updateApplication_description :: Lens' UpdateApplication (Maybe Text)
- updateApplication_name :: Lens' UpdateApplication (Maybe Text)
- updateApplication_configurationId :: Lens' UpdateApplication Text
- data UpdateApplicationResponse = UpdateApplicationResponse' {
- httpStatus :: Int
- newUpdateApplicationResponse :: Int -> UpdateApplicationResponse
- updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int
Creating a Request
data UpdateApplication Source #
See: newUpdateApplication smart constructor.
Constructors
| UpdateApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateApplication |
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 - New description of the application to be updated.
UpdateApplication, updateApplication_name - New name of the application to be updated.
UpdateApplication, updateApplication_configurationId - Configuration ID of the application to be updated.
Request Lenses
updateApplication_description :: Lens' UpdateApplication (Maybe Text) Source #
New description of the application to be updated.
updateApplication_name :: Lens' UpdateApplication (Maybe Text) Source #
New name of the application to be updated.
updateApplication_configurationId :: Lens' UpdateApplication Text Source #
Configuration ID of the application to be updated.
Destructuring the Response
data UpdateApplicationResponse Source #
See: newUpdateApplicationResponse smart constructor.
Constructors
| UpdateApplicationResponse' | |
Fields
| |
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:
$sel:httpStatus:UpdateApplicationResponse', updateApplicationResponse_httpStatus - The response's http status code.
Response Lenses
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.