Module Smaws_Client_Comprehend.DescribeResourcePolicy

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_resource_policy_request -> (Types.describe_resource_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result