| 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.M2.UpdateApplication
Description
Updates an application and creates a new version.
Synopsis
- data UpdateApplication = UpdateApplication' {}
- newUpdateApplication :: Text -> Natural -> UpdateApplication
- updateApplication_definition :: Lens' UpdateApplication (Maybe Definition)
- updateApplication_description :: Lens' UpdateApplication (Maybe Text)
- updateApplication_applicationId :: Lens' UpdateApplication Text
- updateApplication_currentApplicationVersion :: Lens' UpdateApplication Natural
- data UpdateApplicationResponse = UpdateApplicationResponse' {}
- newUpdateApplicationResponse :: Int -> Natural -> UpdateApplicationResponse
- updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int
- updateApplicationResponse_applicationVersion :: Lens' UpdateApplicationResponse Natural
Creating a Request
data UpdateApplication Source #
See: newUpdateApplication smart constructor.
Constructors
| UpdateApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Natural | |
| -> 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:
$sel:definition:UpdateApplication', updateApplication_definition - The application definition for this application. You can specify either
inline JSON or an S3 bucket location.
UpdateApplication, updateApplication_description - The description of the application to update.
UpdateApplication, updateApplication_applicationId - The unique identifier of the application you want to update.
$sel:currentApplicationVersion:UpdateApplication', updateApplication_currentApplicationVersion - The current version of the application to update.
Request Lenses
updateApplication_definition :: Lens' UpdateApplication (Maybe Definition) Source #
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
updateApplication_description :: Lens' UpdateApplication (Maybe Text) Source #
The description of the application to update.
updateApplication_applicationId :: Lens' UpdateApplication Text Source #
The unique identifier of the application you want to update.
updateApplication_currentApplicationVersion :: Lens' UpdateApplication Natural Source #
The current version of the application to update.
Destructuring the Response
data UpdateApplicationResponse Source #
See: newUpdateApplicationResponse smart constructor.
Constructors
| UpdateApplicationResponse' | |
Fields
| |
Instances
newUpdateApplicationResponse Source #
Arguments
| :: Int | |
| -> Natural | |
| -> UpdateApplicationResponse |
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.
UpdateApplicationResponse, updateApplicationResponse_applicationVersion - The new version of the application.
Response Lenses
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.
updateApplicationResponse_applicationVersion :: Lens' UpdateApplicationResponse Natural Source #
The new version of the application.