Module Smaws_Client_WorkMail.PutAccessControlRule

val request : Smaws_Lib.Context.t -> put_access_control_rule_request -> (put_access_control_rule_response, [> Smaws_Lib.Protocols.AwsJson.error | `EntityNotFoundException of entity_not_found_exception | `InvalidParameterException of invalid_parameter_exception | `LimitExceededException of limit_exceeded_exception | `OrganizationNotFoundException of organization_not_found_exception | `OrganizationStateException of organization_state_exception | `ResourceNotFoundException of resource_not_found_exception ]) Stdlib.result

Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.