Smaws_Client_NetworkFirewall.CreateRuleGroupCreates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, a capacity setting, and tags.
You provide your rule group specification in your request using either RuleGroup or Rules.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_rule_group_request ->
(Types.create_rule_group_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_rule_group_request ->
(Types.create_rule_group_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result