libZSservicesZSamazonka-application-insightsZSamazonka-application-insights
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • cWEMonitorEnabled :: Maybe Bool

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

  • 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.

  • opsCenterEnabled :: Maybe Bool

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

  • 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.

  • resourceGroupName :: Text

    The name of the resource group.

Instances

Instances details
Eq CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Read CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Generic CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

NFData CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Methods

rnf :: CreateApplication -> () #

Hashable CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

ToJSON CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Associated Types

type AWSResponse 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

type Rep CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

type Rep CreateApplication = D1 ('MetaData "CreateApplication" "Amazonka.ApplicationInsights.CreateApplication" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "CreateApplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cWEMonitorEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "opsItemSNSTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "opsCenterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

newCreateApplication 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:

$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.

Destructuring the Response

data CreateApplicationResponse Source #

See: newCreateApplicationResponse smart constructor.

Constructors

CreateApplicationResponse' 

Fields

Instances

Instances details
Eq CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Read CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Generic CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" '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