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

Description

Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.

Synopsis

Creating a Request

data UpdateComponentConfiguration Source #

See: newUpdateComponentConfiguration smart constructor.

Constructors

UpdateComponentConfiguration' 

Fields

Instances

Instances details
ToJSON UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

ToHeaders UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

ToPath UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

ToQuery UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

AWSRequest UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Generic UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Associated Types

type Rep UpdateComponentConfiguration :: Type -> Type #

Read UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Show UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

NFData UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Eq UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Hashable UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

type AWSResponse UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

type Rep UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

type Rep UpdateComponentConfiguration = D1 ('MetaData "UpdateComponentConfiguration" "Amazonka.ApplicationInsights.UpdateComponentConfiguration" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "UpdateComponentConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "autoConfigEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "componentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "monitor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Tier)) :*: (S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateComponentConfiguration Source #

Create a value of UpdateComponentConfiguration 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:

UpdateComponentConfiguration, updateComponentConfiguration_autoConfigEnabled - Automatically configures the component by applying the recommended configurations.

$sel:componentConfiguration:UpdateComponentConfiguration', updateComponentConfiguration_componentConfiguration - The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.

UpdateComponentConfiguration, updateComponentConfiguration_monitor - Indicates whether the application component is monitored.

UpdateComponentConfiguration, updateComponentConfiguration_tier - The tier of the application component.

UpdateComponentConfiguration, updateComponentConfiguration_resourceGroupName - The name of the resource group.

UpdateComponentConfiguration, updateComponentConfiguration_componentName - The name of the component.

Request Lenses

updateComponentConfiguration_autoConfigEnabled :: Lens' UpdateComponentConfiguration (Maybe Bool) Source #

Automatically configures the component by applying the recommended configurations.

updateComponentConfiguration_componentConfiguration :: Lens' UpdateComponentConfiguration (Maybe Text) Source #

The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.

updateComponentConfiguration_monitor :: Lens' UpdateComponentConfiguration (Maybe Bool) Source #

Indicates whether the application component is monitored.

Destructuring the Response

data UpdateComponentConfigurationResponse Source #

Constructors

UpdateComponentConfigurationResponse' 

Fields

Instances

Instances details
Generic UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Read UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Show UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

NFData UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Eq UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

type Rep UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

type Rep UpdateComponentConfigurationResponse = D1 ('MetaData "UpdateComponentConfigurationResponse" "Amazonka.ApplicationInsights.UpdateComponentConfiguration" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "UpdateComponentConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateComponentConfigurationResponse Source #

Create a value of UpdateComponentConfigurationResponse 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:httpStatus:UpdateComponentConfigurationResponse', updateComponentConfigurationResponse_httpStatus - The response's http status code.

Response Lenses