amazonka-application-insights-2.0: Amazon CloudWatch Application Insights SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ApplicationInsights.CreateApplication

Description

Adds an application that is created from a resource group.

Synopsis

Creating a Request

data CreateApplication Source #

See: newCreateApplication smart constructor.

Constructors

CreateApplication' 

Fields

  • autoConfigEnabled :: Maybe Bool

    Indicates whether Application Insights automatically configures unmonitored resources in the resource group.

  • autoCreate :: Maybe Bool

    Configures all of the resources in the resource group by applying the recommended configurations.

  • cWEMonitorEnabled :: Maybe Bool

    Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.

  • groupingType :: Maybe 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.

  • opsCenterEnabled :: Maybe Bool

    When set to true, creates opsItems for any problems detected on an application.

  • opsItemSNSTopicArn :: Maybe Text

    The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.

  • resourceGroupName :: Maybe Text

    The name of the resource group.

  • tags :: Maybe [Tag]

    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.

Instances

Instances details
ToJSON CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

ToHeaders CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Associated Types

type AWSResponse CreateApplication #

Generic CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

Read CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

NFData CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Methods

rnf :: CreateApplication -> () #

Eq CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Hashable CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

type AWSResponse CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

type Rep CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

type Rep CreateApplication = D1 ('MetaData "CreateApplication" "Amazonka.ApplicationInsights.CreateApplication" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "CreateApplication'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoConfigEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "autoCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "cWEMonitorEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "groupingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupingType)))) :*: ((S1 ('MetaSel ('Just "opsCenterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "opsItemSNSTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))

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_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

Instances details
Generic CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

Read CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

NFData CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Eq CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

type Rep CreateApplicationResponse = D1 ('MetaData "CreateApplicationResponse" "Amazonka.ApplicationInsights.CreateApplication" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "CreateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationInfo)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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