Module Smaws_Client_IAM.DeleteRolePolicy

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

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. 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 | `UnmodifiableEntityException of Types.unmodifiable_entity_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_role_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 | `UnmodifiableEntityException of Types.unmodifiable_entity_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_role_policy_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceFailureException of Types.service_failure_exception | `UnmodifiableEntityException of Types.unmodifiable_entity_exception ] * Smaws_Lib.Response.metadata) Stdlib.result