| 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.SMS.UpdateApp
Description
Updates the specified application.
Synopsis
- data UpdateApp = UpdateApp' {}
- newUpdateApp :: UpdateApp
- updateApp_appId :: Lens' UpdateApp (Maybe Text)
- updateApp_description :: Lens' UpdateApp (Maybe Text)
- updateApp_name :: Lens' UpdateApp (Maybe Text)
- updateApp_roleName :: Lens' UpdateApp (Maybe Text)
- updateApp_serverGroups :: Lens' UpdateApp (Maybe [ServerGroup])
- updateApp_tags :: Lens' UpdateApp (Maybe [Tag])
- data UpdateAppResponse = UpdateAppResponse' {
- appSummary :: Maybe AppSummary
- serverGroups :: Maybe [ServerGroup]
- tags :: Maybe [Tag]
- httpStatus :: Int
- newUpdateAppResponse :: Int -> UpdateAppResponse
- updateAppResponse_appSummary :: Lens' UpdateAppResponse (Maybe AppSummary)
- updateAppResponse_serverGroups :: Lens' UpdateAppResponse (Maybe [ServerGroup])
- updateAppResponse_tags :: Lens' UpdateAppResponse (Maybe [Tag])
- updateAppResponse_httpStatus :: Lens' UpdateAppResponse Int
Creating a Request
See: newUpdateApp smart constructor.
Constructors
| UpdateApp' | |
Fields
| |
Instances
newUpdateApp :: UpdateApp Source #
Create a value of UpdateApp 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:
UpdateApp, updateApp_appId - The ID of the application.
UpdateApp, updateApp_description - The new description of the application.
UpdateApp, updateApp_name - The new name of the application.
UpdateApp, updateApp_roleName - The name of the service role in the customer's account used by Server
Migration Service.
UpdateApp, updateApp_serverGroups - The server groups in the application to update.
UpdateApp, updateApp_tags - The tags to associate with the application.
Request Lenses
updateApp_description :: Lens' UpdateApp (Maybe Text) Source #
The new description of the application.
updateApp_roleName :: Lens' UpdateApp (Maybe Text) Source #
The name of the service role in the customer's account used by Server Migration Service.
updateApp_serverGroups :: Lens' UpdateApp (Maybe [ServerGroup]) Source #
The server groups in the application to update.
Destructuring the Response
data UpdateAppResponse Source #
See: newUpdateAppResponse smart constructor.
Constructors
| UpdateAppResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> UpdateAppResponse |
Create a value of UpdateAppResponse 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:appSummary:UpdateAppResponse', updateAppResponse_appSummary - A summary description of the application.
UpdateApp, updateAppResponse_serverGroups - The updated server groups in the application.
UpdateApp, updateAppResponse_tags - The tags associated with the application.
$sel:httpStatus:UpdateAppResponse', updateAppResponse_httpStatus - The response's http status code.
Response Lenses
updateAppResponse_appSummary :: Lens' UpdateAppResponse (Maybe AppSummary) Source #
A summary description of the application.
updateAppResponse_serverGroups :: Lens' UpdateAppResponse (Maybe [ServerGroup]) Source #
The updated server groups in the application.
updateAppResponse_tags :: Lens' UpdateAppResponse (Maybe [Tag]) Source #
The tags associated with the application.
updateAppResponse_httpStatus :: Lens' UpdateAppResponse Int Source #
The response's http status code.