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 |
Adds an application that is created from a resource group.
Synopsis
- data CreateApplication = CreateApplication' {}
- newCreateApplication :: Text -> CreateApplication
- createApplication_cWEMonitorEnabled :: Lens' CreateApplication (Maybe Bool)
- createApplication_opsItemSNSTopicArn :: Lens' CreateApplication (Maybe Text)
- createApplication_opsCenterEnabled :: Lens' CreateApplication (Maybe Bool)
- createApplication_tags :: Lens' CreateApplication (Maybe [Tag])
- createApplication_resourceGroupName :: Lens' CreateApplication Text
- data CreateApplicationResponse = CreateApplicationResponse' {}
- newCreateApplicationResponse :: Int -> CreateApplicationResponse
- createApplicationResponse_applicationInfo :: Lens' CreateApplicationResponse (Maybe ApplicationInfo)
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
Creating a Request
data CreateApplication Source #
See: newCreateApplication
smart constructor.
CreateApplication' | |
|
Instances
Create a value of CreateApplication
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:CreateApplication'
, createApplication_cWEMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events
for the application resources, such as instance terminated
,
failed deployment
, and others.
$sel:opsItemSNSTopicArn:CreateApplication'
, createApplication_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:opsCenterEnabled:CreateApplication'
, createApplication_opsCenterEnabled
- When set to true
, creates opsItems for any problems detected on an
application.
$sel:tags:CreateApplication'
, createApplication_tags
- List of tags to add to the application. tag key (Key
) and an
associated tag value (Value
). The maximum length of a tag key is 128
characters. The maximum length of a tag value is 256 characters.
$sel:resourceGroupName:CreateApplication'
, createApplication_resourceGroupName
- The name of the resource group.
Request Lenses
createApplication_cWEMonitorEnabled :: Lens' CreateApplication (Maybe Bool) Source #
Indicates whether Application Insights can listen to CloudWatch events
for the application resources, such as instance terminated
,
failed deployment
, and others.
createApplication_opsItemSNSTopicArn :: Lens' CreateApplication (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.
createApplication_opsCenterEnabled :: Lens' CreateApplication (Maybe Bool) Source #
When set to true
, creates opsItems for any problems detected on an
application.
createApplication_tags :: Lens' CreateApplication (Maybe [Tag]) Source #
List of tags to add to the application. tag key (Key
) and an
associated tag value (Value
). The maximum length of a tag key is 128
characters. The maximum length of a tag value is 256 characters.
createApplication_resourceGroupName :: Lens' CreateApplication Text Source #
The name of the resource group.
Destructuring the Response
data CreateApplicationResponse Source #
See: newCreateApplicationResponse
smart constructor.
CreateApplicationResponse' | |
|
Instances
newCreateApplicationResponse Source #
Create a value of CreateApplicationResponse
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:CreateApplicationResponse'
, createApplicationResponse_applicationInfo
- Information about the application.
$sel:httpStatus:CreateApplicationResponse'
, createApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
createApplicationResponse_applicationInfo :: Lens' CreateApplicationResponse (Maybe ApplicationInfo) Source #
Information about the application.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.