Smaws_Client_CloudWatch.PutManagedInsightRulesCreates a managed Contributor Insights rule for a specified Amazon Web Services resource. When you enable a managed rule, you create a Contributor Insights rule that collects data from Amazon Web Services services. You cannot edit these rules with PutInsightRule. The rules can be enabled, disabled, and deleted using EnableInsightRules, DisableInsightRules, and DeleteInsightRules. If a previously created managed rule is currently disabled, a subsequent call to this API will re-enable it. Use ListManagedInsightRules to describe all available rules.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `MissingRequiredParameterException of
Types.missing_required_parameter_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_managed_insight_rules_input ->
(Types.put_managed_insight_rules_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `MissingRequiredParameterException of
Types.missing_required_parameter_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_managed_insight_rules_input ->
(Types.put_managed_insight_rules_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `MissingRequiredParameterException of
Types.missing_required_parameter_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result