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

Description

Updates the application.

Synopsis

Creating a Request

data UpdateApplication Source #

See: newUpdateApplication smart constructor.

Constructors

UpdateApplication' 

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.

  • removeSNSTopic :: Maybe Bool

    Disassociates the SNS topic from the opsItem created for detected problems.

  • opsCenterEnabled :: Maybe Bool

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

  • resourceGroupName :: Text

    The name of the resource group.

Instances

Instances details
Eq UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Read UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Show UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Generic UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Associated Types

type Rep UpdateApplication :: Type -> Type #

NFData UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Methods

rnf :: UpdateApplication -> () #

Hashable UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

ToJSON UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

AWSRequest UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Associated Types

type AWSResponse UpdateApplication #

ToHeaders UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

ToPath UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

ToQuery UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

type Rep UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

type Rep UpdateApplication = D1 ('MetaData "UpdateApplication" "Amazonka.ApplicationInsights.UpdateApplication" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "UpdateApplication'" '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 "removeSNSTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "opsCenterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateApplication Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

newUpdateApplication Source #

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.

Destructuring the Response

data UpdateApplicationResponse Source #

See: newUpdateApplicationResponse smart constructor.

Constructors

UpdateApplicationResponse' 

Fields

Instances

Instances details
Eq UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Read UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Show UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Generic UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

Associated Types

type Rep UpdateApplicationResponse :: Type -> Type #

NFData UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

type Rep UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateApplication

type Rep UpdateApplicationResponse = D1 ('MetaData "UpdateApplicationResponse" "Amazonka.ApplicationInsights.UpdateApplication" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "UpdateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationInfo)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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