Smaws_Client_NetworkFirewall.AssociateFirewallPolicyAssociates a FirewallPolicy to a Firewall.
A firewall policy defines how to monitor and manage your VPC network traffic, using a collection of inspection rule groups and other settings. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidOperationException of Types.invalid_operation_exception
| `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.associate_firewall_policy_request ->
(Types.associate_firewall_policy_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidOperationException of Types.invalid_operation_exception
| `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.associate_firewall_policy_request ->
(Types.associate_firewall_policy_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidOperationException of Types.invalid_operation_exception
| `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