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

  • componentConfiguration :: Maybe Text

    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.

  • monitor :: Maybe Bool

    Indicates whether the application component is monitored.

  • tier :: Maybe Tier

    The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT.

  • resourceGroupName :: Text

    The name of the resource group.

  • componentName :: Text

    The name of the component.

Instances

Instances details
Eq UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Read UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Show 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 #

NFData UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

Hashable UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

ToJSON UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

AWSRequest 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

type Rep UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

type Rep UpdateComponentConfiguration = D1 ('MetaData "UpdateComponentConfiguration" "Amazonka.ApplicationInsights.UpdateComponentConfiguration" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "UpdateComponentConfiguration'" 'PrefixI 'True) ((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)))))
type AWSResponse UpdateComponentConfiguration Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

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:

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

$sel:monitor:UpdateComponentConfiguration', updateComponentConfiguration_monitor - Indicates whether the application component is monitored.

$sel:tier:UpdateComponentConfiguration', updateComponentConfiguration_tier - The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT.

$sel:resourceGroupName:UpdateComponentConfiguration', updateComponentConfiguration_resourceGroupName - The name of the resource group.

$sel:componentName:UpdateComponentConfiguration', updateComponentConfiguration_componentName - The name of the component.

Request Lenses

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.

updateComponentConfiguration_tier :: Lens' UpdateComponentConfiguration (Maybe Tier) Source #

The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT.

Destructuring the Response

data UpdateComponentConfigurationResponse Source #

Constructors

UpdateComponentConfigurationResponse' 

Fields

Instances

Instances details
Eq 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

Generic UpdateComponentConfigurationResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateComponentConfiguration

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