Module Smaws_Client_IAM.DeleteUserPolicy

Deletes the specified inline policy that is embedded in the specified IAM user.

A user can also have managed policies attached to it. To detach a managed policy from a user, use DetachUserPolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.

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