Smaws_Client_NetworkFirewall.UpdateRuleGroupUpdates the rule settings for the specified rule group. You use a rule group by reference in one or more firewall policies. When you modify a rule group, you modify all firewall policies that use the rule group.
To update a rule group, first call DescribeRuleGroup to retrieve the current RuleGroup object, update the object as needed, and then provide the updated object to this call.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidTokenException of Types.invalid_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_rule_group_request ->
(Types.update_rule_group_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidTokenException of Types.invalid_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_rule_group_request ->
(Types.update_rule_group_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidTokenException of Types.invalid_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result