Module Smaws_Client_Kinesis.DeleteResourcePolicy

val request : Smaws_Lib.Context.t -> delete_resource_policy_input -> (unit, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `InvalidArgumentException of invalid_argument_exception | `LimitExceededException of limit_exceeded_exception | `ResourceInUseException of resource_in_use_exception | `ResourceNotFoundException of resource_not_found_exception ]) Stdlib.result

Delete a policy for the specified data stream or consumer. Request patterns can be one of the following:

  • Data stream pattern: arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+
  • Consumer pattern: ^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+