Values.GetResourcePolicyOutputSourceReturns a policy attached to 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]+
type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InvalidArgumentException of InvalidArgumentException.t| `LimitExceededException of LimitExceededException.t| `ResourceInUseException of ResourceInUseException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InvalidArgumentException of InvalidArgumentException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceInUseException of ResourceInUseException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InvalidArgumentException of InvalidArgumentException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceInUseException of ResourceInUseException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]