Module Smaws_Client_FMS.PutPolicy

Creates an Firewall Manager policy.

A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type.

If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy.

Firewall Manager provides the following types of policies:

val request : Smaws_Lib.Context.t -> Types.put_policy_request -> (Types.put_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalErrorException of Types.internal_error_exception | `InvalidInputException of Types.invalid_input_exception | `InvalidOperationException of Types.invalid_operation_exception | `InvalidTypeException of Types.invalid_type_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result