Module Smaws_Client_IAM.PutUserPermissionsBoundary

Adds or updates the policy that is specified as the IAM user's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a user. Use the boundary to control the maximum permissions that the user can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the user.

Policies that are used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the user. To learn how the effective permissions for a user are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `InvalidInputException of Types.invalid_input_exception | `NoSuchEntityException of Types.no_such_entity_exception | `PolicyNotAttachableException of Types.policy_not_attachable_exception | `ServiceFailureException of Types.service_failure_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_user_permissions_boundary_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsQuery.error | `InvalidInputException of Types.invalid_input_exception | `NoSuchEntityException of Types.no_such_entity_exception | `PolicyNotAttachableException of Types.policy_not_attachable_exception | `ServiceFailureException of Types.service_failure_exception ]) Stdlib.result