Module Smaws_Client_Kinesis.GetResourcePolicy

Returns a policy attached to the specified data stream or consumer. Request patterns can be one of the following:

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidArgumentException of Types.invalid_argument_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_resource_policy_input -> (Types.get_resource_policy_output, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidArgumentException of Types.invalid_argument_exception | `LimitExceededException of Types.limit_exceeded_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result