Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data UpdateComponentConfiguration = UpdateComponentConfiguration' {}
- newUpdateComponentConfiguration :: Text -> Text -> UpdateComponentConfiguration
- updateComponentConfiguration_componentConfiguration :: Lens' UpdateComponentConfiguration (Maybe Text)
- updateComponentConfiguration_monitor :: Lens' UpdateComponentConfiguration (Maybe Bool)
- updateComponentConfiguration_tier :: Lens' UpdateComponentConfiguration (Maybe Tier)
- updateComponentConfiguration_resourceGroupName :: Lens' UpdateComponentConfiguration Text
- updateComponentConfiguration_componentName :: Lens' UpdateComponentConfiguration Text
- data UpdateComponentConfigurationResponse = UpdateComponentConfigurationResponse' {
- httpStatus :: Int
- newUpdateComponentConfigurationResponse :: Int -> UpdateComponentConfigurationResponse
- updateComponentConfigurationResponse_httpStatus :: Lens' UpdateComponentConfigurationResponse Int
Creating a Request
data UpdateComponentConfiguration Source #
See: newUpdateComponentConfiguration
smart constructor.
Constructors
UpdateComponentConfiguration' | |
Fields
|
Instances
newUpdateComponentConfiguration Source #
Arguments
:: Text | |
-> Text | |
-> UpdateComponentConfiguration |
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
.
updateComponentConfiguration_resourceGroupName :: Lens' UpdateComponentConfiguration Text Source #
The name of the resource group.
updateComponentConfiguration_componentName :: Lens' UpdateComponentConfiguration Text Source #
The name of the component.
Destructuring the Response
data UpdateComponentConfigurationResponse Source #
See: newUpdateComponentConfigurationResponse
smart constructor.
Constructors
UpdateComponentConfigurationResponse' | |
Fields
|
Instances
newUpdateComponentConfigurationResponse Source #
Arguments
:: Int | |
-> UpdateComponentConfigurationResponse |
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
updateComponentConfigurationResponse_httpStatus :: Lens' UpdateComponentConfigurationResponse Int Source #
The response's http status code.