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 |
Updates the application.
Synopsis
- data UpdateApplication = UpdateApplication' {}
- newUpdateApplication :: Text -> UpdateApplication
- updateApplication_cWEMonitorEnabled :: Lens' UpdateApplication (Maybe Bool)
- updateApplication_opsItemSNSTopicArn :: Lens' UpdateApplication (Maybe Text)
- updateApplication_removeSNSTopic :: Lens' UpdateApplication (Maybe Bool)
- updateApplication_opsCenterEnabled :: Lens' UpdateApplication (Maybe Bool)
- updateApplication_resourceGroupName :: Lens' UpdateApplication Text
- data UpdateApplicationResponse = UpdateApplicationResponse' {}
- newUpdateApplicationResponse :: Int -> UpdateApplicationResponse
- updateApplicationResponse_applicationInfo :: Lens' UpdateApplicationResponse (Maybe ApplicationInfo)
- 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:
$sel:cWEMonitorEnabled:UpdateApplication'
, updateApplication_cWEMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events
for the application resources, such as instance terminated
,
failed deployment
, and others.
$sel:opsItemSNSTopicArn:UpdateApplication'
, updateApplication_opsItemSNSTopicArn
- The SNS topic provided to Application Insights that is associated to the
created opsItem. Allows you to receive notifications for updates to the
opsItem.
$sel:removeSNSTopic:UpdateApplication'
, updateApplication_removeSNSTopic
- Disassociates the SNS topic from the opsItem created for detected
problems.
$sel:opsCenterEnabled:UpdateApplication'
, updateApplication_opsCenterEnabled
- When set to true
, creates opsItems for any problems detected on an
application.
$sel:resourceGroupName:UpdateApplication'
, updateApplication_resourceGroupName
- The name of the resource group.
Request Lenses
updateApplication_cWEMonitorEnabled :: Lens' UpdateApplication (Maybe Bool) Source #
Indicates whether Application Insights can listen to CloudWatch events
for the application resources, such as instance terminated
,
failed deployment
, and others.
updateApplication_opsItemSNSTopicArn :: Lens' UpdateApplication (Maybe Text) Source #
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
updateApplication_removeSNSTopic :: Lens' UpdateApplication (Maybe Bool) Source #
Disassociates the SNS topic from the opsItem created for detected problems.
updateApplication_opsCenterEnabled :: Lens' UpdateApplication (Maybe Bool) Source #
When set to true
, creates opsItems for any problems detected on an
application.
updateApplication_resourceGroupName :: Lens' UpdateApplication Text Source #
The name of the resource group.
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:
$sel:applicationInfo:UpdateApplicationResponse'
, updateApplicationResponse_applicationInfo
- Information about the application.
$sel:httpStatus:UpdateApplicationResponse'
, updateApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
updateApplicationResponse_applicationInfo :: Lens' UpdateApplicationResponse (Maybe ApplicationInfo) Source #
Information about the application.
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.