| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SMS.UpdateApp
Description
Updates the specified application.
Synopsis
- data UpdateApp = UpdateApp' {}
- newUpdateApp :: UpdateApp
- updateApp_roleName :: Lens' UpdateApp (Maybe Text)
- updateApp_appId :: Lens' UpdateApp (Maybe Text)
- updateApp_name :: Lens' UpdateApp (Maybe Text)
- updateApp_description :: 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:
$sel:roleName:UpdateApp', updateApp_roleName - The name of the service role in the customer's account used by AWS SMS.
$sel:appId:UpdateApp', updateApp_appId - The ID of the application.
$sel:name:UpdateApp', updateApp_name - The new name of the application.
$sel:description:UpdateApp', updateApp_description - The new description of the application.
$sel:serverGroups:UpdateApp', updateApp_serverGroups - The server groups in the application to update.
$sel:tags:UpdateApp', updateApp_tags - The tags to associate with the application.
Request Lenses
updateApp_roleName :: Lens' UpdateApp (Maybe Text) Source #
The name of the service role in the customer's account used by AWS SMS.
updateApp_description :: Lens' UpdateApp (Maybe Text) Source #
The new description of the application.
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.
$sel:serverGroups:UpdateApp', updateAppResponse_serverGroups - The updated server groups in the application.
$sel:tags: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.