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