| 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.ApplicationInsights.CreateApplication
Description
Adds an application that is created from a resource group.
Synopsis
- data CreateApplication = CreateApplication' {}
- newCreateApplication :: CreateApplication
- createApplication_autoConfigEnabled :: Lens' CreateApplication (Maybe Bool)
- createApplication_autoCreate :: Lens' CreateApplication (Maybe Bool)
- createApplication_cWEMonitorEnabled :: Lens' CreateApplication (Maybe Bool)
- createApplication_groupingType :: Lens' CreateApplication (Maybe GroupingType)
- createApplication_opsCenterEnabled :: Lens' CreateApplication (Maybe Bool)
- createApplication_opsItemSNSTopicArn :: Lens' CreateApplication (Maybe Text)
- createApplication_resourceGroupName :: Lens' CreateApplication (Maybe Text)
- createApplication_tags :: Lens' CreateApplication (Maybe [Tag])
- 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.
Constructors
| CreateApplication' | |
Fields
| |
Instances
newCreateApplication :: CreateApplication Source #
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:
CreateApplication, createApplication_autoConfigEnabled - Indicates whether Application Insights automatically configures
unmonitored resources in the resource group.
$sel:autoCreate:CreateApplication', createApplication_autoCreate - Configures all of the resources in the resource group by applying the
recommended configurations.
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:groupingType:CreateApplication', createApplication_groupingType - Application Insights can create applications based on a resource group
or on an account. To create an account-based application using all of
the resources in the account, set this parameter to ACCOUNT_BASED.
CreateApplication, createApplication_opsCenterEnabled - When set to true, creates opsItems for any problems detected on an
application.
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.
CreateApplication, createApplication_resourceGroupName - The name of the resource group.
$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.
Request Lenses
createApplication_autoConfigEnabled :: Lens' CreateApplication (Maybe Bool) Source #
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
createApplication_autoCreate :: Lens' CreateApplication (Maybe Bool) Source #
Configures all of the resources in the resource group by applying the recommended configurations.
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_groupingType :: Lens' CreateApplication (Maybe GroupingType) Source #
Application Insights can create applications based on a resource group
or on an account. To create an account-based application using all of
the resources in the account, set this parameter to ACCOUNT_BASED.
createApplication_opsCenterEnabled :: Lens' CreateApplication (Maybe Bool) Source #
When set to true, creates opsItems for any problems detected on an
application.
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_resourceGroupName :: Lens' CreateApplication (Maybe Text) Source #
The name of the resource group.
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.
Destructuring the Response
data CreateApplicationResponse Source #
See: newCreateApplicationResponse smart constructor.
Constructors
| CreateApplicationResponse' | |
Fields
| |
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.